cycls 0.0.2.55__py3-none-any.whl → 0.0.2.57__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- cycls/sdk.py +5 -2
- cycls/theme/assets/index-C3BC5odN.css +1 -0
- cycls/theme/assets/index-CabnsD7I.js +400 -0
- cycls/theme/index.html +2 -2
- cycls/web.py +3 -1
- {cycls-0.0.2.55.dist-info → cycls-0.0.2.57.dist-info}/METADATA +1 -1
- cycls-0.0.2.57.dist-info/RECORD +10 -0
- cycls/theme/assets/index-CE4acW4J.css +0 -1
- cycls/theme/assets/index-DK37eWM7.js +0 -393
- cycls-0.0.2.55.dist-info/RECORD +0 -10
- {cycls-0.0.2.55.dist-info → cycls-0.0.2.57.dist-info}/WHEEL +0 -0
|
@@ -1,393 +0,0 @@
|
|
|
1
|
-
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))a(s);new MutationObserver(s=>{for(const l of s)if(l.type==="childList")for(const o of l.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&a(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const l={};return s.integrity&&(l.integrity=s.integrity),s.referrerPolicy&&(l.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?l.credentials="include":s.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function a(s){if(s.ep)return;s.ep=!0;const l=n(s);fetch(s.href,l)}})();function ud(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ph={exports:{}},eo={};/**
|
|
2
|
-
* @license React
|
|
3
|
-
* react-jsx-runtime.production.js
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var hb;function DT(){if(hb)return eo;hb=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(a,s,l){var o=null;if(l!==void 0&&(o=""+l),s.key!==void 0&&(o=""+s.key),"key"in s){l={};for(var d in s)d!=="key"&&(l[d]=s[d])}else l=s;return s=l.ref,{$$typeof:e,type:a,key:o,ref:s!==void 0?s:null,props:l}}return eo.Fragment=t,eo.jsx=n,eo.jsxs=n,eo}var mb;function IT(){return mb||(mb=1,Ph.exports=DT()),Ph.exports}var q=IT(),Uh={exports:{}},bt={};/**
|
|
10
|
-
* @license React
|
|
11
|
-
* react.production.js
|
|
12
|
-
*
|
|
13
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
14
|
-
*
|
|
15
|
-
* This source code is licensed under the MIT license found in the
|
|
16
|
-
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var pb;function LT(){if(pb)return bt;pb=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.consumer"),o=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),g=Symbol.iterator;function v(A){return A===null||typeof A!="object"?null:(A=g&&A[g]||A["@@iterator"],typeof A=="function"?A:null)}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},S=Object.assign,w={};function N(A,Q,de){this.props=A,this.context=Q,this.refs=w,this.updater=de||y}N.prototype.isReactComponent={},N.prototype.setState=function(A,Q){if(typeof A!="object"&&typeof A!="function"&&A!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,A,Q,"setState")},N.prototype.forceUpdate=function(A){this.updater.enqueueForceUpdate(this,A,"forceUpdate")};function k(){}k.prototype=N.prototype;function M(A,Q,de){this.props=A,this.context=Q,this.refs=w,this.updater=de||y}var I=M.prototype=new k;I.constructor=M,S(I,N.prototype),I.isPureReactComponent=!0;var X=Array.isArray,G={H:null,A:null,T:null,S:null,V:null},P=Object.prototype.hasOwnProperty;function Z(A,Q,de,D,De,qe){return de=qe.ref,{$$typeof:e,type:A,key:Q,ref:de!==void 0?de:null,props:qe}}function ne(A,Q){return Z(A.type,Q,void 0,void 0,void 0,A.props)}function te(A){return typeof A=="object"&&A!==null&&A.$$typeof===e}function Y(A){var Q={"=":"=0",":":"=2"};return"$"+A.replace(/[=:]/g,function(de){return Q[de]})}var ee=/\/+/g;function re(A,Q){return typeof A=="object"&&A!==null&&A.key!=null?Y(""+A.key):Q.toString(36)}function ge(){}function oe(A){switch(A.status){case"fulfilled":return A.value;case"rejected":throw A.reason;default:switch(typeof A.status=="string"?A.then(ge,ge):(A.status="pending",A.then(function(Q){A.status==="pending"&&(A.status="fulfilled",A.value=Q)},function(Q){A.status==="pending"&&(A.status="rejected",A.reason=Q)})),A.status){case"fulfilled":return A.value;case"rejected":throw A.reason}}throw A}function pe(A,Q,de,D,De){var qe=typeof A;(qe==="undefined"||qe==="boolean")&&(A=null);var Me=!1;if(A===null)Me=!0;else switch(qe){case"bigint":case"string":case"number":Me=!0;break;case"object":switch(A.$$typeof){case e:case t:Me=!0;break;case p:return Me=A._init,pe(Me(A._payload),Q,de,D,De)}}if(Me)return De=De(A),Me=D===""?"."+re(A,0):D,X(De)?(de="",Me!=null&&(de=Me.replace(ee,"$&/")+"/"),pe(De,Q,de,"",function(st){return st})):De!=null&&(te(De)&&(De=ne(De,de+(De.key==null||A&&A.key===De.key?"":(""+De.key).replace(ee,"$&/")+"/")+Me)),Q.push(De)),1;Me=0;var Tt=D===""?".":D+":";if(X(A))for(var nt=0;nt<A.length;nt++)D=A[nt],qe=Tt+re(D,nt),Me+=pe(D,Q,de,qe,De);else if(nt=v(A),typeof nt=="function")for(A=nt.call(A),nt=0;!(D=A.next()).done;)D=D.value,qe=Tt+re(D,nt++),Me+=pe(D,Q,de,qe,De);else if(qe==="object"){if(typeof A.then=="function")return pe(oe(A),Q,de,D,De);throw Q=String(A),Error("Objects are not valid as a React child (found: "+(Q==="[object Object]"?"object with keys {"+Object.keys(A).join(", ")+"}":Q)+"). If you meant to render a collection of children, use an array instead.")}return Me}function W(A,Q,de){if(A==null)return A;var D=[],De=0;return pe(A,D,"","",function(qe){return Q.call(de,qe,De++)}),D}function he(A){if(A._status===-1){var Q=A._result;Q=Q(),Q.then(function(de){(A._status===0||A._status===-1)&&(A._status=1,A._result=de)},function(de){(A._status===0||A._status===-1)&&(A._status=2,A._result=de)}),A._status===-1&&(A._status=0,A._result=Q)}if(A._status===1)return A._result.default;throw A._result}var ye=typeof reportError=="function"?reportError:function(A){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Q=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof A=="object"&&A!==null&&typeof A.message=="string"?String(A.message):String(A),error:A});if(!window.dispatchEvent(Q))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",A);return}console.error(A)};function He(){}return bt.Children={map:W,forEach:function(A,Q,de){W(A,function(){Q.apply(this,arguments)},de)},count:function(A){var Q=0;return W(A,function(){Q++}),Q},toArray:function(A){return W(A,function(Q){return Q})||[]},only:function(A){if(!te(A))throw Error("React.Children.only expected to receive a single React element child.");return A}},bt.Component=N,bt.Fragment=n,bt.Profiler=s,bt.PureComponent=M,bt.StrictMode=a,bt.Suspense=f,bt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=G,bt.__COMPILER_RUNTIME={__proto__:null,c:function(A){return G.H.useMemoCache(A)}},bt.cache=function(A){return function(){return A.apply(null,arguments)}},bt.cloneElement=function(A,Q,de){if(A==null)throw Error("The argument must be a React element, but you passed "+A+".");var D=S({},A.props),De=A.key,qe=void 0;if(Q!=null)for(Me in Q.ref!==void 0&&(qe=void 0),Q.key!==void 0&&(De=""+Q.key),Q)!P.call(Q,Me)||Me==="key"||Me==="__self"||Me==="__source"||Me==="ref"&&Q.ref===void 0||(D[Me]=Q[Me]);var Me=arguments.length-2;if(Me===1)D.children=de;else if(1<Me){for(var Tt=Array(Me),nt=0;nt<Me;nt++)Tt[nt]=arguments[nt+2];D.children=Tt}return Z(A.type,De,void 0,void 0,qe,D)},bt.createContext=function(A){return A={$$typeof:o,_currentValue:A,_currentValue2:A,_threadCount:0,Provider:null,Consumer:null},A.Provider=A,A.Consumer={$$typeof:l,_context:A},A},bt.createElement=function(A,Q,de){var D,De={},qe=null;if(Q!=null)for(D in Q.key!==void 0&&(qe=""+Q.key),Q)P.call(Q,D)&&D!=="key"&&D!=="__self"&&D!=="__source"&&(De[D]=Q[D]);var Me=arguments.length-2;if(Me===1)De.children=de;else if(1<Me){for(var Tt=Array(Me),nt=0;nt<Me;nt++)Tt[nt]=arguments[nt+2];De.children=Tt}if(A&&A.defaultProps)for(D in Me=A.defaultProps,Me)De[D]===void 0&&(De[D]=Me[D]);return Z(A,qe,void 0,void 0,null,De)},bt.createRef=function(){return{current:null}},bt.forwardRef=function(A){return{$$typeof:d,render:A}},bt.isValidElement=te,bt.lazy=function(A){return{$$typeof:p,_payload:{_status:-1,_result:A},_init:he}},bt.memo=function(A,Q){return{$$typeof:h,type:A,compare:Q===void 0?null:Q}},bt.startTransition=function(A){var Q=G.T,de={};G.T=de;try{var D=A(),De=G.S;De!==null&&De(de,D),typeof D=="object"&&D!==null&&typeof D.then=="function"&&D.then(He,ye)}catch(qe){ye(qe)}finally{G.T=Q}},bt.unstable_useCacheRefresh=function(){return G.H.useCacheRefresh()},bt.use=function(A){return G.H.use(A)},bt.useActionState=function(A,Q,de){return G.H.useActionState(A,Q,de)},bt.useCallback=function(A,Q){return G.H.useCallback(A,Q)},bt.useContext=function(A){return G.H.useContext(A)},bt.useDebugValue=function(){},bt.useDeferredValue=function(A,Q){return G.H.useDeferredValue(A,Q)},bt.useEffect=function(A,Q,de){var D=G.H;if(typeof de=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return D.useEffect(A,Q)},bt.useId=function(){return G.H.useId()},bt.useImperativeHandle=function(A,Q,de){return G.H.useImperativeHandle(A,Q,de)},bt.useInsertionEffect=function(A,Q){return G.H.useInsertionEffect(A,Q)},bt.useLayoutEffect=function(A,Q){return G.H.useLayoutEffect(A,Q)},bt.useMemo=function(A,Q){return G.H.useMemo(A,Q)},bt.useOptimistic=function(A,Q){return G.H.useOptimistic(A,Q)},bt.useReducer=function(A,Q,de){return G.H.useReducer(A,Q,de)},bt.useRef=function(A){return G.H.useRef(A)},bt.useState=function(A){return G.H.useState(A)},bt.useSyncExternalStore=function(A,Q,de){return G.H.useSyncExternalStore(A,Q,de)},bt.useTransition=function(){return G.H.useTransition()},bt.version="19.1.0",bt}var gb;function od(){return gb||(gb=1,Uh.exports=LT()),Uh.exports}var V=od();const Ee=ud(V);var zh={exports:{}},to={},Fh={exports:{}},Hh={};/**
|
|
18
|
-
* @license React
|
|
19
|
-
* scheduler.production.js
|
|
20
|
-
*
|
|
21
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
22
|
-
*
|
|
23
|
-
* This source code is licensed under the MIT license found in the
|
|
24
|
-
* LICENSE file in the root directory of this source tree.
|
|
25
|
-
*/var bb;function BT(){return bb||(bb=1,function(e){function t(W,he){var ye=W.length;W.push(he);e:for(;0<ye;){var He=ye-1>>>1,A=W[He];if(0<s(A,he))W[He]=he,W[ye]=A,ye=He;else break e}}function n(W){return W.length===0?null:W[0]}function a(W){if(W.length===0)return null;var he=W[0],ye=W.pop();if(ye!==he){W[0]=ye;e:for(var He=0,A=W.length,Q=A>>>1;He<Q;){var de=2*(He+1)-1,D=W[de],De=de+1,qe=W[De];if(0>s(D,ye))De<A&&0>s(qe,D)?(W[He]=qe,W[De]=ye,He=De):(W[He]=D,W[de]=ye,He=de);else if(De<A&&0>s(qe,ye))W[He]=qe,W[De]=ye,He=De;else break e}}return he}function s(W,he){var ye=W.sortIndex-he.sortIndex;return ye!==0?ye:W.id-he.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var o=Date,d=o.now();e.unstable_now=function(){return o.now()-d}}var f=[],h=[],p=1,g=null,v=3,y=!1,S=!1,w=!1,N=!1,k=typeof setTimeout=="function"?setTimeout:null,M=typeof clearTimeout=="function"?clearTimeout:null,I=typeof setImmediate<"u"?setImmediate:null;function X(W){for(var he=n(h);he!==null;){if(he.callback===null)a(h);else if(he.startTime<=W)a(h),he.sortIndex=he.expirationTime,t(f,he);else break;he=n(h)}}function G(W){if(w=!1,X(W),!S)if(n(f)!==null)S=!0,P||(P=!0,re());else{var he=n(h);he!==null&&pe(G,he.startTime-W)}}var P=!1,Z=-1,ne=5,te=-1;function Y(){return N?!0:!(e.unstable_now()-te<ne)}function ee(){if(N=!1,P){var W=e.unstable_now();te=W;var he=!0;try{e:{S=!1,w&&(w=!1,M(Z),Z=-1),y=!0;var ye=v;try{t:{for(X(W),g=n(f);g!==null&&!(g.expirationTime>W&&Y());){var He=g.callback;if(typeof He=="function"){g.callback=null,v=g.priorityLevel;var A=He(g.expirationTime<=W);if(W=e.unstable_now(),typeof A=="function"){g.callback=A,X(W),he=!0;break t}g===n(f)&&a(f),X(W)}else a(f);g=n(f)}if(g!==null)he=!0;else{var Q=n(h);Q!==null&&pe(G,Q.startTime-W),he=!1}}break e}finally{g=null,v=ye,y=!1}he=void 0}}finally{he?re():P=!1}}}var re;if(typeof I=="function")re=function(){I(ee)};else if(typeof MessageChannel<"u"){var ge=new MessageChannel,oe=ge.port2;ge.port1.onmessage=ee,re=function(){oe.postMessage(null)}}else re=function(){k(ee,0)};function pe(W,he){Z=k(function(){W(e.unstable_now())},he)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(W){W.callback=null},e.unstable_forceFrameRate=function(W){0>W||125<W?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ne=0<W?Math.floor(1e3/W):5},e.unstable_getCurrentPriorityLevel=function(){return v},e.unstable_next=function(W){switch(v){case 1:case 2:case 3:var he=3;break;default:he=v}var ye=v;v=he;try{return W()}finally{v=ye}},e.unstable_requestPaint=function(){N=!0},e.unstable_runWithPriority=function(W,he){switch(W){case 1:case 2:case 3:case 4:case 5:break;default:W=3}var ye=v;v=W;try{return he()}finally{v=ye}},e.unstable_scheduleCallback=function(W,he,ye){var He=e.unstable_now();switch(typeof ye=="object"&&ye!==null?(ye=ye.delay,ye=typeof ye=="number"&&0<ye?He+ye:He):ye=He,W){case 1:var A=-1;break;case 2:A=250;break;case 5:A=1073741823;break;case 4:A=1e4;break;default:A=5e3}return A=ye+A,W={id:p++,callback:he,priorityLevel:W,startTime:ye,expirationTime:A,sortIndex:-1},ye>He?(W.sortIndex=ye,t(h,W),n(f)===null&&W===n(h)&&(w?(M(Z),Z=-1):w=!0,pe(G,ye-He))):(W.sortIndex=A,t(f,W),S||y||(S=!0,P||(P=!0,re()))),W},e.unstable_shouldYield=Y,e.unstable_wrapCallback=function(W){var he=v;return function(){var ye=v;v=he;try{return W.apply(this,arguments)}finally{v=ye}}}}(Hh)),Hh}var Eb;function PT(){return Eb||(Eb=1,Fh.exports=BT()),Fh.exports}var qh={exports:{}},Qn={};/**
|
|
26
|
-
* @license React
|
|
27
|
-
* react-dom.production.js
|
|
28
|
-
*
|
|
29
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
30
|
-
*
|
|
31
|
-
* This source code is licensed under the MIT license found in the
|
|
32
|
-
* LICENSE file in the root directory of this source tree.
|
|
33
|
-
*/var yb;function UT(){if(yb)return Qn;yb=1;var e=od();function t(f){var h="https://react.dev/errors/"+f;if(1<arguments.length){h+="?args[]="+encodeURIComponent(arguments[1]);for(var p=2;p<arguments.length;p++)h+="&args[]="+encodeURIComponent(arguments[p])}return"Minified React error #"+f+"; visit "+h+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var a={d:{f:n,r:function(){throw Error(t(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},s=Symbol.for("react.portal");function l(f,h,p){var g=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:s,key:g==null?null:""+g,children:f,containerInfo:h,implementation:p}}var o=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function d(f,h){if(f==="font")return"";if(typeof h=="string")return h==="use-credentials"?h:""}return Qn.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=a,Qn.createPortal=function(f,h){var p=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!h||h.nodeType!==1&&h.nodeType!==9&&h.nodeType!==11)throw Error(t(299));return l(f,h,null,p)},Qn.flushSync=function(f){var h=o.T,p=a.p;try{if(o.T=null,a.p=2,f)return f()}finally{o.T=h,a.p=p,a.d.f()}},Qn.preconnect=function(f,h){typeof f=="string"&&(h?(h=h.crossOrigin,h=typeof h=="string"?h==="use-credentials"?h:"":void 0):h=null,a.d.C(f,h))},Qn.prefetchDNS=function(f){typeof f=="string"&&a.d.D(f)},Qn.preinit=function(f,h){if(typeof f=="string"&&h&&typeof h.as=="string"){var p=h.as,g=d(p,h.crossOrigin),v=typeof h.integrity=="string"?h.integrity:void 0,y=typeof h.fetchPriority=="string"?h.fetchPriority:void 0;p==="style"?a.d.S(f,typeof h.precedence=="string"?h.precedence:void 0,{crossOrigin:g,integrity:v,fetchPriority:y}):p==="script"&&a.d.X(f,{crossOrigin:g,integrity:v,fetchPriority:y,nonce:typeof h.nonce=="string"?h.nonce:void 0})}},Qn.preinitModule=function(f,h){if(typeof f=="string")if(typeof h=="object"&&h!==null){if(h.as==null||h.as==="script"){var p=d(h.as,h.crossOrigin);a.d.M(f,{crossOrigin:p,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0})}}else h==null&&a.d.M(f)},Qn.preload=function(f,h){if(typeof f=="string"&&typeof h=="object"&&h!==null&&typeof h.as=="string"){var p=h.as,g=d(p,h.crossOrigin);a.d.L(f,p,{crossOrigin:g,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0,type:typeof h.type=="string"?h.type:void 0,fetchPriority:typeof h.fetchPriority=="string"?h.fetchPriority:void 0,referrerPolicy:typeof h.referrerPolicy=="string"?h.referrerPolicy:void 0,imageSrcSet:typeof h.imageSrcSet=="string"?h.imageSrcSet:void 0,imageSizes:typeof h.imageSizes=="string"?h.imageSizes:void 0,media:typeof h.media=="string"?h.media:void 0})}},Qn.preloadModule=function(f,h){if(typeof f=="string")if(h){var p=d(h.as,h.crossOrigin);a.d.m(f,{as:typeof h.as=="string"&&h.as!=="script"?h.as:void 0,crossOrigin:p,integrity:typeof h.integrity=="string"?h.integrity:void 0})}else a.d.m(f)},Qn.requestFormReset=function(f){a.d.r(f)},Qn.unstable_batchedUpdates=function(f,h){return f(h)},Qn.useFormState=function(f,h,p){return o.H.useFormState(f,h,p)},Qn.useFormStatus=function(){return o.H.useHostTransitionStatus()},Qn.version="19.1.0",Qn}var vb;function cE(){if(vb)return qh.exports;vb=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),qh.exports=UT(),qh.exports}/**
|
|
34
|
-
* @license React
|
|
35
|
-
* react-dom-client.production.js
|
|
36
|
-
*
|
|
37
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
38
|
-
*
|
|
39
|
-
* This source code is licensed under the MIT license found in the
|
|
40
|
-
* LICENSE file in the root directory of this source tree.
|
|
41
|
-
*/var Tb;function zT(){if(Tb)return to;Tb=1;var e=PT(),t=od(),n=cE();function a(r){var i="https://react.dev/errors/"+r;if(1<arguments.length){i+="?args[]="+encodeURIComponent(arguments[1]);for(var u=2;u<arguments.length;u++)i+="&args[]="+encodeURIComponent(arguments[u])}return"Minified React error #"+r+"; visit "+i+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11)}function l(r){var i=r,u=r;if(r.alternate)for(;i.return;)i=i.return;else{r=i;do i=r,(i.flags&4098)!==0&&(u=i.return),r=i.return;while(r)}return i.tag===3?u:null}function o(r){if(r.tag===13){var i=r.memoizedState;if(i===null&&(r=r.alternate,r!==null&&(i=r.memoizedState)),i!==null)return i.dehydrated}return null}function d(r){if(l(r)!==r)throw Error(a(188))}function f(r){var i=r.alternate;if(!i){if(i=l(r),i===null)throw Error(a(188));return i!==r?null:r}for(var u=r,c=i;;){var m=u.return;if(m===null)break;var b=m.alternate;if(b===null){if(c=m.return,c!==null){u=c;continue}break}if(m.child===b.child){for(b=m.child;b;){if(b===u)return d(m),r;if(b===c)return d(m),i;b=b.sibling}throw Error(a(188))}if(u.return!==c.return)u=m,c=b;else{for(var x=!1,O=m.child;O;){if(O===u){x=!0,u=m,c=b;break}if(O===c){x=!0,c=m,u=b;break}O=O.sibling}if(!x){for(O=b.child;O;){if(O===u){x=!0,u=b,c=m;break}if(O===c){x=!0,c=b,u=m;break}O=O.sibling}if(!x)throw Error(a(189))}}if(u.alternate!==c)throw Error(a(190))}if(u.tag!==3)throw Error(a(188));return u.stateNode.current===u?r:i}function h(r){var i=r.tag;if(i===5||i===26||i===27||i===6)return r;for(r=r.child;r!==null;){if(i=h(r),i!==null)return i;r=r.sibling}return null}var p=Object.assign,g=Symbol.for("react.element"),v=Symbol.for("react.transitional.element"),y=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),w=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),k=Symbol.for("react.provider"),M=Symbol.for("react.consumer"),I=Symbol.for("react.context"),X=Symbol.for("react.forward_ref"),G=Symbol.for("react.suspense"),P=Symbol.for("react.suspense_list"),Z=Symbol.for("react.memo"),ne=Symbol.for("react.lazy"),te=Symbol.for("react.activity"),Y=Symbol.for("react.memo_cache_sentinel"),ee=Symbol.iterator;function re(r){return r===null||typeof r!="object"?null:(r=ee&&r[ee]||r["@@iterator"],typeof r=="function"?r:null)}var ge=Symbol.for("react.client.reference");function oe(r){if(r==null)return null;if(typeof r=="function")return r.$$typeof===ge?null:r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case S:return"Fragment";case N:return"Profiler";case w:return"StrictMode";case G:return"Suspense";case P:return"SuspenseList";case te:return"Activity"}if(typeof r=="object")switch(r.$$typeof){case y:return"Portal";case I:return(r.displayName||"Context")+".Provider";case M:return(r._context.displayName||"Context")+".Consumer";case X:var i=r.render;return r=r.displayName,r||(r=i.displayName||i.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case Z:return i=r.displayName||null,i!==null?i:oe(r.type)||"Memo";case ne:i=r._payload,r=r._init;try{return oe(r(i))}catch{}}return null}var pe=Array.isArray,W=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,he=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ye={pending:!1,data:null,method:null,action:null},He=[],A=-1;function Q(r){return{current:r}}function de(r){0>A||(r.current=He[A],He[A]=null,A--)}function D(r,i){A++,He[A]=r.current,r.current=i}var De=Q(null),qe=Q(null),Me=Q(null),Tt=Q(null);function nt(r,i){switch(D(Me,i),D(qe,r),D(De,null),i.nodeType){case 9:case 11:r=(r=i.documentElement)&&(r=r.namespaceURI)?H4(r):0;break;default:if(r=i.tagName,i=i.namespaceURI)i=H4(i),r=q4(i,r);else switch(r){case"svg":r=1;break;case"math":r=2;break;default:r=0}}de(De),D(De,r)}function st(){de(De),de(qe),de(Me)}function Ye(r){r.memoizedState!==null&&D(Tt,r);var i=De.current,u=q4(i,r.type);i!==u&&(D(qe,r),D(De,u))}function wt(r){qe.current===r&&(de(De),de(qe)),Tt.current===r&&(de(Tt),Xu._currentValue=ye)}var rt=Object.prototype.hasOwnProperty,$e=e.unstable_scheduleCallback,Ve=e.unstable_cancelCallback,ot=e.unstable_shouldYield,We=e.unstable_requestPaint,Ot=e.unstable_now,un=e.unstable_getCurrentPriorityLevel,Dt=e.unstable_ImmediatePriority,en=e.unstable_UserBlockingPriority,Un=e.unstable_NormalPriority,yi=e.unstable_LowPriority,ya=e.unstable_IdlePriority,hr=e.log,Dn=e.unstable_setDisableYieldValue,fe=null,xe=null;function Qe(r){if(typeof hr=="function"&&Dn(r),xe&&typeof xe.setStrictMode=="function")try{xe.setStrictMode(fe,r)}catch{}}var et=Math.clz32?Math.clz32:la,Bt=Math.log,tr=Math.LN2;function la(r){return r>>>=0,r===0?32:31-(Bt(r)/tr|0)|0}var Kn=256,wr=4194304;function nr(r){var i=r&42;if(i!==0)return i;switch(r&-r){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return r&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return r&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return r}}function An(r,i,u){var c=r.pendingLanes;if(c===0)return 0;var m=0,b=r.suspendedLanes,x=r.pingedLanes;r=r.warmLanes;var O=c&134217727;return O!==0?(c=O&~b,c!==0?m=nr(c):(x&=O,x!==0?m=nr(x):u||(u=O&~r,u!==0&&(m=nr(u))))):(O=c&~b,O!==0?m=nr(O):x!==0?m=nr(x):u||(u=c&~r,u!==0&&(m=nr(u)))),m===0?0:i!==0&&i!==m&&(i&b)===0&&(b=m&-m,u=i&-i,b>=u||b===32&&(u&4194048)!==0)?i:m}function mr(r,i){return(r.pendingLanes&~(r.suspendedLanes&~r.pingedLanes)&i)===0}function rr(r,i){switch(r){case 1:case 2:case 4:case 8:case 64:return i+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return i+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function tu(){var r=Kn;return Kn<<=1,(Kn&4194048)===0&&(Kn=256),r}function nu(){var r=wr;return wr<<=1,(wr&62914560)===0&&(wr=4194304),r}function ru(r){for(var i=[],u=0;31>u;u++)i.push(r);return i}function vi(r,i){r.pendingLanes|=i,i!==268435456&&(r.suspendedLanes=0,r.pingedLanes=0,r.warmLanes=0)}function Ti(r,i,u,c,m,b){var x=r.pendingLanes;r.pendingLanes=u,r.suspendedLanes=0,r.pingedLanes=0,r.warmLanes=0,r.expiredLanes&=u,r.entangledLanes&=u,r.errorRecoveryDisabledLanes&=u,r.shellSuspendCounter=0;var O=r.entanglements,H=r.expirationTimes,se=r.hiddenUpdates;for(u=x&~u;0<u;){var be=31-et(u),_e=1<<be;O[be]=0,H[be]=-1;var ue=se[be];if(ue!==null)for(se[be]=null,be=0;be<ue.length;be++){var ce=ue[be];ce!==null&&(ce.lane&=-536870913)}u&=~_e}c!==0&&j(r,c,0),b!==0&&m===0&&r.tag!==0&&(r.suspendedLanes|=b&~(x&~i))}function j(r,i,u){r.pendingLanes|=i,r.suspendedLanes&=~i;var c=31-et(i);r.entangledLanes|=i,r.entanglements[c]=r.entanglements[c]|1073741824|u&4194090}function ve(r,i){var u=r.entangledLanes|=i;for(r=r.entanglements;u;){var c=31-et(u),m=1<<c;m&i|r[c]&i&&(r[c]|=i),u&=~m}}function Be(r){switch(r){case 2:r=1;break;case 8:r=4;break;case 32:r=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:r=128;break;case 268435456:r=134217728;break;default:r=0}return r}function ct(r){return r&=-r,2<r?8<r?(r&134217727)!==0?32:268435456:8:2}function tn(){var r=he.p;return r!==0?r:(r=window.event,r===void 0?32:lb(r.type))}function on(r,i){var u=he.p;try{return he.p=r,i()}finally{he.p=u}}var ze=Math.random().toString(36).slice(2),Le="__reactFiber$"+ze,Ke="__reactProps$"+ze,Jt="__reactContainer$"+ze,nn="__reactEvents$"+ze,cs="__reactListeners$"+ze,au="__reactHandles$"+ze,Gs="__reactResources$"+ze,ds="__reactMarker$"+ze;function fs(r){delete r[Le],delete r[Ke],delete r[nn],delete r[cs],delete r[au]}function _i(r){var i=r[Le];if(i)return i;for(var u=r.parentNode;u;){if(i=u[Jt]||u[Le]){if(u=i.alternate,i.child!==null||u!==null&&u.child!==null)for(r=V4(r);r!==null;){if(u=r[Le])return u;r=V4(r)}return i}r=u,u=r.parentNode}return null}function Si(r){if(r=r[Le]||r[Jt]){var i=r.tag;if(i===5||i===6||i===13||i===26||i===27||i===3)return r}return null}function hs(r){var i=r.tag;if(i===5||i===26||i===27||i===6)return r.stateNode;throw Error(a(33))}function Fa(r){var i=r[Gs];return i||(i=r[Gs]={hoistableStyles:new Map,hoistableScripts:new Map}),i}function cn(r){r[ds]=!0}var Wo=new Set,Qo={};function Ha(r,i){ar(r,i),ar(r+"Capture",i)}function ar(r,i){for(Qo[r]=i,r=0;r<i.length;r++)Wo.add(i[r])}var Zo=RegExp("^[: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]*$"),iu={},Jo={};function Pd(r){return rt.call(Jo,r)?!0:rt.call(iu,r)?!1:Zo.test(r)?Jo[r]=!0:(iu[r]=!0,!1)}function Vs(r,i,u){if(Pd(i))if(u===null)r.removeAttribute(i);else{switch(typeof u){case"undefined":case"function":case"symbol":r.removeAttribute(i);return;case"boolean":var c=i.toLowerCase().slice(0,5);if(c!=="data-"&&c!=="aria-"){r.removeAttribute(i);return}}r.setAttribute(i,""+u)}}function qa(r,i,u){if(u===null)r.removeAttribute(i);else{switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":r.removeAttribute(i);return}r.setAttribute(i,""+u)}}function ua(r,i,u,c){if(c===null)r.removeAttribute(u);else{switch(typeof c){case"undefined":case"function":case"symbol":case"boolean":r.removeAttribute(u);return}r.setAttributeNS(i,u,""+c)}}var Ne,Ze;function pt(r){if(Ne===void 0)try{throw Error()}catch(u){var i=u.stack.trim().match(/\n( *(at )?)/);Ne=i&&i[1]||"",Ze=-1<u.stack.indexOf(`
|
|
42
|
-
at`)?" (<anonymous>)":-1<u.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
43
|
-
`+Ne+r+Ze}var Ut=!1;function dn(r,i){if(!r||Ut)return"";Ut=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var c={DetermineComponentFrameRoot:function(){try{if(i){var _e=function(){throw Error()};if(Object.defineProperty(_e.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(_e,[])}catch(ce){var ue=ce}Reflect.construct(r,[],_e)}else{try{_e.call()}catch(ce){ue=ce}r.call(_e.prototype)}}else{try{throw Error()}catch(ce){ue=ce}(_e=r())&&typeof _e.catch=="function"&&_e.catch(function(){})}}catch(ce){if(ce&&ue&&typeof ce.stack=="string")return[ce.stack,ue.stack]}return[null,null]}};c.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var m=Object.getOwnPropertyDescriptor(c.DetermineComponentFrameRoot,"name");m&&m.configurable&&Object.defineProperty(c.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var b=c.DetermineComponentFrameRoot(),x=b[0],O=b[1];if(x&&O){var H=x.split(`
|
|
44
|
-
`),se=O.split(`
|
|
45
|
-
`);for(m=c=0;c<H.length&&!H[c].includes("DetermineComponentFrameRoot");)c++;for(;m<se.length&&!se[m].includes("DetermineComponentFrameRoot");)m++;if(c===H.length||m===se.length)for(c=H.length-1,m=se.length-1;1<=c&&0<=m&&H[c]!==se[m];)m--;for(;1<=c&&0<=m;c--,m--)if(H[c]!==se[m]){if(c!==1||m!==1)do if(c--,m--,0>m||H[c]!==se[m]){var be=`
|
|
46
|
-
`+H[c].replace(" at new "," at ");return r.displayName&&be.includes("<anonymous>")&&(be=be.replace("<anonymous>",r.displayName)),be}while(1<=c&&0<=m);break}}}finally{Ut=!1,Error.prepareStackTrace=u}return(u=r?r.displayName||r.name:"")?pt(u):""}function Cr(r){switch(r.tag){case 26:case 27:case 5:return pt(r.type);case 16:return pt("Lazy");case 13:return pt("Suspense");case 19:return pt("SuspenseList");case 0:case 15:return dn(r.type,!1);case 11:return dn(r.type.render,!1);case 1:return dn(r.type,!0);case 31:return pt("Activity");default:return""}}function oa(r){try{var i="";do i+=Cr(r),r=r.return;while(r);return i}catch(u){return`
|
|
47
|
-
Error generating stack: `+u.message+`
|
|
48
|
-
`+u.stack}}function jn(r){switch(typeof r){case"bigint":case"boolean":case"number":case"string":case"undefined":return r;case"object":return r;default:return""}}function Xn(r){var i=r.type;return(r=r.nodeName)&&r.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function qr(r){var i=Xn(r)?"checked":"value",u=Object.getOwnPropertyDescriptor(r.constructor.prototype,i),c=""+r[i];if(!r.hasOwnProperty(i)&&typeof u<"u"&&typeof u.get=="function"&&typeof u.set=="function"){var m=u.get,b=u.set;return Object.defineProperty(r,i,{configurable:!0,get:function(){return m.call(this)},set:function(x){c=""+x,b.call(this,x)}}),Object.defineProperty(r,i,{enumerable:u.enumerable}),{getValue:function(){return c},setValue:function(x){c=""+x},stopTracking:function(){r._valueTracker=null,delete r[i]}}}}function ms(r){r._valueTracker||(r._valueTracker=qr(r))}function su(r){if(!r)return!1;var i=r._valueTracker;if(!i)return!0;var u=i.getValue(),c="";return r&&(c=Xn(r)?r.checked?"true":"false":r.value),r=c,r!==u?(i.setValue(r),!0):!1}function ps(r){if(r=r||(typeof document<"u"?document:void 0),typeof r>"u")return null;try{return r.activeElement||r.body}catch{return r.body}}var Ud=/[\n"\\]/g;function pr(r){return r.replace(Ud,function(i){return"\\"+i.charCodeAt(0).toString(16)+" "})}function lu(r,i,u,c,m,b,x,O){r.name="",x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"?r.type=x:r.removeAttribute("type"),i!=null?x==="number"?(i===0&&r.value===""||r.value!=i)&&(r.value=""+jn(i)):r.value!==""+jn(i)&&(r.value=""+jn(i)):x!=="submit"&&x!=="reset"||r.removeAttribute("value"),i!=null?xi(r,x,jn(i)):u!=null?xi(r,x,jn(u)):c!=null&&r.removeAttribute("value"),m==null&&b!=null&&(r.defaultChecked=!!b),m!=null&&(r.checked=m&&typeof m!="function"&&typeof m!="symbol"),O!=null&&typeof O!="function"&&typeof O!="symbol"&&typeof O!="boolean"?r.name=""+jn(O):r.removeAttribute("name")}function ec(r,i,u,c,m,b,x,O){if(b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"&&(r.type=b),i!=null||u!=null){if(!(b!=="submit"&&b!=="reset"||i!=null))return;u=u!=null?""+jn(u):"",i=i!=null?""+jn(i):u,O||i===r.value||(r.value=i),r.defaultValue=i}c=c??m,c=typeof c!="function"&&typeof c!="symbol"&&!!c,r.checked=O?r.checked:!!c,r.defaultChecked=!!c,x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"&&(r.name=x)}function xi(r,i,u){i==="number"&&ps(r.ownerDocument)===r||r.defaultValue===""+u||(r.defaultValue=""+u)}function Ya(r,i,u,c){if(r=r.options,i){i={};for(var m=0;m<u.length;m++)i["$"+u[m]]=!0;for(u=0;u<r.length;u++)m=i.hasOwnProperty("$"+r[u].value),r[u].selected!==m&&(r[u].selected=m),m&&c&&(r[u].defaultSelected=!0)}else{for(u=""+jn(u),i=null,m=0;m<r.length;m++){if(r[m].value===u){r[m].selected=!0,c&&(r[m].defaultSelected=!0);return}i!==null||r[m].disabled||(i=r[m])}i!==null&&(i.selected=!0)}}function kr(r,i,u){if(i!=null&&(i=""+jn(i),i!==r.value&&(r.value=i),u==null)){r.defaultValue!==i&&(r.defaultValue=i);return}r.defaultValue=u!=null?""+jn(u):""}function tc(r,i,u,c){if(i==null){if(c!=null){if(u!=null)throw Error(a(92));if(pe(c)){if(1<c.length)throw Error(a(93));c=c[0]}u=c}u==null&&(u=""),i=u}u=jn(i),r.defaultValue=u,c=r.textContent,c===u&&c!==""&&c!==null&&(r.value=c)}function va(r,i){if(i){var u=r.firstChild;if(u&&u===r.lastChild&&u.nodeType===3){u.nodeValue=i;return}}r.textContent=i}var mt=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function uu(r,i,u){var c=i.indexOf("--")===0;u==null||typeof u=="boolean"||u===""?c?r.setProperty(i,""):i==="float"?r.cssFloat="":r[i]="":c?r.setProperty(i,u):typeof u!="number"||u===0||mt.has(i)?i==="float"?r.cssFloat=u:r[i]=(""+u).trim():r[i]=u+"px"}function wn(r,i,u){if(i!=null&&typeof i!="object")throw Error(a(62));if(r=r.style,u!=null){for(var c in u)!u.hasOwnProperty(c)||i!=null&&i.hasOwnProperty(c)||(c.indexOf("--")===0?r.setProperty(c,""):c==="float"?r.cssFloat="":r[c]="");for(var m in i)c=i[m],i.hasOwnProperty(m)&&u[m]!==c&&uu(r,m,c)}else for(var b in i)i.hasOwnProperty(b)&&uu(r,b,i[b])}function zt(r){if(r.indexOf("-")===-1)return!1;switch(r){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}}var $s=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),ja=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Ai(r){return ja.test(""+r)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":r}var gs=null;function Pe(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}var je=null,ht=null;function It(r){var i=Si(r);if(i&&(r=i.stateNode)){var u=r[Ke]||null;e:switch(r=i.stateNode,i.type){case"input":if(lu(r,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name),i=u.name,u.type==="radio"&&i!=null){for(u=r;u.parentNode;)u=u.parentNode;for(u=u.querySelectorAll('input[name="'+pr(""+i)+'"][type="radio"]'),i=0;i<u.length;i++){var c=u[i];if(c!==r&&c.form===r.form){var m=c[Ke]||null;if(!m)throw Error(a(90));lu(c,m.value,m.defaultValue,m.defaultValue,m.checked,m.defaultChecked,m.type,m.name)}}for(i=0;i<u.length;i++)c=u[i],c.form===r.form&&su(c)}break e;case"textarea":kr(r,u.value,u.defaultValue);break e;case"select":i=u.value,i!=null&&Ya(r,!!u.multiple,i,!1)}}}var Cn=!1;function Yr(r,i,u){if(Cn)return r(i,u);Cn=!0;try{var c=r(i);return c}finally{if(Cn=!1,(je!==null||ht!==null)&&(Fc(),je&&(i=je,r=ht,ht=je=null,It(i),r)))for(i=0;i<r.length;i++)It(r[i])}}function bs(r,i){var u=r.stateNode;if(u===null)return null;var c=u[Ke]||null;if(c===null)return null;u=c[i];e:switch(i){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(c=!c.disabled)||(r=r.type,c=!(r==="button"||r==="input"||r==="select"||r==="textarea")),r=!c;break e;default:r=!1}if(r)return null;if(u&&typeof u!="function")throw Error(a(231,i,typeof u));return u}var ca=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),zd=!1;if(ca)try{var ou={};Object.defineProperty(ou,"passive",{get:function(){zd=!0}}),window.addEventListener("test",ou,ou),window.removeEventListener("test",ou,ou)}catch{zd=!1}var wi=null,Fd=null,nc=null;function Gp(){if(nc)return nc;var r,i=Fd,u=i.length,c,m="value"in wi?wi.value:wi.textContent,b=m.length;for(r=0;r<u&&i[r]===m[r];r++);var x=u-r;for(c=1;c<=x&&i[u-c]===m[b-c];c++);return nc=m.slice(r,1<c?1-c:void 0)}function rc(r){var i=r.keyCode;return"charCode"in r?(r=r.charCode,r===0&&i===13&&(r=13)):r=i,r===10&&(r=13),32<=r||r===13?r:0}function ac(){return!0}function Vp(){return!1}function gr(r){function i(u,c,m,b,x){this._reactName=u,this._targetInst=m,this.type=c,this.nativeEvent=b,this.target=x,this.currentTarget=null;for(var O in r)r.hasOwnProperty(O)&&(u=r[O],this[O]=u?u(b):b[O]);return this.isDefaultPrevented=(b.defaultPrevented!=null?b.defaultPrevented:b.returnValue===!1)?ac:Vp,this.isPropagationStopped=Vp,this}return p(i.prototype,{preventDefault:function(){this.defaultPrevented=!0;var u=this.nativeEvent;u&&(u.preventDefault?u.preventDefault():typeof u.returnValue!="unknown"&&(u.returnValue=!1),this.isDefaultPrevented=ac)},stopPropagation:function(){var u=this.nativeEvent;u&&(u.stopPropagation?u.stopPropagation():typeof u.cancelBubble!="unknown"&&(u.cancelBubble=!0),this.isPropagationStopped=ac)},persist:function(){},isPersistent:ac}),i}var Es={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(r){return r.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ic=gr(Es),cu=p({},Es,{view:0,detail:0}),D7=gr(cu),Hd,qd,du,sc=p({},cu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:jd,button:0,buttons:0,relatedTarget:function(r){return r.relatedTarget===void 0?r.fromElement===r.srcElement?r.toElement:r.fromElement:r.relatedTarget},movementX:function(r){return"movementX"in r?r.movementX:(r!==du&&(du&&r.type==="mousemove"?(Hd=r.screenX-du.screenX,qd=r.screenY-du.screenY):qd=Hd=0,du=r),Hd)},movementY:function(r){return"movementY"in r?r.movementY:qd}}),$p=gr(sc),I7=p({},sc,{dataTransfer:0}),L7=gr(I7),B7=p({},cu,{relatedTarget:0}),Yd=gr(B7),P7=p({},Es,{animationName:0,elapsedTime:0,pseudoElement:0}),U7=gr(P7),z7=p({},Es,{clipboardData:function(r){return"clipboardData"in r?r.clipboardData:window.clipboardData}}),F7=gr(z7),H7=p({},Es,{data:0}),Kp=gr(H7),q7={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Y7={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},j7={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function G7(r){var i=this.nativeEvent;return i.getModifierState?i.getModifierState(r):(r=j7[r])?!!i[r]:!1}function jd(){return G7}var V7=p({},cu,{key:function(r){if(r.key){var i=q7[r.key]||r.key;if(i!=="Unidentified")return i}return r.type==="keypress"?(r=rc(r),r===13?"Enter":String.fromCharCode(r)):r.type==="keydown"||r.type==="keyup"?Y7[r.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:jd,charCode:function(r){return r.type==="keypress"?rc(r):0},keyCode:function(r){return r.type==="keydown"||r.type==="keyup"?r.keyCode:0},which:function(r){return r.type==="keypress"?rc(r):r.type==="keydown"||r.type==="keyup"?r.keyCode:0}}),$7=gr(V7),K7=p({},sc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Xp=gr(K7),X7=p({},cu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:jd}),W7=gr(X7),Q7=p({},Es,{propertyName:0,elapsedTime:0,pseudoElement:0}),Z7=gr(Q7),J7=p({},sc,{deltaX:function(r){return"deltaX"in r?r.deltaX:"wheelDeltaX"in r?-r.wheelDeltaX:0},deltaY:function(r){return"deltaY"in r?r.deltaY:"wheelDeltaY"in r?-r.wheelDeltaY:"wheelDelta"in r?-r.wheelDelta:0},deltaZ:0,deltaMode:0}),e8=gr(J7),t8=p({},Es,{newState:0,oldState:0}),n8=gr(t8),r8=[9,13,27,32],Gd=ca&&"CompositionEvent"in window,fu=null;ca&&"documentMode"in document&&(fu=document.documentMode);var a8=ca&&"TextEvent"in window&&!fu,Wp=ca&&(!Gd||fu&&8<fu&&11>=fu),Qp=" ",Zp=!1;function Jp(r,i){switch(r){case"keyup":return r8.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function eg(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}var Ks=!1;function i8(r,i){switch(r){case"compositionend":return eg(i);case"keypress":return i.which!==32?null:(Zp=!0,Qp);case"textInput":return r=i.data,r===Qp&&Zp?null:r;default:return null}}function s8(r,i){if(Ks)return r==="compositionend"||!Gd&&Jp(r,i)?(r=Gp(),nc=Fd=wi=null,Ks=!1,r):null;switch(r){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1<i.char.length)return i.char;if(i.which)return String.fromCharCode(i.which)}return null;case"compositionend":return Wp&&i.locale!=="ko"?null:i.data;default:return null}}var l8={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function tg(r){var i=r&&r.nodeName&&r.nodeName.toLowerCase();return i==="input"?!!l8[r.type]:i==="textarea"}function ng(r,i,u,c){je?ht?ht.push(c):ht=[c]:je=c,i=Vc(i,"onChange"),0<i.length&&(u=new ic("onChange","change",null,u,c),r.push({event:u,listeners:i}))}var hu=null,mu=null;function u8(r){B4(r,0)}function lc(r){var i=hs(r);if(su(i))return r}function rg(r,i){if(r==="change")return i}var ag=!1;if(ca){var Vd;if(ca){var $d="oninput"in document;if(!$d){var ig=document.createElement("div");ig.setAttribute("oninput","return;"),$d=typeof ig.oninput=="function"}Vd=$d}else Vd=!1;ag=Vd&&(!document.documentMode||9<document.documentMode)}function sg(){hu&&(hu.detachEvent("onpropertychange",lg),mu=hu=null)}function lg(r){if(r.propertyName==="value"&&lc(mu)){var i=[];ng(i,mu,r,Pe(r)),Yr(u8,i)}}function o8(r,i,u){r==="focusin"?(sg(),hu=i,mu=u,hu.attachEvent("onpropertychange",lg)):r==="focusout"&&sg()}function c8(r){if(r==="selectionchange"||r==="keyup"||r==="keydown")return lc(mu)}function d8(r,i){if(r==="click")return lc(i)}function f8(r,i){if(r==="input"||r==="change")return lc(i)}function h8(r,i){return r===i&&(r!==0||1/r===1/i)||r!==r&&i!==i}var Nr=typeof Object.is=="function"?Object.is:h8;function pu(r,i){if(Nr(r,i))return!0;if(typeof r!="object"||r===null||typeof i!="object"||i===null)return!1;var u=Object.keys(r),c=Object.keys(i);if(u.length!==c.length)return!1;for(c=0;c<u.length;c++){var m=u[c];if(!rt.call(i,m)||!Nr(r[m],i[m]))return!1}return!0}function ug(r){for(;r&&r.firstChild;)r=r.firstChild;return r}function og(r,i){var u=ug(r);r=0;for(var c;u;){if(u.nodeType===3){if(c=r+u.textContent.length,r<=i&&c>=i)return{node:u,offset:i-r};r=c}e:{for(;u;){if(u.nextSibling){u=u.nextSibling;break e}u=u.parentNode}u=void 0}u=ug(u)}}function cg(r,i){return r&&i?r===i?!0:r&&r.nodeType===3?!1:i&&i.nodeType===3?cg(r,i.parentNode):"contains"in r?r.contains(i):r.compareDocumentPosition?!!(r.compareDocumentPosition(i)&16):!1:!1}function dg(r){r=r!=null&&r.ownerDocument!=null&&r.ownerDocument.defaultView!=null?r.ownerDocument.defaultView:window;for(var i=ps(r.document);i instanceof r.HTMLIFrameElement;){try{var u=typeof i.contentWindow.location.href=="string"}catch{u=!1}if(u)r=i.contentWindow;else break;i=ps(r.document)}return i}function Kd(r){var i=r&&r.nodeName&&r.nodeName.toLowerCase();return i&&(i==="input"&&(r.type==="text"||r.type==="search"||r.type==="tel"||r.type==="url"||r.type==="password")||i==="textarea"||r.contentEditable==="true")}var m8=ca&&"documentMode"in document&&11>=document.documentMode,Xs=null,Xd=null,gu=null,Wd=!1;function fg(r,i,u){var c=u.window===u?u.document:u.nodeType===9?u:u.ownerDocument;Wd||Xs==null||Xs!==ps(c)||(c=Xs,"selectionStart"in c&&Kd(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset}),gu&&pu(gu,c)||(gu=c,c=Vc(Xd,"onSelect"),0<c.length&&(i=new ic("onSelect","select",null,i,u),r.push({event:i,listeners:c}),i.target=Xs)))}function ys(r,i){var u={};return u[r.toLowerCase()]=i.toLowerCase(),u["Webkit"+r]="webkit"+i,u["Moz"+r]="moz"+i,u}var Ws={animationend:ys("Animation","AnimationEnd"),animationiteration:ys("Animation","AnimationIteration"),animationstart:ys("Animation","AnimationStart"),transitionrun:ys("Transition","TransitionRun"),transitionstart:ys("Transition","TransitionStart"),transitioncancel:ys("Transition","TransitionCancel"),transitionend:ys("Transition","TransitionEnd")},Qd={},hg={};ca&&(hg=document.createElement("div").style,"AnimationEvent"in window||(delete Ws.animationend.animation,delete Ws.animationiteration.animation,delete Ws.animationstart.animation),"TransitionEvent"in window||delete Ws.transitionend.transition);function vs(r){if(Qd[r])return Qd[r];if(!Ws[r])return r;var i=Ws[r],u;for(u in i)if(i.hasOwnProperty(u)&&u in hg)return Qd[r]=i[u];return r}var mg=vs("animationend"),pg=vs("animationiteration"),gg=vs("animationstart"),p8=vs("transitionrun"),g8=vs("transitionstart"),b8=vs("transitioncancel"),bg=vs("transitionend"),Eg=new Map,Zd="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Zd.push("scrollEnd");function da(r,i){Eg.set(r,i),Ha(i,[r])}var yg=new WeakMap;function jr(r,i){if(typeof r=="object"&&r!==null){var u=yg.get(r);return u!==void 0?u:(i={value:r,source:i,stack:oa(i)},yg.set(r,i),i)}return{value:r,source:i,stack:oa(i)}}var Gr=[],Qs=0,Jd=0;function uc(){for(var r=Qs,i=Jd=Qs=0;i<r;){var u=Gr[i];Gr[i++]=null;var c=Gr[i];Gr[i++]=null;var m=Gr[i];Gr[i++]=null;var b=Gr[i];if(Gr[i++]=null,c!==null&&m!==null){var x=c.pending;x===null?m.next=m:(m.next=x.next,x.next=m),c.pending=m}b!==0&&vg(u,m,b)}}function oc(r,i,u,c){Gr[Qs++]=r,Gr[Qs++]=i,Gr[Qs++]=u,Gr[Qs++]=c,Jd|=c,r.lanes|=c,r=r.alternate,r!==null&&(r.lanes|=c)}function ef(r,i,u,c){return oc(r,i,u,c),cc(r)}function Zs(r,i){return oc(r,null,null,i),cc(r)}function vg(r,i,u){r.lanes|=u;var c=r.alternate;c!==null&&(c.lanes|=u);for(var m=!1,b=r.return;b!==null;)b.childLanes|=u,c=b.alternate,c!==null&&(c.childLanes|=u),b.tag===22&&(r=b.stateNode,r===null||r._visibility&1||(m=!0)),r=b,b=b.return;return r.tag===3?(b=r.stateNode,m&&i!==null&&(m=31-et(u),r=b.hiddenUpdates,c=r[m],c===null?r[m]=[i]:c.push(i),i.lane=u|536870912),b):null}function cc(r){if(50<Hu)throw Hu=0,lh=null,Error(a(185));for(var i=r.return;i!==null;)r=i,i=r.return;return r.tag===3?r.stateNode:null}var Js={};function E8(r,i,u,c){this.tag=r,this.key=u,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=c,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Or(r,i,u,c){return new E8(r,i,u,c)}function tf(r){return r=r.prototype,!(!r||!r.isReactComponent)}function Ga(r,i){var u=r.alternate;return u===null?(u=Or(r.tag,i,r.key,r.mode),u.elementType=r.elementType,u.type=r.type,u.stateNode=r.stateNode,u.alternate=r,r.alternate=u):(u.pendingProps=i,u.type=r.type,u.flags=0,u.subtreeFlags=0,u.deletions=null),u.flags=r.flags&65011712,u.childLanes=r.childLanes,u.lanes=r.lanes,u.child=r.child,u.memoizedProps=r.memoizedProps,u.memoizedState=r.memoizedState,u.updateQueue=r.updateQueue,i=r.dependencies,u.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},u.sibling=r.sibling,u.index=r.index,u.ref=r.ref,u.refCleanup=r.refCleanup,u}function Tg(r,i){r.flags&=65011714;var u=r.alternate;return u===null?(r.childLanes=0,r.lanes=i,r.child=null,r.subtreeFlags=0,r.memoizedProps=null,r.memoizedState=null,r.updateQueue=null,r.dependencies=null,r.stateNode=null):(r.childLanes=u.childLanes,r.lanes=u.lanes,r.child=u.child,r.subtreeFlags=0,r.deletions=null,r.memoizedProps=u.memoizedProps,r.memoizedState=u.memoizedState,r.updateQueue=u.updateQueue,r.type=u.type,i=u.dependencies,r.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext}),r}function dc(r,i,u,c,m,b){var x=0;if(c=r,typeof r=="function")tf(r)&&(x=1);else if(typeof r=="string")x=vT(r,u,De.current)?26:r==="html"||r==="head"||r==="body"?27:5;else e:switch(r){case te:return r=Or(31,u,i,m),r.elementType=te,r.lanes=b,r;case S:return Ts(u.children,m,b,i);case w:x=8,m|=24;break;case N:return r=Or(12,u,i,m|2),r.elementType=N,r.lanes=b,r;case G:return r=Or(13,u,i,m),r.elementType=G,r.lanes=b,r;case P:return r=Or(19,u,i,m),r.elementType=P,r.lanes=b,r;default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case k:case I:x=10;break e;case M:x=9;break e;case X:x=11;break e;case Z:x=14;break e;case ne:x=16,c=null;break e}x=29,u=Error(a(130,r===null?"null":typeof r,"")),c=null}return i=Or(x,u,i,m),i.elementType=r,i.type=c,i.lanes=b,i}function Ts(r,i,u,c){return r=Or(7,r,c,i),r.lanes=u,r}function nf(r,i,u){return r=Or(6,r,null,i),r.lanes=u,r}function rf(r,i,u){return i=Or(4,r.children!==null?r.children:[],r.key,i),i.lanes=u,i.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},i}var el=[],tl=0,fc=null,hc=0,Vr=[],$r=0,_s=null,Va=1,$a="";function Ss(r,i){el[tl++]=hc,el[tl++]=fc,fc=r,hc=i}function _g(r,i,u){Vr[$r++]=Va,Vr[$r++]=$a,Vr[$r++]=_s,_s=r;var c=Va;r=$a;var m=32-et(c)-1;c&=~(1<<m),u+=1;var b=32-et(i)+m;if(30<b){var x=m-m%5;b=(c&(1<<x)-1).toString(32),c>>=x,m-=x,Va=1<<32-et(i)+m|u<<m|c,$a=b+r}else Va=1<<b|u<<m|c,$a=r}function af(r){r.return!==null&&(Ss(r,1),_g(r,1,0))}function sf(r){for(;r===fc;)fc=el[--tl],el[tl]=null,hc=el[--tl],el[tl]=null;for(;r===_s;)_s=Vr[--$r],Vr[$r]=null,$a=Vr[--$r],Vr[$r]=null,Va=Vr[--$r],Vr[$r]=null}var ir=null,bn=null,Pt=!1,xs=null,Ta=!1,lf=Error(a(519));function As(r){var i=Error(a(418,""));throw yu(jr(i,r)),lf}function Sg(r){var i=r.stateNode,u=r.type,c=r.memoizedProps;switch(i[Le]=r,i[Ke]=c,u){case"dialog":kt("cancel",i),kt("close",i);break;case"iframe":case"object":case"embed":kt("load",i);break;case"video":case"audio":for(u=0;u<Yu.length;u++)kt(Yu[u],i);break;case"source":kt("error",i);break;case"img":case"image":case"link":kt("error",i),kt("load",i);break;case"details":kt("toggle",i);break;case"input":kt("invalid",i),ec(i,c.value,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name,!0),ms(i);break;case"select":kt("invalid",i);break;case"textarea":kt("invalid",i),tc(i,c.value,c.defaultValue,c.children),ms(i)}u=c.children,typeof u!="string"&&typeof u!="number"&&typeof u!="bigint"||i.textContent===""+u||c.suppressHydrationWarning===!0||F4(i.textContent,u)?(c.popover!=null&&(kt("beforetoggle",i),kt("toggle",i)),c.onScroll!=null&&kt("scroll",i),c.onScrollEnd!=null&&kt("scrollend",i),c.onClick!=null&&(i.onclick=$c),i=!0):i=!1,i||As(r)}function xg(r){for(ir=r.return;ir;)switch(ir.tag){case 5:case 13:Ta=!1;return;case 27:case 3:Ta=!0;return;default:ir=ir.return}}function bu(r){if(r!==ir)return!1;if(!Pt)return xg(r),Pt=!0,!1;var i=r.tag,u;if((u=i!==3&&i!==27)&&((u=i===5)&&(u=r.type,u=!(u!=="form"&&u!=="button")||Sh(r.type,r.memoizedProps)),u=!u),u&&bn&&As(r),xg(r),i===13){if(r=r.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(a(317));e:{for(r=r.nextSibling,i=0;r;){if(r.nodeType===8)if(u=r.data,u==="/$"){if(i===0){bn=ha(r.nextSibling);break e}i--}else u!=="$"&&u!=="$!"&&u!=="$?"||i++;r=r.nextSibling}bn=null}}else i===27?(i=bn,qi(r.type)?(r=Ch,Ch=null,bn=r):bn=i):bn=ir?ha(r.stateNode.nextSibling):null;return!0}function Eu(){bn=ir=null,Pt=!1}function Ag(){var r=xs;return r!==null&&(yr===null?yr=r:yr.push.apply(yr,r),xs=null),r}function yu(r){xs===null?xs=[r]:xs.push(r)}var uf=Q(null),ws=null,Ka=null;function Ci(r,i,u){D(uf,i._currentValue),i._currentValue=u}function Xa(r){r._currentValue=uf.current,de(uf)}function of(r,i,u){for(;r!==null;){var c=r.alternate;if((r.childLanes&i)!==i?(r.childLanes|=i,c!==null&&(c.childLanes|=i)):c!==null&&(c.childLanes&i)!==i&&(c.childLanes|=i),r===u)break;r=r.return}}function cf(r,i,u,c){var m=r.child;for(m!==null&&(m.return=r);m!==null;){var b=m.dependencies;if(b!==null){var x=m.child;b=b.firstContext;e:for(;b!==null;){var O=b;b=m;for(var H=0;H<i.length;H++)if(O.context===i[H]){b.lanes|=u,O=b.alternate,O!==null&&(O.lanes|=u),of(b.return,u,r),c||(x=null);break e}b=O.next}}else if(m.tag===18){if(x=m.return,x===null)throw Error(a(341));x.lanes|=u,b=x.alternate,b!==null&&(b.lanes|=u),of(x,u,r),x=null}else x=m.child;if(x!==null)x.return=m;else for(x=m;x!==null;){if(x===r){x=null;break}if(m=x.sibling,m!==null){m.return=x.return,x=m;break}x=x.return}m=x}}function vu(r,i,u,c){r=null;for(var m=i,b=!1;m!==null;){if(!b){if((m.flags&524288)!==0)b=!0;else if((m.flags&262144)!==0)break}if(m.tag===10){var x=m.alternate;if(x===null)throw Error(a(387));if(x=x.memoizedProps,x!==null){var O=m.type;Nr(m.pendingProps.value,x.value)||(r!==null?r.push(O):r=[O])}}else if(m===Tt.current){if(x=m.alternate,x===null)throw Error(a(387));x.memoizedState.memoizedState!==m.memoizedState.memoizedState&&(r!==null?r.push(Xu):r=[Xu])}m=m.return}r!==null&&cf(i,r,u,c),i.flags|=262144}function mc(r){for(r=r.firstContext;r!==null;){if(!Nr(r.context._currentValue,r.memoizedValue))return!0;r=r.next}return!1}function Cs(r){ws=r,Ka=null,r=r.dependencies,r!==null&&(r.firstContext=null)}function Wn(r){return wg(ws,r)}function pc(r,i){return ws===null&&Cs(r),wg(r,i)}function wg(r,i){var u=i._currentValue;if(i={context:i,memoizedValue:u,next:null},Ka===null){if(r===null)throw Error(a(308));Ka=i,r.dependencies={lanes:0,firstContext:i},r.flags|=524288}else Ka=Ka.next=i;return u}var y8=typeof AbortController<"u"?AbortController:function(){var r=[],i=this.signal={aborted:!1,addEventListener:function(u,c){r.push(c)}};this.abort=function(){i.aborted=!0,r.forEach(function(u){return u()})}},v8=e.unstable_scheduleCallback,T8=e.unstable_NormalPriority,In={$$typeof:I,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function df(){return{controller:new y8,data:new Map,refCount:0}}function Tu(r){r.refCount--,r.refCount===0&&v8(T8,function(){r.controller.abort()})}var _u=null,ff=0,nl=0,rl=null;function _8(r,i){if(_u===null){var u=_u=[];ff=0,nl=mh(),rl={status:"pending",value:void 0,then:function(c){u.push(c)}}}return ff++,i.then(Cg,Cg),i}function Cg(){if(--ff===0&&_u!==null){rl!==null&&(rl.status="fulfilled");var r=_u;_u=null,nl=0,rl=null;for(var i=0;i<r.length;i++)(0,r[i])()}}function S8(r,i){var u=[],c={status:"pending",value:null,reason:null,then:function(m){u.push(m)}};return r.then(function(){c.status="fulfilled",c.value=i;for(var m=0;m<u.length;m++)(0,u[m])(i)},function(m){for(c.status="rejected",c.reason=m,m=0;m<u.length;m++)(0,u[m])(void 0)}),c}var kg=W.S;W.S=function(r,i){typeof i=="object"&&i!==null&&typeof i.then=="function"&&_8(r,i),kg!==null&&kg(r,i)};var ks=Q(null);function hf(){var r=ks.current;return r!==null?r:Xt.pooledCache}function gc(r,i){i===null?D(ks,ks.current):D(ks,i.pool)}function Ng(){var r=hf();return r===null?null:{parent:In._currentValue,pool:r}}var Su=Error(a(460)),Og=Error(a(474)),bc=Error(a(542)),mf={then:function(){}};function Rg(r){return r=r.status,r==="fulfilled"||r==="rejected"}function Ec(){}function Mg(r,i,u){switch(u=r[u],u===void 0?r.push(i):u!==i&&(i.then(Ec,Ec),i=u),i.status){case"fulfilled":return i.value;case"rejected":throw r=i.reason,Ig(r),r;default:if(typeof i.status=="string")i.then(Ec,Ec);else{if(r=Xt,r!==null&&100<r.shellSuspendCounter)throw Error(a(482));r=i,r.status="pending",r.then(function(c){if(i.status==="pending"){var m=i;m.status="fulfilled",m.value=c}},function(c){if(i.status==="pending"){var m=i;m.status="rejected",m.reason=c}})}switch(i.status){case"fulfilled":return i.value;case"rejected":throw r=i.reason,Ig(r),r}throw xu=i,Su}}var xu=null;function Dg(){if(xu===null)throw Error(a(459));var r=xu;return xu=null,r}function Ig(r){if(r===Su||r===bc)throw Error(a(483))}var ki=!1;function pf(r){r.updateQueue={baseState:r.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function gf(r,i){r=r.updateQueue,i.updateQueue===r&&(i.updateQueue={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,callbacks:null})}function Ni(r){return{lane:r,tag:0,payload:null,callback:null,next:null}}function Oi(r,i,u){var c=r.updateQueue;if(c===null)return null;if(c=c.shared,(Ft&2)!==0){var m=c.pending;return m===null?i.next=i:(i.next=m.next,m.next=i),c.pending=i,i=cc(r),vg(r,null,u),i}return oc(r,c,i,u),cc(r)}function Au(r,i,u){if(i=i.updateQueue,i!==null&&(i=i.shared,(u&4194048)!==0)){var c=i.lanes;c&=r.pendingLanes,u|=c,i.lanes=u,ve(r,u)}}function bf(r,i){var u=r.updateQueue,c=r.alternate;if(c!==null&&(c=c.updateQueue,u===c)){var m=null,b=null;if(u=u.firstBaseUpdate,u!==null){do{var x={lane:u.lane,tag:u.tag,payload:u.payload,callback:null,next:null};b===null?m=b=x:b=b.next=x,u=u.next}while(u!==null);b===null?m=b=i:b=b.next=i}else m=b=i;u={baseState:c.baseState,firstBaseUpdate:m,lastBaseUpdate:b,shared:c.shared,callbacks:c.callbacks},r.updateQueue=u;return}r=u.lastBaseUpdate,r===null?u.firstBaseUpdate=i:r.next=i,u.lastBaseUpdate=i}var Ef=!1;function wu(){if(Ef){var r=rl;if(r!==null)throw r}}function Cu(r,i,u,c){Ef=!1;var m=r.updateQueue;ki=!1;var b=m.firstBaseUpdate,x=m.lastBaseUpdate,O=m.shared.pending;if(O!==null){m.shared.pending=null;var H=O,se=H.next;H.next=null,x===null?b=se:x.next=se,x=H;var be=r.alternate;be!==null&&(be=be.updateQueue,O=be.lastBaseUpdate,O!==x&&(O===null?be.firstBaseUpdate=se:O.next=se,be.lastBaseUpdate=H))}if(b!==null){var _e=m.baseState;x=0,be=se=H=null,O=b;do{var ue=O.lane&-536870913,ce=ue!==O.lane;if(ce?(Rt&ue)===ue:(c&ue)===ue){ue!==0&&ue===nl&&(Ef=!0),be!==null&&(be=be.next={lane:0,tag:O.tag,payload:O.payload,callback:null,next:null});e:{var dt=r,lt=O;ue=i;var jt=u;switch(lt.tag){case 1:if(dt=lt.payload,typeof dt=="function"){_e=dt.call(jt,_e,ue);break e}_e=dt;break e;case 3:dt.flags=dt.flags&-65537|128;case 0:if(dt=lt.payload,ue=typeof dt=="function"?dt.call(jt,_e,ue):dt,ue==null)break e;_e=p({},_e,ue);break e;case 2:ki=!0}}ue=O.callback,ue!==null&&(r.flags|=64,ce&&(r.flags|=8192),ce=m.callbacks,ce===null?m.callbacks=[ue]:ce.push(ue))}else ce={lane:ue,tag:O.tag,payload:O.payload,callback:O.callback,next:null},be===null?(se=be=ce,H=_e):be=be.next=ce,x|=ue;if(O=O.next,O===null){if(O=m.shared.pending,O===null)break;ce=O,O=ce.next,ce.next=null,m.lastBaseUpdate=ce,m.shared.pending=null}}while(!0);be===null&&(H=_e),m.baseState=H,m.firstBaseUpdate=se,m.lastBaseUpdate=be,b===null&&(m.shared.lanes=0),Ui|=x,r.lanes=x,r.memoizedState=_e}}function Lg(r,i){if(typeof r!="function")throw Error(a(191,r));r.call(i)}function Bg(r,i){var u=r.callbacks;if(u!==null)for(r.callbacks=null,r=0;r<u.length;r++)Lg(u[r],i)}var al=Q(null),yc=Q(0);function Pg(r,i){r=ni,D(yc,r),D(al,i),ni=r|i.baseLanes}function yf(){D(yc,ni),D(al,al.current)}function vf(){ni=yc.current,de(al),de(yc)}var Ri=0,_t=null,qt=null,kn=null,vc=!1,il=!1,Ns=!1,Tc=0,ku=0,sl=null,x8=0;function Tn(){throw Error(a(321))}function Tf(r,i){if(i===null)return!1;for(var u=0;u<i.length&&u<r.length;u++)if(!Nr(r[u],i[u]))return!1;return!0}function _f(r,i,u,c,m,b){return Ri=b,_t=i,i.memoizedState=null,i.updateQueue=null,i.lanes=0,W.H=r===null||r.memoizedState===null?v2:T2,Ns=!1,b=u(c,m),Ns=!1,il&&(b=zg(i,u,c,m)),Ug(r),b}function Ug(r){W.H=Cc;var i=qt!==null&&qt.next!==null;if(Ri=0,kn=qt=_t=null,vc=!1,ku=0,sl=null,i)throw Error(a(300));r===null||zn||(r=r.dependencies,r!==null&&mc(r)&&(zn=!0))}function zg(r,i,u,c){_t=r;var m=0;do{if(il&&(sl=null),ku=0,il=!1,25<=m)throw Error(a(301));if(m+=1,kn=qt=null,r.updateQueue!=null){var b=r.updateQueue;b.lastEffect=null,b.events=null,b.stores=null,b.memoCache!=null&&(b.memoCache.index=0)}W.H=R8,b=i(u,c)}while(il);return b}function A8(){var r=W.H,i=r.useState()[0];return i=typeof i.then=="function"?Nu(i):i,r=r.useState()[0],(qt!==null?qt.memoizedState:null)!==r&&(_t.flags|=1024),i}function Sf(){var r=Tc!==0;return Tc=0,r}function xf(r,i,u){i.updateQueue=r.updateQueue,i.flags&=-2053,r.lanes&=~u}function Af(r){if(vc){for(r=r.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}vc=!1}Ri=0,kn=qt=_t=null,il=!1,ku=Tc=0,sl=null}function br(){var r={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return kn===null?_t.memoizedState=kn=r:kn=kn.next=r,kn}function Nn(){if(qt===null){var r=_t.alternate;r=r!==null?r.memoizedState:null}else r=qt.next;var i=kn===null?_t.memoizedState:kn.next;if(i!==null)kn=i,qt=r;else{if(r===null)throw _t.alternate===null?Error(a(467)):Error(a(310));qt=r,r={memoizedState:qt.memoizedState,baseState:qt.baseState,baseQueue:qt.baseQueue,queue:qt.queue,next:null},kn===null?_t.memoizedState=kn=r:kn=kn.next=r}return kn}function wf(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Nu(r){var i=ku;return ku+=1,sl===null&&(sl=[]),r=Mg(sl,r,i),i=_t,(kn===null?i.memoizedState:kn.next)===null&&(i=i.alternate,W.H=i===null||i.memoizedState===null?v2:T2),r}function _c(r){if(r!==null&&typeof r=="object"){if(typeof r.then=="function")return Nu(r);if(r.$$typeof===I)return Wn(r)}throw Error(a(438,String(r)))}function Cf(r){var i=null,u=_t.updateQueue;if(u!==null&&(i=u.memoCache),i==null){var c=_t.alternate;c!==null&&(c=c.updateQueue,c!==null&&(c=c.memoCache,c!=null&&(i={data:c.data.map(function(m){return m.slice()}),index:0})))}if(i==null&&(i={data:[],index:0}),u===null&&(u=wf(),_t.updateQueue=u),u.memoCache=i,u=i.data[i.index],u===void 0)for(u=i.data[i.index]=Array(r),c=0;c<r;c++)u[c]=Y;return i.index++,u}function Wa(r,i){return typeof i=="function"?i(r):i}function Sc(r){var i=Nn();return kf(i,qt,r)}function kf(r,i,u){var c=r.queue;if(c===null)throw Error(a(311));c.lastRenderedReducer=u;var m=r.baseQueue,b=c.pending;if(b!==null){if(m!==null){var x=m.next;m.next=b.next,b.next=x}i.baseQueue=m=b,c.pending=null}if(b=r.baseState,m===null)r.memoizedState=b;else{i=m.next;var O=x=null,H=null,se=i,be=!1;do{var _e=se.lane&-536870913;if(_e!==se.lane?(Rt&_e)===_e:(Ri&_e)===_e){var ue=se.revertLane;if(ue===0)H!==null&&(H=H.next={lane:0,revertLane:0,action:se.action,hasEagerState:se.hasEagerState,eagerState:se.eagerState,next:null}),_e===nl&&(be=!0);else if((Ri&ue)===ue){se=se.next,ue===nl&&(be=!0);continue}else _e={lane:0,revertLane:se.revertLane,action:se.action,hasEagerState:se.hasEagerState,eagerState:se.eagerState,next:null},H===null?(O=H=_e,x=b):H=H.next=_e,_t.lanes|=ue,Ui|=ue;_e=se.action,Ns&&u(b,_e),b=se.hasEagerState?se.eagerState:u(b,_e)}else ue={lane:_e,revertLane:se.revertLane,action:se.action,hasEagerState:se.hasEagerState,eagerState:se.eagerState,next:null},H===null?(O=H=ue,x=b):H=H.next=ue,_t.lanes|=_e,Ui|=_e;se=se.next}while(se!==null&&se!==i);if(H===null?x=b:H.next=O,!Nr(b,r.memoizedState)&&(zn=!0,be&&(u=rl,u!==null)))throw u;r.memoizedState=b,r.baseState=x,r.baseQueue=H,c.lastRenderedState=b}return m===null&&(c.lanes=0),[r.memoizedState,c.dispatch]}function Nf(r){var i=Nn(),u=i.queue;if(u===null)throw Error(a(311));u.lastRenderedReducer=r;var c=u.dispatch,m=u.pending,b=i.memoizedState;if(m!==null){u.pending=null;var x=m=m.next;do b=r(b,x.action),x=x.next;while(x!==m);Nr(b,i.memoizedState)||(zn=!0),i.memoizedState=b,i.baseQueue===null&&(i.baseState=b),u.lastRenderedState=b}return[b,c]}function Fg(r,i,u){var c=_t,m=Nn(),b=Pt;if(b){if(u===void 0)throw Error(a(407));u=u()}else u=i();var x=!Nr((qt||m).memoizedState,u);x&&(m.memoizedState=u,zn=!0),m=m.queue;var O=Yg.bind(null,c,m,r);if(Ou(2048,8,O,[r]),m.getSnapshot!==i||x||kn!==null&&kn.memoizedState.tag&1){if(c.flags|=2048,ll(9,xc(),qg.bind(null,c,m,u,i),null),Xt===null)throw Error(a(349));b||(Ri&124)!==0||Hg(c,i,u)}return u}function Hg(r,i,u){r.flags|=16384,r={getSnapshot:i,value:u},i=_t.updateQueue,i===null?(i=wf(),_t.updateQueue=i,i.stores=[r]):(u=i.stores,u===null?i.stores=[r]:u.push(r))}function qg(r,i,u,c){i.value=u,i.getSnapshot=c,jg(i)&&Gg(r)}function Yg(r,i,u){return u(function(){jg(i)&&Gg(r)})}function jg(r){var i=r.getSnapshot;r=r.value;try{var u=i();return!Nr(r,u)}catch{return!0}}function Gg(r){var i=Zs(r,2);i!==null&&Lr(i,r,2)}function Of(r){var i=br();if(typeof r=="function"){var u=r;if(r=u(),Ns){Qe(!0);try{u()}finally{Qe(!1)}}}return i.memoizedState=i.baseState=r,i.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Wa,lastRenderedState:r},i}function Vg(r,i,u,c){return r.baseState=u,kf(r,qt,typeof c=="function"?c:Wa)}function w8(r,i,u,c,m){if(wc(r))throw Error(a(485));if(r=i.action,r!==null){var b={payload:m,action:r,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(x){b.listeners.push(x)}};W.T!==null?u(!0):b.isTransition=!1,c(b),u=i.pending,u===null?(b.next=i.pending=b,$g(i,b)):(b.next=u.next,i.pending=u.next=b)}}function $g(r,i){var u=i.action,c=i.payload,m=r.state;if(i.isTransition){var b=W.T,x={};W.T=x;try{var O=u(m,c),H=W.S;H!==null&&H(x,O),Kg(r,i,O)}catch(se){Rf(r,i,se)}finally{W.T=b}}else try{b=u(m,c),Kg(r,i,b)}catch(se){Rf(r,i,se)}}function Kg(r,i,u){u!==null&&typeof u=="object"&&typeof u.then=="function"?u.then(function(c){Xg(r,i,c)},function(c){return Rf(r,i,c)}):Xg(r,i,u)}function Xg(r,i,u){i.status="fulfilled",i.value=u,Wg(i),r.state=u,i=r.pending,i!==null&&(u=i.next,u===i?r.pending=null:(u=u.next,i.next=u,$g(r,u)))}function Rf(r,i,u){var c=r.pending;if(r.pending=null,c!==null){c=c.next;do i.status="rejected",i.reason=u,Wg(i),i=i.next;while(i!==c)}r.action=null}function Wg(r){r=r.listeners;for(var i=0;i<r.length;i++)(0,r[i])()}function Qg(r,i){return i}function Zg(r,i){if(Pt){var u=Xt.formState;if(u!==null){e:{var c=_t;if(Pt){if(bn){t:{for(var m=bn,b=Ta;m.nodeType!==8;){if(!b){m=null;break t}if(m=ha(m.nextSibling),m===null){m=null;break t}}b=m.data,m=b==="F!"||b==="F"?m:null}if(m){bn=ha(m.nextSibling),c=m.data==="F!";break e}}As(c)}c=!1}c&&(i=u[0])}}return u=br(),u.memoizedState=u.baseState=i,c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Qg,lastRenderedState:i},u.queue=c,u=b2.bind(null,_t,c),c.dispatch=u,c=Of(!1),b=Bf.bind(null,_t,!1,c.queue),c=br(),m={state:i,dispatch:null,action:r,pending:null},c.queue=m,u=w8.bind(null,_t,m,b,u),m.dispatch=u,c.memoizedState=r,[i,u,!1]}function Jg(r){var i=Nn();return e2(i,qt,r)}function e2(r,i,u){if(i=kf(r,i,Qg)[0],r=Sc(Wa)[0],typeof i=="object"&&i!==null&&typeof i.then=="function")try{var c=Nu(i)}catch(x){throw x===Su?bc:x}else c=i;i=Nn();var m=i.queue,b=m.dispatch;return u!==i.memoizedState&&(_t.flags|=2048,ll(9,xc(),C8.bind(null,m,u),null)),[c,b,r]}function C8(r,i){r.action=i}function t2(r){var i=Nn(),u=qt;if(u!==null)return e2(i,u,r);Nn(),i=i.memoizedState,u=Nn();var c=u.queue.dispatch;return u.memoizedState=r,[i,c,!1]}function ll(r,i,u,c){return r={tag:r,create:u,deps:c,inst:i,next:null},i=_t.updateQueue,i===null&&(i=wf(),_t.updateQueue=i),u=i.lastEffect,u===null?i.lastEffect=r.next=r:(c=u.next,u.next=r,r.next=c,i.lastEffect=r),r}function xc(){return{destroy:void 0,resource:void 0}}function n2(){return Nn().memoizedState}function Ac(r,i,u,c){var m=br();c=c===void 0?null:c,_t.flags|=r,m.memoizedState=ll(1|i,xc(),u,c)}function Ou(r,i,u,c){var m=Nn();c=c===void 0?null:c;var b=m.memoizedState.inst;qt!==null&&c!==null&&Tf(c,qt.memoizedState.deps)?m.memoizedState=ll(i,b,u,c):(_t.flags|=r,m.memoizedState=ll(1|i,b,u,c))}function r2(r,i){Ac(8390656,8,r,i)}function a2(r,i){Ou(2048,8,r,i)}function i2(r,i){return Ou(4,2,r,i)}function s2(r,i){return Ou(4,4,r,i)}function l2(r,i){if(typeof i=="function"){r=r();var u=i(r);return function(){typeof u=="function"?u():i(null)}}if(i!=null)return r=r(),i.current=r,function(){i.current=null}}function u2(r,i,u){u=u!=null?u.concat([r]):null,Ou(4,4,l2.bind(null,i,r),u)}function Mf(){}function o2(r,i){var u=Nn();i=i===void 0?null:i;var c=u.memoizedState;return i!==null&&Tf(i,c[1])?c[0]:(u.memoizedState=[r,i],r)}function c2(r,i){var u=Nn();i=i===void 0?null:i;var c=u.memoizedState;if(i!==null&&Tf(i,c[1]))return c[0];if(c=r(),Ns){Qe(!0);try{r()}finally{Qe(!1)}}return u.memoizedState=[c,i],c}function Df(r,i,u){return u===void 0||(Ri&1073741824)!==0?r.memoizedState=i:(r.memoizedState=u,r=h4(),_t.lanes|=r,Ui|=r,u)}function d2(r,i,u,c){return Nr(u,i)?u:al.current!==null?(r=Df(r,u,c),Nr(r,i)||(zn=!0),r):(Ri&42)===0?(zn=!0,r.memoizedState=u):(r=h4(),_t.lanes|=r,Ui|=r,i)}function f2(r,i,u,c,m){var b=he.p;he.p=b!==0&&8>b?b:8;var x=W.T,O={};W.T=O,Bf(r,!1,i,u);try{var H=m(),se=W.S;if(se!==null&&se(O,H),H!==null&&typeof H=="object"&&typeof H.then=="function"){var be=S8(H,c);Ru(r,i,be,Ir(r))}else Ru(r,i,c,Ir(r))}catch(_e){Ru(r,i,{then:function(){},status:"rejected",reason:_e},Ir())}finally{he.p=b,W.T=x}}function k8(){}function If(r,i,u,c){if(r.tag!==5)throw Error(a(476));var m=h2(r).queue;f2(r,m,i,ye,u===null?k8:function(){return m2(r),u(c)})}function h2(r){var i=r.memoizedState;if(i!==null)return i;i={memoizedState:ye,baseState:ye,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Wa,lastRenderedState:ye},next:null};var u={};return i.next={memoizedState:u,baseState:u,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Wa,lastRenderedState:u},next:null},r.memoizedState=i,r=r.alternate,r!==null&&(r.memoizedState=i),i}function m2(r){var i=h2(r).next.queue;Ru(r,i,{},Ir())}function Lf(){return Wn(Xu)}function p2(){return Nn().memoizedState}function g2(){return Nn().memoizedState}function N8(r){for(var i=r.return;i!==null;){switch(i.tag){case 24:case 3:var u=Ir();r=Ni(u);var c=Oi(i,r,u);c!==null&&(Lr(c,i,u),Au(c,i,u)),i={cache:df()},r.payload=i;return}i=i.return}}function O8(r,i,u){var c=Ir();u={lane:c,revertLane:0,action:u,hasEagerState:!1,eagerState:null,next:null},wc(r)?E2(i,u):(u=ef(r,i,u,c),u!==null&&(Lr(u,r,c),y2(u,i,c)))}function b2(r,i,u){var c=Ir();Ru(r,i,u,c)}function Ru(r,i,u,c){var m={lane:c,revertLane:0,action:u,hasEagerState:!1,eagerState:null,next:null};if(wc(r))E2(i,m);else{var b=r.alternate;if(r.lanes===0&&(b===null||b.lanes===0)&&(b=i.lastRenderedReducer,b!==null))try{var x=i.lastRenderedState,O=b(x,u);if(m.hasEagerState=!0,m.eagerState=O,Nr(O,x))return oc(r,i,m,0),Xt===null&&uc(),!1}catch{}finally{}if(u=ef(r,i,m,c),u!==null)return Lr(u,r,c),y2(u,i,c),!0}return!1}function Bf(r,i,u,c){if(c={lane:2,revertLane:mh(),action:c,hasEagerState:!1,eagerState:null,next:null},wc(r)){if(i)throw Error(a(479))}else i=ef(r,u,c,2),i!==null&&Lr(i,r,2)}function wc(r){var i=r.alternate;return r===_t||i!==null&&i===_t}function E2(r,i){il=vc=!0;var u=r.pending;u===null?i.next=i:(i.next=u.next,u.next=i),r.pending=i}function y2(r,i,u){if((u&4194048)!==0){var c=i.lanes;c&=r.pendingLanes,u|=c,i.lanes=u,ve(r,u)}}var Cc={readContext:Wn,use:_c,useCallback:Tn,useContext:Tn,useEffect:Tn,useImperativeHandle:Tn,useLayoutEffect:Tn,useInsertionEffect:Tn,useMemo:Tn,useReducer:Tn,useRef:Tn,useState:Tn,useDebugValue:Tn,useDeferredValue:Tn,useTransition:Tn,useSyncExternalStore:Tn,useId:Tn,useHostTransitionStatus:Tn,useFormState:Tn,useActionState:Tn,useOptimistic:Tn,useMemoCache:Tn,useCacheRefresh:Tn},v2={readContext:Wn,use:_c,useCallback:function(r,i){return br().memoizedState=[r,i===void 0?null:i],r},useContext:Wn,useEffect:r2,useImperativeHandle:function(r,i,u){u=u!=null?u.concat([r]):null,Ac(4194308,4,l2.bind(null,i,r),u)},useLayoutEffect:function(r,i){return Ac(4194308,4,r,i)},useInsertionEffect:function(r,i){Ac(4,2,r,i)},useMemo:function(r,i){var u=br();i=i===void 0?null:i;var c=r();if(Ns){Qe(!0);try{r()}finally{Qe(!1)}}return u.memoizedState=[c,i],c},useReducer:function(r,i,u){var c=br();if(u!==void 0){var m=u(i);if(Ns){Qe(!0);try{u(i)}finally{Qe(!1)}}}else m=i;return c.memoizedState=c.baseState=m,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:r,lastRenderedState:m},c.queue=r,r=r.dispatch=O8.bind(null,_t,r),[c.memoizedState,r]},useRef:function(r){var i=br();return r={current:r},i.memoizedState=r},useState:function(r){r=Of(r);var i=r.queue,u=b2.bind(null,_t,i);return i.dispatch=u,[r.memoizedState,u]},useDebugValue:Mf,useDeferredValue:function(r,i){var u=br();return Df(u,r,i)},useTransition:function(){var r=Of(!1);return r=f2.bind(null,_t,r.queue,!0,!1),br().memoizedState=r,[!1,r]},useSyncExternalStore:function(r,i,u){var c=_t,m=br();if(Pt){if(u===void 0)throw Error(a(407));u=u()}else{if(u=i(),Xt===null)throw Error(a(349));(Rt&124)!==0||Hg(c,i,u)}m.memoizedState=u;var b={value:u,getSnapshot:i};return m.queue=b,r2(Yg.bind(null,c,b,r),[r]),c.flags|=2048,ll(9,xc(),qg.bind(null,c,b,u,i),null),u},useId:function(){var r=br(),i=Xt.identifierPrefix;if(Pt){var u=$a,c=Va;u=(c&~(1<<32-et(c)-1)).toString(32)+u,i="«"+i+"R"+u,u=Tc++,0<u&&(i+="H"+u.toString(32)),i+="»"}else u=x8++,i="«"+i+"r"+u.toString(32)+"»";return r.memoizedState=i},useHostTransitionStatus:Lf,useFormState:Zg,useActionState:Zg,useOptimistic:function(r){var i=br();i.memoizedState=i.baseState=r;var u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return i.queue=u,i=Bf.bind(null,_t,!0,u),u.dispatch=i,[r,i]},useMemoCache:Cf,useCacheRefresh:function(){return br().memoizedState=N8.bind(null,_t)}},T2={readContext:Wn,use:_c,useCallback:o2,useContext:Wn,useEffect:a2,useImperativeHandle:u2,useInsertionEffect:i2,useLayoutEffect:s2,useMemo:c2,useReducer:Sc,useRef:n2,useState:function(){return Sc(Wa)},useDebugValue:Mf,useDeferredValue:function(r,i){var u=Nn();return d2(u,qt.memoizedState,r,i)},useTransition:function(){var r=Sc(Wa)[0],i=Nn().memoizedState;return[typeof r=="boolean"?r:Nu(r),i]},useSyncExternalStore:Fg,useId:p2,useHostTransitionStatus:Lf,useFormState:Jg,useActionState:Jg,useOptimistic:function(r,i){var u=Nn();return Vg(u,qt,r,i)},useMemoCache:Cf,useCacheRefresh:g2},R8={readContext:Wn,use:_c,useCallback:o2,useContext:Wn,useEffect:a2,useImperativeHandle:u2,useInsertionEffect:i2,useLayoutEffect:s2,useMemo:c2,useReducer:Nf,useRef:n2,useState:function(){return Nf(Wa)},useDebugValue:Mf,useDeferredValue:function(r,i){var u=Nn();return qt===null?Df(u,r,i):d2(u,qt.memoizedState,r,i)},useTransition:function(){var r=Nf(Wa)[0],i=Nn().memoizedState;return[typeof r=="boolean"?r:Nu(r),i]},useSyncExternalStore:Fg,useId:p2,useHostTransitionStatus:Lf,useFormState:t2,useActionState:t2,useOptimistic:function(r,i){var u=Nn();return qt!==null?Vg(u,qt,r,i):(u.baseState=r,[r,u.queue.dispatch])},useMemoCache:Cf,useCacheRefresh:g2},ul=null,Mu=0;function kc(r){var i=Mu;return Mu+=1,ul===null&&(ul=[]),Mg(ul,r,i)}function Du(r,i){i=i.props.ref,r.ref=i!==void 0?i:null}function Nc(r,i){throw i.$$typeof===g?Error(a(525)):(r=Object.prototype.toString.call(i),Error(a(31,r==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":r)))}function _2(r){var i=r._init;return i(r._payload)}function S2(r){function i(J,$){if(r){var ae=J.deletions;ae===null?(J.deletions=[$],J.flags|=16):ae.push($)}}function u(J,$){if(!r)return null;for(;$!==null;)i(J,$),$=$.sibling;return null}function c(J){for(var $=new Map;J!==null;)J.key!==null?$.set(J.key,J):$.set(J.index,J),J=J.sibling;return $}function m(J,$){return J=Ga(J,$),J.index=0,J.sibling=null,J}function b(J,$,ae){return J.index=ae,r?(ae=J.alternate,ae!==null?(ae=ae.index,ae<$?(J.flags|=67108866,$):ae):(J.flags|=67108866,$)):(J.flags|=1048576,$)}function x(J){return r&&J.alternate===null&&(J.flags|=67108866),J}function O(J,$,ae,Te){return $===null||$.tag!==6?($=nf(ae,J.mode,Te),$.return=J,$):($=m($,ae),$.return=J,$)}function H(J,$,ae,Te){var Ge=ae.type;return Ge===S?be(J,$,ae.props.children,Te,ae.key):$!==null&&($.elementType===Ge||typeof Ge=="object"&&Ge!==null&&Ge.$$typeof===ne&&_2(Ge)===$.type)?($=m($,ae.props),Du($,ae),$.return=J,$):($=dc(ae.type,ae.key,ae.props,null,J.mode,Te),Du($,ae),$.return=J,$)}function se(J,$,ae,Te){return $===null||$.tag!==4||$.stateNode.containerInfo!==ae.containerInfo||$.stateNode.implementation!==ae.implementation?($=rf(ae,J.mode,Te),$.return=J,$):($=m($,ae.children||[]),$.return=J,$)}function be(J,$,ae,Te,Ge){return $===null||$.tag!==7?($=Ts(ae,J.mode,Te,Ge),$.return=J,$):($=m($,ae),$.return=J,$)}function _e(J,$,ae){if(typeof $=="string"&&$!==""||typeof $=="number"||typeof $=="bigint")return $=nf(""+$,J.mode,ae),$.return=J,$;if(typeof $=="object"&&$!==null){switch($.$$typeof){case v:return ae=dc($.type,$.key,$.props,null,J.mode,ae),Du(ae,$),ae.return=J,ae;case y:return $=rf($,J.mode,ae),$.return=J,$;case ne:var Te=$._init;return $=Te($._payload),_e(J,$,ae)}if(pe($)||re($))return $=Ts($,J.mode,ae,null),$.return=J,$;if(typeof $.then=="function")return _e(J,kc($),ae);if($.$$typeof===I)return _e(J,pc(J,$),ae);Nc(J,$)}return null}function ue(J,$,ae,Te){var Ge=$!==null?$.key:null;if(typeof ae=="string"&&ae!==""||typeof ae=="number"||typeof ae=="bigint")return Ge!==null?null:O(J,$,""+ae,Te);if(typeof ae=="object"&&ae!==null){switch(ae.$$typeof){case v:return ae.key===Ge?H(J,$,ae,Te):null;case y:return ae.key===Ge?se(J,$,ae,Te):null;case ne:return Ge=ae._init,ae=Ge(ae._payload),ue(J,$,ae,Te)}if(pe(ae)||re(ae))return Ge!==null?null:be(J,$,ae,Te,null);if(typeof ae.then=="function")return ue(J,$,kc(ae),Te);if(ae.$$typeof===I)return ue(J,$,pc(J,ae),Te);Nc(J,ae)}return null}function ce(J,$,ae,Te,Ge){if(typeof Te=="string"&&Te!==""||typeof Te=="number"||typeof Te=="bigint")return J=J.get(ae)||null,O($,J,""+Te,Ge);if(typeof Te=="object"&&Te!==null){switch(Te.$$typeof){case v:return J=J.get(Te.key===null?ae:Te.key)||null,H($,J,Te,Ge);case y:return J=J.get(Te.key===null?ae:Te.key)||null,se($,J,Te,Ge);case ne:var St=Te._init;return Te=St(Te._payload),ce(J,$,ae,Te,Ge)}if(pe(Te)||re(Te))return J=J.get(ae)||null,be($,J,Te,Ge,null);if(typeof Te.then=="function")return ce(J,$,ae,kc(Te),Ge);if(Te.$$typeof===I)return ce(J,$,ae,pc($,Te),Ge);Nc($,Te)}return null}function dt(J,$,ae,Te){for(var Ge=null,St=null,Je=$,ut=$=0,Hn=null;Je!==null&&ut<ae.length;ut++){Je.index>ut?(Hn=Je,Je=null):Hn=Je.sibling;var Lt=ue(J,Je,ae[ut],Te);if(Lt===null){Je===null&&(Je=Hn);break}r&&Je&&Lt.alternate===null&&i(J,Je),$=b(Lt,$,ut),St===null?Ge=Lt:St.sibling=Lt,St=Lt,Je=Hn}if(ut===ae.length)return u(J,Je),Pt&&Ss(J,ut),Ge;if(Je===null){for(;ut<ae.length;ut++)Je=_e(J,ae[ut],Te),Je!==null&&($=b(Je,$,ut),St===null?Ge=Je:St.sibling=Je,St=Je);return Pt&&Ss(J,ut),Ge}for(Je=c(Je);ut<ae.length;ut++)Hn=ce(Je,J,ut,ae[ut],Te),Hn!==null&&(r&&Hn.alternate!==null&&Je.delete(Hn.key===null?ut:Hn.key),$=b(Hn,$,ut),St===null?Ge=Hn:St.sibling=Hn,St=Hn);return r&&Je.forEach(function($i){return i(J,$i)}),Pt&&Ss(J,ut),Ge}function lt(J,$,ae,Te){if(ae==null)throw Error(a(151));for(var Ge=null,St=null,Je=$,ut=$=0,Hn=null,Lt=ae.next();Je!==null&&!Lt.done;ut++,Lt=ae.next()){Je.index>ut?(Hn=Je,Je=null):Hn=Je.sibling;var $i=ue(J,Je,Lt.value,Te);if($i===null){Je===null&&(Je=Hn);break}r&&Je&&$i.alternate===null&&i(J,Je),$=b($i,$,ut),St===null?Ge=$i:St.sibling=$i,St=$i,Je=Hn}if(Lt.done)return u(J,Je),Pt&&Ss(J,ut),Ge;if(Je===null){for(;!Lt.done;ut++,Lt=ae.next())Lt=_e(J,Lt.value,Te),Lt!==null&&($=b(Lt,$,ut),St===null?Ge=Lt:St.sibling=Lt,St=Lt);return Pt&&Ss(J,ut),Ge}for(Je=c(Je);!Lt.done;ut++,Lt=ae.next())Lt=ce(Je,J,ut,Lt.value,Te),Lt!==null&&(r&&Lt.alternate!==null&&Je.delete(Lt.key===null?ut:Lt.key),$=b(Lt,$,ut),St===null?Ge=Lt:St.sibling=Lt,St=Lt);return r&&Je.forEach(function(MT){return i(J,MT)}),Pt&&Ss(J,ut),Ge}function jt(J,$,ae,Te){if(typeof ae=="object"&&ae!==null&&ae.type===S&&ae.key===null&&(ae=ae.props.children),typeof ae=="object"&&ae!==null){switch(ae.$$typeof){case v:e:{for(var Ge=ae.key;$!==null;){if($.key===Ge){if(Ge=ae.type,Ge===S){if($.tag===7){u(J,$.sibling),Te=m($,ae.props.children),Te.return=J,J=Te;break e}}else if($.elementType===Ge||typeof Ge=="object"&&Ge!==null&&Ge.$$typeof===ne&&_2(Ge)===$.type){u(J,$.sibling),Te=m($,ae.props),Du(Te,ae),Te.return=J,J=Te;break e}u(J,$);break}else i(J,$);$=$.sibling}ae.type===S?(Te=Ts(ae.props.children,J.mode,Te,ae.key),Te.return=J,J=Te):(Te=dc(ae.type,ae.key,ae.props,null,J.mode,Te),Du(Te,ae),Te.return=J,J=Te)}return x(J);case y:e:{for(Ge=ae.key;$!==null;){if($.key===Ge)if($.tag===4&&$.stateNode.containerInfo===ae.containerInfo&&$.stateNode.implementation===ae.implementation){u(J,$.sibling),Te=m($,ae.children||[]),Te.return=J,J=Te;break e}else{u(J,$);break}else i(J,$);$=$.sibling}Te=rf(ae,J.mode,Te),Te.return=J,J=Te}return x(J);case ne:return Ge=ae._init,ae=Ge(ae._payload),jt(J,$,ae,Te)}if(pe(ae))return dt(J,$,ae,Te);if(re(ae)){if(Ge=re(ae),typeof Ge!="function")throw Error(a(150));return ae=Ge.call(ae),lt(J,$,ae,Te)}if(typeof ae.then=="function")return jt(J,$,kc(ae),Te);if(ae.$$typeof===I)return jt(J,$,pc(J,ae),Te);Nc(J,ae)}return typeof ae=="string"&&ae!==""||typeof ae=="number"||typeof ae=="bigint"?(ae=""+ae,$!==null&&$.tag===6?(u(J,$.sibling),Te=m($,ae),Te.return=J,J=Te):(u(J,$),Te=nf(ae,J.mode,Te),Te.return=J,J=Te),x(J)):u(J,$)}return function(J,$,ae,Te){try{Mu=0;var Ge=jt(J,$,ae,Te);return ul=null,Ge}catch(Je){if(Je===Su||Je===bc)throw Je;var St=Or(29,Je,null,J.mode);return St.lanes=Te,St.return=J,St}finally{}}}var ol=S2(!0),x2=S2(!1),Kr=Q(null),_a=null;function Mi(r){var i=r.alternate;D(Ln,Ln.current&1),D(Kr,r),_a===null&&(i===null||al.current!==null||i.memoizedState!==null)&&(_a=r)}function A2(r){if(r.tag===22){if(D(Ln,Ln.current),D(Kr,r),_a===null){var i=r.alternate;i!==null&&i.memoizedState!==null&&(_a=r)}}else Di()}function Di(){D(Ln,Ln.current),D(Kr,Kr.current)}function Qa(r){de(Kr),_a===r&&(_a=null),de(Ln)}var Ln=Q(0);function Oc(r){for(var i=r;i!==null;){if(i.tag===13){var u=i.memoizedState;if(u!==null&&(u=u.dehydrated,u===null||u.data==="$?"||wh(u)))return i}else if(i.tag===19&&i.memoizedProps.revealOrder!==void 0){if((i.flags&128)!==0)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===r)break;for(;i.sibling===null;){if(i.return===null||i.return===r)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}function Pf(r,i,u,c){i=r.memoizedState,u=u(c,i),u=u==null?i:p({},i,u),r.memoizedState=u,r.lanes===0&&(r.updateQueue.baseState=u)}var Uf={enqueueSetState:function(r,i,u){r=r._reactInternals;var c=Ir(),m=Ni(c);m.payload=i,u!=null&&(m.callback=u),i=Oi(r,m,c),i!==null&&(Lr(i,r,c),Au(i,r,c))},enqueueReplaceState:function(r,i,u){r=r._reactInternals;var c=Ir(),m=Ni(c);m.tag=1,m.payload=i,u!=null&&(m.callback=u),i=Oi(r,m,c),i!==null&&(Lr(i,r,c),Au(i,r,c))},enqueueForceUpdate:function(r,i){r=r._reactInternals;var u=Ir(),c=Ni(u);c.tag=2,i!=null&&(c.callback=i),i=Oi(r,c,u),i!==null&&(Lr(i,r,u),Au(i,r,u))}};function w2(r,i,u,c,m,b,x){return r=r.stateNode,typeof r.shouldComponentUpdate=="function"?r.shouldComponentUpdate(c,b,x):i.prototype&&i.prototype.isPureReactComponent?!pu(u,c)||!pu(m,b):!0}function C2(r,i,u,c){r=i.state,typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps(u,c),typeof i.UNSAFE_componentWillReceiveProps=="function"&&i.UNSAFE_componentWillReceiveProps(u,c),i.state!==r&&Uf.enqueueReplaceState(i,i.state,null)}function Os(r,i){var u=i;if("ref"in i){u={};for(var c in i)c!=="ref"&&(u[c]=i[c])}if(r=r.defaultProps){u===i&&(u=p({},u));for(var m in r)u[m]===void 0&&(u[m]=r[m])}return u}var Rc=typeof reportError=="function"?reportError:function(r){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var i=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof r=="object"&&r!==null&&typeof r.message=="string"?String(r.message):String(r),error:r});if(!window.dispatchEvent(i))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",r);return}console.error(r)};function k2(r){Rc(r)}function N2(r){console.error(r)}function O2(r){Rc(r)}function Mc(r,i){try{var u=r.onUncaughtError;u(i.value,{componentStack:i.stack})}catch(c){setTimeout(function(){throw c})}}function R2(r,i,u){try{var c=r.onCaughtError;c(u.value,{componentStack:u.stack,errorBoundary:i.tag===1?i.stateNode:null})}catch(m){setTimeout(function(){throw m})}}function zf(r,i,u){return u=Ni(u),u.tag=3,u.payload={element:null},u.callback=function(){Mc(r,i)},u}function M2(r){return r=Ni(r),r.tag=3,r}function D2(r,i,u,c){var m=u.type.getDerivedStateFromError;if(typeof m=="function"){var b=c.value;r.payload=function(){return m(b)},r.callback=function(){R2(i,u,c)}}var x=u.stateNode;x!==null&&typeof x.componentDidCatch=="function"&&(r.callback=function(){R2(i,u,c),typeof m!="function"&&(zi===null?zi=new Set([this]):zi.add(this));var O=c.stack;this.componentDidCatch(c.value,{componentStack:O!==null?O:""})})}function M8(r,i,u,c,m){if(u.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){if(i=u.alternate,i!==null&&vu(i,u,m,!0),u=Kr.current,u!==null){switch(u.tag){case 13:return _a===null?oh():u.alternate===null&&En===0&&(En=3),u.flags&=-257,u.flags|=65536,u.lanes=m,c===mf?u.flags|=16384:(i=u.updateQueue,i===null?u.updateQueue=new Set([c]):i.add(c),dh(r,c,m)),!1;case 22:return u.flags|=65536,c===mf?u.flags|=16384:(i=u.updateQueue,i===null?(i={transitions:null,markerInstances:null,retryQueue:new Set([c])},u.updateQueue=i):(u=i.retryQueue,u===null?i.retryQueue=new Set([c]):u.add(c)),dh(r,c,m)),!1}throw Error(a(435,u.tag))}return dh(r,c,m),oh(),!1}if(Pt)return i=Kr.current,i!==null?((i.flags&65536)===0&&(i.flags|=256),i.flags|=65536,i.lanes=m,c!==lf&&(r=Error(a(422),{cause:c}),yu(jr(r,u)))):(c!==lf&&(i=Error(a(423),{cause:c}),yu(jr(i,u))),r=r.current.alternate,r.flags|=65536,m&=-m,r.lanes|=m,c=jr(c,u),m=zf(r.stateNode,c,m),bf(r,m),En!==4&&(En=2)),!1;var b=Error(a(520),{cause:c});if(b=jr(b,u),Fu===null?Fu=[b]:Fu.push(b),En!==4&&(En=2),i===null)return!0;c=jr(c,u),u=i;do{switch(u.tag){case 3:return u.flags|=65536,r=m&-m,u.lanes|=r,r=zf(u.stateNode,c,r),bf(u,r),!1;case 1:if(i=u.type,b=u.stateNode,(u.flags&128)===0&&(typeof i.getDerivedStateFromError=="function"||b!==null&&typeof b.componentDidCatch=="function"&&(zi===null||!zi.has(b))))return u.flags|=65536,m&=-m,u.lanes|=m,m=M2(m),D2(m,r,u,c),bf(u,m),!1}u=u.return}while(u!==null);return!1}var I2=Error(a(461)),zn=!1;function Gn(r,i,u,c){i.child=r===null?x2(i,null,u,c):ol(i,r.child,u,c)}function L2(r,i,u,c,m){u=u.render;var b=i.ref;if("ref"in c){var x={};for(var O in c)O!=="ref"&&(x[O]=c[O])}else x=c;return Cs(i),c=_f(r,i,u,x,b,m),O=Sf(),r!==null&&!zn?(xf(r,i,m),Za(r,i,m)):(Pt&&O&&af(i),i.flags|=1,Gn(r,i,c,m),i.child)}function B2(r,i,u,c,m){if(r===null){var b=u.type;return typeof b=="function"&&!tf(b)&&b.defaultProps===void 0&&u.compare===null?(i.tag=15,i.type=b,P2(r,i,b,c,m)):(r=dc(u.type,null,c,i,i.mode,m),r.ref=i.ref,r.return=i,i.child=r)}if(b=r.child,!$f(r,m)){var x=b.memoizedProps;if(u=u.compare,u=u!==null?u:pu,u(x,c)&&r.ref===i.ref)return Za(r,i,m)}return i.flags|=1,r=Ga(b,c),r.ref=i.ref,r.return=i,i.child=r}function P2(r,i,u,c,m){if(r!==null){var b=r.memoizedProps;if(pu(b,c)&&r.ref===i.ref)if(zn=!1,i.pendingProps=c=b,$f(r,m))(r.flags&131072)!==0&&(zn=!0);else return i.lanes=r.lanes,Za(r,i,m)}return Ff(r,i,u,c,m)}function U2(r,i,u){var c=i.pendingProps,m=c.children,b=r!==null?r.memoizedState:null;if(c.mode==="hidden"){if((i.flags&128)!==0){if(c=b!==null?b.baseLanes|u:u,r!==null){for(m=i.child=r.child,b=0;m!==null;)b=b|m.lanes|m.childLanes,m=m.sibling;i.childLanes=b&~c}else i.childLanes=0,i.child=null;return z2(r,i,c,u)}if((u&536870912)!==0)i.memoizedState={baseLanes:0,cachePool:null},r!==null&&gc(i,b!==null?b.cachePool:null),b!==null?Pg(i,b):yf(),A2(i);else return i.lanes=i.childLanes=536870912,z2(r,i,b!==null?b.baseLanes|u:u,u)}else b!==null?(gc(i,b.cachePool),Pg(i,b),Di(),i.memoizedState=null):(r!==null&&gc(i,null),yf(),Di());return Gn(r,i,m,u),i.child}function z2(r,i,u,c){var m=hf();return m=m===null?null:{parent:In._currentValue,pool:m},i.memoizedState={baseLanes:u,cachePool:m},r!==null&&gc(i,null),yf(),A2(i),r!==null&&vu(r,i,c,!0),null}function Dc(r,i){var u=i.ref;if(u===null)r!==null&&r.ref!==null&&(i.flags|=4194816);else{if(typeof u!="function"&&typeof u!="object")throw Error(a(284));(r===null||r.ref!==u)&&(i.flags|=4194816)}}function Ff(r,i,u,c,m){return Cs(i),u=_f(r,i,u,c,void 0,m),c=Sf(),r!==null&&!zn?(xf(r,i,m),Za(r,i,m)):(Pt&&c&&af(i),i.flags|=1,Gn(r,i,u,m),i.child)}function F2(r,i,u,c,m,b){return Cs(i),i.updateQueue=null,u=zg(i,c,u,m),Ug(r),c=Sf(),r!==null&&!zn?(xf(r,i,b),Za(r,i,b)):(Pt&&c&&af(i),i.flags|=1,Gn(r,i,u,b),i.child)}function H2(r,i,u,c,m){if(Cs(i),i.stateNode===null){var b=Js,x=u.contextType;typeof x=="object"&&x!==null&&(b=Wn(x)),b=new u(c,b),i.memoizedState=b.state!==null&&b.state!==void 0?b.state:null,b.updater=Uf,i.stateNode=b,b._reactInternals=i,b=i.stateNode,b.props=c,b.state=i.memoizedState,b.refs={},pf(i),x=u.contextType,b.context=typeof x=="object"&&x!==null?Wn(x):Js,b.state=i.memoizedState,x=u.getDerivedStateFromProps,typeof x=="function"&&(Pf(i,u,x,c),b.state=i.memoizedState),typeof u.getDerivedStateFromProps=="function"||typeof b.getSnapshotBeforeUpdate=="function"||typeof b.UNSAFE_componentWillMount!="function"&&typeof b.componentWillMount!="function"||(x=b.state,typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount(),x!==b.state&&Uf.enqueueReplaceState(b,b.state,null),Cu(i,c,b,m),wu(),b.state=i.memoizedState),typeof b.componentDidMount=="function"&&(i.flags|=4194308),c=!0}else if(r===null){b=i.stateNode;var O=i.memoizedProps,H=Os(u,O);b.props=H;var se=b.context,be=u.contextType;x=Js,typeof be=="object"&&be!==null&&(x=Wn(be));var _e=u.getDerivedStateFromProps;be=typeof _e=="function"||typeof b.getSnapshotBeforeUpdate=="function",O=i.pendingProps!==O,be||typeof b.UNSAFE_componentWillReceiveProps!="function"&&typeof b.componentWillReceiveProps!="function"||(O||se!==x)&&C2(i,b,c,x),ki=!1;var ue=i.memoizedState;b.state=ue,Cu(i,c,b,m),wu(),se=i.memoizedState,O||ue!==se||ki?(typeof _e=="function"&&(Pf(i,u,_e,c),se=i.memoizedState),(H=ki||w2(i,u,H,c,ue,se,x))?(be||typeof b.UNSAFE_componentWillMount!="function"&&typeof b.componentWillMount!="function"||(typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount()),typeof b.componentDidMount=="function"&&(i.flags|=4194308)):(typeof b.componentDidMount=="function"&&(i.flags|=4194308),i.memoizedProps=c,i.memoizedState=se),b.props=c,b.state=se,b.context=x,c=H):(typeof b.componentDidMount=="function"&&(i.flags|=4194308),c=!1)}else{b=i.stateNode,gf(r,i),x=i.memoizedProps,be=Os(u,x),b.props=be,_e=i.pendingProps,ue=b.context,se=u.contextType,H=Js,typeof se=="object"&&se!==null&&(H=Wn(se)),O=u.getDerivedStateFromProps,(se=typeof O=="function"||typeof b.getSnapshotBeforeUpdate=="function")||typeof b.UNSAFE_componentWillReceiveProps!="function"&&typeof b.componentWillReceiveProps!="function"||(x!==_e||ue!==H)&&C2(i,b,c,H),ki=!1,ue=i.memoizedState,b.state=ue,Cu(i,c,b,m),wu();var ce=i.memoizedState;x!==_e||ue!==ce||ki||r!==null&&r.dependencies!==null&&mc(r.dependencies)?(typeof O=="function"&&(Pf(i,u,O,c),ce=i.memoizedState),(be=ki||w2(i,u,be,c,ue,ce,H)||r!==null&&r.dependencies!==null&&mc(r.dependencies))?(se||typeof b.UNSAFE_componentWillUpdate!="function"&&typeof b.componentWillUpdate!="function"||(typeof b.componentWillUpdate=="function"&&b.componentWillUpdate(c,ce,H),typeof b.UNSAFE_componentWillUpdate=="function"&&b.UNSAFE_componentWillUpdate(c,ce,H)),typeof b.componentDidUpdate=="function"&&(i.flags|=4),typeof b.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof b.componentDidUpdate!="function"||x===r.memoizedProps&&ue===r.memoizedState||(i.flags|=4),typeof b.getSnapshotBeforeUpdate!="function"||x===r.memoizedProps&&ue===r.memoizedState||(i.flags|=1024),i.memoizedProps=c,i.memoizedState=ce),b.props=c,b.state=ce,b.context=H,c=be):(typeof b.componentDidUpdate!="function"||x===r.memoizedProps&&ue===r.memoizedState||(i.flags|=4),typeof b.getSnapshotBeforeUpdate!="function"||x===r.memoizedProps&&ue===r.memoizedState||(i.flags|=1024),c=!1)}return b=c,Dc(r,i),c=(i.flags&128)!==0,b||c?(b=i.stateNode,u=c&&typeof u.getDerivedStateFromError!="function"?null:b.render(),i.flags|=1,r!==null&&c?(i.child=ol(i,r.child,null,m),i.child=ol(i,null,u,m)):Gn(r,i,u,m),i.memoizedState=b.state,r=i.child):r=Za(r,i,m),r}function q2(r,i,u,c){return Eu(),i.flags|=256,Gn(r,i,u,c),i.child}var Hf={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function qf(r){return{baseLanes:r,cachePool:Ng()}}function Yf(r,i,u){return r=r!==null?r.childLanes&~u:0,i&&(r|=Xr),r}function Y2(r,i,u){var c=i.pendingProps,m=!1,b=(i.flags&128)!==0,x;if((x=b)||(x=r!==null&&r.memoizedState===null?!1:(Ln.current&2)!==0),x&&(m=!0,i.flags&=-129),x=(i.flags&32)!==0,i.flags&=-33,r===null){if(Pt){if(m?Mi(i):Di(),Pt){var O=bn,H;if(H=O){e:{for(H=O,O=Ta;H.nodeType!==8;){if(!O){O=null;break e}if(H=ha(H.nextSibling),H===null){O=null;break e}}O=H}O!==null?(i.memoizedState={dehydrated:O,treeContext:_s!==null?{id:Va,overflow:$a}:null,retryLane:536870912,hydrationErrors:null},H=Or(18,null,null,0),H.stateNode=O,H.return=i,i.child=H,ir=i,bn=null,H=!0):H=!1}H||As(i)}if(O=i.memoizedState,O!==null&&(O=O.dehydrated,O!==null))return wh(O)?i.lanes=32:i.lanes=536870912,null;Qa(i)}return O=c.children,c=c.fallback,m?(Di(),m=i.mode,O=Ic({mode:"hidden",children:O},m),c=Ts(c,m,u,null),O.return=i,c.return=i,O.sibling=c,i.child=O,m=i.child,m.memoizedState=qf(u),m.childLanes=Yf(r,x,u),i.memoizedState=Hf,c):(Mi(i),jf(i,O))}if(H=r.memoizedState,H!==null&&(O=H.dehydrated,O!==null)){if(b)i.flags&256?(Mi(i),i.flags&=-257,i=Gf(r,i,u)):i.memoizedState!==null?(Di(),i.child=r.child,i.flags|=128,i=null):(Di(),m=c.fallback,O=i.mode,c=Ic({mode:"visible",children:c.children},O),m=Ts(m,O,u,null),m.flags|=2,c.return=i,m.return=i,c.sibling=m,i.child=c,ol(i,r.child,null,u),c=i.child,c.memoizedState=qf(u),c.childLanes=Yf(r,x,u),i.memoizedState=Hf,i=m);else if(Mi(i),wh(O)){if(x=O.nextSibling&&O.nextSibling.dataset,x)var se=x.dgst;x=se,c=Error(a(419)),c.stack="",c.digest=x,yu({value:c,source:null,stack:null}),i=Gf(r,i,u)}else if(zn||vu(r,i,u,!1),x=(u&r.childLanes)!==0,zn||x){if(x=Xt,x!==null&&(c=u&-u,c=(c&42)!==0?1:Be(c),c=(c&(x.suspendedLanes|u))!==0?0:c,c!==0&&c!==H.retryLane))throw H.retryLane=c,Zs(r,c),Lr(x,r,c),I2;O.data==="$?"||oh(),i=Gf(r,i,u)}else O.data==="$?"?(i.flags|=192,i.child=r.child,i=null):(r=H.treeContext,bn=ha(O.nextSibling),ir=i,Pt=!0,xs=null,Ta=!1,r!==null&&(Vr[$r++]=Va,Vr[$r++]=$a,Vr[$r++]=_s,Va=r.id,$a=r.overflow,_s=i),i=jf(i,c.children),i.flags|=4096);return i}return m?(Di(),m=c.fallback,O=i.mode,H=r.child,se=H.sibling,c=Ga(H,{mode:"hidden",children:c.children}),c.subtreeFlags=H.subtreeFlags&65011712,se!==null?m=Ga(se,m):(m=Ts(m,O,u,null),m.flags|=2),m.return=i,c.return=i,c.sibling=m,i.child=c,c=m,m=i.child,O=r.child.memoizedState,O===null?O=qf(u):(H=O.cachePool,H!==null?(se=In._currentValue,H=H.parent!==se?{parent:se,pool:se}:H):H=Ng(),O={baseLanes:O.baseLanes|u,cachePool:H}),m.memoizedState=O,m.childLanes=Yf(r,x,u),i.memoizedState=Hf,c):(Mi(i),u=r.child,r=u.sibling,u=Ga(u,{mode:"visible",children:c.children}),u.return=i,u.sibling=null,r!==null&&(x=i.deletions,x===null?(i.deletions=[r],i.flags|=16):x.push(r)),i.child=u,i.memoizedState=null,u)}function jf(r,i){return i=Ic({mode:"visible",children:i},r.mode),i.return=r,r.child=i}function Ic(r,i){return r=Or(22,r,null,i),r.lanes=0,r.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},r}function Gf(r,i,u){return ol(i,r.child,null,u),r=jf(i,i.pendingProps.children),r.flags|=2,i.memoizedState=null,r}function j2(r,i,u){r.lanes|=i;var c=r.alternate;c!==null&&(c.lanes|=i),of(r.return,i,u)}function Vf(r,i,u,c,m){var b=r.memoizedState;b===null?r.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:c,tail:u,tailMode:m}:(b.isBackwards=i,b.rendering=null,b.renderingStartTime=0,b.last=c,b.tail=u,b.tailMode=m)}function G2(r,i,u){var c=i.pendingProps,m=c.revealOrder,b=c.tail;if(Gn(r,i,c.children,u),c=Ln.current,(c&2)!==0)c=c&1|2,i.flags|=128;else{if(r!==null&&(r.flags&128)!==0)e:for(r=i.child;r!==null;){if(r.tag===13)r.memoizedState!==null&&j2(r,u,i);else if(r.tag===19)j2(r,u,i);else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===i)break e;for(;r.sibling===null;){if(r.return===null||r.return===i)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}c&=1}switch(D(Ln,c),m){case"forwards":for(u=i.child,m=null;u!==null;)r=u.alternate,r!==null&&Oc(r)===null&&(m=u),u=u.sibling;u=m,u===null?(m=i.child,i.child=null):(m=u.sibling,u.sibling=null),Vf(i,!1,m,u,b);break;case"backwards":for(u=null,m=i.child,i.child=null;m!==null;){if(r=m.alternate,r!==null&&Oc(r)===null){i.child=m;break}r=m.sibling,m.sibling=u,u=m,m=r}Vf(i,!0,u,null,b);break;case"together":Vf(i,!1,null,null,void 0);break;default:i.memoizedState=null}return i.child}function Za(r,i,u){if(r!==null&&(i.dependencies=r.dependencies),Ui|=i.lanes,(u&i.childLanes)===0)if(r!==null){if(vu(r,i,u,!1),(u&i.childLanes)===0)return null}else return null;if(r!==null&&i.child!==r.child)throw Error(a(153));if(i.child!==null){for(r=i.child,u=Ga(r,r.pendingProps),i.child=u,u.return=i;r.sibling!==null;)r=r.sibling,u=u.sibling=Ga(r,r.pendingProps),u.return=i;u.sibling=null}return i.child}function $f(r,i){return(r.lanes&i)!==0?!0:(r=r.dependencies,!!(r!==null&&mc(r)))}function D8(r,i,u){switch(i.tag){case 3:nt(i,i.stateNode.containerInfo),Ci(i,In,r.memoizedState.cache),Eu();break;case 27:case 5:Ye(i);break;case 4:nt(i,i.stateNode.containerInfo);break;case 10:Ci(i,i.type,i.memoizedProps.value);break;case 13:var c=i.memoizedState;if(c!==null)return c.dehydrated!==null?(Mi(i),i.flags|=128,null):(u&i.child.childLanes)!==0?Y2(r,i,u):(Mi(i),r=Za(r,i,u),r!==null?r.sibling:null);Mi(i);break;case 19:var m=(r.flags&128)!==0;if(c=(u&i.childLanes)!==0,c||(vu(r,i,u,!1),c=(u&i.childLanes)!==0),m){if(c)return G2(r,i,u);i.flags|=128}if(m=i.memoizedState,m!==null&&(m.rendering=null,m.tail=null,m.lastEffect=null),D(Ln,Ln.current),c)break;return null;case 22:case 23:return i.lanes=0,U2(r,i,u);case 24:Ci(i,In,r.memoizedState.cache)}return Za(r,i,u)}function V2(r,i,u){if(r!==null)if(r.memoizedProps!==i.pendingProps)zn=!0;else{if(!$f(r,u)&&(i.flags&128)===0)return zn=!1,D8(r,i,u);zn=(r.flags&131072)!==0}else zn=!1,Pt&&(i.flags&1048576)!==0&&_g(i,hc,i.index);switch(i.lanes=0,i.tag){case 16:e:{r=i.pendingProps;var c=i.elementType,m=c._init;if(c=m(c._payload),i.type=c,typeof c=="function")tf(c)?(r=Os(c,r),i.tag=1,i=H2(null,i,c,r,u)):(i.tag=0,i=Ff(null,i,c,r,u));else{if(c!=null){if(m=c.$$typeof,m===X){i.tag=11,i=L2(null,i,c,r,u);break e}else if(m===Z){i.tag=14,i=B2(null,i,c,r,u);break e}}throw i=oe(c)||c,Error(a(306,i,""))}}return i;case 0:return Ff(r,i,i.type,i.pendingProps,u);case 1:return c=i.type,m=Os(c,i.pendingProps),H2(r,i,c,m,u);case 3:e:{if(nt(i,i.stateNode.containerInfo),r===null)throw Error(a(387));c=i.pendingProps;var b=i.memoizedState;m=b.element,gf(r,i),Cu(i,c,null,u);var x=i.memoizedState;if(c=x.cache,Ci(i,In,c),c!==b.cache&&cf(i,[In],u,!0),wu(),c=x.element,b.isDehydrated)if(b={element:c,isDehydrated:!1,cache:x.cache},i.updateQueue.baseState=b,i.memoizedState=b,i.flags&256){i=q2(r,i,c,u);break e}else if(c!==m){m=jr(Error(a(424)),i),yu(m),i=q2(r,i,c,u);break e}else{switch(r=i.stateNode.containerInfo,r.nodeType){case 9:r=r.body;break;default:r=r.nodeName==="HTML"?r.ownerDocument.body:r}for(bn=ha(r.firstChild),ir=i,Pt=!0,xs=null,Ta=!0,u=x2(i,null,c,u),i.child=u;u;)u.flags=u.flags&-3|4096,u=u.sibling}else{if(Eu(),c===m){i=Za(r,i,u);break e}Gn(r,i,c,u)}i=i.child}return i;case 26:return Dc(r,i),r===null?(u=W4(i.type,null,i.pendingProps,null))?i.memoizedState=u:Pt||(u=i.type,r=i.pendingProps,c=Kc(Me.current).createElement(u),c[Le]=i,c[Ke]=r,$n(c,u,r),cn(c),i.stateNode=c):i.memoizedState=W4(i.type,r.memoizedProps,i.pendingProps,r.memoizedState),null;case 27:return Ye(i),r===null&&Pt&&(c=i.stateNode=$4(i.type,i.pendingProps,Me.current),ir=i,Ta=!0,m=bn,qi(i.type)?(Ch=m,bn=ha(c.firstChild)):bn=m),Gn(r,i,i.pendingProps.children,u),Dc(r,i),r===null&&(i.flags|=4194304),i.child;case 5:return r===null&&Pt&&((m=c=bn)&&(c=lT(c,i.type,i.pendingProps,Ta),c!==null?(i.stateNode=c,ir=i,bn=ha(c.firstChild),Ta=!1,m=!0):m=!1),m||As(i)),Ye(i),m=i.type,b=i.pendingProps,x=r!==null?r.memoizedProps:null,c=b.children,Sh(m,b)?c=null:x!==null&&Sh(m,x)&&(i.flags|=32),i.memoizedState!==null&&(m=_f(r,i,A8,null,null,u),Xu._currentValue=m),Dc(r,i),Gn(r,i,c,u),i.child;case 6:return r===null&&Pt&&((r=u=bn)&&(u=uT(u,i.pendingProps,Ta),u!==null?(i.stateNode=u,ir=i,bn=null,r=!0):r=!1),r||As(i)),null;case 13:return Y2(r,i,u);case 4:return nt(i,i.stateNode.containerInfo),c=i.pendingProps,r===null?i.child=ol(i,null,c,u):Gn(r,i,c,u),i.child;case 11:return L2(r,i,i.type,i.pendingProps,u);case 7:return Gn(r,i,i.pendingProps,u),i.child;case 8:return Gn(r,i,i.pendingProps.children,u),i.child;case 12:return Gn(r,i,i.pendingProps.children,u),i.child;case 10:return c=i.pendingProps,Ci(i,i.type,c.value),Gn(r,i,c.children,u),i.child;case 9:return m=i.type._context,c=i.pendingProps.children,Cs(i),m=Wn(m),c=c(m),i.flags|=1,Gn(r,i,c,u),i.child;case 14:return B2(r,i,i.type,i.pendingProps,u);case 15:return P2(r,i,i.type,i.pendingProps,u);case 19:return G2(r,i,u);case 31:return c=i.pendingProps,u=i.mode,c={mode:c.mode,children:c.children},r===null?(u=Ic(c,u),u.ref=i.ref,i.child=u,u.return=i,i=u):(u=Ga(r.child,c),u.ref=i.ref,i.child=u,u.return=i,i=u),i;case 22:return U2(r,i,u);case 24:return Cs(i),c=Wn(In),r===null?(m=hf(),m===null&&(m=Xt,b=df(),m.pooledCache=b,b.refCount++,b!==null&&(m.pooledCacheLanes|=u),m=b),i.memoizedState={parent:c,cache:m},pf(i),Ci(i,In,m)):((r.lanes&u)!==0&&(gf(r,i),Cu(i,null,null,u),wu()),m=r.memoizedState,b=i.memoizedState,m.parent!==c?(m={parent:c,cache:c},i.memoizedState=m,i.lanes===0&&(i.memoizedState=i.updateQueue.baseState=m),Ci(i,In,c)):(c=b.cache,Ci(i,In,c),c!==m.cache&&cf(i,[In],u,!0))),Gn(r,i,i.pendingProps.children,u),i.child;case 29:throw i.pendingProps}throw Error(a(156,i.tag))}function Ja(r){r.flags|=4}function $2(r,i){if(i.type!=="stylesheet"||(i.state.loading&4)!==0)r.flags&=-16777217;else if(r.flags|=16777216,!tb(i)){if(i=Kr.current,i!==null&&((Rt&4194048)===Rt?_a!==null:(Rt&62914560)!==Rt&&(Rt&536870912)===0||i!==_a))throw xu=mf,Og;r.flags|=8192}}function Lc(r,i){i!==null&&(r.flags|=4),r.flags&16384&&(i=r.tag!==22?nu():536870912,r.lanes|=i,hl|=i)}function Iu(r,i){if(!Pt)switch(r.tailMode){case"hidden":i=r.tail;for(var u=null;i!==null;)i.alternate!==null&&(u=i),i=i.sibling;u===null?r.tail=null:u.sibling=null;break;case"collapsed":u=r.tail;for(var c=null;u!==null;)u.alternate!==null&&(c=u),u=u.sibling;c===null?i||r.tail===null?r.tail=null:r.tail.sibling=null:c.sibling=null}}function fn(r){var i=r.alternate!==null&&r.alternate.child===r.child,u=0,c=0;if(i)for(var m=r.child;m!==null;)u|=m.lanes|m.childLanes,c|=m.subtreeFlags&65011712,c|=m.flags&65011712,m.return=r,m=m.sibling;else for(m=r.child;m!==null;)u|=m.lanes|m.childLanes,c|=m.subtreeFlags,c|=m.flags,m.return=r,m=m.sibling;return r.subtreeFlags|=c,r.childLanes=u,i}function I8(r,i,u){var c=i.pendingProps;switch(sf(i),i.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return fn(i),null;case 1:return fn(i),null;case 3:return u=i.stateNode,c=null,r!==null&&(c=r.memoizedState.cache),i.memoizedState.cache!==c&&(i.flags|=2048),Xa(In),st(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(r===null||r.child===null)&&(bu(i)?Ja(i):r===null||r.memoizedState.isDehydrated&&(i.flags&256)===0||(i.flags|=1024,Ag())),fn(i),null;case 26:return u=i.memoizedState,r===null?(Ja(i),u!==null?(fn(i),$2(i,u)):(fn(i),i.flags&=-16777217)):u?u!==r.memoizedState?(Ja(i),fn(i),$2(i,u)):(fn(i),i.flags&=-16777217):(r.memoizedProps!==c&&Ja(i),fn(i),i.flags&=-16777217),null;case 27:wt(i),u=Me.current;var m=i.type;if(r!==null&&i.stateNode!=null)r.memoizedProps!==c&&Ja(i);else{if(!c){if(i.stateNode===null)throw Error(a(166));return fn(i),null}r=De.current,bu(i)?Sg(i):(r=$4(m,c,u),i.stateNode=r,Ja(i))}return fn(i),null;case 5:if(wt(i),u=i.type,r!==null&&i.stateNode!=null)r.memoizedProps!==c&&Ja(i);else{if(!c){if(i.stateNode===null)throw Error(a(166));return fn(i),null}if(r=De.current,bu(i))Sg(i);else{switch(m=Kc(Me.current),r){case 1:r=m.createElementNS("http://www.w3.org/2000/svg",u);break;case 2:r=m.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;default:switch(u){case"svg":r=m.createElementNS("http://www.w3.org/2000/svg",u);break;case"math":r=m.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;case"script":r=m.createElement("div"),r.innerHTML="<script><\/script>",r=r.removeChild(r.firstChild);break;case"select":r=typeof c.is=="string"?m.createElement("select",{is:c.is}):m.createElement("select"),c.multiple?r.multiple=!0:c.size&&(r.size=c.size);break;default:r=typeof c.is=="string"?m.createElement(u,{is:c.is}):m.createElement(u)}}r[Le]=i,r[Ke]=c;e:for(m=i.child;m!==null;){if(m.tag===5||m.tag===6)r.appendChild(m.stateNode);else if(m.tag!==4&&m.tag!==27&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===i)break e;for(;m.sibling===null;){if(m.return===null||m.return===i)break e;m=m.return}m.sibling.return=m.return,m=m.sibling}i.stateNode=r;e:switch($n(r,u,c),u){case"button":case"input":case"select":case"textarea":r=!!c.autoFocus;break e;case"img":r=!0;break e;default:r=!1}r&&Ja(i)}}return fn(i),i.flags&=-16777217,null;case 6:if(r&&i.stateNode!=null)r.memoizedProps!==c&&Ja(i);else{if(typeof c!="string"&&i.stateNode===null)throw Error(a(166));if(r=Me.current,bu(i)){if(r=i.stateNode,u=i.memoizedProps,c=null,m=ir,m!==null)switch(m.tag){case 27:case 5:c=m.memoizedProps}r[Le]=i,r=!!(r.nodeValue===u||c!==null&&c.suppressHydrationWarning===!0||F4(r.nodeValue,u)),r||As(i)}else r=Kc(r).createTextNode(c),r[Le]=i,i.stateNode=r}return fn(i),null;case 13:if(c=i.memoizedState,r===null||r.memoizedState!==null&&r.memoizedState.dehydrated!==null){if(m=bu(i),c!==null&&c.dehydrated!==null){if(r===null){if(!m)throw Error(a(318));if(m=i.memoizedState,m=m!==null?m.dehydrated:null,!m)throw Error(a(317));m[Le]=i}else Eu(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;fn(i),m=!1}else m=Ag(),r!==null&&r.memoizedState!==null&&(r.memoizedState.hydrationErrors=m),m=!0;if(!m)return i.flags&256?(Qa(i),i):(Qa(i),null)}if(Qa(i),(i.flags&128)!==0)return i.lanes=u,i;if(u=c!==null,r=r!==null&&r.memoizedState!==null,u){c=i.child,m=null,c.alternate!==null&&c.alternate.memoizedState!==null&&c.alternate.memoizedState.cachePool!==null&&(m=c.alternate.memoizedState.cachePool.pool);var b=null;c.memoizedState!==null&&c.memoizedState.cachePool!==null&&(b=c.memoizedState.cachePool.pool),b!==m&&(c.flags|=2048)}return u!==r&&u&&(i.child.flags|=8192),Lc(i,i.updateQueue),fn(i),null;case 4:return st(),r===null&&Eh(i.stateNode.containerInfo),fn(i),null;case 10:return Xa(i.type),fn(i),null;case 19:if(de(Ln),m=i.memoizedState,m===null)return fn(i),null;if(c=(i.flags&128)!==0,b=m.rendering,b===null)if(c)Iu(m,!1);else{if(En!==0||r!==null&&(r.flags&128)!==0)for(r=i.child;r!==null;){if(b=Oc(r),b!==null){for(i.flags|=128,Iu(m,!1),r=b.updateQueue,i.updateQueue=r,Lc(i,r),i.subtreeFlags=0,r=u,u=i.child;u!==null;)Tg(u,r),u=u.sibling;return D(Ln,Ln.current&1|2),i.child}r=r.sibling}m.tail!==null&&Ot()>Uc&&(i.flags|=128,c=!0,Iu(m,!1),i.lanes=4194304)}else{if(!c)if(r=Oc(b),r!==null){if(i.flags|=128,c=!0,r=r.updateQueue,i.updateQueue=r,Lc(i,r),Iu(m,!0),m.tail===null&&m.tailMode==="hidden"&&!b.alternate&&!Pt)return fn(i),null}else 2*Ot()-m.renderingStartTime>Uc&&u!==536870912&&(i.flags|=128,c=!0,Iu(m,!1),i.lanes=4194304);m.isBackwards?(b.sibling=i.child,i.child=b):(r=m.last,r!==null?r.sibling=b:i.child=b,m.last=b)}return m.tail!==null?(i=m.tail,m.rendering=i,m.tail=i.sibling,m.renderingStartTime=Ot(),i.sibling=null,r=Ln.current,D(Ln,c?r&1|2:r&1),i):(fn(i),null);case 22:case 23:return Qa(i),vf(),c=i.memoizedState!==null,r!==null?r.memoizedState!==null!==c&&(i.flags|=8192):c&&(i.flags|=8192),c?(u&536870912)!==0&&(i.flags&128)===0&&(fn(i),i.subtreeFlags&6&&(i.flags|=8192)):fn(i),u=i.updateQueue,u!==null&&Lc(i,u.retryQueue),u=null,r!==null&&r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(u=r.memoizedState.cachePool.pool),c=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(c=i.memoizedState.cachePool.pool),c!==u&&(i.flags|=2048),r!==null&&de(ks),null;case 24:return u=null,r!==null&&(u=r.memoizedState.cache),i.memoizedState.cache!==u&&(i.flags|=2048),Xa(In),fn(i),null;case 25:return null;case 30:return null}throw Error(a(156,i.tag))}function L8(r,i){switch(sf(i),i.tag){case 1:return r=i.flags,r&65536?(i.flags=r&-65537|128,i):null;case 3:return Xa(In),st(),r=i.flags,(r&65536)!==0&&(r&128)===0?(i.flags=r&-65537|128,i):null;case 26:case 27:case 5:return wt(i),null;case 13:if(Qa(i),r=i.memoizedState,r!==null&&r.dehydrated!==null){if(i.alternate===null)throw Error(a(340));Eu()}return r=i.flags,r&65536?(i.flags=r&-65537|128,i):null;case 19:return de(Ln),null;case 4:return st(),null;case 10:return Xa(i.type),null;case 22:case 23:return Qa(i),vf(),r!==null&&de(ks),r=i.flags,r&65536?(i.flags=r&-65537|128,i):null;case 24:return Xa(In),null;case 25:return null;default:return null}}function K2(r,i){switch(sf(i),i.tag){case 3:Xa(In),st();break;case 26:case 27:case 5:wt(i);break;case 4:st();break;case 13:Qa(i);break;case 19:de(Ln);break;case 10:Xa(i.type);break;case 22:case 23:Qa(i),vf(),r!==null&&de(ks);break;case 24:Xa(In)}}function Lu(r,i){try{var u=i.updateQueue,c=u!==null?u.lastEffect:null;if(c!==null){var m=c.next;u=m;do{if((u.tag&r)===r){c=void 0;var b=u.create,x=u.inst;c=b(),x.destroy=c}u=u.next}while(u!==m)}}catch(O){Vt(i,i.return,O)}}function Ii(r,i,u){try{var c=i.updateQueue,m=c!==null?c.lastEffect:null;if(m!==null){var b=m.next;c=b;do{if((c.tag&r)===r){var x=c.inst,O=x.destroy;if(O!==void 0){x.destroy=void 0,m=i;var H=u,se=O;try{se()}catch(be){Vt(m,H,be)}}}c=c.next}while(c!==b)}}catch(be){Vt(i,i.return,be)}}function X2(r){var i=r.updateQueue;if(i!==null){var u=r.stateNode;try{Bg(i,u)}catch(c){Vt(r,r.return,c)}}}function W2(r,i,u){u.props=Os(r.type,r.memoizedProps),u.state=r.memoizedState;try{u.componentWillUnmount()}catch(c){Vt(r,i,c)}}function Bu(r,i){try{var u=r.ref;if(u!==null){switch(r.tag){case 26:case 27:case 5:var c=r.stateNode;break;case 30:c=r.stateNode;break;default:c=r.stateNode}typeof u=="function"?r.refCleanup=u(c):u.current=c}}catch(m){Vt(r,i,m)}}function Sa(r,i){var u=r.ref,c=r.refCleanup;if(u!==null)if(typeof c=="function")try{c()}catch(m){Vt(r,i,m)}finally{r.refCleanup=null,r=r.alternate,r!=null&&(r.refCleanup=null)}else if(typeof u=="function")try{u(null)}catch(m){Vt(r,i,m)}else u.current=null}function Q2(r){var i=r.type,u=r.memoizedProps,c=r.stateNode;try{e:switch(i){case"button":case"input":case"select":case"textarea":u.autoFocus&&c.focus();break e;case"img":u.src?c.src=u.src:u.srcSet&&(c.srcset=u.srcSet)}}catch(m){Vt(r,r.return,m)}}function Kf(r,i,u){try{var c=r.stateNode;nT(c,r.type,u,i),c[Ke]=i}catch(m){Vt(r,r.return,m)}}function Z2(r){return r.tag===5||r.tag===3||r.tag===26||r.tag===27&&qi(r.type)||r.tag===4}function Xf(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||Z2(r.return))return null;r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.tag===27&&qi(r.type)||r.flags&2||r.child===null||r.tag===4)continue e;r.child.return=r,r=r.child}if(!(r.flags&2))return r.stateNode}}function Wf(r,i,u){var c=r.tag;if(c===5||c===6)r=r.stateNode,i?(u.nodeType===9?u.body:u.nodeName==="HTML"?u.ownerDocument.body:u).insertBefore(r,i):(i=u.nodeType===9?u.body:u.nodeName==="HTML"?u.ownerDocument.body:u,i.appendChild(r),u=u._reactRootContainer,u!=null||i.onclick!==null||(i.onclick=$c));else if(c!==4&&(c===27&&qi(r.type)&&(u=r.stateNode,i=null),r=r.child,r!==null))for(Wf(r,i,u),r=r.sibling;r!==null;)Wf(r,i,u),r=r.sibling}function Bc(r,i,u){var c=r.tag;if(c===5||c===6)r=r.stateNode,i?u.insertBefore(r,i):u.appendChild(r);else if(c!==4&&(c===27&&qi(r.type)&&(u=r.stateNode),r=r.child,r!==null))for(Bc(r,i,u),r=r.sibling;r!==null;)Bc(r,i,u),r=r.sibling}function J2(r){var i=r.stateNode,u=r.memoizedProps;try{for(var c=r.type,m=i.attributes;m.length;)i.removeAttributeNode(m[0]);$n(i,c,u),i[Le]=r,i[Ke]=u}catch(b){Vt(r,r.return,b)}}var ei=!1,_n=!1,Qf=!1,e4=typeof WeakSet=="function"?WeakSet:Set,Fn=null;function B8(r,i){if(r=r.containerInfo,Th=e0,r=dg(r),Kd(r)){if("selectionStart"in r)var u={start:r.selectionStart,end:r.selectionEnd};else e:{u=(u=r.ownerDocument)&&u.defaultView||window;var c=u.getSelection&&u.getSelection();if(c&&c.rangeCount!==0){u=c.anchorNode;var m=c.anchorOffset,b=c.focusNode;c=c.focusOffset;try{u.nodeType,b.nodeType}catch{u=null;break e}var x=0,O=-1,H=-1,se=0,be=0,_e=r,ue=null;t:for(;;){for(var ce;_e!==u||m!==0&&_e.nodeType!==3||(O=x+m),_e!==b||c!==0&&_e.nodeType!==3||(H=x+c),_e.nodeType===3&&(x+=_e.nodeValue.length),(ce=_e.firstChild)!==null;)ue=_e,_e=ce;for(;;){if(_e===r)break t;if(ue===u&&++se===m&&(O=x),ue===b&&++be===c&&(H=x),(ce=_e.nextSibling)!==null)break;_e=ue,ue=_e.parentNode}_e=ce}u=O===-1||H===-1?null:{start:O,end:H}}else u=null}u=u||{start:0,end:0}}else u=null;for(_h={focusedElem:r,selectionRange:u},e0=!1,Fn=i;Fn!==null;)if(i=Fn,r=i.child,(i.subtreeFlags&1024)!==0&&r!==null)r.return=i,Fn=r;else for(;Fn!==null;){switch(i=Fn,b=i.alternate,r=i.flags,i.tag){case 0:break;case 11:case 15:break;case 1:if((r&1024)!==0&&b!==null){r=void 0,u=i,m=b.memoizedProps,b=b.memoizedState,c=u.stateNode;try{var dt=Os(u.type,m,u.elementType===u.type);r=c.getSnapshotBeforeUpdate(dt,b),c.__reactInternalSnapshotBeforeUpdate=r}catch(lt){Vt(u,u.return,lt)}}break;case 3:if((r&1024)!==0){if(r=i.stateNode.containerInfo,u=r.nodeType,u===9)Ah(r);else if(u===1)switch(r.nodeName){case"HEAD":case"HTML":case"BODY":Ah(r);break;default:r.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((r&1024)!==0)throw Error(a(163))}if(r=i.sibling,r!==null){r.return=i.return,Fn=r;break}Fn=i.return}}function t4(r,i,u){var c=u.flags;switch(u.tag){case 0:case 11:case 15:Li(r,u),c&4&&Lu(5,u);break;case 1:if(Li(r,u),c&4)if(r=u.stateNode,i===null)try{r.componentDidMount()}catch(x){Vt(u,u.return,x)}else{var m=Os(u.type,i.memoizedProps);i=i.memoizedState;try{r.componentDidUpdate(m,i,r.__reactInternalSnapshotBeforeUpdate)}catch(x){Vt(u,u.return,x)}}c&64&&X2(u),c&512&&Bu(u,u.return);break;case 3:if(Li(r,u),c&64&&(r=u.updateQueue,r!==null)){if(i=null,u.child!==null)switch(u.child.tag){case 27:case 5:i=u.child.stateNode;break;case 1:i=u.child.stateNode}try{Bg(r,i)}catch(x){Vt(u,u.return,x)}}break;case 27:i===null&&c&4&&J2(u);case 26:case 5:Li(r,u),i===null&&c&4&&Q2(u),c&512&&Bu(u,u.return);break;case 12:Li(r,u);break;case 13:Li(r,u),c&4&&a4(r,u),c&64&&(r=u.memoizedState,r!==null&&(r=r.dehydrated,r!==null&&(u=G8.bind(null,u),oT(r,u))));break;case 22:if(c=u.memoizedState!==null||ei,!c){i=i!==null&&i.memoizedState!==null||_n,m=ei;var b=_n;ei=c,(_n=i)&&!b?Bi(r,u,(u.subtreeFlags&8772)!==0):Li(r,u),ei=m,_n=b}break;case 30:break;default:Li(r,u)}}function n4(r){var i=r.alternate;i!==null&&(r.alternate=null,n4(i)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(i=r.stateNode,i!==null&&fs(i)),r.stateNode=null,r.return=null,r.dependencies=null,r.memoizedProps=null,r.memoizedState=null,r.pendingProps=null,r.stateNode=null,r.updateQueue=null}var rn=null,Er=!1;function ti(r,i,u){for(u=u.child;u!==null;)r4(r,i,u),u=u.sibling}function r4(r,i,u){if(xe&&typeof xe.onCommitFiberUnmount=="function")try{xe.onCommitFiberUnmount(fe,u)}catch{}switch(u.tag){case 26:_n||Sa(u,i),ti(r,i,u),u.memoizedState?u.memoizedState.count--:u.stateNode&&(u=u.stateNode,u.parentNode.removeChild(u));break;case 27:_n||Sa(u,i);var c=rn,m=Er;qi(u.type)&&(rn=u.stateNode,Er=!1),ti(r,i,u),Gu(u.stateNode),rn=c,Er=m;break;case 5:_n||Sa(u,i);case 6:if(c=rn,m=Er,rn=null,ti(r,i,u),rn=c,Er=m,rn!==null)if(Er)try{(rn.nodeType===9?rn.body:rn.nodeName==="HTML"?rn.ownerDocument.body:rn).removeChild(u.stateNode)}catch(b){Vt(u,i,b)}else try{rn.removeChild(u.stateNode)}catch(b){Vt(u,i,b)}break;case 18:rn!==null&&(Er?(r=rn,G4(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,u.stateNode),Ju(r)):G4(rn,u.stateNode));break;case 4:c=rn,m=Er,rn=u.stateNode.containerInfo,Er=!0,ti(r,i,u),rn=c,Er=m;break;case 0:case 11:case 14:case 15:_n||Ii(2,u,i),_n||Ii(4,u,i),ti(r,i,u);break;case 1:_n||(Sa(u,i),c=u.stateNode,typeof c.componentWillUnmount=="function"&&W2(u,i,c)),ti(r,i,u);break;case 21:ti(r,i,u);break;case 22:_n=(c=_n)||u.memoizedState!==null,ti(r,i,u),_n=c;break;default:ti(r,i,u)}}function a4(r,i){if(i.memoizedState===null&&(r=i.alternate,r!==null&&(r=r.memoizedState,r!==null&&(r=r.dehydrated,r!==null))))try{Ju(r)}catch(u){Vt(i,i.return,u)}}function P8(r){switch(r.tag){case 13:case 19:var i=r.stateNode;return i===null&&(i=r.stateNode=new e4),i;case 22:return r=r.stateNode,i=r._retryCache,i===null&&(i=r._retryCache=new e4),i;default:throw Error(a(435,r.tag))}}function Zf(r,i){var u=P8(r);i.forEach(function(c){var m=V8.bind(null,r,c);u.has(c)||(u.add(c),c.then(m,m))})}function Rr(r,i){var u=i.deletions;if(u!==null)for(var c=0;c<u.length;c++){var m=u[c],b=r,x=i,O=x;e:for(;O!==null;){switch(O.tag){case 27:if(qi(O.type)){rn=O.stateNode,Er=!1;break e}break;case 5:rn=O.stateNode,Er=!1;break e;case 3:case 4:rn=O.stateNode.containerInfo,Er=!0;break e}O=O.return}if(rn===null)throw Error(a(160));r4(b,x,m),rn=null,Er=!1,b=m.alternate,b!==null&&(b.return=null),m.return=null}if(i.subtreeFlags&13878)for(i=i.child;i!==null;)i4(i,r),i=i.sibling}var fa=null;function i4(r,i){var u=r.alternate,c=r.flags;switch(r.tag){case 0:case 11:case 14:case 15:Rr(i,r),Mr(r),c&4&&(Ii(3,r,r.return),Lu(3,r),Ii(5,r,r.return));break;case 1:Rr(i,r),Mr(r),c&512&&(_n||u===null||Sa(u,u.return)),c&64&&ei&&(r=r.updateQueue,r!==null&&(c=r.callbacks,c!==null&&(u=r.shared.hiddenCallbacks,r.shared.hiddenCallbacks=u===null?c:u.concat(c))));break;case 26:var m=fa;if(Rr(i,r),Mr(r),c&512&&(_n||u===null||Sa(u,u.return)),c&4){var b=u!==null?u.memoizedState:null;if(c=r.memoizedState,u===null)if(c===null)if(r.stateNode===null){e:{c=r.type,u=r.memoizedProps,m=m.ownerDocument||m;t:switch(c){case"title":b=m.getElementsByTagName("title")[0],(!b||b[ds]||b[Le]||b.namespaceURI==="http://www.w3.org/2000/svg"||b.hasAttribute("itemprop"))&&(b=m.createElement(c),m.head.insertBefore(b,m.querySelector("head > title"))),$n(b,c,u),b[Le]=r,cn(b),c=b;break e;case"link":var x=J4("link","href",m).get(c+(u.href||""));if(x){for(var O=0;O<x.length;O++)if(b=x[O],b.getAttribute("href")===(u.href==null||u.href===""?null:u.href)&&b.getAttribute("rel")===(u.rel==null?null:u.rel)&&b.getAttribute("title")===(u.title==null?null:u.title)&&b.getAttribute("crossorigin")===(u.crossOrigin==null?null:u.crossOrigin)){x.splice(O,1);break t}}b=m.createElement(c),$n(b,c,u),m.head.appendChild(b);break;case"meta":if(x=J4("meta","content",m).get(c+(u.content||""))){for(O=0;O<x.length;O++)if(b=x[O],b.getAttribute("content")===(u.content==null?null:""+u.content)&&b.getAttribute("name")===(u.name==null?null:u.name)&&b.getAttribute("property")===(u.property==null?null:u.property)&&b.getAttribute("http-equiv")===(u.httpEquiv==null?null:u.httpEquiv)&&b.getAttribute("charset")===(u.charSet==null?null:u.charSet)){x.splice(O,1);break t}}b=m.createElement(c),$n(b,c,u),m.head.appendChild(b);break;default:throw Error(a(468,c))}b[Le]=r,cn(b),c=b}r.stateNode=c}else eb(m,r.type,r.stateNode);else r.stateNode=Z4(m,c,r.memoizedProps);else b!==c?(b===null?u.stateNode!==null&&(u=u.stateNode,u.parentNode.removeChild(u)):b.count--,c===null?eb(m,r.type,r.stateNode):Z4(m,c,r.memoizedProps)):c===null&&r.stateNode!==null&&Kf(r,r.memoizedProps,u.memoizedProps)}break;case 27:Rr(i,r),Mr(r),c&512&&(_n||u===null||Sa(u,u.return)),u!==null&&c&4&&Kf(r,r.memoizedProps,u.memoizedProps);break;case 5:if(Rr(i,r),Mr(r),c&512&&(_n||u===null||Sa(u,u.return)),r.flags&32){m=r.stateNode;try{va(m,"")}catch(ce){Vt(r,r.return,ce)}}c&4&&r.stateNode!=null&&(m=r.memoizedProps,Kf(r,m,u!==null?u.memoizedProps:m)),c&1024&&(Qf=!0);break;case 6:if(Rr(i,r),Mr(r),c&4){if(r.stateNode===null)throw Error(a(162));c=r.memoizedProps,u=r.stateNode;try{u.nodeValue=c}catch(ce){Vt(r,r.return,ce)}}break;case 3:if(Qc=null,m=fa,fa=Xc(i.containerInfo),Rr(i,r),fa=m,Mr(r),c&4&&u!==null&&u.memoizedState.isDehydrated)try{Ju(i.containerInfo)}catch(ce){Vt(r,r.return,ce)}Qf&&(Qf=!1,s4(r));break;case 4:c=fa,fa=Xc(r.stateNode.containerInfo),Rr(i,r),Mr(r),fa=c;break;case 12:Rr(i,r),Mr(r);break;case 13:Rr(i,r),Mr(r),r.child.flags&8192&&r.memoizedState!==null!=(u!==null&&u.memoizedState!==null)&&(ah=Ot()),c&4&&(c=r.updateQueue,c!==null&&(r.updateQueue=null,Zf(r,c)));break;case 22:m=r.memoizedState!==null;var H=u!==null&&u.memoizedState!==null,se=ei,be=_n;if(ei=se||m,_n=be||H,Rr(i,r),_n=be,ei=se,Mr(r),c&8192)e:for(i=r.stateNode,i._visibility=m?i._visibility&-2:i._visibility|1,m&&(u===null||H||ei||_n||Rs(r)),u=null,i=r;;){if(i.tag===5||i.tag===26){if(u===null){H=u=i;try{if(b=H.stateNode,m)x=b.style,typeof x.setProperty=="function"?x.setProperty("display","none","important"):x.display="none";else{O=H.stateNode;var _e=H.memoizedProps.style,ue=_e!=null&&_e.hasOwnProperty("display")?_e.display:null;O.style.display=ue==null||typeof ue=="boolean"?"":(""+ue).trim()}}catch(ce){Vt(H,H.return,ce)}}}else if(i.tag===6){if(u===null){H=i;try{H.stateNode.nodeValue=m?"":H.memoizedProps}catch(ce){Vt(H,H.return,ce)}}}else if((i.tag!==22&&i.tag!==23||i.memoizedState===null||i===r)&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===r)break e;for(;i.sibling===null;){if(i.return===null||i.return===r)break e;u===i&&(u=null),i=i.return}u===i&&(u=null),i.sibling.return=i.return,i=i.sibling}c&4&&(c=r.updateQueue,c!==null&&(u=c.retryQueue,u!==null&&(c.retryQueue=null,Zf(r,u))));break;case 19:Rr(i,r),Mr(r),c&4&&(c=r.updateQueue,c!==null&&(r.updateQueue=null,Zf(r,c)));break;case 30:break;case 21:break;default:Rr(i,r),Mr(r)}}function Mr(r){var i=r.flags;if(i&2){try{for(var u,c=r.return;c!==null;){if(Z2(c)){u=c;break}c=c.return}if(u==null)throw Error(a(160));switch(u.tag){case 27:var m=u.stateNode,b=Xf(r);Bc(r,b,m);break;case 5:var x=u.stateNode;u.flags&32&&(va(x,""),u.flags&=-33);var O=Xf(r);Bc(r,O,x);break;case 3:case 4:var H=u.stateNode.containerInfo,se=Xf(r);Wf(r,se,H);break;default:throw Error(a(161))}}catch(be){Vt(r,r.return,be)}r.flags&=-3}i&4096&&(r.flags&=-4097)}function s4(r){if(r.subtreeFlags&1024)for(r=r.child;r!==null;){var i=r;s4(i),i.tag===5&&i.flags&1024&&i.stateNode.reset(),r=r.sibling}}function Li(r,i){if(i.subtreeFlags&8772)for(i=i.child;i!==null;)t4(r,i.alternate,i),i=i.sibling}function Rs(r){for(r=r.child;r!==null;){var i=r;switch(i.tag){case 0:case 11:case 14:case 15:Ii(4,i,i.return),Rs(i);break;case 1:Sa(i,i.return);var u=i.stateNode;typeof u.componentWillUnmount=="function"&&W2(i,i.return,u),Rs(i);break;case 27:Gu(i.stateNode);case 26:case 5:Sa(i,i.return),Rs(i);break;case 22:i.memoizedState===null&&Rs(i);break;case 30:Rs(i);break;default:Rs(i)}r=r.sibling}}function Bi(r,i,u){for(u=u&&(i.subtreeFlags&8772)!==0,i=i.child;i!==null;){var c=i.alternate,m=r,b=i,x=b.flags;switch(b.tag){case 0:case 11:case 15:Bi(m,b,u),Lu(4,b);break;case 1:if(Bi(m,b,u),c=b,m=c.stateNode,typeof m.componentDidMount=="function")try{m.componentDidMount()}catch(se){Vt(c,c.return,se)}if(c=b,m=c.updateQueue,m!==null){var O=c.stateNode;try{var H=m.shared.hiddenCallbacks;if(H!==null)for(m.shared.hiddenCallbacks=null,m=0;m<H.length;m++)Lg(H[m],O)}catch(se){Vt(c,c.return,se)}}u&&x&64&&X2(b),Bu(b,b.return);break;case 27:J2(b);case 26:case 5:Bi(m,b,u),u&&c===null&&x&4&&Q2(b),Bu(b,b.return);break;case 12:Bi(m,b,u);break;case 13:Bi(m,b,u),u&&x&4&&a4(m,b);break;case 22:b.memoizedState===null&&Bi(m,b,u),Bu(b,b.return);break;case 30:break;default:Bi(m,b,u)}i=i.sibling}}function Jf(r,i){var u=null;r!==null&&r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(u=r.memoizedState.cachePool.pool),r=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(r=i.memoizedState.cachePool.pool),r!==u&&(r!=null&&r.refCount++,u!=null&&Tu(u))}function eh(r,i){r=null,i.alternate!==null&&(r=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==r&&(i.refCount++,r!=null&&Tu(r))}function xa(r,i,u,c){if(i.subtreeFlags&10256)for(i=i.child;i!==null;)l4(r,i,u,c),i=i.sibling}function l4(r,i,u,c){var m=i.flags;switch(i.tag){case 0:case 11:case 15:xa(r,i,u,c),m&2048&&Lu(9,i);break;case 1:xa(r,i,u,c);break;case 3:xa(r,i,u,c),m&2048&&(r=null,i.alternate!==null&&(r=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==r&&(i.refCount++,r!=null&&Tu(r)));break;case 12:if(m&2048){xa(r,i,u,c),r=i.stateNode;try{var b=i.memoizedProps,x=b.id,O=b.onPostCommit;typeof O=="function"&&O(x,i.alternate===null?"mount":"update",r.passiveEffectDuration,-0)}catch(H){Vt(i,i.return,H)}}else xa(r,i,u,c);break;case 13:xa(r,i,u,c);break;case 23:break;case 22:b=i.stateNode,x=i.alternate,i.memoizedState!==null?b._visibility&2?xa(r,i,u,c):Pu(r,i):b._visibility&2?xa(r,i,u,c):(b._visibility|=2,cl(r,i,u,c,(i.subtreeFlags&10256)!==0)),m&2048&&Jf(x,i);break;case 24:xa(r,i,u,c),m&2048&&eh(i.alternate,i);break;default:xa(r,i,u,c)}}function cl(r,i,u,c,m){for(m=m&&(i.subtreeFlags&10256)!==0,i=i.child;i!==null;){var b=r,x=i,O=u,H=c,se=x.flags;switch(x.tag){case 0:case 11:case 15:cl(b,x,O,H,m),Lu(8,x);break;case 23:break;case 22:var be=x.stateNode;x.memoizedState!==null?be._visibility&2?cl(b,x,O,H,m):Pu(b,x):(be._visibility|=2,cl(b,x,O,H,m)),m&&se&2048&&Jf(x.alternate,x);break;case 24:cl(b,x,O,H,m),m&&se&2048&&eh(x.alternate,x);break;default:cl(b,x,O,H,m)}i=i.sibling}}function Pu(r,i){if(i.subtreeFlags&10256)for(i=i.child;i!==null;){var u=r,c=i,m=c.flags;switch(c.tag){case 22:Pu(u,c),m&2048&&Jf(c.alternate,c);break;case 24:Pu(u,c),m&2048&&eh(c.alternate,c);break;default:Pu(u,c)}i=i.sibling}}var Uu=8192;function dl(r){if(r.subtreeFlags&Uu)for(r=r.child;r!==null;)u4(r),r=r.sibling}function u4(r){switch(r.tag){case 26:dl(r),r.flags&Uu&&r.memoizedState!==null&&_T(fa,r.memoizedState,r.memoizedProps);break;case 5:dl(r);break;case 3:case 4:var i=fa;fa=Xc(r.stateNode.containerInfo),dl(r),fa=i;break;case 22:r.memoizedState===null&&(i=r.alternate,i!==null&&i.memoizedState!==null?(i=Uu,Uu=16777216,dl(r),Uu=i):dl(r));break;default:dl(r)}}function o4(r){var i=r.alternate;if(i!==null&&(r=i.child,r!==null)){i.child=null;do i=r.sibling,r.sibling=null,r=i;while(r!==null)}}function zu(r){var i=r.deletions;if((r.flags&16)!==0){if(i!==null)for(var u=0;u<i.length;u++){var c=i[u];Fn=c,d4(c,r)}o4(r)}if(r.subtreeFlags&10256)for(r=r.child;r!==null;)c4(r),r=r.sibling}function c4(r){switch(r.tag){case 0:case 11:case 15:zu(r),r.flags&2048&&Ii(9,r,r.return);break;case 3:zu(r);break;case 12:zu(r);break;case 22:var i=r.stateNode;r.memoizedState!==null&&i._visibility&2&&(r.return===null||r.return.tag!==13)?(i._visibility&=-3,Pc(r)):zu(r);break;default:zu(r)}}function Pc(r){var i=r.deletions;if((r.flags&16)!==0){if(i!==null)for(var u=0;u<i.length;u++){var c=i[u];Fn=c,d4(c,r)}o4(r)}for(r=r.child;r!==null;){switch(i=r,i.tag){case 0:case 11:case 15:Ii(8,i,i.return),Pc(i);break;case 22:u=i.stateNode,u._visibility&2&&(u._visibility&=-3,Pc(i));break;default:Pc(i)}r=r.sibling}}function d4(r,i){for(;Fn!==null;){var u=Fn;switch(u.tag){case 0:case 11:case 15:Ii(8,u,i);break;case 23:case 22:if(u.memoizedState!==null&&u.memoizedState.cachePool!==null){var c=u.memoizedState.cachePool.pool;c!=null&&c.refCount++}break;case 24:Tu(u.memoizedState.cache)}if(c=u.child,c!==null)c.return=u,Fn=c;else e:for(u=r;Fn!==null;){c=Fn;var m=c.sibling,b=c.return;if(n4(c),c===u){Fn=null;break e}if(m!==null){m.return=b,Fn=m;break e}Fn=b}}}var U8={getCacheForType:function(r){var i=Wn(In),u=i.data.get(r);return u===void 0&&(u=r(),i.data.set(r,u)),u}},z8=typeof WeakMap=="function"?WeakMap:Map,Ft=0,Xt=null,Ct=null,Rt=0,Ht=0,Dr=null,Pi=!1,fl=!1,th=!1,ni=0,En=0,Ui=0,Ms=0,nh=0,Xr=0,hl=0,Fu=null,yr=null,rh=!1,ah=0,Uc=1/0,zc=null,zi=null,Vn=0,Fi=null,ml=null,pl=0,ih=0,sh=null,f4=null,Hu=0,lh=null;function Ir(){if((Ft&2)!==0&&Rt!==0)return Rt&-Rt;if(W.T!==null){var r=nl;return r!==0?r:mh()}return tn()}function h4(){Xr===0&&(Xr=(Rt&536870912)===0||Pt?tu():536870912);var r=Kr.current;return r!==null&&(r.flags|=32),Xr}function Lr(r,i,u){(r===Xt&&(Ht===2||Ht===9)||r.cancelPendingCommit!==null)&&(gl(r,0),Hi(r,Rt,Xr,!1)),vi(r,u),((Ft&2)===0||r!==Xt)&&(r===Xt&&((Ft&2)===0&&(Ms|=u),En===4&&Hi(r,Rt,Xr,!1)),Aa(r))}function m4(r,i,u){if((Ft&6)!==0)throw Error(a(327));var c=!u&&(i&124)===0&&(i&r.expiredLanes)===0||mr(r,i),m=c?q8(r,i):ch(r,i,!0),b=c;do{if(m===0){fl&&!c&&Hi(r,i,0,!1);break}else{if(u=r.current.alternate,b&&!F8(u)){m=ch(r,i,!1),b=!1;continue}if(m===2){if(b=i,r.errorRecoveryDisabledLanes&b)var x=0;else x=r.pendingLanes&-536870913,x=x!==0?x:x&536870912?536870912:0;if(x!==0){i=x;e:{var O=r;m=Fu;var H=O.current.memoizedState.isDehydrated;if(H&&(gl(O,x).flags|=256),x=ch(O,x,!1),x!==2){if(th&&!H){O.errorRecoveryDisabledLanes|=b,Ms|=b,m=4;break e}b=yr,yr=m,b!==null&&(yr===null?yr=b:yr.push.apply(yr,b))}m=x}if(b=!1,m!==2)continue}}if(m===1){gl(r,0),Hi(r,i,0,!0);break}e:{switch(c=r,b=m,b){case 0:case 1:throw Error(a(345));case 4:if((i&4194048)!==i)break;case 6:Hi(c,i,Xr,!Pi);break e;case 2:yr=null;break;case 3:case 5:break;default:throw Error(a(329))}if((i&62914560)===i&&(m=ah+300-Ot(),10<m)){if(Hi(c,i,Xr,!Pi),An(c,0,!0)!==0)break e;c.timeoutHandle=Y4(p4.bind(null,c,u,yr,zc,rh,i,Xr,Ms,hl,Pi,b,2,-0,0),m);break e}p4(c,u,yr,zc,rh,i,Xr,Ms,hl,Pi,b,0,-0,0)}}break}while(!0);Aa(r)}function p4(r,i,u,c,m,b,x,O,H,se,be,_e,ue,ce){if(r.timeoutHandle=-1,_e=i.subtreeFlags,(_e&8192||(_e&16785408)===16785408)&&(Ku={stylesheets:null,count:0,unsuspend:TT},u4(i),_e=ST(),_e!==null)){r.cancelPendingCommit=_e(_4.bind(null,r,i,b,u,c,m,x,O,H,be,1,ue,ce)),Hi(r,b,x,!se);return}_4(r,i,b,u,c,m,x,O,H)}function F8(r){for(var i=r;;){var u=i.tag;if((u===0||u===11||u===15)&&i.flags&16384&&(u=i.updateQueue,u!==null&&(u=u.stores,u!==null)))for(var c=0;c<u.length;c++){var m=u[c],b=m.getSnapshot;m=m.value;try{if(!Nr(b(),m))return!1}catch{return!1}}if(u=i.child,i.subtreeFlags&16384&&u!==null)u.return=i,i=u;else{if(i===r)break;for(;i.sibling===null;){if(i.return===null||i.return===r)return!0;i=i.return}i.sibling.return=i.return,i=i.sibling}}return!0}function Hi(r,i,u,c){i&=~nh,i&=~Ms,r.suspendedLanes|=i,r.pingedLanes&=~i,c&&(r.warmLanes|=i),c=r.expirationTimes;for(var m=i;0<m;){var b=31-et(m),x=1<<b;c[b]=-1,m&=~x}u!==0&&j(r,u,i)}function Fc(){return(Ft&6)===0?(qu(0),!1):!0}function uh(){if(Ct!==null){if(Ht===0)var r=Ct.return;else r=Ct,Ka=ws=null,Af(r),ul=null,Mu=0,r=Ct;for(;r!==null;)K2(r.alternate,r),r=r.return;Ct=null}}function gl(r,i){var u=r.timeoutHandle;u!==-1&&(r.timeoutHandle=-1,aT(u)),u=r.cancelPendingCommit,u!==null&&(r.cancelPendingCommit=null,u()),uh(),Xt=r,Ct=u=Ga(r.current,null),Rt=i,Ht=0,Dr=null,Pi=!1,fl=mr(r,i),th=!1,hl=Xr=nh=Ms=Ui=En=0,yr=Fu=null,rh=!1,(i&8)!==0&&(i|=i&32);var c=r.entangledLanes;if(c!==0)for(r=r.entanglements,c&=i;0<c;){var m=31-et(c),b=1<<m;i|=r[m],c&=~b}return ni=i,uc(),u}function g4(r,i){_t=null,W.H=Cc,i===Su||i===bc?(i=Dg(),Ht=3):i===Og?(i=Dg(),Ht=4):Ht=i===I2?8:i!==null&&typeof i=="object"&&typeof i.then=="function"?6:1,Dr=i,Ct===null&&(En=1,Mc(r,jr(i,r.current)))}function b4(){var r=W.H;return W.H=Cc,r===null?Cc:r}function E4(){var r=W.A;return W.A=U8,r}function oh(){En=4,Pi||(Rt&4194048)!==Rt&&Kr.current!==null||(fl=!0),(Ui&134217727)===0&&(Ms&134217727)===0||Xt===null||Hi(Xt,Rt,Xr,!1)}function ch(r,i,u){var c=Ft;Ft|=2;var m=b4(),b=E4();(Xt!==r||Rt!==i)&&(zc=null,gl(r,i)),i=!1;var x=En;e:do try{if(Ht!==0&&Ct!==null){var O=Ct,H=Dr;switch(Ht){case 8:uh(),x=6;break e;case 3:case 2:case 9:case 6:Kr.current===null&&(i=!0);var se=Ht;if(Ht=0,Dr=null,bl(r,O,H,se),u&&fl){x=0;break e}break;default:se=Ht,Ht=0,Dr=null,bl(r,O,H,se)}}H8(),x=En;break}catch(be){g4(r,be)}while(!0);return i&&r.shellSuspendCounter++,Ka=ws=null,Ft=c,W.H=m,W.A=b,Ct===null&&(Xt=null,Rt=0,uc()),x}function H8(){for(;Ct!==null;)y4(Ct)}function q8(r,i){var u=Ft;Ft|=2;var c=b4(),m=E4();Xt!==r||Rt!==i?(zc=null,Uc=Ot()+500,gl(r,i)):fl=mr(r,i);e:do try{if(Ht!==0&&Ct!==null){i=Ct;var b=Dr;t:switch(Ht){case 1:Ht=0,Dr=null,bl(r,i,b,1);break;case 2:case 9:if(Rg(b)){Ht=0,Dr=null,v4(i);break}i=function(){Ht!==2&&Ht!==9||Xt!==r||(Ht=7),Aa(r)},b.then(i,i);break e;case 3:Ht=7;break e;case 4:Ht=5;break e;case 7:Rg(b)?(Ht=0,Dr=null,v4(i)):(Ht=0,Dr=null,bl(r,i,b,7));break;case 5:var x=null;switch(Ct.tag){case 26:x=Ct.memoizedState;case 5:case 27:var O=Ct;if(!x||tb(x)){Ht=0,Dr=null;var H=O.sibling;if(H!==null)Ct=H;else{var se=O.return;se!==null?(Ct=se,Hc(se)):Ct=null}break t}}Ht=0,Dr=null,bl(r,i,b,5);break;case 6:Ht=0,Dr=null,bl(r,i,b,6);break;case 8:uh(),En=6;break e;default:throw Error(a(462))}}Y8();break}catch(be){g4(r,be)}while(!0);return Ka=ws=null,W.H=c,W.A=m,Ft=u,Ct!==null?0:(Xt=null,Rt=0,uc(),En)}function Y8(){for(;Ct!==null&&!ot();)y4(Ct)}function y4(r){var i=V2(r.alternate,r,ni);r.memoizedProps=r.pendingProps,i===null?Hc(r):Ct=i}function v4(r){var i=r,u=i.alternate;switch(i.tag){case 15:case 0:i=F2(u,i,i.pendingProps,i.type,void 0,Rt);break;case 11:i=F2(u,i,i.pendingProps,i.type.render,i.ref,Rt);break;case 5:Af(i);default:K2(u,i),i=Ct=Tg(i,ni),i=V2(u,i,ni)}r.memoizedProps=r.pendingProps,i===null?Hc(r):Ct=i}function bl(r,i,u,c){Ka=ws=null,Af(i),ul=null,Mu=0;var m=i.return;try{if(M8(r,m,i,u,Rt)){En=1,Mc(r,jr(u,r.current)),Ct=null;return}}catch(b){if(m!==null)throw Ct=m,b;En=1,Mc(r,jr(u,r.current)),Ct=null;return}i.flags&32768?(Pt||c===1?r=!0:fl||(Rt&536870912)!==0?r=!1:(Pi=r=!0,(c===2||c===9||c===3||c===6)&&(c=Kr.current,c!==null&&c.tag===13&&(c.flags|=16384))),T4(i,r)):Hc(i)}function Hc(r){var i=r;do{if((i.flags&32768)!==0){T4(i,Pi);return}r=i.return;var u=I8(i.alternate,i,ni);if(u!==null){Ct=u;return}if(i=i.sibling,i!==null){Ct=i;return}Ct=i=r}while(i!==null);En===0&&(En=5)}function T4(r,i){do{var u=L8(r.alternate,r);if(u!==null){u.flags&=32767,Ct=u;return}if(u=r.return,u!==null&&(u.flags|=32768,u.subtreeFlags=0,u.deletions=null),!i&&(r=r.sibling,r!==null)){Ct=r;return}Ct=r=u}while(r!==null);En=6,Ct=null}function _4(r,i,u,c,m,b,x,O,H){r.cancelPendingCommit=null;do qc();while(Vn!==0);if((Ft&6)!==0)throw Error(a(327));if(i!==null){if(i===r.current)throw Error(a(177));if(b=i.lanes|i.childLanes,b|=Jd,Ti(r,u,b,x,O,H),r===Xt&&(Ct=Xt=null,Rt=0),ml=i,Fi=r,pl=u,ih=b,sh=m,f4=c,(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?(r.callbackNode=null,r.callbackPriority=0,$8(Un,function(){return C4(),null})):(r.callbackNode=null,r.callbackPriority=0),c=(i.flags&13878)!==0,(i.subtreeFlags&13878)!==0||c){c=W.T,W.T=null,m=he.p,he.p=2,x=Ft,Ft|=4;try{B8(r,i,u)}finally{Ft=x,he.p=m,W.T=c}}Vn=1,S4(),x4(),A4()}}function S4(){if(Vn===1){Vn=0;var r=Fi,i=ml,u=(i.flags&13878)!==0;if((i.subtreeFlags&13878)!==0||u){u=W.T,W.T=null;var c=he.p;he.p=2;var m=Ft;Ft|=4;try{i4(i,r);var b=_h,x=dg(r.containerInfo),O=b.focusedElem,H=b.selectionRange;if(x!==O&&O&&O.ownerDocument&&cg(O.ownerDocument.documentElement,O)){if(H!==null&&Kd(O)){var se=H.start,be=H.end;if(be===void 0&&(be=se),"selectionStart"in O)O.selectionStart=se,O.selectionEnd=Math.min(be,O.value.length);else{var _e=O.ownerDocument||document,ue=_e&&_e.defaultView||window;if(ue.getSelection){var ce=ue.getSelection(),dt=O.textContent.length,lt=Math.min(H.start,dt),jt=H.end===void 0?lt:Math.min(H.end,dt);!ce.extend&<>jt&&(x=jt,jt=lt,lt=x);var J=og(O,lt),$=og(O,jt);if(J&&$&&(ce.rangeCount!==1||ce.anchorNode!==J.node||ce.anchorOffset!==J.offset||ce.focusNode!==$.node||ce.focusOffset!==$.offset)){var ae=_e.createRange();ae.setStart(J.node,J.offset),ce.removeAllRanges(),lt>jt?(ce.addRange(ae),ce.extend($.node,$.offset)):(ae.setEnd($.node,$.offset),ce.addRange(ae))}}}}for(_e=[],ce=O;ce=ce.parentNode;)ce.nodeType===1&&_e.push({element:ce,left:ce.scrollLeft,top:ce.scrollTop});for(typeof O.focus=="function"&&O.focus(),O=0;O<_e.length;O++){var Te=_e[O];Te.element.scrollLeft=Te.left,Te.element.scrollTop=Te.top}}e0=!!Th,_h=Th=null}finally{Ft=m,he.p=c,W.T=u}}r.current=i,Vn=2}}function x4(){if(Vn===2){Vn=0;var r=Fi,i=ml,u=(i.flags&8772)!==0;if((i.subtreeFlags&8772)!==0||u){u=W.T,W.T=null;var c=he.p;he.p=2;var m=Ft;Ft|=4;try{t4(r,i.alternate,i)}finally{Ft=m,he.p=c,W.T=u}}Vn=3}}function A4(){if(Vn===4||Vn===3){Vn=0,We();var r=Fi,i=ml,u=pl,c=f4;(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?Vn=5:(Vn=0,ml=Fi=null,w4(r,r.pendingLanes));var m=r.pendingLanes;if(m===0&&(zi=null),ct(u),i=i.stateNode,xe&&typeof xe.onCommitFiberRoot=="function")try{xe.onCommitFiberRoot(fe,i,void 0,(i.current.flags&128)===128)}catch{}if(c!==null){i=W.T,m=he.p,he.p=2,W.T=null;try{for(var b=r.onRecoverableError,x=0;x<c.length;x++){var O=c[x];b(O.value,{componentStack:O.stack})}}finally{W.T=i,he.p=m}}(pl&3)!==0&&qc(),Aa(r),m=r.pendingLanes,(u&4194090)!==0&&(m&42)!==0?r===lh?Hu++:(Hu=0,lh=r):Hu=0,qu(0)}}function w4(r,i){(r.pooledCacheLanes&=i)===0&&(i=r.pooledCache,i!=null&&(r.pooledCache=null,Tu(i)))}function qc(r){return S4(),x4(),A4(),C4()}function C4(){if(Vn!==5)return!1;var r=Fi,i=ih;ih=0;var u=ct(pl),c=W.T,m=he.p;try{he.p=32>u?32:u,W.T=null,u=sh,sh=null;var b=Fi,x=pl;if(Vn=0,ml=Fi=null,pl=0,(Ft&6)!==0)throw Error(a(331));var O=Ft;if(Ft|=4,c4(b.current),l4(b,b.current,x,u),Ft=O,qu(0,!1),xe&&typeof xe.onPostCommitFiberRoot=="function")try{xe.onPostCommitFiberRoot(fe,b)}catch{}return!0}finally{he.p=m,W.T=c,w4(r,i)}}function k4(r,i,u){i=jr(u,i),i=zf(r.stateNode,i,2),r=Oi(r,i,2),r!==null&&(vi(r,2),Aa(r))}function Vt(r,i,u){if(r.tag===3)k4(r,r,u);else for(;i!==null;){if(i.tag===3){k4(i,r,u);break}else if(i.tag===1){var c=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof c.componentDidCatch=="function"&&(zi===null||!zi.has(c))){r=jr(u,r),u=M2(2),c=Oi(i,u,2),c!==null&&(D2(u,c,i,r),vi(c,2),Aa(c));break}}i=i.return}}function dh(r,i,u){var c=r.pingCache;if(c===null){c=r.pingCache=new z8;var m=new Set;c.set(i,m)}else m=c.get(i),m===void 0&&(m=new Set,c.set(i,m));m.has(u)||(th=!0,m.add(u),r=j8.bind(null,r,i,u),i.then(r,r))}function j8(r,i,u){var c=r.pingCache;c!==null&&c.delete(i),r.pingedLanes|=r.suspendedLanes&u,r.warmLanes&=~u,Xt===r&&(Rt&u)===u&&(En===4||En===3&&(Rt&62914560)===Rt&&300>Ot()-ah?(Ft&2)===0&&gl(r,0):nh|=u,hl===Rt&&(hl=0)),Aa(r)}function N4(r,i){i===0&&(i=nu()),r=Zs(r,i),r!==null&&(vi(r,i),Aa(r))}function G8(r){var i=r.memoizedState,u=0;i!==null&&(u=i.retryLane),N4(r,u)}function V8(r,i){var u=0;switch(r.tag){case 13:var c=r.stateNode,m=r.memoizedState;m!==null&&(u=m.retryLane);break;case 19:c=r.stateNode;break;case 22:c=r.stateNode._retryCache;break;default:throw Error(a(314))}c!==null&&c.delete(i),N4(r,u)}function $8(r,i){return $e(r,i)}var Yc=null,El=null,fh=!1,jc=!1,hh=!1,Ds=0;function Aa(r){r!==El&&r.next===null&&(El===null?Yc=El=r:El=El.next=r),jc=!0,fh||(fh=!0,X8())}function qu(r,i){if(!hh&&jc){hh=!0;do for(var u=!1,c=Yc;c!==null;){if(r!==0){var m=c.pendingLanes;if(m===0)var b=0;else{var x=c.suspendedLanes,O=c.pingedLanes;b=(1<<31-et(42|r)+1)-1,b&=m&~(x&~O),b=b&201326741?b&201326741|1:b?b|2:0}b!==0&&(u=!0,D4(c,b))}else b=Rt,b=An(c,c===Xt?b:0,c.cancelPendingCommit!==null||c.timeoutHandle!==-1),(b&3)===0||mr(c,b)||(u=!0,D4(c,b));c=c.next}while(u);hh=!1}}function K8(){O4()}function O4(){jc=fh=!1;var r=0;Ds!==0&&(rT()&&(r=Ds),Ds=0);for(var i=Ot(),u=null,c=Yc;c!==null;){var m=c.next,b=R4(c,i);b===0?(c.next=null,u===null?Yc=m:u.next=m,m===null&&(El=u)):(u=c,(r!==0||(b&3)!==0)&&(jc=!0)),c=m}qu(r)}function R4(r,i){for(var u=r.suspendedLanes,c=r.pingedLanes,m=r.expirationTimes,b=r.pendingLanes&-62914561;0<b;){var x=31-et(b),O=1<<x,H=m[x];H===-1?((O&u)===0||(O&c)!==0)&&(m[x]=rr(O,i)):H<=i&&(r.expiredLanes|=O),b&=~O}if(i=Xt,u=Rt,u=An(r,r===i?u:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),c=r.callbackNode,u===0||r===i&&(Ht===2||Ht===9)||r.cancelPendingCommit!==null)return c!==null&&c!==null&&Ve(c),r.callbackNode=null,r.callbackPriority=0;if((u&3)===0||mr(r,u)){if(i=u&-u,i===r.callbackPriority)return i;switch(c!==null&&Ve(c),ct(u)){case 2:case 8:u=en;break;case 32:u=Un;break;case 268435456:u=ya;break;default:u=Un}return c=M4.bind(null,r),u=$e(u,c),r.callbackPriority=i,r.callbackNode=u,i}return c!==null&&c!==null&&Ve(c),r.callbackPriority=2,r.callbackNode=null,2}function M4(r,i){if(Vn!==0&&Vn!==5)return r.callbackNode=null,r.callbackPriority=0,null;var u=r.callbackNode;if(qc()&&r.callbackNode!==u)return null;var c=Rt;return c=An(r,r===Xt?c:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),c===0?null:(m4(r,c,i),R4(r,Ot()),r.callbackNode!=null&&r.callbackNode===u?M4.bind(null,r):null)}function D4(r,i){if(qc())return null;m4(r,i,!0)}function X8(){iT(function(){(Ft&6)!==0?$e(Dt,K8):O4()})}function mh(){return Ds===0&&(Ds=tu()),Ds}function I4(r){return r==null||typeof r=="symbol"||typeof r=="boolean"?null:typeof r=="function"?r:Ai(""+r)}function L4(r,i){var u=i.ownerDocument.createElement("input");return u.name=i.name,u.value=i.value,r.id&&u.setAttribute("form",r.id),i.parentNode.insertBefore(u,i),r=new FormData(r),u.parentNode.removeChild(u),r}function W8(r,i,u,c,m){if(i==="submit"&&u&&u.stateNode===m){var b=I4((m[Ke]||null).action),x=c.submitter;x&&(i=(i=x[Ke]||null)?I4(i.formAction):x.getAttribute("formAction"),i!==null&&(b=i,x=null));var O=new ic("action","action",null,c,m);r.push({event:O,listeners:[{instance:null,listener:function(){if(c.defaultPrevented){if(Ds!==0){var H=x?L4(m,x):new FormData(m);If(u,{pending:!0,data:H,method:m.method,action:b},null,H)}}else typeof b=="function"&&(O.preventDefault(),H=x?L4(m,x):new FormData(m),If(u,{pending:!0,data:H,method:m.method,action:b},b,H))},currentTarget:m}]})}}for(var ph=0;ph<Zd.length;ph++){var gh=Zd[ph],Q8=gh.toLowerCase(),Z8=gh[0].toUpperCase()+gh.slice(1);da(Q8,"on"+Z8)}da(mg,"onAnimationEnd"),da(pg,"onAnimationIteration"),da(gg,"onAnimationStart"),da("dblclick","onDoubleClick"),da("focusin","onFocus"),da("focusout","onBlur"),da(p8,"onTransitionRun"),da(g8,"onTransitionStart"),da(b8,"onTransitionCancel"),da(bg,"onTransitionEnd"),ar("onMouseEnter",["mouseout","mouseover"]),ar("onMouseLeave",["mouseout","mouseover"]),ar("onPointerEnter",["pointerout","pointerover"]),ar("onPointerLeave",["pointerout","pointerover"]),Ha("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ha("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ha("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ha("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ha("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ha("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Yu="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),J8=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Yu));function B4(r,i){i=(i&4)!==0;for(var u=0;u<r.length;u++){var c=r[u],m=c.event;c=c.listeners;e:{var b=void 0;if(i)for(var x=c.length-1;0<=x;x--){var O=c[x],H=O.instance,se=O.currentTarget;if(O=O.listener,H!==b&&m.isPropagationStopped())break e;b=O,m.currentTarget=se;try{b(m)}catch(be){Rc(be)}m.currentTarget=null,b=H}else for(x=0;x<c.length;x++){if(O=c[x],H=O.instance,se=O.currentTarget,O=O.listener,H!==b&&m.isPropagationStopped())break e;b=O,m.currentTarget=se;try{b(m)}catch(be){Rc(be)}m.currentTarget=null,b=H}}}}function kt(r,i){var u=i[nn];u===void 0&&(u=i[nn]=new Set);var c=r+"__bubble";u.has(c)||(P4(i,r,2,!1),u.add(c))}function bh(r,i,u){var c=0;i&&(c|=4),P4(u,r,c,i)}var Gc="_reactListening"+Math.random().toString(36).slice(2);function Eh(r){if(!r[Gc]){r[Gc]=!0,Wo.forEach(function(u){u!=="selectionchange"&&(J8.has(u)||bh(u,!1,r),bh(u,!0,r))});var i=r.nodeType===9?r:r.ownerDocument;i===null||i[Gc]||(i[Gc]=!0,bh("selectionchange",!1,i))}}function P4(r,i,u,c){switch(lb(i)){case 2:var m=wT;break;case 8:m=CT;break;default:m=Mh}u=m.bind(null,i,u,r),m=void 0,!zd||i!=="touchstart"&&i!=="touchmove"&&i!=="wheel"||(m=!0),c?m!==void 0?r.addEventListener(i,u,{capture:!0,passive:m}):r.addEventListener(i,u,!0):m!==void 0?r.addEventListener(i,u,{passive:m}):r.addEventListener(i,u,!1)}function yh(r,i,u,c,m){var b=c;if((i&1)===0&&(i&2)===0&&c!==null)e:for(;;){if(c===null)return;var x=c.tag;if(x===3||x===4){var O=c.stateNode.containerInfo;if(O===m)break;if(x===4)for(x=c.return;x!==null;){var H=x.tag;if((H===3||H===4)&&x.stateNode.containerInfo===m)return;x=x.return}for(;O!==null;){if(x=_i(O),x===null)return;if(H=x.tag,H===5||H===6||H===26||H===27){c=b=x;continue e}O=O.parentNode}}c=c.return}Yr(function(){var se=b,be=Pe(u),_e=[];e:{var ue=Eg.get(r);if(ue!==void 0){var ce=ic,dt=r;switch(r){case"keypress":if(rc(u)===0)break e;case"keydown":case"keyup":ce=$7;break;case"focusin":dt="focus",ce=Yd;break;case"focusout":dt="blur",ce=Yd;break;case"beforeblur":case"afterblur":ce=Yd;break;case"click":if(u.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ce=$p;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ce=L7;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ce=W7;break;case mg:case pg:case gg:ce=U7;break;case bg:ce=Z7;break;case"scroll":case"scrollend":ce=D7;break;case"wheel":ce=e8;break;case"copy":case"cut":case"paste":ce=F7;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ce=Xp;break;case"toggle":case"beforetoggle":ce=n8}var lt=(i&4)!==0,jt=!lt&&(r==="scroll"||r==="scrollend"),J=lt?ue!==null?ue+"Capture":null:ue;lt=[];for(var $=se,ae;$!==null;){var Te=$;if(ae=Te.stateNode,Te=Te.tag,Te!==5&&Te!==26&&Te!==27||ae===null||J===null||(Te=bs($,J),Te!=null&<.push(ju($,Te,ae))),jt)break;$=$.return}0<lt.length&&(ue=new ce(ue,dt,null,u,be),_e.push({event:ue,listeners:lt}))}}if((i&7)===0){e:{if(ue=r==="mouseover"||r==="pointerover",ce=r==="mouseout"||r==="pointerout",ue&&u!==gs&&(dt=u.relatedTarget||u.fromElement)&&(_i(dt)||dt[Jt]))break e;if((ce||ue)&&(ue=be.window===be?be:(ue=be.ownerDocument)?ue.defaultView||ue.parentWindow:window,ce?(dt=u.relatedTarget||u.toElement,ce=se,dt=dt?_i(dt):null,dt!==null&&(jt=l(dt),lt=dt.tag,dt!==jt||lt!==5&<!==27&<!==6)&&(dt=null)):(ce=null,dt=se),ce!==dt)){if(lt=$p,Te="onMouseLeave",J="onMouseEnter",$="mouse",(r==="pointerout"||r==="pointerover")&&(lt=Xp,Te="onPointerLeave",J="onPointerEnter",$="pointer"),jt=ce==null?ue:hs(ce),ae=dt==null?ue:hs(dt),ue=new lt(Te,$+"leave",ce,u,be),ue.target=jt,ue.relatedTarget=ae,Te=null,_i(be)===se&&(lt=new lt(J,$+"enter",dt,u,be),lt.target=ae,lt.relatedTarget=jt,Te=lt),jt=Te,ce&&dt)t:{for(lt=ce,J=dt,$=0,ae=lt;ae;ae=yl(ae))$++;for(ae=0,Te=J;Te;Te=yl(Te))ae++;for(;0<$-ae;)lt=yl(lt),$--;for(;0<ae-$;)J=yl(J),ae--;for(;$--;){if(lt===J||J!==null&<===J.alternate)break t;lt=yl(lt),J=yl(J)}lt=null}else lt=null;ce!==null&&U4(_e,ue,ce,lt,!1),dt!==null&&jt!==null&&U4(_e,jt,dt,lt,!0)}}e:{if(ue=se?hs(se):window,ce=ue.nodeName&&ue.nodeName.toLowerCase(),ce==="select"||ce==="input"&&ue.type==="file")var Ge=rg;else if(tg(ue))if(ag)Ge=f8;else{Ge=c8;var St=o8}else ce=ue.nodeName,!ce||ce.toLowerCase()!=="input"||ue.type!=="checkbox"&&ue.type!=="radio"?se&&zt(se.elementType)&&(Ge=rg):Ge=d8;if(Ge&&(Ge=Ge(r,se))){ng(_e,Ge,u,be);break e}St&&St(r,ue,se),r==="focusout"&&se&&ue.type==="number"&&se.memoizedProps.value!=null&&xi(ue,"number",ue.value)}switch(St=se?hs(se):window,r){case"focusin":(tg(St)||St.contentEditable==="true")&&(Xs=St,Xd=se,gu=null);break;case"focusout":gu=Xd=Xs=null;break;case"mousedown":Wd=!0;break;case"contextmenu":case"mouseup":case"dragend":Wd=!1,fg(_e,u,be);break;case"selectionchange":if(m8)break;case"keydown":case"keyup":fg(_e,u,be)}var Je;if(Gd)e:{switch(r){case"compositionstart":var ut="onCompositionStart";break e;case"compositionend":ut="onCompositionEnd";break e;case"compositionupdate":ut="onCompositionUpdate";break e}ut=void 0}else Ks?Jp(r,u)&&(ut="onCompositionEnd"):r==="keydown"&&u.keyCode===229&&(ut="onCompositionStart");ut&&(Wp&&u.locale!=="ko"&&(Ks||ut!=="onCompositionStart"?ut==="onCompositionEnd"&&Ks&&(Je=Gp()):(wi=be,Fd="value"in wi?wi.value:wi.textContent,Ks=!0)),St=Vc(se,ut),0<St.length&&(ut=new Kp(ut,r,null,u,be),_e.push({event:ut,listeners:St}),Je?ut.data=Je:(Je=eg(u),Je!==null&&(ut.data=Je)))),(Je=a8?i8(r,u):s8(r,u))&&(ut=Vc(se,"onBeforeInput"),0<ut.length&&(St=new Kp("onBeforeInput","beforeinput",null,u,be),_e.push({event:St,listeners:ut}),St.data=Je)),W8(_e,r,se,u,be)}B4(_e,i)})}function ju(r,i,u){return{instance:r,listener:i,currentTarget:u}}function Vc(r,i){for(var u=i+"Capture",c=[];r!==null;){var m=r,b=m.stateNode;if(m=m.tag,m!==5&&m!==26&&m!==27||b===null||(m=bs(r,u),m!=null&&c.unshift(ju(r,m,b)),m=bs(r,i),m!=null&&c.push(ju(r,m,b))),r.tag===3)return c;r=r.return}return[]}function yl(r){if(r===null)return null;do r=r.return;while(r&&r.tag!==5&&r.tag!==27);return r||null}function U4(r,i,u,c,m){for(var b=i._reactName,x=[];u!==null&&u!==c;){var O=u,H=O.alternate,se=O.stateNode;if(O=O.tag,H!==null&&H===c)break;O!==5&&O!==26&&O!==27||se===null||(H=se,m?(se=bs(u,b),se!=null&&x.unshift(ju(u,se,H))):m||(se=bs(u,b),se!=null&&x.push(ju(u,se,H)))),u=u.return}x.length!==0&&r.push({event:i,listeners:x})}var eT=/\r\n?/g,tT=/\u0000|\uFFFD/g;function z4(r){return(typeof r=="string"?r:""+r).replace(eT,`
|
|
49
|
-
`).replace(tT,"")}function F4(r,i){return i=z4(i),z4(r)===i}function $c(){}function Yt(r,i,u,c,m,b){switch(u){case"children":typeof c=="string"?i==="body"||i==="textarea"&&c===""||va(r,c):(typeof c=="number"||typeof c=="bigint")&&i!=="body"&&va(r,""+c);break;case"className":qa(r,"class",c);break;case"tabIndex":qa(r,"tabindex",c);break;case"dir":case"role":case"viewBox":case"width":case"height":qa(r,u,c);break;case"style":wn(r,c,b);break;case"data":if(i!=="object"){qa(r,"data",c);break}case"src":case"href":if(c===""&&(i!=="a"||u!=="href")){r.removeAttribute(u);break}if(c==null||typeof c=="function"||typeof c=="symbol"||typeof c=="boolean"){r.removeAttribute(u);break}c=Ai(""+c),r.setAttribute(u,c);break;case"action":case"formAction":if(typeof c=="function"){r.setAttribute(u,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof b=="function"&&(u==="formAction"?(i!=="input"&&Yt(r,i,"name",m.name,m,null),Yt(r,i,"formEncType",m.formEncType,m,null),Yt(r,i,"formMethod",m.formMethod,m,null),Yt(r,i,"formTarget",m.formTarget,m,null)):(Yt(r,i,"encType",m.encType,m,null),Yt(r,i,"method",m.method,m,null),Yt(r,i,"target",m.target,m,null)));if(c==null||typeof c=="symbol"||typeof c=="boolean"){r.removeAttribute(u);break}c=Ai(""+c),r.setAttribute(u,c);break;case"onClick":c!=null&&(r.onclick=$c);break;case"onScroll":c!=null&&kt("scroll",r);break;case"onScrollEnd":c!=null&&kt("scrollend",r);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(a(61));if(u=c.__html,u!=null){if(m.children!=null)throw Error(a(60));r.innerHTML=u}}break;case"multiple":r.multiple=c&&typeof c!="function"&&typeof c!="symbol";break;case"muted":r.muted=c&&typeof c!="function"&&typeof c!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(c==null||typeof c=="function"||typeof c=="boolean"||typeof c=="symbol"){r.removeAttribute("xlink:href");break}u=Ai(""+c),r.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",u);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":c!=null&&typeof c!="function"&&typeof c!="symbol"?r.setAttribute(u,""+c):r.removeAttribute(u);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":c&&typeof c!="function"&&typeof c!="symbol"?r.setAttribute(u,""):r.removeAttribute(u);break;case"capture":case"download":c===!0?r.setAttribute(u,""):c!==!1&&c!=null&&typeof c!="function"&&typeof c!="symbol"?r.setAttribute(u,c):r.removeAttribute(u);break;case"cols":case"rows":case"size":case"span":c!=null&&typeof c!="function"&&typeof c!="symbol"&&!isNaN(c)&&1<=c?r.setAttribute(u,c):r.removeAttribute(u);break;case"rowSpan":case"start":c==null||typeof c=="function"||typeof c=="symbol"||isNaN(c)?r.removeAttribute(u):r.setAttribute(u,c);break;case"popover":kt("beforetoggle",r),kt("toggle",r),Vs(r,"popover",c);break;case"xlinkActuate":ua(r,"http://www.w3.org/1999/xlink","xlink:actuate",c);break;case"xlinkArcrole":ua(r,"http://www.w3.org/1999/xlink","xlink:arcrole",c);break;case"xlinkRole":ua(r,"http://www.w3.org/1999/xlink","xlink:role",c);break;case"xlinkShow":ua(r,"http://www.w3.org/1999/xlink","xlink:show",c);break;case"xlinkTitle":ua(r,"http://www.w3.org/1999/xlink","xlink:title",c);break;case"xlinkType":ua(r,"http://www.w3.org/1999/xlink","xlink:type",c);break;case"xmlBase":ua(r,"http://www.w3.org/XML/1998/namespace","xml:base",c);break;case"xmlLang":ua(r,"http://www.w3.org/XML/1998/namespace","xml:lang",c);break;case"xmlSpace":ua(r,"http://www.w3.org/XML/1998/namespace","xml:space",c);break;case"is":Vs(r,"is",c);break;case"innerText":case"textContent":break;default:(!(2<u.length)||u[0]!=="o"&&u[0]!=="O"||u[1]!=="n"&&u[1]!=="N")&&(u=$s.get(u)||u,Vs(r,u,c))}}function vh(r,i,u,c,m,b){switch(u){case"style":wn(r,c,b);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(a(61));if(u=c.__html,u!=null){if(m.children!=null)throw Error(a(60));r.innerHTML=u}}break;case"children":typeof c=="string"?va(r,c):(typeof c=="number"||typeof c=="bigint")&&va(r,""+c);break;case"onScroll":c!=null&&kt("scroll",r);break;case"onScrollEnd":c!=null&&kt("scrollend",r);break;case"onClick":c!=null&&(r.onclick=$c);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Qo.hasOwnProperty(u))e:{if(u[0]==="o"&&u[1]==="n"&&(m=u.endsWith("Capture"),i=u.slice(2,m?u.length-7:void 0),b=r[Ke]||null,b=b!=null?b[u]:null,typeof b=="function"&&r.removeEventListener(i,b,m),typeof c=="function")){typeof b!="function"&&b!==null&&(u in r?r[u]=null:r.hasAttribute(u)&&r.removeAttribute(u)),r.addEventListener(i,c,m);break e}u in r?r[u]=c:c===!0?r.setAttribute(u,""):Vs(r,u,c)}}}function $n(r,i,u){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":kt("error",r),kt("load",r);var c=!1,m=!1,b;for(b in u)if(u.hasOwnProperty(b)){var x=u[b];if(x!=null)switch(b){case"src":c=!0;break;case"srcSet":m=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(a(137,i));default:Yt(r,i,b,x,u,null)}}m&&Yt(r,i,"srcSet",u.srcSet,u,null),c&&Yt(r,i,"src",u.src,u,null);return;case"input":kt("invalid",r);var O=b=x=m=null,H=null,se=null;for(c in u)if(u.hasOwnProperty(c)){var be=u[c];if(be!=null)switch(c){case"name":m=be;break;case"type":x=be;break;case"checked":H=be;break;case"defaultChecked":se=be;break;case"value":b=be;break;case"defaultValue":O=be;break;case"children":case"dangerouslySetInnerHTML":if(be!=null)throw Error(a(137,i));break;default:Yt(r,i,c,be,u,null)}}ec(r,b,O,H,se,x,m,!1),ms(r);return;case"select":kt("invalid",r),c=x=b=null;for(m in u)if(u.hasOwnProperty(m)&&(O=u[m],O!=null))switch(m){case"value":b=O;break;case"defaultValue":x=O;break;case"multiple":c=O;default:Yt(r,i,m,O,u,null)}i=b,u=x,r.multiple=!!c,i!=null?Ya(r,!!c,i,!1):u!=null&&Ya(r,!!c,u,!0);return;case"textarea":kt("invalid",r),b=m=c=null;for(x in u)if(u.hasOwnProperty(x)&&(O=u[x],O!=null))switch(x){case"value":c=O;break;case"defaultValue":m=O;break;case"children":b=O;break;case"dangerouslySetInnerHTML":if(O!=null)throw Error(a(91));break;default:Yt(r,i,x,O,u,null)}tc(r,c,m,b),ms(r);return;case"option":for(H in u)if(u.hasOwnProperty(H)&&(c=u[H],c!=null))switch(H){case"selected":r.selected=c&&typeof c!="function"&&typeof c!="symbol";break;default:Yt(r,i,H,c,u,null)}return;case"dialog":kt("beforetoggle",r),kt("toggle",r),kt("cancel",r),kt("close",r);break;case"iframe":case"object":kt("load",r);break;case"video":case"audio":for(c=0;c<Yu.length;c++)kt(Yu[c],r);break;case"image":kt("error",r),kt("load",r);break;case"details":kt("toggle",r);break;case"embed":case"source":case"link":kt("error",r),kt("load",r);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(se in u)if(u.hasOwnProperty(se)&&(c=u[se],c!=null))switch(se){case"children":case"dangerouslySetInnerHTML":throw Error(a(137,i));default:Yt(r,i,se,c,u,null)}return;default:if(zt(i)){for(be in u)u.hasOwnProperty(be)&&(c=u[be],c!==void 0&&vh(r,i,be,c,u,void 0));return}}for(O in u)u.hasOwnProperty(O)&&(c=u[O],c!=null&&Yt(r,i,O,c,u,null))}function nT(r,i,u,c){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var m=null,b=null,x=null,O=null,H=null,se=null,be=null;for(ce in u){var _e=u[ce];if(u.hasOwnProperty(ce)&&_e!=null)switch(ce){case"checked":break;case"value":break;case"defaultValue":H=_e;default:c.hasOwnProperty(ce)||Yt(r,i,ce,null,c,_e)}}for(var ue in c){var ce=c[ue];if(_e=u[ue],c.hasOwnProperty(ue)&&(ce!=null||_e!=null))switch(ue){case"type":b=ce;break;case"name":m=ce;break;case"checked":se=ce;break;case"defaultChecked":be=ce;break;case"value":x=ce;break;case"defaultValue":O=ce;break;case"children":case"dangerouslySetInnerHTML":if(ce!=null)throw Error(a(137,i));break;default:ce!==_e&&Yt(r,i,ue,ce,c,_e)}}lu(r,x,O,H,se,be,b,m);return;case"select":ce=x=O=ue=null;for(b in u)if(H=u[b],u.hasOwnProperty(b)&&H!=null)switch(b){case"value":break;case"multiple":ce=H;default:c.hasOwnProperty(b)||Yt(r,i,b,null,c,H)}for(m in c)if(b=c[m],H=u[m],c.hasOwnProperty(m)&&(b!=null||H!=null))switch(m){case"value":ue=b;break;case"defaultValue":O=b;break;case"multiple":x=b;default:b!==H&&Yt(r,i,m,b,c,H)}i=O,u=x,c=ce,ue!=null?Ya(r,!!u,ue,!1):!!c!=!!u&&(i!=null?Ya(r,!!u,i,!0):Ya(r,!!u,u?[]:"",!1));return;case"textarea":ce=ue=null;for(O in u)if(m=u[O],u.hasOwnProperty(O)&&m!=null&&!c.hasOwnProperty(O))switch(O){case"value":break;case"children":break;default:Yt(r,i,O,null,c,m)}for(x in c)if(m=c[x],b=u[x],c.hasOwnProperty(x)&&(m!=null||b!=null))switch(x){case"value":ue=m;break;case"defaultValue":ce=m;break;case"children":break;case"dangerouslySetInnerHTML":if(m!=null)throw Error(a(91));break;default:m!==b&&Yt(r,i,x,m,c,b)}kr(r,ue,ce);return;case"option":for(var dt in u)if(ue=u[dt],u.hasOwnProperty(dt)&&ue!=null&&!c.hasOwnProperty(dt))switch(dt){case"selected":r.selected=!1;break;default:Yt(r,i,dt,null,c,ue)}for(H in c)if(ue=c[H],ce=u[H],c.hasOwnProperty(H)&&ue!==ce&&(ue!=null||ce!=null))switch(H){case"selected":r.selected=ue&&typeof ue!="function"&&typeof ue!="symbol";break;default:Yt(r,i,H,ue,c,ce)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var lt in u)ue=u[lt],u.hasOwnProperty(lt)&&ue!=null&&!c.hasOwnProperty(lt)&&Yt(r,i,lt,null,c,ue);for(se in c)if(ue=c[se],ce=u[se],c.hasOwnProperty(se)&&ue!==ce&&(ue!=null||ce!=null))switch(se){case"children":case"dangerouslySetInnerHTML":if(ue!=null)throw Error(a(137,i));break;default:Yt(r,i,se,ue,c,ce)}return;default:if(zt(i)){for(var jt in u)ue=u[jt],u.hasOwnProperty(jt)&&ue!==void 0&&!c.hasOwnProperty(jt)&&vh(r,i,jt,void 0,c,ue);for(be in c)ue=c[be],ce=u[be],!c.hasOwnProperty(be)||ue===ce||ue===void 0&&ce===void 0||vh(r,i,be,ue,c,ce);return}}for(var J in u)ue=u[J],u.hasOwnProperty(J)&&ue!=null&&!c.hasOwnProperty(J)&&Yt(r,i,J,null,c,ue);for(_e in c)ue=c[_e],ce=u[_e],!c.hasOwnProperty(_e)||ue===ce||ue==null&&ce==null||Yt(r,i,_e,ue,c,ce)}var Th=null,_h=null;function Kc(r){return r.nodeType===9?r:r.ownerDocument}function H4(r){switch(r){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function q4(r,i){if(r===0)switch(i){case"svg":return 1;case"math":return 2;default:return 0}return r===1&&i==="foreignObject"?0:r}function Sh(r,i){return r==="textarea"||r==="noscript"||typeof i.children=="string"||typeof i.children=="number"||typeof i.children=="bigint"||typeof i.dangerouslySetInnerHTML=="object"&&i.dangerouslySetInnerHTML!==null&&i.dangerouslySetInnerHTML.__html!=null}var xh=null;function rT(){var r=window.event;return r&&r.type==="popstate"?r===xh?!1:(xh=r,!0):(xh=null,!1)}var Y4=typeof setTimeout=="function"?setTimeout:void 0,aT=typeof clearTimeout=="function"?clearTimeout:void 0,j4=typeof Promise=="function"?Promise:void 0,iT=typeof queueMicrotask=="function"?queueMicrotask:typeof j4<"u"?function(r){return j4.resolve(null).then(r).catch(sT)}:Y4;function sT(r){setTimeout(function(){throw r})}function qi(r){return r==="head"}function G4(r,i){var u=i,c=0,m=0;do{var b=u.nextSibling;if(r.removeChild(u),b&&b.nodeType===8)if(u=b.data,u==="/$"){if(0<c&&8>c){u=c;var x=r.ownerDocument;if(u&1&&Gu(x.documentElement),u&2&&Gu(x.body),u&4)for(u=x.head,Gu(u),x=u.firstChild;x;){var O=x.nextSibling,H=x.nodeName;x[ds]||H==="SCRIPT"||H==="STYLE"||H==="LINK"&&x.rel.toLowerCase()==="stylesheet"||u.removeChild(x),x=O}}if(m===0){r.removeChild(b),Ju(i);return}m--}else u==="$"||u==="$?"||u==="$!"?m++:c=u.charCodeAt(0)-48;else c=0;u=b}while(u);Ju(i)}function Ah(r){var i=r.firstChild;for(i&&i.nodeType===10&&(i=i.nextSibling);i;){var u=i;switch(i=i.nextSibling,u.nodeName){case"HTML":case"HEAD":case"BODY":Ah(u),fs(u);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(u.rel.toLowerCase()==="stylesheet")continue}r.removeChild(u)}}function lT(r,i,u,c){for(;r.nodeType===1;){var m=u;if(r.nodeName.toLowerCase()!==i.toLowerCase()){if(!c&&(r.nodeName!=="INPUT"||r.type!=="hidden"))break}else if(c){if(!r[ds])switch(i){case"meta":if(!r.hasAttribute("itemprop"))break;return r;case"link":if(b=r.getAttribute("rel"),b==="stylesheet"&&r.hasAttribute("data-precedence"))break;if(b!==m.rel||r.getAttribute("href")!==(m.href==null||m.href===""?null:m.href)||r.getAttribute("crossorigin")!==(m.crossOrigin==null?null:m.crossOrigin)||r.getAttribute("title")!==(m.title==null?null:m.title))break;return r;case"style":if(r.hasAttribute("data-precedence"))break;return r;case"script":if(b=r.getAttribute("src"),(b!==(m.src==null?null:m.src)||r.getAttribute("type")!==(m.type==null?null:m.type)||r.getAttribute("crossorigin")!==(m.crossOrigin==null?null:m.crossOrigin))&&b&&r.hasAttribute("async")&&!r.hasAttribute("itemprop"))break;return r;default:return r}}else if(i==="input"&&r.type==="hidden"){var b=m.name==null?null:""+m.name;if(m.type==="hidden"&&r.getAttribute("name")===b)return r}else return r;if(r=ha(r.nextSibling),r===null)break}return null}function uT(r,i,u){if(i==="")return null;for(;r.nodeType!==3;)if((r.nodeType!==1||r.nodeName!=="INPUT"||r.type!=="hidden")&&!u||(r=ha(r.nextSibling),r===null))return null;return r}function wh(r){return r.data==="$!"||r.data==="$?"&&r.ownerDocument.readyState==="complete"}function oT(r,i){var u=r.ownerDocument;if(r.data!=="$?"||u.readyState==="complete")i();else{var c=function(){i(),u.removeEventListener("DOMContentLoaded",c)};u.addEventListener("DOMContentLoaded",c),r._reactRetry=c}}function ha(r){for(;r!=null;r=r.nextSibling){var i=r.nodeType;if(i===1||i===3)break;if(i===8){if(i=r.data,i==="$"||i==="$!"||i==="$?"||i==="F!"||i==="F")break;if(i==="/$")return null}}return r}var Ch=null;function V4(r){r=r.previousSibling;for(var i=0;r;){if(r.nodeType===8){var u=r.data;if(u==="$"||u==="$!"||u==="$?"){if(i===0)return r;i--}else u==="/$"&&i++}r=r.previousSibling}return null}function $4(r,i,u){switch(i=Kc(u),r){case"html":if(r=i.documentElement,!r)throw Error(a(452));return r;case"head":if(r=i.head,!r)throw Error(a(453));return r;case"body":if(r=i.body,!r)throw Error(a(454));return r;default:throw Error(a(451))}}function Gu(r){for(var i=r.attributes;i.length;)r.removeAttributeNode(i[0]);fs(r)}var Wr=new Map,K4=new Set;function Xc(r){return typeof r.getRootNode=="function"?r.getRootNode():r.nodeType===9?r:r.ownerDocument}var ri=he.d;he.d={f:cT,r:dT,D:fT,C:hT,L:mT,m:pT,X:bT,S:gT,M:ET};function cT(){var r=ri.f(),i=Fc();return r||i}function dT(r){var i=Si(r);i!==null&&i.tag===5&&i.type==="form"?m2(i):ri.r(r)}var vl=typeof document>"u"?null:document;function X4(r,i,u){var c=vl;if(c&&typeof i=="string"&&i){var m=pr(i);m='link[rel="'+r+'"][href="'+m+'"]',typeof u=="string"&&(m+='[crossorigin="'+u+'"]'),K4.has(m)||(K4.add(m),r={rel:r,crossOrigin:u,href:i},c.querySelector(m)===null&&(i=c.createElement("link"),$n(i,"link",r),cn(i),c.head.appendChild(i)))}}function fT(r){ri.D(r),X4("dns-prefetch",r,null)}function hT(r,i){ri.C(r,i),X4("preconnect",r,i)}function mT(r,i,u){ri.L(r,i,u);var c=vl;if(c&&r&&i){var m='link[rel="preload"][as="'+pr(i)+'"]';i==="image"&&u&&u.imageSrcSet?(m+='[imagesrcset="'+pr(u.imageSrcSet)+'"]',typeof u.imageSizes=="string"&&(m+='[imagesizes="'+pr(u.imageSizes)+'"]')):m+='[href="'+pr(r)+'"]';var b=m;switch(i){case"style":b=Tl(r);break;case"script":b=_l(r)}Wr.has(b)||(r=p({rel:"preload",href:i==="image"&&u&&u.imageSrcSet?void 0:r,as:i},u),Wr.set(b,r),c.querySelector(m)!==null||i==="style"&&c.querySelector(Vu(b))||i==="script"&&c.querySelector($u(b))||(i=c.createElement("link"),$n(i,"link",r),cn(i),c.head.appendChild(i)))}}function pT(r,i){ri.m(r,i);var u=vl;if(u&&r){var c=i&&typeof i.as=="string"?i.as:"script",m='link[rel="modulepreload"][as="'+pr(c)+'"][href="'+pr(r)+'"]',b=m;switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":b=_l(r)}if(!Wr.has(b)&&(r=p({rel:"modulepreload",href:r},i),Wr.set(b,r),u.querySelector(m)===null)){switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(u.querySelector($u(b)))return}c=u.createElement("link"),$n(c,"link",r),cn(c),u.head.appendChild(c)}}}function gT(r,i,u){ri.S(r,i,u);var c=vl;if(c&&r){var m=Fa(c).hoistableStyles,b=Tl(r);i=i||"default";var x=m.get(b);if(!x){var O={loading:0,preload:null};if(x=c.querySelector(Vu(b)))O.loading=5;else{r=p({rel:"stylesheet",href:r,"data-precedence":i},u),(u=Wr.get(b))&&kh(r,u);var H=x=c.createElement("link");cn(H),$n(H,"link",r),H._p=new Promise(function(se,be){H.onload=se,H.onerror=be}),H.addEventListener("load",function(){O.loading|=1}),H.addEventListener("error",function(){O.loading|=2}),O.loading|=4,Wc(x,i,c)}x={type:"stylesheet",instance:x,count:1,state:O},m.set(b,x)}}}function bT(r,i){ri.X(r,i);var u=vl;if(u&&r){var c=Fa(u).hoistableScripts,m=_l(r),b=c.get(m);b||(b=u.querySelector($u(m)),b||(r=p({src:r,async:!0},i),(i=Wr.get(m))&&Nh(r,i),b=u.createElement("script"),cn(b),$n(b,"link",r),u.head.appendChild(b)),b={type:"script",instance:b,count:1,state:null},c.set(m,b))}}function ET(r,i){ri.M(r,i);var u=vl;if(u&&r){var c=Fa(u).hoistableScripts,m=_l(r),b=c.get(m);b||(b=u.querySelector($u(m)),b||(r=p({src:r,async:!0,type:"module"},i),(i=Wr.get(m))&&Nh(r,i),b=u.createElement("script"),cn(b),$n(b,"link",r),u.head.appendChild(b)),b={type:"script",instance:b,count:1,state:null},c.set(m,b))}}function W4(r,i,u,c){var m=(m=Me.current)?Xc(m):null;if(!m)throw Error(a(446));switch(r){case"meta":case"title":return null;case"style":return typeof u.precedence=="string"&&typeof u.href=="string"?(i=Tl(u.href),u=Fa(m).hoistableStyles,c=u.get(i),c||(c={type:"style",instance:null,count:0,state:null},u.set(i,c)),c):{type:"void",instance:null,count:0,state:null};case"link":if(u.rel==="stylesheet"&&typeof u.href=="string"&&typeof u.precedence=="string"){r=Tl(u.href);var b=Fa(m).hoistableStyles,x=b.get(r);if(x||(m=m.ownerDocument||m,x={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},b.set(r,x),(b=m.querySelector(Vu(r)))&&!b._p&&(x.instance=b,x.state.loading=5),Wr.has(r)||(u={rel:"preload",as:"style",href:u.href,crossOrigin:u.crossOrigin,integrity:u.integrity,media:u.media,hrefLang:u.hrefLang,referrerPolicy:u.referrerPolicy},Wr.set(r,u),b||yT(m,r,u,x.state))),i&&c===null)throw Error(a(528,""));return x}if(i&&c!==null)throw Error(a(529,""));return null;case"script":return i=u.async,u=u.src,typeof u=="string"&&i&&typeof i!="function"&&typeof i!="symbol"?(i=_l(u),u=Fa(m).hoistableScripts,c=u.get(i),c||(c={type:"script",instance:null,count:0,state:null},u.set(i,c)),c):{type:"void",instance:null,count:0,state:null};default:throw Error(a(444,r))}}function Tl(r){return'href="'+pr(r)+'"'}function Vu(r){return'link[rel="stylesheet"]['+r+"]"}function Q4(r){return p({},r,{"data-precedence":r.precedence,precedence:null})}function yT(r,i,u,c){r.querySelector('link[rel="preload"][as="style"]['+i+"]")?c.loading=1:(i=r.createElement("link"),c.preload=i,i.addEventListener("load",function(){return c.loading|=1}),i.addEventListener("error",function(){return c.loading|=2}),$n(i,"link",u),cn(i),r.head.appendChild(i))}function _l(r){return'[src="'+pr(r)+'"]'}function $u(r){return"script[async]"+r}function Z4(r,i,u){if(i.count++,i.instance===null)switch(i.type){case"style":var c=r.querySelector('style[data-href~="'+pr(u.href)+'"]');if(c)return i.instance=c,cn(c),c;var m=p({},u,{"data-href":u.href,"data-precedence":u.precedence,href:null,precedence:null});return c=(r.ownerDocument||r).createElement("style"),cn(c),$n(c,"style",m),Wc(c,u.precedence,r),i.instance=c;case"stylesheet":m=Tl(u.href);var b=r.querySelector(Vu(m));if(b)return i.state.loading|=4,i.instance=b,cn(b),b;c=Q4(u),(m=Wr.get(m))&&kh(c,m),b=(r.ownerDocument||r).createElement("link"),cn(b);var x=b;return x._p=new Promise(function(O,H){x.onload=O,x.onerror=H}),$n(b,"link",c),i.state.loading|=4,Wc(b,u.precedence,r),i.instance=b;case"script":return b=_l(u.src),(m=r.querySelector($u(b)))?(i.instance=m,cn(m),m):(c=u,(m=Wr.get(b))&&(c=p({},u),Nh(c,m)),r=r.ownerDocument||r,m=r.createElement("script"),cn(m),$n(m,"link",c),r.head.appendChild(m),i.instance=m);case"void":return null;default:throw Error(a(443,i.type))}else i.type==="stylesheet"&&(i.state.loading&4)===0&&(c=i.instance,i.state.loading|=4,Wc(c,u.precedence,r));return i.instance}function Wc(r,i,u){for(var c=u.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),m=c.length?c[c.length-1]:null,b=m,x=0;x<c.length;x++){var O=c[x];if(O.dataset.precedence===i)b=O;else if(b!==m)break}b?b.parentNode.insertBefore(r,b.nextSibling):(i=u.nodeType===9?u.head:u,i.insertBefore(r,i.firstChild))}function kh(r,i){r.crossOrigin==null&&(r.crossOrigin=i.crossOrigin),r.referrerPolicy==null&&(r.referrerPolicy=i.referrerPolicy),r.title==null&&(r.title=i.title)}function Nh(r,i){r.crossOrigin==null&&(r.crossOrigin=i.crossOrigin),r.referrerPolicy==null&&(r.referrerPolicy=i.referrerPolicy),r.integrity==null&&(r.integrity=i.integrity)}var Qc=null;function J4(r,i,u){if(Qc===null){var c=new Map,m=Qc=new Map;m.set(u,c)}else m=Qc,c=m.get(u),c||(c=new Map,m.set(u,c));if(c.has(r))return c;for(c.set(r,null),u=u.getElementsByTagName(r),m=0;m<u.length;m++){var b=u[m];if(!(b[ds]||b[Le]||r==="link"&&b.getAttribute("rel")==="stylesheet")&&b.namespaceURI!=="http://www.w3.org/2000/svg"){var x=b.getAttribute(i)||"";x=r+x;var O=c.get(x);O?O.push(b):c.set(x,[b])}}return c}function eb(r,i,u){r=r.ownerDocument||r,r.head.insertBefore(u,i==="title"?r.querySelector("head > title"):null)}function vT(r,i,u){if(u===1||i.itemProp!=null)return!1;switch(r){case"meta":case"title":return!0;case"style":if(typeof i.precedence!="string"||typeof i.href!="string"||i.href==="")break;return!0;case"link":if(typeof i.rel!="string"||typeof i.href!="string"||i.href===""||i.onLoad||i.onError)break;switch(i.rel){case"stylesheet":return r=i.disabled,typeof i.precedence=="string"&&r==null;default:return!0}case"script":if(i.async&&typeof i.async!="function"&&typeof i.async!="symbol"&&!i.onLoad&&!i.onError&&i.src&&typeof i.src=="string")return!0}return!1}function tb(r){return!(r.type==="stylesheet"&&(r.state.loading&3)===0)}var Ku=null;function TT(){}function _T(r,i,u){if(Ku===null)throw Error(a(475));var c=Ku;if(i.type==="stylesheet"&&(typeof u.media!="string"||matchMedia(u.media).matches!==!1)&&(i.state.loading&4)===0){if(i.instance===null){var m=Tl(u.href),b=r.querySelector(Vu(m));if(b){r=b._p,r!==null&&typeof r=="object"&&typeof r.then=="function"&&(c.count++,c=Zc.bind(c),r.then(c,c)),i.state.loading|=4,i.instance=b,cn(b);return}b=r.ownerDocument||r,u=Q4(u),(m=Wr.get(m))&&kh(u,m),b=b.createElement("link"),cn(b);var x=b;x._p=new Promise(function(O,H){x.onload=O,x.onerror=H}),$n(b,"link",u),i.instance=b}c.stylesheets===null&&(c.stylesheets=new Map),c.stylesheets.set(i,r),(r=i.state.preload)&&(i.state.loading&3)===0&&(c.count++,i=Zc.bind(c),r.addEventListener("load",i),r.addEventListener("error",i))}}function ST(){if(Ku===null)throw Error(a(475));var r=Ku;return r.stylesheets&&r.count===0&&Oh(r,r.stylesheets),0<r.count?function(i){var u=setTimeout(function(){if(r.stylesheets&&Oh(r,r.stylesheets),r.unsuspend){var c=r.unsuspend;r.unsuspend=null,c()}},6e4);return r.unsuspend=i,function(){r.unsuspend=null,clearTimeout(u)}}:null}function Zc(){if(this.count--,this.count===0){if(this.stylesheets)Oh(this,this.stylesheets);else if(this.unsuspend){var r=this.unsuspend;this.unsuspend=null,r()}}}var Jc=null;function Oh(r,i){r.stylesheets=null,r.unsuspend!==null&&(r.count++,Jc=new Map,i.forEach(xT,r),Jc=null,Zc.call(r))}function xT(r,i){if(!(i.state.loading&4)){var u=Jc.get(r);if(u)var c=u.get(null);else{u=new Map,Jc.set(r,u);for(var m=r.querySelectorAll("link[data-precedence],style[data-precedence]"),b=0;b<m.length;b++){var x=m[b];(x.nodeName==="LINK"||x.getAttribute("media")!=="not all")&&(u.set(x.dataset.precedence,x),c=x)}c&&u.set(null,c)}m=i.instance,x=m.getAttribute("data-precedence"),b=u.get(x)||c,b===c&&u.set(null,m),u.set(x,m),this.count++,c=Zc.bind(this),m.addEventListener("load",c),m.addEventListener("error",c),b?b.parentNode.insertBefore(m,b.nextSibling):(r=r.nodeType===9?r.head:r,r.insertBefore(m,r.firstChild)),i.state.loading|=4}}var Xu={$$typeof:I,Provider:null,Consumer:null,_currentValue:ye,_currentValue2:ye,_threadCount:0};function AT(r,i,u,c,m,b,x,O){this.tag=1,this.containerInfo=r,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=ru(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ru(0),this.hiddenUpdates=ru(null),this.identifierPrefix=c,this.onUncaughtError=m,this.onCaughtError=b,this.onRecoverableError=x,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=O,this.incompleteTransitions=new Map}function nb(r,i,u,c,m,b,x,O,H,se,be,_e){return r=new AT(r,i,u,x,O,H,se,_e),i=1,b===!0&&(i|=24),b=Or(3,null,null,i),r.current=b,b.stateNode=r,i=df(),i.refCount++,r.pooledCache=i,i.refCount++,b.memoizedState={element:c,isDehydrated:u,cache:i},pf(b),r}function rb(r){return r?(r=Js,r):Js}function ab(r,i,u,c,m,b){m=rb(m),c.context===null?c.context=m:c.pendingContext=m,c=Ni(i),c.payload={element:u},b=b===void 0?null:b,b!==null&&(c.callback=b),u=Oi(r,c,i),u!==null&&(Lr(u,r,i),Au(u,r,i))}function ib(r,i){if(r=r.memoizedState,r!==null&&r.dehydrated!==null){var u=r.retryLane;r.retryLane=u!==0&&u<i?u:i}}function Rh(r,i){ib(r,i),(r=r.alternate)&&ib(r,i)}function sb(r){if(r.tag===13){var i=Zs(r,67108864);i!==null&&Lr(i,r,67108864),Rh(r,67108864)}}var e0=!0;function wT(r,i,u,c){var m=W.T;W.T=null;var b=he.p;try{he.p=2,Mh(r,i,u,c)}finally{he.p=b,W.T=m}}function CT(r,i,u,c){var m=W.T;W.T=null;var b=he.p;try{he.p=8,Mh(r,i,u,c)}finally{he.p=b,W.T=m}}function Mh(r,i,u,c){if(e0){var m=Dh(c);if(m===null)yh(r,i,c,t0,u),ub(r,c);else if(NT(m,r,i,u,c))c.stopPropagation();else if(ub(r,c),i&4&&-1<kT.indexOf(r)){for(;m!==null;){var b=Si(m);if(b!==null)switch(b.tag){case 3:if(b=b.stateNode,b.current.memoizedState.isDehydrated){var x=nr(b.pendingLanes);if(x!==0){var O=b;for(O.pendingLanes|=2,O.entangledLanes|=2;x;){var H=1<<31-et(x);O.entanglements[1]|=H,x&=~H}Aa(b),(Ft&6)===0&&(Uc=Ot()+500,qu(0))}}break;case 13:O=Zs(b,2),O!==null&&Lr(O,b,2),Fc(),Rh(b,2)}if(b=Dh(c),b===null&&yh(r,i,c,t0,u),b===m)break;m=b}m!==null&&c.stopPropagation()}else yh(r,i,c,null,u)}}function Dh(r){return r=Pe(r),Ih(r)}var t0=null;function Ih(r){if(t0=null,r=_i(r),r!==null){var i=l(r);if(i===null)r=null;else{var u=i.tag;if(u===13){if(r=o(i),r!==null)return r;r=null}else if(u===3){if(i.stateNode.current.memoizedState.isDehydrated)return i.tag===3?i.stateNode.containerInfo:null;r=null}else i!==r&&(r=null)}}return t0=r,null}function lb(r){switch(r){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(un()){case Dt:return 2;case en:return 8;case Un:case yi:return 32;case ya:return 268435456;default:return 32}default:return 32}}var Lh=!1,Yi=null,ji=null,Gi=null,Wu=new Map,Qu=new Map,Vi=[],kT="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function ub(r,i){switch(r){case"focusin":case"focusout":Yi=null;break;case"dragenter":case"dragleave":ji=null;break;case"mouseover":case"mouseout":Gi=null;break;case"pointerover":case"pointerout":Wu.delete(i.pointerId);break;case"gotpointercapture":case"lostpointercapture":Qu.delete(i.pointerId)}}function Zu(r,i,u,c,m,b){return r===null||r.nativeEvent!==b?(r={blockedOn:i,domEventName:u,eventSystemFlags:c,nativeEvent:b,targetContainers:[m]},i!==null&&(i=Si(i),i!==null&&sb(i)),r):(r.eventSystemFlags|=c,i=r.targetContainers,m!==null&&i.indexOf(m)===-1&&i.push(m),r)}function NT(r,i,u,c,m){switch(i){case"focusin":return Yi=Zu(Yi,r,i,u,c,m),!0;case"dragenter":return ji=Zu(ji,r,i,u,c,m),!0;case"mouseover":return Gi=Zu(Gi,r,i,u,c,m),!0;case"pointerover":var b=m.pointerId;return Wu.set(b,Zu(Wu.get(b)||null,r,i,u,c,m)),!0;case"gotpointercapture":return b=m.pointerId,Qu.set(b,Zu(Qu.get(b)||null,r,i,u,c,m)),!0}return!1}function ob(r){var i=_i(r.target);if(i!==null){var u=l(i);if(u!==null){if(i=u.tag,i===13){if(i=o(u),i!==null){r.blockedOn=i,on(r.priority,function(){if(u.tag===13){var c=Ir();c=Be(c);var m=Zs(u,c);m!==null&&Lr(m,u,c),Rh(u,c)}});return}}else if(i===3&&u.stateNode.current.memoizedState.isDehydrated){r.blockedOn=u.tag===3?u.stateNode.containerInfo:null;return}}}r.blockedOn=null}function n0(r){if(r.blockedOn!==null)return!1;for(var i=r.targetContainers;0<i.length;){var u=Dh(r.nativeEvent);if(u===null){u=r.nativeEvent;var c=new u.constructor(u.type,u);gs=c,u.target.dispatchEvent(c),gs=null}else return i=Si(u),i!==null&&sb(i),r.blockedOn=u,!1;i.shift()}return!0}function cb(r,i,u){n0(r)&&u.delete(i)}function OT(){Lh=!1,Yi!==null&&n0(Yi)&&(Yi=null),ji!==null&&n0(ji)&&(ji=null),Gi!==null&&n0(Gi)&&(Gi=null),Wu.forEach(cb),Qu.forEach(cb)}function r0(r,i){r.blockedOn===i&&(r.blockedOn=null,Lh||(Lh=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,OT)))}var a0=null;function db(r){a0!==r&&(a0=r,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){a0===r&&(a0=null);for(var i=0;i<r.length;i+=3){var u=r[i],c=r[i+1],m=r[i+2];if(typeof c!="function"){if(Ih(c||u)===null)continue;break}var b=Si(u);b!==null&&(r.splice(i,3),i-=3,If(b,{pending:!0,data:m,method:u.method,action:c},c,m))}}))}function Ju(r){function i(H){return r0(H,r)}Yi!==null&&r0(Yi,r),ji!==null&&r0(ji,r),Gi!==null&&r0(Gi,r),Wu.forEach(i),Qu.forEach(i);for(var u=0;u<Vi.length;u++){var c=Vi[u];c.blockedOn===r&&(c.blockedOn=null)}for(;0<Vi.length&&(u=Vi[0],u.blockedOn===null);)ob(u),u.blockedOn===null&&Vi.shift();if(u=(r.ownerDocument||r).$$reactFormReplay,u!=null)for(c=0;c<u.length;c+=3){var m=u[c],b=u[c+1],x=m[Ke]||null;if(typeof b=="function")x||db(u);else if(x){var O=null;if(b&&b.hasAttribute("formAction")){if(m=b,x=b[Ke]||null)O=x.formAction;else if(Ih(m)!==null)continue}else O=x.action;typeof O=="function"?u[c+1]=O:(u.splice(c,3),c-=3),db(u)}}}function Bh(r){this._internalRoot=r}i0.prototype.render=Bh.prototype.render=function(r){var i=this._internalRoot;if(i===null)throw Error(a(409));var u=i.current,c=Ir();ab(u,c,r,i,null,null)},i0.prototype.unmount=Bh.prototype.unmount=function(){var r=this._internalRoot;if(r!==null){this._internalRoot=null;var i=r.containerInfo;ab(r.current,2,null,r,null,null),Fc(),i[Jt]=null}};function i0(r){this._internalRoot=r}i0.prototype.unstable_scheduleHydration=function(r){if(r){var i=tn();r={blockedOn:null,target:r,priority:i};for(var u=0;u<Vi.length&&i!==0&&i<Vi[u].priority;u++);Vi.splice(u,0,r),u===0&&ob(r)}};var fb=t.version;if(fb!=="19.1.0")throw Error(a(527,fb,"19.1.0"));he.findDOMNode=function(r){var i=r._reactInternals;if(i===void 0)throw typeof r.render=="function"?Error(a(188)):(r=Object.keys(r).join(","),Error(a(268,r)));return r=f(i),r=r!==null?h(r):null,r=r===null?null:r.stateNode,r};var RT={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:W,reconcilerVersion:"19.1.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var s0=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!s0.isDisabled&&s0.supportsFiber)try{fe=s0.inject(RT),xe=s0}catch{}}return to.createRoot=function(r,i){if(!s(r))throw Error(a(299));var u=!1,c="",m=k2,b=N2,x=O2,O=null;return i!=null&&(i.unstable_strictMode===!0&&(u=!0),i.identifierPrefix!==void 0&&(c=i.identifierPrefix),i.onUncaughtError!==void 0&&(m=i.onUncaughtError),i.onCaughtError!==void 0&&(b=i.onCaughtError),i.onRecoverableError!==void 0&&(x=i.onRecoverableError),i.unstable_transitionCallbacks!==void 0&&(O=i.unstable_transitionCallbacks)),i=nb(r,1,!1,null,null,u,c,m,b,x,O,null),r[Jt]=i.current,Eh(r),new Bh(i)},to.hydrateRoot=function(r,i,u){if(!s(r))throw Error(a(299));var c=!1,m="",b=k2,x=N2,O=O2,H=null,se=null;return u!=null&&(u.unstable_strictMode===!0&&(c=!0),u.identifierPrefix!==void 0&&(m=u.identifierPrefix),u.onUncaughtError!==void 0&&(b=u.onUncaughtError),u.onCaughtError!==void 0&&(x=u.onCaughtError),u.onRecoverableError!==void 0&&(O=u.onRecoverableError),u.unstable_transitionCallbacks!==void 0&&(H=u.unstable_transitionCallbacks),u.formState!==void 0&&(se=u.formState)),i=nb(r,1,!0,i,u??null,c,m,b,x,O,H,se),i.context=rb(null),u=i.current,c=Ir(),c=Be(c),m=Ni(c),m.callback=null,Oi(u,m,c),u=c,i.current.lanes=u,vi(i,u),Aa(i),r[Jt]=i.current,Eh(r),new i0(i)},to.version="19.1.0",to}var _b;function FT(){if(_b)return zh.exports;_b=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),zh.exports=zT(),zh.exports}var HT=FT();/**
|
|
50
|
-
* react-router v7.9.6
|
|
51
|
-
*
|
|
52
|
-
* Copyright (c) Remix Software Inc.
|
|
53
|
-
*
|
|
54
|
-
* This source code is licensed under the MIT license found in the
|
|
55
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
56
|
-
*
|
|
57
|
-
* @license MIT
|
|
58
|
-
*/var Sb="popstate";function qT(e={}){function t(a,s){let{pathname:l,search:o,hash:d}=a.location;return $1("",{pathname:l,search:o,hash:d},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function n(a,s){return typeof s=="string"?s:Ao(s)}return jT(t,n,null,e)}function sn(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function na(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function YT(){return Math.random().toString(36).substring(2,10)}function xb(e,t){return{usr:e.state,key:e.key,idx:t}}function $1(e,t,n=null,a){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?ql(t):t,state:n,key:t&&t.key||a||YT()}}function Ao({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function ql(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let a=e.indexOf("?");a>=0&&(t.search=e.substring(a),e=e.substring(0,a)),e&&(t.pathname=e)}return t}function jT(e,t,n,a={}){let{window:s=document.defaultView,v5Compat:l=!1}=a,o=s.history,d="POP",f=null,h=p();h==null&&(h=0,o.replaceState({...o.state,idx:h},""));function p(){return(o.state||{idx:null}).idx}function g(){d="POP";let N=p(),k=N==null?null:N-h;h=N,f&&f({action:d,location:w.location,delta:k})}function v(N,k){d="PUSH";let M=$1(w.location,N,k);h=p()+1;let I=xb(M,h),X=w.createHref(M);try{o.pushState(I,"",X)}catch(G){if(G instanceof DOMException&&G.name==="DataCloneError")throw G;s.location.assign(X)}l&&f&&f({action:d,location:w.location,delta:1})}function y(N,k){d="REPLACE";let M=$1(w.location,N,k);h=p();let I=xb(M,h),X=w.createHref(M);o.replaceState(I,"",X),l&&f&&f({action:d,location:w.location,delta:0})}function S(N){return GT(N)}let w={get action(){return d},get location(){return e(s,o)},listen(N){if(f)throw new Error("A history only accepts one active listener");return s.addEventListener(Sb,g),f=N,()=>{s.removeEventListener(Sb,g),f=null}},createHref(N){return t(s,N)},createURL:S,encodeLocation(N){let k=S(N);return{pathname:k.pathname,search:k.search,hash:k.hash}},push:v,replace:y,go(N){return o.go(N)}};return w}function GT(e,t=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),sn(n,"No window.location.(origin|href) available to create URL");let a=typeof e=="string"?e:Ao(e);return a=a.replace(/ $/,"%20"),!t&&a.startsWith("//")&&(a=n+a),new URL(a,n)}function dE(e,t,n="/"){return VT(e,t,n,!1)}function VT(e,t,n,a){let s=typeof t=="string"?ql(t):t,l=di(s.pathname||"/",n);if(l==null)return null;let o=fE(e);$T(o);let d=null;for(let f=0;d==null&&f<o.length;++f){let h=a9(l);d=n9(o[f],h,a)}return d}function fE(e,t=[],n=[],a="",s=!1){let l=(o,d,f=s,h)=>{let p={relativePath:h===void 0?o.path||"":h,caseSensitive:o.caseSensitive===!0,childrenIndex:d,route:o};if(p.relativePath.startsWith("/")){if(!p.relativePath.startsWith(a)&&f)return;sn(p.relativePath.startsWith(a),`Absolute route path "${p.relativePath}" nested under path "${a}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),p.relativePath=p.relativePath.slice(a.length)}let g=ui([a,p.relativePath]),v=n.concat(p);o.children&&o.children.length>0&&(sn(o.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${g}".`),fE(o.children,t,v,g,f)),!(o.path==null&&!o.index)&&t.push({path:g,score:e9(g,o.index),routesMeta:v})};return e.forEach((o,d)=>{var f;if(o.path===""||!((f=o.path)!=null&&f.includes("?")))l(o,d);else for(let h of hE(o.path))l(o,d,!0,h)}),t}function hE(e){let t=e.split("/");if(t.length===0)return[];let[n,...a]=t,s=n.endsWith("?"),l=n.replace(/\?$/,"");if(a.length===0)return s?[l,""]:[l];let o=hE(a.join("/")),d=[];return d.push(...o.map(f=>f===""?l:[l,f].join("/"))),s&&d.push(...o),d.map(f=>e.startsWith("/")&&f===""?"/":f)}function $T(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:t9(t.routesMeta.map(a=>a.childrenIndex),n.routesMeta.map(a=>a.childrenIndex)))}var KT=/^:[\w-]+$/,XT=3,WT=2,QT=1,ZT=10,JT=-2,Ab=e=>e==="*";function e9(e,t){let n=e.split("/"),a=n.length;return n.some(Ab)&&(a+=JT),t&&(a+=WT),n.filter(s=>!Ab(s)).reduce((s,l)=>s+(KT.test(l)?XT:l===""?QT:ZT),a)}function t9(e,t){return e.length===t.length&&e.slice(0,-1).every((a,s)=>a===t[s])?e[e.length-1]-t[t.length-1]:0}function n9(e,t,n=!1){let{routesMeta:a}=e,s={},l="/",o=[];for(let d=0;d<a.length;++d){let f=a[d],h=d===a.length-1,p=l==="/"?t:t.slice(l.length)||"/",g=G0({path:f.relativePath,caseSensitive:f.caseSensitive,end:h},p),v=f.route;if(!g&&h&&n&&!a[a.length-1].route.index&&(g=G0({path:f.relativePath,caseSensitive:f.caseSensitive,end:!1},p)),!g)return null;Object.assign(s,g.params),o.push({params:s,pathname:ui([l,g.pathname]),pathnameBase:o9(ui([l,g.pathnameBase])),route:v}),g.pathnameBase!=="/"&&(l=ui([l,g.pathnameBase]))}return o}function G0(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,a]=r9(e.path,e.caseSensitive,e.end),s=t.match(n);if(!s)return null;let l=s[0],o=l.replace(/(.)\/+$/,"$1"),d=s.slice(1);return{params:a.reduce((h,{paramName:p,isOptional:g},v)=>{if(p==="*"){let S=d[v]||"";o=l.slice(0,l.length-S.length).replace(/(.)\/+$/,"$1")}const y=d[v];return g&&!y?h[p]=void 0:h[p]=(y||"").replace(/%2F/g,"/"),h},{}),pathname:l,pathnameBase:o,pattern:e}}function r9(e,t=!1,n=!0){na(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let a=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,d,f)=>(a.push({paramName:d,isOptional:f!=null}),f?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(a.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,t?void 0:"i"),a]}function a9(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return na(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function di(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,a=e.charAt(n);return a&&a!=="/"?null:e.slice(n)||"/"}var i9=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,s9=e=>i9.test(e);function l9(e,t="/"){let{pathname:n,search:a="",hash:s=""}=typeof e=="string"?ql(e):e,l;if(n)if(s9(n))l=n;else{if(n.includes("//")){let o=n;n=n.replace(/\/\/+/g,"/"),na(!1,`Pathnames cannot have embedded double slashes - normalizing ${o} -> ${n}`)}n.startsWith("/")?l=wb(n.substring(1),"/"):l=wb(n,t)}else l=t;return{pathname:l,search:c9(a),hash:d9(s)}}function wb(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(s=>{s===".."?n.length>1&&n.pop():s!=="."&&n.push(s)}),n.length>1?n.join("/"):"/"}function Yh(e,t,n,a){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(a)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function u9(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Fm(e){let t=u9(e);return t.map((n,a)=>a===t.length-1?n.pathname:n.pathnameBase)}function Hm(e,t,n,a=!1){let s;typeof e=="string"?s=ql(e):(s={...e},sn(!s.pathname||!s.pathname.includes("?"),Yh("?","pathname","search",s)),sn(!s.pathname||!s.pathname.includes("#"),Yh("#","pathname","hash",s)),sn(!s.search||!s.search.includes("#"),Yh("#","search","hash",s)));let l=e===""||s.pathname==="",o=l?"/":s.pathname,d;if(o==null)d=n;else{let g=t.length-1;if(!a&&o.startsWith("..")){let v=o.split("/");for(;v[0]==="..";)v.shift(),g-=1;s.pathname=v.join("/")}d=g>=0?t[g]:"/"}let f=l9(s,d),h=o&&o!=="/"&&o.endsWith("/"),p=(l||o===".")&&n.endsWith("/");return!f.pathname.endsWith("/")&&(h||p)&&(f.pathname+="/"),f}var ui=e=>e.join("/").replace(/\/\/+/g,"/"),o9=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),c9=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,d9=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function f9(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var mE=["POST","PUT","PATCH","DELETE"];new Set(mE);var h9=["GET",...mE];new Set(h9);var Yl=V.createContext(null);Yl.displayName="DataRouter";var cd=V.createContext(null);cd.displayName="DataRouterState";V.createContext(!1);var pE=V.createContext({isTransitioning:!1});pE.displayName="ViewTransition";var m9=V.createContext(new Map);m9.displayName="Fetchers";var p9=V.createContext(null);p9.displayName="Await";var ba=V.createContext(null);ba.displayName="Navigation";var Do=V.createContext(null);Do.displayName="Location";var Ia=V.createContext({outlet:null,matches:[],isDataRoute:!1});Ia.displayName="Route";var qm=V.createContext(null);qm.displayName="RouteError";function g9(e,{relative:t}={}){sn(jl(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:a}=V.useContext(ba),{hash:s,pathname:l,search:o}=Io(e,{relative:t}),d=l;return n!=="/"&&(d=l==="/"?n:ui([n,l])),a.createHref({pathname:d,search:o,hash:s})}function jl(){return V.useContext(Do)!=null}function gi(){return sn(jl(),"useLocation() may be used only in the context of a <Router> component."),V.useContext(Do).location}var gE="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function bE(e){V.useContext(ba).static||V.useLayoutEffect(e)}function EE(){let{isDataRoute:e}=V.useContext(Ia);return e?N9():b9()}function b9(){sn(jl(),"useNavigate() may be used only in the context of a <Router> component.");let e=V.useContext(Yl),{basename:t,navigator:n}=V.useContext(ba),{matches:a}=V.useContext(Ia),{pathname:s}=gi(),l=JSON.stringify(Fm(a)),o=V.useRef(!1);return bE(()=>{o.current=!0}),V.useCallback((f,h={})=>{if(na(o.current,gE),!o.current)return;if(typeof f=="number"){n.go(f);return}let p=Hm(f,JSON.parse(l),s,h.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:ui([t,p.pathname])),(h.replace?n.replace:n.push)(p,h.state,h)},[t,n,l,s,e])}V.createContext(null);function Io(e,{relative:t}={}){let{matches:n}=V.useContext(Ia),{pathname:a}=gi(),s=JSON.stringify(Fm(n));return V.useMemo(()=>Hm(e,JSON.parse(s),a,t==="path"),[e,s,a,t])}function E9(e,t){return yE(e,t)}function yE(e,t,n,a,s){var M;sn(jl(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:l}=V.useContext(ba),{matches:o}=V.useContext(Ia),d=o[o.length-1],f=d?d.params:{},h=d?d.pathname:"/",p=d?d.pathnameBase:"/",g=d&&d.route;{let I=g&&g.path||"";vE(h,!g||I.endsWith("*")||I.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${h}" (under <Route path="${I}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
|
|
59
|
-
|
|
60
|
-
Please change the parent <Route path="${I}"> to <Route path="${I==="/"?"*":`${I}/*`}">.`)}let v=gi(),y;if(t){let I=typeof t=="string"?ql(t):t;sn(p==="/"||((M=I.pathname)==null?void 0:M.startsWith(p)),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${p}" but pathname "${I.pathname}" was given in the \`location\` prop.`),y=I}else y=v;let S=y.pathname||"/",w=S;if(p!=="/"){let I=p.replace(/^\//,"").split("/");w="/"+S.replace(/^\//,"").split("/").slice(I.length).join("/")}let N=dE(e,{pathname:w});na(g||N!=null,`No routes matched location "${y.pathname}${y.search}${y.hash}" `),na(N==null||N[N.length-1].route.element!==void 0||N[N.length-1].route.Component!==void 0||N[N.length-1].route.lazy!==void 0,`Matched leaf route at location "${y.pathname}${y.search}${y.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let k=S9(N&&N.map(I=>Object.assign({},I,{params:Object.assign({},f,I.params),pathname:ui([p,l.encodeLocation?l.encodeLocation(I.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:I.pathname]),pathnameBase:I.pathnameBase==="/"?p:ui([p,l.encodeLocation?l.encodeLocation(I.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:I.pathnameBase])})),o,n,a,s);return t&&k?V.createElement(Do.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...y},navigationType:"POP"}},k):k}function y9(){let e=k9(),t=f9(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,a="rgba(200,200,200, 0.5)",s={padding:"0.5rem",backgroundColor:a},l={padding:"2px 4px",backgroundColor:a},o=null;return console.error("Error handled by React Router default ErrorBoundary:",e),o=V.createElement(V.Fragment,null,V.createElement("p",null,"💿 Hey developer 👋"),V.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",V.createElement("code",{style:l},"ErrorBoundary")," or"," ",V.createElement("code",{style:l},"errorElement")," prop on your route.")),V.createElement(V.Fragment,null,V.createElement("h2",null,"Unexpected Application Error!"),V.createElement("h3",{style:{fontStyle:"italic"}},t),n?V.createElement("pre",{style:s},n):null,o)}var v9=V.createElement(y9,null),T9=class extends V.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error("React Router caught the following error during render",e)}render(){return this.state.error!==void 0?V.createElement(Ia.Provider,{value:this.props.routeContext},V.createElement(qm.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function _9({routeContext:e,match:t,children:n}){let a=V.useContext(Yl);return a&&a.static&&a.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=t.route.id),V.createElement(Ia.Provider,{value:e},n)}function S9(e,t=[],n=null,a=null,s=null){if(e==null){if(!n)return null;if(n.errors)e=n.matches;else if(t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let l=e,o=n==null?void 0:n.errors;if(o!=null){let p=l.findIndex(g=>g.route.id&&(o==null?void 0:o[g.route.id])!==void 0);sn(p>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(o).join(",")}`),l=l.slice(0,Math.min(l.length,p+1))}let d=!1,f=-1;if(n)for(let p=0;p<l.length;p++){let g=l[p];if((g.route.HydrateFallback||g.route.hydrateFallbackElement)&&(f=p),g.route.id){let{loaderData:v,errors:y}=n,S=g.route.loader&&!v.hasOwnProperty(g.route.id)&&(!y||y[g.route.id]===void 0);if(g.route.lazy||S){d=!0,f>=0?l=l.slice(0,f+1):l=[l[0]];break}}}let h=n&&a?(p,g)=>{var v,y;a(p,{location:n.location,params:((y=(v=n.matches)==null?void 0:v[0])==null?void 0:y.params)??{},errorInfo:g})}:void 0;return l.reduceRight((p,g,v)=>{let y,S=!1,w=null,N=null;n&&(y=o&&g.route.id?o[g.route.id]:void 0,w=g.route.errorElement||v9,d&&(f<0&&v===0?(vE("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),S=!0,N=null):f===v&&(S=!0,N=g.route.hydrateFallbackElement||null)));let k=t.concat(l.slice(0,v+1)),M=()=>{let I;return y?I=w:S?I=N:g.route.Component?I=V.createElement(g.route.Component,null):g.route.element?I=g.route.element:I=p,V.createElement(_9,{match:g,routeContext:{outlet:p,matches:k,isDataRoute:n!=null},children:I})};return n&&(g.route.ErrorBoundary||g.route.errorElement||v===0)?V.createElement(T9,{location:n.location,revalidation:n.revalidation,component:w,error:y,children:M(),routeContext:{outlet:null,matches:k,isDataRoute:!0},onError:h}):M()},null)}function Ym(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function x9(e){let t=V.useContext(Yl);return sn(t,Ym(e)),t}function A9(e){let t=V.useContext(cd);return sn(t,Ym(e)),t}function w9(e){let t=V.useContext(Ia);return sn(t,Ym(e)),t}function jm(e){let t=w9(e),n=t.matches[t.matches.length-1];return sn(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function C9(){return jm("useRouteId")}function k9(){var a;let e=V.useContext(qm),t=A9("useRouteError"),n=jm("useRouteError");return e!==void 0?e:(a=t.errors)==null?void 0:a[n]}function N9(){let{router:e}=x9("useNavigate"),t=jm("useNavigate"),n=V.useRef(!1);return bE(()=>{n.current=!0}),V.useCallback(async(s,l={})=>{na(n.current,gE),n.current&&(typeof s=="number"?e.navigate(s):await e.navigate(s,{fromRouteId:t,...l}))},[e,t])}var Cb={};function vE(e,t,n){!t&&!Cb[e]&&(Cb[e]=!0,na(!1,n))}V.memo(O9);function O9({routes:e,future:t,state:n,unstable_onError:a}){return yE(e,void 0,n,a,t)}function TE({to:e,replace:t,state:n,relative:a}){sn(jl(),"<Navigate> may be used only in the context of a <Router> component.");let{static:s}=V.useContext(ba);na(!s,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:l}=V.useContext(Ia),{pathname:o}=gi(),d=EE(),f=Hm(e,Fm(l),o,a==="path"),h=JSON.stringify(f);return V.useEffect(()=>{d(JSON.parse(h),{replace:t,state:n,relative:a})},[d,h,a,t,n]),null}function L0(e){sn(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function R9({basename:e="/",children:t=null,location:n,navigationType:a="POP",navigator:s,static:l=!1}){sn(!jl(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let o=e.replace(/^\/*/,"/"),d=V.useMemo(()=>({basename:o,navigator:s,static:l,future:{}}),[o,s,l]);typeof n=="string"&&(n=ql(n));let{pathname:f="/",search:h="",hash:p="",state:g=null,key:v="default"}=n,y=V.useMemo(()=>{let S=di(f,o);return S==null?null:{location:{pathname:S,search:h,hash:p,state:g,key:v},navigationType:a}},[o,f,h,p,g,v,a]);return na(y!=null,`<Router basename="${o}"> is not able to match the URL "${f}${h}${p}" because it does not start with the basename, so the <Router> won't render anything.`),y==null?null:V.createElement(ba.Provider,{value:d},V.createElement(Do.Provider,{children:t,value:y}))}function M9({children:e,location:t}){return E9(K1(e),t)}function K1(e,t=[]){let n=[];return V.Children.forEach(e,(a,s)=>{if(!V.isValidElement(a))return;let l=[...t,s];if(a.type===V.Fragment){n.push.apply(n,K1(a.props.children,l));return}sn(a.type===L0,`[${typeof a.type=="string"?a.type:a.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),sn(!a.props.index||!a.props.children,"An index route cannot have child routes.");let o={id:a.props.id||l.join("-"),caseSensitive:a.props.caseSensitive,element:a.props.element,Component:a.props.Component,index:a.props.index,path:a.props.path,middleware:a.props.middleware,loader:a.props.loader,action:a.props.action,hydrateFallbackElement:a.props.hydrateFallbackElement,HydrateFallback:a.props.HydrateFallback,errorElement:a.props.errorElement,ErrorBoundary:a.props.ErrorBoundary,hasErrorBoundary:a.props.hasErrorBoundary===!0||a.props.ErrorBoundary!=null||a.props.errorElement!=null,shouldRevalidate:a.props.shouldRevalidate,handle:a.props.handle,lazy:a.props.lazy};a.props.children&&(o.children=K1(a.props.children,l)),n.push(o)}),n}var B0="get",P0="application/x-www-form-urlencoded";function dd(e){return e!=null&&typeof e.tagName=="string"}function D9(e){return dd(e)&&e.tagName.toLowerCase()==="button"}function I9(e){return dd(e)&&e.tagName.toLowerCase()==="form"}function L9(e){return dd(e)&&e.tagName.toLowerCase()==="input"}function B9(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function P9(e,t){return e.button===0&&(!t||t==="_self")&&!B9(e)}var l0=null;function U9(){if(l0===null)try{new FormData(document.createElement("form"),0),l0=!1}catch{l0=!0}return l0}var z9=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function jh(e){return e!=null&&!z9.has(e)?(na(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${P0}"`),null):e}function F9(e,t){let n,a,s,l,o;if(I9(e)){let d=e.getAttribute("action");a=d?di(d,t):null,n=e.getAttribute("method")||B0,s=jh(e.getAttribute("enctype"))||P0,l=new FormData(e)}else if(D9(e)||L9(e)&&(e.type==="submit"||e.type==="image")){let d=e.form;if(d==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let f=e.getAttribute("formaction")||d.getAttribute("action");if(a=f?di(f,t):null,n=e.getAttribute("formmethod")||d.getAttribute("method")||B0,s=jh(e.getAttribute("formenctype"))||jh(d.getAttribute("enctype"))||P0,l=new FormData(d,e),!U9()){let{name:h,type:p,value:g}=e;if(p==="image"){let v=h?`${h}.`:"";l.append(`${v}x`,"0"),l.append(`${v}y`,"0")}else h&&l.append(h,g)}}else{if(dd(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=B0,a=null,s=P0,o=e}return l&&s==="text/plain"&&(o=l,l=void 0),{action:a,method:n.toLowerCase(),encType:s,formData:l,body:o}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Gm(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function H9(e,t,n){let a=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return a.pathname==="/"?a.pathname=`_root.${n}`:t&&di(a.pathname,t)==="/"?a.pathname=`${t.replace(/\/$/,"")}/_root.${n}`:a.pathname=`${a.pathname.replace(/\/$/,"")}.${n}`,a}async function q9(e,t){if(e.id in t)return t[e.id];try{let n=await import(e.module);return t[e.id]=n,n}catch(n){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(n),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function Y9(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function j9(e,t,n){let a=await Promise.all(e.map(async s=>{let l=t.routes[s.route.id];if(l){let o=await q9(l,n);return o.links?o.links():[]}return[]}));return K9(a.flat(1).filter(Y9).filter(s=>s.rel==="stylesheet"||s.rel==="preload").map(s=>s.rel==="stylesheet"?{...s,rel:"prefetch",as:"style"}:{...s,rel:"prefetch"}))}function kb(e,t,n,a,s,l){let o=(f,h)=>n[h]?f.route.id!==n[h].route.id:!0,d=(f,h)=>{var p;return n[h].pathname!==f.pathname||((p=n[h].route.path)==null?void 0:p.endsWith("*"))&&n[h].params["*"]!==f.params["*"]};return l==="assets"?t.filter((f,h)=>o(f,h)||d(f,h)):l==="data"?t.filter((f,h)=>{var g;let p=a.routes[f.route.id];if(!p||!p.hasLoader)return!1;if(o(f,h)||d(f,h))return!0;if(f.route.shouldRevalidate){let v=f.route.shouldRevalidate({currentUrl:new URL(s.pathname+s.search+s.hash,window.origin),currentParams:((g=n[0])==null?void 0:g.params)||{},nextUrl:new URL(e,window.origin),nextParams:f.params,defaultShouldRevalidate:!0});if(typeof v=="boolean")return v}return!0}):[]}function G9(e,t,{includeHydrateFallback:n}={}){return V9(e.map(a=>{let s=t.routes[a.route.id];if(!s)return[];let l=[s.module];return s.clientActionModule&&(l=l.concat(s.clientActionModule)),s.clientLoaderModule&&(l=l.concat(s.clientLoaderModule)),n&&s.hydrateFallbackModule&&(l=l.concat(s.hydrateFallbackModule)),s.imports&&(l=l.concat(s.imports)),l}).flat(1))}function V9(e){return[...new Set(e)]}function $9(e){let t={},n=Object.keys(e).sort();for(let a of n)t[a]=e[a];return t}function K9(e,t){let n=new Set;return new Set(t),e.reduce((a,s)=>{let l=JSON.stringify($9(s));return n.has(l)||(n.add(l),a.push({key:l,link:s})),a},[])}function _E(){let e=V.useContext(Yl);return Gm(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function X9(){let e=V.useContext(cd);return Gm(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var Vm=V.createContext(void 0);Vm.displayName="FrameworkContext";function SE(){let e=V.useContext(Vm);return Gm(e,"You must render this element inside a <HydratedRouter> element"),e}function W9(e,t){let n=V.useContext(Vm),[a,s]=V.useState(!1),[l,o]=V.useState(!1),{onFocus:d,onBlur:f,onMouseEnter:h,onMouseLeave:p,onTouchStart:g}=t,v=V.useRef(null);V.useEffect(()=>{if(e==="render"&&o(!0),e==="viewport"){let w=k=>{k.forEach(M=>{o(M.isIntersecting)})},N=new IntersectionObserver(w,{threshold:.5});return v.current&&N.observe(v.current),()=>{N.disconnect()}}},[e]),V.useEffect(()=>{if(a){let w=setTimeout(()=>{o(!0)},100);return()=>{clearTimeout(w)}}},[a]);let y=()=>{s(!0)},S=()=>{s(!1),o(!1)};return n?e!=="intent"?[l,v,{}]:[l,v,{onFocus:no(d,y),onBlur:no(f,S),onMouseEnter:no(h,y),onMouseLeave:no(p,S),onTouchStart:no(g,y)}]:[!1,v,{}]}function no(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function Q9({page:e,...t}){let{router:n}=_E(),a=V.useMemo(()=>dE(n.routes,e,n.basename),[n.routes,e,n.basename]);return a?V.createElement(J9,{page:e,matches:a,...t}):null}function Z9(e){let{manifest:t,routeModules:n}=SE(),[a,s]=V.useState([]);return V.useEffect(()=>{let l=!1;return j9(e,t,n).then(o=>{l||s(o)}),()=>{l=!0}},[e,t,n]),a}function J9({page:e,matches:t,...n}){let a=gi(),{manifest:s,routeModules:l}=SE(),{basename:o}=_E(),{loaderData:d,matches:f}=X9(),h=V.useMemo(()=>kb(e,t,f,s,a,"data"),[e,t,f,s,a]),p=V.useMemo(()=>kb(e,t,f,s,a,"assets"),[e,t,f,s,a]),g=V.useMemo(()=>{if(e===a.pathname+a.search+a.hash)return[];let S=new Set,w=!1;if(t.forEach(k=>{var I;let M=s.routes[k.route.id];!M||!M.hasLoader||(!h.some(X=>X.route.id===k.route.id)&&k.route.id in d&&((I=l[k.route.id])!=null&&I.shouldRevalidate)||M.hasClientLoader?w=!0:S.add(k.route.id))}),S.size===0)return[];let N=H9(e,o,"data");return w&&S.size>0&&N.searchParams.set("_routes",t.filter(k=>S.has(k.route.id)).map(k=>k.route.id).join(",")),[N.pathname+N.search]},[o,d,a,s,h,t,e,l]),v=V.useMemo(()=>G9(p,s),[p,s]),y=Z9(p);return V.createElement(V.Fragment,null,g.map(S=>V.createElement("link",{key:S,rel:"prefetch",as:"fetch",href:S,...n})),v.map(S=>V.createElement("link",{key:S,rel:"modulepreload",href:S,...n})),y.map(({key:S,link:w})=>V.createElement("link",{key:S,nonce:n.nonce,...w})))}function e_(...e){return t=>{e.forEach(n=>{typeof n=="function"?n(t):n!=null&&(n.current=t)})}}var xE=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{xE&&(window.__reactRouterVersion="7.9.6")}catch{}function t_({basename:e,children:t,window:n}){let a=V.useRef();a.current==null&&(a.current=qT({window:n,v5Compat:!0}));let s=a.current,[l,o]=V.useState({action:s.action,location:s.location}),d=V.useCallback(f=>{V.startTransition(()=>o(f))},[o]);return V.useLayoutEffect(()=>s.listen(d),[s,d]),V.createElement(R9,{basename:e,children:t,location:l.location,navigationType:l.action,navigator:s})}var AE=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,wE=V.forwardRef(function({onClick:t,discover:n="render",prefetch:a="none",relative:s,reloadDocument:l,replace:o,state:d,target:f,to:h,preventScrollReset:p,viewTransition:g,...v},y){let{basename:S}=V.useContext(ba),w=typeof h=="string"&&AE.test(h),N,k=!1;if(typeof h=="string"&&w&&(N=h,xE))try{let te=new URL(window.location.href),Y=h.startsWith("//")?new URL(te.protocol+h):new URL(h),ee=di(Y.pathname,S);Y.origin===te.origin&&ee!=null?h=ee+Y.search+Y.hash:k=!0}catch{na(!1,`<Link to="${h}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let M=g9(h,{relative:s}),[I,X,G]=W9(a,v),P=i_(h,{replace:o,state:d,target:f,preventScrollReset:p,relative:s,viewTransition:g});function Z(te){t&&t(te),te.defaultPrevented||P(te)}let ne=V.createElement("a",{...v,...G,href:N||M,onClick:k||l?t:Z,ref:e_(y,X),target:f,"data-discover":!w&&n==="render"?"true":void 0});return I&&!w?V.createElement(V.Fragment,null,ne,V.createElement(Q9,{page:M})):ne});wE.displayName="Link";var n_=V.forwardRef(function({"aria-current":t="page",caseSensitive:n=!1,className:a="",end:s=!1,style:l,to:o,viewTransition:d,children:f,...h},p){let g=Io(o,{relative:h.relative}),v=gi(),y=V.useContext(cd),{navigator:S,basename:w}=V.useContext(ba),N=y!=null&&c_(g)&&d===!0,k=S.encodeLocation?S.encodeLocation(g).pathname:g.pathname,M=v.pathname,I=y&&y.navigation&&y.navigation.location?y.navigation.location.pathname:null;n||(M=M.toLowerCase(),I=I?I.toLowerCase():null,k=k.toLowerCase()),I&&w&&(I=di(I,w)||I);const X=k!=="/"&&k.endsWith("/")?k.length-1:k.length;let G=M===k||!s&&M.startsWith(k)&&M.charAt(X)==="/",P=I!=null&&(I===k||!s&&I.startsWith(k)&&I.charAt(k.length)==="/"),Z={isActive:G,isPending:P,isTransitioning:N},ne=G?t:void 0,te;typeof a=="function"?te=a(Z):te=[a,G?"active":null,P?"pending":null,N?"transitioning":null].filter(Boolean).join(" ");let Y=typeof l=="function"?l(Z):l;return V.createElement(wE,{...h,"aria-current":ne,className:te,ref:p,style:Y,to:o,viewTransition:d},typeof f=="function"?f(Z):f)});n_.displayName="NavLink";var r_=V.forwardRef(({discover:e="render",fetcherKey:t,navigate:n,reloadDocument:a,replace:s,state:l,method:o=B0,action:d,onSubmit:f,relative:h,preventScrollReset:p,viewTransition:g,...v},y)=>{let S=u_(),w=o_(d,{relative:h}),N=o.toLowerCase()==="get"?"get":"post",k=typeof d=="string"&&AE.test(d),M=I=>{if(f&&f(I),I.defaultPrevented)return;I.preventDefault();let X=I.nativeEvent.submitter,G=(X==null?void 0:X.getAttribute("formmethod"))||o;S(X||I.currentTarget,{fetcherKey:t,method:G,navigate:n,replace:s,state:l,relative:h,preventScrollReset:p,viewTransition:g})};return V.createElement("form",{ref:y,method:N,action:w,onSubmit:a?f:M,...v,"data-discover":!k&&e==="render"?"true":void 0})});r_.displayName="Form";function a_(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function CE(e){let t=V.useContext(Yl);return sn(t,a_(e)),t}function i_(e,{target:t,replace:n,state:a,preventScrollReset:s,relative:l,viewTransition:o}={}){let d=EE(),f=gi(),h=Io(e,{relative:l});return V.useCallback(p=>{if(P9(p,t)){p.preventDefault();let g=n!==void 0?n:Ao(f)===Ao(h);d(e,{replace:g,state:a,preventScrollReset:s,relative:l,viewTransition:o})}},[f,d,h,n,a,t,e,s,l,o])}var s_=0,l_=()=>`__${String(++s_)}__`;function u_(){let{router:e}=CE("useSubmit"),{basename:t}=V.useContext(ba),n=C9();return V.useCallback(async(a,s={})=>{let{action:l,method:o,encType:d,formData:f,body:h}=F9(a,t);if(s.navigate===!1){let p=s.fetcherKey||l_();await e.fetch(p,n,s.action||l,{preventScrollReset:s.preventScrollReset,formData:f,body:h,formMethod:s.method||o,formEncType:s.encType||d,flushSync:s.flushSync})}else await e.navigate(s.action||l,{preventScrollReset:s.preventScrollReset,formData:f,body:h,formMethod:s.method||o,formEncType:s.encType||d,replace:s.replace,state:s.state,fromRouteId:n,flushSync:s.flushSync,viewTransition:s.viewTransition})},[e,t,n])}function o_(e,{relative:t}={}){let{basename:n}=V.useContext(ba),a=V.useContext(Ia);sn(a,"useFormAction must be used inside a RouteContext");let[s]=a.matches.slice(-1),l={...Io(e||".",{relative:t})},o=gi();if(e==null){l.search=o.search;let d=new URLSearchParams(l.search),f=d.getAll("index");if(f.some(p=>p==="")){d.delete("index"),f.filter(g=>g).forEach(g=>d.append("index",g));let p=d.toString();l.search=p?`?${p}`:""}}return(!e||e===".")&&s.route.index&&(l.search=l.search?l.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(l.pathname=l.pathname==="/"?n:ui([n,l.pathname])),Ao(l)}function c_(e,{relative:t}={}){let n=V.useContext(pE);sn(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:a}=CE("useViewTransitionState"),s=Io(e,{relative:t});if(!n.isTransitioning)return!1;let l=di(n.currentLocation.pathname,a)||n.currentLocation.pathname,o=di(n.nextLocation.pathname,a)||n.nextLocation.pathname;return G0(s.pathname,o)!=null||G0(s.pathname,l)!=null}function Nb(e){const t=[],n=String(e||"");let a=n.indexOf(","),s=0,l=!1;for(;!l;){a===-1&&(a=n.length,l=!0);const o=n.slice(s,a).trim();(o||!l)&&t.push(o),s=a+1,a=n.indexOf(",",s)}return t}function kE(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const d_=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,f_=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,h_={};function Ob(e,t){return(h_.jsx?f_:d_).test(e)}const m_=/[ \t\n\f\r]/g;function p_(e){return typeof e=="object"?e.type==="text"?Rb(e.value):!1:Rb(e)}function Rb(e){return e.replace(m_,"")===""}let Lo=class{constructor(t,n,a){this.normal=n,this.property=t,a&&(this.space=a)}};Lo.prototype.normal={};Lo.prototype.property={};Lo.prototype.space=void 0;function NE(e,t){const n={},a={};for(const s of e)Object.assign(n,s.property),Object.assign(a,s.normal);return new Lo(n,a,t)}function wo(e){return e.toLowerCase()}let Sr=class{constructor(t,n){this.attribute=n,this.property=t}};Sr.prototype.attribute="";Sr.prototype.booleanish=!1;Sr.prototype.boolean=!1;Sr.prototype.commaOrSpaceSeparated=!1;Sr.prototype.commaSeparated=!1;Sr.prototype.defined=!1;Sr.prototype.mustUseProperty=!1;Sr.prototype.number=!1;Sr.prototype.overloadedBoolean=!1;Sr.prototype.property="";Sr.prototype.spaceSeparated=!1;Sr.prototype.space=void 0;let g_=0;const Et=Fs(),On=Fs(),X1=Fs(),Oe=Fs(),Wt=Fs(),Dl=Fs(),Br=Fs();function Fs(){return 2**++g_}const W1=Object.freeze(Object.defineProperty({__proto__:null,boolean:Et,booleanish:On,commaOrSpaceSeparated:Br,commaSeparated:Dl,number:Oe,overloadedBoolean:X1,spaceSeparated:Wt},Symbol.toStringTag,{value:"Module"})),Gh=Object.keys(W1);let $m=class extends Sr{constructor(t,n,a,s){let l=-1;if(super(t,n),Mb(this,"space",s),typeof a=="number")for(;++l<Gh.length;){const o=Gh[l];Mb(this,Gh[l],(a&W1[o])===W1[o])}}};$m.prototype.defined=!0;function Mb(e,t,n){n&&(e[t]=n)}function Gl(e){const t={},n={};for(const[a,s]of Object.entries(e.properties)){const l=new $m(a,e.transform(e.attributes||{},a),s,e.space);e.mustUseProperty&&e.mustUseProperty.includes(a)&&(l.mustUseProperty=!0),t[a]=l,n[wo(a)]=a,n[wo(l.attribute)]=a}return new Lo(t,n,e.space)}const OE=Gl({properties:{ariaActiveDescendant:null,ariaAtomic:On,ariaAutoComplete:null,ariaBusy:On,ariaChecked:On,ariaColCount:Oe,ariaColIndex:Oe,ariaColSpan:Oe,ariaControls:Wt,ariaCurrent:null,ariaDescribedBy:Wt,ariaDetails:null,ariaDisabled:On,ariaDropEffect:Wt,ariaErrorMessage:null,ariaExpanded:On,ariaFlowTo:Wt,ariaGrabbed:On,ariaHasPopup:null,ariaHidden:On,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Wt,ariaLevel:Oe,ariaLive:null,ariaModal:On,ariaMultiLine:On,ariaMultiSelectable:On,ariaOrientation:null,ariaOwns:Wt,ariaPlaceholder:null,ariaPosInSet:Oe,ariaPressed:On,ariaReadOnly:On,ariaRelevant:null,ariaRequired:On,ariaRoleDescription:Wt,ariaRowCount:Oe,ariaRowIndex:Oe,ariaRowSpan:Oe,ariaSelected:On,ariaSetSize:Oe,ariaSort:null,ariaValueMax:Oe,ariaValueMin:Oe,ariaValueNow:Oe,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function RE(e,t){return t in e?e[t]:t}function ME(e,t){return RE(e,t.toLowerCase())}const b_=Gl({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Dl,acceptCharset:Wt,accessKey:Wt,action:null,allow:null,allowFullScreen:Et,allowPaymentRequest:Et,allowUserMedia:Et,alt:null,as:null,async:Et,autoCapitalize:null,autoComplete:Wt,autoFocus:Et,autoPlay:Et,blocking:Wt,capture:null,charSet:null,checked:Et,cite:null,className:Wt,cols:Oe,colSpan:null,content:null,contentEditable:On,controls:Et,controlsList:Wt,coords:Oe|Dl,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Et,defer:Et,dir:null,dirName:null,disabled:Et,download:X1,draggable:On,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Et,formTarget:null,headers:Wt,height:Oe,hidden:X1,high:Oe,href:null,hrefLang:null,htmlFor:Wt,httpEquiv:Wt,id:null,imageSizes:null,imageSrcSet:null,inert:Et,inputMode:null,integrity:null,is:null,isMap:Et,itemId:null,itemProp:Wt,itemRef:Wt,itemScope:Et,itemType:Wt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Et,low:Oe,manifest:null,max:null,maxLength:Oe,media:null,method:null,min:null,minLength:Oe,multiple:Et,muted:Et,name:null,nonce:null,noModule:Et,noValidate:Et,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Et,optimum:Oe,pattern:null,ping:Wt,placeholder:null,playsInline:Et,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Et,referrerPolicy:null,rel:Wt,required:Et,reversed:Et,rows:Oe,rowSpan:Oe,sandbox:Wt,scope:null,scoped:Et,seamless:Et,selected:Et,shadowRootClonable:Et,shadowRootDelegatesFocus:Et,shadowRootMode:null,shape:null,size:Oe,sizes:null,slot:null,span:Oe,spellCheck:On,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Oe,step:null,style:null,tabIndex:Oe,target:null,title:null,translate:null,type:null,typeMustMatch:Et,useMap:null,value:On,width:Oe,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Wt,axis:null,background:null,bgColor:null,border:Oe,borderColor:null,bottomMargin:Oe,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Et,declare:Et,event:null,face:null,frame:null,frameBorder:null,hSpace:Oe,leftMargin:Oe,link:null,longDesc:null,lowSrc:null,marginHeight:Oe,marginWidth:Oe,noResize:Et,noHref:Et,noShade:Et,noWrap:Et,object:null,profile:null,prompt:null,rev:null,rightMargin:Oe,rules:null,scheme:null,scrolling:On,standby:null,summary:null,text:null,topMargin:Oe,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Oe,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Et,disableRemotePlayback:Et,prefix:null,property:null,results:Oe,security:null,unselectable:null},space:"html",transform:ME}),E_=Gl({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Br,accentHeight:Oe,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Oe,amplitude:Oe,arabicForm:null,ascent:Oe,attributeName:null,attributeType:null,azimuth:Oe,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Oe,by:null,calcMode:null,capHeight:Oe,className:Wt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Oe,diffuseConstant:Oe,direction:null,display:null,dur:null,divisor:Oe,dominantBaseline:null,download:Et,dx:null,dy:null,edgeMode:null,editable:null,elevation:Oe,enableBackground:null,end:null,event:null,exponent:Oe,externalResourcesRequired:null,fill:null,fillOpacity:Oe,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Dl,g2:Dl,glyphName:Dl,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Oe,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Oe,horizOriginX:Oe,horizOriginY:Oe,id:null,ideographic:Oe,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Oe,k:Oe,k1:Oe,k2:Oe,k3:Oe,k4:Oe,kernelMatrix:Br,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Oe,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Oe,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Oe,overlineThickness:Oe,paintOrder:null,panose1:null,path:null,pathLength:Oe,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Wt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Oe,pointsAtY:Oe,pointsAtZ:Oe,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Br,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Br,rev:Br,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Br,requiredFeatures:Br,requiredFonts:Br,requiredFormats:Br,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Oe,specularExponent:Oe,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Oe,strikethroughThickness:Oe,string:null,stroke:null,strokeDashArray:Br,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Oe,strokeOpacity:Oe,strokeWidth:null,style:null,surfaceScale:Oe,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Br,tabIndex:Oe,tableValues:null,target:null,targetX:Oe,targetY:Oe,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Br,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Oe,underlineThickness:Oe,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Oe,values:null,vAlphabetic:Oe,vMathematical:Oe,vectorEffect:null,vHanging:Oe,vIdeographic:Oe,version:null,vertAdvY:Oe,vertOriginX:Oe,vertOriginY:Oe,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Oe,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:RE}),DE=Gl({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),IE=Gl({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:ME}),LE=Gl({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),y_={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"},v_=/[A-Z]/g,Db=/-[a-z]/g,T_=/^data[-\w.:]+$/i;function Km(e,t){const n=wo(t);let a=t,s=Sr;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&T_.test(t)){if(t.charAt(4)==="-"){const l=t.slice(5).replace(Db,S_);a="data"+l.charAt(0).toUpperCase()+l.slice(1)}else{const l=t.slice(4);if(!Db.test(l)){let o=l.replace(v_,__);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}s=$m}return new s(a,t)}function __(e){return"-"+e.toLowerCase()}function S_(e){return e.charAt(1).toUpperCase()}const fd=NE([OE,b_,DE,IE,LE],"html"),Vl=NE([OE,E_,DE,IE,LE],"svg");function Ib(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function BE(e){return e.join(" ").trim()}var Sl={},Vh,Lb;function x_(){if(Lb)return Vh;Lb=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,s=/^:\s*/,l=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,o=/^[;\s]*/,d=/^\s+|\s+$/g,f=`
|
|
61
|
-
`,h="/",p="*",g="",v="comment",y="declaration";Vh=function(w,N){if(typeof w!="string")throw new TypeError("First argument must be a string");if(!w)return[];N=N||{};var k=1,M=1;function I(ge){var oe=ge.match(t);oe&&(k+=oe.length);var pe=ge.lastIndexOf(f);M=~pe?ge.length-pe:M+ge.length}function X(){var ge={line:k,column:M};return function(oe){return oe.position=new G(ge),ne(),oe}}function G(ge){this.start=ge,this.end={line:k,column:M},this.source=N.source}G.prototype.content=w;function P(ge){var oe=new Error(N.source+":"+k+":"+M+": "+ge);if(oe.reason=ge,oe.filename=N.source,oe.line=k,oe.column=M,oe.source=w,!N.silent)throw oe}function Z(ge){var oe=ge.exec(w);if(oe){var pe=oe[0];return I(pe),w=w.slice(pe.length),oe}}function ne(){Z(n)}function te(ge){var oe;for(ge=ge||[];oe=Y();)oe!==!1&&ge.push(oe);return ge}function Y(){var ge=X();if(!(h!=w.charAt(0)||p!=w.charAt(1))){for(var oe=2;g!=w.charAt(oe)&&(p!=w.charAt(oe)||h!=w.charAt(oe+1));)++oe;if(oe+=2,g===w.charAt(oe-1))return P("End of comment missing");var pe=w.slice(2,oe-2);return M+=2,I(pe),w=w.slice(oe),M+=2,ge({type:v,comment:pe})}}function ee(){var ge=X(),oe=Z(a);if(oe){if(Y(),!Z(s))return P("property missing ':'");var pe=Z(l),W=ge({type:y,property:S(oe[0].replace(e,g)),value:pe?S(pe[0].replace(e,g)):g});return Z(o),W}}function re(){var ge=[];te(ge);for(var oe;oe=ee();)oe!==!1&&(ge.push(oe),te(ge));return ge}return ne(),re()};function S(w){return w?w.replace(d,g):g}return Vh}var Bb;function A_(){if(Bb)return Sl;Bb=1;var e=Sl&&Sl.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(Sl,"__esModule",{value:!0}),Sl.default=n;var t=e(x_());function n(a,s){var l=null;if(!a||typeof a!="string")return l;var o=(0,t.default)(a),d=typeof s=="function";return o.forEach(function(f){if(f.type==="declaration"){var h=f.property,p=f.value;d?s(h,p,f):p&&(l=l||{},l[h]=p)}}),l}return Sl}var ro={},Pb;function w_(){if(Pb)return ro;Pb=1,Object.defineProperty(ro,"__esModule",{value:!0}),ro.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,n=/^[^-]+$/,a=/^-(webkit|moz|ms|o|khtml)-/,s=/^-(ms)-/,l=function(h){return!h||n.test(h)||e.test(h)},o=function(h,p){return p.toUpperCase()},d=function(h,p){return"".concat(p,"-")},f=function(h,p){return p===void 0&&(p={}),l(h)?h:(h=h.toLowerCase(),p.reactCompat?h=h.replace(s,d):h=h.replace(a,d),h.replace(t,o))};return ro.camelCase=f,ro}var ao,Ub;function C_(){if(Ub)return ao;Ub=1;var e=ao&&ao.__importDefault||function(s){return s&&s.__esModule?s:{default:s}},t=e(A_()),n=w_();function a(s,l){var o={};return!s||typeof s!="string"||(0,t.default)(s,function(d,f){d&&f&&(o[(0,n.camelCase)(d,l)]=f)}),o}return a.default=a,ao=a,ao}var k_=C_();const N_=ud(k_),hd=PE("end"),La=PE("start");function PE(e){return t;function t(n){const a=n&&n.position&&n.position[e]||{};if(typeof a.line=="number"&&a.line>0&&typeof a.column=="number"&&a.column>0)return{line:a.line,column:a.column,offset:typeof a.offset=="number"&&a.offset>-1?a.offset:void 0}}}function O_(e){const t=La(e),n=hd(e);if(t&&n)return{start:t,end:n}}function ho(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?zb(e.position):"start"in e||"end"in e?zb(e):"line"in e||"column"in e?Q1(e):""}function Q1(e){return Fb(e&&e.line)+":"+Fb(e&&e.column)}function zb(e){return Q1(e&&e.start)+"-"+Q1(e&&e.end)}function Fb(e){return e&&typeof e=="number"?e:1}class Jn extends Error{constructor(t,n,a){super(),typeof n=="string"&&(a=n,n=void 0);let s="",l={},o=!1;if(n&&("line"in n&&"column"in n?l={place:n}:"start"in n&&"end"in n?l={place:n}:"type"in n?l={ancestors:[n],place:n.position}:l={...n}),typeof t=="string"?s=t:!l.cause&&t&&(o=!0,s=t.message,l.cause=t),!l.ruleId&&!l.source&&typeof a=="string"){const f=a.indexOf(":");f===-1?l.ruleId=a:(l.source=a.slice(0,f),l.ruleId=a.slice(f+1))}if(!l.place&&l.ancestors&&l.ancestors){const f=l.ancestors[l.ancestors.length-1];f&&(l.place=f.position)}const d=l.place&&"start"in l.place?l.place.start:l.place;this.ancestors=l.ancestors||void 0,this.cause=l.cause||void 0,this.column=d?d.column:void 0,this.fatal=void 0,this.file,this.message=s,this.line=d?d.line:void 0,this.name=ho(l.place)||"1:1",this.place=l.place||void 0,this.reason=this.message,this.ruleId=l.ruleId||void 0,this.source=l.source||void 0,this.stack=o&&l.cause&&typeof l.cause.stack=="string"?l.cause.stack:"",this.actual,this.expected,this.note,this.url}}Jn.prototype.file="";Jn.prototype.name="";Jn.prototype.reason="";Jn.prototype.message="";Jn.prototype.stack="";Jn.prototype.column=void 0;Jn.prototype.line=void 0;Jn.prototype.ancestors=void 0;Jn.prototype.cause=void 0;Jn.prototype.fatal=void 0;Jn.prototype.place=void 0;Jn.prototype.ruleId=void 0;Jn.prototype.source=void 0;const Xm={}.hasOwnProperty,R_=new Map,M_=/[A-Z]/g,D_=new Set(["table","tbody","thead","tfoot","tr"]),I_=new Set(["td","th"]),UE="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function L_(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let a;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");a=Y_(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");a=q_(n,t.jsx,t.jsxs)}const s={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:a,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?Vl:fd,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},l=zE(s,e,void 0);return l&&typeof l!="string"?l:s.create(e,s.Fragment,{children:l||void 0},void 0)}function zE(e,t,n){if(t.type==="element")return B_(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return P_(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return z_(e,t,n);if(t.type==="mdxjsEsm")return U_(e,t);if(t.type==="root")return F_(e,t,n);if(t.type==="text")return H_(e,t)}function B_(e,t,n){const a=e.schema;let s=a;t.tagName.toLowerCase()==="svg"&&a.space==="html"&&(s=Vl,e.schema=s),e.ancestors.push(t);const l=HE(e,t.tagName,!1),o=j_(e,t);let d=Qm(e,t);return D_.has(t.tagName)&&(d=d.filter(function(f){return typeof f=="string"?!p_(f):!0})),FE(e,o,l,t),Wm(o,d),e.ancestors.pop(),e.schema=a,e.create(t,l,o,n)}function P_(e,t){if(t.data&&t.data.estree&&e.evaluater){const a=t.data.estree.body[0];return a.type,e.evaluater.evaluateExpression(a.expression)}Co(e,t.position)}function U_(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Co(e,t.position)}function z_(e,t,n){const a=e.schema;let s=a;t.name==="svg"&&a.space==="html"&&(s=Vl,e.schema=s),e.ancestors.push(t);const l=t.name===null?e.Fragment:HE(e,t.name,!0),o=G_(e,t),d=Qm(e,t);return FE(e,o,l,t),Wm(o,d),e.ancestors.pop(),e.schema=a,e.create(t,l,o,n)}function F_(e,t,n){const a={};return Wm(a,Qm(e,t)),e.create(t,e.Fragment,a,n)}function H_(e,t){return t.value}function FE(e,t,n,a){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=a)}function Wm(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function q_(e,t,n){return a;function a(s,l,o,d){const h=Array.isArray(o.children)?n:t;return d?h(l,o,d):h(l,o)}}function Y_(e,t){return n;function n(a,s,l,o){const d=Array.isArray(l.children),f=La(a);return t(s,l,o,d,{columnNumber:f?f.column-1:void 0,fileName:e,lineNumber:f?f.line:void 0},void 0)}}function j_(e,t){const n={};let a,s;for(s in t.properties)if(s!=="children"&&Xm.call(t.properties,s)){const l=V_(e,s,t.properties[s]);if(l){const[o,d]=l;e.tableCellAlignToStyle&&o==="align"&&typeof d=="string"&&I_.has(t.tagName)?a=d:n[o]=d}}if(a){const l=n.style||(n.style={});l[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=a}return n}function G_(e,t){const n={};for(const a of t.attributes)if(a.type==="mdxJsxExpressionAttribute")if(a.data&&a.data.estree&&e.evaluater){const l=a.data.estree.body[0];l.type;const o=l.expression;o.type;const d=o.properties[0];d.type,Object.assign(n,e.evaluater.evaluateExpression(d.argument))}else Co(e,t.position);else{const s=a.name;let l;if(a.value&&typeof a.value=="object")if(a.value.data&&a.value.data.estree&&e.evaluater){const d=a.value.data.estree.body[0];d.type,l=e.evaluater.evaluateExpression(d.expression)}else Co(e,t.position);else l=a.value===null?!0:a.value;n[s]=l}return n}function Qm(e,t){const n=[];let a=-1;const s=e.passKeys?new Map:R_;for(;++a<t.children.length;){const l=t.children[a];let o;if(e.passKeys){const f=l.type==="element"?l.tagName:l.type==="mdxJsxFlowElement"||l.type==="mdxJsxTextElement"?l.name:void 0;if(f){const h=s.get(f)||0;o=f+"-"+h,s.set(f,h+1)}}const d=zE(e,l,o);d!==void 0&&n.push(d)}return n}function V_(e,t,n){const a=Km(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=a.commaSeparated?kE(n):BE(n)),a.property==="style"){let s=typeof n=="object"?n:$_(e,String(n));return e.stylePropertyNameCase==="css"&&(s=K_(s)),["style",s]}return[e.elementAttributeNameCase==="react"&&a.space?y_[a.property]||a.property:a.attribute,n]}}function $_(e,t){try{return N_(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const a=n,s=new Jn("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:a,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw s.file=e.filePath||void 0,s.url=UE+"#cannot-parse-style-attribute",s}}function HE(e,t,n){let a;if(!n)a={type:"Literal",value:t};else if(t.includes(".")){const s=t.split(".");let l=-1,o;for(;++l<s.length;){const d=Ob(s[l])?{type:"Identifier",name:s[l]}:{type:"Literal",value:s[l]};o=o?{type:"MemberExpression",object:o,property:d,computed:!!(l&&d.type==="Literal"),optional:!1}:d}a=o}else a=Ob(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(a.type==="Literal"){const s=a.value;return Xm.call(e.components,s)?e.components[s]:s}if(e.evaluater)return e.evaluater.evaluateExpression(a);Co(e)}function Co(e,t){const n=new Jn("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=UE+"#cannot-handle-mdx-estrees-without-createevaluater",n}function K_(e){const t={};let n;for(n in e)Xm.call(e,n)&&(t[X_(n)]=e[n]);return t}function X_(e){let t=e.replace(M_,W_);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function W_(e){return"-"+e.toLowerCase()}const $h={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},Q_={};function Zm(e,t){const n=Q_,a=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,s=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return qE(e,a,s)}function qE(e,t,n){if(Z_(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Hb(e.children,t,n)}return Array.isArray(e)?Hb(e,t,n):""}function Hb(e,t,n){const a=[];let s=-1;for(;++s<e.length;)a[s]=qE(e[s],t,n);return a.join("")}function Z_(e){return!!(e&&typeof e=="object")}const qb=document.createElement("i");function Jm(e){const t="&"+e+";";qb.innerHTML=t;const n=qb.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function Fr(e,t,n,a){const s=e.length;let l=0,o;if(t<0?t=-t>s?0:s+t:t=t>s?s:t,n=n>0?n:0,a.length<1e4)o=Array.from(a),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);l<a.length;)o=a.slice(l,l+1e4),o.unshift(t,0),e.splice(...o),l+=1e4,t+=1e4}function Qr(e,t){return e.length>0?(Fr(e,e.length,0,t),e):t}const Yb={}.hasOwnProperty;function YE(e){const t={};let n=-1;for(;++n<e.length;)J_(t,e[n]);return t}function J_(e,t){let n;for(n in t){const s=(Yb.call(e,n)?e[n]:void 0)||(e[n]={}),l=t[n];let o;if(l)for(o in l){Yb.call(s,o)||(s[o]=[]);const d=l[o];eS(s[o],Array.isArray(d)?d:d?[d]:[])}}}function eS(e,t){let n=-1;const a=[];for(;++n<t.length;)(t[n].add==="after"?e:a).push(t[n]);Fr(e,0,0,a)}function jE(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function ga(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const or=us(/[A-Za-z]/),Zn=us(/[\dA-Za-z]/),tS=us(/[#-'*+\--9=?A-Z^-~]/);function V0(e){return e!==null&&(e<32||e===127)}const Z1=us(/\d/),nS=us(/[\dA-Fa-f]/),rS=us(/[!-/:-@[-`{-~]/);function Xe(e){return e!==null&&e<-2}function $t(e){return e!==null&&(e<0||e===32)}function Nt(e){return e===-2||e===-1||e===32}const md=us(new RegExp("\\p{P}|\\p{S}","u")),zs=us(/\s/);function us(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function $l(e){const t=[];let n=-1,a=0,s=0;for(;++n<e.length;){const l=e.charCodeAt(n);let o="";if(l===37&&Zn(e.charCodeAt(n+1))&&Zn(e.charCodeAt(n+2)))s=2;else if(l<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(l))||(o=String.fromCharCode(l));else if(l>55295&&l<57344){const d=e.charCodeAt(n+1);l<56320&&d>56319&&d<57344?(o=String.fromCharCode(l,d),s=1):o="�"}else o=String.fromCharCode(l);o&&(t.push(e.slice(a,n),encodeURIComponent(o)),a=n+s+1,o=""),s&&(n+=s,s=0)}return t.join("")+e.slice(a)}function At(e,t,n,a){const s=a?a-1:Number.POSITIVE_INFINITY;let l=0;return o;function o(f){return Nt(f)?(e.enter(n),d(f)):t(f)}function d(f){return Nt(f)&&l++<s?(e.consume(f),d):(e.exit(n),t(f))}}const aS={tokenize:iS};function iS(e){const t=e.attempt(this.parser.constructs.contentInitial,a,s);let n;return t;function a(d){if(d===null){e.consume(d);return}return e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),At(e,t,"linePrefix")}function s(d){return e.enter("paragraph"),l(d)}function l(d){const f=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=f),n=f,o(d)}function o(d){if(d===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(d);return}return Xe(d)?(e.consume(d),e.exit("chunkText"),l):(e.consume(d),o)}}const sS={tokenize:lS},jb={tokenize:uS};function lS(e){const t=this,n=[];let a=0,s,l,o;return d;function d(I){if(a<n.length){const X=n[a];return t.containerState=X[1],e.attempt(X[0].continuation,f,h)(I)}return h(I)}function f(I){if(a++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,s&&M();const X=t.events.length;let G=X,P;for(;G--;)if(t.events[G][0]==="exit"&&t.events[G][1].type==="chunkFlow"){P=t.events[G][1].end;break}k(a);let Z=X;for(;Z<t.events.length;)t.events[Z][1].end={...P},Z++;return Fr(t.events,G+1,0,t.events.slice(X)),t.events.length=Z,h(I)}return d(I)}function h(I){if(a===n.length){if(!s)return v(I);if(s.currentConstruct&&s.currentConstruct.concrete)return S(I);t.interrupt=!!(s.currentConstruct&&!s._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(jb,p,g)(I)}function p(I){return s&&M(),k(a),v(I)}function g(I){return t.parser.lazy[t.now().line]=a!==n.length,o=t.now().offset,S(I)}function v(I){return t.containerState={},e.attempt(jb,y,S)(I)}function y(I){return a++,n.push([t.currentConstruct,t.containerState]),v(I)}function S(I){if(I===null){s&&M(),k(0),e.consume(I);return}return s=s||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:s,contentType:"flow",previous:l}),w(I)}function w(I){if(I===null){N(e.exit("chunkFlow"),!0),k(0),e.consume(I);return}return Xe(I)?(e.consume(I),N(e.exit("chunkFlow")),a=0,t.interrupt=void 0,d):(e.consume(I),w)}function N(I,X){const G=t.sliceStream(I);if(X&&G.push(null),I.previous=l,l&&(l.next=I),l=I,s.defineSkip(I.start),s.write(G),t.parser.lazy[I.start.line]){let P=s.events.length;for(;P--;)if(s.events[P][1].start.offset<o&&(!s.events[P][1].end||s.events[P][1].end.offset>o))return;const Z=t.events.length;let ne=Z,te,Y;for(;ne--;)if(t.events[ne][0]==="exit"&&t.events[ne][1].type==="chunkFlow"){if(te){Y=t.events[ne][1].end;break}te=!0}for(k(a),P=Z;P<t.events.length;)t.events[P][1].end={...Y},P++;Fr(t.events,ne+1,0,t.events.slice(Z)),t.events.length=P}}function k(I){let X=n.length;for(;X-- >I;){const G=n[X];t.containerState=G[1],G[0].exit.call(t,e)}n.length=I}function M(){s.write([null]),l=void 0,s=void 0,t.containerState._closeFlow=void 0}}function uS(e,t,n){return At(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Bl(e){if(e===null||$t(e)||zs(e))return 1;if(md(e))return 2}function pd(e,t,n){const a=[];let s=-1;for(;++s<e.length;){const l=e[s].resolveAll;l&&!a.includes(l)&&(t=l(t,n),a.push(l))}return t}const J1={name:"attention",resolveAll:oS,tokenize:cS};function oS(e,t){let n=-1,a,s,l,o,d,f,h,p;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(a=n;a--;)if(e[a][0]==="exit"&&e[a][1].type==="attentionSequence"&&e[a][1]._open&&t.sliceSerialize(e[a][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[a][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[a][1].end.offset-e[a][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;f=e[a][1].end.offset-e[a][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const g={...e[a][1].end},v={...e[n][1].start};Gb(g,-f),Gb(v,f),o={type:f>1?"strongSequence":"emphasisSequence",start:g,end:{...e[a][1].end}},d={type:f>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:v},l={type:f>1?"strongText":"emphasisText",start:{...e[a][1].end},end:{...e[n][1].start}},s={type:f>1?"strong":"emphasis",start:{...o.start},end:{...d.end}},e[a][1].end={...o.start},e[n][1].start={...d.end},h=[],e[a][1].end.offset-e[a][1].start.offset&&(h=Qr(h,[["enter",e[a][1],t],["exit",e[a][1],t]])),h=Qr(h,[["enter",s,t],["enter",o,t],["exit",o,t],["enter",l,t]]),h=Qr(h,pd(t.parser.constructs.insideSpan.null,e.slice(a+1,n),t)),h=Qr(h,[["exit",l,t],["enter",d,t],["exit",d,t],["exit",s,t]]),e[n][1].end.offset-e[n][1].start.offset?(p=2,h=Qr(h,[["enter",e[n][1],t],["exit",e[n][1],t]])):p=0,Fr(e,a-1,n-a+3,h),n=a+h.length-p-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function cS(e,t){const n=this.parser.constructs.attentionMarkers.null,a=this.previous,s=Bl(a);let l;return o;function o(f){return l=f,e.enter("attentionSequence"),d(f)}function d(f){if(f===l)return e.consume(f),d;const h=e.exit("attentionSequence"),p=Bl(f),g=!p||p===2&&s||n.includes(f),v=!s||s===2&&p||n.includes(a);return h._open=!!(l===42?g:g&&(s||!v)),h._close=!!(l===42?v:v&&(p||!g)),t(f)}}function Gb(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const dS={name:"autolink",tokenize:fS};function fS(e,t,n){let a=0;return s;function s(y){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(y),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),l}function l(y){return or(y)?(e.consume(y),o):y===64?n(y):h(y)}function o(y){return y===43||y===45||y===46||Zn(y)?(a=1,d(y)):h(y)}function d(y){return y===58?(e.consume(y),a=0,f):(y===43||y===45||y===46||Zn(y))&&a++<32?(e.consume(y),d):(a=0,h(y))}function f(y){return y===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(y),e.exit("autolinkMarker"),e.exit("autolink"),t):y===null||y===32||y===60||V0(y)?n(y):(e.consume(y),f)}function h(y){return y===64?(e.consume(y),p):tS(y)?(e.consume(y),h):n(y)}function p(y){return Zn(y)?g(y):n(y)}function g(y){return y===46?(e.consume(y),a=0,p):y===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(y),e.exit("autolinkMarker"),e.exit("autolink"),t):v(y)}function v(y){if((y===45||Zn(y))&&a++<63){const S=y===45?v:g;return e.consume(y),S}return n(y)}}const Bo={partial:!0,tokenize:hS};function hS(e,t,n){return a;function a(l){return Nt(l)?At(e,s,"linePrefix")(l):s(l)}function s(l){return l===null||Xe(l)?t(l):n(l)}}const GE={continuation:{tokenize:pS},exit:gS,name:"blockQuote",tokenize:mS};function mS(e,t,n){const a=this;return s;function s(o){if(o===62){const d=a.containerState;return d.open||(e.enter("blockQuote",{_container:!0}),d.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(o),e.exit("blockQuoteMarker"),l}return n(o)}function l(o){return Nt(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(o))}}function pS(e,t,n){const a=this;return s;function s(o){return Nt(o)?At(e,l,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):l(o)}function l(o){return e.attempt(GE,t,n)(o)}}function gS(e){e.exit("blockQuote")}const VE={name:"characterEscape",tokenize:bS};function bS(e,t,n){return a;function a(l){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(l),e.exit("escapeMarker"),s}function s(l){return rS(l)?(e.enter("characterEscapeValue"),e.consume(l),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(l)}}const $E={name:"characterReference",tokenize:ES};function ES(e,t,n){const a=this;let s=0,l,o;return d;function d(g){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(g),e.exit("characterReferenceMarker"),f}function f(g){return g===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(g),e.exit("characterReferenceMarkerNumeric"),h):(e.enter("characterReferenceValue"),l=31,o=Zn,p(g))}function h(g){return g===88||g===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(g),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),l=6,o=nS,p):(e.enter("characterReferenceValue"),l=7,o=Z1,p(g))}function p(g){if(g===59&&s){const v=e.exit("characterReferenceValue");return o===Zn&&!Jm(a.sliceSerialize(v))?n(g):(e.enter("characterReferenceMarker"),e.consume(g),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return o(g)&&s++<l?(e.consume(g),p):n(g)}}const Vb={partial:!0,tokenize:vS},$b={concrete:!0,name:"codeFenced",tokenize:yS};function yS(e,t,n){const a=this,s={partial:!0,tokenize:G};let l=0,o=0,d;return f;function f(P){return h(P)}function h(P){const Z=a.events[a.events.length-1];return l=Z&&Z[1].type==="linePrefix"?Z[2].sliceSerialize(Z[1],!0).length:0,d=P,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),p(P)}function p(P){return P===d?(o++,e.consume(P),p):o<3?n(P):(e.exit("codeFencedFenceSequence"),Nt(P)?At(e,g,"whitespace")(P):g(P))}function g(P){return P===null||Xe(P)?(e.exit("codeFencedFence"),a.interrupt?t(P):e.check(Vb,w,X)(P)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),v(P))}function v(P){return P===null||Xe(P)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),g(P)):Nt(P)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),At(e,y,"whitespace")(P)):P===96&&P===d?n(P):(e.consume(P),v)}function y(P){return P===null||Xe(P)?g(P):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),S(P))}function S(P){return P===null||Xe(P)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),g(P)):P===96&&P===d?n(P):(e.consume(P),S)}function w(P){return e.attempt(s,X,N)(P)}function N(P){return e.enter("lineEnding"),e.consume(P),e.exit("lineEnding"),k}function k(P){return l>0&&Nt(P)?At(e,M,"linePrefix",l+1)(P):M(P)}function M(P){return P===null||Xe(P)?e.check(Vb,w,X)(P):(e.enter("codeFlowValue"),I(P))}function I(P){return P===null||Xe(P)?(e.exit("codeFlowValue"),M(P)):(e.consume(P),I)}function X(P){return e.exit("codeFenced"),t(P)}function G(P,Z,ne){let te=0;return Y;function Y(pe){return P.enter("lineEnding"),P.consume(pe),P.exit("lineEnding"),ee}function ee(pe){return P.enter("codeFencedFence"),Nt(pe)?At(P,re,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(pe):re(pe)}function re(pe){return pe===d?(P.enter("codeFencedFenceSequence"),ge(pe)):ne(pe)}function ge(pe){return pe===d?(te++,P.consume(pe),ge):te>=o?(P.exit("codeFencedFenceSequence"),Nt(pe)?At(P,oe,"whitespace")(pe):oe(pe)):ne(pe)}function oe(pe){return pe===null||Xe(pe)?(P.exit("codeFencedFence"),Z(pe)):ne(pe)}}}function vS(e,t,n){const a=this;return s;function s(o){return o===null?n(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),l)}function l(o){return a.parser.lazy[a.now().line]?n(o):t(o)}}const Kh={name:"codeIndented",tokenize:_S},TS={partial:!0,tokenize:SS};function _S(e,t,n){const a=this;return s;function s(h){return e.enter("codeIndented"),At(e,l,"linePrefix",5)(h)}function l(h){const p=a.events[a.events.length-1];return p&&p[1].type==="linePrefix"&&p[2].sliceSerialize(p[1],!0).length>=4?o(h):n(h)}function o(h){return h===null?f(h):Xe(h)?e.attempt(TS,o,f)(h):(e.enter("codeFlowValue"),d(h))}function d(h){return h===null||Xe(h)?(e.exit("codeFlowValue"),o(h)):(e.consume(h),d)}function f(h){return e.exit("codeIndented"),t(h)}}function SS(e,t,n){const a=this;return s;function s(o){return a.parser.lazy[a.now().line]?n(o):Xe(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),s):At(e,l,"linePrefix",5)(o)}function l(o){const d=a.events[a.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?t(o):Xe(o)?s(o):n(o)}}const xS={name:"codeText",previous:wS,resolve:AS,tokenize:CS};function AS(e){let t=e.length-4,n=3,a,s;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(a=n;++a<t;)if(e[a][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(a=n-1,t++;++a<=t;)s===void 0?a!==t&&e[a][1].type!=="lineEnding"&&(s=a):(a===t||e[a][1].type==="lineEnding")&&(e[s][1].type="codeTextData",a!==s+2&&(e[s][1].end=e[a-1][1].end,e.splice(s+2,a-s-2),t-=a-s-2,a=s+2),s=void 0);return e}function wS(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function CS(e,t,n){let a=0,s,l;return o;function o(g){return e.enter("codeText"),e.enter("codeTextSequence"),d(g)}function d(g){return g===96?(e.consume(g),a++,d):(e.exit("codeTextSequence"),f(g))}function f(g){return g===null?n(g):g===32?(e.enter("space"),e.consume(g),e.exit("space"),f):g===96?(l=e.enter("codeTextSequence"),s=0,p(g)):Xe(g)?(e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),f):(e.enter("codeTextData"),h(g))}function h(g){return g===null||g===32||g===96||Xe(g)?(e.exit("codeTextData"),f(g)):(e.consume(g),h)}function p(g){return g===96?(e.consume(g),s++,p):s===a?(e.exit("codeTextSequence"),e.exit("codeText"),t(g)):(l.type="codeTextData",h(g))}}class kS{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const a=n??Number.POSITIVE_INFINITY;return a<this.left.length?this.left.slice(t,a):t>this.left.length?this.right.slice(this.right.length-a+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-a+this.left.length).reverse())}splice(t,n,a){const s=n||0;this.setCursor(Math.trunc(t));const l=this.right.splice(this.right.length-s,Number.POSITIVE_INFINITY);return a&&io(this.left,a),l.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),io(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),io(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);io(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);io(this.left,n.reverse())}}}function io(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function KE(e){const t={};let n=-1,a,s,l,o,d,f,h;const p=new kS(e);for(;++n<p.length;){for(;n in t;)n=t[n];if(a=p.get(n),n&&a[1].type==="chunkFlow"&&p.get(n-1)[1].type==="listItemPrefix"&&(f=a[1]._tokenizer.events,l=0,l<f.length&&f[l][1].type==="lineEndingBlank"&&(l+=2),l<f.length&&f[l][1].type==="content"))for(;++l<f.length&&f[l][1].type!=="content";)f[l][1].type==="chunkText"&&(f[l][1]._isInFirstContentOfListItem=!0,l++);if(a[0]==="enter")a[1].contentType&&(Object.assign(t,NS(p,n)),n=t[n],h=!0);else if(a[1]._container){for(l=n,s=void 0;l--;)if(o=p.get(l),o[1].type==="lineEnding"||o[1].type==="lineEndingBlank")o[0]==="enter"&&(s&&(p.get(s)[1].type="lineEndingBlank"),o[1].type="lineEnding",s=l);else if(!(o[1].type==="linePrefix"||o[1].type==="listItemIndent"))break;s&&(a[1].end={...p.get(s)[1].start},d=p.slice(s,n),d.unshift(a),p.splice(s,n-s+1,d))}}return Fr(e,0,Number.POSITIVE_INFINITY,p.slice(0)),!h}function NS(e,t){const n=e.get(t)[1],a=e.get(t)[2];let s=t-1;const l=[];let o=n._tokenizer;o||(o=a.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));const d=o.events,f=[],h={};let p,g,v=-1,y=n,S=0,w=0;const N=[w];for(;y;){for(;e.get(++s)[1]!==y;);l.push(s),y._tokenizer||(p=a.sliceStream(y),y.next||p.push(null),g&&o.defineSkip(y.start),y._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(p),y._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),g=y,y=y.next}for(y=n;++v<d.length;)d[v][0]==="exit"&&d[v-1][0]==="enter"&&d[v][1].type===d[v-1][1].type&&d[v][1].start.line!==d[v][1].end.line&&(w=v+1,N.push(w),y._tokenizer=void 0,y.previous=void 0,y=y.next);for(o.events=[],y?(y._tokenizer=void 0,y.previous=void 0):N.pop(),v=N.length;v--;){const k=d.slice(N[v],N[v+1]),M=l.pop();f.push([M,M+k.length-1]),e.splice(M,2,k)}for(f.reverse(),v=-1;++v<f.length;)h[S+f[v][0]]=S+f[v][1],S+=f[v][1]-f[v][0]-1;return h}const OS={resolve:MS,tokenize:DS},RS={partial:!0,tokenize:IS};function MS(e){return KE(e),e}function DS(e,t){let n;return a;function a(d){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),s(d)}function s(d){return d===null?l(d):Xe(d)?e.check(RS,o,l)(d):(e.consume(d),s)}function l(d){return e.exit("chunkContent"),e.exit("content"),t(d)}function o(d){return e.consume(d),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,s}}function IS(e,t,n){const a=this;return s;function s(o){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),At(e,l,"linePrefix")}function l(o){if(o===null||Xe(o))return n(o);const d=a.events[a.events.length-1];return!a.parser.constructs.disable.null.includes("codeIndented")&&d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?t(o):e.interrupt(a.parser.constructs.flow,n,t)(o)}}function XE(e,t,n,a,s,l,o,d,f){const h=f||Number.POSITIVE_INFINITY;let p=0;return g;function g(k){return k===60?(e.enter(a),e.enter(s),e.enter(l),e.consume(k),e.exit(l),v):k===null||k===32||k===41||V0(k)?n(k):(e.enter(a),e.enter(o),e.enter(d),e.enter("chunkString",{contentType:"string"}),w(k))}function v(k){return k===62?(e.enter(l),e.consume(k),e.exit(l),e.exit(s),e.exit(a),t):(e.enter(d),e.enter("chunkString",{contentType:"string"}),y(k))}function y(k){return k===62?(e.exit("chunkString"),e.exit(d),v(k)):k===null||k===60||Xe(k)?n(k):(e.consume(k),k===92?S:y)}function S(k){return k===60||k===62||k===92?(e.consume(k),y):y(k)}function w(k){return!p&&(k===null||k===41||$t(k))?(e.exit("chunkString"),e.exit(d),e.exit(o),e.exit(a),t(k)):p<h&&k===40?(e.consume(k),p++,w):k===41?(e.consume(k),p--,w):k===null||k===32||k===40||V0(k)?n(k):(e.consume(k),k===92?N:w)}function N(k){return k===40||k===41||k===92?(e.consume(k),w):w(k)}}function WE(e,t,n,a,s,l){const o=this;let d=0,f;return h;function h(y){return e.enter(a),e.enter(s),e.consume(y),e.exit(s),e.enter(l),p}function p(y){return d>999||y===null||y===91||y===93&&!f||y===94&&!d&&"_hiddenFootnoteSupport"in o.parser.constructs?n(y):y===93?(e.exit(l),e.enter(s),e.consume(y),e.exit(s),e.exit(a),t):Xe(y)?(e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),p):(e.enter("chunkString",{contentType:"string"}),g(y))}function g(y){return y===null||y===91||y===93||Xe(y)||d++>999?(e.exit("chunkString"),p(y)):(e.consume(y),f||(f=!Nt(y)),y===92?v:g)}function v(y){return y===91||y===92||y===93?(e.consume(y),d++,g):g(y)}}function QE(e,t,n,a,s,l){let o;return d;function d(v){return v===34||v===39||v===40?(e.enter(a),e.enter(s),e.consume(v),e.exit(s),o=v===40?41:v,f):n(v)}function f(v){return v===o?(e.enter(s),e.consume(v),e.exit(s),e.exit(a),t):(e.enter(l),h(v))}function h(v){return v===o?(e.exit(l),f(o)):v===null?n(v):Xe(v)?(e.enter("lineEnding"),e.consume(v),e.exit("lineEnding"),At(e,h,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),p(v))}function p(v){return v===o||v===null||Xe(v)?(e.exit("chunkString"),h(v)):(e.consume(v),v===92?g:p)}function g(v){return v===o||v===92?(e.consume(v),p):p(v)}}function mo(e,t){let n;return a;function a(s){return Xe(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),n=!0,a):Nt(s)?At(e,a,n?"linePrefix":"lineSuffix")(s):t(s)}}const LS={name:"definition",tokenize:PS},BS={partial:!0,tokenize:US};function PS(e,t,n){const a=this;let s;return l;function l(y){return e.enter("definition"),o(y)}function o(y){return WE.call(a,e,d,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(y)}function d(y){return s=ga(a.sliceSerialize(a.events[a.events.length-1][1]).slice(1,-1)),y===58?(e.enter("definitionMarker"),e.consume(y),e.exit("definitionMarker"),f):n(y)}function f(y){return $t(y)?mo(e,h)(y):h(y)}function h(y){return XE(e,p,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(y)}function p(y){return e.attempt(BS,g,g)(y)}function g(y){return Nt(y)?At(e,v,"whitespace")(y):v(y)}function v(y){return y===null||Xe(y)?(e.exit("definition"),a.parser.defined.push(s),t(y)):n(y)}}function US(e,t,n){return a;function a(d){return $t(d)?mo(e,s)(d):n(d)}function s(d){return QE(e,l,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(d)}function l(d){return Nt(d)?At(e,o,"whitespace")(d):o(d)}function o(d){return d===null||Xe(d)?t(d):n(d)}}const zS={name:"hardBreakEscape",tokenize:FS};function FS(e,t,n){return a;function a(l){return e.enter("hardBreakEscape"),e.consume(l),s}function s(l){return Xe(l)?(e.exit("hardBreakEscape"),t(l)):n(l)}}const HS={name:"headingAtx",resolve:qS,tokenize:YS};function qS(e,t){let n=e.length-2,a=3,s,l;return e[a][1].type==="whitespace"&&(a+=2),n-2>a&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(a===n-1||n-4>a&&e[n-2][1].type==="whitespace")&&(n-=a+1===n?2:4),n>a&&(s={type:"atxHeadingText",start:e[a][1].start,end:e[n][1].end},l={type:"chunkText",start:e[a][1].start,end:e[n][1].end,contentType:"text"},Fr(e,a,n-a+1,[["enter",s,t],["enter",l,t],["exit",l,t],["exit",s,t]])),e}function YS(e,t,n){let a=0;return s;function s(p){return e.enter("atxHeading"),l(p)}function l(p){return e.enter("atxHeadingSequence"),o(p)}function o(p){return p===35&&a++<6?(e.consume(p),o):p===null||$t(p)?(e.exit("atxHeadingSequence"),d(p)):n(p)}function d(p){return p===35?(e.enter("atxHeadingSequence"),f(p)):p===null||Xe(p)?(e.exit("atxHeading"),t(p)):Nt(p)?At(e,d,"whitespace")(p):(e.enter("atxHeadingText"),h(p))}function f(p){return p===35?(e.consume(p),f):(e.exit("atxHeadingSequence"),d(p))}function h(p){return p===null||p===35||$t(p)?(e.exit("atxHeadingText"),d(p)):(e.consume(p),h)}}const jS=["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","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Kb=["pre","script","style","textarea"],GS={concrete:!0,name:"htmlFlow",resolveTo:KS,tokenize:XS},VS={partial:!0,tokenize:QS},$S={partial:!0,tokenize:WS};function KS(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 XS(e,t,n){const a=this;let s,l,o,d,f;return h;function h(D){return p(D)}function p(D){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(D),g}function g(D){return D===33?(e.consume(D),v):D===47?(e.consume(D),l=!0,w):D===63?(e.consume(D),s=3,a.interrupt?t:A):or(D)?(e.consume(D),o=String.fromCharCode(D),N):n(D)}function v(D){return D===45?(e.consume(D),s=2,y):D===91?(e.consume(D),s=5,d=0,S):or(D)?(e.consume(D),s=4,a.interrupt?t:A):n(D)}function y(D){return D===45?(e.consume(D),a.interrupt?t:A):n(D)}function S(D){const De="CDATA[";return D===De.charCodeAt(d++)?(e.consume(D),d===De.length?a.interrupt?t:re:S):n(D)}function w(D){return or(D)?(e.consume(D),o=String.fromCharCode(D),N):n(D)}function N(D){if(D===null||D===47||D===62||$t(D)){const De=D===47,qe=o.toLowerCase();return!De&&!l&&Kb.includes(qe)?(s=1,a.interrupt?t(D):re(D)):jS.includes(o.toLowerCase())?(s=6,De?(e.consume(D),k):a.interrupt?t(D):re(D)):(s=7,a.interrupt&&!a.parser.lazy[a.now().line]?n(D):l?M(D):I(D))}return D===45||Zn(D)?(e.consume(D),o+=String.fromCharCode(D),N):n(D)}function k(D){return D===62?(e.consume(D),a.interrupt?t:re):n(D)}function M(D){return Nt(D)?(e.consume(D),M):Y(D)}function I(D){return D===47?(e.consume(D),Y):D===58||D===95||or(D)?(e.consume(D),X):Nt(D)?(e.consume(D),I):Y(D)}function X(D){return D===45||D===46||D===58||D===95||Zn(D)?(e.consume(D),X):G(D)}function G(D){return D===61?(e.consume(D),P):Nt(D)?(e.consume(D),G):I(D)}function P(D){return D===null||D===60||D===61||D===62||D===96?n(D):D===34||D===39?(e.consume(D),f=D,Z):Nt(D)?(e.consume(D),P):ne(D)}function Z(D){return D===f?(e.consume(D),f=null,te):D===null||Xe(D)?n(D):(e.consume(D),Z)}function ne(D){return D===null||D===34||D===39||D===47||D===60||D===61||D===62||D===96||$t(D)?G(D):(e.consume(D),ne)}function te(D){return D===47||D===62||Nt(D)?I(D):n(D)}function Y(D){return D===62?(e.consume(D),ee):n(D)}function ee(D){return D===null||Xe(D)?re(D):Nt(D)?(e.consume(D),ee):n(D)}function re(D){return D===45&&s===2?(e.consume(D),W):D===60&&s===1?(e.consume(D),he):D===62&&s===4?(e.consume(D),Q):D===63&&s===3?(e.consume(D),A):D===93&&s===5?(e.consume(D),He):Xe(D)&&(s===6||s===7)?(e.exit("htmlFlowData"),e.check(VS,de,ge)(D)):D===null||Xe(D)?(e.exit("htmlFlowData"),ge(D)):(e.consume(D),re)}function ge(D){return e.check($S,oe,de)(D)}function oe(D){return e.enter("lineEnding"),e.consume(D),e.exit("lineEnding"),pe}function pe(D){return D===null||Xe(D)?ge(D):(e.enter("htmlFlowData"),re(D))}function W(D){return D===45?(e.consume(D),A):re(D)}function he(D){return D===47?(e.consume(D),o="",ye):re(D)}function ye(D){if(D===62){const De=o.toLowerCase();return Kb.includes(De)?(e.consume(D),Q):re(D)}return or(D)&&o.length<8?(e.consume(D),o+=String.fromCharCode(D),ye):re(D)}function He(D){return D===93?(e.consume(D),A):re(D)}function A(D){return D===62?(e.consume(D),Q):D===45&&s===2?(e.consume(D),A):re(D)}function Q(D){return D===null||Xe(D)?(e.exit("htmlFlowData"),de(D)):(e.consume(D),Q)}function de(D){return e.exit("htmlFlow"),t(D)}}function WS(e,t,n){const a=this;return s;function s(o){return Xe(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),l):n(o)}function l(o){return a.parser.lazy[a.now().line]?n(o):t(o)}}function QS(e,t,n){return a;function a(s){return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),e.attempt(Bo,t,n)}}const ZS={name:"htmlText",tokenize:JS};function JS(e,t,n){const a=this;let s,l,o;return d;function d(A){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(A),f}function f(A){return A===33?(e.consume(A),h):A===47?(e.consume(A),G):A===63?(e.consume(A),I):or(A)?(e.consume(A),ne):n(A)}function h(A){return A===45?(e.consume(A),p):A===91?(e.consume(A),l=0,S):or(A)?(e.consume(A),M):n(A)}function p(A){return A===45?(e.consume(A),y):n(A)}function g(A){return A===null?n(A):A===45?(e.consume(A),v):Xe(A)?(o=g,he(A)):(e.consume(A),g)}function v(A){return A===45?(e.consume(A),y):g(A)}function y(A){return A===62?W(A):A===45?v(A):g(A)}function S(A){const Q="CDATA[";return A===Q.charCodeAt(l++)?(e.consume(A),l===Q.length?w:S):n(A)}function w(A){return A===null?n(A):A===93?(e.consume(A),N):Xe(A)?(o=w,he(A)):(e.consume(A),w)}function N(A){return A===93?(e.consume(A),k):w(A)}function k(A){return A===62?W(A):A===93?(e.consume(A),k):w(A)}function M(A){return A===null||A===62?W(A):Xe(A)?(o=M,he(A)):(e.consume(A),M)}function I(A){return A===null?n(A):A===63?(e.consume(A),X):Xe(A)?(o=I,he(A)):(e.consume(A),I)}function X(A){return A===62?W(A):I(A)}function G(A){return or(A)?(e.consume(A),P):n(A)}function P(A){return A===45||Zn(A)?(e.consume(A),P):Z(A)}function Z(A){return Xe(A)?(o=Z,he(A)):Nt(A)?(e.consume(A),Z):W(A)}function ne(A){return A===45||Zn(A)?(e.consume(A),ne):A===47||A===62||$t(A)?te(A):n(A)}function te(A){return A===47?(e.consume(A),W):A===58||A===95||or(A)?(e.consume(A),Y):Xe(A)?(o=te,he(A)):Nt(A)?(e.consume(A),te):W(A)}function Y(A){return A===45||A===46||A===58||A===95||Zn(A)?(e.consume(A),Y):ee(A)}function ee(A){return A===61?(e.consume(A),re):Xe(A)?(o=ee,he(A)):Nt(A)?(e.consume(A),ee):te(A)}function re(A){return A===null||A===60||A===61||A===62||A===96?n(A):A===34||A===39?(e.consume(A),s=A,ge):Xe(A)?(o=re,he(A)):Nt(A)?(e.consume(A),re):(e.consume(A),oe)}function ge(A){return A===s?(e.consume(A),s=void 0,pe):A===null?n(A):Xe(A)?(o=ge,he(A)):(e.consume(A),ge)}function oe(A){return A===null||A===34||A===39||A===60||A===61||A===96?n(A):A===47||A===62||$t(A)?te(A):(e.consume(A),oe)}function pe(A){return A===47||A===62||$t(A)?te(A):n(A)}function W(A){return A===62?(e.consume(A),e.exit("htmlTextData"),e.exit("htmlText"),t):n(A)}function he(A){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(A),e.exit("lineEnding"),ye}function ye(A){return Nt(A)?At(e,He,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(A):He(A)}function He(A){return e.enter("htmlTextData"),o(A)}}const ep={name:"labelEnd",resolveAll:rx,resolveTo:ax,tokenize:ix},ex={tokenize:sx},tx={tokenize:lx},nx={tokenize:ux};function rx(e){let t=-1;const n=[];for(;++t<e.length;){const a=e[t][1];if(n.push(e[t]),a.type==="labelImage"||a.type==="labelLink"||a.type==="labelEnd"){const s=a.type==="labelImage"?4:2;a.type="data",t+=s}}return e.length!==n.length&&Fr(e,0,e.length,n),e}function ax(e,t){let n=e.length,a=0,s,l,o,d;for(;n--;)if(s=e[n][1],l){if(s.type==="link"||s.type==="labelLink"&&s._inactive)break;e[n][0]==="enter"&&s.type==="labelLink"&&(s._inactive=!0)}else if(o){if(e[n][0]==="enter"&&(s.type==="labelImage"||s.type==="labelLink")&&!s._balanced&&(l=n,s.type!=="labelLink")){a=2;break}}else s.type==="labelEnd"&&(o=n);const f={type:e[l][1].type==="labelLink"?"link":"image",start:{...e[l][1].start},end:{...e[e.length-1][1].end}},h={type:"label",start:{...e[l][1].start},end:{...e[o][1].end}},p={type:"labelText",start:{...e[l+a+2][1].end},end:{...e[o-2][1].start}};return d=[["enter",f,t],["enter",h,t]],d=Qr(d,e.slice(l+1,l+a+3)),d=Qr(d,[["enter",p,t]]),d=Qr(d,pd(t.parser.constructs.insideSpan.null,e.slice(l+a+4,o-3),t)),d=Qr(d,[["exit",p,t],e[o-2],e[o-1],["exit",h,t]]),d=Qr(d,e.slice(o+1)),d=Qr(d,[["exit",f,t]]),Fr(e,l,e.length,d),e}function ix(e,t,n){const a=this;let s=a.events.length,l,o;for(;s--;)if((a.events[s][1].type==="labelImage"||a.events[s][1].type==="labelLink")&&!a.events[s][1]._balanced){l=a.events[s][1];break}return d;function d(v){return l?l._inactive?g(v):(o=a.parser.defined.includes(ga(a.sliceSerialize({start:l.end,end:a.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(v),e.exit("labelMarker"),e.exit("labelEnd"),f):n(v)}function f(v){return v===40?e.attempt(ex,p,o?p:g)(v):v===91?e.attempt(tx,p,o?h:g)(v):o?p(v):g(v)}function h(v){return e.attempt(nx,p,g)(v)}function p(v){return t(v)}function g(v){return l._balanced=!0,n(v)}}function sx(e,t,n){return a;function a(g){return e.enter("resource"),e.enter("resourceMarker"),e.consume(g),e.exit("resourceMarker"),s}function s(g){return $t(g)?mo(e,l)(g):l(g)}function l(g){return g===41?p(g):XE(e,o,d,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(g)}function o(g){return $t(g)?mo(e,f)(g):p(g)}function d(g){return n(g)}function f(g){return g===34||g===39||g===40?QE(e,h,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(g):p(g)}function h(g){return $t(g)?mo(e,p)(g):p(g)}function p(g){return g===41?(e.enter("resourceMarker"),e.consume(g),e.exit("resourceMarker"),e.exit("resource"),t):n(g)}}function lx(e,t,n){const a=this;return s;function s(d){return WE.call(a,e,l,o,"reference","referenceMarker","referenceString")(d)}function l(d){return a.parser.defined.includes(ga(a.sliceSerialize(a.events[a.events.length-1][1]).slice(1,-1)))?t(d):n(d)}function o(d){return n(d)}}function ux(e,t,n){return a;function a(l){return e.enter("reference"),e.enter("referenceMarker"),e.consume(l),e.exit("referenceMarker"),s}function s(l){return l===93?(e.enter("referenceMarker"),e.consume(l),e.exit("referenceMarker"),e.exit("reference"),t):n(l)}}const ox={name:"labelStartImage",resolveAll:ep.resolveAll,tokenize:cx};function cx(e,t,n){const a=this;return s;function s(d){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(d),e.exit("labelImageMarker"),l}function l(d){return d===91?(e.enter("labelMarker"),e.consume(d),e.exit("labelMarker"),e.exit("labelImage"),o):n(d)}function o(d){return d===94&&"_hiddenFootnoteSupport"in a.parser.constructs?n(d):t(d)}}const dx={name:"labelStartLink",resolveAll:ep.resolveAll,tokenize:fx};function fx(e,t,n){const a=this;return s;function s(o){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelLink"),l}function l(o){return o===94&&"_hiddenFootnoteSupport"in a.parser.constructs?n(o):t(o)}}const Xh={name:"lineEnding",tokenize:hx};function hx(e,t){return n;function n(a){return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),At(e,t,"linePrefix")}}const U0={name:"thematicBreak",tokenize:mx};function mx(e,t,n){let a=0,s;return l;function l(h){return e.enter("thematicBreak"),o(h)}function o(h){return s=h,d(h)}function d(h){return h===s?(e.enter("thematicBreakSequence"),f(h)):a>=3&&(h===null||Xe(h))?(e.exit("thematicBreak"),t(h)):n(h)}function f(h){return h===s?(e.consume(h),a++,f):(e.exit("thematicBreakSequence"),Nt(h)?At(e,d,"whitespace")(h):d(h))}}const Tr={continuation:{tokenize:Ex},exit:vx,name:"list",tokenize:bx},px={partial:!0,tokenize:Tx},gx={partial:!0,tokenize:yx};function bx(e,t,n){const a=this,s=a.events[a.events.length-1];let l=s&&s[1].type==="linePrefix"?s[2].sliceSerialize(s[1],!0).length:0,o=0;return d;function d(y){const S=a.containerState.type||(y===42||y===43||y===45?"listUnordered":"listOrdered");if(S==="listUnordered"?!a.containerState.marker||y===a.containerState.marker:Z1(y)){if(a.containerState.type||(a.containerState.type=S,e.enter(S,{_container:!0})),S==="listUnordered")return e.enter("listItemPrefix"),y===42||y===45?e.check(U0,n,h)(y):h(y);if(!a.interrupt||y===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),f(y)}return n(y)}function f(y){return Z1(y)&&++o<10?(e.consume(y),f):(!a.interrupt||o<2)&&(a.containerState.marker?y===a.containerState.marker:y===41||y===46)?(e.exit("listItemValue"),h(y)):n(y)}function h(y){return e.enter("listItemMarker"),e.consume(y),e.exit("listItemMarker"),a.containerState.marker=a.containerState.marker||y,e.check(Bo,a.interrupt?n:p,e.attempt(px,v,g))}function p(y){return a.containerState.initialBlankLine=!0,l++,v(y)}function g(y){return Nt(y)?(e.enter("listItemPrefixWhitespace"),e.consume(y),e.exit("listItemPrefixWhitespace"),v):n(y)}function v(y){return a.containerState.size=l+a.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(y)}}function Ex(e,t,n){const a=this;return a.containerState._closeFlow=void 0,e.check(Bo,s,l);function s(d){return a.containerState.furtherBlankLines=a.containerState.furtherBlankLines||a.containerState.initialBlankLine,At(e,t,"listItemIndent",a.containerState.size+1)(d)}function l(d){return a.containerState.furtherBlankLines||!Nt(d)?(a.containerState.furtherBlankLines=void 0,a.containerState.initialBlankLine=void 0,o(d)):(a.containerState.furtherBlankLines=void 0,a.containerState.initialBlankLine=void 0,e.attempt(gx,t,o)(d))}function o(d){return a.containerState._closeFlow=!0,a.interrupt=void 0,At(e,e.attempt(Tr,t,n),"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(d)}}function yx(e,t,n){const a=this;return At(e,s,"listItemIndent",a.containerState.size+1);function s(l){const o=a.events[a.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===a.containerState.size?t(l):n(l)}}function vx(e){e.exit(this.containerState.type)}function Tx(e,t,n){const a=this;return At(e,s,"listItemPrefixWhitespace",a.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function s(l){const o=a.events[a.events.length-1];return!Nt(l)&&o&&o[1].type==="listItemPrefixWhitespace"?t(l):n(l)}}const Xb={name:"setextUnderline",resolveTo:_x,tokenize:Sx};function _x(e,t){let n=e.length,a,s,l;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){a=n;break}e[n][1].type==="paragraph"&&(s=n)}else e[n][1].type==="content"&&e.splice(n,1),!l&&e[n][1].type==="definition"&&(l=n);const o={type:"setextHeading",start:{...e[a][1].start},end:{...e[e.length-1][1].end}};return e[s][1].type="setextHeadingText",l?(e.splice(s,0,["enter",o,t]),e.splice(l+1,0,["exit",e[a][1],t]),e[a][1].end={...e[l][1].end}):e[a][1]=o,e.push(["exit",o,t]),e}function Sx(e,t,n){const a=this;let s;return l;function l(h){let p=a.events.length,g;for(;p--;)if(a.events[p][1].type!=="lineEnding"&&a.events[p][1].type!=="linePrefix"&&a.events[p][1].type!=="content"){g=a.events[p][1].type==="paragraph";break}return!a.parser.lazy[a.now().line]&&(a.interrupt||g)?(e.enter("setextHeadingLine"),s=h,o(h)):n(h)}function o(h){return e.enter("setextHeadingLineSequence"),d(h)}function d(h){return h===s?(e.consume(h),d):(e.exit("setextHeadingLineSequence"),Nt(h)?At(e,f,"lineSuffix")(h):f(h))}function f(h){return h===null||Xe(h)?(e.exit("setextHeadingLine"),t(h)):n(h)}}const xx={tokenize:Ax};function Ax(e){const t=this,n=e.attempt(Bo,a,e.attempt(this.parser.constructs.flowInitial,s,At(e,e.attempt(this.parser.constructs.flow,s,e.attempt(OS,s)),"linePrefix")));return n;function a(l){if(l===null){e.consume(l);return}return e.enter("lineEndingBlank"),e.consume(l),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function s(l){if(l===null){e.consume(l);return}return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const wx={resolveAll:JE()},Cx=ZE("string"),kx=ZE("text");function ZE(e){return{resolveAll:JE(e==="text"?Nx:void 0),tokenize:t};function t(n){const a=this,s=this.parser.constructs[e],l=n.attempt(s,o,d);return o;function o(p){return h(p)?l(p):d(p)}function d(p){if(p===null){n.consume(p);return}return n.enter("data"),n.consume(p),f}function f(p){return h(p)?(n.exit("data"),l(p)):(n.consume(p),f)}function h(p){if(p===null)return!0;const g=s[p];let v=-1;if(g)for(;++v<g.length;){const y=g[v];if(!y.previous||y.previous.call(a,a.previous))return!0}return!1}}}function JE(e){return t;function t(n,a){let s=-1,l;for(;++s<=n.length;)l===void 0?n[s]&&n[s][1].type==="data"&&(l=s,s++):(!n[s]||n[s][1].type!=="data")&&(s!==l+2&&(n[l][1].end=n[s-1][1].end,n.splice(l+2,s-l-2),s=l+2),l=void 0);return e?e(n,a):n}}function Nx(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const a=e[n-1][1],s=t.sliceStream(a);let l=s.length,o=-1,d=0,f;for(;l--;){const h=s[l];if(typeof h=="string"){for(o=h.length;h.charCodeAt(o-1)===32;)d++,o--;if(o)break;o=-1}else if(h===-2)f=!0,d++;else if(h!==-1){l++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(d=0),d){const h={type:n===e.length||f||d<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:l?o:a.start._bufferIndex+o,_index:a.start._index+l,line:a.end.line,column:a.end.column-d,offset:a.end.offset-d},end:{...a.end}};a.end={...h.start},a.start.offset===a.end.offset?Object.assign(a,h):(e.splice(n,0,["enter",h,t],["exit",h,t]),n+=2)}n++}return e}const Ox={42:Tr,43:Tr,45:Tr,48:Tr,49:Tr,50:Tr,51:Tr,52:Tr,53:Tr,54:Tr,55:Tr,56:Tr,57:Tr,62:GE},Rx={91:LS},Mx={[-2]:Kh,[-1]:Kh,32:Kh},Dx={35:HS,42:U0,45:[Xb,U0],60:GS,61:Xb,95:U0,96:$b,126:$b},Ix={38:$E,92:VE},Lx={[-5]:Xh,[-4]:Xh,[-3]:Xh,33:ox,38:$E,42:J1,60:[dS,ZS],91:dx,92:[zS,VE],93:ep,95:J1,96:xS},Bx={null:[J1,wx]},Px={null:[42,95]},Ux={null:[]},zx=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:Px,contentInitial:Rx,disable:Ux,document:Ox,flow:Dx,flowInitial:Mx,insideSpan:Bx,string:Ix,text:Lx},Symbol.toStringTag,{value:"Module"}));function Fx(e,t,n){let a={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const s={},l=[];let o=[],d=[];const f={attempt:Z(G),check:Z(P),consume:M,enter:I,exit:X,interrupt:Z(P,{interrupt:!0})},h={code:null,containerState:{},defineSkip:w,events:[],now:S,parser:e,previous:null,sliceSerialize:v,sliceStream:y,write:g};let p=t.tokenize.call(h,f);return t.resolveAll&&l.push(t),h;function g(ee){return o=Qr(o,ee),N(),o[o.length-1]!==null?[]:(ne(t,0),h.events=pd(l,h.events,h),h.events)}function v(ee,re){return qx(y(ee),re)}function y(ee){return Hx(o,ee)}function S(){const{_bufferIndex:ee,_index:re,line:ge,column:oe,offset:pe}=a;return{_bufferIndex:ee,_index:re,line:ge,column:oe,offset:pe}}function w(ee){s[ee.line]=ee.column,Y()}function N(){let ee;for(;a._index<o.length;){const re=o[a._index];if(typeof re=="string")for(ee=a._index,a._bufferIndex<0&&(a._bufferIndex=0);a._index===ee&&a._bufferIndex<re.length;)k(re.charCodeAt(a._bufferIndex));else k(re)}}function k(ee){p=p(ee)}function M(ee){Xe(ee)?(a.line++,a.column=1,a.offset+=ee===-3?2:1,Y()):ee!==-1&&(a.column++,a.offset++),a._bufferIndex<0?a._index++:(a._bufferIndex++,a._bufferIndex===o[a._index].length&&(a._bufferIndex=-1,a._index++)),h.previous=ee}function I(ee,re){const ge=re||{};return ge.type=ee,ge.start=S(),h.events.push(["enter",ge,h]),d.push(ge),ge}function X(ee){const re=d.pop();return re.end=S(),h.events.push(["exit",re,h]),re}function G(ee,re){ne(ee,re.from)}function P(ee,re){re.restore()}function Z(ee,re){return ge;function ge(oe,pe,W){let he,ye,He,A;return Array.isArray(oe)?de(oe):"tokenize"in oe?de([oe]):Q(oe);function Q(Me){return Tt;function Tt(nt){const st=nt!==null&&Me[nt],Ye=nt!==null&&Me.null,wt=[...Array.isArray(st)?st:st?[st]:[],...Array.isArray(Ye)?Ye:Ye?[Ye]:[]];return de(wt)(nt)}}function de(Me){return he=Me,ye=0,Me.length===0?W:D(Me[ye])}function D(Me){return Tt;function Tt(nt){return A=te(),He=Me,Me.partial||(h.currentConstruct=Me),Me.name&&h.parser.constructs.disable.null.includes(Me.name)?qe():Me.tokenize.call(re?Object.assign(Object.create(h),re):h,f,De,qe)(nt)}}function De(Me){return ee(He,A),pe}function qe(Me){return A.restore(),++ye<he.length?D(he[ye]):W}}}function ne(ee,re){ee.resolveAll&&!l.includes(ee)&&l.push(ee),ee.resolve&&Fr(h.events,re,h.events.length-re,ee.resolve(h.events.slice(re),h)),ee.resolveTo&&(h.events=ee.resolveTo(h.events,h))}function te(){const ee=S(),re=h.previous,ge=h.currentConstruct,oe=h.events.length,pe=Array.from(d);return{from:oe,restore:W};function W(){a=ee,h.previous=re,h.currentConstruct=ge,h.events.length=oe,d=pe,Y()}}function Y(){a.line in s&&a.column<2&&(a.column=s[a.line],a.offset+=s[a.line]-1)}}function Hx(e,t){const n=t.start._index,a=t.start._bufferIndex,s=t.end._index,l=t.end._bufferIndex;let o;if(n===s)o=[e[n].slice(a,l)];else{if(o=e.slice(n,s),a>-1){const d=o[0];typeof d=="string"?o[0]=d.slice(a):o.shift()}l>0&&o.push(e[s].slice(0,l))}return o}function qx(e,t){let n=-1;const a=[];let s;for(;++n<e.length;){const l=e[n];let o;if(typeof l=="string")o=l;else switch(l){case-5:{o="\r";break}case-4:{o=`
|
|
62
|
-
`;break}case-3:{o=`\r
|
|
63
|
-
`;break}case-2:{o=t?" ":" ";break}case-1:{if(!t&&s)continue;o=" ";break}default:o=String.fromCharCode(l)}s=l===-2,a.push(o)}return a.join("")}function Yx(e){const a={constructs:YE([zx,...(e||{}).extensions||[]]),content:s(aS),defined:[],document:s(sS),flow:s(xx),lazy:{},string:s(Cx),text:s(kx)};return a;function s(l){return o;function o(d){return Fx(a,l,d)}}}function jx(e){for(;!KE(e););return e}const Wb=/[\0\t\n\r]/g;function Gx(){let e=1,t="",n=!0,a;return s;function s(l,o,d){const f=[];let h,p,g,v,y;for(l=t+(typeof l=="string"?l.toString():new TextDecoder(o||void 0).decode(l)),g=0,t="",n&&(l.charCodeAt(0)===65279&&g++,n=void 0);g<l.length;){if(Wb.lastIndex=g,h=Wb.exec(l),v=h&&h.index!==void 0?h.index:l.length,y=l.charCodeAt(v),!h){t=l.slice(g);break}if(y===10&&g===v&&a)f.push(-3),a=void 0;else switch(a&&(f.push(-5),a=void 0),g<v&&(f.push(l.slice(g,v)),e+=v-g),y){case 0:{f.push(65533),e++;break}case 9:{for(p=Math.ceil(e/4)*4,f.push(-2);e++<p;)f.push(-1);break}case 10:{f.push(-4),e=1;break}default:a=!0,e=1}g=v+1}return d&&(a&&f.push(-5),t&&f.push(t),f.push(null)),f}}const Vx=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function $x(e){return e.replace(Vx,Kx)}function Kx(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const s=n.charCodeAt(1),l=s===120||s===88;return jE(n.slice(l?2:1),l?16:10)}return Jm(n)||e}const e5={}.hasOwnProperty;function Xx(e,t,n){return typeof t!="string"&&(n=t,t=void 0),Wx(n)(jx(Yx(n).document().write(Gx()(e,t,!0))))}function Wx(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:l(Dt),autolinkProtocol:te,autolinkEmail:te,atxHeading:l(ot),blockQuote:l(Ye),characterEscape:te,characterReference:te,codeFenced:l(wt),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:l(wt,o),codeText:l(rt,o),codeTextData:te,data:te,codeFlowValue:te,definition:l($e),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:l(Ve),hardBreakEscape:l(We),hardBreakTrailing:l(We),htmlFlow:l(Ot,o),htmlFlowData:te,htmlText:l(Ot,o),htmlTextData:te,image:l(un),label:o,link:l(Dt),listItem:l(Un),listItemValue:v,listOrdered:l(en,g),listUnordered:l(en),paragraph:l(yi),reference:D,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:l(ot),strong:l(ya),thematicBreak:l(Dn)},exit:{atxHeading:f(),atxHeadingSequence:G,autolink:f(),autolinkEmail:st,autolinkProtocol:nt,blockQuote:f(),characterEscapeValue:Y,characterReferenceMarkerHexadecimal:qe,characterReferenceMarkerNumeric:qe,characterReferenceValue:Me,characterReference:Tt,codeFenced:f(N),codeFencedFence:w,codeFencedFenceInfo:y,codeFencedFenceMeta:S,codeFlowValue:Y,codeIndented:f(k),codeText:f(pe),codeTextData:Y,data:Y,definition:f(),definitionDestinationString:X,definitionLabelString:M,definitionTitleString:I,emphasis:f(),hardBreakEscape:f(re),hardBreakTrailing:f(re),htmlFlow:f(ge),htmlFlowData:Y,htmlText:f(oe),htmlTextData:Y,image:f(he),label:He,labelText:ye,lineEnding:ee,link:f(W),listItem:f(),listOrdered:f(),listUnordered:f(),paragraph:f(),referenceString:De,resourceDestinationString:A,resourceTitleString:Q,resource:de,setextHeading:f(ne),setextHeadingLineSequence:Z,setextHeadingText:P,strong:f(),thematicBreak:f()}};t5(t,(e||{}).mdastExtensions||[]);const n={};return a;function a(fe){let xe={type:"root",children:[]};const Qe={stack:[xe],tokenStack:[],config:t,enter:d,exit:h,buffer:o,resume:p,data:n},et=[];let Bt=-1;for(;++Bt<fe.length;)if(fe[Bt][1].type==="listOrdered"||fe[Bt][1].type==="listUnordered")if(fe[Bt][0]==="enter")et.push(Bt);else{const tr=et.pop();Bt=s(fe,tr,Bt)}for(Bt=-1;++Bt<fe.length;){const tr=t[fe[Bt][0]];e5.call(tr,fe[Bt][1].type)&&tr[fe[Bt][1].type].call(Object.assign({sliceSerialize:fe[Bt][2].sliceSerialize},Qe),fe[Bt][1])}if(Qe.tokenStack.length>0){const tr=Qe.tokenStack[Qe.tokenStack.length-1];(tr[1]||Qb).call(Qe,void 0,tr[0])}for(xe.position={start:Ki(fe.length>0?fe[0][1].start:{line:1,column:1,offset:0}),end:Ki(fe.length>0?fe[fe.length-2][1].end:{line:1,column:1,offset:0})},Bt=-1;++Bt<t.transforms.length;)xe=t.transforms[Bt](xe)||xe;return xe}function s(fe,xe,Qe){let et=xe-1,Bt=-1,tr=!1,la,Kn,wr,nr;for(;++et<=Qe;){const An=fe[et];switch(An[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{An[0]==="enter"?Bt++:Bt--,nr=void 0;break}case"lineEndingBlank":{An[0]==="enter"&&(la&&!nr&&!Bt&&!wr&&(wr=et),nr=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:nr=void 0}if(!Bt&&An[0]==="enter"&&An[1].type==="listItemPrefix"||Bt===-1&&An[0]==="exit"&&(An[1].type==="listUnordered"||An[1].type==="listOrdered")){if(la){let mr=et;for(Kn=void 0;mr--;){const rr=fe[mr];if(rr[1].type==="lineEnding"||rr[1].type==="lineEndingBlank"){if(rr[0]==="exit")continue;Kn&&(fe[Kn][1].type="lineEndingBlank",tr=!0),rr[1].type="lineEnding",Kn=mr}else if(!(rr[1].type==="linePrefix"||rr[1].type==="blockQuotePrefix"||rr[1].type==="blockQuotePrefixWhitespace"||rr[1].type==="blockQuoteMarker"||rr[1].type==="listItemIndent"))break}wr&&(!Kn||wr<Kn)&&(la._spread=!0),la.end=Object.assign({},Kn?fe[Kn][1].start:An[1].end),fe.splice(Kn||et,0,["exit",la,An[2]]),et++,Qe++}if(An[1].type==="listItemPrefix"){const mr={type:"listItem",_spread:!1,start:Object.assign({},An[1].start),end:void 0};la=mr,fe.splice(et,0,["enter",mr,An[2]]),et++,Qe++,wr=void 0,nr=!0}}}return fe[xe][1]._spread=tr,Qe}function l(fe,xe){return Qe;function Qe(et){d.call(this,fe(et),et),xe&&xe.call(this,et)}}function o(){this.stack.push({type:"fragment",children:[]})}function d(fe,xe,Qe){this.stack[this.stack.length-1].children.push(fe),this.stack.push(fe),this.tokenStack.push([xe,Qe||void 0]),fe.position={start:Ki(xe.start),end:void 0}}function f(fe){return xe;function xe(Qe){fe&&fe.call(this,Qe),h.call(this,Qe)}}function h(fe,xe){const Qe=this.stack.pop(),et=this.tokenStack.pop();if(et)et[0].type!==fe.type&&(xe?xe.call(this,fe,et[0]):(et[1]||Qb).call(this,fe,et[0]));else throw new Error("Cannot close `"+fe.type+"` ("+ho({start:fe.start,end:fe.end})+"): it’s not open");Qe.position.end=Ki(fe.end)}function p(){return Zm(this.stack.pop())}function g(){this.data.expectingFirstListItemValue=!0}function v(fe){if(this.data.expectingFirstListItemValue){const xe=this.stack[this.stack.length-2];xe.start=Number.parseInt(this.sliceSerialize(fe),10),this.data.expectingFirstListItemValue=void 0}}function y(){const fe=this.resume(),xe=this.stack[this.stack.length-1];xe.lang=fe}function S(){const fe=this.resume(),xe=this.stack[this.stack.length-1];xe.meta=fe}function w(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function N(){const fe=this.resume(),xe=this.stack[this.stack.length-1];xe.value=fe.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function k(){const fe=this.resume(),xe=this.stack[this.stack.length-1];xe.value=fe.replace(/(\r?\n|\r)$/g,"")}function M(fe){const xe=this.resume(),Qe=this.stack[this.stack.length-1];Qe.label=xe,Qe.identifier=ga(this.sliceSerialize(fe)).toLowerCase()}function I(){const fe=this.resume(),xe=this.stack[this.stack.length-1];xe.title=fe}function X(){const fe=this.resume(),xe=this.stack[this.stack.length-1];xe.url=fe}function G(fe){const xe=this.stack[this.stack.length-1];if(!xe.depth){const Qe=this.sliceSerialize(fe).length;xe.depth=Qe}}function P(){this.data.setextHeadingSlurpLineEnding=!0}function Z(fe){const xe=this.stack[this.stack.length-1];xe.depth=this.sliceSerialize(fe).codePointAt(0)===61?1:2}function ne(){this.data.setextHeadingSlurpLineEnding=void 0}function te(fe){const Qe=this.stack[this.stack.length-1].children;let et=Qe[Qe.length-1];(!et||et.type!=="text")&&(et=hr(),et.position={start:Ki(fe.start),end:void 0},Qe.push(et)),this.stack.push(et)}function Y(fe){const xe=this.stack.pop();xe.value+=this.sliceSerialize(fe),xe.position.end=Ki(fe.end)}function ee(fe){const xe=this.stack[this.stack.length-1];if(this.data.atHardBreak){const Qe=xe.children[xe.children.length-1];Qe.position.end=Ki(fe.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(xe.type)&&(te.call(this,fe),Y.call(this,fe))}function re(){this.data.atHardBreak=!0}function ge(){const fe=this.resume(),xe=this.stack[this.stack.length-1];xe.value=fe}function oe(){const fe=this.resume(),xe=this.stack[this.stack.length-1];xe.value=fe}function pe(){const fe=this.resume(),xe=this.stack[this.stack.length-1];xe.value=fe}function W(){const fe=this.stack[this.stack.length-1];if(this.data.inReference){const xe=this.data.referenceType||"shortcut";fe.type+="Reference",fe.referenceType=xe,delete fe.url,delete fe.title}else delete fe.identifier,delete fe.label;this.data.referenceType=void 0}function he(){const fe=this.stack[this.stack.length-1];if(this.data.inReference){const xe=this.data.referenceType||"shortcut";fe.type+="Reference",fe.referenceType=xe,delete fe.url,delete fe.title}else delete fe.identifier,delete fe.label;this.data.referenceType=void 0}function ye(fe){const xe=this.sliceSerialize(fe),Qe=this.stack[this.stack.length-2];Qe.label=$x(xe),Qe.identifier=ga(xe).toLowerCase()}function He(){const fe=this.stack[this.stack.length-1],xe=this.resume(),Qe=this.stack[this.stack.length-1];if(this.data.inReference=!0,Qe.type==="link"){const et=fe.children;Qe.children=et}else Qe.alt=xe}function A(){const fe=this.resume(),xe=this.stack[this.stack.length-1];xe.url=fe}function Q(){const fe=this.resume(),xe=this.stack[this.stack.length-1];xe.title=fe}function de(){this.data.inReference=void 0}function D(){this.data.referenceType="collapsed"}function De(fe){const xe=this.resume(),Qe=this.stack[this.stack.length-1];Qe.label=xe,Qe.identifier=ga(this.sliceSerialize(fe)).toLowerCase(),this.data.referenceType="full"}function qe(fe){this.data.characterReferenceType=fe.type}function Me(fe){const xe=this.sliceSerialize(fe),Qe=this.data.characterReferenceType;let et;Qe?(et=jE(xe,Qe==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):et=Jm(xe);const Bt=this.stack[this.stack.length-1];Bt.value+=et}function Tt(fe){const xe=this.stack.pop();xe.position.end=Ki(fe.end)}function nt(fe){Y.call(this,fe);const xe=this.stack[this.stack.length-1];xe.url=this.sliceSerialize(fe)}function st(fe){Y.call(this,fe);const xe=this.stack[this.stack.length-1];xe.url="mailto:"+this.sliceSerialize(fe)}function Ye(){return{type:"blockquote",children:[]}}function wt(){return{type:"code",lang:null,meta:null,value:""}}function rt(){return{type:"inlineCode",value:""}}function $e(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Ve(){return{type:"emphasis",children:[]}}function ot(){return{type:"heading",depth:0,children:[]}}function We(){return{type:"break"}}function Ot(){return{type:"html",value:""}}function un(){return{type:"image",title:null,url:"",alt:null}}function Dt(){return{type:"link",title:null,url:"",children:[]}}function en(fe){return{type:"list",ordered:fe.type==="listOrdered",start:null,spread:fe._spread,children:[]}}function Un(fe){return{type:"listItem",spread:fe._spread,checked:null,children:[]}}function yi(){return{type:"paragraph",children:[]}}function ya(){return{type:"strong",children:[]}}function hr(){return{type:"text",value:""}}function Dn(){return{type:"thematicBreak"}}}function Ki(e){return{line:e.line,column:e.column,offset:e.offset}}function t5(e,t){let n=-1;for(;++n<t.length;){const a=t[n];Array.isArray(a)?t5(e,a):Qx(e,a)}}function Qx(e,t){let n;for(n in t)if(e5.call(t,n))switch(n){case"canContainEols":{const a=t[n];a&&e[n].push(...a);break}case"transforms":{const a=t[n];a&&e[n].push(...a);break}case"enter":case"exit":{const a=t[n];a&&Object.assign(e[n],a);break}}}function Qb(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+ho({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+ho({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+ho({start:t.start,end:t.end})+") is still open")}function Zx(e){const t=this;t.parser=n;function n(a){return Xx(a,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function Jx(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function eA(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
|
|
64
|
-
`}]}function tA(e,t){const n=t.value?t.value+`
|
|
65
|
-
`:"",a={};t.lang&&(a.className=["language-"+t.lang]);let s={type:"element",tagName:"code",properties:a,children:[{type:"text",value:n}]};return t.meta&&(s.data={meta:t.meta}),e.patch(t,s),s=e.applyData(t,s),s={type:"element",tagName:"pre",properties:{},children:[s]},e.patch(t,s),s}function nA(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function rA(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function aA(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",a=String(t.identifier).toUpperCase(),s=$l(a.toLowerCase()),l=e.footnoteOrder.indexOf(a);let o,d=e.footnoteCounts.get(a);d===void 0?(d=0,e.footnoteOrder.push(a),o=e.footnoteOrder.length):o=l+1,d+=1,e.footnoteCounts.set(a,d);const f={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+s,id:n+"fnref-"+s+(d>1?"-"+d:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,f);const h={type:"element",tagName:"sup",properties:{},children:[f]};return e.patch(t,h),e.applyData(t,h)}function iA(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function sA(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function n5(e,t){const n=t.referenceType;let a="]";if(n==="collapsed"?a+="[]":n==="full"&&(a+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+a}];const s=e.all(t),l=s[0];l&&l.type==="text"?l.value="["+l.value:s.unshift({type:"text",value:"["});const o=s[s.length-1];return o&&o.type==="text"?o.value+=a:s.push({type:"text",value:a}),s}function lA(e,t){const n=String(t.identifier).toUpperCase(),a=e.definitionById.get(n);if(!a)return n5(e,t);const s={src:$l(a.url||""),alt:t.alt};a.title!==null&&a.title!==void 0&&(s.title=a.title);const l={type:"element",tagName:"img",properties:s,children:[]};return e.patch(t,l),e.applyData(t,l)}function uA(e,t){const n={src:$l(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const a={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,a),e.applyData(t,a)}function oA(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const a={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,a),e.applyData(t,a)}function cA(e,t){const n=String(t.identifier).toUpperCase(),a=e.definitionById.get(n);if(!a)return n5(e,t);const s={href:$l(a.url||"")};a.title!==null&&a.title!==void 0&&(s.title=a.title);const l={type:"element",tagName:"a",properties:s,children:e.all(t)};return e.patch(t,l),e.applyData(t,l)}function dA(e,t){const n={href:$l(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const a={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function fA(e,t,n){const a=e.all(t),s=n?hA(n):r5(t),l={},o=[];if(typeof t.checked=="boolean"){const p=a[0];let g;p&&p.type==="element"&&p.tagName==="p"?g=p:(g={type:"element",tagName:"p",properties:{},children:[]},a.unshift(g)),g.children.length>0&&g.children.unshift({type:"text",value:" "}),g.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),l.className=["task-list-item"]}let d=-1;for(;++d<a.length;){const p=a[d];(s||d!==0||p.type!=="element"||p.tagName!=="p")&&o.push({type:"text",value:`
|
|
66
|
-
`}),p.type==="element"&&p.tagName==="p"&&!s?o.push(...p.children):o.push(p)}const f=a[a.length-1];f&&(s||f.type!=="element"||f.tagName!=="p")&&o.push({type:"text",value:`
|
|
67
|
-
`});const h={type:"element",tagName:"li",properties:l,children:o};return e.patch(t,h),e.applyData(t,h)}function hA(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let a=-1;for(;!t&&++a<n.length;)t=r5(n[a])}return t}function r5(e){const t=e.spread;return t??e.children.length>1}function mA(e,t){const n={},a=e.all(t);let s=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++s<a.length;){const o=a[s];if(o.type==="element"&&o.tagName==="li"&&o.properties&&Array.isArray(o.properties.className)&&o.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const l={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(a,!0)};return e.patch(t,l),e.applyData(t,l)}function pA(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function gA(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function bA(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function EA(e,t){const n=e.all(t),a=n.shift(),s=[];if(a){const o={type:"element",tagName:"thead",properties:{},children:e.wrap([a],!0)};e.patch(t.children[0],o),s.push(o)}if(n.length>0){const o={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},d=La(t.children[1]),f=hd(t.children[t.children.length-1]);d&&f&&(o.position={start:d,end:f}),s.push(o)}const l={type:"element",tagName:"table",properties:{},children:e.wrap(s,!0)};return e.patch(t,l),e.applyData(t,l)}function yA(e,t,n){const a=n?n.children:void 0,l=(a?a.indexOf(t):1)===0?"th":"td",o=n&&n.type==="table"?n.align:void 0,d=o?o.length:t.children.length;let f=-1;const h=[];for(;++f<d;){const g=t.children[f],v={},y=o?o[f]:void 0;y&&(v.align=y);let S={type:"element",tagName:l,properties:v,children:[]};g&&(S.children=e.all(g),e.patch(g,S),S=e.applyData(g,S)),h.push(S)}const p={type:"element",tagName:"tr",properties:{},children:e.wrap(h,!0)};return e.patch(t,p),e.applyData(t,p)}function vA(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const Zb=9,Jb=32;function TA(e){const t=String(e),n=/\r?\n|\r/g;let a=n.exec(t),s=0;const l=[];for(;a;)l.push(e3(t.slice(s,a.index),s>0,!0),a[0]),s=a.index+a[0].length,a=n.exec(t);return l.push(e3(t.slice(s),s>0,!1)),l.join("")}function e3(e,t,n){let a=0,s=e.length;if(t){let l=e.codePointAt(a);for(;l===Zb||l===Jb;)a++,l=e.codePointAt(a)}if(n){let l=e.codePointAt(s-1);for(;l===Zb||l===Jb;)s--,l=e.codePointAt(s-1)}return s>a?e.slice(a,s):""}function _A(e,t){const n={type:"text",value:TA(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function SA(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const xA={blockquote:Jx,break:eA,code:tA,delete:nA,emphasis:rA,footnoteReference:aA,heading:iA,html:sA,imageReference:lA,image:uA,inlineCode:oA,linkReference:cA,link:dA,listItem:fA,list:mA,paragraph:pA,root:gA,strong:bA,table:EA,tableCell:vA,tableRow:yA,text:_A,thematicBreak:SA,toml:u0,yaml:u0,definition:u0,footnoteDefinition:u0};function u0(){}const a5=-1,gd=0,po=1,$0=2,tp=3,np=4,rp=5,ap=6,i5=7,s5=8,t3=typeof self=="object"?self:globalThis,AA=(e,t)=>{const n=(s,l)=>(e.set(l,s),s),a=s=>{if(e.has(s))return e.get(s);const[l,o]=t[s];switch(l){case gd:case a5:return n(o,s);case po:{const d=n([],s);for(const f of o)d.push(a(f));return d}case $0:{const d=n({},s);for(const[f,h]of o)d[a(f)]=a(h);return d}case tp:return n(new Date(o),s);case np:{const{source:d,flags:f}=o;return n(new RegExp(d,f),s)}case rp:{const d=n(new Map,s);for(const[f,h]of o)d.set(a(f),a(h));return d}case ap:{const d=n(new Set,s);for(const f of o)d.add(a(f));return d}case i5:{const{name:d,message:f}=o;return n(new t3[d](f),s)}case s5:return n(BigInt(o),s);case"BigInt":return n(Object(BigInt(o)),s);case"ArrayBuffer":return n(new Uint8Array(o).buffer,o);case"DataView":{const{buffer:d}=new Uint8Array(o);return n(new DataView(d),o)}}return n(new t3[l](o),s)};return a},n3=e=>AA(new Map,e)(0),xl="",{toString:wA}={},{keys:CA}=Object,so=e=>{const t=typeof e;if(t!=="object"||!e)return[gd,t];const n=wA.call(e).slice(8,-1);switch(n){case"Array":return[po,xl];case"Object":return[$0,xl];case"Date":return[tp,xl];case"RegExp":return[np,xl];case"Map":return[rp,xl];case"Set":return[ap,xl];case"DataView":return[po,n]}return n.includes("Array")?[po,n]:n.includes("Error")?[i5,n]:[$0,n]},o0=([e,t])=>e===gd&&(t==="function"||t==="symbol"),kA=(e,t,n,a)=>{const s=(o,d)=>{const f=a.push(o)-1;return n.set(d,f),f},l=o=>{if(n.has(o))return n.get(o);let[d,f]=so(o);switch(d){case gd:{let p=o;switch(f){case"bigint":d=s5,p=o.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+f);p=null;break;case"undefined":return s([a5],o)}return s([d,p],o)}case po:{if(f){let v=o;return f==="DataView"?v=new Uint8Array(o.buffer):f==="ArrayBuffer"&&(v=new Uint8Array(o)),s([f,[...v]],o)}const p=[],g=s([d,p],o);for(const v of o)p.push(l(v));return g}case $0:{if(f)switch(f){case"BigInt":return s([f,o.toString()],o);case"Boolean":case"Number":case"String":return s([f,o.valueOf()],o)}if(t&&"toJSON"in o)return l(o.toJSON());const p=[],g=s([d,p],o);for(const v of CA(o))(e||!o0(so(o[v])))&&p.push([l(v),l(o[v])]);return g}case tp:return s([d,o.toISOString()],o);case np:{const{source:p,flags:g}=o;return s([d,{source:p,flags:g}],o)}case rp:{const p=[],g=s([d,p],o);for(const[v,y]of o)(e||!(o0(so(v))||o0(so(y))))&&p.push([l(v),l(y)]);return g}case ap:{const p=[],g=s([d,p],o);for(const v of o)(e||!o0(so(v)))&&p.push(l(v));return g}}const{message:h}=o;return s([d,{name:f,message:h}],o)};return l},r3=(e,{json:t,lossy:n}={})=>{const a=[];return kA(!(t||n),!!t,new Map,a)(e),a},Pl=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?n3(r3(e,t)):structuredClone(e):(e,t)=>n3(r3(e,t));function NA(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function OA(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function RA(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||NA,a=e.options.footnoteBackLabel||OA,s=e.options.footnoteLabel||"Footnotes",l=e.options.footnoteLabelTagName||"h2",o=e.options.footnoteLabelProperties||{className:["sr-only"]},d=[];let f=-1;for(;++f<e.footnoteOrder.length;){const h=e.footnoteById.get(e.footnoteOrder[f]);if(!h)continue;const p=e.all(h),g=String(h.identifier).toUpperCase(),v=$l(g.toLowerCase());let y=0;const S=[],w=e.footnoteCounts.get(g);for(;w!==void 0&&++y<=w;){S.length>0&&S.push({type:"text",value:" "});let M=typeof n=="string"?n:n(f,y);typeof M=="string"&&(M={type:"text",value:M}),S.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+v+(y>1?"-"+y:""),dataFootnoteBackref:"",ariaLabel:typeof a=="string"?a:a(f,y),className:["data-footnote-backref"]},children:Array.isArray(M)?M:[M]})}const N=p[p.length-1];if(N&&N.type==="element"&&N.tagName==="p"){const M=N.children[N.children.length-1];M&&M.type==="text"?M.value+=" ":N.children.push({type:"text",value:" "}),N.children.push(...S)}else p.push(...S);const k={type:"element",tagName:"li",properties:{id:t+"fn-"+v},children:e.wrap(p,!0)};e.patch(h,k),d.push(k)}if(d.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:l,properties:{...Pl(o),id:"footnote-label"},children:[{type:"text",value:s}]},{type:"text",value:`
|
|
68
|
-
`},{type:"element",tagName:"ol",properties:{},children:e.wrap(d,!0)},{type:"text",value:`
|
|
69
|
-
`}]}}const Po=function(e){if(e==null)return LA;if(typeof e=="function")return bd(e);if(typeof e=="object")return Array.isArray(e)?MA(e):DA(e);if(typeof e=="string")return IA(e);throw new Error("Expected function, string, or object as test")};function MA(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Po(e[n]);return bd(a);function a(...s){let l=-1;for(;++l<t.length;)if(t[l].apply(this,s))return!0;return!1}}function DA(e){const t=e;return bd(n);function n(a){const s=a;let l;for(l in e)if(s[l]!==t[l])return!1;return!0}}function IA(e){return bd(t);function t(n){return n&&n.type===e}}function bd(e){return t;function t(n,a,s){return!!(BA(n)&&e.call(this,n,typeof a=="number"?a:void 0,s||void 0))}}function LA(){return!0}function BA(e){return e!==null&&typeof e=="object"&&"type"in e}const l5=[],PA=!0,em=!1,u5="skip";function ip(e,t,n,a){let s;typeof t=="function"&&typeof n!="function"?(a=n,n=t):s=t;const l=Po(s),o=a?-1:1;d(e,void 0,[])();function d(f,h,p){const g=f&&typeof f=="object"?f:{};if(typeof g.type=="string"){const y=typeof g.tagName=="string"?g.tagName:typeof g.name=="string"?g.name:void 0;Object.defineProperty(v,"name",{value:"node ("+(f.type+(y?"<"+y+">":""))+")"})}return v;function v(){let y=l5,S,w,N;if((!t||l(f,h,p[p.length-1]||void 0))&&(y=UA(n(f,p)),y[0]===em))return y;if("children"in f&&f.children){const k=f;if(k.children&&y[0]!==u5)for(w=(a?k.children.length:-1)+o,N=p.concat(k);w>-1&&w<k.children.length;){const M=k.children[w];if(S=d(M,w,N)(),S[0]===em)return S;w=typeof S[1]=="number"?S[1]:w+o}}return y}}}function UA(e){return Array.isArray(e)?e:typeof e=="number"?[PA,e]:e==null?l5:[e]}function Uo(e,t,n,a){let s,l,o;typeof t=="function"&&typeof n!="function"?(l=void 0,o=t,s=n):(l=t,o=n,s=a),ip(e,l,d,s);function d(f,h){const p=h[h.length-1],g=p?p.children.indexOf(f):void 0;return o(f,g,p)}}const tm={}.hasOwnProperty,zA={};function FA(e,t){const n=t||zA,a=new Map,s=new Map,l=new Map,o={...xA,...n.handlers},d={all:h,applyData:qA,definitionById:a,footnoteById:s,footnoteCounts:l,footnoteOrder:[],handlers:o,one:f,options:n,patch:HA,wrap:jA};return Uo(e,function(p){if(p.type==="definition"||p.type==="footnoteDefinition"){const g=p.type==="definition"?a:s,v=String(p.identifier).toUpperCase();g.has(v)||g.set(v,p)}}),d;function f(p,g){const v=p.type,y=d.handlers[v];if(tm.call(d.handlers,v)&&y)return y(d,p,g);if(d.options.passThrough&&d.options.passThrough.includes(v)){if("children"in p){const{children:w,...N}=p,k=Pl(N);return k.children=d.all(p),k}return Pl(p)}return(d.options.unknownHandler||YA)(d,p,g)}function h(p){const g=[];if("children"in p){const v=p.children;let y=-1;for(;++y<v.length;){const S=d.one(v[y],p);if(S){if(y&&v[y-1].type==="break"&&(!Array.isArray(S)&&S.type==="text"&&(S.value=a3(S.value)),!Array.isArray(S)&&S.type==="element")){const w=S.children[0];w&&w.type==="text"&&(w.value=a3(w.value))}Array.isArray(S)?g.push(...S):g.push(S)}}}return g}}function HA(e,t){e.position&&(t.position=O_(e))}function qA(e,t){let n=t;if(e&&e.data){const a=e.data.hName,s=e.data.hChildren,l=e.data.hProperties;if(typeof a=="string")if(n.type==="element")n.tagName=a;else{const o="children"in n?n.children:[n];n={type:"element",tagName:a,properties:{},children:o}}n.type==="element"&&l&&Object.assign(n.properties,Pl(l)),"children"in n&&n.children&&s!==null&&s!==void 0&&(n.children=s)}return n}function YA(e,t){const n=t.data||{},a="value"in t&&!(tm.call(n,"hProperties")||tm.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function jA(e,t){const n=[];let a=-1;for(t&&n.push({type:"text",value:`
|
|
70
|
-
`});++a<e.length;)a&&n.push({type:"text",value:`
|
|
71
|
-
`}),n.push(e[a]);return t&&e.length>0&&n.push({type:"text",value:`
|
|
72
|
-
`}),n}function a3(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function i3(e,t){const n=FA(e,t),a=n.one(e,void 0),s=RA(n),l=Array.isArray(a)?{type:"root",children:a}:a||{type:"root",children:[]};return s&&l.children.push({type:"text",value:`
|
|
73
|
-
`},s),l}function GA(e,t){return e&&"run"in e?async function(n,a){const s=i3(n,{file:a,...t});await e.run(s,a)}:function(n,a){return i3(n,{file:a,...e||t})}}function s3(e){if(e)throw e}var Wh,l3;function VA(){if(l3)return Wh;l3=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s=function(h){return typeof Array.isArray=="function"?Array.isArray(h):t.call(h)==="[object Array]"},l=function(h){if(!h||t.call(h)!=="[object Object]")return!1;var p=e.call(h,"constructor"),g=h.constructor&&h.constructor.prototype&&e.call(h.constructor.prototype,"isPrototypeOf");if(h.constructor&&!p&&!g)return!1;var v;for(v in h);return typeof v>"u"||e.call(h,v)},o=function(h,p){n&&p.name==="__proto__"?n(h,p.name,{enumerable:!0,configurable:!0,value:p.newValue,writable:!0}):h[p.name]=p.newValue},d=function(h,p){if(p==="__proto__")if(e.call(h,p)){if(a)return a(h,p).value}else return;return h[p]};return Wh=function f(){var h,p,g,v,y,S,w=arguments[0],N=1,k=arguments.length,M=!1;for(typeof w=="boolean"&&(M=w,w=arguments[1]||{},N=2),(w==null||typeof w!="object"&&typeof w!="function")&&(w={});N<k;++N)if(h=arguments[N],h!=null)for(p in h)g=d(w,p),v=d(h,p),w!==v&&(M&&v&&(l(v)||(y=s(v)))?(y?(y=!1,S=g&&s(g)?g:[]):S=g&&l(g)?g:{},o(w,{name:p,newValue:f(M,S,v)})):typeof v<"u"&&o(w,{name:p,newValue:v}));return w},Wh}var $A=VA();const Qh=ud($A);function nm(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function KA(){const e=[],t={run:n,use:a};return t;function n(...s){let l=-1;const o=s.pop();if(typeof o!="function")throw new TypeError("Expected function as last argument, not "+o);d(null,...s);function d(f,...h){const p=e[++l];let g=-1;if(f){o(f);return}for(;++g<s.length;)(h[g]===null||h[g]===void 0)&&(h[g]=s[g]);s=h,p?XA(p,d)(...h):o(null,...h)}}function a(s){if(typeof s!="function")throw new TypeError("Expected `middelware` to be a function, not "+s);return e.push(s),t}}function XA(e,t){let n;return a;function a(...o){const d=e.length>o.length;let f;d&&o.push(s);try{f=e.apply(this,o)}catch(h){const p=h;if(d&&n)throw p;return s(p)}d||(f&&f.then&&typeof f.then=="function"?f.then(l,s):f instanceof Error?s(f):l(f))}function s(o,...d){n||(n=!0,t(o,...d))}function l(o){s(null,o)}}const Ca={basename:WA,dirname:QA,extname:ZA,join:JA,sep:"/"};function WA(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');zo(e);let n=0,a=-1,s=e.length,l;if(t===void 0||t.length===0||t.length>e.length){for(;s--;)if(e.codePointAt(s)===47){if(l){n=s+1;break}}else a<0&&(l=!0,a=s+1);return a<0?"":e.slice(n,a)}if(t===e)return"";let o=-1,d=t.length-1;for(;s--;)if(e.codePointAt(s)===47){if(l){n=s+1;break}}else o<0&&(l=!0,o=s+1),d>-1&&(e.codePointAt(s)===t.codePointAt(d--)?d<0&&(a=s):(d=-1,a=o));return n===a?a=o:a<0&&(a=e.length),e.slice(n,a)}function QA(e){if(zo(e),e.length===0)return".";let t=-1,n=e.length,a;for(;--n;)if(e.codePointAt(n)===47){if(a){t=n;break}}else a||(a=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function ZA(e){zo(e);let t=e.length,n=-1,a=0,s=-1,l=0,o;for(;t--;){const d=e.codePointAt(t);if(d===47){if(o){a=t+1;break}continue}n<0&&(o=!0,n=t+1),d===46?s<0?s=t:l!==1&&(l=1):s>-1&&(l=-1)}return s<0||n<0||l===0||l===1&&s===n-1&&s===a+1?"":e.slice(s,n)}function JA(...e){let t=-1,n;for(;++t<e.length;)zo(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":ew(n)}function ew(e){zo(e);const t=e.codePointAt(0)===47;let n=tw(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function tw(e,t){let n="",a=0,s=-1,l=0,o=-1,d,f;for(;++o<=e.length;){if(o<e.length)d=e.codePointAt(o);else{if(d===47)break;d=47}if(d===47){if(!(s===o-1||l===1))if(s!==o-1&&l===2){if(n.length<2||a!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(f=n.lastIndexOf("/"),f!==n.length-1){f<0?(n="",a=0):(n=n.slice(0,f),a=n.length-1-n.lastIndexOf("/")),s=o,l=0;continue}}else if(n.length>0){n="",a=0,s=o,l=0;continue}}t&&(n=n.length>0?n+"/..":"..",a=2)}else n.length>0?n+="/"+e.slice(s+1,o):n=e.slice(s+1,o),a=o-s-1;s=o,l=0}else d===46&&l>-1?l++:l=-1}return n}function zo(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const nw={cwd:rw};function rw(){return"/"}function rm(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function aw(e){if(typeof e=="string")e=new URL(e);else if(!rm(e)){const 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:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return iw(e)}function iw(e){if(e.hostname!==""){const a=new TypeError('File URL host must be "localhost" or empty on darwin');throw a.code="ERR_INVALID_FILE_URL_HOST",a}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const a=t.codePointAt(n+2);if(a===70||a===102){const s=new TypeError("File URL path must not include encoded / characters");throw s.code="ERR_INVALID_FILE_URL_PATH",s}}return decodeURIComponent(t)}const Zh=["history","path","basename","stem","extname","dirname"];class o5{constructor(t){let n;t?rm(t)?n={path:t}:typeof t=="string"||sw(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":nw.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let a=-1;for(;++a<Zh.length;){const l=Zh[a];l in n&&n[l]!==void 0&&n[l]!==null&&(this[l]=l==="history"?[...n[l]]:n[l])}let s;for(s in n)Zh.includes(s)||(this[s]=n[s])}get basename(){return typeof this.path=="string"?Ca.basename(this.path):void 0}set basename(t){e1(t,"basename"),Jh(t,"basename"),this.path=Ca.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Ca.dirname(this.path):void 0}set dirname(t){u3(this.basename,"dirname"),this.path=Ca.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Ca.extname(this.path):void 0}set extname(t){if(Jh(t,"extname"),u3(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Ca.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){rm(t)&&(t=aw(t)),e1(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Ca.basename(this.path,this.extname):void 0}set stem(t){e1(t,"stem"),Jh(t,"stem"),this.path=Ca.join(this.dirname||"",t+(this.extname||""))}fail(t,n,a){const s=this.message(t,n,a);throw s.fatal=!0,s}info(t,n,a){const s=this.message(t,n,a);return s.fatal=void 0,s}message(t,n,a){const s=new Jn(t,n,a);return this.path&&(s.name=this.path+":"+s.name,s.file=this.path),s.fatal=!1,this.messages.push(s),s}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function Jh(e,t){if(e&&e.includes(Ca.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Ca.sep+"`")}function e1(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function u3(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function sw(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const lw=function(e){const a=this.constructor.prototype,s=a[e],l=function(){return s.apply(l,arguments)};return Object.setPrototypeOf(l,a),l},uw={}.hasOwnProperty;class sp extends lw{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=KA()}copy(){const t=new sp;let n=-1;for(;++n<this.attachers.length;){const a=this.attachers[n];t.use(...a)}return t.data(Qh(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(r1("data",this.frozen),this.namespace[t]=n,this):uw.call(this.namespace,t)&&this.namespace[t]||void 0:t?(r1("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...a]=this.attachers[this.freezeIndex];if(a[0]===!1)continue;a[0]===!0&&(a[0]=void 0);const s=n.call(t,...a);typeof s=="function"&&this.transformers.use(s)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=c0(t),a=this.parser||this.Parser;return t1("parse",a),a(String(n),n)}process(t,n){const a=this;return this.freeze(),t1("process",this.parser||this.Parser),n1("process",this.compiler||this.Compiler),n?s(void 0,n):new Promise(s);function s(l,o){const d=c0(t),f=a.parse(d);a.run(f,d,function(p,g,v){if(p||!g||!v)return h(p);const y=g,S=a.stringify(y,v);dw(S)?v.value=S:v.result=S,h(p,v)});function h(p,g){p||!g?o(p):l?l(g):n(void 0,g)}}}processSync(t){let n=!1,a;return this.freeze(),t1("processSync",this.parser||this.Parser),n1("processSync",this.compiler||this.Compiler),this.process(t,s),c3("processSync","process",n),a;function s(l,o){n=!0,s3(l),a=o}}run(t,n,a){o3(t),this.freeze();const s=this.transformers;return!a&&typeof n=="function"&&(a=n,n=void 0),a?l(void 0,a):new Promise(l);function l(o,d){const f=c0(n);s.run(t,f,h);function h(p,g,v){const y=g||t;p?d(p):o?o(y):a(void 0,y,v)}}}runSync(t,n){let a=!1,s;return this.run(t,n,l),c3("runSync","run",a),s;function l(o,d){s3(o),s=d,a=!0}}stringify(t,n){this.freeze();const a=c0(n),s=this.compiler||this.Compiler;return n1("stringify",s),o3(t),s(t,a)}use(t,...n){const a=this.attachers,s=this.namespace;if(r1("use",this.frozen),t!=null)if(typeof t=="function")f(t,n);else if(typeof t=="object")Array.isArray(t)?d(t):o(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function l(h){if(typeof h=="function")f(h,[]);else if(typeof h=="object")if(Array.isArray(h)){const[p,...g]=h;f(p,g)}else o(h);else throw new TypeError("Expected usable value, not `"+h+"`")}function o(h){if(!("plugins"in h)&&!("settings"in h))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");d(h.plugins),h.settings&&(s.settings=Qh(!0,s.settings,h.settings))}function d(h){let p=-1;if(h!=null)if(Array.isArray(h))for(;++p<h.length;){const g=h[p];l(g)}else throw new TypeError("Expected a list of plugins, not `"+h+"`")}function f(h,p){let g=-1,v=-1;for(;++g<a.length;)if(a[g][0]===h){v=g;break}if(v===-1)a.push([h,...p]);else if(p.length>0){let[y,...S]=p;const w=a[v][1];nm(w)&&nm(y)&&(y=Qh(!0,w,y)),a[v]=[h,y,...S]}}}}const ow=new sp().freeze();function t1(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function n1(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function r1(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 o3(e){if(!nm(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function c3(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function c0(e){return cw(e)?e:new o5(e)}function cw(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function dw(e){return typeof e=="string"||fw(e)}function fw(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const hw="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",d3=[],f3={allowDangerousHtml:!0},mw=/^(https?|ircs?|mailto|xmpp)$/i,pw=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function gw(e){const t=bw(e),n=Ew(e);return yw(t.runSync(t.parse(n),n),e)}function bw(e){const t=e.rehypePlugins||d3,n=e.remarkPlugins||d3,a=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...f3}:f3;return ow().use(Zx).use(n).use(GA,a).use(t)}function Ew(e){const t=e.children||"",n=new o5;return typeof t=="string"&&(n.value=t),n}function yw(e,t){const n=t.allowedElements,a=t.allowElement,s=t.components,l=t.disallowedElements,o=t.skipHtml,d=t.unwrapDisallowed,f=t.urlTransform||vw;for(const p of pw)Object.hasOwn(t,p.from)&&(""+p.from+(p.to?"use `"+p.to+"` instead":"remove it")+hw+p.id,void 0);return Uo(e,h),L_(e,{Fragment:q.Fragment,components:s,ignoreInvalidStyle:!0,jsx:q.jsx,jsxs:q.jsxs,passKeys:!0,passNode:!0});function h(p,g,v){if(p.type==="raw"&&v&&typeof g=="number")return o?v.children.splice(g,1):v.children[g]={type:"text",value:p.value},g;if(p.type==="element"){let y;for(y in $h)if(Object.hasOwn($h,y)&&Object.hasOwn(p.properties,y)){const S=p.properties[y],w=$h[y];(w===null||w.includes(p.tagName))&&(p.properties[y]=f(String(S||""),y,p))}}if(p.type==="element"){let y=n?!n.includes(p.tagName):l?l.includes(p.tagName):!1;if(!y&&a&&typeof g=="number"&&(y=!a(p,g,v)),y&&v&&typeof g=="number")return d&&p.children?v.children.splice(g,1,...p.children):v.children.splice(g,1),g}}}function vw(e){const t=e.indexOf(":"),n=e.indexOf("?"),a=e.indexOf("#"),s=e.indexOf("/");return t===-1||s!==-1&&t>s||n!==-1&&t>n||a!==-1&&t>a||mw.test(e.slice(0,t))?e:""}function h3(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let a=0,s=n.indexOf(t);for(;s!==-1;)a++,s=n.indexOf(t,s+t.length);return a}function Tw(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function _w(e,t,n){const s=Po((n||{}).ignore||[]),l=Sw(t);let o=-1;for(;++o<l.length;)ip(e,"text",d);function d(h,p){let g=-1,v;for(;++g<p.length;){const y=p[g],S=v?v.children:void 0;if(s(y,S?S.indexOf(y):void 0,v))return;v=y}if(v)return f(h,p)}function f(h,p){const g=p[p.length-1],v=l[o][0],y=l[o][1];let S=0;const N=g.children.indexOf(h);let k=!1,M=[];v.lastIndex=0;let I=v.exec(h.value);for(;I;){const X=I.index,G={index:I.index,input:I.input,stack:[...p,h]};let P=y(...I,G);if(typeof P=="string"&&(P=P.length>0?{type:"text",value:P}:void 0),P===!1?v.lastIndex=X+1:(S!==X&&M.push({type:"text",value:h.value.slice(S,X)}),Array.isArray(P)?M.push(...P):P&&M.push(P),S=X+I[0].length,k=!0),!v.global)break;I=v.exec(h.value)}return k?(S<h.value.length&&M.push({type:"text",value:h.value.slice(S)}),g.children.splice(N,1,...M)):M=[h],N+M.length}}function Sw(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let a=-1;for(;++a<n.length;){const s=n[a];t.push([xw(s[0]),Aw(s[1])])}return t}function xw(e){return typeof e=="string"?new RegExp(Tw(e),"g"):e}function Aw(e){return typeof e=="function"?e:function(){return e}}const a1="phrasing",i1=["autolink","link","image","label"];function ww(){return{transforms:[Dw],enter:{literalAutolink:kw,literalAutolinkEmail:s1,literalAutolinkHttp:s1,literalAutolinkWww:s1},exit:{literalAutolink:Mw,literalAutolinkEmail:Rw,literalAutolinkHttp:Nw,literalAutolinkWww:Ow}}}function Cw(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:a1,notInConstruct:i1},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:a1,notInConstruct:i1},{character:":",before:"[ps]",after:"\\/",inConstruct:a1,notInConstruct:i1}]}}function kw(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function s1(e){this.config.enter.autolinkProtocol.call(this,e)}function Nw(e){this.config.exit.autolinkProtocol.call(this,e)}function Ow(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function Rw(e){this.config.exit.autolinkEmail.call(this,e)}function Mw(e){this.exit(e)}function Dw(e){_w(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,Iw],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),Lw]],{ignore:["link","linkReference"]})}function Iw(e,t,n,a,s){let l="";if(!c5(s)||(/^w/i.test(t)&&(n=t+n,t="",l="http://"),!Bw(n)))return!1;const o=Pw(n+a);if(!o[0])return!1;const d={type:"link",title:null,url:l+t+o[0],children:[{type:"text",value:t+o[0]}]};return o[1]?[d,{type:"text",value:o[1]}]:d}function Lw(e,t,n,a){return!c5(a,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function Bw(e){const 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 Pw(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],a=n.indexOf(")");const s=h3(e,"(");let l=h3(e,")");for(;a!==-1&&s>l;)e+=n.slice(0,a+1),n=n.slice(a+1),a=n.indexOf(")"),l++;return[e,n]}function c5(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||zs(n)||md(n))&&(!t||n!==47)}d5.peek=Vw;function Uw(){this.buffer()}function zw(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function Fw(){this.buffer()}function Hw(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function qw(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=ga(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Yw(e){this.exit(e)}function jw(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=ga(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Gw(e){this.exit(e)}function Vw(){return"["}function d5(e,t,n,a){const s=n.createTracker(a);let l=s.move("[^");const o=n.enter("footnoteReference"),d=n.enter("reference");return l+=s.move(n.safe(n.associationId(e),{after:"]",before:l})),d(),o(),l+=s.move("]"),l}function $w(){return{enter:{gfmFootnoteCallString:Uw,gfmFootnoteCall:zw,gfmFootnoteDefinitionLabelString:Fw,gfmFootnoteDefinition:Hw},exit:{gfmFootnoteCallString:qw,gfmFootnoteCall:Yw,gfmFootnoteDefinitionLabelString:jw,gfmFootnoteDefinition:Gw}}}function Kw(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:d5},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(a,s,l,o){const d=l.createTracker(o);let f=d.move("[^");const h=l.enter("footnoteDefinition"),p=l.enter("label");return f+=d.move(l.safe(l.associationId(a),{before:f,after:"]"})),p(),f+=d.move("]:"),a.children&&a.children.length>0&&(d.shift(4),f+=d.move((t?`
|
|
74
|
-
`:" ")+l.indentLines(l.containerFlow(a,d.current()),t?f5:Xw))),h(),f}}function Xw(e,t,n){return t===0?e:f5(e,t,n)}function f5(e,t,n){return(n?"":" ")+e}const Ww=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];h5.peek=tC;function Qw(){return{canContainEols:["delete"],enter:{strikethrough:Jw},exit:{strikethrough:eC}}}function Zw(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Ww}],handlers:{delete:h5}}}function Jw(e){this.enter({type:"delete",children:[]},e)}function eC(e){this.exit(e)}function h5(e,t,n,a){const s=n.createTracker(a),l=n.enter("strikethrough");let o=s.move("~~");return o+=n.containerPhrasing(e,{...s.current(),before:o,after:"~"}),o+=s.move("~~"),l(),o}function tC(){return"~"}function nC(e){return e.length}function rC(e,t){const n=t||{},a=(n.align||[]).concat(),s=n.stringLength||nC,l=[],o=[],d=[],f=[];let h=0,p=-1;for(;++p<e.length;){const w=[],N=[];let k=-1;for(e[p].length>h&&(h=e[p].length);++k<e[p].length;){const M=aC(e[p][k]);if(n.alignDelimiters!==!1){const I=s(M);N[k]=I,(f[k]===void 0||I>f[k])&&(f[k]=I)}w.push(M)}o[p]=w,d[p]=N}let g=-1;if(typeof a=="object"&&"length"in a)for(;++g<h;)l[g]=m3(a[g]);else{const w=m3(a);for(;++g<h;)l[g]=w}g=-1;const v=[],y=[];for(;++g<h;){const w=l[g];let N="",k="";w===99?(N=":",k=":"):w===108?N=":":w===114&&(k=":");let M=n.alignDelimiters===!1?1:Math.max(1,f[g]-N.length-k.length);const I=N+"-".repeat(M)+k;n.alignDelimiters!==!1&&(M=N.length+M+k.length,M>f[g]&&(f[g]=M),y[g]=M),v[g]=I}o.splice(1,0,v),d.splice(1,0,y),p=-1;const S=[];for(;++p<o.length;){const w=o[p],N=d[p];g=-1;const k=[];for(;++g<h;){const M=w[g]||"";let I="",X="";if(n.alignDelimiters!==!1){const G=f[g]-(N[g]||0),P=l[g];P===114?I=" ".repeat(G):P===99?G%2?(I=" ".repeat(G/2+.5),X=" ".repeat(G/2-.5)):(I=" ".repeat(G/2),X=I):X=" ".repeat(G)}n.delimiterStart!==!1&&!g&&k.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&M==="")&&(n.delimiterStart!==!1||g)&&k.push(" "),n.alignDelimiters!==!1&&k.push(I),k.push(M),n.alignDelimiters!==!1&&k.push(X),n.padding!==!1&&k.push(" "),(n.delimiterEnd!==!1||g!==h-1)&&k.push("|")}S.push(n.delimiterEnd===!1?k.join("").replace(/ +$/,""):k.join(""))}return S.join(`
|
|
75
|
-
`)}function aC(e){return e==null?"":String(e)}function m3(e){const t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}const p3={}.hasOwnProperty;function m5(e,t){const n=t||{};function a(s,...l){let o=a.invalid;const d=a.handlers;if(s&&p3.call(s,e)){const f=String(s[e]);o=p3.call(d,f)?d[f]:a.unknown}if(o)return o.call(this,s,...l)}return a.handlers=n.handlers||{},a.invalid=n.invalid,a.unknown=n.unknown,a}function iC(e,t,n,a){const s=n.enter("blockquote"),l=n.createTracker(a);l.move("> "),l.shift(2);const o=n.indentLines(n.containerFlow(e,l.current()),sC);return s(),o}function sC(e,t,n){return">"+(n?"":" ")+e}function lC(e,t){return g3(e,t.inConstruct,!0)&&!g3(e,t.notInConstruct,!1)}function g3(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let a=-1;for(;++a<t.length;)if(e.includes(t[a]))return!0;return!1}function b3(e,t,n,a){let s=-1;for(;++s<n.unsafe.length;)if(n.unsafe[s].character===`
|
|
76
|
-
`&&lC(n.stack,n.unsafe[s]))return/[ \t]/.test(a.before)?"":" ";return`\\
|
|
77
|
-
`}function p5(e,t){const n=String(e);let a=n.indexOf(t),s=a,l=0,o=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;a!==-1;)a===s?++l>o&&(o=l):l=1,s=a+t.length,a=n.indexOf(t,s);return o}function uC(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function oC(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function cC(e,t,n,a){const s=oC(n),l=e.value||"",o=s==="`"?"GraveAccent":"Tilde";if(uC(e,n)){const g=n.enter("codeIndented"),v=n.indentLines(l,dC);return g(),v}const d=n.createTracker(a),f=s.repeat(Math.max(p5(l,s)+1,3)),h=n.enter("codeFenced");let p=d.move(f);if(e.lang){const g=n.enter(`codeFencedLang${o}`);p+=d.move(n.safe(e.lang,{before:p,after:" ",encode:["`"],...d.current()})),g()}if(e.lang&&e.meta){const g=n.enter(`codeFencedMeta${o}`);p+=d.move(" "),p+=d.move(n.safe(e.meta,{before:p,after:`
|
|
78
|
-
`,encode:["`"],...d.current()})),g()}return p+=d.move(`
|
|
79
|
-
`),l&&(p+=d.move(l+`
|
|
80
|
-
`)),p+=d.move(f),h(),p}function dC(e,t,n){return(n?"":" ")+e}function lp(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function fC(e,t,n,a){const s=lp(n),l=s==='"'?"Quote":"Apostrophe",o=n.enter("definition");let d=n.enter("label");const f=n.createTracker(a);let h=f.move("[");return h+=f.move(n.safe(n.associationId(e),{before:h,after:"]",...f.current()})),h+=f.move("]: "),d(),!e.url||/[\0- \u007F]/.test(e.url)?(d=n.enter("destinationLiteral"),h+=f.move("<"),h+=f.move(n.safe(e.url,{before:h,after:">",...f.current()})),h+=f.move(">")):(d=n.enter("destinationRaw"),h+=f.move(n.safe(e.url,{before:h,after:e.title?" ":`
|
|
81
|
-
`,...f.current()}))),d(),e.title&&(d=n.enter(`title${l}`),h+=f.move(" "+s),h+=f.move(n.safe(e.title,{before:h,after:s,...f.current()})),h+=f.move(s),d()),o(),h}function hC(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function ko(e){return"&#x"+e.toString(16).toUpperCase()+";"}function K0(e,t,n){const a=Bl(e),s=Bl(t);return a===void 0?s===void 0?n==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:s===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:a===1?s===void 0?{inside:!1,outside:!1}:s===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:s===void 0?{inside:!1,outside:!1}:s===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}g5.peek=mC;function g5(e,t,n,a){const s=hC(n),l=n.enter("emphasis"),o=n.createTracker(a),d=o.move(s);let f=o.move(n.containerPhrasing(e,{after:s,before:d,...o.current()}));const h=f.charCodeAt(0),p=K0(a.before.charCodeAt(a.before.length-1),h,s);p.inside&&(f=ko(h)+f.slice(1));const g=f.charCodeAt(f.length-1),v=K0(a.after.charCodeAt(0),g,s);v.inside&&(f=f.slice(0,-1)+ko(g));const y=o.move(s);return l(),n.attentionEncodeSurroundingInfo={after:v.outside,before:p.outside},d+f+y}function mC(e,t,n){return n.options.emphasis||"*"}function pC(e,t){let n=!1;return Uo(e,function(a){if("value"in a&&/\r?\n|\r/.test(a.value)||a.type==="break")return n=!0,em}),!!((!e.depth||e.depth<3)&&Zm(e)&&(t.options.setext||n))}function gC(e,t,n,a){const s=Math.max(Math.min(6,e.depth||1),1),l=n.createTracker(a);if(pC(e,n)){const p=n.enter("headingSetext"),g=n.enter("phrasing"),v=n.containerPhrasing(e,{...l.current(),before:`
|
|
82
|
-
`,after:`
|
|
83
|
-
`});return g(),p(),v+`
|
|
84
|
-
`+(s===1?"=":"-").repeat(v.length-(Math.max(v.lastIndexOf("\r"),v.lastIndexOf(`
|
|
85
|
-
`))+1))}const o="#".repeat(s),d=n.enter("headingAtx"),f=n.enter("phrasing");l.move(o+" ");let h=n.containerPhrasing(e,{before:"# ",after:`
|
|
86
|
-
`,...l.current()});return/^[\t ]/.test(h)&&(h=ko(h.charCodeAt(0))+h.slice(1)),h=h?o+" "+h:o,n.options.closeAtx&&(h+=" "+o),f(),d(),h}b5.peek=bC;function b5(e){return e.value||""}function bC(){return"<"}E5.peek=EC;function E5(e,t,n,a){const s=lp(n),l=s==='"'?"Quote":"Apostrophe",o=n.enter("image");let d=n.enter("label");const f=n.createTracker(a);let h=f.move("![");return h+=f.move(n.safe(e.alt,{before:h,after:"]",...f.current()})),h+=f.move("]("),d(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(d=n.enter("destinationLiteral"),h+=f.move("<"),h+=f.move(n.safe(e.url,{before:h,after:">",...f.current()})),h+=f.move(">")):(d=n.enter("destinationRaw"),h+=f.move(n.safe(e.url,{before:h,after:e.title?" ":")",...f.current()}))),d(),e.title&&(d=n.enter(`title${l}`),h+=f.move(" "+s),h+=f.move(n.safe(e.title,{before:h,after:s,...f.current()})),h+=f.move(s),d()),h+=f.move(")"),o(),h}function EC(){return"!"}y5.peek=yC;function y5(e,t,n,a){const s=e.referenceType,l=n.enter("imageReference");let o=n.enter("label");const d=n.createTracker(a);let f=d.move("![");const h=n.safe(e.alt,{before:f,after:"]",...d.current()});f+=d.move(h+"]["),o();const p=n.stack;n.stack=[],o=n.enter("reference");const g=n.safe(n.associationId(e),{before:f,after:"]",...d.current()});return o(),n.stack=p,l(),s==="full"||!h||h!==g?f+=d.move(g+"]"):s==="shortcut"?f=f.slice(0,-1):f+=d.move("]"),f}function yC(){return"!"}v5.peek=vC;function v5(e,t,n){let a=e.value||"",s="`",l=-1;for(;new RegExp("(^|[^`])"+s+"([^`]|$)").test(a);)s+="`";for(/[^ \r\n]/.test(a)&&(/^[ \r\n]/.test(a)&&/[ \r\n]$/.test(a)||/^`|`$/.test(a))&&(a=" "+a+" ");++l<n.unsafe.length;){const o=n.unsafe[l],d=n.compilePattern(o);let f;if(o.atBreak)for(;f=d.exec(a);){let h=f.index;a.charCodeAt(h)===10&&a.charCodeAt(h-1)===13&&h--,a=a.slice(0,h)+" "+a.slice(f.index+1)}}return s+a+s}function vC(){return"`"}function T5(e,t){const n=Zm(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}_5.peek=TC;function _5(e,t,n,a){const s=lp(n),l=s==='"'?"Quote":"Apostrophe",o=n.createTracker(a);let d,f;if(T5(e,n)){const p=n.stack;n.stack=[],d=n.enter("autolink");let g=o.move("<");return g+=o.move(n.containerPhrasing(e,{before:g,after:">",...o.current()})),g+=o.move(">"),d(),n.stack=p,g}d=n.enter("link"),f=n.enter("label");let h=o.move("[");return h+=o.move(n.containerPhrasing(e,{before:h,after:"](",...o.current()})),h+=o.move("]("),f(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(f=n.enter("destinationLiteral"),h+=o.move("<"),h+=o.move(n.safe(e.url,{before:h,after:">",...o.current()})),h+=o.move(">")):(f=n.enter("destinationRaw"),h+=o.move(n.safe(e.url,{before:h,after:e.title?" ":")",...o.current()}))),f(),e.title&&(f=n.enter(`title${l}`),h+=o.move(" "+s),h+=o.move(n.safe(e.title,{before:h,after:s,...o.current()})),h+=o.move(s),f()),h+=o.move(")"),d(),h}function TC(e,t,n){return T5(e,n)?"<":"["}S5.peek=_C;function S5(e,t,n,a){const s=e.referenceType,l=n.enter("linkReference");let o=n.enter("label");const d=n.createTracker(a);let f=d.move("[");const h=n.containerPhrasing(e,{before:f,after:"]",...d.current()});f+=d.move(h+"]["),o();const p=n.stack;n.stack=[],o=n.enter("reference");const g=n.safe(n.associationId(e),{before:f,after:"]",...d.current()});return o(),n.stack=p,l(),s==="full"||!h||h!==g?f+=d.move(g+"]"):s==="shortcut"?f=f.slice(0,-1):f+=d.move("]"),f}function _C(){return"["}function up(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function SC(e){const t=up(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function xC(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function x5(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function AC(e,t,n,a){const s=n.enter("list"),l=n.bulletCurrent;let o=e.ordered?xC(n):up(n);const d=e.ordered?o==="."?")":".":SC(n);let f=t&&n.bulletLastUsed?o===n.bulletLastUsed:!1;if(!e.ordered){const p=e.children?e.children[0]:void 0;if((o==="*"||o==="-")&&p&&(!p.children||!p.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(f=!0),x5(n)===o&&p){let g=-1;for(;++g<e.children.length;){const v=e.children[g];if(v&&v.type==="listItem"&&v.children&&v.children[0]&&v.children[0].type==="thematicBreak"){f=!0;break}}}}f&&(o=d),n.bulletCurrent=o;const h=n.containerFlow(e,a);return n.bulletLastUsed=o,n.bulletCurrent=l,s(),h}function wC(e){const t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function CC(e,t,n,a){const s=wC(n);let l=n.bulletCurrent||up(n);t&&t.type==="list"&&t.ordered&&(l=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+l);let o=l.length+1;(s==="tab"||s==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);const d=n.createTracker(a);d.move(l+" ".repeat(o-l.length)),d.shift(o);const f=n.enter("listItem"),h=n.indentLines(n.containerFlow(e,d.current()),p);return f(),h;function p(g,v,y){return v?(y?"":" ".repeat(o))+g:(y?l:l+" ".repeat(o-l.length))+g}}function kC(e,t,n,a){const s=n.enter("paragraph"),l=n.enter("phrasing"),o=n.containerPhrasing(e,a);return l(),s(),o}const NC=Po(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function OC(e,t,n,a){return(e.children.some(function(o){return NC(o)})?n.containerPhrasing:n.containerFlow).call(n,e,a)}function RC(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}A5.peek=MC;function A5(e,t,n,a){const s=RC(n),l=n.enter("strong"),o=n.createTracker(a),d=o.move(s+s);let f=o.move(n.containerPhrasing(e,{after:s,before:d,...o.current()}));const h=f.charCodeAt(0),p=K0(a.before.charCodeAt(a.before.length-1),h,s);p.inside&&(f=ko(h)+f.slice(1));const g=f.charCodeAt(f.length-1),v=K0(a.after.charCodeAt(0),g,s);v.inside&&(f=f.slice(0,-1)+ko(g));const y=o.move(s+s);return l(),n.attentionEncodeSurroundingInfo={after:v.outside,before:p.outside},d+f+y}function MC(e,t,n){return n.options.strong||"*"}function DC(e,t,n,a){return n.safe(e.value,a)}function IC(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function LC(e,t,n){const a=(x5(n)+(n.options.ruleSpaces?" ":"")).repeat(IC(n));return n.options.ruleSpaces?a.slice(0,-1):a}const w5={blockquote:iC,break:b3,code:cC,definition:fC,emphasis:g5,hardBreak:b3,heading:gC,html:b5,image:E5,imageReference:y5,inlineCode:v5,link:_5,linkReference:S5,list:AC,listItem:CC,paragraph:kC,root:OC,strong:A5,text:DC,thematicBreak:LC};function BC(){return{enter:{table:PC,tableData:E3,tableHeader:E3,tableRow:zC},exit:{codeText:FC,table:UC,tableData:l1,tableHeader:l1,tableRow:l1}}}function PC(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function UC(e){this.exit(e),this.data.inTable=void 0}function zC(e){this.enter({type:"tableRow",children:[]},e)}function l1(e){this.exit(e)}function E3(e){this.enter({type:"tableCell",children:[]},e)}function FC(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,HC));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function HC(e,t){return t==="|"?t:e}function qC(e){const t=e||{},n=t.tableCellPadding,a=t.tablePipeAlign,s=t.stringLength,l=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
|
|
87
|
-
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:v,table:o,tableCell:f,tableRow:d}};function o(y,S,w,N){return h(p(y,w,N),y.align)}function d(y,S,w,N){const k=g(y,w,N),M=h([k]);return M.slice(0,M.indexOf(`
|
|
88
|
-
`))}function f(y,S,w,N){const k=w.enter("tableCell"),M=w.enter("phrasing"),I=w.containerPhrasing(y,{...N,before:l,after:l});return M(),k(),I}function h(y,S){return rC(y,{align:S,alignDelimiters:a,padding:n,stringLength:s})}function p(y,S,w){const N=y.children;let k=-1;const M=[],I=S.enter("table");for(;++k<N.length;)M[k]=g(N[k],S,w);return I(),M}function g(y,S,w){const N=y.children;let k=-1;const M=[],I=S.enter("tableRow");for(;++k<N.length;)M[k]=f(N[k],y,S,w);return I(),M}function v(y,S,w){let N=w5.inlineCode(y,S,w);return w.stack.includes("tableCell")&&(N=N.replace(/\|/g,"\\$&")),N}}function YC(){return{exit:{taskListCheckValueChecked:y3,taskListCheckValueUnchecked:y3,paragraph:GC}}}function jC(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:VC}}}function y3(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function GC(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const a=n.children[0];if(a&&a.type==="text"){const s=t.children;let l=-1,o;for(;++l<s.length;){const d=s[l];if(d.type==="paragraph"){o=d;break}}o===n&&(a.value=a.value.slice(1),a.value.length===0?n.children.shift():n.position&&a.position&&typeof a.position.start.offset=="number"&&(a.position.start.column++,a.position.start.offset++,n.position.start=Object.assign({},a.position.start)))}}this.exit(e)}function VC(e,t,n,a){const s=e.children[0],l=typeof e.checked=="boolean"&&s&&s.type==="paragraph",o="["+(e.checked?"x":" ")+"] ",d=n.createTracker(a);l&&d.move(o);let f=w5.listItem(e,t,n,{...a,...d.current()});return l&&(f=f.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,h)),f;function h(p){return p+o}}function $C(){return[ww(),$w(),Qw(),BC(),YC()]}function KC(e){return{extensions:[Cw(),Kw(e),Zw(),qC(e),jC()]}}const XC={tokenize:tk,partial:!0},C5={tokenize:nk,partial:!0},k5={tokenize:rk,partial:!0},N5={tokenize:ak,partial:!0},WC={tokenize:ik,partial:!0},O5={name:"wwwAutolink",tokenize:JC,previous:M5},R5={name:"protocolAutolink",tokenize:ek,previous:D5},bi={name:"emailAutolink",tokenize:ZC,previous:I5},Ba={};function QC(){return{text:Ba}}let Is=48;for(;Is<123;)Ba[Is]=bi,Is++,Is===58?Is=65:Is===91&&(Is=97);Ba[43]=bi;Ba[45]=bi;Ba[46]=bi;Ba[95]=bi;Ba[72]=[bi,R5];Ba[104]=[bi,R5];Ba[87]=[bi,O5];Ba[119]=[bi,O5];function ZC(e,t,n){const a=this;let s,l;return o;function o(g){return!am(g)||!I5.call(a,a.previous)||op(a.events)?n(g):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),d(g))}function d(g){return am(g)?(e.consume(g),d):g===64?(e.consume(g),f):n(g)}function f(g){return g===46?e.check(WC,p,h)(g):g===45||g===95||Zn(g)?(l=!0,e.consume(g),f):p(g)}function h(g){return e.consume(g),s=!0,f}function p(g){return l&&s&&or(a.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(g)):n(g)}}function JC(e,t,n){const a=this;return s;function s(o){return o!==87&&o!==119||!M5.call(a,a.previous)||op(a.events)?n(o):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(XC,e.attempt(C5,e.attempt(k5,l),n),n)(o))}function l(o){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(o)}}function ek(e,t,n){const a=this;let s="",l=!1;return o;function o(g){return(g===72||g===104)&&D5.call(a,a.previous)&&!op(a.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),s+=String.fromCodePoint(g),e.consume(g),d):n(g)}function d(g){if(or(g)&&s.length<5)return s+=String.fromCodePoint(g),e.consume(g),d;if(g===58){const v=s.toLowerCase();if(v==="http"||v==="https")return e.consume(g),f}return n(g)}function f(g){return g===47?(e.consume(g),l?h:(l=!0,f)):n(g)}function h(g){return g===null||V0(g)||$t(g)||zs(g)||md(g)?n(g):e.attempt(C5,e.attempt(k5,p),n)(g)}function p(g){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(g)}}function tk(e,t,n){let a=0;return s;function s(o){return(o===87||o===119)&&a<3?(a++,e.consume(o),s):o===46&&a===3?(e.consume(o),l):n(o)}function l(o){return o===null?n(o):t(o)}}function nk(e,t,n){let a,s,l;return o;function o(h){return h===46||h===95?e.check(N5,f,d)(h):h===null||$t(h)||zs(h)||h!==45&&md(h)?f(h):(l=!0,e.consume(h),o)}function d(h){return h===95?a=!0:(s=a,a=void 0),e.consume(h),o}function f(h){return s||a||!l?n(h):t(h)}}function rk(e,t){let n=0,a=0;return s;function s(o){return o===40?(n++,e.consume(o),s):o===41&&a<n?l(o):o===33||o===34||o===38||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===60||o===63||o===93||o===95||o===126?e.check(N5,t,l)(o):o===null||$t(o)||zs(o)?t(o):(e.consume(o),s)}function l(o){return o===41&&a++,e.consume(o),s}}function ak(e,t,n){return a;function a(d){return d===33||d===34||d===39||d===41||d===42||d===44||d===46||d===58||d===59||d===63||d===95||d===126?(e.consume(d),a):d===38?(e.consume(d),l):d===93?(e.consume(d),s):d===60||d===null||$t(d)||zs(d)?t(d):n(d)}function s(d){return d===null||d===40||d===91||$t(d)||zs(d)?t(d):a(d)}function l(d){return or(d)?o(d):n(d)}function o(d){return d===59?(e.consume(d),a):or(d)?(e.consume(d),o):n(d)}}function ik(e,t,n){return a;function a(l){return e.consume(l),s}function s(l){return Zn(l)?n(l):t(l)}}function M5(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||$t(e)}function D5(e){return!or(e)}function I5(e){return!(e===47||am(e))}function am(e){return e===43||e===45||e===46||e===95||Zn(e)}function op(e){let t=e.length,n=!1;for(;t--;){const a=e[t][1];if((a.type==="labelLink"||a.type==="labelImage")&&!a._balanced){n=!0;break}if(a._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const sk={tokenize:mk,partial:!0};function lk(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:dk,continuation:{tokenize:fk},exit:hk}},text:{91:{name:"gfmFootnoteCall",tokenize:ck},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:uk,resolveTo:ok}}}}function uk(e,t,n){const a=this;let s=a.events.length;const l=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);let o;for(;s--;){const f=a.events[s][1];if(f.type==="labelImage"){o=f;break}if(f.type==="gfmFootnoteCall"||f.type==="labelLink"||f.type==="label"||f.type==="image"||f.type==="link")break}return d;function d(f){if(!o||!o._balanced)return n(f);const h=ga(a.sliceSerialize({start:o.end,end:a.now()}));return h.codePointAt(0)!==94||!l.includes(h.slice(1))?n(f):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),t(f))}}function ok(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const a={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},s={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};s.end.column++,s.end.offset++,s.end._bufferIndex++;const l={type:"gfmFootnoteCallString",start:Object.assign({},s.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},l.start),end:Object.assign({},l.end)},d=[e[n+1],e[n+2],["enter",a,t],e[n+3],e[n+4],["enter",s,t],["exit",s,t],["enter",l,t],["enter",o,t],["exit",o,t],["exit",l,t],e[e.length-2],e[e.length-1],["exit",a,t]];return e.splice(n,e.length-n+1,...d),e}function ck(e,t,n){const a=this,s=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);let l=0,o;return d;function d(g){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(g),e.exit("gfmFootnoteCallLabelMarker"),f}function f(g){return g!==94?n(g):(e.enter("gfmFootnoteCallMarker"),e.consume(g),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",h)}function h(g){if(l>999||g===93&&!o||g===null||g===91||$t(g))return n(g);if(g===93){e.exit("chunkString");const v=e.exit("gfmFootnoteCallString");return s.includes(ga(a.sliceSerialize(v)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(g),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(g)}return $t(g)||(o=!0),l++,e.consume(g),g===92?p:h}function p(g){return g===91||g===92||g===93?(e.consume(g),l++,h):h(g)}}function dk(e,t,n){const a=this,s=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);let l,o=0,d;return f;function f(S){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(S),e.exit("gfmFootnoteDefinitionLabelMarker"),h}function h(S){return S===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(S),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",p):n(S)}function p(S){if(o>999||S===93&&!d||S===null||S===91||$t(S))return n(S);if(S===93){e.exit("chunkString");const w=e.exit("gfmFootnoteDefinitionLabelString");return l=ga(a.sliceSerialize(w)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(S),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),v}return $t(S)||(d=!0),o++,e.consume(S),S===92?g:p}function g(S){return S===91||S===92||S===93?(e.consume(S),o++,p):p(S)}function v(S){return S===58?(e.enter("definitionMarker"),e.consume(S),e.exit("definitionMarker"),s.includes(l)||s.push(l),At(e,y,"gfmFootnoteDefinitionWhitespace")):n(S)}function y(S){return t(S)}}function fk(e,t,n){return e.check(Bo,t,e.attempt(sk,t,n))}function hk(e){e.exit("gfmFootnoteDefinition")}function mk(e,t,n){const a=this;return At(e,s,"gfmFootnoteDefinitionIndent",5);function s(l){const o=a.events[a.events.length-1];return o&&o[1].type==="gfmFootnoteDefinitionIndent"&&o[2].sliceSerialize(o[1],!0).length===4?t(l):n(l)}}function pk(e){let n=(e||{}).singleTilde;const a={name:"strikethrough",tokenize:l,resolveAll:s};return n==null&&(n=!0),{text:{126:a},insideSpan:{null:[a]},attentionMarkers:{null:[126]}};function s(o,d){let f=-1;for(;++f<o.length;)if(o[f][0]==="enter"&&o[f][1].type==="strikethroughSequenceTemporary"&&o[f][1]._close){let h=f;for(;h--;)if(o[h][0]==="exit"&&o[h][1].type==="strikethroughSequenceTemporary"&&o[h][1]._open&&o[f][1].end.offset-o[f][1].start.offset===o[h][1].end.offset-o[h][1].start.offset){o[f][1].type="strikethroughSequence",o[h][1].type="strikethroughSequence";const p={type:"strikethrough",start:Object.assign({},o[h][1].start),end:Object.assign({},o[f][1].end)},g={type:"strikethroughText",start:Object.assign({},o[h][1].end),end:Object.assign({},o[f][1].start)},v=[["enter",p,d],["enter",o[h][1],d],["exit",o[h][1],d],["enter",g,d]],y=d.parser.constructs.insideSpan.null;y&&Fr(v,v.length,0,pd(y,o.slice(h+1,f),d)),Fr(v,v.length,0,[["exit",g,d],["enter",o[f][1],d],["exit",o[f][1],d],["exit",p,d]]),Fr(o,h-1,f-h+3,v),f=h+v.length-2;break}}for(f=-1;++f<o.length;)o[f][1].type==="strikethroughSequenceTemporary"&&(o[f][1].type="data");return o}function l(o,d,f){const h=this.previous,p=this.events;let g=0;return v;function v(S){return h===126&&p[p.length-1][1].type!=="characterEscape"?f(S):(o.enter("strikethroughSequenceTemporary"),y(S))}function y(S){const w=Bl(h);if(S===126)return g>1?f(S):(o.consume(S),g++,y);if(g<2&&!n)return f(S);const N=o.exit("strikethroughSequenceTemporary"),k=Bl(S);return N._open=!k||k===2&&!!w,N._close=!w||w===2&&!!k,d(S)}}}class gk{constructor(){this.map=[]}add(t,n,a){bk(this,t,n,a)}consume(t){if(this.map.sort(function(l,o){return l[0]-o[0]}),this.map.length===0)return;let n=this.map.length;const a=[];for(;n>0;)n-=1,a.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];a.push(t.slice()),t.length=0;let s=a.pop();for(;s;){for(const l of s)t.push(l);s=a.pop()}this.map.length=0}}function bk(e,t,n,a){let s=0;if(!(n===0&&a.length===0)){for(;s<e.map.length;){if(e.map[s][0]===t){e.map[s][1]+=n,e.map[s][2].push(...a);return}s+=1}e.map.push([t,n,a])}}function Ek(e,t){let n=!1;const a=[];for(;t<e.length;){const s=e[t];if(n){if(s[0]==="enter")s[1].type==="tableContent"&&a.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(s[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const l=a.length-1;a[l]=a[l]==="left"?"center":"right"}}else if(s[1].type==="tableDelimiterRow")break}else s[0]==="enter"&&s[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return a}function yk(){return{flow:{null:{name:"table",tokenize:vk,resolveAll:Tk}}}}function vk(e,t,n){const a=this;let s=0,l=0,o;return d;function d(Y){let ee=a.events.length-1;for(;ee>-1;){const oe=a.events[ee][1].type;if(oe==="lineEnding"||oe==="linePrefix")ee--;else break}const re=ee>-1?a.events[ee][1].type:null,ge=re==="tableHead"||re==="tableRow"?P:f;return ge===P&&a.parser.lazy[a.now().line]?n(Y):ge(Y)}function f(Y){return e.enter("tableHead"),e.enter("tableRow"),h(Y)}function h(Y){return Y===124||(o=!0,l+=1),p(Y)}function p(Y){return Y===null?n(Y):Xe(Y)?l>1?(l=0,a.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(Y),e.exit("lineEnding"),y):n(Y):Nt(Y)?At(e,p,"whitespace")(Y):(l+=1,o&&(o=!1,s+=1),Y===124?(e.enter("tableCellDivider"),e.consume(Y),e.exit("tableCellDivider"),o=!0,p):(e.enter("data"),g(Y)))}function g(Y){return Y===null||Y===124||$t(Y)?(e.exit("data"),p(Y)):(e.consume(Y),Y===92?v:g)}function v(Y){return Y===92||Y===124?(e.consume(Y),g):g(Y)}function y(Y){return a.interrupt=!1,a.parser.lazy[a.now().line]?n(Y):(e.enter("tableDelimiterRow"),o=!1,Nt(Y)?At(e,S,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Y):S(Y))}function S(Y){return Y===45||Y===58?N(Y):Y===124?(o=!0,e.enter("tableCellDivider"),e.consume(Y),e.exit("tableCellDivider"),w):G(Y)}function w(Y){return Nt(Y)?At(e,N,"whitespace")(Y):N(Y)}function N(Y){return Y===58?(l+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(Y),e.exit("tableDelimiterMarker"),k):Y===45?(l+=1,k(Y)):Y===null||Xe(Y)?X(Y):G(Y)}function k(Y){return Y===45?(e.enter("tableDelimiterFiller"),M(Y)):G(Y)}function M(Y){return Y===45?(e.consume(Y),M):Y===58?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(Y),e.exit("tableDelimiterMarker"),I):(e.exit("tableDelimiterFiller"),I(Y))}function I(Y){return Nt(Y)?At(e,X,"whitespace")(Y):X(Y)}function X(Y){return Y===124?S(Y):Y===null||Xe(Y)?!o||s!==l?G(Y):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(Y)):G(Y)}function G(Y){return n(Y)}function P(Y){return e.enter("tableRow"),Z(Y)}function Z(Y){return Y===124?(e.enter("tableCellDivider"),e.consume(Y),e.exit("tableCellDivider"),Z):Y===null||Xe(Y)?(e.exit("tableRow"),t(Y)):Nt(Y)?At(e,Z,"whitespace")(Y):(e.enter("data"),ne(Y))}function ne(Y){return Y===null||Y===124||$t(Y)?(e.exit("data"),Z(Y)):(e.consume(Y),Y===92?te:ne)}function te(Y){return Y===92||Y===124?(e.consume(Y),ne):ne(Y)}}function Tk(e,t){let n=-1,a=!0,s=0,l=[0,0,0,0],o=[0,0,0,0],d=!1,f=0,h,p,g;const v=new gk;for(;++n<e.length;){const y=e[n],S=y[1];y[0]==="enter"?S.type==="tableHead"?(d=!1,f!==0&&(v3(v,t,f,h,p),p=void 0,f=0),h={type:"table",start:Object.assign({},S.start),end:Object.assign({},S.end)},v.add(n,0,[["enter",h,t]])):S.type==="tableRow"||S.type==="tableDelimiterRow"?(a=!0,g=void 0,l=[0,0,0,0],o=[0,n+1,0,0],d&&(d=!1,p={type:"tableBody",start:Object.assign({},S.start),end:Object.assign({},S.end)},v.add(n,0,[["enter",p,t]])),s=S.type==="tableDelimiterRow"?2:p?3:1):s&&(S.type==="data"||S.type==="tableDelimiterMarker"||S.type==="tableDelimiterFiller")?(a=!1,o[2]===0&&(l[1]!==0&&(o[0]=o[1],g=d0(v,t,l,s,void 0,g),l=[0,0,0,0]),o[2]=n)):S.type==="tableCellDivider"&&(a?a=!1:(l[1]!==0&&(o[0]=o[1],g=d0(v,t,l,s,void 0,g)),l=o,o=[l[1],n,0,0])):S.type==="tableHead"?(d=!0,f=n):S.type==="tableRow"||S.type==="tableDelimiterRow"?(f=n,l[1]!==0?(o[0]=o[1],g=d0(v,t,l,s,n,g)):o[1]!==0&&(g=d0(v,t,o,s,n,g)),s=0):s&&(S.type==="data"||S.type==="tableDelimiterMarker"||S.type==="tableDelimiterFiller")&&(o[3]=n)}for(f!==0&&v3(v,t,f,h,p),v.consume(t.events),n=-1;++n<t.events.length;){const y=t.events[n];y[0]==="enter"&&y[1].type==="table"&&(y[1]._align=Ek(t.events,n))}return e}function d0(e,t,n,a,s,l){const o=a===1?"tableHeader":a===2?"tableDelimiter":"tableData",d="tableContent";n[0]!==0&&(l.end=Object.assign({},Cl(t.events,n[0])),e.add(n[0],0,[["exit",l,t]]));const f=Cl(t.events,n[1]);if(l={type:o,start:Object.assign({},f),end:Object.assign({},f)},e.add(n[1],0,[["enter",l,t]]),n[2]!==0){const h=Cl(t.events,n[2]),p=Cl(t.events,n[3]),g={type:d,start:Object.assign({},h),end:Object.assign({},p)};if(e.add(n[2],0,[["enter",g,t]]),a!==2){const v=t.events[n[2]],y=t.events[n[3]];if(v[1].end=Object.assign({},y[1].end),v[1].type="chunkText",v[1].contentType="text",n[3]>n[2]+1){const S=n[2]+1,w=n[3]-n[2]-1;e.add(S,w,[])}}e.add(n[3]+1,0,[["exit",g,t]])}return s!==void 0&&(l.end=Object.assign({},Cl(t.events,s)),e.add(s,0,[["exit",l,t]]),l=void 0),l}function v3(e,t,n,a,s){const l=[],o=Cl(t.events,n);s&&(s.end=Object.assign({},o),l.push(["exit",s,t])),a.end=Object.assign({},o),l.push(["exit",a,t]),e.add(n+1,0,l)}function Cl(e,t){const n=e[t],a=n[0]==="enter"?"start":"end";return n[1][a]}const _k={name:"tasklistCheck",tokenize:xk};function Sk(){return{text:{91:_k}}}function xk(e,t,n){const a=this;return s;function s(f){return a.previous!==null||!a._gfmTasklistFirstContentOfListItem?n(f):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(f),e.exit("taskListCheckMarker"),l)}function l(f){return $t(f)?(e.enter("taskListCheckValueUnchecked"),e.consume(f),e.exit("taskListCheckValueUnchecked"),o):f===88||f===120?(e.enter("taskListCheckValueChecked"),e.consume(f),e.exit("taskListCheckValueChecked"),o):n(f)}function o(f){return f===93?(e.enter("taskListCheckMarker"),e.consume(f),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),d):n(f)}function d(f){return Xe(f)?t(f):Nt(f)?e.check({tokenize:Ak},t,n)(f):n(f)}}function Ak(e,t,n){return At(e,a,"whitespace");function a(s){return s===null?n(s):t(s)}}function wk(e){return YE([QC(),lk(),pk(e),yk(),Sk()])}const Ck={};function kk(e){const t=this,n=e||Ck,a=t.data(),s=a.micromarkExtensions||(a.micromarkExtensions=[]),l=a.fromMarkdownExtensions||(a.fromMarkdownExtensions=[]),o=a.toMarkdownExtensions||(a.toMarkdownExtensions=[]);s.push(wk(n)),l.push($C()),o.push(KC(n))}const T3=/[#.]/g;function Nk(e,t){const n=e||"",a={};let s=0,l,o;for(;s<n.length;){T3.lastIndex=s;const d=T3.exec(n),f=n.slice(s,d?d.index:n.length);f&&(l?l==="#"?a.id=f:Array.isArray(a.className)?a.className.push(f):a.className=[f]:o=f,s+=f.length),d&&(l=d[0],s++)}return{type:"element",tagName:o||t||"div",properties:a,children:[]}}function L5(e,t,n){const a=n?Dk(n):void 0;function s(l,o,...d){let f;if(l==null){f={type:"root",children:[]};const h=o;d.unshift(h)}else{f=Nk(l,t);const h=f.tagName.toLowerCase(),p=a?a.get(h):void 0;if(f.tagName=p||h,Ok(o))d.unshift(o);else for(const[g,v]of Object.entries(o))Rk(e,f.properties,g,v)}for(const h of d)im(f.children,h);return f.type==="element"&&f.tagName==="template"&&(f.content={type:"root",children:f.children},f.children=[]),f}return s}function Ok(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;if(typeof e.type!="string")return!1;const t=e,n=Object.keys(e);for(const a of n){const s=t[a];if(s&&typeof s=="object"){if(!Array.isArray(s))return!0;const l=s;for(const o of l)if(typeof o!="number"&&typeof o!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function Rk(e,t,n,a){const s=Km(e,n);let l;if(a!=null){if(typeof a=="number"){if(Number.isNaN(a))return;l=a}else typeof a=="boolean"?l=a:typeof a=="string"?s.spaceSeparated?l=Ib(a):s.commaSeparated?l=Nb(a):s.commaOrSpaceSeparated?l=Ib(Nb(a).join(" ")):l=_3(s,s.property,a):Array.isArray(a)?l=[...a]:l=s.property==="style"?Mk(a):String(a);if(Array.isArray(l)){const o=[];for(const d of l)o.push(_3(s,s.property,d));l=o}s.property==="className"&&Array.isArray(t.className)&&(l=t.className.concat(l)),t[s.property]=l}}function im(e,t){if(t!=null)if(typeof t=="number"||typeof t=="string")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(const n of t)im(e,n);else if(typeof t=="object"&&"type"in t)t.type==="root"?im(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function _3(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||wo(n)===wo(t)))return!0}return n}function Mk(e){const t=[];for(const[n,a]of Object.entries(e))t.push([n,a].join(": "));return t.join("; ")}function Dk(e){const t=new Map;for(const n of e)t.set(n.toLowerCase(),n);return t}const Ik=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],B5=L5(fd,"div"),P5=L5(Vl,"g",Ik);function Lk(e){const t=String(e),n=[];return{toOffset:s,toPoint:a};function a(l){if(typeof l=="number"&&l>-1&&l<=t.length){let o=0;for(;;){let d=n[o];if(d===void 0){const f=S3(t,n[o-1]);d=f===-1?t.length+1:f+1,n[o]=d}if(d>l)return{line:o+1,column:l-(o>0?n[o-1]:0)+1,offset:l};o++}}}function s(l){if(l&&typeof l.line=="number"&&typeof l.column=="number"&&!Number.isNaN(l.line)&&!Number.isNaN(l.column)){for(;n.length<l.line;){const d=n[n.length-1],f=S3(t,d),h=f===-1?t.length+1:f+1;if(d===h)break;n.push(h)}const o=(l.line>1?n[l.line-2]:0)+l.column-1;if(o<n[l.line-1])return o}}}function S3(e,t){const n=e.indexOf("\r",t),a=e.indexOf(`
|
|
89
|
-
`,t);return a===-1?n:n===-1||n+1===a?a:n<a?n:a}const Oa={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},U5={}.hasOwnProperty,Bk=Object.prototype;function Pk(e,t){const n=t||{};return cp({file:n.file||void 0,location:!1,schema:n.space==="svg"?Vl:fd,verbose:n.verbose||!1},e)}function cp(e,t){let n;switch(t.nodeName){case"#comment":{const a=t;return n={type:"comment",value:a.data},z0(e,a,n),n}case"#document":case"#document-fragment":{const a=t,s="mode"in a?a.mode==="quirks"||a.mode==="limited-quirks":!1;if(n={type:"root",children:z5(e,t.childNodes),data:{quirksMode:s}},e.file&&e.location){const l=String(e.file),o=Lk(l),d=o.toPoint(0),f=o.toPoint(l.length);n.position={start:d,end:f}}return n}case"#documentType":{const a=t;return n={type:"doctype"},z0(e,a,n),n}case"#text":{const a=t;return n={type:"text",value:a.value},z0(e,a,n),n}default:return n=Uk(e,t),n}}function z5(e,t){let n=-1;const a=[];for(;++n<t.length;){const s=cp(e,t[n]);a.push(s)}return a}function Uk(e,t){const n=e.schema;e.schema=t.namespaceURI===Oa.svg?Vl:fd;let a=-1;const s={};for(;++a<t.attrs.length;){const d=t.attrs[a],f=(d.prefix?d.prefix+":":"")+d.name;U5.call(Bk,f)||(s[f]=d.value)}const o=(e.schema.space==="svg"?P5:B5)(t.tagName,s,z5(e,t.childNodes));if(z0(e,t,o),o.tagName==="template"){const d=t,f=d.sourceCodeLocation,h=f&&f.startTag&&Ml(f.startTag),p=f&&f.endTag&&Ml(f.endTag),g=cp(e,d.content);h&&p&&e.file&&(g.position={start:h.end,end:p.start}),o.content=g}return e.schema=n,o}function z0(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const a=zk(e,n,t.sourceCodeLocation);a&&(e.location=!0,n.position=a)}}function zk(e,t,n){const a=Ml(n);if(t.type==="element"){const s=t.children[t.children.length-1];if(a&&!n.endTag&&s&&s.position&&s.position.end&&(a.end=Object.assign({},s.position.end)),e.verbose){const l={};let o;if(n.attrs)for(o in n.attrs)U5.call(n.attrs,o)&&(l[Km(e.schema,o).property]=Ml(n.attrs[o]));n.startTag;const d=Ml(n.startTag),f=n.endTag?Ml(n.endTag):void 0,h={opening:d};f&&(h.closing=f),h.properties=l,t.data={position:h}}}return a}function Ml(e){const t=x3({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=x3({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function x3(e){return e.line&&e.column?e:void 0}class Fo{constructor(t,n,a){this.property=t,this.normal=n,a&&(this.space=a)}}Fo.prototype.property={};Fo.prototype.normal={};Fo.prototype.space=null;function F5(e,t){const n={},a={};let s=-1;for(;++s<e.length;)Object.assign(n,e[s].property),Object.assign(a,e[s].normal);return new Fo(n,a,t)}function sm(e){return e.toLowerCase()}class ia{constructor(t,n){this.property=t,this.attribute=n}}ia.prototype.space=null;ia.prototype.boolean=!1;ia.prototype.booleanish=!1;ia.prototype.overloadedBoolean=!1;ia.prototype.number=!1;ia.prototype.commaSeparated=!1;ia.prototype.spaceSeparated=!1;ia.prototype.commaOrSpaceSeparated=!1;ia.prototype.mustUseProperty=!1;ia.prototype.defined=!1;let Fk=0;const gt=Hs(),Rn=Hs(),H5=Hs(),Re=Hs(),Qt=Hs(),Il=Hs(),Pr=Hs();function Hs(){return 2**++Fk}const lm=Object.freeze(Object.defineProperty({__proto__:null,boolean:gt,booleanish:Rn,commaOrSpaceSeparated:Pr,commaSeparated:Il,number:Re,overloadedBoolean:H5,spaceSeparated:Qt},Symbol.toStringTag,{value:"Module"})),u1=Object.keys(lm);class dp extends ia{constructor(t,n,a,s){let l=-1;if(super(t,n),A3(this,"space",s),typeof a=="number")for(;++l<u1.length;){const o=u1[l];A3(this,u1[l],(a&lm[o])===lm[o])}}}dp.prototype.defined=!0;function A3(e,t,n){n&&(e[t]=n)}const Hk={}.hasOwnProperty;function Kl(e){const t={},n={};let a;for(a in e.properties)if(Hk.call(e.properties,a)){const s=e.properties[a],l=new dp(a,e.transform(e.attributes||{},a),s,e.space);e.mustUseProperty&&e.mustUseProperty.includes(a)&&(l.mustUseProperty=!0),t[a]=l,n[sm(a)]=a,n[sm(l.attribute)]=a}return new Fo(t,n,e.space)}const q5=Kl({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),Y5=Kl({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function j5(e,t){return t in e?e[t]:t}function G5(e,t){return j5(e,t.toLowerCase())}const V5=Kl({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:G5,properties:{xmlns:null,xmlnsXLink:null}}),$5=Kl({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:Rn,ariaAutoComplete:null,ariaBusy:Rn,ariaChecked:Rn,ariaColCount:Re,ariaColIndex:Re,ariaColSpan:Re,ariaControls:Qt,ariaCurrent:null,ariaDescribedBy:Qt,ariaDetails:null,ariaDisabled:Rn,ariaDropEffect:Qt,ariaErrorMessage:null,ariaExpanded:Rn,ariaFlowTo:Qt,ariaGrabbed:Rn,ariaHasPopup:null,ariaHidden:Rn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Qt,ariaLevel:Re,ariaLive:null,ariaModal:Rn,ariaMultiLine:Rn,ariaMultiSelectable:Rn,ariaOrientation:null,ariaOwns:Qt,ariaPlaceholder:null,ariaPosInSet:Re,ariaPressed:Rn,ariaReadOnly:Rn,ariaRelevant:null,ariaRequired:Rn,ariaRoleDescription:Qt,ariaRowCount:Re,ariaRowIndex:Re,ariaRowSpan:Re,ariaSelected:Rn,ariaSetSize:Re,ariaSort:null,ariaValueMax:Re,ariaValueMin:Re,ariaValueNow:Re,ariaValueText:null,role:null}}),qk=Kl({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:G5,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Il,acceptCharset:Qt,accessKey:Qt,action:null,allow:null,allowFullScreen:gt,allowPaymentRequest:gt,allowUserMedia:gt,alt:null,as:null,async:gt,autoCapitalize:null,autoComplete:Qt,autoFocus:gt,autoPlay:gt,blocking:Qt,capture:null,charSet:null,checked:gt,cite:null,className:Qt,cols:Re,colSpan:null,content:null,contentEditable:Rn,controls:gt,controlsList:Qt,coords:Re|Il,crossOrigin:null,data:null,dateTime:null,decoding:null,default:gt,defer:gt,dir:null,dirName:null,disabled:gt,download:H5,draggable:Rn,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:gt,formTarget:null,headers:Qt,height:Re,hidden:gt,high:Re,href:null,hrefLang:null,htmlFor:Qt,httpEquiv:Qt,id:null,imageSizes:null,imageSrcSet:null,inert:gt,inputMode:null,integrity:null,is:null,isMap:gt,itemId:null,itemProp:Qt,itemRef:Qt,itemScope:gt,itemType:Qt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:gt,low:Re,manifest:null,max:null,maxLength:Re,media:null,method:null,min:null,minLength:Re,multiple:gt,muted:gt,name:null,nonce:null,noModule:gt,noValidate:gt,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:gt,optimum:Re,pattern:null,ping:Qt,placeholder:null,playsInline:gt,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:gt,referrerPolicy:null,rel:Qt,required:gt,reversed:gt,rows:Re,rowSpan:Re,sandbox:Qt,scope:null,scoped:gt,seamless:gt,selected:gt,shadowRootClonable:gt,shadowRootDelegatesFocus:gt,shadowRootMode:null,shape:null,size:Re,sizes:null,slot:null,span:Re,spellCheck:Rn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Re,step:null,style:null,tabIndex:Re,target:null,title:null,translate:null,type:null,typeMustMatch:gt,useMap:null,value:Rn,width:Re,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Qt,axis:null,background:null,bgColor:null,border:Re,borderColor:null,bottomMargin:Re,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:gt,declare:gt,event:null,face:null,frame:null,frameBorder:null,hSpace:Re,leftMargin:Re,link:null,longDesc:null,lowSrc:null,marginHeight:Re,marginWidth:Re,noResize:gt,noHref:gt,noShade:gt,noWrap:gt,object:null,profile:null,prompt:null,rev:null,rightMargin:Re,rules:null,scheme:null,scrolling:Rn,standby:null,summary:null,text:null,topMargin:Re,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Re,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:gt,disableRemotePlayback:gt,prefix:null,property:null,results:Re,security:null,unselectable:null}}),Yk=Kl({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:j5,properties:{about:Pr,accentHeight:Re,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Re,amplitude:Re,arabicForm:null,ascent:Re,attributeName:null,attributeType:null,azimuth:Re,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Re,by:null,calcMode:null,capHeight:Re,className:Qt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Re,diffuseConstant:Re,direction:null,display:null,dur:null,divisor:Re,dominantBaseline:null,download:gt,dx:null,dy:null,edgeMode:null,editable:null,elevation:Re,enableBackground:null,end:null,event:null,exponent:Re,externalResourcesRequired:null,fill:null,fillOpacity:Re,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Il,g2:Il,glyphName:Il,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Re,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Re,horizOriginX:Re,horizOriginY:Re,id:null,ideographic:Re,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Re,k:Re,k1:Re,k2:Re,k3:Re,k4:Re,kernelMatrix:Pr,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Re,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Re,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Re,overlineThickness:Re,paintOrder:null,panose1:null,path:null,pathLength:Re,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Qt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Re,pointsAtY:Re,pointsAtZ:Re,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Pr,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Pr,rev:Pr,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Pr,requiredFeatures:Pr,requiredFonts:Pr,requiredFormats:Pr,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Re,specularExponent:Re,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Re,strikethroughThickness:Re,string:null,stroke:null,strokeDashArray:Pr,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Re,strokeOpacity:Re,strokeWidth:null,style:null,surfaceScale:Re,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Pr,tabIndex:Re,tableValues:null,target:null,targetX:Re,targetY:Re,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Pr,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Re,underlineThickness:Re,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Re,values:null,vAlphabetic:Re,vMathematical:Re,vectorEffect:null,vHanging:Re,vIdeographic:Re,version:null,vertAdvY:Re,vertOriginX:Re,vertOriginY:Re,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Re,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),jk=/^data[-\w.:]+$/i,w3=/-[a-z]/g,Gk=/[A-Z]/g;function Vk(e,t){const n=sm(t);let a=t,s=ia;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&jk.test(t)){if(t.charAt(4)==="-"){const l=t.slice(5).replace(w3,Kk);a="data"+l.charAt(0).toUpperCase()+l.slice(1)}else{const l=t.slice(4);if(!w3.test(l)){let o=l.replace(Gk,$k);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}s=dp}return new s(a,t)}function $k(e){return"-"+e.toLowerCase()}function Kk(e){return e.charAt(1).toUpperCase()}const Xk=F5([Y5,q5,V5,$5,qk],"html"),K5=F5([Y5,q5,V5,$5,Yk],"svg"),Wk={},Qk={}.hasOwnProperty,X5=m5("type",{handlers:{root:Jk,element:aN,text:nN,comment:rN,doctype:tN}});function Zk(e,t){const a=(t||Wk).space;return X5(e,a==="svg"?K5:Xk)}function Jk(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=fp(e.children,n,t),Xl(e,n),n}function eN(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=fp(e.children,n,t),Xl(e,n),n}function tN(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return Xl(e,t),t}function nN(e){const t={nodeName:"#text",value:e.value,parentNode:null};return Xl(e,t),t}function rN(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return Xl(e,t),t}function aN(e,t){const n=t;let a=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(a=K5);const s=[];let l;if(e.properties){for(l in e.properties)if(l!=="children"&&Qk.call(e.properties,l)){const f=iN(a,l,e.properties[l]);f&&s.push(f)}}const o=a.space,d={nodeName:e.tagName,tagName:e.tagName,attrs:s,namespaceURI:Oa[o],childNodes:[],parentNode:null};return d.childNodes=fp(e.children,d,a),Xl(e,d),e.tagName==="template"&&e.content&&(d.content=eN(e.content,a)),d}function iN(e,t,n){const a=Vk(e,t);if(n===!1||n===null||n===void 0||typeof n=="number"&&Number.isNaN(n)||!n&&a.boolean)return;Array.isArray(n)&&(n=a.commaSeparated?kE(n):BE(n));const s={name:a.attribute,value:n===!0?"":String(n)};if(a.space&&a.space!=="html"&&a.space!=="svg"){const l=s.name.indexOf(":");l<0?s.prefix="":(s.name=s.name.slice(l+1),s.prefix=a.attribute.slice(0,l)),s.namespace=Oa[a.space]}return s}function fp(e,t,n){let a=-1;const s=[];if(e)for(;++a<e.length;){const l=X5(e[a],n);l.parentNode=t,s.push(l)}return s}function Xl(e,t){const n=e.position;n&&n.start&&n.end&&(n.start.offset,n.end.offset,t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}const sN=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],lN=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),an="�";var L;(function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(L||(L={}));const vr={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function W5(e){return e>=55296&&e<=57343}function uN(e){return e>=56320&&e<=57343}function oN(e,t){return(e-55296)*1024+9216+t}function Q5(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function Z5(e){return e>=64976&&e<=65007||lN.has(e)}var me;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(me||(me={}));const cN=65536;class dN{constructor(t){this.handler=t,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=cN,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(t,n){const{line:a,col:s,offset:l}=this,o=s+n,d=l+n;return{code:t,startLine:a,endLine:a,startCol:o,endCol:o,startOffset:d,endOffset:d}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){const n=this.html.charCodeAt(this.pos+1);if(uN(n))return this.pos++,this._addGap(),oN(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,L.EOF;return this._err(me.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(t,n){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,n){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(n)return this.html.startsWith(t,this.pos);for(let a=0;a<t.length;a++)if((this.html.charCodeAt(this.pos+a)|32)!==t.charCodeAt(a))return!1;return!0}peek(t){const n=this.pos+t;if(n>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,L.EOF;const a=this.html.charCodeAt(n);return a===L.CARRIAGE_RETURN?L.LINE_FEED:a}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,L.EOF;let t=this.html.charCodeAt(this.pos);return t===L.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,L.LINE_FEED):t===L.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,W5(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===L.LINE_FEED||t===L.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){Q5(t)?this._err(me.controlCharacterInInputStream):Z5(t)&&this._err(me.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var xt;(function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"})(xt||(xt={}));function J5(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}const fN=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),hN=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function mN(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=hN.get(e))!==null&&t!==void 0?t:e}var Yn;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(Yn||(Yn={}));const pN=32;var ns;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(ns||(ns={}));function um(e){return e>=Yn.ZERO&&e<=Yn.NINE}function gN(e){return e>=Yn.UPPER_A&&e<=Yn.UPPER_F||e>=Yn.LOWER_A&&e<=Yn.LOWER_F}function bN(e){return e>=Yn.UPPER_A&&e<=Yn.UPPER_Z||e>=Yn.LOWER_A&&e<=Yn.LOWER_Z||um(e)}function EN(e){return e===Yn.EQUALS||bN(e)}var qn;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(qn||(qn={}));var li;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(li||(li={}));class yN{constructor(t,n,a){this.decodeTree=t,this.emitCodePoint=n,this.errors=a,this.state=qn.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=li.Strict}startEntity(t){this.decodeMode=t,this.state=qn.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case qn.EntityStart:return t.charCodeAt(n)===Yn.NUM?(this.state=qn.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=qn.NamedEntity,this.stateNamedEntity(t,n));case qn.NumericStart:return this.stateNumericStart(t,n);case qn.NumericDecimal:return this.stateNumericDecimal(t,n);case qn.NumericHex:return this.stateNumericHex(t,n);case qn.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|pN)===Yn.LOWER_X?(this.state=qn.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=qn.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,a,s){if(n!==a){const l=a-n;this.result=this.result*Math.pow(s,l)+Number.parseInt(t.substr(n,l),s),this.consumed+=l}}stateNumericHex(t,n){const a=n;for(;n<t.length;){const s=t.charCodeAt(n);if(um(s)||gN(s))n+=1;else return this.addToNumericResult(t,a,n,16),this.emitNumericEntity(s,3)}return this.addToNumericResult(t,a,n,16),-1}stateNumericDecimal(t,n){const a=n;for(;n<t.length;){const s=t.charCodeAt(n);if(um(s))n+=1;else return this.addToNumericResult(t,a,n,10),this.emitNumericEntity(s,2)}return this.addToNumericResult(t,a,n,10),-1}emitNumericEntity(t,n){var a;if(this.consumed<=n)return(a=this.errors)===null||a===void 0||a.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===Yn.SEMI)this.consumed+=1;else if(this.decodeMode===li.Strict)return 0;return this.emitCodePoint(mN(this.result),this.consumed),this.errors&&(t!==Yn.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:a}=this;let s=a[this.treeIndex],l=(s&ns.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const o=t.charCodeAt(n);if(this.treeIndex=vN(a,s,this.treeIndex+Math.max(1,l),o),this.treeIndex<0)return this.result===0||this.decodeMode===li.Attribute&&(l===0||EN(o))?0:this.emitNotTerminatedNamedEntity();if(s=a[this.treeIndex],l=(s&ns.VALUE_LENGTH)>>14,l!==0){if(o===Yn.SEMI)return this.emitNamedEntityData(this.treeIndex,l,this.consumed+this.excess);this.decodeMode!==li.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:a}=this,s=(a[n]&ns.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,s,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,a){const{decodeTree:s}=this;return this.emitCodePoint(n===1?s[t]&~ns.VALUE_LENGTH:s[t+1],a),n===3&&this.emitCodePoint(s[t+2],a),a}end(){var t;switch(this.state){case qn.NamedEntity:return this.result!==0&&(this.decodeMode!==li.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case qn.NumericDecimal:return this.emitNumericEntity(0,2);case qn.NumericHex:return this.emitNumericEntity(0,3);case qn.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case qn.EntityStart:return 0}}}function vN(e,t,n,a){const s=(t&ns.BRANCH_LENGTH)>>7,l=t&ns.JUMP_TABLE;if(s===0)return l!==0&&a===l?n:-1;if(l){const f=a-l;return f<0||f>=s?-1:e[n+f]-1}let o=n,d=o+s-1;for(;o<=d;){const f=o+d>>>1,h=e[f];if(h<a)o=f+1;else if(h>a)d=f-1;else return e[f+s]}return-1}var Ae;(function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"})(Ae||(Ae={}));var Us;(function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"})(Us||(Us={}));var Zr;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(Zr||(Zr={}));var ie;(function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"})(ie||(ie={}));var E;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"})(E||(E={}));const TN=new Map([[ie.A,E.A],[ie.ADDRESS,E.ADDRESS],[ie.ANNOTATION_XML,E.ANNOTATION_XML],[ie.APPLET,E.APPLET],[ie.AREA,E.AREA],[ie.ARTICLE,E.ARTICLE],[ie.ASIDE,E.ASIDE],[ie.B,E.B],[ie.BASE,E.BASE],[ie.BASEFONT,E.BASEFONT],[ie.BGSOUND,E.BGSOUND],[ie.BIG,E.BIG],[ie.BLOCKQUOTE,E.BLOCKQUOTE],[ie.BODY,E.BODY],[ie.BR,E.BR],[ie.BUTTON,E.BUTTON],[ie.CAPTION,E.CAPTION],[ie.CENTER,E.CENTER],[ie.CODE,E.CODE],[ie.COL,E.COL],[ie.COLGROUP,E.COLGROUP],[ie.DD,E.DD],[ie.DESC,E.DESC],[ie.DETAILS,E.DETAILS],[ie.DIALOG,E.DIALOG],[ie.DIR,E.DIR],[ie.DIV,E.DIV],[ie.DL,E.DL],[ie.DT,E.DT],[ie.EM,E.EM],[ie.EMBED,E.EMBED],[ie.FIELDSET,E.FIELDSET],[ie.FIGCAPTION,E.FIGCAPTION],[ie.FIGURE,E.FIGURE],[ie.FONT,E.FONT],[ie.FOOTER,E.FOOTER],[ie.FOREIGN_OBJECT,E.FOREIGN_OBJECT],[ie.FORM,E.FORM],[ie.FRAME,E.FRAME],[ie.FRAMESET,E.FRAMESET],[ie.H1,E.H1],[ie.H2,E.H2],[ie.H3,E.H3],[ie.H4,E.H4],[ie.H5,E.H5],[ie.H6,E.H6],[ie.HEAD,E.HEAD],[ie.HEADER,E.HEADER],[ie.HGROUP,E.HGROUP],[ie.HR,E.HR],[ie.HTML,E.HTML],[ie.I,E.I],[ie.IMG,E.IMG],[ie.IMAGE,E.IMAGE],[ie.INPUT,E.INPUT],[ie.IFRAME,E.IFRAME],[ie.KEYGEN,E.KEYGEN],[ie.LABEL,E.LABEL],[ie.LI,E.LI],[ie.LINK,E.LINK],[ie.LISTING,E.LISTING],[ie.MAIN,E.MAIN],[ie.MALIGNMARK,E.MALIGNMARK],[ie.MARQUEE,E.MARQUEE],[ie.MATH,E.MATH],[ie.MENU,E.MENU],[ie.META,E.META],[ie.MGLYPH,E.MGLYPH],[ie.MI,E.MI],[ie.MO,E.MO],[ie.MN,E.MN],[ie.MS,E.MS],[ie.MTEXT,E.MTEXT],[ie.NAV,E.NAV],[ie.NOBR,E.NOBR],[ie.NOFRAMES,E.NOFRAMES],[ie.NOEMBED,E.NOEMBED],[ie.NOSCRIPT,E.NOSCRIPT],[ie.OBJECT,E.OBJECT],[ie.OL,E.OL],[ie.OPTGROUP,E.OPTGROUP],[ie.OPTION,E.OPTION],[ie.P,E.P],[ie.PARAM,E.PARAM],[ie.PLAINTEXT,E.PLAINTEXT],[ie.PRE,E.PRE],[ie.RB,E.RB],[ie.RP,E.RP],[ie.RT,E.RT],[ie.RTC,E.RTC],[ie.RUBY,E.RUBY],[ie.S,E.S],[ie.SCRIPT,E.SCRIPT],[ie.SEARCH,E.SEARCH],[ie.SECTION,E.SECTION],[ie.SELECT,E.SELECT],[ie.SOURCE,E.SOURCE],[ie.SMALL,E.SMALL],[ie.SPAN,E.SPAN],[ie.STRIKE,E.STRIKE],[ie.STRONG,E.STRONG],[ie.STYLE,E.STYLE],[ie.SUB,E.SUB],[ie.SUMMARY,E.SUMMARY],[ie.SUP,E.SUP],[ie.TABLE,E.TABLE],[ie.TBODY,E.TBODY],[ie.TEMPLATE,E.TEMPLATE],[ie.TEXTAREA,E.TEXTAREA],[ie.TFOOT,E.TFOOT],[ie.TD,E.TD],[ie.TH,E.TH],[ie.THEAD,E.THEAD],[ie.TITLE,E.TITLE],[ie.TR,E.TR],[ie.TRACK,E.TRACK],[ie.TT,E.TT],[ie.U,E.U],[ie.UL,E.UL],[ie.SVG,E.SVG],[ie.VAR,E.VAR],[ie.WBR,E.WBR],[ie.XMP,E.XMP]]);function Wl(e){var t;return(t=TN.get(e))!==null&&t!==void 0?t:E.UNKNOWN}const we=E,_N={[Ae.HTML]:new Set([we.ADDRESS,we.APPLET,we.AREA,we.ARTICLE,we.ASIDE,we.BASE,we.BASEFONT,we.BGSOUND,we.BLOCKQUOTE,we.BODY,we.BR,we.BUTTON,we.CAPTION,we.CENTER,we.COL,we.COLGROUP,we.DD,we.DETAILS,we.DIR,we.DIV,we.DL,we.DT,we.EMBED,we.FIELDSET,we.FIGCAPTION,we.FIGURE,we.FOOTER,we.FORM,we.FRAME,we.FRAMESET,we.H1,we.H2,we.H3,we.H4,we.H5,we.H6,we.HEAD,we.HEADER,we.HGROUP,we.HR,we.HTML,we.IFRAME,we.IMG,we.INPUT,we.LI,we.LINK,we.LISTING,we.MAIN,we.MARQUEE,we.MENU,we.META,we.NAV,we.NOEMBED,we.NOFRAMES,we.NOSCRIPT,we.OBJECT,we.OL,we.P,we.PARAM,we.PLAINTEXT,we.PRE,we.SCRIPT,we.SECTION,we.SELECT,we.SOURCE,we.STYLE,we.SUMMARY,we.TABLE,we.TBODY,we.TD,we.TEMPLATE,we.TEXTAREA,we.TFOOT,we.TH,we.THEAD,we.TITLE,we.TR,we.TRACK,we.UL,we.WBR,we.XMP]),[Ae.MATHML]:new Set([we.MI,we.MO,we.MN,we.MS,we.MTEXT,we.ANNOTATION_XML]),[Ae.SVG]:new Set([we.TITLE,we.FOREIGN_OBJECT,we.DESC]),[Ae.XLINK]:new Set,[Ae.XML]:new Set,[Ae.XMLNS]:new Set},om=new Set([we.H1,we.H2,we.H3,we.H4,we.H5,we.H6]);ie.STYLE,ie.SCRIPT,ie.XMP,ie.IFRAME,ie.NOEMBED,ie.NOFRAMES,ie.PLAINTEXT;var B;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(B||(B={}));const Sn={DATA:B.DATA,RCDATA:B.RCDATA,RAWTEXT:B.RAWTEXT,SCRIPT_DATA:B.SCRIPT_DATA,PLAINTEXT:B.PLAINTEXT,CDATA_SECTION:B.CDATA_SECTION};function SN(e){return e>=L.DIGIT_0&&e<=L.DIGIT_9}function co(e){return e>=L.LATIN_CAPITAL_A&&e<=L.LATIN_CAPITAL_Z}function xN(e){return e>=L.LATIN_SMALL_A&&e<=L.LATIN_SMALL_Z}function Qi(e){return xN(e)||co(e)}function C3(e){return Qi(e)||SN(e)}function f0(e){return e+32}function ey(e){return e===L.SPACE||e===L.LINE_FEED||e===L.TABULATION||e===L.FORM_FEED}function k3(e){return ey(e)||e===L.SOLIDUS||e===L.GREATER_THAN_SIGN}function AN(e){return e===L.NULL?me.nullCharacterReference:e>1114111?me.characterReferenceOutsideUnicodeRange:W5(e)?me.surrogateCharacterReference:Z5(e)?me.noncharacterCharacterReference:Q5(e)||e===L.CARRIAGE_RETURN?me.controlCharacterReference:null}class wN{constructor(t,n){this.options=t,this.handler=n,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=B.DATA,this.returnState=B.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new dN(n),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new yN(fN,(a,s)=>{this.preprocessor.pos=this.entityStartPos+s-1,this._flushCodePointConsumedAsCharacterReference(a)},n.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(me.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:a=>{this._err(me.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+a)},validateNumericCharacterReference:a=>{const s=AN(a);s&&this._err(s,1)}}:void 0)}_err(t,n=0){var a,s;(s=(a=this.handler).onParseError)===null||s===void 0||s.call(a,this.preprocessor.getError(t,n))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t==null||t())}write(t,n,a){this.active=!0,this.preprocessor.write(t,n),this._runParsingLoop(),this.paused||a==null||a()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let n=0;n<t;n++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,n){return this.preprocessor.startsWith(t,n)?(this._advanceBy(t.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:xt.START_TAG,tagName:"",tagID:E.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:xt.END_TAG,tagName:"",tagID:E.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:xt.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:xt.DOCTYPE,name:t,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(t,n){this.currentCharacterToken={type:t,chars:n,location:this.currentLocation}}_createAttr(t){this.currentAttr={name:t,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var t,n;const a=this.currentToken;if(J5(a,this.currentAttr.name)===null){if(a.attrs.push(this.currentAttr),a.location&&this.currentLocation){const s=(t=(n=a.location).attrs)!==null&&t!==void 0?t:n.attrs=Object.create(null);s[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(me.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(t){this._emitCurrentCharacterToken(t.location),this.currentToken=null,t.location&&(t.location.endLine=this.preprocessor.line,t.location.endCol=this.preprocessor.col+1,t.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const t=this.currentToken;this.prepareToken(t),t.tagID=Wl(t.tagName),t.type===xt.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(me.endTagWithAttributes),t.selfClosing&&this._err(me.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case xt.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case xt.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case xt.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:xt.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,n){if(this.currentCharacterToken)if(this.currentCharacterToken.type===t){this.currentCharacterToken.chars+=n;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(t,n)}_emitCodePoint(t){const n=ey(t)?xt.WHITESPACE_CHARACTER:t===L.NULL?xt.NULL_CHARACTER:xt.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(xt.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=B.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?li.Attribute:li.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===B.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===B.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===B.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case B.DATA:{this._stateData(t);break}case B.RCDATA:{this._stateRcdata(t);break}case B.RAWTEXT:{this._stateRawtext(t);break}case B.SCRIPT_DATA:{this._stateScriptData(t);break}case B.PLAINTEXT:{this._statePlaintext(t);break}case B.TAG_OPEN:{this._stateTagOpen(t);break}case B.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case B.TAG_NAME:{this._stateTagName(t);break}case B.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case B.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case B.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case B.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case B.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case B.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case B.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case B.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case B.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case B.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case B.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case B.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case B.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case B.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case B.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case B.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case B.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case B.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case B.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case B.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case B.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case B.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case B.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case B.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case B.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case B.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case B.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case B.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case B.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case B.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case B.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case B.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case B.BOGUS_COMMENT:{this._stateBogusComment(t);break}case B.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case B.COMMENT_START:{this._stateCommentStart(t);break}case B.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case B.COMMENT:{this._stateComment(t);break}case B.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case B.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case B.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case B.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case B.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case B.COMMENT_END:{this._stateCommentEnd(t);break}case B.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case B.DOCTYPE:{this._stateDoctype(t);break}case B.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case B.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case B.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case B.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case B.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case B.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case B.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case B.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case B.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case B.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case B.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case B.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case B.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case B.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case B.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case B.CDATA_SECTION:{this._stateCdataSection(t);break}case B.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case B.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case B.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case B.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case L.LESS_THAN_SIGN:{this.state=B.TAG_OPEN;break}case L.AMPERSAND:{this._startCharacterReference();break}case L.NULL:{this._err(me.unexpectedNullCharacter),this._emitCodePoint(t);break}case L.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case L.AMPERSAND:{this._startCharacterReference();break}case L.LESS_THAN_SIGN:{this.state=B.RCDATA_LESS_THAN_SIGN;break}case L.NULL:{this._err(me.unexpectedNullCharacter),this._emitChars(an);break}case L.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case L.LESS_THAN_SIGN:{this.state=B.RAWTEXT_LESS_THAN_SIGN;break}case L.NULL:{this._err(me.unexpectedNullCharacter),this._emitChars(an);break}case L.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case L.LESS_THAN_SIGN:{this.state=B.SCRIPT_DATA_LESS_THAN_SIGN;break}case L.NULL:{this._err(me.unexpectedNullCharacter),this._emitChars(an);break}case L.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case L.NULL:{this._err(me.unexpectedNullCharacter),this._emitChars(an);break}case L.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(Qi(t))this._createStartTagToken(),this.state=B.TAG_NAME,this._stateTagName(t);else switch(t){case L.EXCLAMATION_MARK:{this.state=B.MARKUP_DECLARATION_OPEN;break}case L.SOLIDUS:{this.state=B.END_TAG_OPEN;break}case L.QUESTION_MARK:{this._err(me.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=B.BOGUS_COMMENT,this._stateBogusComment(t);break}case L.EOF:{this._err(me.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(me.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=B.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(Qi(t))this._createEndTagToken(),this.state=B.TAG_NAME,this._stateTagName(t);else switch(t){case L.GREATER_THAN_SIGN:{this._err(me.missingEndTagName),this.state=B.DATA;break}case L.EOF:{this._err(me.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(me.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=B.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const n=this.currentToken;switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:{this.state=B.BEFORE_ATTRIBUTE_NAME;break}case L.SOLIDUS:{this.state=B.SELF_CLOSING_START_TAG;break}case L.GREATER_THAN_SIGN:{this.state=B.DATA,this.emitCurrentTagToken();break}case L.NULL:{this._err(me.unexpectedNullCharacter),n.tagName+=an;break}case L.EOF:{this._err(me.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(co(t)?f0(t):t)}}_stateRcdataLessThanSign(t){t===L.SOLIDUS?this.state=B.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=B.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){Qi(t)?(this.state=B.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=B.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const n=this.currentToken;switch(n.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=B.BEFORE_ATTRIBUTE_NAME,!1;case L.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=B.SELF_CLOSING_START_TAG,!1;case L.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=B.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=B.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===L.SOLIDUS?this.state=B.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=B.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){Qi(t)?(this.state=B.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=B.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=B.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case L.SOLIDUS:{this.state=B.SCRIPT_DATA_END_TAG_OPEN;break}case L.EXCLAMATION_MARK:{this.state=B.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=B.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){Qi(t)?(this.state=B.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=B.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=B.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===L.HYPHEN_MINUS?(this.state=B.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=B.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===L.HYPHEN_MINUS?(this.state=B.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=B.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case L.HYPHEN_MINUS:{this.state=B.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case L.LESS_THAN_SIGN:{this.state=B.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case L.NULL:{this._err(me.unexpectedNullCharacter),this._emitChars(an);break}case L.EOF:{this._err(me.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case L.HYPHEN_MINUS:{this.state=B.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case L.LESS_THAN_SIGN:{this.state=B.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case L.NULL:{this._err(me.unexpectedNullCharacter),this.state=B.SCRIPT_DATA_ESCAPED,this._emitChars(an);break}case L.EOF:{this._err(me.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=B.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case L.HYPHEN_MINUS:{this._emitChars("-");break}case L.LESS_THAN_SIGN:{this.state=B.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case L.GREATER_THAN_SIGN:{this.state=B.SCRIPT_DATA,this._emitChars(">");break}case L.NULL:{this._err(me.unexpectedNullCharacter),this.state=B.SCRIPT_DATA_ESCAPED,this._emitChars(an);break}case L.EOF:{this._err(me.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=B.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===L.SOLIDUS?this.state=B.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Qi(t)?(this._emitChars("<"),this.state=B.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=B.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){Qi(t)?(this.state=B.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=B.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=B.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(vr.SCRIPT,!1)&&k3(this.preprocessor.peek(vr.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<vr.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=B.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=B.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case L.HYPHEN_MINUS:{this.state=B.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case L.LESS_THAN_SIGN:{this.state=B.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case L.NULL:{this._err(me.unexpectedNullCharacter),this._emitChars(an);break}case L.EOF:{this._err(me.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case L.HYPHEN_MINUS:{this.state=B.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case L.LESS_THAN_SIGN:{this.state=B.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case L.NULL:{this._err(me.unexpectedNullCharacter),this.state=B.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(an);break}case L.EOF:{this._err(me.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=B.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case L.HYPHEN_MINUS:{this._emitChars("-");break}case L.LESS_THAN_SIGN:{this.state=B.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case L.GREATER_THAN_SIGN:{this.state=B.SCRIPT_DATA,this._emitChars(">");break}case L.NULL:{this._err(me.unexpectedNullCharacter),this.state=B.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(an);break}case L.EOF:{this._err(me.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=B.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===L.SOLIDUS?(this.state=B.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=B.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(vr.SCRIPT,!1)&&k3(this.preprocessor.peek(vr.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<vr.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=B.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=B.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:break;case L.SOLIDUS:case L.GREATER_THAN_SIGN:case L.EOF:{this.state=B.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case L.EQUALS_SIGN:{this._err(me.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=B.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=B.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:case L.SOLIDUS:case L.GREATER_THAN_SIGN:case L.EOF:{this._leaveAttrName(),this.state=B.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case L.EQUALS_SIGN:{this._leaveAttrName(),this.state=B.BEFORE_ATTRIBUTE_VALUE;break}case L.QUOTATION_MARK:case L.APOSTROPHE:case L.LESS_THAN_SIGN:{this._err(me.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case L.NULL:{this._err(me.unexpectedNullCharacter),this.currentAttr.name+=an;break}default:this.currentAttr.name+=String.fromCodePoint(co(t)?f0(t):t)}}_stateAfterAttributeName(t){switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:break;case L.SOLIDUS:{this.state=B.SELF_CLOSING_START_TAG;break}case L.EQUALS_SIGN:{this.state=B.BEFORE_ATTRIBUTE_VALUE;break}case L.GREATER_THAN_SIGN:{this.state=B.DATA,this.emitCurrentTagToken();break}case L.EOF:{this._err(me.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=B.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:break;case L.QUOTATION_MARK:{this.state=B.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case L.APOSTROPHE:{this.state=B.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case L.GREATER_THAN_SIGN:{this._err(me.missingAttributeValue),this.state=B.DATA,this.emitCurrentTagToken();break}default:this.state=B.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case L.QUOTATION_MARK:{this.state=B.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case L.AMPERSAND:{this._startCharacterReference();break}case L.NULL:{this._err(me.unexpectedNullCharacter),this.currentAttr.value+=an;break}case L.EOF:{this._err(me.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case L.APOSTROPHE:{this.state=B.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case L.AMPERSAND:{this._startCharacterReference();break}case L.NULL:{this._err(me.unexpectedNullCharacter),this.currentAttr.value+=an;break}case L.EOF:{this._err(me.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:{this._leaveAttrValue(),this.state=B.BEFORE_ATTRIBUTE_NAME;break}case L.AMPERSAND:{this._startCharacterReference();break}case L.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=B.DATA,this.emitCurrentTagToken();break}case L.NULL:{this._err(me.unexpectedNullCharacter),this.currentAttr.value+=an;break}case L.QUOTATION_MARK:case L.APOSTROPHE:case L.LESS_THAN_SIGN:case L.EQUALS_SIGN:case L.GRAVE_ACCENT:{this._err(me.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case L.EOF:{this._err(me.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:{this._leaveAttrValue(),this.state=B.BEFORE_ATTRIBUTE_NAME;break}case L.SOLIDUS:{this._leaveAttrValue(),this.state=B.SELF_CLOSING_START_TAG;break}case L.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=B.DATA,this.emitCurrentTagToken();break}case L.EOF:{this._err(me.eofInTag),this._emitEOFToken();break}default:this._err(me.missingWhitespaceBetweenAttributes),this.state=B.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case L.GREATER_THAN_SIGN:{const n=this.currentToken;n.selfClosing=!0,this.state=B.DATA,this.emitCurrentTagToken();break}case L.EOF:{this._err(me.eofInTag),this._emitEOFToken();break}default:this._err(me.unexpectedSolidusInTag),this.state=B.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const n=this.currentToken;switch(t){case L.GREATER_THAN_SIGN:{this.state=B.DATA,this.emitCurrentComment(n);break}case L.EOF:{this.emitCurrentComment(n),this._emitEOFToken();break}case L.NULL:{this._err(me.unexpectedNullCharacter),n.data+=an;break}default:n.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(vr.DASH_DASH,!0)?(this._createCommentToken(vr.DASH_DASH.length+1),this.state=B.COMMENT_START):this._consumeSequenceIfMatch(vr.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(vr.DOCTYPE.length+1),this.state=B.DOCTYPE):this._consumeSequenceIfMatch(vr.CDATA_START,!0)?this.inForeignNode?this.state=B.CDATA_SECTION:(this._err(me.cdataInHtmlContent),this._createCommentToken(vr.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=B.BOGUS_COMMENT):this._ensureHibernation()||(this._err(me.incorrectlyOpenedComment),this._createCommentToken(2),this.state=B.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case L.HYPHEN_MINUS:{this.state=B.COMMENT_START_DASH;break}case L.GREATER_THAN_SIGN:{this._err(me.abruptClosingOfEmptyComment),this.state=B.DATA;const n=this.currentToken;this.emitCurrentComment(n);break}default:this.state=B.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const n=this.currentToken;switch(t){case L.HYPHEN_MINUS:{this.state=B.COMMENT_END;break}case L.GREATER_THAN_SIGN:{this._err(me.abruptClosingOfEmptyComment),this.state=B.DATA,this.emitCurrentComment(n);break}case L.EOF:{this._err(me.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=B.COMMENT,this._stateComment(t)}}_stateComment(t){const n=this.currentToken;switch(t){case L.HYPHEN_MINUS:{this.state=B.COMMENT_END_DASH;break}case L.LESS_THAN_SIGN:{n.data+="<",this.state=B.COMMENT_LESS_THAN_SIGN;break}case L.NULL:{this._err(me.unexpectedNullCharacter),n.data+=an;break}case L.EOF:{this._err(me.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const n=this.currentToken;switch(t){case L.EXCLAMATION_MARK:{n.data+="!",this.state=B.COMMENT_LESS_THAN_SIGN_BANG;break}case L.LESS_THAN_SIGN:{n.data+="<";break}default:this.state=B.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===L.HYPHEN_MINUS?this.state=B.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=B.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===L.HYPHEN_MINUS?this.state=B.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=B.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==L.GREATER_THAN_SIGN&&t!==L.EOF&&this._err(me.nestedComment),this.state=B.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const n=this.currentToken;switch(t){case L.HYPHEN_MINUS:{this.state=B.COMMENT_END;break}case L.EOF:{this._err(me.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=B.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const n=this.currentToken;switch(t){case L.GREATER_THAN_SIGN:{this.state=B.DATA,this.emitCurrentComment(n);break}case L.EXCLAMATION_MARK:{this.state=B.COMMENT_END_BANG;break}case L.HYPHEN_MINUS:{n.data+="-";break}case L.EOF:{this._err(me.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--",this.state=B.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const n=this.currentToken;switch(t){case L.HYPHEN_MINUS:{n.data+="--!",this.state=B.COMMENT_END_DASH;break}case L.GREATER_THAN_SIGN:{this._err(me.incorrectlyClosedComment),this.state=B.DATA,this.emitCurrentComment(n);break}case L.EOF:{this._err(me.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--!",this.state=B.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:{this.state=B.BEFORE_DOCTYPE_NAME;break}case L.GREATER_THAN_SIGN:{this.state=B.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case L.EOF:{this._err(me.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(me.missingWhitespaceBeforeDoctypeName),this.state=B.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(co(t))this._createDoctypeToken(String.fromCharCode(f0(t))),this.state=B.DOCTYPE_NAME;else switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:break;case L.NULL:{this._err(me.unexpectedNullCharacter),this._createDoctypeToken(an),this.state=B.DOCTYPE_NAME;break}case L.GREATER_THAN_SIGN:{this._err(me.missingDoctypeName),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=B.DATA;break}case L.EOF:{this._err(me.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=B.DOCTYPE_NAME}}_stateDoctypeName(t){const n=this.currentToken;switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:{this.state=B.AFTER_DOCTYPE_NAME;break}case L.GREATER_THAN_SIGN:{this.state=B.DATA,this.emitCurrentDoctype(n);break}case L.NULL:{this._err(me.unexpectedNullCharacter),n.name+=an;break}case L.EOF:{this._err(me.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.name+=String.fromCodePoint(co(t)?f0(t):t)}}_stateAfterDoctypeName(t){const n=this.currentToken;switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:break;case L.GREATER_THAN_SIGN:{this.state=B.DATA,this.emitCurrentDoctype(n);break}case L.EOF:{this._err(me.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(vr.PUBLIC,!1)?this.state=B.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(vr.SYSTEM,!1)?this.state=B.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(me.invalidCharacterSequenceAfterDoctypeName),n.forceQuirks=!0,this.state=B.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const n=this.currentToken;switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:{this.state=B.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case L.QUOTATION_MARK:{this._err(me.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=B.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case L.APOSTROPHE:{this._err(me.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=B.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case L.GREATER_THAN_SIGN:{this._err(me.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=B.DATA,this.emitCurrentDoctype(n);break}case L.EOF:{this._err(me.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(me.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=B.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:break;case L.QUOTATION_MARK:{n.publicId="",this.state=B.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case L.APOSTROPHE:{n.publicId="",this.state=B.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case L.GREATER_THAN_SIGN:{this._err(me.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=B.DATA,this.emitCurrentDoctype(n);break}case L.EOF:{this._err(me.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(me.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=B.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case L.QUOTATION_MARK:{this.state=B.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case L.NULL:{this._err(me.unexpectedNullCharacter),n.publicId+=an;break}case L.GREATER_THAN_SIGN:{this._err(me.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=B.DATA;break}case L.EOF:{this._err(me.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case L.APOSTROPHE:{this.state=B.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case L.NULL:{this._err(me.unexpectedNullCharacter),n.publicId+=an;break}case L.GREATER_THAN_SIGN:{this._err(me.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=B.DATA;break}case L.EOF:{this._err(me.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:{this.state=B.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case L.GREATER_THAN_SIGN:{this.state=B.DATA,this.emitCurrentDoctype(n);break}case L.QUOTATION_MARK:{this._err(me.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=B.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case L.APOSTROPHE:{this._err(me.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=B.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case L.EOF:{this._err(me.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(me.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=B.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const n=this.currentToken;switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:break;case L.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=B.DATA;break}case L.QUOTATION_MARK:{n.systemId="",this.state=B.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case L.APOSTROPHE:{n.systemId="",this.state=B.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case L.EOF:{this._err(me.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(me.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=B.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const n=this.currentToken;switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:{this.state=B.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case L.QUOTATION_MARK:{this._err(me.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=B.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case L.APOSTROPHE:{this._err(me.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=B.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case L.GREATER_THAN_SIGN:{this._err(me.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=B.DATA,this.emitCurrentDoctype(n);break}case L.EOF:{this._err(me.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(me.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=B.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:break;case L.QUOTATION_MARK:{n.systemId="",this.state=B.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case L.APOSTROPHE:{n.systemId="",this.state=B.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case L.GREATER_THAN_SIGN:{this._err(me.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=B.DATA,this.emitCurrentDoctype(n);break}case L.EOF:{this._err(me.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(me.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=B.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case L.QUOTATION_MARK:{this.state=B.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case L.NULL:{this._err(me.unexpectedNullCharacter),n.systemId+=an;break}case L.GREATER_THAN_SIGN:{this._err(me.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=B.DATA;break}case L.EOF:{this._err(me.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case L.APOSTROPHE:{this.state=B.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case L.NULL:{this._err(me.unexpectedNullCharacter),n.systemId+=an;break}case L.GREATER_THAN_SIGN:{this._err(me.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=B.DATA;break}case L.EOF:{this._err(me.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case L.SPACE:case L.LINE_FEED:case L.TABULATION:case L.FORM_FEED:break;case L.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=B.DATA;break}case L.EOF:{this._err(me.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(me.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=B.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const n=this.currentToken;switch(t){case L.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=B.DATA;break}case L.NULL:{this._err(me.unexpectedNullCharacter);break}case L.EOF:{this.emitCurrentDoctype(n),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case L.RIGHT_SQUARE_BRACKET:{this.state=B.CDATA_SECTION_BRACKET;break}case L.EOF:{this._err(me.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===L.RIGHT_SQUARE_BRACKET?this.state=B.CDATA_SECTION_END:(this._emitChars("]"),this.state=B.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case L.GREATER_THAN_SIGN:{this.state=B.DATA;break}case L.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=B.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(){let t=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(t<0)if(this.preprocessor.lastChunkWritten)t=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}t===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(L.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&C3(this.preprocessor.peek(1))?B.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){C3(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===L.SEMICOLON&&this._err(me.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const ty=new Set([E.DD,E.DT,E.LI,E.OPTGROUP,E.OPTION,E.P,E.RB,E.RP,E.RT,E.RTC]),N3=new Set([...ty,E.CAPTION,E.COLGROUP,E.TBODY,E.TD,E.TFOOT,E.TH,E.THEAD,E.TR]),X0=new Set([E.APPLET,E.CAPTION,E.HTML,E.MARQUEE,E.OBJECT,E.TABLE,E.TD,E.TEMPLATE,E.TH]),CN=new Set([...X0,E.OL,E.UL]),kN=new Set([...X0,E.BUTTON]),O3=new Set([E.ANNOTATION_XML,E.MI,E.MN,E.MO,E.MS,E.MTEXT]),R3=new Set([E.DESC,E.FOREIGN_OBJECT,E.TITLE]),NN=new Set([E.TR,E.TEMPLATE,E.HTML]),ON=new Set([E.TBODY,E.TFOOT,E.THEAD,E.TEMPLATE,E.HTML]),RN=new Set([E.TABLE,E.TEMPLATE,E.HTML]),MN=new Set([E.TD,E.TH]);class DN{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,n,a){this.treeAdapter=n,this.handler=a,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=E.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===E.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===Ae.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,n){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=n,this.currentTagId=n,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,n,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,n){const a=this._indexOf(t);this.items[a]=n,a===this.stackTop&&(this.current=n)}insertAfter(t,n,a){const s=this._indexOf(t)+1;this.items.splice(s,0,n),this.tagIDs.splice(s,0,a),this.stackTop++,s===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,s===this.stackTop)}popUntilTagNamePopped(t){let n=this.stackTop+1;do n=this.tagIDs.lastIndexOf(t,n-1);while(n>0&&this.treeAdapter.getNamespaceURI(this.items[n])!==Ae.HTML);this.shortenToLength(Math.max(n,0))}shortenToLength(t){for(;this.stackTop>=t;){const n=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(n,this.stackTop<t)}}popUntilElementPopped(t){const n=this._indexOf(t);this.shortenToLength(Math.max(n,0))}popUntilPopped(t,n){const a=this._indexOfTagNames(t,n);this.shortenToLength(Math.max(a,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(om,Ae.HTML)}popUntilTableCellPopped(){this.popUntilPopped(MN,Ae.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,n){for(let a=this.stackTop;a>=0;a--)if(t.has(this.tagIDs[a])&&this.treeAdapter.getNamespaceURI(this.items[a])===n)return a;return-1}clearBackTo(t,n){const a=this._indexOfTagNames(t,n);this.shortenToLength(a+1)}clearBackToTableContext(){this.clearBackTo(RN,Ae.HTML)}clearBackToTableBodyContext(){this.clearBackTo(ON,Ae.HTML)}clearBackToTableRowContext(){this.clearBackTo(NN,Ae.HTML)}remove(t){const n=this._indexOf(t);n>=0&&(n===this.stackTop?this.pop():(this.items.splice(n,1),this.tagIDs.splice(n,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===E.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const n=this._indexOf(t)-1;return n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===E.HTML}hasInDynamicScope(t,n){for(let a=this.stackTop;a>=0;a--){const s=this.tagIDs[a];switch(this.treeAdapter.getNamespaceURI(this.items[a])){case Ae.HTML:{if(s===t)return!0;if(n.has(s))return!1;break}case Ae.SVG:{if(R3.has(s))return!1;break}case Ae.MATHML:{if(O3.has(s))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,X0)}hasInListItemScope(t){return this.hasInDynamicScope(t,CN)}hasInButtonScope(t){return this.hasInDynamicScope(t,kN)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case Ae.HTML:{if(om.has(n))return!0;if(X0.has(n))return!1;break}case Ae.SVG:{if(R3.has(n))return!1;break}case Ae.MATHML:{if(O3.has(n))return!1;break}}}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===Ae.HTML)switch(this.tagIDs[n]){case t:return!0;case E.TABLE:case E.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===Ae.HTML)switch(this.tagIDs[t]){case E.TBODY:case E.THEAD:case E.TFOOT:return!0;case E.TABLE:case E.HTML:return!1}return!0}hasInSelectScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===Ae.HTML)switch(this.tagIDs[n]){case t:return!0;case E.OPTION:case E.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&ty.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&N3.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&N3.has(this.currentTagId);)this.pop()}}const o1=3;var ka;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(ka||(ka={}));const M3={type:ka.Marker};class IN{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,n){const a=[],s=n.length,l=this.treeAdapter.getTagName(t),o=this.treeAdapter.getNamespaceURI(t);for(let d=0;d<this.entries.length;d++){const f=this.entries[d];if(f.type===ka.Marker)break;const{element:h}=f;if(this.treeAdapter.getTagName(h)===l&&this.treeAdapter.getNamespaceURI(h)===o){const p=this.treeAdapter.getAttrList(h);p.length===s&&a.push({idx:d,attrs:p})}}return a}_ensureNoahArkCondition(t){if(this.entries.length<o1)return;const n=this.treeAdapter.getAttrList(t),a=this._getNoahArkConditionCandidates(t,n);if(a.length<o1)return;const s=new Map(n.map(o=>[o.name,o.value]));let l=0;for(let o=0;o<a.length;o++){const d=a[o];d.attrs.every(f=>s.get(f.name)===f.value)&&(l+=1,l>=o1&&this.entries.splice(d.idx,1))}}insertMarker(){this.entries.unshift(M3)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:ka.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const a=this.entries.indexOf(this.bookmark);this.entries.splice(a,0,{type:ka.Element,element:t,token:n})}removeEntry(t){const n=this.entries.indexOf(t);n!==-1&&this.entries.splice(n,1)}clearToLastMarker(){const t=this.entries.indexOf(M3);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){const n=this.entries.find(a=>a.type===ka.Marker||this.treeAdapter.getTagName(a.element)===t);return n&&n.type===ka.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===ka.Element&&n.element===t)}}const Zi={createDocument(){return{nodeName:"#document",mode:Zr.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},createTextNode(e){return{nodeName:"#text",value:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){const a=e.childNodes.indexOf(n);e.childNodes.splice(a,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,a){const s=e.childNodes.find(l=>l.nodeName==="#documentType");if(s)s.name=t,s.publicId=n,s.systemId=a;else{const l={nodeName:"#documentType",name:t,publicId:n,systemId:a,parentNode:null};Zi.appendChild(e,l)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(Zi.isTextNode(n)){n.value+=t;return}}Zi.appendChild(e,Zi.createTextNode(t))},insertTextBefore(e,t,n){const a=e.childNodes[e.childNodes.indexOf(n)-1];a&&Zi.isTextNode(a)?a.value+=t:Zi.insertBefore(e,Zi.createTextNode(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map(a=>a.name));for(let a=0;a<t.length;a++)n.has(t[a].name)||e.attrs.push(t[a])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName==="#text"},isCommentNode(e){return e.nodeName==="#comment"},isDocumentTypeNode(e){return e.nodeName==="#documentType"},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,"tagName")},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},ny="html",LN="about:legacy-compat",BN="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",ry=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],PN=[...ry,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],UN=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),ay=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],zN=[...ay,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function D3(e,t){return t.some(n=>e.startsWith(n))}function FN(e){return e.name===ny&&e.publicId===null&&(e.systemId===null||e.systemId===LN)}function HN(e){if(e.name!==ny)return Zr.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===BN)return Zr.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),UN.has(n))return Zr.QUIRKS;let a=t===null?PN:ry;if(D3(n,a))return Zr.QUIRKS;if(a=t===null?ay:zN,D3(n,a))return Zr.LIMITED_QUIRKS}return Zr.NO_QUIRKS}const I3={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},qN="definitionurl",YN="definitionURL",jN=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),GN=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:Ae.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:Ae.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:Ae.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:Ae.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:Ae.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:Ae.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:Ae.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:Ae.XML}],["xml:space",{prefix:"xml",name:"space",namespace:Ae.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:Ae.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:Ae.XMLNS}]]),VN=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),$N=new Set([E.B,E.BIG,E.BLOCKQUOTE,E.BODY,E.BR,E.CENTER,E.CODE,E.DD,E.DIV,E.DL,E.DT,E.EM,E.EMBED,E.H1,E.H2,E.H3,E.H4,E.H5,E.H6,E.HEAD,E.HR,E.I,E.IMG,E.LI,E.LISTING,E.MENU,E.META,E.NOBR,E.OL,E.P,E.PRE,E.RUBY,E.S,E.SMALL,E.SPAN,E.STRONG,E.STRIKE,E.SUB,E.SUP,E.TABLE,E.TT,E.U,E.UL,E.VAR]);function KN(e){const t=e.tagID;return t===E.FONT&&e.attrs.some(({name:a})=>a===Us.COLOR||a===Us.SIZE||a===Us.FACE)||$N.has(t)}function iy(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===qN){e.attrs[t].name=YN;break}}function sy(e){for(let t=0;t<e.attrs.length;t++){const n=jN.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function hp(e){for(let t=0;t<e.attrs.length;t++){const n=GN.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}function XN(e){const t=VN.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=Wl(e.tagName))}function WN(e,t){return t===Ae.MATHML&&(e===E.MI||e===E.MO||e===E.MN||e===E.MS||e===E.MTEXT)}function QN(e,t,n){if(t===Ae.MATHML&&e===E.ANNOTATION_XML){for(let a=0;a<n.length;a++)if(n[a].name===Us.ENCODING){const s=n[a].value.toLowerCase();return s===I3.TEXT_HTML||s===I3.APPLICATION_XML}}return t===Ae.SVG&&(e===E.FOREIGN_OBJECT||e===E.DESC||e===E.TITLE)}function ZN(e,t,n,a){return(!a||a===Ae.HTML)&&QN(e,t,n)||(!a||a===Ae.MATHML)&&WN(e,t)}const JN="hidden",eO=8,tO=3;var F;(function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(F||(F={}));const nO={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},ly=new Set([E.TABLE,E.TBODY,E.TFOOT,E.THEAD,E.TR]),L3={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Zi,onParseError:null};let B3=class{constructor(t,n,a=null,s=null){this.fragmentContext=a,this.scriptHandler=s,this.currentToken=null,this.stopped=!1,this.insertionMode=F.INITIAL,this.originalInsertionMode=F.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...L3,...t},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=n??this.treeAdapter.createDocument(),this.tokenizer=new wN(this.options,this),this.activeFormattingElements=new IN(this.treeAdapter),this.fragmentContextID=a?Wl(this.treeAdapter.getTagName(a)):E.UNKNOWN,this._setContextModes(a??this.document,this.fragmentContextID),this.openElements=new DN(this.document,this.treeAdapter,this)}static parse(t,n){const a=new this(n);return a.tokenizer.write(t,!0),a.document}static getFragmentParser(t,n){const a={...L3,...n};t??(t=a.treeAdapter.createElement(ie.TEMPLATE,Ae.HTML,[]));const s=a.treeAdapter.createElement("documentmock",Ae.HTML,[]),l=new this(a,s,t);return l.fragmentContextID===E.TEMPLATE&&l.tmplInsertionModeStack.unshift(F.IN_TEMPLATE),l._initTokenizerForFragmentParsing(),l._insertFakeRootElement(),l._resetInsertionMode(),l._findFormInFragmentContext(),l}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),n=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,n),n}_err(t,n,a){var s;if(!this.onParseError)return;const l=(s=t.location)!==null&&s!==void 0?s:nO,o={code:n,startLine:l.startLine,startCol:l.startCol,startOffset:l.startOffset,endLine:a?l.startLine:l.endLine,endCol:a?l.startCol:l.endCol,endOffset:a?l.startOffset:l.endOffset};this.onParseError(o)}onItemPush(t,n,a){var s,l;(l=(s=this.treeAdapter).onItemPush)===null||l===void 0||l.call(s,t),a&&this.openElements.stackTop>0&&this._setContextModes(t,n)}onItemPop(t,n){var a,s;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(s=(a=this.treeAdapter).onItemPop)===null||s===void 0||s.call(a,t,this.openElements.current),n){let l,o;this.openElements.stackTop===0&&this.fragmentContext?(l=this.fragmentContext,o=this.fragmentContextID):{current:l,currentTagId:o}=this.openElements,this._setContextModes(l,o)}}_setContextModes(t,n){const a=t===this.document||t&&this.treeAdapter.getNamespaceURI(t)===Ae.HTML;this.currentNotInHTML=!a,this.tokenizer.inForeignNode=!a&&t!==void 0&&n!==void 0&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,Ae.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=F.TEXT}switchToPlaintextParsing(){this.insertionMode=F.TEXT,this.originalInsertionMode=F.IN_BODY,this.tokenizer.state=Sn.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===ie.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==Ae.HTML))switch(this.fragmentContextID){case E.TITLE:case E.TEXTAREA:{this.tokenizer.state=Sn.RCDATA;break}case E.STYLE:case E.XMP:case E.IFRAME:case E.NOEMBED:case E.NOFRAMES:case E.NOSCRIPT:{this.tokenizer.state=Sn.RAWTEXT;break}case E.SCRIPT:{this.tokenizer.state=Sn.SCRIPT_DATA;break}case E.PLAINTEXT:{this.tokenizer.state=Sn.PLAINTEXT;break}}}_setDocumentType(t){const n=t.name||"",a=t.publicId||"",s=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,n,a,s),t.location){const o=this.treeAdapter.getChildNodes(this.document).find(d=>this.treeAdapter.isDocumentTypeNode(d));o&&this.treeAdapter.setNodeSourceCodeLocation(o,t.location)}}_attachElementToTree(t,n){if(this.options.sourceCodeLocationInfo){const a=n&&{...n,startTag:n};this.treeAdapter.setNodeSourceCodeLocation(t,a)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const a=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(a??this.document,t)}}_appendElement(t,n){const a=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(a,t.location)}_insertElement(t,n){const a=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(a,t.location),this.openElements.push(a,t.tagID)}_insertFakeElement(t,n){const a=this.treeAdapter.createElement(t,Ae.HTML,[]);this._attachElementToTree(a,null),this.openElements.push(a,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,Ae.HTML,t.attrs),a=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,a),this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(a,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(ie.HTML,Ae.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,E.HTML)}_appendCommentNode(t,n){const a=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(n,a),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(a,t.location)}_insertCharacters(t){let n,a;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:a}=this._findFosterParentingLocation(),a?this.treeAdapter.insertTextBefore(n,t.chars,a):this.treeAdapter.insertText(n,t.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,t.chars)),!t.location)return;const s=this.treeAdapter.getChildNodes(n),l=a?s.lastIndexOf(a):s.length,o=s[l-1];if(this.treeAdapter.getNodeSourceCodeLocation(o)){const{endLine:f,endCol:h,endOffset:p}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(o,{endLine:f,endCol:h,endOffset:p})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(o,t.location)}_adoptNodes(t,n){for(let a=this.treeAdapter.getFirstChild(t);a;a=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(a),this.treeAdapter.appendChild(n,a)}_setEndLocation(t,n){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&n.location){const a=n.location,s=this.treeAdapter.getTagName(t),l=n.type===xt.END_TAG&&s===n.tagName?{endTag:{...a},endLine:a.endLine,endCol:a.endCol,endOffset:a.endOffset}:{endLine:a.startLine,endCol:a.startCol,endOffset:a.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,l)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let n,a;return this.openElements.stackTop===0&&this.fragmentContext?(n=this.fragmentContext,a=this.fragmentContextID):{current:n,currentTagId:a}=this.openElements,t.tagID===E.SVG&&this.treeAdapter.getTagName(n)===ie.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===Ae.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===E.MGLYPH||t.tagID===E.MALIGNMARK)&&a!==void 0&&!this._isIntegrationPoint(a,n,Ae.HTML)}_processToken(t){switch(t.type){case xt.CHARACTER:{this.onCharacter(t);break}case xt.NULL_CHARACTER:{this.onNullCharacter(t);break}case xt.COMMENT:{this.onComment(t);break}case xt.DOCTYPE:{this.onDoctype(t);break}case xt.START_TAG:{this._processStartTag(t);break}case xt.END_TAG:{this.onEndTag(t);break}case xt.EOF:{this.onEof(t);break}case xt.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,n,a){const s=this.treeAdapter.getNamespaceURI(n),l=this.treeAdapter.getAttrList(n);return ZN(t,s,l,a)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(s=>s.type===ka.Marker||this.openElements.contains(s.element)),a=n===-1?t-1:n-1;for(let s=a;s>=0;s--){const l=this.activeFormattingElements.entries[s];this._insertElement(l.token,this.treeAdapter.getNamespaceURI(l.element)),l.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=F.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(E.P),this.openElements.popUntilTagNamePopped(E.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case E.TR:{this.insertionMode=F.IN_ROW;return}case E.TBODY:case E.THEAD:case E.TFOOT:{this.insertionMode=F.IN_TABLE_BODY;return}case E.CAPTION:{this.insertionMode=F.IN_CAPTION;return}case E.COLGROUP:{this.insertionMode=F.IN_COLUMN_GROUP;return}case E.TABLE:{this.insertionMode=F.IN_TABLE;return}case E.BODY:{this.insertionMode=F.IN_BODY;return}case E.FRAMESET:{this.insertionMode=F.IN_FRAMESET;return}case E.SELECT:{this._resetInsertionModeForSelect(t);return}case E.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case E.HTML:{this.insertionMode=this.headElement?F.AFTER_HEAD:F.BEFORE_HEAD;return}case E.TD:case E.TH:{if(t>0){this.insertionMode=F.IN_CELL;return}break}case E.HEAD:{if(t>0){this.insertionMode=F.IN_HEAD;return}break}}this.insertionMode=F.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const a=this.openElements.tagIDs[n];if(a===E.TEMPLATE)break;if(a===E.TABLE){this.insertionMode=F.IN_SELECT_IN_TABLE;return}}this.insertionMode=F.IN_SELECT}_isElementCausesFosterParenting(t){return ly.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case E.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===Ae.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case E.TABLE:{const a=this.treeAdapter.getParentNode(n);return a?{parent:a,beforeElement:n}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,t,n.beforeElement):this.treeAdapter.appendChild(n.parent,t)}_isSpecialElement(t,n){const a=this.treeAdapter.getNamespaceURI(t);return _N[a].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){MR(this,t);return}switch(this.insertionMode){case F.INITIAL:{lo(this,t);break}case F.BEFORE_HTML:{go(this,t);break}case F.BEFORE_HEAD:{bo(this,t);break}case F.IN_HEAD:{Eo(this,t);break}case F.IN_HEAD_NO_SCRIPT:{yo(this,t);break}case F.AFTER_HEAD:{vo(this,t);break}case F.IN_BODY:case F.IN_CAPTION:case F.IN_CELL:case F.IN_TEMPLATE:{oy(this,t);break}case F.TEXT:case F.IN_SELECT:case F.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case F.IN_TABLE:case F.IN_TABLE_BODY:case F.IN_ROW:{c1(this,t);break}case F.IN_TABLE_TEXT:{py(this,t);break}case F.IN_COLUMN_GROUP:{W0(this,t);break}case F.AFTER_BODY:{Q0(this,t);break}case F.AFTER_AFTER_BODY:{F0(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){RR(this,t);return}switch(this.insertionMode){case F.INITIAL:{lo(this,t);break}case F.BEFORE_HTML:{go(this,t);break}case F.BEFORE_HEAD:{bo(this,t);break}case F.IN_HEAD:{Eo(this,t);break}case F.IN_HEAD_NO_SCRIPT:{yo(this,t);break}case F.AFTER_HEAD:{vo(this,t);break}case F.TEXT:{this._insertCharacters(t);break}case F.IN_TABLE:case F.IN_TABLE_BODY:case F.IN_ROW:{c1(this,t);break}case F.IN_COLUMN_GROUP:{W0(this,t);break}case F.AFTER_BODY:{Q0(this,t);break}case F.AFTER_AFTER_BODY:{F0(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){cm(this,t);return}switch(this.insertionMode){case F.INITIAL:case F.BEFORE_HTML:case F.BEFORE_HEAD:case F.IN_HEAD:case F.IN_HEAD_NO_SCRIPT:case F.AFTER_HEAD:case F.IN_BODY:case F.IN_TABLE:case F.IN_CAPTION:case F.IN_COLUMN_GROUP:case F.IN_TABLE_BODY:case F.IN_ROW:case F.IN_CELL:case F.IN_SELECT:case F.IN_SELECT_IN_TABLE:case F.IN_TEMPLATE:case F.IN_FRAMESET:case F.AFTER_FRAMESET:{cm(this,t);break}case F.IN_TABLE_TEXT:{uo(this,t);break}case F.AFTER_BODY:{oO(this,t);break}case F.AFTER_AFTER_BODY:case F.AFTER_AFTER_FRAMESET:{cO(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case F.INITIAL:{dO(this,t);break}case F.BEFORE_HEAD:case F.IN_HEAD:case F.IN_HEAD_NO_SCRIPT:case F.AFTER_HEAD:{this._err(t,me.misplacedDoctype);break}case F.IN_TABLE_TEXT:{uo(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,me.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?DR(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case F.INITIAL:{lo(this,t);break}case F.BEFORE_HTML:{fO(this,t);break}case F.BEFORE_HEAD:{mO(this,t);break}case F.IN_HEAD:{Ea(this,t);break}case F.IN_HEAD_NO_SCRIPT:{bO(this,t);break}case F.AFTER_HEAD:{yO(this,t);break}case F.IN_BODY:{er(this,t);break}case F.IN_TABLE:{Ul(this,t);break}case F.IN_TABLE_TEXT:{uo(this,t);break}case F.IN_CAPTION:{pR(this,t);break}case F.IN_COLUMN_GROUP:{gp(this,t);break}case F.IN_TABLE_BODY:{vd(this,t);break}case F.IN_ROW:{Td(this,t);break}case F.IN_CELL:{ER(this,t);break}case F.IN_SELECT:{Ey(this,t);break}case F.IN_SELECT_IN_TABLE:{vR(this,t);break}case F.IN_TEMPLATE:{_R(this,t);break}case F.AFTER_BODY:{xR(this,t);break}case F.IN_FRAMESET:{AR(this,t);break}case F.AFTER_FRAMESET:{CR(this,t);break}case F.AFTER_AFTER_BODY:{NR(this,t);break}case F.AFTER_AFTER_FRAMESET:{OR(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?IR(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case F.INITIAL:{lo(this,t);break}case F.BEFORE_HTML:{hO(this,t);break}case F.BEFORE_HEAD:{pO(this,t);break}case F.IN_HEAD:{gO(this,t);break}case F.IN_HEAD_NO_SCRIPT:{EO(this,t);break}case F.AFTER_HEAD:{vO(this,t);break}case F.IN_BODY:{yd(this,t);break}case F.TEXT:{iR(this,t);break}case F.IN_TABLE:{No(this,t);break}case F.IN_TABLE_TEXT:{uo(this,t);break}case F.IN_CAPTION:{gR(this,t);break}case F.IN_COLUMN_GROUP:{bR(this,t);break}case F.IN_TABLE_BODY:{dm(this,t);break}case F.IN_ROW:{by(this,t);break}case F.IN_CELL:{yR(this,t);break}case F.IN_SELECT:{yy(this,t);break}case F.IN_SELECT_IN_TABLE:{TR(this,t);break}case F.IN_TEMPLATE:{SR(this,t);break}case F.AFTER_BODY:{Ty(this,t);break}case F.IN_FRAMESET:{wR(this,t);break}case F.AFTER_FRAMESET:{kR(this,t);break}case F.AFTER_AFTER_BODY:{F0(this,t);break}}}onEof(t){switch(this.insertionMode){case F.INITIAL:{lo(this,t);break}case F.BEFORE_HTML:{go(this,t);break}case F.BEFORE_HEAD:{bo(this,t);break}case F.IN_HEAD:{Eo(this,t);break}case F.IN_HEAD_NO_SCRIPT:{yo(this,t);break}case F.AFTER_HEAD:{vo(this,t);break}case F.IN_BODY:case F.IN_TABLE:case F.IN_CAPTION:case F.IN_COLUMN_GROUP:case F.IN_TABLE_BODY:case F.IN_ROW:case F.IN_CELL:case F.IN_SELECT:case F.IN_SELECT_IN_TABLE:{hy(this,t);break}case F.TEXT:{sR(this,t);break}case F.IN_TABLE_TEXT:{uo(this,t);break}case F.IN_TEMPLATE:{vy(this,t);break}case F.AFTER_BODY:case F.IN_FRAMESET:case F.AFTER_FRAMESET:case F.AFTER_AFTER_BODY:case F.AFTER_AFTER_FRAMESET:{pp(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===L.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case F.IN_HEAD:case F.IN_HEAD_NO_SCRIPT:case F.AFTER_HEAD:case F.TEXT:case F.IN_COLUMN_GROUP:case F.IN_SELECT:case F.IN_SELECT_IN_TABLE:case F.IN_FRAMESET:case F.AFTER_FRAMESET:{this._insertCharacters(t);break}case F.IN_BODY:case F.IN_CAPTION:case F.IN_CELL:case F.IN_TEMPLATE:case F.AFTER_BODY:case F.AFTER_AFTER_BODY:case F.AFTER_AFTER_FRAMESET:{uy(this,t);break}case F.IN_TABLE:case F.IN_TABLE_BODY:case F.IN_ROW:{c1(this,t);break}case F.IN_TABLE_TEXT:{my(this,t);break}}}};function rO(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):fy(e,t),n}function aO(e,t){let n=null,a=e.openElements.stackTop;for(;a>=0;a--){const s=e.openElements.items[a];if(s===t.element)break;e._isSpecialElement(s,e.openElements.tagIDs[a])&&(n=s)}return n||(e.openElements.shortenToLength(Math.max(a,0)),e.activeFormattingElements.removeEntry(t)),n}function iO(e,t,n){let a=t,s=e.openElements.getCommonAncestor(t);for(let l=0,o=s;o!==n;l++,o=s){s=e.openElements.getCommonAncestor(o);const d=e.activeFormattingElements.getElementEntry(o),f=d&&l>=tO;!d||f?(f&&e.activeFormattingElements.removeEntry(d),e.openElements.remove(o)):(o=sO(e,d),a===t&&(e.activeFormattingElements.bookmark=d),e.treeAdapter.detachNode(a),e.treeAdapter.appendChild(o,a),a=o)}return a}function sO(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),a=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,a),t.element=a,a}function lO(e,t,n){const a=e.treeAdapter.getTagName(t),s=Wl(a);if(e._isElementCausesFosterParenting(s))e._fosterParentElement(n);else{const l=e.treeAdapter.getNamespaceURI(t);s===E.TEMPLATE&&l===Ae.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function uO(e,t,n){const a=e.treeAdapter.getNamespaceURI(n.element),{token:s}=n,l=e.treeAdapter.createElement(s.tagName,a,s.attrs);e._adoptNodes(t,l),e.treeAdapter.appendChild(t,l),e.activeFormattingElements.insertElementAfterBookmark(l,s),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,l,s.tagID)}function mp(e,t){for(let n=0;n<eO;n++){const a=rO(e,t);if(!a)break;const s=aO(e,a);if(!s)break;e.activeFormattingElements.bookmark=a;const l=iO(e,s,a.element),o=e.openElements.getCommonAncestor(a.element);e.treeAdapter.detachNode(l),o&&lO(e,o,l),uO(e,s,a)}}function cm(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function oO(e,t){e._appendCommentNode(t,e.openElements.items[0])}function cO(e,t){e._appendCommentNode(t,e.document)}function pp(e,t){if(e.stopped=!0,t.location){const n=e.fragmentContext?0:2;for(let a=e.openElements.stackTop;a>=n;a--)e._setEndLocation(e.openElements.items[a],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const a=e.openElements.items[0],s=e.treeAdapter.getNodeSourceCodeLocation(a);if(s&&!s.endTag&&(e._setEndLocation(a,t),e.openElements.stackTop>=1)){const l=e.openElements.items[1],o=e.treeAdapter.getNodeSourceCodeLocation(l);o&&!o.endTag&&e._setEndLocation(l,t)}}}}function dO(e,t){e._setDocumentType(t);const n=t.forceQuirks?Zr.QUIRKS:HN(t);FN(t)||e._err(t,me.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=F.BEFORE_HTML}function lo(e,t){e._err(t,me.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,Zr.QUIRKS),e.insertionMode=F.BEFORE_HTML,e._processToken(t)}function fO(e,t){t.tagID===E.HTML?(e._insertElement(t,Ae.HTML),e.insertionMode=F.BEFORE_HEAD):go(e,t)}function hO(e,t){const n=t.tagID;(n===E.HTML||n===E.HEAD||n===E.BODY||n===E.BR)&&go(e,t)}function go(e,t){e._insertFakeRootElement(),e.insertionMode=F.BEFORE_HEAD,e._processToken(t)}function mO(e,t){switch(t.tagID){case E.HTML:{er(e,t);break}case E.HEAD:{e._insertElement(t,Ae.HTML),e.headElement=e.openElements.current,e.insertionMode=F.IN_HEAD;break}default:bo(e,t)}}function pO(e,t){const n=t.tagID;n===E.HEAD||n===E.BODY||n===E.HTML||n===E.BR?bo(e,t):e._err(t,me.endTagWithoutMatchingOpenElement)}function bo(e,t){e._insertFakeElement(ie.HEAD,E.HEAD),e.headElement=e.openElements.current,e.insertionMode=F.IN_HEAD,e._processToken(t)}function Ea(e,t){switch(t.tagID){case E.HTML:{er(e,t);break}case E.BASE:case E.BASEFONT:case E.BGSOUND:case E.LINK:case E.META:{e._appendElement(t,Ae.HTML),t.ackSelfClosing=!0;break}case E.TITLE:{e._switchToTextParsing(t,Sn.RCDATA);break}case E.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,Sn.RAWTEXT):(e._insertElement(t,Ae.HTML),e.insertionMode=F.IN_HEAD_NO_SCRIPT);break}case E.NOFRAMES:case E.STYLE:{e._switchToTextParsing(t,Sn.RAWTEXT);break}case E.SCRIPT:{e._switchToTextParsing(t,Sn.SCRIPT_DATA);break}case E.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=F.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(F.IN_TEMPLATE);break}case E.HEAD:{e._err(t,me.misplacedStartTagForHeadElement);break}default:Eo(e,t)}}function gO(e,t){switch(t.tagID){case E.HEAD:{e.openElements.pop(),e.insertionMode=F.AFTER_HEAD;break}case E.BODY:case E.BR:case E.HTML:{Eo(e,t);break}case E.TEMPLATE:{qs(e,t);break}default:e._err(t,me.endTagWithoutMatchingOpenElement)}}function qs(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==E.TEMPLATE&&e._err(t,me.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(E.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,me.endTagWithoutMatchingOpenElement)}function Eo(e,t){e.openElements.pop(),e.insertionMode=F.AFTER_HEAD,e._processToken(t)}function bO(e,t){switch(t.tagID){case E.HTML:{er(e,t);break}case E.BASEFONT:case E.BGSOUND:case E.HEAD:case E.LINK:case E.META:case E.NOFRAMES:case E.STYLE:{Ea(e,t);break}case E.NOSCRIPT:{e._err(t,me.nestedNoscriptInHead);break}default:yo(e,t)}}function EO(e,t){switch(t.tagID){case E.NOSCRIPT:{e.openElements.pop(),e.insertionMode=F.IN_HEAD;break}case E.BR:{yo(e,t);break}default:e._err(t,me.endTagWithoutMatchingOpenElement)}}function yo(e,t){const n=t.type===xt.EOF?me.openElementsLeftAfterEof:me.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=F.IN_HEAD,e._processToken(t)}function yO(e,t){switch(t.tagID){case E.HTML:{er(e,t);break}case E.BODY:{e._insertElement(t,Ae.HTML),e.framesetOk=!1,e.insertionMode=F.IN_BODY;break}case E.FRAMESET:{e._insertElement(t,Ae.HTML),e.insertionMode=F.IN_FRAMESET;break}case E.BASE:case E.BASEFONT:case E.BGSOUND:case E.LINK:case E.META:case E.NOFRAMES:case E.SCRIPT:case E.STYLE:case E.TEMPLATE:case E.TITLE:{e._err(t,me.abandonedHeadElementChild),e.openElements.push(e.headElement,E.HEAD),Ea(e,t),e.openElements.remove(e.headElement);break}case E.HEAD:{e._err(t,me.misplacedStartTagForHeadElement);break}default:vo(e,t)}}function vO(e,t){switch(t.tagID){case E.BODY:case E.HTML:case E.BR:{vo(e,t);break}case E.TEMPLATE:{qs(e,t);break}default:e._err(t,me.endTagWithoutMatchingOpenElement)}}function vo(e,t){e._insertFakeElement(ie.BODY,E.BODY),e.insertionMode=F.IN_BODY,Ed(e,t)}function Ed(e,t){switch(t.type){case xt.CHARACTER:{oy(e,t);break}case xt.WHITESPACE_CHARACTER:{uy(e,t);break}case xt.COMMENT:{cm(e,t);break}case xt.START_TAG:{er(e,t);break}case xt.END_TAG:{yd(e,t);break}case xt.EOF:{hy(e,t);break}}}function uy(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function oy(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function TO(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function _O(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function SO(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,Ae.HTML),e.insertionMode=F.IN_FRAMESET)}function xO(e,t){e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e._insertElement(t,Ae.HTML)}function AO(e,t){e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&om.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,Ae.HTML)}function wO(e,t){e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e._insertElement(t,Ae.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function CO(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e._insertElement(t,Ae.HTML),n||(e.formElement=e.openElements.current))}function kO(e,t){e.framesetOk=!1;const n=t.tagID;for(let a=e.openElements.stackTop;a>=0;a--){const s=e.openElements.tagIDs[a];if(n===E.LI&&s===E.LI||(n===E.DD||n===E.DT)&&(s===E.DD||s===E.DT)){e.openElements.generateImpliedEndTagsWithExclusion(s),e.openElements.popUntilTagNamePopped(s);break}if(s!==E.ADDRESS&&s!==E.DIV&&s!==E.P&&e._isSpecialElement(e.openElements.items[a],s))break}e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e._insertElement(t,Ae.HTML)}function NO(e,t){e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e._insertElement(t,Ae.HTML),e.tokenizer.state=Sn.PLAINTEXT}function OO(e,t){e.openElements.hasInScope(E.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(E.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,Ae.HTML),e.framesetOk=!1}function RO(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(ie.A);n&&(mp(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,Ae.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function MO(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Ae.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function DO(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(E.NOBR)&&(mp(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,Ae.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function IO(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Ae.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function LO(e,t){e.treeAdapter.getDocumentMode(e.document)!==Zr.QUIRKS&&e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e._insertElement(t,Ae.HTML),e.framesetOk=!1,e.insertionMode=F.IN_TABLE}function cy(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,Ae.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function dy(e){const t=J5(e,Us.TYPE);return t!=null&&t.toLowerCase()===JN}function BO(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,Ae.HTML),dy(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function PO(e,t){e._appendElement(t,Ae.HTML),t.ackSelfClosing=!0}function UO(e,t){e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e._appendElement(t,Ae.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function zO(e,t){t.tagName=ie.IMG,t.tagID=E.IMG,cy(e,t)}function FO(e,t){e._insertElement(t,Ae.HTML),e.skipNextNewLine=!0,e.tokenizer.state=Sn.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=F.TEXT}function HO(e,t){e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,Sn.RAWTEXT)}function qO(e,t){e.framesetOk=!1,e._switchToTextParsing(t,Sn.RAWTEXT)}function P3(e,t){e._switchToTextParsing(t,Sn.RAWTEXT)}function YO(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Ae.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===F.IN_TABLE||e.insertionMode===F.IN_CAPTION||e.insertionMode===F.IN_TABLE_BODY||e.insertionMode===F.IN_ROW||e.insertionMode===F.IN_CELL?F.IN_SELECT_IN_TABLE:F.IN_SELECT}function jO(e,t){e.openElements.currentTagId===E.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,Ae.HTML)}function GO(e,t){e.openElements.hasInScope(E.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,Ae.HTML)}function VO(e,t){e.openElements.hasInScope(E.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(E.RTC),e._insertElement(t,Ae.HTML)}function $O(e,t){e._reconstructActiveFormattingElements(),iy(t),hp(t),t.selfClosing?e._appendElement(t,Ae.MATHML):e._insertElement(t,Ae.MATHML),t.ackSelfClosing=!0}function KO(e,t){e._reconstructActiveFormattingElements(),sy(t),hp(t),t.selfClosing?e._appendElement(t,Ae.SVG):e._insertElement(t,Ae.SVG),t.ackSelfClosing=!0}function U3(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Ae.HTML)}function er(e,t){switch(t.tagID){case E.I:case E.S:case E.B:case E.U:case E.EM:case E.TT:case E.BIG:case E.CODE:case E.FONT:case E.SMALL:case E.STRIKE:case E.STRONG:{MO(e,t);break}case E.A:{RO(e,t);break}case E.H1:case E.H2:case E.H3:case E.H4:case E.H5:case E.H6:{AO(e,t);break}case E.P:case E.DL:case E.OL:case E.UL:case E.DIV:case E.DIR:case E.NAV:case E.MAIN:case E.MENU:case E.ASIDE:case E.CENTER:case E.FIGURE:case E.FOOTER:case E.HEADER:case E.HGROUP:case E.DIALOG:case E.DETAILS:case E.ADDRESS:case E.ARTICLE:case E.SEARCH:case E.SECTION:case E.SUMMARY:case E.FIELDSET:case E.BLOCKQUOTE:case E.FIGCAPTION:{xO(e,t);break}case E.LI:case E.DD:case E.DT:{kO(e,t);break}case E.BR:case E.IMG:case E.WBR:case E.AREA:case E.EMBED:case E.KEYGEN:{cy(e,t);break}case E.HR:{UO(e,t);break}case E.RB:case E.RTC:{GO(e,t);break}case E.RT:case E.RP:{VO(e,t);break}case E.PRE:case E.LISTING:{wO(e,t);break}case E.XMP:{HO(e,t);break}case E.SVG:{KO(e,t);break}case E.HTML:{TO(e,t);break}case E.BASE:case E.LINK:case E.META:case E.STYLE:case E.TITLE:case E.SCRIPT:case E.BGSOUND:case E.BASEFONT:case E.TEMPLATE:{Ea(e,t);break}case E.BODY:{_O(e,t);break}case E.FORM:{CO(e,t);break}case E.NOBR:{DO(e,t);break}case E.MATH:{$O(e,t);break}case E.TABLE:{LO(e,t);break}case E.INPUT:{BO(e,t);break}case E.PARAM:case E.TRACK:case E.SOURCE:{PO(e,t);break}case E.IMAGE:{zO(e,t);break}case E.BUTTON:{OO(e,t);break}case E.APPLET:case E.OBJECT:case E.MARQUEE:{IO(e,t);break}case E.IFRAME:{qO(e,t);break}case E.SELECT:{YO(e,t);break}case E.OPTION:case E.OPTGROUP:{jO(e,t);break}case E.NOEMBED:case E.NOFRAMES:{P3(e,t);break}case E.FRAMESET:{SO(e,t);break}case E.TEXTAREA:{FO(e,t);break}case E.NOSCRIPT:{e.options.scriptingEnabled?P3(e,t):U3(e,t);break}case E.PLAINTEXT:{NO(e,t);break}case E.COL:case E.TH:case E.TD:case E.TR:case E.HEAD:case E.FRAME:case E.TBODY:case E.TFOOT:case E.THEAD:case E.CAPTION:case E.COLGROUP:break;default:U3(e,t)}}function XO(e,t){if(e.openElements.hasInScope(E.BODY)&&(e.insertionMode=F.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function WO(e,t){e.openElements.hasInScope(E.BODY)&&(e.insertionMode=F.AFTER_BODY,Ty(e,t))}function QO(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function ZO(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(E.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(E.FORM):n&&e.openElements.remove(n))}function JO(e){e.openElements.hasInButtonScope(E.P)||e._insertFakeElement(ie.P,E.P),e._closePElement()}function eR(e){e.openElements.hasInListItemScope(E.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(E.LI),e.openElements.popUntilTagNamePopped(E.LI))}function tR(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function nR(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function rR(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function aR(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(ie.BR,E.BR),e.openElements.pop(),e.framesetOk=!1}function fy(e,t){const n=t.tagName,a=t.tagID;for(let s=e.openElements.stackTop;s>0;s--){const l=e.openElements.items[s],o=e.openElements.tagIDs[s];if(a===o&&(a!==E.UNKNOWN||e.treeAdapter.getTagName(l)===n)){e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.stackTop>=s&&e.openElements.shortenToLength(s);break}if(e._isSpecialElement(l,o))break}}function yd(e,t){switch(t.tagID){case E.A:case E.B:case E.I:case E.S:case E.U:case E.EM:case E.TT:case E.BIG:case E.CODE:case E.FONT:case E.NOBR:case E.SMALL:case E.STRIKE:case E.STRONG:{mp(e,t);break}case E.P:{JO(e);break}case E.DL:case E.UL:case E.OL:case E.DIR:case E.DIV:case E.NAV:case E.PRE:case E.MAIN:case E.MENU:case E.ASIDE:case E.BUTTON:case E.CENTER:case E.FIGURE:case E.FOOTER:case E.HEADER:case E.HGROUP:case E.DIALOG:case E.ADDRESS:case E.ARTICLE:case E.DETAILS:case E.SEARCH:case E.SECTION:case E.SUMMARY:case E.LISTING:case E.FIELDSET:case E.BLOCKQUOTE:case E.FIGCAPTION:{QO(e,t);break}case E.LI:{eR(e);break}case E.DD:case E.DT:{tR(e,t);break}case E.H1:case E.H2:case E.H3:case E.H4:case E.H5:case E.H6:{nR(e);break}case E.BR:{aR(e);break}case E.BODY:{XO(e,t);break}case E.HTML:{WO(e,t);break}case E.FORM:{ZO(e);break}case E.APPLET:case E.OBJECT:case E.MARQUEE:{rR(e,t);break}case E.TEMPLATE:{qs(e,t);break}default:fy(e,t)}}function hy(e,t){e.tmplInsertionModeStack.length>0?vy(e,t):pp(e,t)}function iR(e,t){var n;t.tagID===E.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function sR(e,t){e._err(t,me.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function c1(e,t){if(e.openElements.currentTagId!==void 0&&ly.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=F.IN_TABLE_TEXT,t.type){case xt.CHARACTER:{py(e,t);break}case xt.WHITESPACE_CHARACTER:{my(e,t);break}}else Ho(e,t)}function lR(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,Ae.HTML),e.insertionMode=F.IN_CAPTION}function uR(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,Ae.HTML),e.insertionMode=F.IN_COLUMN_GROUP}function oR(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(ie.COLGROUP,E.COLGROUP),e.insertionMode=F.IN_COLUMN_GROUP,gp(e,t)}function cR(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,Ae.HTML),e.insertionMode=F.IN_TABLE_BODY}function dR(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(ie.TBODY,E.TBODY),e.insertionMode=F.IN_TABLE_BODY,vd(e,t)}function fR(e,t){e.openElements.hasInTableScope(E.TABLE)&&(e.openElements.popUntilTagNamePopped(E.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function hR(e,t){dy(t)?e._appendElement(t,Ae.HTML):Ho(e,t),t.ackSelfClosing=!0}function mR(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,Ae.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Ul(e,t){switch(t.tagID){case E.TD:case E.TH:case E.TR:{dR(e,t);break}case E.STYLE:case E.SCRIPT:case E.TEMPLATE:{Ea(e,t);break}case E.COL:{oR(e,t);break}case E.FORM:{mR(e,t);break}case E.TABLE:{fR(e,t);break}case E.TBODY:case E.TFOOT:case E.THEAD:{cR(e,t);break}case E.INPUT:{hR(e,t);break}case E.CAPTION:{lR(e,t);break}case E.COLGROUP:{uR(e,t);break}default:Ho(e,t)}}function No(e,t){switch(t.tagID){case E.TABLE:{e.openElements.hasInTableScope(E.TABLE)&&(e.openElements.popUntilTagNamePopped(E.TABLE),e._resetInsertionMode());break}case E.TEMPLATE:{qs(e,t);break}case E.BODY:case E.CAPTION:case E.COL:case E.COLGROUP:case E.HTML:case E.TBODY:case E.TD:case E.TFOOT:case E.TH:case E.THEAD:case E.TR:break;default:Ho(e,t)}}function Ho(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,Ed(e,t),e.fosterParentingEnabled=n}function my(e,t){e.pendingCharacterTokens.push(t)}function py(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function uo(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)Ho(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const gy=new Set([E.CAPTION,E.COL,E.COLGROUP,E.TBODY,E.TD,E.TFOOT,E.TH,E.THEAD,E.TR]);function pR(e,t){const n=t.tagID;gy.has(n)?e.openElements.hasInTableScope(E.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(E.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=F.IN_TABLE,Ul(e,t)):er(e,t)}function gR(e,t){const n=t.tagID;switch(n){case E.CAPTION:case E.TABLE:{e.openElements.hasInTableScope(E.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(E.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=F.IN_TABLE,n===E.TABLE&&No(e,t));break}case E.BODY:case E.COL:case E.COLGROUP:case E.HTML:case E.TBODY:case E.TD:case E.TFOOT:case E.TH:case E.THEAD:case E.TR:break;default:yd(e,t)}}function gp(e,t){switch(t.tagID){case E.HTML:{er(e,t);break}case E.COL:{e._appendElement(t,Ae.HTML),t.ackSelfClosing=!0;break}case E.TEMPLATE:{Ea(e,t);break}default:W0(e,t)}}function bR(e,t){switch(t.tagID){case E.COLGROUP:{e.openElements.currentTagId===E.COLGROUP&&(e.openElements.pop(),e.insertionMode=F.IN_TABLE);break}case E.TEMPLATE:{qs(e,t);break}case E.COL:break;default:W0(e,t)}}function W0(e,t){e.openElements.currentTagId===E.COLGROUP&&(e.openElements.pop(),e.insertionMode=F.IN_TABLE,e._processToken(t))}function vd(e,t){switch(t.tagID){case E.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,Ae.HTML),e.insertionMode=F.IN_ROW;break}case E.TH:case E.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(ie.TR,E.TR),e.insertionMode=F.IN_ROW,Td(e,t);break}case E.CAPTION:case E.COL:case E.COLGROUP:case E.TBODY:case E.TFOOT:case E.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=F.IN_TABLE,Ul(e,t));break}default:Ul(e,t)}}function dm(e,t){const n=t.tagID;switch(t.tagID){case E.TBODY:case E.TFOOT:case E.THEAD:{e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=F.IN_TABLE);break}case E.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=F.IN_TABLE,No(e,t));break}case E.BODY:case E.CAPTION:case E.COL:case E.COLGROUP:case E.HTML:case E.TD:case E.TH:case E.TR:break;default:No(e,t)}}function Td(e,t){switch(t.tagID){case E.TH:case E.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,Ae.HTML),e.insertionMode=F.IN_CELL,e.activeFormattingElements.insertMarker();break}case E.CAPTION:case E.COL:case E.COLGROUP:case E.TBODY:case E.TFOOT:case E.THEAD:case E.TR:{e.openElements.hasInTableScope(E.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=F.IN_TABLE_BODY,vd(e,t));break}default:Ul(e,t)}}function by(e,t){switch(t.tagID){case E.TR:{e.openElements.hasInTableScope(E.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=F.IN_TABLE_BODY);break}case E.TABLE:{e.openElements.hasInTableScope(E.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=F.IN_TABLE_BODY,dm(e,t));break}case E.TBODY:case E.TFOOT:case E.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(E.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=F.IN_TABLE_BODY,dm(e,t));break}case E.BODY:case E.CAPTION:case E.COL:case E.COLGROUP:case E.HTML:case E.TD:case E.TH:break;default:No(e,t)}}function ER(e,t){const n=t.tagID;gy.has(n)?(e.openElements.hasInTableScope(E.TD)||e.openElements.hasInTableScope(E.TH))&&(e._closeTableCell(),Td(e,t)):er(e,t)}function yR(e,t){const n=t.tagID;switch(n){case E.TD:case E.TH:{e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=F.IN_ROW);break}case E.TABLE:case E.TBODY:case E.TFOOT:case E.THEAD:case E.TR:{e.openElements.hasInTableScope(n)&&(e._closeTableCell(),by(e,t));break}case E.BODY:case E.CAPTION:case E.COL:case E.COLGROUP:case E.HTML:break;default:yd(e,t)}}function Ey(e,t){switch(t.tagID){case E.HTML:{er(e,t);break}case E.OPTION:{e.openElements.currentTagId===E.OPTION&&e.openElements.pop(),e._insertElement(t,Ae.HTML);break}case E.OPTGROUP:{e.openElements.currentTagId===E.OPTION&&e.openElements.pop(),e.openElements.currentTagId===E.OPTGROUP&&e.openElements.pop(),e._insertElement(t,Ae.HTML);break}case E.HR:{e.openElements.currentTagId===E.OPTION&&e.openElements.pop(),e.openElements.currentTagId===E.OPTGROUP&&e.openElements.pop(),e._appendElement(t,Ae.HTML),t.ackSelfClosing=!0;break}case E.INPUT:case E.KEYGEN:case E.TEXTAREA:case E.SELECT:{e.openElements.hasInSelectScope(E.SELECT)&&(e.openElements.popUntilTagNamePopped(E.SELECT),e._resetInsertionMode(),t.tagID!==E.SELECT&&e._processStartTag(t));break}case E.SCRIPT:case E.TEMPLATE:{Ea(e,t);break}}}function yy(e,t){switch(t.tagID){case E.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===E.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===E.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===E.OPTGROUP&&e.openElements.pop();break}case E.OPTION:{e.openElements.currentTagId===E.OPTION&&e.openElements.pop();break}case E.SELECT:{e.openElements.hasInSelectScope(E.SELECT)&&(e.openElements.popUntilTagNamePopped(E.SELECT),e._resetInsertionMode());break}case E.TEMPLATE:{qs(e,t);break}}}function vR(e,t){const n=t.tagID;n===E.CAPTION||n===E.TABLE||n===E.TBODY||n===E.TFOOT||n===E.THEAD||n===E.TR||n===E.TD||n===E.TH?(e.openElements.popUntilTagNamePopped(E.SELECT),e._resetInsertionMode(),e._processStartTag(t)):Ey(e,t)}function TR(e,t){const n=t.tagID;n===E.CAPTION||n===E.TABLE||n===E.TBODY||n===E.TFOOT||n===E.THEAD||n===E.TR||n===E.TD||n===E.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(E.SELECT),e._resetInsertionMode(),e.onEndTag(t)):yy(e,t)}function _R(e,t){switch(t.tagID){case E.BASE:case E.BASEFONT:case E.BGSOUND:case E.LINK:case E.META:case E.NOFRAMES:case E.SCRIPT:case E.STYLE:case E.TEMPLATE:case E.TITLE:{Ea(e,t);break}case E.CAPTION:case E.COLGROUP:case E.TBODY:case E.TFOOT:case E.THEAD:{e.tmplInsertionModeStack[0]=F.IN_TABLE,e.insertionMode=F.IN_TABLE,Ul(e,t);break}case E.COL:{e.tmplInsertionModeStack[0]=F.IN_COLUMN_GROUP,e.insertionMode=F.IN_COLUMN_GROUP,gp(e,t);break}case E.TR:{e.tmplInsertionModeStack[0]=F.IN_TABLE_BODY,e.insertionMode=F.IN_TABLE_BODY,vd(e,t);break}case E.TD:case E.TH:{e.tmplInsertionModeStack[0]=F.IN_ROW,e.insertionMode=F.IN_ROW,Td(e,t);break}default:e.tmplInsertionModeStack[0]=F.IN_BODY,e.insertionMode=F.IN_BODY,er(e,t)}}function SR(e,t){t.tagID===E.TEMPLATE&&qs(e,t)}function vy(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(E.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):pp(e,t)}function xR(e,t){t.tagID===E.HTML?er(e,t):Q0(e,t)}function Ty(e,t){var n;if(t.tagID===E.HTML){if(e.fragmentContext||(e.insertionMode=F.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===E.HTML){e._setEndLocation(e.openElements.items[0],t);const a=e.openElements.items[1];a&&!(!((n=e.treeAdapter.getNodeSourceCodeLocation(a))===null||n===void 0)&&n.endTag)&&e._setEndLocation(a,t)}}else Q0(e,t)}function Q0(e,t){e.insertionMode=F.IN_BODY,Ed(e,t)}function AR(e,t){switch(t.tagID){case E.HTML:{er(e,t);break}case E.FRAMESET:{e._insertElement(t,Ae.HTML);break}case E.FRAME:{e._appendElement(t,Ae.HTML),t.ackSelfClosing=!0;break}case E.NOFRAMES:{Ea(e,t);break}}}function wR(e,t){t.tagID===E.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==E.FRAMESET&&(e.insertionMode=F.AFTER_FRAMESET))}function CR(e,t){switch(t.tagID){case E.HTML:{er(e,t);break}case E.NOFRAMES:{Ea(e,t);break}}}function kR(e,t){t.tagID===E.HTML&&(e.insertionMode=F.AFTER_AFTER_FRAMESET)}function NR(e,t){t.tagID===E.HTML?er(e,t):F0(e,t)}function F0(e,t){e.insertionMode=F.IN_BODY,Ed(e,t)}function OR(e,t){switch(t.tagID){case E.HTML:{er(e,t);break}case E.NOFRAMES:{Ea(e,t);break}}}function RR(e,t){t.chars=an,e._insertCharacters(t)}function MR(e,t){e._insertCharacters(t),e.framesetOk=!1}function _y(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==Ae.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function DR(e,t){if(KN(t))_y(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),a=e.treeAdapter.getNamespaceURI(n);a===Ae.MATHML?iy(t):a===Ae.SVG&&(XN(t),sy(t)),hp(t),t.selfClosing?e._appendElement(t,a):e._insertElement(t,a),t.ackSelfClosing=!0}}function IR(e,t){if(t.tagID===E.P||t.tagID===E.BR){_y(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){const a=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(a)===Ae.HTML){e._endTagOutsideForeignContent(t);break}const s=e.treeAdapter.getTagName(a);if(s.toLowerCase()===t.tagName){t.tagName=s,e.openElements.shortenToLength(n);break}}}ie.AREA,ie.BASE,ie.BASEFONT,ie.BGSOUND,ie.BR,ie.COL,ie.EMBED,ie.FRAME,ie.HR,ie.IMG,ie.INPUT,ie.KEYGEN,ie.LINK,ie.META,ie.PARAM,ie.SOURCE,ie.TRACK,ie.WBR;const LR=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,BR=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),z3={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function Sy(e,t){const n=VR(e),a=m5("type",{handlers:{root:PR,element:UR,text:zR,comment:Ay,doctype:FR,raw:qR},unknown:YR}),s={parser:n?new B3(z3):B3.getFragmentParser(void 0,z3),handle(d){a(d,s)},stitches:!1,options:t||{}};a(e,s),Ql(s,La());const l=n?s.parser.document:s.parser.getFragment(),o=Pk(l,{file:s.options.file});return s.stitches&&Uo(o,"comment",function(d,f,h){const p=d;if(p.value.stitch&&h&&f!==void 0){const g=h.children;return g[f]=p.value.stitch,f}}),o.type==="root"&&o.children.length===1&&o.children[0].type===e.type?o.children[0]:o}function xy(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function PR(e,t){xy(e.children,t)}function UR(e,t){jR(e,t),xy(e.children,t),GR(e,t)}function zR(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const n={type:xt.CHARACTER,chars:e.value,location:qo(e)};Ql(t,La(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function FR(e,t){const n={type:xt.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:qo(e)};Ql(t,La(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function HR(e,t){t.stitches=!0;const n=$R(e);if("children"in e&&"children"in n){const a=Sy({type:"root",children:e.children},t.options);n.children=a.children}Ay({type:"comment",value:{stitch:n}},t)}function Ay(e,t){const n=e.value,a={type:xt.COMMENT,data:n,location:qo(e)};Ql(t,La(e)),t.parser.currentToken=a,t.parser._processToken(t.parser.currentToken)}function qR(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,wy(t,La(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(LR,"<$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const n=t.parser.tokenizer._consume();t.parser.tokenizer._callState(n)}}function YR(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))HR(n,t);else{let a="";throw BR.has(n.type)&&(a=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+n.type+"` node"+a)}}function Ql(e,t){wy(e,t);const n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=Sn.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function wy(e,t){if(t&&t.offset!==void 0){const n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function jR(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===Sn.PLAINTEXT)return;Ql(t,La(e));const a=t.parser.openElements.current;let s="namespaceURI"in a?a.namespaceURI:Oa.html;s===Oa.html&&n==="svg"&&(s=Oa.svg);const l=Zk({...e,children:[]},{space:s===Oa.svg?"svg":"html"}),o={type:xt.START_TAG,tagName:n,tagID:Wl(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in l?l.attrs:[],location:qo(e)};t.parser.currentToken=o,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function GR(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&sN.includes(n)||t.parser.tokenizer.state===Sn.PLAINTEXT)return;Ql(t,hd(e));const a={type:xt.END_TAG,tagName:n,tagID:Wl(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:qo(e)};t.parser.currentToken=a,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===Sn.RCDATA||t.parser.tokenizer.state===Sn.RAWTEXT||t.parser.tokenizer.state===Sn.SCRIPT_DATA)&&(t.parser.tokenizer.state=Sn.DATA)}function VR(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function qo(e){const t=La(e)||{line:void 0,column:void 0,offset:void 0},n=hd(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function $R(e){return"children"in e?Pl({...e,children:[]}):Pl(e)}function KR(e){return function(t,n){return Sy(t,{...e,file:n})}}const F3=function(e,t,n){const a=Po(n);if(!e||!e.type||!e.children)throw new Error("Expected parent node");if(typeof t=="number"){if(t<0||t===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(t=e.children.indexOf(t),t<0)throw new Error("Expected child node or index");for(;++t<e.children.length;)if(a(e.children[t],t,e))return e.children[t]},Ys=function(e){if(e==null)return QR;if(typeof e=="string")return WR(e);if(typeof e=="object")return XR(e);if(typeof e=="function")return bp(e);throw new Error("Expected function, string, or array as `test`")};function XR(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Ys(e[n]);return bp(a);function a(...s){let l=-1;for(;++l<t.length;)if(t[l].apply(this,s))return!0;return!1}}function WR(e){return bp(t);function t(n){return n.tagName===e}}function bp(e){return t;function t(n,a,s){return!!(ZR(n)&&e.call(this,n,typeof a=="number"?a:void 0,s||void 0))}}function QR(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function ZR(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}const H3=/\n/g,q3=/[\t ]+/g,fm=Ys("br"),Y3=Ys(iM),JR=Ys("p"),j3=Ys("tr"),eM=Ys(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",aM,sM]),Cy=Ys(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","li","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function ky(e,t){const n=t||{},a="children"in e?e.children:[],s=Cy(e),l=Ry(e,{whitespace:n.whitespace||"normal"}),o=[];(e.type==="text"||e.type==="comment")&&o.push(...Oy(e,{breakBefore:!0,breakAfter:!0}));let d=-1;for(;++d<a.length;)o.push(...Ny(a[d],e,{whitespace:l,breakBefore:d?void 0:s,breakAfter:d<a.length-1?fm(a[d+1]):s}));const f=[];let h;for(d=-1;++d<o.length;){const p=o[d];typeof p=="number"?h!==void 0&&p>h&&(h=p):p&&(h!==void 0&&h>-1&&f.push(`
|
|
90
|
-
`.repeat(h)||" "),h=-1,f.push(p))}return f.join("")}function Ny(e,t,n){return e.type==="element"?tM(e,t,n):e.type==="text"?n.whitespace==="normal"?Oy(e,n):nM(e):[]}function tM(e,t,n){const a=Ry(e,n),s=e.children||[];let l=-1,o=[];if(eM(e))return o;let d,f;for(fm(e)||j3(e)&&F3(t,e,j3)?f=`
|
|
91
|
-
`:JR(e)?(d=2,f=2):Cy(e)&&(d=1,f=1);++l<s.length;)o=o.concat(Ny(s[l],e,{whitespace:a,breakBefore:l?void 0:d,breakAfter:l<s.length-1?fm(s[l+1]):f}));return Y3(e)&&F3(t,e,Y3)&&o.push(" "),d&&o.unshift(d),f&&o.push(f),o}function Oy(e,t){const n=String(e.value),a=[],s=[];let l=0;for(;l<=n.length;){H3.lastIndex=l;const f=H3.exec(n),h=f&&"index"in f?f.index:n.length;a.push(rM(n.slice(l,h).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),l===0?t.breakBefore:!0,h===n.length?t.breakAfter:!0)),l=h+1}let o=-1,d;for(;++o<a.length;)a[o].charCodeAt(a[o].length-1)===8203||o<a.length-1&&a[o+1].charCodeAt(0)===8203?(s.push(a[o]),d=void 0):a[o]?(typeof d=="number"&&s.push(d),s.push(a[o]),d=0):(o===0||o===a.length-1)&&s.push(0);return s}function nM(e){return[String(e.value)]}function rM(e,t,n){const a=[];let s=0,l;for(;s<e.length;){q3.lastIndex=s;const o=q3.exec(e);l=o?o.index:e.length,!s&&!l&&o&&!t&&a.push(""),s!==l&&a.push(e.slice(s,l)),s=o?l+o[0].length:l}return s!==l&&!n&&a.push(""),a.join(" ")}function Ry(e,t){if(e.type==="element"){const n=e.properties||{};switch(e.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return n.wrap?"pre-wrap":"pre";case"td":case"th":return n.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"}}return t.whitespace}function aM(e){return!!(e.properties||{}).hidden}function iM(e){return e.tagName==="td"||e.tagName==="th"}function sM(e){return e.tagName==="dialog"&&!(e.properties||{}).open}function lM(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),a="decltype\\(auto\\)",s="[a-zA-Z_]\\w*::",o="(?!struct)("+a+"|"+t.optional(s)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",d={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},h={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},p={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},g={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(h,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},v={className:"title",begin:t.optional(s)+e.IDENT_RE,relevance:0},y=t.optional(s)+e.IDENT_RE+"\\s*\\(",S=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],w=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],N=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","flat_map","flat_set","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],k=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],X={type:w,keyword:S,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:N},G={className:"function.dispatch",relevance:0,keywords:{_hint:k},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},P=[G,g,d,n,e.C_BLOCK_COMMENT_MODE,p,h],Z={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:X,contains:P.concat([{begin:/\(/,end:/\)/,keywords:X,contains:P.concat(["self"]),relevance:0}]),relevance:0},ne={className:"function",begin:"("+o+"[\\*&\\s]+)+"+y,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:X,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:a,keywords:X,relevance:0},{begin:y,returnBegin:!0,contains:[v],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[h,p]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:X,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,h,p,d,{begin:/\(/,end:/\)/,keywords:X,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,h,p,d]}]},d,n,e.C_BLOCK_COMMENT_MODE,g]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:X,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(Z,ne,G,P,[g,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)",end:">",keywords:X,contains:["self",d]},{begin:e.IDENT_RE+"::",keywords:X},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function uM(e){const t={type:["boolean","byte","word","String"],built_in:["KeyboardController","MouseController","SoftwareSerial","EthernetServer","EthernetClient","LiquidCrystal","RobotControl","GSMVoiceCall","EthernetUDP","EsploraTFT","HttpClient","RobotMotor","WiFiClient","GSMScanner","FileSystem","Scheduler","GSMServer","YunClient","YunServer","IPAddress","GSMClient","GSMModem","Keyboard","Ethernet","Console","GSMBand","Esplora","Stepper","Process","WiFiUDP","GSM_SMS","Mailbox","USBHost","Firmata","PImage","Client","Server","GSMPIN","FileIO","Bridge","Serial","EEPROM","Stream","Mouse","Audio","Servo","File","Task","GPRS","WiFi","Wire","TFT","GSM","SPI","SD"],_hints:["setup","loop","runShellCommandAsynchronously","analogWriteResolution","retrieveCallingNumber","printFirmwareVersion","analogReadResolution","sendDigitalPortPair","noListenOnLocalhost","readJoystickButton","setFirmwareVersion","readJoystickSwitch","scrollDisplayRight","getVoiceCallStatus","scrollDisplayLeft","writeMicroseconds","delayMicroseconds","beginTransmission","getSignalStrength","runAsynchronously","getAsynchronously","listenOnLocalhost","getCurrentCarrier","readAccelerometer","messageAvailable","sendDigitalPorts","lineFollowConfig","countryNameWrite","runShellCommand","readStringUntil","rewindDirectory","readTemperature","setClockDivider","readLightSensor","endTransmission","analogReference","detachInterrupt","countryNameRead","attachInterrupt","encryptionType","readBytesUntil","robotNameWrite","readMicrophone","robotNameRead","cityNameWrite","userNameWrite","readJoystickY","readJoystickX","mouseReleased","openNextFile","scanNetworks","noInterrupts","digitalWrite","beginSpeaker","mousePressed","isActionDone","mouseDragged","displayLogos","noAutoscroll","addParameter","remoteNumber","getModifiers","keyboardRead","userNameRead","waitContinue","processInput","parseCommand","printVersion","readNetworks","writeMessage","blinkVersion","cityNameRead","readMessage","setDataMode","parsePacket","isListening","setBitOrder","beginPacket","isDirectory","motorsWrite","drawCompass","digitalRead","clearScreen","serialEvent","rightToLeft","setTextSize","leftToRight","requestFrom","keyReleased","compassRead","analogWrite","interrupts","WiFiServer","disconnect","playMelody","parseFloat","autoscroll","getPINUsed","setPINUsed","setTimeout","sendAnalog","readSlider","analogRead","beginWrite","createChar","motorsStop","keyPressed","tempoWrite","readButton","subnetMask","debugPrint","macAddress","writeGreen","randomSeed","attachGPRS","readString","sendString","remotePort","releaseAll","mouseMoved","background","getXChange","getYChange","answerCall","getResult","voiceCall","endPacket","constrain","getSocket","writeJSON","getButton","available","connected","findUntil","readBytes","exitValue","readGreen","writeBlue","startLoop","IPAddress","isPressed","sendSysex","pauseMode","gatewayIP","setCursor","getOemKey","tuneWrite","noDisplay","loadImage","switchPIN","onRequest","onReceive","changePIN","playFile","noBuffer","parseInt","overflow","checkPIN","knobRead","beginTFT","bitClear","updateIR","bitWrite","position","writeRGB","highByte","writeRed","setSpeed","readBlue","noStroke","remoteIP","transfer","shutdown","hangCall","beginSMS","endWrite","attached","maintain","noCursor","checkReg","checkPUK","shiftOut","isValid","shiftIn","pulseIn","connect","println","localIP","pinMode","getIMEI","display","noBlink","process","getBand","running","beginSD","drawBMP","lowByte","setBand","release","bitRead","prepare","pointTo","readRed","setMode","noFill","remove","listen","stroke","detach","attach","noTone","exists","buffer","height","bitSet","circle","config","cursor","random","IRread","setDNS","endSMS","getKey","micros","millis","begin","print","write","ready","flush","width","isPIN","blink","clear","press","mkdir","rmdir","close","point","yield","image","BSSID","click","delay","read","text","move","peek","beep","rect","line","open","seek","fill","size","turn","stop","home","find","step","tone","sqrt","RSSI","SSID","end","bit","tan","cos","sin","pow","map","abs","max","min","get","run","put"],literal:["DIGITAL_MESSAGE","FIRMATA_STRING","ANALOG_MESSAGE","REPORT_DIGITAL","REPORT_ANALOG","INPUT_PULLUP","SET_PIN_MODE","INTERNAL2V56","SYSTEM_RESET","LED_BUILTIN","INTERNAL1V1","SYSEX_START","INTERNAL","EXTERNAL","DEFAULT","OUTPUT","INPUT","HIGH","LOW"]},n=lM(e),a=n.keywords;return a.type=[...a.type,...t.type],a.literal=[...a.literal,...t.literal],a.built_in=[...a.built_in,...t.built_in],a._hints=t._hints,n.name="Arduino",n.aliases=["ino"],n.supersetOf="cpp",n}function oM(e){const t=e.regex,n={},a={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[n]}]};Object.assign(n,{className:"variable",variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},a]});const s={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},l=e.inherit(e.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:"comment"}}),o={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},d={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,n,s]};s.contains.push(d);const f={match:/\\"/},h={className:"string",begin:/'/,end:/'/},p={match:/\\'/},g={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,n]},v=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],y=e.SHEBANG({binary:`(${v.join("|")})`,relevance:10}),S={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},w=["if","then","else","elif","fi","time","for","while","until","in","do","done","case","esac","coproc","function","select"],N=["true","false"],k={match:/(\/[a-z._-]+)+/},M=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],I=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","sudo","type","typeset","ulimit","unalias"],X=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],G=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:w,literal:N,built_in:[...M,...I,"set","shopt",...X,...G]},contains:[y,e.SHEBANG(),S,g,l,o,k,d,f,h,p,n]}}function cM(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),a="decltype\\(auto\\)",s="[a-zA-Z_]\\w*::",o="("+a+"|"+t.optional(s)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",d={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},h={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},p={className:"number",variants:[{match:/\b(0b[01']+)/},{match:/(-?)\b([\d']+(\.[\d']*)?|\.[\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)/},{match:/(-?)\b(0[xX][a-fA-F0-9]+(?:'[a-fA-F0-9]+)*(?:\.[a-fA-F0-9]*(?:'[a-fA-F0-9]*)*)?(?:[pP][-+]?[0-9]+)?(l|L)?(u|U)?)/},{match:/(-?)\b\d+(?:'\d+)*(?:\.\d*(?:'\d*)*)?(?:[eE][-+]?\d+)?/}],relevance:0},g={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef elifdef elifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(h,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},v={className:"title",begin:t.optional(s)+e.IDENT_RE,relevance:0},y=t.optional(s)+e.IDENT_RE+"\\s*\\(",N={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","typeof","typeof_unqual","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_BitInt","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal96","_Decimal128","_Decimal64x","_Decimal128x","_Float16","_Float32","_Float64","_Float128","_Float32x","_Float64x","_Float128x","const","static","constexpr","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},k=[g,d,n,e.C_BLOCK_COMMENT_MODE,p,h],M={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:N,contains:k.concat([{begin:/\(/,end:/\)/,keywords:N,contains:k.concat(["self"]),relevance:0}]),relevance:0},I={begin:"("+o+"[\\*&\\s]+)+"+y,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:N,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:a,keywords:N,relevance:0},{begin:y,returnBegin:!0,contains:[e.inherit(v,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:N,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,h,p,d,{begin:/\(/,end:/\)/,keywords:N,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,h,p,d]}]},d,n,e.C_BLOCK_COMMENT_MODE,g]};return{name:"C",aliases:["h"],keywords:N,disableAutodetect:!0,illegal:"</",contains:[].concat(M,I,k,[g,{begin:e.IDENT_RE+"::",keywords:N},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:g,strings:h,keywords:N}}}function dM(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),a="decltype\\(auto\\)",s="[a-zA-Z_]\\w*::",o="(?!struct)("+a+"|"+t.optional(s)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",d={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},h={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},p={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},g={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(h,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},v={className:"title",begin:t.optional(s)+e.IDENT_RE,relevance:0},y=t.optional(s)+e.IDENT_RE+"\\s*\\(",S=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],w=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],N=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","flat_map","flat_set","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],k=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],X={type:w,keyword:S,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:N},G={className:"function.dispatch",relevance:0,keywords:{_hint:k},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},P=[G,g,d,n,e.C_BLOCK_COMMENT_MODE,p,h],Z={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:X,contains:P.concat([{begin:/\(/,end:/\)/,keywords:X,contains:P.concat(["self"]),relevance:0}]),relevance:0},ne={className:"function",begin:"("+o+"[\\*&\\s]+)+"+y,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:X,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:a,keywords:X,relevance:0},{begin:y,returnBegin:!0,contains:[v],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[h,p]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:X,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,h,p,d,{begin:/\(/,end:/\)/,keywords:X,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,h,p,d]}]},d,n,e.C_BLOCK_COMMENT_MODE,g]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:X,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(Z,ne,G,P,[g,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)",end:">",keywords:X,contains:["self",d]},{begin:e.IDENT_RE+"::",keywords:X},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function fM(e){const t=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],n=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],a=["default","false","null","true"],s=["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],l=["add","alias","and","ascending","args","async","await","by","descending","dynamic","equals","file","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","record","remove","required","scoped","select","set","unmanaged","value|0","var","when","where","with","yield"],o={keyword:s.concat(l),built_in:t,literal:a},d=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),f={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},h={className:"string",begin:/"""("*)(?!")(.|\n)*?"""\1/,relevance:1},p={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},g=e.inherit(p,{illegal:/\n/}),v={className:"subst",begin:/\{/,end:/\}/,keywords:o},y=e.inherit(v,{illegal:/\n/}),S={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,y]},w={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},v]},N=e.inherit(w,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},y]});v.contains=[w,S,p,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,f,e.C_BLOCK_COMMENT_MODE],y.contains=[N,S,g,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,f,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const k={variants:[h,w,S,p,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},M={begin:"<",end:">",contains:[{beginKeywords:"in out"},d]},I=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",X={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:o,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"<!--|-->"},{begin:"</?",end:">"}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},k,f,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},d,M,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[d,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[d,M,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+I+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:o,contains:[{beginKeywords:n.join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,M],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,relevance:0,contains:[k,f,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},X]}}const hM=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),mM=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],pM=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],gM=[...mM,...pM],bM=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),EM=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),yM=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),vM=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function TM(e){const t=e.regex,n=hM(e),a={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},s="and or not only",l=/@-?\w[\w]*(-\w+)*/,o="[a-zA-Z-][a-zA-Z0-9_-]*",d=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[n.BLOCK_COMMENT,a,n.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+o,relevance:0},n.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+EM.join("|")+")"},{begin:":(:)?("+yM.join("|")+")"}]},n.CSS_VARIABLE,{className:"attribute",begin:"\\b("+vM.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[n.BLOCK_COMMENT,n.HEXCOLOR,n.IMPORTANT,n.CSS_NUMBER_MODE,...d,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...d,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},n.FUNCTION_DISPATCH]},{begin:t.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:l},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:s,attribute:bM.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...d,n.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+gM.join("|")+")\\b"}]}}function _M(e){const t=e.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:t.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:t.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}function SM(e){const l={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:l,illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",variants:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{match:/-?\b0[xX]\.[a-fA-F0-9](_?[a-fA-F0-9])*[pP][+-]?\d(_?\d)*i?/,relevance:0},{match:/-?\b0[xX](_?[a-fA-F0-9])+((\.([a-fA-F0-9](_?[a-fA-F0-9])*)?)?[pP][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b0[oO](_?[0-7])*i?/,relevance:0},{match:/-?\.\d(_?\d)*([eE][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b\d(_?\d)*(\.(\d(_?\d)*)?)?([eE][+-]?\d(_?\d)*)?i?/,relevance:0}]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:l,illegal:/["']/}]}]}}function xM(e){const t=e.regex,n=/[_A-Za-z][_0-9A-Za-z]*/;return{name:"GraphQL",aliases:["gql"],case_insensitive:!0,disableAutodetect:!1,keywords:{keyword:["query","mutation","subscription","type","input","schema","directive","interface","union","scalar","fragment","enum","on"],literal:["true","false","null"]},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{scope:"punctuation",match:/[.]{3}/,relevance:0},{scope:"punctuation",begin:/[\!\(\)\:\=\[\]\{\|\}]{1}/,relevance:0},{scope:"variable",begin:/\$/,end:/\W/,excludeEnd:!0,relevance:0},{scope:"meta",match:/@\w+/,excludeEnd:!0},{scope:"symbol",begin:t.concat(n,t.lookahead(/\s*:/)),relevance:0}],illegal:[/[;<']/,/BEGIN/]}}function AM(e){const t=e.regex,n={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:e.NUMBER_RE}]},a=e.COMMENT();a.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const s={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},l={className:"literal",begin:/\bon|off|true|false|yes|no\b/},o={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},d={begin:/\[/,end:/\]/,contains:[a,l,s,o,n,"self"],relevance:0},f=/[A-Za-z0-9_-]+/,h=/"(\\"|[^"])*"/,p=/'[^']*'/,g=t.either(f,h,p),v=t.concat(g,"(\\s*\\.\\s*",g,")*",t.lookahead(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[a,{className:"section",begin:/\[+/,end:/\]+/},{begin:v,className:"attr",starts:{end:/$/,contains:[a,d,l,s,o,n]}}]}}var kl="[0-9](_*[0-9])*",h0=`\\.(${kl})`,m0="[0-9a-fA-F](_*[0-9a-fA-F])*",G3={className:"number",variants:[{begin:`(\\b(${kl})((${h0})|\\.)?|(${h0}))[eE][+-]?(${kl})[fFdD]?\\b`},{begin:`\\b(${kl})((${h0})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${h0})[fFdD]?\\b`},{begin:`\\b(${kl})[fFdD]\\b`},{begin:`\\b0[xX]((${m0})\\.?|(${m0})?\\.(${m0}))[pP][+-]?(${kl})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${m0})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function My(e,t,n){return n===-1?"":e.replace(t,a=>My(e,t,n-1))}function wM(e){const t=e.regex,n="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",a=n+My("(?:<"+n+"~~~(?:\\s*,\\s*"+n+"~~~)*>)?",/~~~/g,2),f={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits","goto","when"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},h={className:"meta",begin:"@"+n,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},p={className:"params",begin:/\(/,end:/\)/,keywords:f,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:f,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[e.BACKSLASH_ESCAPE]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,n],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[t.concat(/(?!else)/,n),/\s+/,n,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,n],className:{1:"keyword",3:"title.class"},contains:[p,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+a+"\\s+)",e.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:f,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:f,relevance:0,contains:[h,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,G3,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},G3,h]}}const V3="[A-Za-z$_][0-9A-Za-z$_]*",CM=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],kM=["true","false","null","undefined","NaN","Infinity"],Dy=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],Iy=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Ly=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],NM=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],OM=[].concat(Ly,Dy,Iy);function RM(e){const t=e.regex,n=(ye,{after:He})=>{const A="</"+ye[0].slice(1);return ye.input.indexOf(A,He)!==-1},a=V3,s={begin:"<>",end:"</>"},l=/<[A-Za-z0-9\\._:-]+\s*\/>/,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(ye,He)=>{const A=ye[0].length+ye.index,Q=ye.input[A];if(Q==="<"||Q===","){He.ignoreMatch();return}Q===">"&&(n(ye,{after:A})||He.ignoreMatch());let de;const D=ye.input.substring(A);if(de=D.match(/^\s*=/)){He.ignoreMatch();return}if((de=D.match(/^\s+extends\s+/))&&de.index===0){He.ignoreMatch();return}}},d={$pattern:V3,keyword:CM,literal:kM,built_in:OM,"variable.language":NM},f="[0-9](_?[0-9])*",h=`\\.(${f})`,p="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",g={className:"number",variants:[{begin:`(\\b(${p})((${h})|\\.)?|(${h}))[eE][+-]?(${f})\\b`},{begin:`\\b(${p})\\b((${h})\\b|\\.)?|(${h})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},v={className:"subst",begin:"\\$\\{",end:"\\}",keywords:d,contains:[]},y={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,v],subLanguage:"xml"}},S={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,v],subLanguage:"css"}},w={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,v],subLanguage:"graphql"}},N={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,v]},M={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:a+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},I=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,y,S,w,N,{match:/\$\d+/},g];v.contains=I.concat({begin:/\{/,end:/\}/,keywords:d,contains:["self"].concat(I)});const X=[].concat(M,v.contains),G=X.concat([{begin:/(\s*)\(/,end:/\)/,keywords:d,contains:["self"].concat(X)}]),P={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:d,contains:G},Z={variants:[{match:[/class/,/\s+/,a,/\s+/,/extends/,/\s+/,t.concat(a,"(",t.concat(/\./,a),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,a],scope:{1:"keyword",3:"title.class"}}]},ne={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...Dy,...Iy]}},te={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},Y={variants:[{match:[/function/,/\s+/,a,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[P],illegal:/%/},ee={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function re(ye){return t.concat("(?!",ye.join("|"),")")}const ge={match:t.concat(/\b/,re([...Ly,"super","import"].map(ye=>`${ye}\\s*\\(`)),a,t.lookahead(/\s*\(/)),className:"title.function",relevance:0},oe={begin:t.concat(/\./,t.lookahead(t.concat(a,/(?![0-9A-Za-z$_(])/))),end:a,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},pe={match:[/get|set/,/\s+/,a,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},P]},W="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",he={match:[/const|var|let/,/\s+/,a,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(W)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[P]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:d,exports:{PARAMS_CONTAINS:G,CLASS_REFERENCE:ne},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),te,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,y,S,w,N,M,{match:/\$\d+/},g,ne,{scope:"attr",match:a+t.lookahead(":"),relevance:0},he,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[M,e.REGEXP_MODE,{className:"function",begin:W,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:d,contains:G}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:s.begin,end:s.end},{match:l},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:"xml",contains:[{begin:o.begin,end:o.end,skip:!0,contains:["self"]}]}]},Y,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[P,e.inherit(e.TITLE_MODE,{begin:a,className:"title.function"})]},{match:/\.\.\./,relevance:0},oe,{match:"\\$"+a,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[P]},ge,ee,Z,pe,{match:/\$[(.]/}]}}function MM(e){const t={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},n={match:/[{}[\],:]/,className:"punctuation",relevance:0},a=["true","false","null"],s={scope:"literal",beginKeywords:a.join(" ")};return{name:"JSON",aliases:["jsonc"],keywords:{literal:a},contains:[t,n,e.QUOTE_STRING_MODE,s,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}var Nl="[0-9](_*[0-9])*",p0=`\\.(${Nl})`,g0="[0-9a-fA-F](_*[0-9a-fA-F])*",DM={className:"number",variants:[{begin:`(\\b(${Nl})((${p0})|\\.)?|(${p0}))[eE][+-]?(${Nl})[fFdD]?\\b`},{begin:`\\b(${Nl})((${p0})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${p0})[fFdD]?\\b`},{begin:`\\b(${Nl})[fFdD]\\b`},{begin:`\\b0[xX]((${g0})\\.?|(${g0})?\\.(${g0}))[pP][+-]?(${Nl})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${g0})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function IM(e){const t={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},n={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},a={className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"@"},s={className:"subst",begin:/\$\{/,end:/\}/,contains:[e.C_NUMBER_MODE]},l={className:"variable",begin:"\\$"+e.UNDERSCORE_IDENT_RE},o={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[l,s]},{begin:"'",end:"'",illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,l,s]}]};s.contains.push(o);const d={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+e.UNDERSCORE_IDENT_RE+")?"},f={className:"meta",begin:"@"+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[e.inherit(o,{className:"string"}),"self"]}]},h=DM,p=e.COMMENT("/\\*","\\*/",{contains:[e.C_BLOCK_COMMENT_MODE]}),g={variants:[{className:"type",begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},v=g;return v.variants[1].contains=[g],g.variants[1].contains=[v],{name:"Kotlin",aliases:["kt","kts"],keywords:t,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,p,n,a,d,f,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:t,relevance:5,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:t,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[g,e.C_LINE_COMMENT_MODE,p],relevance:0},e.C_LINE_COMMENT_MODE,p,d,f,o,e.C_NUMBER_MODE]},p]},{begin:[/class|interface|trait/,/\s+/,e.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},e.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},d,f]},o,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:`
|
|
92
|
-
`},h]}}const LM=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),BM=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],PM=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],UM=[...BM,...PM],zM=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),By=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),Py=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),FM=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse(),HM=By.concat(Py).sort().reverse();function qM(e){const t=LM(e),n=HM,a="and or not only",s="[\\w-]+",l="("+s+"|@\\{"+s+"\\})",o=[],d=[],f=function(I){return{className:"string",begin:"~?"+I+".*?"+I}},h=function(I,X,G){return{className:I,begin:X,relevance:G}},p={$pattern:/[a-z-]+/,keyword:a,attribute:zM.join(" ")},g={begin:"\\(",end:"\\)",contains:d,keywords:p,relevance:0};d.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,f("'"),f('"'),t.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},t.HEXCOLOR,g,h("variable","@@?"+s,10),h("variable","@\\{"+s+"\\}"),h("built_in","~?`[^`]*?`"),{className:"attribute",begin:s+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},t.IMPORTANT,{beginKeywords:"and not"},t.FUNCTION_DISPATCH);const v=d.concat({begin:/\{/,end:/\}/,contains:o}),y={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(d)},S={begin:l+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+FM.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:d}}]},w={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:p,returnEnd:!0,contains:d,relevance:0}},N={className:"variable",variants:[{begin:"@"+s+"\\s*:",relevance:15},{begin:"@"+s}],starts:{end:"[;}]",returnEnd:!0,contains:v}},k={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:l,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,y,h("keyword","all\\b"),h("variable","@\\{"+s+"\\}"),{begin:"\\b("+UM.join("|")+")\\b",className:"selector-tag"},t.CSS_NUMBER_MODE,h("selector-tag",l,0),h("selector-id","#"+l),h("selector-class","\\."+l,0),h("selector-tag","&",0),t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+By.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+Py.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:v},{begin:"!important"},t.FUNCTION_DISPATCH]},M={begin:s+`:(:)?(${n.join("|")})`,returnBegin:!0,contains:[k]};return o.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,w,N,M,S,k,y,t.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:o}}function YM(e){const t="\\[=*\\[",n="\\]=*\\]",a={begin:t,end:n,contains:["self"]},s=[e.COMMENT("--(?!"+t+")","$"),e.COMMENT("--"+t,n,{contains:[a],relevance:10})];return{name:"Lua",aliases:["pluto"],keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:s.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:s}].concat(s)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:t,end:n,contains:[a],relevance:5}])}}function jM(e){const t={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},n={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,t]},a={className:"variable",begin:/\$\([\w-]+\s/,end:/\)/,keywords:{built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"},contains:[t,n]},s={begin:"^"+e.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"},l={className:"meta",begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:".PHONY"}},o={className:"section",begin:/^[^\s]+:/,end:/$/,contains:[t]};return{name:"Makefile",aliases:["mk","mak","make"],keywords:{$pattern:/[\w-]+/,keyword:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath"},contains:[e.HASH_COMMENT_MODE,t,n,a,s,l,o]}}function GM(e){const t=e.regex,n={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},a={begin:"^[-\\*]{3,}",end:"$"},s={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},l={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},o={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},d=/[A-Za-z][A-Za-z0-9+.-]*/,f={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:t.concat(/\[.+?\]\(/,d,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},h={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},p={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},g=e.inherit(h,{contains:[]}),v=e.inherit(p,{contains:[]});h.contains.push(v),p.contains.push(g);let y=[n,f];return[h,p,g,v].forEach(k=>{k.contains=k.contains.concat(y)}),y=y.concat(h,p),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:y},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:y}]}]},n,l,h,p,{className:"quote",begin:"^>\\s+",contains:y,end:"$"},s,a,f,o,{scope:"literal",match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}}function VM(e){const t={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},n=/[a-zA-Z@][a-zA-Z0-9_]*/,d={"variable.language":["this","super"],$pattern:n,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},f={$pattern:n,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:d,illegal:"</",contains:[t,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]}]},{className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),{className:"string",begin:/<.*?>/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+f.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:f,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}function $M(e){const t=e.regex,n=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","class","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","field","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","method","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],a=/[dualxmsipngr]{0,12}/,s={$pattern:/[\w.]+/,keyword:n.join(" ")},l={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:s},o={begin:/->\{/,end:/\}/},d={scope:"attr",match:/\s+:\s*\w+(\s*\(.*?\))?/},f={scope:"variable",variants:[{begin:/\$\d/},{begin:t.concat(/[$%@](?!")(\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@](?!")[^\s\w{=]|\$=/,relevance:0}],contains:[d]},h={className:"number",variants:[{match:/0?\.[0-9][0-9_]+\b/},{match:/\bv?(0|[1-9][0-9_]*(\.[0-9_]+)?|[1-9][0-9_]*)\b/},{match:/\b0[0-7][0-7_]*\b/},{match:/\b0x[0-9a-fA-F][0-9a-fA-F_]*\b/},{match:/\b0b[0-1][0-1_]*\b/}],relevance:0},p=[e.BACKSLASH_ESCAPE,l,f],g=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],v=(w,N,k="\\1")=>{const M=k==="\\1"?k:t.concat(k,N);return t.concat(t.concat("(?:",w,")"),N,/(?:\\.|[^\\\/])*?/,M,/(?:\\.|[^\\\/])*?/,k,a)},y=(w,N,k)=>t.concat(t.concat("(?:",w,")"),N,/(?:\\.|[^\\\/])*?/,k,a),S=[f,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),o,{className:"string",contains:p,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},h,{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:v("s|tr|y",t.either(...g,{capture:!0}))},{begin:v("s|tr|y","\\(","\\)")},{begin:v("s|tr|y","\\[","\\]")},{begin:v("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:y("(?:m|qr)?",/\//,/\//)},{begin:y("m|qr",t.either(...g,{capture:!0}),/\1/)},{begin:y("m|qr",/\(/,/\)/)},{begin:y("m|qr",/\[/,/\]/)},{begin:y("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub method",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,d]},{className:"class",beginKeywords:"class",end:"[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,d,h]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return l.contains=S,o.contains=S,{name:"Perl",aliases:["pl","pm"],keywords:s,contains:S}}function KM(e){const t=e.regex,n=/(?![A-Za-z0-9])(?![$])/,a=t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,n),s=t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,n),l=t.concat(/[A-Z]+/,n),o={scope:"variable",match:"\\$+"+a},d={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},f={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},h=e.inherit(e.APOS_STRING_MODE,{illegal:null}),p=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(f)}),g={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(f),"on:begin":(oe,pe)=>{pe.data._beginMatch=oe[1]||oe[2]},"on:end":(oe,pe)=>{pe.data._beginMatch!==oe[1]&&pe.ignoreMatch()}},v=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),y=`[
|
|
93
|
-
]`,S={scope:"string",variants:[p,h,g,v]},w={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},N=["false","null","true"],k=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],M=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],X={keyword:k,literal:(oe=>{const pe=[];return oe.forEach(W=>{pe.push(W),W.toLowerCase()===W?pe.push(W.toUpperCase()):pe.push(W.toLowerCase())}),pe})(N),built_in:M},G=oe=>oe.map(pe=>pe.replace(/\|\d+$/,"")),P={variants:[{match:[/new/,t.concat(y,"+"),t.concat("(?!",G(M).join("\\b|"),"\\b)"),s],scope:{1:"keyword",4:"title.class"}}]},Z=t.concat(a,"\\b(?!\\()"),ne={variants:[{match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),Z],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[s,t.concat(/::/,t.lookahead(/(?!class\b)/)),Z],scope:{1:"title.class",3:"variable.constant"}},{match:[s,t.concat("::",t.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[s,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},te={scope:"attr",match:t.concat(a,t.lookahead(":"),t.lookahead(/(?!::)/))},Y={relevance:0,begin:/\(/,end:/\)/,keywords:X,contains:[te,o,ne,e.C_BLOCK_COMMENT_MODE,S,w,P]},ee={relevance:0,match:[/\b/,t.concat("(?!fn\\b|function\\b|",G(k).join("\\b|"),"|",G(M).join("\\b|"),"\\b)"),a,t.concat(y,"*"),t.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[Y]};Y.contains.push(ee);const re=[te,ne,e.C_BLOCK_COMMENT_MODE,S,w,P],ge={begin:t.concat(/#\[\s*\\?/,t.either(s,l)),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:N,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:N,keyword:["new","array"]},contains:["self",...re]},...re,{scope:"meta",variants:[{match:s},{match:l}]}]};return{case_insensitive:!1,keywords:X,contains:[ge,e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},d,{scope:"variable.language",match:/\$this\b/},o,ee,ne,{match:[/const/,/\s/,a],scope:{1:"keyword",3:"variable.constant"}},P,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:X,contains:["self",ge,o,ne,e.C_BLOCK_COMMENT_MODE,S,w]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},S,w]}}function XM(e){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}function WM(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}function QM(e){const t=e.regex,n=new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*","u"),a=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],d={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:a,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},f={className:"meta",begin:/^(>>>|\.\.\.) /},h={className:"subst",begin:/\{/,end:/\}/,keywords:d,illegal:/#/},p={begin:/\{\{/,relevance:0},g={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,f],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,f],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,f,p,h]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,f,p,h]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,p,h]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,p,h]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},v="[0-9](_?[0-9])*",y=`(\\b(${v}))?\\.(${v})|\\b(${v})\\.`,S=`\\b|${a.join("|")}`,w={className:"number",relevance:0,variants:[{begin:`(\\b(${v})|(${y}))[eE][+-]?(${v})[jJ]?(?=${S})`},{begin:`(${y})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${S})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${S})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${S})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${S})`},{begin:`\\b(${v})[jJ](?=${S})`}]},N={className:"comment",begin:t.lookahead(/# type:/),end:/$/,keywords:d,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},k={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:d,contains:["self",f,w,g,e.HASH_COMMENT_MODE]}]};return h.contains=[g,w,f],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:d,illegal:/(<\/|\?)|=>/,contains:[f,w,{scope:"variable.language",match:/\bself\b/},{beginKeywords:"if",relevance:0},{match:/\bor\b/,scope:"keyword"},g,N,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[k]},{variants:[{match:[/\bclass/,/\s+/,n,/\s*/,/\(\s*/,n,/\s*\)/]},{match:[/\bclass/,/\s+/,n]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[w,k,g]}]}}function ZM(e){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}function JM(e){const t=e.regex,n=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,a=t.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),s=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,l=t.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:n,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:t.lookahead(t.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:n},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[s,a]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,a]},{scope:{1:"punctuation",2:"number"},match:[l,a]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,a]}]},{scope:{3:"operator"},match:[n,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:s},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:l},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}function eD(e){const t=e.regex,n="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",a=t.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),s=t.concat(a,/(::\w+)*/),o={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield",...["include","extend","prepend","public","private","protected","raise","throw"]],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},d={className:"doctag",begin:"@[A-Za-z]+"},f={begin:"#<",end:">"},h=[e.COMMENT("#","$",{contains:[d]}),e.COMMENT("^=begin","^=end",{contains:[d],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],p={className:"subst",begin:/#\{/,end:/\}/,keywords:o},g={className:"string",contains:[e.BACKSLASH_ESCAPE,p],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:t.concat(/<<[-~]?'?/,t.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,p]})]}]},v="[1-9](_?[0-9])*|0",y="[0-9](_?[0-9])*",S={className:"number",relevance:0,variants:[{begin:`\\b(${v})(\\.(${y}))?([eE][+-]?(${y})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},w={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:o}]},P=[g,{variants:[{match:[/class\s+/,s,/\s+<\s+/,s]},{match:[/\b(class|module)\s+/,s]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:o},{match:[/(include|extend)\s+/,s],scope:{2:"title.class"},keywords:o},{relevance:0,match:[s,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:a,scope:"title.class"},{match:[/def/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[w]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[g,{begin:n}],relevance:0},S,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|(?!=)/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:o},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,p],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(f,h),relevance:0}].concat(f,h);p.contains=P,w.contains=P;const Y=[{begin:/^\s*=>/,starts:{end:"$",contains:P}},{className:"meta.prompt",begin:"^("+"[>?]>"+"|"+"[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]"+"|"+"(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>"+")(?=[ ])",starts:{end:"$",keywords:o,contains:P}}];return h.unshift(f),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:o,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(Y).concat(h).concat(P)}}function tD(e){const t=e.regex,n=/(r#)?/,a=t.concat(n,e.UNDERSCORE_IDENT_RE),s=t.concat(n,e.IDENT_RE),l={className:"title.function.invoke",relevance:0,begin:t.concat(/\b/,/(?!let|for|while|if|else|match\b)/,s,t.lookahead(/\s*\(/))},o="([ui](8|16|32|64|128|size)|f(32|64))?",d=["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","union","unsafe","unsized","use","virtual","where","while","yield"],f=["true","false","Some","None","Ok","Err"],h=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","eprintln!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],p=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:e.IDENT_RE+"!?",type:p,keyword:d,literal:f,built_in:h},illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),e.inherit(e.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{className:"symbol",begin:/'[a-zA-Z_][a-zA-Z0-9_]*(?!')/},{scope:"string",variants:[{begin:/b?r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'/,end:/'/,contains:[{scope:"char.escape",match:/\\('|\w|x\w{2}|u\w{4}|U\w{8})/}]}]},{className:"number",variants:[{begin:"\\b0b([01_]+)"+o},{begin:"\\b0o([0-7_]+)"+o},{begin:"\\b0x([A-Fa-f0-9_]+)"+o},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+o}],relevance:0},{begin:[/fn/,/\s+/,a],className:{1:"keyword",3:"title.function"}},{className:"meta",begin:"#!?\\[",end:"\\]",contains:[{className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]}]},{begin:[/let/,/\s+/,/(?:mut\s+)?/,a],className:{1:"keyword",3:"keyword",4:"variable"}},{begin:[/for/,/\s+/,a,/\s+/,/in/],className:{1:"keyword",3:"variable",5:"keyword"}},{begin:[/type/,/\s+/,a],className:{1:"keyword",3:"title.class"}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,a],className:{1:"keyword",3:"title.class"}},{begin:e.IDENT_RE+"::",keywords:{keyword:"Self",built_in:h,type:p}},{className:"punctuation",begin:"->"},l]}}const nD=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),rD=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],aD=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],iD=[...rD,...aD],sD=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),lD=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),uD=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),oD=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function cD(e){const t=nD(e),n=uD,a=lD,s="@[a-z-]+",l="and or not only",d={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+iD.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+a.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+n.join("|")+")"},d,{begin:/\(/,end:/\)/,contains:[t.CSS_NUMBER_MODE]},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+oD.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[t.BLOCK_COMMENT,d,t.HEXCOLOR,t.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.IMPORTANT,t.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:s,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:l,attribute:sD.join(" ")},contains:[{begin:s,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},d,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.HEXCOLOR,t.CSS_NUMBER_MODE]},t.FUNCTION_DISPATCH]}}function dD(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}function fD(e){const t=e.regex,n=e.COMMENT("--","$"),a={scope:"string",variants:[{begin:/'/,end:/'/,contains:[{match:/''/}]}]},s={begin:/"/,end:/"/,contains:[{match:/""/}]},l=["true","false","unknown"],o=["double precision","large object","with timezone","without timezone"],d=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],f=["add","asc","collation","desc","final","first","last","view"],h=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],p=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],g=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],v=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],y=p,S=[...h,...f].filter(G=>!p.includes(G)),w={scope:"variable",match:/@[a-z0-9][a-z0-9_]*/},N={scope:"operator",match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},k={match:t.concat(/\b/,t.either(...y),/\s*\(/),relevance:0,keywords:{built_in:y}};function M(G){return t.concat(/\b/,t.either(...G.map(P=>P.replace(/\s+/,"\\s+"))),/\b/)}const I={scope:"keyword",match:M(v),relevance:0};function X(G,{exceptions:P,when:Z}={}){const ne=Z;return P=P||[],G.map(te=>te.match(/\|\d+$/)||P.includes(te)?te:ne(te)?`${te}|0`:te)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:X(S,{when:G=>G.length<3}),literal:l,type:d,built_in:g},contains:[{scope:"type",match:M(o)},I,k,w,a,s,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,N]}}function Uy(e){return e?typeof e=="string"?e:e.source:null}function oo(e){return Gt("(?=",e,")")}function Gt(...e){return e.map(n=>Uy(n)).join("")}function hD(e){const t=e[e.length-1];return typeof t=="object"&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function lr(...e){return"("+(hD(e).capture?"":"?:")+e.map(a=>Uy(a)).join("|")+")"}const Ep=e=>Gt(/\b/,e,/\w$/.test(e)?/\b/:/\B/),mD=["Protocol","Type"].map(Ep),$3=["init","self"].map(Ep),pD=["Any","Self"],d1=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","package","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],K3=["false","nil","true"],gD=["assignment","associativity","higherThan","left","lowerThan","none","right"],bD=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],X3=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],zy=lr(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),Fy=lr(zy,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),f1=Gt(zy,Fy,"*"),Hy=lr(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),Z0=lr(Hy,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),wa=Gt(Hy,Z0,"*"),b0=Gt(/[A-Z]/,Z0,"*"),ED=["attached","autoclosure",Gt(/convention\(/,lr("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",Gt(/objc\(/,wa,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],yD=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function vD(e){const t={match:/\s+/,relevance:0},n=e.COMMENT("/\\*","\\*/",{contains:["self"]}),a=[e.C_LINE_COMMENT_MODE,n],s={match:[/\./,lr(...mD,...$3)],className:{2:"keyword"}},l={match:Gt(/\./,lr(...d1)),relevance:0},o=d1.filter(We=>typeof We=="string").concat(["_|0"]),d=d1.filter(We=>typeof We!="string").concat(pD).map(Ep),f={variants:[{className:"keyword",match:lr(...d,...$3)}]},h={$pattern:lr(/\b\w+/,/#\w+/),keyword:o.concat(bD),literal:K3},p=[s,l,f],g={match:Gt(/\./,lr(...X3)),relevance:0},v={className:"built_in",match:Gt(/\b/,lr(...X3),/(?=\()/)},y=[g,v],S={match:/->/,relevance:0},w={className:"operator",relevance:0,variants:[{match:f1},{match:`\\.(\\.|${Fy})+`}]},N=[S,w],k="([0-9]_*)+",M="([0-9a-fA-F]_*)+",I={className:"number",relevance:0,variants:[{match:`\\b(${k})(\\.(${k}))?([eE][+-]?(${k}))?\\b`},{match:`\\b0x(${M})(\\.(${M}))?([pP][+-]?(${k}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},X=(We="")=>({className:"subst",variants:[{match:Gt(/\\/,We,/[0\\tnr"']/)},{match:Gt(/\\/,We,/u\{[0-9a-fA-F]{1,8}\}/)}]}),G=(We="")=>({className:"subst",match:Gt(/\\/,We,/[\t ]*(?:[\r\n]|\r\n)/)}),P=(We="")=>({className:"subst",label:"interpol",begin:Gt(/\\/,We,/\(/),end:/\)/}),Z=(We="")=>({begin:Gt(We,/"""/),end:Gt(/"""/,We),contains:[X(We),G(We),P(We)]}),ne=(We="")=>({begin:Gt(We,/"/),end:Gt(/"/,We),contains:[X(We),P(We)]}),te={className:"string",variants:[Z(),Z("#"),Z("##"),Z("###"),ne(),ne("#"),ne("##"),ne("###")]},Y=[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[e.BACKSLASH_ESCAPE]}],ee={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:Y},re=We=>{const Ot=Gt(We,/\//),un=Gt(/\//,We);return{begin:Ot,end:un,contains:[...Y,{scope:"comment",begin:`#(?!.*${un})`,end:/$/}]}},ge={scope:"regexp",variants:[re("###"),re("##"),re("#"),ee]},oe={match:Gt(/`/,wa,/`/)},pe={className:"variable",match:/\$\d+/},W={className:"variable",match:`\\$${Z0}+`},he=[oe,pe,W],ye={match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:yD,contains:[...N,I,te]}]}},He={scope:"keyword",match:Gt(/@/,lr(...ED),oo(lr(/\(/,/\s+/)))},A={scope:"meta",match:Gt(/@/,wa)},Q=[ye,He,A],de={match:oo(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:Gt(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,Z0,"+")},{className:"type",match:b0,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:Gt(/\s+&\s+/,oo(b0)),relevance:0}]},D={begin:/</,end:/>/,keywords:h,contains:[...a,...p,...Q,S,de]};de.contains.push(D);const De={match:Gt(wa,/\s*:/),keywords:"_|0",relevance:0},qe={begin:/\(/,end:/\)/,relevance:0,keywords:h,contains:["self",De,...a,ge,...p,...y,...N,I,te,...he,...Q,de]},Me={begin:/</,end:/>/,keywords:"repeat each",contains:[...a,de]},Tt={begin:lr(oo(Gt(wa,/\s*:/)),oo(Gt(wa,/\s+/,wa,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:wa}]},nt={begin:/\(/,end:/\)/,keywords:h,contains:[Tt,...a,...p,...N,I,te,...Q,de,qe],endsParent:!0,illegal:/["']/},st={match:[/(func|macro)/,/\s+/,lr(oe.match,wa,f1)],className:{1:"keyword",3:"title.function"},contains:[Me,nt,t],illegal:[/\[/,/%/]},Ye={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[Me,nt,t],illegal:/\[|%/},wt={match:[/operator/,/\s+/,f1],className:{1:"keyword",3:"title"}},rt={begin:[/precedencegroup/,/\s+/,b0],className:{1:"keyword",3:"title"},contains:[de],keywords:[...gD,...K3],end:/}/},$e={match:[/class\b/,/\s+/,/func\b/,/\s+/,/\b[A-Za-z_][A-Za-z0-9_]*\b/],scope:{1:"keyword",3:"keyword",5:"title.function"}},Ve={match:[/class\b/,/\s+/,/var\b/],scope:{1:"keyword",3:"keyword"}},ot={begin:[/(struct|protocol|class|extension|enum|actor)/,/\s+/,wa,/\s*/],beginScope:{1:"keyword",3:"title.class"},keywords:h,contains:[Me,...p,{begin:/:/,end:/\{/,keywords:h,contains:[{scope:"title.class.inherited",match:b0},...p],relevance:0}]};for(const We of te.variants){const Ot=We.contains.find(Dt=>Dt.label==="interpol");Ot.keywords=h;const un=[...p,...y,...N,I,te,...he];Ot.contains=[...un,{begin:/\(/,end:/\)/,contains:["self",...un]}]}return{name:"Swift",keywords:h,contains:[...a,st,Ye,$e,Ve,ot,wt,rt,{beginKeywords:"import",end:/$/,contains:[...a],relevance:0},ge,...p,...y,...N,I,te,...he,...Q,de,qe]}}const J0="[A-Za-z$_][0-9A-Za-z$_]*",qy=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],Yy=["true","false","null","undefined","NaN","Infinity"],jy=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],Gy=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Vy=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],$y=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],Ky=[].concat(Vy,jy,Gy);function TD(e){const t=e.regex,n=(ye,{after:He})=>{const A="</"+ye[0].slice(1);return ye.input.indexOf(A,He)!==-1},a=J0,s={begin:"<>",end:"</>"},l=/<[A-Za-z0-9\\._:-]+\s*\/>/,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(ye,He)=>{const A=ye[0].length+ye.index,Q=ye.input[A];if(Q==="<"||Q===","){He.ignoreMatch();return}Q===">"&&(n(ye,{after:A})||He.ignoreMatch());let de;const D=ye.input.substring(A);if(de=D.match(/^\s*=/)){He.ignoreMatch();return}if((de=D.match(/^\s+extends\s+/))&&de.index===0){He.ignoreMatch();return}}},d={$pattern:J0,keyword:qy,literal:Yy,built_in:Ky,"variable.language":$y},f="[0-9](_?[0-9])*",h=`\\.(${f})`,p="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",g={className:"number",variants:[{begin:`(\\b(${p})((${h})|\\.)?|(${h}))[eE][+-]?(${f})\\b`},{begin:`\\b(${p})\\b((${h})\\b|\\.)?|(${h})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},v={className:"subst",begin:"\\$\\{",end:"\\}",keywords:d,contains:[]},y={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,v],subLanguage:"xml"}},S={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,v],subLanguage:"css"}},w={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,v],subLanguage:"graphql"}},N={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,v]},M={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:a+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},I=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,y,S,w,N,{match:/\$\d+/},g];v.contains=I.concat({begin:/\{/,end:/\}/,keywords:d,contains:["self"].concat(I)});const X=[].concat(M,v.contains),G=X.concat([{begin:/(\s*)\(/,end:/\)/,keywords:d,contains:["self"].concat(X)}]),P={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:d,contains:G},Z={variants:[{match:[/class/,/\s+/,a,/\s+/,/extends/,/\s+/,t.concat(a,"(",t.concat(/\./,a),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,a],scope:{1:"keyword",3:"title.class"}}]},ne={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...jy,...Gy]}},te={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},Y={variants:[{match:[/function/,/\s+/,a,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[P],illegal:/%/},ee={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function re(ye){return t.concat("(?!",ye.join("|"),")")}const ge={match:t.concat(/\b/,re([...Vy,"super","import"].map(ye=>`${ye}\\s*\\(`)),a,t.lookahead(/\s*\(/)),className:"title.function",relevance:0},oe={begin:t.concat(/\./,t.lookahead(t.concat(a,/(?![0-9A-Za-z$_(])/))),end:a,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},pe={match:[/get|set/,/\s+/,a,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},P]},W="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",he={match:[/const|var|let/,/\s+/,a,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(W)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[P]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:d,exports:{PARAMS_CONTAINS:G,CLASS_REFERENCE:ne},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),te,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,y,S,w,N,M,{match:/\$\d+/},g,ne,{scope:"attr",match:a+t.lookahead(":"),relevance:0},he,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[M,e.REGEXP_MODE,{className:"function",begin:W,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:d,contains:G}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:s.begin,end:s.end},{match:l},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:"xml",contains:[{begin:o.begin,end:o.end,skip:!0,contains:["self"]}]}]},Y,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[P,e.inherit(e.TITLE_MODE,{begin:a,className:"title.function"})]},{match:/\.\.\./,relevance:0},oe,{match:"\\$"+a,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[P]},ge,ee,Z,pe,{match:/\$[(.]/}]}}function _D(e){const t=e.regex,n=TD(e),a=J0,s=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],l={begin:[/namespace/,/\s+/,e.IDENT_RE],beginScope:{1:"keyword",3:"title.class"}},o={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:s},contains:[n.exports.CLASS_REFERENCE]},d={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},f=["type","interface","public","private","protected","implements","declare","abstract","readonly","enum","override","satisfies"],h={$pattern:J0,keyword:qy.concat(f),literal:Yy,built_in:Ky.concat(s),"variable.language":$y},p={className:"meta",begin:"@"+a},g=(w,N,k)=>{const M=w.contains.findIndex(I=>I.label===N);if(M===-1)throw new Error("can not find mode to replace");w.contains.splice(M,1,k)};Object.assign(n.keywords,h),n.exports.PARAMS_CONTAINS.push(p);const v=n.contains.find(w=>w.scope==="attr"),y=Object.assign({},v,{match:t.concat(a,t.lookahead(/\s*\?:/))});n.exports.PARAMS_CONTAINS.push([n.exports.CLASS_REFERENCE,v,y]),n.contains=n.contains.concat([p,l,o,y]),g(n,"shebang",e.SHEBANG()),g(n,"use_strict",d);const S=n.contains.find(w=>w.label==="func.def");return S.relevance=0,Object.assign(n,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),n}function SD(e){const t=e.regex,n={className:"string",begin:/"(""|[^/n])"C\b/},a={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},s=/\d{1,2}\/\d{1,2}\/\d{4}/,l=/\d{4}-\d{1,2}-\d{1,2}/,o=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,d=/\d{1,2}(:\d{1,2}){1,2}/,f={className:"literal",variants:[{begin:t.concat(/# */,t.either(l,s),/ *#/)},{begin:t.concat(/# */,d,/ *#/)},{begin:t.concat(/# */,o,/ *#/)},{begin:t.concat(/# */,t.either(l,s),/ +/,t.either(o,d),/ *#/)}]},h={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},p={className:"label",begin:/^\w+:/},g=e.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),v=e.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[n,a,f,h,p,g,v,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[v]}]}}function xD(e){e.regex;const t=e.COMMENT(/\(;/,/;\)/);t.contains.push("self");const n=e.COMMENT(/;;/,/$/),a=["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"],s={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},l={className:"variable",begin:/\$[\w_]+/},o={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},d={className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/},f={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},h={className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/};return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:a},contains:[n,t,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},l,o,s,e.QUOTE_STRING_MODE,f,h,d]}}function AD(e){const t=e.regex,n=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),a=/[\p{L}0-9._:-]+/u,s={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},l={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},o=e.inherit(l,{begin:/\(/,end:/\)/}),d=e.inherit(e.APOS_STRING_MODE,{className:"string"}),f=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),h={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:a,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[s]},{begin:/'/,end:/'/,contains:[s]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[l,f,d,o,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[l,o,f,d]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},s,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[f]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[h],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[h],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:t.concat(/</,t.lookahead(t.concat(n,t.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:n,relevance:0,starts:h}]},{className:"tag",begin:t.concat(/<\//,t.lookahead(t.concat(n,/>/))),contains:[{className:"name",begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}function wD(e){const t="true false yes no null",n="[\\w#;/?:@&=+$,.~*'()[\\]]+",a={className:"attr",variants:[{begin:/[\w*@][\w*@ :()\./-]*:(?=[ \t]|$)/},{begin:/"[\w*@][\w*@ :()\./-]*":(?=[ \t]|$)/},{begin:/'[\w*@][\w*@ :()\./-]*':(?=[ \t]|$)/}]},s={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},l={className:"string",relevance:0,begin:/'/,end:/'/,contains:[{match:/''/,scope:"char.escape",relevance:0}]},o={className:"string",relevance:0,variants:[{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,s]},d=e.inherit(o,{variants:[{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),v={className:"number",begin:"\\b"+"[0-9]{4}(-[0-9][0-9]){0,2}"+"([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?"+"(\\.[0-9]*)?"+"([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?"+"\\b"},y={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},S={begin:/\{/,end:/\}/,contains:[y],illegal:"\\n",relevance:0},w={begin:"\\[",end:"\\]",contains:[y],illegal:"\\n",relevance:0},N=[a,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+n},{className:"type",begin:"!<"+n+">"},{className:"type",begin:"!"+n},{className:"type",begin:"!!"+n},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},v,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},S,w,l,o],k=[...N];return k.pop(),k.push(d),y.contains=k,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:N}}const CD={arduino:uM,bash:oM,c:cM,cpp:dM,csharp:fM,css:TM,diff:_M,go:SM,graphql:xM,ini:AM,java:wM,javascript:RM,json:MM,kotlin:IM,less:qM,lua:YM,makefile:jM,markdown:GM,objectivec:VM,perl:$M,php:KM,"php-template":XM,plaintext:WM,python:QM,"python-repl":ZM,r:JM,ruby:eD,rust:tD,scss:cD,shell:dD,sql:fD,swift:vD,typescript:_D,vbnet:SD,wasm:xD,xml:AD,yaml:wD};var h1,W3;function kD(){if(W3)return h1;W3=1;function e(j){return j instanceof Map?j.clear=j.delete=j.set=function(){throw new Error("map is read-only")}:j instanceof Set&&(j.add=j.clear=j.delete=function(){throw new Error("set is read-only")}),Object.freeze(j),Object.getOwnPropertyNames(j).forEach(ve=>{const Be=j[ve],ct=typeof Be;(ct==="object"||ct==="function")&&!Object.isFrozen(Be)&&e(Be)}),j}class t{constructor(ve){ve.data===void 0&&(ve.data={}),this.data=ve.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function n(j){return j.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function a(j,...ve){const Be=Object.create(null);for(const ct in j)Be[ct]=j[ct];return ve.forEach(function(ct){for(const tn in ct)Be[tn]=ct[tn]}),Be}const s="</span>",l=j=>!!j.scope,o=(j,{prefix:ve})=>{if(j.startsWith("language:"))return j.replace("language:","language-");if(j.includes(".")){const Be=j.split(".");return[`${ve}${Be.shift()}`,...Be.map((ct,tn)=>`${ct}${"_".repeat(tn+1)}`)].join(" ")}return`${ve}${j}`};class d{constructor(ve,Be){this.buffer="",this.classPrefix=Be.classPrefix,ve.walk(this)}addText(ve){this.buffer+=n(ve)}openNode(ve){if(!l(ve))return;const Be=o(ve.scope,{prefix:this.classPrefix});this.span(Be)}closeNode(ve){l(ve)&&(this.buffer+=s)}value(){return this.buffer}span(ve){this.buffer+=`<span class="${ve}">`}}const f=(j={})=>{const ve={children:[]};return Object.assign(ve,j),ve};class h{constructor(){this.rootNode=f(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(ve){this.top.children.push(ve)}openNode(ve){const Be=f({scope:ve});this.add(Be),this.stack.push(Be)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(ve){return this.constructor._walk(ve,this.rootNode)}static _walk(ve,Be){return typeof Be=="string"?ve.addText(Be):Be.children&&(ve.openNode(Be),Be.children.forEach(ct=>this._walk(ve,ct)),ve.closeNode(Be)),ve}static _collapse(ve){typeof ve!="string"&&ve.children&&(ve.children.every(Be=>typeof Be=="string")?ve.children=[ve.children.join("")]:ve.children.forEach(Be=>{h._collapse(Be)}))}}class p extends h{constructor(ve){super(),this.options=ve}addText(ve){ve!==""&&this.add(ve)}startScope(ve){this.openNode(ve)}endScope(){this.closeNode()}__addSublanguage(ve,Be){const ct=ve.root;Be&&(ct.scope=`language:${Be}`),this.add(ct)}toHTML(){return new d(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function g(j){return j?typeof j=="string"?j:j.source:null}function v(j){return w("(?=",j,")")}function y(j){return w("(?:",j,")*")}function S(j){return w("(?:",j,")?")}function w(...j){return j.map(Be=>g(Be)).join("")}function N(j){const ve=j[j.length-1];return typeof ve=="object"&&ve.constructor===Object?(j.splice(j.length-1,1),ve):{}}function k(...j){return"("+(N(j).capture?"":"?:")+j.map(ct=>g(ct)).join("|")+")"}function M(j){return new RegExp(j.toString()+"|").exec("").length-1}function I(j,ve){const Be=j&&j.exec(ve);return Be&&Be.index===0}const X=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function G(j,{joinWith:ve}){let Be=0;return j.map(ct=>{Be+=1;const tn=Be;let on=g(ct),ze="";for(;on.length>0;){const Le=X.exec(on);if(!Le){ze+=on;break}ze+=on.substring(0,Le.index),on=on.substring(Le.index+Le[0].length),Le[0][0]==="\\"&&Le[1]?ze+="\\"+String(Number(Le[1])+tn):(ze+=Le[0],Le[0]==="("&&Be++)}return ze}).map(ct=>`(${ct})`).join(ve)}const P=/\b\B/,Z="[a-zA-Z]\\w*",ne="[a-zA-Z_]\\w*",te="\\b\\d+(\\.\\d+)?",Y="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",ee="\\b(0b[01]+)",re="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",ge=(j={})=>{const ve=/^#![ ]*\//;return j.binary&&(j.begin=w(ve,/.*\b/,j.binary,/\b.*/)),a({scope:"meta",begin:ve,end:/$/,relevance:0,"on:begin":(Be,ct)=>{Be.index!==0&&ct.ignoreMatch()}},j)},oe={begin:"\\\\[\\s\\S]",relevance:0},pe={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[oe]},W={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[oe]},he={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},ye=function(j,ve,Be={}){const ct=a({scope:"comment",begin:j,end:ve,contains:[]},Be);ct.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const tn=k("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return ct.contains.push({begin:w(/[ ]+/,"(",tn,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),ct},He=ye("//","$"),A=ye("/\\*","\\*/"),Q=ye("#","$"),de={scope:"number",begin:te,relevance:0},D={scope:"number",begin:Y,relevance:0},De={scope:"number",begin:ee,relevance:0},qe={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[oe,{begin:/\[/,end:/\]/,relevance:0,contains:[oe]}]},Me={scope:"title",begin:Z,relevance:0},Tt={scope:"title",begin:ne,relevance:0},nt={begin:"\\.\\s*"+ne,relevance:0};var Ye=Object.freeze({__proto__:null,APOS_STRING_MODE:pe,BACKSLASH_ESCAPE:oe,BINARY_NUMBER_MODE:De,BINARY_NUMBER_RE:ee,COMMENT:ye,C_BLOCK_COMMENT_MODE:A,C_LINE_COMMENT_MODE:He,C_NUMBER_MODE:D,C_NUMBER_RE:Y,END_SAME_AS_BEGIN:function(j){return Object.assign(j,{"on:begin":(ve,Be)=>{Be.data._beginMatch=ve[1]},"on:end":(ve,Be)=>{Be.data._beginMatch!==ve[1]&&Be.ignoreMatch()}})},HASH_COMMENT_MODE:Q,IDENT_RE:Z,MATCH_NOTHING_RE:P,METHOD_GUARD:nt,NUMBER_MODE:de,NUMBER_RE:te,PHRASAL_WORDS_MODE:he,QUOTE_STRING_MODE:W,REGEXP_MODE:qe,RE_STARTERS_RE:re,SHEBANG:ge,TITLE_MODE:Me,UNDERSCORE_IDENT_RE:ne,UNDERSCORE_TITLE_MODE:Tt});function wt(j,ve){j.input[j.index-1]==="."&&ve.ignoreMatch()}function rt(j,ve){j.className!==void 0&&(j.scope=j.className,delete j.className)}function $e(j,ve){ve&&j.beginKeywords&&(j.begin="\\b("+j.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",j.__beforeBegin=wt,j.keywords=j.keywords||j.beginKeywords,delete j.beginKeywords,j.relevance===void 0&&(j.relevance=0))}function Ve(j,ve){Array.isArray(j.illegal)&&(j.illegal=k(...j.illegal))}function ot(j,ve){if(j.match){if(j.begin||j.end)throw new Error("begin & end are not supported with match");j.begin=j.match,delete j.match}}function We(j,ve){j.relevance===void 0&&(j.relevance=1)}const Ot=(j,ve)=>{if(!j.beforeMatch)return;if(j.starts)throw new Error("beforeMatch cannot be used with starts");const Be=Object.assign({},j);Object.keys(j).forEach(ct=>{delete j[ct]}),j.keywords=Be.keywords,j.begin=w(Be.beforeMatch,v(Be.begin)),j.starts={relevance:0,contains:[Object.assign(Be,{endsParent:!0})]},j.relevance=0,delete Be.beforeMatch},un=["of","and","for","in","not","or","if","then","parent","list","value"],Dt="keyword";function en(j,ve,Be=Dt){const ct=Object.create(null);return typeof j=="string"?tn(Be,j.split(" ")):Array.isArray(j)?tn(Be,j):Object.keys(j).forEach(function(on){Object.assign(ct,en(j[on],ve,on))}),ct;function tn(on,ze){ve&&(ze=ze.map(Le=>Le.toLowerCase())),ze.forEach(function(Le){const Ke=Le.split("|");ct[Ke[0]]=[on,Un(Ke[0],Ke[1])]})}}function Un(j,ve){return ve?Number(ve):yi(j)?0:1}function yi(j){return un.includes(j.toLowerCase())}const ya={},hr=j=>{console.error(j)},Dn=(j,...ve)=>{console.log(`WARN: ${j}`,...ve)},fe=(j,ve)=>{ya[`${j}/${ve}`]||(console.log(`Deprecated as of ${j}. ${ve}`),ya[`${j}/${ve}`]=!0)},xe=new Error;function Qe(j,ve,{key:Be}){let ct=0;const tn=j[Be],on={},ze={};for(let Le=1;Le<=ve.length;Le++)ze[Le+ct]=tn[Le],on[Le+ct]=!0,ct+=M(ve[Le-1]);j[Be]=ze,j[Be]._emit=on,j[Be]._multi=!0}function et(j){if(Array.isArray(j.begin)){if(j.skip||j.excludeBegin||j.returnBegin)throw hr("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),xe;if(typeof j.beginScope!="object"||j.beginScope===null)throw hr("beginScope must be object"),xe;Qe(j,j.begin,{key:"beginScope"}),j.begin=G(j.begin,{joinWith:""})}}function Bt(j){if(Array.isArray(j.end)){if(j.skip||j.excludeEnd||j.returnEnd)throw hr("skip, excludeEnd, returnEnd not compatible with endScope: {}"),xe;if(typeof j.endScope!="object"||j.endScope===null)throw hr("endScope must be object"),xe;Qe(j,j.end,{key:"endScope"}),j.end=G(j.end,{joinWith:""})}}function tr(j){j.scope&&typeof j.scope=="object"&&j.scope!==null&&(j.beginScope=j.scope,delete j.scope)}function la(j){tr(j),typeof j.beginScope=="string"&&(j.beginScope={_wrap:j.beginScope}),typeof j.endScope=="string"&&(j.endScope={_wrap:j.endScope}),et(j),Bt(j)}function Kn(j){function ve(ze,Le){return new RegExp(g(ze),"m"+(j.case_insensitive?"i":"")+(j.unicodeRegex?"u":"")+(Le?"g":""))}class Be{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(Le,Ke){Ke.position=this.position++,this.matchIndexes[this.matchAt]=Ke,this.regexes.push([Ke,Le]),this.matchAt+=M(Le)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const Le=this.regexes.map(Ke=>Ke[1]);this.matcherRe=ve(G(Le,{joinWith:"|"}),!0),this.lastIndex=0}exec(Le){this.matcherRe.lastIndex=this.lastIndex;const Ke=this.matcherRe.exec(Le);if(!Ke)return null;const Jt=Ke.findIndex((cs,au)=>au>0&&cs!==void 0),nn=this.matchIndexes[Jt];return Ke.splice(0,Jt),Object.assign(Ke,nn)}}class ct{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(Le){if(this.multiRegexes[Le])return this.multiRegexes[Le];const Ke=new Be;return this.rules.slice(Le).forEach(([Jt,nn])=>Ke.addRule(Jt,nn)),Ke.compile(),this.multiRegexes[Le]=Ke,Ke}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(Le,Ke){this.rules.push([Le,Ke]),Ke.type==="begin"&&this.count++}exec(Le){const Ke=this.getMatcher(this.regexIndex);Ke.lastIndex=this.lastIndex;let Jt=Ke.exec(Le);if(this.resumingScanAtSamePosition()&&!(Jt&&Jt.index===this.lastIndex)){const nn=this.getMatcher(0);nn.lastIndex=this.lastIndex+1,Jt=nn.exec(Le)}return Jt&&(this.regexIndex+=Jt.position+1,this.regexIndex===this.count&&this.considerAll()),Jt}}function tn(ze){const Le=new ct;return ze.contains.forEach(Ke=>Le.addRule(Ke.begin,{rule:Ke,type:"begin"})),ze.terminatorEnd&&Le.addRule(ze.terminatorEnd,{type:"end"}),ze.illegal&&Le.addRule(ze.illegal,{type:"illegal"}),Le}function on(ze,Le){const Ke=ze;if(ze.isCompiled)return Ke;[rt,ot,la,Ot].forEach(nn=>nn(ze,Le)),j.compilerExtensions.forEach(nn=>nn(ze,Le)),ze.__beforeBegin=null,[$e,Ve,We].forEach(nn=>nn(ze,Le)),ze.isCompiled=!0;let Jt=null;return typeof ze.keywords=="object"&&ze.keywords.$pattern&&(ze.keywords=Object.assign({},ze.keywords),Jt=ze.keywords.$pattern,delete ze.keywords.$pattern),Jt=Jt||/\w+/,ze.keywords&&(ze.keywords=en(ze.keywords,j.case_insensitive)),Ke.keywordPatternRe=ve(Jt,!0),Le&&(ze.begin||(ze.begin=/\B|\b/),Ke.beginRe=ve(Ke.begin),!ze.end&&!ze.endsWithParent&&(ze.end=/\B|\b/),ze.end&&(Ke.endRe=ve(Ke.end)),Ke.terminatorEnd=g(Ke.end)||"",ze.endsWithParent&&Le.terminatorEnd&&(Ke.terminatorEnd+=(ze.end?"|":"")+Le.terminatorEnd)),ze.illegal&&(Ke.illegalRe=ve(ze.illegal)),ze.contains||(ze.contains=[]),ze.contains=[].concat(...ze.contains.map(function(nn){return nr(nn==="self"?ze:nn)})),ze.contains.forEach(function(nn){on(nn,Ke)}),ze.starts&&on(ze.starts,Le),Ke.matcher=tn(Ke),Ke}if(j.compilerExtensions||(j.compilerExtensions=[]),j.contains&&j.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return j.classNameAliases=a(j.classNameAliases||{}),on(j)}function wr(j){return j?j.endsWithParent||wr(j.starts):!1}function nr(j){return j.variants&&!j.cachedVariants&&(j.cachedVariants=j.variants.map(function(ve){return a(j,{variants:null},ve)})),j.cachedVariants?j.cachedVariants:wr(j)?a(j,{starts:j.starts?a(j.starts):null}):Object.isFrozen(j)?a(j):j}var An="11.11.1";class mr extends Error{constructor(ve,Be){super(ve),this.name="HTMLInjectionError",this.html=Be}}const rr=n,tu=a,nu=Symbol("nomatch"),ru=7,vi=function(j){const ve=Object.create(null),Be=Object.create(null),ct=[];let tn=!0;const on="Could not find the language '{}', did you forget to load/include a language module?",ze={disableAutodetect:!0,name:"Plain text",contains:[]};let Le={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:p};function Ke(Ne){return Le.noHighlightRe.test(Ne)}function Jt(Ne){let Ze=Ne.className+" ";Ze+=Ne.parentNode?Ne.parentNode.className:"";const pt=Le.languageDetectRe.exec(Ze);if(pt){const Ut=ar(pt[1]);return Ut||(Dn(on.replace("{}",pt[1])),Dn("Falling back to no-highlight mode for this block.",Ne)),Ut?pt[1]:"no-highlight"}return Ze.split(/\s+/).find(Ut=>Ke(Ut)||ar(Ut))}function nn(Ne,Ze,pt){let Ut="",dn="";typeof Ze=="object"?(Ut=Ne,pt=Ze.ignoreIllegals,dn=Ze.language):(fe("10.7.0","highlight(lang, code, ...args) has been deprecated."),fe("10.7.0",`Please use highlight(code, options) instead.
|
|
94
|
-
https://github.com/highlightjs/highlight.js/issues/2277`),dn=Ne,Ut=Ze),pt===void 0&&(pt=!0);const Cr={code:Ut,language:dn};qa("before:highlight",Cr);const oa=Cr.result?Cr.result:cs(Cr.language,Cr.code,pt);return oa.code=Cr.code,qa("after:highlight",oa),oa}function cs(Ne,Ze,pt,Ut){const dn=Object.create(null);function Cr(Pe,je){return Pe.keywords[je]}function oa(){if(!mt.keywords){wn.addText(zt);return}let Pe=0;mt.keywordPatternRe.lastIndex=0;let je=mt.keywordPatternRe.exec(zt),ht="";for(;je;){ht+=zt.substring(Pe,je.index);const It=kr.case_insensitive?je[0].toLowerCase():je[0],Cn=Cr(mt,It);if(Cn){const[Yr,bs]=Cn;if(wn.addText(ht),ht="",dn[It]=(dn[It]||0)+1,dn[It]<=ru&&($s+=bs),Yr.startsWith("_"))ht+=je[0];else{const ca=kr.classNameAliases[Yr]||Yr;qr(je[0],ca)}}else ht+=je[0];Pe=mt.keywordPatternRe.lastIndex,je=mt.keywordPatternRe.exec(zt)}ht+=zt.substring(Pe),wn.addText(ht)}function jn(){if(zt==="")return;let Pe=null;if(typeof mt.subLanguage=="string"){if(!ve[mt.subLanguage]){wn.addText(zt);return}Pe=cs(mt.subLanguage,zt,!0,uu[mt.subLanguage]),uu[mt.subLanguage]=Pe._top}else Pe=Gs(zt,mt.subLanguage.length?mt.subLanguage:null);mt.relevance>0&&($s+=Pe.relevance),wn.__addSublanguage(Pe._emitter,Pe.language)}function Xn(){mt.subLanguage!=null?jn():oa(),zt=""}function qr(Pe,je){Pe!==""&&(wn.startScope(je),wn.addText(Pe),wn.endScope())}function ms(Pe,je){let ht=1;const It=je.length-1;for(;ht<=It;){if(!Pe._emit[ht]){ht++;continue}const Cn=kr.classNameAliases[Pe[ht]]||Pe[ht],Yr=je[ht];Cn?qr(Yr,Cn):(zt=Yr,oa(),zt=""),ht++}}function su(Pe,je){return Pe.scope&&typeof Pe.scope=="string"&&wn.openNode(kr.classNameAliases[Pe.scope]||Pe.scope),Pe.beginScope&&(Pe.beginScope._wrap?(qr(zt,kr.classNameAliases[Pe.beginScope._wrap]||Pe.beginScope._wrap),zt=""):Pe.beginScope._multi&&(ms(Pe.beginScope,je),zt="")),mt=Object.create(Pe,{parent:{value:mt}}),mt}function ps(Pe,je,ht){let It=I(Pe.endRe,ht);if(It){if(Pe["on:end"]){const Cn=new t(Pe);Pe["on:end"](je,Cn),Cn.isMatchIgnored&&(It=!1)}if(It){for(;Pe.endsParent&&Pe.parent;)Pe=Pe.parent;return Pe}}if(Pe.endsWithParent)return ps(Pe.parent,je,ht)}function Ud(Pe){return mt.matcher.regexIndex===0?(zt+=Pe[0],1):(gs=!0,0)}function pr(Pe){const je=Pe[0],ht=Pe.rule,It=new t(ht),Cn=[ht.__beforeBegin,ht["on:begin"]];for(const Yr of Cn)if(Yr&&(Yr(Pe,It),It.isMatchIgnored))return Ud(je);return ht.skip?zt+=je:(ht.excludeBegin&&(zt+=je),Xn(),!ht.returnBegin&&!ht.excludeBegin&&(zt=je)),su(ht,Pe),ht.returnBegin?0:je.length}function lu(Pe){const je=Pe[0],ht=Ze.substring(Pe.index),It=ps(mt,Pe,ht);if(!It)return nu;const Cn=mt;mt.endScope&&mt.endScope._wrap?(Xn(),qr(je,mt.endScope._wrap)):mt.endScope&&mt.endScope._multi?(Xn(),ms(mt.endScope,Pe)):Cn.skip?zt+=je:(Cn.returnEnd||Cn.excludeEnd||(zt+=je),Xn(),Cn.excludeEnd&&(zt=je));do mt.scope&&wn.closeNode(),!mt.skip&&!mt.subLanguage&&($s+=mt.relevance),mt=mt.parent;while(mt!==It.parent);return It.starts&&su(It.starts,Pe),Cn.returnEnd?0:je.length}function ec(){const Pe=[];for(let je=mt;je!==kr;je=je.parent)je.scope&&Pe.unshift(je.scope);Pe.forEach(je=>wn.openNode(je))}let xi={};function Ya(Pe,je){const ht=je&&je[0];if(zt+=Pe,ht==null)return Xn(),0;if(xi.type==="begin"&&je.type==="end"&&xi.index===je.index&&ht===""){if(zt+=Ze.slice(je.index,je.index+1),!tn){const It=new Error(`0 width match regex (${Ne})`);throw It.languageName=Ne,It.badRule=xi.rule,It}return 1}if(xi=je,je.type==="begin")return pr(je);if(je.type==="illegal"&&!pt){const It=new Error('Illegal lexeme "'+ht+'" for mode "'+(mt.scope||"<unnamed>")+'"');throw It.mode=mt,It}else if(je.type==="end"){const It=lu(je);if(It!==nu)return It}if(je.type==="illegal"&&ht==="")return zt+=`
|
|
95
|
-
`,1;if(Ai>1e5&&Ai>je.index*3)throw new Error("potential infinite loop, way more iterations than matches");return zt+=ht,ht.length}const kr=ar(Ne);if(!kr)throw hr(on.replace("{}",Ne)),new Error('Unknown language: "'+Ne+'"');const tc=Kn(kr);let va="",mt=Ut||tc;const uu={},wn=new Le.__emitter(Le);ec();let zt="",$s=0,ja=0,Ai=0,gs=!1;try{if(kr.__emitTokens)kr.__emitTokens(Ze,wn);else{for(mt.matcher.considerAll();;){Ai++,gs?gs=!1:mt.matcher.considerAll(),mt.matcher.lastIndex=ja;const Pe=mt.matcher.exec(Ze);if(!Pe)break;const je=Ze.substring(ja,Pe.index),ht=Ya(je,Pe);ja=Pe.index+ht}Ya(Ze.substring(ja))}return wn.finalize(),va=wn.toHTML(),{language:Ne,value:va,relevance:$s,illegal:!1,_emitter:wn,_top:mt}}catch(Pe){if(Pe.message&&Pe.message.includes("Illegal"))return{language:Ne,value:rr(Ze),illegal:!0,relevance:0,_illegalBy:{message:Pe.message,index:ja,context:Ze.slice(ja-100,ja+100),mode:Pe.mode,resultSoFar:va},_emitter:wn};if(tn)return{language:Ne,value:rr(Ze),illegal:!1,relevance:0,errorRaised:Pe,_emitter:wn,_top:mt};throw Pe}}function au(Ne){const Ze={value:rr(Ne),illegal:!1,relevance:0,_top:ze,_emitter:new Le.__emitter(Le)};return Ze._emitter.addText(Ne),Ze}function Gs(Ne,Ze){Ze=Ze||Le.languages||Object.keys(ve);const pt=au(Ne),Ut=Ze.filter(ar).filter(iu).map(Xn=>cs(Xn,Ne,!1));Ut.unshift(pt);const dn=Ut.sort((Xn,qr)=>{if(Xn.relevance!==qr.relevance)return qr.relevance-Xn.relevance;if(Xn.language&&qr.language){if(ar(Xn.language).supersetOf===qr.language)return 1;if(ar(qr.language).supersetOf===Xn.language)return-1}return 0}),[Cr,oa]=dn,jn=Cr;return jn.secondBest=oa,jn}function ds(Ne,Ze,pt){const Ut=Ze&&Be[Ze]||pt;Ne.classList.add("hljs"),Ne.classList.add(`language-${Ut}`)}function fs(Ne){let Ze=null;const pt=Jt(Ne);if(Ke(pt))return;if(qa("before:highlightElement",{el:Ne,language:pt}),Ne.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",Ne);return}if(Ne.children.length>0&&(Le.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(Ne)),Le.throwUnescapedHTML))throw new mr("One of your code blocks includes unescaped HTML.",Ne.innerHTML);Ze=Ne;const Ut=Ze.textContent,dn=pt?nn(Ut,{language:pt,ignoreIllegals:!0}):Gs(Ut);Ne.innerHTML=dn.value,Ne.dataset.highlighted="yes",ds(Ne,pt,dn.language),Ne.result={language:dn.language,re:dn.relevance,relevance:dn.relevance},dn.secondBest&&(Ne.secondBest={language:dn.secondBest.language,relevance:dn.secondBest.relevance}),qa("after:highlightElement",{el:Ne,result:dn,text:Ut})}function _i(Ne){Le=tu(Le,Ne)}const Si=()=>{cn(),fe("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function hs(){cn(),fe("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let Fa=!1;function cn(){function Ne(){cn()}if(document.readyState==="loading"){Fa||window.addEventListener("DOMContentLoaded",Ne,!1),Fa=!0;return}document.querySelectorAll(Le.cssSelector).forEach(fs)}function Wo(Ne,Ze){let pt=null;try{pt=Ze(j)}catch(Ut){if(hr("Language definition for '{}' could not be registered.".replace("{}",Ne)),tn)hr(Ut);else throw Ut;pt=ze}pt.name||(pt.name=Ne),ve[Ne]=pt,pt.rawDefinition=Ze.bind(null,j),pt.aliases&&Zo(pt.aliases,{languageName:Ne})}function Qo(Ne){delete ve[Ne];for(const Ze of Object.keys(Be))Be[Ze]===Ne&&delete Be[Ze]}function Ha(){return Object.keys(ve)}function ar(Ne){return Ne=(Ne||"").toLowerCase(),ve[Ne]||ve[Be[Ne]]}function Zo(Ne,{languageName:Ze}){typeof Ne=="string"&&(Ne=[Ne]),Ne.forEach(pt=>{Be[pt.toLowerCase()]=Ze})}function iu(Ne){const Ze=ar(Ne);return Ze&&!Ze.disableAutodetect}function Jo(Ne){Ne["before:highlightBlock"]&&!Ne["before:highlightElement"]&&(Ne["before:highlightElement"]=Ze=>{Ne["before:highlightBlock"](Object.assign({block:Ze.el},Ze))}),Ne["after:highlightBlock"]&&!Ne["after:highlightElement"]&&(Ne["after:highlightElement"]=Ze=>{Ne["after:highlightBlock"](Object.assign({block:Ze.el},Ze))})}function Pd(Ne){Jo(Ne),ct.push(Ne)}function Vs(Ne){const Ze=ct.indexOf(Ne);Ze!==-1&&ct.splice(Ze,1)}function qa(Ne,Ze){const pt=Ne;ct.forEach(function(Ut){Ut[pt]&&Ut[pt](Ze)})}function ua(Ne){return fe("10.7.0","highlightBlock will be removed entirely in v12.0"),fe("10.7.0","Please use highlightElement now."),fs(Ne)}Object.assign(j,{highlight:nn,highlightAuto:Gs,highlightAll:cn,highlightElement:fs,highlightBlock:ua,configure:_i,initHighlighting:Si,initHighlightingOnLoad:hs,registerLanguage:Wo,unregisterLanguage:Qo,listLanguages:Ha,getLanguage:ar,registerAliases:Zo,autoDetection:iu,inherit:tu,addPlugin:Pd,removePlugin:Vs}),j.debugMode=function(){tn=!1},j.safeMode=function(){tn=!0},j.versionString=An,j.regex={concat:w,lookahead:v,either:k,optional:S,anyNumberOfTimes:y};for(const Ne in Ye)typeof Ye[Ne]=="object"&&e(Ye[Ne]);return Object.assign(j,Ye),j},Ti=vi({});return Ti.newInstance=()=>vi({}),h1=Ti,Ti.HighlightJS=Ti,Ti.default=Ti,h1}var ND=kD();const OD=ud(ND),Q3={},RD="hljs-";function MD(e){const t=OD.newInstance();return e&&l(e),{highlight:n,highlightAuto:a,listLanguages:s,register:l,registerAlias:o,registered:d};function n(f,h,p){const g=p||Q3,v=typeof g.prefix=="string"?g.prefix:RD;if(!t.getLanguage(f))throw new Error("Unknown language: `"+f+"` is not registered");t.configure({__emitter:DD,classPrefix:v});const y=t.highlight(h,{ignoreIllegals:!0,language:f});if(y.errorRaised)throw new Error("Could not highlight with `Highlight.js`",{cause:y.errorRaised});const S=y._emitter.root,w=S.data;return w.language=y.language,w.relevance=y.relevance,S}function a(f,h){const g=(h||Q3).subset||s();let v=-1,y=0,S;for(;++v<g.length;){const w=g[v];if(!t.getLanguage(w))continue;const N=n(w,f,h);N.data&&N.data.relevance!==void 0&&N.data.relevance>y&&(y=N.data.relevance,S=N)}return S||{type:"root",children:[],data:{language:void 0,relevance:y}}}function s(){return t.listLanguages()}function l(f,h){if(typeof f=="string")t.registerLanguage(f,h);else{let p;for(p in f)Object.hasOwn(f,p)&&t.registerLanguage(p,f[p])}}function o(f,h){if(typeof f=="string")t.registerAliases(typeof h=="string"?h:[...h],{languageName:f});else{let p;for(p in f)if(Object.hasOwn(f,p)){const g=f[p];t.registerAliases(typeof g=="string"?g:[...g],{languageName:p})}}}function d(f){return!!t.getLanguage(f)}}class DD{constructor(t){this.options=t,this.root={type:"root",children:[],data:{language:void 0,relevance:0}},this.stack=[this.root]}addText(t){if(t==="")return;const n=this.stack[this.stack.length-1],a=n.children[n.children.length-1];a&&a.type==="text"?a.value+=t:n.children.push({type:"text",value:t})}startScope(t){this.openNode(String(t))}endScope(){this.closeNode()}__addSublanguage(t,n){const a=this.stack[this.stack.length-1],s=t.root.children;n?a.children.push({type:"element",tagName:"span",properties:{className:[n]},children:s}):a.children.push(...s)}openNode(t){const n=this,a=t.split(".").map(function(o,d){return d?o+"_".repeat(d):n.options.classPrefix+o}),s=this.stack[this.stack.length-1],l={type:"element",tagName:"span",properties:{className:a},children:[]};s.children.push(l),this.stack.push(l)}closeNode(){this.stack.pop()}finalize(){}toHTML(){return""}}const ID={};function LD(e){const t=e||ID,n=t.aliases,a=t.detect||!1,s=t.languages||CD,l=t.plainText,o=t.prefix,d=t.subset;let f="hljs";const h=MD(s);if(n&&h.registerAlias(n),o){const p=o.indexOf("-");f=p===-1?o:o.slice(0,p)}return function(p,g){Uo(p,"element",function(v,y,S){if(v.tagName!=="code"||!S||S.type!=="element"||S.tagName!=="pre")return;const w=BD(v);if(w===!1||!w&&!a||w&&l&&l.includes(w))return;Array.isArray(v.properties.className)||(v.properties.className=[]),v.properties.className.includes(f)||v.properties.className.unshift(f);const N=ky(v,{whitespace:"pre"});let k;try{k=w?h.highlight(w,N,{prefix:o}):h.highlightAuto(N,{prefix:o,subset:d})}catch(M){const I=M;if(w&&/Unknown language/.test(I.message)){g.message("Cannot highlight as `"+w+"`, it’s not registered",{ancestors:[S,v],cause:I,place:v.position,ruleId:"missing-language",source:"rehype-highlight"});return}throw I}!w&&k.data&&k.data.language&&v.properties.className.push("language-"+k.data.language),k.children.length>0&&(v.children=k.children)})}}function BD(e){const t=e.properties.className;let n=-1;if(!Array.isArray(t))return;let a;for(;++n<t.length;){const s=String(t[n]);if(s==="no-highlight"||s==="nohighlight")return!1;!a&&s.slice(0,5)==="lang-"&&(a=s.slice(5)),!a&&s.slice(0,9)==="language-"&&(a=s.slice(9))}return a}function PD(e,t){return Xy(e,{})||{type:"root",children:[]}}function Xy(e,t){const n=UD(e,t);return n&&t.afterTransform&&t.afterTransform(e,n),n}function UD(e,t){switch(e.nodeType){case 1:return qD(e,t);case 3:return FD(e);case 8:return HD(e);case 9:return Z3(e,t);case 10:return zD();case 11:return Z3(e,t);default:return}}function Z3(e,t){return{type:"root",children:Wy(e,t)}}function zD(){return{type:"doctype"}}function FD(e){return{type:"text",value:e.nodeValue||""}}function HD(e){return{type:"comment",value:e.nodeValue||""}}function qD(e,t){const n=e.namespaceURI,a=n===Oa.svg?P5:B5,s=n===Oa.html?e.tagName.toLowerCase():e.tagName,l=n===Oa.html&&s==="template"?e.content:e,o=e.getAttributeNames(),d={};let f=-1;for(;++f<o.length;)d[o[f]]=e.getAttribute(o[f])||"";return a(s,d,Wy(l,t))}function Wy(e,t){const n=e.childNodes,a=[];let s=-1;for(;++s<n.length;){const l=Xy(n[s],t);l!==void 0&&a.push(l)}return a}new DOMParser;function YD(e,t){const n=jD(e);return PD(n)}function jD(e){const t=document.createElement("template");return t.innerHTML=e,t.content}class Ur{constructor(t,n,a){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=t,this.start=n,this.end=a}static range(t,n){return n?!t||!t.loc||!n.loc||t.loc.lexer!==n.loc.lexer?null:new Ur(t.loc.lexer,t.loc.start,n.loc.end):t&&t.loc}}class ta{constructor(t,n){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=t,this.loc=n}range(t,n){return new ta(n,Ur.range(this,t))}}class ke{constructor(t,n){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var a="KaTeX parse error: "+t,s,l,o=n&&n.loc;if(o&&o.start<=o.end){var d=o.lexer.input;s=o.start,l=o.end,s===d.length?a+=" at end of input: ":a+=" at position "+(s+1)+": ";var f=d.slice(s,l).replace(/[^]/g,"$&̲"),h;s>15?h="…"+d.slice(s-15,s):h=d.slice(0,s);var p;l+15<d.length?p=d.slice(l,l+15)+"…":p=d.slice(l),a+=h+f+p}var g=new Error(a);return g.name="ParseError",g.__proto__=ke.prototype,g.position=s,s!=null&&l!=null&&(g.length=l-s),g.rawMessage=t,g}}ke.prototype.__proto__=Error.prototype;var GD=function(t,n){return t.indexOf(n)!==-1},VD=function(t,n){return t===void 0?n:t},$D=/([A-Z])/g,KD=function(t){return t.replace($D,"-$1").toLowerCase()},XD={"&":"&",">":">","<":"<",'"':""","'":"'"},WD=/[&><"']/g;function QD(e){return String(e).replace(WD,t=>XD[t])}var Qy=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},ZD=function(t){var n=Qy(t);return n.type==="mathord"||n.type==="textord"||n.type==="atom"},JD=function(t){if(!t)throw new Error("Expected non-null, but got "+String(t));return t},eI=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"},tt={contains:GD,deflt:VD,escape:QD,hyphenate:KD,getBaseElem:Qy,isCharacterBox:ZD,protocolFromUrl:eI},H0={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:e=>"#"+e},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:e=>Math.max(0,e),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:e=>Math.max(0,e),cli:"-e, --max-expand <n>",cliProcessor:e=>e==="Infinity"?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function tI(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{}}}class yp{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 H0)if(H0.hasOwnProperty(n)){var a=H0[n];this[n]=t[n]!==void 0?a.processor?a.processor(t[n]):t[n]:tI(a)}}reportNonstrict(t,n,a){var s=this.strict;if(typeof s=="function"&&(s=s(t,n,a)),!(!s||s==="ignore")){if(s===!0||s==="error")throw new ke("LaTeX-incompatible input and strict mode is set to 'error': "+(n+" ["+t+"]"),a);s==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(n+" ["+t+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+s+"': "+n+" ["+t+"]"))}}useStrictBehavior(t,n,a){var s=this.strict;if(typeof s=="function")try{s=s(t,n,a)}catch{s="error"}return!s||s==="ignore"?!1:s===!0||s==="error"?!0:s==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(n+" ["+t+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+s+"': "+n+" ["+t+"]")),!1)}isTrusted(t){if(t.url&&!t.protocol){var n=tt.protocolFromUrl(t.url);if(n==null)return!1;t.protocol=n}var a=typeof this.trust=="function"?this.trust(t):this.trust;return!!a}}class Xi{constructor(t,n,a){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=t,this.size=n,this.cramped=a}sup(){return Na[nI[this.id]]}sub(){return Na[rI[this.id]]}fracNum(){return Na[aI[this.id]]}fracDen(){return Na[iI[this.id]]}cramp(){return Na[sI[this.id]]}text(){return Na[lI[this.id]]}isTight(){return this.size>=2}}var vp=0,ed=1,Ll=2,oi=3,Oo=4,ea=5,zl=6,dr=7,Na=[new Xi(vp,0,!1),new Xi(ed,0,!0),new Xi(Ll,1,!1),new Xi(oi,1,!0),new Xi(Oo,2,!1),new Xi(ea,2,!0),new Xi(zl,3,!1),new Xi(dr,3,!0)],nI=[Oo,ea,Oo,ea,zl,dr,zl,dr],rI=[ea,ea,ea,ea,dr,dr,dr,dr],aI=[Ll,oi,Oo,ea,zl,dr,zl,dr],iI=[oi,oi,ea,ea,dr,dr,dr,dr],sI=[ed,ed,oi,oi,ea,ea,dr,dr],lI=[vp,ed,Ll,oi,Ll,oi,Ll,oi],it={DISPLAY:Na[vp],TEXT:Na[Ll],SCRIPT:Na[Oo],SCRIPTSCRIPT:Na[zl]},hm=[{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 uI(e){for(var t=0;t<hm.length;t++)for(var n=hm[t],a=0;a<n.blocks.length;a++){var s=n.blocks[a];if(e>=s[0]&&e<=s[1])return n.name}return null}var q0=[];hm.forEach(e=>e.blocks.forEach(t=>q0.push(...t)));function Zy(e){for(var t=0;t<q0.length;t+=2)if(e>=q0[t]&&e<=q0[t+1])return!0;return!1}var Al=80,oI=function(t,n){return"M95,"+(622+t+n)+`
|
|
96
|
-
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
|
|
97
|
-
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
|
|
98
|
-
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
|
|
99
|
-
s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
|
|
100
|
-
c69,-144,104.5,-217.7,106.5,-221
|
|
101
|
-
l`+t/2.075+" -"+t+`
|
|
102
|
-
c5.3,-9.3,12,-14,20,-14
|
|
103
|
-
H400000v`+(40+t)+`H845.2724
|
|
104
|
-
s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
|
|
105
|
-
c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
|
|
106
|
-
M`+(834+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},cI=function(t,n){return"M263,"+(601+t+n)+`c0.7,0,18,39.7,52,119
|
|
107
|
-
c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
|
|
108
|
-
c340,-704.7,510.7,-1060.3,512,-1067
|
|
109
|
-
l`+t/2.084+" -"+t+`
|
|
110
|
-
c4.7,-7.3,11,-11,19,-11
|
|
111
|
-
H40000v`+(40+t)+`H1012.3
|
|
112
|
-
s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
|
|
113
|
-
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
|
|
114
|
-
s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
|
|
115
|
-
c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
|
|
116
|
-
M`+(1001+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},dI=function(t,n){return"M983 "+(10+t+n)+`
|
|
117
|
-
l`+t/3.13+" -"+t+`
|
|
118
|
-
c4,-6.7,10,-10,18,-10 H400000v`+(40+t)+`
|
|
119
|
-
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
|
|
120
|
-
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
|
|
121
|
-
c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
|
|
122
|
-
c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
|
|
123
|
-
c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
|
|
124
|
-
c53.7,-170.3,84.5,-266.8,92.5,-289.5z
|
|
125
|
-
M`+(1001+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},fI=function(t,n){return"M424,"+(2398+t+n)+`
|
|
126
|
-
c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
|
|
127
|
-
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
|
|
128
|
-
s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
|
|
129
|
-
s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
|
|
130
|
-
l`+t/4.223+" -"+t+`c4,-6.7,10,-10,18,-10 H400000
|
|
131
|
-
v`+(40+t)+`H1014.6
|
|
132
|
-
s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
|
|
133
|
-
c-2,6,-10,9,-24,9
|
|
134
|
-
c-8,0,-12,-0.7,-12,-2z M`+(1001+t)+" "+n+`
|
|
135
|
-
h400000v`+(40+t)+"h-400000z"},hI=function(t,n){return"M473,"+(2713+t+n)+`
|
|
136
|
-
c339.3,-1799.3,509.3,-2700,510,-2702 l`+t/5.298+" -"+t+`
|
|
137
|
-
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+t)+`H1017.7
|
|
138
|
-
s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
|
|
139
|
-
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
|
|
140
|
-
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
|
|
141
|
-
s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
|
|
142
|
-
606zM`+(1001+t)+" "+n+"h400000v"+(40+t)+"H1017.7z"},mI=function(t){var n=t/2;return"M400000 "+t+" H0 L"+n+" 0 l65 45 L145 "+(t-80)+" H400000z"},pI=function(t,n,a){var s=a-54-n-t;return"M702 "+(t+n)+"H400000"+(40+t)+`
|
|
143
|
-
H742v`+s+`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
|
|
144
|
-
h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
|
|
145
|
-
c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
|
|
146
|
-
219 661 l218 661zM702 `+n+"H400000v"+(40+t)+"H742z"},gI=function(t,n,a){n=1e3*n;var s="";switch(t){case"sqrtMain":s=oI(n,Al);break;case"sqrtSize1":s=cI(n,Al);break;case"sqrtSize2":s=dI(n,Al);break;case"sqrtSize3":s=fI(n,Al);break;case"sqrtSize4":s=hI(n,Al);break;case"sqrtTall":s=pI(n,Al,a)}return s},bI=function(t,n){switch(t){case"⎜":return"M291 0 H417 V"+n+" H291z M291 0 H417 V"+n+" H291z";case"∣":return"M145 0 H188 V"+n+" H145z M145 0 H188 V"+n+" H145z";case"∥":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"⎟":return"M457 0 H583 V"+n+" H457z M457 0 H583 V"+n+" H457z";case"⎢":return"M319 0 H403 V"+n+" H319z M319 0 H403 V"+n+" H319z";case"⎥":return"M263 0 H347 V"+n+" H263z M263 0 H347 V"+n+" H263z";case"⎪":return"M384 0 H504 V"+n+" H384z M384 0 H504 V"+n+" H384z";case"⏐":return"M312 0 H355 V"+n+" H312z M312 0 H355 V"+n+" H312z";case"‖":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""}},J3={doubleleftarrow:`M262 157
|
|
147
|
-
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
|
|
148
|
-
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
|
|
149
|
-
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
|
|
150
|
-
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
|
|
151
|
-
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
|
|
152
|
-
-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
|
|
153
|
-
-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
|
|
154
|
-
m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
|
|
155
|
-
-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
|
|
156
|
-
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
|
|
157
|
-
-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
|
|
158
|
-
-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
|
|
159
|
-
-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
|
|
160
|
-
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
|
|
161
|
-
-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
|
|
162
|
-
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
|
|
163
|
-
-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
|
|
164
|
-
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
|
|
165
|
-
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
|
|
166
|
-
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
|
|
167
|
-
l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
|
|
168
|
-
-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
|
|
169
|
-
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
|
|
170
|
-
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
|
|
171
|
-
0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
|
|
172
|
-
-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
|
|
173
|
-
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
|
|
174
|
-
435 0h399565z`,leftgroupunder:`M400000 262
|
|
175
|
-
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
|
|
176
|
-
435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
|
|
177
|
-
-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
|
|
178
|
-
-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
|
|
179
|
-
-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
|
|
180
|
-
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
|
|
181
|
-
-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
|
|
182
|
-
-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
|
|
183
|
-
m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
|
|
184
|
-
5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
|
|
185
|
-
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
|
|
186
|
-
-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
|
|
187
|
-
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
|
|
188
|
-
-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
|
|
189
|
-
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
|
|
190
|
-
-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
|
|
191
|
-
-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
|
|
192
|
-
71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
|
|
193
|
-
M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
|
|
194
|
-
M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
|
|
195
|
-
-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
|
|
196
|
-
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
|
|
197
|
-
68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
|
|
198
|
-
M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
|
|
199
|
-
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
|
|
200
|
-
-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
|
|
201
|
-
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
|
|
202
|
-
12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
|
|
203
|
-
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
|
|
204
|
-
53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
|
|
205
|
-
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
|
|
206
|
-
-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
|
|
207
|
-
-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
|
|
208
|
-
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
|
|
209
|
-
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
|
|
210
|
-
-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
|
|
211
|
-
m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
|
|
212
|
-
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
|
|
213
|
-
-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
|
|
214
|
-
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
|
|
215
|
-
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
|
|
216
|
-
-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
|
|
217
|
-
m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
|
|
218
|
-
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
|
|
219
|
-
-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
|
|
220
|
-
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
|
|
221
|
-
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
|
|
222
|
-
-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
|
|
223
|
-
-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
|
|
224
|
-
151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
|
|
225
|
-
-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
|
|
226
|
-
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
|
|
227
|
-
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
|
|
228
|
-
28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
|
|
229
|
-
-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
|
|
230
|
-
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
|
|
231
|
-
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
|
|
232
|
-
-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
|
|
233
|
-
-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
|
|
234
|
-
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
|
|
235
|
-
-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
|
|
236
|
-
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
|
|
237
|
-
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
|
|
238
|
-
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
|
|
239
|
-
-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
|
|
240
|
-
-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
|
|
241
|
-
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
|
|
242
|
-
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
|
|
243
|
-
-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
|
|
244
|
-
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
|
|
245
|
-
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
|
|
246
|
-
-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
|
|
247
|
-
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
|
|
248
|
-
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
|
|
249
|
-
1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
|
|
250
|
-
-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
|
|
251
|
-
-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
|
|
252
|
-
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
|
|
253
|
-
-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
|
|
254
|
-
-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
|
|
255
|
-
-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
|
|
256
|
-
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
|
|
257
|
-
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
|
|
258
|
-
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
|
|
259
|
-
18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
|
|
260
|
-
-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
|
|
261
|
-
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
|
|
262
|
-
-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
|
|
263
|
-
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
|
|
264
|
-
4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
|
|
265
|
-
-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
|
|
266
|
-
-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
|
|
267
|
-
31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
|
|
268
|
-
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
|
|
269
|
-
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
|
|
270
|
-
-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
|
|
271
|
-
411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
|
|
272
|
-
16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
|
|
273
|
-
-338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
|
|
274
|
-
-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
|
|
275
|
-
177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
|
|
276
|
-
14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
|
|
277
|
-
-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
|
|
278
|
-
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
|
|
279
|
-
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
|
|
280
|
-
-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
|
|
281
|
-
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
|
|
282
|
-
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
|
|
283
|
-
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
|
|
284
|
-
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
|
|
285
|
-
-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
|
|
286
|
-
-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
|
|
287
|
-
-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,
|
|
288
|
-
-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,
|
|
289
|
-
-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,
|
|
290
|
-
-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,
|
|
291
|
-
-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
|
|
292
|
-
c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
|
|
293
|
-
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
|
|
294
|
-
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
|
|
295
|
-
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
|
|
296
|
-
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
|
|
297
|
-
c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
|
|
298
|
-
M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
|
|
299
|
-
-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
|
|
300
|
-
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
|
|
301
|
-
-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
|
|
302
|
-
-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
|
|
303
|
-
-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
|
|
304
|
-
151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
|
305
|
-
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
|
|
306
|
-
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
|
|
307
|
-
c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
|
|
308
|
-
c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
|
|
309
|
-
M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
|
|
310
|
-
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,
|
|
311
|
-
-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
|
|
312
|
-
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
|
|
313
|
-
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
|
|
314
|
-
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,
|
|
315
|
-
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,
|
|
316
|
-
-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
|
|
317
|
-
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
|
|
318
|
-
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,
|
|
319
|
-
-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
|
|
320
|
-
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
|
|
321
|
-
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},EI=function(t,n){switch(t){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+n+` v1759 h347 v-84
|
|
322
|
-
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
|
|
323
|
-
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
|
|
324
|
-
c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|
325
|
-
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
|
|
326
|
-
c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|
327
|
-
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+n+` v585 h43z
|
|
328
|
-
M367 15 v585 v`+n+` v585 c2.667,10,9.667,15,21,15
|
|
329
|
-
c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|
330
|
-
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
|
|
331
|
-
MM319 602 V0 H403 V602 v`+n+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+n+` v1799 H0 v-84 H319z
|
|
332
|
-
MM319 602 V0 H403 V602 v`+n+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+n+` v602 h84z
|
|
333
|
-
M403 1759 V0 H319 V1759 v`+n+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+n+` v602 h84z
|
|
334
|
-
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
|
|
335
|
-
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,
|
|
336
|
-
-36,557 l0,`+(n+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,
|
|
337
|
-
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
|
|
338
|
-
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,
|
|
339
|
-
-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189
|
|
340
|
-
l0,-`+(n+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,
|
|
341
|
-
-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,
|
|
342
|
-
63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5
|
|
343
|
-
c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(n+9)+`
|
|
344
|
-
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
|
|
345
|
-
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
|
|
346
|
-
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
|
|
347
|
-
c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
|
|
348
|
-
l0,-`+(n+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
349
|
-
-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.")}};class Yo{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 tt.contains(this.classes,t)}toNode(){for(var t=document.createDocumentFragment(),n=0;n<this.children.length;n++)t.appendChild(this.children[n].toNode());return t}toMarkup(){for(var t="",n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t}toText(){var t=n=>n.toText();return this.children.map(t).join("")}}var Ra={"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]}},E0={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]},e6={Å:"A",Ð:"D",Þ:"o",å:"a",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Х:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function yI(e,t){Ra[e]=t}function Tp(e,t,n){if(!Ra[t])throw new Error("Font metrics not found for font: "+t+".");var a=e.charCodeAt(0),s=Ra[t][a];if(!s&&e[0]in e6&&(a=e6[e[0]].charCodeAt(0),s=Ra[t][a]),!s&&n==="text"&&Zy(a)&&(s=Ra[t][77]),s)return{depth:s[0],height:s[1],italic:s[2],skew:s[3],width:s[4]}}var m1={};function vI(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!m1[t]){var n=m1[t]={cssEmPerMu:E0.quad[t]/18};for(var a in E0)E0.hasOwnProperty(a)&&(n[a]=E0[a][t])}return m1[t]}var TI=[[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]],t6=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],n6=function(t,n){return n.size<2?t:TI[t-1][n.size-1]};class si{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||si.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=t6[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 a in t)t.hasOwnProperty(a)&&(n[a]=t[a]);return new si(n)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:n6(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:t6[t-1]})}havingBaseStyle(t){t=t||this.style.text();var n=n6(si.BASESIZE,t);return this.size===n&&this.textSize===si.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!==si.BASESIZE?["sizing","reset-size"+this.size,"size"+si.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=vI(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}si.BASESIZE=6;var mm={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},_I={ex:!0,em:!0,mu:!0},Jy=function(t){return typeof t!="string"&&(t=t.unit),t in mm||t in _I||t==="ex"},gn=function(t,n){var a;if(t.unit in mm)a=mm[t.unit]/n.fontMetrics().ptPerEm/n.sizeMultiplier;else if(t.unit==="mu")a=n.fontMetrics().cssEmPerMu;else{var s;if(n.style.isTight()?s=n.havingStyle(n.style.text()):s=n,t.unit==="ex")a=s.fontMetrics().xHeight;else if(t.unit==="em")a=s.fontMetrics().quad;else throw new ke("Invalid unit: '"+t.unit+"'");s!==n&&(a*=s.sizeMultiplier/n.sizeMultiplier)}return Math.min(t.number*a,n.maxSize)},Ie=function(t){return+t.toFixed(4)+"em"},is=function(t){return t.filter(n=>n).join(" ")},ev=function(t,n,a){if(this.classes=t||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=a||{},n){n.style.isTight()&&this.classes.push("mtight");var s=n.getColor();s&&(this.style.color=s)}},tv=function(t){var n=document.createElement(t);n.className=is(this.classes);for(var a in this.style)this.style.hasOwnProperty(a)&&(n.style[a]=this.style[a]);for(var s in this.attributes)this.attributes.hasOwnProperty(s)&&n.setAttribute(s,this.attributes[s]);for(var l=0;l<this.children.length;l++)n.appendChild(this.children[l].toNode());return n},SI=/[\s"'>/=\x00-\x1f]/,nv=function(t){var n="<"+t;this.classes.length&&(n+=' class="'+tt.escape(is(this.classes))+'"');var a="";for(var s in this.style)this.style.hasOwnProperty(s)&&(a+=tt.hyphenate(s)+":"+this.style[s]+";");a&&(n+=' style="'+tt.escape(a)+'"');for(var l in this.attributes)if(this.attributes.hasOwnProperty(l)){if(SI.test(l))throw new ke("Invalid attribute name '"+l+"'");n+=" "+l+'="'+tt.escape(this.attributes[l])+'"'}n+=">";for(var o=0;o<this.children.length;o++)n+=this.children[o].toMarkup();return n+="</"+t+">",n};class jo{constructor(t,n,a,s){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,ev.call(this,t,a,s),this.children=n||[]}setAttribute(t,n){this.attributes[t]=n}hasClass(t){return tt.contains(this.classes,t)}toNode(){return tv.call(this,"span")}toMarkup(){return nv.call(this,"span")}}class _p{constructor(t,n,a,s){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,ev.call(this,n,s),this.children=a||[],this.setAttribute("href",t)}setAttribute(t,n){this.attributes[t]=n}hasClass(t){return tt.contains(this.classes,t)}toNode(){return tv.call(this,"a")}toMarkup(){return nv.call(this,"a")}}class xI{constructor(t,n,a){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=n,this.src=t,this.classes=["mord"],this.style=a}hasClass(t){return tt.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='<img src="'+tt.escape(this.src)+'"'+(' alt="'+tt.escape(this.alt)+'"'),n="";for(var a in this.style)this.style.hasOwnProperty(a)&&(n+=tt.hyphenate(a)+":"+this.style[a]+";");return n&&(t+=' style="'+tt.escape(n)+'"'),t+="'/>",t}}var AI={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class ra{constructor(t,n,a,s,l,o,d,f){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=t,this.height=n||0,this.depth=a||0,this.italic=s||0,this.skew=l||0,this.width=o||0,this.classes=d||[],this.style=f||{},this.maxFontSize=0;var h=uI(this.text.charCodeAt(0));h&&this.classes.push(h+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=AI[this.text])}hasClass(t){return tt.contains(this.classes,t)}toNode(){var t=document.createTextNode(this.text),n=null;this.italic>0&&(n=document.createElement("span"),n.style.marginRight=Ie(this.italic)),this.classes.length>0&&(n=n||document.createElement("span"),n.className=is(this.classes));for(var a in this.style)this.style.hasOwnProperty(a)&&(n=n||document.createElement("span"),n.style[a]=this.style[a]);return n?(n.appendChild(t),n):t}toMarkup(){var t=!1,n="<span";this.classes.length&&(t=!0,n+=' class="',n+=tt.escape(is(this.classes)),n+='"');var a="";this.italic>0&&(a+="margin-right:"+this.italic+"em;");for(var s in this.style)this.style.hasOwnProperty(s)&&(a+=tt.hyphenate(s)+":"+this.style[s]+";");a&&(t=!0,n+=' style="'+tt.escape(a)+'"');var l=tt.escape(this.text);return t?(n+=">",n+=l,n+="</span>",n):l}}class fi{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 a in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,a)&&n.setAttribute(a,this.attributes[a]);for(var s=0;s<this.children.length;s++)n.appendChild(this.children[s].toNode());return n}toMarkup(){var t='<svg xmlns="http://www.w3.org/2000/svg"';for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&(t+=" "+n+'="'+tt.escape(this.attributes[n])+'"');t+=">";for(var a=0;a<this.children.length;a++)t+=this.children[a].toMarkup();return t+="</svg>",t}}class ss{constructor(t,n){this.pathName=void 0,this.alternate=void 0,this.pathName=t,this.alternate=n}toNode(){var t="http://www.w3.org/2000/svg",n=document.createElementNS(t,"path");return this.alternate?n.setAttribute("d",this.alternate):n.setAttribute("d",J3[this.pathName]),n}toMarkup(){return this.alternate?'<path d="'+tt.escape(this.alternate)+'"/>':'<path d="'+tt.escape(J3[this.pathName])+'"/>'}}class pm{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 a in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,a)&&n.setAttribute(a,this.attributes[a]);return n}toMarkup(){var t="<line";for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&(t+=" "+n+'="'+tt.escape(this.attributes[n])+'"');return t+="/>",t}}function r6(e){if(e instanceof ra)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}function wI(e){if(e instanceof jo)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}var CI={bin:1,close:1,inner:1,open:1,punct:1,rel:1},kI={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Zt={math:{},text:{}};function T(e,t,n,a,s,l){Zt[e][s]={font:t,group:n,replace:a},l&&a&&(Zt[e][a]=Zt[e][s])}var _="math",Se="text",C="main",U="ams",ln="accent-token",Fe="bin",fr="close",Zl="inner",at="mathord",Mn="op-token",Hr="open",_d="punct",z="rel",Ei="spacing",K="textord";T(_,C,z,"≡","\\equiv",!0);T(_,C,z,"≺","\\prec",!0);T(_,C,z,"≻","\\succ",!0);T(_,C,z,"∼","\\sim",!0);T(_,C,z,"⊥","\\perp");T(_,C,z,"⪯","\\preceq",!0);T(_,C,z,"⪰","\\succeq",!0);T(_,C,z,"≃","\\simeq",!0);T(_,C,z,"∣","\\mid",!0);T(_,C,z,"≪","\\ll",!0);T(_,C,z,"≫","\\gg",!0);T(_,C,z,"≍","\\asymp",!0);T(_,C,z,"∥","\\parallel");T(_,C,z,"⋈","\\bowtie",!0);T(_,C,z,"⌣","\\smile",!0);T(_,C,z,"⊑","\\sqsubseteq",!0);T(_,C,z,"⊒","\\sqsupseteq",!0);T(_,C,z,"≐","\\doteq",!0);T(_,C,z,"⌢","\\frown",!0);T(_,C,z,"∋","\\ni",!0);T(_,C,z,"∝","\\propto",!0);T(_,C,z,"⊢","\\vdash",!0);T(_,C,z,"⊣","\\dashv",!0);T(_,C,z,"∋","\\owns");T(_,C,_d,".","\\ldotp");T(_,C,_d,"⋅","\\cdotp");T(_,C,K,"#","\\#");T(Se,C,K,"#","\\#");T(_,C,K,"&","\\&");T(Se,C,K,"&","\\&");T(_,C,K,"ℵ","\\aleph",!0);T(_,C,K,"∀","\\forall",!0);T(_,C,K,"ℏ","\\hbar",!0);T(_,C,K,"∃","\\exists",!0);T(_,C,K,"∇","\\nabla",!0);T(_,C,K,"♭","\\flat",!0);T(_,C,K,"ℓ","\\ell",!0);T(_,C,K,"♮","\\natural",!0);T(_,C,K,"♣","\\clubsuit",!0);T(_,C,K,"℘","\\wp",!0);T(_,C,K,"♯","\\sharp",!0);T(_,C,K,"♢","\\diamondsuit",!0);T(_,C,K,"ℜ","\\Re",!0);T(_,C,K,"♡","\\heartsuit",!0);T(_,C,K,"ℑ","\\Im",!0);T(_,C,K,"♠","\\spadesuit",!0);T(_,C,K,"§","\\S",!0);T(Se,C,K,"§","\\S");T(_,C,K,"¶","\\P",!0);T(Se,C,K,"¶","\\P");T(_,C,K,"†","\\dag");T(Se,C,K,"†","\\dag");T(Se,C,K,"†","\\textdagger");T(_,C,K,"‡","\\ddag");T(Se,C,K,"‡","\\ddag");T(Se,C,K,"‡","\\textdaggerdbl");T(_,C,fr,"⎱","\\rmoustache",!0);T(_,C,Hr,"⎰","\\lmoustache",!0);T(_,C,fr,"⟯","\\rgroup",!0);T(_,C,Hr,"⟮","\\lgroup",!0);T(_,C,Fe,"∓","\\mp",!0);T(_,C,Fe,"⊖","\\ominus",!0);T(_,C,Fe,"⊎","\\uplus",!0);T(_,C,Fe,"⊓","\\sqcap",!0);T(_,C,Fe,"∗","\\ast");T(_,C,Fe,"⊔","\\sqcup",!0);T(_,C,Fe,"◯","\\bigcirc",!0);T(_,C,Fe,"∙","\\bullet",!0);T(_,C,Fe,"‡","\\ddagger");T(_,C,Fe,"≀","\\wr",!0);T(_,C,Fe,"⨿","\\amalg");T(_,C,Fe,"&","\\And");T(_,C,z,"⟵","\\longleftarrow",!0);T(_,C,z,"⇐","\\Leftarrow",!0);T(_,C,z,"⟸","\\Longleftarrow",!0);T(_,C,z,"⟶","\\longrightarrow",!0);T(_,C,z,"⇒","\\Rightarrow",!0);T(_,C,z,"⟹","\\Longrightarrow",!0);T(_,C,z,"↔","\\leftrightarrow",!0);T(_,C,z,"⟷","\\longleftrightarrow",!0);T(_,C,z,"⇔","\\Leftrightarrow",!0);T(_,C,z,"⟺","\\Longleftrightarrow",!0);T(_,C,z,"↦","\\mapsto",!0);T(_,C,z,"⟼","\\longmapsto",!0);T(_,C,z,"↗","\\nearrow",!0);T(_,C,z,"↩","\\hookleftarrow",!0);T(_,C,z,"↪","\\hookrightarrow",!0);T(_,C,z,"↘","\\searrow",!0);T(_,C,z,"↼","\\leftharpoonup",!0);T(_,C,z,"⇀","\\rightharpoonup",!0);T(_,C,z,"↙","\\swarrow",!0);T(_,C,z,"↽","\\leftharpoondown",!0);T(_,C,z,"⇁","\\rightharpoondown",!0);T(_,C,z,"↖","\\nwarrow",!0);T(_,C,z,"⇌","\\rightleftharpoons",!0);T(_,U,z,"≮","\\nless",!0);T(_,U,z,"","\\@nleqslant");T(_,U,z,"","\\@nleqq");T(_,U,z,"⪇","\\lneq",!0);T(_,U,z,"≨","\\lneqq",!0);T(_,U,z,"","\\@lvertneqq");T(_,U,z,"⋦","\\lnsim",!0);T(_,U,z,"⪉","\\lnapprox",!0);T(_,U,z,"⊀","\\nprec",!0);T(_,U,z,"⋠","\\npreceq",!0);T(_,U,z,"⋨","\\precnsim",!0);T(_,U,z,"⪹","\\precnapprox",!0);T(_,U,z,"≁","\\nsim",!0);T(_,U,z,"","\\@nshortmid");T(_,U,z,"∤","\\nmid",!0);T(_,U,z,"⊬","\\nvdash",!0);T(_,U,z,"⊭","\\nvDash",!0);T(_,U,z,"⋪","\\ntriangleleft");T(_,U,z,"⋬","\\ntrianglelefteq",!0);T(_,U,z,"⊊","\\subsetneq",!0);T(_,U,z,"","\\@varsubsetneq");T(_,U,z,"⫋","\\subsetneqq",!0);T(_,U,z,"","\\@varsubsetneqq");T(_,U,z,"≯","\\ngtr",!0);T(_,U,z,"","\\@ngeqslant");T(_,U,z,"","\\@ngeqq");T(_,U,z,"⪈","\\gneq",!0);T(_,U,z,"≩","\\gneqq",!0);T(_,U,z,"","\\@gvertneqq");T(_,U,z,"⋧","\\gnsim",!0);T(_,U,z,"⪊","\\gnapprox",!0);T(_,U,z,"⊁","\\nsucc",!0);T(_,U,z,"⋡","\\nsucceq",!0);T(_,U,z,"⋩","\\succnsim",!0);T(_,U,z,"⪺","\\succnapprox",!0);T(_,U,z,"≆","\\ncong",!0);T(_,U,z,"","\\@nshortparallel");T(_,U,z,"∦","\\nparallel",!0);T(_,U,z,"⊯","\\nVDash",!0);T(_,U,z,"⋫","\\ntriangleright");T(_,U,z,"⋭","\\ntrianglerighteq",!0);T(_,U,z,"","\\@nsupseteqq");T(_,U,z,"⊋","\\supsetneq",!0);T(_,U,z,"","\\@varsupsetneq");T(_,U,z,"⫌","\\supsetneqq",!0);T(_,U,z,"","\\@varsupsetneqq");T(_,U,z,"⊮","\\nVdash",!0);T(_,U,z,"⪵","\\precneqq",!0);T(_,U,z,"⪶","\\succneqq",!0);T(_,U,z,"","\\@nsubseteqq");T(_,U,Fe,"⊴","\\unlhd");T(_,U,Fe,"⊵","\\unrhd");T(_,U,z,"↚","\\nleftarrow",!0);T(_,U,z,"↛","\\nrightarrow",!0);T(_,U,z,"⇍","\\nLeftarrow",!0);T(_,U,z,"⇏","\\nRightarrow",!0);T(_,U,z,"↮","\\nleftrightarrow",!0);T(_,U,z,"⇎","\\nLeftrightarrow",!0);T(_,U,z,"△","\\vartriangle");T(_,U,K,"ℏ","\\hslash");T(_,U,K,"▽","\\triangledown");T(_,U,K,"◊","\\lozenge");T(_,U,K,"Ⓢ","\\circledS");T(_,U,K,"®","\\circledR");T(Se,U,K,"®","\\circledR");T(_,U,K,"∡","\\measuredangle",!0);T(_,U,K,"∄","\\nexists");T(_,U,K,"℧","\\mho");T(_,U,K,"Ⅎ","\\Finv",!0);T(_,U,K,"⅁","\\Game",!0);T(_,U,K,"‵","\\backprime");T(_,U,K,"▲","\\blacktriangle");T(_,U,K,"▼","\\blacktriangledown");T(_,U,K,"■","\\blacksquare");T(_,U,K,"⧫","\\blacklozenge");T(_,U,K,"★","\\bigstar");T(_,U,K,"∢","\\sphericalangle",!0);T(_,U,K,"∁","\\complement",!0);T(_,U,K,"ð","\\eth",!0);T(Se,C,K,"ð","ð");T(_,U,K,"╱","\\diagup");T(_,U,K,"╲","\\diagdown");T(_,U,K,"□","\\square");T(_,U,K,"□","\\Box");T(_,U,K,"◊","\\Diamond");T(_,U,K,"¥","\\yen",!0);T(Se,U,K,"¥","\\yen",!0);T(_,U,K,"✓","\\checkmark",!0);T(Se,U,K,"✓","\\checkmark");T(_,U,K,"ℶ","\\beth",!0);T(_,U,K,"ℸ","\\daleth",!0);T(_,U,K,"ℷ","\\gimel",!0);T(_,U,K,"ϝ","\\digamma",!0);T(_,U,K,"ϰ","\\varkappa");T(_,U,Hr,"┌","\\@ulcorner",!0);T(_,U,fr,"┐","\\@urcorner",!0);T(_,U,Hr,"└","\\@llcorner",!0);T(_,U,fr,"┘","\\@lrcorner",!0);T(_,U,z,"≦","\\leqq",!0);T(_,U,z,"⩽","\\leqslant",!0);T(_,U,z,"⪕","\\eqslantless",!0);T(_,U,z,"≲","\\lesssim",!0);T(_,U,z,"⪅","\\lessapprox",!0);T(_,U,z,"≊","\\approxeq",!0);T(_,U,Fe,"⋖","\\lessdot");T(_,U,z,"⋘","\\lll",!0);T(_,U,z,"≶","\\lessgtr",!0);T(_,U,z,"⋚","\\lesseqgtr",!0);T(_,U,z,"⪋","\\lesseqqgtr",!0);T(_,U,z,"≑","\\doteqdot");T(_,U,z,"≓","\\risingdotseq",!0);T(_,U,z,"≒","\\fallingdotseq",!0);T(_,U,z,"∽","\\backsim",!0);T(_,U,z,"⋍","\\backsimeq",!0);T(_,U,z,"⫅","\\subseteqq",!0);T(_,U,z,"⋐","\\Subset",!0);T(_,U,z,"⊏","\\sqsubset",!0);T(_,U,z,"≼","\\preccurlyeq",!0);T(_,U,z,"⋞","\\curlyeqprec",!0);T(_,U,z,"≾","\\precsim",!0);T(_,U,z,"⪷","\\precapprox",!0);T(_,U,z,"⊲","\\vartriangleleft");T(_,U,z,"⊴","\\trianglelefteq");T(_,U,z,"⊨","\\vDash",!0);T(_,U,z,"⊪","\\Vvdash",!0);T(_,U,z,"⌣","\\smallsmile");T(_,U,z,"⌢","\\smallfrown");T(_,U,z,"≏","\\bumpeq",!0);T(_,U,z,"≎","\\Bumpeq",!0);T(_,U,z,"≧","\\geqq",!0);T(_,U,z,"⩾","\\geqslant",!0);T(_,U,z,"⪖","\\eqslantgtr",!0);T(_,U,z,"≳","\\gtrsim",!0);T(_,U,z,"⪆","\\gtrapprox",!0);T(_,U,Fe,"⋗","\\gtrdot");T(_,U,z,"⋙","\\ggg",!0);T(_,U,z,"≷","\\gtrless",!0);T(_,U,z,"⋛","\\gtreqless",!0);T(_,U,z,"⪌","\\gtreqqless",!0);T(_,U,z,"≖","\\eqcirc",!0);T(_,U,z,"≗","\\circeq",!0);T(_,U,z,"≜","\\triangleq",!0);T(_,U,z,"∼","\\thicksim");T(_,U,z,"≈","\\thickapprox");T(_,U,z,"⫆","\\supseteqq",!0);T(_,U,z,"⋑","\\Supset",!0);T(_,U,z,"⊐","\\sqsupset",!0);T(_,U,z,"≽","\\succcurlyeq",!0);T(_,U,z,"⋟","\\curlyeqsucc",!0);T(_,U,z,"≿","\\succsim",!0);T(_,U,z,"⪸","\\succapprox",!0);T(_,U,z,"⊳","\\vartriangleright");T(_,U,z,"⊵","\\trianglerighteq");T(_,U,z,"⊩","\\Vdash",!0);T(_,U,z,"∣","\\shortmid");T(_,U,z,"∥","\\shortparallel");T(_,U,z,"≬","\\between",!0);T(_,U,z,"⋔","\\pitchfork",!0);T(_,U,z,"∝","\\varpropto");T(_,U,z,"◀","\\blacktriangleleft");T(_,U,z,"∴","\\therefore",!0);T(_,U,z,"∍","\\backepsilon");T(_,U,z,"▶","\\blacktriangleright");T(_,U,z,"∵","\\because",!0);T(_,U,z,"⋘","\\llless");T(_,U,z,"⋙","\\gggtr");T(_,U,Fe,"⊲","\\lhd");T(_,U,Fe,"⊳","\\rhd");T(_,U,z,"≂","\\eqsim",!0);T(_,C,z,"⋈","\\Join");T(_,U,z,"≑","\\Doteq",!0);T(_,U,Fe,"∔","\\dotplus",!0);T(_,U,Fe,"∖","\\smallsetminus");T(_,U,Fe,"⋒","\\Cap",!0);T(_,U,Fe,"⋓","\\Cup",!0);T(_,U,Fe,"⩞","\\doublebarwedge",!0);T(_,U,Fe,"⊟","\\boxminus",!0);T(_,U,Fe,"⊞","\\boxplus",!0);T(_,U,Fe,"⋇","\\divideontimes",!0);T(_,U,Fe,"⋉","\\ltimes",!0);T(_,U,Fe,"⋊","\\rtimes",!0);T(_,U,Fe,"⋋","\\leftthreetimes",!0);T(_,U,Fe,"⋌","\\rightthreetimes",!0);T(_,U,Fe,"⋏","\\curlywedge",!0);T(_,U,Fe,"⋎","\\curlyvee",!0);T(_,U,Fe,"⊝","\\circleddash",!0);T(_,U,Fe,"⊛","\\circledast",!0);T(_,U,Fe,"⋅","\\centerdot");T(_,U,Fe,"⊺","\\intercal",!0);T(_,U,Fe,"⋒","\\doublecap");T(_,U,Fe,"⋓","\\doublecup");T(_,U,Fe,"⊠","\\boxtimes",!0);T(_,U,z,"⇢","\\dashrightarrow",!0);T(_,U,z,"⇠","\\dashleftarrow",!0);T(_,U,z,"⇇","\\leftleftarrows",!0);T(_,U,z,"⇆","\\leftrightarrows",!0);T(_,U,z,"⇚","\\Lleftarrow",!0);T(_,U,z,"↞","\\twoheadleftarrow",!0);T(_,U,z,"↢","\\leftarrowtail",!0);T(_,U,z,"↫","\\looparrowleft",!0);T(_,U,z,"⇋","\\leftrightharpoons",!0);T(_,U,z,"↶","\\curvearrowleft",!0);T(_,U,z,"↺","\\circlearrowleft",!0);T(_,U,z,"↰","\\Lsh",!0);T(_,U,z,"⇈","\\upuparrows",!0);T(_,U,z,"↿","\\upharpoonleft",!0);T(_,U,z,"⇃","\\downharpoonleft",!0);T(_,C,z,"⊶","\\origof",!0);T(_,C,z,"⊷","\\imageof",!0);T(_,U,z,"⊸","\\multimap",!0);T(_,U,z,"↭","\\leftrightsquigarrow",!0);T(_,U,z,"⇉","\\rightrightarrows",!0);T(_,U,z,"⇄","\\rightleftarrows",!0);T(_,U,z,"↠","\\twoheadrightarrow",!0);T(_,U,z,"↣","\\rightarrowtail",!0);T(_,U,z,"↬","\\looparrowright",!0);T(_,U,z,"↷","\\curvearrowright",!0);T(_,U,z,"↻","\\circlearrowright",!0);T(_,U,z,"↱","\\Rsh",!0);T(_,U,z,"⇊","\\downdownarrows",!0);T(_,U,z,"↾","\\upharpoonright",!0);T(_,U,z,"⇂","\\downharpoonright",!0);T(_,U,z,"⇝","\\rightsquigarrow",!0);T(_,U,z,"⇝","\\leadsto");T(_,U,z,"⇛","\\Rrightarrow",!0);T(_,U,z,"↾","\\restriction");T(_,C,K,"‘","`");T(_,C,K,"$","\\$");T(Se,C,K,"$","\\$");T(Se,C,K,"$","\\textdollar");T(_,C,K,"%","\\%");T(Se,C,K,"%","\\%");T(_,C,K,"_","\\_");T(Se,C,K,"_","\\_");T(Se,C,K,"_","\\textunderscore");T(_,C,K,"∠","\\angle",!0);T(_,C,K,"∞","\\infty",!0);T(_,C,K,"′","\\prime");T(_,C,K,"△","\\triangle");T(_,C,K,"Γ","\\Gamma",!0);T(_,C,K,"Δ","\\Delta",!0);T(_,C,K,"Θ","\\Theta",!0);T(_,C,K,"Λ","\\Lambda",!0);T(_,C,K,"Ξ","\\Xi",!0);T(_,C,K,"Π","\\Pi",!0);T(_,C,K,"Σ","\\Sigma",!0);T(_,C,K,"Υ","\\Upsilon",!0);T(_,C,K,"Φ","\\Phi",!0);T(_,C,K,"Ψ","\\Psi",!0);T(_,C,K,"Ω","\\Omega",!0);T(_,C,K,"A","Α");T(_,C,K,"B","Β");T(_,C,K,"E","Ε");T(_,C,K,"Z","Ζ");T(_,C,K,"H","Η");T(_,C,K,"I","Ι");T(_,C,K,"K","Κ");T(_,C,K,"M","Μ");T(_,C,K,"N","Ν");T(_,C,K,"O","Ο");T(_,C,K,"P","Ρ");T(_,C,K,"T","Τ");T(_,C,K,"X","Χ");T(_,C,K,"¬","\\neg",!0);T(_,C,K,"¬","\\lnot");T(_,C,K,"⊤","\\top");T(_,C,K,"⊥","\\bot");T(_,C,K,"∅","\\emptyset");T(_,U,K,"∅","\\varnothing");T(_,C,at,"α","\\alpha",!0);T(_,C,at,"β","\\beta",!0);T(_,C,at,"γ","\\gamma",!0);T(_,C,at,"δ","\\delta",!0);T(_,C,at,"ϵ","\\epsilon",!0);T(_,C,at,"ζ","\\zeta",!0);T(_,C,at,"η","\\eta",!0);T(_,C,at,"θ","\\theta",!0);T(_,C,at,"ι","\\iota",!0);T(_,C,at,"κ","\\kappa",!0);T(_,C,at,"λ","\\lambda",!0);T(_,C,at,"μ","\\mu",!0);T(_,C,at,"ν","\\nu",!0);T(_,C,at,"ξ","\\xi",!0);T(_,C,at,"ο","\\omicron",!0);T(_,C,at,"π","\\pi",!0);T(_,C,at,"ρ","\\rho",!0);T(_,C,at,"σ","\\sigma",!0);T(_,C,at,"τ","\\tau",!0);T(_,C,at,"υ","\\upsilon",!0);T(_,C,at,"ϕ","\\phi",!0);T(_,C,at,"χ","\\chi",!0);T(_,C,at,"ψ","\\psi",!0);T(_,C,at,"ω","\\omega",!0);T(_,C,at,"ε","\\varepsilon",!0);T(_,C,at,"ϑ","\\vartheta",!0);T(_,C,at,"ϖ","\\varpi",!0);T(_,C,at,"ϱ","\\varrho",!0);T(_,C,at,"ς","\\varsigma",!0);T(_,C,at,"φ","\\varphi",!0);T(_,C,Fe,"∗","*",!0);T(_,C,Fe,"+","+");T(_,C,Fe,"−","-",!0);T(_,C,Fe,"⋅","\\cdot",!0);T(_,C,Fe,"∘","\\circ",!0);T(_,C,Fe,"÷","\\div",!0);T(_,C,Fe,"±","\\pm",!0);T(_,C,Fe,"×","\\times",!0);T(_,C,Fe,"∩","\\cap",!0);T(_,C,Fe,"∪","\\cup",!0);T(_,C,Fe,"∖","\\setminus",!0);T(_,C,Fe,"∧","\\land");T(_,C,Fe,"∨","\\lor");T(_,C,Fe,"∧","\\wedge",!0);T(_,C,Fe,"∨","\\vee",!0);T(_,C,K,"√","\\surd");T(_,C,Hr,"⟨","\\langle",!0);T(_,C,Hr,"∣","\\lvert");T(_,C,Hr,"∥","\\lVert");T(_,C,fr,"?","?");T(_,C,fr,"!","!");T(_,C,fr,"⟩","\\rangle",!0);T(_,C,fr,"∣","\\rvert");T(_,C,fr,"∥","\\rVert");T(_,C,z,"=","=");T(_,C,z,":",":");T(_,C,z,"≈","\\approx",!0);T(_,C,z,"≅","\\cong",!0);T(_,C,z,"≥","\\ge");T(_,C,z,"≥","\\geq",!0);T(_,C,z,"←","\\gets");T(_,C,z,">","\\gt",!0);T(_,C,z,"∈","\\in",!0);T(_,C,z,"","\\@not");T(_,C,z,"⊂","\\subset",!0);T(_,C,z,"⊃","\\supset",!0);T(_,C,z,"⊆","\\subseteq",!0);T(_,C,z,"⊇","\\supseteq",!0);T(_,U,z,"⊈","\\nsubseteq",!0);T(_,U,z,"⊉","\\nsupseteq",!0);T(_,C,z,"⊨","\\models");T(_,C,z,"←","\\leftarrow",!0);T(_,C,z,"≤","\\le");T(_,C,z,"≤","\\leq",!0);T(_,C,z,"<","\\lt",!0);T(_,C,z,"→","\\rightarrow",!0);T(_,C,z,"→","\\to");T(_,U,z,"≱","\\ngeq",!0);T(_,U,z,"≰","\\nleq",!0);T(_,C,Ei," ","\\ ");T(_,C,Ei," ","\\space");T(_,C,Ei," ","\\nobreakspace");T(Se,C,Ei," ","\\ ");T(Se,C,Ei," "," ");T(Se,C,Ei," ","\\space");T(Se,C,Ei," ","\\nobreakspace");T(_,C,Ei,null,"\\nobreak");T(_,C,Ei,null,"\\allowbreak");T(_,C,_d,",",",");T(_,C,_d,";",";");T(_,U,Fe,"⊼","\\barwedge",!0);T(_,U,Fe,"⊻","\\veebar",!0);T(_,C,Fe,"⊙","\\odot",!0);T(_,C,Fe,"⊕","\\oplus",!0);T(_,C,Fe,"⊗","\\otimes",!0);T(_,C,K,"∂","\\partial",!0);T(_,C,Fe,"⊘","\\oslash",!0);T(_,U,Fe,"⊚","\\circledcirc",!0);T(_,U,Fe,"⊡","\\boxdot",!0);T(_,C,Fe,"△","\\bigtriangleup");T(_,C,Fe,"▽","\\bigtriangledown");T(_,C,Fe,"†","\\dagger");T(_,C,Fe,"⋄","\\diamond");T(_,C,Fe,"⋆","\\star");T(_,C,Fe,"◃","\\triangleleft");T(_,C,Fe,"▹","\\triangleright");T(_,C,Hr,"{","\\{");T(Se,C,K,"{","\\{");T(Se,C,K,"{","\\textbraceleft");T(_,C,fr,"}","\\}");T(Se,C,K,"}","\\}");T(Se,C,K,"}","\\textbraceright");T(_,C,Hr,"{","\\lbrace");T(_,C,fr,"}","\\rbrace");T(_,C,Hr,"[","\\lbrack",!0);T(Se,C,K,"[","\\lbrack",!0);T(_,C,fr,"]","\\rbrack",!0);T(Se,C,K,"]","\\rbrack",!0);T(_,C,Hr,"(","\\lparen",!0);T(_,C,fr,")","\\rparen",!0);T(Se,C,K,"<","\\textless",!0);T(Se,C,K,">","\\textgreater",!0);T(_,C,Hr,"⌊","\\lfloor",!0);T(_,C,fr,"⌋","\\rfloor",!0);T(_,C,Hr,"⌈","\\lceil",!0);T(_,C,fr,"⌉","\\rceil",!0);T(_,C,K,"\\","\\backslash");T(_,C,K,"∣","|");T(_,C,K,"∣","\\vert");T(Se,C,K,"|","\\textbar",!0);T(_,C,K,"∥","\\|");T(_,C,K,"∥","\\Vert");T(Se,C,K,"∥","\\textbardbl");T(Se,C,K,"~","\\textasciitilde");T(Se,C,K,"\\","\\textbackslash");T(Se,C,K,"^","\\textasciicircum");T(_,C,z,"↑","\\uparrow",!0);T(_,C,z,"⇑","\\Uparrow",!0);T(_,C,z,"↓","\\downarrow",!0);T(_,C,z,"⇓","\\Downarrow",!0);T(_,C,z,"↕","\\updownarrow",!0);T(_,C,z,"⇕","\\Updownarrow",!0);T(_,C,Mn,"∐","\\coprod");T(_,C,Mn,"⋁","\\bigvee");T(_,C,Mn,"⋀","\\bigwedge");T(_,C,Mn,"⨄","\\biguplus");T(_,C,Mn,"⋂","\\bigcap");T(_,C,Mn,"⋃","\\bigcup");T(_,C,Mn,"∫","\\int");T(_,C,Mn,"∫","\\intop");T(_,C,Mn,"∬","\\iint");T(_,C,Mn,"∭","\\iiint");T(_,C,Mn,"∏","\\prod");T(_,C,Mn,"∑","\\sum");T(_,C,Mn,"⨂","\\bigotimes");T(_,C,Mn,"⨁","\\bigoplus");T(_,C,Mn,"⨀","\\bigodot");T(_,C,Mn,"∮","\\oint");T(_,C,Mn,"∯","\\oiint");T(_,C,Mn,"∰","\\oiiint");T(_,C,Mn,"⨆","\\bigsqcup");T(_,C,Mn,"∫","\\smallint");T(Se,C,Zl,"…","\\textellipsis");T(_,C,Zl,"…","\\mathellipsis");T(Se,C,Zl,"…","\\ldots",!0);T(_,C,Zl,"…","\\ldots",!0);T(_,C,Zl,"⋯","\\@cdots",!0);T(_,C,Zl,"⋱","\\ddots",!0);T(_,C,K,"⋮","\\varvdots");T(Se,C,K,"⋮","\\varvdots");T(_,C,ln,"ˊ","\\acute");T(_,C,ln,"ˋ","\\grave");T(_,C,ln,"¨","\\ddot");T(_,C,ln,"~","\\tilde");T(_,C,ln,"ˉ","\\bar");T(_,C,ln,"˘","\\breve");T(_,C,ln,"ˇ","\\check");T(_,C,ln,"^","\\hat");T(_,C,ln,"⃗","\\vec");T(_,C,ln,"˙","\\dot");T(_,C,ln,"˚","\\mathring");T(_,C,at,"","\\@imath");T(_,C,at,"","\\@jmath");T(_,C,K,"ı","ı");T(_,C,K,"ȷ","ȷ");T(Se,C,K,"ı","\\i",!0);T(Se,C,K,"ȷ","\\j",!0);T(Se,C,K,"ß","\\ss",!0);T(Se,C,K,"æ","\\ae",!0);T(Se,C,K,"œ","\\oe",!0);T(Se,C,K,"ø","\\o",!0);T(Se,C,K,"Æ","\\AE",!0);T(Se,C,K,"Œ","\\OE",!0);T(Se,C,K,"Ø","\\O",!0);T(Se,C,ln,"ˊ","\\'");T(Se,C,ln,"ˋ","\\`");T(Se,C,ln,"ˆ","\\^");T(Se,C,ln,"˜","\\~");T(Se,C,ln,"ˉ","\\=");T(Se,C,ln,"˘","\\u");T(Se,C,ln,"˙","\\.");T(Se,C,ln,"¸","\\c");T(Se,C,ln,"˚","\\r");T(Se,C,ln,"ˇ","\\v");T(Se,C,ln,"¨",'\\"');T(Se,C,ln,"˝","\\H");T(Se,C,ln,"◯","\\textcircled");var rv={"--":!0,"---":!0,"``":!0,"''":!0};T(Se,C,K,"–","--",!0);T(Se,C,K,"–","\\textendash");T(Se,C,K,"—","---",!0);T(Se,C,K,"—","\\textemdash");T(Se,C,K,"‘","`",!0);T(Se,C,K,"‘","\\textquoteleft");T(Se,C,K,"’","'",!0);T(Se,C,K,"’","\\textquoteright");T(Se,C,K,"“","``",!0);T(Se,C,K,"“","\\textquotedblleft");T(Se,C,K,"”","''",!0);T(Se,C,K,"”","\\textquotedblright");T(_,C,K,"°","\\degree",!0);T(Se,C,K,"°","\\degree");T(Se,C,K,"°","\\textdegree",!0);T(_,C,K,"£","\\pounds");T(_,C,K,"£","\\mathsterling",!0);T(Se,C,K,"£","\\pounds");T(Se,C,K,"£","\\textsterling",!0);T(_,U,K,"✠","\\maltese");T(Se,U,K,"✠","\\maltese");var a6='0123456789/@."';for(var p1=0;p1<a6.length;p1++){var i6=a6.charAt(p1);T(_,C,K,i6,i6)}var s6='0123456789!@*()-=+";:?/.,';for(var g1=0;g1<s6.length;g1++){var l6=s6.charAt(g1);T(Se,C,K,l6,l6)}var td="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(var b1=0;b1<td.length;b1++){var y0=td.charAt(b1);T(_,C,at,y0,y0),T(Se,C,K,y0,y0)}T(_,U,K,"C","ℂ");T(Se,U,K,"C","ℂ");T(_,U,K,"H","ℍ");T(Se,U,K,"H","ℍ");T(_,U,K,"N","ℕ");T(Se,U,K,"N","ℕ");T(_,U,K,"P","ℙ");T(Se,U,K,"P","ℙ");T(_,U,K,"Q","ℚ");T(Se,U,K,"Q","ℚ");T(_,U,K,"R","ℝ");T(Se,U,K,"R","ℝ");T(_,U,K,"Z","ℤ");T(Se,U,K,"Z","ℤ");T(_,C,at,"h","ℎ");T(Se,C,at,"h","ℎ");var ft="";for(var sr=0;sr<td.length;sr++){var yn=td.charAt(sr);ft=String.fromCharCode(55349,56320+sr),T(_,C,at,yn,ft),T(Se,C,K,yn,ft),ft=String.fromCharCode(55349,56372+sr),T(_,C,at,yn,ft),T(Se,C,K,yn,ft),ft=String.fromCharCode(55349,56424+sr),T(_,C,at,yn,ft),T(Se,C,K,yn,ft),ft=String.fromCharCode(55349,56580+sr),T(_,C,at,yn,ft),T(Se,C,K,yn,ft),ft=String.fromCharCode(55349,56684+sr),T(_,C,at,yn,ft),T(Se,C,K,yn,ft),ft=String.fromCharCode(55349,56736+sr),T(_,C,at,yn,ft),T(Se,C,K,yn,ft),ft=String.fromCharCode(55349,56788+sr),T(_,C,at,yn,ft),T(Se,C,K,yn,ft),ft=String.fromCharCode(55349,56840+sr),T(_,C,at,yn,ft),T(Se,C,K,yn,ft),ft=String.fromCharCode(55349,56944+sr),T(_,C,at,yn,ft),T(Se,C,K,yn,ft),sr<26&&(ft=String.fromCharCode(55349,56632+sr),T(_,C,at,yn,ft),T(Se,C,K,yn,ft),ft=String.fromCharCode(55349,56476+sr),T(_,C,at,yn,ft),T(Se,C,K,yn,ft))}ft="𝕜";T(_,C,at,"k",ft);T(Se,C,K,"k",ft);for(var Ls=0;Ls<10;Ls++){var Wi=Ls.toString();ft=String.fromCharCode(55349,57294+Ls),T(_,C,at,Wi,ft),T(Se,C,K,Wi,ft),ft=String.fromCharCode(55349,57314+Ls),T(_,C,at,Wi,ft),T(Se,C,K,Wi,ft),ft=String.fromCharCode(55349,57324+Ls),T(_,C,at,Wi,ft),T(Se,C,K,Wi,ft),ft=String.fromCharCode(55349,57334+Ls),T(_,C,at,Wi,ft),T(Se,C,K,Wi,ft)}var gm="ÐÞþ";for(var E1=0;E1<gm.length;E1++){var v0=gm.charAt(E1);T(_,C,at,v0,v0),T(Se,C,K,v0,v0)}var T0=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],u6=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],NI=function(t,n){var a=t.charCodeAt(0),s=t.charCodeAt(1),l=(a-55296)*1024+(s-56320)+65536,o=n==="math"?0:1;if(119808<=l&&l<120484){var d=Math.floor((l-119808)/26);return[T0[d][2],T0[d][o]]}else if(120782<=l&&l<=120831){var f=Math.floor((l-120782)/10);return[u6[f][2],u6[f][o]]}else{if(l===120485||l===120486)return[T0[0][2],T0[0][o]];if(120486<l&&l<120782)return["",""];throw new ke("Unsupported character: "+t)}},Sd=function(t,n,a){return Zt[a][t]&&Zt[a][t].replace&&(t=Zt[a][t].replace),{value:t,metrics:Tp(t,n,a)}},ma=function(t,n,a,s,l){var o=Sd(t,n,a),d=o.metrics;t=o.value;var f;if(d){var h=d.italic;(a==="text"||s&&s.font==="mathit")&&(h=0),f=new ra(t,d.height,d.depth,h,d.skew,d.width,l)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+t+"' in style '"+n+"' and mode '"+a+"'")),f=new ra(t,0,0,0,0,0,l);if(s){f.maxFontSize=s.sizeMultiplier,s.style.isTight()&&f.classes.push("mtight");var p=s.getColor();p&&(f.style.color=p)}return f},OI=function(t,n,a,s){return s===void 0&&(s=[]),a.font==="boldsymbol"&&Sd(t,"Main-Bold",n).metrics?ma(t,"Main-Bold",n,a,s.concat(["mathbf"])):t==="\\"||Zt[n][t].font==="main"?ma(t,"Main-Regular",n,a,s):ma(t,"AMS-Regular",n,a,s.concat(["amsrm"]))},RI=function(t,n,a,s,l){return l!=="textord"&&Sd(t,"Math-BoldItalic",n).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},MI=function(t,n,a){var s=t.mode,l=t.text,o=["mord"],d=s==="math"||s==="text"&&n.font,f=d?n.font:n.fontFamily,h="",p="";if(l.charCodeAt(0)===55349&&([h,p]=NI(l,s)),h.length>0)return ma(l,h,s,n,o.concat(p));if(f){var g,v;if(f==="boldsymbol"){var y=RI(l,s,n,o,a);g=y.fontName,v=[y.fontClass]}else d?(g=sv[f].fontName,v=[f]):(g=_0(f,n.fontWeight,n.fontShape),v=[f,n.fontWeight,n.fontShape]);if(Sd(l,g,s).metrics)return ma(l,g,s,n,o.concat(v));if(rv.hasOwnProperty(l)&&g.slice(0,10)==="Typewriter"){for(var S=[],w=0;w<l.length;w++)S.push(ma(l[w],g,s,n,o.concat(v)));return iv(S)}}if(a==="mathord")return ma(l,"Math-Italic",s,n,o.concat(["mathnormal"]));if(a==="textord"){var N=Zt[s][l]&&Zt[s][l].font;if(N==="ams"){var k=_0("amsrm",n.fontWeight,n.fontShape);return ma(l,k,s,n,o.concat("amsrm",n.fontWeight,n.fontShape))}else if(N==="main"||!N){var M=_0("textrm",n.fontWeight,n.fontShape);return ma(l,M,s,n,o.concat(n.fontWeight,n.fontShape))}else{var I=_0(N,n.fontWeight,n.fontShape);return ma(l,I,s,n,o.concat(I,n.fontWeight,n.fontShape))}}else throw new Error("unexpected type: "+a+" in makeOrd")},DI=(e,t)=>{if(is(e.classes)!==is(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 a in e.style)if(e.style.hasOwnProperty(a)&&e.style[a]!==t.style[a])return!1;for(var s in t.style)if(t.style.hasOwnProperty(s)&&e.style[s]!==t.style[s])return!1;return!0},II=e=>{for(var t=0;t<e.length-1;t++){var n=e[t],a=e[t+1];n instanceof ra&&a instanceof ra&&DI(n,a)&&(n.text+=a.text,n.height=Math.max(n.height,a.height),n.depth=Math.max(n.depth,a.depth),n.italic=a.italic,e.splice(t+1,1),t--)}return e},Sp=function(t){for(var n=0,a=0,s=0,l=0;l<t.children.length;l++){var o=t.children[l];o.height>n&&(n=o.height),o.depth>a&&(a=o.depth),o.maxFontSize>s&&(s=o.maxFontSize)}t.height=n,t.depth=a,t.maxFontSize=s},_r=function(t,n,a,s){var l=new jo(t,n,a,s);return Sp(l),l},av=(e,t,n,a)=>new jo(e,t,n,a),LI=function(t,n,a){var s=_r([t],[],n);return s.height=Math.max(a||n.fontMetrics().defaultRuleThickness,n.minRuleThickness),s.style.borderBottomWidth=Ie(s.height),s.maxFontSize=1,s},BI=function(t,n,a,s){var l=new _p(t,n,a,s);return Sp(l),l},iv=function(t){var n=new Yo(t);return Sp(n),n},PI=function(t,n){return t instanceof Yo?_r([],[t],n):t},UI=function(t){if(t.positionType==="individualShift"){for(var n=t.children,a=[n[0]],s=-n[0].shift-n[0].elem.depth,l=s,o=1;o<n.length;o++){var d=-n[o].shift-l-n[o].elem.depth,f=d-(n[o-1].elem.height+n[o-1].elem.depth);l=l+d,a.push({type:"kern",size:f}),a.push(n[o])}return{children:a,depth:s}}var h;if(t.positionType==="top"){for(var p=t.positionData,g=0;g<t.children.length;g++){var v=t.children[g];p-=v.type==="kern"?v.size:v.elem.height+v.elem.depth}h=p}else if(t.positionType==="bottom")h=-t.positionData;else{var y=t.children[0];if(y.type!=="elem")throw new Error('First child must have type "elem".');if(t.positionType==="shift")h=-y.elem.depth-t.positionData;else if(t.positionType==="firstBaseline")h=-y.elem.depth;else throw new Error("Invalid positionType "+t.positionType+".")}return{children:t.children,depth:h}},zI=function(t,n){for(var{children:a,depth:s}=UI(t),l=0,o=0;o<a.length;o++){var d=a[o];if(d.type==="elem"){var f=d.elem;l=Math.max(l,f.maxFontSize,f.height)}}l+=2;var h=_r(["pstrut"],[]);h.style.height=Ie(l);for(var p=[],g=s,v=s,y=s,S=0;S<a.length;S++){var w=a[S];if(w.type==="kern")y+=w.size;else{var N=w.elem,k=w.wrapperClasses||[],M=w.wrapperStyle||{},I=_r(k,[h,N],void 0,M);I.style.top=Ie(-l-y-N.depth),w.marginLeft&&(I.style.marginLeft=w.marginLeft),w.marginRight&&(I.style.marginRight=w.marginRight),p.push(I),y+=N.height+N.depth}g=Math.min(g,y),v=Math.max(v,y)}var X=_r(["vlist"],p);X.style.height=Ie(v);var G;if(g<0){var P=_r([],[]),Z=_r(["vlist"],[P]);Z.style.height=Ie(-g);var ne=_r(["vlist-s"],[new ra("")]);G=[_r(["vlist-r"],[X,ne]),_r(["vlist-r"],[Z])]}else G=[_r(["vlist-r"],[X])];var te=_r(["vlist-t"],G);return G.length===2&&te.classes.push("vlist-t2"),te.height=v,te.depth=-g,te},FI=(e,t)=>{var n=_r(["mspace"],[],t),a=gn(e,t);return n.style.marginRight=Ie(a),n},_0=function(t,n,a){var s="";switch(t){case"amsrm":s="AMS";break;case"textrm":s="Main";break;case"textsf":s="SansSerif";break;case"texttt":s="Typewriter";break;default:s=t}var l;return n==="textbf"&&a==="textit"?l="BoldItalic":n==="textbf"?l="Bold":n==="textit"?l="Italic":l="Regular",s+"-"+l},sv={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},lv={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},HI=function(t,n){var[a,s,l]=lv[t],o=new ss(a),d=new fi([o],{width:Ie(s),height:Ie(l),style:"width:"+Ie(s),viewBox:"0 0 "+1e3*s+" "+1e3*l,preserveAspectRatio:"xMinYMin"}),f=av(["overlay"],[d],n);return f.height=l,f.style.height=Ie(l),f.style.width=Ie(s),f},le={fontMap:sv,makeSymbol:ma,mathsym:OI,makeSpan:_r,makeSvgSpan:av,makeLineSpan:LI,makeAnchor:BI,makeFragment:iv,wrapFragment:PI,makeVList:zI,makeOrd:MI,makeGlue:FI,staticSvg:HI,svgData:lv,tryCombineChars:II},mn={number:3,unit:"mu"},Bs={number:4,unit:"mu"},ai={number:5,unit:"mu"},qI={mord:{mop:mn,mbin:Bs,mrel:ai,minner:mn},mop:{mord:mn,mop:mn,mrel:ai,minner:mn},mbin:{mord:Bs,mop:Bs,mopen:Bs,minner:Bs},mrel:{mord:ai,mop:ai,mopen:ai,minner:ai},mopen:{},mclose:{mop:mn,mbin:Bs,mrel:ai,minner:mn},mpunct:{mord:mn,mop:mn,mrel:ai,mopen:mn,mclose:mn,mpunct:mn,minner:mn},minner:{mord:mn,mop:mn,mbin:Bs,mrel:ai,mopen:mn,mpunct:mn,minner:mn}},YI={mord:{mop:mn},mop:{mord:mn,mop:mn},mbin:{},mrel:{},mopen:{},mclose:{mop:mn},mpunct:{},minner:{mop:mn}},uv={},nd={},rd={};function Ue(e){for(var{type:t,names:n,props:a,handler:s,htmlBuilder:l,mathmlBuilder:o}=e,d={type:t,numArgs:a.numArgs,argTypes:a.argTypes,allowedInArgument:!!a.allowedInArgument,allowedInText:!!a.allowedInText,allowedInMath:a.allowedInMath===void 0?!0:a.allowedInMath,numOptionalArgs:a.numOptionalArgs||0,infix:!!a.infix,primitive:!!a.primitive,handler:s},f=0;f<n.length;++f)uv[n[f]]=d;t&&(l&&(nd[t]=l),o&&(rd[t]=o))}function js(e){var{type:t,htmlBuilder:n,mathmlBuilder:a}=e;Ue({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:n,mathmlBuilder:a})}var ad=function(t){return t.type==="ordgroup"&&t.body.length===1?t.body[0]:t},xn=function(t){return t.type==="ordgroup"?t.body:[t]},hi=le.makeSpan,jI=["leftmost","mbin","mopen","mrel","mop","mpunct"],GI=["rightmost","mrel","mclose","mpunct"],VI={display:it.DISPLAY,text:it.TEXT,script:it.SCRIPT,scriptscript:it.SCRIPTSCRIPT},$I={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Pn=function(t,n,a,s){s===void 0&&(s=[null,null]);for(var l=[],o=0;o<t.length;o++){var d=Mt(t[o],n);if(d instanceof Yo){var f=d.children;l.push(...f)}else l.push(d)}if(le.tryCombineChars(l),!a)return l;var h=n;if(t.length===1){var p=t[0];p.type==="sizing"?h=n.havingSize(p.size):p.type==="styling"&&(h=n.havingStyle(VI[p.style]))}var g=hi([s[0]||"leftmost"],[],n),v=hi([s[1]||"rightmost"],[],n),y=a==="root";return o6(l,(S,w)=>{var N=w.classes[0],k=S.classes[0];N==="mbin"&&tt.contains(GI,k)?w.classes[0]="mord":k==="mbin"&&tt.contains(jI,N)&&(S.classes[0]="mord")},{node:g},v,y),o6(l,(S,w)=>{var N=bm(w),k=bm(S),M=N&&k?S.hasClass("mtight")?YI[N][k]:qI[N][k]:null;if(M)return le.makeGlue(M,h)},{node:g},v,y),l},o6=function e(t,n,a,s,l){s&&t.push(s);for(var o=0;o<t.length;o++){var d=t[o],f=ov(d);if(f){e(f.children,n,a,null,l);continue}var h=!d.hasClass("mspace");if(h){var p=n(d,a.node);p&&(a.insertAfter?a.insertAfter(p):(t.unshift(p),o++))}h?a.node=d:l&&d.hasClass("newline")&&(a.node=hi(["leftmost"])),a.insertAfter=(g=>v=>{t.splice(g+1,0,v),o++})(o)}s&&t.pop()},ov=function(t){return t instanceof Yo||t instanceof _p||t instanceof jo&&t.hasClass("enclosing")?t:null},KI=function e(t,n){var a=ov(t);if(a){var s=a.children;if(s.length){if(n==="right")return e(s[s.length-1],"right");if(n==="left")return e(s[0],"left")}}return t},bm=function(t,n){return t?(n&&(t=KI(t,n)),$I[t.classes[0]]||null):null},Ro=function(t,n){var a=["nulldelimiter"].concat(t.baseSizingClasses());return hi(n.concat(a))},Mt=function(t,n,a){if(!t)return hi();if(nd[t.type]){var s=nd[t.type](t,n);if(a&&n.size!==a.size){s=hi(n.sizingClasses(a),[s],n);var l=n.sizeMultiplier/a.sizeMultiplier;s.height*=l,s.depth*=l}return s}else throw new ke("Got group of unknown type: '"+t.type+"'")};function S0(e,t){var n=hi(["base"],e,t),a=hi(["strut"]);return a.style.height=Ie(n.height+n.depth),n.depth&&(a.style.verticalAlign=Ie(-n.depth)),n.children.unshift(a),n}function Em(e,t){var n=null;e.length===1&&e[0].type==="tag"&&(n=e[0].tag,e=e[0].body);var a=Pn(e,t,"root"),s;a.length===2&&a[1].hasClass("tag")&&(s=a.pop());for(var l=[],o=[],d=0;d<a.length;d++)if(o.push(a[d]),a[d].hasClass("mbin")||a[d].hasClass("mrel")||a[d].hasClass("allowbreak")){for(var f=!1;d<a.length-1&&a[d+1].hasClass("mspace")&&!a[d+1].hasClass("newline");)d++,o.push(a[d]),a[d].hasClass("nobreak")&&(f=!0);f||(l.push(S0(o,t)),o=[])}else a[d].hasClass("newline")&&(o.pop(),o.length>0&&(l.push(S0(o,t)),o=[]),l.push(a[d]));o.length>0&&l.push(S0(o,t));var h;n?(h=S0(Pn(n,t,!0)),h.classes=["tag"],l.push(h)):s&&l.push(s);var p=hi(["katex-html"],l);if(p.setAttribute("aria-hidden","true"),h){var g=h.children[0];g.style.height=Ie(p.height+p.depth),p.depth&&(g.style.verticalAlign=Ie(-p.depth))}return p}function cv(e){return new Yo(e)}class zr{constructor(t,n,a){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=a||[]}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=is(this.classes));for(var a=0;a<this.children.length;a++)if(this.children[a]instanceof Ma&&this.children[a+1]instanceof Ma){for(var s=this.children[a].toText()+this.children[++a].toText();this.children[a+1]instanceof Ma;)s+=this.children[++a].toText();t.appendChild(new Ma(s).toNode())}else t.appendChild(this.children[a].toNode());return t}toMarkup(){var t="<"+this.type;for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&(t+=" "+n+'="',t+=tt.escape(this.attributes[n]),t+='"');this.classes.length>0&&(t+=' class ="'+tt.escape(is(this.classes))+'"'),t+=">";for(var a=0;a<this.children.length;a++)t+=this.children[a].toMarkup();return t+="</"+this.type+">",t}toText(){return this.children.map(t=>t.toText()).join("")}}class Ma{constructor(t){this.text=void 0,this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return tt.escape(this.toText())}toText(){return this.text}}class XI{constructor(t){this.width=void 0,this.character=void 0,this.width=t,t>=.05555&&t<=.05556?this.character=" ":t>=.1666&&t<=.1667?this.character=" ":t>=.2222&&t<=.2223?this.character=" ":t>=.2777&&t<=.2778?this.character=" ":t>=-.05556&&t<=-.05555?this.character=" ":t>=-.1667&&t<=-.1666?this.character=" ":t>=-.2223&&t<=-.2222?this.character=" ":t>=-.2778&&t<=-.2777?this.character=" ":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",Ie(this.width)),t}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+Ie(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var Ce={MathNode:zr,TextNode:Ma,SpaceNode:XI,newDocumentFragment:cv},aa=function(t,n,a){return Zt[n][t]&&Zt[n][t].replace&&t.charCodeAt(0)!==55349&&!(rv.hasOwnProperty(t)&&a&&(a.fontFamily&&a.fontFamily.slice(4,6)==="tt"||a.font&&a.font.slice(4,6)==="tt"))&&(t=Zt[n][t].replace),new Ce.TextNode(t)},xp=function(t){return t.length===1?t[0]:new Ce.MathNode("mrow",t)},Ap=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 a=n.font;if(!a||a==="mathnormal")return null;var s=t.mode;if(a==="mathit")return"italic";if(a==="boldsymbol")return t.type==="textord"?"bold":"bold-italic";if(a==="mathbf")return"bold";if(a==="mathbb")return"double-struck";if(a==="mathsfit")return"sans-serif-italic";if(a==="mathfrak")return"fraktur";if(a==="mathscr"||a==="mathcal")return"script";if(a==="mathsf")return"sans-serif";if(a==="mathtt")return"monospace";var l=t.text;if(tt.contains(["\\imath","\\jmath"],l))return null;Zt[s][l]&&Zt[s][l].replace&&(l=Zt[s][l].replace);var o=le.fontMap[a].fontName;return Tp(l,o,s)?le.fontMap[a].variant:null};function y1(e){if(!e)return!1;if(e.type==="mi"&&e.children.length===1){var t=e.children[0];return t instanceof Ma&&t.text==="."}else if(e.type==="mo"&&e.children.length===1&&e.getAttribute("separator")==="true"&&e.getAttribute("lspace")==="0em"&&e.getAttribute("rspace")==="0em"){var n=e.children[0];return n instanceof Ma&&n.text===","}else return!1}var xr=function(t,n,a){if(t.length===1){var s=Kt(t[0],n);return a&&s instanceof zr&&s.type==="mo"&&(s.setAttribute("lspace","0em"),s.setAttribute("rspace","0em")),[s]}for(var l=[],o,d=0;d<t.length;d++){var f=Kt(t[d],n);if(f instanceof zr&&o instanceof zr){if(f.type==="mtext"&&o.type==="mtext"&&f.getAttribute("mathvariant")===o.getAttribute("mathvariant")){o.children.push(...f.children);continue}else if(f.type==="mn"&&o.type==="mn"){o.children.push(...f.children);continue}else if(y1(f)&&o.type==="mn"){o.children.push(...f.children);continue}else if(f.type==="mn"&&y1(o))f.children=[...o.children,...f.children],l.pop();else if((f.type==="msup"||f.type==="msub")&&f.children.length>=1&&(o.type==="mn"||y1(o))){var h=f.children[0];h instanceof zr&&h.type==="mn"&&(h.children=[...o.children,...h.children],l.pop())}else if(o.type==="mi"&&o.children.length===1){var p=o.children[0];if(p instanceof Ma&&p.text==="̸"&&(f.type==="mo"||f.type==="mi"||f.type==="mn")){var g=f.children[0];g instanceof Ma&&g.text.length>0&&(g.text=g.text.slice(0,1)+"̸"+g.text.slice(1),l.pop())}}}l.push(f),o=f}return l},ls=function(t,n,a){return xp(xr(t,n,a))},Kt=function(t,n){if(!t)return new Ce.MathNode("mrow");if(rd[t.type]){var a=rd[t.type](t,n);return a}else throw new ke("Got group of unknown type: '"+t.type+"'")};function c6(e,t,n,a,s){var l=xr(e,n),o;l.length===1&&l[0]instanceof zr&&tt.contains(["mrow","mtable"],l[0].type)?o=l[0]:o=new Ce.MathNode("mrow",l);var d=new Ce.MathNode("annotation",[new Ce.TextNode(t)]);d.setAttribute("encoding","application/x-tex");var f=new Ce.MathNode("semantics",[o,d]),h=new Ce.MathNode("math",[f]);h.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),a&&h.setAttribute("display","block");var p=s?"katex":"katex-mathml";return le.makeSpan([p],[h])}var dv=function(t){return new si({style:t.displayMode?it.DISPLAY:it.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},fv=function(t,n){if(n.displayMode){var a=["katex-display"];n.leqno&&a.push("leqno"),n.fleqn&&a.push("fleqn"),t=le.makeSpan(a,[t])}return t},WI=function(t,n,a){var s=dv(a),l;if(a.output==="mathml")return c6(t,n,s,a.displayMode,!0);if(a.output==="html"){var o=Em(t,s);l=le.makeSpan(["katex"],[o])}else{var d=c6(t,n,s,a.displayMode,!1),f=Em(t,s);l=le.makeSpan(["katex"],[d,f])}return fv(l,a)},QI=function(t,n,a){var s=dv(a),l=Em(t,s),o=le.makeSpan(["katex"],[l]);return fv(o,a)},ZI={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},JI=function(t){var n=new Ce.MathNode("mo",[new Ce.TextNode(ZI[t.replace(/^\\/,"")])]);return n.setAttribute("stretchy","true"),n},eL={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]},tL=function(t){return t.type==="ordgroup"?t.body.length:1},nL=function(t,n){function a(){var d=4e5,f=t.label.slice(1);if(tt.contains(["widehat","widecheck","widetilde","utilde"],f)){var h=t,p=tL(h.base),g,v,y;if(p>5)f==="widehat"||f==="widecheck"?(g=420,d=2364,y=.42,v=f+"4"):(g=312,d=2340,y=.34,v="tilde4");else{var S=[1,1,2,2,3,3][p];f==="widehat"||f==="widecheck"?(d=[0,1062,2364,2364,2364][S],g=[0,239,300,360,420][S],y=[0,.24,.3,.3,.36,.42][S],v=f+S):(d=[0,600,1033,2339,2340][S],g=[0,260,286,306,312][S],y=[0,.26,.286,.3,.306,.34][S],v="tilde"+S)}var w=new ss(v),N=new fi([w],{width:"100%",height:Ie(y),viewBox:"0 0 "+d+" "+g,preserveAspectRatio:"none"});return{span:le.makeSvgSpan([],[N],n),minWidth:0,height:y}}else{var k=[],M=eL[f],[I,X,G]=M,P=G/1e3,Z=I.length,ne,te;if(Z===1){var Y=M[3];ne=["hide-tail"],te=[Y]}else if(Z===2)ne=["halfarrow-left","halfarrow-right"],te=["xMinYMin","xMaxYMin"];else if(Z===3)ne=["brace-left","brace-center","brace-right"],te=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
|
|
350
|
-
`+Z+" children.");for(var ee=0;ee<Z;ee++){var re=new ss(I[ee]),ge=new fi([re],{width:"400em",height:Ie(P),viewBox:"0 0 "+d+" "+G,preserveAspectRatio:te[ee]+" slice"}),oe=le.makeSvgSpan([ne[ee]],[ge],n);if(Z===1)return{span:oe,minWidth:X,height:P};oe.style.height=Ie(P),k.push(oe)}return{span:le.makeSpan(["stretchy"],k,n),minWidth:X,height:P}}}var{span:s,minWidth:l,height:o}=a();return s.height=o,s.style.height=Ie(o),l>0&&(s.style.minWidth=Ie(l)),s},rL=function(t,n,a,s,l){var o,d=t.height+t.depth+a+s;if(/fbox|color|angl/.test(n)){if(o=le.makeSpan(["stretchy",n],[],l),n==="fbox"){var f=l.color&&l.getColor();f&&(o.style.borderColor=f)}}else{var h=[];/^[bx]cancel$/.test(n)&&h.push(new pm({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(n)&&h.push(new pm({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var p=new fi(h,{width:"100%",height:Ie(d)});o=le.makeSvgSpan([],[p],l)}return o.height=d,o.style.height=Ie(d),o},mi={encloseSpan:rL,mathMLnode:JI,svgSpan:nL};function yt(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 wp(e){var t=xd(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 xd(e){return e&&(e.type==="atom"||kI.hasOwnProperty(e.type))?e:null}var Cp=(e,t)=>{var n,a,s;e&&e.type==="supsub"?(a=yt(e.base,"accent"),n=a.base,e.base=n,s=wI(Mt(e,t)),e.base=a):(a=yt(e,"accent"),n=a.base);var l=Mt(n,t.havingCrampedStyle()),o=a.isShifty&&tt.isCharacterBox(n),d=0;if(o){var f=tt.getBaseElem(n),h=Mt(f,t.havingCrampedStyle());d=r6(h).skew}var p=a.label==="\\c",g=p?l.height+l.depth:Math.min(l.height,t.fontMetrics().xHeight),v;if(a.isStretchy)v=mi.svgSpan(a,t),v=le.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"elem",elem:v,wrapperClasses:["svg-align"],wrapperStyle:d>0?{width:"calc(100% - "+Ie(2*d)+")",marginLeft:Ie(2*d)}:void 0}]},t);else{var y,S;a.label==="\\vec"?(y=le.staticSvg("vec",t),S=le.svgData.vec[1]):(y=le.makeOrd({mode:a.mode,text:a.label},t,"textord"),y=r6(y),y.italic=0,S=y.width,p&&(g+=y.depth)),v=le.makeSpan(["accent-body"],[y]);var w=a.label==="\\textcircled";w&&(v.classes.push("accent-full"),g=l.height);var N=d;w||(N-=S/2),v.style.left=Ie(N),a.label==="\\textcircled"&&(v.style.top=".2em"),v=le.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:-g},{type:"elem",elem:v}]},t)}var k=le.makeSpan(["mord","accent"],[v],t);return s?(s.children[0]=k,s.height=Math.max(k.height,s.height),s.classes[0]="mord",s):k},hv=(e,t)=>{var n=e.isStretchy?mi.mathMLnode(e.label):new Ce.MathNode("mo",[aa(e.label,e.mode)]),a=new Ce.MathNode("mover",[Kt(e.base,t),n]);return a.setAttribute("accent","true"),a},aL=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));Ue({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=ad(t[0]),a=!aL.test(e.funcName),s=!a||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:a,isShifty:s,base:n}},htmlBuilder:Cp,mathmlBuilder:hv});Ue({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],a=e.parser.mode;return a==="math"&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),a="text"),{type:"accent",mode:a,label:e.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:Cp,mathmlBuilder:hv});Ue({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:n,funcName:a}=e,s=t[0];return{type:"accentUnder",mode:n.mode,label:a,base:s}},htmlBuilder:(e,t)=>{var n=Mt(e.base,t),a=mi.svgSpan(e,t),s=e.label==="\\utilde"?.12:0,l=le.makeVList({positionType:"top",positionData:n.height,children:[{type:"elem",elem:a,wrapperClasses:["svg-align"]},{type:"kern",size:s},{type:"elem",elem:n}]},t);return le.makeSpan(["mord","accentunder"],[l],t)},mathmlBuilder:(e,t)=>{var n=mi.mathMLnode(e.label),a=new Ce.MathNode("munder",[Kt(e.base,t),n]);return a.setAttribute("accentunder","true"),a}});var x0=e=>{var t=new Ce.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};Ue({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:a,funcName:s}=e;return{type:"xArrow",mode:a.mode,label:s,body:t[0],below:n[0]}},htmlBuilder(e,t){var n=t.style,a=t.havingStyle(n.sup()),s=le.wrapFragment(Mt(e.body,a,t),t),l=e.label.slice(0,2)==="\\x"?"x":"cd";s.classes.push(l+"-arrow-pad");var o;e.below&&(a=t.havingStyle(n.sub()),o=le.wrapFragment(Mt(e.below,a,t),t),o.classes.push(l+"-arrow-pad"));var d=mi.svgSpan(e,t),f=-t.fontMetrics().axisHeight+.5*d.height,h=-t.fontMetrics().axisHeight-.5*d.height-.111;(s.depth>.25||e.label==="\\xleftequilibrium")&&(h-=s.depth);var p;if(o){var g=-t.fontMetrics().axisHeight+o.height+.5*d.height+.111;p=le.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:h},{type:"elem",elem:d,shift:f},{type:"elem",elem:o,shift:g}]},t)}else p=le.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:h},{type:"elem",elem:d,shift:f}]},t);return p.children[0].children[0].children[1].classes.push("svg-align"),le.makeSpan(["mrel","x-arrow"],[p],t)},mathmlBuilder(e,t){var n=mi.mathMLnode(e.label);n.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var a;if(e.body){var s=x0(Kt(e.body,t));if(e.below){var l=x0(Kt(e.below,t));a=new Ce.MathNode("munderover",[n,l,s])}else a=new Ce.MathNode("mover",[n,s])}else if(e.below){var o=x0(Kt(e.below,t));a=new Ce.MathNode("munder",[n,o])}else a=x0(),a=new Ce.MathNode("mover",[n,a]);return a}});var iL=le.makeSpan;function mv(e,t){var n=Pn(e.body,t,!0);return iL([e.mclass],n,t)}function pv(e,t){var n,a=xr(e.body,t);return e.mclass==="minner"?n=new Ce.MathNode("mpadded",a):e.mclass==="mord"?e.isCharacterBox?(n=a[0],n.type="mi"):n=new Ce.MathNode("mi",a):(e.isCharacterBox?(n=a[0],n.type="mo"):n=new Ce.MathNode("mo",a),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}Ue({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:n,funcName:a}=e,s=t[0];return{type:"mclass",mode:n.mode,mclass:"m"+a.slice(5),body:xn(s),isCharacterBox:tt.isCharacterBox(s)}},htmlBuilder:mv,mathmlBuilder:pv});var Ad=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"};Ue({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:n}=e;return{type:"mclass",mode:n.mode,mclass:Ad(t[0]),body:xn(t[1]),isCharacterBox:tt.isCharacterBox(t[1])}}});Ue({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var{parser:n,funcName:a}=e,s=t[1],l=t[0],o;a!=="\\stackrel"?o=Ad(s):o="mrel";var d={type:"op",mode:s.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:a!=="\\stackrel",body:xn(s)},f={type:"supsub",mode:l.mode,base:d,sup:a==="\\underset"?null:l,sub:a==="\\underset"?l:null};return{type:"mclass",mode:n.mode,mclass:o,body:[f],isCharacterBox:tt.isCharacterBox(f)}},htmlBuilder:mv,mathmlBuilder:pv});Ue({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"pmb",mode:n.mode,mclass:Ad(t[0]),body:xn(t[0])}},htmlBuilder(e,t){var n=Pn(e.body,t,!0),a=le.makeSpan([e.mclass],n,t);return a.style.textShadow="0.02em 0.01em 0.04px",a},mathmlBuilder(e,t){var n=xr(e.body,t),a=new Ce.MathNode("mstyle",n);return a.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),a}});var sL={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},d6=()=>({type:"styling",body:[],mode:"math",style:"display"}),f6=e=>e.type==="textord"&&e.text==="@",lL=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function uL(e,t,n){var a=sL[e];switch(a){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return n.callFunction(a,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":{var s=n.callFunction("\\\\cdleft",[t[0]],[]),l={type:"atom",text:a,mode:"math",family:"rel"},o=n.callFunction("\\Big",[l],[]),d=n.callFunction("\\\\cdright",[t[1]],[]),f={type:"ordgroup",mode:"math",body:[s,o,d]};return n.callFunction("\\\\cdparent",[f],[])}case"\\\\cdlongequal":return n.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var h={type:"textord",text:"\\Vert",mode:"math"};return n.callFunction("\\Big",[h],[])}default:return{type:"textord",text:" ",mode:"math"}}}function oL(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 ke("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var a=[],s=[a],l=0;l<t.length;l++){for(var o=t[l],d=d6(),f=0;f<o.length;f++)if(!f6(o[f]))d.body.push(o[f]);else{a.push(d),f+=1;var h=wp(o[f]).text,p=new Array(2);if(p[0]={type:"ordgroup",mode:"math",body:[]},p[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(h)>-1))if("<>AV".indexOf(h)>-1)for(var g=0;g<2;g++){for(var v=!0,y=f+1;y<o.length;y++){if(lL(o[y],h)){v=!1,f=y;break}if(f6(o[y]))throw new ke("Missing a "+h+" character to complete a CD arrow.",o[y]);p[g].body.push(o[y])}if(v)throw new ke("Missing a "+h+" character to complete a CD arrow.",o[f])}else throw new ke('Expected one of "<>AV=|." after @',o[f]);var S=uL(h,p,e),w={type:"styling",body:[S],mode:"math",style:"display"};a.push(w),d=d6()}l%2===0?a.push(d):a.shift(),a=[],s.push(a)}e.gullet.endGroup(),e.gullet.endGroup();var N=new Array(s[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:s,arraystretch:1,addJot:!0,rowGaps:[null],cols:N,colSeparationType:"CD",hLinesBeforeRow:new Array(s.length+1).fill([])}}Ue({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:a}=e;return{type:"cdlabel",mode:n.mode,side:a.slice(4),label:t[0]}},htmlBuilder(e,t){var n=t.havingStyle(t.style.sup()),a=le.wrapFragment(Mt(e.label,n,t),t);return a.classes.push("cd-label-"+e.side),a.style.bottom=Ie(.8-a.depth),a.height=0,a.depth=0,a},mathmlBuilder(e,t){var n=new Ce.MathNode("mrow",[Kt(e.label,t)]);return n=new Ce.MathNode("mpadded",[n]),n.setAttribute("width","0"),e.side==="left"&&n.setAttribute("lspace","-1width"),n.setAttribute("voffset","0.7em"),n=new Ce.MathNode("mstyle",[n]),n.setAttribute("displaystyle","false"),n.setAttribute("scriptlevel","1"),n}});Ue({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=le.wrapFragment(Mt(e.fragment,t),t);return n.classes.push("cd-vert-arrow"),n},mathmlBuilder(e,t){return new Ce.MathNode("mrow",[Kt(e.fragment,t)])}});Ue({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:n}=e,a=yt(t[0],"ordgroup"),s=a.body,l="",o=0;o<s.length;o++){var d=yt(s[o],"textord");l+=d.text}var f=parseInt(l),h;if(isNaN(f))throw new ke("\\@char has non-numeric argument "+l);if(f<0||f>=1114111)throw new ke("\\@char with invalid code point "+l);return f<=65535?h=String.fromCharCode(f):(f-=65536,h=String.fromCharCode((f>>10)+55296,(f&1023)+56320)),{type:"textord",mode:n.mode,text:h}}});var gv=(e,t)=>{var n=Pn(e.body,t.withColor(e.color),!1);return le.makeFragment(n)},bv=(e,t)=>{var n=xr(e.body,t.withColor(e.color)),a=new Ce.MathNode("mstyle",n);return a.setAttribute("mathcolor",e.color),a};Ue({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:n}=e,a=yt(t[0],"color-token").color,s=t[1];return{type:"color",mode:n.mode,color:a,body:xn(s)}},htmlBuilder:gv,mathmlBuilder:bv});Ue({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:n,breakOnTokenText:a}=e,s=yt(t[0],"color-token").color;n.gullet.macros.set("\\current@color",s);var l=n.parseExpression(!0,a);return{type:"color",mode:n.mode,color:s,body:l}},htmlBuilder:gv,mathmlBuilder:bv});Ue({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,n){var{parser:a}=e,s=a.gullet.future().text==="["?a.parseSizeGroup(!0):null,l=!a.settings.displayMode||!a.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:a.mode,newLine:l,size:s&&yt(s,"size").value}},htmlBuilder(e,t){var n=le.makeSpan(["mspace"],[],t);return e.newLine&&(n.classes.push("newline"),e.size&&(n.style.marginTop=Ie(gn(e.size,t)))),n},mathmlBuilder(e,t){var n=new Ce.MathNode("mspace");return e.newLine&&(n.setAttribute("linebreak","newline"),e.size&&n.setAttribute("height",Ie(gn(e.size,t)))),n}});var ym={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},Ev=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new ke("Expected a control sequence",e);return t},cL=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},yv=(e,t,n,a)=>{var s=e.gullet.macros.get(n.text);s==null&&(n.noexpand=!0,s={tokens:[n],numArgs:0,unexpandable:!e.gullet.isExpandable(n.text)}),e.gullet.macros.set(t,s,a)};Ue({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:n}=e;t.consumeSpaces();var a=t.fetch();if(ym[a.text])return(n==="\\global"||n==="\\\\globallong")&&(a.text=ym[a.text]),yt(t.parseFunction(),"internal");throw new ke("Invalid token after macro prefix",a)}});Ue({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,a=t.gullet.popToken(),s=a.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(s))throw new ke("Expected a control sequence",a);for(var l=0,o,d=[[]];t.gullet.future().text!=="{";)if(a=t.gullet.popToken(),a.text==="#"){if(t.gullet.future().text==="{"){o=t.gullet.future(),d[l].push("{");break}if(a=t.gullet.popToken(),!/^[1-9]$/.test(a.text))throw new ke('Invalid argument number "'+a.text+'"');if(parseInt(a.text)!==l+1)throw new ke('Argument number "'+a.text+'" out of order');l++,d.push([])}else{if(a.text==="EOF")throw new ke("Expected a macro definition");d[l].push(a.text)}var{tokens:f}=t.gullet.consumeArg();return o&&f.unshift(o),(n==="\\edef"||n==="\\xdef")&&(f=t.gullet.expandTokens(f),f.reverse()),t.gullet.macros.set(s,{tokens:f,numArgs:l,delimiters:d},n===ym[n]),{type:"internal",mode:t.mode}}});Ue({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,a=Ev(t.gullet.popToken());t.gullet.consumeSpaces();var s=cL(t);return yv(t,a,s,n==="\\\\globallet"),{type:"internal",mode:t.mode}}});Ue({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,a=Ev(t.gullet.popToken()),s=t.gullet.popToken(),l=t.gullet.popToken();return yv(t,a,l,n==="\\\\globalfuture"),t.gullet.pushToken(l),t.gullet.pushToken(s),{type:"internal",mode:t.mode}}});var fo=function(t,n,a){var s=Zt.math[t]&&Zt.math[t].replace,l=Tp(s||t,n,a);if(!l)throw new Error("Unsupported symbol "+t+" and font size "+n+".");return l},kp=function(t,n,a,s){var l=a.havingBaseStyle(n),o=le.makeSpan(s.concat(l.sizingClasses(a)),[t],a),d=l.sizeMultiplier/a.sizeMultiplier;return o.height*=d,o.depth*=d,o.maxFontSize=l.sizeMultiplier,o},vv=function(t,n,a){var s=n.havingBaseStyle(a),l=(1-n.sizeMultiplier/s.sizeMultiplier)*n.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=Ie(l),t.height-=l,t.depth+=l},dL=function(t,n,a,s,l,o){var d=le.makeSymbol(t,"Main-Regular",l,s),f=kp(d,n,s,o);return a&&vv(f,s,n),f},fL=function(t,n,a,s){return le.makeSymbol(t,"Size"+n+"-Regular",a,s)},Tv=function(t,n,a,s,l,o){var d=fL(t,n,l,s),f=kp(le.makeSpan(["delimsizing","size"+n],[d],s),it.TEXT,s,o);return a&&vv(f,s,it.TEXT),f},v1=function(t,n,a){var s;n==="Size1-Regular"?s="delim-size1":s="delim-size4";var l=le.makeSpan(["delimsizinginner",s],[le.makeSpan([],[le.makeSymbol(t,n,a)])]);return{type:"elem",elem:l}},T1=function(t,n,a){var s=Ra["Size4-Regular"][t.charCodeAt(0)]?Ra["Size4-Regular"][t.charCodeAt(0)][4]:Ra["Size1-Regular"][t.charCodeAt(0)][4],l=new ss("inner",bI(t,Math.round(1e3*n))),o=new fi([l],{width:Ie(s),height:Ie(n),style:"width:"+Ie(s),viewBox:"0 0 "+1e3*s+" "+Math.round(1e3*n),preserveAspectRatio:"xMinYMin"}),d=le.makeSvgSpan([],[o],a);return d.height=n,d.style.height=Ie(n),d.style.width=Ie(s),{type:"elem",elem:d}},vm=.008,A0={type:"kern",size:-1*vm},hL=["|","\\lvert","\\rvert","\\vert"],mL=["\\|","\\lVert","\\rVert","\\Vert"],_v=function(t,n,a,s,l,o){var d,f,h,p,g="",v=0;d=h=p=t,f=null;var y="Size1-Regular";t==="\\uparrow"?h=p="⏐":t==="\\Uparrow"?h=p="‖":t==="\\downarrow"?d=h="⏐":t==="\\Downarrow"?d=h="‖":t==="\\updownarrow"?(d="\\uparrow",h="⏐",p="\\downarrow"):t==="\\Updownarrow"?(d="\\Uparrow",h="‖",p="\\Downarrow"):tt.contains(hL,t)?(h="∣",g="vert",v=333):tt.contains(mL,t)?(h="∥",g="doublevert",v=556):t==="["||t==="\\lbrack"?(d="⎡",h="⎢",p="⎣",y="Size4-Regular",g="lbrack",v=667):t==="]"||t==="\\rbrack"?(d="⎤",h="⎥",p="⎦",y="Size4-Regular",g="rbrack",v=667):t==="\\lfloor"||t==="⌊"?(h=d="⎢",p="⎣",y="Size4-Regular",g="lfloor",v=667):t==="\\lceil"||t==="⌈"?(d="⎡",h=p="⎢",y="Size4-Regular",g="lceil",v=667):t==="\\rfloor"||t==="⌋"?(h=d="⎥",p="⎦",y="Size4-Regular",g="rfloor",v=667):t==="\\rceil"||t==="⌉"?(d="⎤",h=p="⎥",y="Size4-Regular",g="rceil",v=667):t==="("||t==="\\lparen"?(d="⎛",h="⎜",p="⎝",y="Size4-Regular",g="lparen",v=875):t===")"||t==="\\rparen"?(d="⎞",h="⎟",p="⎠",y="Size4-Regular",g="rparen",v=875):t==="\\{"||t==="\\lbrace"?(d="⎧",f="⎨",p="⎩",h="⎪",y="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(d="⎫",f="⎬",p="⎭",h="⎪",y="Size4-Regular"):t==="\\lgroup"||t==="⟮"?(d="⎧",p="⎩",h="⎪",y="Size4-Regular"):t==="\\rgroup"||t==="⟯"?(d="⎫",p="⎭",h="⎪",y="Size4-Regular"):t==="\\lmoustache"||t==="⎰"?(d="⎧",p="⎭",h="⎪",y="Size4-Regular"):(t==="\\rmoustache"||t==="⎱")&&(d="⎫",p="⎩",h="⎪",y="Size4-Regular");var S=fo(d,y,l),w=S.height+S.depth,N=fo(h,y,l),k=N.height+N.depth,M=fo(p,y,l),I=M.height+M.depth,X=0,G=1;if(f!==null){var P=fo(f,y,l);X=P.height+P.depth,G=2}var Z=w+I+X,ne=Math.max(0,Math.ceil((n-Z)/(G*k))),te=Z+ne*G*k,Y=s.fontMetrics().axisHeight;a&&(Y*=s.sizeMultiplier);var ee=te/2-Y,re=[];if(g.length>0){var ge=te-w-I,oe=Math.round(te*1e3),pe=EI(g,Math.round(ge*1e3)),W=new ss(g,pe),he=(v/1e3).toFixed(3)+"em",ye=(oe/1e3).toFixed(3)+"em",He=new fi([W],{width:he,height:ye,viewBox:"0 0 "+v+" "+oe}),A=le.makeSvgSpan([],[He],s);A.height=oe/1e3,A.style.width=he,A.style.height=ye,re.push({type:"elem",elem:A})}else{if(re.push(v1(p,y,l)),re.push(A0),f===null){var Q=te-w-I+2*vm;re.push(T1(h,Q,s))}else{var de=(te-w-I-X)/2+2*vm;re.push(T1(h,de,s)),re.push(A0),re.push(v1(f,y,l)),re.push(A0),re.push(T1(h,de,s))}re.push(A0),re.push(v1(d,y,l))}var D=s.havingBaseStyle(it.TEXT),De=le.makeVList({positionType:"bottom",positionData:ee,children:re},D);return kp(le.makeSpan(["delimsizing","mult"],[De],D),it.TEXT,s,o)},_1=80,S1=.08,x1=function(t,n,a,s,l){var o=gI(t,s,a),d=new ss(t,o),f=new fi([d],{width:"400em",height:Ie(n),viewBox:"0 0 400000 "+a,preserveAspectRatio:"xMinYMin slice"});return le.makeSvgSpan(["hide-tail"],[f],l)},pL=function(t,n){var a=n.havingBaseSizing(),s=wv("\\surd",t*a.sizeMultiplier,Av,a),l=a.sizeMultiplier,o=Math.max(0,n.minRuleThickness-n.fontMetrics().sqrtRuleThickness),d,f=0,h=0,p=0,g;return s.type==="small"?(p=1e3+1e3*o+_1,t<1?l=1:t<1.4&&(l=.7),f=(1+o+S1)/l,h=(1+o)/l,d=x1("sqrtMain",f,p,o,n),d.style.minWidth="0.853em",g=.833/l):s.type==="large"?(p=(1e3+_1)*To[s.size],h=(To[s.size]+o)/l,f=(To[s.size]+o+S1)/l,d=x1("sqrtSize"+s.size,f,p,o,n),d.style.minWidth="1.02em",g=1/l):(f=t+o+S1,h=t+o,p=Math.floor(1e3*t+o)+_1,d=x1("sqrtTall",f,p,o,n),d.style.minWidth="0.742em",g=1.056),d.height=h,d.style.height=Ie(f),{span:d,advanceWidth:g,ruleWidth:(n.fontMetrics().sqrtRuleThickness+o)*l}},Sv=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],gL=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],xv=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],To=[0,1.2,1.8,2.4,3],bL=function(t,n,a,s,l){if(t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle"),tt.contains(Sv,t)||tt.contains(xv,t))return Tv(t,n,!1,a,s,l);if(tt.contains(gL,t))return _v(t,To[n],!1,a,s,l);throw new ke("Illegal delimiter: '"+t+"'")},EL=[{type:"small",style:it.SCRIPTSCRIPT},{type:"small",style:it.SCRIPT},{type:"small",style:it.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],yL=[{type:"small",style:it.SCRIPTSCRIPT},{type:"small",style:it.SCRIPT},{type:"small",style:it.TEXT},{type:"stack"}],Av=[{type:"small",style:it.SCRIPTSCRIPT},{type:"small",style:it.SCRIPT},{type:"small",style:it.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],vL=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.")},wv=function(t,n,a,s){for(var l=Math.min(2,3-s.style.size),o=l;o<a.length&&a[o].type!=="stack";o++){var d=fo(t,vL(a[o]),"math"),f=d.height+d.depth;if(a[o].type==="small"){var h=s.havingBaseStyle(a[o].style);f*=h.sizeMultiplier}if(f>n)return a[o]}return a[a.length-1]},Cv=function(t,n,a,s,l,o){t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle");var d;tt.contains(xv,t)?d=EL:tt.contains(Sv,t)?d=Av:d=yL;var f=wv(t,n,d,s);return f.type==="small"?dL(t,f.style,a,s,l,o):f.type==="large"?Tv(t,f.size,a,s,l,o):_v(t,n,a,s,l,o)},TL=function(t,n,a,s,l,o){var d=s.fontMetrics().axisHeight*s.sizeMultiplier,f=901,h=5/s.fontMetrics().ptPerEm,p=Math.max(n-d,a+d),g=Math.max(p/500*f,2*p-h);return Cv(t,g,!0,s,l,o)},ci={sqrtImage:pL,sizedDelim:bL,sizeToMaxHeight:To,customSizedDelim:Cv,leftRightDelim:TL},h6={"\\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}},_L=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function wd(e,t){var n=xd(e);if(n&&tt.contains(_L,n.text))return n;throw n?new ke("Invalid delimiter '"+n.text+"' after '"+t.funcName+"'",e):new ke("Invalid delimiter type '"+e.type+"'",e)}Ue({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=wd(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:h6[e.funcName].size,mclass:h6[e.funcName].mclass,delim:n.text}},htmlBuilder:(e,t)=>e.delim==="."?le.makeSpan([e.mclass]):ci.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push(aa(e.delim,e.mode));var n=new Ce.MathNode("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n.setAttribute("stretchy","true");var a=Ie(ci.sizeToMaxHeight[e.size]);return n.setAttribute("minsize",a),n.setAttribute("maxsize",a),n}});function m6(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Ue({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 ke("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:wd(t[0],e).text,color:n}}});Ue({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=wd(t[0],e),a=e.parser;++a.leftrightDepth;var s=a.parseExpression(!1);--a.leftrightDepth,a.expect("\\right",!1);var l=yt(a.parseFunction(),"leftright-right");return{type:"leftright",mode:a.mode,body:s,left:n.text,right:l.delim,rightColor:l.color}},htmlBuilder:(e,t)=>{m6(e);for(var n=Pn(e.body,t,!0,["mopen","mclose"]),a=0,s=0,l=!1,o=0;o<n.length;o++)n[o].isMiddle?l=!0:(a=Math.max(n[o].height,a),s=Math.max(n[o].depth,s));a*=t.sizeMultiplier,s*=t.sizeMultiplier;var d;if(e.left==="."?d=Ro(t,["mopen"]):d=ci.leftRightDelim(e.left,a,s,t,e.mode,["mopen"]),n.unshift(d),l)for(var f=1;f<n.length;f++){var h=n[f],p=h.isMiddle;p&&(n[f]=ci.leftRightDelim(p.delim,a,s,p.options,e.mode,[]))}var g;if(e.right===".")g=Ro(t,["mclose"]);else{var v=e.rightColor?t.withColor(e.rightColor):t;g=ci.leftRightDelim(e.right,a,s,v,e.mode,["mclose"])}return n.push(g),le.makeSpan(["minner"],n,t)},mathmlBuilder:(e,t)=>{m6(e);var n=xr(e.body,t);if(e.left!=="."){var a=new Ce.MathNode("mo",[aa(e.left,e.mode)]);a.setAttribute("fence","true"),n.unshift(a)}if(e.right!=="."){var s=new Ce.MathNode("mo",[aa(e.right,e.mode)]);s.setAttribute("fence","true"),e.rightColor&&s.setAttribute("mathcolor",e.rightColor),n.push(s)}return xp(n)}});Ue({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=wd(t[0],e);if(!e.parser.leftrightDepth)throw new ke("\\middle without preceding \\left",n);return{type:"middle",mode:e.parser.mode,delim:n.text}},htmlBuilder:(e,t)=>{var n;if(e.delim===".")n=Ro(t,[]);else{n=ci.sizedDelim(e.delim,1,t,e.mode,[]);var a={delim:e.delim,options:t};n.isMiddle=a}return n},mathmlBuilder:(e,t)=>{var n=e.delim==="\\vert"||e.delim==="|"?aa("|","text"):aa(e.delim,e.mode),a=new Ce.MathNode("mo",[n]);return a.setAttribute("fence","true"),a.setAttribute("lspace","0.05em"),a.setAttribute("rspace","0.05em"),a}});var Np=(e,t)=>{var n=le.wrapFragment(Mt(e.body,t),t),a=e.label.slice(1),s=t.sizeMultiplier,l,o=0,d=tt.isCharacterBox(e.body);if(a==="sout")l=le.makeSpan(["stretchy","sout"]),l.height=t.fontMetrics().defaultRuleThickness/s,o=-.5*t.fontMetrics().xHeight;else if(a==="phase"){var f=gn({number:.6,unit:"pt"},t),h=gn({number:.35,unit:"ex"},t),p=t.havingBaseSizing();s=s/p.sizeMultiplier;var g=n.height+n.depth+f+h;n.style.paddingLeft=Ie(g/2+f);var v=Math.floor(1e3*g*s),y=mI(v),S=new fi([new ss("phase",y)],{width:"400em",height:Ie(v/1e3),viewBox:"0 0 400000 "+v,preserveAspectRatio:"xMinYMin slice"});l=le.makeSvgSpan(["hide-tail"],[S],t),l.style.height=Ie(g),o=n.depth+f+h}else{/cancel/.test(a)?d||n.classes.push("cancel-pad"):a==="angl"?n.classes.push("anglpad"):n.classes.push("boxpad");var w=0,N=0,k=0;/box/.test(a)?(k=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),w=t.fontMetrics().fboxsep+(a==="colorbox"?0:k),N=w):a==="angl"?(k=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),w=4*k,N=Math.max(0,.25-n.depth)):(w=d?.2:0,N=w),l=mi.encloseSpan(n,a,w,N,t),/fbox|boxed|fcolorbox/.test(a)?(l.style.borderStyle="solid",l.style.borderWidth=Ie(k)):a==="angl"&&k!==.049&&(l.style.borderTopWidth=Ie(k),l.style.borderRightWidth=Ie(k)),o=n.depth+N,e.backgroundColor&&(l.style.backgroundColor=e.backgroundColor,e.borderColor&&(l.style.borderColor=e.borderColor))}var M;if(e.backgroundColor)M=le.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:o},{type:"elem",elem:n,shift:0}]},t);else{var I=/cancel|phase/.test(a)?["svg-align"]:[];M=le.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:0},{type:"elem",elem:l,shift:o,wrapperClasses:I}]},t)}return/cancel/.test(a)&&(M.height=n.height,M.depth=n.depth),/cancel/.test(a)&&!d?le.makeSpan(["mord","cancel-lap"],[M],t):le.makeSpan(["mord"],[M],t)},Op=(e,t)=>{var n=0,a=new Ce.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Kt(e.body,t)]);switch(e.label){case"\\cancel":a.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":a.setAttribute("notation","downdiagonalstrike");break;case"\\phase":a.setAttribute("notation","phasorangle");break;case"\\sout":a.setAttribute("notation","horizontalstrike");break;case"\\fbox":a.setAttribute("notation","box");break;case"\\angl":a.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(n=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,a.setAttribute("width","+"+2*n+"pt"),a.setAttribute("height","+"+2*n+"pt"),a.setAttribute("lspace",n+"pt"),a.setAttribute("voffset",n+"pt"),e.label==="\\fcolorbox"){var s=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);a.setAttribute("style","border: "+s+"em solid "+String(e.borderColor))}break;case"\\xcancel":a.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&a.setAttribute("mathbackground",e.backgroundColor),a};Ue({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,n){var{parser:a,funcName:s}=e,l=yt(t[0],"color-token").color,o=t[1];return{type:"enclose",mode:a.mode,label:s,backgroundColor:l,body:o}},htmlBuilder:Np,mathmlBuilder:Op});Ue({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,n){var{parser:a,funcName:s}=e,l=yt(t[0],"color-token").color,o=yt(t[1],"color-token").color,d=t[2];return{type:"enclose",mode:a.mode,label:s,backgroundColor:o,borderColor:l,body:d}},htmlBuilder:Np,mathmlBuilder:Op});Ue({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]}}});Ue({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:a}=e,s=t[0];return{type:"enclose",mode:n.mode,label:a,body:s}},htmlBuilder:Np,mathmlBuilder:Op});Ue({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 kv={};function Pa(e){for(var{type:t,names:n,props:a,handler:s,htmlBuilder:l,mathmlBuilder:o}=e,d={type:t,numArgs:a.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:s},f=0;f<n.length;++f)kv[n[f]]=d;l&&(nd[t]=l),o&&(rd[t]=o)}var Nv={};function R(e,t){Nv[e]=t}function p6(e){var t=[];e.consumeSpaces();var n=e.fetch().text;for(n==="\\relax"&&(e.consume(),e.consumeSpaces(),n=e.fetch().text);n==="\\hline"||n==="\\hdashline";)e.consume(),t.push(n==="\\hdashline"),e.consumeSpaces(),n=e.fetch().text;return t}var Cd=e=>{var t=e.parser.settings;if(!t.displayMode)throw new ke("{"+e.envName+"} can be used only in display mode.")};function Rp(e){if(e.indexOf("ed")===-1)return e.indexOf("*")===-1}function os(e,t,n){var{hskipBeforeAndAfter:a,addJot:s,cols:l,arraystretch:o,colSeparationType:d,autoTag:f,singleRow:h,emptySingleRow:p,maxNumCols:g,leqno:v}=t;if(e.gullet.beginGroup(),h||e.gullet.macros.set("\\cr","\\\\\\relax"),!o){var y=e.gullet.expandMacroAsText("\\arraystretch");if(y==null)o=1;else if(o=parseFloat(y),!o||o<0)throw new ke("Invalid \\arraystretch: "+y)}e.gullet.beginGroup();var S=[],w=[S],N=[],k=[],M=f!=null?[]:void 0;function I(){f&&e.gullet.macros.set("\\@eqnsw","1",!0)}function X(){M&&(e.gullet.macros.get("\\df@tag")?(M.push(e.subparse([new ta("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):M.push(!!f&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(I(),k.push(p6(e));;){var G=e.parseExpression(!1,h?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),G={type:"ordgroup",mode:e.mode,body:G},n&&(G={type:"styling",mode:e.mode,style:n,body:[G]}),S.push(G);var P=e.fetch().text;if(P==="&"){if(g&&S.length===g){if(h||d)throw new ke("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(P==="\\end"){X(),S.length===1&&G.type==="styling"&&G.body[0].body.length===0&&(w.length>1||!p)&&w.pop(),k.length<w.length+1&&k.push([]);break}else if(P==="\\\\"){e.consume();var Z=void 0;e.gullet.future().text!==" "&&(Z=e.parseSizeGroup(!0)),N.push(Z?Z.value:null),X(),k.push(p6(e)),S=[],w.push(S),I()}else throw new ke("Expected & or \\\\ or \\cr or \\end",e.nextToken)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:s,arraystretch:o,body:w,cols:l,rowGaps:N,hskipBeforeAndAfter:a,hLinesBeforeRow:k,colSeparationType:d,tags:M,leqno:v}}function Mp(e){return e.slice(0,1)==="d"?"display":"text"}var Ua=function(t,n){var a,s,l=t.body.length,o=t.hLinesBeforeRow,d=0,f=new Array(l),h=[],p=Math.max(n.fontMetrics().arrayRuleWidth,n.minRuleThickness),g=1/n.fontMetrics().ptPerEm,v=5*g;if(t.colSeparationType&&t.colSeparationType==="small"){var y=n.havingStyle(it.SCRIPT).sizeMultiplier;v=.2778*(y/n.sizeMultiplier)}var S=t.colSeparationType==="CD"?gn({number:3,unit:"ex"},n):12*g,w=3*g,N=t.arraystretch*S,k=.7*N,M=.3*N,I=0;function X(un){for(var Dt=0;Dt<un.length;++Dt)Dt>0&&(I+=.25),h.push({pos:I,isDashed:un[Dt]})}for(X(o[0]),a=0;a<t.body.length;++a){var G=t.body[a],P=k,Z=M;d<G.length&&(d=G.length);var ne=new Array(G.length);for(s=0;s<G.length;++s){var te=Mt(G[s],n);Z<te.depth&&(Z=te.depth),P<te.height&&(P=te.height),ne[s]=te}var Y=t.rowGaps[a],ee=0;Y&&(ee=gn(Y,n),ee>0&&(ee+=M,Z<ee&&(Z=ee),ee=0)),t.addJot&&(Z+=w),ne.height=P,ne.depth=Z,I+=P,ne.pos=I,I+=Z+ee,f[a]=ne,X(o[a+1])}var re=I/2+n.fontMetrics().axisHeight,ge=t.cols||[],oe=[],pe,W,he=[];if(t.tags&&t.tags.some(un=>un))for(a=0;a<l;++a){var ye=f[a],He=ye.pos-re,A=t.tags[a],Q=void 0;A===!0?Q=le.makeSpan(["eqn-num"],[],n):A===!1?Q=le.makeSpan([],[],n):Q=le.makeSpan([],Pn(A,n,!0),n),Q.depth=ye.depth,Q.height=ye.height,he.push({type:"elem",elem:Q,shift:He})}for(s=0,W=0;s<d||W<ge.length;++s,++W){for(var de=ge[W]||{},D=!0;de.type==="separator";){if(D||(pe=le.makeSpan(["arraycolsep"],[]),pe.style.width=Ie(n.fontMetrics().doubleRuleSep),oe.push(pe)),de.separator==="|"||de.separator===":"){var De=de.separator==="|"?"solid":"dashed",qe=le.makeSpan(["vertical-separator"],[],n);qe.style.height=Ie(I),qe.style.borderRightWidth=Ie(p),qe.style.borderRightStyle=De,qe.style.margin="0 "+Ie(-p/2);var Me=I-re;Me&&(qe.style.verticalAlign=Ie(-Me)),oe.push(qe)}else throw new ke("Invalid separator type: "+de.separator);W++,de=ge[W]||{},D=!1}if(!(s>=d)){var Tt=void 0;(s>0||t.hskipBeforeAndAfter)&&(Tt=tt.deflt(de.pregap,v),Tt!==0&&(pe=le.makeSpan(["arraycolsep"],[]),pe.style.width=Ie(Tt),oe.push(pe)));var nt=[];for(a=0;a<l;++a){var st=f[a],Ye=st[s];if(Ye){var wt=st.pos-re;Ye.depth=st.depth,Ye.height=st.height,nt.push({type:"elem",elem:Ye,shift:wt})}}nt=le.makeVList({positionType:"individualShift",children:nt},n),nt=le.makeSpan(["col-align-"+(de.align||"c")],[nt]),oe.push(nt),(s<d-1||t.hskipBeforeAndAfter)&&(Tt=tt.deflt(de.postgap,v),Tt!==0&&(pe=le.makeSpan(["arraycolsep"],[]),pe.style.width=Ie(Tt),oe.push(pe)))}}if(f=le.makeSpan(["mtable"],oe),h.length>0){for(var rt=le.makeLineSpan("hline",n,p),$e=le.makeLineSpan("hdashline",n,p),Ve=[{type:"elem",elem:f,shift:0}];h.length>0;){var ot=h.pop(),We=ot.pos-re;ot.isDashed?Ve.push({type:"elem",elem:$e,shift:We}):Ve.push({type:"elem",elem:rt,shift:We})}f=le.makeVList({positionType:"individualShift",children:Ve},n)}if(he.length===0)return le.makeSpan(["mord"],[f],n);var Ot=le.makeVList({positionType:"individualShift",children:he},n);return Ot=le.makeSpan(["tag"],[Ot],n),le.makeFragment([f,Ot])},SL={c:"center ",l:"left ",r:"right "},za=function(t,n){for(var a=[],s=new Ce.MathNode("mtd",[],["mtr-glue"]),l=new Ce.MathNode("mtd",[],["mml-eqn-num"]),o=0;o<t.body.length;o++){for(var d=t.body[o],f=[],h=0;h<d.length;h++)f.push(new Ce.MathNode("mtd",[Kt(d[h],n)]));t.tags&&t.tags[o]&&(f.unshift(s),f.push(s),t.leqno?f.unshift(l):f.push(l)),a.push(new Ce.MathNode("mtr",f))}var p=new Ce.MathNode("mtable",a),g=t.arraystretch===.5?.1:.16+t.arraystretch-1+(t.addJot?.09:0);p.setAttribute("rowspacing",Ie(g));var v="",y="";if(t.cols&&t.cols.length>0){var S=t.cols,w="",N=!1,k=0,M=S.length;S[0].type==="separator"&&(v+="top ",k=1),S[S.length-1].type==="separator"&&(v+="bottom ",M-=1);for(var I=k;I<M;I++)S[I].type==="align"?(y+=SL[S[I].align],N&&(w+="none "),N=!0):S[I].type==="separator"&&N&&(w+=S[I].separator==="|"?"solid ":"dashed ",N=!1);p.setAttribute("columnalign",y.trim()),/[sd]/.test(w)&&p.setAttribute("columnlines",w.trim())}if(t.colSeparationType==="align"){for(var X=t.cols||[],G="",P=1;P<X.length;P++)G+=P%2?"0em ":"1em ";p.setAttribute("columnspacing",G.trim())}else t.colSeparationType==="alignat"||t.colSeparationType==="gather"?p.setAttribute("columnspacing","0em"):t.colSeparationType==="small"?p.setAttribute("columnspacing","0.2778em"):t.colSeparationType==="CD"?p.setAttribute("columnspacing","0.5em"):p.setAttribute("columnspacing","1em");var Z="",ne=t.hLinesBeforeRow;v+=ne[0].length>0?"left ":"",v+=ne[ne.length-1].length>0?"right ":"";for(var te=1;te<ne.length-1;te++)Z+=ne[te].length===0?"none ":ne[te][0]?"dashed ":"solid ";return/[sd]/.test(Z)&&p.setAttribute("rowlines",Z.trim()),v!==""&&(p=new Ce.MathNode("menclose",[p]),p.setAttribute("notation",v.trim())),t.arraystretch&&t.arraystretch<1&&(p=new Ce.MathNode("mstyle",[p]),p.setAttribute("scriptlevel","1")),p},Ov=function(t,n){t.envName.indexOf("ed")===-1&&Cd(t);var a=[],s=t.envName.indexOf("at")>-1?"alignat":"align",l=t.envName==="split",o=os(t.parser,{cols:a,addJot:!0,autoTag:l?void 0:Rp(t.envName),emptySingleRow:!0,colSeparationType:s,maxNumCols:l?2:void 0,leqno:t.parser.settings.leqno},"display"),d,f=0,h={type:"ordgroup",mode:t.mode,body:[]};if(n[0]&&n[0].type==="ordgroup"){for(var p="",g=0;g<n[0].body.length;g++){var v=yt(n[0].body[g],"textord");p+=v.text}d=Number(p),f=d*2}var y=!f;o.body.forEach(function(k){for(var M=1;M<k.length;M+=2){var I=yt(k[M],"styling"),X=yt(I.body[0],"ordgroup");X.body.unshift(h)}if(y)f<k.length&&(f=k.length);else{var G=k.length/2;if(d<G)throw new ke("Too many math in a row: "+("expected "+d+", but got "+G),k[0])}});for(var S=0;S<f;++S){var w="r",N=0;S%2===1?w="l":S>0&&y&&(N=1),a[S]={type:"align",align:w,pregap:N,postgap:0}}return o.colSeparationType=y?"align":"alignat",o};Pa({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var n=xd(t[0]),a=n?[t[0]]:yt(t[0],"ordgroup").body,s=a.map(function(o){var d=wp(o),f=d.text;if("lcr".indexOf(f)!==-1)return{type:"align",align:f};if(f==="|")return{type:"separator",separator:"|"};if(f===":")return{type:"separator",separator:":"};throw new ke("Unknown column alignment: "+f,o)}),l={cols:s,hskipBeforeAndAfter:!0,maxNumCols:s.length};return os(e.parser,l,Mp(e.envName))},htmlBuilder:Ua,mathmlBuilder:za});Pa({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",a={hskipBeforeAndAfter:!1,cols:[{type:"align",align:n}]};if(e.envName.charAt(e.envName.length-1)==="*"){var s=e.parser;if(s.consumeSpaces(),s.fetch().text==="["){if(s.consume(),s.consumeSpaces(),n=s.fetch().text,"lcr".indexOf(n)===-1)throw new ke("Expected l or c or r",s.nextToken);s.consume(),s.consumeSpaces(),s.expect("]"),s.consume(),a.cols=[{type:"align",align:n}]}}var l=os(e.parser,a,Mp(e.envName)),o=Math.max(0,...l.body.map(d=>d.length));return l.cols=new Array(o).fill({type:"align",align:n}),t?{type:"leftright",mode:e.mode,body:[l],left:t[0],right:t[1],rightColor:void 0}:l},htmlBuilder:Ua,mathmlBuilder:za});Pa({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},n=os(e.parser,t,"script");return n.colSeparationType="small",n},htmlBuilder:Ua,mathmlBuilder:za});Pa({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var n=xd(t[0]),a=n?[t[0]]:yt(t[0],"ordgroup").body,s=a.map(function(o){var d=wp(o),f=d.text;if("lc".indexOf(f)!==-1)return{type:"align",align:f};throw new ke("Unknown column alignment: "+f,o)});if(s.length>1)throw new ke("{subarray} can contain only one column");var l={cols:s,hskipBeforeAndAfter:!1,arraystretch:.5};if(l=os(e.parser,l,"script"),l.body.length>0&&l.body[0].length>1)throw new ke("{subarray} can contain only one column");return l},htmlBuilder:Ua,mathmlBuilder:za});Pa({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=os(e.parser,t,Mp(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:Ua,mathmlBuilder:za});Pa({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Ov,htmlBuilder:Ua,mathmlBuilder:za});Pa({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){tt.contains(["gather","gather*"],e.envName)&&Cd(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Rp(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return os(e.parser,t,"display")},htmlBuilder:Ua,mathmlBuilder:za});Pa({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Ov,htmlBuilder:Ua,mathmlBuilder:za});Pa({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){Cd(e);var t={autoTag:Rp(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return os(e.parser,t,"display")},htmlBuilder:Ua,mathmlBuilder:za});Pa({type:"array",names:["CD"],props:{numArgs:0},handler(e){return Cd(e),oL(e.parser)},htmlBuilder:Ua,mathmlBuilder:za});R("\\nonumber","\\gdef\\@eqnsw{0}");R("\\notag","\\nonumber");Ue({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new ke(e.funcName+" valid only within array environment")}});var g6=kv;Ue({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:n,funcName:a}=e,s=t[0];if(s.type!=="ordgroup")throw new ke("Invalid environment name",s);for(var l="",o=0;o<s.body.length;++o)l+=yt(s.body[o],"textord").text;if(a==="\\begin"){if(!g6.hasOwnProperty(l))throw new ke("No such environment: "+l,s);var d=g6[l],{args:f,optArgs:h}=n.parseArguments("\\begin{"+l+"}",d),p={mode:n.mode,envName:l,parser:n},g=d.handler(p,f,h);n.expect("\\end",!1);var v=n.nextToken,y=yt(n.parseFunction(),"environment");if(y.name!==l)throw new ke("Mismatch: \\begin{"+l+"} matched by \\end{"+y.name+"}",v);return g}return{type:"environment",mode:n.mode,name:l,nameGroup:s}}});var Rv=(e,t)=>{var n=e.font,a=t.withFont(n);return Mt(e.body,a)},Mv=(e,t)=>{var n=e.font,a=t.withFont(n);return Kt(e.body,a)},b6={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Ue({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:n,funcName:a}=e,s=ad(t[0]),l=a;return l in b6&&(l=b6[l]),{type:"font",mode:n.mode,font:l.slice(1),body:s}},htmlBuilder:Rv,mathmlBuilder:Mv});Ue({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:n}=e,a=t[0],s=tt.isCharacterBox(a);return{type:"mclass",mode:n.mode,mclass:Ad(a),body:[{type:"font",mode:n.mode,font:"boldsymbol",body:a}],isCharacterBox:s}}});Ue({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:a,breakOnTokenText:s}=e,{mode:l}=n,o=n.parseExpression(!0,s),d="math"+a.slice(1);return{type:"font",mode:l,font:d,body:{type:"ordgroup",mode:n.mode,body:o}}},htmlBuilder:Rv,mathmlBuilder:Mv});var Dv=(e,t)=>{var n=t;return e==="display"?n=n.id>=it.SCRIPT.id?n.text():it.DISPLAY:e==="text"&&n.size===it.DISPLAY.size?n=it.TEXT:e==="script"?n=it.SCRIPT:e==="scriptscript"&&(n=it.SCRIPTSCRIPT),n},Dp=(e,t)=>{var n=Dv(e.size,t.style),a=n.fracNum(),s=n.fracDen(),l;l=t.havingStyle(a);var o=Mt(e.numer,l,t);if(e.continued){var d=8.5/t.fontMetrics().ptPerEm,f=3.5/t.fontMetrics().ptPerEm;o.height=o.height<d?d:o.height,o.depth=o.depth<f?f:o.depth}l=t.havingStyle(s);var h=Mt(e.denom,l,t),p,g,v;e.hasBarLine?(e.barSize?(g=gn(e.barSize,t),p=le.makeLineSpan("frac-line",t,g)):p=le.makeLineSpan("frac-line",t),g=p.height,v=p.height):(p=null,g=0,v=t.fontMetrics().defaultRuleThickness);var y,S,w;n.size===it.DISPLAY.size||e.size==="display"?(y=t.fontMetrics().num1,g>0?S=3*v:S=7*v,w=t.fontMetrics().denom1):(g>0?(y=t.fontMetrics().num2,S=v):(y=t.fontMetrics().num3,S=3*v),w=t.fontMetrics().denom2);var N;if(p){var M=t.fontMetrics().axisHeight;y-o.depth-(M+.5*g)<S&&(y+=S-(y-o.depth-(M+.5*g))),M-.5*g-(h.height-w)<S&&(w+=S-(M-.5*g-(h.height-w)));var I=-(M-.5*g);N=le.makeVList({positionType:"individualShift",children:[{type:"elem",elem:h,shift:w},{type:"elem",elem:p,shift:I},{type:"elem",elem:o,shift:-y}]},t)}else{var k=y-o.depth-(h.height-w);k<S&&(y+=.5*(S-k),w+=.5*(S-k)),N=le.makeVList({positionType:"individualShift",children:[{type:"elem",elem:h,shift:w},{type:"elem",elem:o,shift:-y}]},t)}l=t.havingStyle(n),N.height*=l.sizeMultiplier/t.sizeMultiplier,N.depth*=l.sizeMultiplier/t.sizeMultiplier;var X;n.size===it.DISPLAY.size?X=t.fontMetrics().delim1:n.size===it.SCRIPTSCRIPT.size?X=t.havingStyle(it.SCRIPT).fontMetrics().delim2:X=t.fontMetrics().delim2;var G,P;return e.leftDelim==null?G=Ro(t,["mopen"]):G=ci.customSizedDelim(e.leftDelim,X,!0,t.havingStyle(n),e.mode,["mopen"]),e.continued?P=le.makeSpan([]):e.rightDelim==null?P=Ro(t,["mclose"]):P=ci.customSizedDelim(e.rightDelim,X,!0,t.havingStyle(n),e.mode,["mclose"]),le.makeSpan(["mord"].concat(l.sizingClasses(t)),[G,le.makeSpan(["mfrac"],[N]),P],t)},Ip=(e,t)=>{var n=new Ce.MathNode("mfrac",[Kt(e.numer,t),Kt(e.denom,t)]);if(!e.hasBarLine)n.setAttribute("linethickness","0px");else if(e.barSize){var a=gn(e.barSize,t);n.setAttribute("linethickness",Ie(a))}var s=Dv(e.size,t.style);if(s.size!==t.style.size){n=new Ce.MathNode("mstyle",[n]);var l=s.size===it.DISPLAY.size?"true":"false";n.setAttribute("displaystyle",l),n.setAttribute("scriptlevel","0")}if(e.leftDelim!=null||e.rightDelim!=null){var o=[];if(e.leftDelim!=null){var d=new Ce.MathNode("mo",[new Ce.TextNode(e.leftDelim.replace("\\",""))]);d.setAttribute("fence","true"),o.push(d)}if(o.push(n),e.rightDelim!=null){var f=new Ce.MathNode("mo",[new Ce.TextNode(e.rightDelim.replace("\\",""))]);f.setAttribute("fence","true"),o.push(f)}return xp(o)}return n};Ue({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var{parser:n,funcName:a}=e,s=t[0],l=t[1],o,d=null,f=null,h="auto";switch(a){case"\\dfrac":case"\\frac":case"\\tfrac":o=!0;break;case"\\\\atopfrac":o=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":o=!1,d="(",f=")";break;case"\\\\bracefrac":o=!1,d="\\{",f="\\}";break;case"\\\\brackfrac":o=!1,d="[",f="]";break;default:throw new Error("Unrecognized genfrac command")}switch(a){case"\\dfrac":case"\\dbinom":h="display";break;case"\\tfrac":case"\\tbinom":h="text";break}return{type:"genfrac",mode:n.mode,continued:!1,numer:s,denom:l,hasBarLine:o,leftDelim:d,rightDelim:f,size:h,barSize:null}},htmlBuilder:Dp,mathmlBuilder:Ip});Ue({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:n,funcName:a}=e,s=t[0],l=t[1];return{type:"genfrac",mode:n.mode,continued:!0,numer:s,denom:l,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});Ue({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var{parser:t,funcName:n,token:a}=e,s;switch(n){case"\\over":s="\\frac";break;case"\\choose":s="\\binom";break;case"\\atop":s="\\\\atopfrac";break;case"\\brace":s="\\\\bracefrac";break;case"\\brack":s="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:t.mode,replaceWith:s,token:a}}});var E6=["display","text","script","scriptscript"],y6=function(t){var n=null;return t.length>0&&(n=t,n=n==="."?null:n),n};Ue({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var{parser:n}=e,a=t[4],s=t[5],l=ad(t[0]),o=l.type==="atom"&&l.family==="open"?y6(l.text):null,d=ad(t[1]),f=d.type==="atom"&&d.family==="close"?y6(d.text):null,h=yt(t[2],"size"),p,g=null;h.isBlank?p=!0:(g=h.value,p=g.number>0);var v="auto",y=t[3];if(y.type==="ordgroup"){if(y.body.length>0){var S=yt(y.body[0],"textord");v=E6[Number(S.text)]}}else y=yt(y,"textord"),v=E6[Number(y.text)];return{type:"genfrac",mode:n.mode,numer:a,denom:s,continued:!1,hasBarLine:p,barSize:g,leftDelim:o,rightDelim:f,size:v}},htmlBuilder:Dp,mathmlBuilder:Ip});Ue({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:n,funcName:a,token:s}=e;return{type:"infix",mode:n.mode,replaceWith:"\\\\abovefrac",size:yt(t[0],"size").value,token:s}}});Ue({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:n,funcName:a}=e,s=t[0],l=JD(yt(t[1],"infix").size),o=t[2],d=l.number>0;return{type:"genfrac",mode:n.mode,numer:s,denom:o,continued:!1,hasBarLine:d,barSize:l,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Dp,mathmlBuilder:Ip});var Iv=(e,t)=>{var n=t.style,a,s;e.type==="supsub"?(a=e.sup?Mt(e.sup,t.havingStyle(n.sup()),t):Mt(e.sub,t.havingStyle(n.sub()),t),s=yt(e.base,"horizBrace")):s=yt(e,"horizBrace");var l=Mt(s.base,t.havingBaseStyle(it.DISPLAY)),o=mi.svgSpan(s,t),d;if(s.isOver?(d=le.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.1},{type:"elem",elem:o}]},t),d.children[0].children[0].children[1].classes.push("svg-align")):(d=le.makeVList({positionType:"bottom",positionData:l.depth+.1+o.height,children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:l}]},t),d.children[0].children[0].children[0].classes.push("svg-align")),a){var f=le.makeSpan(["mord",s.isOver?"mover":"munder"],[d],t);s.isOver?d=le.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:f},{type:"kern",size:.2},{type:"elem",elem:a}]},t):d=le.makeVList({positionType:"bottom",positionData:f.depth+.2+a.height+a.depth,children:[{type:"elem",elem:a},{type:"kern",size:.2},{type:"elem",elem:f}]},t)}return le.makeSpan(["mord",s.isOver?"mover":"munder"],[d],t)},xL=(e,t)=>{var n=mi.mathMLnode(e.label);return new Ce.MathNode(e.isOver?"mover":"munder",[Kt(e.base,t),n])};Ue({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:a}=e;return{type:"horizBrace",mode:n.mode,label:a,isOver:/^\\over/.test(a),base:t[0]}},htmlBuilder:Iv,mathmlBuilder:xL});Ue({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,a=t[1],s=yt(t[0],"url").url;return n.settings.isTrusted({command:"\\href",url:s})?{type:"href",mode:n.mode,href:s,body:xn(a)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var n=Pn(e.body,t,!1);return le.makeAnchor(e.href,[],n,t)},mathmlBuilder:(e,t)=>{var n=ls(e.body,t);return n instanceof zr||(n=new zr("mrow",[n])),n.setAttribute("href",e.href),n}});Ue({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,a=yt(t[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:a}))return n.formatUnsupportedCmd("\\url");for(var s=[],l=0;l<a.length;l++){var o=a[l];o==="~"&&(o="\\textasciitilde"),s.push({type:"textord",mode:"text",text:o})}var d={type:"text",mode:n.mode,font:"\\texttt",body:s};return{type:"href",mode:n.mode,href:a,body:xn(d)}}});Ue({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(e,t){var{parser:n}=e;return{type:"hbox",mode:n.mode,body:xn(t[0])}},htmlBuilder(e,t){var n=Pn(e.body,t,!1);return le.makeFragment(n)},mathmlBuilder(e,t){return new Ce.MathNode("mrow",xr(e.body,t))}});Ue({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:a,token:s}=e,l=yt(t[0],"raw").string,o=t[1];n.settings.strict&&n.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var d,f={};switch(a){case"\\htmlClass":f.class=l,d={command:"\\htmlClass",class:l};break;case"\\htmlId":f.id=l,d={command:"\\htmlId",id:l};break;case"\\htmlStyle":f.style=l,d={command:"\\htmlStyle",style:l};break;case"\\htmlData":{for(var h=l.split(","),p=0;p<h.length;p++){var g=h[p].split("=");if(g.length!==2)throw new ke("Error parsing key-value for \\htmlData");f["data-"+g[0].trim()]=g[1].trim()}d={command:"\\htmlData",attributes:f};break}default:throw new Error("Unrecognized html command")}return n.settings.isTrusted(d)?{type:"html",mode:n.mode,attributes:f,body:xn(o)}:n.formatUnsupportedCmd(a)},htmlBuilder:(e,t)=>{var n=Pn(e.body,t,!1),a=["enclosing"];e.attributes.class&&a.push(...e.attributes.class.trim().split(/\s+/));var s=le.makeSpan(a,n,t);for(var l in e.attributes)l!=="class"&&e.attributes.hasOwnProperty(l)&&s.setAttribute(l,e.attributes[l]);return s},mathmlBuilder:(e,t)=>ls(e.body,t)});Ue({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e;return{type:"htmlmathml",mode:n.mode,html:xn(t[0]),mathml:xn(t[1])}},htmlBuilder:(e,t)=>{var n=Pn(e.html,t,!1);return le.makeFragment(n)},mathmlBuilder:(e,t)=>ls(e.mathml,t)});var A1=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 ke("Invalid size: '"+t+"' in \\includegraphics");var a={number:+(n[1]+n[2]),unit:n[3]};if(!Jy(a))throw new ke("Invalid unit: '"+a.unit+"' in \\includegraphics.");return a};Ue({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,n)=>{var{parser:a}=e,s={number:0,unit:"em"},l={number:.9,unit:"em"},o={number:0,unit:"em"},d="";if(n[0])for(var f=yt(n[0],"raw").string,h=f.split(","),p=0;p<h.length;p++){var g=h[p].split("=");if(g.length===2){var v=g[1].trim();switch(g[0].trim()){case"alt":d=v;break;case"width":s=A1(v);break;case"height":l=A1(v);break;case"totalheight":o=A1(v);break;default:throw new ke("Invalid key: '"+g[0]+"' in \\includegraphics.")}}}var y=yt(t[0],"url").url;return d===""&&(d=y,d=d.replace(/^.*[\\/]/,""),d=d.substring(0,d.lastIndexOf("."))),a.settings.isTrusted({command:"\\includegraphics",url:y})?{type:"includegraphics",mode:a.mode,alt:d,width:s,height:l,totalheight:o,src:y}:a.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var n=gn(e.height,t),a=0;e.totalheight.number>0&&(a=gn(e.totalheight,t)-n);var s=0;e.width.number>0&&(s=gn(e.width,t));var l={height:Ie(n+a)};s>0&&(l.width=Ie(s)),a>0&&(l.verticalAlign=Ie(-a));var o=new xI(e.src,e.alt,l);return o.height=n,o.depth=a,o},mathmlBuilder:(e,t)=>{var n=new Ce.MathNode("mglyph",[]);n.setAttribute("alt",e.alt);var a=gn(e.height,t),s=0;if(e.totalheight.number>0&&(s=gn(e.totalheight,t)-a,n.setAttribute("valign",Ie(-s))),n.setAttribute("height",Ie(a+s)),e.width.number>0){var l=gn(e.width,t);n.setAttribute("width",Ie(l))}return n.setAttribute("src",e.src),n}});Ue({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:n,funcName:a}=e,s=yt(t[0],"size");if(n.settings.strict){var l=a[1]==="m",o=s.value.unit==="mu";l?(o||n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" supports only mu units, "+("not "+s.value.unit+" units")),n.mode!=="math"&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" works only in math mode")):o&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" doesn't support mu units")}return{type:"kern",mode:n.mode,dimension:s.value}},htmlBuilder(e,t){return le.makeGlue(e.dimension,t)},mathmlBuilder(e,t){var n=gn(e.dimension,t);return new Ce.SpaceNode(n)}});Ue({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:a}=e,s=t[0];return{type:"lap",mode:n.mode,alignment:a.slice(5),body:s}},htmlBuilder:(e,t)=>{var n;e.alignment==="clap"?(n=le.makeSpan([],[Mt(e.body,t)]),n=le.makeSpan(["inner"],[n],t)):n=le.makeSpan(["inner"],[Mt(e.body,t)]);var a=le.makeSpan(["fix"],[]),s=le.makeSpan([e.alignment],[n,a],t),l=le.makeSpan(["strut"]);return l.style.height=Ie(s.height+s.depth),s.depth&&(l.style.verticalAlign=Ie(-s.depth)),s.children.unshift(l),s=le.makeSpan(["thinbox"],[s],t),le.makeSpan(["mord","vbox"],[s],t)},mathmlBuilder:(e,t)=>{var n=new Ce.MathNode("mpadded",[Kt(e.body,t)]);if(e.alignment!=="rlap"){var a=e.alignment==="llap"?"-1":"-0.5";n.setAttribute("lspace",a+"width")}return n.setAttribute("width","0px"),n}});Ue({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:n,parser:a}=e,s=a.mode;a.switchMode("math");var l=n==="\\("?"\\)":"$",o=a.parseExpression(!1,l);return a.expect(l),a.switchMode(s),{type:"styling",mode:a.mode,style:"text",body:o}}});Ue({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new ke("Mismatched "+e.funcName)}});var v6=(e,t)=>{switch(t.style.size){case it.DISPLAY.size:return e.display;case it.TEXT.size:return e.text;case it.SCRIPT.size:return e.script;case it.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};Ue({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:n}=e;return{type:"mathchoice",mode:n.mode,display:xn(t[0]),text:xn(t[1]),script:xn(t[2]),scriptscript:xn(t[3])}},htmlBuilder:(e,t)=>{var n=v6(e,t),a=Pn(n,t,!1);return le.makeFragment(a)},mathmlBuilder:(e,t)=>{var n=v6(e,t);return ls(n,t)}});var Lv=(e,t,n,a,s,l,o)=>{e=le.makeSpan([],[e]);var d=n&&tt.isCharacterBox(n),f,h;if(t){var p=Mt(t,a.havingStyle(s.sup()),a);h={elem:p,kern:Math.max(a.fontMetrics().bigOpSpacing1,a.fontMetrics().bigOpSpacing3-p.depth)}}if(n){var g=Mt(n,a.havingStyle(s.sub()),a);f={elem:g,kern:Math.max(a.fontMetrics().bigOpSpacing2,a.fontMetrics().bigOpSpacing4-g.height)}}var v;if(h&&f){var y=a.fontMetrics().bigOpSpacing5+f.elem.height+f.elem.depth+f.kern+e.depth+o;v=le.makeVList({positionType:"bottom",positionData:y,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:f.elem,marginLeft:Ie(-l)},{type:"kern",size:f.kern},{type:"elem",elem:e},{type:"kern",size:h.kern},{type:"elem",elem:h.elem,marginLeft:Ie(l)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}else if(f){var S=e.height-o;v=le.makeVList({positionType:"top",positionData:S,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:f.elem,marginLeft:Ie(-l)},{type:"kern",size:f.kern},{type:"elem",elem:e}]},a)}else if(h){var w=e.depth+o;v=le.makeVList({positionType:"bottom",positionData:w,children:[{type:"elem",elem:e},{type:"kern",size:h.kern},{type:"elem",elem:h.elem,marginLeft:Ie(l)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}else return e;var N=[v];if(f&&l!==0&&!d){var k=le.makeSpan(["mspace"],[],a);k.style.marginRight=Ie(l),N.unshift(k)}return le.makeSpan(["mop","op-limits"],N,a)},Bv=["\\smallint"],Jl=(e,t)=>{var n,a,s=!1,l;e.type==="supsub"?(n=e.sup,a=e.sub,l=yt(e.base,"op"),s=!0):l=yt(e,"op");var o=t.style,d=!1;o.size===it.DISPLAY.size&&l.symbol&&!tt.contains(Bv,l.name)&&(d=!0);var f;if(l.symbol){var h=d?"Size2-Regular":"Size1-Regular",p="";if((l.name==="\\oiint"||l.name==="\\oiiint")&&(p=l.name.slice(1),l.name=p==="oiint"?"\\iint":"\\iiint"),f=le.makeSymbol(l.name,h,"math",t,["mop","op-symbol",d?"large-op":"small-op"]),p.length>0){var g=f.italic,v=le.staticSvg(p+"Size"+(d?"2":"1"),t);f=le.makeVList({positionType:"individualShift",children:[{type:"elem",elem:f,shift:0},{type:"elem",elem:v,shift:d?.08:0}]},t),l.name="\\"+p,f.classes.unshift("mop"),f.italic=g}}else if(l.body){var y=Pn(l.body,t,!0);y.length===1&&y[0]instanceof ra?(f=y[0],f.classes[0]="mop"):f=le.makeSpan(["mop"],y,t)}else{for(var S=[],w=1;w<l.name.length;w++)S.push(le.mathsym(l.name[w],l.mode,t));f=le.makeSpan(["mop"],S,t)}var N=0,k=0;return(f instanceof ra||l.name==="\\oiint"||l.name==="\\oiiint")&&!l.suppressBaseShift&&(N=(f.height-f.depth)/2-t.fontMetrics().axisHeight,k=f.italic),s?Lv(f,n,a,t,o,k,N):(N&&(f.style.position="relative",f.style.top=Ie(N)),f)},Go=(e,t)=>{var n;if(e.symbol)n=new zr("mo",[aa(e.name,e.mode)]),tt.contains(Bv,e.name)&&n.setAttribute("largeop","false");else if(e.body)n=new zr("mo",xr(e.body,t));else{n=new zr("mi",[new Ma(e.name.slice(1))]);var a=new zr("mo",[aa("","text")]);e.parentIsSupSub?n=new zr("mrow",[n,a]):n=cv([n,a])}return n},AL={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};Ue({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(e,t)=>{var{parser:n,funcName:a}=e,s=a;return s.length===1&&(s=AL[s]),{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:s}},htmlBuilder:Jl,mathmlBuilder:Go});Ue({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:n}=e,a=t[0];return{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:xn(a)}},htmlBuilder:Jl,mathmlBuilder:Go});var wL={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};Ue({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:Jl,mathmlBuilder:Go});Ue({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:Jl,mathmlBuilder:Go});Ue({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(e){var{parser:t,funcName:n}=e,a=n;return a.length===1&&(a=wL[a]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:Jl,mathmlBuilder:Go});var Pv=(e,t)=>{var n,a,s=!1,l;e.type==="supsub"?(n=e.sup,a=e.sub,l=yt(e.base,"operatorname"),s=!0):l=yt(e,"operatorname");var o;if(l.body.length>0){for(var d=l.body.map(g=>{var v=g.text;return typeof v=="string"?{type:"textord",mode:g.mode,text:v}:g}),f=Pn(d,t.withFont("mathrm"),!0),h=0;h<f.length;h++){var p=f[h];p instanceof ra&&(p.text=p.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}o=le.makeSpan(["mop"],f,t)}else o=le.makeSpan(["mop"],[],t);return s?Lv(o,n,a,t,t.style,0,0):o},CL=(e,t)=>{for(var n=xr(e.body,t.withFont("mathrm")),a=!0,s=0;s<n.length;s++){var l=n[s];if(!(l instanceof Ce.SpaceNode))if(l instanceof Ce.MathNode)switch(l.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var o=l.children[0];l.children.length===1&&o instanceof Ce.TextNode?o.text=o.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):a=!1;break}default:a=!1}else a=!1}if(a){var d=n.map(p=>p.toText()).join("");n=[new Ce.TextNode(d)]}var f=new Ce.MathNode("mi",n);f.setAttribute("mathvariant","normal");var h=new Ce.MathNode("mo",[aa("","text")]);return e.parentIsSupSub?new Ce.MathNode("mrow",[f,h]):Ce.newDocumentFragment([f,h])};Ue({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:n,funcName:a}=e,s=t[0];return{type:"operatorname",mode:n.mode,body:xn(s),alwaysHandleSupSub:a==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:Pv,mathmlBuilder:CL});R("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");js({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?le.makeFragment(Pn(e.body,t,!1)):le.makeSpan(["mord"],Pn(e.body,t,!0),t)},mathmlBuilder(e,t){return ls(e.body,t,!0)}});Ue({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:n}=e,a=t[0];return{type:"overline",mode:n.mode,body:a}},htmlBuilder(e,t){var n=Mt(e.body,t.havingCrampedStyle()),a=le.makeLineSpan("overline-line",t),s=t.fontMetrics().defaultRuleThickness,l=le.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:3*s},{type:"elem",elem:a},{type:"kern",size:s}]},t);return le.makeSpan(["mord","overline"],[l],t)},mathmlBuilder(e,t){var n=new Ce.MathNode("mo",[new Ce.TextNode("‾")]);n.setAttribute("stretchy","true");var a=new Ce.MathNode("mover",[Kt(e.body,t),n]);return a.setAttribute("accent","true"),a}});Ue({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,a=t[0];return{type:"phantom",mode:n.mode,body:xn(a)}},htmlBuilder:(e,t)=>{var n=Pn(e.body,t.withPhantom(),!1);return le.makeFragment(n)},mathmlBuilder:(e,t)=>{var n=xr(e.body,t);return new Ce.MathNode("mphantom",n)}});Ue({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,a=t[0];return{type:"hphantom",mode:n.mode,body:a}},htmlBuilder:(e,t)=>{var n=le.makeSpan([],[Mt(e.body,t.withPhantom())]);if(n.height=0,n.depth=0,n.children)for(var a=0;a<n.children.length;a++)n.children[a].height=0,n.children[a].depth=0;return n=le.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t),le.makeSpan(["mord"],[n],t)},mathmlBuilder:(e,t)=>{var n=xr(xn(e.body),t),a=new Ce.MathNode("mphantom",n),s=new Ce.MathNode("mpadded",[a]);return s.setAttribute("height","0px"),s.setAttribute("depth","0px"),s}});Ue({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,a=t[0];return{type:"vphantom",mode:n.mode,body:a}},htmlBuilder:(e,t)=>{var n=le.makeSpan(["inner"],[Mt(e.body,t.withPhantom())]),a=le.makeSpan(["fix"],[]);return le.makeSpan(["mord","rlap"],[n,a],t)},mathmlBuilder:(e,t)=>{var n=xr(xn(e.body),t),a=new Ce.MathNode("mphantom",n),s=new Ce.MathNode("mpadded",[a]);return s.setAttribute("width","0px"),s}});Ue({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:n}=e,a=yt(t[0],"size").value,s=t[1];return{type:"raisebox",mode:n.mode,dy:a,body:s}},htmlBuilder(e,t){var n=Mt(e.body,t),a=gn(e.dy,t);return le.makeVList({positionType:"shift",positionData:-a,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){var n=new Ce.MathNode("mpadded",[Kt(e.body,t)]),a=e.dy.number+e.dy.unit;return n.setAttribute("voffset",a),n}});Ue({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}});Ue({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(e,t,n){var{parser:a}=e,s=n[0],l=yt(t[0],"size"),o=yt(t[1],"size");return{type:"rule",mode:a.mode,shift:s&&yt(s,"size").value,width:l.value,height:o.value}},htmlBuilder(e,t){var n=le.makeSpan(["mord","rule"],[],t),a=gn(e.width,t),s=gn(e.height,t),l=e.shift?gn(e.shift,t):0;return n.style.borderRightWidth=Ie(a),n.style.borderTopWidth=Ie(s),n.style.bottom=Ie(l),n.width=a,n.height=s+l,n.depth=-l,n.maxFontSize=s*1.125*t.sizeMultiplier,n},mathmlBuilder(e,t){var n=gn(e.width,t),a=gn(e.height,t),s=e.shift?gn(e.shift,t):0,l=t.color&&t.getColor()||"black",o=new Ce.MathNode("mspace");o.setAttribute("mathbackground",l),o.setAttribute("width",Ie(n)),o.setAttribute("height",Ie(a));var d=new Ce.MathNode("mpadded",[o]);return s>=0?d.setAttribute("height",Ie(s)):(d.setAttribute("height",Ie(s)),d.setAttribute("depth",Ie(-s))),d.setAttribute("voffset",Ie(s)),d}});function Uv(e,t,n){for(var a=Pn(e,t,!1),s=t.sizeMultiplier/n.sizeMultiplier,l=0;l<a.length;l++){var o=a[l].classes.indexOf("sizing");o<0?Array.prototype.push.apply(a[l].classes,t.sizingClasses(n)):a[l].classes[o+1]==="reset-size"+t.size&&(a[l].classes[o+1]="reset-size"+n.size),a[l].height*=s,a[l].depth*=s}return le.makeFragment(a)}var T6=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],kL=(e,t)=>{var n=t.havingSize(e.size);return Uv(e.body,n,t)};Ue({type:"sizing",names:T6,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:n,funcName:a,parser:s}=e,l=s.parseExpression(!1,n);return{type:"sizing",mode:s.mode,size:T6.indexOf(a)+1,body:l}},htmlBuilder:kL,mathmlBuilder:(e,t)=>{var n=t.havingSize(e.size),a=xr(e.body,n),s=new Ce.MathNode("mstyle",a);return s.setAttribute("mathsize",Ie(n.sizeMultiplier)),s}});Ue({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,n)=>{var{parser:a}=e,s=!1,l=!1,o=n[0]&&yt(n[0],"ordgroup");if(o)for(var d="",f=0;f<o.body.length;++f){var h=o.body[f];if(d=h.text,d==="t")s=!0;else if(d==="b")l=!0;else{s=!1,l=!1;break}}else s=!0,l=!0;var p=t[0];return{type:"smash",mode:a.mode,body:p,smashHeight:s,smashDepth:l}},htmlBuilder:(e,t)=>{var n=le.makeSpan([],[Mt(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return n;if(e.smashHeight&&(n.height=0,n.children))for(var a=0;a<n.children.length;a++)n.children[a].height=0;if(e.smashDepth&&(n.depth=0,n.children))for(var s=0;s<n.children.length;s++)n.children[s].depth=0;var l=le.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t);return le.makeSpan(["mord"],[l],t)},mathmlBuilder:(e,t)=>{var n=new Ce.MathNode("mpadded",[Kt(e.body,t)]);return e.smashHeight&&n.setAttribute("height","0px"),e.smashDepth&&n.setAttribute("depth","0px"),n}});Ue({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){var{parser:a}=e,s=n[0],l=t[0];return{type:"sqrt",mode:a.mode,body:l,index:s}},htmlBuilder(e,t){var n=Mt(e.body,t.havingCrampedStyle());n.height===0&&(n.height=t.fontMetrics().xHeight),n=le.wrapFragment(n,t);var a=t.fontMetrics(),s=a.defaultRuleThickness,l=s;t.style.id<it.TEXT.id&&(l=t.fontMetrics().xHeight);var o=s+l/4,d=n.height+n.depth+o+s,{span:f,ruleWidth:h,advanceWidth:p}=ci.sqrtImage(d,t),g=f.height-h;g>n.height+n.depth+o&&(o=(o+g-n.height-n.depth)/2);var v=f.height-n.height-o-h;n.style.paddingLeft=Ie(p);var y=le.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+v)},{type:"elem",elem:f},{type:"kern",size:h}]},t);if(e.index){var S=t.havingStyle(it.SCRIPTSCRIPT),w=Mt(e.index,S,t),N=.6*(y.height-y.depth),k=le.makeVList({positionType:"shift",positionData:-N,children:[{type:"elem",elem:w}]},t),M=le.makeSpan(["root"],[k]);return le.makeSpan(["mord","sqrt"],[M,y],t)}else return le.makeSpan(["mord","sqrt"],[y],t)},mathmlBuilder(e,t){var{body:n,index:a}=e;return a?new Ce.MathNode("mroot",[Kt(n,t),Kt(a,t)]):new Ce.MathNode("msqrt",[Kt(n,t)])}});var _6={display:it.DISPLAY,text:it.TEXT,script:it.SCRIPT,scriptscript:it.SCRIPTSCRIPT};Ue({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:n,funcName:a,parser:s}=e,l=s.parseExpression(!0,n),o=a.slice(1,a.length-5);return{type:"styling",mode:s.mode,style:o,body:l}},htmlBuilder(e,t){var n=_6[e.style],a=t.havingStyle(n).withFont("");return Uv(e.body,a,t)},mathmlBuilder(e,t){var n=_6[e.style],a=t.havingStyle(n),s=xr(e.body,a),l=new Ce.MathNode("mstyle",s),o={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},d=o[e.style];return l.setAttribute("scriptlevel",d[0]),l.setAttribute("displaystyle",d[1]),l}});var NL=function(t,n){var a=t.base;if(a)if(a.type==="op"){var s=a.limits&&(n.style.size===it.DISPLAY.size||a.alwaysHandleSupSub);return s?Jl:null}else if(a.type==="operatorname"){var l=a.alwaysHandleSupSub&&(n.style.size===it.DISPLAY.size||a.limits);return l?Pv:null}else{if(a.type==="accent")return tt.isCharacterBox(a.base)?Cp:null;if(a.type==="horizBrace"){var o=!t.sub;return o===a.isOver?Iv:null}else return null}else return null};js({type:"supsub",htmlBuilder(e,t){var n=NL(e,t);if(n)return n(e,t);var{base:a,sup:s,sub:l}=e,o=Mt(a,t),d,f,h=t.fontMetrics(),p=0,g=0,v=a&&tt.isCharacterBox(a);if(s){var y=t.havingStyle(t.style.sup());d=Mt(s,y,t),v||(p=o.height-y.fontMetrics().supDrop*y.sizeMultiplier/t.sizeMultiplier)}if(l){var S=t.havingStyle(t.style.sub());f=Mt(l,S,t),v||(g=o.depth+S.fontMetrics().subDrop*S.sizeMultiplier/t.sizeMultiplier)}var w;t.style===it.DISPLAY?w=h.sup1:t.style.cramped?w=h.sup3:w=h.sup2;var N=t.sizeMultiplier,k=Ie(.5/h.ptPerEm/N),M=null;if(f){var I=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(o instanceof ra||I)&&(M=Ie(-o.italic))}var X;if(d&&f){p=Math.max(p,w,d.depth+.25*h.xHeight),g=Math.max(g,h.sub2);var G=h.defaultRuleThickness,P=4*G;if(p-d.depth-(f.height-g)<P){g=P-(p-d.depth)+f.height;var Z=.8*h.xHeight-(p-d.depth);Z>0&&(p+=Z,g-=Z)}var ne=[{type:"elem",elem:f,shift:g,marginRight:k,marginLeft:M},{type:"elem",elem:d,shift:-p,marginRight:k}];X=le.makeVList({positionType:"individualShift",children:ne},t)}else if(f){g=Math.max(g,h.sub1,f.height-.8*h.xHeight);var te=[{type:"elem",elem:f,marginLeft:M,marginRight:k}];X=le.makeVList({positionType:"shift",positionData:g,children:te},t)}else if(d)p=Math.max(p,w,d.depth+.25*h.xHeight),X=le.makeVList({positionType:"shift",positionData:-p,children:[{type:"elem",elem:d,marginRight:k}]},t);else throw new Error("supsub must have either sup or sub.");var Y=bm(o,"right")||"mord";return le.makeSpan([Y],[o,le.makeSpan(["msupsub"],[X])],t)},mathmlBuilder(e,t){var n=!1,a,s;e.base&&e.base.type==="horizBrace"&&(s=!!e.sup,s===e.base.isOver&&(n=!0,a=e.base.isOver)),e.base&&(e.base.type==="op"||e.base.type==="operatorname")&&(e.base.parentIsSupSub=!0);var l=[Kt(e.base,t)];e.sub&&l.push(Kt(e.sub,t)),e.sup&&l.push(Kt(e.sup,t));var o;if(n)o=a?"mover":"munder";else if(e.sub)if(e.sup){var h=e.base;h&&h.type==="op"&&h.limits&&t.style===it.DISPLAY||h&&h.type==="operatorname"&&h.alwaysHandleSupSub&&(t.style===it.DISPLAY||h.limits)?o="munderover":o="msubsup"}else{var f=e.base;f&&f.type==="op"&&f.limits&&(t.style===it.DISPLAY||f.alwaysHandleSupSub)||f&&f.type==="operatorname"&&f.alwaysHandleSupSub&&(f.limits||t.style===it.DISPLAY)?o="munder":o="msub"}else{var d=e.base;d&&d.type==="op"&&d.limits&&(t.style===it.DISPLAY||d.alwaysHandleSupSub)||d&&d.type==="operatorname"&&d.alwaysHandleSupSub&&(d.limits||t.style===it.DISPLAY)?o="mover":o="msup"}return new Ce.MathNode(o,l)}});js({type:"atom",htmlBuilder(e,t){return le.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var n=new Ce.MathNode("mo",[aa(e.text,e.mode)]);if(e.family==="bin"){var a=Ap(e,t);a==="bold-italic"&&n.setAttribute("mathvariant",a)}else e.family==="punct"?n.setAttribute("separator","true"):(e.family==="open"||e.family==="close")&&n.setAttribute("stretchy","false");return n}});var zv={mi:"italic",mn:"normal",mtext:"normal"};js({type:"mathord",htmlBuilder(e,t){return le.makeOrd(e,t,"mathord")},mathmlBuilder(e,t){var n=new Ce.MathNode("mi",[aa(e.text,e.mode,t)]),a=Ap(e,t)||"italic";return a!==zv[n.type]&&n.setAttribute("mathvariant",a),n}});js({type:"textord",htmlBuilder(e,t){return le.makeOrd(e,t,"textord")},mathmlBuilder(e,t){var n=aa(e.text,e.mode,t),a=Ap(e,t)||"normal",s;return e.mode==="text"?s=new Ce.MathNode("mtext",[n]):/[0-9]/.test(e.text)?s=new Ce.MathNode("mn",[n]):e.text==="\\prime"?s=new Ce.MathNode("mo",[n]):s=new Ce.MathNode("mi",[n]),a!==zv[s.type]&&s.setAttribute("mathvariant",a),s}});var w1={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},C1={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};js({type:"spacing",htmlBuilder(e,t){if(C1.hasOwnProperty(e.text)){var n=C1[e.text].className||"";if(e.mode==="text"){var a=le.makeOrd(e,t,"textord");return a.classes.push(n),a}else return le.makeSpan(["mspace",n],[le.mathsym(e.text,e.mode,t)],t)}else{if(w1.hasOwnProperty(e.text))return le.makeSpan(["mspace",w1[e.text]],[],t);throw new ke('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var n;if(C1.hasOwnProperty(e.text))n=new Ce.MathNode("mtext",[new Ce.TextNode(" ")]);else{if(w1.hasOwnProperty(e.text))return new Ce.MathNode("mspace");throw new ke('Unknown type of space "'+e.text+'"')}return n}});var S6=()=>{var e=new Ce.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};js({type:"tag",mathmlBuilder(e,t){var n=new Ce.MathNode("mtable",[new Ce.MathNode("mtr",[S6(),new Ce.MathNode("mtd",[ls(e.body,t)]),S6(),new Ce.MathNode("mtd",[ls(e.tag,t)])])]);return n.setAttribute("width","100%"),n}});var x6={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},A6={"\\textbf":"textbf","\\textmd":"textmd"},OL={"\\textit":"textit","\\textup":"textup"},w6=(e,t)=>{var n=e.font;if(n){if(x6[n])return t.withTextFontFamily(x6[n]);if(A6[n])return t.withTextFontWeight(A6[n]);if(n==="\\emph")return t.fontShape==="textit"?t.withTextFontShape("textup"):t.withTextFontShape("textit")}else return t;return t.withTextFontShape(OL[n])};Ue({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:n,funcName:a}=e,s=t[0];return{type:"text",mode:n.mode,body:xn(s),font:a}},htmlBuilder(e,t){var n=w6(e,t),a=Pn(e.body,n,!0);return le.makeSpan(["mord","text"],a,n)},mathmlBuilder(e,t){var n=w6(e,t);return ls(e.body,n)}});Ue({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=Mt(e.body,t),a=le.makeLineSpan("underline-line",t),s=t.fontMetrics().defaultRuleThickness,l=le.makeVList({positionType:"top",positionData:n.height,children:[{type:"kern",size:s},{type:"elem",elem:a},{type:"kern",size:3*s},{type:"elem",elem:n}]},t);return le.makeSpan(["mord","underline"],[l],t)},mathmlBuilder(e,t){var n=new Ce.MathNode("mo",[new Ce.TextNode("‾")]);n.setAttribute("stretchy","true");var a=new Ce.MathNode("munder",[Kt(e.body,t),n]);return a.setAttribute("accentunder","true"),a}});Ue({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=Mt(e.body,t),a=t.fontMetrics().axisHeight,s=.5*(n.height-a-(n.depth+a));return le.makeVList({positionType:"shift",positionData:s,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){return new Ce.MathNode("mpadded",[Kt(e.body,t)],["vcenter"])}});Ue({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,n){throw new ke("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var n=C6(e),a=[],s=t.havingStyle(t.style.text()),l=0;l<n.length;l++){var o=n[l];o==="~"&&(o="\\textasciitilde"),a.push(le.makeSymbol(o,"Typewriter-Regular",e.mode,s,["mord","texttt"]))}return le.makeSpan(["mord","text"].concat(s.sizingClasses(t)),le.tryCombineChars(a),s)},mathmlBuilder(e,t){var n=new Ce.TextNode(C6(e)),a=new Ce.MathNode("mtext",[n]);return a.setAttribute("mathvariant","monospace"),a}});var C6=e=>e.body.replace(/ /g,e.star?"␣":" "),rs=uv,Fv=`[ \r
|
|
351
|
-
]`,RL="\\\\[a-zA-Z@]+",ML="\\\\[^\uD800-\uDFFF]",DL="("+RL+")"+Fv+"*",IL=`\\\\(
|
|
352
|
-
|[ \r ]+
|
|
353
|
-
?)[ \r ]*`,Tm="[̀-ͯ]",LL=new RegExp(Tm+"+$"),BL="("+Fv+"+)|"+(IL+"|")+"([!-\\[\\]-‧-豈-]"+(Tm+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Tm+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+DL)+("|"+ML+")");class k6{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(BL,"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 ta("EOF",new Ur(this,n,n));var a=this.tokenRegex.exec(t);if(a===null||a.index!==n)throw new ke("Unexpected character: '"+t[n]+"'",new ta(t[n],new Ur(this,n,n+1)));var s=a[6]||a[3]||(a[2]?"\\ ":" ");if(this.catcodes[s]===14){var l=t.indexOf(`
|
|
354
|
-
`,this.tokenRegex.lastIndex);return l===-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=l+1,this.lex()}return new ta(s,new Ur(this,n,this.tokenRegex.lastIndex))}}class PL{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 ke("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,a){if(a===void 0&&(a=!1),a){for(var s=0;s<this.undefStack.length;s++)delete this.undefStack[s][t];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][t]=n)}else{var l=this.undefStack[this.undefStack.length-1];l&&!l.hasOwnProperty(t)&&(l[t]=this.current[t])}n==null?delete this.current[t]:this.current[t]=n}}var UL=Nv;R("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}});R("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}});R("\\@firstoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}});R("\\@secondoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}});R("\\@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}});R("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");R("\\TextOrMath",function(e){var t=e.consumeArgs(2);return e.mode==="text"?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var N6={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};R("\\char",function(e){var t=e.popToken(),n,a="";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]==="\\")a=t.text.charCodeAt(1);else{if(t.text==="EOF")throw new ke("\\char` missing argument");a=t.text.charCodeAt(0)}else n=10;if(n){if(a=N6[t.text],a==null||a>=n)throw new ke("Invalid base-"+n+" digit "+t.text);for(var s;(s=N6[e.future().text])!=null&&s<n;)a*=n,a+=s,e.popToken()}return"\\@char{"+a+"}"});var Lp=(e,t,n,a)=>{var s=e.consumeArg().tokens;if(s.length!==1)throw new ke("\\newcommand's first argument must be a macro name");var l=s[0].text,o=e.isDefined(l);if(o&&!t)throw new ke("\\newcommand{"+l+"} attempting to redefine "+(l+"; use \\renewcommand"));if(!o&&!n)throw new ke("\\renewcommand{"+l+"} when command "+l+" does not yet exist; use \\newcommand");var d=0;if(s=e.consumeArg().tokens,s.length===1&&s[0].text==="["){for(var f="",h=e.expandNextToken();h.text!=="]"&&h.text!=="EOF";)f+=h.text,h=e.expandNextToken();if(!f.match(/^\s*[0-9]+\s*$/))throw new ke("Invalid number of arguments: "+f);d=parseInt(f),s=e.consumeArg().tokens}return o&&a||e.macros.set(l,{tokens:s,numArgs:d}),""};R("\\newcommand",e=>Lp(e,!1,!0,!1));R("\\renewcommand",e=>Lp(e,!0,!1,!1));R("\\providecommand",e=>Lp(e,!0,!0,!0));R("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(n=>n.text).join("")),""});R("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(n=>n.text).join("")),""});R("\\show",e=>{var t=e.popToken(),n=t.text;return console.log(t,e.macros.get(n),rs[n],Zt.math[n],Zt.text[n]),""});R("\\bgroup","{");R("\\egroup","}");R("~","\\nobreakspace");R("\\lq","`");R("\\rq","'");R("\\aa","\\r a");R("\\AA","\\r A");R("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");R("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");R("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");R("ℬ","\\mathscr{B}");R("ℰ","\\mathscr{E}");R("ℱ","\\mathscr{F}");R("ℋ","\\mathscr{H}");R("ℐ","\\mathscr{I}");R("ℒ","\\mathscr{L}");R("ℳ","\\mathscr{M}");R("ℛ","\\mathscr{R}");R("ℭ","\\mathfrak{C}");R("ℌ","\\mathfrak{H}");R("ℨ","\\mathfrak{Z}");R("\\Bbbk","\\Bbb{k}");R("·","\\cdotp");R("\\llap","\\mathllap{\\textrm{#1}}");R("\\rlap","\\mathrlap{\\textrm{#1}}");R("\\clap","\\mathclap{\\textrm{#1}}");R("\\mathstrut","\\vphantom{(}");R("\\underbar","\\underline{\\text{#1}}");R("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');R("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");R("\\ne","\\neq");R("≠","\\neq");R("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}");R("∉","\\notin");R("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}");R("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");R("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");R("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}");R("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}");R("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}");R("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");R("⟂","\\perp");R("‼","\\mathclose{!\\mkern-0.8mu!}");R("∌","\\notni");R("⌜","\\ulcorner");R("⌝","\\urcorner");R("⌞","\\llcorner");R("⌟","\\lrcorner");R("©","\\copyright");R("®","\\textregistered");R("️","\\textregistered");R("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');R("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');R("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');R("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');R("\\vdots","{\\varvdots\\rule{0pt}{15pt}}");R("⋮","\\vdots");R("\\varGamma","\\mathit{\\Gamma}");R("\\varDelta","\\mathit{\\Delta}");R("\\varTheta","\\mathit{\\Theta}");R("\\varLambda","\\mathit{\\Lambda}");R("\\varXi","\\mathit{\\Xi}");R("\\varPi","\\mathit{\\Pi}");R("\\varSigma","\\mathit{\\Sigma}");R("\\varUpsilon","\\mathit{\\Upsilon}");R("\\varPhi","\\mathit{\\Phi}");R("\\varPsi","\\mathit{\\Psi}");R("\\varOmega","\\mathit{\\Omega}");R("\\substack","\\begin{subarray}{c}#1\\end{subarray}");R("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");R("\\boxed","\\fbox{$\\displaystyle{#1}$}");R("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");R("\\implies","\\DOTSB\\;\\Longrightarrow\\;");R("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");R("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");R("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var O6={",":"\\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"};R("\\dots",function(e){var t="\\dotso",n=e.expandAfterFuture().text;return n in O6?t=O6[n]:(n.slice(0,4)==="\\not"||n in Zt.math&&tt.contains(["bin","rel"],Zt.math[n].group))&&(t="\\dotsb"),t});var Bp={")":!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};R("\\dotso",function(e){var t=e.future().text;return t in Bp?"\\ldots\\,":"\\ldots"});R("\\dotsc",function(e){var t=e.future().text;return t in Bp&&t!==","?"\\ldots\\,":"\\ldots"});R("\\cdots",function(e){var t=e.future().text;return t in Bp?"\\@cdots\\,":"\\@cdots"});R("\\dotsb","\\cdots");R("\\dotsm","\\cdots");R("\\dotsi","\\!\\cdots");R("\\dotsx","\\ldots\\,");R("\\DOTSI","\\relax");R("\\DOTSB","\\relax");R("\\DOTSX","\\relax");R("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");R("\\,","\\tmspace+{3mu}{.1667em}");R("\\thinspace","\\,");R("\\>","\\mskip{4mu}");R("\\:","\\tmspace+{4mu}{.2222em}");R("\\medspace","\\:");R("\\;","\\tmspace+{5mu}{.2777em}");R("\\thickspace","\\;");R("\\!","\\tmspace-{3mu}{.1667em}");R("\\negthinspace","\\!");R("\\negmedspace","\\tmspace-{4mu}{.2222em}");R("\\negthickspace","\\tmspace-{5mu}{.277em}");R("\\enspace","\\kern.5em ");R("\\enskip","\\hskip.5em\\relax");R("\\quad","\\hskip1em\\relax");R("\\qquad","\\hskip2em\\relax");R("\\tag","\\@ifstar\\tag@literal\\tag@paren");R("\\tag@paren","\\tag@literal{({#1})}");R("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new ke("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});R("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");R("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");R("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");R("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");R("\\newline","\\\\\\relax");R("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Hv=Ie(Ra["Main-Regular"][84][1]-.7*Ra["Main-Regular"][65][1]);R("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Hv+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");R("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Hv+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");R("\\hspace","\\@ifstar\\@hspacer\\@hspace");R("\\@hspace","\\hskip #1\\relax");R("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");R("\\ordinarycolon",":");R("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");R("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');R("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');R("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');R("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');R("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');R("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');R("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');R("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');R("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');R("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');R("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');R("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');R("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');R("∷","\\dblcolon");R("∹","\\eqcolon");R("≔","\\coloneqq");R("≕","\\eqqcolon");R("⩴","\\Coloneqq");R("\\ratio","\\vcentcolon");R("\\coloncolon","\\dblcolon");R("\\colonequals","\\coloneqq");R("\\coloncolonequals","\\Coloneqq");R("\\equalscolon","\\eqqcolon");R("\\equalscoloncolon","\\Eqqcolon");R("\\colonminus","\\coloneq");R("\\coloncolonminus","\\Coloneq");R("\\minuscolon","\\eqcolon");R("\\minuscoloncolon","\\Eqcolon");R("\\coloncolonapprox","\\Colonapprox");R("\\coloncolonsim","\\Colonsim");R("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");R("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");R("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");R("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");R("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}");R("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");R("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");R("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");R("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");R("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");R("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");R("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");R("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");R("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}");R("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}");R("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}");R("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}");R("\\nleqq","\\html@mathml{\\@nleqq}{≰}");R("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}");R("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}");R("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}");R("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}");R("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}");R("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}");R("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}");R("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}");R("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}");R("\\imath","\\html@mathml{\\@imath}{ı}");R("\\jmath","\\html@mathml{\\@jmath}{ȷ}");R("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}");R("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}");R("⟦","\\llbracket");R("⟧","\\rrbracket");R("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}");R("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}");R("⦃","\\lBrace");R("⦄","\\rBrace");R("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");R("⦵","\\minuso");R("\\darr","\\downarrow");R("\\dArr","\\Downarrow");R("\\Darr","\\Downarrow");R("\\lang","\\langle");R("\\rang","\\rangle");R("\\uarr","\\uparrow");R("\\uArr","\\Uparrow");R("\\Uarr","\\Uparrow");R("\\N","\\mathbb{N}");R("\\R","\\mathbb{R}");R("\\Z","\\mathbb{Z}");R("\\alef","\\aleph");R("\\alefsym","\\aleph");R("\\Alpha","\\mathrm{A}");R("\\Beta","\\mathrm{B}");R("\\bull","\\bullet");R("\\Chi","\\mathrm{X}");R("\\clubs","\\clubsuit");R("\\cnums","\\mathbb{C}");R("\\Complex","\\mathbb{C}");R("\\Dagger","\\ddagger");R("\\diamonds","\\diamondsuit");R("\\empty","\\emptyset");R("\\Epsilon","\\mathrm{E}");R("\\Eta","\\mathrm{H}");R("\\exist","\\exists");R("\\harr","\\leftrightarrow");R("\\hArr","\\Leftrightarrow");R("\\Harr","\\Leftrightarrow");R("\\hearts","\\heartsuit");R("\\image","\\Im");R("\\infin","\\infty");R("\\Iota","\\mathrm{I}");R("\\isin","\\in");R("\\Kappa","\\mathrm{K}");R("\\larr","\\leftarrow");R("\\lArr","\\Leftarrow");R("\\Larr","\\Leftarrow");R("\\lrarr","\\leftrightarrow");R("\\lrArr","\\Leftrightarrow");R("\\Lrarr","\\Leftrightarrow");R("\\Mu","\\mathrm{M}");R("\\natnums","\\mathbb{N}");R("\\Nu","\\mathrm{N}");R("\\Omicron","\\mathrm{O}");R("\\plusmn","\\pm");R("\\rarr","\\rightarrow");R("\\rArr","\\Rightarrow");R("\\Rarr","\\Rightarrow");R("\\real","\\Re");R("\\reals","\\mathbb{R}");R("\\Reals","\\mathbb{R}");R("\\Rho","\\mathrm{P}");R("\\sdot","\\cdot");R("\\sect","\\S");R("\\spades","\\spadesuit");R("\\sub","\\subset");R("\\sube","\\subseteq");R("\\supe","\\supseteq");R("\\Tau","\\mathrm{T}");R("\\thetasym","\\vartheta");R("\\weierp","\\wp");R("\\Zeta","\\mathrm{Z}");R("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");R("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");R("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");R("\\bra","\\mathinner{\\langle{#1}|}");R("\\ket","\\mathinner{|{#1}\\rangle}");R("\\braket","\\mathinner{\\langle{#1}\\rangle}");R("\\Bra","\\left\\langle#1\\right|");R("\\Ket","\\left|#1\\right\\rangle");var qv=e=>t=>{var n=t.consumeArg().tokens,a=t.consumeArg().tokens,s=t.consumeArg().tokens,l=t.consumeArg().tokens,o=t.macros.get("|"),d=t.macros.get("\\|");t.macros.beginGroup();var f=g=>v=>{e&&(v.macros.set("|",o),s.length&&v.macros.set("\\|",d));var y=g;if(!g&&s.length){var S=v.future();S.text==="|"&&(v.popToken(),y=!0)}return{tokens:y?s:a,numArgs:0}};t.macros.set("|",f(!1)),s.length&&t.macros.set("\\|",f(!0));var h=t.consumeArg().tokens,p=t.expandTokens([...l,...h,...n]);return t.macros.endGroup(),{tokens:p.reverse(),numArgs:0}};R("\\bra@ket",qv(!1));R("\\bra@set",qv(!0));R("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");R("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");R("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");R("\\angln","{\\angl n}");R("\\blue","\\textcolor{##6495ed}{#1}");R("\\orange","\\textcolor{##ffa500}{#1}");R("\\pink","\\textcolor{##ff00af}{#1}");R("\\red","\\textcolor{##df0030}{#1}");R("\\green","\\textcolor{##28ae7b}{#1}");R("\\gray","\\textcolor{gray}{#1}");R("\\purple","\\textcolor{##9d38bd}{#1}");R("\\blueA","\\textcolor{##ccfaff}{#1}");R("\\blueB","\\textcolor{##80f6ff}{#1}");R("\\blueC","\\textcolor{##63d9ea}{#1}");R("\\blueD","\\textcolor{##11accd}{#1}");R("\\blueE","\\textcolor{##0c7f99}{#1}");R("\\tealA","\\textcolor{##94fff5}{#1}");R("\\tealB","\\textcolor{##26edd5}{#1}");R("\\tealC","\\textcolor{##01d1c1}{#1}");R("\\tealD","\\textcolor{##01a995}{#1}");R("\\tealE","\\textcolor{##208170}{#1}");R("\\greenA","\\textcolor{##b6ffb0}{#1}");R("\\greenB","\\textcolor{##8af281}{#1}");R("\\greenC","\\textcolor{##74cf70}{#1}");R("\\greenD","\\textcolor{##1fab54}{#1}");R("\\greenE","\\textcolor{##0d923f}{#1}");R("\\goldA","\\textcolor{##ffd0a9}{#1}");R("\\goldB","\\textcolor{##ffbb71}{#1}");R("\\goldC","\\textcolor{##ff9c39}{#1}");R("\\goldD","\\textcolor{##e07d10}{#1}");R("\\goldE","\\textcolor{##a75a05}{#1}");R("\\redA","\\textcolor{##fca9a9}{#1}");R("\\redB","\\textcolor{##ff8482}{#1}");R("\\redC","\\textcolor{##f9685d}{#1}");R("\\redD","\\textcolor{##e84d39}{#1}");R("\\redE","\\textcolor{##bc2612}{#1}");R("\\maroonA","\\textcolor{##ffbde0}{#1}");R("\\maroonB","\\textcolor{##ff92c6}{#1}");R("\\maroonC","\\textcolor{##ed5fa6}{#1}");R("\\maroonD","\\textcolor{##ca337c}{#1}");R("\\maroonE","\\textcolor{##9e034e}{#1}");R("\\purpleA","\\textcolor{##ddd7ff}{#1}");R("\\purpleB","\\textcolor{##c6b9fc}{#1}");R("\\purpleC","\\textcolor{##aa87ff}{#1}");R("\\purpleD","\\textcolor{##7854ab}{#1}");R("\\purpleE","\\textcolor{##543b78}{#1}");R("\\mintA","\\textcolor{##f5f9e8}{#1}");R("\\mintB","\\textcolor{##edf2df}{#1}");R("\\mintC","\\textcolor{##e0e5cc}{#1}");R("\\grayA","\\textcolor{##f6f7f7}{#1}");R("\\grayB","\\textcolor{##f0f1f2}{#1}");R("\\grayC","\\textcolor{##e3e5e6}{#1}");R("\\grayD","\\textcolor{##d6d8da}{#1}");R("\\grayE","\\textcolor{##babec2}{#1}");R("\\grayF","\\textcolor{##888d93}{#1}");R("\\grayG","\\textcolor{##626569}{#1}");R("\\grayH","\\textcolor{##3b3e40}{#1}");R("\\grayI","\\textcolor{##21242c}{#1}");R("\\kaBlue","\\textcolor{##314453}{#1}");R("\\kaGreen","\\textcolor{##71B307}{#1}");var Yv={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class zL{constructor(t,n,a){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=n,this.expansionCount=0,this.feed(t),this.macros=new PL(UL,n.macros),this.mode=a,this.stack=[]}feed(t){this.lexer=new k6(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,a,s;if(t){if(this.consumeSpaces(),this.future().text!=="[")return null;n=this.popToken(),{tokens:s,end:a}=this.consumeArg(["]"])}else({tokens:s,start:n,end:a}=this.consumeArg());return this.pushToken(new ta("EOF",a.loc)),this.pushTokens(s),n.range(a,"")}consumeSpaces(){for(;;){var t=this.future();if(t.text===" ")this.stack.pop();else break}}consumeArg(t){var n=[],a=t&&t.length>0;a||this.consumeSpaces();var s=this.future(),l,o=0,d=0;do{if(l=this.popToken(),n.push(l),l.text==="{")++o;else if(l.text==="}"){if(--o,o===-1)throw new ke("Extra }",l)}else if(l.text==="EOF")throw new ke("Unexpected end of input in a macro argument, expected '"+(t&&a?t[d]:"}")+"'",l);if(t&&a)if((o===0||o===1&&t[d]==="{")&&l.text===t[d]){if(++d,d===t.length){n.splice(-d,d);break}}else d=0}while(o!==0||a);return s.text==="{"&&n[n.length-1].text==="}"&&(n.pop(),n.shift()),n.reverse(),{tokens:n,start:s,end:l}}consumeArgs(t,n){if(n){if(n.length!==t+1)throw new ke("The length of delimiters doesn't match the number of args!");for(var a=n[0],s=0;s<a.length;s++){var l=this.popToken();if(a[s]!==l.text)throw new ke("Use of the macro doesn't match its definition",l)}}for(var o=[],d=0;d<t;d++)o.push(this.consumeArg(n&&n[d+1]).tokens);return o}countExpansion(t){if(this.expansionCount+=t,this.expansionCount>this.settings.maxExpand)throw new ke("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(t){var n=this.popToken(),a=n.text,s=n.noexpand?null:this._getExpansion(a);if(s==null||t&&s.unexpandable){if(t&&s==null&&a[0]==="\\"&&!this.isDefined(a))throw new ke("Undefined control sequence: "+a);return this.pushToken(n),!1}this.countExpansion(1);var l=s.tokens,o=this.consumeArgs(s.numArgs,s.delimiters);if(s.numArgs){l=l.slice();for(var d=l.length-1;d>=0;--d){var f=l[d];if(f.text==="#"){if(d===0)throw new ke("Incomplete placeholder at end of macro body",f);if(f=l[--d],f.text==="#")l.splice(d+1,1);else if(/^[1-9]$/.test(f.text))l.splice(d,2,...o[+f.text-1]);else throw new ke("Not a valid argument number",f)}}}return this.pushTokens(l),l.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 ta(t)]):void 0}expandTokens(t){var n=[],a=this.stack.length;for(this.pushTokens(t);this.stack.length>a;)if(this.expandOnce(!0)===!1){var s=this.stack.pop();s.treatAsRelax&&(s.noexpand=!1,s.treatAsRelax=!1),n.push(s)}return this.countExpansion(n.length),n}expandMacroAsText(t){var n=this.expandMacro(t);return n&&n.map(a=>a.text).join("")}_getExpansion(t){var n=this.macros.get(t);if(n==null)return n;if(t.length===1){var a=this.lexer.catcodes[t];if(a!=null&&a!==13)return}var s=typeof n=="function"?n(this):n;if(typeof s=="string"){var l=0;if(s.indexOf("#")!==-1)for(var o=s.replace(/##/g,"");o.indexOf("#"+(l+1))!==-1;)++l;for(var d=new k6(s,this.settings),f=[],h=d.lex();h.text!=="EOF";)f.push(h),h=d.lex();f.reverse();var p={tokens:f,numArgs:l};return p}return s}isDefined(t){return this.macros.has(t)||rs.hasOwnProperty(t)||Zt.math.hasOwnProperty(t)||Zt.text.hasOwnProperty(t)||Yv.hasOwnProperty(t)}isExpandable(t){var n=this.macros.get(t);return n!=null?typeof n=="string"||typeof n=="function"||!n.unexpandable:rs.hasOwnProperty(t)&&!rs[t].primitive}}var R6=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,w0=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g",ʰ:"h","ⁱ":"i",ʲ:"j","ᵏ":"k",ˡ:"l","ᵐ":"m",ⁿ:"n","ᵒ":"o","ᵖ":"p",ʳ:"r",ˢ:"s","ᵗ":"t","ᵘ":"u","ᵛ":"v",ʷ:"w",ˣ:"x",ʸ:"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),k1={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},M6={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class kd{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 zL(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 ke("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 ta("}")),this.gullet.pushTokens(t);var a=this.parseExpression(!1);return this.expect("}"),this.nextToken=n,a}parseExpression(t,n){for(var a=[];;){this.mode==="math"&&this.consumeSpaces();var s=this.fetch();if(kd.endOfExpression.indexOf(s.text)!==-1||n&&s.text===n||t&&rs[s.text]&&rs[s.text].infix)break;var l=this.parseAtom(n);if(l){if(l.type==="internal")continue}else break;a.push(l)}return this.mode==="text"&&this.formLigatures(a),this.handleInfixNodes(a)}handleInfixNodes(t){for(var n=-1,a,s=0;s<t.length;s++)if(t[s].type==="infix"){if(n!==-1)throw new ke("only one infix operator per group",t[s].token);n=s,a=t[s].replaceWith}if(n!==-1&&a){var l,o,d=t.slice(0,n),f=t.slice(n+1);d.length===1&&d[0].type==="ordgroup"?l=d[0]:l={type:"ordgroup",mode:this.mode,body:d},f.length===1&&f[0].type==="ordgroup"?o=f[0]:o={type:"ordgroup",mode:this.mode,body:f};var h;return a==="\\\\abovefrac"?h=this.callFunction(a,[l,t[n],o],[]):h=this.callFunction(a,[l,o],[]),[h]}else return t}handleSupSubscript(t){var n=this.fetch(),a=n.text;this.consume(),this.consumeSpaces();var s;do{var l;s=this.parseGroup(t)}while(((l=s)==null?void 0:l.type)==="internal");if(!s)throw new ke("Expected group after '"+a+"'",n);return s}formatUnsupportedCmd(t){for(var n=[],a=0;a<t.length;a++)n.push({type:"textord",mode:"text",text:t[a]});var s={type:"text",mode:this.mode,body:n},l={type:"color",mode:this.mode,color:this.settings.errorColor,body:[s]};return l}parseAtom(t){var n=this.parseGroup("atom",t);if((n==null?void 0:n.type)==="internal"||this.mode==="text")return n;for(var a,s;;){this.consumeSpaces();var l=this.fetch();if(l.text==="\\limits"||l.text==="\\nolimits"){if(n&&n.type==="op"){var o=l.text==="\\limits";n.limits=o,n.alwaysHandleSupSub=!0}else if(n&&n.type==="operatorname")n.alwaysHandleSupSub&&(n.limits=l.text==="\\limits");else throw new ke("Limit controls must follow a math operator",l);this.consume()}else if(l.text==="^"){if(a)throw new ke("Double superscript",l);a=this.handleSupSubscript("superscript")}else if(l.text==="_"){if(s)throw new ke("Double subscript",l);s=this.handleSupSubscript("subscript")}else if(l.text==="'"){if(a)throw new ke("Double superscript",l);var d={type:"textord",mode:this.mode,text:"\\prime"},f=[d];for(this.consume();this.fetch().text==="'";)f.push(d),this.consume();this.fetch().text==="^"&&f.push(this.handleSupSubscript("superscript")),a={type:"ordgroup",mode:this.mode,body:f}}else if(w0[l.text]){var h=R6.test(l.text),p=[];for(p.push(new ta(w0[l.text])),this.consume();;){var g=this.fetch().text;if(!w0[g]||R6.test(g)!==h)break;p.unshift(new ta(w0[g])),this.consume()}var v=this.subparse(p);h?s={type:"ordgroup",mode:"math",body:v}:a={type:"ordgroup",mode:"math",body:v}}else break}return a||s?{type:"supsub",mode:this.mode,base:n,sup:a,sub:s}:n}parseFunction(t,n){var a=this.fetch(),s=a.text,l=rs[s];if(!l)return null;if(this.consume(),n&&n!=="atom"&&!l.allowedInArgument)throw new ke("Got function '"+s+"' with no arguments"+(n?" as "+n:""),a);if(this.mode==="text"&&!l.allowedInText)throw new ke("Can't use function '"+s+"' in text mode",a);if(this.mode==="math"&&l.allowedInMath===!1)throw new ke("Can't use function '"+s+"' in math mode",a);var{args:o,optArgs:d}=this.parseArguments(s,l);return this.callFunction(s,o,d,a,t)}callFunction(t,n,a,s,l){var o={funcName:t,parser:this,token:s,breakOnTokenText:l},d=rs[t];if(d&&d.handler)return d.handler(o,n,a);throw new ke("No function handler for "+t)}parseArguments(t,n){var a=n.numArgs+n.numOptionalArgs;if(a===0)return{args:[],optArgs:[]};for(var s=[],l=[],o=0;o<a;o++){var d=n.argTypes&&n.argTypes[o],f=o<n.numOptionalArgs;(n.primitive&&d==null||n.type==="sqrt"&&o===1&&l[0]==null)&&(d="primitive");var h=this.parseGroupOfType("argument to '"+t+"'",d,f);if(f)l.push(h);else if(h!=null)s.push(h);else throw new ke("Null argument, please report this as a bug")}return{args:s,optArgs:l}}parseGroupOfType(t,n,a){switch(n){case"color":return this.parseColorGroup(a);case"size":return this.parseSizeGroup(a);case"url":return this.parseUrlGroup(a);case"math":case"text":return this.parseArgumentGroup(a,n);case"hbox":{var s=this.parseArgumentGroup(a,"text");return s!=null?{type:"styling",mode:s.mode,body:[s],style:"text"}:null}case"raw":{var l=this.parseStringGroup("raw",a);return l!=null?{type:"raw",mode:"text",string:l.text}:null}case"primitive":{if(a)throw new ke("A primitive argument cannot be optional");var o=this.parseGroup(t);if(o==null)throw new ke("Expected group as "+t,this.fetch());return o}case"original":case null:case void 0:return this.parseArgumentGroup(a);default:throw new ke("Unknown group type as "+t,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(t,n){var a=this.gullet.scanArgument(n);if(a==null)return null;for(var s="",l;(l=this.fetch()).text!=="EOF";)s+=l.text,this.consume();return this.consume(),a.text=s,a}parseRegexGroup(t,n){for(var a=this.fetch(),s=a,l="",o;(o=this.fetch()).text!=="EOF"&&t.test(l+o.text);)s=o,l+=s.text,this.consume();if(l==="")throw new ke("Invalid "+n+": '"+a.text+"'",a);return a.range(s,l)}parseColorGroup(t){var n=this.parseStringGroup("color",t);if(n==null)return null;var a=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(n.text);if(!a)throw new ke("Invalid color: '"+n.text+"'",n);var s=a[0];return/^[0-9a-f]{6}$/i.test(s)&&(s="#"+s),{type:"color-token",mode:this.mode,color:s}}parseSizeGroup(t){var n,a=!1;if(this.gullet.consumeSpaces(),!t&&this.gullet.future().text!=="{"?n=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):n=this.parseStringGroup("size",t),!n)return null;!t&&n.text.length===0&&(n.text="0pt",a=!0);var s=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(n.text);if(!s)throw new ke("Invalid size: '"+n.text+"'",n);var l={number:+(s[1]+s[2]),unit:s[3]};if(!Jy(l))throw new ke("Invalid unit: '"+l.unit+"'",n);return{type:"size",mode:this.mode,value:l,isBlank:a}}parseUrlGroup(t){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var n=this.parseStringGroup("url",t);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),n==null)return null;var a=n.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:a}}parseArgumentGroup(t,n){var a=this.gullet.scanArgument(t);if(a==null)return null;var s=this.mode;n&&this.switchMode(n),this.gullet.beginGroup();var l=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var o={type:"ordgroup",mode:this.mode,loc:a.loc,body:l};return n&&this.switchMode(s),o}parseGroup(t,n){var a=this.fetch(),s=a.text,l;if(s==="{"||s==="\\begingroup"){this.consume();var o=s==="{"?"}":"\\endgroup";this.gullet.beginGroup();var d=this.parseExpression(!1,o),f=this.fetch();this.expect(o),this.gullet.endGroup(),l={type:"ordgroup",mode:this.mode,loc:Ur.range(a,f),body:d,semisimple:s==="\\begingroup"||void 0}}else if(l=this.parseFunction(n,t)||this.parseSymbol(),l==null&&s[0]==="\\"&&!Yv.hasOwnProperty(s)){if(this.settings.throwOnError)throw new ke("Undefined control sequence: "+s,a);l=this.formatUnsupportedCmd(s),this.consume()}return l}formLigatures(t){for(var n=t.length-1,a=0;a<n;++a){var s=t[a],l=s.text;l==="-"&&t[a+1].text==="-"&&(a+1<n&&t[a+2].text==="-"?(t.splice(a,3,{type:"textord",mode:"text",loc:Ur.range(s,t[a+2]),text:"---"}),n-=2):(t.splice(a,2,{type:"textord",mode:"text",loc:Ur.range(s,t[a+1]),text:"--"}),n-=1)),(l==="'"||l==="`")&&t[a+1].text===l&&(t.splice(a,2,{type:"textord",mode:"text",loc:Ur.range(s,t[a+1]),text:l+l}),n-=1)}}parseSymbol(){var t=this.fetch(),n=t.text;if(/^\\verb[^a-zA-Z]/.test(n)){this.consume();var a=n.slice(5),s=a.charAt(0)==="*";if(s&&(a=a.slice(1)),a.length<2||a.charAt(0)!==a.slice(-1))throw new ke(`\\verb assertion failed --
|
|
355
|
-
please report what input caused this bug`);return a=a.slice(1,-1),{type:"verb",mode:"text",body:a,star:s}}M6.hasOwnProperty(n[0])&&!Zt[this.mode][n[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+n[0]+'" used in math mode',t),n=M6[n[0]]+n.slice(1));var l=LL.exec(n);l&&(n=n.substring(0,l.index),n==="i"?n="ı":n==="j"&&(n="ȷ"));var o;if(Zt[this.mode][n]){this.settings.strict&&this.mode==="math"&&gm.indexOf(n)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+n[0]+'" used in math mode',t);var d=Zt[this.mode][n].group,f=Ur.range(t),h;if(CI.hasOwnProperty(d)){var p=d;h={type:"atom",mode:this.mode,family:p,loc:f,text:n}}else h={type:d,mode:this.mode,loc:f,text:n};o=h}else if(n.charCodeAt(0)>=128)this.settings.strict&&(Zy(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)),o={type:"textord",mode:"text",loc:Ur.range(t),text:n};else return null;if(this.consume(),l)for(var g=0;g<l[0].length;g++){var v=l[0][g];if(!k1[v])throw new ke("Unknown accent ' "+v+"'",t);var y=k1[v][this.mode]||k1[v].text;if(!y)throw new ke("Accent "+v+" unsupported in "+this.mode+" mode",t);o={type:"accent",mode:this.mode,loc:Ur.range(t),label:y,isStretchy:!1,isShifty:!0,base:o}}return o}}kd.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var Pp=function(t,n){if(!(typeof t=="string"||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var a=new kd(t,n);delete a.gullet.macros.current["\\df@tag"];var s=a.parse();if(delete a.gullet.macros.current["\\current@color"],delete a.gullet.macros.current["\\color"],a.gullet.macros.get("\\df@tag")){if(!n.displayMode)throw new ke("\\tag works only in display equations");s=[{type:"tag",mode:"text",body:s,tag:a.subparse([new ta("\\df@tag")])}]}return s},jv=function(t,n,a){n.textContent="";var s=Up(t,a).toNode();n.appendChild(s)};typeof document<"u"&&document.compatMode!=="CSS1Compat"&&(typeof console<"u"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),jv=function(){throw new ke("KaTeX doesn't work in quirks mode.")});var FL=function(t,n){var a=Up(t,n).toMarkup();return a},HL=function(t,n){var a=new yp(n);return Pp(t,a)},Gv=function(t,n,a){if(a.throwOnError||!(t instanceof ke))throw t;var s=le.makeSpan(["katex-error"],[new ra(n)]);return s.setAttribute("title",t.toString()),s.setAttribute("style","color:"+a.errorColor),s},Up=function(t,n){var a=new yp(n);try{var s=Pp(t,a);return WI(s,t,a)}catch(l){return Gv(l,t,a)}},qL=function(t,n){var a=new yp(n);try{var s=Pp(t,a);return QI(s,t,a)}catch(l){return Gv(l,t,a)}},YL="0.16.22",jL={Span:jo,Anchor:_p,SymbolNode:ra,SvgNode:fi,PathNode:ss,LineNode:pm},D6={version:YL,render:jv,renderToString:FL,ParseError:ke,SETTINGS_SCHEMA:H0,__parse:HL,__renderToDomTree:Up,__renderToHTMLTree:qL,__setFontMetrics:yI,__defineSymbol:T,__defineFunction:Ue,__defineMacro:R,__domTree:jL};const GL={},VL=[];function $L(e){const t=e||GL;return function(n,a){ip(n,"element",function(s,l){const o=Array.isArray(s.properties.className)?s.properties.className:VL,d=o.includes("language-math"),f=o.includes("math-display"),h=o.includes("math-inline");let p=f;if(!d&&!f&&!h)return;let g=l[l.length-1],v=s;if(s.tagName==="code"&&d&&g&&g.type==="element"&&g.tagName==="pre"&&(v=g,g=l[l.length-2],p=!0),!g)return;const y=ky(v,{whitespace:"pre"});let S;try{S=D6.renderToString(y,{...t,displayMode:p,throwOnError:!0})}catch(N){const k=N,M=k.name.toLowerCase();a.message("Could not render math with KaTeX",{ancestors:[...l,s],cause:k,place:s.position,ruleId:M,source:"rehype-katex"});try{S=D6.renderToString(y,{...t,displayMode:p,strict:"ignore",throwOnError:!1})}catch{S=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(N)},children:[{type:"text",value:y}]}]}}typeof S=="string"&&(S=YD(S).children);const w=g.children.indexOf(v);return g.children.splice(w,1,...S),u5})}}function KL(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:l},exit:{mathFlow:s,mathFlowFence:a,mathFlowFenceMeta:n,mathFlowValue:d,mathText:o,mathTextData:d}};function e(f){const h={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[h]}},f)}function t(){this.buffer()}function n(){const f=this.resume(),h=this.stack[this.stack.length-1];h.type,h.meta=f}function a(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function s(f){const h=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),p=this.stack[this.stack.length-1];p.type,this.exit(f),p.value=h;const g=p.data.hChildren[0];g.type,g.tagName,g.children.push({type:"text",value:h}),this.data.mathFlowInside=void 0}function l(f){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},f),this.buffer()}function o(f){const h=this.resume(),p=this.stack[this.stack.length-1];p.type,this.exit(f),p.value=h,p.data.hChildren.push({type:"text",value:h})}function d(f){this.config.enter.data.call(this,f),this.config.exit.data.call(this,f)}}function XL(e){let t=(e||{}).singleDollarTextMath;return t==null&&(t=!0),a.peek=s,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
|
|
356
|
-
`,inConstruct:"mathFlowMeta"},{character:"$",after:t?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:n,inlineMath:a}};function n(l,o,d,f){const h=l.value||"",p=d.createTracker(f),g="$".repeat(Math.max(p5(h,"$")+1,2)),v=d.enter("mathFlow");let y=p.move(g);if(l.meta){const S=d.enter("mathFlowMeta");y+=p.move(d.safe(l.meta,{after:`
|
|
357
|
-
`,before:y,encode:["$"],...p.current()})),S()}return y+=p.move(`
|
|
358
|
-
`),h&&(y+=p.move(h+`
|
|
359
|
-
`)),y+=p.move(g),v(),y}function a(l,o,d){let f=l.value||"",h=1;for(t||h++;new RegExp("(^|[^$])"+"\\$".repeat(h)+"([^$]|$)").test(f);)h++;const p="$".repeat(h);/[^ \r\n]/.test(f)&&(/^[ \r\n]/.test(f)&&/[ \r\n]$/.test(f)||/^\$|\$$/.test(f))&&(f=" "+f+" ");let g=-1;for(;++g<d.unsafe.length;){const v=d.unsafe[g];if(!v.atBreak)continue;const y=d.compilePattern(v);let S;for(;S=y.exec(f);){let w=S.index;f.codePointAt(w)===10&&f.codePointAt(w-1)===13&&w--,f=f.slice(0,w)+" "+f.slice(S.index+1)}}return p+f+p}function s(){return"$"}}const WL={tokenize:QL,concrete:!0,name:"mathFlow"},I6={tokenize:ZL,partial:!0};function QL(e,t,n){const a=this,s=a.events[a.events.length-1],l=s&&s[1].type==="linePrefix"?s[2].sliceSerialize(s[1],!0).length:0;let o=0;return d;function d(M){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),f(M)}function f(M){return M===36?(e.consume(M),o++,f):o<2?n(M):(e.exit("mathFlowFenceSequence"),At(e,h,"whitespace")(M))}function h(M){return M===null||Xe(M)?g(M):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),p(M))}function p(M){return M===null||Xe(M)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),g(M)):M===36?n(M):(e.consume(M),p)}function g(M){return e.exit("mathFlowFence"),a.interrupt?t(M):e.attempt(I6,v,N)(M)}function v(M){return e.attempt({tokenize:k,partial:!0},N,y)(M)}function y(M){return(l?At(e,S,"linePrefix",l+1):S)(M)}function S(M){return M===null?N(M):Xe(M)?e.attempt(I6,v,N)(M):(e.enter("mathFlowValue"),w(M))}function w(M){return M===null||Xe(M)?(e.exit("mathFlowValue"),S(M)):(e.consume(M),w)}function N(M){return e.exit("mathFlow"),t(M)}function k(M,I,X){let G=0;return At(M,P,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function P(te){return M.enter("mathFlowFence"),M.enter("mathFlowFenceSequence"),Z(te)}function Z(te){return te===36?(G++,M.consume(te),Z):G<o?X(te):(M.exit("mathFlowFenceSequence"),At(M,ne,"whitespace")(te))}function ne(te){return te===null||Xe(te)?(M.exit("mathFlowFence"),I(te)):X(te)}}}function ZL(e,t,n){const a=this;return s;function s(o){return o===null?t(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),l)}function l(o){return a.parser.lazy[a.now().line]?n(o):t(o)}}function JL(e){let n=(e||{}).singleDollarTextMath;return n==null&&(n=!0),{tokenize:a,resolve:eB,previous:tB,name:"mathText"};function a(s,l,o){let d=0,f,h;return p;function p(w){return s.enter("mathText"),s.enter("mathTextSequence"),g(w)}function g(w){return w===36?(s.consume(w),d++,g):d<2&&!n?o(w):(s.exit("mathTextSequence"),v(w))}function v(w){return w===null?o(w):w===36?(h=s.enter("mathTextSequence"),f=0,S(w)):w===32?(s.enter("space"),s.consume(w),s.exit("space"),v):Xe(w)?(s.enter("lineEnding"),s.consume(w),s.exit("lineEnding"),v):(s.enter("mathTextData"),y(w))}function y(w){return w===null||w===32||w===36||Xe(w)?(s.exit("mathTextData"),v(w)):(s.consume(w),y)}function S(w){return w===36?(s.consume(w),f++,S):f===d?(s.exit("mathTextSequence"),s.exit("mathText"),l(w)):(h.type="mathTextData",y(w))}}}function eB(e){let t=e.length-4,n=3,a,s;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(a=n;++a<t;)if(e[a][1].type==="mathTextData"){e[t][1].type="mathTextPadding",e[n][1].type="mathTextPadding",n+=2,t-=2;break}}for(a=n-1,t++;++a<=t;)s===void 0?a!==t&&e[a][1].type!=="lineEnding"&&(s=a):(a===t||e[a][1].type==="lineEnding")&&(e[s][1].type="mathTextData",a!==s+2&&(e[s][1].end=e[a-1][1].end,e.splice(s+2,a-s-2),t-=a-s-2,a=s+2),s=void 0);return e}function tB(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}function nB(e){return{flow:{36:WL},text:{36:JL(e)}}}const rB={};function aB(e){const t=this,n=e||rB,a=t.data(),s=a.micromarkExtensions||(a.micromarkExtensions=[]),l=a.fromMarkdownExtensions||(a.fromMarkdownExtensions=[]),o=a.toMarkdownExtensions||(a.toMarkdownExtensions=[]);s.push(nB(n)),l.push(KL()),o.push(XL(n))}var iB=Object.freeze({InvalidProxyUrlErrorMessage:"The proxyUrl passed to Clerk is invalid. The expected value for proxyUrl is an absolute URL or a relative path with a leading '/'. (key={{url}})",InvalidPublishableKeyErrorMessage:"The publishableKey passed to Clerk is invalid. You can get your Publishable key at https://dashboard.clerk.com/last-active?path=api-keys. (key={{key}})",MissingPublishableKeyErrorMessage:"Missing publishableKey. You can get your key at https://dashboard.clerk.com/last-active?path=api-keys.",MissingSecretKeyErrorMessage:"Missing secretKey. You can get your key at https://dashboard.clerk.com/last-active?path=api-keys.",MissingClerkProvider:"{{source}} can only be used within the <ClerkProvider /> component. Learn more: https://clerk.com/docs/components/clerk-provider"});function Vv({packageName:e,customMessages:t}){let n=e;const a={...iB,...t};function s(l,o){if(!o)return`${n}: ${l}`;let d=l;const f=l.matchAll(/{{([a-zA-Z0-9-_]+)}}/g);for(const h of f){const p=(o[h[1]]||"").toString();d=d.replace(`{{${h[1]}}}`,p)}return`${n}: ${d}`}return{setPackageName({packageName:l}){return typeof l=="string"&&(n=l),this},setMessages({customMessages:l}){return Object.assign(a,l||{}),this},throwInvalidPublishableKeyError(l){throw new Error(s(a.InvalidPublishableKeyErrorMessage,l))},throwInvalidProxyUrl(l){throw new Error(s(a.InvalidProxyUrlErrorMessage,l))},throwMissingPublishableKeyError(){throw new Error(s(a.MissingPublishableKeyErrorMessage))},throwMissingSecretKeyError(){throw new Error(s(a.MissingSecretKeyErrorMessage))},throwMissingClerkProviderError(l){throw new Error(s(a.MissingClerkProvider,l))},throw(l){throw new Error(s(l))}}}var $v=Object.defineProperty,sB=Object.getOwnPropertyDescriptor,lB=Object.getOwnPropertyNames,uB=Object.prototype.hasOwnProperty,oB=(e,t)=>{for(var n in t)$v(e,n,{get:t[n],enumerable:!0})},cB=(e,t,n,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of lB(t))!uB.call(e,s)&&s!==n&&$v(e,s,{get:()=>t[s],enumerable:!(a=sB(t,s))||a.enumerable});return e},dB=(e,t,n)=>(cB(e,t,"default"),n),fB={strict_mfa:{afterMinutes:10,level:"multi_factor"},strict:{afterMinutes:10,level:"second_factor"},moderate:{afterMinutes:60,level:"second_factor"},lax:{afterMinutes:1440,level:"second_factor"}},hB=new Set(["first_factor","second_factor","multi_factor"]),mB=new Set(["strict_mfa","strict","moderate","lax"]),pB=e=>typeof e=="number"&&e>0,gB=e=>hB.has(e),bB=e=>mB.has(e),N1=e=>e.replace(/^(org:)*/,"org:"),EB=(e,t)=>{const{orgId:n,orgRole:a,orgPermissions:s}=t;return!e.role&&!e.permission||!n||!a||!s?null:e.permission?s.includes(N1(e.permission)):e.role?N1(a)===N1(e.role):null},L6=(e,t)=>{const{org:n,user:a}=vB(e),[s,l]=t.split(":"),o=l||s;return s==="org"?n.includes(o):s==="user"?a.includes(o):[...n,...a].includes(o)},yB=(e,t)=>{const{features:n,plans:a}=t;return e.feature&&n?L6(n,e.feature):e.plan&&a?L6(a,e.plan):null},vB=e=>{const t=e?e.split(",").map(n=>n.trim()):[];return{org:t.filter(n=>n.split(":")[0].includes("o")).map(n=>n.split(":")[1]),user:t.filter(n=>n.split(":")[0].includes("u")).map(n=>n.split(":")[1])}},TB=e=>{if(!e)return!1;const t=s=>typeof s=="string"?fB[s]:s,n=typeof e=="string"&&bB(e),a=typeof e=="object"&&gB(e.level)&&pB(e.afterMinutes);return n||a?t.bind(null,e):!1},_B=(e,{factorVerificationAge:t})=>{if(!e.reverification||!t)return null;const n=TB(e.reverification);if(!n)return null;const{level:a,afterMinutes:s}=n(),[l,o]=t,d=l!==-1?s>l:null,f=o!==-1?s>o:null;switch(a){case"first_factor":return d;case"second_factor":return o!==-1?f:d;case"multi_factor":return o===-1?d:d&&f}},SB=e=>t=>{if(!e.userId)return!1;const n=yB(t,e),a=EB(t,e),s=_B(t,e);return[n||a,s].some(l=>l===null)?[n||a,s].some(l=>l===!0):[n||a,s].every(l=>l===!0)},xB=({authObject:{sessionId:e,sessionStatus:t,userId:n,actor:a,orgId:s,orgRole:l,orgSlug:o,signOut:d,getToken:f,has:h,sessionClaims:p},options:{treatPendingAsSignedOut:g=!0}})=>{if(e===void 0&&n===void 0)return{isLoaded:!1,isSignedIn:void 0,sessionId:e,sessionClaims:void 0,userId:n,actor:void 0,orgId:void 0,orgRole:void 0,orgSlug:void 0,has:void 0,signOut:d,getToken:f};if(e===null&&n===null)return{isLoaded:!0,isSignedIn:!1,sessionId:e,userId:n,sessionClaims:null,actor:null,orgId:null,orgRole:null,orgSlug:null,has:()=>!1,signOut:d,getToken:f};if(g&&t==="pending")return{isLoaded:!0,isSignedIn:!1,sessionId:null,userId:null,sessionClaims:null,actor:null,orgId:null,orgRole:null,orgSlug:null,has:()=>!1,signOut:d,getToken:f};if(e&&p&&n&&s&&l)return{isLoaded:!0,isSignedIn:!0,sessionId:e,sessionClaims:p,userId:n,actor:a||null,orgId:s,orgRole:l,orgSlug:o||null,has:h,signOut:d,getToken:f};if(e&&p&&n&&!s)return{isLoaded:!0,isSignedIn:!0,sessionId:e,sessionClaims:p,userId:n,actor:a||null,orgId:null,orgRole:null,orgSlug:null,has:h,signOut:d,getToken:f}},Kv=e=>typeof atob<"u"&&typeof atob=="function"?atob(e):typeof global<"u"&&global.Buffer?new global.Buffer(e,"base64").toString():e,AB=[".lcl.dev",".stg.dev",".lclstage.dev",".stgstage.dev",".dev.lclclerk.com",".stg.lclclerk.com",".accounts.lclclerk.com","accountsstage.dev","accounts.dev"],Xv="pk_live_",wB="pk_test_";function B6(e,t={}){if(e=e||"",!e||!_m(e)){if(t.fatal&&!e)throw new Error("Publishable key is missing. Ensure that your publishable key is correctly configured. Double-check your environment configuration for your keys, or access them here: https://dashboard.clerk.com/last-active?path=api-keys");if(t.fatal&&!_m(e))throw new Error("Publishable key not valid.");return null}const n=e.startsWith(Xv)?"production":"development";let a=Kv(e.split("_")[2]);return a=a.slice(0,-1),t.proxyUrl?a=t.proxyUrl:n!=="development"&&t.domain&&t.isSatellite&&(a=`clerk.${t.domain}`),{instanceType:n,frontendApi:a}}function _m(e=""){try{const t=e.startsWith(Xv)||e.startsWith(wB),n=Kv(e.split("_")[2]||"").endsWith("$");return t&&n}catch{return!1}}function CB(){const e=new Map;return{isDevOrStagingUrl:t=>{if(!t)return!1;const n=typeof t=="string"?t:t.hostname;let a=e.get(n);return a===void 0&&(a=AB.some(s=>n.endsWith(s)),e.set(n,a)),a}}}var kB="METHOD_CALLED";function NB(e,t){return{event:kB,payload:{method:e,...t}}}var O1={exports:{}},R1={};/**
|
|
360
|
-
* @license React
|
|
361
|
-
* use-sync-external-store-shim.production.js
|
|
362
|
-
*
|
|
363
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
364
|
-
*
|
|
365
|
-
* This source code is licensed under the MIT license found in the
|
|
366
|
-
* LICENSE file in the root directory of this source tree.
|
|
367
|
-
*/var P6;function OB(){if(P6)return R1;P6=1;var e=od();function t(g,v){return g===v&&(g!==0||1/g===1/v)||g!==g&&v!==v}var n=typeof Object.is=="function"?Object.is:t,a=e.useState,s=e.useEffect,l=e.useLayoutEffect,o=e.useDebugValue;function d(g,v){var y=v(),S=a({inst:{value:y,getSnapshot:v}}),w=S[0].inst,N=S[1];return l(function(){w.value=y,w.getSnapshot=v,f(w)&&N({inst:w})},[g,y,v]),s(function(){return f(w)&&N({inst:w}),g(function(){f(w)&&N({inst:w})})},[g]),o(y),y}function f(g){var v=g.getSnapshot;g=g.value;try{var y=v();return!n(g,y)}catch{return!0}}function h(g,v){return v()}var p=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?h:d;return R1.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:p,R1}var U6;function RB(){return U6||(U6=1,O1.exports=OB()),O1.exports}var Wv=RB();const Qv=0,Zv=1,Jv=2,z6=3;var F6=Object.prototype.hasOwnProperty;function Sm(e,t){var n,a;if(e===t)return!0;if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((a=e.length)===t.length)for(;a--&&Sm(e[a],t[a]););return a===-1}if(!n||typeof e=="object"){a=0;for(n in e)if(F6.call(e,n)&&++a&&!F6.call(t,n)||!(n in t)||!Sm(e[n],t[n]))return!1;return Object.keys(t).length===a}}return e!==e&&t!==t}const pa=new WeakMap,as=()=>{},Bn=as(),id=Object,vt=e=>e===Bn,Jr=e=>typeof e=="function",pi=(e,t)=>({...e,...t}),e7=e=>Jr(e.then),M1={},C0={},zp="undefined",Vo=typeof window!=zp,xm=typeof document!=zp,MB=Vo&&"Deno"in window,DB=()=>Vo&&typeof window.requestAnimationFrame!=zp,es=(e,t)=>{const n=pa.get(e);return[()=>!vt(t)&&e.get(t)||M1,a=>{if(!vt(t)){const s=e.get(t);t in C0||(C0[t]=s),n[5](t,pi(s,a),s||M1)}},n[6],()=>!vt(t)&&t in C0?C0[t]:!vt(t)&&e.get(t)||M1]};let Am=!0;const IB=()=>Am,[wm,Cm]=Vo&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[as,as],LB=()=>{const e=xm&&document.visibilityState;return vt(e)||e!=="hidden"},BB=e=>(xm&&document.addEventListener("visibilitychange",e),wm("focus",e),()=>{xm&&document.removeEventListener("visibilitychange",e),Cm("focus",e)}),PB=e=>{const t=()=>{Am=!0,e()},n=()=>{Am=!1};return wm("online",t),wm("offline",n),()=>{Cm("online",t),Cm("offline",n)}},UB={isOnline:IB,isVisible:LB},zB={initFocus:BB,initReconnect:PB},H6=!Ee.useId,Mo=!Vo||MB,FB=e=>DB()?window.requestAnimationFrame(e):setTimeout(e,1),_o=Mo?V.useEffect:V.useLayoutEffect,D1=typeof navigator<"u"&&navigator.connection,q6=!Mo&&D1&&(["slow-2g","2g"].includes(D1.effectiveType)||D1.saveData),k0=new WeakMap,I1=(e,t)=>id.prototype.toString.call(e)===`[object ${t}]`;let HB=0;const km=e=>{const t=typeof e,n=I1(e,"Date"),a=I1(e,"RegExp"),s=I1(e,"Object");let l,o;if(id(e)===e&&!n&&!a){if(l=k0.get(e),l)return l;if(l=++HB+"~",k0.set(e,l),Array.isArray(e)){for(l="@",o=0;o<e.length;o++)l+=km(e[o])+",";k0.set(e,l)}if(s){l="#";const d=id.keys(e).sort();for(;!vt(o=d.pop());)vt(e[o])||(l+=o+":"+km(e[o])+",");k0.set(e,l)}}else l=n?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return l},Fl=e=>{if(Jr(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?km(e):"",[e,t]};let qB=0;const Nm=()=>++qB;async function t7(...e){const[t,n,a,s]=e,l=pi({populateCache:!0,throwOnError:!0},typeof s=="boolean"?{revalidate:s}:s||{});let o=l.populateCache;const d=l.rollbackOnError;let f=l.optimisticData;const h=v=>typeof d=="function"?d(v):d!==!1,p=l.throwOnError;if(Jr(n)){const v=n,y=[],S=t.keys();for(const w of S)!/^\$(inf|sub)\$/.test(w)&&v(t.get(w)._k)&&y.push(w);return Promise.all(y.map(g))}return g(n);async function g(v){const[y]=Fl(v);if(!y)return;const[S,w]=es(t,y),[N,k,M,I]=pa.get(t),X=()=>{const ge=N[y];return(Jr(l.revalidate)?l.revalidate(S().data,v):l.revalidate!==!1)&&(delete M[y],delete I[y],ge&&ge[0])?ge[0](Jv).then(()=>S().data):S().data};if(e.length<3)return X();let G=a,P;const Z=Nm();k[y]=[Z,0];const ne=!vt(f),te=S(),Y=te.data,ee=te._c,re=vt(ee)?Y:ee;if(ne&&(f=Jr(f)?f(re,Y):f,w({data:f,_c:re})),Jr(G))try{G=G(re)}catch(ge){P=ge}if(G&&e7(G))if(G=await G.catch(ge=>{P=ge}),Z!==k[y][0]){if(P)throw P;return G}else P&&ne&&h(P)&&(o=!0,w({data:re,_c:Bn}));if(o&&!P)if(Jr(o)){const ge=o(G,re);w({data:ge,error:Bn,_c:Bn})}else w({data:G,error:Bn,_c:Bn});if(k[y][1]=Nm(),Promise.resolve(X()).then(()=>{w({_c:Bn})}),P){if(p)throw P;return}return G}}const Y6=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},n7=(e,t)=>{if(!pa.has(e)){const n=pi(zB,t),a=Object.create(null),s=t7.bind(Bn,e);let l=as;const o=Object.create(null),d=(p,g)=>{const v=o[p]||[];return o[p]=v,v.push(g),()=>v.splice(v.indexOf(g),1)},f=(p,g,v)=>{e.set(p,g);const y=o[p];if(y)for(const S of y)S(g,v)},h=()=>{if(!pa.has(e)&&(pa.set(e,[a,Object.create(null),Object.create(null),Object.create(null),s,f,d]),!Mo)){const p=n.initFocus(setTimeout.bind(Bn,Y6.bind(Bn,a,Qv))),g=n.initReconnect(setTimeout.bind(Bn,Y6.bind(Bn,a,Zv)));l=()=>{p&&p(),g&&g(),pa.delete(e)}}};return h(),[e,s,h,l]}return[e,pa.get(e)[4]]},YB=(e,t,n,a,s)=>{const l=n.errorRetryCount,o=s.retryCount,d=~~((Math.random()+.5)*(1<<(o<8?o:8)))*n.errorRetryInterval;!vt(l)&&o>l||setTimeout(a,d,s)},jB=Sm,[$o,r7]=n7(new Map),a7=pi({onLoadingSlow:as,onSuccess:as,onError:as,onErrorRetry:YB,onDiscarded:as,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:q6?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:q6?5e3:3e3,compare:jB,isPaused:()=>!1,cache:$o,mutate:r7,fallback:{}},UB),i7=(e,t)=>{const n=pi(e,t);if(t){const{use:a,fallback:s}=e,{use:l,fallback:o}=t;a&&l&&(n.use=a.concat(l)),s&&o&&(n.fallback=pi(s,o))}return n},Om=V.createContext({}),GB=e=>{const{value:t}=e,n=V.useContext(Om),a=Jr(t),s=V.useMemo(()=>a?t(n):t,[a,n,t]),l=V.useMemo(()=>a?s:i7(n,s),[a,n,s]),o=s&&s.provider,d=V.useRef(Bn);o&&!d.current&&(d.current=n7(o(l.cache||$o),s));const f=d.current;return f&&(l.cache=f[0],l.mutate=f[1]),_o(()=>{if(f)return f[2]&&f[2](),f[3]},[]),V.createElement(Om.Provider,pi(e,{value:l}))},s7="$inf$",l7=Vo&&window.__SWR_DEVTOOLS_USE__,VB=l7?window.__SWR_DEVTOOLS_USE__:[],$B=()=>{l7&&(window.__SWR_DEVTOOLS_REACT__=Ee)},u7=e=>Jr(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],o7=()=>pi(a7,V.useContext(Om)),KB=(e,t)=>{const[n,a]=Fl(e),[,,,s]=pa.get($o);if(s[n])return s[n];const l=t(a);return s[n]=l,l},XB=e=>(t,n,a)=>e(t,n&&((...l)=>{const[o]=Fl(t),[,,,d]=pa.get($o);if(o.startsWith(s7))return n(...l);const f=d[o];return vt(f)?n(...l):(delete d[o],f)}),a),WB=VB.concat(XB),QB=e=>function(...n){const a=o7(),[s,l,o]=u7(n),d=i7(a,o);let f=e;const{use:h}=d,p=(h||[]).concat(WB);for(let g=p.length;g--;)f=p[g](f);return f(s,l||d.fetcher||null,d)},ZB=(e,t,n)=>{const a=t[e]||(t[e]=[]);return a.push(n),()=>{const s=a.indexOf(n);s>=0&&(a[s]=a[a.length-1],a.pop())}},JB=(e,t)=>(...n)=>{const[a,s,l]=u7(n),o=(l.use||[]).concat(t);return e(a,s,{...l,use:o})};$B();const eP=()=>{},tP=eP(),Rm=Object,j6=e=>e===tP,nP=e=>typeof e=="function",N0=new WeakMap,L1=(e,t)=>Rm.prototype.toString.call(e)===`[object ${t}]`;let rP=0;const Mm=e=>{const t=typeof e,n=L1(e,"Date"),a=L1(e,"RegExp"),s=L1(e,"Object");let l,o;if(Rm(e)===e&&!n&&!a){if(l=N0.get(e),l)return l;if(l=++rP+"~",N0.set(e,l),Array.isArray(e)){for(l="@",o=0;o<e.length;o++)l+=Mm(e[o])+",";N0.set(e,l)}if(s){l="#";const d=Rm.keys(e).sort();for(;!j6(o=d.pop());)j6(e[o])||(l+=o+":"+Mm(e[o])+",");N0.set(e,l)}}else l=n?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return l},aP=e=>{if(nP(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?Mm(e):"",[e,t]},iP=e=>aP(e)[0],B1=Ee.use||(e=>{switch(e.status){case"pending":throw e;case"fulfilled":return e.value;case"rejected":throw e.reason;default:throw e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e}}),P1={dedupe:!0},sP=(e,t,n)=>{const{cache:a,compare:s,suspense:l,fallbackData:o,revalidateOnMount:d,revalidateIfStale:f,refreshInterval:h,refreshWhenHidden:p,refreshWhenOffline:g,keepPreviousData:v}=n,[y,S,w,N]=pa.get(a),[k,M]=Fl(e),I=V.useRef(!1),X=V.useRef(!1),G=V.useRef(k),P=V.useRef(t),Z=V.useRef(n),ne=()=>Z.current,te=()=>ne().isVisible()&&ne().isOnline(),[Y,ee,re,ge]=es(a,k),oe=V.useRef({}).current,pe=vt(o)?vt(n.fallback)?Bn:n.fallback[k]:o,W=($e,Ve)=>{for(const ot in oe){const We=ot;if(We==="data"){if(!s($e[We],Ve[We])&&(!vt($e[We])||!s(qe,Ve[We])))return!1}else if(Ve[We]!==$e[We])return!1}return!0},he=V.useMemo(()=>{const $e=!k||!t?!1:vt(d)?ne().isPaused()||l?!1:f!==!1:d,Ve=en=>{const Un=pi(en);return delete Un._k,$e?{isValidating:!0,isLoading:!0,...Un}:Un},ot=Y(),We=ge(),Ot=Ve(ot),un=ot===We?Ot:Ve(We);let Dt=Ot;return[()=>{const en=Ve(Y());return W(en,Dt)?(Dt.data=en.data,Dt.isLoading=en.isLoading,Dt.isValidating=en.isValidating,Dt.error=en.error,Dt):(Dt=en,en)},()=>un]},[a,k]),ye=Wv.useSyncExternalStore(V.useCallback($e=>re(k,(Ve,ot)=>{W(ot,Ve)||$e()}),[a,k]),he[0],he[1]),He=!I.current,A=y[k]&&y[k].length>0,Q=ye.data,de=vt(Q)?pe&&e7(pe)?B1(pe):pe:Q,D=ye.error,De=V.useRef(de),qe=v?vt(Q)?vt(De.current)?de:De.current:Q:de,Me=A&&!vt(D)?!1:He&&!vt(d)?d:ne().isPaused()?!1:l?vt(de)?!1:f:vt(de)||f,Tt=!!(k&&t&&He&&Me),nt=vt(ye.isValidating)?Tt:ye.isValidating,st=vt(ye.isLoading)?Tt:ye.isLoading,Ye=V.useCallback(async $e=>{const Ve=P.current;if(!k||!Ve||X.current||ne().isPaused())return!1;let ot,We,Ot=!0;const un=$e||{},Dt=!w[k]||!un.dedupe,en=()=>H6?!X.current&&k===G.current&&I.current:k===G.current,Un={isValidating:!1,isLoading:!1},yi=()=>{ee(Un)},ya=()=>{const Dn=w[k];Dn&&Dn[1]===We&&delete w[k]},hr={isValidating:!0};vt(Y().data)&&(hr.isLoading=!0);try{if(Dt&&(ee(hr),n.loadingTimeout&&vt(Y().data)&&setTimeout(()=>{Ot&&en()&&ne().onLoadingSlow(k,n)},n.loadingTimeout),w[k]=[Ve(M),Nm()]),[ot,We]=w[k],ot=await ot,Dt&&setTimeout(ya,n.dedupingInterval),!w[k]||w[k][1]!==We)return Dt&&en()&&ne().onDiscarded(k),!1;Un.error=Bn;const Dn=S[k];if(!vt(Dn)&&(We<=Dn[0]||We<=Dn[1]||Dn[1]===0))return yi(),Dt&&en()&&ne().onDiscarded(k),!1;const fe=Y().data;Un.data=s(fe,ot)?fe:ot,Dt&&en()&&ne().onSuccess(ot,k,n)}catch(Dn){ya();const fe=ne(),{shouldRetryOnError:xe}=fe;fe.isPaused()||(Un.error=Dn,Dt&&en()&&(fe.onError(Dn,k,fe),(xe===!0||Jr(xe)&&xe(Dn))&&(!ne().revalidateOnFocus||!ne().revalidateOnReconnect||te())&&fe.onErrorRetry(Dn,k,fe,Qe=>{const et=y[k];et&&et[0]&&et[0](z6,Qe)},{retryCount:(un.retryCount||0)+1,dedupe:!0})))}return Ot=!1,yi(),!0},[k,a]),wt=V.useCallback((...$e)=>t7(a,G.current,...$e),[]);if(_o(()=>{P.current=t,Z.current=n,vt(Q)||(De.current=Q)}),_o(()=>{if(!k)return;const $e=Ye.bind(Bn,P1);let Ve=0;ne().revalidateOnFocus&&(Ve=Date.now()+ne().focusThrottleInterval);const We=ZB(k,y,(Ot,un={})=>{if(Ot==Qv){const Dt=Date.now();ne().revalidateOnFocus&&Dt>Ve&&te()&&(Ve=Dt+ne().focusThrottleInterval,$e())}else if(Ot==Zv)ne().revalidateOnReconnect&&te()&&$e();else{if(Ot==Jv)return Ye();if(Ot==z6)return Ye(un)}});return X.current=!1,G.current=k,I.current=!0,ee({_k:M}),Me&&(vt(de)||Mo?$e():FB($e)),()=>{X.current=!0,We()}},[k]),_o(()=>{let $e;function Ve(){const We=Jr(h)?h(Y().data):h;We&&$e!==-1&&($e=setTimeout(ot,We))}function ot(){!Y().error&&(p||ne().isVisible())&&(g||ne().isOnline())?Ye(P1).then(Ve):Ve()}return Ve(),()=>{$e&&(clearTimeout($e),$e=-1)}},[h,p,g,k]),V.useDebugValue(qe),l&&vt(de)&&k){if(!H6&&Mo)throw new Error("Fallback data is required when using Suspense in SSR.");P.current=t,Z.current=n,X.current=!1;const $e=N[k];if(!vt($e)){const Ve=wt($e);B1(Ve)}if(vt(D)){const Ve=Ye(P1);vt(qe)||(Ve.status="fulfilled",Ve.value=!0),B1(Ve)}else throw D}return{mutate:wt,get data(){return oe.data=!0,qe},get error(){return oe.error=!0,D},get isValidating(){return oe.isValidating=!0,nt},get isLoading(){return oe.isLoading=!0,st}}},lP=id.defineProperty(GB,"defaultValue",{value:a7}),Fp=QB(sP),uP=Object.freeze(Object.defineProperty({__proto__:null,SWRConfig:lP,default:Fp,mutate:r7,preload:KB,unstable_serialize:iP,useSWRConfig:o7},Symbol.toStringTag,{value:"Module"})),oP=()=>{},cP=oP(),Dm=Object,G6=e=>e===cP,dP=e=>typeof e=="function",O0=new WeakMap,U1=(e,t)=>Dm.prototype.toString.call(e)===`[object ${t}]`;let fP=0;const Im=e=>{const t=typeof e,n=U1(e,"Date"),a=U1(e,"RegExp"),s=U1(e,"Object");let l,o;if(Dm(e)===e&&!n&&!a){if(l=O0.get(e),l)return l;if(l=++fP+"~",O0.set(e,l),Array.isArray(e)){for(l="@",o=0;o<e.length;o++)l+=Im(e[o])+",";O0.set(e,l)}if(s){l="#";const d=Dm.keys(e).sort();for(;!G6(o=d.pop());)G6(e[o])||(l+=o+":"+Im(e[o])+",");O0.set(e,l)}}else l=n?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return l},hP=e=>{if(dP(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?Im(e):"",[e,t]},mP=e=>hP(e?e(0,null):null)[0],z1=Promise.resolve(),pP=e=>(t,n,a)=>{const s=V.useRef(!1),{cache:l,initialSize:o=1,revalidateAll:d=!1,persistSize:f=!1,revalidateFirstPage:h=!0,revalidateOnMount:p=!1,parallel:g=!1}=a,[,,,v]=pa.get($o);let y;try{y=mP(t),y&&(y=s7+y)}catch{}const[S,w,N]=es(l,y),k=V.useCallback(()=>vt(S()._l)?o:S()._l,[l,y,o]);Wv.useSyncExternalStore(V.useCallback(ne=>y?N(y,()=>{ne()}):()=>{},[l,y]),k,k);const M=V.useCallback(()=>{const ne=S()._l;return vt(ne)?o:ne},[y,o]),I=V.useRef(M());_o(()=>{if(!s.current){s.current=!0;return}y&&w({_l:f?I.current:M()})},[y,l]);const X=p&&!s.current,G=e(y,async ne=>{const te=S()._i,Y=S()._r;w({_r:Bn});const ee=[],re=M(),[ge]=es(l,ne),oe=ge().data,pe=[];let W=null;for(let he=0;he<re;++he){const[ye,He]=Fl(t(he,g?null:W));if(!ye)break;const[A,Q]=es(l,ye);let de=A().data;const D=d||te||vt(de)||h&&!he&&!vt(oe)||X||oe&&!vt(oe[he])&&!a.compare(oe[he],de);if(n&&(typeof Y=="function"?Y(de,He):D)){const De=async()=>{if(!(ye in v))de=await n(He);else{const Me=v[ye];delete v[ye],de=await Me}Q({data:de,_k:He}),ee[he]=de};g?pe.push(De):await De()}else ee[he]=de;g||(W=de)}return g&&await Promise.all(pe.map(he=>he())),w({_i:Bn}),ee},a),P=V.useCallback(function(ne,te){const Y=typeof te=="boolean"?{revalidate:te}:te||{},ee=Y.revalidate!==!1;return y?(ee&&(vt(ne)?w({_i:!0,_r:Y.revalidate}):w({_i:!1,_r:Y.revalidate})),arguments.length?G.mutate(ne,{...Y,revalidate:ee}):G.mutate()):z1},[y,l]),Z=V.useCallback(ne=>{if(!y)return z1;const[,te]=es(l,y);let Y;if(Jr(ne)?Y=ne(M()):typeof ne=="number"&&(Y=ne),typeof Y!="number")return z1;te({_l:Y}),I.current=Y;const ee=[],[re]=es(l,y);let ge=null;for(let oe=0;oe<Y;++oe){const[pe]=Fl(t(oe,ge)),[W]=es(l,pe),he=pe?W().data:Bn;if(vt(he))return P(re().data);ee.push(he),ge=he}return P(ee)},[y,l,P,M]);return{size:M(),setSize:Z,mutate:P,get data(){return G.data},get error(){return G.error},get isValidating(){return G.isValidating},get isLoading(){return G.isLoading}}},gP=JB(Fp,pP);var V6=Object.prototype.hasOwnProperty;function $6(e,t,n){for(n of e.keys())if(So(n,t))return n}function So(e,t){var n,a,s;if(e===t)return!0;if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((a=e.length)===t.length)for(;a--&&So(e[a],t[a]););return a===-1}if(n===Set){if(e.size!==t.size)return!1;for(a of e)if(s=a,s&&typeof s=="object"&&(s=$6(t,s),!s)||!t.has(s))return!1;return!0}if(n===Map){if(e.size!==t.size)return!1;for(a of e)if(s=a[0],s&&typeof s=="object"&&(s=$6(t,s),!s)||!So(a[1],t.get(s)))return!1;return!0}if(n===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(n===DataView){if((a=e.byteLength)===t.byteLength)for(;a--&&e.getInt8(a)===t.getInt8(a););return a===-1}if(ArrayBuffer.isView(e)){if((a=e.byteLength)===t.byteLength)for(;a--&&e[a]===t[a];);return a===-1}if(!n||typeof e=="object"){a=0;for(n in e)if(V6.call(e,n)&&++a&&!V6.call(t,n)||!(n in t)||!So(e[n],t[n]))return!1;return Object.keys(t).length===a}}return e!==e&&t!==t}function bP(e,t){if(!e)throw typeof t=="string"?new Error(t):new Error(`${t.displayName} not found`)}var eu=(e,t)=>{const{assertCtxFn:n=bP}={},a=Ee.createContext(void 0);return a.displayName=e,[a,()=>{const o=Ee.useContext(a);return n(o,`${e} not found`),o.value},()=>{const o=Ee.useContext(a);return o?o.value:{}}]},Hp={};oB(Hp,{useSWR:()=>Fp,useSWRInfinite:()=>gP});dB(Hp,uP);var[c7,d7]=eu("ClerkInstanceContext"),[EP,bz]=eu("UserContext"),[yP,Ez]=eu("ClientContext"),[vP,yz]=eu("SessionContext");Ee.createContext({});var[TP,vz]=eu("OrganizationContext"),_P=({children:e,organization:t,swrConfig:n})=>Ee.createElement(Hp.SWRConfig,{value:n},Ee.createElement(TP.Provider,{value:{value:{organization:t}}},e));function f7(e){if(!Ee.useContext(c7)){if(typeof e=="function"){e();return}throw new Error(`${e} can only be used within the <ClerkProvider /> component.
|
|
368
|
-
|
|
369
|
-
Possible fixes:
|
|
370
|
-
1. Ensure that the <ClerkProvider /> is correctly wrapping your application where this component is used.
|
|
371
|
-
2. Check for multiple versions of the \`@clerk/shared\` package in your project. Use a tool like \`npm ls @clerk/shared\` to identify multiple versions, and update your dependencies to only rely on one.
|
|
372
|
-
|
|
373
|
-
Learn more: https://clerk.com/docs/components/clerk-provider`.trim())}}typeof window<"u"?Ee.useLayoutEffect:Ee.useEffect;var SP=()=>(f7("useClerk"),d7()),K6=So,xP=()=>{try{return!1}catch{}return!1},AP=()=>{try{return!1}catch{}return!1},wP=()=>{try{return!0}catch{}return!1},X6=new Set,qp=(e,t,n)=>{const a=AP()||wP(),s=e;X6.has(s)||a||(X6.add(s),console.warn(`Clerk - DEPRECATION WARNING: "${e}" is deprecated and will be removed in the next major release.
|
|
374
|
-
${t}`))},Da=Vv({packageName:"@clerk/clerk-react"});function CP(e){Da.setMessages(e).setPackageName(e)}var[kP,NP]=eu("AuthContext"),OP=c7,h7=d7,RP="You've added multiple <ClerkProvider> components in your React component tree. Wrap your components in a single <ClerkProvider>.",MP=e=>`You've passed multiple children components to <${e}/>. You can only pass a single child component or text.`,DP="Invalid state. Feel free to submit a bug or reach out to support here: https://clerk.com/support",F1="Unsupported usage of isSatellite, domain or proxyUrl. The usage of isSatellite, domain or proxyUrl as function is not supported in non-browser environments.",IP="<UserProfile.Page /> component needs to be a direct child of `<UserProfile />` or `<UserButton />`.",LP="<UserProfile.Link /> component needs to be a direct child of `<UserProfile />` or `<UserButton />`.",BP="<OrganizationProfile.Page /> component needs to be a direct child of `<OrganizationProfile />` or `<OrganizationSwitcher />`.",PP="<OrganizationProfile.Link /> component needs to be a direct child of `<OrganizationProfile />` or `<OrganizationSwitcher />`.",UP=e=>`<${e} /> can only accept <${e}.Page /> and <${e}.Link /> as its children. Any other provided component will be ignored. Additionally, please ensure that the component is rendered in a client component.`,zP=e=>`Missing props. <${e}.Page /> component requires the following props: url, label, labelIcon, alongside with children to be rendered inside the page.`,FP=e=>`Missing props. <${e}.Link /> component requires the following props: url, label and labelIcon.`,HP="<UserButton /> can only accept <UserButton.UserProfilePage />, <UserButton.UserProfileLink /> and <UserButton.MenuItems /> as its children. Any other provided component will be ignored. Additionally, please ensure that the component is rendered in a client component.",qP="<UserButton.MenuItems /> component can only accept <UserButton.Action /> and <UserButton.Link /> as its children. Any other provided component will be ignored. Additionally, please ensure that the component is rendered in a client component.",YP="<UserButton.MenuItems /> component needs to be a direct child of `<UserButton />`.",jP="<UserButton.Action /> component needs to be a direct child of `<UserButton.MenuItems />`.",GP="<UserButton.Link /> component needs to be a direct child of `<UserButton.MenuItems />`.",VP="Missing props. <UserButton.Link /> component requires the following props: href, label and labelIcon.",$P="Missing props. <UserButton.Action /> component requires the following props: label.",Nd=e=>{f7(()=>{Da.throwMissingClerkProviderError({source:e})})},m7=e=>new Promise(t=>{const n=a=>{["ready","degraded"].includes(a)&&(t(),e.off("status",n))};e.on("status",n,{notify:!0})}),KP=e=>async t=>(await m7(e),e.session?e.session.getToken(t):null),XP=e=>async(...t)=>(await m7(e),e.signOut(...t)),Yp=(e={})=>{var t,n;Nd("useAuth");const{treatPendingAsSignedOut:a,...s}=e??{},l=s;let d=NP();d.sessionId===void 0&&d.userId===void 0&&(d=l??{});const f=h7(),h=V.useCallback(KP(f),[f]),p=V.useCallback(XP(f),[f]);return(t=f.telemetry)==null||t.record(NB("useAuth",{treatPendingAsSignedOut:a})),WP({...d,getToken:h,signOut:p},{treatPendingAsSignedOut:a??((n=f.__internal_getOption)==null?void 0:n.call(f,"treatPendingAsSignedOut"))})};function WP(e,{treatPendingAsSignedOut:t=!0}={}){const{userId:n,orgId:a,orgRole:s,has:l,signOut:o,getToken:d,orgPermissions:f,factorVerificationAge:h,sessionClaims:p}=e??{},g=V.useCallback(y=>l?l(y):SB({userId:n,orgId:a,orgRole:s,orgPermissions:f,factorVerificationAge:h,features:(p==null?void 0:p.fea)||"",plans:(p==null?void 0:p.pla)||""})(y),[l,n,a,s,f,h]),v=xB({authObject:{...e,getToken:d,signOut:o,has:g},options:{treatPendingAsSignedOut:t}});return v||Da.throw(DP)}var vn=(e,t)=>{const a=(typeof t=="string"?t:t==null?void 0:t.component)||e.displayName||e.name||"Component";e.displayName=a;const s=typeof t=="string"?void 0:t,l=o=>{Nd(a||"withClerk");const d=h7();return!d.loaded&&!(s!=null&&s.renderWhileLoading)?null:Ee.createElement(e,{...o,component:a,clerk:d})};return l.displayName=`withClerk(${a})`,l},p7=({children:e,treatPendingAsSignedOut:t})=>{Nd("SignedIn");const{userId:n}=Yp({treatPendingAsSignedOut:t});return n?e:null},QP=({children:e,treatPendingAsSignedOut:t})=>{Nd("SignedOut");const{userId:n}=Yp({treatPendingAsSignedOut:t});return n===null?e:null};vn(({clerk:e,...t})=>{const{client:n,session:a}=e,s=n.signedInSessions?n.signedInSessions.length>0:n.activeSessions&&n.activeSessions.length>0;return Ee.useEffect(()=>{a===null&&s?e.redirectToAfterSignOut():e.redirectToSignIn(t)},[]),null},"RedirectToSignIn");vn(({clerk:e,...t})=>(Ee.useEffect(()=>{e.redirectToSignUp(t)},[]),null),"RedirectToSignUp");vn(({clerk:e})=>(Ee.useEffect(()=>{qp("RedirectToUserProfile","Use the `redirectToUserProfile()` method instead."),e.redirectToUserProfile()},[]),null),"RedirectToUserProfile");vn(({clerk:e})=>(Ee.useEffect(()=>{qp("RedirectToOrganizationProfile","Use the `redirectToOrganizationProfile()` method instead."),e.redirectToOrganizationProfile()},[]),null),"RedirectToOrganizationProfile");vn(({clerk:e})=>(Ee.useEffect(()=>{qp("RedirectToCreateOrganization","Use the `redirectToCreateOrganization()` method instead."),e.redirectToCreateOrganization()},[]),null),"RedirectToCreateOrganization");vn(({clerk:e,...t})=>(Ee.useEffect(()=>{e.handleRedirectCallback(t)},[]),null),"AuthenticateWithRedirectCallback");var g7=e=>{throw TypeError(e)},jp=(e,t,n)=>t.has(e)||g7("Cannot "+n),hn=(e,t,n)=>(jp(e,t,"read from private field"),n?n.call(e):t.get(e)),Ps=(e,t,n)=>t.has(e)?g7("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),wl=(e,t,n,a)=>(jp(e,t,"write to private field"),t.set(e,n),n),W6=(e,t,n)=>(jp(e,t,"access private method"),n),ZP=(e,t="5.69.0")=>{if(e)return e;const n=JP(t);return n?n==="snapshot"?"5.69.0":n:eU(t)},JP=e=>{var t;return(t=e.trim().replace(/^v/,"").match(/-(.+?)(\.|$)/))==null?void 0:t[1]},eU=e=>e.trim().replace(/^v/,"").split(".")[0];function tU(e){return e?nU(e)||b7(e):!0}function nU(e){return/^http(s)?:\/\//.test(e||"")}function b7(e){return e.startsWith("/")}function rU(e){return e?b7(e)?new URL(e,window.location.origin).toString():e:""}function aU(e){if(!e)return"";let t;if(e.match(/^(clerk\.)+\w*$/))t=/(clerk\.)*(?=clerk\.)/;else{if(e.match(/\.clerk.accounts/))return e;t=/^(clerk\.)*/gi}return`clerk.${e.replace(t,"")}`}var iU={initialDelay:125,maxDelayBetweenRetries:0,factor:2,shouldRetry:(e,t)=>t<5,retryImmediately:!1,jitter:!0},sU=100,E7=async e=>new Promise(t=>setTimeout(t,e)),y7=(e,t)=>t?e*(1+Math.random()):e,lU=e=>{let t=0;const n=()=>{const a=e.initialDelay,s=e.factor;let l=a*Math.pow(s,t);return l=y7(l,e.jitter),Math.min(e.maxDelayBetweenRetries||l,l)};return async()=>{await E7(n()),t++}},uU=async(e,t={})=>{let n=0;const{shouldRetry:a,initialDelay:s,maxDelayBetweenRetries:l,factor:o,retryImmediately:d,jitter:f}={...iU,...t},h=lU({initialDelay:s,maxDelayBetweenRetries:l,factor:o,jitter:f});for(;;)try{return await e()}catch(p){if(n++,!a(p,n))throw p;d&&n===1?await E7(y7(sU,f)):await h()}},oU="loadScript cannot be called when document does not exist",cU="loadScript cannot be called without a src";async function dU(e="",t){const{async:n,defer:a,beforeLoad:s,crossOrigin:l,nonce:o}=t||{};return uU(()=>new Promise((f,h)=>{e||h(new Error(cU)),(!document||!document.body)&&h(oU);const p=document.createElement("script");l&&p.setAttribute("crossorigin",l),p.async=n||!1,p.defer=a||!1,p.addEventListener("load",()=>{p.remove(),f(p)}),p.addEventListener("error",()=>{p.remove(),h()}),p.src=e,p.nonce=o,s==null||s(p),document.body.appendChild(p)}),{shouldRetry:(f,h)=>h<=5})}var Q6="Clerk: Failed to load Clerk",{isDevOrStagingUrl:fU}=CB(),v7=Vv({packageName:"@clerk/shared"});function hU(e){v7.setPackageName({packageName:e})}var mU=async e=>{const t=document.querySelector("script[data-clerk-js-script]");if(t)return new Promise((n,a)=>{t.addEventListener("load",()=>{n(t)}),t.addEventListener("error",()=>{a(Q6)})});if(!(e!=null&&e.publishableKey)){v7.throwMissingPublishableKeyError();return}return dU(pU(e),{async:!0,crossOrigin:"anonymous",nonce:e.nonce,beforeLoad:bU(e)}).catch(()=>{throw new Error(Q6)})},pU=e=>{var p,g;const{clerkJSUrl:t,clerkJSVariant:n,clerkJSVersion:a,proxyUrl:s,domain:l,publishableKey:o}=e;if(t)return t;let d="";s&&tU(s)?d=rU(s).replace(/http(s)?:\/\//,""):l&&!fU(((p=B6(o))==null?void 0:p.frontendApi)||"")?d=aU(l):d=((g=B6(o))==null?void 0:g.frontendApi)||"";const f=n?`${n.replace(/\.+$/,"")}.`:"",h=ZP(a);return`https://${d}/npm/@clerk/clerk-js@${h}/dist/clerk.${f}browser.js`},gU=e=>{const t={};return e.publishableKey&&(t["data-clerk-publishable-key"]=e.publishableKey),e.proxyUrl&&(t["data-clerk-proxy-url"]=e.proxyUrl),e.domain&&(t["data-clerk-domain"]=e.domain),e.nonce&&(t.nonce=e.nonce),t},bU=e=>t=>{const n=gU(e);for(const a in n)t.setAttribute(a,n[a])},cr=e=>{xP()&&console.error(`Clerk: ${e}`)};function H1(e,t,n){if(typeof e=="function")return e(t);if(typeof e<"u")return e;if(typeof n<"u")return n}var EU=cE(),Z6=(e,...t)=>{const n={...e};for(const a of t)delete n[a];return n},yU=(e,t,n)=>!e&&n?vU(n):TU(t),vU=e=>{const t=e.userId,n=e.user,a=e.sessionId,s=e.sessionStatus,l=e.sessionClaims,o=e.session,d=e.organization,f=e.orgId,h=e.orgRole,p=e.orgPermissions,g=e.orgSlug,v=e.actor,y=e.factorVerificationAge;return{userId:t,user:n,sessionId:a,session:o,sessionStatus:s,sessionClaims:l,organization:d,orgId:f,orgRole:h,orgPermissions:p,orgSlug:g,actor:v,factorVerificationAge:y}},TU=e=>{var w,N,k,M;const t=e.user?e.user.id:e.user,n=e.user,a=e.session?e.session.id:e.session,s=e.session,l=(w=e.session)==null?void 0:w.status,o=e.session?(k=(N=e.session.lastActiveToken)==null?void 0:N.jwt)==null?void 0:k.claims:null,d=e.session?e.session.factorVerificationAge:null,f=s==null?void 0:s.actor,h=e.organization,p=e.organization?e.organization.id:e.organization,g=h==null?void 0:h.slug,v=h&&((M=n==null?void 0:n.organizationMemberships)==null?void 0:M.find(I=>I.organization.id===p)),y=v&&v.permissions,S=v&&v.role;return{userId:t,user:n,sessionId:a,session:s,sessionStatus:l,sessionClaims:o,organization:h,orgId:p,orgRole:S,orgSlug:g,orgPermissions:y,actor:f,factorVerificationAge:d}};function J6(){return typeof window<"u"}var eE=(e,t,n,a,s)=>{const{notify:l}=s||{};let o=e.get(n);o||(o=[],e.set(n,o)),o.push(a),l&&t.has(n)&&a(t.get(n))},tE=(e,t,n)=>(e.get(t)||[]).map(a=>a(n)),nE=(e,t,n)=>{const a=e.get(t);a&&(n?a.splice(a.indexOf(n)>>>0,1):e.set(t,[]))},_U=()=>{const e=new Map,t=new Map,n=new Map;return{on:(...s)=>eE(e,t,...s),prioritizedOn:(...s)=>eE(n,t,...s),emit:(s,l)=>{t.set(s,l),tE(n,s,l),tE(e,s,l)},off:(...s)=>nE(e,...s),prioritizedOff:(...s)=>nE(n,...s),internal:{retrieveListeners:s=>e.get(s)||[]}}},R0={Status:"status"},SU=()=>_U();typeof window<"u"&&!window.global&&(window.global=typeof global>"u"?window:global);var Od=e=>t=>{try{return Ee.Children.only(e)}catch{return Da.throw(MP(t))}},Rd=(e,t)=>(e||(e=t),typeof e=="string"&&(e=Ee.createElement("button",null,e)),e),Md=e=>(...t)=>{if(e&&typeof e=="function")return e(...t)};function xU(e){return typeof e=="function"}var M0=new Map;function AU(e,t,n=1){Ee.useEffect(()=>{const a=M0.get(e)||0;return a==n?Da.throw(t):(M0.set(e,a+1),()=>{M0.set(e,(M0.get(e)||1)-1)})},[])}function wU(e,t,n){const a=e.displayName||e.name||t||"Component",s=l=>(AU(t,n),Ee.createElement(e,{...l}));return s.displayName=`withMaxAllowedInstancesGuard(${a})`,s}var xo=e=>{const t=Array(e.length).fill(null),[n,a]=V.useState(t);return e.map((s,l)=>({id:s.id,mount:o=>a(d=>d.map((f,h)=>h===l?o:f)),unmount:()=>a(o=>o.map((d,f)=>f===l?null:d)),portal:()=>Ee.createElement(Ee.Fragment,null,n[l]?EU.createPortal(s.component,n[l]):null)}))},ur=(e,t)=>!!e&&Ee.isValidElement(e)&&(e==null?void 0:e.type)===t,T7=(e,t)=>x7({children:e,reorderItemsLabels:["account","security"],LinkComponent:Xo,PageComponent:Ko,MenuItemsComponent:Id,componentName:"UserProfile"},t),_7=(e,t)=>x7({children:e,reorderItemsLabels:["general","members"],LinkComponent:Bd,PageComponent:Ld,componentName:"OrganizationProfile"},t),S7=e=>{const t=[],n=[Bd,Ld,Id,Ko,Xo];return Ee.Children.forEach(e,a=>{n.some(s=>ur(a,s))||t.push(a)}),t},x7=(e,t)=>{const{children:n,LinkComponent:a,PageComponent:s,MenuItemsComponent:l,reorderItemsLabels:o,componentName:d}=e,{allowForAnyChildren:f=!1}=t||{},h=[];Ee.Children.forEach(n,M=>{if(!ur(M,s)&&!ur(M,a)&&!ur(M,l)){M&&!f&&cr(UP(d));return}const{props:I}=M,{children:X,label:G,url:P,labelIcon:Z}=I;if(ur(M,s))if(rE(I,o))h.push({label:G});else if(q1(I))h.push({label:G,labelIcon:Z,children:X,url:P});else{cr(zP(d));return}if(ur(M,a))if(Y1(I))h.push({label:G,labelIcon:Z,url:P});else{cr(FP(d));return}});const p=[],g=[],v=[];h.forEach((M,I)=>{if(q1(M)){p.push({component:M.children,id:I}),g.push({component:M.labelIcon,id:I});return}Y1(M)&&v.push({component:M.labelIcon,id:I})});const y=xo(p),S=xo(g),w=xo(v),N=[],k=[];return h.forEach((M,I)=>{if(rE(M,o)){N.push({label:M.label});return}if(q1(M)){const{portal:X,mount:G,unmount:P}=y.find(Y=>Y.id===I),{portal:Z,mount:ne,unmount:te}=S.find(Y=>Y.id===I);N.push({label:M.label,url:M.url,mount:G,unmount:P,mountIcon:ne,unmountIcon:te}),k.push(X),k.push(Z);return}if(Y1(M)){const{portal:X,mount:G,unmount:P}=w.find(Z=>Z.id===I);N.push({label:M.label,url:M.url,mountIcon:G,unmountIcon:P}),k.push(X);return}}),{customPages:N,customPagesPortals:k}},rE=(e,t)=>{const{children:n,label:a,url:s,labelIcon:l}=e;return!n&&!s&&!l&&t.some(o=>o===a)},q1=e=>{const{children:t,label:n,url:a,labelIcon:s}=e;return!!t&&!!a&&!!s&&!!n},Y1=e=>{const{children:t,label:n,url:a,labelIcon:s}=e;return!t&&!!a&&!!s&&!!n},CU=e=>kU({children:e,reorderItemsLabels:["manageAccount","signOut"],MenuItemsComponent:Id,MenuActionComponent:w7,MenuLinkComponent:C7,UserProfileLinkComponent:Xo,UserProfilePageComponent:Ko}),kU=({children:e,MenuItemsComponent:t,MenuActionComponent:n,MenuLinkComponent:a,UserProfileLinkComponent:s,UserProfilePageComponent:l,reorderItemsLabels:o})=>{const d=[],f=[],h=[];Ee.Children.forEach(e,S=>{if(!ur(S,t)&&!ur(S,s)&&!ur(S,l)){S&&cr(HP);return}if(ur(S,s)||ur(S,l))return;const{props:w}=S;Ee.Children.forEach(w.children,N=>{if(!ur(N,n)&&!ur(N,a)){N&&cr(qP);return}const{props:k}=N,{label:M,labelIcon:I,href:X,onClick:G,open:P}=k;if(ur(N,n))if(aE(k,o))d.push({label:M});else if(j1(k)){const Z={label:M,labelIcon:I};if(G!==void 0)d.push({...Z,onClick:G});else if(P!==void 0)d.push({...Z,open:P.startsWith("/")?P:`/${P}`});else{cr("Custom menu item must have either onClick or open property");return}}else{cr($P);return}if(ur(N,a))if(G1(k))d.push({label:M,labelIcon:I,href:X});else{cr(VP);return}})});const p=[],g=[];d.forEach((S,w)=>{j1(S)&&p.push({component:S.labelIcon,id:w}),G1(S)&&g.push({component:S.labelIcon,id:w})});const v=xo(p),y=xo(g);return d.forEach((S,w)=>{if(aE(S,o)&&f.push({label:S.label}),j1(S)){const{portal:N,mount:k,unmount:M}=v.find(X=>X.id===w),I={label:S.label,mountIcon:k,unmountIcon:M};"onClick"in S?I.onClick=S.onClick:"open"in S&&(I.open=S.open),f.push(I),h.push(N)}if(G1(S)){const{portal:N,mount:k,unmount:M}=y.find(I=>I.id===w);f.push({label:S.label,href:S.href,mountIcon:k,unmountIcon:M}),h.push(N)}}),{customMenuItems:f,customMenuItemsPortals:h}},aE=(e,t)=>{const{children:n,label:a,onClick:s,labelIcon:l}=e;return!n&&!s&&!l&&t.some(o=>o===a)},j1=e=>{const{label:t,labelIcon:n,onClick:a,open:s}=e;return!!n&&!!t&&(typeof a=="function"||typeof s=="string")},G1=e=>{const{label:t,href:n,labelIcon:a}=e;return!!n&&!!a&&!!t};function NU(e){const{root:t=document==null?void 0:document.body,selector:n,timeout:a=0}=e;return new Promise((s,l)=>{if(!t){l(new Error("No root element provided"));return}let o=t;if(n&&(o=t==null?void 0:t.querySelector(n)),(o==null?void 0:o.childElementCount)&&o.childElementCount>0){s();return}const f=new MutationObserver(h=>{for(const p of h)if(p.type==="childList"&&(!o&&n&&(o=t==null?void 0:t.querySelector(n)),o!=null&&o.childElementCount&&o.childElementCount>0)){f.disconnect(),s();return}});f.observe(t,{childList:!0,subtree:!0}),a>0&&setTimeout(()=>{f.disconnect(),l(new Error("Timeout waiting for element children"))},a)})}function sa(e){const t=V.useRef(),[n,a]=V.useState("rendering");return V.useEffect(()=>{if(!e)throw new Error("Clerk: no component name provided, unable to detect mount.");typeof window<"u"&&!t.current&&(t.current=NU({selector:`[data-clerk-component="${e}"]`}).then(()=>{a("rendered")}).catch(()=>{a("error")}))},[e]),n}var D0=e=>"mount"in e,iE=e=>"open"in e,sE=e=>e==null?void 0:e.map(({mountIcon:t,unmountIcon:n,...a})=>a),Ar=class extends Ee.PureComponent{constructor(){super(...arguments),this.rootRef=Ee.createRef()}componentDidUpdate(e){var t,n,a,s;if(!D0(e)||!D0(this.props))return;const l=Z6(e.props,"customPages","customMenuItems","children"),o=Z6(this.props.props,"customPages","customMenuItems","children"),d=((t=l.customPages)==null?void 0:t.length)!==((n=o.customPages)==null?void 0:n.length),f=((a=l.customMenuItems)==null?void 0:a.length)!==((s=o.customMenuItems)==null?void 0:s.length),h=sE(e.props.customMenuItems),p=sE(this.props.props.customMenuItems);(!K6(l,o)||!K6(h,p)||d||f)&&this.rootRef.current&&this.props.updateProps({node:this.rootRef.current,props:this.props.props})}componentDidMount(){this.rootRef.current&&(D0(this.props)&&this.props.mount(this.rootRef.current,this.props.props),iE(this.props)&&this.props.open(this.props.props))}componentWillUnmount(){this.rootRef.current&&(D0(this.props)&&this.props.unmount(this.rootRef.current),iE(this.props)&&this.props.close())}render(){const{hideRootHtmlElement:e=!1}=this.props,t={ref:this.rootRef,...this.props.rootProps,...this.props.component&&{"data-clerk-component":this.props.component}};return Ee.createElement(Ee.Fragment,null,!e&&Ee.createElement("div",{...t}),this.props.children)}},Dd=e=>{var t,n;return Ee.createElement(Ee.Fragment,null,(t=e==null?void 0:e.customPagesPortals)==null?void 0:t.map((a,s)=>V.createElement(a,{key:s})),(n=e==null?void 0:e.customMenuItemsPortals)==null?void 0:n.map((a,s)=>V.createElement(a,{key:s})))},OU=vn(({clerk:e,component:t,fallback:n,...a})=>{const l=sa(t)==="rendering"||!e.loaded,o={...l&&n&&{style:{display:"none"}}};return Ee.createElement(Ee.Fragment,null,l&&n,e.loaded&&Ee.createElement(Ar,{component:t,mount:e.mountSignIn,unmount:e.unmountSignIn,updateProps:e.__unstable__updateProps,props:a,rootProps:o}))},{component:"SignIn",renderWhileLoading:!0}),RU=vn(({clerk:e,component:t,fallback:n,...a})=>{const l=sa(t)==="rendering"||!e.loaded,o={...l&&n&&{style:{display:"none"}}};return Ee.createElement(Ee.Fragment,null,l&&n,e.loaded&&Ee.createElement(Ar,{component:t,mount:e.mountSignUp,unmount:e.unmountSignUp,updateProps:e.__unstable__updateProps,props:a,rootProps:o}))},{component:"SignUp",renderWhileLoading:!0});function Ko({children:e}){return cr(IP),Ee.createElement(Ee.Fragment,null,e)}function Xo({children:e}){return cr(LP),Ee.createElement(Ee.Fragment,null,e)}var MU=vn(({clerk:e,component:t,fallback:n,...a})=>{const l=sa(t)==="rendering"||!e.loaded,o={...l&&n&&{style:{display:"none"}}},{customPages:d,customPagesPortals:f}=T7(a.children);return Ee.createElement(Ee.Fragment,null,l&&n,Ee.createElement(Ar,{component:t,mount:e.mountUserProfile,unmount:e.unmountUserProfile,updateProps:e.__unstable__updateProps,props:{...a,customPages:d},rootProps:o},Ee.createElement(Dd,{customPagesPortals:f})))},{component:"UserProfile",renderWhileLoading:!0});Object.assign(MU,{Page:Ko,Link:Xo});var A7=V.createContext({mount:()=>{},unmount:()=>{},updateProps:()=>{}}),DU=vn(({clerk:e,component:t,fallback:n,...a})=>{const l=sa(t)==="rendering"||!e.loaded,o={...l&&n&&{style:{display:"none"}}},{customPages:d,customPagesPortals:f}=T7(a.children,{allowForAnyChildren:!!a.__experimental_asProvider}),h=Object.assign(a.userProfileProps||{},{customPages:d}),{customMenuItems:p,customMenuItemsPortals:g}=CU(a.children),v=S7(a.children),y={mount:e.mountUserButton,unmount:e.unmountUserButton,updateProps:e.__unstable__updateProps,props:{...a,userProfileProps:h,customMenuItems:p}},S={customPagesPortals:f,customMenuItemsPortals:g};return Ee.createElement(A7.Provider,{value:y},l&&n,e.loaded&&Ee.createElement(Ar,{component:t,...y,hideRootHtmlElement:!!a.__experimental_asProvider,rootProps:o},a.__experimental_asProvider?v:null,Ee.createElement(Dd,{...S})))},{component:"UserButton",renderWhileLoading:!0});function Id({children:e}){return cr(YP),Ee.createElement(Ee.Fragment,null,e)}function w7({children:e}){return cr(jP),Ee.createElement(Ee.Fragment,null,e)}function C7({children:e}){return cr(GP),Ee.createElement(Ee.Fragment,null,e)}function IU(e){const t=V.useContext(A7),n={...t,props:{...t.props,...e}};return Ee.createElement(Ar,{...n})}var LU=Object.assign(DU,{UserProfilePage:Ko,UserProfileLink:Xo,MenuItems:Id,Action:w7,Link:C7,__experimental_Outlet:IU});function Ld({children:e}){return cr(BP),Ee.createElement(Ee.Fragment,null,e)}function Bd({children:e}){return cr(PP),Ee.createElement(Ee.Fragment,null,e)}var BU=vn(({clerk:e,component:t,fallback:n,...a})=>{const l=sa(t)==="rendering"||!e.loaded,o={...l&&n&&{style:{display:"none"}}},{customPages:d,customPagesPortals:f}=_7(a.children);return Ee.createElement(Ee.Fragment,null,l&&n,e.loaded&&Ee.createElement(Ar,{component:t,mount:e.mountOrganizationProfile,unmount:e.unmountOrganizationProfile,updateProps:e.__unstable__updateProps,props:{...a,customPages:d},rootProps:o},Ee.createElement(Dd,{customPagesPortals:f})))},{component:"OrganizationProfile",renderWhileLoading:!0});Object.assign(BU,{Page:Ld,Link:Bd});vn(({clerk:e,component:t,fallback:n,...a})=>{const l=sa(t)==="rendering"||!e.loaded,o={...l&&n&&{style:{display:"none"}}};return Ee.createElement(Ee.Fragment,null,l&&n,e.loaded&&Ee.createElement(Ar,{component:t,mount:e.mountCreateOrganization,unmount:e.unmountCreateOrganization,updateProps:e.__unstable__updateProps,props:a,rootProps:o}))},{component:"CreateOrganization",renderWhileLoading:!0});var k7=V.createContext({mount:()=>{},unmount:()=>{},updateProps:()=>{}}),PU=vn(({clerk:e,component:t,fallback:n,...a})=>{const l=sa(t)==="rendering"||!e.loaded,o={...l&&n&&{style:{display:"none"}}},{customPages:d,customPagesPortals:f}=_7(a.children,{allowForAnyChildren:!!a.__experimental_asProvider}),h=Object.assign(a.organizationProfileProps||{},{customPages:d}),p=S7(a.children),g={mount:e.mountOrganizationSwitcher,unmount:e.unmountOrganizationSwitcher,updateProps:e.__unstable__updateProps,props:{...a,organizationProfileProps:h},rootProps:o,component:t};return e.__experimental_prefetchOrganizationSwitcher(),Ee.createElement(k7.Provider,{value:g},Ee.createElement(Ee.Fragment,null,l&&n,e.loaded&&Ee.createElement(Ar,{...g,hideRootHtmlElement:!!a.__experimental_asProvider},a.__experimental_asProvider?p:null,Ee.createElement(Dd,{customPagesPortals:f}))))},{component:"OrganizationSwitcher",renderWhileLoading:!0});function UU(e){const t=V.useContext(k7),n={...t,props:{...t.props,...e}};return Ee.createElement(Ar,{...n})}Object.assign(PU,{OrganizationProfilePage:Ld,OrganizationProfileLink:Bd,__experimental_Outlet:UU});vn(({clerk:e,component:t,fallback:n,...a})=>{const l=sa(t)==="rendering"||!e.loaded,o={...l&&n&&{style:{display:"none"}}};return Ee.createElement(Ee.Fragment,null,l&&n,e.loaded&&Ee.createElement(Ar,{component:t,mount:e.mountOrganizationList,unmount:e.unmountOrganizationList,updateProps:e.__unstable__updateProps,props:a,rootProps:o}))},{component:"OrganizationList",renderWhileLoading:!0});vn(({clerk:e,component:t,fallback:n,...a})=>{const l=sa(t)==="rendering"||!e.loaded,o={...l&&n&&{style:{display:"none"}}};return Ee.createElement(Ee.Fragment,null,l&&n,e.loaded&&Ee.createElement(Ar,{component:t,open:e.openGoogleOneTap,close:e.closeGoogleOneTap,updateProps:e.__unstable__updateProps,props:a,rootProps:o}))},{component:"GoogleOneTap",renderWhileLoading:!0});vn(({clerk:e,component:t,fallback:n,...a})=>{const l=sa(t)==="rendering"||!e.loaded,o={...l&&n&&{style:{display:"none"}}};return Ee.createElement(Ee.Fragment,null,l&&n,e.loaded&&Ee.createElement(Ar,{component:t,mount:e.mountWaitlist,unmount:e.unmountWaitlist,updateProps:e.__unstable__updateProps,props:a,rootProps:o}))},{component:"Waitlist",renderWhileLoading:!0});vn(({clerk:e,component:t,fallback:n,...a})=>{const l=sa(t)==="rendering"||!e.loaded,o={...l&&n&&{style:{display:"none"}}};return Ee.createElement(Ee.Fragment,null,l&&n,e.loaded&&Ee.createElement(Ar,{component:t,mount:e.mountPricingTable,unmount:e.unmountPricingTable,updateProps:e.__unstable__updateProps,props:a,rootProps:o}))},{component:"PricingTable",renderWhileLoading:!0});vn(({clerk:e,component:t,fallback:n,...a})=>{const l=sa(t)==="rendering"||!e.loaded,o={...l&&n&&{style:{display:"none"}}};return Ee.createElement(Ee.Fragment,null,l&&n,e.loaded&&Ee.createElement(Ar,{component:t,mount:e.mountApiKeys,unmount:e.unmountApiKeys,updateProps:e.__unstable__updateProps,props:a,rootProps:o}))},{component:"ApiKeys",renderWhileLoading:!0});vn(({clerk:e,children:t,...n})=>{const{signUpFallbackRedirectUrl:a,forceRedirectUrl:s,fallbackRedirectUrl:l,signUpForceRedirectUrl:o,mode:d,initialValues:f,withSignUp:h,oauthFlow:p,...g}=n;t=Rd(t,"Sign in");const v=Od(t)("SignInButton"),y=()=>{const N={forceRedirectUrl:s,fallbackRedirectUrl:l,signUpFallbackRedirectUrl:a,signUpForceRedirectUrl:o,initialValues:f,withSignUp:h,oauthFlow:p};return d==="modal"?e.openSignIn({...N,appearance:n.appearance}):e.redirectToSignIn({...N,signInFallbackRedirectUrl:l,signInForceRedirectUrl:s})},w={...g,onClick:async N=>(v&&typeof v=="object"&&"props"in v&&await Md(v.props.onClick)(N),y())};return Ee.cloneElement(v,w)},{component:"SignInButton",renderWhileLoading:!0});vn(({clerk:e,children:t,...n})=>{const{fallbackRedirectUrl:a,forceRedirectUrl:s,signInFallbackRedirectUrl:l,signInForceRedirectUrl:o,mode:d,unsafeMetadata:f,initialValues:h,oauthFlow:p,...g}=n;t=Rd(t,"Sign up");const v=Od(t)("SignUpButton"),y=()=>{const N={fallbackRedirectUrl:a,forceRedirectUrl:s,signInFallbackRedirectUrl:l,signInForceRedirectUrl:o,unsafeMetadata:f,initialValues:h,oauthFlow:p};return d==="modal"?e.openSignUp({...N,appearance:n.appearance}):e.redirectToSignUp({...N,signUpFallbackRedirectUrl:a,signUpForceRedirectUrl:s})},w={...g,onClick:async N=>(v&&typeof v=="object"&&"props"in v&&await Md(v.props.onClick)(N),y())};return Ee.cloneElement(v,w)},{component:"SignUpButton",renderWhileLoading:!0});vn(({clerk:e,children:t,...n})=>{const{redirectUrl:a="/",signOutOptions:s,...l}=n;t=Rd(t,"Sign out");const o=Od(t)("SignOutButton"),d=()=>e.signOut({redirectUrl:a,...s}),h={...l,onClick:async p=>(await Md(o.props.onClick)(p),d())};return Ee.cloneElement(o,h)},{component:"SignOutButton",renderWhileLoading:!0});vn(({clerk:e,children:t,...n})=>{const{redirectUrl:a,...s}=n;t=Rd(t,"Sign in with Metamask");const l=Od(t)("SignInWithMetamaskButton"),o=async()=>{async function h(){await e.authenticateWithMetamask({redirectUrl:a||void 0})}h()},f={...s,onClick:async h=>(await Md(l.props.onClick)(h),o())};return Ee.cloneElement(l,f)},{component:"SignInWithMetamask",renderWhileLoading:!0});typeof globalThis.__BUILD_DISABLE_RHC__>"u"&&(globalThis.__BUILD_DISABLE_RHC__=!1);var zU={name:"@clerk/clerk-react",version:"5.32.0",environment:"production"},Y0,Ol,Rl,Ji,ii,ts,j0,Lm,N7=class O7{constructor(t){Ps(this,j0),this.clerkjs=null,this.preopenOneTap=null,this.preopenUserVerification=null,this.preopenSignIn=null,this.preopenCheckout=null,this.preopenPlanDetails=null,this.preopenSignUp=null,this.preopenUserProfile=null,this.preopenOrganizationProfile=null,this.preopenCreateOrganization=null,this.preOpenWaitlist=null,this.premountSignInNodes=new Map,this.premountSignUpNodes=new Map,this.premountUserProfileNodes=new Map,this.premountUserButtonNodes=new Map,this.premountOrganizationProfileNodes=new Map,this.premountCreateOrganizationNodes=new Map,this.premountOrganizationSwitcherNodes=new Map,this.premountOrganizationListNodes=new Map,this.premountMethodCalls=new Map,this.premountWaitlistNodes=new Map,this.premountPricingTableNodes=new Map,this.premountApiKeysNodes=new Map,this.premountOAuthConsentNodes=new Map,this.premountAddListenerCalls=new Map,this.loadedListeners=[],Ps(this,Y0,"loading"),Ps(this,Ol),Ps(this,Rl),Ps(this,Ji),Ps(this,ii,SU()),this.buildSignInUrl=s=>{const l=()=>{var o;return((o=this.clerkjs)==null?void 0:o.buildSignInUrl(s))||""};if(this.clerkjs&&this.loaded)return l();this.premountMethodCalls.set("buildSignInUrl",l)},this.buildSignUpUrl=s=>{const l=()=>{var o;return((o=this.clerkjs)==null?void 0:o.buildSignUpUrl(s))||""};if(this.clerkjs&&this.loaded)return l();this.premountMethodCalls.set("buildSignUpUrl",l)},this.buildAfterSignInUrl=(...s)=>{const l=()=>{var o;return((o=this.clerkjs)==null?void 0:o.buildAfterSignInUrl(...s))||""};if(this.clerkjs&&this.loaded)return l();this.premountMethodCalls.set("buildAfterSignInUrl",l)},this.buildAfterSignUpUrl=(...s)=>{const l=()=>{var o;return((o=this.clerkjs)==null?void 0:o.buildAfterSignUpUrl(...s))||""};if(this.clerkjs&&this.loaded)return l();this.premountMethodCalls.set("buildAfterSignUpUrl",l)},this.buildAfterSignOutUrl=()=>{const s=()=>{var l;return((l=this.clerkjs)==null?void 0:l.buildAfterSignOutUrl())||""};if(this.clerkjs&&this.loaded)return s();this.premountMethodCalls.set("buildAfterSignOutUrl",s)},this.buildNewSubscriptionRedirectUrl=()=>{const s=()=>{var l;return((l=this.clerkjs)==null?void 0:l.buildNewSubscriptionRedirectUrl())||""};if(this.clerkjs&&this.loaded)return s();this.premountMethodCalls.set("buildNewSubscriptionRedirectUrl",s)},this.buildAfterMultiSessionSingleSignOutUrl=()=>{const s=()=>{var l;return((l=this.clerkjs)==null?void 0:l.buildAfterMultiSessionSingleSignOutUrl())||""};if(this.clerkjs&&this.loaded)return s();this.premountMethodCalls.set("buildAfterMultiSessionSingleSignOutUrl",s)},this.buildUserProfileUrl=()=>{const s=()=>{var l;return((l=this.clerkjs)==null?void 0:l.buildUserProfileUrl())||""};if(this.clerkjs&&this.loaded)return s();this.premountMethodCalls.set("buildUserProfileUrl",s)},this.buildCreateOrganizationUrl=()=>{const s=()=>{var l;return((l=this.clerkjs)==null?void 0:l.buildCreateOrganizationUrl())||""};if(this.clerkjs&&this.loaded)return s();this.premountMethodCalls.set("buildCreateOrganizationUrl",s)},this.buildOrganizationProfileUrl=()=>{const s=()=>{var l;return((l=this.clerkjs)==null?void 0:l.buildOrganizationProfileUrl())||""};if(this.clerkjs&&this.loaded)return s();this.premountMethodCalls.set("buildOrganizationProfileUrl",s)},this.buildWaitlistUrl=()=>{const s=()=>{var l;return((l=this.clerkjs)==null?void 0:l.buildWaitlistUrl())||""};if(this.clerkjs&&this.loaded)return s();this.premountMethodCalls.set("buildWaitlistUrl",s)},this.buildUrlWithAuth=s=>{const l=()=>{var o;return((o=this.clerkjs)==null?void 0:o.buildUrlWithAuth(s))||""};if(this.clerkjs&&this.loaded)return l();this.premountMethodCalls.set("buildUrlWithAuth",l)},this.handleUnauthenticated=async()=>{const s=()=>{var l;return(l=this.clerkjs)==null?void 0:l.handleUnauthenticated()};this.clerkjs&&this.loaded?s():this.premountMethodCalls.set("handleUnauthenticated",s)},this.on=(...s)=>{var l;if((l=this.clerkjs)!=null&&l.on)return this.clerkjs.on(...s);hn(this,ii).on(...s)},this.off=(...s)=>{var l;if((l=this.clerkjs)!=null&&l.off)return this.clerkjs.off(...s);hn(this,ii).off(...s)},this.addOnLoaded=s=>{this.loadedListeners.push(s),this.loaded&&this.emitLoaded()},this.emitLoaded=()=>{this.loadedListeners.forEach(s=>s()),this.loadedListeners=[]},this.beforeLoad=s=>{if(!s)throw new Error("Failed to hydrate latest Clerk JS")},this.hydrateClerkJS=s=>{var l;if(!s)throw new Error("Failed to hydrate latest Clerk JS");return this.clerkjs=s,this.premountMethodCalls.forEach(o=>o()),this.premountAddListenerCalls.forEach((o,d)=>{o.nativeUnsubscribe=s.addListener(d)}),(l=hn(this,ii).internal.retrieveListeners("status"))==null||l.forEach(o=>{this.on("status",o,{notify:!0})}),this.preopenSignIn!==null&&s.openSignIn(this.preopenSignIn),this.preopenCheckout!==null&&s.__internal_openCheckout(this.preopenCheckout),this.preopenPlanDetails!==null&&s.__internal_openPlanDetails(this.preopenPlanDetails),this.preopenSignUp!==null&&s.openSignUp(this.preopenSignUp),this.preopenUserProfile!==null&&s.openUserProfile(this.preopenUserProfile),this.preopenUserVerification!==null&&s.__internal_openReverification(this.preopenUserVerification),this.preopenOneTap!==null&&s.openGoogleOneTap(this.preopenOneTap),this.preopenOrganizationProfile!==null&&s.openOrganizationProfile(this.preopenOrganizationProfile),this.preopenCreateOrganization!==null&&s.openCreateOrganization(this.preopenCreateOrganization),this.preOpenWaitlist!==null&&s.openWaitlist(this.preOpenWaitlist),this.premountSignInNodes.forEach((o,d)=>{s.mountSignIn(d,o)}),this.premountSignUpNodes.forEach((o,d)=>{s.mountSignUp(d,o)}),this.premountUserProfileNodes.forEach((o,d)=>{s.mountUserProfile(d,o)}),this.premountUserButtonNodes.forEach((o,d)=>{s.mountUserButton(d,o)}),this.premountOrganizationListNodes.forEach((o,d)=>{s.mountOrganizationList(d,o)}),this.premountWaitlistNodes.forEach((o,d)=>{s.mountWaitlist(d,o)}),this.premountPricingTableNodes.forEach((o,d)=>{s.mountPricingTable(d,o)}),this.premountApiKeysNodes.forEach((o,d)=>{s.mountApiKeys(d,o)}),this.premountOAuthConsentNodes.forEach((o,d)=>{s.__internal_mountOAuthConsent(d,o)}),typeof this.clerkjs.status>"u"&&hn(this,ii).emit(R0.Status,"ready"),this.emitLoaded(),this.clerkjs},this.__unstable__updateProps=async s=>{const l=await W6(this,j0,Lm).call(this);if(l&&"__unstable__updateProps"in l)return l.__unstable__updateProps(s)},this.__experimental_navigateToTask=async s=>this.clerkjs?this.clerkjs.__experimental_navigateToTask(s):Promise.reject(),this.setActive=s=>this.clerkjs?this.clerkjs.setActive(s):Promise.reject(),this.openSignIn=s=>{this.clerkjs&&this.loaded?this.clerkjs.openSignIn(s):this.preopenSignIn=s},this.closeSignIn=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeSignIn():this.preopenSignIn=null},this.__internal_openCheckout=s=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_openCheckout(s):this.preopenCheckout=s},this.__internal_closeCheckout=()=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_closeCheckout():this.preopenCheckout=null},this.__internal_openPlanDetails=s=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_openPlanDetails(s):this.preopenPlanDetails=s},this.__internal_closePlanDetails=()=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_closePlanDetails():this.preopenPlanDetails=null},this.__internal_openReverification=s=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_openReverification(s):this.preopenUserVerification=s},this.__internal_closeReverification=()=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_closeReverification():this.preopenUserVerification=null},this.openGoogleOneTap=s=>{this.clerkjs&&this.loaded?this.clerkjs.openGoogleOneTap(s):this.preopenOneTap=s},this.closeGoogleOneTap=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeGoogleOneTap():this.preopenOneTap=null},this.openUserProfile=s=>{this.clerkjs&&this.loaded?this.clerkjs.openUserProfile(s):this.preopenUserProfile=s},this.closeUserProfile=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeUserProfile():this.preopenUserProfile=null},this.openOrganizationProfile=s=>{this.clerkjs&&this.loaded?this.clerkjs.openOrganizationProfile(s):this.preopenOrganizationProfile=s},this.closeOrganizationProfile=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeOrganizationProfile():this.preopenOrganizationProfile=null},this.openCreateOrganization=s=>{this.clerkjs&&this.loaded?this.clerkjs.openCreateOrganization(s):this.preopenCreateOrganization=s},this.closeCreateOrganization=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeCreateOrganization():this.preopenCreateOrganization=null},this.openWaitlist=s=>{this.clerkjs&&this.loaded?this.clerkjs.openWaitlist(s):this.preOpenWaitlist=s},this.closeWaitlist=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeWaitlist():this.preOpenWaitlist=null},this.openSignUp=s=>{this.clerkjs&&this.loaded?this.clerkjs.openSignUp(s):this.preopenSignUp=s},this.closeSignUp=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeSignUp():this.preopenSignUp=null},this.mountSignIn=(s,l)=>{this.clerkjs&&this.loaded?this.clerkjs.mountSignIn(s,l):this.premountSignInNodes.set(s,l)},this.unmountSignIn=s=>{this.clerkjs&&this.loaded?this.clerkjs.unmountSignIn(s):this.premountSignInNodes.delete(s)},this.mountSignUp=(s,l)=>{this.clerkjs&&this.loaded?this.clerkjs.mountSignUp(s,l):this.premountSignUpNodes.set(s,l)},this.unmountSignUp=s=>{this.clerkjs&&this.loaded?this.clerkjs.unmountSignUp(s):this.premountSignUpNodes.delete(s)},this.mountUserProfile=(s,l)=>{this.clerkjs&&this.loaded?this.clerkjs.mountUserProfile(s,l):this.premountUserProfileNodes.set(s,l)},this.unmountUserProfile=s=>{this.clerkjs&&this.loaded?this.clerkjs.unmountUserProfile(s):this.premountUserProfileNodes.delete(s)},this.mountOrganizationProfile=(s,l)=>{this.clerkjs&&this.loaded?this.clerkjs.mountOrganizationProfile(s,l):this.premountOrganizationProfileNodes.set(s,l)},this.unmountOrganizationProfile=s=>{this.clerkjs&&this.loaded?this.clerkjs.unmountOrganizationProfile(s):this.premountOrganizationProfileNodes.delete(s)},this.mountCreateOrganization=(s,l)=>{this.clerkjs&&this.loaded?this.clerkjs.mountCreateOrganization(s,l):this.premountCreateOrganizationNodes.set(s,l)},this.unmountCreateOrganization=s=>{this.clerkjs&&this.loaded?this.clerkjs.unmountCreateOrganization(s):this.premountCreateOrganizationNodes.delete(s)},this.mountOrganizationSwitcher=(s,l)=>{this.clerkjs&&this.loaded?this.clerkjs.mountOrganizationSwitcher(s,l):this.premountOrganizationSwitcherNodes.set(s,l)},this.unmountOrganizationSwitcher=s=>{this.clerkjs&&this.loaded?this.clerkjs.unmountOrganizationSwitcher(s):this.premountOrganizationSwitcherNodes.delete(s)},this.__experimental_prefetchOrganizationSwitcher=()=>{const s=()=>{var l;return(l=this.clerkjs)==null?void 0:l.__experimental_prefetchOrganizationSwitcher()};this.clerkjs&&this.loaded?s():this.premountMethodCalls.set("__experimental_prefetchOrganizationSwitcher",s)},this.mountOrganizationList=(s,l)=>{this.clerkjs&&this.loaded?this.clerkjs.mountOrganizationList(s,l):this.premountOrganizationListNodes.set(s,l)},this.unmountOrganizationList=s=>{this.clerkjs&&this.loaded?this.clerkjs.unmountOrganizationList(s):this.premountOrganizationListNodes.delete(s)},this.mountUserButton=(s,l)=>{this.clerkjs&&this.loaded?this.clerkjs.mountUserButton(s,l):this.premountUserButtonNodes.set(s,l)},this.unmountUserButton=s=>{this.clerkjs&&this.loaded?this.clerkjs.unmountUserButton(s):this.premountUserButtonNodes.delete(s)},this.mountWaitlist=(s,l)=>{this.clerkjs&&this.loaded?this.clerkjs.mountWaitlist(s,l):this.premountWaitlistNodes.set(s,l)},this.unmountWaitlist=s=>{this.clerkjs&&this.loaded?this.clerkjs.unmountWaitlist(s):this.premountWaitlistNodes.delete(s)},this.mountPricingTable=(s,l)=>{this.clerkjs&&this.loaded?this.clerkjs.mountPricingTable(s,l):this.premountPricingTableNodes.set(s,l)},this.unmountPricingTable=s=>{this.clerkjs&&this.loaded?this.clerkjs.unmountPricingTable(s):this.premountPricingTableNodes.delete(s)},this.mountApiKeys=(s,l)=>{this.clerkjs&&this.loaded?this.clerkjs.mountApiKeys(s,l):this.premountApiKeysNodes.set(s,l)},this.unmountApiKeys=s=>{this.clerkjs&&this.loaded?this.clerkjs.unmountApiKeys(s):this.premountApiKeysNodes.delete(s)},this.__internal_mountOAuthConsent=(s,l)=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_mountOAuthConsent(s,l):this.premountOAuthConsentNodes.set(s,l)},this.__internal_unmountOAuthConsent=s=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_unmountOAuthConsent(s):this.premountOAuthConsentNodes.delete(s)},this.addListener=s=>{if(this.clerkjs)return this.clerkjs.addListener(s);{const l=()=>{var o;const d=this.premountAddListenerCalls.get(s);d&&((o=d.nativeUnsubscribe)==null||o.call(d),this.premountAddListenerCalls.delete(s))};return this.premountAddListenerCalls.set(s,{unsubscribe:l,nativeUnsubscribe:void 0}),l}},this.navigate=s=>{const l=()=>{var o;return(o=this.clerkjs)==null?void 0:o.navigate(s)};this.clerkjs&&this.loaded?l():this.premountMethodCalls.set("navigate",l)},this.redirectWithAuth=async(...s)=>{const l=()=>{var o;return(o=this.clerkjs)==null?void 0:o.redirectWithAuth(...s)};if(this.clerkjs&&this.loaded)return l();this.premountMethodCalls.set("redirectWithAuth",l)},this.redirectToSignIn=async s=>{const l=()=>{var o;return(o=this.clerkjs)==null?void 0:o.redirectToSignIn(s)};if(this.clerkjs&&this.loaded)return l();this.premountMethodCalls.set("redirectToSignIn",l)},this.redirectToSignUp=async s=>{const l=()=>{var o;return(o=this.clerkjs)==null?void 0:o.redirectToSignUp(s)};if(this.clerkjs&&this.loaded)return l();this.premountMethodCalls.set("redirectToSignUp",l)},this.redirectToUserProfile=async()=>{const s=()=>{var l;return(l=this.clerkjs)==null?void 0:l.redirectToUserProfile()};if(this.clerkjs&&this.loaded)return s();this.premountMethodCalls.set("redirectToUserProfile",s)},this.redirectToAfterSignUp=()=>{const s=()=>{var l;return(l=this.clerkjs)==null?void 0:l.redirectToAfterSignUp()};if(this.clerkjs&&this.loaded)return s();this.premountMethodCalls.set("redirectToAfterSignUp",s)},this.redirectToAfterSignIn=()=>{const s=()=>{var l;return(l=this.clerkjs)==null?void 0:l.redirectToAfterSignIn()};this.clerkjs&&this.loaded?s():this.premountMethodCalls.set("redirectToAfterSignIn",s)},this.redirectToAfterSignOut=()=>{const s=()=>{var l;return(l=this.clerkjs)==null?void 0:l.redirectToAfterSignOut()};this.clerkjs&&this.loaded?s():this.premountMethodCalls.set("redirectToAfterSignOut",s)},this.redirectToOrganizationProfile=async()=>{const s=()=>{var l;return(l=this.clerkjs)==null?void 0:l.redirectToOrganizationProfile()};if(this.clerkjs&&this.loaded)return s();this.premountMethodCalls.set("redirectToOrganizationProfile",s)},this.redirectToCreateOrganization=async()=>{const s=()=>{var l;return(l=this.clerkjs)==null?void 0:l.redirectToCreateOrganization()};if(this.clerkjs&&this.loaded)return s();this.premountMethodCalls.set("redirectToCreateOrganization",s)},this.redirectToWaitlist=async()=>{const s=()=>{var l;return(l=this.clerkjs)==null?void 0:l.redirectToWaitlist()};if(this.clerkjs&&this.loaded)return s();this.premountMethodCalls.set("redirectToWaitlist",s)},this.handleRedirectCallback=async s=>{var l;const o=()=>{var d;return(d=this.clerkjs)==null?void 0:d.handleRedirectCallback(s)};this.clerkjs&&this.loaded?(l=o())==null||l.catch(()=>{}):this.premountMethodCalls.set("handleRedirectCallback",o)},this.handleGoogleOneTapCallback=async(s,l)=>{var o;const d=()=>{var f;return(f=this.clerkjs)==null?void 0:f.handleGoogleOneTapCallback(s,l)};this.clerkjs&&this.loaded?(o=d())==null||o.catch(()=>{}):this.premountMethodCalls.set("handleGoogleOneTapCallback",d)},this.handleEmailLinkVerification=async s=>{const l=()=>{var o;return(o=this.clerkjs)==null?void 0:o.handleEmailLinkVerification(s)};if(this.clerkjs&&this.loaded)return l();this.premountMethodCalls.set("handleEmailLinkVerification",l)},this.authenticateWithMetamask=async s=>{const l=()=>{var o;return(o=this.clerkjs)==null?void 0:o.authenticateWithMetamask(s)};if(this.clerkjs&&this.loaded)return l();this.premountMethodCalls.set("authenticateWithMetamask",l)},this.authenticateWithCoinbaseWallet=async s=>{const l=()=>{var o;return(o=this.clerkjs)==null?void 0:o.authenticateWithCoinbaseWallet(s)};if(this.clerkjs&&this.loaded)return l();this.premountMethodCalls.set("authenticateWithCoinbaseWallet",l)},this.authenticateWithOKXWallet=async s=>{const l=()=>{var o;return(o=this.clerkjs)==null?void 0:o.authenticateWithOKXWallet(s)};if(this.clerkjs&&this.loaded)return l();this.premountMethodCalls.set("authenticateWithOKXWallet",l)},this.authenticateWithWeb3=async s=>{const l=()=>{var o;return(o=this.clerkjs)==null?void 0:o.authenticateWithWeb3(s)};if(this.clerkjs&&this.loaded)return l();this.premountMethodCalls.set("authenticateWithWeb3",l)},this.authenticateWithGoogleOneTap=async s=>(await W6(this,j0,Lm).call(this)).authenticateWithGoogleOneTap(s),this.createOrganization=async s=>{const l=()=>{var o;return(o=this.clerkjs)==null?void 0:o.createOrganization(s)};if(this.clerkjs&&this.loaded)return l();this.premountMethodCalls.set("createOrganization",l)},this.getOrganization=async s=>{const l=()=>{var o;return(o=this.clerkjs)==null?void 0:o.getOrganization(s)};if(this.clerkjs&&this.loaded)return l();this.premountMethodCalls.set("getOrganization",l)},this.joinWaitlist=async s=>{const l=()=>{var o;return(o=this.clerkjs)==null?void 0:o.joinWaitlist(s)};if(this.clerkjs&&this.loaded)return l();this.premountMethodCalls.set("joinWaitlist",l)},this.signOut=async(...s)=>{const l=()=>{var o;return(o=this.clerkjs)==null?void 0:o.signOut(...s)};if(this.clerkjs&&this.loaded)return l();this.premountMethodCalls.set("signOut",l)};const{Clerk:n=null,publishableKey:a}=t||{};wl(this,Ji,a),wl(this,Rl,t==null?void 0:t.proxyUrl),wl(this,Ol,t==null?void 0:t.domain),this.options=t,this.Clerk=n,this.mode=J6()?"browser":"server",this.options.sdkMetadata||(this.options.sdkMetadata=zU),hn(this,ii).emit(R0.Status,"loading"),hn(this,ii).prioritizedOn(R0.Status,s=>wl(this,Y0,s)),hn(this,Ji)&&this.loadClerkJS()}get publishableKey(){return hn(this,Ji)}get loaded(){var t;return((t=this.clerkjs)==null?void 0:t.loaded)||!1}get status(){var t;return this.clerkjs?((t=this.clerkjs)==null?void 0:t.status)||(this.clerkjs.loaded?"ready":"loading"):hn(this,Y0)}static getOrCreateInstance(t){return(!J6()||!hn(this,ts)||t.Clerk&&hn(this,ts).Clerk!==t.Clerk||hn(this,ts).publishableKey!==t.publishableKey)&&wl(this,ts,new O7(t)),hn(this,ts)}static clearInstance(){wl(this,ts,null)}get domain(){return typeof window<"u"&&window.location?H1(hn(this,Ol),new URL(window.location.href),""):typeof hn(this,Ol)=="function"?Da.throw(F1):hn(this,Ol)||""}get proxyUrl(){return typeof window<"u"&&window.location?H1(hn(this,Rl),new URL(window.location.href),""):typeof hn(this,Rl)=="function"?Da.throw(F1):hn(this,Rl)||""}__internal_getOption(t){var n,a;return(n=this.clerkjs)!=null&&n.__internal_getOption?(a=this.clerkjs)==null?void 0:a.__internal_getOption(t):this.options[t]}get sdkMetadata(){var t;return((t=this.clerkjs)==null?void 0:t.sdkMetadata)||this.options.sdkMetadata||void 0}get instanceType(){var t;return(t=this.clerkjs)==null?void 0:t.instanceType}get frontendApi(){var t;return((t=this.clerkjs)==null?void 0:t.frontendApi)||""}get isStandardBrowser(){var t;return((t=this.clerkjs)==null?void 0:t.isStandardBrowser)||this.options.standardBrowser||!1}get isSatellite(){return typeof window<"u"&&window.location?H1(this.options.isSatellite,new URL(window.location.href),!1):typeof this.options.isSatellite=="function"?Da.throw(F1):!1}async loadClerkJS(){var t;if(!(this.mode!=="browser"||this.loaded)){typeof window<"u"&&(window.__clerk_publishable_key=hn(this,Ji),window.__clerk_proxy_url=this.proxyUrl,window.__clerk_domain=this.domain);try{if(this.Clerk){let n;xU(this.Clerk)?(n=new this.Clerk(hn(this,Ji),{proxyUrl:this.proxyUrl,domain:this.domain}),this.beforeLoad(n),await n.load(this.options)):(n=this.Clerk,n.loaded||(this.beforeLoad(n),await n.load(this.options))),global.Clerk=n}else if(!__BUILD_DISABLE_RHC__){if(global.Clerk||await mU({...this.options,publishableKey:hn(this,Ji),proxyUrl:this.proxyUrl,domain:this.domain,nonce:this.options.nonce}),!global.Clerk)throw new Error("Failed to download latest ClerkJS. Contact support@clerk.com.");this.beforeLoad(global.Clerk),await global.Clerk.load(this.options)}return(t=global.Clerk)!=null&&t.loaded?this.hydrateClerkJS(global.Clerk):void 0}catch(n){const a=n;hn(this,ii).emit(R0.Status,"error"),console.error(a.stack||a.message||a);return}}}get version(){var t;return(t=this.clerkjs)==null?void 0:t.version}get client(){if(this.clerkjs)return this.clerkjs.client}get session(){if(this.clerkjs)return this.clerkjs.session}get user(){if(this.clerkjs)return this.clerkjs.user}get organization(){if(this.clerkjs)return this.clerkjs.organization}get telemetry(){if(this.clerkjs)return this.clerkjs.telemetry}get __unstable__environment(){if(this.clerkjs)return this.clerkjs.__unstable__environment}get isSignedIn(){return this.clerkjs?this.clerkjs.isSignedIn:!1}get billing(){var t;return(t=this.clerkjs)==null?void 0:t.billing}get apiKeys(){var t;return(t=this.clerkjs)==null?void 0:t.apiKeys}__unstable__setEnvironment(...t){if(this.clerkjs&&"__unstable__setEnvironment"in this.clerkjs)this.clerkjs.__unstable__setEnvironment(t);else return}};Y0=new WeakMap;Ol=new WeakMap;Rl=new WeakMap;Ji=new WeakMap;ii=new WeakMap;ts=new WeakMap;j0=new WeakSet;Lm=function(){return new Promise(e=>{this.addOnLoaded(()=>e(this.clerkjs))})};Ps(N7,ts);var lE=N7;function FU(e){const{isomorphicClerkOptions:t,initialState:n,children:a}=e,{isomorphicClerk:s,clerkStatus:l}=HU(t),[o,d]=Ee.useState({client:s.client,session:s.session,user:s.user,organization:s.organization});Ee.useEffect(()=>s.addListener(re=>d({...re})),[]);const f=yU(s.loaded,o,n),h=Ee.useMemo(()=>({value:s}),[l]),p=Ee.useMemo(()=>({value:o.client}),[o.client]),{sessionId:g,sessionStatus:v,sessionClaims:y,session:S,userId:w,user:N,orgId:k,actor:M,organization:I,orgRole:X,orgSlug:G,orgPermissions:P,factorVerificationAge:Z}=f,ne=Ee.useMemo(()=>({value:{sessionId:g,sessionStatus:v,sessionClaims:y,userId:w,actor:M,orgId:k,orgRole:X,orgSlug:G,orgPermissions:P,factorVerificationAge:Z}}),[g,v,w,M,k,X,G,Z,y==null?void 0:y.__raw]),te=Ee.useMemo(()=>({value:S}),[g,S]),Y=Ee.useMemo(()=>({value:N}),[w,N]),ee=Ee.useMemo(()=>({value:{organization:I}}),[k,I]);return Ee.createElement(OP.Provider,{value:h},Ee.createElement(yP.Provider,{value:p},Ee.createElement(vP.Provider,{value:te},Ee.createElement(_P,{...ee.value},Ee.createElement(kP.Provider,{value:ne},Ee.createElement(EP.Provider,{value:Y},a))))))}var HU=e=>{const t=Ee.useRef(lE.getOrCreateInstance(e)),[n,a]=Ee.useState(t.current.status);return Ee.useEffect(()=>{t.current.__unstable__updateProps({appearance:e.appearance})},[e.appearance]),Ee.useEffect(()=>{t.current.__unstable__updateProps({options:e})},[e.localization]),Ee.useEffect(()=>(t.current.on("status",a),()=>{t.current&&t.current.off("status",a),lE.clearInstance()}),[]),{isomorphicClerk:t.current,clerkStatus:n}};function qU(e){const{initialState:t,children:n,__internal_bypassMissingPublishableKey:a,...s}=e,{publishableKey:l="",Clerk:o}=s;return!o&&!a&&(l?l&&!_m(l)&&Da.throwInvalidPublishableKeyError({key:l}):Da.throwMissingPublishableKeyError()),Ee.createElement(FU,{initialState:t,isomorphicClerkOptions:s},n)}var R7=wU(qU,"ClerkProvider",RP);R7.displayName="ClerkProvider";CP({packageName:"@clerk/clerk-react"});hU("@clerk/clerk-react");const sd=10*1024*1024,Bm=new Set(["image/jpeg","image/png","image/webp","application/pdf","text/plain","text/markdown","text/csv"]),V1="cycls_chat_history",I0="cycls_active_chat",M7=15;class pn{static getAllChats(){try{const t=localStorage.getItem(V1);return t?JSON.parse(t):[]}catch(t){return console.error("Error loading chat history:",t),[]}}static saveAllChats(t){try{localStorage.setItem(V1,JSON.stringify(t))}catch(n){console.error("Error saving chat history:",n)}}static getActiveChat(){try{return localStorage.getItem(I0)}catch{return null}}static setActiveChat(t){try{localStorage.setItem(I0,t)}catch(n){console.error("Error saving active chat:",n)}}static createChat(t=[]){const n=this.getAllChats(),a={id:Date.now().toString(),title:this.generateTitle(t),messages:t,createdAt:new Date().toISOString(),updatedAt:new Date().toISOString()};return n.length>=M7&&(n.sort((s,l)=>new Date(s.createdAt)-new Date(l.createdAt)),n.shift()),n.push(a),this.saveAllChats(n),this.setActiveChat(a.id),a}static updateChat(t,n){const a=this.getAllChats(),s=a.findIndex(l=>l.id===t);s!==-1&&(a[s].messages=n,a[s].updatedAt=new Date().toISOString(),a[s].title=this.generateTitle(n),this.saveAllChats(a))}static deleteChat(t){const a=this.getAllChats().filter(s=>s.id!==t);this.saveAllChats(a),this.getActiveChat()===t&&localStorage.removeItem(I0)}static getChat(t){return this.getAllChats().find(a=>a.id===t)}static generateTitle(t){if(!t||t.length===0)return"New Chat";const n=t.find(l=>l.type==="request");if(!n)return"New Chat";const{clean:a}=Hl(n.content);return a.trim().slice(0,50)||"New Chat"}static clearAll(){try{localStorage.removeItem(V1),localStorage.removeItem(I0)}catch(t){console.error("Error clearing chat history:",t)}}}const YU=e=>{const t=new Date(e),a=new Date-t,s=Math.floor(a/6e4),l=Math.floor(a/36e5),o=Math.floor(a/864e5);return s<1?"Just now":s<60?`${s}m ago`:l<24?`${l}h ago`:o===0?"Today":o===1?"Yesterday":o<7?`${o}d ago`:t.toLocaleDateString("en-US",{month:"short",day:"numeric"})};async function jU(e){const t=await fetch("/metadata",{method:"GET",credentials:"include",signal:e});if(!t.ok)throw new Error(`Metadata request failed: ${t.status}`);return t.json()}function Hl(e){const t=/<!--\s*cycls:attachments\s*([\s\S]*?)\s*cycls:attachments\s*-->/m,n=e.match(t);if(!n)return{clean:e,attachments:[]};let a=[];try{a=JSON.parse(n[1])}catch{a=[]}return{clean:e.replace(t,"").trimEnd(),attachments:a}}function GU(e){return e?e.startsWith("image/")?"image":e==="application/pdf"?"pdf":e==="text/csv"?"csv":e==="text/markdown"?"md":e==="text/plain"?"txt":"file":"file"}async function VU(e,t="anon",n="anon"){if(e.size>sd)throw new Error("File too large (max 10MB)");if(!Bm.has(e.type))throw new Error(`Type not allowed: ${e.type}`);const a=new FormData;a.append("file",e),a.append("orgId",t),a.append("userId",n);const s=await fetch("https://cfywthfcvbajcekvwajz.supabase.co/functions/v1/upload",{method:"POST",body:a});if(!s.ok)throw new Error(`Upload failed (${s.status})`);return await s.json()}const ld=e=>e<1024?`${e}B`:e<1024*1024?`${(e/1024).toFixed(2)}kB`:`${(e/(1024*1024)).toFixed(2)}MB`,$U=e=>{if(e.size>sd)return{valid:!1,error:`File "${e.name}" is too large (${ld(e.size)}). Maximum size is ${ld(sd)}.`};if(!Bm.has(e.type)){const t=Array.from(Bm).map(n=>n.split("/")[1]).join(", ");return{valid:!1,error:`File type "${e.type}" is not supported. Allowed types: ${t}`}}return{valid:!0}};async function Pm(e,t,{signal:n}={}){var p,g,v,y,S,w;const a=e.body.getReader(),s=new TextDecoder,l=e.headers.get("content-type")||"",o=l.includes("text/event-stream")||l.includes("stream");let d="",f="",h=null;for(;;){if(n!=null&&n.aborted)throw new DOMException("Aborted","AbortError");const{value:N,done:k}=await a.read();if(k)break;if(N){const M=s.decode(N,{stream:!0});if(d+=M,h===null&&d.length>0&&(h=d.trimStart().startsWith("data: ")),o||h){let I;for(;(I=d.indexOf(`
|
|
375
|
-
`))!==-1;){const X=d.slice(0,I).trim();if(d=d.slice(I+1),!!X&&X.startsWith("data: ")){const G=X.slice(6);if(G==="[DONE]")return t(f),f;try{const P=JSON.parse(G),Z=((v=(g=(p=P==null?void 0:P.choices)==null?void 0:p[0])==null?void 0:g.delta)==null?void 0:v.content)||"";Z&&(f+=Z,t(f))}catch(P){console.error("Failed to parse SSE data:",P,G)}}}}else f+=M,t(f),d=""}}if((o||h)&&d.trim()){const N=d.trim();if(N.startsWith("data: ")){const k=N.slice(6);if(k!=="[DONE]")try{const M=JSON.parse(k),I=((w=(S=(y=M==null?void 0:M.choices)==null?void 0:y[0])==null?void 0:S.delta)==null?void 0:w.content)||"";I&&(f+=I)}catch(M){console.error("Failed to parse final SSE data:",M,k)}}}return t(f),f}function Um(e){return e.replace(/<think>[\s\S]*?<\/think>/g,"")}const KU=({children:e,className:t,node:n,inline:a,...s})=>{const[l,o]=V.useState(!1),d=V.useRef(null),f=async()=>{var v;try{const y=((v=d.current)==null?void 0:v.textContent)||"";await navigator.clipboard.writeText(y),o(!0),setTimeout(()=>o(!1),2e3)}catch(y){console.error("Failed to copy code:",y)}},h=v=>{var y;return typeof v=="string"?v:Array.isArray(v)?v.map(h).join(""):(y=v==null?void 0:v.props)!=null&&y.children?h(v.props.children):""},p=h(e);return a||!p.includes(`
|
|
376
|
-
`)?q.jsx("code",{className:t,...s,children:e}):q.jsxs("div",{className:"relative group",children:[q.jsx("button",{onClick:f,className:"absolute top-1 right-1 opacity-0 group-hover:opacity-100 transition-opacity inline-flex items-center gap-1.5 px-2.5 py-1.5 text-xs font-medium text-gray-600 hover:text-gray-900 bg-white hover:bg-gray-50 border border-gray-200 rounded-md shadow-sm z-10",title:"Copy code",children:l?q.jsxs(q.Fragment,{children:[q.jsx("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:q.jsx("polyline",{points:"20 6 9 17 4 12"})}),q.jsx("span",{children:"Copied!"})]}):q.jsx(q.Fragment,{children:q.jsxs("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[q.jsx("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),q.jsx("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})]})})}),q.jsx("code",{ref:d,className:t,...s,children:e})]})},XU=({children:e})=>q.jsx("div",{className:"not-prose",children:e}),WU=({href:e,onSend:t,...n})=>{const a=V.useCallback(s=>{t(decodeURIComponent(e.slice(23))),s.preventDefault()},[e,t]);return e.startsWith("https://cycls.com/send/")?q.jsx("a",{...n,className:n.className||"underline decoration-gray-500/40 decoration-2 hover:decoration-gray-500/60",href:"#",onClick:a}):q.jsx("a",{...n,href:e,target:"_blank",rel:"noreferrer"})},zm=Ee.memo(({markdown:e,onSend:t})=>{const n=V.useMemo(()=>({raw:XU,a:a=>q.jsx(WU,{...a,onSend:t}),code:KU}),[t]);return q.jsx("div",{dir:"auto",children:q.jsx(gw,{components:n,remarkPlugins:[kk,aB],rehypePlugins:[KR,$L,[LD,{ignoreMissing:!0,detect:!0}]],children:e})})}),QU=({error:e,onRetry:t,isRetrying:n})=>{const a=s=>s?s.type==="network"?"Network error. Please check your connection and try again.":s.type==="timeout"?"Request timed out. The server took too long to respond.":s.type==="rate_limit"?s.message||"Too many requests. Please wait a moment and try again.":s.type==="server"?`Server error (${s.status||"unknown"}). Please try again later.`:s.type==="abort"?"Request was cancelled.":s.message||"An error occurred while processing your request.":"An unexpected error occurred";return q.jsx("div",{className:"rounded-lg border border-red-200 bg-red-50 p-4 my-2",children:q.jsxs("div",{className:"flex items-start gap-3",children:[q.jsx("div",{className:"flex-shrink-0 mt-0.5",children:q.jsxs("svg",{className:"h-5 w-5 text-red-600",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[q.jsx("circle",{cx:"12",cy:"12",r:"10"}),q.jsx("line",{x1:"12",y1:"8",x2:"12",y2:"12"}),q.jsx("line",{x1:"12",y1:"16",x2:"12.01",y2:"16"})]})}),q.jsxs("div",{className:"flex-1 min-w-0",children:[q.jsx("p",{className:"text-sm font-medium text-red-900",children:"Error"}),q.jsx("p",{className:"text-sm text-red-700 mt-1",children:a(e)}),t&&e.type!=="abort"&&q.jsx("button",{onClick:t,disabled:n,className:"mt-3 inline-flex items-center gap-1.5 px-3 py-1.5 text-sm font-medium text-red-700 hover:text-red-900 bg-white hover:bg-red-50 border border-red-300 rounded-lg transition-colors disabled:opacity-50 disabled:cursor-not-allowed",children:n?q.jsxs(q.Fragment,{children:[q.jsxs("svg",{className:"animate-spin h-4 w-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[q.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),q.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),q.jsx("span",{children:"Retrying..."})]}):q.jsxs(q.Fragment,{children:[q.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[q.jsx("polyline",{points:"23 4 23 10 17 10"}),q.jsx("polyline",{points:"1 20 1 14 7 14"}),q.jsx("path",{d:"M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"})]}),q.jsx("span",{children:"Retry"})]})})]})]})})},ZU=({message:e,onCopy:t,onRegenerate:n,isLastAssistant:a})=>{const[s,l]=V.useState(!1),o=async()=>{try{const{clean:d}=Hl(e.content);await navigator.clipboard.writeText(d),l(!0),setTimeout(()=>l(!1),2e3)}catch(d){console.error("Failed to copy:",d)}};return q.jsxs("div",{className:"flex items-center gap-1 opacity-0 group-hover:opacity-100 transition-opacity duration-200",children:[q.jsx("button",{onClick:o,className:"inline-flex items-center gap-1.5 px-2.5 py-1.5 text-xs font-medium text-gray-600 hover:text-gray-900 hover:bg-gray-100 rounded-lg transition-colors",title:"Copy message",children:s?q.jsxs(q.Fragment,{children:[q.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:q.jsx("polyline",{points:"20 6 9 17 4 12"})}),q.jsx("span",{children:"Copied!"})]}):q.jsxs(q.Fragment,{children:[q.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[q.jsx("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),q.jsx("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})]}),q.jsx("span",{children:"Copy"})]})}),a&&q.jsxs("button",{onClick:n,className:"inline-flex items-center gap-1.5 px-2.5 py-1.5 text-xs font-medium text-gray-600 hover:text-gray-900 hover:bg-gray-100 rounded-lg transition-colors",title:"Regenerate response",children:[q.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[q.jsx("polyline",{points:"23 4 23 10 17 10"}),q.jsx("polyline",{points:"1 20 1 14 7 14"}),q.jsx("path",{d:"M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"})]}),q.jsx("span",{children:"Regenerate"})]})]})},JU=({error:e,onDismiss:t})=>(V.useEffect(()=>{const n=setTimeout(t,5e3);return()=>clearTimeout(n)},[t]),q.jsx("div",{className:"fixed bottom-40 left-1/2 transform -translate-x-1/2 bg-red-50 border border-red-200 rounded-xl shadow-lg px-4 py-3 min-w-[320px] max-w-[90vw] z-50 animate-in slide-in-from-bottom-2 duration-300",children:q.jsxs("div",{className:"flex items-start gap-3",children:[q.jsx("div",{className:"flex-shrink-0 mt-0.5",children:q.jsxs("svg",{className:"h-5 w-5 text-red-600",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[q.jsx("circle",{cx:"12",cy:"12",r:"10"}),q.jsx("line",{x1:"12",y1:"8",x2:"12",y2:"12"}),q.jsx("line",{x1:"12",y1:"16",x2:"12.01",y2:"16"})]})}),q.jsxs("div",{className:"flex-1 min-w-0",children:[q.jsx("p",{className:"text-sm font-medium text-red-900",children:"Upload Error"}),q.jsx("p",{className:"text-sm text-red-700 mt-1",children:e})]}),q.jsx("button",{onClick:t,className:"flex-shrink-0 text-red-400 hover:text-red-600 transition-colors","aria-label":"Dismiss",children:q.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"currentColor",children:q.jsx("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"})})})]})})),ez=({file:e,onRemove:t})=>{const[n,a]=V.useState(null),s=e.type.startsWith("image/");return V.useEffect(()=>{if(!s)return;const l=new FileReader;l.onloadend=()=>a(String(l.result)),l.readAsDataURL(e)},[e,s]),q.jsxs("div",{className:"group inline-flex items-start gap-2 rounded-xl border border-gray-200 bg-white shadow-sm px-2.5 py-1",title:e.name,children:[q.jsx("div",{className:"w-10 h-10 rounded-md overflow-hidden bg-gray-100 flex items-center justify-center",children:s&&n?q.jsx("img",{src:n,alt:e.name,className:"w-full h-full object-cover"}):q.jsx("span",{className:"text-xs",children:"📄"})}),q.jsxs("div",{className:"min-w-0 leading-tight",children:[q.jsx("div",{className:"text-xs font-medium text-gray-900 truncate max-w-[100px]",children:e.name}),q.jsx("div",{className:"text-xs text-left text-gray-500",children:ld(e.size)})]}),q.jsx("button",{onClick:t,className:"ml-1 h-5 w-5 rounded-full bg-gray-200 hover:bg-gray-300 grid place-items-center","aria-label":"Remove attachment",children:q.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",children:q.jsx("path",{d:"M9 3L3 9M3 3L9 9",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})})]})},tz=({attachments:e=[]})=>e.length?q.jsx("div",{className:"mt-3 flex flex-wrap gap-2",children:e.map((t,n)=>{const a=GU(t.mime);if(a==="image")return q.jsx("a",{href:t.url,target:"_blank",rel:"noopener noreferrer",className:"group relative overflow-hidden rounded-lg border border-gray-200/60 shadow-sm transition-all duration-200",children:q.jsx("img",{src:t.url,alt:"",loading:"lazy",className:"mb-1 w-40 rounded-md"})},n);const s={pdf:"📄",csv:"📊",md:"📝",txt:"📝"}[a]||"📎";return q.jsxs("a",{href:t.url,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2.5 rounded-xl border border-gray-200/60 bg-white/80 backdrop-blur-sm px-4 py-2.5 text-sm hover:border-gray-300 hover:bg-white transition-all shadow-sm",children:[q.jsx("span",{className:"text-xl",children:s}),q.jsx("span",{className:"text-xs text-gray-600 uppercase font-semibold tracking-wide",children:a||"file"})]},n)})}):null,nz=({fileName:e,progress:t})=>q.jsx("div",{className:"fixed bottom-40 left-1/2 transform -translate-x-1/2 bg-white border border-gray-200 rounded-xl shadow-lg px-4 py-3 min-w-[280px]",children:q.jsxs("div",{className:"flex items-center gap-3",children:[q.jsx("div",{className:"flex-shrink-0",children:q.jsxs("svg",{className:"animate-spin h-5 w-5 text-gray-600",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[q.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),q.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})}),q.jsxs("div",{className:"flex-1 min-w-0",children:[q.jsx("p",{className:"text-sm font-medium text-gray-900 truncate",children:e}),q.jsx("div",{className:"mt-1 w-full bg-gray-200 rounded-full h-1.5",children:q.jsx("div",{className:"bg-gray-900 h-1.5 rounded-full transition-all duration-300",style:{width:`${t}%`}})})]})]})}),rz=({onSend:e,isLoading:t=!1,onStop:n})=>{const[a,s]=V.useState(""),[l,o]=V.useState([]),[d,f]=V.useState(!1),[h,p]=V.useState(null),[g,v]=V.useState(!1),y=V.useRef(null),S=V.useRef(null),w=V.useRef(0);V.useEffect(()=>{const Z=()=>f(window.innerWidth<=768);return Z(),window.addEventListener("resize",Z),()=>window.removeEventListener("resize",Z)},[]);const N=V.useCallback(Z=>{const ne=[];for(const te of Z){const Y=$U(te);if(Y.valid)ne.push(te);else{p(Y.error);break}}ne.length>0&&o(te=>[...te,...ne])},[]);V.useEffect(()=>{const Z=ee=>{ee.preventDefault(),ee.stopPropagation(),w.current++,ee.dataTransfer.types.includes("Files")&&v(!0)},ne=ee=>{ee.preventDefault(),ee.stopPropagation(),w.current--,w.current===0&&v(!1)},te=ee=>{ee.preventDefault(),ee.stopPropagation()},Y=ee=>{ee.preventDefault(),ee.stopPropagation(),v(!1),w.current=0;const re=Array.from(ee.dataTransfer.files||[]);re.length>0&&N(re)};return document.addEventListener("dragenter",Z),document.addEventListener("dragleave",ne),document.addEventListener("dragover",te),document.addEventListener("drop",Y),()=>{document.removeEventListener("dragenter",Z),document.removeEventListener("dragleave",ne),document.removeEventListener("dragover",te),document.removeEventListener("drop",Y)}},[N]),V.useEffect(()=>{const Z=ne=>{var re;if(!(document.activeElement===S.current))return;const ee=Array.from(((re=ne.clipboardData)==null?void 0:re.items)||[]).filter(ge=>ge.type.startsWith("image/"));if(ee.length>0){ne.preventDefault();const ge=ee.map(oe=>oe.getAsFile()).filter(oe=>oe!==null);ge.length>0&&N(ge)}};return document.addEventListener("paste",Z),()=>document.removeEventListener("paste",Z)},[N]);const k=()=>{var Z;return(Z=y.current)==null?void 0:Z.click()},M=Z=>{const ne=Array.from(Z.target.files||[]);N(ne),Z.target.value=""},I=Z=>o(ne=>ne.filter((te,Y)=>Y!==Z)),X=async()=>{t||(e({text:a,files:l}),s(""),o([]))},G=Z=>{Z.key==="Enter"&&!Z.shiftKey&&!d&&!t&&(Z.preventDefault(),X())},P=["fixed inset-x-2 md:inset-x-0 mx-auto max-w-3xl z-40","bottom-[max(0.75rem,env(safe-area-inset-bottom))] md:bottom-[max(1rem,env(safe-area-inset-bottom))]"].join(" ");return q.jsxs(q.Fragment,{children:[h&&q.jsx(JU,{error:h,onDismiss:()=>p(null)}),g&&q.jsx("div",{className:"fixed inset-0 z-50 bg-gray-900/50 backdrop-blur-sm flex items-center justify-center pointer-events-none",children:q.jsx("div",{className:"bg-white rounded-2xl shadow-2xl p-8 max-w-md mx-4 border-2 border-dashed border-gray-900",children:q.jsxs("div",{className:"text-center",children:[q.jsx("div",{className:"mx-auto w-16 h-16 bg-gray-100 rounded-full flex items-center justify-center mb-4",children:q.jsx("svg",{className:"w-8 h-8 text-gray-900",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:q.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12"})})}),q.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-2",children:"Drop files to upload"}),q.jsx("p",{className:"text-sm text-gray-600",children:"Images, PDFs, and text files supported"}),q.jsxs("p",{className:"text-xs text-gray-500 mt-2",children:["Max ",ld(sd)," per file"]})]})})}),q.jsx("div",{className:P,children:q.jsxs("div",{className:"border-input cursor-text rounded-3xl border bg-popover relative p-0 pt-1 shadow-xs backdrop-blur-xl w-full",children:[l.length>0&&q.jsx("div",{className:"px-3 pt-3",children:q.jsx("div",{className:"flex flex-wrap gap-2",children:l.map((Z,ne)=>q.jsx(ez,{file:Z,onRemove:()=>I(ne)},ne))})}),q.jsxs("div",{className:"px-3 pb-3 pt-2",children:[q.jsx("textarea",{ref:S,className:"w-full resize-none border-0 bg-transparent focus:ring-0 focus:outline-none placeholder:text-gray-400 text-[15px] leading-6 max-h-40 mb-2 disabled:opacity-50 disabled:cursor-not-allowed",dir:"auto",autoFocus:!0,tabIndex:0,rows:Math.max(1,Math.min(6,a.split(`
|
|
377
|
-
`).length)),placeholder:t?"Waiting for response...":"What's on your mind?",onChange:Z=>s(Z.target.value),onKeyDown:G,value:a,disabled:t}),q.jsxs("div",{className:"flex items-center gap-2",children:[q.jsx("button",{onClick:k,className:"border border-gray-200 rounded-full bg-white hover:bg-gray-50 active:scale-[0.98] w-8 h-8 inline-flex items-center justify-center p-1","aria-label":"Attach file",title:"Attach files",children:q.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:q.jsx("path",{d:"m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551"})})}),q.jsx("input",{ref:y,type:"file",multiple:!0,className:"hidden",onChange:M,accept:".jpg,.jpeg,.png,.webp,.pdf,.txt,.md,.csv"}),q.jsx("div",{className:"flex-1"}),t&&q.jsx("button",{onClick:n,className:"rounded-full bg-white text-gray-700 hover:bg-gray-100 active:scale-95 transition-all inline-flex items-center justify-center w-8 h-8 flex-shrink-0 border border-gray-300 shadow-sm","aria-label":"Stop generating",title:"Stop",children:q.jsx("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"currentColor",children:q.jsx("rect",{x:"6",y:"6",width:"12",height:"12",rx:"2"})})}),!t&&q.jsx("button",{onClick:X,disabled:t,className:"rounded-full bg-gray-900 text-white hover:opacity-90 active:scale-[0.98] inline-flex items-center justify-center w-9 h-9 flex-shrink-0 disabled:opacity-50 disabled:cursor-not-allowed disabled:active:scale-100","aria-label":"Send message",title:"Send",children:q.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:q.jsx("path",{d:"M8.99992 16V6.41407L5.70696 9.70704C5.31643 10.0976 4.68342 10.0976 4.29289 9.70704C3.90237 9.31652 3.90237 8.6835 4.29289 8.29298L9.29289 3.29298L9.36907 3.22462C9.76184 2.90427 10.3408 2.92686 10.707 3.29298L15.707 8.29298L15.7753 8.36915C16.0957 8.76192 16.0731 9.34092 15.707 9.70704C15.3408 10.0732 14.7618 10.0958 14.3691 9.7754L14.2929 9.70704L10.9999 6.41407V16C10.9999 16.5523 10.5522 17 9.99992 17C9.44764 17 8.99992 16.5523 8.99992 16Z"})})})]})]})]})})]})},az=Ee.memo(({messages:e,onSend:t,onRegenerate:n,isGenerating:a,onRetry:s,retryingIndex:l})=>{const o=V.useMemo(()=>e.map((d,f)=>{if(d.type==="request"){const{clean:p,attachments:g}=Hl(d.content),v=/[\u0591-\u07FF\uFB1D-\uFDFD\uFE70-\uFEFC]/.test(p);return q.jsx("div",{className:`flex mb-4 ${v?"justify-start":"justify-end"}`,children:q.jsxs("div",{className:"max-w-[85%] md:max-w-[75%]",children:[g.length>0&&q.jsx("div",{className:"mb-1",children:q.jsx(tz,{attachments:g})}),p&&q.jsx("div",{className:"bg-gray-100 text-black px-4 py-2 rounded-3xl shadow-sm",children:q.jsx("div",{dir:"auto",className:"text-[15px] leading-relaxed whitespace-pre-wrap",children:p})})]})},f)}const h=d.type==="response"&&f===e.length-1&&!a;return q.jsx("div",{className:"flex mb-4 justify-start group",children:q.jsx("div",{className:"max-w-[85%] md:max-w-[100%]",children:d.error?q.jsx(QU,{error:d.error,onRetry:()=>s(f),isRetrying:l===f}):q.jsxs(q.Fragment,{children:[q.jsxs("div",{className:"prose prose-sm max-w-none",children:[q.jsx(zm,{markdown:d.content,onSend:t}),d.content===""&&q.jsx("div",{className:"h-4 w-32 bg-gray-200 rounded animate-pulse"})]}),d.content&&d.content!==""&&q.jsx(ZU,{message:d,onRegenerate:()=>n(f),isLastAssistant:h})]})})},f)}),[e,t,n,a,s,l]);return q.jsx("div",{className:"space-y-1",children:o})}),iz=(e,t,n,a,s,l,o,d=()=>{},f,h,p,g,v,y)=>async S=>{const w=typeof S=="object"&&S!==null,N=w?S.text||"":String(S||""),k=w?S.files||[]:[];if(!N.trim()&&k.length===0){n(!0);return}if(N===":clear"&&k.length===0){t([]),y(null),pn.setActiveChat(""),window.scrollTo(0,0);return}e.length===0&&d(),a(!0),o(!1);let M=[];for(let ee=0;ee<k.length;ee++){const re=k[ee];try{s({fileName:re.name,progress:0});const ge=await VU(re);s({fileName:re.name,progress:100}),M.push(ge),setTimeout(()=>s(null),500)}catch(ge){console.error("Upload error:",ge),s(null),a(!1),t(oe=>[...oe,{type:"request",content:N},{type:"response",content:"",error:{type:"server",message:`Failed to upload ${re.name}: ${ge.message}`,status:null}}]);return}}let I=N;if(M.length>0){const ee=`<!--cycls:attachments
|
|
378
|
-
${JSON.stringify(M)}
|
|
379
|
-
cycls:attachments-->`;I=`${N}
|
|
380
|
-
|
|
381
|
-
${ee}`}const X={type:"request",content:I},G={type:"response",content:""};t(ee=>[...ee,X,G]);const P=[...e,X];let Z=v;Z?pn.updateChat(Z,P):(Z=pn.createChat(P).id,y(Z));const ne=P.map(({type:ee,content:re})=>{const ge=ee==="request"?"user":"assistant",{clean:oe,attachments:pe}=Hl(re);if(pe.length===0)return{role:ge,content:oe};const W=[];oe.trim()&&W.push({type:"text",text:oe});for(const he of pe)he.mime&&he.mime.startsWith("image/")?W.push({type:"image_url",image_url:{url:he.url}}):W.push({type:"file",text:`[File attached: ${he.name}]
|
|
382
|
-
File URL: ${he.url}
|
|
383
|
-
File type: ${he.mime||"unknown"}`});return{role:ge,content:W}});l.current=new AbortController;let te=!1;const Y=setTimeout(()=>{l.current&&(te=!0,l.current.abort())},12e4);try{const ee={"Content-Type":"application/json"};if(f&&p)try{const pe=await p({template:"template"});if(pe&&(ee.Authorization=`Bearer ${pe}`),g&&h)try{await g({organization:h})}catch{}}catch{}const re=await fetch("/chat/completions",{method:"POST",headers:ee,body:JSON.stringify({messages:ne,stream:!0}),signal:l.current.signal});if(clearTimeout(Y),!re.ok){let pe="server",W=`Server returned ${re.status}`;if(re.status===429){pe="rate_limit";const he=re.headers.get("Retry-After");W=he?`Too many requests. Please try again in ${he} seconds.`:"Too many requests. Please wait a moment and try again."}else re.status>=500?W="Server error. Please try again later.":(re.status===401||re.status===403)&&(W="Authentication error. Please refresh and try again.");throw{type:pe,status:re.status,message:W}}await Pm(re,pe=>{const W=Um(pe);t(he=>{const ye=[...he];return ye[ye.length-1].content=W,ye})},{signal:l.current.signal});const oe=[...P,G];pn.updateChat(Z,oe),a(!1),n(!0)}catch(ee){clearTimeout(Y);let re={type:"server",message:"An unexpected error occurred",status:null};if(ee.name==="AbortError")if(te)re={type:"timeout",message:"Request timed out. The server took too long to respond."};else{console.log("Generation stopped by user"),t(ge=>{var pe;const oe=[...ge];if(((pe=oe[oe.length-1])==null?void 0:pe.type)==="response"){oe[oe.length-1].content+=`
|
|
384
|
-
|
|
385
|
-
*[Generation stopped]*`;const W=e.concat([X,oe[oe.length-1]]);Z&&pn.updateChat(Z,W)}return oe}),a(!1),n(!0);return}else ee instanceof TypeError&&ee.message.includes("fetch")?re={type:"network",message:"Network error. Please check your connection and try again."}:ee.type&&(re=ee);console.error("Request error:",ee),t(ge=>{var pe;const oe=[...ge];return((pe=oe[oe.length-1])==null?void 0:pe.type)==="response"&&(oe[oe.length-1].error=re),oe}),a(!1),n(!0)}};function sz(){const[e,t]=Ee.useState({status:"loading"});return Ee.useEffect(()=>{const n=new AbortController;return(async()=>{try{const a=await jU(n.signal);t({status:"ready",data:a})}catch(a){t({status:"error",error:a})}})(),()=>n.abort()},[]),e}const lz=()=>{var t,n;const e=sz();if(e.status==="loading")return q.jsx("div",{className:"min-h-screen grid place-items-center text-sm text-gray-500",children:"Loading…"});if(e.status==="error"){console.error("Failed to load /metadata:",e.error);const a={header:"",intro:"",prod:((n=(t=import.meta)==null?void 0:t.env)==null?void 0:n.PROD)||!1,auth:!1};return q.jsx(oE,{meta:a})}return q.jsx(oE,{meta:e.data})},uz=({isOpen:e,onClose:t,chats:n,activeChat:a,onSelectChat:s,onNewChat:l,onDeleteChat:o})=>{const[d,f]=V.useState(null),h=V.useMemo(()=>[...n].sort((p,g)=>new Date(g.updatedAt)-new Date(p.updatedAt)),[n]);return q.jsxs(q.Fragment,{children:[e&&q.jsx("div",{className:"fixed inset-0 bg-black/50 z-40 md:hidden",onClick:t}),q.jsxs("div",{className:`fixed top-0 left-0 h-full bg-white border-r border-gray-200 z-50 transition-transform duration-300 ease-in-out ${e?"translate-x-0":"-translate-x-full"} w-72 flex flex-col`,children:[q.jsxs("div",{className:"p-4 border-b border-gray-200 flex items-center justify-between",children:[q.jsx("h2",{className:"font-semibold text-gray-900",children:"Chat History"}),q.jsx("button",{onClick:t,className:"md:hidden p-1 hover:bg-gray-100 rounded-lg transition-colors","aria-label":"Close sidebar",children:q.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"currentColor",children:q.jsx("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"})})})]}),q.jsx("div",{className:"p-3",children:q.jsxs("button",{onClick:l,className:"w-full flex items-center justify-center gap-2 px-4 py-2.5 bg-gray-900 text-white rounded-lg hover:bg-gray-800 transition-colors font-medium",children:[q.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[q.jsx("line",{x1:"12",y1:"5",x2:"12",y2:"19"}),q.jsx("line",{x1:"5",y1:"12",x2:"19",y2:"12"})]}),"New Chat"]})}),q.jsx("div",{className:"flex-1 overflow-y-auto p-3 space-y-1",children:h.length===0?q.jsx("div",{className:"text-center py-8 text-gray-500 text-sm",children:"No chat history yet"}):h.map(p=>q.jsxs("div",{className:`group relative rounded-lg transition-colors ${a===p.id?"bg-gray-100":"hover:bg-gray-50 cursor-pointer"}`,onMouseEnter:()=>f(p.id),onMouseLeave:()=>f(null),children:[q.jsxs("div",{className:"p-3 pr-10",onClick:()=>s(p.id),children:[q.jsx("div",{className:"font-medium text-sm text-gray-900 truncate",children:p.title}),q.jsx("div",{className:"text-xs text-gray-500 mt-1",children:YU(p.updatedAt)})]}),d===p.id&&q.jsx("button",{onClick:g=>{g.stopPropagation(),o(p.id)},className:"absolute right-2 top-1/2 -translate-y-1/2 p-1.5 hover:bg-red-100 rounded-md transition-colors text-gray-400 hover:text-red-600","aria-label":"Delete chat",children:q.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[q.jsx("polyline",{points:"3 6 5 6 21 6"}),q.jsx("path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"})]})})]},p.id))}),q.jsxs("div",{className:"p-3 border-t border-gray-200 text-xs text-gray-500 text-center",children:[n.length," / ",M7," chats"]})]})]})},uE=({HEADER:e,INTRO:t,AUTH:n,ORG:a,TITLE:s})=>{const[l,o]=V.useState([]),[d,f]=V.useState(!1),[h,p]=V.useState(!1),[g,v]=V.useState(null),[y,S]=V.useState(!1),[w,N]=V.useState(!1),[k,M]=V.useState(null),I=V.useRef(null),X=V.useRef(null),[G,P]=V.useState(!1),[Z,ne]=V.useState([]),[te,Y]=V.useState(null),ee=n?Yp():null,re=n?SP():null;V.useEffect(()=>{const Q=pn.getAllChats();ne(Q);const de=pn.getActiveChat();if(de){const D=pn.getChat(de);D&&(o(D.messages),Y(de),S(D.messages.length>0))}},[]),V.useEffect(()=>{l.length>0&&te&&(pn.updateChat(te,l),ne(pn.getAllChats()))},[l,te]),V.useEffect(()=>{document.title=s},[]),V.useEffect(()=>{const Q=()=>{const de=window.scrollY||document.documentElement.scrollTop,D=document.documentElement.scrollHeight,De=window.innerHeight,qe=D-de-De<100;N(!qe)};return window.addEventListener("scroll",Q),()=>window.removeEventListener("scroll",Q)},[]),V.useEffect(()=>{!w&&X.current&&X.current.scrollIntoView({behavior:"smooth"})},[l,w]),V.useEffect(()=>{if(d){const Q=document.querySelector("textarea");Q==null||Q.focus(),f(!1)}},[d]);const ge=V.useCallback(iz(l,o,f,p,v,I,N,()=>S(!0),n,a,ee==null?void 0:ee.getToken,re==null?void 0:re.setActive,te,Y),[l,n,a,ee==null?void 0:ee.getToken,re==null?void 0:re.setActive,te]),oe=V.useCallback(()=>{I.current&&(I.current.abort(),I.current=null)},[]),pe=V.useCallback(()=>{o([]),Y(null),S(!1),pn.setActiveChat(""),P(!1),window.scrollTo(0,0)},[]),W=V.useCallback(Q=>{const de=pn.getChat(Q);de&&(o(de.messages),Y(Q),S(de.messages.length>0),pn.setActiveChat(Q),P(!1),window.scrollTo(0,0))},[]),he=V.useCallback(Q=>{pn.deleteChat(Q),ne(pn.getAllChats()),Q===te&&pe()},[te,pe]),ye=V.useCallback(async Q=>{const de=Q-1;if(de<0||(o(st=>{var wt;const Ye=[...st];return((wt=Ye[Q])==null?void 0:wt.type)==="response"&&(Ye[Q]={type:"response",content:""}),Ye}),l[de].type!=="request"))return;const De=l.slice(0,Q);p(!0),N(!1);const qe=De.map(({type:st,content:Ye})=>{const wt=st==="request"?"user":"assistant",{clean:rt,attachments:$e}=Hl(Ye);if($e.length===0)return{role:wt,content:rt};const Ve=[];rt.trim()&&Ve.push({type:"text",text:rt});for(const ot of $e)ot.mime&&ot.mime.startsWith("image/")?Ve.push({type:"image_url",image_url:{url:ot.url}}):Ve.push({type:"file",text:`[File attached: ${ot.name}]
|
|
386
|
-
File URL: ${ot.url}
|
|
387
|
-
File type: ${ot.mime||"unknown"}`});return{role:wt,content:Ve}}),Me=new AbortController;I.current=Me;let Tt=!1;const nt=setTimeout(()=>{I.current&&(Tt=!0,I.current.abort())},12e4);try{const st={"Content-Type":"application/json"};if(n&&(ee!=null&&ee.getToken))try{const rt=await ee.getToken({template:"template"});if(rt&&(st.Authorization=`Bearer ${rt}`),re!=null&&re.setActive&&a)try{await re.setActive({organization:a})}catch{}}catch{}const Ye=await fetch("/chat/completions",{method:"POST",headers:st,body:JSON.stringify({messages:qe,stream:!0}),signal:Me.signal});if(clearTimeout(nt),!Ye.ok){let rt="server",$e=`Server returned ${Ye.status}`;if(Ye.status===429){rt="rate_limit";const Ve=Ye.headers.get("Retry-After");$e=Ve?`Too many requests. Please try again in ${Ve} seconds.`:"Too many requests. Please wait a moment and try again."}else Ye.status>=500?$e="Server error. Please try again later.":(Ye.status===401||Ye.status===403)&&($e="Authentication error. Please refresh and try again.");throw{type:rt,status:Ye.status,message:$e}}if(await Pm(Ye,rt=>{const $e=Um(rt);o(Ve=>{const ot=[...Ve];return ot[Q].content=$e,ot})},{signal:Me.signal}),te){const rt=[...l];o($e=>{const Ve=[...$e];return pn.updateChat(te,Ve),ne(pn.getAllChats()),Ve})}p(!1),f(!0)}catch(st){clearTimeout(nt);let Ye={type:"server",message:"An unexpected error occurred",status:null};if(st.name==="AbortError")if(Tt)Ye={type:"timeout",message:"Request timed out. The server took too long to respond."};else{console.log("Regeneration stopped by user"),o(wt=>{const rt=[...wt];return rt[Q].content+=`
|
|
388
|
-
|
|
389
|
-
*[Generation stopped]*`,te&&(pn.updateChat(te,rt),ne(pn.getAllChats())),rt}),p(!1),f(!0);return}else st instanceof TypeError&&st.message.includes("fetch")?Ye={type:"network",message:"Network error. Please check your connection and try again."}:st.type&&(Ye=st);console.error("Regeneration error:",st),o(wt=>{const rt=[...wt];return rt[Q].error=Ye,rt}),p(!1),f(!0)}},[l,n,a,ee==null?void 0:ee.getToken,re==null?void 0:re.setActive,te]),He=V.useCallback(async Q=>{const de=Q-1;if(de<0)return;if(M(Q),o(De=>{var Me;const qe=[...De];return((Me=qe[Q])==null?void 0:Me.type)==="response"&&(qe[Q]={type:"response",content:""}),qe}),l[de].type==="request"){const De=l.slice(0,Q);p(!0),N(!1);const qe=De.map(({type:st,content:Ye})=>{const wt=st==="request"?"user":"assistant",{clean:rt,attachments:$e}=Hl(Ye);if($e.length===0)return{role:wt,content:rt};const Ve=[];rt.trim()&&Ve.push({type:"text",text:rt});for(const ot of $e)ot.mime&&ot.mime.startsWith("image/")?Ve.push({type:"image_url",image_url:{url:ot.url}}):Ve.push({type:"file",text:`[File attached: ${ot.name}]
|
|
390
|
-
File URL: ${ot.url}
|
|
391
|
-
File type: ${ot.mime||"unknown"}`});return{role:wt,content:Ve}}),Me=new AbortController;I.current=Me;let Tt=!1;const nt=setTimeout(()=>{I.current&&(Tt=!0,I.current.abort())},12e4);try{const st={"Content-Type":"application/json"};if(n&&(ee!=null&&ee.getToken))try{const rt=await ee.getToken({template:"template"});if(rt&&(st.Authorization=`Bearer ${rt}`),re!=null&&re.setActive&&a)try{await re.setActive({organization:a})}catch{}}catch{}const Ye=await fetch("/chat/completions",{method:"POST",headers:st,body:JSON.stringify({messages:qe,stream:!0}),signal:Me.signal});if(clearTimeout(nt),!Ye.ok){let rt="server",$e=`Server returned ${Ye.status}`;if(Ye.status===429){rt="rate_limit";const Ve=Ye.headers.get("Retry-After");$e=Ve?`Too many requests. Please try again in ${Ve} seconds.`:"Too many requests. Please wait a moment and try again."}else Ye.status>=500?$e="Server error. Please try again later.":(Ye.status===401||Ye.status===403)&&($e="Authentication error. Please refresh and try again.");throw{type:rt,status:Ye.status,message:$e}}await Pm(Ye,rt=>{const $e=Um(rt);o(Ve=>{const ot=[...Ve];return ot[Q].content=$e,ot})},{signal:Me.signal}),te&&o(rt=>{const $e=[...rt];return pn.updateChat(te,$e),ne(pn.getAllChats()),$e}),p(!1),M(null),f(!0)}catch(st){clearTimeout(nt);let Ye={type:"server",message:"An unexpected error occurred",status:null};if(st.name==="AbortError")if(Tt)Ye={type:"timeout",message:"Request timed out. The server took too long to respond."};else{console.log("Retry stopped by user"),o(wt=>{const rt=[...wt];return rt[Q].content+=`
|
|
392
|
-
|
|
393
|
-
*[Generation stopped]*`,te&&(pn.updateChat(te,rt),ne(pn.getAllChats())),rt}),p(!1),M(null),f(!0);return}else st instanceof TypeError&&st.message.includes("fetch")?Ye={type:"network",message:"Network error. Please check your connection and try again."}:st.type&&(Ye=st);console.error("Retry error:",st),o(wt=>{const rt=[...wt];return rt[Q].error=Ye,rt}),p(!1),M(null),f(!0)}}},[l,n,a,ee==null?void 0:ee.getToken,re==null?void 0:re.setActive,te]),A=l.length===0;return q.jsxs("div",{className:"min-h-screen",children:[q.jsx(uz,{isOpen:G,onClose:()=>P(!1),chats:Z,activeChat:te,onSelectChat:W,onNewChat:pe,onDeleteChat:he}),q.jsx("button",{onClick:()=>P(!G),className:"fixed top-4 left-4 z-30 p-2 bg-white border border-gray-200 rounded-lg hover:bg-gray-50 transition-colors shadow-sm","aria-label":"Toggle chat history",children:q.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[q.jsx("line",{x1:"3",y1:"12",x2:"21",y2:"12"}),q.jsx("line",{x1:"3",y1:"6",x2:"21",y2:"6"}),q.jsx("line",{x1:"3",y1:"18",x2:"21",y2:"18"})]})}),q.jsxs("div",{className:"mx-auto max-w-3xl min-h-screen px-4 pb-[200px] md:pb-[180px]",children:[g&&q.jsx(nz,{fileName:g.fileName,progress:g.progress}),q.jsx("div",{className:"prose m-2 mx-auto max-w-3xl p-2 prose-pre:p-0",children:q.jsx(zm,{markdown:e,onSend:ge})}),!A&&q.jsx(q.Fragment,{children:q.jsxs("div",{className:`transition-opacity duration-500 ${y?"opacity-100":"opacity-0"}`,children:[q.jsx(az,{messages:l,onSend:ge,onRegenerate:ye,onRetry:He,retryingIndex:k,isGenerating:h}),q.jsx("div",{ref:X})]})}),A&&!y&&t&&t.trim()!==""&&q.jsx("div",{className:"mx-auto max-w-3xl prose prose-sm prose-pre:p-0",children:q.jsx(zm,{markdown:t,onSend:ge})}),q.jsx(rz,{onSend:ge,isLoading:h,onStop:oe})]})]})},oz=({afterUrl:e})=>{const[t,n]=V.useState("sign-in"),a=gi();V.useEffect(()=>{a.hash==="#sign-up/"?n("sign-up"):n("sign-in")},[a]);const s={elements:{card:"shadow-none border-none",footer:"hidden",formButtonPrimary:"py-2.5 rounded-lg transition-colors",formFieldInput:"border-gray-300 focus:border-blue-500 focus:ring-blue-500 rounded-lg",formFieldLabel:"text-gray-700 font-medium text-sm",dividerLine:"bg-gray-200",dividerText:"text-gray-500 text-sm"}};return q.jsx("div",{className:"min-h-screen flex items-center justify-center px-4 bg-gray-50",children:q.jsx("div",{className:"w-full max-w-md",children:t==="sign-in"?q.jsxs("div",{className:"space-y-4",children:[q.jsx(OU,{routing:"virtual",fallbackRedirectUrl:e,signUpUrl:"#sign-up",appearance:s}),q.jsx("div",{style:{marginLeft:"-30px"},className:"text-center",children:q.jsxs("p",{className:"text-gray-800 text-sm",children:["Don't have an account?"," ",q.jsx("a",{href:"#sign-up/",className:"text-blue-600 hover:text-blue-700 font-medium hover:underline transition-colors",children:"Sign up"})]})})]}):q.jsxs("div",{className:"space-y-4",children:[q.jsx(RU,{routing:"virtual",fallbackRedirectUrl:e,signInUrl:"#sign-in",appearance:s}),q.jsx("div",{style:{marginLeft:"-40px"},className:"text-center",children:q.jsxs("p",{className:"text-gray-800 text-sm",children:["Already have an account?"," ",q.jsx("a",{href:"#sign-in/",className:"text-blue-600 hover:text-blue-700 font-medium hover:underline transition-colors",children:"Sign in"})]})})]})})})},cz=({children:e})=>q.jsxs(q.Fragment,{children:[q.jsx(p7,{children:e}),q.jsx(QP,{children:q.jsx(TE,{to:"/auth",replace:!0})})]}),oE=({meta:e})=>{const t=!!e.prod,n=!!e.auth,a=String(e.header??""),s=String(e.intro??""),l=String(e.title??"AI Agent"),o=t?e.pk_live:e.pk_test,d=e.org||void 0,f=typeof window<"u"?`${window.location.origin}/`:"/";if(!n)return q.jsx(uE,{HEADER:a,INTRO:s,AUTH:n,ORG:d,TITLE:l});const h=t?{isSatellite:!1,domain:"cycls.ai",fallbackRedirectUrl:f,forceRedirectUrl:f}:{fallbackRedirectUrl:f,forceRedirectUrl:f};return q.jsx(R7,{publishableKey:o,...h,children:q.jsxs(t_,{children:[q.jsx(p7,{children:q.jsx("div",{className:"fixed right-2 top-2 z-50",children:q.jsx(LU,{})})}),q.jsxs(M9,{children:[q.jsx(L0,{path:"/auth",element:q.jsx(oz,{afterUrl:f})}),q.jsx(L0,{path:"/",element:q.jsx(cz,{children:q.jsx(uE,{HEADER:a,INTRO:s,AUTH:n,ORG:d,TITLE:l})})}),q.jsx(L0,{path:"*",element:q.jsx(TE,{to:"/",replace:!0})})]})]})})},dz=document.getElementById("root"),fz=HT.createRoot(dz);fz.render(q.jsx(lz,{}));
|