zdashboard 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +71 -0
- package/dist/cli.js +650 -0
- package/dist/cli.js.map +1 -0
- package/dist/web/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
- package/dist/web/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
- package/dist/web/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
- package/dist/web/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
- package/dist/web/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
- package/dist/web/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
- package/dist/web/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
- package/dist/web/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
- package/dist/web/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
- package/dist/web/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
- package/dist/web/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
- package/dist/web/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
- package/dist/web/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
- package/dist/web/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
- package/dist/web/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
- package/dist/web/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
- package/dist/web/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
- package/dist/web/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
- package/dist/web/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
- package/dist/web/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
- package/dist/web/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
- package/dist/web/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
- package/dist/web/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
- package/dist/web/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
- package/dist/web/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
- package/dist/web/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
- package/dist/web/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
- package/dist/web/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
- package/dist/web/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
- package/dist/web/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
- package/dist/web/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
- package/dist/web/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
- package/dist/web/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
- package/dist/web/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
- package/dist/web/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
- package/dist/web/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
- package/dist/web/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
- package/dist/web/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
- package/dist/web/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
- package/dist/web/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
- package/dist/web/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
- package/dist/web/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
- package/dist/web/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
- package/dist/web/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
- package/dist/web/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
- package/dist/web/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
- package/dist/web/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
- package/dist/web/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
- package/dist/web/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
- package/dist/web/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
- package/dist/web/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
- package/dist/web/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
- package/dist/web/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
- package/dist/web/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
- package/dist/web/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
- package/dist/web/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
- package/dist/web/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
- package/dist/web/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
- package/dist/web/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
- package/dist/web/assets/index-B46znErN.js +436 -0
- package/dist/web/assets/index-B7v5E7v0.css +10 -0
- package/dist/web/favicon.svg +7 -0
- package/dist/web/index.html +14 -0
- package/package.json +58 -0
|
@@ -0,0 +1,436 @@
|
|
|
1
|
+
function ZE(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const a=Object.getOwnPropertyDescriptor(r,i);a&&Object.defineProperty(e,i,a.get?a:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const a of i)if(a.type==="childList")for(const s of a.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const a={};return i.integrity&&(a.integrity=i.integrity),i.referrerPolicy&&(a.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?a.credentials="include":i.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(i){if(i.ep)return;i.ep=!0;const a=n(i);fetch(i.href,a)}})();var kn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function fu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var qg={exports:{}},bl={},Gg={exports:{}},De={};/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react.production.min.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Facebook, Inc. and its 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 hu=Symbol.for("react.element"),JE=Symbol.for("react.portal"),e5=Symbol.for("react.fragment"),t5=Symbol.for("react.strict_mode"),n5=Symbol.for("react.profiler"),r5=Symbol.for("react.provider"),i5=Symbol.for("react.context"),a5=Symbol.for("react.forward_ref"),s5=Symbol.for("react.suspense"),u5=Symbol.for("react.memo"),o5=Symbol.for("react.lazy"),j1=Symbol.iterator;function l5(e){return e===null||typeof e!="object"?null:(e=j1&&e[j1]||e["@@iterator"],typeof e=="function"?e:null)}var Yg={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Wg=Object.assign,Vg={};function Ua(e,t,n){this.props=e,this.context=t,this.refs=Vg,this.updater=n||Yg}Ua.prototype.isReactComponent={};Ua.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Ua.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function jg(){}jg.prototype=Ua.prototype;function nf(e,t,n){this.props=e,this.context=t,this.refs=Vg,this.updater=n||Yg}var rf=nf.prototype=new jg;rf.constructor=nf;Wg(rf,Ua.prototype);rf.isPureReactComponent=!0;var K1=Array.isArray,Kg=Object.prototype.hasOwnProperty,af={current:null},Xg={key:!0,ref:!0,__self:!0,__source:!0};function Qg(e,t,n){var r,i={},a=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(a=""+t.key),t)Kg.call(t,r)&&!Xg.hasOwnProperty(r)&&(i[r]=t[r]);var u=arguments.length-2;if(u===1)i.children=n;else if(1<u){for(var o=Array(u),l=0;l<u;l++)o[l]=arguments[l+2];i.children=o}if(e&&e.defaultProps)for(r in u=e.defaultProps,u)i[r]===void 0&&(i[r]=u[r]);return{$$typeof:hu,type:e,key:a,ref:s,props:i,_owner:af.current}}function c5(e,t){return{$$typeof:hu,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function sf(e){return typeof e=="object"&&e!==null&&e.$$typeof===hu}function d5(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var X1=/\/+/g;function a0(e,t){return typeof e=="object"&&e!==null&&e.key!=null?d5(""+e.key):t.toString(36)}function mo(e,t,n,r,i){var a=typeof e;(a==="undefined"||a==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(a){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case hu:case JE:s=!0}}if(s)return s=e,i=i(s),e=r===""?"."+a0(s,0):r,K1(i)?(n="",e!=null&&(n=e.replace(X1,"$&/")+"/"),mo(i,t,n,"",function(l){return l})):i!=null&&(sf(i)&&(i=c5(i,n+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(X1,"$&/")+"/")+e)),t.push(i)),1;if(s=0,r=r===""?".":r+":",K1(e))for(var u=0;u<e.length;u++){a=e[u];var o=r+a0(a,u);s+=mo(a,t,n,o,i)}else if(o=l5(e),typeof o=="function")for(e=o.call(e),u=0;!(a=e.next()).done;)a=a.value,o=r+a0(a,u++),s+=mo(a,t,n,o,i);else if(a==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function ku(e,t,n){if(e==null)return e;var r=[],i=0;return mo(e,r,"","",function(a){return t.call(n,a,i++)}),r}function f5(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var qt={current:null},po={transition:null},h5={ReactCurrentDispatcher:qt,ReactCurrentBatchConfig:po,ReactCurrentOwner:af};function Zg(){throw Error("act(...) is not supported in production builds of React.")}De.Children={map:ku,forEach:function(e,t,n){ku(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ku(e,function(){t++}),t},toArray:function(e){return ku(e,function(t){return t})||[]},only:function(e){if(!sf(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};De.Component=Ua;De.Fragment=e5;De.Profiler=n5;De.PureComponent=nf;De.StrictMode=t5;De.Suspense=s5;De.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=h5;De.act=Zg;De.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=Wg({},e.props),i=e.key,a=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(a=t.ref,s=af.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(o in t)Kg.call(t,o)&&!Xg.hasOwnProperty(o)&&(r[o]=t[o]===void 0&&u!==void 0?u[o]:t[o])}var o=arguments.length-2;if(o===1)r.children=n;else if(1<o){u=Array(o);for(var l=0;l<o;l++)u[l]=arguments[l+2];r.children=u}return{$$typeof:hu,type:e.type,key:i,ref:a,props:r,_owner:s}};De.createContext=function(e){return e={$$typeof:i5,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:r5,_context:e},e.Consumer=e};De.createElement=Qg;De.createFactory=function(e){var t=Qg.bind(null,e);return t.type=e,t};De.createRef=function(){return{current:null}};De.forwardRef=function(e){return{$$typeof:a5,render:e}};De.isValidElement=sf;De.lazy=function(e){return{$$typeof:o5,_payload:{_status:-1,_result:e},_init:f5}};De.memo=function(e,t){return{$$typeof:u5,type:e,compare:t===void 0?null:t}};De.startTransition=function(e){var t=po.transition;po.transition={};try{e()}finally{po.transition=t}};De.unstable_act=Zg;De.useCallback=function(e,t){return qt.current.useCallback(e,t)};De.useContext=function(e){return qt.current.useContext(e)};De.useDebugValue=function(){};De.useDeferredValue=function(e){return qt.current.useDeferredValue(e)};De.useEffect=function(e,t){return qt.current.useEffect(e,t)};De.useId=function(){return qt.current.useId()};De.useImperativeHandle=function(e,t,n){return qt.current.useImperativeHandle(e,t,n)};De.useInsertionEffect=function(e,t){return qt.current.useInsertionEffect(e,t)};De.useLayoutEffect=function(e,t){return qt.current.useLayoutEffect(e,t)};De.useMemo=function(e,t){return qt.current.useMemo(e,t)};De.useReducer=function(e,t,n){return qt.current.useReducer(e,t,n)};De.useRef=function(e){return qt.current.useRef(e)};De.useState=function(e){return qt.current.useState(e)};De.useSyncExternalStore=function(e,t,n){return qt.current.useSyncExternalStore(e,t,n)};De.useTransition=function(){return qt.current.useTransition()};De.version="18.3.1";Gg.exports=De;var pe=Gg.exports;const Jg=fu(pe),m5=ZE({__proto__:null,default:Jg},[pe]);/**
|
|
10
|
+
* @license React
|
|
11
|
+
* react-jsx-runtime.production.min.js
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) Facebook, Inc. and its 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 p5=pe,g5=Symbol.for("react.element"),b5=Symbol.for("react.fragment"),E5=Object.prototype.hasOwnProperty,y5=p5.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,v5={key:!0,ref:!0,__self:!0,__source:!0};function e2(e,t,n){var r,i={},a=null,s=null;n!==void 0&&(a=""+n),t.key!==void 0&&(a=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)E5.call(t,r)&&!v5.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:g5,type:e,key:a,ref:s,props:i,_owner:y5.current}}bl.Fragment=b5;bl.jsx=e2;bl.jsxs=e2;qg.exports=bl;var Y=qg.exports,vc={},t2={exports:{}},gn={},n2={exports:{}},r2={};/**
|
|
18
|
+
* @license React
|
|
19
|
+
* scheduler.production.min.js
|
|
20
|
+
*
|
|
21
|
+
* Copyright (c) Facebook, Inc. and its 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
|
+
*/(function(e){function t(U,j){var S=U.length;U.push(j);e:for(;0<S;){var ue=S-1>>>1,ge=U[ue];if(0<i(ge,j))U[ue]=j,U[S]=ge,S=ue;else break e}}function n(U){return U.length===0?null:U[0]}function r(U){if(U.length===0)return null;var j=U[0],S=U.pop();if(S!==j){U[0]=S;e:for(var ue=0,ge=U.length,R=ge>>>1;ue<R;){var ke=2*(ue+1)-1,Be=U[ke],Ie=ke+1,rt=U[Ie];if(0>i(Be,S))Ie<ge&&0>i(rt,Be)?(U[ue]=rt,U[Ie]=S,ue=Ie):(U[ue]=Be,U[ke]=S,ue=ke);else if(Ie<ge&&0>i(rt,S))U[ue]=rt,U[Ie]=S,ue=Ie;else break e}}return j}function i(U,j){var S=U.sortIndex-j.sortIndex;return S!==0?S:U.id-j.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var s=Date,u=s.now();e.unstable_now=function(){return s.now()-u}}var o=[],l=[],d=1,c=null,h=3,m=!1,E=!1,v=!1,A=typeof setTimeout=="function"?setTimeout:null,b=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function T(U){for(var j=n(l);j!==null;){if(j.callback===null)r(l);else if(j.startTime<=U)r(l),j.sortIndex=j.expirationTime,t(o,j);else break;j=n(l)}}function D(U){if(v=!1,T(U),!E)if(n(o)!==null)E=!0,q(F);else{var j=n(l);j!==null&&ee(D,j.startTime-U)}}function F(U,j){E=!1,v&&(v=!1,b(H),H=-1),m=!0;var S=h;try{for(T(j),c=n(o);c!==null&&(!(c.expirationTime>j)||U&&!Z());){var ue=c.callback;if(typeof ue=="function"){c.callback=null,h=c.priorityLevel;var ge=ue(c.expirationTime<=j);j=e.unstable_now(),typeof ge=="function"?c.callback=ge:c===n(o)&&r(o),T(j)}else r(o);c=n(o)}if(c!==null)var R=!0;else{var ke=n(l);ke!==null&&ee(D,ke.startTime-j),R=!1}return R}finally{c=null,h=S,m=!1}}var C=!1,B=null,H=-1,W=5,M=-1;function Z(){return!(e.unstable_now()-M<W)}function V(){if(B!==null){var U=e.unstable_now();M=U;var j=!0;try{j=B(!0,U)}finally{j?be():(C=!1,B=null)}}else C=!1}var be;if(typeof y=="function")be=function(){y(V)};else if(typeof MessageChannel<"u"){var he=new MessageChannel,le=he.port2;he.port1.onmessage=V,be=function(){le.postMessage(null)}}else be=function(){A(V,0)};function q(U){B=U,C||(C=!0,be())}function ee(U,j){H=A(function(){U(e.unstable_now())},j)}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(U){U.callback=null},e.unstable_continueExecution=function(){E||m||(E=!0,q(F))},e.unstable_forceFrameRate=function(U){0>U||125<U?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):W=0<U?Math.floor(1e3/U):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(o)},e.unstable_next=function(U){switch(h){case 1:case 2:case 3:var j=3;break;default:j=h}var S=h;h=j;try{return U()}finally{h=S}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(U,j){switch(U){case 1:case 2:case 3:case 4:case 5:break;default:U=3}var S=h;h=U;try{return j()}finally{h=S}},e.unstable_scheduleCallback=function(U,j,S){var ue=e.unstable_now();switch(typeof S=="object"&&S!==null?(S=S.delay,S=typeof S=="number"&&0<S?ue+S:ue):S=ue,U){case 1:var ge=-1;break;case 2:ge=250;break;case 5:ge=1073741823;break;case 4:ge=1e4;break;default:ge=5e3}return ge=S+ge,U={id:d++,callback:j,priorityLevel:U,startTime:S,expirationTime:ge,sortIndex:-1},S>ue?(U.sortIndex=S,t(l,U),n(o)===null&&U===n(l)&&(v?(b(H),H=-1):v=!0,ee(D,S-ue))):(U.sortIndex=ge,t(o,U),E||m||(E=!0,q(F))),U},e.unstable_shouldYield=Z,e.unstable_wrapCallback=function(U){var j=h;return function(){var S=h;h=j;try{return U.apply(this,arguments)}finally{h=S}}}})(r2);n2.exports=r2;var _5=n2.exports;/**
|
|
26
|
+
* @license React
|
|
27
|
+
* react-dom.production.min.js
|
|
28
|
+
*
|
|
29
|
+
* Copyright (c) Facebook, Inc. and its 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 T5=pe,mn=_5;function te(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i2=new Set,Hs={};function Wi(e,t){ka(e,t),ka(e+"Capture",t)}function ka(e,t){for(Hs[e]=t,e=0;e<t.length;e++)i2.add(t[e])}var vr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),_c=Object.prototype.hasOwnProperty,x5=/^[: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]*$/,Q1={},Z1={};function A5(e){return _c.call(Z1,e)?!0:_c.call(Q1,e)?!1:x5.test(e)?Z1[e]=!0:(Q1[e]=!0,!1)}function w5(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function S5(e,t,n,r){if(t===null||typeof t>"u"||w5(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Gt(e,t,n,r,i,a,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=s}var kt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){kt[e]=new Gt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];kt[t]=new Gt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){kt[e]=new Gt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){kt[e]=new Gt(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){kt[e]=new Gt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){kt[e]=new Gt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){kt[e]=new Gt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){kt[e]=new Gt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){kt[e]=new Gt(e,5,!1,e.toLowerCase(),null,!1,!1)});var uf=/[\-:]([a-z])/g;function of(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(uf,of);kt[t]=new Gt(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(uf,of);kt[t]=new Gt(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(uf,of);kt[t]=new Gt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){kt[e]=new Gt(e,1,!1,e.toLowerCase(),null,!1,!1)});kt.xlinkHref=new Gt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){kt[e]=new Gt(e,1,!1,e.toLowerCase(),null,!0,!0)});function lf(e,t,n,r){var i=kt.hasOwnProperty(t)?kt[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(S5(t,n,i,r)&&(n=null),r||i===null?A5(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var wr=T5.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Cu=Symbol.for("react.element"),sa=Symbol.for("react.portal"),ua=Symbol.for("react.fragment"),cf=Symbol.for("react.strict_mode"),Tc=Symbol.for("react.profiler"),a2=Symbol.for("react.provider"),s2=Symbol.for("react.context"),df=Symbol.for("react.forward_ref"),xc=Symbol.for("react.suspense"),Ac=Symbol.for("react.suspense_list"),ff=Symbol.for("react.memo"),qr=Symbol.for("react.lazy"),u2=Symbol.for("react.offscreen"),J1=Symbol.iterator;function ts(e){return e===null||typeof e!="object"?null:(e=J1&&e[J1]||e["@@iterator"],typeof e=="function"?e:null)}var nt=Object.assign,s0;function gs(e){if(s0===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);s0=t&&t[1]||""}return`
|
|
34
|
+
`+s0+e}var u0=!1;function o0(e,t){if(!e||u0)return"";u0=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(l){var r=l}Reflect.construct(e,[],t)}else{try{t.call()}catch(l){r=l}e.call(t.prototype)}else{try{throw Error()}catch(l){r=l}e()}}catch(l){if(l&&r&&typeof l.stack=="string"){for(var i=l.stack.split(`
|
|
35
|
+
`),a=r.stack.split(`
|
|
36
|
+
`),s=i.length-1,u=a.length-1;1<=s&&0<=u&&i[s]!==a[u];)u--;for(;1<=s&&0<=u;s--,u--)if(i[s]!==a[u]){if(s!==1||u!==1)do if(s--,u--,0>u||i[s]!==a[u]){var o=`
|
|
37
|
+
`+i[s].replace(" at new "," at ");return e.displayName&&o.includes("<anonymous>")&&(o=o.replace("<anonymous>",e.displayName)),o}while(1<=s&&0<=u);break}}}finally{u0=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?gs(e):""}function k5(e){switch(e.tag){case 5:return gs(e.type);case 16:return gs("Lazy");case 13:return gs("Suspense");case 19:return gs("SuspenseList");case 0:case 2:case 15:return e=o0(e.type,!1),e;case 11:return e=o0(e.type.render,!1),e;case 1:return e=o0(e.type,!0),e;default:return""}}function wc(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case ua:return"Fragment";case sa:return"Portal";case Tc:return"Profiler";case cf:return"StrictMode";case xc:return"Suspense";case Ac:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case s2:return(e.displayName||"Context")+".Consumer";case a2:return(e._context.displayName||"Context")+".Provider";case df:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ff:return t=e.displayName||null,t!==null?t:wc(e.type)||"Memo";case qr:t=e._payload,e=e._init;try{return wc(e(t))}catch{}}return null}function C5(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return wc(t);case 8:return t===cf?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function oi(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function o2(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function N5(e){var t=o2(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,a.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Nu(e){e._valueTracker||(e._valueTracker=N5(e))}function l2(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=o2(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Oo(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Sc(e,t){var n=t.checked;return nt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function eh(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=oi(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function c2(e,t){t=t.checked,t!=null&&lf(e,"checked",t,!1)}function kc(e,t){c2(e,t);var n=oi(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Cc(e,t.type,n):t.hasOwnProperty("defaultValue")&&Cc(e,t.type,oi(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function th(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Cc(e,t,n){(t!=="number"||Oo(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var bs=Array.isArray;function ya(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+oi(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Nc(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(te(91));return nt({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function nh(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(te(92));if(bs(n)){if(1<n.length)throw Error(te(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:oi(n)}}function d2(e,t){var n=oi(t.value),r=oi(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function rh(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function f2(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Dc(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?f2(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Du,h2=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Du=Du||document.createElement("div"),Du.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Du.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function $s(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ts={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},D5=["Webkit","ms","Moz","O"];Object.keys(Ts).forEach(function(e){D5.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ts[t]=Ts[e]})});function m2(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Ts.hasOwnProperty(e)&&Ts[e]?(""+t).trim():t+"px"}function p2(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=m2(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var I5=nt({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ic(e,t){if(t){if(I5[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(te(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(te(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(te(61))}if(t.style!=null&&typeof t.style!="object")throw Error(te(62))}}function Oc(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Rc=null;function hf(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Mc=null,va=null,_a=null;function ih(e){if(e=gu(e)){if(typeof Mc!="function")throw Error(te(280));var t=e.stateNode;t&&(t=Tl(t),Mc(e.stateNode,e.type,t))}}function g2(e){va?_a?_a.push(e):_a=[e]:va=e}function b2(){if(va){var e=va,t=_a;if(_a=va=null,ih(e),t)for(e=0;e<t.length;e++)ih(t[e])}}function E2(e,t){return e(t)}function y2(){}var l0=!1;function v2(e,t,n){if(l0)return e(t,n);l0=!0;try{return E2(e,t,n)}finally{l0=!1,(va!==null||_a!==null)&&(y2(),b2())}}function qs(e,t){var n=e.stateNode;if(n===null)return null;var r=Tl(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(te(231,t,typeof n));return n}var Lc=!1;if(vr)try{var ns={};Object.defineProperty(ns,"passive",{get:function(){Lc=!0}}),window.addEventListener("test",ns,ns),window.removeEventListener("test",ns,ns)}catch{Lc=!1}function O5(e,t,n,r,i,a,s,u,o){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(d){this.onError(d)}}var xs=!1,Ro=null,Mo=!1,Fc=null,R5={onError:function(e){xs=!0,Ro=e}};function M5(e,t,n,r,i,a,s,u,o){xs=!1,Ro=null,O5.apply(R5,arguments)}function L5(e,t,n,r,i,a,s,u,o){if(M5.apply(this,arguments),xs){if(xs){var l=Ro;xs=!1,Ro=null}else throw Error(te(198));Mo||(Mo=!0,Fc=l)}}function Vi(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function _2(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function ah(e){if(Vi(e)!==e)throw Error(te(188))}function F5(e){var t=e.alternate;if(!t){if(t=Vi(e),t===null)throw Error(te(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var a=i.alternate;if(a===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return ah(i),e;if(a===r)return ah(i),t;a=a.sibling}throw Error(te(188))}if(n.return!==r.return)n=i,r=a;else{for(var s=!1,u=i.child;u;){if(u===n){s=!0,n=i,r=a;break}if(u===r){s=!0,r=i,n=a;break}u=u.sibling}if(!s){for(u=a.child;u;){if(u===n){s=!0,n=a,r=i;break}if(u===r){s=!0,r=a,n=i;break}u=u.sibling}if(!s)throw Error(te(189))}}if(n.alternate!==r)throw Error(te(190))}if(n.tag!==3)throw Error(te(188));return n.stateNode.current===n?e:t}function T2(e){return e=F5(e),e!==null?x2(e):null}function x2(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=x2(e);if(t!==null)return t;e=e.sibling}return null}var A2=mn.unstable_scheduleCallback,sh=mn.unstable_cancelCallback,P5=mn.unstable_shouldYield,B5=mn.unstable_requestPaint,ut=mn.unstable_now,z5=mn.unstable_getCurrentPriorityLevel,mf=mn.unstable_ImmediatePriority,w2=mn.unstable_UserBlockingPriority,Lo=mn.unstable_NormalPriority,U5=mn.unstable_LowPriority,S2=mn.unstable_IdlePriority,El=null,tr=null;function H5(e){if(tr&&typeof tr.onCommitFiberRoot=="function")try{tr.onCommitFiberRoot(El,e,void 0,(e.current.flags&128)===128)}catch{}}var zn=Math.clz32?Math.clz32:G5,$5=Math.log,q5=Math.LN2;function G5(e){return e>>>=0,e===0?32:31-($5(e)/q5|0)|0}var Iu=64,Ou=4194304;function Es(e){switch(e&-e){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: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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Fo(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,a=e.pingedLanes,s=n&268435455;if(s!==0){var u=s&~i;u!==0?r=Es(u):(a&=s,a!==0&&(r=Es(a)))}else s=n&~i,s!==0?r=Es(s):a!==0&&(r=Es(a));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,a=t&-t,i>=a||i===16&&(a&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-zn(t),i=1<<n,r|=e[n],t&=~i;return r}function Y5(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64: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 t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function W5(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes;0<a;){var s=31-zn(a),u=1<<s,o=i[s];o===-1?(!(u&n)||u&r)&&(i[s]=Y5(u,t)):o<=t&&(e.expiredLanes|=u),a&=~u}}function Pc(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function k2(){var e=Iu;return Iu<<=1,!(Iu&4194240)&&(Iu=64),e}function c0(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function mu(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-zn(t),e[t]=n}function V5(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-zn(n),a=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~a}}function pf(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-zn(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var Pe=0;function C2(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var N2,gf,D2,I2,O2,Bc=!1,Ru=[],ei=null,ti=null,ni=null,Gs=new Map,Ys=new Map,Yr=[],j5="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 submit".split(" ");function uh(e,t){switch(e){case"focusin":case"focusout":ei=null;break;case"dragenter":case"dragleave":ti=null;break;case"mouseover":case"mouseout":ni=null;break;case"pointerover":case"pointerout":Gs.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ys.delete(t.pointerId)}}function rs(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=gu(t),t!==null&&gf(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function K5(e,t,n,r,i){switch(t){case"focusin":return ei=rs(ei,e,t,n,r,i),!0;case"dragenter":return ti=rs(ti,e,t,n,r,i),!0;case"mouseover":return ni=rs(ni,e,t,n,r,i),!0;case"pointerover":var a=i.pointerId;return Gs.set(a,rs(Gs.get(a)||null,e,t,n,r,i)),!0;case"gotpointercapture":return a=i.pointerId,Ys.set(a,rs(Ys.get(a)||null,e,t,n,r,i)),!0}return!1}function R2(e){var t=Ii(e.target);if(t!==null){var n=Vi(t);if(n!==null){if(t=n.tag,t===13){if(t=_2(n),t!==null){e.blockedOn=t,O2(e.priority,function(){D2(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function go(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=zc(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Rc=r,n.target.dispatchEvent(r),Rc=null}else return t=gu(n),t!==null&&gf(t),e.blockedOn=n,!1;t.shift()}return!0}function oh(e,t,n){go(e)&&n.delete(t)}function X5(){Bc=!1,ei!==null&&go(ei)&&(ei=null),ti!==null&&go(ti)&&(ti=null),ni!==null&&go(ni)&&(ni=null),Gs.forEach(oh),Ys.forEach(oh)}function is(e,t){e.blockedOn===t&&(e.blockedOn=null,Bc||(Bc=!0,mn.unstable_scheduleCallback(mn.unstable_NormalPriority,X5)))}function Ws(e){function t(i){return is(i,e)}if(0<Ru.length){is(Ru[0],e);for(var n=1;n<Ru.length;n++){var r=Ru[n];r.blockedOn===e&&(r.blockedOn=null)}}for(ei!==null&&is(ei,e),ti!==null&&is(ti,e),ni!==null&&is(ni,e),Gs.forEach(t),Ys.forEach(t),n=0;n<Yr.length;n++)r=Yr[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Yr.length&&(n=Yr[0],n.blockedOn===null);)R2(n),n.blockedOn===null&&Yr.shift()}var Ta=wr.ReactCurrentBatchConfig,Po=!0;function Q5(e,t,n,r){var i=Pe,a=Ta.transition;Ta.transition=null;try{Pe=1,bf(e,t,n,r)}finally{Pe=i,Ta.transition=a}}function Z5(e,t,n,r){var i=Pe,a=Ta.transition;Ta.transition=null;try{Pe=4,bf(e,t,n,r)}finally{Pe=i,Ta.transition=a}}function bf(e,t,n,r){if(Po){var i=zc(e,t,n,r);if(i===null)v0(e,t,r,Bo,n),uh(e,r);else if(K5(i,e,t,n,r))r.stopPropagation();else if(uh(e,r),t&4&&-1<j5.indexOf(e)){for(;i!==null;){var a=gu(i);if(a!==null&&N2(a),a=zc(e,t,n,r),a===null&&v0(e,t,r,Bo,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else v0(e,t,r,null,n)}}var Bo=null;function zc(e,t,n,r){if(Bo=null,e=hf(r),e=Ii(e),e!==null)if(t=Vi(e),t===null)e=null;else if(n=t.tag,n===13){if(e=_2(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Bo=e,null}function M2(e){switch(e){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"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 1;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"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(z5()){case mf:return 1;case w2:return 4;case Lo:case U5:return 16;case S2:return 536870912;default:return 16}default:return 16}}var Vr=null,Ef=null,bo=null;function L2(){if(bo)return bo;var e,t=Ef,n=t.length,r,i="value"in Vr?Vr.value:Vr.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===i[a-r];r++);return bo=i.slice(e,1<r?1-r:void 0)}function Eo(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Mu(){return!0}function lh(){return!1}function bn(e){function t(n,r,i,a,s){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=a,this.target=s,this.currentTarget=null;for(var u in e)e.hasOwnProperty(u)&&(n=e[u],this[u]=n?n(a):a[u]);return this.isDefaultPrevented=(a.defaultPrevented!=null?a.defaultPrevented:a.returnValue===!1)?Mu:lh,this.isPropagationStopped=lh,this}return nt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Mu)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Mu)},persist:function(){},isPersistent:Mu}),t}var Ha={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},yf=bn(Ha),pu=nt({},Ha,{view:0,detail:0}),J5=bn(pu),d0,f0,as,yl=nt({},pu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:vf,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==as&&(as&&e.type==="mousemove"?(d0=e.screenX-as.screenX,f0=e.screenY-as.screenY):f0=d0=0,as=e),d0)},movementY:function(e){return"movementY"in e?e.movementY:f0}}),ch=bn(yl),e8=nt({},yl,{dataTransfer:0}),t8=bn(e8),n8=nt({},pu,{relatedTarget:0}),h0=bn(n8),r8=nt({},Ha,{animationName:0,elapsedTime:0,pseudoElement:0}),i8=bn(r8),a8=nt({},Ha,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),s8=bn(a8),u8=nt({},Ha,{data:0}),dh=bn(u8),o8={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},l8={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"},c8={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function d8(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=c8[e])?!!t[e]:!1}function vf(){return d8}var f8=nt({},pu,{key:function(e){if(e.key){var t=o8[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Eo(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?l8[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:vf,charCode:function(e){return e.type==="keypress"?Eo(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Eo(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),h8=bn(f8),m8=nt({},yl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),fh=bn(m8),p8=nt({},pu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:vf}),g8=bn(p8),b8=nt({},Ha,{propertyName:0,elapsedTime:0,pseudoElement:0}),E8=bn(b8),y8=nt({},yl,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),v8=bn(y8),_8=[9,13,27,32],_f=vr&&"CompositionEvent"in window,As=null;vr&&"documentMode"in document&&(As=document.documentMode);var T8=vr&&"TextEvent"in window&&!As,F2=vr&&(!_f||As&&8<As&&11>=As),hh=" ",mh=!1;function P2(e,t){switch(e){case"keyup":return _8.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function B2(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var oa=!1;function x8(e,t){switch(e){case"compositionend":return B2(t);case"keypress":return t.which!==32?null:(mh=!0,hh);case"textInput":return e=t.data,e===hh&&mh?null:e;default:return null}}function A8(e,t){if(oa)return e==="compositionend"||!_f&&P2(e,t)?(e=L2(),bo=Ef=Vr=null,oa=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return F2&&t.locale!=="ko"?null:t.data;default:return null}}var w8={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 ph(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!w8[e.type]:t==="textarea"}function z2(e,t,n,r){g2(r),t=zo(t,"onChange"),0<t.length&&(n=new yf("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var ws=null,Vs=null;function S8(e){X2(e,0)}function vl(e){var t=da(e);if(l2(t))return e}function k8(e,t){if(e==="change")return t}var U2=!1;if(vr){var m0;if(vr){var p0="oninput"in document;if(!p0){var gh=document.createElement("div");gh.setAttribute("oninput","return;"),p0=typeof gh.oninput=="function"}m0=p0}else m0=!1;U2=m0&&(!document.documentMode||9<document.documentMode)}function bh(){ws&&(ws.detachEvent("onpropertychange",H2),Vs=ws=null)}function H2(e){if(e.propertyName==="value"&&vl(Vs)){var t=[];z2(t,Vs,e,hf(e)),v2(S8,t)}}function C8(e,t,n){e==="focusin"?(bh(),ws=t,Vs=n,ws.attachEvent("onpropertychange",H2)):e==="focusout"&&bh()}function N8(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return vl(Vs)}function D8(e,t){if(e==="click")return vl(t)}function I8(e,t){if(e==="input"||e==="change")return vl(t)}function O8(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var $n=typeof Object.is=="function"?Object.is:O8;function js(e,t){if($n(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!_c.call(t,i)||!$n(e[i],t[i]))return!1}return!0}function Eh(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function yh(e,t){var n=Eh(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Eh(n)}}function $2(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?$2(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function q2(){for(var e=window,t=Oo();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Oo(e.document)}return t}function Tf(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function R8(e){var t=q2(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&$2(n.ownerDocument.documentElement,n)){if(r!==null&&Tf(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,a=Math.min(r.start,i);r=r.end===void 0?a:Math.min(r.end,i),!e.extend&&a>r&&(i=r,r=a,a=i),i=yh(n,a);var s=yh(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var M8=vr&&"documentMode"in document&&11>=document.documentMode,la=null,Uc=null,Ss=null,Hc=!1;function vh(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Hc||la==null||la!==Oo(r)||(r=la,"selectionStart"in r&&Tf(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Ss&&js(Ss,r)||(Ss=r,r=zo(Uc,"onSelect"),0<r.length&&(t=new yf("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=la)))}function Lu(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var ca={animationend:Lu("Animation","AnimationEnd"),animationiteration:Lu("Animation","AnimationIteration"),animationstart:Lu("Animation","AnimationStart"),transitionend:Lu("Transition","TransitionEnd")},g0={},G2={};vr&&(G2=document.createElement("div").style,"AnimationEvent"in window||(delete ca.animationend.animation,delete ca.animationiteration.animation,delete ca.animationstart.animation),"TransitionEvent"in window||delete ca.transitionend.transition);function _l(e){if(g0[e])return g0[e];if(!ca[e])return e;var t=ca[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in G2)return g0[e]=t[n];return e}var Y2=_l("animationend"),W2=_l("animationiteration"),V2=_l("animationstart"),j2=_l("transitionend"),K2=new Map,_h="abort auxClick 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(" ");function mi(e,t){K2.set(e,t),Wi(t,[e])}for(var b0=0;b0<_h.length;b0++){var E0=_h[b0],L8=E0.toLowerCase(),F8=E0[0].toUpperCase()+E0.slice(1);mi(L8,"on"+F8)}mi(Y2,"onAnimationEnd");mi(W2,"onAnimationIteration");mi(V2,"onAnimationStart");mi("dblclick","onDoubleClick");mi("focusin","onFocus");mi("focusout","onBlur");mi(j2,"onTransitionEnd");ka("onMouseEnter",["mouseout","mouseover"]);ka("onMouseLeave",["mouseout","mouseover"]);ka("onPointerEnter",["pointerout","pointerover"]);ka("onPointerLeave",["pointerout","pointerover"]);Wi("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Wi("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Wi("onBeforeInput",["compositionend","keypress","textInput","paste"]);Wi("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Wi("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Wi("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ys="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(" "),P8=new Set("cancel close invalid load scroll toggle".split(" ").concat(ys));function Th(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,L5(r,t,void 0,e),e.currentTarget=null}function X2(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var s=r.length-1;0<=s;s--){var u=r[s],o=u.instance,l=u.currentTarget;if(u=u.listener,o!==a&&i.isPropagationStopped())break e;Th(i,u,l),a=o}else for(s=0;s<r.length;s++){if(u=r[s],o=u.instance,l=u.currentTarget,u=u.listener,o!==a&&i.isPropagationStopped())break e;Th(i,u,l),a=o}}}if(Mo)throw e=Fc,Mo=!1,Fc=null,e}function We(e,t){var n=t[Wc];n===void 0&&(n=t[Wc]=new Set);var r=e+"__bubble";n.has(r)||(Q2(t,e,2,!1),n.add(r))}function y0(e,t,n){var r=0;t&&(r|=4),Q2(n,e,r,t)}var Fu="_reactListening"+Math.random().toString(36).slice(2);function Ks(e){if(!e[Fu]){e[Fu]=!0,i2.forEach(function(n){n!=="selectionchange"&&(P8.has(n)||y0(n,!1,e),y0(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Fu]||(t[Fu]=!0,y0("selectionchange",!1,t))}}function Q2(e,t,n,r){switch(M2(t)){case 1:var i=Q5;break;case 4:i=Z5;break;default:i=bf}n=i.bind(null,t,n,e),i=void 0,!Lc||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function v0(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var u=r.stateNode.containerInfo;if(u===i||u.nodeType===8&&u.parentNode===i)break;if(s===4)for(s=r.return;s!==null;){var o=s.tag;if((o===3||o===4)&&(o=s.stateNode.containerInfo,o===i||o.nodeType===8&&o.parentNode===i))return;s=s.return}for(;u!==null;){if(s=Ii(u),s===null)return;if(o=s.tag,o===5||o===6){r=a=s;continue e}u=u.parentNode}}r=r.return}v2(function(){var l=a,d=hf(n),c=[];e:{var h=K2.get(e);if(h!==void 0){var m=yf,E=e;switch(e){case"keypress":if(Eo(n)===0)break e;case"keydown":case"keyup":m=h8;break;case"focusin":E="focus",m=h0;break;case"focusout":E="blur",m=h0;break;case"beforeblur":case"afterblur":m=h0;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":m=ch;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":m=t8;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":m=g8;break;case Y2:case W2:case V2:m=i8;break;case j2:m=E8;break;case"scroll":m=J5;break;case"wheel":m=v8;break;case"copy":case"cut":case"paste":m=s8;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":m=fh}var v=(t&4)!==0,A=!v&&e==="scroll",b=v?h!==null?h+"Capture":null:h;v=[];for(var y=l,T;y!==null;){T=y;var D=T.stateNode;if(T.tag===5&&D!==null&&(T=D,b!==null&&(D=qs(y,b),D!=null&&v.push(Xs(y,D,T)))),A)break;y=y.return}0<v.length&&(h=new m(h,E,null,n,d),c.push({event:h,listeners:v}))}}if(!(t&7)){e:{if(h=e==="mouseover"||e==="pointerover",m=e==="mouseout"||e==="pointerout",h&&n!==Rc&&(E=n.relatedTarget||n.fromElement)&&(Ii(E)||E[_r]))break e;if((m||h)&&(h=d.window===d?d:(h=d.ownerDocument)?h.defaultView||h.parentWindow:window,m?(E=n.relatedTarget||n.toElement,m=l,E=E?Ii(E):null,E!==null&&(A=Vi(E),E!==A||E.tag!==5&&E.tag!==6)&&(E=null)):(m=null,E=l),m!==E)){if(v=ch,D="onMouseLeave",b="onMouseEnter",y="mouse",(e==="pointerout"||e==="pointerover")&&(v=fh,D="onPointerLeave",b="onPointerEnter",y="pointer"),A=m==null?h:da(m),T=E==null?h:da(E),h=new v(D,y+"leave",m,n,d),h.target=A,h.relatedTarget=T,D=null,Ii(d)===l&&(v=new v(b,y+"enter",E,n,d),v.target=T,v.relatedTarget=A,D=v),A=D,m&&E)t:{for(v=m,b=E,y=0,T=v;T;T=ea(T))y++;for(T=0,D=b;D;D=ea(D))T++;for(;0<y-T;)v=ea(v),y--;for(;0<T-y;)b=ea(b),T--;for(;y--;){if(v===b||b!==null&&v===b.alternate)break t;v=ea(v),b=ea(b)}v=null}else v=null;m!==null&&xh(c,h,m,v,!1),E!==null&&A!==null&&xh(c,A,E,v,!0)}}e:{if(h=l?da(l):window,m=h.nodeName&&h.nodeName.toLowerCase(),m==="select"||m==="input"&&h.type==="file")var F=k8;else if(ph(h))if(U2)F=I8;else{F=N8;var C=C8}else(m=h.nodeName)&&m.toLowerCase()==="input"&&(h.type==="checkbox"||h.type==="radio")&&(F=D8);if(F&&(F=F(e,l))){z2(c,F,n,d);break e}C&&C(e,h,l),e==="focusout"&&(C=h._wrapperState)&&C.controlled&&h.type==="number"&&Cc(h,"number",h.value)}switch(C=l?da(l):window,e){case"focusin":(ph(C)||C.contentEditable==="true")&&(la=C,Uc=l,Ss=null);break;case"focusout":Ss=Uc=la=null;break;case"mousedown":Hc=!0;break;case"contextmenu":case"mouseup":case"dragend":Hc=!1,vh(c,n,d);break;case"selectionchange":if(M8)break;case"keydown":case"keyup":vh(c,n,d)}var B;if(_f)e:{switch(e){case"compositionstart":var H="onCompositionStart";break e;case"compositionend":H="onCompositionEnd";break e;case"compositionupdate":H="onCompositionUpdate";break e}H=void 0}else oa?P2(e,n)&&(H="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(H="onCompositionStart");H&&(F2&&n.locale!=="ko"&&(oa||H!=="onCompositionStart"?H==="onCompositionEnd"&&oa&&(B=L2()):(Vr=d,Ef="value"in Vr?Vr.value:Vr.textContent,oa=!0)),C=zo(l,H),0<C.length&&(H=new dh(H,e,null,n,d),c.push({event:H,listeners:C}),B?H.data=B:(B=B2(n),B!==null&&(H.data=B)))),(B=T8?x8(e,n):A8(e,n))&&(l=zo(l,"onBeforeInput"),0<l.length&&(d=new dh("onBeforeInput","beforeinput",null,n,d),c.push({event:d,listeners:l}),d.data=B))}X2(c,t)})}function Xs(e,t,n){return{instance:e,listener:t,currentTarget:n}}function zo(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,a=i.stateNode;i.tag===5&&a!==null&&(i=a,a=qs(e,n),a!=null&&r.unshift(Xs(e,a,i)),a=qs(e,t),a!=null&&r.push(Xs(e,a,i))),e=e.return}return r}function ea(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function xh(e,t,n,r,i){for(var a=t._reactName,s=[];n!==null&&n!==r;){var u=n,o=u.alternate,l=u.stateNode;if(o!==null&&o===r)break;u.tag===5&&l!==null&&(u=l,i?(o=qs(n,a),o!=null&&s.unshift(Xs(n,o,u))):i||(o=qs(n,a),o!=null&&s.push(Xs(n,o,u)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var B8=/\r\n?/g,z8=/\u0000|\uFFFD/g;function Ah(e){return(typeof e=="string"?e:""+e).replace(B8,`
|
|
38
|
+
`).replace(z8,"")}function Pu(e,t,n){if(t=Ah(t),Ah(e)!==t&&n)throw Error(te(425))}function Uo(){}var $c=null,qc=null;function Gc(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Yc=typeof setTimeout=="function"?setTimeout:void 0,U8=typeof clearTimeout=="function"?clearTimeout:void 0,wh=typeof Promise=="function"?Promise:void 0,H8=typeof queueMicrotask=="function"?queueMicrotask:typeof wh<"u"?function(e){return wh.resolve(null).then(e).catch($8)}:Yc;function $8(e){setTimeout(function(){throw e})}function _0(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),Ws(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);Ws(t)}function ri(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Sh(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var $a=Math.random().toString(36).slice(2),Zn="__reactFiber$"+$a,Qs="__reactProps$"+$a,_r="__reactContainer$"+$a,Wc="__reactEvents$"+$a,q8="__reactListeners$"+$a,G8="__reactHandles$"+$a;function Ii(e){var t=e[Zn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[_r]||n[Zn]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Sh(e);e!==null;){if(n=e[Zn])return n;e=Sh(e)}return t}e=n,n=e.parentNode}return null}function gu(e){return e=e[Zn]||e[_r],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function da(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(te(33))}function Tl(e){return e[Qs]||null}var Vc=[],fa=-1;function pi(e){return{current:e}}function Ve(e){0>fa||(e.current=Vc[fa],Vc[fa]=null,fa--)}function qe(e,t){fa++,Vc[fa]=e.current,e.current=t}var li={},Rt=pi(li),Zt=pi(!1),zi=li;function Ca(e,t){var n=e.type.contextTypes;if(!n)return li;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},a;for(a in n)i[a]=t[a];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Jt(e){return e=e.childContextTypes,e!=null}function Ho(){Ve(Zt),Ve(Rt)}function kh(e,t,n){if(Rt.current!==li)throw Error(te(168));qe(Rt,t),qe(Zt,n)}function Z2(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(te(108,C5(e)||"Unknown",i));return nt({},n,r)}function $o(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||li,zi=Rt.current,qe(Rt,e),qe(Zt,Zt.current),!0}function Ch(e,t,n){var r=e.stateNode;if(!r)throw Error(te(169));n?(e=Z2(e,t,zi),r.__reactInternalMemoizedMergedChildContext=e,Ve(Zt),Ve(Rt),qe(Rt,e)):Ve(Zt),qe(Zt,n)}var hr=null,xl=!1,T0=!1;function J2(e){hr===null?hr=[e]:hr.push(e)}function Y8(e){xl=!0,J2(e)}function gi(){if(!T0&&hr!==null){T0=!0;var e=0,t=Pe;try{var n=hr;for(Pe=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}hr=null,xl=!1}catch(i){throw hr!==null&&(hr=hr.slice(e+1)),A2(mf,gi),i}finally{Pe=t,T0=!1}}return null}var ha=[],ma=0,qo=null,Go=0,vn=[],_n=0,Ui=null,gr=1,br="";function wi(e,t){ha[ma++]=Go,ha[ma++]=qo,qo=e,Go=t}function e4(e,t,n){vn[_n++]=gr,vn[_n++]=br,vn[_n++]=Ui,Ui=e;var r=gr;e=br;var i=32-zn(r)-1;r&=~(1<<i),n+=1;var a=32-zn(t)+i;if(30<a){var s=i-i%5;a=(r&(1<<s)-1).toString(32),r>>=s,i-=s,gr=1<<32-zn(t)+i|n<<i|r,br=a+e}else gr=1<<a|n<<i|r,br=e}function xf(e){e.return!==null&&(wi(e,1),e4(e,1,0))}function Af(e){for(;e===qo;)qo=ha[--ma],ha[ma]=null,Go=ha[--ma],ha[ma]=null;for(;e===Ui;)Ui=vn[--_n],vn[_n]=null,br=vn[--_n],vn[_n]=null,gr=vn[--_n],vn[_n]=null}var dn=null,cn=null,Ke=!1,Bn=null;function t4(e,t){var n=An(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Nh(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,dn=e,cn=ri(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,dn=e,cn=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Ui!==null?{id:gr,overflow:br}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=An(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,dn=e,cn=null,!0):!1;default:return!1}}function jc(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Kc(e){if(Ke){var t=cn;if(t){var n=t;if(!Nh(e,t)){if(jc(e))throw Error(te(418));t=ri(n.nextSibling);var r=dn;t&&Nh(e,t)?t4(r,n):(e.flags=e.flags&-4097|2,Ke=!1,dn=e)}}else{if(jc(e))throw Error(te(418));e.flags=e.flags&-4097|2,Ke=!1,dn=e}}}function Dh(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;dn=e}function Bu(e){if(e!==dn)return!1;if(!Ke)return Dh(e),Ke=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Gc(e.type,e.memoizedProps)),t&&(t=cn)){if(jc(e))throw n4(),Error(te(418));for(;t;)t4(e,t),t=ri(t.nextSibling)}if(Dh(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(te(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){cn=ri(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}cn=null}}else cn=dn?ri(e.stateNode.nextSibling):null;return!0}function n4(){for(var e=cn;e;)e=ri(e.nextSibling)}function Na(){cn=dn=null,Ke=!1}function wf(e){Bn===null?Bn=[e]:Bn.push(e)}var W8=wr.ReactCurrentBatchConfig;function ss(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(te(309));var r=n.stateNode}if(!r)throw Error(te(147,e));var i=r,a=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===a?t.ref:(t=function(s){var u=i.refs;s===null?delete u[a]:u[a]=s},t._stringRef=a,t)}if(typeof e!="string")throw Error(te(284));if(!n._owner)throw Error(te(290,e))}return e}function zu(e,t){throw e=Object.prototype.toString.call(t),Error(te(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Ih(e){var t=e._init;return t(e._payload)}function r4(e){function t(b,y){if(e){var T=b.deletions;T===null?(b.deletions=[y],b.flags|=16):T.push(y)}}function n(b,y){if(!e)return null;for(;y!==null;)t(b,y),y=y.sibling;return null}function r(b,y){for(b=new Map;y!==null;)y.key!==null?b.set(y.key,y):b.set(y.index,y),y=y.sibling;return b}function i(b,y){return b=ui(b,y),b.index=0,b.sibling=null,b}function a(b,y,T){return b.index=T,e?(T=b.alternate,T!==null?(T=T.index,T<y?(b.flags|=2,y):T):(b.flags|=2,y)):(b.flags|=1048576,y)}function s(b){return e&&b.alternate===null&&(b.flags|=2),b}function u(b,y,T,D){return y===null||y.tag!==6?(y=N0(T,b.mode,D),y.return=b,y):(y=i(y,T),y.return=b,y)}function o(b,y,T,D){var F=T.type;return F===ua?d(b,y,T.props.children,D,T.key):y!==null&&(y.elementType===F||typeof F=="object"&&F!==null&&F.$$typeof===qr&&Ih(F)===y.type)?(D=i(y,T.props),D.ref=ss(b,y,T),D.return=b,D):(D=wo(T.type,T.key,T.props,null,b.mode,D),D.ref=ss(b,y,T),D.return=b,D)}function l(b,y,T,D){return y===null||y.tag!==4||y.stateNode.containerInfo!==T.containerInfo||y.stateNode.implementation!==T.implementation?(y=D0(T,b.mode,D),y.return=b,y):(y=i(y,T.children||[]),y.return=b,y)}function d(b,y,T,D,F){return y===null||y.tag!==7?(y=Li(T,b.mode,D,F),y.return=b,y):(y=i(y,T),y.return=b,y)}function c(b,y,T){if(typeof y=="string"&&y!==""||typeof y=="number")return y=N0(""+y,b.mode,T),y.return=b,y;if(typeof y=="object"&&y!==null){switch(y.$$typeof){case Cu:return T=wo(y.type,y.key,y.props,null,b.mode,T),T.ref=ss(b,null,y),T.return=b,T;case sa:return y=D0(y,b.mode,T),y.return=b,y;case qr:var D=y._init;return c(b,D(y._payload),T)}if(bs(y)||ts(y))return y=Li(y,b.mode,T,null),y.return=b,y;zu(b,y)}return null}function h(b,y,T,D){var F=y!==null?y.key:null;if(typeof T=="string"&&T!==""||typeof T=="number")return F!==null?null:u(b,y,""+T,D);if(typeof T=="object"&&T!==null){switch(T.$$typeof){case Cu:return T.key===F?o(b,y,T,D):null;case sa:return T.key===F?l(b,y,T,D):null;case qr:return F=T._init,h(b,y,F(T._payload),D)}if(bs(T)||ts(T))return F!==null?null:d(b,y,T,D,null);zu(b,T)}return null}function m(b,y,T,D,F){if(typeof D=="string"&&D!==""||typeof D=="number")return b=b.get(T)||null,u(y,b,""+D,F);if(typeof D=="object"&&D!==null){switch(D.$$typeof){case Cu:return b=b.get(D.key===null?T:D.key)||null,o(y,b,D,F);case sa:return b=b.get(D.key===null?T:D.key)||null,l(y,b,D,F);case qr:var C=D._init;return m(b,y,T,C(D._payload),F)}if(bs(D)||ts(D))return b=b.get(T)||null,d(y,b,D,F,null);zu(y,D)}return null}function E(b,y,T,D){for(var F=null,C=null,B=y,H=y=0,W=null;B!==null&&H<T.length;H++){B.index>H?(W=B,B=null):W=B.sibling;var M=h(b,B,T[H],D);if(M===null){B===null&&(B=W);break}e&&B&&M.alternate===null&&t(b,B),y=a(M,y,H),C===null?F=M:C.sibling=M,C=M,B=W}if(H===T.length)return n(b,B),Ke&&wi(b,H),F;if(B===null){for(;H<T.length;H++)B=c(b,T[H],D),B!==null&&(y=a(B,y,H),C===null?F=B:C.sibling=B,C=B);return Ke&&wi(b,H),F}for(B=r(b,B);H<T.length;H++)W=m(B,b,H,T[H],D),W!==null&&(e&&W.alternate!==null&&B.delete(W.key===null?H:W.key),y=a(W,y,H),C===null?F=W:C.sibling=W,C=W);return e&&B.forEach(function(Z){return t(b,Z)}),Ke&&wi(b,H),F}function v(b,y,T,D){var F=ts(T);if(typeof F!="function")throw Error(te(150));if(T=F.call(T),T==null)throw Error(te(151));for(var C=F=null,B=y,H=y=0,W=null,M=T.next();B!==null&&!M.done;H++,M=T.next()){B.index>H?(W=B,B=null):W=B.sibling;var Z=h(b,B,M.value,D);if(Z===null){B===null&&(B=W);break}e&&B&&Z.alternate===null&&t(b,B),y=a(Z,y,H),C===null?F=Z:C.sibling=Z,C=Z,B=W}if(M.done)return n(b,B),Ke&&wi(b,H),F;if(B===null){for(;!M.done;H++,M=T.next())M=c(b,M.value,D),M!==null&&(y=a(M,y,H),C===null?F=M:C.sibling=M,C=M);return Ke&&wi(b,H),F}for(B=r(b,B);!M.done;H++,M=T.next())M=m(B,b,H,M.value,D),M!==null&&(e&&M.alternate!==null&&B.delete(M.key===null?H:M.key),y=a(M,y,H),C===null?F=M:C.sibling=M,C=M);return e&&B.forEach(function(V){return t(b,V)}),Ke&&wi(b,H),F}function A(b,y,T,D){if(typeof T=="object"&&T!==null&&T.type===ua&&T.key===null&&(T=T.props.children),typeof T=="object"&&T!==null){switch(T.$$typeof){case Cu:e:{for(var F=T.key,C=y;C!==null;){if(C.key===F){if(F=T.type,F===ua){if(C.tag===7){n(b,C.sibling),y=i(C,T.props.children),y.return=b,b=y;break e}}else if(C.elementType===F||typeof F=="object"&&F!==null&&F.$$typeof===qr&&Ih(F)===C.type){n(b,C.sibling),y=i(C,T.props),y.ref=ss(b,C,T),y.return=b,b=y;break e}n(b,C);break}else t(b,C);C=C.sibling}T.type===ua?(y=Li(T.props.children,b.mode,D,T.key),y.return=b,b=y):(D=wo(T.type,T.key,T.props,null,b.mode,D),D.ref=ss(b,y,T),D.return=b,b=D)}return s(b);case sa:e:{for(C=T.key;y!==null;){if(y.key===C)if(y.tag===4&&y.stateNode.containerInfo===T.containerInfo&&y.stateNode.implementation===T.implementation){n(b,y.sibling),y=i(y,T.children||[]),y.return=b,b=y;break e}else{n(b,y);break}else t(b,y);y=y.sibling}y=D0(T,b.mode,D),y.return=b,b=y}return s(b);case qr:return C=T._init,A(b,y,C(T._payload),D)}if(bs(T))return E(b,y,T,D);if(ts(T))return v(b,y,T,D);zu(b,T)}return typeof T=="string"&&T!==""||typeof T=="number"?(T=""+T,y!==null&&y.tag===6?(n(b,y.sibling),y=i(y,T),y.return=b,b=y):(n(b,y),y=N0(T,b.mode,D),y.return=b,b=y),s(b)):n(b,y)}return A}var Da=r4(!0),i4=r4(!1),Yo=pi(null),Wo=null,pa=null,Sf=null;function kf(){Sf=pa=Wo=null}function Cf(e){var t=Yo.current;Ve(Yo),e._currentValue=t}function Xc(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function xa(e,t){Wo=e,Sf=pa=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Qt=!0),e.firstContext=null)}function Cn(e){var t=e._currentValue;if(Sf!==e)if(e={context:e,memoizedValue:t,next:null},pa===null){if(Wo===null)throw Error(te(308));pa=e,Wo.dependencies={lanes:0,firstContext:e}}else pa=pa.next=e;return t}var Oi=null;function Nf(e){Oi===null?Oi=[e]:Oi.push(e)}function a4(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Nf(t)):(n.next=i.next,i.next=n),t.interleaved=n,Tr(e,r)}function Tr(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Gr=!1;function Df(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function s4(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Er(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ii(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Re&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Tr(e,n)}return i=r.interleaved,i===null?(t.next=t,Nf(r)):(t.next=i.next,i.next=t),r.interleaved=t,Tr(e,n)}function yo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,pf(e,n)}}function Oh(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};a===null?i=a=s:a=a.next=s,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Vo(e,t,n,r){var i=e.updateQueue;Gr=!1;var a=i.firstBaseUpdate,s=i.lastBaseUpdate,u=i.shared.pending;if(u!==null){i.shared.pending=null;var o=u,l=o.next;o.next=null,s===null?a=l:s.next=l,s=o;var d=e.alternate;d!==null&&(d=d.updateQueue,u=d.lastBaseUpdate,u!==s&&(u===null?d.firstBaseUpdate=l:u.next=l,d.lastBaseUpdate=o))}if(a!==null){var c=i.baseState;s=0,d=l=o=null,u=a;do{var h=u.lane,m=u.eventTime;if((r&h)===h){d!==null&&(d=d.next={eventTime:m,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var E=e,v=u;switch(h=t,m=n,v.tag){case 1:if(E=v.payload,typeof E=="function"){c=E.call(m,c,h);break e}c=E;break e;case 3:E.flags=E.flags&-65537|128;case 0:if(E=v.payload,h=typeof E=="function"?E.call(m,c,h):E,h==null)break e;c=nt({},c,h);break e;case 2:Gr=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,h=i.effects,h===null?i.effects=[u]:h.push(u))}else m={eventTime:m,lane:h,tag:u.tag,payload:u.payload,callback:u.callback,next:null},d===null?(l=d=m,o=c):d=d.next=m,s|=h;if(u=u.next,u===null){if(u=i.shared.pending,u===null)break;h=u,u=h.next,h.next=null,i.lastBaseUpdate=h,i.shared.pending=null}}while(!0);if(d===null&&(o=c),i.baseState=o,i.firstBaseUpdate=l,i.lastBaseUpdate=d,t=i.shared.interleaved,t!==null){i=t;do s|=i.lane,i=i.next;while(i!==t)}else a===null&&(i.shared.lanes=0);$i|=s,e.lanes=s,e.memoizedState=c}}function Rh(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(te(191,i));i.call(r)}}}var bu={},nr=pi(bu),Zs=pi(bu),Js=pi(bu);function Ri(e){if(e===bu)throw Error(te(174));return e}function If(e,t){switch(qe(Js,t),qe(Zs,e),qe(nr,bu),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Dc(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Dc(t,e)}Ve(nr),qe(nr,t)}function Ia(){Ve(nr),Ve(Zs),Ve(Js)}function u4(e){Ri(Js.current);var t=Ri(nr.current),n=Dc(t,e.type);t!==n&&(qe(Zs,e),qe(nr,n))}function Of(e){Zs.current===e&&(Ve(nr),Ve(Zs))}var Je=pi(0);function jo(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var x0=[];function Rf(){for(var e=0;e<x0.length;e++)x0[e]._workInProgressVersionPrimary=null;x0.length=0}var vo=wr.ReactCurrentDispatcher,A0=wr.ReactCurrentBatchConfig,Hi=0,tt=null,pt=null,yt=null,Ko=!1,ks=!1,eu=0,V8=0;function Ct(){throw Error(te(321))}function Mf(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!$n(e[n],t[n]))return!1;return!0}function Lf(e,t,n,r,i,a){if(Hi=a,tt=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,vo.current=e===null||e.memoizedState===null?Q8:Z8,e=n(r,i),ks){a=0;do{if(ks=!1,eu=0,25<=a)throw Error(te(301));a+=1,yt=pt=null,t.updateQueue=null,vo.current=J8,e=n(r,i)}while(ks)}if(vo.current=Xo,t=pt!==null&&pt.next!==null,Hi=0,yt=pt=tt=null,Ko=!1,t)throw Error(te(300));return e}function Ff(){var e=eu!==0;return eu=0,e}function jn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return yt===null?tt.memoizedState=yt=e:yt=yt.next=e,yt}function Nn(){if(pt===null){var e=tt.alternate;e=e!==null?e.memoizedState:null}else e=pt.next;var t=yt===null?tt.memoizedState:yt.next;if(t!==null)yt=t,pt=e;else{if(e===null)throw Error(te(310));pt=e,e={memoizedState:pt.memoizedState,baseState:pt.baseState,baseQueue:pt.baseQueue,queue:pt.queue,next:null},yt===null?tt.memoizedState=yt=e:yt=yt.next=e}return yt}function tu(e,t){return typeof t=="function"?t(e):t}function w0(e){var t=Nn(),n=t.queue;if(n===null)throw Error(te(311));n.lastRenderedReducer=e;var r=pt,i=r.baseQueue,a=n.pending;if(a!==null){if(i!==null){var s=i.next;i.next=a.next,a.next=s}r.baseQueue=i=a,n.pending=null}if(i!==null){a=i.next,r=r.baseState;var u=s=null,o=null,l=a;do{var d=l.lane;if((Hi&d)===d)o!==null&&(o=o.next={lane:0,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null}),r=l.hasEagerState?l.eagerState:e(r,l.action);else{var c={lane:d,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null};o===null?(u=o=c,s=r):o=o.next=c,tt.lanes|=d,$i|=d}l=l.next}while(l!==null&&l!==a);o===null?s=r:o.next=u,$n(r,t.memoizedState)||(Qt=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=o,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do a=i.lane,tt.lanes|=a,$i|=a,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function S0(e){var t=Nn(),n=t.queue;if(n===null)throw Error(te(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,a=t.memoizedState;if(i!==null){n.pending=null;var s=i=i.next;do a=e(a,s.action),s=s.next;while(s!==i);$n(a,t.memoizedState)||(Qt=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function o4(){}function l4(e,t){var n=tt,r=Nn(),i=t(),a=!$n(r.memoizedState,i);if(a&&(r.memoizedState=i,Qt=!0),r=r.queue,Pf(f4.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||yt!==null&&yt.memoizedState.tag&1){if(n.flags|=2048,nu(9,d4.bind(null,n,r,i,t),void 0,null),_t===null)throw Error(te(349));Hi&30||c4(n,t,i)}return i}function c4(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=tt.updateQueue,t===null?(t={lastEffect:null,stores:null},tt.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function d4(e,t,n,r){t.value=n,t.getSnapshot=r,h4(t)&&m4(e)}function f4(e,t,n){return n(function(){h4(t)&&m4(e)})}function h4(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!$n(e,n)}catch{return!0}}function m4(e){var t=Tr(e,1);t!==null&&Un(t,e,1,-1)}function Mh(e){var t=jn();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:tu,lastRenderedState:e},t.queue=e,e=e.dispatch=X8.bind(null,tt,e),[t.memoizedState,e]}function nu(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=tt.updateQueue,t===null?(t={lastEffect:null,stores:null},tt.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function p4(){return Nn().memoizedState}function _o(e,t,n,r){var i=jn();tt.flags|=e,i.memoizedState=nu(1|t,n,void 0,r===void 0?null:r)}function Al(e,t,n,r){var i=Nn();r=r===void 0?null:r;var a=void 0;if(pt!==null){var s=pt.memoizedState;if(a=s.destroy,r!==null&&Mf(r,s.deps)){i.memoizedState=nu(t,n,a,r);return}}tt.flags|=e,i.memoizedState=nu(1|t,n,a,r)}function Lh(e,t){return _o(8390656,8,e,t)}function Pf(e,t){return Al(2048,8,e,t)}function g4(e,t){return Al(4,2,e,t)}function b4(e,t){return Al(4,4,e,t)}function E4(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function y4(e,t,n){return n=n!=null?n.concat([e]):null,Al(4,4,E4.bind(null,t,e),n)}function Bf(){}function v4(e,t){var n=Nn();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Mf(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function _4(e,t){var n=Nn();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Mf(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function T4(e,t,n){return Hi&21?($n(n,t)||(n=k2(),tt.lanes|=n,$i|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Qt=!0),e.memoizedState=n)}function j8(e,t){var n=Pe;Pe=n!==0&&4>n?n:4,e(!0);var r=A0.transition;A0.transition={};try{e(!1),t()}finally{Pe=n,A0.transition=r}}function x4(){return Nn().memoizedState}function K8(e,t,n){var r=si(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},A4(e))w4(t,n);else if(n=a4(e,t,n,r),n!==null){var i=$t();Un(n,e,r,i),S4(n,t,r)}}function X8(e,t,n){var r=si(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(A4(e))w4(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var s=t.lastRenderedState,u=a(s,n);if(i.hasEagerState=!0,i.eagerState=u,$n(u,s)){var o=t.interleaved;o===null?(i.next=i,Nf(t)):(i.next=o.next,o.next=i),t.interleaved=i;return}}catch{}finally{}n=a4(e,t,i,r),n!==null&&(i=$t(),Un(n,e,r,i),S4(n,t,r))}}function A4(e){var t=e.alternate;return e===tt||t!==null&&t===tt}function w4(e,t){ks=Ko=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function S4(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,pf(e,n)}}var Xo={readContext:Cn,useCallback:Ct,useContext:Ct,useEffect:Ct,useImperativeHandle:Ct,useInsertionEffect:Ct,useLayoutEffect:Ct,useMemo:Ct,useReducer:Ct,useRef:Ct,useState:Ct,useDebugValue:Ct,useDeferredValue:Ct,useTransition:Ct,useMutableSource:Ct,useSyncExternalStore:Ct,useId:Ct,unstable_isNewReconciler:!1},Q8={readContext:Cn,useCallback:function(e,t){return jn().memoizedState=[e,t===void 0?null:t],e},useContext:Cn,useEffect:Lh,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,_o(4194308,4,E4.bind(null,t,e),n)},useLayoutEffect:function(e,t){return _o(4194308,4,e,t)},useInsertionEffect:function(e,t){return _o(4,2,e,t)},useMemo:function(e,t){var n=jn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=jn();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=K8.bind(null,tt,e),[r.memoizedState,e]},useRef:function(e){var t=jn();return e={current:e},t.memoizedState=e},useState:Mh,useDebugValue:Bf,useDeferredValue:function(e){return jn().memoizedState=e},useTransition:function(){var e=Mh(!1),t=e[0];return e=j8.bind(null,e[1]),jn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=tt,i=jn();if(Ke){if(n===void 0)throw Error(te(407));n=n()}else{if(n=t(),_t===null)throw Error(te(349));Hi&30||c4(r,t,n)}i.memoizedState=n;var a={value:n,getSnapshot:t};return i.queue=a,Lh(f4.bind(null,r,a,e),[e]),r.flags|=2048,nu(9,d4.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=jn(),t=_t.identifierPrefix;if(Ke){var n=br,r=gr;n=(r&~(1<<32-zn(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=eu++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=V8++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Z8={readContext:Cn,useCallback:v4,useContext:Cn,useEffect:Pf,useImperativeHandle:y4,useInsertionEffect:g4,useLayoutEffect:b4,useMemo:_4,useReducer:w0,useRef:p4,useState:function(){return w0(tu)},useDebugValue:Bf,useDeferredValue:function(e){var t=Nn();return T4(t,pt.memoizedState,e)},useTransition:function(){var e=w0(tu)[0],t=Nn().memoizedState;return[e,t]},useMutableSource:o4,useSyncExternalStore:l4,useId:x4,unstable_isNewReconciler:!1},J8={readContext:Cn,useCallback:v4,useContext:Cn,useEffect:Pf,useImperativeHandle:y4,useInsertionEffect:g4,useLayoutEffect:b4,useMemo:_4,useReducer:S0,useRef:p4,useState:function(){return S0(tu)},useDebugValue:Bf,useDeferredValue:function(e){var t=Nn();return pt===null?t.memoizedState=e:T4(t,pt.memoizedState,e)},useTransition:function(){var e=S0(tu)[0],t=Nn().memoizedState;return[e,t]},useMutableSource:o4,useSyncExternalStore:l4,useId:x4,unstable_isNewReconciler:!1};function Fn(e,t){if(e&&e.defaultProps){t=nt({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Qc(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:nt({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var wl={isMounted:function(e){return(e=e._reactInternals)?Vi(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=$t(),i=si(e),a=Er(r,i);a.payload=t,n!=null&&(a.callback=n),t=ii(e,a,i),t!==null&&(Un(t,e,i,r),yo(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=$t(),i=si(e),a=Er(r,i);a.tag=1,a.payload=t,n!=null&&(a.callback=n),t=ii(e,a,i),t!==null&&(Un(t,e,i,r),yo(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=$t(),r=si(e),i=Er(n,r);i.tag=2,t!=null&&(i.callback=t),t=ii(e,i,r),t!==null&&(Un(t,e,r,n),yo(t,e,r))}};function Fh(e,t,n,r,i,a,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,a,s):t.prototype&&t.prototype.isPureReactComponent?!js(n,r)||!js(i,a):!0}function k4(e,t,n){var r=!1,i=li,a=t.contextType;return typeof a=="object"&&a!==null?a=Cn(a):(i=Jt(t)?zi:Rt.current,r=t.contextTypes,a=(r=r!=null)?Ca(e,i):li),t=new t(n,a),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=wl,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=a),t}function Ph(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&wl.enqueueReplaceState(t,t.state,null)}function Zc(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},Df(e);var a=t.contextType;typeof a=="object"&&a!==null?i.context=Cn(a):(a=Jt(t)?zi:Rt.current,i.context=Ca(e,a)),i.state=e.memoizedState,a=t.getDerivedStateFromProps,typeof a=="function"&&(Qc(e,t,a,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&wl.enqueueReplaceState(i,i.state,null),Vo(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function Oa(e,t){try{var n="",r=t;do n+=k5(r),r=r.return;while(r);var i=n}catch(a){i=`
|
|
39
|
+
Error generating stack: `+a.message+`
|
|
40
|
+
`+a.stack}return{value:e,source:t,stack:i,digest:null}}function k0(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Jc(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var e7=typeof WeakMap=="function"?WeakMap:Map;function C4(e,t,n){n=Er(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Zo||(Zo=!0,ld=r),Jc(e,t)},n}function N4(e,t,n){n=Er(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Jc(e,t)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(n.callback=function(){Jc(e,t),typeof r!="function"&&(ai===null?ai=new Set([this]):ai.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function Bh(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new e7;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=m7.bind(null,e,t,n),t.then(e,e))}function zh(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Uh(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Er(-1,1),t.tag=2,ii(n,t,1))),n.lanes|=1),e)}var t7=wr.ReactCurrentOwner,Qt=!1;function Bt(e,t,n,r){t.child=e===null?i4(t,null,n,r):Da(t,e.child,n,r)}function Hh(e,t,n,r,i){n=n.render;var a=t.ref;return xa(t,i),r=Lf(e,t,n,r,a,i),n=Ff(),e!==null&&!Qt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,xr(e,t,i)):(Ke&&n&&xf(t),t.flags|=1,Bt(e,t,r,i),t.child)}function $h(e,t,n,r,i){if(e===null){var a=n.type;return typeof a=="function"&&!Wf(a)&&a.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=a,D4(e,t,a,r,i)):(e=wo(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!(e.lanes&i)){var s=a.memoizedProps;if(n=n.compare,n=n!==null?n:js,n(s,r)&&e.ref===t.ref)return xr(e,t,i)}return t.flags|=1,e=ui(a,r),e.ref=t.ref,e.return=t,t.child=e}function D4(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(js(a,r)&&e.ref===t.ref)if(Qt=!1,t.pendingProps=r=a,(e.lanes&i)!==0)e.flags&131072&&(Qt=!0);else return t.lanes=e.lanes,xr(e,t,i)}return ed(e,t,n,r,i)}function I4(e,t,n){var r=t.pendingProps,i=r.children,a=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},qe(ba,ln),ln|=n;else{if(!(n&1073741824))return e=a!==null?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,qe(ba,ln),ln|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=a!==null?a.baseLanes:n,qe(ba,ln),ln|=r}else a!==null?(r=a.baseLanes|n,t.memoizedState=null):r=n,qe(ba,ln),ln|=r;return Bt(e,t,i,n),t.child}function O4(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function ed(e,t,n,r,i){var a=Jt(n)?zi:Rt.current;return a=Ca(t,a),xa(t,i),n=Lf(e,t,n,r,a,i),r=Ff(),e!==null&&!Qt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,xr(e,t,i)):(Ke&&r&&xf(t),t.flags|=1,Bt(e,t,n,i),t.child)}function qh(e,t,n,r,i){if(Jt(n)){var a=!0;$o(t)}else a=!1;if(xa(t,i),t.stateNode===null)To(e,t),k4(t,n,r),Zc(t,n,r,i),r=!0;else if(e===null){var s=t.stateNode,u=t.memoizedProps;s.props=u;var o=s.context,l=n.contextType;typeof l=="object"&&l!==null?l=Cn(l):(l=Jt(n)?zi:Rt.current,l=Ca(t,l));var d=n.getDerivedStateFromProps,c=typeof d=="function"||typeof s.getSnapshotBeforeUpdate=="function";c||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(u!==r||o!==l)&&Ph(t,s,r,l),Gr=!1;var h=t.memoizedState;s.state=h,Vo(t,r,s,i),o=t.memoizedState,u!==r||h!==o||Zt.current||Gr?(typeof d=="function"&&(Qc(t,n,d,r),o=t.memoizedState),(u=Gr||Fh(t,n,u,r,h,o,l))?(c||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=o),s.props=r,s.state=o,s.context=l,r=u):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,s4(e,t),u=t.memoizedProps,l=t.type===t.elementType?u:Fn(t.type,u),s.props=l,c=t.pendingProps,h=s.context,o=n.contextType,typeof o=="object"&&o!==null?o=Cn(o):(o=Jt(n)?zi:Rt.current,o=Ca(t,o));var m=n.getDerivedStateFromProps;(d=typeof m=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(u!==c||h!==o)&&Ph(t,s,r,o),Gr=!1,h=t.memoizedState,s.state=h,Vo(t,r,s,i);var E=t.memoizedState;u!==c||h!==E||Zt.current||Gr?(typeof m=="function"&&(Qc(t,n,m,r),E=t.memoizedState),(l=Gr||Fh(t,n,l,r,h,E,o)||!1)?(d||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,E,o),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,E,o)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||u===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=E),s.props=r,s.state=E,s.context=o,r=l):(typeof s.componentDidUpdate!="function"||u===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return td(e,t,n,r,a,i)}function td(e,t,n,r,i,a){O4(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return i&&Ch(t,n,!1),xr(e,t,a);r=t.stateNode,t7.current=t;var u=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=Da(t,e.child,null,a),t.child=Da(t,null,u,a)):Bt(e,t,u,a),t.memoizedState=r.state,i&&Ch(t,n,!0),t.child}function R4(e){var t=e.stateNode;t.pendingContext?kh(e,t.pendingContext,t.pendingContext!==t.context):t.context&&kh(e,t.context,!1),If(e,t.containerInfo)}function Gh(e,t,n,r,i){return Na(),wf(i),t.flags|=256,Bt(e,t,n,r),t.child}var nd={dehydrated:null,treeContext:null,retryLane:0};function rd(e){return{baseLanes:e,cachePool:null,transitions:null}}function M4(e,t,n){var r=t.pendingProps,i=Je.current,a=!1,s=(t.flags&128)!==0,u;if((u=s)||(u=e!==null&&e.memoizedState===null?!1:(i&2)!==0),u?(a=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),qe(Je,i&1),e===null)return Kc(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=r.children,e=r.fallback,a?(r=t.mode,a=t.child,s={mode:"hidden",children:s},!(r&1)&&a!==null?(a.childLanes=0,a.pendingProps=s):a=Cl(s,r,0,null),e=Li(e,r,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=rd(n),t.memoizedState=nd,e):zf(t,s));if(i=e.memoizedState,i!==null&&(u=i.dehydrated,u!==null))return n7(e,t,s,r,u,i,n);if(a){a=r.fallback,s=t.mode,i=e.child,u=i.sibling;var o={mode:"hidden",children:r.children};return!(s&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=o,t.deletions=null):(r=ui(i,o),r.subtreeFlags=i.subtreeFlags&14680064),u!==null?a=ui(u,a):(a=Li(a,s,n,null),a.flags|=2),a.return=t,r.return=t,r.sibling=a,t.child=r,r=a,a=t.child,s=e.child.memoizedState,s=s===null?rd(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},a.memoizedState=s,a.childLanes=e.childLanes&~n,t.memoizedState=nd,r}return a=e.child,e=a.sibling,r=ui(a,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function zf(e,t){return t=Cl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Uu(e,t,n,r){return r!==null&&wf(r),Da(t,e.child,null,n),e=zf(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function n7(e,t,n,r,i,a,s){if(n)return t.flags&256?(t.flags&=-257,r=k0(Error(te(422))),Uu(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(a=r.fallback,i=t.mode,r=Cl({mode:"visible",children:r.children},i,0,null),a=Li(a,i,s,null),a.flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,t.mode&1&&Da(t,e.child,null,s),t.child.memoizedState=rd(s),t.memoizedState=nd,a);if(!(t.mode&1))return Uu(e,t,s,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var u=r.dgst;return r=u,a=Error(te(419)),r=k0(a,r,void 0),Uu(e,t,s,r)}if(u=(s&e.childLanes)!==0,Qt||u){if(r=_t,r!==null){switch(s&-s){case 4:i=2;break;case 16:i=8;break;case 64: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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|s)?0:i,i!==0&&i!==a.retryLane&&(a.retryLane=i,Tr(e,i),Un(r,e,i,-1))}return Yf(),r=k0(Error(te(421))),Uu(e,t,s,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=p7.bind(null,e),i._reactRetry=t,null):(e=a.treeContext,cn=ri(i.nextSibling),dn=t,Ke=!0,Bn=null,e!==null&&(vn[_n++]=gr,vn[_n++]=br,vn[_n++]=Ui,gr=e.id,br=e.overflow,Ui=t),t=zf(t,r.children),t.flags|=4096,t)}function Yh(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Xc(e.return,t,n)}function C0(e,t,n,r,i){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i)}function L4(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;if(Bt(e,t,r.children,n),r=Je.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Yh(e,n,t);else if(e.tag===19)Yh(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(qe(Je,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&jo(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),C0(t,!1,i,n,a);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&jo(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}C0(t,!0,n,null,a);break;case"together":C0(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function To(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function xr(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),$i|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(te(153));if(t.child!==null){for(e=t.child,n=ui(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=ui(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function r7(e,t,n){switch(t.tag){case 3:R4(t),Na();break;case 5:u4(t);break;case 1:Jt(t.type)&&$o(t);break;case 4:If(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;qe(Yo,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(qe(Je,Je.current&1),t.flags|=128,null):n&t.child.childLanes?M4(e,t,n):(qe(Je,Je.current&1),e=xr(e,t,n),e!==null?e.sibling:null);qe(Je,Je.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return L4(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),qe(Je,Je.current),r)break;return null;case 22:case 23:return t.lanes=0,I4(e,t,n)}return xr(e,t,n)}var F4,id,P4,B4;F4=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};id=function(){};P4=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Ri(nr.current);var a=null;switch(n){case"input":i=Sc(e,i),r=Sc(e,r),a=[];break;case"select":i=nt({},i,{value:void 0}),r=nt({},r,{value:void 0}),a=[];break;case"textarea":i=Nc(e,i),r=Nc(e,r),a=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Uo)}Ic(n,r);var s;n=null;for(l in i)if(!r.hasOwnProperty(l)&&i.hasOwnProperty(l)&&i[l]!=null)if(l==="style"){var u=i[l];for(s in u)u.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else l!=="dangerouslySetInnerHTML"&&l!=="children"&&l!=="suppressContentEditableWarning"&&l!=="suppressHydrationWarning"&&l!=="autoFocus"&&(Hs.hasOwnProperty(l)?a||(a=[]):(a=a||[]).push(l,null));for(l in r){var o=r[l];if(u=i!=null?i[l]:void 0,r.hasOwnProperty(l)&&o!==u&&(o!=null||u!=null))if(l==="style")if(u){for(s in u)!u.hasOwnProperty(s)||o&&o.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in o)o.hasOwnProperty(s)&&u[s]!==o[s]&&(n||(n={}),n[s]=o[s])}else n||(a||(a=[]),a.push(l,n)),n=o;else l==="dangerouslySetInnerHTML"?(o=o?o.__html:void 0,u=u?u.__html:void 0,o!=null&&u!==o&&(a=a||[]).push(l,o)):l==="children"?typeof o!="string"&&typeof o!="number"||(a=a||[]).push(l,""+o):l!=="suppressContentEditableWarning"&&l!=="suppressHydrationWarning"&&(Hs.hasOwnProperty(l)?(o!=null&&l==="onScroll"&&We("scroll",e),a||u===o||(a=[])):(a=a||[]).push(l,o))}n&&(a=a||[]).push("style",n);var l=a;(t.updateQueue=l)&&(t.flags|=4)}};B4=function(e,t,n,r){n!==r&&(t.flags|=4)};function us(e,t){if(!Ke)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Nt(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function i7(e,t,n){var r=t.pendingProps;switch(Af(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Nt(t),null;case 1:return Jt(t.type)&&Ho(),Nt(t),null;case 3:return r=t.stateNode,Ia(),Ve(Zt),Ve(Rt),Rf(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Bu(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Bn!==null&&(fd(Bn),Bn=null))),id(e,t),Nt(t),null;case 5:Of(t);var i=Ri(Js.current);if(n=t.type,e!==null&&t.stateNode!=null)P4(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(te(166));return Nt(t),null}if(e=Ri(nr.current),Bu(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[Zn]=t,r[Qs]=a,e=(t.mode&1)!==0,n){case"dialog":We("cancel",r),We("close",r);break;case"iframe":case"object":case"embed":We("load",r);break;case"video":case"audio":for(i=0;i<ys.length;i++)We(ys[i],r);break;case"source":We("error",r);break;case"img":case"image":case"link":We("error",r),We("load",r);break;case"details":We("toggle",r);break;case"input":eh(r,a),We("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},We("invalid",r);break;case"textarea":nh(r,a),We("invalid",r)}Ic(n,a),i=null;for(var s in a)if(a.hasOwnProperty(s)){var u=a[s];s==="children"?typeof u=="string"?r.textContent!==u&&(a.suppressHydrationWarning!==!0&&Pu(r.textContent,u,e),i=["children",u]):typeof u=="number"&&r.textContent!==""+u&&(a.suppressHydrationWarning!==!0&&Pu(r.textContent,u,e),i=["children",""+u]):Hs.hasOwnProperty(s)&&u!=null&&s==="onScroll"&&We("scroll",r)}switch(n){case"input":Nu(r),th(r,a,!0);break;case"textarea":Nu(r),rh(r);break;case"select":case"option":break;default:typeof a.onClick=="function"&&(r.onclick=Uo)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=f2(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[Zn]=t,e[Qs]=r,F4(e,t,!1,!1),t.stateNode=e;e:{switch(s=Oc(n,r),n){case"dialog":We("cancel",e),We("close",e),i=r;break;case"iframe":case"object":case"embed":We("load",e),i=r;break;case"video":case"audio":for(i=0;i<ys.length;i++)We(ys[i],e);i=r;break;case"source":We("error",e),i=r;break;case"img":case"image":case"link":We("error",e),We("load",e),i=r;break;case"details":We("toggle",e),i=r;break;case"input":eh(e,r),i=Sc(e,r),We("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=nt({},r,{value:void 0}),We("invalid",e);break;case"textarea":nh(e,r),i=Nc(e,r),We("invalid",e);break;default:i=r}Ic(n,i),u=i;for(a in u)if(u.hasOwnProperty(a)){var o=u[a];a==="style"?p2(e,o):a==="dangerouslySetInnerHTML"?(o=o?o.__html:void 0,o!=null&&h2(e,o)):a==="children"?typeof o=="string"?(n!=="textarea"||o!=="")&&$s(e,o):typeof o=="number"&&$s(e,""+o):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(Hs.hasOwnProperty(a)?o!=null&&a==="onScroll"&&We("scroll",e):o!=null&&lf(e,a,o,s))}switch(n){case"input":Nu(e),th(e,r,!1);break;case"textarea":Nu(e),rh(e);break;case"option":r.value!=null&&e.setAttribute("value",""+oi(r.value));break;case"select":e.multiple=!!r.multiple,a=r.value,a!=null?ya(e,!!r.multiple,a,!1):r.defaultValue!=null&&ya(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=Uo)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Nt(t),null;case 6:if(e&&t.stateNode!=null)B4(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(te(166));if(n=Ri(Js.current),Ri(nr.current),Bu(t)){if(r=t.stateNode,n=t.memoizedProps,r[Zn]=t,(a=r.nodeValue!==n)&&(e=dn,e!==null))switch(e.tag){case 3:Pu(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Pu(r.nodeValue,n,(e.mode&1)!==0)}a&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Zn]=t,t.stateNode=r}return Nt(t),null;case 13:if(Ve(Je),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Ke&&cn!==null&&t.mode&1&&!(t.flags&128))n4(),Na(),t.flags|=98560,a=!1;else if(a=Bu(t),r!==null&&r.dehydrated!==null){if(e===null){if(!a)throw Error(te(318));if(a=t.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(te(317));a[Zn]=t}else Na(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Nt(t),a=!1}else Bn!==null&&(fd(Bn),Bn=null),a=!0;if(!a)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||Je.current&1?gt===0&&(gt=3):Yf())),t.updateQueue!==null&&(t.flags|=4),Nt(t),null);case 4:return Ia(),id(e,t),e===null&&Ks(t.stateNode.containerInfo),Nt(t),null;case 10:return Cf(t.type._context),Nt(t),null;case 17:return Jt(t.type)&&Ho(),Nt(t),null;case 19:if(Ve(Je),a=t.memoizedState,a===null)return Nt(t),null;if(r=(t.flags&128)!==0,s=a.rendering,s===null)if(r)us(a,!1);else{if(gt!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=jo(e),s!==null){for(t.flags|=128,us(a,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)a=n,e=r,a.flags&=14680066,s=a.alternate,s===null?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=s.childLanes,a.lanes=s.lanes,a.child=s.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=s.memoizedProps,a.memoizedState=s.memoizedState,a.updateQueue=s.updateQueue,a.type=s.type,e=s.dependencies,a.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return qe(Je,Je.current&1|2),t.child}e=e.sibling}a.tail!==null&&ut()>Ra&&(t.flags|=128,r=!0,us(a,!1),t.lanes=4194304)}else{if(!r)if(e=jo(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),us(a,!0),a.tail===null&&a.tailMode==="hidden"&&!s.alternate&&!Ke)return Nt(t),null}else 2*ut()-a.renderingStartTime>Ra&&n!==1073741824&&(t.flags|=128,r=!0,us(a,!1),t.lanes=4194304);a.isBackwards?(s.sibling=t.child,t.child=s):(n=a.last,n!==null?n.sibling=s:t.child=s,a.last=s)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=ut(),t.sibling=null,n=Je.current,qe(Je,r?n&1|2:n&1),t):(Nt(t),null);case 22:case 23:return Gf(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ln&1073741824&&(Nt(t),t.subtreeFlags&6&&(t.flags|=8192)):Nt(t),null;case 24:return null;case 25:return null}throw Error(te(156,t.tag))}function a7(e,t){switch(Af(t),t.tag){case 1:return Jt(t.type)&&Ho(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ia(),Ve(Zt),Ve(Rt),Rf(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Of(t),null;case 13:if(Ve(Je),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(te(340));Na()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ve(Je),null;case 4:return Ia(),null;case 10:return Cf(t.type._context),null;case 22:case 23:return Gf(),null;case 24:return null;default:return null}}var Hu=!1,Dt=!1,s7=typeof WeakSet=="function"?WeakSet:Set,fe=null;function ga(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){at(e,t,r)}else n.current=null}function ad(e,t,n){try{n()}catch(r){at(e,t,r)}}var Wh=!1;function u7(e,t){if($c=Po,e=q2(),Tf(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch{n=null;break e}var s=0,u=-1,o=-1,l=0,d=0,c=e,h=null;t:for(;;){for(var m;c!==n||i!==0&&c.nodeType!==3||(u=s+i),c!==a||r!==0&&c.nodeType!==3||(o=s+r),c.nodeType===3&&(s+=c.nodeValue.length),(m=c.firstChild)!==null;)h=c,c=m;for(;;){if(c===e)break t;if(h===n&&++l===i&&(u=s),h===a&&++d===r&&(o=s),(m=c.nextSibling)!==null)break;c=h,h=c.parentNode}c=m}n=u===-1||o===-1?null:{start:u,end:o}}else n=null}n=n||{start:0,end:0}}else n=null;for(qc={focusedElem:e,selectionRange:n},Po=!1,fe=t;fe!==null;)if(t=fe,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,fe=e;else for(;fe!==null;){t=fe;try{var E=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(E!==null){var v=E.memoizedProps,A=E.memoizedState,b=t.stateNode,y=b.getSnapshotBeforeUpdate(t.elementType===t.type?v:Fn(t.type,v),A);b.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var T=t.stateNode.containerInfo;T.nodeType===1?T.textContent="":T.nodeType===9&&T.documentElement&&T.removeChild(T.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(te(163))}}catch(D){at(t,t.return,D)}if(e=t.sibling,e!==null){e.return=t.return,fe=e;break}fe=t.return}return E=Wh,Wh=!1,E}function Cs(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var a=i.destroy;i.destroy=void 0,a!==void 0&&ad(t,n,a)}i=i.next}while(i!==r)}}function Sl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function sd(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function z4(e){var t=e.alternate;t!==null&&(e.alternate=null,z4(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Zn],delete t[Qs],delete t[Wc],delete t[q8],delete t[G8])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function U4(e){return e.tag===5||e.tag===3||e.tag===4}function Vh(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||U4(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ud(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Uo));else if(r!==4&&(e=e.child,e!==null))for(ud(e,t,n),e=e.sibling;e!==null;)ud(e,t,n),e=e.sibling}function od(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(od(e,t,n),e=e.sibling;e!==null;)od(e,t,n),e=e.sibling}var wt=null,Pn=!1;function Mr(e,t,n){for(n=n.child;n!==null;)H4(e,t,n),n=n.sibling}function H4(e,t,n){if(tr&&typeof tr.onCommitFiberUnmount=="function")try{tr.onCommitFiberUnmount(El,n)}catch{}switch(n.tag){case 5:Dt||ga(n,t);case 6:var r=wt,i=Pn;wt=null,Mr(e,t,n),wt=r,Pn=i,wt!==null&&(Pn?(e=wt,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):wt.removeChild(n.stateNode));break;case 18:wt!==null&&(Pn?(e=wt,n=n.stateNode,e.nodeType===8?_0(e.parentNode,n):e.nodeType===1&&_0(e,n),Ws(e)):_0(wt,n.stateNode));break;case 4:r=wt,i=Pn,wt=n.stateNode.containerInfo,Pn=!0,Mr(e,t,n),wt=r,Pn=i;break;case 0:case 11:case 14:case 15:if(!Dt&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var a=i,s=a.destroy;a=a.tag,s!==void 0&&(a&2||a&4)&&ad(n,t,s),i=i.next}while(i!==r)}Mr(e,t,n);break;case 1:if(!Dt&&(ga(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){at(n,t,u)}Mr(e,t,n);break;case 21:Mr(e,t,n);break;case 22:n.mode&1?(Dt=(r=Dt)||n.memoizedState!==null,Mr(e,t,n),Dt=r):Mr(e,t,n);break;default:Mr(e,t,n)}}function jh(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new s7),t.forEach(function(r){var i=g7.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Ln(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var a=e,s=t,u=s;e:for(;u!==null;){switch(u.tag){case 5:wt=u.stateNode,Pn=!1;break e;case 3:wt=u.stateNode.containerInfo,Pn=!0;break e;case 4:wt=u.stateNode.containerInfo,Pn=!0;break e}u=u.return}if(wt===null)throw Error(te(160));H4(a,s,i),wt=null,Pn=!1;var o=i.alternate;o!==null&&(o.return=null),i.return=null}catch(l){at(i,t,l)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)$4(t,e),t=t.sibling}function $4(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Ln(t,e),Wn(e),r&4){try{Cs(3,e,e.return),Sl(3,e)}catch(v){at(e,e.return,v)}try{Cs(5,e,e.return)}catch(v){at(e,e.return,v)}}break;case 1:Ln(t,e),Wn(e),r&512&&n!==null&&ga(n,n.return);break;case 5:if(Ln(t,e),Wn(e),r&512&&n!==null&&ga(n,n.return),e.flags&32){var i=e.stateNode;try{$s(i,"")}catch(v){at(e,e.return,v)}}if(r&4&&(i=e.stateNode,i!=null)){var a=e.memoizedProps,s=n!==null?n.memoizedProps:a,u=e.type,o=e.updateQueue;if(e.updateQueue=null,o!==null)try{u==="input"&&a.type==="radio"&&a.name!=null&&c2(i,a),Oc(u,s);var l=Oc(u,a);for(s=0;s<o.length;s+=2){var d=o[s],c=o[s+1];d==="style"?p2(i,c):d==="dangerouslySetInnerHTML"?h2(i,c):d==="children"?$s(i,c):lf(i,d,c,l)}switch(u){case"input":kc(i,a);break;case"textarea":d2(i,a);break;case"select":var h=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!a.multiple;var m=a.value;m!=null?ya(i,!!a.multiple,m,!1):h!==!!a.multiple&&(a.defaultValue!=null?ya(i,!!a.multiple,a.defaultValue,!0):ya(i,!!a.multiple,a.multiple?[]:"",!1))}i[Qs]=a}catch(v){at(e,e.return,v)}}break;case 6:if(Ln(t,e),Wn(e),r&4){if(e.stateNode===null)throw Error(te(162));i=e.stateNode,a=e.memoizedProps;try{i.nodeValue=a}catch(v){at(e,e.return,v)}}break;case 3:if(Ln(t,e),Wn(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Ws(t.containerInfo)}catch(v){at(e,e.return,v)}break;case 4:Ln(t,e),Wn(e);break;case 13:Ln(t,e),Wn(e),i=e.child,i.flags&8192&&(a=i.memoizedState!==null,i.stateNode.isHidden=a,!a||i.alternate!==null&&i.alternate.memoizedState!==null||($f=ut())),r&4&&jh(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(Dt=(l=Dt)||d,Ln(t,e),Dt=l):Ln(t,e),Wn(e),r&8192){if(l=e.memoizedState!==null,(e.stateNode.isHidden=l)&&!d&&e.mode&1)for(fe=e,d=e.child;d!==null;){for(c=fe=d;fe!==null;){switch(h=fe,m=h.child,h.tag){case 0:case 11:case 14:case 15:Cs(4,h,h.return);break;case 1:ga(h,h.return);var E=h.stateNode;if(typeof E.componentWillUnmount=="function"){r=h,n=h.return;try{t=r,E.props=t.memoizedProps,E.state=t.memoizedState,E.componentWillUnmount()}catch(v){at(r,n,v)}}break;case 5:ga(h,h.return);break;case 22:if(h.memoizedState!==null){Xh(c);continue}}m!==null?(m.return=h,fe=m):Xh(c)}d=d.sibling}e:for(d=null,c=e;;){if(c.tag===5){if(d===null){d=c;try{i=c.stateNode,l?(a=i.style,typeof a.setProperty=="function"?a.setProperty("display","none","important"):a.display="none"):(u=c.stateNode,o=c.memoizedProps.style,s=o!=null&&o.hasOwnProperty("display")?o.display:null,u.style.display=m2("display",s))}catch(v){at(e,e.return,v)}}}else if(c.tag===6){if(d===null)try{c.stateNode.nodeValue=l?"":c.memoizedProps}catch(v){at(e,e.return,v)}}else if((c.tag!==22&&c.tag!==23||c.memoizedState===null||c===e)&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===e)break e;for(;c.sibling===null;){if(c.return===null||c.return===e)break e;d===c&&(d=null),c=c.return}d===c&&(d=null),c.sibling.return=c.return,c=c.sibling}}break;case 19:Ln(t,e),Wn(e),r&4&&jh(e);break;case 21:break;default:Ln(t,e),Wn(e)}}function Wn(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(U4(n)){var r=n;break e}n=n.return}throw Error(te(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&($s(i,""),r.flags&=-33);var a=Vh(e);od(e,a,i);break;case 3:case 4:var s=r.stateNode.containerInfo,u=Vh(e);ud(e,u,s);break;default:throw Error(te(161))}}catch(o){at(e,e.return,o)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function o7(e,t,n){fe=e,q4(e)}function q4(e,t,n){for(var r=(e.mode&1)!==0;fe!==null;){var i=fe,a=i.child;if(i.tag===22&&r){var s=i.memoizedState!==null||Hu;if(!s){var u=i.alternate,o=u!==null&&u.memoizedState!==null||Dt;u=Hu;var l=Dt;if(Hu=s,(Dt=o)&&!l)for(fe=i;fe!==null;)s=fe,o=s.child,s.tag===22&&s.memoizedState!==null?Qh(i):o!==null?(o.return=s,fe=o):Qh(i);for(;a!==null;)fe=a,q4(a),a=a.sibling;fe=i,Hu=u,Dt=l}Kh(e)}else i.subtreeFlags&8772&&a!==null?(a.return=i,fe=a):Kh(e)}}function Kh(e){for(;fe!==null;){var t=fe;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Dt||Sl(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Dt)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:Fn(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;a!==null&&Rh(t,a,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Rh(t,s,n)}break;case 5:var u=t.stateNode;if(n===null&&t.flags&4){n=u;var o=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":o.autoFocus&&n.focus();break;case"img":o.src&&(n.src=o.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var l=t.alternate;if(l!==null){var d=l.memoizedState;if(d!==null){var c=d.dehydrated;c!==null&&Ws(c)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(te(163))}Dt||t.flags&512&&sd(t)}catch(h){at(t,t.return,h)}}if(t===e){fe=null;break}if(n=t.sibling,n!==null){n.return=t.return,fe=n;break}fe=t.return}}function Xh(e){for(;fe!==null;){var t=fe;if(t===e){fe=null;break}var n=t.sibling;if(n!==null){n.return=t.return,fe=n;break}fe=t.return}}function Qh(e){for(;fe!==null;){var t=fe;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Sl(4,t)}catch(o){at(t,n,o)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(o){at(t,i,o)}}var a=t.return;try{sd(t)}catch(o){at(t,a,o)}break;case 5:var s=t.return;try{sd(t)}catch(o){at(t,s,o)}}}catch(o){at(t,t.return,o)}if(t===e){fe=null;break}var u=t.sibling;if(u!==null){u.return=t.return,fe=u;break}fe=t.return}}var l7=Math.ceil,Qo=wr.ReactCurrentDispatcher,Uf=wr.ReactCurrentOwner,Sn=wr.ReactCurrentBatchConfig,Re=0,_t=null,ct=null,St=0,ln=0,ba=pi(0),gt=0,ru=null,$i=0,kl=0,Hf=0,Ns=null,Xt=null,$f=0,Ra=1/0,fr=null,Zo=!1,ld=null,ai=null,$u=!1,jr=null,Jo=0,Ds=0,cd=null,xo=-1,Ao=0;function $t(){return Re&6?ut():xo!==-1?xo:xo=ut()}function si(e){return e.mode&1?Re&2&&St!==0?St&-St:W8.transition!==null?(Ao===0&&(Ao=k2()),Ao):(e=Pe,e!==0||(e=window.event,e=e===void 0?16:M2(e.type)),e):1}function Un(e,t,n,r){if(50<Ds)throw Ds=0,cd=null,Error(te(185));mu(e,n,r),(!(Re&2)||e!==_t)&&(e===_t&&(!(Re&2)&&(kl|=n),gt===4&&Wr(e,St)),en(e,r),n===1&&Re===0&&!(t.mode&1)&&(Ra=ut()+500,xl&&gi()))}function en(e,t){var n=e.callbackNode;W5(e,t);var r=Fo(e,e===_t?St:0);if(r===0)n!==null&&sh(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&sh(n),t===1)e.tag===0?Y8(Zh.bind(null,e)):J2(Zh.bind(null,e)),H8(function(){!(Re&6)&&gi()}),n=null;else{switch(C2(r)){case 1:n=mf;break;case 4:n=w2;break;case 16:n=Lo;break;case 536870912:n=S2;break;default:n=Lo}n=Q4(n,G4.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function G4(e,t){if(xo=-1,Ao=0,Re&6)throw Error(te(327));var n=e.callbackNode;if(Aa()&&e.callbackNode!==n)return null;var r=Fo(e,e===_t?St:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=el(e,r);else{t=r;var i=Re;Re|=2;var a=W4();(_t!==e||St!==t)&&(fr=null,Ra=ut()+500,Mi(e,t));do try{f7();break}catch(u){Y4(e,u)}while(!0);kf(),Qo.current=a,Re=i,ct!==null?t=0:(_t=null,St=0,t=gt)}if(t!==0){if(t===2&&(i=Pc(e),i!==0&&(r=i,t=dd(e,i))),t===1)throw n=ru,Mi(e,0),Wr(e,r),en(e,ut()),n;if(t===6)Wr(e,r);else{if(i=e.current.alternate,!(r&30)&&!c7(i)&&(t=el(e,r),t===2&&(a=Pc(e),a!==0&&(r=a,t=dd(e,a))),t===1))throw n=ru,Mi(e,0),Wr(e,r),en(e,ut()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(te(345));case 2:Si(e,Xt,fr);break;case 3:if(Wr(e,r),(r&130023424)===r&&(t=$f+500-ut(),10<t)){if(Fo(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){$t(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Yc(Si.bind(null,e,Xt,fr),t);break}Si(e,Xt,fr);break;case 4:if(Wr(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var s=31-zn(r);a=1<<s,s=t[s],s>i&&(i=s),r&=~a}if(r=i,r=ut()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*l7(r/1960))-r,10<r){e.timeoutHandle=Yc(Si.bind(null,e,Xt,fr),r);break}Si(e,Xt,fr);break;case 5:Si(e,Xt,fr);break;default:throw Error(te(329))}}}return en(e,ut()),e.callbackNode===n?G4.bind(null,e):null}function dd(e,t){var n=Ns;return e.current.memoizedState.isDehydrated&&(Mi(e,t).flags|=256),e=el(e,t),e!==2&&(t=Xt,Xt=n,t!==null&&fd(t)),e}function fd(e){Xt===null?Xt=e:Xt.push.apply(Xt,e)}function c7(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!$n(a(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Wr(e,t){for(t&=~Hf,t&=~kl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-zn(t),r=1<<n;e[n]=-1,t&=~r}}function Zh(e){if(Re&6)throw Error(te(327));Aa();var t=Fo(e,0);if(!(t&1))return en(e,ut()),null;var n=el(e,t);if(e.tag!==0&&n===2){var r=Pc(e);r!==0&&(t=r,n=dd(e,r))}if(n===1)throw n=ru,Mi(e,0),Wr(e,t),en(e,ut()),n;if(n===6)throw Error(te(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Si(e,Xt,fr),en(e,ut()),null}function qf(e,t){var n=Re;Re|=1;try{return e(t)}finally{Re=n,Re===0&&(Ra=ut()+500,xl&&gi())}}function qi(e){jr!==null&&jr.tag===0&&!(Re&6)&&Aa();var t=Re;Re|=1;var n=Sn.transition,r=Pe;try{if(Sn.transition=null,Pe=1,e)return e()}finally{Pe=r,Sn.transition=n,Re=t,!(Re&6)&&gi()}}function Gf(){ln=ba.current,Ve(ba)}function Mi(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,U8(n)),ct!==null)for(n=ct.return;n!==null;){var r=n;switch(Af(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Ho();break;case 3:Ia(),Ve(Zt),Ve(Rt),Rf();break;case 5:Of(r);break;case 4:Ia();break;case 13:Ve(Je);break;case 19:Ve(Je);break;case 10:Cf(r.type._context);break;case 22:case 23:Gf()}n=n.return}if(_t=e,ct=e=ui(e.current,null),St=ln=t,gt=0,ru=null,Hf=kl=$i=0,Xt=Ns=null,Oi!==null){for(t=0;t<Oi.length;t++)if(n=Oi[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,a=n.pending;if(a!==null){var s=a.next;a.next=i,r.next=s}n.pending=r}Oi=null}return e}function Y4(e,t){do{var n=ct;try{if(kf(),vo.current=Xo,Ko){for(var r=tt.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}Ko=!1}if(Hi=0,yt=pt=tt=null,ks=!1,eu=0,Uf.current=null,n===null||n.return===null){gt=1,ru=t,ct=null;break}e:{var a=e,s=n.return,u=n,o=t;if(t=St,u.flags|=32768,o!==null&&typeof o=="object"&&typeof o.then=="function"){var l=o,d=u,c=d.tag;if(!(d.mode&1)&&(c===0||c===11||c===15)){var h=d.alternate;h?(d.updateQueue=h.updateQueue,d.memoizedState=h.memoizedState,d.lanes=h.lanes):(d.updateQueue=null,d.memoizedState=null)}var m=zh(s);if(m!==null){m.flags&=-257,Uh(m,s,u,a,t),m.mode&1&&Bh(a,l,t),t=m,o=l;var E=t.updateQueue;if(E===null){var v=new Set;v.add(o),t.updateQueue=v}else E.add(o);break e}else{if(!(t&1)){Bh(a,l,t),Yf();break e}o=Error(te(426))}}else if(Ke&&u.mode&1){var A=zh(s);if(A!==null){!(A.flags&65536)&&(A.flags|=256),Uh(A,s,u,a,t),wf(Oa(o,u));break e}}a=o=Oa(o,u),gt!==4&&(gt=2),Ns===null?Ns=[a]:Ns.push(a),a=s;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t;var b=C4(a,o,t);Oh(a,b);break e;case 1:u=o;var y=a.type,T=a.stateNode;if(!(a.flags&128)&&(typeof y.getDerivedStateFromError=="function"||T!==null&&typeof T.componentDidCatch=="function"&&(ai===null||!ai.has(T)))){a.flags|=65536,t&=-t,a.lanes|=t;var D=N4(a,u,t);Oh(a,D);break e}}a=a.return}while(a!==null)}j4(n)}catch(F){t=F,ct===n&&n!==null&&(ct=n=n.return);continue}break}while(!0)}function W4(){var e=Qo.current;return Qo.current=Xo,e===null?Xo:e}function Yf(){(gt===0||gt===3||gt===2)&&(gt=4),_t===null||!($i&268435455)&&!(kl&268435455)||Wr(_t,St)}function el(e,t){var n=Re;Re|=2;var r=W4();(_t!==e||St!==t)&&(fr=null,Mi(e,t));do try{d7();break}catch(i){Y4(e,i)}while(!0);if(kf(),Re=n,Qo.current=r,ct!==null)throw Error(te(261));return _t=null,St=0,gt}function d7(){for(;ct!==null;)V4(ct)}function f7(){for(;ct!==null&&!P5();)V4(ct)}function V4(e){var t=X4(e.alternate,e,ln);e.memoizedProps=e.pendingProps,t===null?j4(e):ct=t,Uf.current=null}function j4(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=a7(n,t),n!==null){n.flags&=32767,ct=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{gt=6,ct=null;return}}else if(n=i7(n,t,ln),n!==null){ct=n;return}if(t=t.sibling,t!==null){ct=t;return}ct=t=e}while(t!==null);gt===0&&(gt=5)}function Si(e,t,n){var r=Pe,i=Sn.transition;try{Sn.transition=null,Pe=1,h7(e,t,n,r)}finally{Sn.transition=i,Pe=r}return null}function h7(e,t,n,r){do Aa();while(jr!==null);if(Re&6)throw Error(te(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(te(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(V5(e,a),e===_t&&(ct=_t=null,St=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||$u||($u=!0,Q4(Lo,function(){return Aa(),null})),a=(n.flags&15990)!==0,n.subtreeFlags&15990||a){a=Sn.transition,Sn.transition=null;var s=Pe;Pe=1;var u=Re;Re|=4,Uf.current=null,u7(e,n),$4(n,e),R8(qc),Po=!!$c,qc=$c=null,e.current=n,o7(n),B5(),Re=u,Pe=s,Sn.transition=a}else e.current=n;if($u&&($u=!1,jr=e,Jo=i),a=e.pendingLanes,a===0&&(ai=null),H5(n.stateNode),en(e,ut()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(Zo)throw Zo=!1,e=ld,ld=null,e;return Jo&1&&e.tag!==0&&Aa(),a=e.pendingLanes,a&1?e===cd?Ds++:(Ds=0,cd=e):Ds=0,gi(),null}function Aa(){if(jr!==null){var e=C2(Jo),t=Sn.transition,n=Pe;try{if(Sn.transition=null,Pe=16>e?16:e,jr===null)var r=!1;else{if(e=jr,jr=null,Jo=0,Re&6)throw Error(te(331));var i=Re;for(Re|=4,fe=e.current;fe!==null;){var a=fe,s=a.child;if(fe.flags&16){var u=a.deletions;if(u!==null){for(var o=0;o<u.length;o++){var l=u[o];for(fe=l;fe!==null;){var d=fe;switch(d.tag){case 0:case 11:case 15:Cs(8,d,a)}var c=d.child;if(c!==null)c.return=d,fe=c;else for(;fe!==null;){d=fe;var h=d.sibling,m=d.return;if(z4(d),d===l){fe=null;break}if(h!==null){h.return=m,fe=h;break}fe=m}}}var E=a.alternate;if(E!==null){var v=E.child;if(v!==null){E.child=null;do{var A=v.sibling;v.sibling=null,v=A}while(v!==null)}}fe=a}}if(a.subtreeFlags&2064&&s!==null)s.return=a,fe=s;else e:for(;fe!==null;){if(a=fe,a.flags&2048)switch(a.tag){case 0:case 11:case 15:Cs(9,a,a.return)}var b=a.sibling;if(b!==null){b.return=a.return,fe=b;break e}fe=a.return}}var y=e.current;for(fe=y;fe!==null;){s=fe;var T=s.child;if(s.subtreeFlags&2064&&T!==null)T.return=s,fe=T;else e:for(s=y;fe!==null;){if(u=fe,u.flags&2048)try{switch(u.tag){case 0:case 11:case 15:Sl(9,u)}}catch(F){at(u,u.return,F)}if(u===s){fe=null;break e}var D=u.sibling;if(D!==null){D.return=u.return,fe=D;break e}fe=u.return}}if(Re=i,gi(),tr&&typeof tr.onPostCommitFiberRoot=="function")try{tr.onPostCommitFiberRoot(El,e)}catch{}r=!0}return r}finally{Pe=n,Sn.transition=t}}return!1}function Jh(e,t,n){t=Oa(n,t),t=C4(e,t,1),e=ii(e,t,1),t=$t(),e!==null&&(mu(e,1,t),en(e,t))}function at(e,t,n){if(e.tag===3)Jh(e,e,n);else for(;t!==null;){if(t.tag===3){Jh(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(ai===null||!ai.has(r))){e=Oa(n,e),e=N4(t,e,1),t=ii(t,e,1),e=$t(),t!==null&&(mu(t,1,e),en(t,e));break}}t=t.return}}function m7(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=$t(),e.pingedLanes|=e.suspendedLanes&n,_t===e&&(St&n)===n&&(gt===4||gt===3&&(St&130023424)===St&&500>ut()-$f?Mi(e,0):Hf|=n),en(e,t)}function K4(e,t){t===0&&(e.mode&1?(t=Ou,Ou<<=1,!(Ou&130023424)&&(Ou=4194304)):t=1);var n=$t();e=Tr(e,t),e!==null&&(mu(e,t,n),en(e,n))}function p7(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),K4(e,n)}function g7(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(te(314))}r!==null&&r.delete(t),K4(e,n)}var X4;X4=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Zt.current)Qt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Qt=!1,r7(e,t,n);Qt=!!(e.flags&131072)}else Qt=!1,Ke&&t.flags&1048576&&e4(t,Go,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;To(e,t),e=t.pendingProps;var i=Ca(t,Rt.current);xa(t,n),i=Lf(null,t,r,e,i,n);var a=Ff();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Jt(r)?(a=!0,$o(t)):a=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Df(t),i.updater=wl,t.stateNode=i,i._reactInternals=t,Zc(t,r,e,n),t=td(null,t,r,!0,a,n)):(t.tag=0,Ke&&a&&xf(t),Bt(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(To(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=E7(r),e=Fn(r,e),i){case 0:t=ed(null,t,r,e,n);break e;case 1:t=qh(null,t,r,e,n);break e;case 11:t=Hh(null,t,r,e,n);break e;case 14:t=$h(null,t,r,Fn(r.type,e),n);break e}throw Error(te(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Fn(r,i),ed(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Fn(r,i),qh(e,t,r,i,n);case 3:e:{if(R4(t),e===null)throw Error(te(387));r=t.pendingProps,a=t.memoizedState,i=a.element,s4(e,t),Vo(t,r,null,n);var s=t.memoizedState;if(r=s.element,a.isDehydrated)if(a={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){i=Oa(Error(te(423)),t),t=Gh(e,t,r,n,i);break e}else if(r!==i){i=Oa(Error(te(424)),t),t=Gh(e,t,r,n,i);break e}else for(cn=ri(t.stateNode.containerInfo.firstChild),dn=t,Ke=!0,Bn=null,n=i4(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Na(),r===i){t=xr(e,t,n);break e}Bt(e,t,r,n)}t=t.child}return t;case 5:return u4(t),e===null&&Kc(t),r=t.type,i=t.pendingProps,a=e!==null?e.memoizedProps:null,s=i.children,Gc(r,i)?s=null:a!==null&&Gc(r,a)&&(t.flags|=32),O4(e,t),Bt(e,t,s,n),t.child;case 6:return e===null&&Kc(t),null;case 13:return M4(e,t,n);case 4:return If(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Da(t,null,r,n):Bt(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Fn(r,i),Hh(e,t,r,i,n);case 7:return Bt(e,t,t.pendingProps,n),t.child;case 8:return Bt(e,t,t.pendingProps.children,n),t.child;case 12:return Bt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,a=t.memoizedProps,s=i.value,qe(Yo,r._currentValue),r._currentValue=s,a!==null)if($n(a.value,s)){if(a.children===i.children&&!Zt.current){t=xr(e,t,n);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var u=a.dependencies;if(u!==null){s=a.child;for(var o=u.firstContext;o!==null;){if(o.context===r){if(a.tag===1){o=Er(-1,n&-n),o.tag=2;var l=a.updateQueue;if(l!==null){l=l.shared;var d=l.pending;d===null?o.next=o:(o.next=d.next,d.next=o),l.pending=o}}a.lanes|=n,o=a.alternate,o!==null&&(o.lanes|=n),Xc(a.return,n,t),u.lanes|=n;break}o=o.next}}else if(a.tag===10)s=a.type===t.type?null:a.child;else if(a.tag===18){if(s=a.return,s===null)throw Error(te(341));s.lanes|=n,u=s.alternate,u!==null&&(u.lanes|=n),Xc(s,n,t),s=a.sibling}else s=a.child;if(s!==null)s.return=a;else for(s=a;s!==null;){if(s===t){s=null;break}if(a=s.sibling,a!==null){a.return=s.return,s=a;break}s=s.return}a=s}Bt(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,xa(t,n),i=Cn(i),r=r(i),t.flags|=1,Bt(e,t,r,n),t.child;case 14:return r=t.type,i=Fn(r,t.pendingProps),i=Fn(r.type,i),$h(e,t,r,i,n);case 15:return D4(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Fn(r,i),To(e,t),t.tag=1,Jt(r)?(e=!0,$o(t)):e=!1,xa(t,n),k4(t,r,i),Zc(t,r,i,n),td(null,t,r,!0,e,n);case 19:return L4(e,t,n);case 22:return I4(e,t,n)}throw Error(te(156,t.tag))};function Q4(e,t){return A2(e,t)}function b7(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function An(e,t,n,r){return new b7(e,t,n,r)}function Wf(e){return e=e.prototype,!(!e||!e.isReactComponent)}function E7(e){if(typeof e=="function")return Wf(e)?1:0;if(e!=null){if(e=e.$$typeof,e===df)return 11;if(e===ff)return 14}return 2}function ui(e,t){var n=e.alternate;return n===null?(n=An(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function wo(e,t,n,r,i,a){var s=2;if(r=e,typeof e=="function")Wf(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case ua:return Li(n.children,i,a,t);case cf:s=8,i|=8;break;case Tc:return e=An(12,n,t,i|2),e.elementType=Tc,e.lanes=a,e;case xc:return e=An(13,n,t,i),e.elementType=xc,e.lanes=a,e;case Ac:return e=An(19,n,t,i),e.elementType=Ac,e.lanes=a,e;case u2:return Cl(n,i,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case a2:s=10;break e;case s2:s=9;break e;case df:s=11;break e;case ff:s=14;break e;case qr:s=16,r=null;break e}throw Error(te(130,e==null?e:typeof e,""))}return t=An(s,n,t,i),t.elementType=e,t.type=r,t.lanes=a,t}function Li(e,t,n,r){return e=An(7,e,r,t),e.lanes=n,e}function Cl(e,t,n,r){return e=An(22,e,r,t),e.elementType=u2,e.lanes=n,e.stateNode={isHidden:!1},e}function N0(e,t,n){return e=An(6,e,null,t),e.lanes=n,e}function D0(e,t,n){return t=An(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function y7(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=c0(0),this.expirationTimes=c0(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=c0(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Vf(e,t,n,r,i,a,s,u,o){return e=new y7(e,t,n,u,o),t===1?(t=1,a===!0&&(t|=8)):t=0,a=An(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Df(a),e}function v7(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:sa,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Z4(e){if(!e)return li;e=e._reactInternals;e:{if(Vi(e)!==e||e.tag!==1)throw Error(te(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Jt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(te(171))}if(e.tag===1){var n=e.type;if(Jt(n))return Z2(e,n,t)}return t}function J4(e,t,n,r,i,a,s,u,o){return e=Vf(n,r,!0,e,i,a,s,u,o),e.context=Z4(null),n=e.current,r=$t(),i=si(n),a=Er(r,i),a.callback=t??null,ii(n,a,i),e.current.lanes=i,mu(e,i,r),en(e,r),e}function Nl(e,t,n,r){var i=t.current,a=$t(),s=si(i);return n=Z4(n),t.context===null?t.context=n:t.pendingContext=n,t=Er(a,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=ii(i,t,s),e!==null&&(Un(e,i,s,a),yo(e,i,s)),s}function tl(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function em(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function jf(e,t){em(e,t),(e=e.alternate)&&em(e,t)}function _7(){return null}var e3=typeof reportError=="function"?reportError:function(e){console.error(e)};function Kf(e){this._internalRoot=e}Dl.prototype.render=Kf.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(te(409));Nl(e,t,null,null)};Dl.prototype.unmount=Kf.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;qi(function(){Nl(null,e,null,null)}),t[_r]=null}};function Dl(e){this._internalRoot=e}Dl.prototype.unstable_scheduleHydration=function(e){if(e){var t=I2();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Yr.length&&t!==0&&t<Yr[n].priority;n++);Yr.splice(n,0,e),n===0&&R2(e)}};function Xf(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Il(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function tm(){}function T7(e,t,n,r,i){if(i){if(typeof r=="function"){var a=r;r=function(){var l=tl(s);a.call(l)}}var s=J4(t,r,e,0,null,!1,!1,"",tm);return e._reactRootContainer=s,e[_r]=s.current,Ks(e.nodeType===8?e.parentNode:e),qi(),s}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var u=r;r=function(){var l=tl(o);u.call(l)}}var o=Vf(e,0,!1,null,null,!1,!1,"",tm);return e._reactRootContainer=o,e[_r]=o.current,Ks(e.nodeType===8?e.parentNode:e),qi(function(){Nl(t,o,n,r)}),o}function Ol(e,t,n,r,i){var a=n._reactRootContainer;if(a){var s=a;if(typeof i=="function"){var u=i;i=function(){var o=tl(s);u.call(o)}}Nl(t,s,e,i)}else s=T7(n,t,e,i,r);return tl(s)}N2=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Es(t.pendingLanes);n!==0&&(pf(t,n|1),en(t,ut()),!(Re&6)&&(Ra=ut()+500,gi()))}break;case 13:qi(function(){var r=Tr(e,1);if(r!==null){var i=$t();Un(r,e,1,i)}}),jf(e,1)}};gf=function(e){if(e.tag===13){var t=Tr(e,134217728);if(t!==null){var n=$t();Un(t,e,134217728,n)}jf(e,134217728)}};D2=function(e){if(e.tag===13){var t=si(e),n=Tr(e,t);if(n!==null){var r=$t();Un(n,e,t,r)}jf(e,t)}};I2=function(){return Pe};O2=function(e,t){var n=Pe;try{return Pe=e,t()}finally{Pe=n}};Mc=function(e,t,n){switch(t){case"input":if(kc(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=Tl(r);if(!i)throw Error(te(90));l2(r),kc(r,i)}}}break;case"textarea":d2(e,n);break;case"select":t=n.value,t!=null&&ya(e,!!n.multiple,t,!1)}};E2=qf;y2=qi;var x7={usingClientEntryPoint:!1,Events:[gu,da,Tl,g2,b2,qf]},os={findFiberByHostInstance:Ii,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},A7={bundleType:os.bundleType,version:os.version,rendererPackageName:os.rendererPackageName,rendererConfig:os.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:wr.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=T2(e),e===null?null:e.stateNode},findFiberByHostInstance:os.findFiberByHostInstance||_7,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var qu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!qu.isDisabled&&qu.supportsFiber)try{El=qu.inject(A7),tr=qu}catch{}}gn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=x7;gn.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Xf(t))throw Error(te(200));return v7(e,t,null,n)};gn.createRoot=function(e,t){if(!Xf(e))throw Error(te(299));var n=!1,r="",i=e3;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=Vf(e,1,!1,null,null,n,!1,r,i),e[_r]=t.current,Ks(e.nodeType===8?e.parentNode:e),new Kf(t)};gn.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(te(188)):(e=Object.keys(e).join(","),Error(te(268,e)));return e=T2(t),e=e===null?null:e.stateNode,e};gn.flushSync=function(e){return qi(e)};gn.hydrate=function(e,t,n){if(!Il(t))throw Error(te(200));return Ol(null,e,t,!0,n)};gn.hydrateRoot=function(e,t,n){if(!Xf(e))throw Error(te(405));var r=n!=null&&n.hydratedSources||null,i=!1,a="",s=e3;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(a=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=J4(t,null,e,1,n??null,i,!1,a,s),e[_r]=t.current,Ks(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Dl(t)};gn.render=function(e,t,n){if(!Il(t))throw Error(te(200));return Ol(null,e,t,!1,n)};gn.unmountComponentAtNode=function(e){if(!Il(e))throw Error(te(40));return e._reactRootContainer?(qi(function(){Ol(null,null,e,!1,function(){e._reactRootContainer=null,e[_r]=null})}),!0):!1};gn.unstable_batchedUpdates=qf;gn.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Il(n))throw Error(te(200));if(e==null||e._reactInternals===void 0)throw Error(te(38));return Ol(e,t,n,!1,r)};gn.version="18.3.1-next-f1338f8080-20240426";function t3(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t3)}catch(e){console.error(e)}}t3(),t2.exports=gn;var w7=t2.exports,nm=w7;vc.createRoot=nm.createRoot,vc.hydrateRoot=nm.hydrateRoot;const S7=(e,t,n)=>{const r=e[t];return r?typeof r=="function"?r():Promise.resolve(r):new Promise((i,a)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(a.bind(null,new Error("Unknown variable dynamic import: "+t+(t.split("/").length!==n?". Note that variables only represent file names one level deep.":""))))})};function k7(e,t,n){const[r,i]=pe.useState("connecting"),a=pe.useRef(null);return pe.useEffect(()=>{function s(){const u=new EventSource("/__reload");a.current=u,u.addEventListener("reload",()=>e()),u.addEventListener("files",()=>t()),u.onopen=()=>i("live"),u.onerror=()=>{if(u.close(),n.current){i("lost");return}i("lost"),setTimeout(s,1500)}}return s(),()=>{var u;return(u=a.current)==null?void 0:u.close()}},[e,t,n]),r}/**
|
|
41
|
+
* @license lucide-react v0.460.0 - ISC
|
|
42
|
+
*
|
|
43
|
+
* This source code is licensed under the ISC license.
|
|
44
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
45
|
+
*/const C7=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),n3=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/**
|
|
46
|
+
* @license lucide-react v0.460.0 - ISC
|
|
47
|
+
*
|
|
48
|
+
* This source code is licensed under the ISC license.
|
|
49
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
50
|
+
*/var N7={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
|
|
51
|
+
* @license lucide-react v0.460.0 - ISC
|
|
52
|
+
*
|
|
53
|
+
* This source code is licensed under the ISC license.
|
|
54
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
55
|
+
*/const D7=pe.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i="",children:a,iconNode:s,...u},o)=>pe.createElement("svg",{ref:o,...N7,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:n3("lucide",i),...u},[...s.map(([l,d])=>pe.createElement(l,d)),...Array.isArray(a)?a:[a]]));/**
|
|
56
|
+
* @license lucide-react v0.460.0 - ISC
|
|
57
|
+
*
|
|
58
|
+
* This source code is licensed under the ISC license.
|
|
59
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
60
|
+
*/const Yt=(e,t)=>{const n=pe.forwardRef(({className:r,...i},a)=>pe.createElement(D7,{ref:a,iconNode:t,className:n3(`lucide-${C7(e)}`,r),...i}));return n.displayName=`${e}`,n};/**
|
|
61
|
+
* @license lucide-react v0.460.0 - ISC
|
|
62
|
+
*
|
|
63
|
+
* This source code is licensed under the ISC license.
|
|
64
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
65
|
+
*/const I7=Yt("ArrowDown",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]);/**
|
|
66
|
+
* @license lucide-react v0.460.0 - ISC
|
|
67
|
+
*
|
|
68
|
+
* This source code is licensed under the ISC license.
|
|
69
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
70
|
+
*/const O7=Yt("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
|
|
71
|
+
* @license lucide-react v0.460.0 - ISC
|
|
72
|
+
*
|
|
73
|
+
* This source code is licensed under the ISC license.
|
|
74
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
75
|
+
*/const R7=Yt("Eraser",[["path",{d:"m7 21-4.3-4.3c-1-1-1-2.5 0-3.4l9.6-9.6c1-1 2.5-1 3.4 0l5.6 5.6c1 1 1 2.5 0 3.4L13 21",key:"182aya"}],["path",{d:"M22 21H7",key:"t4ddhn"}],["path",{d:"m5 11 9 9",key:"1mo9qw"}]]);/**
|
|
76
|
+
* @license lucide-react v0.460.0 - ISC
|
|
77
|
+
*
|
|
78
|
+
* This source code is licensed under the ISC license.
|
|
79
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
80
|
+
*/const M7=Yt("FileQuestion",[["path",{d:"M12 17h.01",key:"p32p05"}],["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7z",key:"1mlx9k"}],["path",{d:"M9.1 9a3 3 0 0 1 5.82 1c0 2-3 3-3 3",key:"mhlwft"}]]);/**
|
|
81
|
+
* @license lucide-react v0.460.0 - ISC
|
|
82
|
+
*
|
|
83
|
+
* This source code is licensed under the ISC license.
|
|
84
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
85
|
+
*/const L7=Yt("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);/**
|
|
86
|
+
* @license lucide-react v0.460.0 - ISC
|
|
87
|
+
*
|
|
88
|
+
* This source code is licensed under the ISC license.
|
|
89
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
90
|
+
*/const F7=Yt("Image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]);/**
|
|
91
|
+
* @license lucide-react v0.460.0 - ISC
|
|
92
|
+
*
|
|
93
|
+
* This source code is licensed under the ISC license.
|
|
94
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
95
|
+
*/const P7=Yt("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/**
|
|
96
|
+
* @license lucide-react v0.460.0 - ISC
|
|
97
|
+
*
|
|
98
|
+
* This source code is licensed under the ISC license.
|
|
99
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
100
|
+
*/const B7=Yt("PanelLeftClose",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m16 15-3-3 3-3",key:"14y99z"}]]);/**
|
|
101
|
+
* @license lucide-react v0.460.0 - ISC
|
|
102
|
+
*
|
|
103
|
+
* This source code is licensed under the ISC license.
|
|
104
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
105
|
+
*/const z7=Yt("PanelLeft",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]]);/**
|
|
106
|
+
* @license lucide-react v0.460.0 - ISC
|
|
107
|
+
*
|
|
108
|
+
* This source code is licensed under the ISC license.
|
|
109
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
110
|
+
*/const U7=Yt("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/**
|
|
111
|
+
* @license lucide-react v0.460.0 - ISC
|
|
112
|
+
*
|
|
113
|
+
* This source code is licensed under the ISC license.
|
|
114
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
115
|
+
*/const H7=Yt("Power",[["path",{d:"M12 2v10",key:"mnfbl"}],["path",{d:"M18.4 6.6a9 9 0 1 1-12.77.04",key:"obofu9"}]]);/**
|
|
116
|
+
* @license lucide-react v0.460.0 - ISC
|
|
117
|
+
*
|
|
118
|
+
* This source code is licensed under the ISC license.
|
|
119
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
120
|
+
*/const $7=Yt("RotateCw",[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]]);/**
|
|
121
|
+
* @license lucide-react v0.460.0 - ISC
|
|
122
|
+
*
|
|
123
|
+
* This source code is licensed under the ISC license.
|
|
124
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
125
|
+
*/const q7=Yt("Square",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]);/**
|
|
126
|
+
* @license lucide-react v0.460.0 - ISC
|
|
127
|
+
*
|
|
128
|
+
* This source code is licensed under the ISC license.
|
|
129
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
130
|
+
*/const G7=Yt("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/**
|
|
131
|
+
* @license lucide-react v0.460.0 - ISC
|
|
132
|
+
*
|
|
133
|
+
* This source code is licensed under the ISC license.
|
|
134
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
135
|
+
*/const Y7=Yt("Terminal",[["polyline",{points:"4 17 10 11 4 5",key:"akl6gq"}],["line",{x1:"12",x2:"20",y1:"19",y2:"19",key:"q2wloq"}]]);var W7=Object.defineProperty,Qf=(e,t)=>W7(e,"name",{value:t,configurable:!0});function hd(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}Qf(hd,"setRef");function r3(...e){return t=>{let n=!1;const r=e.map(i=>{const a=hd(i,t);return!n&&typeof a=="function"&&(n=!0),a});if(n)return()=>{for(let i=0;i<r.length;i++){const a=r[i];typeof a=="function"?a():hd(e[i],null)}}}}Qf(r3,"composeRefs");function i3(...e){return pe.useCallback(r3(...e),e)}Qf(i3,"useComposedRefs");var V7=Object.defineProperty,qn=(e,t)=>V7(e,"name",{value:t,configurable:!0});function a3(e){const t=pe.forwardRef((n,r)=>{let{children:i,...a}=n,s=null,u=!1;const o=[];md(i)&&typeof Gu=="function"&&(i=Gu(i._payload)),pe.Children.forEach(i,h=>{var m;if(l3(h)){u=!0;const E=h;let v="child"in E.props?E.props.child:E.props.children;md(v)&&typeof Gu=="function"&&(v=Gu(v._payload)),s=X7(E,v),o.push((m=s==null?void 0:s.props)==null?void 0:m.children)}else o.push(h)}),s?s=pe.cloneElement(s,void 0,o):!u&&pe.Children.count(i)===1&&pe.isValidElement(i)&&(s=i);const l=s?o3(s):void 0,d=i3(r,l);if(!s){if(i||i===0)throw new Error(u?J7(e):Z7(e));return i}const c=u3(a,s.props??{});return s.type!==pe.Fragment&&(c.ref=r?d:l),pe.cloneElement(s,c)});return t.displayName=`${e}.Slot`,t}qn(a3,"createSlot");var j7=a3("Slot"),s3=Symbol.for("radix.slottable");function K7(e){const t=qn(n=>"child"in n?n.children(n.child):n.children,"Slottable");return t.displayName=`${e}.Slottable`,t.__radixId=s3,t}qn(K7,"createSlottable");var X7=qn((e,t)=>{if("child"in e.props){const n=e.props.child;return pe.isValidElement(n)?pe.cloneElement(n,void 0,e.props.children(n.props.children)):null}return pe.isValidElement(t)?t:null},"getSlottableElementFromSlottable");function u3(e,t){const n={...t};for(const r in t){const i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...u)=>{const o=a(...u);return i(...u),o}:i&&(n[r]=i):r==="style"?n[r]={...i,...a}:r==="className"&&(n[r]=[i,a].filter(Boolean).join(" "))}return{...e,...n}}qn(u3,"mergeProps");function o3(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}qn(o3,"getElementRef");function l3(e){return pe.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===s3}qn(l3,"isSlottable");var Q7=Symbol.for("react.lazy");function md(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===Q7&&"_payload"in e&&c3(e._payload)}qn(md,"isLazyComponent");function c3(e){return typeof e=="object"&&e!==null&&"then"in e}qn(c3,"isPromiseLike");var Z7=qn(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),J7=qn(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),Gu=m5[" use ".trim().toString()];function d3(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=d3(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function f3(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=d3(e))&&(r&&(r+=" "),r+=t);return r}const rm=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,im=f3,ey=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return im(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:i,defaultVariants:a}=t,s=Object.keys(i).map(l=>{const d=n==null?void 0:n[l],c=a==null?void 0:a[l];if(d===null)return null;const h=rm(d)||rm(c);return i[l][h]}),u=n&&Object.entries(n).reduce((l,d)=>{let[c,h]=d;return h===void 0||(l[c]=h),l},{}),o=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((l,d)=>{let{class:c,className:h,...m}=d;return Object.entries(m).every(E=>{let[v,A]=E;return Array.isArray(A)?A.includes({...a,...u}[v]):{...a,...u}[v]===A})?[...l,c,h]:l},[]);return im(e,s,o,n==null?void 0:n.class,n==null?void 0:n.className)},Zf="-",ty=e=>{const t=ry(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:s=>{const u=s.split(Zf);return u[0]===""&&u.length!==1&&u.shift(),h3(u,t)||ny(s)},getConflictingClassGroupIds:(s,u)=>{const o=n[s]||[];return u&&r[s]?[...o,...r[s]]:o}}},h3=(e,t)=>{var s;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?h3(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const a=e.join(Zf);return(s=t.validators.find(({validator:u})=>u(a)))==null?void 0:s.classGroupId},am=/^\[(.+)\]$/,ny=e=>{if(am.test(e)){const t=am.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},ry=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return ay(Object.entries(e.classGroups),n).forEach(([a,s])=>{pd(s,r,a,t)}),r},pd=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){const a=i===""?t:sm(t,i);a.classGroupId=n;return}if(typeof i=="function"){if(iy(i)){pd(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([a,s])=>{pd(s,sm(t,a),n,r)})})},sm=(e,t)=>{let n=e;return t.split(Zf).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},iy=e=>e.isThemeGetter,ay=(e,t)=>t?e.map(([n,r])=>{const i=r.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([s,u])=>[t+s,u])):a);return[n,i]}):e,sy=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(a,s)=>{n.set(a,s),t++,t>e&&(t=0,r=n,n=new Map)};return{get(a){let s=n.get(a);if(s!==void 0)return s;if((s=r.get(a))!==void 0)return i(a,s),s},set(a,s){n.has(a)?n.set(a,s):i(a,s)}}},m3="!",uy=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,i=t[0],a=t.length,s=u=>{const o=[];let l=0,d=0,c;for(let A=0;A<u.length;A++){let b=u[A];if(l===0){if(b===i&&(r||u.slice(A,A+a)===t)){o.push(u.slice(d,A)),d=A+a;continue}if(b==="/"){c=A;continue}}b==="["?l++:b==="]"&&l--}const h=o.length===0?u:u.substring(d),m=h.startsWith(m3),E=m?h.substring(1):h,v=c&&c>d?c-d:void 0;return{modifiers:o,hasImportantModifier:m,baseClassName:E,maybePostfixModifierPosition:v}};return n?u=>n({className:u,parseClassName:s}):s},oy=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},ly=e=>({cache:sy(e.cacheSize),parseClassName:uy(e),...ty(e)}),cy=/\s+/,dy=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,a=[],s=e.trim().split(cy);let u="";for(let o=s.length-1;o>=0;o-=1){const l=s[o],{modifiers:d,hasImportantModifier:c,baseClassName:h,maybePostfixModifierPosition:m}=n(l);let E=!!m,v=r(E?h.substring(0,m):h);if(!v){if(!E){u=l+(u.length>0?" "+u:u);continue}if(v=r(h),!v){u=l+(u.length>0?" "+u:u);continue}E=!1}const A=oy(d).join(":"),b=c?A+m3:A,y=b+v;if(a.includes(y))continue;a.push(y);const T=i(v,E);for(let D=0;D<T.length;++D){const F=T[D];a.push(b+F)}u=l+(u.length>0?" "+u:u)}return u};function fy(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=p3(t))&&(r&&(r+=" "),r+=n);return r}const p3=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=p3(e[r]))&&(n&&(n+=" "),n+=t);return n};function hy(e,...t){let n,r,i,a=s;function s(o){const l=t.reduce((d,c)=>c(d),e());return n=ly(l),r=n.cache.get,i=n.cache.set,a=u,u(o)}function u(o){const l=r(o);if(l)return l;const d=dy(o,n);return i(o,d),d}return function(){return a(fy.apply(null,arguments))}}const Ye=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},g3=/^\[(?:([a-z-]+):)?(.+)\]$/i,my=/^\d+\/\d+$/,py=new Set(["px","full","screen"]),gy=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,by=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Ey=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,yy=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,vy=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,cr=e=>wa(e)||py.has(e)||my.test(e),Lr=e=>qa(e,"length",Cy),wa=e=>!!e&&!Number.isNaN(Number(e)),I0=e=>qa(e,"number",wa),ls=e=>!!e&&Number.isInteger(Number(e)),_y=e=>e.endsWith("%")&&wa(e.slice(0,-1)),Ae=e=>g3.test(e),Fr=e=>gy.test(e),Ty=new Set(["length","size","percentage"]),xy=e=>qa(e,Ty,b3),Ay=e=>qa(e,"position",b3),wy=new Set(["image","url"]),Sy=e=>qa(e,wy,Dy),ky=e=>qa(e,"",Ny),cs=()=>!0,qa=(e,t,n)=>{const r=g3.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},Cy=e=>by.test(e)&&!Ey.test(e),b3=()=>!1,Ny=e=>yy.test(e),Dy=e=>vy.test(e),Iy=()=>{const e=Ye("colors"),t=Ye("spacing"),n=Ye("blur"),r=Ye("brightness"),i=Ye("borderColor"),a=Ye("borderRadius"),s=Ye("borderSpacing"),u=Ye("borderWidth"),o=Ye("contrast"),l=Ye("grayscale"),d=Ye("hueRotate"),c=Ye("invert"),h=Ye("gap"),m=Ye("gradientColorStops"),E=Ye("gradientColorStopPositions"),v=Ye("inset"),A=Ye("margin"),b=Ye("opacity"),y=Ye("padding"),T=Ye("saturate"),D=Ye("scale"),F=Ye("sepia"),C=Ye("skew"),B=Ye("space"),H=Ye("translate"),W=()=>["auto","contain","none"],M=()=>["auto","hidden","clip","visible","scroll"],Z=()=>["auto",Ae,t],V=()=>[Ae,t],be=()=>["",cr,Lr],he=()=>["auto",wa,Ae],le=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],q=()=>["solid","dashed","dotted","double","none"],ee=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],U=()=>["start","end","center","between","around","evenly","stretch"],j=()=>["","0",Ae],S=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ue=()=>[wa,Ae];return{cacheSize:500,separator:":",theme:{colors:[cs],spacing:[cr,Lr],blur:["none","",Fr,Ae],brightness:ue(),borderColor:[e],borderRadius:["none","","full",Fr,Ae],borderSpacing:V(),borderWidth:be(),contrast:ue(),grayscale:j(),hueRotate:ue(),invert:j(),gap:V(),gradientColorStops:[e],gradientColorStopPositions:[_y,Lr],inset:Z(),margin:Z(),opacity:ue(),padding:V(),saturate:ue(),scale:ue(),sepia:j(),skew:ue(),space:V(),translate:V()},classGroups:{aspect:[{aspect:["auto","square","video",Ae]}],container:["container"],columns:[{columns:[Fr]}],"break-after":[{"break-after":S()}],"break-before":[{"break-before":S()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...le(),Ae]}],overflow:[{overflow:M()}],"overflow-x":[{"overflow-x":M()}],"overflow-y":[{"overflow-y":M()}],overscroll:[{overscroll:W()}],"overscroll-x":[{"overscroll-x":W()}],"overscroll-y":[{"overscroll-y":W()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",ls,Ae]}],basis:[{basis:Z()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Ae]}],grow:[{grow:j()}],shrink:[{shrink:j()}],order:[{order:["first","last","none",ls,Ae]}],"grid-cols":[{"grid-cols":[cs]}],"col-start-end":[{col:["auto",{span:["full",ls,Ae]},Ae]}],"col-start":[{"col-start":he()}],"col-end":[{"col-end":he()}],"grid-rows":[{"grid-rows":[cs]}],"row-start-end":[{row:["auto",{span:[ls,Ae]},Ae]}],"row-start":[{"row-start":he()}],"row-end":[{"row-end":he()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Ae]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Ae]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...U()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...U(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...U(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[A]}],mx:[{mx:[A]}],my:[{my:[A]}],ms:[{ms:[A]}],me:[{me:[A]}],mt:[{mt:[A]}],mr:[{mr:[A]}],mb:[{mb:[A]}],ml:[{ml:[A]}],"space-x":[{"space-x":[B]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[B]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Ae,t]}],"min-w":[{"min-w":[Ae,t,"min","max","fit"]}],"max-w":[{"max-w":[Ae,t,"none","full","min","max","fit","prose",{screen:[Fr]},Fr]}],h:[{h:[Ae,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Ae,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Ae,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Ae,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Fr,Lr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",I0]}],"font-family":[{font:[cs]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Ae]}],"line-clamp":[{"line-clamp":["none",wa,I0]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",cr,Ae]}],"list-image":[{"list-image":["none",Ae]}],"list-style-type":[{list:["none","disc","decimal",Ae]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[b]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[b]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...q(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",cr,Lr]}],"underline-offset":[{"underline-offset":["auto",cr,Ae]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:V()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Ae]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Ae]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[b]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...le(),Ay]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",xy]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Sy]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[E]}],"gradient-via-pos":[{via:[E]}],"gradient-to-pos":[{to:[E]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[u]}],"border-w-x":[{"border-x":[u]}],"border-w-y":[{"border-y":[u]}],"border-w-s":[{"border-s":[u]}],"border-w-e":[{"border-e":[u]}],"border-w-t":[{"border-t":[u]}],"border-w-r":[{"border-r":[u]}],"border-w-b":[{"border-b":[u]}],"border-w-l":[{"border-l":[u]}],"border-opacity":[{"border-opacity":[b]}],"border-style":[{border:[...q(),"hidden"]}],"divide-x":[{"divide-x":[u]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[u]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[b]}],"divide-style":[{divide:q()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...q()]}],"outline-offset":[{"outline-offset":[cr,Ae]}],"outline-w":[{outline:[cr,Lr]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:be()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[b]}],"ring-offset-w":[{"ring-offset":[cr,Lr]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Fr,ky]}],"shadow-color":[{shadow:[cs]}],opacity:[{opacity:[b]}],"mix-blend":[{"mix-blend":[...ee(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ee()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[o]}],"drop-shadow":[{"drop-shadow":["","none",Fr,Ae]}],grayscale:[{grayscale:[l]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[c]}],saturate:[{saturate:[T]}],sepia:[{sepia:[F]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[o]}],"backdrop-grayscale":[{"backdrop-grayscale":[l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[c]}],"backdrop-opacity":[{"backdrop-opacity":[b]}],"backdrop-saturate":[{"backdrop-saturate":[T]}],"backdrop-sepia":[{"backdrop-sepia":[F]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Ae]}],duration:[{duration:ue()}],ease:[{ease:["linear","in","out","in-out",Ae]}],delay:[{delay:ue()}],animate:[{animate:["none","spin","ping","pulse","bounce",Ae]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[D]}],"scale-x":[{"scale-x":[D]}],"scale-y":[{"scale-y":[D]}],rotate:[{rotate:[ls,Ae]}],"translate-x":[{"translate-x":[H]}],"translate-y":[{"translate-y":[H]}],"skew-x":[{"skew-x":[C]}],"skew-y":[{"skew-y":[C]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Ae]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Ae]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":V()}],"scroll-mx":[{"scroll-mx":V()}],"scroll-my":[{"scroll-my":V()}],"scroll-ms":[{"scroll-ms":V()}],"scroll-me":[{"scroll-me":V()}],"scroll-mt":[{"scroll-mt":V()}],"scroll-mr":[{"scroll-mr":V()}],"scroll-mb":[{"scroll-mb":V()}],"scroll-ml":[{"scroll-ml":V()}],"scroll-p":[{"scroll-p":V()}],"scroll-px":[{"scroll-px":V()}],"scroll-py":[{"scroll-py":V()}],"scroll-ps":[{"scroll-ps":V()}],"scroll-pe":[{"scroll-pe":V()}],"scroll-pt":[{"scroll-pt":V()}],"scroll-pr":[{"scroll-pr":V()}],"scroll-pb":[{"scroll-pb":V()}],"scroll-pl":[{"scroll-pl":V()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Ae]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[cr,Lr,I0]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},Oy=hy(Iy);function Ry(...e){return Oy(f3(e))}const My=ey("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),Kr=pe.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...i},a)=>{const s=r?j7:"button";return Y.jsx(s,{className:Ry(My({variant:t,size:n,className:e})),ref:a,...i})});Kr.displayName="Button";function Ly(){const e=()=>{const n=document.documentElement.classList.toggle("dark");localStorage.setItem("zview-theme",n?"dark":"light")},t=document.documentElement.classList.contains("dark");return Y.jsx(Kr,{variant:"ghost",size:"icon",onClick:e,"aria-label":"切换主题",title:"切换主题",children:t?Y.jsx(G7,{className:"h-4 w-4"}):Y.jsx(P7,{className:"h-4 w-4"})})}function Fy({stoppedRef:e}){const[t,n]=pe.useState(!1),r=async()=>{if(confirm("停止预览服务?停止后需重新启动才能继续预览。")){e.current=!0;try{const i=await fetch("/__config").then(a=>a.json());await fetch("/__stop",{method:"POST",headers:{"x-stop-token":i.stopToken??""}})}catch{}n(!0)}};return t?Y.jsx("div",{className:"fixed inset-0 z-50 grid place-items-center bg-muted",children:Y.jsxs("div",{className:"text-center text-muted-foreground",children:[Y.jsx("div",{className:"mx-auto mb-3.5 grid h-14 w-14 place-items-center rounded-[14px] bg-primary text-primary-foreground text-2xl font-bold",children:"v"}),Y.jsx("p",{children:"预览服务已停止"}),Y.jsx("p",{className:"mt-1 text-xs",children:"关闭此页,或在终端重新启动"})]})}):Y.jsx(Kr,{variant:"ghost",size:"icon",onClick:r,"aria-label":"停止预览服务",title:"停止预览服务",children:Y.jsx(H7,{className:"h-4 w-4"})})}function Py({status:e,stoppedRef:t,treeOpen:n,onTreeToggle:r,children:i}){const a=e==="live"?"bg-green-500":e==="lost"?"bg-red-500":"bg-muted-foreground";return Y.jsxs("header",{className:"h-[52px] border-b bg-background flex items-center px-3.5 gap-2",children:[Y.jsx(Kr,{variant:"ghost",size:"icon",onClick:r,"aria-label":"切换文件树",title:"文件树(折叠/展开)",children:n?Y.jsx(B7,{className:"h-4 w-4"}):Y.jsx(z7,{className:"h-4 w-4"})}),Y.jsx("strong",{className:"text-sm font-bold tracking-tight",children:"zview"}),Y.jsx("div",{className:"ml-auto flex items-center gap-2",children:i}),Y.jsxs("div",{className:"flex items-center gap-1.5 text-xs text-muted-foreground",children:[Y.jsx("span",{className:`h-2 w-2 rounded-full ${a}`}),Y.jsx("span",{className:"hidden sm:inline",children:e==="live"?"实时":e==="lost"?"已断开":"连接中"})]}),Y.jsx(Ly,{}),Y.jsx(Fy,{stoppedRef:t})]})}function Jf(e,t){return!t||e.name.toLowerCase().includes(t)?!0:(e.children??[]).some(n=>Jf(n,t))}function By({name:e}){const t=e.slice(e.lastIndexOf(".")).toLowerCase();return[".svg",".png",".jpg",".jpeg",".gif",".webp",".ico"].includes(t)?Y.jsx(F7,{className:"h-3.5 w-3.5 shrink-0 text-muted-foreground"}):Y.jsx(L7,{className:"h-3.5 w-3.5 shrink-0 text-muted-foreground"})}function E3({node:e,depth:t,filter:n,currentPath:r,onSelectFile:i}){const a=(e.children??[]).filter(l=>Jf(l,n)),[s,u]=pe.useState(!e.defaultCollapsed),o=n?!0:s;return!a.length&&n?null:Y.jsxs("div",{children:[Y.jsxs("button",{onClick:()=>u(l=>!l),className:"w-full flex items-center gap-1 px-2 py-1 text-xs text-foreground hover:bg-muted",style:{paddingLeft:8+t*14},children:[Y.jsx(O7,{className:`h-3 w-3 shrink-0 text-muted-foreground transition-transform ${o?"rotate-90":""}`}),Y.jsx("span",{className:"font-medium truncate",children:e.name})]}),o&&a.map(l=>l.kind==="dir"?Y.jsx(E3,{node:l,depth:t+1,filter:n,currentPath:r,onSelectFile:i},l.name+t):Y.jsxs("button",{onClick:()=>l.path&&i(l.path),className:`w-full flex items-center gap-1.5 pr-2 py-1 text-xs border-l-2 border-transparent hover:bg-muted ${r===l.path?"bg-muted font-medium border-primary":"text-muted-foreground"}`,style:{paddingLeft:20+t*14},children:[Y.jsx(By,{name:l.name}),Y.jsx("span",{className:"truncate",children:l.name})]},l.path))]})}function zy({open:e,currentPath:t,onSelectFile:n,onSelectLog:r,onSelectPlugin:i,plugins:a,activeMode:s,refreshKey:u}){const[o,l]=pe.useState(null),[d,c]=pe.useState(""),[h,m]=pe.useState(!1),[E,v]=pe.useState(null);pe.useEffect(()=>{fetch("/__files",{cache:"no-store"}).then(y=>y.json()).then(l)},[u]),pe.useEffect(()=>{m(!1),v(null)},[t]);const A=pe.useMemo(()=>((o==null?void 0:o.tree)??[]).filter(y=>Jf(y,d)),[o,d]),b=y=>{i(y.mode,y.label,y.icon??""),v(y.mode),m(!1)};return Y.jsxs("aside",{className:`border-r bg-background overflow-auto fixed sm:static z-20 h-full sm:h-auto w-[78%] max-w-[280px] sm:max-w-none sm:w-[280px] transition-transform duration-200 ${e?"translate-x-0":"-translate-x-full sm:hidden"}`,children:[Y.jsx("div",{className:"p-2 sticky top-0 bg-background z-10 border-b",children:Y.jsx("input",{value:d,onChange:y=>c(y.target.value.toLowerCase()),placeholder:"过滤…",className:"w-full h-7 px-2 text-xs rounded border border-border bg-background focus:outline-none focus:border-primary"})}),(o==null?void 0:o.hasJust)&&Y.jsxs("button",{onClick:()=>{r(),m(!0),v(null)},className:`w-full flex items-center gap-2 px-3 py-2 mx-0 my-1 text-xs border-l-2 border-transparent hover:bg-muted ${h?"bg-muted font-medium border-primary text-foreground":"text-foreground"}`,children:[Y.jsx(Y7,{className:"h-3.5 w-3.5 text-muted-foreground"}),Y.jsx("span",{children:"服务日志"}),Y.jsx("span",{className:"ml-auto text-[10px] text-muted-foreground font-mono",children:"just"})]}),a.map(y=>{const T=E===y.mode;return Y.jsxs("button",{onClick:()=>b(y),className:`w-full flex items-center gap-2 px-3 py-2 mx-0 my-1 text-xs border-l-2 border-transparent hover:bg-muted ${T?"bg-muted font-medium border-primary text-foreground":"text-foreground"}`,children:[Y.jsx("span",{className:"text-sm leading-none",children:y.icon}),Y.jsx("span",{children:y.label}),Y.jsx("span",{className:"ml-auto text-[10px] text-muted-foreground font-mono",children:y.mode})]},y.mode)}),o?Y.jsxs("div",{className:"py-1",children:[A.map(y=>Y.jsx(E3,{node:y,depth:0,filter:d,currentPath:t,onSelectFile:n},y.name)),!A.length&&Y.jsx("p",{className:"p-3 text-xs text-muted-foreground",children:"无匹配"})]}):Y.jsx("p",{className:"p-3 text-xs text-muted-foreground",children:"加载中…"})]})}var y3={};const Pr=[[{color:"0, 0, 0",class:"ansi-black"},{color:"187, 0, 0",class:"ansi-red"},{color:"0, 187, 0",class:"ansi-green"},{color:"187, 187, 0",class:"ansi-yellow"},{color:"0, 0, 187",class:"ansi-blue"},{color:"187, 0, 187",class:"ansi-magenta"},{color:"0, 187, 187",class:"ansi-cyan"},{color:"255,255,255",class:"ansi-white"}],[{color:"85, 85, 85",class:"ansi-bright-black"},{color:"255, 85, 85",class:"ansi-bright-red"},{color:"0, 255, 0",class:"ansi-bright-green"},{color:"255, 255, 85",class:"ansi-bright-yellow"},{color:"85, 85, 255",class:"ansi-bright-blue"},{color:"255, 85, 255",class:"ansi-bright-magenta"},{color:"85, 255, 255",class:"ansi-bright-cyan"},{color:"255, 255, 255",class:"ansi-bright-white"}]],Uy=/(https?:\/\/(?:[A-Za-z0-9#;/?:@=+$',_.!~*()[\]-]|&|%[A-Fa-f0-9]{2})+)/gm;class Ci{static escapeForHtml(t){return new Ci().escapeForHtml(t)}static linkify(t){return new Ci().linkify(t)}static ansiToHtml(t,n){return new Ci().ansiToHtml(t,n)}static ansiToJson(t,n){return new Ci().ansiToJson(t,n)}static ansiToText(t){return new Ci().ansiToText(t)}constructor(){this.fg=this.bg=this.fg_truecolor=this.bg_truecolor=null,this.bright=0,this.decorations=[]}setupPalette(){this.PALETTE_COLORS=[];for(let i=0;i<2;++i)for(let a=0;a<8;++a)this.PALETTE_COLORS.push(Pr[i][a].color);let t=[0,95,135,175,215,255],n=(i,a,s)=>t[i]+", "+t[a]+", "+t[s];for(let i=0;i<6;++i)for(let a=0;a<6;++a)for(let s=0;s<6;++s)this.PALETTE_COLORS.push(n(i,a,s));let r=8;for(let i=0;i<24;++i,r+=10)this.PALETTE_COLORS.push(r+", "+r+", "+r)}escapeForHtml(t){return t.replace(/[&<>\"]/gm,n=>n=="&"?"&":n=='"'?""":n=="<"?"<":n==">"?">":"")}linkify(t){return t.replace(Uy,n=>`<a href="${n}">${n}</a>`)}ansiToHtml(t,n){return this.process(t,n,!0)}ansiToJson(t,n){return n=n||{},n.json=!0,n.clearLine=!1,this.process(t,n,!0)}ansiToText(t){return this.process(t,{},!1)}process(t,n,r){let i=this,a=t.split(/\033\[/),s=a.shift();n==null&&(n={}),n.clearLine=/\r/.test(t);let u=a.map(o=>this.processChunk(o,n,r));if(n&&n.json){let o=i.processChunkJson("");return o.content=s,o.clearLine=n.clearLine,u.unshift(o),n.remove_empty&&(u=u.filter(l=>!l.isEmpty())),u}else u.unshift(s);return u.join("")}processChunkJson(t,n,r){n=typeof n>"u"?{}:n;let i=n.use_classes=typeof n.use_classes<"u"&&n.use_classes,a=n.key=i?"class":"color",s={content:t,fg:null,bg:null,fg_truecolor:null,bg_truecolor:null,isInverted:!1,clearLine:n.clearLine,decoration:null,decorations:[],was_processed:!1,isEmpty:()=>!s.content},u=t.match(/^([!\x3c-\x3f]*)([\d;]*)([\x20-\x2c]*[\x40-\x7e])([\s\S]*)/m);if(!u)return s;s.content=u[4];let o=u[2].split(";");if(u[1]!==""||u[3]!=="m"||!r)return s;let l=this;for(;o.length>0;){let d=o.shift(),c=parseInt(d);if(isNaN(c)||c===0)l.fg=l.bg=null,l.decorations=[];else if(c===1)l.decorations.push("bold");else if(c===2)l.decorations.push("dim");else if(c===3)l.decorations.push("italic");else if(c===4)l.decorations.push("underline");else if(c===5)l.decorations.push("blink");else if(c===7)l.decorations.push("reverse");else if(c===8)l.decorations.push("hidden");else if(c===9)l.decorations.push("strikethrough");else if(c===21)l.removeDecoration("bold");else if(c===22)l.removeDecoration("bold"),l.removeDecoration("dim");else if(c===23)l.removeDecoration("italic");else if(c===24)l.removeDecoration("underline");else if(c===25)l.removeDecoration("blink");else if(c===27)l.removeDecoration("reverse");else if(c===28)l.removeDecoration("hidden");else if(c===29)l.removeDecoration("strikethrough");else if(c===39)l.fg=null;else if(c===49)l.bg=null;else if(c>=30&&c<38)l.fg=Pr[0][c%10][a];else if(c>=90&&c<98)l.fg=Pr[1][c%10][a];else if(c>=40&&c<48)l.bg=Pr[0][c%10][a];else if(c>=100&&c<108)l.bg=Pr[1][c%10][a];else if(c===38||c===48){let h=c===38;if(o.length>=1){let m=o.shift();if(m==="5"&&o.length>=1){let E=parseInt(o.shift());if(E>=0&&E<=255)if(!i)this.PALETTE_COLORS||l.setupPalette(),h?l.fg=this.PALETTE_COLORS[E]:l.bg=this.PALETTE_COLORS[E];else{let v=E>=16?"ansi-palette-"+E:Pr[E>7?1:0][E%8].class;h?l.fg=v:l.bg=v}}else if(m==="2"&&o.length>=3){let E=parseInt(o.shift()),v=parseInt(o.shift()),A=parseInt(o.shift());if(E>=0&&E<=255&&v>=0&&v<=255&&A>=0&&A<=255){let b=E+", "+v+", "+A;i?h?(l.fg="ansi-truecolor",l.fg_truecolor=b):(l.bg="ansi-truecolor",l.bg_truecolor=b):h?l.fg=b:l.bg=b}}}}}return l.fg===null&&l.bg===null&&l.decorations.length===0||(s.fg=l.fg,s.bg=l.bg,s.fg_truecolor=l.fg_truecolor,s.bg_truecolor=l.bg_truecolor,s.decorations=l.decorations,s.decoration=l.decorations.slice(-1).pop()||null,s.was_processed=!0),s}processChunk(t,n,r){n=n||{};let i=this.processChunkJson(t,n,r),a=n.use_classes;if(i.decorations=i.decorations.filter(c=>{if(c==="reverse"){i.fg||(i.fg=Pr[0][7][a?"class":"color"]),i.bg||(i.bg=Pr[0][0][a?"class":"color"]);let h=i.fg;i.fg=i.bg,i.bg=h;let m=i.fg_truecolor;return i.fg_truecolor=i.bg_truecolor,i.bg_truecolor=m,i.isInverted=!0,!1}return!0}),n.json)return i;if(i.isEmpty())return"";if(!i.was_processed)return i.content;let s=[],u=[],o=[],l={},d=c=>{let h=[],m;for(m in c)c.hasOwnProperty(m)&&h.push("data-"+m+'="'+this.escapeForHtml(c[m])+'"');return h.length>0?" "+h.join(" "):""};return i.isInverted&&(l["ansi-is-inverted"]="true"),i.fg&&(a?(s.push(i.fg+"-fg"),i.fg_truecolor!==null&&(l["ansi-truecolor-fg"]=i.fg_truecolor,i.fg_truecolor=null)):s.push("color:rgb("+i.fg+")")),i.bg&&(a?(s.push(i.bg+"-bg"),i.bg_truecolor!==null&&(l["ansi-truecolor-bg"]=i.bg_truecolor,i.bg_truecolor=null)):s.push("background-color:rgb("+i.bg+")")),i.decorations.forEach(c=>{if(a){u.push("ansi-"+c);return}c==="bold"?u.push("font-weight:bold"):c==="dim"?u.push("opacity:0.5"):c==="italic"?u.push("font-style:italic"):c==="hidden"?u.push("visibility:hidden"):c==="strikethrough"?o.push("line-through"):o.push(c)}),o.length&&u.push("text-decoration:"+o.join(" ")),a?'<span class="'+s.concat(u).join(" ")+'"'+d(l)+">"+i.content+"</span>":'<span style="'+s.concat(u).join(";")+'"'+d(l)+">"+i.content+"</span>"}removeDecoration(t){const n=this.decorations.indexOf(t);n>=0&&this.decorations.splice(n,1)}}var Hy=Ci,Rl={exports:{}};function e1(e){if(!e)return"";if(!/\r/.test(e))return e;for(e=e.replace(/\r+\n/gm,`
|
|
136
|
+
`);/\r./.test(e);)e=e.replace(/^([^\r\n]*)\r+([^\r\n]+)/gm,function(t,n,r){return r+n.slice(r.length)});return e}function $y(e){for(var t=0,n=0;n<e.length;n++)e[t].length<=e[n].length&&(t=n);return t}function um(e){if(!/\r/.test(e))return e;for(var t=e.split("\r"),n=[];t.length>0;){var r=$y(t);n.push(t[r]),t=t.slice(r+1)}return n.join("\r")}function qy(e){if(!e)return"";if(!/\r/.test(e))return e;if(!/\n/.test(e))return um(e);e=e.replace(/\r+\n/gm,`
|
|
137
|
+
`);var t=e.lastIndexOf(`
|
|
138
|
+
`);return e1(e.slice(0,t))+`
|
|
139
|
+
`+um(e.slice(t+1))}Rl.exports=e1;Rl.exports.escapeCarriageReturn=e1;Rl.exports.escapeCarriageReturnSafe=qy;var Gy=Rl.exports,O0,om;function Yy(){return om||(om=1,O0=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),O0}var R0,lm;function Wy(){return lm||(lm=1,R0=/[\0-\x1F\x7F-\x9F]/),R0}var M0,cm;function Vy(){return cm||(cm=1,M0=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),M0}var L0,dm;function jy(){return dm||(dm=1,L0=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/),L0}var F0,fm;function Ky(){return fm||(fm=1,F0=function(e){var t={};t.src_Any=Yy().source,t.src_Cc=Wy().source,t.src_Z=Vy().source,t.src_P=jy().source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");var n="[><|]";return t.src_pseudo_letter="(?:(?!"+n+"|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|"+n+"|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+n+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+").|;(?!"+t.src_ZCc+").|\\!+(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}),F0}function gd(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach(function(n){n&&Object.keys(n).forEach(function(r){e[r]=n[r]})}),e}function Ml(e){return Object.prototype.toString.call(e)}function Xy(e){return Ml(e)==="[object String]"}function Qy(e){return Ml(e)==="[object Object]"}function Zy(e){return Ml(e)==="[object RegExp]"}function hm(e){return Ml(e)==="[object Function]"}function Jy(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var v3={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function ev(e){return Object.keys(e||{}).reduce(function(t,n){return t||v3.hasOwnProperty(n)},!1)}var tv={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},nv="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",rv="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function iv(e){e.__index__=-1,e.__text_cache__=""}function av(e){return function(t,n){var r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}function mm(){return function(e,t){t.normalize(e)}}function nl(e){var t=e.re=Ky()(e.__opts__),n=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||n.push(nv),n.push(t.src_xn),t.src_tlds=n.join("|");function r(u){return u.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(r(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(r(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(r(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(r(t.tpl_host_fuzzy_test),"i");var i=[];e.__compiled__={};function a(u,o){throw new Error('(LinkifyIt) Invalid schema "'+u+'": '+o)}Object.keys(e.__schemas__).forEach(function(u){var o=e.__schemas__[u];if(o!==null){var l={validate:null,link:null};if(e.__compiled__[u]=l,Qy(o)){Zy(o.validate)?l.validate=av(o.validate):hm(o.validate)?l.validate=o.validate:a(u,o),hm(o.normalize)?l.normalize=o.normalize:o.normalize?a(u,o):l.normalize=mm();return}if(Xy(o)){i.push(u);return}a(u,o)}}),i.forEach(function(u){e.__compiled__[e.__schemas__[u]]&&(e.__compiled__[u].validate=e.__compiled__[e.__schemas__[u]].validate,e.__compiled__[u].normalize=e.__compiled__[e.__schemas__[u]].normalize)}),e.__compiled__[""]={validate:null,normalize:mm()};var s=Object.keys(e.__compiled__).filter(function(u){return u.length>0&&e.__compiled__[u]}).map(Jy).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+s+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+s+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),iv(e)}function sv(e,t){var n=e.__index__,r=e.__last_index__,i=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=i,this.text=i,this.url=i}function pm(e,t){var n=new sv(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function Dn(e,t){if(!(this instanceof Dn))return new Dn(e,t);t||ev(e)&&(t=e,e={}),this.__opts__=gd({},v3,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=gd({},tv,e),this.__compiled__={},this.__tlds__=rv,this.__tlds_replaced__=!1,this.re={},nl(this)}Dn.prototype.add=function(t,n){return this.__schemas__[t]=n,nl(this),this};Dn.prototype.set=function(t){return this.__opts__=gd(this.__opts__,t),this};Dn.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;var n,r,i,a,s,u,o,l,d;if(this.re.schema_test.test(t)){for(o=this.re.schema_search,o.lastIndex=0;(n=o.exec(t))!==null;)if(a=this.testSchemaAt(t,n[2],o.lastIndex),a){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+a;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=t.search(this.re.host_fuzzy_test),l>=0&&(this.__index__<0||l<this.__index__)&&(r=t.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(s=r.index+r[1].length,(this.__index__<0||s<this.__index__)&&(this.__schema__="",this.__index__=s,this.__last_index__=r.index+r[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(d=t.indexOf("@"),d>=0&&(i=t.match(this.re.email_fuzzy))!==null&&(s=i.index+i[1].length,u=i.index+i[0].length,(this.__index__<0||s<this.__index__||s===this.__index__&&u>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=s,this.__last_index__=u))),this.__index__>=0};Dn.prototype.pretest=function(t){return this.re.pretest.test(t)};Dn.prototype.testSchemaAt=function(t,n,r){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(t,r,this):0};Dn.prototype.match=function(t){var n=0,r=[];this.__index__>=0&&this.__text_cache__===t&&(r.push(pm(this,n)),n=this.__last_index__);for(var i=n?t.slice(n):t;this.test(i);)r.push(pm(this,n)),i=i.slice(this.__last_index__),n+=this.__last_index__;return r.length?r:null};Dn.prototype.tlds=function(t,n){return t=Array.isArray(t)?t:[t],n?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(r,i,a){return r!==a[i-1]}).reverse(),nl(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,nl(this),this)};Dn.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)};Dn.prototype.onCompile=function(){};var uv=Dn,ov=kn&&kn.__createBinding||(Object.create?function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]}),lv=kn&&kn.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),cv=kn&&kn.__importStar||function(){var e=function(t){return e=Object.getOwnPropertyNames||function(n){var r=[];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[r.length]=i);return r},e(t)};return function(t){if(t&&t.__esModule)return t;var n={};if(t!=null)for(var r=e(t),i=0;i<r.length;i++)r[i]!=="default"&&ov(n,t,r[i]);return lv(n,t),n}}(),_3=kn&&kn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(y3,"__esModule",{value:!0});var dv=y3.default=_v;const fv=_3(Hy),hv=Gy,mv=_3(uv),Xr=cv(pe);function pv(e,t=!1){return e=(0,hv.escapeCarriageReturn)(Tv(e)),fv.default.ansiToJson(e,{json:!0,remove_empty:!0,use_classes:t})}function gv(e){let t="";return e.bg&&(t+=`${e.bg}-bg `),e.fg&&(t+=`${e.fg}-fg `),e.decoration&&(t+=`ansi-${e.decoration} `),t===""?null:(t=t.substring(0,t.length-1),t)}function bv(e){const t={};switch(e.bg&&(t.backgroundColor=`rgb(${e.bg})`),e.fg&&(t.color=`rgb(${e.fg})`),e.decoration){case"bold":t.fontWeight="bold";break;case"dim":t.opacity="0.5";break;case"italic":t.fontStyle="italic";break;case"hidden":t.visibility="hidden";break;case"strikethrough":t.textDecoration="line-through";break;case"underline":t.textDecoration="underline";break;case"blink":t.textDecoration="blink";break}return t}function Ev(e,t,n,r){const i=t?null:bv(n),a=t?gv(n):null;return e?e==="fuzzy"?vv(n,r,i,a):yv(n,r,i,a):Xr.createElement("span",{style:i,key:r,className:a},n.content)}function yv(e,t,n,r){const i=[],a=/(\s|^)(https?:\/\/(?:www\.|(?!www))[^\s.]+\.[^\s]{2,}|www\.[^\s]+\.[^\s]{2,})/g;let s=0,u;for(;(u=a.exec(e.content))!==null;){const[,o,l]=u,d=u.index+o.length;d>s&&i.push(e.content.substring(s,d));const c=l.startsWith("www.")?`http://${l}`:l;i.push(Xr.createElement("a",{key:s,href:c,target:"_blank"},`${l}`)),s=a.lastIndex}return s<e.content.length&&i.push(e.content.substring(s)),Xr.createElement("span",{style:n,key:t,className:r},i)}function vv(e,t,n,r){var i;const a=(0,mv.default)({fuzzyEmail:!1}).tlds(["io"],!0);if(!a.pretest(e.content))return Xr.createElement("span",{style:n,key:t,className:r},e.content);const s=a.match(e.content);if(!s)return Xr.createElement("span",{style:n,key:t,className:r},e.content);const u=[e.content.substring(0,(i=s[0])===null||i===void 0?void 0:i.index)];return s.forEach((o,l)=>{var d;u.push(Xr.createElement("a",{href:o.url,target:"_blank",key:l},e.content.substring(o.index,o.lastIndex))),s[l+1]&&u.push(e.content.substring(s[l].lastIndex,(d=s[l+1])===null||d===void 0?void 0:d.index))}),s[s.length-1].lastIndex!==e.content.length&&u.push(e.content.substring(s[s.length-1].lastIndex,e.content.length)),Xr.createElement("span",{style:n,key:t,className:r},u)}function _v(e){const{className:t,useClasses:n,children:r,linkify:i}=e;return Xr.createElement("code",{className:t},pv(r??"",n??!1).map(Ev.bind(null,i??!1,n??!1)))}function Tv(e){let t=e;do e=t,t=e.replace(/[^\n]\x08/gm,"");while(t.length<e.length);return e}function xv(e){return/^\[(ERROR|FATAL)\]/.test(e)||/^ERROR\b/.test(e)?"text-red-400":/^\[(WARN|WARNING)\]/.test(e)||/^WARN(ING)?\b/.test(e)?"text-amber-400":/^\[DEBUG\]/.test(e)||/^DEBUG\b/.test(e)?"text-sky-400":/^\[(INFO|DOWNLOAD|PROGRESS)\]/.test(e)||/^INFO\b/.test(e)?"text-emerald-400":"text-zinc-200"}function Av(){const[e,t]=pe.useState([]),[n,r]=pe.useState({state:"idle",recipe:null,code:null}),[i,a]=pe.useState([]),[s,u]=pe.useState(""),[o,l]=pe.useState(!0),d=pe.useRef(""),c=pe.useRef(null);pe.useEffect(()=>{fetch("/__just/recipes",{cache:"no-store"}).then(b=>b.json()).then(b=>{t(b),b[0]&&u(b[0].name)}),fetch("/__config").then(b=>b.json()).then(b=>{d.current=b.stopToken??""});const A=new EventSource("/__just/logs");return A.onmessage=b=>{try{const y=JSON.parse(b.data);y.type==="log"?a(T=>{const D=[...T,y.text];return D.length>1e3?D.slice(-1e3):D}):y.type==="clear"?a([]):y.type==="state"&&r({state:y.state,recipe:y.recipe,code:y.code})}catch{}},A.onerror=()=>{A.close()},()=>A.close()},[]),pe.useEffect(()=>{o&&c.current&&(c.current.scrollTop=c.current.scrollHeight)},[i,o]);const h=()=>{const A=c.current;A&&l(A.scrollHeight-A.scrollTop-A.clientHeight<40)},m=A=>{const b=A==="stop"?"{}":JSON.stringify({recipe:s});fetch(`/__just/${A}`,{method:"POST",headers:{"x-stop-token":d.current},body:b}).then(y=>y.json()).then(y=>r(y)).catch(()=>{}),A!=="stop"&&l(!0)},E=n.state==="running"?"bg-green-500":n.state==="exited"&&n.code?"bg-red-500":"bg-muted-foreground",v=n.state==="running"?`运行中 · ${n.recipe??""}`:n.state==="exited"?`已退出${n.code!=null?` (code ${n.code})`:""}`:"未运行";return Y.jsxs("div",{className:"h-full flex flex-col bg-[#0d1117] rounded-lg border overflow-hidden",children:[Y.jsxs("div",{className:"flex-none flex items-center gap-2 px-3 h-11 border-b border-white/10 text-xs text-zinc-300",children:[Y.jsx("span",{className:`h-2 w-2 rounded-full flex-none ${E}`}),Y.jsx("span",{className:"text-zinc-400 truncate",children:v}),Y.jsx("select",{value:n.recipe&&n.state==="running"?n.recipe:s,onChange:A=>u(A.target.value),disabled:n.state==="running",className:"h-7 rounded bg-white/5 border border-white/15 px-1.5 text-zinc-200 focus:outline-none disabled:opacity-50",children:e.map(A=>Y.jsxs("option",{value:A.name,className:"bg-[#161b22]",children:[A.name,A.description?` — ${A.description}`:""]},A.name))}),Y.jsxs("div",{className:"ml-auto flex items-center gap-1.5",children:[n.state==="running"?Y.jsxs(Kr,{size:"sm",variant:"secondary",className:"h-7 gap-1 px-2.5 text-xs",onClick:()=>m("stop"),children:[Y.jsx(q7,{className:"h-3 w-3"}),"停止"]}):Y.jsxs(Kr,{size:"sm",variant:"secondary",className:"h-7 gap-1 px-2.5 text-xs",onClick:()=>m("start"),disabled:!s,children:[Y.jsx(U7,{className:"h-3 w-3"}),"启动"]}),Y.jsxs(Kr,{size:"sm",variant:"ghost",className:"h-7 gap-1 px-2.5 text-xs text-zinc-300 hover:text-zinc-100 hover:bg-white/10",onClick:()=>m("restart"),disabled:!n.recipe&&!s,children:[Y.jsx($7,{className:"h-3 w-3"}),"重启"]}),Y.jsxs(Kr,{size:"sm",variant:"ghost",className:"h-7 gap-1 px-2.5 text-xs text-zinc-300 hover:text-zinc-100 hover:bg-white/10",onClick:()=>a([]),children:[Y.jsx(R7,{className:"h-3 w-3"}),"清屏"]})]})]}),Y.jsxs("div",{ref:c,onScroll:h,className:"flex-1 min-h-0 overflow-auto p-3 font-mono text-xs leading-relaxed text-zinc-200",children:[i.length===0&&Y.jsx("p",{className:"text-zinc-500",children:"选择 recipe 点「启动」,日志会实时流到这里。"}),i.map((A,b)=>{const y=A.replace(/\r?\n$/,"");return Y.jsx("div",{className:"whitespace-pre-wrap break-all min-h-[1.25rem]",children:/\x1b\[/.test(y)?Y.jsx(dv,{children:y}):Y.jsx("span",{className:xv(y),children:y})},b)})]}),!o&&Y.jsxs("button",{onClick:()=>{l(!0),c.current&&(c.current.scrollTop=c.current.scrollHeight)},className:"absolute bottom-16 right-8 z-10 flex items-center gap-1 px-2.5 h-7 rounded-full bg-zinc-700 text-white text-xs shadow-lg hover:bg-zinc-600",children:[Y.jsx(I7,{className:"h-3 w-3"}),"回到底部"]})]})}function gm(e){const t=[],n=String(e||"");let r=n.indexOf(","),i=0,a=!1;for(;!a;){r===-1&&(r=n.length,a=!0);const s=n.slice(i,r).trim();(s||!a)&&t.push(s),i=r+1,r=n.indexOf(",",i)}return t}function T3(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const wv=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Sv=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,kv={};function bm(e,t){return(kv.jsx?Sv:wv).test(e)}const Cv=/[ \t\n\f\r]/g;function Nv(e){return typeof e=="object"?e.type==="text"?Em(e.value):!1:Em(e)}function Em(e){return e.replace(Cv,"")===""}class Eu{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}Eu.prototype.normal={};Eu.prototype.property={};Eu.prototype.space=void 0;function x3(e,t){const n={},r={};for(const i of e)Object.assign(n,i.property),Object.assign(r,i.normal);return new Eu(n,r,t)}function iu(e){return e.toLowerCase()}class tn{constructor(t,n){this.attribute=n,this.property=t}}tn.prototype.attribute="";tn.prototype.booleanish=!1;tn.prototype.boolean=!1;tn.prototype.commaOrSpaceSeparated=!1;tn.prototype.commaSeparated=!1;tn.prototype.defined=!1;tn.prototype.mustUseProperty=!1;tn.prototype.number=!1;tn.prototype.overloadedBoolean=!1;tn.prototype.property="";tn.prototype.spaceSeparated=!1;tn.prototype.space=void 0;let Dv=0;const _e=ji(),lt=ji(),bd=ji(),ne=ji(),Ue=ji(),Fi=ji(),on=ji();function ji(){return 2**++Dv}const Ed=Object.freeze(Object.defineProperty({__proto__:null,boolean:_e,booleanish:lt,commaOrSpaceSeparated:on,commaSeparated:Fi,number:ne,overloadedBoolean:bd,spaceSeparated:Ue},Symbol.toStringTag,{value:"Module"})),P0=Object.keys(Ed);class t1 extends tn{constructor(t,n,r,i){let a=-1;if(super(t,n),ym(this,"space",i),typeof r=="number")for(;++a<P0.length;){const s=P0[a];ym(this,P0[a],(r&Ed[s])===Ed[s])}}}t1.prototype.defined=!0;function ym(e,t,n){n&&(e[t]=n)}function Ga(e){const t={},n={};for(const[r,i]of Object.entries(e.properties)){const a=new t1(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[iu(r)]=r,n[iu(a.attribute)]=r}return new Eu(t,n,e.space)}const A3=Ga({properties:{ariaActiveDescendant:null,ariaAtomic:lt,ariaAutoComplete:null,ariaBusy:lt,ariaChecked:lt,ariaColCount:ne,ariaColIndex:ne,ariaColSpan:ne,ariaControls:Ue,ariaCurrent:null,ariaDescribedBy:Ue,ariaDetails:null,ariaDisabled:lt,ariaDropEffect:Ue,ariaErrorMessage:null,ariaExpanded:lt,ariaFlowTo:Ue,ariaGrabbed:lt,ariaHasPopup:null,ariaHidden:lt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ue,ariaLevel:ne,ariaLive:null,ariaModal:lt,ariaMultiLine:lt,ariaMultiSelectable:lt,ariaOrientation:null,ariaOwns:Ue,ariaPlaceholder:null,ariaPosInSet:ne,ariaPressed:lt,ariaReadOnly:lt,ariaRelevant:null,ariaRequired:lt,ariaRoleDescription:Ue,ariaRowCount:ne,ariaRowIndex:ne,ariaRowSpan:ne,ariaSelected:lt,ariaSetSize:ne,ariaSort:null,ariaValueMax:ne,ariaValueMin:ne,ariaValueNow:ne,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function w3(e,t){return t in e?e[t]:t}function S3(e,t){return w3(e,t.toLowerCase())}const Iv=Ga({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Fi,acceptCharset:Ue,accessKey:Ue,action:null,allow:null,allowFullScreen:_e,allowPaymentRequest:_e,allowUserMedia:_e,alpha:_e,alt:null,as:null,async:_e,autoCapitalize:null,autoComplete:Ue,autoFocus:_e,autoPlay:_e,blocking:Ue,capture:null,charSet:null,checked:_e,cite:null,className:Ue,closedBy:null,colorSpace:null,cols:ne,colSpan:ne,command:null,commandFor:null,content:null,contentEditable:lt,controls:_e,controlsList:Ue,coords:ne|Fi,crossOrigin:null,data:null,dateTime:null,decoding:null,default:_e,defer:_e,dir:null,dirName:null,disabled:_e,download:bd,draggable:lt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:_e,formTarget:null,headers:Ue,height:ne,hidden:bd,high:ne,href:null,hrefLang:null,htmlFor:Ue,httpEquiv:Ue,id:null,imageSizes:null,imageSrcSet:null,inert:_e,inputMode:null,integrity:null,is:null,isMap:_e,itemId:null,itemProp:Ue,itemRef:Ue,itemScope:_e,itemType:Ue,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:_e,low:ne,manifest:null,max:null,maxLength:ne,media:null,method:null,min:null,minLength:ne,multiple:_e,muted:_e,name:null,nonce:null,noModule:_e,noValidate:_e,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:_e,optimum:ne,pattern:null,ping:Ue,placeholder:null,playsInline:_e,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:_e,referrerPolicy:null,rel:Ue,required:_e,reversed:_e,rows:ne,rowSpan:ne,sandbox:Ue,scope:null,scoped:_e,seamless:_e,selected:_e,shadowRootClonable:_e,shadowRootCustomElementRegistry:_e,shadowRootDelegatesFocus:_e,shadowRootMode:null,shadowRootSerializable:_e,shape:null,size:ne,sizes:null,slot:null,span:ne,spellCheck:lt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ne,step:null,style:null,tabIndex:ne,target:null,title:null,translate:null,type:null,typeMustMatch:_e,useMap:null,value:lt,width:ne,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Ue,axis:null,background:null,bgColor:null,border:ne,borderColor:null,bottomMargin:ne,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:_e,declare:_e,event:null,face:null,frame:null,frameBorder:null,hSpace:ne,leftMargin:ne,link:null,longDesc:null,lowSrc:null,marginHeight:ne,marginWidth:ne,noResize:_e,noHref:_e,noShade:_e,noWrap:_e,object:null,profile:null,prompt:null,rev:null,rightMargin:ne,rules:null,scheme:null,scrolling:lt,standby:null,summary:null,text:null,topMargin:ne,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ne,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:_e,disablePictureInPicture:_e,disableRemotePlayback:_e,exportParts:Fi,part:Ue,prefix:null,property:null,results:ne,security:null,unselectable:null},space:"html",transform:S3}),Ov=Ga({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",maskType:"mask-type",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:on,accentHeight:ne,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ne,amplitude:ne,arabicForm:null,ascent:ne,attributeName:null,attributeType:null,azimuth:ne,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ne,by:null,calcMode:null,capHeight:ne,className:Ue,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:ne,diffuseConstant:ne,direction:null,display:null,dur:null,divisor:ne,dominantBaseline:null,download:_e,dx:null,dy:null,edgeMode:null,editable:null,elevation:ne,enableBackground:null,end:null,event:null,exponent:ne,externalResourcesRequired:null,fill:null,fillOpacity:ne,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:Fi,g2:Fi,glyphName:Fi,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ne,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ne,horizOriginX:ne,horizOriginY:ne,id:null,ideographic:ne,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ne,k:ne,k1:ne,k2:ne,k3:ne,k4:ne,kernelMatrix:on,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ne,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:ne,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:ne,overlineThickness:ne,paintOrder:null,panose1:null,path:null,pathLength:ne,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Ue,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ne,pointsAtY:ne,pointsAtZ:ne,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:on,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:on,rev:on,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:on,requiredFeatures:on,requiredFonts:on,requiredFormats:on,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:ne,specularExponent:ne,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ne,strikethroughThickness:ne,string:null,stroke:null,strokeDashArray:on,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ne,strokeOpacity:ne,strokeWidth:null,style:null,surfaceScale:ne,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:on,tabIndex:ne,tableValues:null,target:null,targetX:ne,targetY:ne,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:on,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:ne,underlineThickness:ne,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ne,values:null,vAlphabetic:ne,vMathematical:ne,vectorEffect:null,vHanging:ne,vIdeographic:ne,version:null,vertAdvY:ne,vertOriginX:ne,vertOriginY:ne,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ne,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:w3}),k3=Ga({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()}}),C3=Ga({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:S3}),N3=Ga({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),Rv={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"},Mv=/[A-Z]/g,vm=/-[a-z]/g,Lv=/^data[-\w.:]+$/i;function Ll(e,t){const n=iu(t);let r=t,i=tn;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Lv.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(vm,Pv);r="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!vm.test(a)){let s=a.replace(Mv,Fv);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}i=t1}return new i(r,t)}function Fv(e){return"-"+e.toLowerCase()}function Pv(e){return e.charAt(1).toUpperCase()}const yu=x3([A3,Iv,k3,C3,N3],"html"),bi=x3([A3,Ov,k3,C3,N3],"svg");function _m(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function D3(e){return e.join(" ").trim()}var n1={},Tm=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Bv=/\n/g,zv=/^\s*/,Uv=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Hv=/^:\s*/,$v=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,qv=/^[;\s]*/,Gv=/^\s+|\s+$/g,Yv=`
|
|
140
|
+
`,xm="/",Am="*",Ni="",Wv="comment",Vv="declaration";function jv(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function i(E){var v=E.match(Bv);v&&(n+=v.length);var A=E.lastIndexOf(Yv);r=~A?E.length-A:r+E.length}function a(){var E={line:n,column:r};return function(v){return v.position=new s(E),l(),v}}function s(E){this.start=E,this.end={line:n,column:r},this.source=t.source}s.prototype.content=e;function u(E){var v=new Error(t.source+":"+n+":"+r+": "+E);if(v.reason=E,v.filename=t.source,v.line=n,v.column=r,v.source=e,!t.silent)throw v}function o(E){var v=E.exec(e);if(v){var A=v[0];return i(A),e=e.slice(A.length),v}}function l(){o(zv)}function d(E){var v;for(E=E||[];v=c();)v!==!1&&E.push(v);return E}function c(){var E=a();if(!(xm!=e.charAt(0)||Am!=e.charAt(1))){for(var v=2;Ni!=e.charAt(v)&&(Am!=e.charAt(v)||xm!=e.charAt(v+1));)++v;if(v+=2,Ni===e.charAt(v-1))return u("End of comment missing");var A=e.slice(2,v-2);return r+=2,i(A),e=e.slice(v),r+=2,E({type:Wv,comment:A})}}function h(){var E=a(),v=o(Uv);if(v){if(c(),!o(Hv))return u("property missing ':'");var A=o($v),b=E({type:Vv,property:wm(v[0].replace(Tm,Ni)),value:A?wm(A[0].replace(Tm,Ni)):Ni});return o(qv),b}}function m(){var E=[];d(E);for(var v;v=h();)v!==!1&&(E.push(v),d(E));return E}return l(),m()}function wm(e){return e?e.replace(Gv,Ni):Ni}var Kv=jv,Xv=kn&&kn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n1,"__esModule",{value:!0});n1.default=Zv;const Qv=Xv(Kv);function Zv(e,t){let n=null;if(!e||typeof e!="string")return n;const r=(0,Qv.default)(e),i=typeof t=="function";return r.forEach(a=>{if(a.type!=="declaration")return;const{property:s,value:u}=a;i?t(s,u,a):u&&(n=n||{},n[s]=u)}),n}var Fl={};Object.defineProperty(Fl,"__esModule",{value:!0});Fl.camelCase=void 0;var Jv=/^--[a-zA-Z0-9_-]+$/,e_=/-([a-z])/g,t_=/^[^-]+$/,n_=/^-(webkit|moz|ms|o|khtml)-/,r_=/^-(ms)-/,i_=function(e){return!e||t_.test(e)||Jv.test(e)},a_=function(e,t){return t.toUpperCase()},Sm=function(e,t){return"".concat(t,"-")},s_=function(e,t){return t===void 0&&(t={}),i_(e)?e:(e=e.toLowerCase(),t.reactCompat?e=e.replace(r_,Sm):e=e.replace(n_,Sm),e.replace(e_,a_))};Fl.camelCase=s_;var u_=kn&&kn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},o_=u_(n1),l_=Fl;function yd(e,t){var n={};return!e||typeof e!="string"||(0,o_.default)(e,function(r,i){r&&i&&(n[(0,l_.camelCase)(r,t)]=i)}),n}yd.default=yd;var c_=yd;const d_=fu(c_),Pl=I3("end"),rr=I3("start");function I3(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function f_(e){const t=rr(e),n=Pl(e);if(t&&n)return{start:t,end:n}}function Is(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?km(e.position):"start"in e||"end"in e?km(e):"line"in e||"column"in e?vd(e):""}function vd(e){return Cm(e&&e.line)+":"+Cm(e&&e.column)}function km(e){return vd(e&&e.start)+"-"+vd(e&&e.end)}function Cm(e){return e&&typeof e=="number"?e:1}class Mt extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",a={},s=!1;if(n&&("line"in n&&"column"in n?a={place:n}:"start"in n&&"end"in n?a={place:n}:"type"in n?a={ancestors:[n],place:n.position}:a={...n}),typeof t=="string"?i=t:!a.cause&&t&&(s=!0,i=t.message,a.cause=t),!a.ruleId&&!a.source&&typeof r=="string"){const o=r.indexOf(":");o===-1?a.ruleId=r:(a.source=r.slice(0,o),a.ruleId=r.slice(o+1))}if(!a.place&&a.ancestors&&a.ancestors){const o=a.ancestors[a.ancestors.length-1];o&&(a.place=o.position)}const u=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=u?u.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=u?u.line:void 0,this.name=Is(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=s&&a.cause&&typeof a.cause.stack=="string"?a.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Mt.prototype.file="";Mt.prototype.name="";Mt.prototype.reason="";Mt.prototype.message="";Mt.prototype.stack="";Mt.prototype.column=void 0;Mt.prototype.line=void 0;Mt.prototype.ancestors=void 0;Mt.prototype.cause=void 0;Mt.prototype.fatal=void 0;Mt.prototype.place=void 0;Mt.prototype.ruleId=void 0;Mt.prototype.source=void 0;const r1={}.hasOwnProperty,h_=new Map,m_=/[A-Z]/g,p_=new Set(["table","tbody","thead","tfoot","tr"]),g_=new Set(["td","th"]),O3="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function b_(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=w_(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");r=A_(n,t.jsx,t.jsxs)}const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,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"?bi:yu,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},a=R3(i,e,void 0);return a&&typeof a!="string"?a:i.create(e,i.Fragment,{children:a||void 0},void 0)}function R3(e,t,n){if(t.type==="element")return E_(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return y_(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return __(e,t,n);if(t.type==="mdxjsEsm")return v_(e,t);if(t.type==="root")return T_(e,t,n);if(t.type==="text")return x_(e,t)}function E_(e,t,n){const r=e.schema;let i=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=bi,e.schema=i),e.ancestors.push(t);const a=L3(e,t.tagName,!1),s=S_(e,t);let u=a1(e,t);return p_.has(t.tagName)&&(u=u.filter(function(o){return typeof o=="string"?!Nv(o):!0})),M3(e,s,a,t),i1(s,u),e.ancestors.pop(),e.schema=r,e.create(t,a,s,n)}function y_(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}au(e,t.position)}function v_(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);au(e,t.position)}function __(e,t,n){const r=e.schema;let i=r;t.name==="svg"&&r.space==="html"&&(i=bi,e.schema=i),e.ancestors.push(t);const a=t.name===null?e.Fragment:L3(e,t.name,!0),s=k_(e,t),u=a1(e,t);return M3(e,s,a,t),i1(s,u),e.ancestors.pop(),e.schema=r,e.create(t,a,s,n)}function T_(e,t,n){const r={};return i1(r,a1(e,t)),e.create(t,e.Fragment,r,n)}function x_(e,t){return t.value}function M3(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function i1(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function A_(e,t,n){return r;function r(i,a,s,u){const l=Array.isArray(s.children)?n:t;return u?l(a,s,u):l(a,s)}}function w_(e,t){return n;function n(r,i,a,s){const u=Array.isArray(a.children),o=rr(r);return t(i,a,s,u,{columnNumber:o?o.column-1:void 0,fileName:e,lineNumber:o?o.line:void 0},void 0)}}function S_(e,t){const n={};let r,i;for(i in t.properties)if(i!=="children"&&r1.call(t.properties,i)){const a=C_(e,i,t.properties[i]);if(a){const[s,u]=a;e.tableCellAlignToStyle&&s==="align"&&typeof u=="string"&&g_.has(t.tagName)?r=u:n[s]=u}}if(r){const a=n.style||(n.style={});a[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function k_(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const a=r.data.estree.body[0];a.type;const s=a.expression;s.type;const u=s.properties[0];u.type,Object.assign(n,e.evaluater.evaluateExpression(u.argument))}else au(e,t.position);else{const i=r.name;let a;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const u=r.value.data.estree.body[0];u.type,a=e.evaluater.evaluateExpression(u.expression)}else au(e,t.position);else a=r.value===null?!0:r.value;n[i]=a}return n}function a1(e,t){const n=[];let r=-1;const i=e.passKeys?new Map:h_;for(;++r<t.children.length;){const a=t.children[r];let s;if(e.passKeys){const o=a.type==="element"?a.tagName:a.type==="mdxJsxFlowElement"||a.type==="mdxJsxTextElement"?a.name:void 0;if(o){const l=i.get(o)||0;s=o+"-"+l,i.set(o,l+1)}}const u=R3(e,a,s);u!==void 0&&n.push(u)}return n}function C_(e,t,n){const r=Ll(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?T3(n):D3(n)),r.property==="style"){let i=typeof n=="object"?n:N_(e,String(n));return e.stylePropertyNameCase==="css"&&(i=D_(i)),["style",i]}return[e.elementAttributeNameCase==="react"&&r.space?Rv[r.property]||r.property:r.attribute,n]}}function N_(e,t){try{return d_(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const r=n,i=new Mt("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw i.file=e.filePath||void 0,i.url=O3+"#cannot-parse-style-attribute",i}}function L3(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const i=t.split(".");let a=-1,s;for(;++a<i.length;){const u=bm(i[a])?{type:"Identifier",name:i[a]}:{type:"Literal",value:i[a]};s=s?{type:"MemberExpression",object:s,property:u,computed:!!(a&&u.type==="Literal"),optional:!1}:u}r=s}else r=bm(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const i=r.value;return r1.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(r);au(e)}function au(e,t){const n=new Mt("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=O3+"#cannot-handle-mdx-estrees-without-createevaluater",n}function D_(e){const t={};let n;for(n in e)r1.call(e,n)&&(t[I_(n)]=e[n]);return t}function I_(e){let t=e.replace(m_,O_);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function O_(e){return"-"+e.toLowerCase()}const B0={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"]},R_={};function s1(e,t){const n=R_,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return F3(e,r,i)}function F3(e,t,n){if(M_(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 Nm(e.children,t,n)}return Array.isArray(e)?Nm(e,t,n):""}function Nm(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=F3(e[i],t,n);return r.join("")}function M_(e){return!!(e&&typeof e=="object")}const Dm=document.createElement("i");function u1(e){const t="&"+e+";";Dm.innerHTML=t;const n=Dm.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function fn(e,t,n,r){const i=e.length;let a=0,s;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)s=Array.from(r),s.unshift(t,n),e.splice(...s);else for(n&&e.splice(t,n);a<r.length;)s=r.slice(a,a+1e4),s.unshift(t,0),e.splice(...s),a+=1e4,t+=1e4}function Tn(e,t){return e.length>0?(fn(e,e.length,0,t),e):t}const Im={}.hasOwnProperty;function P3(e){const t={};let n=-1;for(;++n<e.length;)L_(t,e[n]);return t}function L_(e,t){let n;for(n in t){const i=(Im.call(e,n)?e[n]:void 0)||(e[n]={}),a=t[n];let s;if(a)for(s in a){Im.call(i,s)||(i[s]=[]);const u=a[s];F_(i[s],Array.isArray(u)?u:u?[u]:[])}}}function F_(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);fn(e,0,0,r)}function B3(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 Hn(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Ut=Ei(/[A-Za-z]/),It=Ei(/[\dA-Za-z]/),P_=Ei(/[#-'*+\--9=?A-Z^-~]/);function rl(e){return e!==null&&(e<32||e===127)}const _d=Ei(/\d/),B_=Ei(/[\dA-Fa-f]/),z_=Ei(/[!-/:-@[-`{-~]/);function me(e){return e!==null&&e<-2}function He(e){return e!==null&&(e<0||e===32)}function we(e){return e===-2||e===-1||e===32}const Bl=Ei(new RegExp("\\p{P}|\\p{S}","u")),Gi=Ei(/\s/);function Ei(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function Ya(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const a=e.charCodeAt(n);let s="";if(a===37&&It(e.charCodeAt(n+1))&&It(e.charCodeAt(n+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(s=String.fromCharCode(a));else if(a>55295&&a<57344){const u=e.charCodeAt(n+1);a<56320&&u>56319&&u<57344?(s=String.fromCharCode(a,u),i=1):s="�"}else s=String.fromCharCode(a);s&&(t.push(e.slice(r,n),encodeURIComponent(s)),r=n+i+1,s=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function Ne(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let a=0;return s;function s(o){return we(o)?(e.enter(n),u(o)):t(o)}function u(o){return we(o)&&a++<i?(e.consume(o),u):(e.exit(n),t(o))}}const U_={tokenize:H_};function H_(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(u){if(u===null){e.consume(u);return}return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),Ne(e,t,"linePrefix")}function i(u){return e.enter("paragraph"),a(u)}function a(u){const o=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=o),n=o,s(u)}function s(u){if(u===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(u);return}return me(u)?(e.consume(u),e.exit("chunkText"),a):(e.consume(u),s)}}const $_={tokenize:q_},Om={tokenize:G_};function q_(e){const t=this,n=[];let r=0,i,a,s;return u;function u(T){if(r<n.length){const D=n[r];return t.containerState=D[1],e.attempt(D[0].continuation,o,l)(T)}return l(T)}function o(T){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&y();const D=t.events.length;let F=D,C;for(;F--;)if(t.events[F][0]==="exit"&&t.events[F][1].type==="chunkFlow"){C=t.events[F][1].end;break}b(r);let B=D;for(;B<t.events.length;)t.events[B][1].end={...C},B++;return fn(t.events,F+1,0,t.events.slice(D)),t.events.length=B,l(T)}return u(T)}function l(T){if(r===n.length){if(!i)return h(T);if(i.currentConstruct&&i.currentConstruct.concrete)return E(T);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Om,d,c)(T)}function d(T){return i&&y(),b(r),h(T)}function c(T){return t.parser.lazy[t.now().line]=r!==n.length,s=t.now().offset,E(T)}function h(T){return t.containerState={},e.attempt(Om,m,E)(T)}function m(T){return r++,n.push([t.currentConstruct,t.containerState]),h(T)}function E(T){if(T===null){i&&y(),b(0),e.consume(T);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:a}),v(T)}function v(T){if(T===null){A(e.exit("chunkFlow"),!0),b(0),e.consume(T);return}return me(T)?(e.consume(T),A(e.exit("chunkFlow")),r=0,t.interrupt=void 0,u):(e.consume(T),v)}function A(T,D){const F=t.sliceStream(T);if(D&&F.push(null),T.previous=a,a&&(a.next=T),a=T,i.defineSkip(T.start),i.write(F),t.parser.lazy[T.start.line]){let C=i.events.length;for(;C--;)if(i.events[C][1].start.offset<s&&(!i.events[C][1].end||i.events[C][1].end.offset>s))return;const B=t.events.length;let H=B,W,M;for(;H--;)if(t.events[H][0]==="exit"&&t.events[H][1].type==="chunkFlow"){if(W){M=t.events[H][1].end;break}W=!0}for(b(r),C=B;C<t.events.length;)t.events[C][1].end={...M},C++;fn(t.events,H+1,0,t.events.slice(B)),t.events.length=C}}function b(T){let D=n.length;for(;D-- >T;){const F=n[D];t.containerState=F[1],F[0].exit.call(t,e)}n.length=T}function y(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function G_(e,t,n){return Ne(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Ma(e){if(e===null||He(e)||Gi(e))return 1;if(Bl(e))return 2}function zl(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const a=e[i].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}const Td={name:"attention",resolveAll:Y_,tokenize:W_};function Y_(e,t){let n=-1,r,i,a,s,u,o,l,d;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;o=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const c={...e[r][1].end},h={...e[n][1].start};Rm(c,-o),Rm(h,o),s={type:o>1?"strongSequence":"emphasisSequence",start:c,end:{...e[r][1].end}},u={type:o>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:h},a={type:o>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},i={type:o>1?"strong":"emphasis",start:{...s.start},end:{...u.end}},e[r][1].end={...s.start},e[n][1].start={...u.end},l=[],e[r][1].end.offset-e[r][1].start.offset&&(l=Tn(l,[["enter",e[r][1],t],["exit",e[r][1],t]])),l=Tn(l,[["enter",i,t],["enter",s,t],["exit",s,t],["enter",a,t]]),l=Tn(l,zl(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),l=Tn(l,[["exit",a,t],["enter",u,t],["exit",u,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(d=2,l=Tn(l,[["enter",e[n][1],t],["exit",e[n][1],t]])):d=0,fn(e,r-1,n-r+3,l),n=r+l.length-d-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function W_(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=Ma(r);let a;return s;function s(o){return a=o,e.enter("attentionSequence"),u(o)}function u(o){if(o===a)return e.consume(o),u;const l=e.exit("attentionSequence"),d=Ma(o),c=!d||d===2&&i||n.includes(o),h=!i||i===2&&d||n.includes(r);return l._open=!!(a===42?c:c&&(i||!h)),l._close=!!(a===42?h:h&&(d||!c)),t(o)}}function Rm(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const V_={name:"autolink",tokenize:j_};function j_(e,t,n){let r=0;return i;function i(m){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a}function a(m){return Ut(m)?(e.consume(m),s):m===64?n(m):l(m)}function s(m){return m===43||m===45||m===46||It(m)?(r=1,u(m)):l(m)}function u(m){return m===58?(e.consume(m),r=0,o):(m===43||m===45||m===46||It(m))&&r++<32?(e.consume(m),u):(r=0,l(m))}function o(m){return m===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):m===null||m===32||m===60||rl(m)?n(m):(e.consume(m),o)}function l(m){return m===64?(e.consume(m),d):P_(m)?(e.consume(m),l):n(m)}function d(m){return It(m)?c(m):n(m)}function c(m){return m===46?(e.consume(m),r=0,d):m===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):h(m)}function h(m){if((m===45||It(m))&&r++<63){const E=m===45?h:c;return e.consume(m),E}return n(m)}}const vu={partial:!0,tokenize:K_};function K_(e,t,n){return r;function r(a){return we(a)?Ne(e,i,"linePrefix")(a):i(a)}function i(a){return a===null||me(a)?t(a):n(a)}}const z3={continuation:{tokenize:Q_},exit:Z_,name:"blockQuote",tokenize:X_};function X_(e,t,n){const r=this;return i;function i(s){if(s===62){const u=r.containerState;return u.open||(e.enter("blockQuote",{_container:!0}),u.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(s),e.exit("blockQuoteMarker"),a}return n(s)}function a(s){return we(s)?(e.enter("blockQuotePrefixWhitespace"),e.consume(s),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(s))}}function Q_(e,t,n){const r=this;return i;function i(s){return we(s)?Ne(e,a,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s):a(s)}function a(s){return e.attempt(z3,t,n)(s)}}function Z_(e){e.exit("blockQuote")}const U3={name:"characterEscape",tokenize:J_};function J_(e,t,n){return r;function r(a){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(a),e.exit("escapeMarker"),i}function i(a){return z_(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(a)}}const H3={name:"characterReference",tokenize:e9};function e9(e,t,n){const r=this;let i=0,a,s;return u;function u(c){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(c),e.exit("characterReferenceMarker"),o}function o(c){return c===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(c),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),a=31,s=It,d(c))}function l(c){return c===88||c===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(c),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,s=B_,d):(e.enter("characterReferenceValue"),a=7,s=_d,d(c))}function d(c){if(c===59&&i){const h=e.exit("characterReferenceValue");return s===It&&!u1(r.sliceSerialize(h))?n(c):(e.enter("characterReferenceMarker"),e.consume(c),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return s(c)&&i++<a?(e.consume(c),d):n(c)}}const Mm={partial:!0,tokenize:n9},Lm={concrete:!0,name:"codeFenced",tokenize:t9};function t9(e,t,n){const r=this,i={partial:!0,tokenize:F};let a=0,s=0,u;return o;function o(C){return l(C)}function l(C){const B=r.events[r.events.length-1];return a=B&&B[1].type==="linePrefix"?B[2].sliceSerialize(B[1],!0).length:0,u=C,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),d(C)}function d(C){return C===u?(s++,e.consume(C),d):s<3?n(C):(e.exit("codeFencedFenceSequence"),we(C)?Ne(e,c,"whitespace")(C):c(C))}function c(C){return C===null||me(C)?(e.exit("codeFencedFence"),r.interrupt?t(C):e.check(Mm,v,D)(C)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),h(C))}function h(C){return C===null||me(C)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),c(C)):we(C)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Ne(e,m,"whitespace")(C)):C===96&&C===u?n(C):(e.consume(C),h)}function m(C){return C===null||me(C)?c(C):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),E(C))}function E(C){return C===null||me(C)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),c(C)):C===96&&C===u?n(C):(e.consume(C),E)}function v(C){return e.attempt(i,D,A)(C)}function A(C){return e.enter("lineEnding"),e.consume(C),e.exit("lineEnding"),b}function b(C){return a>0&&we(C)?Ne(e,y,"linePrefix",a+1)(C):y(C)}function y(C){return C===null||me(C)?e.check(Mm,v,D)(C):(e.enter("codeFlowValue"),T(C))}function T(C){return C===null||me(C)?(e.exit("codeFlowValue"),y(C)):(e.consume(C),T)}function D(C){return e.exit("codeFenced"),t(C)}function F(C,B,H){let W=0;return M;function M(le){return C.enter("lineEnding"),C.consume(le),C.exit("lineEnding"),Z}function Z(le){return C.enter("codeFencedFence"),we(le)?Ne(C,V,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(le):V(le)}function V(le){return le===u?(C.enter("codeFencedFenceSequence"),be(le)):H(le)}function be(le){return le===u?(W++,C.consume(le),be):W>=s?(C.exit("codeFencedFenceSequence"),we(le)?Ne(C,he,"whitespace")(le):he(le)):H(le)}function he(le){return le===null||me(le)?(C.exit("codeFencedFence"),B(le)):H(le)}}}function n9(e,t,n){const r=this;return i;function i(s){return s===null?n(s):(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a)}function a(s){return r.parser.lazy[r.now().line]?n(s):t(s)}}const z0={name:"codeIndented",tokenize:i9},r9={partial:!0,tokenize:a9};function i9(e,t,n){const r=this;return i;function i(l){return e.enter("codeIndented"),Ne(e,a,"linePrefix",5)(l)}function a(l){const d=r.events[r.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?s(l):n(l)}function s(l){return l===null?o(l):me(l)?e.attempt(r9,s,o)(l):(e.enter("codeFlowValue"),u(l))}function u(l){return l===null||me(l)?(e.exit("codeFlowValue"),s(l)):(e.consume(l),u)}function o(l){return e.exit("codeIndented"),t(l)}}function a9(e,t,n){const r=this;return i;function i(s){return r.parser.lazy[r.now().line]?n(s):me(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i):Ne(e,a,"linePrefix",5)(s)}function a(s){const u=r.events[r.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?t(s):me(s)?i(s):n(s)}}const s9={name:"codeText",previous:o9,resolve:u9,tokenize:l9};function u9(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function o9(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function l9(e,t,n){let r=0,i,a;return s;function s(c){return e.enter("codeText"),e.enter("codeTextSequence"),u(c)}function u(c){return c===96?(e.consume(c),r++,u):(e.exit("codeTextSequence"),o(c))}function o(c){return c===null?n(c):c===32?(e.enter("space"),e.consume(c),e.exit("space"),o):c===96?(a=e.enter("codeTextSequence"),i=0,d(c)):me(c)?(e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),o):(e.enter("codeTextData"),l(c))}function l(c){return c===null||c===32||c===96||me(c)?(e.exit("codeTextData"),o(c)):(e.consume(c),l)}function d(c){return c===96?(e.consume(c),i++,d):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(c)):(a.type="codeTextData",l(c))}}class c9{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 r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const i=n||0;this.setCursor(Math.trunc(t));const a=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&ds(this.left,r),a.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),ds(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),ds(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);ds(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);ds(this.left,n.reverse())}}}function ds(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 $3(e){const t={};let n=-1,r,i,a,s,u,o,l;const d=new c9(e);for(;++n<d.length;){for(;n in t;)n=t[n];if(r=d.get(n),n&&r[1].type==="chunkFlow"&&d.get(n-1)[1].type==="listItemPrefix"&&(o=r[1]._tokenizer.events,a=0,a<o.length&&o[a][1].type==="lineEndingBlank"&&(a+=2),a<o.length&&o[a][1].type==="content"))for(;++a<o.length&&o[a][1].type!=="content";)o[a][1].type==="chunkText"&&(o[a][1]._isInFirstContentOfListItem=!0,a++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,d9(d,n)),n=t[n],l=!0);else if(r[1]._container){for(a=n,i=void 0;a--;)if(s=d.get(a),s[1].type==="lineEnding"||s[1].type==="lineEndingBlank")s[0]==="enter"&&(i&&(d.get(i)[1].type="lineEndingBlank"),s[1].type="lineEnding",i=a);else if(!(s[1].type==="linePrefix"||s[1].type==="listItemIndent"))break;i&&(r[1].end={...d.get(i)[1].start},u=d.slice(i,n),u.unshift(r),d.splice(i,n-i+1,u))}}return fn(e,0,Number.POSITIVE_INFINITY,d.slice(0)),!l}function d9(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const a=[];let s=n._tokenizer;s||(s=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(s._contentTypeTextTrailing=!0));const u=s.events,o=[],l={};let d,c,h=-1,m=n,E=0,v=0;const A=[v];for(;m;){for(;e.get(++i)[1]!==m;);a.push(i),m._tokenizer||(d=r.sliceStream(m),m.next||d.push(null),c&&s.defineSkip(m.start),m._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(d),m._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),c=m,m=m.next}for(m=n;++h<u.length;)u[h][0]==="exit"&&u[h-1][0]==="enter"&&u[h][1].type===u[h-1][1].type&&u[h][1].start.line!==u[h][1].end.line&&(v=h+1,A.push(v),m._tokenizer=void 0,m.previous=void 0,m=m.next);for(s.events=[],m?(m._tokenizer=void 0,m.previous=void 0):A.pop(),h=A.length;h--;){const b=u.slice(A[h],A[h+1]),y=a.pop();o.push([y,y+b.length-1]),e.splice(y,2,b)}for(o.reverse(),h=-1;++h<o.length;)l[E+o[h][0]]=E+o[h][1],E+=o[h][1]-o[h][0]-1;return l}const f9={resolve:m9,tokenize:p9},h9={partial:!0,tokenize:g9};function m9(e){return $3(e),e}function p9(e,t){let n;return r;function r(u){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(u)}function i(u){return u===null?a(u):me(u)?e.check(h9,s,a)(u):(e.consume(u),i)}function a(u){return e.exit("chunkContent"),e.exit("content"),t(u)}function s(u){return e.consume(u),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function g9(e,t,n){const r=this;return i;function i(s){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),Ne(e,a,"linePrefix")}function a(s){if(s===null||me(s))return n(s);const u=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?t(s):e.interrupt(r.parser.constructs.flow,n,t)(s)}}function q3(e,t,n,r,i,a,s,u,o){const l=o||Number.POSITIVE_INFINITY;let d=0;return c;function c(b){return b===60?(e.enter(r),e.enter(i),e.enter(a),e.consume(b),e.exit(a),h):b===null||b===32||b===41||rl(b)?n(b):(e.enter(r),e.enter(s),e.enter(u),e.enter("chunkString",{contentType:"string"}),v(b))}function h(b){return b===62?(e.enter(a),e.consume(b),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(u),e.enter("chunkString",{contentType:"string"}),m(b))}function m(b){return b===62?(e.exit("chunkString"),e.exit(u),h(b)):b===null||b===60||me(b)?n(b):(e.consume(b),b===92?E:m)}function E(b){return b===60||b===62||b===92?(e.consume(b),m):m(b)}function v(b){return!d&&(b===null||b===41||He(b))?(e.exit("chunkString"),e.exit(u),e.exit(s),e.exit(r),t(b)):d<l&&b===40?(e.consume(b),d++,v):b===41?(e.consume(b),d--,v):b===null||b===32||b===40||rl(b)?n(b):(e.consume(b),b===92?A:v)}function A(b){return b===40||b===41||b===92?(e.consume(b),v):v(b)}}function G3(e,t,n,r,i,a){const s=this;let u=0,o;return l;function l(m){return e.enter(r),e.enter(i),e.consume(m),e.exit(i),e.enter(a),d}function d(m){return u>999||m===null||m===91||m===93&&!o||m===94&&!u&&"_hiddenFootnoteSupport"in s.parser.constructs?n(m):m===93?(e.exit(a),e.enter(i),e.consume(m),e.exit(i),e.exit(r),t):me(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),d):(e.enter("chunkString",{contentType:"string"}),c(m))}function c(m){return m===null||m===91||m===93||me(m)||u++>999?(e.exit("chunkString"),d(m)):(e.consume(m),o||(o=!we(m)),m===92?h:c)}function h(m){return m===91||m===92||m===93?(e.consume(m),u++,c):c(m)}}function Y3(e,t,n,r,i,a){let s;return u;function u(h){return h===34||h===39||h===40?(e.enter(r),e.enter(i),e.consume(h),e.exit(i),s=h===40?41:h,o):n(h)}function o(h){return h===s?(e.enter(i),e.consume(h),e.exit(i),e.exit(r),t):(e.enter(a),l(h))}function l(h){return h===s?(e.exit(a),o(s)):h===null?n(h):me(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),Ne(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),d(h))}function d(h){return h===s||h===null||me(h)?(e.exit("chunkString"),l(h)):(e.consume(h),h===92?c:d)}function c(h){return h===s||h===92?(e.consume(h),d):d(h)}}function Os(e,t){let n;return r;function r(i){return me(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):we(i)?Ne(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const b9={name:"definition",tokenize:y9},E9={partial:!0,tokenize:v9};function y9(e,t,n){const r=this;let i;return a;function a(m){return e.enter("definition"),s(m)}function s(m){return G3.call(r,e,u,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(m)}function u(m){return i=Hn(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),m===58?(e.enter("definitionMarker"),e.consume(m),e.exit("definitionMarker"),o):n(m)}function o(m){return He(m)?Os(e,l)(m):l(m)}function l(m){return q3(e,d,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(m)}function d(m){return e.attempt(E9,c,c)(m)}function c(m){return we(m)?Ne(e,h,"whitespace")(m):h(m)}function h(m){return m===null||me(m)?(e.exit("definition"),r.parser.defined.push(i),t(m)):n(m)}}function v9(e,t,n){return r;function r(u){return He(u)?Os(e,i)(u):n(u)}function i(u){return Y3(e,a,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(u)}function a(u){return we(u)?Ne(e,s,"whitespace")(u):s(u)}function s(u){return u===null||me(u)?t(u):n(u)}}const _9={name:"hardBreakEscape",tokenize:T9};function T9(e,t,n){return r;function r(a){return e.enter("hardBreakEscape"),e.consume(a),i}function i(a){return me(a)?(e.exit("hardBreakEscape"),t(a)):n(a)}}const x9={name:"headingAtx",resolve:A9,tokenize:w9};function A9(e,t){let n=e.length-2,r=3,i,a;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},a={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},fn(e,r,n-r+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function w9(e,t,n){let r=0;return i;function i(d){return e.enter("atxHeading"),a(d)}function a(d){return e.enter("atxHeadingSequence"),s(d)}function s(d){return d===35&&r++<6?(e.consume(d),s):d===null||He(d)?(e.exit("atxHeadingSequence"),u(d)):n(d)}function u(d){return d===35?(e.enter("atxHeadingSequence"),o(d)):d===null||me(d)?(e.exit("atxHeading"),t(d)):we(d)?Ne(e,u,"whitespace")(d):(e.enter("atxHeadingText"),l(d))}function o(d){return d===35?(e.consume(d),o):(e.exit("atxHeadingSequence"),u(d))}function l(d){return d===null||d===35||He(d)?(e.exit("atxHeadingText"),u(d)):(e.consume(d),l)}}const S9=["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"],Fm=["pre","script","style","textarea"],k9={concrete:!0,name:"htmlFlow",resolveTo:D9,tokenize:I9},C9={partial:!0,tokenize:R9},N9={partial:!0,tokenize:O9};function D9(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 I9(e,t,n){const r=this;let i,a,s,u,o;return l;function l(R){return d(R)}function d(R){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(R),c}function c(R){return R===33?(e.consume(R),h):R===47?(e.consume(R),a=!0,v):R===63?(e.consume(R),i=3,r.interrupt?t:S):Ut(R)?(e.consume(R),s=String.fromCharCode(R),A):n(R)}function h(R){return R===45?(e.consume(R),i=2,m):R===91?(e.consume(R),i=5,u=0,E):Ut(R)?(e.consume(R),i=4,r.interrupt?t:S):n(R)}function m(R){return R===45?(e.consume(R),r.interrupt?t:S):n(R)}function E(R){const ke="CDATA[";return R===ke.charCodeAt(u++)?(e.consume(R),u===ke.length?r.interrupt?t:V:E):n(R)}function v(R){return Ut(R)?(e.consume(R),s=String.fromCharCode(R),A):n(R)}function A(R){if(R===null||R===47||R===62||He(R)){const ke=R===47,Be=s.toLowerCase();return!ke&&!a&&Fm.includes(Be)?(i=1,r.interrupt?t(R):V(R)):S9.includes(s.toLowerCase())?(i=6,ke?(e.consume(R),b):r.interrupt?t(R):V(R)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(R):a?y(R):T(R))}return R===45||It(R)?(e.consume(R),s+=String.fromCharCode(R),A):n(R)}function b(R){return R===62?(e.consume(R),r.interrupt?t:V):n(R)}function y(R){return we(R)?(e.consume(R),y):M(R)}function T(R){return R===47?(e.consume(R),M):R===58||R===95||Ut(R)?(e.consume(R),D):we(R)?(e.consume(R),T):M(R)}function D(R){return R===45||R===46||R===58||R===95||It(R)?(e.consume(R),D):F(R)}function F(R){return R===61?(e.consume(R),C):we(R)?(e.consume(R),F):T(R)}function C(R){return R===null||R===60||R===61||R===62||R===96?n(R):R===34||R===39?(e.consume(R),o=R,B):we(R)?(e.consume(R),C):H(R)}function B(R){return R===o?(e.consume(R),o=null,W):R===null||me(R)?n(R):(e.consume(R),B)}function H(R){return R===null||R===34||R===39||R===47||R===60||R===61||R===62||R===96||He(R)?F(R):(e.consume(R),H)}function W(R){return R===47||R===62||we(R)?T(R):n(R)}function M(R){return R===62?(e.consume(R),Z):n(R)}function Z(R){return R===null||me(R)?V(R):we(R)?(e.consume(R),Z):n(R)}function V(R){return R===45&&i===2?(e.consume(R),q):R===60&&i===1?(e.consume(R),ee):R===62&&i===4?(e.consume(R),ue):R===63&&i===3?(e.consume(R),S):R===93&&i===5?(e.consume(R),j):me(R)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(C9,ge,be)(R)):R===null||me(R)?(e.exit("htmlFlowData"),be(R)):(e.consume(R),V)}function be(R){return e.check(N9,he,ge)(R)}function he(R){return e.enter("lineEnding"),e.consume(R),e.exit("lineEnding"),le}function le(R){return R===null||me(R)?be(R):(e.enter("htmlFlowData"),V(R))}function q(R){return R===45?(e.consume(R),S):V(R)}function ee(R){return R===47?(e.consume(R),s="",U):V(R)}function U(R){if(R===62){const ke=s.toLowerCase();return Fm.includes(ke)?(e.consume(R),ue):V(R)}return Ut(R)&&s.length<8?(e.consume(R),s+=String.fromCharCode(R),U):V(R)}function j(R){return R===93?(e.consume(R),S):V(R)}function S(R){return R===62?(e.consume(R),ue):R===45&&i===2?(e.consume(R),S):V(R)}function ue(R){return R===null||me(R)?(e.exit("htmlFlowData"),ge(R)):(e.consume(R),ue)}function ge(R){return e.exit("htmlFlow"),t(R)}}function O9(e,t,n){const r=this;return i;function i(s){return me(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a):n(s)}function a(s){return r.parser.lazy[r.now().line]?n(s):t(s)}}function R9(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(vu,t,n)}}const M9={name:"htmlText",tokenize:L9};function L9(e,t,n){const r=this;let i,a,s;return u;function u(S){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(S),o}function o(S){return S===33?(e.consume(S),l):S===47?(e.consume(S),F):S===63?(e.consume(S),T):Ut(S)?(e.consume(S),H):n(S)}function l(S){return S===45?(e.consume(S),d):S===91?(e.consume(S),a=0,E):Ut(S)?(e.consume(S),y):n(S)}function d(S){return S===45?(e.consume(S),m):n(S)}function c(S){return S===null?n(S):S===45?(e.consume(S),h):me(S)?(s=c,ee(S)):(e.consume(S),c)}function h(S){return S===45?(e.consume(S),m):c(S)}function m(S){return S===62?q(S):S===45?h(S):c(S)}function E(S){const ue="CDATA[";return S===ue.charCodeAt(a++)?(e.consume(S),a===ue.length?v:E):n(S)}function v(S){return S===null?n(S):S===93?(e.consume(S),A):me(S)?(s=v,ee(S)):(e.consume(S),v)}function A(S){return S===93?(e.consume(S),b):v(S)}function b(S){return S===62?q(S):S===93?(e.consume(S),b):v(S)}function y(S){return S===null||S===62?q(S):me(S)?(s=y,ee(S)):(e.consume(S),y)}function T(S){return S===null?n(S):S===63?(e.consume(S),D):me(S)?(s=T,ee(S)):(e.consume(S),T)}function D(S){return S===62?q(S):T(S)}function F(S){return Ut(S)?(e.consume(S),C):n(S)}function C(S){return S===45||It(S)?(e.consume(S),C):B(S)}function B(S){return me(S)?(s=B,ee(S)):we(S)?(e.consume(S),B):q(S)}function H(S){return S===45||It(S)?(e.consume(S),H):S===47||S===62||He(S)?W(S):n(S)}function W(S){return S===47?(e.consume(S),q):S===58||S===95||Ut(S)?(e.consume(S),M):me(S)?(s=W,ee(S)):we(S)?(e.consume(S),W):q(S)}function M(S){return S===45||S===46||S===58||S===95||It(S)?(e.consume(S),M):Z(S)}function Z(S){return S===61?(e.consume(S),V):me(S)?(s=Z,ee(S)):we(S)?(e.consume(S),Z):W(S)}function V(S){return S===null||S===60||S===61||S===62||S===96?n(S):S===34||S===39?(e.consume(S),i=S,be):me(S)?(s=V,ee(S)):we(S)?(e.consume(S),V):(e.consume(S),he)}function be(S){return S===i?(e.consume(S),i=void 0,le):S===null?n(S):me(S)?(s=be,ee(S)):(e.consume(S),be)}function he(S){return S===null||S===34||S===39||S===60||S===61||S===96?n(S):S===47||S===62||He(S)?W(S):(e.consume(S),he)}function le(S){return S===47||S===62||He(S)?W(S):n(S)}function q(S){return S===62?(e.consume(S),e.exit("htmlTextData"),e.exit("htmlText"),t):n(S)}function ee(S){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(S),e.exit("lineEnding"),U}function U(S){return we(S)?Ne(e,j,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(S):j(S)}function j(S){return e.enter("htmlTextData"),s(S)}}const o1={name:"labelEnd",resolveAll:z9,resolveTo:U9,tokenize:H9},F9={tokenize:$9},P9={tokenize:q9},B9={tokenize:G9};function z9(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const i=r.type==="labelImage"?4:2;r.type="data",t+=i}}return e.length!==n.length&&fn(e,0,e.length,n),e}function U9(e,t){let n=e.length,r=0,i,a,s,u;for(;n--;)if(i=e[n][1],a){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(s){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(a=n,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(s=n);const o={type:e[a][1].type==="labelLink"?"link":"image",start:{...e[a][1].start},end:{...e[e.length-1][1].end}},l={type:"label",start:{...e[a][1].start},end:{...e[s][1].end}},d={type:"labelText",start:{...e[a+r+2][1].end},end:{...e[s-2][1].start}};return u=[["enter",o,t],["enter",l,t]],u=Tn(u,e.slice(a+1,a+r+3)),u=Tn(u,[["enter",d,t]]),u=Tn(u,zl(t.parser.constructs.insideSpan.null,e.slice(a+r+4,s-3),t)),u=Tn(u,[["exit",d,t],e[s-2],e[s-1],["exit",l,t]]),u=Tn(u,e.slice(s+1)),u=Tn(u,[["exit",o,t]]),fn(e,a,e.length,u),e}function H9(e,t,n){const r=this;let i=r.events.length,a,s;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){a=r.events[i][1];break}return u;function u(h){return a?a._inactive?c(h):(s=r.parser.defined.includes(Hn(r.sliceSerialize({start:a.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(h),e.exit("labelMarker"),e.exit("labelEnd"),o):n(h)}function o(h){return h===40?e.attempt(F9,d,s?d:c)(h):h===91?e.attempt(P9,d,s?l:c)(h):s?d(h):c(h)}function l(h){return e.attempt(B9,d,c)(h)}function d(h){return t(h)}function c(h){return a._balanced=!0,n(h)}}function $9(e,t,n){return r;function r(c){return e.enter("resource"),e.enter("resourceMarker"),e.consume(c),e.exit("resourceMarker"),i}function i(c){return He(c)?Os(e,a)(c):a(c)}function a(c){return c===41?d(c):q3(e,s,u,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(c)}function s(c){return He(c)?Os(e,o)(c):d(c)}function u(c){return n(c)}function o(c){return c===34||c===39||c===40?Y3(e,l,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(c):d(c)}function l(c){return He(c)?Os(e,d)(c):d(c)}function d(c){return c===41?(e.enter("resourceMarker"),e.consume(c),e.exit("resourceMarker"),e.exit("resource"),t):n(c)}}function q9(e,t,n){const r=this;return i;function i(u){return G3.call(r,e,a,s,"reference","referenceMarker","referenceString")(u)}function a(u){return r.parser.defined.includes(Hn(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(u):n(u)}function s(u){return n(u)}}function G9(e,t,n){return r;function r(a){return e.enter("reference"),e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),i}function i(a){return a===93?(e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),e.exit("reference"),t):n(a)}}const Y9={name:"labelStartImage",resolveAll:o1.resolveAll,tokenize:W9};function W9(e,t,n){const r=this;return i;function i(u){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(u),e.exit("labelImageMarker"),a}function a(u){return u===91?(e.enter("labelMarker"),e.consume(u),e.exit("labelMarker"),e.exit("labelImage"),s):n(u)}function s(u){return u===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(u):t(u)}}const V9={name:"labelStartLink",resolveAll:o1.resolveAll,tokenize:j9};function j9(e,t,n){const r=this;return i;function i(s){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelLink"),a}function a(s){return s===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(s):t(s)}}const U0={name:"lineEnding",tokenize:K9};function K9(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),Ne(e,t,"linePrefix")}}const So={name:"thematicBreak",tokenize:X9};function X9(e,t,n){let r=0,i;return a;function a(l){return e.enter("thematicBreak"),s(l)}function s(l){return i=l,u(l)}function u(l){return l===i?(e.enter("thematicBreakSequence"),o(l)):r>=3&&(l===null||me(l))?(e.exit("thematicBreak"),t(l)):n(l)}function o(l){return l===i?(e.consume(l),r++,o):(e.exit("thematicBreakSequence"),we(l)?Ne(e,u,"whitespace")(l):u(l))}}const jt={continuation:{tokenize:eT},exit:nT,name:"list",tokenize:J9},Q9={partial:!0,tokenize:rT},Z9={partial:!0,tokenize:tT};function J9(e,t,n){const r=this,i=r.events[r.events.length-1];let a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,s=0;return u;function u(m){const E=r.containerState.type||(m===42||m===43||m===45?"listUnordered":"listOrdered");if(E==="listUnordered"?!r.containerState.marker||m===r.containerState.marker:_d(m)){if(r.containerState.type||(r.containerState.type=E,e.enter(E,{_container:!0})),E==="listUnordered")return e.enter("listItemPrefix"),m===42||m===45?e.check(So,n,l)(m):l(m);if(!r.interrupt||m===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),o(m)}return n(m)}function o(m){return _d(m)&&++s<10?(e.consume(m),o):(!r.interrupt||s<2)&&(r.containerState.marker?m===r.containerState.marker:m===41||m===46)?(e.exit("listItemValue"),l(m)):n(m)}function l(m){return e.enter("listItemMarker"),e.consume(m),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||m,e.check(vu,r.interrupt?n:d,e.attempt(Q9,h,c))}function d(m){return r.containerState.initialBlankLine=!0,a++,h(m)}function c(m){return we(m)?(e.enter("listItemPrefixWhitespace"),e.consume(m),e.exit("listItemPrefixWhitespace"),h):n(m)}function h(m){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(m)}}function eT(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(vu,i,a);function i(u){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Ne(e,t,"listItemIndent",r.containerState.size+1)(u)}function a(u){return r.containerState.furtherBlankLines||!we(u)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,s(u)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Z9,t,s)(u))}function s(u){return r.containerState._closeFlow=!0,r.interrupt=void 0,Ne(e,e.attempt(jt,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u)}}function tT(e,t,n){const r=this;return Ne(e,i,"listItemIndent",r.containerState.size+1);function i(a){const s=r.events[r.events.length-1];return s&&s[1].type==="listItemIndent"&&s[2].sliceSerialize(s[1],!0).length===r.containerState.size?t(a):n(a)}}function nT(e){e.exit(this.containerState.type)}function rT(e,t,n){const r=this;return Ne(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(a){const s=r.events[r.events.length-1];return!we(a)&&s&&s[1].type==="listItemPrefixWhitespace"?t(a):n(a)}}const Pm={name:"setextUnderline",resolveTo:iT,tokenize:aT};function iT(e,t){let n=e.length,r,i,a;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!a&&e[n][1].type==="definition"&&(a=n);const s={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",a?(e.splice(i,0,["enter",s,t]),e.splice(a+1,0,["exit",e[r][1],t]),e[r][1].end={...e[a][1].end}):e[r][1]=s,e.push(["exit",s,t]),e}function aT(e,t,n){const r=this;let i;return a;function a(l){let d=r.events.length,c;for(;d--;)if(r.events[d][1].type!=="lineEnding"&&r.events[d][1].type!=="linePrefix"&&r.events[d][1].type!=="content"){c=r.events[d][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||c)?(e.enter("setextHeadingLine"),i=l,s(l)):n(l)}function s(l){return e.enter("setextHeadingLineSequence"),u(l)}function u(l){return l===i?(e.consume(l),u):(e.exit("setextHeadingLineSequence"),we(l)?Ne(e,o,"lineSuffix")(l):o(l))}function o(l){return l===null||me(l)?(e.exit("setextHeadingLine"),t(l)):n(l)}}const sT={tokenize:uT};function uT(e){const t=this,n=e.attempt(vu,r,e.attempt(this.parser.constructs.flowInitial,i,Ne(e,e.attempt(this.parser.constructs.flow,i,e.attempt(f9,i)),"linePrefix")));return n;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const oT={resolveAll:V3()},lT=W3("string"),cT=W3("text");function W3(e){return{resolveAll:V3(e==="text"?dT:void 0),tokenize:t};function t(n){const r=this,i=this.parser.constructs[e],a=n.attempt(i,s,u);return s;function s(d){return l(d)?a(d):u(d)}function u(d){if(d===null){n.consume(d);return}return n.enter("data"),n.consume(d),o}function o(d){return l(d)?(n.exit("data"),a(d)):(n.consume(d),o)}function l(d){if(d===null)return!0;const c=i[d];let h=-1;if(c)for(;++h<c.length;){const m=c[h];if(!m.previous||m.previous.call(r,r.previous))return!0}return!1}}}function V3(e){return t;function t(n,r){let i=-1,a;for(;++i<=n.length;)a===void 0?n[i]&&n[i][1].type==="data"&&(a=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==a+2&&(n[a][1].end=n[i-1][1].end,n.splice(a+2,i-a-2),i=a+2),a=void 0);return e?e(n,r):n}}function dT(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 r=e[n-1][1],i=t.sliceStream(r);let a=i.length,s=-1,u=0,o;for(;a--;){const l=i[a];if(typeof l=="string"){for(s=l.length;l.charCodeAt(s-1)===32;)u++,s--;if(s)break;s=-1}else if(l===-2)o=!0,u++;else if(l!==-1){a++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(u=0),u){const l={type:n===e.length||o||u<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?s:r.start._bufferIndex+s,_index:r.start._index+a,line:r.end.line,column:r.end.column-u,offset:r.end.offset-u},end:{...r.end}};r.end={...l.start},r.start.offset===r.end.offset?Object.assign(r,l):(e.splice(n,0,["enter",l,t],["exit",l,t]),n+=2)}n++}return e}const fT={42:jt,43:jt,45:jt,48:jt,49:jt,50:jt,51:jt,52:jt,53:jt,54:jt,55:jt,56:jt,57:jt,62:z3},hT={91:b9},mT={[-2]:z0,[-1]:z0,32:z0},pT={35:x9,42:So,45:[Pm,So],60:k9,61:Pm,95:So,96:Lm,126:Lm},gT={38:H3,92:U3},bT={[-5]:U0,[-4]:U0,[-3]:U0,33:Y9,38:H3,42:Td,60:[V_,M9],91:V9,92:[_9,U3],93:o1,95:Td,96:s9},ET={null:[Td,oT]},yT={null:[42,95]},vT={null:[]},_T=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:yT,contentInitial:hT,disable:vT,document:fT,flow:pT,flowInitial:mT,insideSpan:ET,string:gT,text:bT},Symbol.toStringTag,{value:"Module"}));function TT(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const i={},a=[];let s=[],u=[];const o={attempt:B(F),check:B(C),consume:y,enter:T,exit:D,interrupt:B(C,{interrupt:!0})},l={code:null,containerState:{},defineSkip:v,events:[],now:E,parser:e,previous:null,sliceSerialize:h,sliceStream:m,write:c};let d=t.tokenize.call(l,o);return t.resolveAll&&a.push(t),l;function c(Z){return s=Tn(s,Z),A(),s[s.length-1]!==null?[]:(H(t,0),l.events=zl(a,l.events,l),l.events)}function h(Z,V){return AT(m(Z),V)}function m(Z){return xT(s,Z)}function E(){const{_bufferIndex:Z,_index:V,line:be,column:he,offset:le}=r;return{_bufferIndex:Z,_index:V,line:be,column:he,offset:le}}function v(Z){i[Z.line]=Z.column,M()}function A(){let Z;for(;r._index<s.length;){const V=s[r._index];if(typeof V=="string")for(Z=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===Z&&r._bufferIndex<V.length;)b(V.charCodeAt(r._bufferIndex));else b(V)}}function b(Z){d=d(Z)}function y(Z){me(Z)?(r.line++,r.column=1,r.offset+=Z===-3?2:1,M()):Z!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===s[r._index].length&&(r._bufferIndex=-1,r._index++)),l.previous=Z}function T(Z,V){const be=V||{};return be.type=Z,be.start=E(),l.events.push(["enter",be,l]),u.push(be),be}function D(Z){const V=u.pop();return V.end=E(),l.events.push(["exit",V,l]),V}function F(Z,V){H(Z,V.from)}function C(Z,V){V.restore()}function B(Z,V){return be;function be(he,le,q){let ee,U,j,S;return Array.isArray(he)?ge(he):"tokenize"in he?ge([he]):ue(he);function ue(Ie){return rt;function rt(Tt){const xt=Tt!==null&&Ie[Tt],nn=Tt!==null&&Ie.null,On=[...Array.isArray(xt)?xt:xt?[xt]:[],...Array.isArray(nn)?nn:nn?[nn]:[]];return ge(On)(Tt)}}function ge(Ie){return ee=Ie,U=0,Ie.length===0?q:R(Ie[U])}function R(Ie){return rt;function rt(Tt){return S=W(),j=Ie,Ie.partial||(l.currentConstruct=Ie),Ie.name&&l.parser.constructs.disable.null.includes(Ie.name)?Be():Ie.tokenize.call(V?Object.assign(Object.create(l),V):l,o,ke,Be)(Tt)}}function ke(Ie){return Z(j,S),le}function Be(Ie){return S.restore(),++U<ee.length?R(ee[U]):q}}}function H(Z,V){Z.resolveAll&&!a.includes(Z)&&a.push(Z),Z.resolve&&fn(l.events,V,l.events.length-V,Z.resolve(l.events.slice(V),l)),Z.resolveTo&&(l.events=Z.resolveTo(l.events,l))}function W(){const Z=E(),V=l.previous,be=l.currentConstruct,he=l.events.length,le=Array.from(u);return{from:he,restore:q};function q(){r=Z,l.previous=V,l.currentConstruct=be,l.events.length=he,u=le,M()}}function M(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function xT(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex;let s;if(n===i)s=[e[n].slice(r,a)];else{if(s=e.slice(n,i),r>-1){const u=s[0];typeof u=="string"?s[0]=u.slice(r):s.shift()}a>0&&s.push(e[i].slice(0,a))}return s}function AT(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const a=e[n];let s;if(typeof a=="string")s=a;else switch(a){case-5:{s="\r";break}case-4:{s=`
|
|
141
|
+
`;break}case-3:{s=`\r
|
|
142
|
+
`;break}case-2:{s=t?" ":" ";break}case-1:{if(!t&&i)continue;s=" ";break}default:s=String.fromCharCode(a)}i=a===-2,r.push(s)}return r.join("")}function wT(e){const r={constructs:P3([_T,...(e||{}).extensions||[]]),content:i(U_),defined:[],document:i($_),flow:i(sT),lazy:{},string:i(lT),text:i(cT)};return r;function i(a){return s;function s(u){return TT(r,a,u)}}}function ST(e){for(;!$3(e););return e}const Bm=/[\0\t\n\r]/g;function kT(){let e=1,t="",n=!0,r;return i;function i(a,s,u){const o=[];let l,d,c,h,m;for(a=t+(typeof a=="string"?a.toString():new TextDecoder(s||void 0).decode(a)),c=0,t="",n&&(a.charCodeAt(0)===65279&&c++,n=void 0);c<a.length;){if(Bm.lastIndex=c,l=Bm.exec(a),h=l&&l.index!==void 0?l.index:a.length,m=a.charCodeAt(h),!l){t=a.slice(c);break}if(m===10&&c===h&&r)o.push(-3),r=void 0;else switch(r&&(o.push(-5),r=void 0),c<h&&(o.push(a.slice(c,h)),e+=h-c),m){case 0:{o.push(65533),e++;break}case 9:{for(d=Math.ceil(e/4)*4,o.push(-2);e++<d;)o.push(-1);break}case 10:{o.push(-4),e=1;break}default:r=!0,e=1}c=h+1}return u&&(r&&o.push(-5),t&&o.push(t),o.push(null)),o}}const CT=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function NT(e){return e.replace(CT,DT)}function DT(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),a=i===120||i===88;return B3(n.slice(a?2:1),a?16:10)}return u1(n)||e}const j3={}.hasOwnProperty;function IT(e,t,n){return t&&typeof t=="object"&&(n=t,t=void 0),OT(n)(ST(wT(n).document().write(kT()(e,t,!0))))}function OT(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(Yn),autolinkProtocol:W,autolinkEmail:W,atxHeading:a(At),blockQuote:a(nn),characterEscape:W,characterReference:W,codeFenced:a(On),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:a(On,s),codeText:a(Dr,s),codeTextData:W,data:W,codeFlowValue:W,definition:a(rn),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:a(Rn),hardBreakEscape:a(Oe),hardBreakTrailing:a(Oe),htmlFlow:a(an,s),htmlFlowData:W,htmlText:a(an,s),htmlTextData:W,image:a(Ee),label:s,link:a(Yn),listItem:a(Fe),listItemValue:h,listOrdered:a(Ge,c),listUnordered:a(Ge),paragraph:a(Ir),reference:R,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:a(At),strong:a(sn),thematicBreak:a(Rr)},exit:{atxHeading:o(),atxHeadingSequence:F,autolink:o(),autolinkEmail:xt,autolinkProtocol:Tt,blockQuote:o(),characterEscapeValue:M,characterReferenceMarkerHexadecimal:Be,characterReferenceMarkerNumeric:Be,characterReferenceValue:Ie,characterReference:rt,codeFenced:o(A),codeFencedFence:v,codeFencedFenceInfo:m,codeFencedFenceMeta:E,codeFlowValue:M,codeIndented:o(b),codeText:o(le),codeTextData:M,data:M,definition:o(),definitionDestinationString:D,definitionLabelString:y,definitionTitleString:T,emphasis:o(),hardBreakEscape:o(V),hardBreakTrailing:o(V),htmlFlow:o(be),htmlFlowData:M,htmlText:o(he),htmlTextData:M,image:o(ee),label:j,labelText:U,lineEnding:Z,link:o(q),listItem:o(),listOrdered:o(),listUnordered:o(),paragraph:o(),referenceString:ke,resourceDestinationString:S,resourceTitleString:ue,resource:ge,setextHeading:o(H),setextHeadingLineSequence:B,setextHeadingText:C,strong:o(),thematicBreak:o()}};K3(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(P){let $={type:"root",children:[]};const ae={stack:[$],tokenStack:[],config:t,enter:u,exit:l,buffer:s,resume:d,data:n},ce=[];let xe=-1;for(;++xe<P.length;)if(P[xe][1].type==="listOrdered"||P[xe][1].type==="listUnordered")if(P[xe][0]==="enter")ce.push(xe);else{const st=ce.pop();xe=i(P,st,xe)}for(xe=-1;++xe<P.length;){const st=t[P[xe][0]];j3.call(st,P[xe][1].type)&&st[P[xe][1].type].call(Object.assign({sliceSerialize:P[xe][2].sliceSerialize},ae),P[xe][1])}if(ae.tokenStack.length>0){const st=ae.tokenStack[ae.tokenStack.length-1];(st[1]||zm).call(ae,void 0,st[0])}for($.position={start:Br(P.length>0?P[0][1].start:{line:1,column:1,offset:0}),end:Br(P.length>0?P[P.length-2][1].end:{line:1,column:1,offset:0})},xe=-1;++xe<t.transforms.length;)$=t.transforms[xe]($)||$;return $}function i(P,$,ae){let ce=$-1,xe=-1,st=!1,or,Mn,Ja,es;for(;++ce<=ae;){const un=P[ce];switch(un[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{un[0]==="enter"?xe++:xe--,es=void 0;break}case"lineEndingBlank":{un[0]==="enter"&&(or&&!es&&!xe&&!Ja&&(Ja=ce),es=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:es=void 0}if(!xe&&un[0]==="enter"&&un[1].type==="listItemPrefix"||xe===-1&&un[0]==="exit"&&(un[1].type==="listUnordered"||un[1].type==="listOrdered")){if(or){let Ji=ce;for(Mn=void 0;Ji--;){const lr=P[Ji];if(lr[1].type==="lineEnding"||lr[1].type==="lineEndingBlank"){if(lr[0]==="exit")continue;Mn&&(P[Mn][1].type="lineEndingBlank",st=!0),lr[1].type="lineEnding",Mn=Ji}else if(!(lr[1].type==="linePrefix"||lr[1].type==="blockQuotePrefix"||lr[1].type==="blockQuotePrefixWhitespace"||lr[1].type==="blockQuoteMarker"||lr[1].type==="listItemIndent"))break}Ja&&(!Mn||Ja<Mn)&&(or._spread=!0),or.end=Object.assign({},Mn?P[Mn][1].start:un[1].end),P.splice(Mn||ce,0,["exit",or,un[2]]),ce++,ae++}if(un[1].type==="listItemPrefix"){const Ji={type:"listItem",_spread:!1,start:Object.assign({},un[1].start),end:void 0};or=Ji,P.splice(ce,0,["enter",Ji,un[2]]),ce++,ae++,Ja=void 0,es=!0}}}return P[$][1]._spread=st,ae}function a(P,$){return ae;function ae(ce){u.call(this,P(ce),ce),$&&$.call(this,ce)}}function s(){this.stack.push({type:"fragment",children:[]})}function u(P,$,ae){this.stack[this.stack.length-1].children.push(P),this.stack.push(P),this.tokenStack.push([$,ae||void 0]),P.position={start:Br($.start),end:void 0}}function o(P){return $;function $(ae){P&&P.call(this,ae),l.call(this,ae)}}function l(P,$){const ae=this.stack.pop(),ce=this.tokenStack.pop();if(ce)ce[0].type!==P.type&&($?$.call(this,P,ce[0]):(ce[1]||zm).call(this,P,ce[0]));else throw new Error("Cannot close `"+P.type+"` ("+Is({start:P.start,end:P.end})+"): it’s not open");ae.position.end=Br(P.end)}function d(){return s1(this.stack.pop())}function c(){this.data.expectingFirstListItemValue=!0}function h(P){if(this.data.expectingFirstListItemValue){const $=this.stack[this.stack.length-2];$.start=Number.parseInt(this.sliceSerialize(P),10),this.data.expectingFirstListItemValue=void 0}}function m(){const P=this.resume(),$=this.stack[this.stack.length-1];$.lang=P}function E(){const P=this.resume(),$=this.stack[this.stack.length-1];$.meta=P}function v(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function A(){const P=this.resume(),$=this.stack[this.stack.length-1];$.value=P.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function b(){const P=this.resume(),$=this.stack[this.stack.length-1];$.value=P.replace(/(\r?\n|\r)$/g,"")}function y(P){const $=this.resume(),ae=this.stack[this.stack.length-1];ae.label=$,ae.identifier=Hn(this.sliceSerialize(P)).toLowerCase()}function T(){const P=this.resume(),$=this.stack[this.stack.length-1];$.title=P}function D(){const P=this.resume(),$=this.stack[this.stack.length-1];$.url=P}function F(P){const $=this.stack[this.stack.length-1];if(!$.depth){const ae=this.sliceSerialize(P).length;$.depth=ae}}function C(){this.data.setextHeadingSlurpLineEnding=!0}function B(P){const $=this.stack[this.stack.length-1];$.depth=this.sliceSerialize(P).codePointAt(0)===61?1:2}function H(){this.data.setextHeadingSlurpLineEnding=void 0}function W(P){const ae=this.stack[this.stack.length-1].children;let ce=ae[ae.length-1];(!ce||ce.type!=="text")&&(ce=Or(),ce.position={start:Br(P.start),end:void 0},ae.push(ce)),this.stack.push(ce)}function M(P){const $=this.stack.pop();$.value+=this.sliceSerialize(P),$.position.end=Br(P.end)}function Z(P){const $=this.stack[this.stack.length-1];if(this.data.atHardBreak){const ae=$.children[$.children.length-1];ae.position.end=Br(P.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes($.type)&&(W.call(this,P),M.call(this,P))}function V(){this.data.atHardBreak=!0}function be(){const P=this.resume(),$=this.stack[this.stack.length-1];$.value=P}function he(){const P=this.resume(),$=this.stack[this.stack.length-1];$.value=P}function le(){const P=this.resume(),$=this.stack[this.stack.length-1];$.value=P}function q(){const P=this.stack[this.stack.length-1];if(this.data.inReference){const $=this.data.referenceType||"shortcut";P.type+="Reference",P.referenceType=$,delete P.url,delete P.title}else delete P.identifier,delete P.label;this.data.referenceType=void 0}function ee(){const P=this.stack[this.stack.length-1];if(this.data.inReference){const $=this.data.referenceType||"shortcut";P.type+="Reference",P.referenceType=$,delete P.url,delete P.title}else delete P.identifier,delete P.label;this.data.referenceType=void 0}function U(P){const $=this.sliceSerialize(P),ae=this.stack[this.stack.length-2];ae.label=NT($),ae.identifier=Hn($).toLowerCase()}function j(){const P=this.stack[this.stack.length-1],$=this.resume(),ae=this.stack[this.stack.length-1];if(this.data.inReference=!0,ae.type==="link"){const ce=P.children;ae.children=ce}else ae.alt=$}function S(){const P=this.resume(),$=this.stack[this.stack.length-1];$.url=P}function ue(){const P=this.resume(),$=this.stack[this.stack.length-1];$.title=P}function ge(){this.data.inReference=void 0}function R(){this.data.referenceType="collapsed"}function ke(P){const $=this.resume(),ae=this.stack[this.stack.length-1];ae.label=$,ae.identifier=Hn(this.sliceSerialize(P)).toLowerCase(),this.data.referenceType="full"}function Be(P){this.data.characterReferenceType=P.type}function Ie(P){const $=this.sliceSerialize(P),ae=this.data.characterReferenceType;let ce;ae?(ce=B3($,ae==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):ce=u1($);const xe=this.stack[this.stack.length-1];xe.value+=ce}function rt(P){const $=this.stack.pop();$.position.end=Br(P.end)}function Tt(P){M.call(this,P);const $=this.stack[this.stack.length-1];$.url=this.sliceSerialize(P)}function xt(P){M.call(this,P);const $=this.stack[this.stack.length-1];$.url="mailto:"+this.sliceSerialize(P)}function nn(){return{type:"blockquote",children:[]}}function On(){return{type:"code",lang:null,meta:null,value:""}}function Dr(){return{type:"inlineCode",value:""}}function rn(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Rn(){return{type:"emphasis",children:[]}}function At(){return{type:"heading",depth:0,children:[]}}function Oe(){return{type:"break"}}function an(){return{type:"html",value:""}}function Ee(){return{type:"image",title:null,url:"",alt:null}}function Yn(){return{type:"link",title:null,url:"",children:[]}}function Ge(P){return{type:"list",ordered:P.type==="listOrdered",start:null,spread:P._spread,children:[]}}function Fe(P){return{type:"listItem",spread:P._spread,checked:null,children:[]}}function Ir(){return{type:"paragraph",children:[]}}function sn(){return{type:"strong",children:[]}}function Or(){return{type:"text",value:""}}function Rr(){return{type:"thematicBreak"}}}function Br(e){return{line:e.line,column:e.column,offset:e.offset}}function K3(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?K3(e,r):RT(e,r)}}function RT(e,t){let n;for(n in t)if(j3.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function zm(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Is({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Is({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Is({start:t.start,end:t.end})+") is still open")}function MT(e){const t=this;t.parser=n;function n(r){return IT(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function LT(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 FT(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
|
|
143
|
+
`}]}function PT(e,t){const n=t.value?t.value+`
|
|
144
|
+
`:"",r={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(r.className=["language-"+i[0]]);let a={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a=e.applyData(t,a),a={type:"element",tagName:"pre",properties:{},children:[a]},e.patch(t,a),a}function BT(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function zT(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function UT(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),i=Ya(r.toLowerCase()),a=e.footnoteOrder.indexOf(r);let s,u=e.footnoteCounts.get(r);u===void 0?(u=0,e.footnoteOrder.push(r),s=e.footnoteOrder.length):s=a+1,u+=1,e.footnoteCounts.set(r,u);const o={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(u>1?"-"+u:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(s)}]};e.patch(t,o);const l={type:"element",tagName:"sup",properties:{},children:[o]};return e.patch(t,l),e.applyData(t,l)}function HT(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 $T(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function X3(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const i=e.all(t),a=i[0];a&&a.type==="text"?a.value="["+a.value:i.unshift({type:"text",value:"["});const s=i[i.length-1];return s&&s.type==="text"?s.value+=r:i.push({type:"text",value:r}),i}function qT(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return X3(e,t);const i={src:Ya(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);const a={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,a),e.applyData(t,a)}function GT(e,t){const n={src:Ya(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 r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function YT(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function WT(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return X3(e,t);const i={href:Ya(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const a={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function VT(e,t){const n={href:Ya(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function jT(e,t,n){const r=e.all(t),i=n?KT(n):Q3(t),a={},s=[];if(typeof t.checked=="boolean"){const d=r[0];let c;d&&d.type==="element"&&d.tagName==="p"?c=d:(c={type:"element",tagName:"p",properties:{},children:[]},r.unshift(c)),c.children.length>0&&c.children.unshift({type:"text",value:" "}),c.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let u=-1;for(;++u<r.length;){const d=r[u];(i||u!==0||d.type!=="element"||d.tagName!=="p")&&s.push({type:"text",value:`
|
|
145
|
+
`}),d.type==="element"&&d.tagName==="p"&&!i?s.push(...d.children):s.push(d)}const o=r[r.length-1];o&&(i||o.type!=="element"||o.tagName!=="p")&&s.push({type:"text",value:`
|
|
146
|
+
`});const l={type:"element",tagName:"li",properties:a,children:s};return e.patch(t,l),e.applyData(t,l)}function KT(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=Q3(n[r])}return t}function Q3(e){const t=e.spread;return t??e.children.length>1}function XT(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i<r.length;){const s=r[i];if(s.type==="element"&&s.tagName==="li"&&s.properties&&Array.isArray(s.properties.className)&&s.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const a={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,a),e.applyData(t,a)}function QT(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function ZT(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function JT(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function ex(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const s={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],s),i.push(s)}if(n.length>0){const s={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},u=rr(t.children[1]),o=Pl(t.children[t.children.length-1]);u&&o&&(s.position={start:u,end:o}),i.push(s)}const a={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,a),e.applyData(t,a)}function tx(e,t,n){const r=n?n.children:void 0,a=(r?r.indexOf(t):1)===0?"th":"td",s=n&&n.type==="table"?n.align:void 0,u=s?s.length:t.children.length;let o=-1;const l=[];for(;++o<u;){const c=t.children[o],h={},m=s?s[o]:void 0;m&&(h.align=m);let E={type:"element",tagName:a,properties:h,children:[]};c&&(E.children=e.all(c),e.patch(c,E),E=e.applyData(c,E)),l.push(E)}const d={type:"element",tagName:"tr",properties:{},children:e.wrap(l,!0)};return e.patch(t,d),e.applyData(t,d)}function nx(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const Um=9,Hm=32;function rx(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),i=0;const a=[];for(;r;)a.push($m(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return a.push($m(t.slice(i),i>0,!1)),a.join("")}function $m(e,t,n){let r=0,i=e.length;if(t){let a=e.codePointAt(r);for(;a===Um||a===Hm;)r++,a=e.codePointAt(r)}if(n){let a=e.codePointAt(i-1);for(;a===Um||a===Hm;)i--,a=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function ix(e,t){const n={type:"text",value:rx(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function ax(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const sx={blockquote:LT,break:FT,code:PT,delete:BT,emphasis:zT,footnoteReference:UT,heading:HT,html:$T,imageReference:qT,image:GT,inlineCode:YT,linkReference:WT,link:VT,listItem:jT,list:XT,paragraph:QT,root:ZT,strong:JT,table:ex,tableCell:nx,tableRow:tx,text:ix,thematicBreak:ax,toml:Yu,yaml:Yu,definition:Yu,footnoteDefinition:Yu};function Yu(){}const Z3=-1,Ul=0,Rs=1,il=2,l1=3,c1=4,d1=5,f1=6,J3=7,e6=8,t6=typeof self=="object"?self:globalThis,qm=(e,t)=>{switch(e){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw new TypeError("unable to deserialize "+e)}return new t6[e](t)},ux=(e,t)=>{const n=(i,a)=>(e.set(a,i),i),r=i=>{if(e.has(i))return e.get(i);const[a,s]=t[i];switch(a){case Ul:case Z3:return n(s,i);case Rs:{const u=n([],i);for(const o of s)u.push(r(o));return u}case il:{const u=n({},i);for(const[o,l]of s)u[r(o)]=r(l);return u}case l1:return n(new Date(s),i);case c1:{const{source:u,flags:o}=s;return n(new RegExp(u,o),i)}case d1:{const u=n(new Map,i);for(const[o,l]of s)u.set(r(o),r(l));return u}case f1:{const u=n(new Set,i);for(const o of s)u.add(r(o));return u}case J3:{const{name:u,message:o}=s;return n(typeof t6[u]=="function"?qm(u,o):new Error(o),i)}case e6:return n(BigInt(s),i);case"BigInt":return n(Object(BigInt(s)),i);case"ArrayBuffer":return n(new Uint8Array(s).buffer,s);case"DataView":{const{buffer:u}=new Uint8Array(s);return n(new DataView(u),s)}}return n(qm(a,s),i)};return r},Gm=e=>ux(new Map,e)(0),ki="",{toString:ox}={},{keys:lx}=Object,fs=e=>{const t=typeof e;if(t!=="object"||!e)return[Ul,t];const n=ox.call(e).slice(8,-1);switch(n){case"Array":return[Rs,ki];case"Object":return[il,ki];case"Date":return[l1,ki];case"RegExp":return[c1,ki];case"Map":return[d1,ki];case"Set":return[f1,ki];case"DataView":return[Rs,n]}return n.includes("Array")?[Rs,n]:e instanceof Error?[J3,e.name||"Error"]:[il,n]},Wu=([e,t])=>e===Ul&&(t==="function"||t==="symbol"),cx=(e,t,n,r)=>{const i=(s,u)=>{const o=r.push(s)-1;return n.set(u,o),o},a=s=>{if(n.has(s))return n.get(s);let[u,o]=fs(s);switch(u){case Ul:{let d=s;switch(o){case"bigint":u=e6,d=s.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+o);d=null;break;case"undefined":return i([Z3],s)}return i([u,d],s)}case Rs:{if(o){let h=s;return o==="DataView"?h=new Uint8Array(s.buffer):o==="ArrayBuffer"&&(h=new Uint8Array(s)),i([o,[...h]],s)}const d=[],c=i([u,d],s);for(const h of s)d.push(a(h));return c}case il:{if(o)switch(o){case"BigInt":return i([o,s.toString()],s);case"Boolean":case"Number":case"String":return i([o,s.valueOf()],s)}if(t&&"toJSON"in s)return a(s.toJSON());const d=[],c=i([u,d],s);for(const h of lx(s))(e||!Wu(fs(s[h])))&&d.push([a(h),a(s[h])]);return c}case l1:return i([u,isNaN(s.getTime())?ki:s.toISOString()],s);case c1:{const{source:d,flags:c}=s;return i([u,{source:d,flags:c}],s)}case d1:{const d=[],c=i([u,d],s);for(const[h,m]of s)(e||!(Wu(fs(h))||Wu(fs(m))))&&d.push([a(h),a(m)]);return c}case f1:{const d=[],c=i([u,d],s);for(const h of s)(e||!Wu(fs(h)))&&d.push(a(h));return c}}const{message:l}=s;return i([u,{name:o,message:l}],s)};return a},Ym=(e,{json:t,lossy:n}={})=>{const r=[];return cx(!(t||n),!!t,new Map,r)(e),r},Yi=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?Gm(Ym(e,t)):structuredClone(e):(e,t)=>Gm(Ym(e,t));function dx(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 fx(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function hx(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||dx,r=e.options.footnoteBackLabel||fx,i=e.options.footnoteLabel||"Footnotes",a=e.options.footnoteLabelTagName||"h2",s=e.options.footnoteLabelProperties||{className:["sr-only"]},u=[];let o=-1;for(;++o<e.footnoteOrder.length;){const l=e.footnoteById.get(e.footnoteOrder[o]);if(!l)continue;const d=e.all(l),c=String(l.identifier).toUpperCase(),h=Ya(c.toLowerCase());let m=0;const E=[],v=e.footnoteCounts.get(c);for(;v!==void 0&&++m<=v;){E.length>0&&E.push({type:"text",value:" "});let y=typeof n=="string"?n:n(o,m);typeof y=="string"&&(y={type:"text",value:y}),E.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+h+(m>1?"-"+m:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(o,m),className:["data-footnote-backref"]},children:Array.isArray(y)?y:[y]})}const A=d[d.length-1];if(A&&A.type==="element"&&A.tagName==="p"){const y=A.children[A.children.length-1];y&&y.type==="text"?y.value+=" ":A.children.push({type:"text",value:" "}),A.children.push(...E)}else d.push(...E);const b={type:"element",tagName:"li",properties:{id:t+"fn-"+h},children:e.wrap(d,!0)};e.patch(l,b),u.push(b)}if(u.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:a,properties:{...Yi(s),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:`
|
|
147
|
+
`},{type:"element",tagName:"ol",properties:{},children:e.wrap(u,!0)},{type:"text",value:`
|
|
148
|
+
`}]}}const _u=function(e){if(e==null)return bx;if(typeof e=="function")return Hl(e);if(typeof e=="object")return Array.isArray(e)?mx(e):px(e);if(typeof e=="string")return gx(e);throw new Error("Expected function, string, or object as test")};function mx(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=_u(e[n]);return Hl(r);function r(...i){let a=-1;for(;++a<t.length;)if(t[a].apply(this,i))return!0;return!1}}function px(e){const t=e;return Hl(n);function n(r){const i=r;let a;for(a in e)if(i[a]!==t[a])return!1;return!0}}function gx(e){return Hl(t);function t(n){return n&&n.type===e}}function Hl(e){return t;function t(n,r,i){return!!(Ex(n)&&e.call(this,n,typeof r=="number"?r:void 0,i||void 0))}}function bx(){return!0}function Ex(e){return e!==null&&typeof e=="object"&&"type"in e}const n6=[],yx=!0,xd=!1,Ms="skip";function h1(e,t,n,r){let i;typeof t=="function"&&typeof n!="function"?(r=n,n=t):i=t;const a=_u(i),s=r?-1:1;u(e,void 0,[])();function u(o,l,d){const c=o&&typeof o=="object"?o:{};if(typeof c.type=="string"){const m=typeof c.tagName=="string"?c.tagName:typeof c.name=="string"?c.name:void 0;Object.defineProperty(h,"name",{value:"node ("+(o.type+(m?"<"+m+">":""))+")"})}return h;function h(){let m=n6,E,v,A;if((!t||a(o,l,d[d.length-1]||void 0))&&(m=vx(n(o,d)),m[0]===xd))return m;if("children"in o&&o.children){const b=o;if(b.children&&m[0]!==Ms)for(v=(r?b.children.length:-1)+s,A=d.concat(b);v>-1&&v<b.children.length;){const y=b.children[v];if(E=u(y,v,A)(),E[0]===xd)return E;v=typeof E[1]=="number"?E[1]:v+s}}return m}}}function vx(e){return Array.isArray(e)?e:typeof e=="number"?[yx,e]:e==null?n6:[e]}function Ki(e,t,n,r){let i,a,s;typeof t=="function"&&typeof n!="function"?(a=void 0,s=t,i=n):(a=t,s=n,i=r),h1(e,a,u,i);function u(o,l){const d=l[l.length-1],c=d?d.children.indexOf(o):void 0;return s(o,c,d)}}const Ad={}.hasOwnProperty,_x={};function Tx(e,t){const n=t||_x,r=new Map,i=new Map,a=new Map,s={...sx,...n.handlers},u={all:l,applyData:Ax,definitionById:r,footnoteById:i,footnoteCounts:a,footnoteOrder:[],handlers:s,one:o,options:n,patch:xx,wrap:Sx};return Ki(e,function(d){if(d.type==="definition"||d.type==="footnoteDefinition"){const c=d.type==="definition"?r:i,h=String(d.identifier).toUpperCase();c.has(h)||c.set(h,d)}}),u;function o(d,c){const h=d.type,m=u.handlers[h];if(Ad.call(u.handlers,h)&&m)return m(u,d,c);if(u.options.passThrough&&u.options.passThrough.includes(h)){if("children"in d){const{children:v,...A}=d,b=Yi(A);return b.children=u.all(d),b}return Yi(d)}return(u.options.unknownHandler||wx)(u,d,c)}function l(d){const c=[];if("children"in d){const h=d.children;let m=-1;for(;++m<h.length;){const E=u.one(h[m],d);if(E){if(m&&h[m-1].type==="break"&&(!Array.isArray(E)&&E.type==="text"&&(E.value=Wm(E.value)),!Array.isArray(E)&&E.type==="element")){const v=E.children[0];v&&v.type==="text"&&(v.value=Wm(v.value))}Array.isArray(E)?c.push(...E):c.push(E)}}}return c}}function xx(e,t){e.position&&(t.position=f_(e))}function Ax(e,t){let n=t;if(e&&e.data){const r=e.data.hName,i=e.data.hChildren,a=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const s="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:s}}n.type==="element"&&a&&Object.assign(n.properties,Yi(a)),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}function wx(e,t){const n=t.data||{},r="value"in t&&!(Ad.call(n,"hProperties")||Ad.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Sx(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
|
|
149
|
+
`});++r<e.length;)r&&n.push({type:"text",value:`
|
|
150
|
+
`}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
|
|
151
|
+
`}),n}function Wm(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function Vm(e,t){const n=Tx(e,t),r=n.one(e,void 0),i=hx(n),a=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&a.children.push({type:"text",value:`
|
|
152
|
+
`},i),a}function kx(e,t){return e&&"run"in e?async function(n,r){const i=Vm(n,{file:r,...t});await e.run(i,r)}:function(n,r){return Vm(n,{file:r,...e||t})}}function jm(e){if(e)throw e}var ko=Object.prototype.hasOwnProperty,r6=Object.prototype.toString,Km=Object.defineProperty,Xm=Object.getOwnPropertyDescriptor,Qm=function(t){return typeof Array.isArray=="function"?Array.isArray(t):r6.call(t)==="[object Array]"},Zm=function(t){if(!t||r6.call(t)!=="[object Object]")return!1;var n=ko.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&ko.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var i;for(i in t);return typeof i>"u"||ko.call(t,i)},Jm=function(t,n){Km&&n.name==="__proto__"?Km(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},ep=function(t,n){if(n==="__proto__")if(ko.call(t,n)){if(Xm)return Xm(t,n).value}else return;return t[n]},Cx=function e(){var t,n,r,i,a,s,u=arguments[0],o=1,l=arguments.length,d=!1;for(typeof u=="boolean"&&(d=u,u=arguments[1]||{},o=2),(u==null||typeof u!="object"&&typeof u!="function")&&(u={});o<l;++o)if(t=arguments[o],t!=null)for(n in t)r=ep(u,n),i=ep(t,n),u!==i&&(d&&i&&(Zm(i)||(a=Qm(i)))?(a?(a=!1,s=r&&Qm(r)?r:[]):s=r&&Zm(r)?r:{},Jm(u,{name:n,newValue:e(d,s,i)})):typeof i<"u"&&Jm(u,{name:n,newValue:i}));return u};const H0=fu(Cx);function wd(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 Nx(){const e=[],t={run:n,use:r};return t;function n(...i){let a=-1;const s=i.pop();if(typeof s!="function")throw new TypeError("Expected function as last argument, not "+s);u(null,...i);function u(o,...l){const d=e[++a];let c=-1;if(o){s(o);return}for(;++c<i.length;)(l[c]===null||l[c]===void 0)&&(l[c]=i[c]);i=l,d?Dx(d,u)(...l):s(null,...l)}}function r(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),t}}function Dx(e,t){let n;return r;function r(...s){const u=e.length>s.length;let o;u&&s.push(i);try{o=e.apply(this,s)}catch(l){const d=l;if(u&&n)throw d;return i(d)}u||(o&&o.then&&typeof o.then=="function"?o.then(a,i):o instanceof Error?i(o):a(o))}function i(s,...u){n||(n=!0,t(s,...u))}function a(s){i(null,s)}}const Kn={basename:Ix,dirname:Ox,extname:Rx,join:Mx,sep:"/"};function Ix(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Tu(e);let n=0,r=-1,i=e.length,a;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else r<0&&(a=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let s=-1,u=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else s<0&&(a=!0,s=i+1),u>-1&&(e.codePointAt(i)===t.codePointAt(u--)?u<0&&(r=i):(u=-1,r=s));return n===r?r=s:r<0&&(r=e.length),e.slice(n,r)}function Ox(e){if(Tu(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function Rx(e){Tu(e);let t=e.length,n=-1,r=0,i=-1,a=0,s;for(;t--;){const u=e.codePointAt(t);if(u===47){if(s){r=t+1;break}continue}n<0&&(s=!0,n=t+1),u===46?i<0?i=t:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||n<0||a===0||a===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function Mx(...e){let t=-1,n;for(;++t<e.length;)Tu(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":Lx(n)}function Lx(e){Tu(e);const t=e.codePointAt(0)===47;let n=Fx(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function Fx(e,t){let n="",r=0,i=-1,a=0,s=-1,u,o;for(;++s<=e.length;){if(s<e.length)u=e.codePointAt(s);else{if(u===47)break;u=47}if(u===47){if(!(i===s-1||a===1))if(i!==s-1&&a===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(o=n.lastIndexOf("/"),o!==n.length-1){o<0?(n="",r=0):(n=n.slice(0,o),r=n.length-1-n.lastIndexOf("/")),i=s,a=0;continue}}else if(n.length>0){n="",r=0,i=s,a=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,s):n=e.slice(i+1,s),r=s-i-1;i=s,a=0}else u===46&&a>-1?a++:a=-1}return n}function Tu(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Px={cwd:Bx};function Bx(){return"/"}function Sd(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function zx(e){if(typeof e=="string")e=new URL(e);else if(!Sd(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 Ux(e)}function Ux(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(t)}const $0=["history","path","basename","stem","extname","dirname"];class i6{constructor(t){let n;t?Sd(t)?n={path:t}:typeof t=="string"||Hx(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":Px.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<$0.length;){const a=$0[r];a in n&&n[a]!==void 0&&n[a]!==null&&(this[a]=a==="history"?[...n[a]]:n[a])}let i;for(i in n)$0.includes(i)||(this[i]=n[i])}get basename(){return typeof this.path=="string"?Kn.basename(this.path):void 0}set basename(t){G0(t,"basename"),q0(t,"basename"),this.path=Kn.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Kn.dirname(this.path):void 0}set dirname(t){tp(this.basename,"dirname"),this.path=Kn.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Kn.extname(this.path):void 0}set extname(t){if(q0(t,"extname"),tp(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=Kn.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){Sd(t)&&(t=zx(t)),G0(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Kn.basename(this.path,this.extname):void 0}set stem(t){G0(t,"stem"),q0(t,"stem"),this.path=Kn.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const i=this.message(t,n,r);throw i.fatal=!0,i}info(t,n,r){const i=this.message(t,n,r);return i.fatal=void 0,i}message(t,n,r){const i=new Mt(t,n,r);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function q0(e,t){if(e&&e.includes(Kn.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Kn.sep+"`")}function G0(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function tp(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function Hx(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const $x=function(e){const r=this.constructor.prototype,i=r[e],a=function(){return i.apply(a,arguments)};return Object.setPrototypeOf(a,r),a},qx={}.hasOwnProperty;class m1 extends $x{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=Nx()}copy(){const t=new m1;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(H0(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(V0("data",this.frozen),this.namespace[t]=n,this):qx.call(this.namespace,t)&&this.namespace[t]||void 0:t?(V0("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,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const i=n.call(t,...r);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=Vu(t),r=this.parser||this.Parser;return Y0("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),Y0("process",this.parser||this.Parser),W0("process",this.compiler||this.Compiler),n?i(void 0,n):new Promise(i);function i(a,s){const u=Vu(t),o=r.parse(u);r.run(o,u,function(d,c,h){if(d||!c||!h)return l(d);const m=c,E=r.stringify(m,h);Wx(E)?h.value=E:h.result=E,l(d,h)});function l(d,c){d||!c?s(d):a?a(c):n(void 0,c)}}}processSync(t){let n=!1,r;return this.freeze(),Y0("processSync",this.parser||this.Parser),W0("processSync",this.compiler||this.Compiler),this.process(t,i),rp("processSync","process",n),r;function i(a,s){n=!0,jm(a),r=s}}run(t,n,r){np(t),this.freeze();const i=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?a(void 0,r):new Promise(a);function a(s,u){const o=Vu(n);i.run(t,o,l);function l(d,c,h){const m=c||t;d?u(d):s?s(m):r(void 0,m,h)}}}runSync(t,n){let r=!1,i;return this.run(t,n,a),rp("runSync","run",r),i;function a(s,u){jm(s),i=u,r=!0}}stringify(t,n){this.freeze();const r=Vu(n),i=this.compiler||this.Compiler;return W0("stringify",i),np(t),i(t,r)}use(t,...n){const r=this.attachers,i=this.namespace;if(V0("use",this.frozen),t!=null)if(typeof t=="function")o(t,n);else if(typeof t=="object")Array.isArray(t)?u(t):s(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function a(l){if(typeof l=="function")o(l,[]);else if(typeof l=="object")if(Array.isArray(l)){const[d,...c]=l;o(d,c)}else s(l);else throw new TypeError("Expected usable value, not `"+l+"`")}function s(l){if(!("plugins"in l)&&!("settings"in l))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");u(l.plugins),l.settings&&(i.settings=H0(!0,i.settings,l.settings))}function u(l){let d=-1;if(l!=null)if(Array.isArray(l))for(;++d<l.length;){const c=l[d];a(c)}else throw new TypeError("Expected a list of plugins, not `"+l+"`")}function o(l,d){let c=-1,h=-1;for(;++c<r.length;)if(r[c][0]===l){h=c;break}if(h===-1)r.push([l,...d]);else if(d.length>0){let[m,...E]=d;const v=r[h][1];wd(v)&&wd(m)&&(m=H0(!0,v,m)),r[h]=[l,m,...E]}}}}const Gx=new m1().freeze();function Y0(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function W0(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function V0(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 np(e){if(!wd(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function rp(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Vu(e){return Yx(e)?e:new i6(e)}function Yx(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function Wx(e){return typeof e=="string"||Vx(e)}function Vx(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const jx="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",ip=[],ap={allowDangerousHtml:!0},Kx=/^(https?|ircs?|mailto|xmpp)$/i,Xx=[{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:"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 Qx(e){const t=Zx(e),n=Jx(e);return eA(t.runSync(t.parse(n),n),e)}function Zx(e){const t=e.rehypePlugins||ip,n=e.remarkPlugins||ip,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...ap}:ap;return Gx().use(MT).use(n).use(kx,r).use(t)}function Jx(e){const t=e.children||"",n=new i6;return typeof t=="string"&&(n.value=t),n}function eA(e,t){const n=t.allowedElements,r=t.allowElement,i=t.components,a=t.disallowedElements,s=t.skipHtml,u=t.unwrapDisallowed,o=t.urlTransform||tA;for(const d of Xx)Object.hasOwn(t,d.from)&&(""+d.from+(d.to?"use `"+d.to+"` instead":"remove it")+jx+d.id,void 0);return t.className&&(e={type:"element",tagName:"div",properties:{className:t.className},children:e.type==="root"?e.children:[e]}),Ki(e,l),b_(e,{Fragment:Y.Fragment,components:i,ignoreInvalidStyle:!0,jsx:Y.jsx,jsxs:Y.jsxs,passKeys:!0,passNode:!0});function l(d,c,h){if(d.type==="raw"&&h&&typeof c=="number")return s?h.children.splice(c,1):h.children[c]={type:"text",value:d.value},c;if(d.type==="element"){let m;for(m in B0)if(Object.hasOwn(B0,m)&&Object.hasOwn(d.properties,m)){const E=d.properties[m],v=B0[m];(v===null||v.includes(d.tagName))&&(d.properties[m]=o(String(E||""),m,d))}}if(d.type==="element"){let m=n?!n.includes(d.tagName):a?a.includes(d.tagName):!1;if(!m&&r&&typeof c=="number"&&(m=!r(d,c,h)),m&&h&&typeof c=="number")return u&&d.children?h.children.splice(c,1,...d.children):h.children.splice(c,1),c}}}function tA(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return t===-1||i!==-1&&t>i||n!==-1&&t>n||r!==-1&&t>r||Kx.test(e.slice(0,t))?e:""}function sp(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}function a6(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function nA(e,t,n){const i=_u((n||{}).ignore||[]),a=rA(t);let s=-1;for(;++s<a.length;)h1(e,"text",u);function u(l,d){let c=-1,h;for(;++c<d.length;){const m=d[c],E=h?h.children:void 0;if(i(m,E?E.indexOf(m):void 0,h))return;h=m}if(h)return o(l,d)}function o(l,d){const c=d[d.length-1],h=a[s][0],m=a[s][1];let E=0;const A=c.children.indexOf(l);let b=!1,y=[];h.lastIndex=0;let T=h.exec(l.value);for(;T;){const D=T.index,F={index:T.index,input:T.input,stack:[...d,l]};let C=m(...T,F);if(typeof C=="string"&&(C=C.length>0?{type:"text",value:C}:void 0),C===!1?h.lastIndex=D+1:(E!==D&&y.push({type:"text",value:l.value.slice(E,D)}),Array.isArray(C)?y.push(...C):C&&y.push(C),E=D+T[0].length,b=!0),!h.global)break;T=h.exec(l.value)}return b?(E<l.value.length&&y.push({type:"text",value:l.value.slice(E)}),c.children.splice(A,1,...y)):y=[l],A+y.length}}function rA(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 r=-1;for(;++r<n.length;){const i=n[r];t.push([iA(i[0]),aA(i[1])])}return t}function iA(e){return typeof e=="string"?new RegExp(a6(e),"g"):e}function aA(e){return typeof e=="function"?e:function(){return e}}const j0="phrasing",K0=["autolink","link","image","label"];function sA(){return{transforms:[hA],enter:{literalAutolink:oA,literalAutolinkEmail:X0,literalAutolinkHttp:X0,literalAutolinkWww:X0},exit:{literalAutolink:fA,literalAutolinkEmail:dA,literalAutolinkHttp:lA,literalAutolinkWww:cA}}}function uA(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:j0,notInConstruct:K0},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:j0,notInConstruct:K0},{character:":",before:"[ps]",after:"\\/",inConstruct:j0,notInConstruct:K0}]}}function oA(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function X0(e){this.config.enter.autolinkProtocol.call(this,e)}function lA(e){this.config.exit.autolinkProtocol.call(this,e)}function cA(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 dA(e){this.config.exit.autolinkEmail.call(this,e)}function fA(e){this.exit(e)}function hA(e){nA(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,mA],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),pA]],{ignore:["link","linkReference"]})}function mA(e,t,n,r,i){let a="";if(!s6(i)||(/^w/i.test(t)&&(n=t+n,t="",a="http://"),!gA(n)))return!1;const s=bA(n+r);if(!s[0])return!1;const u={type:"link",title:null,url:a+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[u,{type:"text",value:s[1]}]:u}function pA(e,t,n,r){return!s6(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function gA(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 bA(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const i=sp(e,"(");let a=sp(e,")");for(;r!==-1&&i>a;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),a++;return[e,n]}function s6(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||Gi(n)||Bl(n))&&(!t||n!==47)}u6.peek=SA;function EA(){this.buffer()}function yA(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function vA(){this.buffer()}function _A(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function TA(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Hn(this.sliceSerialize(e)).toLowerCase(),n.label=t}function xA(e){this.exit(e)}function AA(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Hn(this.sliceSerialize(e)).toLowerCase(),n.label=t}function wA(e){this.exit(e)}function SA(){return"["}function u6(e,t,n,r){const i=n.createTracker(r);let a=i.move("[^");const s=n.enter("footnoteReference"),u=n.enter("reference");return a+=i.move(n.safe(n.associationId(e),{after:"]",before:a})),u(),s(),a+=i.move("]"),a}function kA(){return{enter:{gfmFootnoteCallString:EA,gfmFootnoteCall:yA,gfmFootnoteDefinitionLabelString:vA,gfmFootnoteDefinition:_A},exit:{gfmFootnoteCallString:TA,gfmFootnoteCall:xA,gfmFootnoteDefinitionLabelString:AA,gfmFootnoteDefinition:wA}}}function CA(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:u6},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(r,i,a,s){const u=a.createTracker(s);let o=u.move("[^");const l=a.enter("footnoteDefinition"),d=a.enter("label");return o+=u.move(a.safe(a.associationId(r),{before:o,after:"]"})),d(),o+=u.move("]:"),r.children&&r.children.length>0&&(u.shift(4),o+=u.move((t?`
|
|
153
|
+
`:" ")+a.indentLines(a.containerFlow(r,u.current()),t?o6:NA))),l(),o}}function NA(e,t,n){return t===0?e:o6(e,t,n)}function o6(e,t,n){return(n?"":" ")+e}const DA=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];l6.peek=LA;function IA(){return{canContainEols:["delete"],enter:{strikethrough:RA},exit:{strikethrough:MA}}}function OA(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:DA}],handlers:{delete:l6}}}function RA(e){this.enter({type:"delete",children:[]},e)}function MA(e){this.exit(e)}function l6(e,t,n,r){const i=n.createTracker(r),a=n.enter("strikethrough");let s=i.move("~~");return s+=n.containerPhrasing(e,{...i.current(),before:s,after:"~"}),s+=i.move("~~"),a(),s}function LA(){return"~"}function FA(e){return e.length}function PA(e,t){const n=t||{},r=(n.align||[]).concat(),i=n.stringLength||FA,a=[],s=[],u=[],o=[];let l=0,d=-1;for(;++d<e.length;){const v=[],A=[];let b=-1;for(e[d].length>l&&(l=e[d].length);++b<e[d].length;){const y=BA(e[d][b]);if(n.alignDelimiters!==!1){const T=i(y);A[b]=T,(o[b]===void 0||T>o[b])&&(o[b]=T)}v.push(y)}s[d]=v,u[d]=A}let c=-1;if(typeof r=="object"&&"length"in r)for(;++c<l;)a[c]=up(r[c]);else{const v=up(r);for(;++c<l;)a[c]=v}c=-1;const h=[],m=[];for(;++c<l;){const v=a[c];let A="",b="";v===99?(A=":",b=":"):v===108?A=":":v===114&&(b=":");let y=n.alignDelimiters===!1?1:Math.max(1,o[c]-A.length-b.length);const T=A+"-".repeat(y)+b;n.alignDelimiters!==!1&&(y=A.length+y+b.length,y>o[c]&&(o[c]=y),m[c]=y),h[c]=T}s.splice(1,0,h),u.splice(1,0,m),d=-1;const E=[];for(;++d<s.length;){const v=s[d],A=u[d];c=-1;const b=[];for(;++c<l;){const y=v[c]||"";let T="",D="";if(n.alignDelimiters!==!1){const F=o[c]-(A[c]||0),C=a[c];C===114?T=" ".repeat(F):C===99?F%2?(T=" ".repeat(F/2+.5),D=" ".repeat(F/2-.5)):(T=" ".repeat(F/2),D=T):D=" ".repeat(F)}n.delimiterStart!==!1&&!c&&b.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&y==="")&&(n.delimiterStart!==!1||c)&&b.push(" "),n.alignDelimiters!==!1&&b.push(T),b.push(y),n.alignDelimiters!==!1&&b.push(D),n.padding!==!1&&b.push(" "),(n.delimiterEnd!==!1||c!==l-1)&&b.push("|")}E.push(n.delimiterEnd===!1?b.join("").replace(/ +$/,""):b.join(""))}return E.join(`
|
|
154
|
+
`)}function BA(e){return e==null?"":String(e)}function up(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 op={}.hasOwnProperty;function c6(e,t){const n=t||{};function r(i,...a){let s=r.invalid;const u=r.handlers;if(i&&op.call(i,e)){const o=String(i[e]);s=op.call(u,o)?u[o]:r.unknown}if(s)return s.call(this,i,...a)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}function zA(e,t,n,r){const i=n.enter("blockquote"),a=n.createTracker(r);a.move("> "),a.shift(2);const s=n.indentLines(n.containerFlow(e,a.current()),UA);return i(),s}function UA(e,t,n){return">"+(n?"":" ")+e}function HA(e,t){return lp(e,t.inConstruct,!0)&&!lp(e,t.notInConstruct,!1)}function lp(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function cp(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;)if(n.unsafe[i].character===`
|
|
155
|
+
`&&HA(n.stack,n.unsafe[i]))return/[ \t]/.test(r.before)?"":" ";return`\\
|
|
156
|
+
`}function d6(e,t){const n=String(e);let r=n.indexOf(t),i=r,a=0,s=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===i?++a>s&&(s=a):a=1,i=r+t.length,r=n.indexOf(t,i);return s}function $A(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 qA(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 GA(e,t,n,r){const i=qA(n),a=e.value||"",s=i==="`"?"GraveAccent":"Tilde";if($A(e,n)){const c=n.enter("codeIndented"),h=n.indentLines(a,YA);return c(),h}const u=n.createTracker(r),o=i.repeat(Math.max(d6(a,i)+1,3)),l=n.enter("codeFenced");let d=u.move(o);if(e.lang){const c=n.enter(`codeFencedLang${s}`);d+=u.move(n.safe(e.lang,{before:d,after:" ",encode:["`"],...u.current()})),c()}if(e.lang&&e.meta){const c=n.enter(`codeFencedMeta${s}`);d+=u.move(" "),d+=u.move(n.safe(e.meta,{before:d,after:`
|
|
157
|
+
`,encode:["`"],...u.current()})),c()}return d+=u.move(`
|
|
158
|
+
`),a&&(d+=u.move(a+`
|
|
159
|
+
`)),d+=u.move(o),l(),d}function YA(e,t,n){return(n?"":" ")+e}function p1(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 WA(e,t,n,r){const i=p1(n),a=i==='"'?"Quote":"Apostrophe",s=n.enter("definition");let u=n.enter("label");const o=n.createTracker(r);let l=o.move("[");return l+=o.move(n.safe(n.associationId(e),{before:l,after:"]",...o.current()})),l+=o.move("]: "),u(),!e.url||/[\0- \u007F]/.test(e.url)?(u=n.enter("destinationLiteral"),l+=o.move("<"),l+=o.move(n.safe(e.url,{before:l,after:">",...o.current()})),l+=o.move(">")):(u=n.enter("destinationRaw"),l+=o.move(n.safe(e.url,{before:l,after:e.title?" ":`
|
|
160
|
+
`,...o.current()}))),u(),e.title&&(u=n.enter(`title${a}`),l+=o.move(" "+i),l+=o.move(n.safe(e.title,{before:l,after:i,...o.current()})),l+=o.move(i),u()),s(),l}function VA(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 su(e){return"&#x"+e.toString(16).toUpperCase()+";"}function al(e,t,n){const r=Ma(e),i=Ma(t);return r===void 0?i===void 0?n==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:r===1?i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}f6.peek=jA;function f6(e,t,n,r){const i=VA(n),a=n.enter("emphasis"),s=n.createTracker(r),u=s.move(i);let o=s.move(n.containerPhrasing(e,{after:i,before:u,...s.current()}));const l=o.charCodeAt(0),d=al(r.before.charCodeAt(r.before.length-1),l,i);d.inside&&(o=su(l)+o.slice(1));const c=o.charCodeAt(o.length-1),h=al(r.after.charCodeAt(0),c,i);h.inside&&(o=o.slice(0,-1)+su(c));const m=s.move(i);return a(),n.attentionEncodeSurroundingInfo={after:h.outside,before:d.outside},u+o+m}function jA(e,t,n){return n.options.emphasis||"*"}function KA(e,t){let n=!1;return Ki(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,xd}),!!((!e.depth||e.depth<3)&&s1(e)&&(t.options.setext||n))}function XA(e,t,n,r){const i=Math.max(Math.min(6,e.depth||1),1),a=n.createTracker(r);if(KA(e,n)){const d=n.enter("headingSetext"),c=n.enter("phrasing"),h=n.containerPhrasing(e,{...a.current(),before:`
|
|
161
|
+
`,after:`
|
|
162
|
+
`});return c(),d(),h+`
|
|
163
|
+
`+(i===1?"=":"-").repeat(h.length-(Math.max(h.lastIndexOf("\r"),h.lastIndexOf(`
|
|
164
|
+
`))+1))}const s="#".repeat(i),u=n.enter("headingAtx"),o=n.enter("phrasing");a.move(s+" ");let l=n.containerPhrasing(e,{before:"# ",after:`
|
|
165
|
+
`,...a.current()});return/^[\t ]/.test(l)&&(l=su(l.charCodeAt(0))+l.slice(1)),l=l?s+" "+l:s,n.options.closeAtx&&(l+=" "+s),o(),u(),l}h6.peek=QA;function h6(e){return e.value||""}function QA(){return"<"}m6.peek=ZA;function m6(e,t,n,r){const i=p1(n),a=i==='"'?"Quote":"Apostrophe",s=n.enter("image");let u=n.enter("label");const o=n.createTracker(r);let l=o.move("![");return l+=o.move(n.safe(e.alt,{before:l,after:"]",...o.current()})),l+=o.move("]("),u(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(u=n.enter("destinationLiteral"),l+=o.move("<"),l+=o.move(n.safe(e.url,{before:l,after:">",...o.current()})),l+=o.move(">")):(u=n.enter("destinationRaw"),l+=o.move(n.safe(e.url,{before:l,after:e.title?" ":")",...o.current()}))),u(),e.title&&(u=n.enter(`title${a}`),l+=o.move(" "+i),l+=o.move(n.safe(e.title,{before:l,after:i,...o.current()})),l+=o.move(i),u()),l+=o.move(")"),s(),l}function ZA(){return"!"}p6.peek=JA;function p6(e,t,n,r){const i=e.referenceType,a=n.enter("imageReference");let s=n.enter("label");const u=n.createTracker(r);let o=u.move("![");const l=n.safe(e.alt,{before:o,after:"]",...u.current()});o+=u.move(l+"]["),s();const d=n.stack;n.stack=[],s=n.enter("reference");const c=n.safe(n.associationId(e),{before:o,after:"]",...u.current()});return s(),n.stack=d,a(),i==="full"||!l||l!==c?o+=u.move(c+"]"):i==="shortcut"?o=o.slice(0,-1):o+=u.move("]"),o}function JA(){return"!"}g6.peek=ew;function g6(e,t,n){let r=e.value||"",i="`",a=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++a<n.unsafe.length;){const s=n.unsafe[a],u=n.compilePattern(s);let o;if(s.atBreak)for(;o=u.exec(r);){let l=o.index;r.charCodeAt(l)===10&&r.charCodeAt(l-1)===13&&l--,r=r.slice(0,l)+" "+r.slice(o.index+1)}}return i+r+i}function ew(){return"`"}function b6(e,t){const n=s1(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))}E6.peek=tw;function E6(e,t,n,r){const i=p1(n),a=i==='"'?"Quote":"Apostrophe",s=n.createTracker(r);let u,o;if(b6(e,n)){const d=n.stack;n.stack=[],u=n.enter("autolink");let c=s.move("<");return c+=s.move(n.containerPhrasing(e,{before:c,after:">",...s.current()})),c+=s.move(">"),u(),n.stack=d,c}u=n.enter("link"),o=n.enter("label");let l=s.move("[");return l+=s.move(n.containerPhrasing(e,{before:l,after:"](",...s.current()})),l+=s.move("]("),o(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(o=n.enter("destinationLiteral"),l+=s.move("<"),l+=s.move(n.safe(e.url,{before:l,after:">",...s.current()})),l+=s.move(">")):(o=n.enter("destinationRaw"),l+=s.move(n.safe(e.url,{before:l,after:e.title?" ":")",...s.current()}))),o(),e.title&&(o=n.enter(`title${a}`),l+=s.move(" "+i),l+=s.move(n.safe(e.title,{before:l,after:i,...s.current()})),l+=s.move(i),o()),l+=s.move(")"),u(),l}function tw(e,t,n){return b6(e,n)?"<":"["}y6.peek=nw;function y6(e,t,n,r){const i=e.referenceType,a=n.enter("linkReference");let s=n.enter("label");const u=n.createTracker(r);let o=u.move("[");const l=n.containerPhrasing(e,{before:o,after:"]",...u.current()});o+=u.move(l+"]["),s();const d=n.stack;n.stack=[],s=n.enter("reference");const c=n.safe(n.associationId(e),{before:o,after:"]",...u.current()});return s(),n.stack=d,a(),i==="full"||!l||l!==c?o+=u.move(c+"]"):i==="shortcut"?o=o.slice(0,-1):o+=u.move("]"),o}function nw(){return"["}function g1(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 rw(e){const t=g1(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 iw(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 v6(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 aw(e,t,n,r){const i=n.enter("list"),a=n.bulletCurrent;let s=e.ordered?iw(n):g1(n);const u=e.ordered?s==="."?")":".":rw(n);let o=t&&n.bulletLastUsed?s===n.bulletLastUsed:!1;if(!e.ordered){const d=e.children?e.children[0]:void 0;if((s==="*"||s==="-")&&d&&(!d.children||!d.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&&(o=!0),v6(n)===s&&d){let c=-1;for(;++c<e.children.length;){const h=e.children[c];if(h&&h.type==="listItem"&&h.children&&h.children[0]&&h.children[0].type==="thematicBreak"){o=!0;break}}}}o&&(s=u),n.bulletCurrent=s;const l=n.containerFlow(e,r);return n.bulletLastUsed=s,n.bulletCurrent=a,i(),l}function sw(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 uw(e,t,n,r){const i=sw(n);let a=n.bulletCurrent||g1(n);t&&t.type==="list"&&t.ordered&&(a=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+a);let s=a.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(s=Math.ceil(s/4)*4);const u=n.createTracker(r);u.move(a+" ".repeat(s-a.length)),u.shift(s);const o=n.enter("listItem"),l=n.indentLines(n.containerFlow(e,u.current()),d);return o(),l;function d(c,h,m){return h?(m?"":" ".repeat(s))+c:(m?a:a+" ".repeat(s-a.length))+c}}function ow(e,t,n,r){const i=n.enter("paragraph"),a=n.enter("phrasing"),s=n.containerPhrasing(e,r);return a(),i(),s}const lw=_u(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function cw(e,t,n,r){return(e.children.some(function(s){return lw(s)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function dw(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}_6.peek=fw;function _6(e,t,n,r){const i=dw(n),a=n.enter("strong"),s=n.createTracker(r),u=s.move(i+i);let o=s.move(n.containerPhrasing(e,{after:i,before:u,...s.current()}));const l=o.charCodeAt(0),d=al(r.before.charCodeAt(r.before.length-1),l,i);d.inside&&(o=su(l)+o.slice(1));const c=o.charCodeAt(o.length-1),h=al(r.after.charCodeAt(0),c,i);h.inside&&(o=o.slice(0,-1)+su(c));const m=s.move(i+i);return a(),n.attentionEncodeSurroundingInfo={after:h.outside,before:d.outside},u+o+m}function fw(e,t,n){return n.options.strong||"*"}function hw(e,t,n,r){return n.safe(e.value,r)}function mw(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 pw(e,t,n){const r=(v6(n)+(n.options.ruleSpaces?" ":"")).repeat(mw(n));return n.options.ruleSpaces?r.slice(0,-1):r}const T6={blockquote:zA,break:cp,code:GA,definition:WA,emphasis:f6,hardBreak:cp,heading:XA,html:h6,image:m6,imageReference:p6,inlineCode:g6,link:E6,linkReference:y6,list:aw,listItem:uw,paragraph:ow,root:cw,strong:_6,text:hw,thematicBreak:pw};function gw(){return{enter:{table:bw,tableData:dp,tableHeader:dp,tableRow:yw},exit:{codeText:vw,table:Ew,tableData:Q0,tableHeader:Q0,tableRow:Q0}}}function bw(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 Ew(e){this.exit(e),this.data.inTable=void 0}function yw(e){this.enter({type:"tableRow",children:[]},e)}function Q0(e){this.exit(e)}function dp(e){this.enter({type:"tableCell",children:[]},e)}function vw(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,_w));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function _w(e,t){return t==="|"?t:e}function Tw(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,a=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
|
|
166
|
+
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:h,table:s,tableCell:o,tableRow:u}};function s(m,E,v,A){return l(d(m,v,A),m.align)}function u(m,E,v,A){const b=c(m,v,A),y=l([b]);return y.slice(0,y.indexOf(`
|
|
167
|
+
`))}function o(m,E,v,A){const b=v.enter("tableCell"),y=v.enter("phrasing"),T=v.containerPhrasing(m,{...A,before:a,after:a});return y(),b(),T}function l(m,E){return PA(m,{align:E,alignDelimiters:r,padding:n,stringLength:i})}function d(m,E,v){const A=m.children;let b=-1;const y=[],T=E.enter("table");for(;++b<A.length;)y[b]=c(A[b],E,v);return T(),y}function c(m,E,v){const A=m.children;let b=-1;const y=[],T=E.enter("tableRow");for(;++b<A.length;)y[b]=o(A[b],m,E,v);return T(),y}function h(m,E,v){let A=T6.inlineCode(m,E,v);return v.stack.includes("tableCell")&&(A=A.replace(/\|/g,"\\$&")),A}}function xw(){return{exit:{taskListCheckValueChecked:fp,taskListCheckValueUnchecked:fp,paragraph:ww}}}function Aw(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Sw}}}function fp(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function ww(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 r=n.children[0];if(r&&r.type==="text"){const i=t.children;let a=-1,s;for(;++a<i.length;){const u=i[a];if(u.type==="paragraph"){s=u;break}}s===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function Sw(e,t,n,r){const i=e.children[0],a=typeof e.checked=="boolean"&&i&&i.type==="paragraph",s="["+(e.checked?"x":" ")+"] ",u=n.createTracker(r);a&&u.move(s);let o=T6.listItem(e,t,n,{...r,...u.current()});return a&&(o=o.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,l)),o;function l(d){return d+s}}function kw(){return[sA(),kA(),IA(),gw(),xw()]}function Cw(e){return{extensions:[uA(),CA(e),OA(),Tw(e),Aw()]}}const Nw={tokenize:Lw,partial:!0},x6={tokenize:Fw,partial:!0},A6={tokenize:Pw,partial:!0},w6={tokenize:Bw,partial:!0},Dw={tokenize:zw,partial:!0},S6={name:"wwwAutolink",tokenize:Rw,previous:C6},k6={name:"protocolAutolink",tokenize:Mw,previous:N6},Sr={name:"emailAutolink",tokenize:Ow,previous:D6},ir={};function Iw(){return{text:ir}}let _i=48;for(;_i<123;)ir[_i]=Sr,_i++,_i===58?_i=65:_i===91&&(_i=97);ir[43]=Sr;ir[45]=Sr;ir[46]=Sr;ir[95]=Sr;ir[72]=[Sr,k6];ir[104]=[Sr,k6];ir[87]=[Sr,S6];ir[119]=[Sr,S6];function Ow(e,t,n){const r=this;let i,a;return s;function s(c){return!kd(c)||!D6.call(r,r.previous)||b1(r.events)?n(c):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),u(c))}function u(c){return kd(c)?(e.consume(c),u):c===64?(e.consume(c),o):n(c)}function o(c){return c===46?e.check(Dw,d,l)(c):c===45||c===95||It(c)?(a=!0,e.consume(c),o):d(c)}function l(c){return e.consume(c),i=!0,o}function d(c){return a&&i&&Ut(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(c)):n(c)}}function Rw(e,t,n){const r=this;return i;function i(s){return s!==87&&s!==119||!C6.call(r,r.previous)||b1(r.events)?n(s):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(Nw,e.attempt(x6,e.attempt(A6,a),n),n)(s))}function a(s){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(s)}}function Mw(e,t,n){const r=this;let i="",a=!1;return s;function s(c){return(c===72||c===104)&&N6.call(r,r.previous)&&!b1(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(c),e.consume(c),u):n(c)}function u(c){if(Ut(c)&&i.length<5)return i+=String.fromCodePoint(c),e.consume(c),u;if(c===58){const h=i.toLowerCase();if(h==="http"||h==="https")return e.consume(c),o}return n(c)}function o(c){return c===47?(e.consume(c),a?l:(a=!0,o)):n(c)}function l(c){return c===null||rl(c)||He(c)||Gi(c)||Bl(c)?n(c):e.attempt(x6,e.attempt(A6,d),n)(c)}function d(c){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(c)}}function Lw(e,t,n){let r=0;return i;function i(s){return(s===87||s===119)&&r<3?(r++,e.consume(s),i):s===46&&r===3?(e.consume(s),a):n(s)}function a(s){return s===null?n(s):t(s)}}function Fw(e,t,n){let r,i,a;return s;function s(l){return l===46||l===95?e.check(w6,o,u)(l):l===null||He(l)||Gi(l)||l!==45&&Bl(l)?o(l):(a=!0,e.consume(l),s)}function u(l){return l===95?r=!0:(i=r,r=void 0),e.consume(l),s}function o(l){return i||r||!a?n(l):t(l)}}function Pw(e,t){let n=0,r=0;return i;function i(s){return s===40?(n++,e.consume(s),i):s===41&&r<n?a(s):s===33||s===34||s===38||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===60||s===63||s===93||s===95||s===126?e.check(w6,t,a)(s):s===null||He(s)||Gi(s)?t(s):(e.consume(s),i)}function a(s){return s===41&&r++,e.consume(s),i}}function Bw(e,t,n){return r;function r(u){return u===33||u===34||u===39||u===41||u===42||u===44||u===46||u===58||u===59||u===63||u===95||u===126?(e.consume(u),r):u===38?(e.consume(u),a):u===93?(e.consume(u),i):u===60||u===null||He(u)||Gi(u)?t(u):n(u)}function i(u){return u===null||u===40||u===91||He(u)||Gi(u)?t(u):r(u)}function a(u){return Ut(u)?s(u):n(u)}function s(u){return u===59?(e.consume(u),r):Ut(u)?(e.consume(u),s):n(u)}}function zw(e,t,n){return r;function r(a){return e.consume(a),i}function i(a){return It(a)?n(a):t(a)}}function C6(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||He(e)}function N6(e){return!Ut(e)}function D6(e){return!(e===47||kd(e))}function kd(e){return e===43||e===45||e===46||e===95||It(e)}function b1(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const Uw={tokenize:jw,partial:!0};function Hw(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:Yw,continuation:{tokenize:Ww},exit:Vw}},text:{91:{name:"gfmFootnoteCall",tokenize:Gw},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:$w,resolveTo:qw}}}}function $w(e,t,n){const r=this;let i=r.events.length;const a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s;for(;i--;){const o=r.events[i][1];if(o.type==="labelImage"){s=o;break}if(o.type==="gfmFootnoteCall"||o.type==="labelLink"||o.type==="label"||o.type==="image"||o.type==="link")break}return u;function u(o){if(!s||!s._balanced)return n(o);const l=Hn(r.sliceSerialize({start:s.end,end:r.now()}));return l.codePointAt(0)!==94||!a.includes(l.slice(1))?n(o):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),t(o))}}function qw(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 r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},u=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",a,t],["enter",s,t],["exit",s,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...u),e}function Gw(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a=0,s;return u;function u(c){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(c),e.exit("gfmFootnoteCallLabelMarker"),o}function o(c){return c!==94?n(c):(e.enter("gfmFootnoteCallMarker"),e.consume(c),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",l)}function l(c){if(a>999||c===93&&!s||c===null||c===91||He(c))return n(c);if(c===93){e.exit("chunkString");const h=e.exit("gfmFootnoteCallString");return i.includes(Hn(r.sliceSerialize(h)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(c),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(c)}return He(c)||(s=!0),a++,e.consume(c),c===92?d:l}function d(c){return c===91||c===92||c===93?(e.consume(c),a++,l):l(c)}}function Yw(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a,s=0,u;return o;function o(E){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(E),e.exit("gfmFootnoteDefinitionLabelMarker"),l}function l(E){return E===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(E),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",d):n(E)}function d(E){if(s>999||E===93&&!u||E===null||E===91||He(E))return n(E);if(E===93){e.exit("chunkString");const v=e.exit("gfmFootnoteDefinitionLabelString");return a=Hn(r.sliceSerialize(v)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(E),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),h}return He(E)||(u=!0),s++,e.consume(E),E===92?c:d}function c(E){return E===91||E===92||E===93?(e.consume(E),s++,d):d(E)}function h(E){return E===58?(e.enter("definitionMarker"),e.consume(E),e.exit("definitionMarker"),i.includes(a)||i.push(a),Ne(e,m,"gfmFootnoteDefinitionWhitespace")):n(E)}function m(E){return t(E)}}function Ww(e,t,n){return e.check(vu,t,e.attempt(Uw,t,n))}function Vw(e){e.exit("gfmFootnoteDefinition")}function jw(e,t,n){const r=this;return Ne(e,i,"gfmFootnoteDefinitionIndent",5);function i(a){const s=r.events[r.events.length-1];return s&&s[1].type==="gfmFootnoteDefinitionIndent"&&s[2].sliceSerialize(s[1],!0).length===4?t(a):n(a)}}function Kw(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:a,resolveAll:i};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(s,u){let o=-1;for(;++o<s.length;)if(s[o][0]==="enter"&&s[o][1].type==="strikethroughSequenceTemporary"&&s[o][1]._close){let l=o;for(;l--;)if(s[l][0]==="exit"&&s[l][1].type==="strikethroughSequenceTemporary"&&s[l][1]._open&&s[o][1].end.offset-s[o][1].start.offset===s[l][1].end.offset-s[l][1].start.offset){s[o][1].type="strikethroughSequence",s[l][1].type="strikethroughSequence";const d={type:"strikethrough",start:Object.assign({},s[l][1].start),end:Object.assign({},s[o][1].end)},c={type:"strikethroughText",start:Object.assign({},s[l][1].end),end:Object.assign({},s[o][1].start)},h=[["enter",d,u],["enter",s[l][1],u],["exit",s[l][1],u],["enter",c,u]],m=u.parser.constructs.insideSpan.null;m&&fn(h,h.length,0,zl(m,s.slice(l+1,o),u)),fn(h,h.length,0,[["exit",c,u],["enter",s[o][1],u],["exit",s[o][1],u],["exit",d,u]]),fn(s,l-1,o-l+3,h),o=l+h.length-2;break}}for(o=-1;++o<s.length;)s[o][1].type==="strikethroughSequenceTemporary"&&(s[o][1].type="data");return s}function a(s,u,o){const l=this.previous,d=this.events;let c=0;return h;function h(E){return l===126&&d[d.length-1][1].type!=="characterEscape"?o(E):(s.enter("strikethroughSequenceTemporary"),m(E))}function m(E){const v=Ma(l);if(E===126)return c>1?o(E):(s.consume(E),c++,m);if(c<2&&!n)return o(E);const A=s.exit("strikethroughSequenceTemporary"),b=Ma(E);return A._open=!b||b===2&&!!v,A._close=!v||v===2&&!!b,u(E)}}}class Xw{constructor(){this.map=[]}add(t,n,r){Qw(this,t,n,r)}consume(t){if(this.map.sort(function(a,s){return a[0]-s[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push(t.slice()),t.length=0;let i=r.pop();for(;i;){for(const a of i)t.push(a);i=r.pop()}this.map.length=0}}function Qw(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}function Zw(e,t){let n=!1;const r=[];for(;t<e.length;){const i=e[t];if(n){if(i[0]==="enter")i[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const a=r.length-1;r[a]=r[a]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function Jw(){return{flow:{null:{name:"table",tokenize:eS,resolveAll:tS}}}}function eS(e,t,n){const r=this;let i=0,a=0,s;return u;function u(M){let Z=r.events.length-1;for(;Z>-1;){const he=r.events[Z][1].type;if(he==="lineEnding"||he==="linePrefix")Z--;else break}const V=Z>-1?r.events[Z][1].type:null,be=V==="tableHead"||V==="tableRow"?C:o;return be===C&&r.parser.lazy[r.now().line]?n(M):be(M)}function o(M){return e.enter("tableHead"),e.enter("tableRow"),l(M)}function l(M){return M===124||(s=!0,a+=1),d(M)}function d(M){return M===null?n(M):me(M)?a>1?(a=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(M),e.exit("lineEnding"),m):n(M):we(M)?Ne(e,d,"whitespace")(M):(a+=1,s&&(s=!1,i+=1),M===124?(e.enter("tableCellDivider"),e.consume(M),e.exit("tableCellDivider"),s=!0,d):(e.enter("data"),c(M)))}function c(M){return M===null||M===124||He(M)?(e.exit("data"),d(M)):(e.consume(M),M===92?h:c)}function h(M){return M===92||M===124?(e.consume(M),c):c(M)}function m(M){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(M):(e.enter("tableDelimiterRow"),s=!1,we(M)?Ne(e,E,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(M):E(M))}function E(M){return M===45||M===58?A(M):M===124?(s=!0,e.enter("tableCellDivider"),e.consume(M),e.exit("tableCellDivider"),v):F(M)}function v(M){return we(M)?Ne(e,A,"whitespace")(M):A(M)}function A(M){return M===58?(a+=1,s=!0,e.enter("tableDelimiterMarker"),e.consume(M),e.exit("tableDelimiterMarker"),b):M===45?(a+=1,b(M)):M===null||me(M)?D(M):F(M)}function b(M){return M===45?(e.enter("tableDelimiterFiller"),y(M)):F(M)}function y(M){return M===45?(e.consume(M),y):M===58?(s=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(M),e.exit("tableDelimiterMarker"),T):(e.exit("tableDelimiterFiller"),T(M))}function T(M){return we(M)?Ne(e,D,"whitespace")(M):D(M)}function D(M){return M===124?E(M):M===null||me(M)?!s||i!==a?F(M):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(M)):F(M)}function F(M){return n(M)}function C(M){return e.enter("tableRow"),B(M)}function B(M){return M===124?(e.enter("tableCellDivider"),e.consume(M),e.exit("tableCellDivider"),B):M===null||me(M)?(e.exit("tableRow"),t(M)):we(M)?Ne(e,B,"whitespace")(M):(e.enter("data"),H(M))}function H(M){return M===null||M===124||He(M)?(e.exit("data"),B(M)):(e.consume(M),M===92?W:H)}function W(M){return M===92||M===124?(e.consume(M),H):H(M)}}function tS(e,t){let n=-1,r=!0,i=0,a=[0,0,0,0],s=[0,0,0,0],u=!1,o=0,l,d,c;const h=new Xw;for(;++n<e.length;){const m=e[n],E=m[1];m[0]==="enter"?E.type==="tableHead"?(u=!1,o!==0&&(hp(h,t,o,l,d),d=void 0,o=0),l={type:"table",start:Object.assign({},E.start),end:Object.assign({},E.end)},h.add(n,0,[["enter",l,t]])):E.type==="tableRow"||E.type==="tableDelimiterRow"?(r=!0,c=void 0,a=[0,0,0,0],s=[0,n+1,0,0],u&&(u=!1,d={type:"tableBody",start:Object.assign({},E.start),end:Object.assign({},E.end)},h.add(n,0,[["enter",d,t]])),i=E.type==="tableDelimiterRow"?2:d?3:1):i&&(E.type==="data"||E.type==="tableDelimiterMarker"||E.type==="tableDelimiterFiller")?(r=!1,s[2]===0&&(a[1]!==0&&(s[0]=s[1],c=ju(h,t,a,i,void 0,c),a=[0,0,0,0]),s[2]=n)):E.type==="tableCellDivider"&&(r?r=!1:(a[1]!==0&&(s[0]=s[1],c=ju(h,t,a,i,void 0,c)),a=s,s=[a[1],n,0,0])):E.type==="tableHead"?(u=!0,o=n):E.type==="tableRow"||E.type==="tableDelimiterRow"?(o=n,a[1]!==0?(s[0]=s[1],c=ju(h,t,a,i,n,c)):s[1]!==0&&(c=ju(h,t,s,i,n,c)),i=0):i&&(E.type==="data"||E.type==="tableDelimiterMarker"||E.type==="tableDelimiterFiller")&&(s[3]=n)}for(o!==0&&hp(h,t,o,l,d),h.consume(t.events),n=-1;++n<t.events.length;){const m=t.events[n];m[0]==="enter"&&m[1].type==="table"&&(m[1]._align=Zw(t.events,n))}return e}function ju(e,t,n,r,i,a){const s=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",u="tableContent";n[0]!==0&&(a.end=Object.assign({},ra(t.events,n[0])),e.add(n[0],0,[["exit",a,t]]));const o=ra(t.events,n[1]);if(a={type:s,start:Object.assign({},o),end:Object.assign({},o)},e.add(n[1],0,[["enter",a,t]]),n[2]!==0){const l=ra(t.events,n[2]),d=ra(t.events,n[3]),c={type:u,start:Object.assign({},l),end:Object.assign({},d)};if(e.add(n[2],0,[["enter",c,t]]),r!==2){const h=t.events[n[2]],m=t.events[n[3]];if(h[1].end=Object.assign({},m[1].end),h[1].type="chunkText",h[1].contentType="text",n[3]>n[2]+1){const E=n[2]+1,v=n[3]-n[2]-1;e.add(E,v,[])}}e.add(n[3]+1,0,[["exit",c,t]])}return i!==void 0&&(a.end=Object.assign({},ra(t.events,i)),e.add(i,0,[["exit",a,t]]),a=void 0),a}function hp(e,t,n,r,i){const a=[],s=ra(t.events,n);i&&(i.end=Object.assign({},s),a.push(["exit",i,t])),r.end=Object.assign({},s),a.push(["exit",r,t]),e.add(n+1,0,a)}function ra(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const nS={name:"tasklistCheck",tokenize:iS};function rS(){return{text:{91:nS}}}function iS(e,t,n){const r=this;return i;function i(o){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(o):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(o),e.exit("taskListCheckMarker"),a)}function a(o){return He(o)?(e.enter("taskListCheckValueUnchecked"),e.consume(o),e.exit("taskListCheckValueUnchecked"),s):o===88||o===120?(e.enter("taskListCheckValueChecked"),e.consume(o),e.exit("taskListCheckValueChecked"),s):n(o)}function s(o){return o===93?(e.enter("taskListCheckMarker"),e.consume(o),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),u):n(o)}function u(o){return me(o)?t(o):we(o)?e.check({tokenize:aS},t,n)(o):n(o)}}function aS(e,t,n){return Ne(e,r,"whitespace");function r(i){return i===null?n(i):t(i)}}function sS(e){return P3([Iw(),Hw(),Kw(e),Jw(),rS()])}const uS={};function oS(e){const t=this,n=e||uS,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),a=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),s=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(sS(n)),a.push(kw()),s.push(Cw(n))}function lS(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:a},exit:{mathFlow:i,mathFlowFence:r,mathFlowFenceMeta:n,mathFlowValue:u,mathText:s,mathTextData:u}};function e(o){const l={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[l]}},o)}function t(){this.buffer()}function n(){const o=this.resume(),l=this.stack[this.stack.length-1];l.type,l.meta=o}function r(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function i(o){const l=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),d=this.stack[this.stack.length-1];d.type,this.exit(o),d.value=l;const c=d.data.hChildren[0];c.type,c.tagName,c.children.push({type:"text",value:l}),this.data.mathFlowInside=void 0}function a(o){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},o),this.buffer()}function s(o){const l=this.resume(),d=this.stack[this.stack.length-1];d.type,this.exit(o),d.value=l,d.data.hChildren.push({type:"text",value:l})}function u(o){this.config.enter.data.call(this,o),this.config.exit.data.call(this,o)}}function cS(e){let t=(e||{}).singleDollarTextMath;return t==null&&(t=!0),r.peek=i,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
|
|
168
|
+
`,inConstruct:"mathFlowMeta"},{character:"$",after:t?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:n,inlineMath:r}};function n(a,s,u,o){const l=a.value||"",d=u.createTracker(o),c="$".repeat(Math.max(d6(l,"$")+1,2)),h=u.enter("mathFlow");let m=d.move(c);if(a.meta){const E=u.enter("mathFlowMeta");m+=d.move(u.safe(a.meta,{after:`
|
|
169
|
+
`,before:m,encode:["$"],...d.current()})),E()}return m+=d.move(`
|
|
170
|
+
`),l&&(m+=d.move(l+`
|
|
171
|
+
`)),m+=d.move(c),h(),m}function r(a,s,u){let o=a.value||"",l=1;for(t||l++;new RegExp("(^|[^$])"+"\\$".repeat(l)+"([^$]|$)").test(o);)l++;const d="$".repeat(l);/[^ \r\n]/.test(o)&&(/^[ \r\n]/.test(o)&&/[ \r\n]$/.test(o)||/^\$|\$$/.test(o))&&(o=" "+o+" ");let c=-1;for(;++c<u.unsafe.length;){const h=u.unsafe[c];if(!h.atBreak)continue;const m=u.compilePattern(h);let E;for(;E=m.exec(o);){let v=E.index;o.codePointAt(v)===10&&o.codePointAt(v-1)===13&&v--,o=o.slice(0,v)+" "+o.slice(E.index+1)}}return d+o+d}function i(){return"$"}}const dS={tokenize:fS,concrete:!0,name:"mathFlow"},mp={tokenize:hS,partial:!0};function fS(e,t,n){const r=this,i=r.events[r.events.length-1],a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0;let s=0;return u;function u(y){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),o(y)}function o(y){return y===36?(e.consume(y),s++,o):s<2?n(y):(e.exit("mathFlowFenceSequence"),Ne(e,l,"whitespace")(y))}function l(y){return y===null||me(y)?c(y):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),d(y))}function d(y){return y===null||me(y)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),c(y)):y===36?n(y):(e.consume(y),d)}function c(y){return e.exit("mathFlowFence"),r.interrupt?t(y):e.attempt(mp,h,A)(y)}function h(y){return e.attempt({tokenize:b,partial:!0},A,m)(y)}function m(y){return(a?Ne(e,E,"linePrefix",a+1):E)(y)}function E(y){return y===null?A(y):me(y)?e.attempt(mp,h,A)(y):(e.enter("mathFlowValue"),v(y))}function v(y){return y===null||me(y)?(e.exit("mathFlowValue"),E(y)):(e.consume(y),v)}function A(y){return e.exit("mathFlow"),t(y)}function b(y,T,D){let F=0;return Ne(y,C,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function C(W){return y.enter("mathFlowFence"),y.enter("mathFlowFenceSequence"),B(W)}function B(W){return W===36?(F++,y.consume(W),B):F<s?D(W):(y.exit("mathFlowFenceSequence"),Ne(y,H,"whitespace")(W))}function H(W){return W===null||me(W)?(y.exit("mathFlowFence"),T(W)):D(W)}}}function hS(e,t,n){const r=this;return i;function i(s){return s===null?t(s):(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a)}function a(s){return r.parser.lazy[r.now().line]?n(s):t(s)}}function mS(e){let n=(e||{}).singleDollarTextMath;return n==null&&(n=!0),{tokenize:r,resolve:pS,previous:gS,name:"mathText"};function r(i,a,s){let u=0,o,l;return d;function d(v){return i.enter("mathText"),i.enter("mathTextSequence"),c(v)}function c(v){return v===36?(i.consume(v),u++,c):u<2&&!n?s(v):(i.exit("mathTextSequence"),h(v))}function h(v){return v===null?s(v):v===36?(l=i.enter("mathTextSequence"),o=0,E(v)):v===32?(i.enter("space"),i.consume(v),i.exit("space"),h):me(v)?(i.enter("lineEnding"),i.consume(v),i.exit("lineEnding"),h):(i.enter("mathTextData"),m(v))}function m(v){return v===null||v===32||v===36||me(v)?(i.exit("mathTextData"),h(v)):(i.consume(v),m)}function E(v){return v===36?(i.consume(v),o++,E):o===u?(i.exit("mathTextSequence"),i.exit("mathText"),a(v)):(l.type="mathTextData",m(v))}}}function pS(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="mathTextData"){e[t][1].type="mathTextPadding",e[n][1].type="mathTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="mathTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function gS(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}function bS(e){return{flow:{36:dS},text:{36:mS(e)}}}class re extends Error{constructor(t,n){var r="KaTeX parse error: "+t,i,a,s=n&&n.loc;if(s&&s.start<=s.end){var u=s.lexer.input;i=s.start,a=s.end,i===u.length?r+=" at end of input: ":r+=" at position "+(i+1)+": ";var o=u.slice(i,a).replace(/[^]/g,"$&̲"),l;i>15?l="…"+u.slice(i-15,i):l=u.slice(0,i);var d;a+15<u.length?d=u.slice(a,a+15)+"…":d=u.slice(a),r+=l+o+d}super(r),this.name="ParseError",this.position=void 0,this.length=void 0,this.rawMessage=void 0,Object.setPrototypeOf(this,re.prototype),this.position=i,i!=null&&a!=null&&(this.length=a-i),this.rawMessage=t}}var ES=/([A-Z])/g,yS=e=>e.replace(ES,"-$1").toLowerCase(),vS={"&":"&",">":">","<":"<",'"':""","'":"'"},_S=/[&><"']/g,Ot=e=>String(e).replace(_S,t=>vS[t]),Co=e=>e.type==="ordgroup"||e.type==="color"?e.body.length===1?Co(e.body[0]):e:e.type==="font"?Co(e.body):e,TS=new Set(["mathord","textord","atom"]),kr=e=>TS.has(Co(e).type),xS=e=>{var t=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(e);return t?t[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?null:t[1].toLowerCase():"_relative"},Cd={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 AS(e){if(typeof e!="string")return e.enum[0];switch(e){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{};default:throw new Error("Unexpected schema type; settings must declare an explicit default.")}}function wS(e){if(e.default!==void 0)return e.default;var t=Array.isArray(e.type)?e.type[0]:e.type;return AS(t)}function SS(e,t,n,r){var i=n[t];e[t]=i!==void 0?r.processor?r.processor(i):i:wS(r)}class E1{constructor(t){t===void 0&&(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 of Object.keys(Cd)){var r=Cd[n];r&&SS(this,n,t,r)}}reportNonstrict(t,n,r){var i=this.strict;if(typeof i=="function"&&(i=i(t,n,r)),!(!i||i==="ignore")){if(i===!0||i==="error")throw new re("LaTeX-incompatible input and strict mode is set to 'error': "+(n+" ["+t+"]"),r);i==="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 '"+i+"': "+n+" ["+t+"]"))}}useStrictBehavior(t,n,r){var i=this.strict;if(typeof i=="function")try{i=i(t,n,r)}catch{i="error"}return!i||i==="ignore"?!1:i===!0||i==="error"?!0:i==="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 '"+i+"': "+n+" ["+t+"]")),!1)}isTrusted(t){if("url"in t&&t.url&&!t.protocol){var n=xS(t.url);if(n==null)return!1;t.protocol=n}var r=typeof this.trust=="function"?this.trust(t):this.trust;return!!r}}class zr{constructor(t,n,r){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=t,this.size=n,this.cramped=r}sup(){return Xn[kS[this.id]]}sub(){return Xn[CS[this.id]]}fracNum(){return Xn[NS[this.id]]}fracDen(){return Xn[DS[this.id]]}cramp(){return Xn[IS[this.id]]}text(){return Xn[OS[this.id]]}isTight(){return this.size>=2}}var y1=0,sl=1,Sa=2,yr=3,uu=4,wn=5,La=6,Ht=7,Xn=[new zr(y1,0,!1),new zr(sl,0,!0),new zr(Sa,1,!1),new zr(yr,1,!0),new zr(uu,2,!1),new zr(wn,2,!0),new zr(La,3,!1),new zr(Ht,3,!0)],kS=[uu,wn,uu,wn,La,Ht,La,Ht],CS=[wn,wn,wn,wn,Ht,Ht,Ht,Ht],NS=[Sa,yr,uu,wn,La,Ht,La,Ht],DS=[yr,yr,wn,wn,Ht,Ht,Ht,Ht],IS=[sl,sl,yr,yr,wn,wn,Ht,Ht],OS=[y1,sl,Sa,yr,Sa,yr,Sa,yr],Te={DISPLAY:Xn[y1],TEXT:Xn[Sa],SCRIPT:Xn[uu],SCRIPTSCRIPT:Xn[La]},Nd=[{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 RS(e){for(var t=0;t<Nd.length;t++)for(var n=Nd[t],r=0;r<n.blocks.length;r++){var i=n.blocks[r];if(e>=i[0]&&e<=i[1])return n.name}return null}var No=[];Nd.forEach(e=>e.blocks.forEach(t=>No.push(...t)));function I6(e){for(var t=0;t<No.length;t+=2)if(e>=No[t]&&e<=No[t+1])return!0;return!1}var mt=e=>e+" "+e,ta=80,MS=function(t,n){return"M95,"+(622+t+n)+`
|
|
172
|
+
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
|
|
173
|
+
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
|
|
174
|
+
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
|
|
175
|
+
s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
|
|
176
|
+
c69,-144,104.5,-217.7,106.5,-221
|
|
177
|
+
l`+t/2.075+" -"+t+`
|
|
178
|
+
c5.3,-9.3,12,-14,20,-14
|
|
179
|
+
H400000v`+(40+t)+`H845.2724
|
|
180
|
+
s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
|
|
181
|
+
c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
|
|
182
|
+
M`+(834+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},LS=function(t,n){return"M263,"+(601+t+n)+`c0.7,0,18,39.7,52,119
|
|
183
|
+
c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
|
|
184
|
+
c340,-704.7,510.7,-1060.3,512,-1067
|
|
185
|
+
l`+t/2.084+" -"+t+`
|
|
186
|
+
c4.7,-7.3,11,-11,19,-11
|
|
187
|
+
H40000v`+(40+t)+`H1012.3
|
|
188
|
+
s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
|
|
189
|
+
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
|
|
190
|
+
s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
|
|
191
|
+
c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
|
|
192
|
+
M`+(1001+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},FS=function(t,n){return"M983 "+(10+t+n)+`
|
|
193
|
+
l`+t/3.13+" -"+t+`
|
|
194
|
+
c4,-6.7,10,-10,18,-10 H400000v`+(40+t)+`
|
|
195
|
+
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
|
|
196
|
+
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
|
|
197
|
+
c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
|
|
198
|
+
c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
|
|
199
|
+
c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
|
|
200
|
+
c53.7,-170.3,84.5,-266.8,92.5,-289.5z
|
|
201
|
+
M`+(1001+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},PS=function(t,n){return"M424,"+(2398+t+n)+`
|
|
202
|
+
c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
|
|
203
|
+
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
|
|
204
|
+
s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
|
|
205
|
+
s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
|
|
206
|
+
l`+t/4.223+" -"+t+`c4,-6.7,10,-10,18,-10 H400000
|
|
207
|
+
v`+(40+t)+`H1014.6
|
|
208
|
+
s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
|
|
209
|
+
c-2,6,-10,9,-24,9
|
|
210
|
+
c-8,0,-12,-0.7,-12,-2z M`+(1001+t)+" "+n+`
|
|
211
|
+
h400000v`+(40+t)+"h-400000z"},BS=function(t,n){return"M473,"+(2713+t+n)+`
|
|
212
|
+
c339.3,-1799.3,509.3,-2700,510,-2702 l`+t/5.298+" -"+t+`
|
|
213
|
+
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+t)+`H1017.7
|
|
214
|
+
s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
|
|
215
|
+
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
|
|
216
|
+
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
|
|
217
|
+
s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
|
|
218
|
+
606zM`+(1001+t)+" "+n+"h400000v"+(40+t)+"H1017.7z"},zS=function(t){var n=t/2;return"M400000 "+t+" H0 L"+n+" 0 l65 45 L145 "+(t-80)+" H400000z"},US=function(t,n,r){var i=r-54-n-t;return"M702 "+(t+n)+"H400000"+(40+t)+`
|
|
219
|
+
H742v`+i+`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
|
|
220
|
+
h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
|
|
221
|
+
c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
|
|
222
|
+
219 661 l218 661zM702 `+n+"H400000v"+(40+t)+"H742z"},HS=function(t,n,r){n=1e3*n;var i="";switch(t){case"sqrtMain":i=MS(n,ta);break;case"sqrtSize1":i=LS(n,ta);break;case"sqrtSize2":i=FS(n,ta);break;case"sqrtSize3":i=PS(n,ta);break;case"sqrtSize4":i=BS(n,ta);break;case"sqrtTall":i=US(n,ta,r)}return i},$S=function(t,n){switch(t){case"⎜":return mt("M291 0 H417 V"+n+" H291z");case"∣":return mt("M145 0 H188 V"+n+" H145z");case"∥":return mt("M145 0 H188 V"+n+" H145z")+mt("M367 0 H410 V"+n+" H367z");case"⎟":return mt("M457 0 H583 V"+n+" H457z");case"⎢":return mt("M319 0 H403 V"+n+" H319z");case"⎥":return mt("M263 0 H347 V"+n+" H263z");case"⎪":return mt("M384 0 H504 V"+n+" H384z");case"⏐":return mt("M312 0 H355 V"+n+" H312z");case"‖":return mt("M257 0 H300 V"+n+" H257z")+mt("M478 0 H521 V"+n+" H478z");default:return""}},pp={doubleleftarrow:`M262 157
|
|
223
|
+
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
|
|
224
|
+
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
|
|
225
|
+
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
|
|
226
|
+
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
|
|
227
|
+
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
|
|
228
|
+
-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
|
|
229
|
+
-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
|
|
230
|
+
m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
|
|
231
|
+
-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
|
|
232
|
+
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
|
|
233
|
+
-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
|
|
234
|
+
-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
|
|
235
|
+
-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
|
|
236
|
+
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
|
|
237
|
+
-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
|
|
238
|
+
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
|
|
239
|
+
-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
|
|
240
|
+
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
|
|
241
|
+
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
|
|
242
|
+
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
|
|
243
|
+
l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
|
|
244
|
+
-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
|
|
245
|
+
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
|
|
246
|
+
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
|
|
247
|
+
0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
|
|
248
|
+
-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
|
|
249
|
+
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
|
|
250
|
+
435 0h399565z`,leftgroupunder:`M400000 262
|
|
251
|
+
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
|
|
252
|
+
435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
|
|
253
|
+
-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
|
|
254
|
+
-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
|
|
255
|
+
-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
|
|
256
|
+
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
|
|
257
|
+
-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
|
|
258
|
+
-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
|
|
259
|
+
m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
|
|
260
|
+
5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
|
|
261
|
+
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
|
|
262
|
+
-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
|
|
263
|
+
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
|
|
264
|
+
-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
|
|
265
|
+
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
|
|
266
|
+
-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
|
|
267
|
+
-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
|
|
268
|
+
71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:mt("M40 281 V428 H0 V94 H40 V241 H400000 v40z"),leftbracketunder:mt("M0 0 h120 V290 H399995 v120 H0z"),leftbracketover:mt("M0 440 h120 V150 H399995 v-120 H0z"),leftmapsto:mt("M40 281 V448H0V74H40V241H400000v40z"),leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
|
|
269
|
+
-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
|
|
270
|
+
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
|
|
271
|
+
68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:mt("M0 50 h400000 v40H0z m0 194h40000v40H0z"),midbrace:`M200428 334
|
|
272
|
+
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
|
|
273
|
+
-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
|
|
274
|
+
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
|
|
275
|
+
12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
|
|
276
|
+
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
|
|
277
|
+
53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
|
|
278
|
+
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
|
|
279
|
+
-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
|
|
280
|
+
-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
|
|
281
|
+
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
|
|
282
|
+
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
|
|
283
|
+
-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
|
|
284
|
+
m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
|
|
285
|
+
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
|
|
286
|
+
-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
|
|
287
|
+
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
|
|
288
|
+
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
|
|
289
|
+
-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
|
|
290
|
+
m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
|
|
291
|
+
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
|
|
292
|
+
-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
|
|
293
|
+
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
|
|
294
|
+
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
|
|
295
|
+
-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
|
|
296
|
+
-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
|
|
297
|
+
151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
|
|
298
|
+
-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
|
|
299
|
+
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
|
|
300
|
+
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
|
|
301
|
+
28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
|
|
302
|
+
-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
|
|
303
|
+
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
|
|
304
|
+
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
|
|
305
|
+
-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
|
|
306
|
+
-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
|
|
307
|
+
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
|
|
308
|
+
-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
|
|
309
|
+
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
|
|
310
|
+
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
|
|
311
|
+
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
|
|
312
|
+
-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
|
|
313
|
+
-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
|
|
314
|
+
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
|
|
315
|
+
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
|
|
316
|
+
-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
|
|
317
|
+
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
|
|
318
|
+
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
|
|
319
|
+
-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
|
|
320
|
+
66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:mt("M399960 241 V94 h40 V428 h-40 V281 H0 v-40z"),rightbracketunder:mt("M399995 0 h-120 V290 H0 v120 H400000z"),rightbracketover:mt("M399995 440 h-120 V150 H0 v-120 H399995z"),rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
|
|
321
|
+
1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
|
|
322
|
+
-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
|
|
323
|
+
-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
|
|
324
|
+
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
|
|
325
|
+
-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
|
|
326
|
+
-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
|
|
327
|
+
-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
|
|
328
|
+
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
|
|
329
|
+
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
|
|
330
|
+
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
|
|
331
|
+
18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
|
|
332
|
+
-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
|
|
333
|
+
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
|
|
334
|
+
-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
|
|
335
|
+
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
|
|
336
|
+
4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
|
|
337
|
+
-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
|
|
338
|
+
-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
|
|
339
|
+
31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
|
|
340
|
+
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
|
|
341
|
+
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
|
|
342
|
+
-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
|
|
343
|
+
411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
|
|
344
|
+
16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
|
|
345
|
+
-338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
|
|
346
|
+
-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
|
|
347
|
+
177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
|
|
348
|
+
14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
|
|
349
|
+
-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
|
|
350
|
+
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
|
|
351
|
+
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
|
|
352
|
+
-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
|
|
353
|
+
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
|
|
354
|
+
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
|
|
355
|
+
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
|
|
356
|
+
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
|
|
357
|
+
-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
|
|
358
|
+
-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
|
|
359
|
+
-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,
|
|
360
|
+
-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,
|
|
361
|
+
-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,
|
|
362
|
+
-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,
|
|
363
|
+
-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
|
|
364
|
+
c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
|
|
365
|
+
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
|
|
366
|
+
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
|
|
367
|
+
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
|
|
368
|
+
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
|
|
369
|
+
c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
|
|
370
|
+
M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
|
|
371
|
+
-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
|
|
372
|
+
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
|
|
373
|
+
-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
|
|
374
|
+
-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
|
|
375
|
+
-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
|
|
376
|
+
151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
|
377
|
+
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
|
|
378
|
+
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
|
|
379
|
+
c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
|
|
380
|
+
c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
|
|
381
|
+
M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
|
|
382
|
+
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,
|
|
383
|
+
-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
|
|
384
|
+
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
|
|
385
|
+
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
|
|
386
|
+
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,
|
|
387
|
+
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,
|
|
388
|
+
-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
|
|
389
|
+
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
|
|
390
|
+
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,
|
|
391
|
+
-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
|
|
392
|
+
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
|
|
393
|
+
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},qS=function(t,n){switch(t){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+n+` v1759 v84 h347 v-84
|
|
394
|
+
H403z M403 1759 V0 H319 V1759 v`+n+" v1759 v84 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+n+` v1759 H0 v84 H347z
|
|
395
|
+
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
|
|
396
|
+
c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|
397
|
+
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
|
|
398
|
+
c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|
399
|
+
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+n+` v585 h43z
|
|
400
|
+
M367 15 v585 v`+n+` v585 c2.667,10,9.667,15,21,15
|
|
401
|
+
c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|
402
|
+
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
|
|
403
|
+
MM319 602 V0 H403 V602 v`+n+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+n+` v1799 H0 v-84 H319z
|
|
404
|
+
MM319 602 V0 H403 V602 v`+n+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+n+` v602 h84z
|
|
405
|
+
M403 1759 V0 H319 V1759 v`+n+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+n+` v602 h84z
|
|
406
|
+
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
|
|
407
|
+
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,
|
|
408
|
+
-36,557 l0,`+(n+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,
|
|
409
|
+
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
|
|
410
|
+
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,
|
|
411
|
+
-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189
|
|
412
|
+
l0,-`+(n+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,
|
|
413
|
+
-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,
|
|
414
|
+
63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5
|
|
415
|
+
c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(n+9)+`
|
|
416
|
+
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
|
|
417
|
+
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
|
|
418
|
+
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
|
|
419
|
+
c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
|
|
420
|
+
l0,-`+(n+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
421
|
+
-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};function GS(e){return"toText"in e}class Wa{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 this.classes.includes(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(){return this.children.map(t=>{if(GS(t))return t.toText();throw new Error("Expected MathDomNode with toText, got "+t.constructor.name)}).join("")}}var Dd={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},YS={ex:!0,em:!0,mu:!0},O6=function(t){return typeof t!="string"&&(t=t.unit),t in Dd||t in YS||t==="ex"},et=function(t,n){var r;if(t.unit in Dd)r=Dd[t.unit]/n.fontMetrics().ptPerEm/n.sizeMultiplier;else if(t.unit==="mu")r=n.fontMetrics().cssEmPerMu;else{var i;if(n.style.isTight()?i=n.havingStyle(n.style.text()):i=n,t.unit==="ex")r=i.fontMetrics().xHeight;else if(t.unit==="em")r=i.fontMetrics().quad;else throw new re("Invalid unit: '"+t.unit+"'");i!==n&&(r*=i.sizeMultiplier/n.sizeMultiplier)}return Math.min(t.number*r,n.maxSize)},se=function(t){return+t.toFixed(4)+"em"},ci=function(t){return t.filter(n=>n).join(" ")},v1=function(t){var n="";for(var r of Object.keys(t)){var i=t[r];i!==void 0&&(n+=yS(r)+":"+i+";")}return n},R6=function(t,n,r){if(this.classes=t||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=r||{},n){n.style.isTight()&&this.classes.push("mtight");var i=n.getColor();i&&(this.style.color=i)}},M6=function(t){var n=document.createElement(t);n.className=ci(this.classes),Object.assign(n.style,this.style);for(var r of Object.keys(this.attributes))n.setAttribute(r,this.attributes[r]);for(var i=0;i<this.children.length;i++)n.appendChild(this.children[i].toNode());return n},WS=/[\s"'>/=\x00-\x1f]/,L6=function(t){var n="<"+t;this.classes.length&&(n+=' class="'+Ot(ci(this.classes))+'"');var r=v1(this.style);r&&(n+=' style="'+Ot(r)+'"');for(var i of Object.keys(this.attributes)){if(WS.test(i))throw new re("Invalid attribute name '"+i+"'");n+=" "+i+'="'+Ot(this.attributes[i])+'"'}n+=">";for(var a=0;a<this.children.length;a++)n+=this.children[a].toMarkup();return n+="</"+t+">",n};class Va{constructor(t,n,r,i){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,this.italic=void 0,R6.call(this,t,r,i),this.children=n||[]}setAttribute(t,n){this.attributes[t]=n}hasClass(t){return this.classes.includes(t)}toNode(){return M6.call(this,"span")}toMarkup(){return L6.call(this,"span")}}class $l{constructor(t,n,r,i){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,R6.call(this,n,i),this.children=r||[],this.setAttribute("href",t)}setAttribute(t,n){this.attributes[t]=n}hasClass(t){return this.classes.includes(t)}toNode(){return M6.call(this,"a")}toMarkup(){return L6.call(this,"a")}}class VS{constructor(t,n,r){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=n,this.src=t,this.classes=["mord"],this.height=0,this.depth=0,this.maxFontSize=0,this.style=r}hasClass(t){return this.classes.includes(t)}toNode(){var t=document.createElement("img");return t.src=this.src,t.alt=this.alt,t.className="mord",Object.assign(t.style,this.style),t}toMarkup(){var t='<img src="'+Ot(this.src)+'"'+(' alt="'+Ot(this.alt)+'"'),n=v1(this.style);return n&&(t+=' style="'+Ot(n)+'"'),t+="'/>",t}}var jS={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class pn{constructor(t,n,r,i,a,s,u,o){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=r||0,this.italic=i||0,this.skew=a||0,this.width=s||0,this.classes=u||[],this.style=o||{},this.maxFontSize=0;var l=RS(this.text.charCodeAt(0));l&&this.classes.push(l+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=jS[this.text])}hasClass(t){return this.classes.includes(t)}toNode(){var t=document.createTextNode(this.text),n=null;return this.italic>0&&(n=document.createElement("span"),n.style.marginRight=se(this.italic)),this.classes.length>0&&(n=n||document.createElement("span"),n.className=ci(this.classes)),Object.keys(this.style).length>0&&(n=n||document.createElement("span"),Object.assign(n.style,this.style)),n?(n.appendChild(t),n):t}toMarkup(){var t=!1,n="<span";this.classes.length&&(t=!0,n+=' class="',n+=Ot(ci(this.classes)),n+='"');var r="";this.italic>0&&(r+="margin-right:"+se(this.italic)+";"),r+=v1(this.style),r&&(t=!0,n+=' style="'+Ot(r)+'"');var i=Ot(this.text);return t?(n+=">",n+=i,n+="</span>",n):i}}class Ar{constructor(t,n){this.children=void 0,this.attributes=void 0,this.children=t||[],this.attributes=n||{}}toNode(){var t="http://www.w3.org/2000/svg",n=document.createElementNS(t,"svg");for(var r of Object.keys(this.attributes))n.setAttribute(r,this.attributes[r]);for(var i=0;i<this.children.length;i++)n.appendChild(this.children[i].toNode());return n}toMarkup(){var t='<svg xmlns="http://www.w3.org/2000/svg"';for(var n of Object.keys(this.attributes))t+=" "+n+'="'+Ot(this.attributes[n])+'"';t+=">";for(var r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t+="</svg>",t}}class di{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",pp[this.pathName]),n}toMarkup(){return this.alternate?'<path d="'+Ot(this.alternate)+'"/>':'<path d="'+Ot(pp[this.pathName])+'"/>'}}class Id{constructor(t){this.attributes=void 0,this.attributes=t||{}}toNode(){var t="http://www.w3.org/2000/svg",n=document.createElementNS(t,"line");for(var r of Object.keys(this.attributes))n.setAttribute(r,this.attributes[r]);return n}toMarkup(){var t="<line";for(var n of Object.keys(this.attributes))t+=" "+n+'="'+Ot(this.attributes[n])+'"';return t+="/>",t}}function KS(e){if(e instanceof pn)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}function XS(e){if(e instanceof Va)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}var QS=e=>e instanceof Va||e instanceof $l||e instanceof Wa,Jn={"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]}},Ku={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]},gp={Å:"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 ZS(e,t){Jn[e]=t}function _1(e,t,n){if(!Jn[t])throw new Error("Font metrics not found for font: "+t+".");var r=e.charCodeAt(0),i=Jn[t][r];if(!i&&e[0]in gp&&(r=gp[e[0]].charCodeAt(0),i=Jn[t][r]),!i&&n==="text"&&I6(r)&&(i=Jn[t][77]),i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}}var Z0={};function JS(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!Z0[t]){var n=Z0[t]={cssEmPerMu:Ku.quad[t]/18};for(var r in Ku)Ku.hasOwnProperty(r)&&(n[r]=Ku[r][t])}return Z0[t]}var Xe={math:{},text:{}};function p(e,t,n,r,i,a){Xe[e][i]={font:t,group:n,replace:r},a&&r&&(Xe[e][r]=Xe[e][i])}var g="math",K="text",_="main",N="ams",Qe="accent-token",de="bin",Wt="close",ja="inner",ye="mathord",ht="op-token",En="open",xu="punct",I="rel",Cr="spacing",L="textord";p(g,_,I,"≡","\\equiv",!0);p(g,_,I,"≺","\\prec",!0);p(g,_,I,"≻","\\succ",!0);p(g,_,I,"∼","\\sim",!0);p(g,_,I,"⊥","\\perp");p(g,_,I,"⪯","\\preceq",!0);p(g,_,I,"⪰","\\succeq",!0);p(g,_,I,"≃","\\simeq",!0);p(g,_,I,"∣","\\mid",!0);p(g,_,I,"≪","\\ll",!0);p(g,_,I,"≫","\\gg",!0);p(g,_,I,"≍","\\asymp",!0);p(g,_,I,"∥","\\parallel");p(g,_,I,"⋈","\\bowtie",!0);p(g,_,I,"⌣","\\smile",!0);p(g,_,I,"⊑","\\sqsubseteq",!0);p(g,_,I,"⊒","\\sqsupseteq",!0);p(g,_,I,"≐","\\doteq",!0);p(g,_,I,"⌢","\\frown",!0);p(g,_,I,"∋","\\ni",!0);p(g,_,I,"∝","\\propto",!0);p(g,_,I,"⊢","\\vdash",!0);p(g,_,I,"⊣","\\dashv",!0);p(g,_,I,"∋","\\owns");p(g,_,xu,".","\\ldotp");p(g,_,xu,"⋅","\\cdotp");p(g,_,xu,"⋅","·");p(K,_,L,"⋅","·");p(g,_,L,"#","\\#");p(K,_,L,"#","\\#");p(g,_,L,"&","\\&");p(K,_,L,"&","\\&");p(g,_,L,"ℵ","\\aleph",!0);p(g,_,L,"∀","\\forall",!0);p(g,_,L,"ℏ","\\hbar",!0);p(g,_,L,"∃","\\exists",!0);p(g,_,L,"∇","\\nabla",!0);p(g,_,L,"♭","\\flat",!0);p(g,_,L,"ℓ","\\ell",!0);p(g,_,L,"♮","\\natural",!0);p(g,_,L,"♣","\\clubsuit",!0);p(g,_,L,"℘","\\wp",!0);p(g,_,L,"♯","\\sharp",!0);p(g,_,L,"♢","\\diamondsuit",!0);p(g,_,L,"ℜ","\\Re",!0);p(g,_,L,"♡","\\heartsuit",!0);p(g,_,L,"ℑ","\\Im",!0);p(g,_,L,"♠","\\spadesuit",!0);p(g,_,L,"§","\\S",!0);p(K,_,L,"§","\\S");p(g,_,L,"¶","\\P",!0);p(K,_,L,"¶","\\P");p(g,_,L,"†","\\dag");p(K,_,L,"†","\\dag");p(K,_,L,"†","\\textdagger");p(g,_,L,"‡","\\ddag");p(K,_,L,"‡","\\ddag");p(K,_,L,"‡","\\textdaggerdbl");p(g,_,Wt,"⎱","\\rmoustache",!0);p(g,_,En,"⎰","\\lmoustache",!0);p(g,_,Wt,"⟯","\\rgroup",!0);p(g,_,En,"⟮","\\lgroup",!0);p(g,_,de,"∓","\\mp",!0);p(g,_,de,"⊖","\\ominus",!0);p(g,_,de,"⊎","\\uplus",!0);p(g,_,de,"⊓","\\sqcap",!0);p(g,_,de,"∗","\\ast");p(g,_,de,"⊔","\\sqcup",!0);p(g,_,de,"◯","\\bigcirc",!0);p(g,_,de,"∙","\\bullet",!0);p(g,_,de,"‡","\\ddagger");p(g,_,de,"≀","\\wr",!0);p(g,_,de,"⨿","\\amalg");p(g,_,de,"&","\\And");p(g,_,I,"⟵","\\longleftarrow",!0);p(g,_,I,"⇐","\\Leftarrow",!0);p(g,_,I,"⟸","\\Longleftarrow",!0);p(g,_,I,"⟶","\\longrightarrow",!0);p(g,_,I,"⇒","\\Rightarrow",!0);p(g,_,I,"⟹","\\Longrightarrow",!0);p(g,_,I,"↔","\\leftrightarrow",!0);p(g,_,I,"⟷","\\longleftrightarrow",!0);p(g,_,I,"⇔","\\Leftrightarrow",!0);p(g,_,I,"⟺","\\Longleftrightarrow",!0);p(g,_,I,"↦","\\mapsto",!0);p(g,_,I,"⟼","\\longmapsto",!0);p(g,_,I,"↗","\\nearrow",!0);p(g,_,I,"↩","\\hookleftarrow",!0);p(g,_,I,"↪","\\hookrightarrow",!0);p(g,_,I,"↘","\\searrow",!0);p(g,_,I,"↼","\\leftharpoonup",!0);p(g,_,I,"⇀","\\rightharpoonup",!0);p(g,_,I,"↙","\\swarrow",!0);p(g,_,I,"↽","\\leftharpoondown",!0);p(g,_,I,"⇁","\\rightharpoondown",!0);p(g,_,I,"↖","\\nwarrow",!0);p(g,_,I,"⇌","\\rightleftharpoons",!0);p(g,N,I,"≮","\\nless",!0);p(g,N,I,"","\\@nleqslant");p(g,N,I,"","\\@nleqq");p(g,N,I,"⪇","\\lneq",!0);p(g,N,I,"≨","\\lneqq",!0);p(g,N,I,"","\\@lvertneqq");p(g,N,I,"⋦","\\lnsim",!0);p(g,N,I,"⪉","\\lnapprox",!0);p(g,N,I,"⊀","\\nprec",!0);p(g,N,I,"⋠","\\npreceq",!0);p(g,N,I,"⋨","\\precnsim",!0);p(g,N,I,"⪹","\\precnapprox",!0);p(g,N,I,"≁","\\nsim",!0);p(g,N,I,"","\\@nshortmid");p(g,N,I,"∤","\\nmid",!0);p(g,N,I,"⊬","\\nvdash",!0);p(g,N,I,"⊭","\\nvDash",!0);p(g,N,I,"⋪","\\ntriangleleft");p(g,N,I,"⋬","\\ntrianglelefteq",!0);p(g,N,I,"⊊","\\subsetneq",!0);p(g,N,I,"","\\@varsubsetneq");p(g,N,I,"⫋","\\subsetneqq",!0);p(g,N,I,"","\\@varsubsetneqq");p(g,N,I,"≯","\\ngtr",!0);p(g,N,I,"","\\@ngeqslant");p(g,N,I,"","\\@ngeqq");p(g,N,I,"⪈","\\gneq",!0);p(g,N,I,"≩","\\gneqq",!0);p(g,N,I,"","\\@gvertneqq");p(g,N,I,"⋧","\\gnsim",!0);p(g,N,I,"⪊","\\gnapprox",!0);p(g,N,I,"⊁","\\nsucc",!0);p(g,N,I,"⋡","\\nsucceq",!0);p(g,N,I,"⋩","\\succnsim",!0);p(g,N,I,"⪺","\\succnapprox",!0);p(g,N,I,"≆","\\ncong",!0);p(g,N,I,"","\\@nshortparallel");p(g,N,I,"∦","\\nparallel",!0);p(g,N,I,"⊯","\\nVDash",!0);p(g,N,I,"⋫","\\ntriangleright");p(g,N,I,"⋭","\\ntrianglerighteq",!0);p(g,N,I,"","\\@nsupseteqq");p(g,N,I,"⊋","\\supsetneq",!0);p(g,N,I,"","\\@varsupsetneq");p(g,N,I,"⫌","\\supsetneqq",!0);p(g,N,I,"","\\@varsupsetneqq");p(g,N,I,"⊮","\\nVdash",!0);p(g,N,I,"⪵","\\precneqq",!0);p(g,N,I,"⪶","\\succneqq",!0);p(g,N,I,"","\\@nsubseteqq");p(g,N,de,"⊴","\\unlhd");p(g,N,de,"⊵","\\unrhd");p(g,N,I,"↚","\\nleftarrow",!0);p(g,N,I,"↛","\\nrightarrow",!0);p(g,N,I,"⇍","\\nLeftarrow",!0);p(g,N,I,"⇏","\\nRightarrow",!0);p(g,N,I,"↮","\\nleftrightarrow",!0);p(g,N,I,"⇎","\\nLeftrightarrow",!0);p(g,N,I,"△","\\vartriangle");p(g,N,L,"ℏ","\\hslash");p(g,N,L,"▽","\\triangledown");p(g,N,L,"◊","\\lozenge");p(g,N,L,"Ⓢ","\\circledS");p(g,N,L,"®","\\circledR");p(K,N,L,"®","\\circledR");p(g,N,L,"∡","\\measuredangle",!0);p(g,N,L,"∄","\\nexists");p(g,N,L,"℧","\\mho");p(g,N,L,"Ⅎ","\\Finv",!0);p(g,N,L,"⅁","\\Game",!0);p(g,N,L,"‵","\\backprime");p(g,N,L,"▲","\\blacktriangle");p(g,N,L,"▼","\\blacktriangledown");p(g,N,L,"■","\\blacksquare");p(g,N,L,"⧫","\\blacklozenge");p(g,N,L,"★","\\bigstar");p(g,N,L,"∢","\\sphericalangle",!0);p(g,N,L,"∁","\\complement",!0);p(g,N,L,"ð","\\eth",!0);p(K,_,L,"ð","ð");p(g,N,L,"╱","\\diagup");p(g,N,L,"╲","\\diagdown");p(g,N,L,"□","\\square");p(g,N,L,"□","\\Box");p(g,N,L,"◊","\\Diamond");p(g,N,L,"¥","\\yen",!0);p(K,N,L,"¥","\\yen",!0);p(g,N,L,"✓","\\checkmark",!0);p(K,N,L,"✓","\\checkmark");p(g,N,L,"ℶ","\\beth",!0);p(g,N,L,"ℸ","\\daleth",!0);p(g,N,L,"ℷ","\\gimel",!0);p(g,N,L,"ϝ","\\digamma",!0);p(g,N,L,"ϰ","\\varkappa");p(g,N,En,"┌","\\@ulcorner",!0);p(g,N,Wt,"┐","\\@urcorner",!0);p(g,N,En,"└","\\@llcorner",!0);p(g,N,Wt,"┘","\\@lrcorner",!0);p(g,N,I,"≦","\\leqq",!0);p(g,N,I,"⩽","\\leqslant",!0);p(g,N,I,"⪕","\\eqslantless",!0);p(g,N,I,"≲","\\lesssim",!0);p(g,N,I,"⪅","\\lessapprox",!0);p(g,N,I,"≊","\\approxeq",!0);p(g,N,de,"⋖","\\lessdot");p(g,N,I,"⋘","\\lll",!0);p(g,N,I,"≶","\\lessgtr",!0);p(g,N,I,"⋚","\\lesseqgtr",!0);p(g,N,I,"⪋","\\lesseqqgtr",!0);p(g,N,I,"≑","\\doteqdot");p(g,N,I,"≓","\\risingdotseq",!0);p(g,N,I,"≒","\\fallingdotseq",!0);p(g,N,I,"∽","\\backsim",!0);p(g,N,I,"⋍","\\backsimeq",!0);p(g,N,I,"⫅","\\subseteqq",!0);p(g,N,I,"⋐","\\Subset",!0);p(g,N,I,"⊏","\\sqsubset",!0);p(g,N,I,"≼","\\preccurlyeq",!0);p(g,N,I,"⋞","\\curlyeqprec",!0);p(g,N,I,"≾","\\precsim",!0);p(g,N,I,"⪷","\\precapprox",!0);p(g,N,I,"⊲","\\vartriangleleft");p(g,N,I,"⊴","\\trianglelefteq");p(g,N,I,"⊨","\\vDash",!0);p(g,N,I,"⊪","\\Vvdash",!0);p(g,N,I,"⌣","\\smallsmile");p(g,N,I,"⌢","\\smallfrown");p(g,N,I,"≏","\\bumpeq",!0);p(g,N,I,"≎","\\Bumpeq",!0);p(g,N,I,"≧","\\geqq",!0);p(g,N,I,"⩾","\\geqslant",!0);p(g,N,I,"⪖","\\eqslantgtr",!0);p(g,N,I,"≳","\\gtrsim",!0);p(g,N,I,"⪆","\\gtrapprox",!0);p(g,N,de,"⋗","\\gtrdot");p(g,N,I,"⋙","\\ggg",!0);p(g,N,I,"≷","\\gtrless",!0);p(g,N,I,"⋛","\\gtreqless",!0);p(g,N,I,"⪌","\\gtreqqless",!0);p(g,N,I,"≖","\\eqcirc",!0);p(g,N,I,"≗","\\circeq",!0);p(g,N,I,"≜","\\triangleq",!0);p(g,N,I,"∼","\\thicksim");p(g,N,I,"≈","\\thickapprox");p(g,N,I,"⫆","\\supseteqq",!0);p(g,N,I,"⋑","\\Supset",!0);p(g,N,I,"⊐","\\sqsupset",!0);p(g,N,I,"≽","\\succcurlyeq",!0);p(g,N,I,"⋟","\\curlyeqsucc",!0);p(g,N,I,"≿","\\succsim",!0);p(g,N,I,"⪸","\\succapprox",!0);p(g,N,I,"⊳","\\vartriangleright");p(g,N,I,"⊵","\\trianglerighteq");p(g,N,I,"⊩","\\Vdash",!0);p(g,N,I,"∣","\\shortmid");p(g,N,I,"∥","\\shortparallel");p(g,N,I,"≬","\\between",!0);p(g,N,I,"⋔","\\pitchfork",!0);p(g,N,I,"∝","\\varpropto");p(g,N,I,"◀","\\blacktriangleleft");p(g,N,I,"∴","\\therefore",!0);p(g,N,I,"∍","\\backepsilon");p(g,N,I,"▶","\\blacktriangleright");p(g,N,I,"∵","\\because",!0);p(g,N,I,"⋘","\\llless");p(g,N,I,"⋙","\\gggtr");p(g,N,de,"⊲","\\lhd");p(g,N,de,"⊳","\\rhd");p(g,N,I,"≂","\\eqsim",!0);p(g,_,I,"⋈","\\Join");p(g,N,I,"≑","\\Doteq",!0);p(g,N,de,"∔","\\dotplus",!0);p(g,N,de,"∖","\\smallsetminus");p(g,N,de,"⋒","\\Cap",!0);p(g,N,de,"⋓","\\Cup",!0);p(g,N,de,"⩞","\\doublebarwedge",!0);p(g,N,de,"⊟","\\boxminus",!0);p(g,N,de,"⊞","\\boxplus",!0);p(g,N,de,"⋇","\\divideontimes",!0);p(g,N,de,"⋉","\\ltimes",!0);p(g,N,de,"⋊","\\rtimes",!0);p(g,N,de,"⋋","\\leftthreetimes",!0);p(g,N,de,"⋌","\\rightthreetimes",!0);p(g,N,de,"⋏","\\curlywedge",!0);p(g,N,de,"⋎","\\curlyvee",!0);p(g,N,de,"⊝","\\circleddash",!0);p(g,N,de,"⊛","\\circledast",!0);p(g,N,de,"⋅","\\centerdot");p(g,N,de,"⊺","\\intercal",!0);p(g,N,de,"⋒","\\doublecap");p(g,N,de,"⋓","\\doublecup");p(g,N,de,"⊠","\\boxtimes",!0);p(g,N,I,"⇢","\\dashrightarrow",!0);p(g,N,I,"⇠","\\dashleftarrow",!0);p(g,N,I,"⇇","\\leftleftarrows",!0);p(g,N,I,"⇆","\\leftrightarrows",!0);p(g,N,I,"⇚","\\Lleftarrow",!0);p(g,N,I,"↞","\\twoheadleftarrow",!0);p(g,N,I,"↢","\\leftarrowtail",!0);p(g,N,I,"↫","\\looparrowleft",!0);p(g,N,I,"⇋","\\leftrightharpoons",!0);p(g,N,I,"↶","\\curvearrowleft",!0);p(g,N,I,"↺","\\circlearrowleft",!0);p(g,N,I,"↰","\\Lsh",!0);p(g,N,I,"⇈","\\upuparrows",!0);p(g,N,I,"↿","\\upharpoonleft",!0);p(g,N,I,"⇃","\\downharpoonleft",!0);p(g,_,I,"⊶","\\origof",!0);p(g,_,I,"⊷","\\imageof",!0);p(g,N,I,"⊸","\\multimap",!0);p(g,N,I,"↭","\\leftrightsquigarrow",!0);p(g,N,I,"⇉","\\rightrightarrows",!0);p(g,N,I,"⇄","\\rightleftarrows",!0);p(g,N,I,"↠","\\twoheadrightarrow",!0);p(g,N,I,"↣","\\rightarrowtail",!0);p(g,N,I,"↬","\\looparrowright",!0);p(g,N,I,"↷","\\curvearrowright",!0);p(g,N,I,"↻","\\circlearrowright",!0);p(g,N,I,"↱","\\Rsh",!0);p(g,N,I,"⇊","\\downdownarrows",!0);p(g,N,I,"↾","\\upharpoonright",!0);p(g,N,I,"⇂","\\downharpoonright",!0);p(g,N,I,"⇝","\\rightsquigarrow",!0);p(g,N,I,"⇝","\\leadsto");p(g,N,I,"⇛","\\Rrightarrow",!0);p(g,N,I,"↾","\\restriction");p(g,_,L,"‘","`");p(g,_,L,"$","\\$");p(K,_,L,"$","\\$");p(K,_,L,"$","\\textdollar");p(g,_,L,"%","\\%");p(K,_,L,"%","\\%");p(g,_,L,"_","\\_");p(K,_,L,"_","\\_");p(K,_,L,"_","\\textunderscore");p(g,_,L,"∠","\\angle",!0);p(g,_,L,"∞","\\infty",!0);p(g,_,L,"′","\\prime");p(g,_,L,"△","\\triangle");p(g,_,L,"Γ","\\Gamma",!0);p(g,_,L,"Δ","\\Delta",!0);p(g,_,L,"Θ","\\Theta",!0);p(g,_,L,"Λ","\\Lambda",!0);p(g,_,L,"Ξ","\\Xi",!0);p(g,_,L,"Π","\\Pi",!0);p(g,_,L,"Σ","\\Sigma",!0);p(g,_,L,"Υ","\\Upsilon",!0);p(g,_,L,"Φ","\\Phi",!0);p(g,_,L,"Ψ","\\Psi",!0);p(g,_,L,"Ω","\\Omega",!0);p(g,_,L,"A","Α");p(g,_,L,"B","Β");p(g,_,L,"E","Ε");p(g,_,L,"Z","Ζ");p(g,_,L,"H","Η");p(g,_,L,"I","Ι");p(g,_,L,"K","Κ");p(g,_,L,"M","Μ");p(g,_,L,"N","Ν");p(g,_,L,"O","Ο");p(g,_,L,"P","Ρ");p(g,_,L,"T","Τ");p(g,_,L,"X","Χ");p(g,_,L,"¬","\\neg",!0);p(g,_,L,"¬","\\lnot");p(g,_,L,"⊤","\\top");p(g,_,L,"⊥","\\bot");p(g,_,L,"∅","\\emptyset");p(g,N,L,"∅","\\varnothing");p(g,_,ye,"α","\\alpha",!0);p(g,_,ye,"β","\\beta",!0);p(g,_,ye,"γ","\\gamma",!0);p(g,_,ye,"δ","\\delta",!0);p(g,_,ye,"ϵ","\\epsilon",!0);p(g,_,ye,"ζ","\\zeta",!0);p(g,_,ye,"η","\\eta",!0);p(g,_,ye,"θ","\\theta",!0);p(g,_,ye,"ι","\\iota",!0);p(g,_,ye,"κ","\\kappa",!0);p(g,_,ye,"λ","\\lambda",!0);p(g,_,ye,"μ","\\mu",!0);p(g,_,ye,"ν","\\nu",!0);p(g,_,ye,"ξ","\\xi",!0);p(g,_,ye,"ο","\\omicron",!0);p(g,_,ye,"π","\\pi",!0);p(g,_,ye,"ρ","\\rho",!0);p(g,_,ye,"σ","\\sigma",!0);p(g,_,ye,"τ","\\tau",!0);p(g,_,ye,"υ","\\upsilon",!0);p(g,_,ye,"ϕ","\\phi",!0);p(g,_,ye,"χ","\\chi",!0);p(g,_,ye,"ψ","\\psi",!0);p(g,_,ye,"ω","\\omega",!0);p(g,_,ye,"ε","\\varepsilon",!0);p(g,_,ye,"ϑ","\\vartheta",!0);p(g,_,ye,"ϖ","\\varpi",!0);p(g,_,ye,"ϱ","\\varrho",!0);p(g,_,ye,"ς","\\varsigma",!0);p(g,_,ye,"φ","\\varphi",!0);p(g,_,de,"∗","*",!0);p(g,_,de,"+","+");p(g,_,de,"−","-",!0);p(g,_,de,"⋅","\\cdot",!0);p(g,_,de,"∘","\\circ",!0);p(g,_,de,"÷","\\div",!0);p(g,_,de,"±","\\pm",!0);p(g,_,de,"×","\\times",!0);p(g,_,de,"∩","\\cap",!0);p(g,_,de,"∪","\\cup",!0);p(g,_,de,"∖","\\setminus",!0);p(g,_,de,"∧","\\land");p(g,_,de,"∨","\\lor");p(g,_,de,"∧","\\wedge",!0);p(g,_,de,"∨","\\vee",!0);p(g,_,L,"√","\\surd");p(g,_,En,"⟨","\\langle",!0);p(g,_,En,"∣","\\lvert");p(g,_,En,"∥","\\lVert");p(g,_,Wt,"?","?");p(g,_,Wt,"!","!");p(g,_,Wt,"⟩","\\rangle",!0);p(g,_,Wt,"∣","\\rvert");p(g,_,Wt,"∥","\\rVert");p(g,_,I,"=","=");p(g,_,I,":",":");p(g,_,I,"≈","\\approx",!0);p(g,_,I,"≅","\\cong",!0);p(g,_,I,"≥","\\ge");p(g,_,I,"≥","\\geq",!0);p(g,_,I,"←","\\gets");p(g,_,I,">","\\gt",!0);p(g,_,I,"∈","\\in",!0);p(g,_,I,"","\\@not");p(g,_,I,"⊂","\\subset",!0);p(g,_,I,"⊃","\\supset",!0);p(g,_,I,"⊆","\\subseteq",!0);p(g,_,I,"⊇","\\supseteq",!0);p(g,N,I,"⊈","\\nsubseteq",!0);p(g,N,I,"⊉","\\nsupseteq",!0);p(g,_,I,"⊨","\\models");p(g,_,I,"←","\\leftarrow",!0);p(g,_,I,"≤","\\le");p(g,_,I,"≤","\\leq",!0);p(g,_,I,"<","\\lt",!0);p(g,_,I,"→","\\rightarrow",!0);p(g,_,I,"→","\\to");p(g,N,I,"≱","\\ngeq",!0);p(g,N,I,"≰","\\nleq",!0);p(g,_,Cr," ","\\ ");p(g,_,Cr," ","\\space");p(g,_,Cr," ","\\nobreakspace");p(K,_,Cr," ","\\ ");p(K,_,Cr," "," ");p(K,_,Cr," ","\\space");p(K,_,Cr," ","\\nobreakspace");p(g,_,Cr,"","\\nobreak");p(g,_,Cr,"","\\allowbreak");p(g,_,xu,",",",");p(g,_,xu,";",";");p(g,N,de,"⊼","\\barwedge",!0);p(g,N,de,"⊻","\\veebar",!0);p(g,_,de,"⊙","\\odot",!0);p(g,_,de,"⊕","\\oplus",!0);p(g,_,de,"⊗","\\otimes",!0);p(g,_,L,"∂","\\partial",!0);p(g,_,de,"⊘","\\oslash",!0);p(g,N,de,"⊚","\\circledcirc",!0);p(g,N,de,"⊡","\\boxdot",!0);p(g,_,de,"△","\\bigtriangleup");p(g,_,de,"▽","\\bigtriangledown");p(g,_,de,"†","\\dagger");p(g,_,de,"⋄","\\diamond");p(g,_,de,"⋆","\\star");p(g,_,de,"◃","\\triangleleft");p(g,_,de,"▹","\\triangleright");p(g,_,En,"{","\\{");p(K,_,L,"{","\\{");p(K,_,L,"{","\\textbraceleft");p(g,_,Wt,"}","\\}");p(K,_,L,"}","\\}");p(K,_,L,"}","\\textbraceright");p(g,_,En,"{","\\lbrace");p(g,_,Wt,"}","\\rbrace");p(g,_,En,"[","\\lbrack",!0);p(K,_,L,"[","\\lbrack",!0);p(g,_,Wt,"]","\\rbrack",!0);p(K,_,L,"]","\\rbrack",!0);p(g,_,En,"(","\\lparen",!0);p(g,_,Wt,")","\\rparen",!0);p(K,_,L,"<","\\textless",!0);p(K,_,L,">","\\textgreater",!0);p(g,_,En,"⌊","\\lfloor",!0);p(g,_,Wt,"⌋","\\rfloor",!0);p(g,_,En,"⌈","\\lceil",!0);p(g,_,Wt,"⌉","\\rceil",!0);p(g,_,L,"\\","\\backslash");p(g,_,L,"∣","|");p(g,_,L,"∣","\\vert");p(K,_,L,"|","\\textbar",!0);p(g,_,L,"∥","\\|");p(g,_,L,"∥","\\Vert");p(K,_,L,"∥","\\textbardbl");p(K,_,L,"~","\\textasciitilde");p(K,_,L,"\\","\\textbackslash");p(K,_,L,"^","\\textasciicircum");p(g,_,I,"↑","\\uparrow",!0);p(g,_,I,"⇑","\\Uparrow",!0);p(g,_,I,"↓","\\downarrow",!0);p(g,_,I,"⇓","\\Downarrow",!0);p(g,_,I,"↕","\\updownarrow",!0);p(g,_,I,"⇕","\\Updownarrow",!0);p(g,_,ht,"∐","\\coprod");p(g,_,ht,"⋁","\\bigvee");p(g,_,ht,"⋀","\\bigwedge");p(g,_,ht,"⨄","\\biguplus");p(g,_,ht,"⋂","\\bigcap");p(g,_,ht,"⋃","\\bigcup");p(g,_,ht,"∫","\\int");p(g,_,ht,"∫","\\intop");p(g,_,ht,"∬","\\iint");p(g,_,ht,"∭","\\iiint");p(g,_,ht,"∏","\\prod");p(g,_,ht,"∑","\\sum");p(g,_,ht,"⨂","\\bigotimes");p(g,_,ht,"⨁","\\bigoplus");p(g,_,ht,"⨀","\\bigodot");p(g,_,ht,"∮","\\oint");p(g,_,ht,"∯","\\oiint");p(g,_,ht,"∰","\\oiiint");p(g,_,ht,"⨆","\\bigsqcup");p(g,_,ht,"∫","\\smallint");p(K,_,ja,"…","\\textellipsis");p(g,_,ja,"…","\\mathellipsis");p(K,_,ja,"…","\\ldots",!0);p(g,_,ja,"…","\\ldots",!0);p(g,_,ja,"⋯","\\@cdots",!0);p(g,_,ja,"⋱","\\ddots",!0);p(g,_,L,"⋮","\\varvdots");p(K,_,L,"⋮","\\varvdots");p(g,_,Qe,"ˊ","\\acute");p(g,_,Qe,"ˋ","\\grave");p(g,_,Qe,"¨","\\ddot");p(g,_,Qe,"~","\\tilde");p(g,_,Qe,"ˉ","\\bar");p(g,_,Qe,"˘","\\breve");p(g,_,Qe,"ˇ","\\check");p(g,_,Qe,"^","\\hat");p(g,_,Qe,"⃗","\\vec");p(g,_,Qe,"˙","\\dot");p(g,_,Qe,"˚","\\mathring");p(g,_,ye,"","\\@imath");p(g,_,ye,"","\\@jmath");p(g,_,L,"ı","ı");p(g,_,L,"ȷ","ȷ");p(K,_,L,"ı","\\i",!0);p(K,_,L,"ȷ","\\j",!0);p(K,_,L,"ß","\\ss",!0);p(K,_,L,"æ","\\ae",!0);p(K,_,L,"œ","\\oe",!0);p(K,_,L,"ø","\\o",!0);p(K,_,L,"Æ","\\AE",!0);p(K,_,L,"Œ","\\OE",!0);p(K,_,L,"Ø","\\O",!0);p(K,_,Qe,"ˊ","\\'");p(K,_,Qe,"ˋ","\\`");p(K,_,Qe,"ˆ","\\^");p(K,_,Qe,"˜","\\~");p(K,_,Qe,"ˉ","\\=");p(K,_,Qe,"˘","\\u");p(K,_,Qe,"˙","\\.");p(K,_,Qe,"¸","\\c");p(K,_,Qe,"˚","\\r");p(K,_,Qe,"ˇ","\\v");p(K,_,Qe,"¨",'\\"');p(K,_,Qe,"˝","\\H");p(K,_,Qe,"◯","\\textcircled");var F6={"--":!0,"---":!0,"``":!0,"''":!0};p(K,_,L,"–","--",!0);p(K,_,L,"–","\\textendash");p(K,_,L,"—","---",!0);p(K,_,L,"—","\\textemdash");p(K,_,L,"‘","`",!0);p(K,_,L,"‘","\\textquoteleft");p(K,_,L,"’","'",!0);p(K,_,L,"’","\\textquoteright");p(K,_,L,"“","``",!0);p(K,_,L,"“","\\textquotedblleft");p(K,_,L,"”","''",!0);p(K,_,L,"”","\\textquotedblright");p(g,_,L,"°","\\degree",!0);p(K,_,L,"°","\\degree");p(K,_,L,"°","\\textdegree",!0);p(g,_,L,"£","\\pounds");p(g,_,L,"£","\\mathsterling",!0);p(K,_,L,"£","\\pounds");p(K,_,L,"£","\\textsterling",!0);p(g,N,L,"✠","\\maltese");p(K,N,L,"✠","\\maltese");var bp='0123456789/@."';for(var J0=0;J0<bp.length;J0++){var Ep=bp.charAt(J0);p(g,_,L,Ep,Ep)}var yp='0123456789!@*()-=+";:?/.,';for(var ec=0;ec<yp.length;ec++){var vp=yp.charAt(ec);p(K,_,L,vp,vp)}var ul="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(var tc=0;tc<ul.length;tc++){var Xu=ul.charAt(tc);p(g,_,ye,Xu,Xu),p(K,_,L,Xu,Xu)}p(g,N,L,"C","ℂ");p(K,N,L,"C","ℂ");p(g,N,L,"H","ℍ");p(K,N,L,"H","ℍ");p(g,N,L,"N","ℕ");p(K,N,L,"N","ℕ");p(g,N,L,"P","ℙ");p(K,N,L,"P","ℙ");p(g,N,L,"Q","ℚ");p(K,N,L,"Q","ℚ");p(g,N,L,"R","ℝ");p(K,N,L,"R","ℝ");p(g,N,L,"Z","ℤ");p(K,N,L,"Z","ℤ");p(g,_,ye,"h","ℎ");p(K,_,ye,"h","ℎ");var ve;for(var Ft=0;Ft<ul.length;Ft++){var it=ul.charAt(Ft);ve=String.fromCharCode(55349,56320+Ft),p(g,_,ye,it,ve),p(K,_,L,it,ve),ve=String.fromCharCode(55349,56372+Ft),p(g,_,ye,it,ve),p(K,_,L,it,ve),ve=String.fromCharCode(55349,56424+Ft),p(g,_,ye,it,ve),p(K,_,L,it,ve),ve=String.fromCharCode(55349,56580+Ft),p(g,_,ye,it,ve),p(K,_,L,it,ve),ve=String.fromCharCode(55349,56684+Ft),p(g,_,ye,it,ve),p(K,_,L,it,ve),ve=String.fromCharCode(55349,56736+Ft),p(g,_,ye,it,ve),p(K,_,L,it,ve),ve=String.fromCharCode(55349,56788+Ft),p(g,_,ye,it,ve),p(K,_,L,it,ve),ve=String.fromCharCode(55349,56840+Ft),p(g,_,ye,it,ve),p(K,_,L,it,ve),ve=String.fromCharCode(55349,56944+Ft),p(g,_,ye,it,ve),p(K,_,L,it,ve),Ft<26&&(ve=String.fromCharCode(55349,56632+Ft),p(g,_,ye,it,ve),p(K,_,L,it,ve),ve=String.fromCharCode(55349,56476+Ft),p(g,_,ye,it,ve),p(K,_,L,it,ve))}ve="𝕜";p(g,_,ye,"k",ve);p(K,_,L,"k",ve);for(var Ti=0;Ti<10;Ti++){var Ur=Ti.toString();ve=String.fromCharCode(55349,57294+Ti),p(g,_,ye,Ur,ve),p(K,_,L,Ur,ve),ve=String.fromCharCode(55349,57314+Ti),p(g,_,ye,Ur,ve),p(K,_,L,Ur,ve),ve=String.fromCharCode(55349,57324+Ti),p(g,_,ye,Ur,ve),p(K,_,L,Ur,ve),ve=String.fromCharCode(55349,57334+Ti),p(g,_,ye,Ur,ve),p(K,_,L,Ur,ve)}var Od="ÐÞþ";for(var nc=0;nc<Od.length;nc++){var Qu=Od.charAt(nc);p(g,_,ye,Qu,Qu),p(K,_,L,Qu,Qu)}var Rd={mathClass:"mathbf",textClass:"textbf",font:"Main-Bold"},_p={mathClass:"mathnormal",textClass:"textit",font:"Math-Italic"},Tp={mathClass:"boldsymbol",textClass:"boldsymbol",font:"Main-BoldItalic"},ek={mathClass:"mathscr",textClass:"textscr",font:"Script-Regular"},Di={mathClass:"",textClass:"",font:""},xp={mathClass:"mathfrak",textClass:"textfrak",font:"Fraktur-Regular"},Ap={mathClass:"mathbb",textClass:"textbb",font:"AMS-Regular"},wp={mathClass:"mathboldfrak",textClass:"textboldfrak",font:"Fraktur-Regular"},Md={mathClass:"mathsf",textClass:"textsf",font:"SansSerif-Regular"},Ld={mathClass:"mathboldsf",textClass:"textboldsf",font:"SansSerif-Bold"},Sp={mathClass:"mathitsf",textClass:"textitsf",font:"SansSerif-Italic"},Fd={mathClass:"mathtt",textClass:"texttt",font:"Typewriter-Regular"},kp=[Rd,Rd,_p,_p,Tp,Tp,ek,Di,Di,Di,xp,xp,Ap,Ap,wp,wp,Md,Md,Ld,Ld,Sp,Sp,Di,Di,Fd,Fd],tk=[Rd,Di,Md,Ld,Fd],nk=e=>{var t=e.charCodeAt(0),n=e.charCodeAt(1),r=(t-55296)*1024+(n-56320)+65536;if(119808<=r&&r<120484){var i=Math.floor((r-119808)/26);return kp[i]}else if(120782<=r&&r<=120831){var a=Math.floor((r-120782)/10);return tk[a]}else{if(r===120485||r===120486)return kp[0];if(120486<r&&r<120782)return Di;throw new re("Unsupported character: "+e)}},ql=function(t,n,r){if(Xe[r][t]){var i=Xe[r][t].replace;i&&(t=i)}return{value:t,metrics:_1(t,n,r)}},zt=function(t,n,r,i,a){var s=ql(t,n,r),u=s.metrics;t=s.value;var o;if(u){var l=u.italic;(r==="text"||i&&i.font==="mathit")&&(l=0),o=new pn(t,u.height,u.depth,l,u.skew,u.width,a)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+t+"' in style '"+n+"' and mode '"+r+"'")),o=new pn(t,0,0,0,0,0,a);if(i){o.maxFontSize=i.sizeMultiplier,i.style.isTight()&&o.classes.push("mtight");var d=i.getColor();d&&(o.style.color=d)}return o},T1=function(t,n,r,i){return i===void 0&&(i=[]),r.font==="boldsymbol"&&ql(t,"Main-Bold",n).metrics?zt(t,"Main-Bold",n,r,i.concat(["mathbf"])):t==="\\"||Xe[n][t].font==="main"?zt(t,"Main-Regular",n,r,i):zt(t,"AMS-Regular",n,r,i.concat(["amsrm"]))},rk=function(t,n,r){return r!=="textord"&&ql(t,"Math-BoldItalic",n).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},Gl=function(t,n,r){var i=t.mode,a=t.text,s=["mord"],{font:u,fontFamily:o,fontWeight:l,fontShape:d}=n,c=i==="math"||i==="text"&&!!u,h=c?u:o,m="",E="";if(a.charCodeAt(0)===55349){var v=nk(a);m=v.font,E=v[i+"Class"]}if(m)return zt(a,m,i,n,s.concat(E));if(h){var A,b;if(h==="boldsymbol"){var y=rk(a,i,r);A=y.fontName,b=[y.fontClass]}else c?(A=Pd[u].fontName,b=[u]):(A=Zu(o,l,d),b=[o,l,d]);if(ql(a,A,i).metrics)return zt(a,A,i,n,s.concat(b));if(F6.hasOwnProperty(a)&&A.slice(0,10)==="Typewriter"){for(var T=[],D=0;D<a.length;D++)T.push(zt(a[D],A,i,n,s.concat(b)));return Nr(T)}}if(r==="mathord")return zt(a,"Math-Italic",i,n,s.concat(["mathnormal"]));if(r==="textord"){var F=Xe[i][a]&&Xe[i][a].font;if(F==="ams"){var C=Zu("amsrm",l,d);return zt(a,C,i,n,s.concat("amsrm",l,d))}else if(F==="main"||!F){var B=Zu("textrm",l,d);return zt(a,B,i,n,s.concat(l,d))}else{var H=Zu(F,l,d);return zt(a,H,i,n,s.concat(H,l,d))}}else throw new Error("unexpected type: "+r+" in makeOrd")},ik=(e,t)=>{if(ci(e.classes)!==ci(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize||e.italic!==0&&e.hasClass("mathnormal"))return!1;if(e.classes.length===1){var n=e.classes[0];if(n==="mbin"||n==="mord")return!1}for(var r of Object.keys(e.style))if(e.style[r]!==t.style[r])return!1;for(var i of Object.keys(t.style))if(e.style[i]!==t.style[i])return!1;return!0},P6=e=>{for(var t=0;t<e.length-1;t++){var n=e[t],r=e[t+1];n instanceof pn&&r instanceof pn&&ik(n,r)&&(n.text+=r.text,n.height=Math.max(n.height,r.height),n.depth=Math.max(n.depth,r.depth),n.italic=r.italic,e.splice(t+1,1),t--)}return e},x1=function(t){for(var n=0,r=0,i=0,a=0;a<t.children.length;a++){var s=t.children[a];s.height>n&&(n=s.height),s.depth>r&&(r=s.depth),s.maxFontSize>i&&(i=s.maxFontSize)}t.height=n,t.depth=r,t.maxFontSize=i},Q=function(t,n,r,i){var a=new Va(t,n,r,i);return x1(a),a},fi=(e,t,n,r)=>new Va(e,t,n,r),Fa=function(t,n,r){var i=Q([t],[],n);return i.height=Math.max(r||n.fontMetrics().defaultRuleThickness,n.minRuleThickness),i.style.borderBottomWidth=se(i.height),i.maxFontSize=1,i},ak=function(t,n,r,i){var a=new $l(t,n,r,i);return x1(a),a},Nr=function(t){var n=new Wa(t);return x1(n),n},Pa=function(t,n){return t instanceof Wa?Q([],[t],n):t},sk=function(t){if(t.positionType==="individualShift"){for(var n=t.children,r=[n[0]],i=-n[0].shift-n[0].elem.depth,a=i,s=1;s<n.length;s++){var u=-n[s].shift-a-n[s].elem.depth,o=u-(n[s-1].elem.height+n[s-1].elem.depth);a=a+u,r.push({type:"kern",size:o}),r.push(n[s])}return{children:r,depth:i}}var l;if(t.positionType==="top"){for(var d=t.positionData,c=0;c<t.children.length;c++){var h=t.children[c];d-=h.type==="kern"?h.size:h.elem.height+h.elem.depth}l=d}else if(t.positionType==="bottom")l=-t.positionData;else{var m=t.children[0];if(m.type!=="elem")throw new Error('First child must have type "elem".');if(t.positionType==="shift")l=-m.elem.depth-t.positionData;else if(t.positionType==="firstBaseline")l=-m.elem.depth;else throw new Error("Invalid positionType "+t.positionType+".")}return{children:t.children,depth:l}},Me=function(t,n){for(var{children:r,depth:i}=sk(t),a=0,s=0;s<r.length;s++){var u=r[s];if(u.type==="elem"){var o=u.elem;a=Math.max(a,o.maxFontSize,o.height)}}a+=2;var l=Q(["pstrut"],[]);l.style.height=se(a);for(var d=[],c=i,h=i,m=i,E=0;E<r.length;E++){var v=r[E];if(v.type==="kern")m+=v.size;else{var A=v.elem,b=v.wrapperClasses||[],y=v.wrapperStyle||{},T=Q(b,[l,A],void 0,y);T.style.top=se(-a-m-A.depth),v.marginLeft&&(T.style.marginLeft=v.marginLeft),v.marginRight&&(T.style.marginRight=v.marginRight),d.push(T),m+=A.height+A.depth}c=Math.min(c,m),h=Math.max(h,m)}var D=Q(["vlist"],d);D.style.height=se(h);var F;if(c<0){var C=Q([],[]),B=Q(["vlist"],[C]);B.style.height=se(-c);var H=Q(["vlist-s"],[new pn("")]);F=[Q(["vlist-r"],[D,H]),Q(["vlist-r"],[B])]}else F=[Q(["vlist-r"],[D])];var W=Q(["vlist-t"],F);return F.length===2&&W.classes.push("vlist-t2"),W.height=h,W.depth=-c,W},B6=(e,t)=>{var n=Q(["mspace"],[],t),r=et(e,t);return n.style.marginRight=se(r),n},Zu=(e,t,n)=>{var r,i;switch(e){case"amsrm":r="AMS";break;case"textrm":r="Main";break;case"textsf":r="SansSerif";break;case"texttt":r="Typewriter";break;default:r=e}return t==="textbf"&&n==="textit"?i="BoldItalic":t==="textbf"?i="Bold":n==="textit"?i="Italic":i="Regular",r+"-"+i},Pd={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"}},z6={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},U6=function(t,n){var[r,i,a]=z6[t],s=new di(r),u=new Ar([s],{width:se(i),height:se(a),style:"width:"+se(i),viewBox:"0 0 "+1e3*i+" "+1e3*a,preserveAspectRatio:"xMinYMin"}),o=fi(["overlay"],[u],n);return o.height=a,o.style.height=se(a),o.style.width=se(i),o},Ze={number:3,unit:"mu"},xi={number:4,unit:"mu"},dr={number:5,unit:"mu"},uk={mord:{mop:Ze,mbin:xi,mrel:dr,minner:Ze},mop:{mord:Ze,mop:Ze,mrel:dr,minner:Ze},mbin:{mord:xi,mop:xi,mopen:xi,minner:xi},mrel:{mord:dr,mop:dr,mopen:dr,minner:dr},mopen:{},mclose:{mop:Ze,mbin:xi,mrel:dr,minner:Ze},mpunct:{mord:Ze,mop:Ze,mrel:dr,mopen:Ze,mclose:Ze,mpunct:Ze,minner:Ze},minner:{mord:Ze,mop:Ze,mbin:xi,mrel:dr,mopen:Ze,mpunct:Ze,minner:Ze}},ok={mord:{mop:Ze},mop:{mord:Ze,mop:Ze},mbin:{},mrel:{},mopen:{},mclose:{mop:Ze},mpunct:{},minner:{mop:Ze}},H6={},ol={},ll={};function oe(e){for(var{type:t,names:n,props:r,handler:i,htmlBuilder:a,mathmlBuilder:s}=e,u={type:t,numArgs:r.numArgs,argTypes:r.argTypes,allowedInArgument:!!r.allowedInArgument,allowedInText:!!r.allowedInText,allowedInMath:r.allowedInMath===void 0?!0:r.allowedInMath,numOptionalArgs:r.numOptionalArgs||0,infix:!!r.infix,primitive:!!r.primitive,handler:i},o=0;o<n.length;++o)H6[n[o]]=u;t&&(a&&(ol[t]=a),s&&(ll[t]=s))}function Xi(e){var{type:t,htmlBuilder:n,mathmlBuilder:r}=e;oe({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:n,mathmlBuilder:r})}var cl=function(t){return t.type==="ordgroup"&&t.body.length===1?t.body[0]:t},dt=function(t){return t.type==="ordgroup"?t.body:[t]},lk=new Set(["leftmost","mbin","mopen","mrel","mop","mpunct"]),ck=new Set(["rightmost","mrel","mclose","mpunct"]),dk={display:Te.DISPLAY,text:Te.TEXT,script:Te.SCRIPT,scriptscript:Te.SCRIPTSCRIPT},fk={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},bt=function(t,n,r,i){i===void 0&&(i=[null,null]);for(var a=[],s=0;s<t.length;s++){var u=Le(t[s],n);if(u instanceof Wa){var o=u.children;a.push(...o)}else a.push(u)}if(P6(a),!r)return a;var l=n;if(t.length===1){var d=t[0];d.type==="sizing"?l=n.havingSize(d.size):d.type==="styling"&&(l=n.havingStyle(dk[d.style]))}var c=Q([i[0]||"leftmost"],[],n),h=Q([i[1]||"rightmost"],[],n),m=r==="root";return Bd(a,(E,v)=>{var A=v.classes[0],b=E.classes[0];A==="mbin"&&ck.has(b)?v.classes[0]="mord":b==="mbin"&&lk.has(A)&&(E.classes[0]="mord")},{node:c},h,m),Bd(a,(E,v)=>{var A,b,y=Ud(v),T=Ud(E),D=y&&T?E.hasClass("mtight")?(A=ok[y])==null?void 0:A[T]:(b=uk[y])==null?void 0:b[T]:null;if(D)return B6(D,l)},{node:c},h,m),a},Bd=function(t,n,r,i,a){i&&t.push(i);for(var s=0;s<t.length;s++){var u=t[s],o=$6(u);if(o){Bd(o.children,n,r,null,a);continue}var l=!u.hasClass("mspace");if(l){var d=n(u,r.node);d&&(r.insertAfter?r.insertAfter(d):(t.unshift(d),s++))}l?r.node=u:a&&u.hasClass("newline")&&(r.node=Q(["leftmost"])),r.insertAfter=(c=>h=>{t.splice(c+1,0,h),s++})(s)}i&&t.pop()},$6=function(t){return t instanceof Wa||t instanceof $l||t instanceof Va&&t.hasClass("enclosing")?t:null},zd=function(t,n){var r=$6(t);if(r){var i=r.children;if(i.length){if(n==="right")return zd(i[i.length-1],"right");if(n==="left")return zd(i[0],"left")}}return t},Ud=function(t,n){if(!t)return null;n&&(t=zd(t,n));var r=t.classes[0];return fk[r]||null},ou=function(t,n){var r=["nulldelimiter"].concat(t.baseSizingClasses());return Q(n.concat(r))},Le=function(t,n,r){if(!t)return Q();if(ol[t.type]){var i=ol[t.type](t,n);if(r&&n.size!==r.size){i=Q(n.sizingClasses(r),[i],n);var a=n.sizeMultiplier/r.sizeMultiplier;i.height*=a,i.depth*=a}return i}else throw new re("Got group of unknown type: '"+t.type+"'")};function Ju(e,t){var n=Q(["base"],e,t),r=Q(["strut"]);return r.style.height=se(n.height+n.depth),n.depth&&(r.style.verticalAlign=se(-n.depth)),n.children.unshift(r),n}function Hd(e,t){var n=null;e.length===1&&e[0].type==="tag"&&(n=e[0].tag,e=e[0].body);var r=bt(e,t,"root"),i;r.length===2&&r[1].hasClass("tag")&&(i=r.pop());for(var a=[],s=[],u=0;u<r.length;u++)if(s.push(r[u]),r[u].hasClass("mbin")||r[u].hasClass("mrel")||r[u].hasClass("allowbreak")){for(var o=!1;u<r.length-1&&r[u+1].hasClass("mspace")&&!r[u+1].hasClass("newline");)u++,s.push(r[u]),r[u].hasClass("nobreak")&&(o=!0);o||(a.push(Ju(s,t)),s=[])}else r[u].hasClass("newline")&&(s.pop(),s.length>0&&(a.push(Ju(s,t)),s=[]),a.push(r[u]));s.length>0&&a.push(Ju(s,t));var l;n?(l=Ju(bt(n,t,!0),t),l.classes=["tag"],a.push(l)):i&&a.push(i);var d=Q(["katex-html"],a);if(d.setAttribute("aria-hidden","true"),l){var c=l.children[0];c.style.height=se(d.height+d.depth),d.depth&&(c.style.verticalAlign=se(-d.depth))}return d}function q6(e){return new Wa(e)}class ie{constructor(t,n,r){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=t,this.attributes={},this.children=n||[],this.classes=r||[]}setAttribute(t,n){this.attributes[t]=n}getAttribute(t){return this.attributes[t]}toNode(){var t=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&t.setAttribute(n,this.attributes[n]);this.classes.length>0&&(t.className=ci(this.classes));for(var r=0;r<this.children.length;r++)if(this.children[r]instanceof ft&&this.children[r+1]instanceof ft){for(var i=this.children[r].toText()+this.children[++r].toText();this.children[r+1]instanceof ft;)i+=this.children[++r].toText();t.appendChild(new ft(i).toNode())}else t.appendChild(this.children[r].toNode());return t}toMarkup(){var t="<"+this.type;for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&(t+=" "+n+'="',t+=Ot(this.attributes[n]),t+='"');this.classes.length>0&&(t+=' class ="'+Ot(ci(this.classes))+'"'),t+=">";for(var r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t+="</"+this.type+">",t}toText(){return this.children.map(t=>t.toText()).join("")}}class ft{constructor(t){this.text=void 0,this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return Ot(this.toText())}toText(){return this.text}}class G6{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",se(this.width)),t}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+se(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var hk=new Set(["\\imath","\\jmath"]),mk=new Set(["mrow","mtable"]),In=function(t,n,r){return Xe[n][t]&&Xe[n][t].replace&&t.charCodeAt(0)!==55349&&!(F6.hasOwnProperty(t)&&r&&(r.fontFamily&&r.fontFamily.slice(4,6)==="tt"||r.font&&r.font.slice(4,6)==="tt"))&&(t=Xe[n][t].replace),new ft(t)},A1=function(t){return t.length===1?t[0]:new ie("mrow",t)},pk={mathit:"italic",boldsymbol:e=>e.type==="textord"?"bold":"bold-italic",mathbf:"bold",mathbb:"double-struck",mathsfit:"sans-serif-italic",mathfrak:"fraktur",mathscr:"script",mathcal:"script",mathsf:"sans-serif",mathtt:"monospace"},w1=(e,t)=>{if(e.mode==="text"){if(t.fontFamily==="texttt")return"monospace";if(t.fontFamily==="textsf")return t.fontShape==="textit"&&t.fontWeight==="textbf"?"sans-serif-bold-italic":t.fontShape==="textit"?"sans-serif-italic":t.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(t.fontShape==="textit"&&t.fontWeight==="textbf")return"bold-italic";if(t.fontShape==="textit")return"italic";if(t.fontWeight==="textbf")return"bold"}var n=t.font;if(!n||n==="mathnormal")return null;var r=e.mode,i=pk[n];if(i)return typeof i=="function"?i(e):i;var a=e.text;if(hk.has(a))return null;if(Xe[r][a]){var s=Xe[r][a].replace;s&&(a=s)}var u=Pd[n].fontName;return _1(a,u,r)?Pd[n].variant:null};function rc(e){if(!e)return!1;if(e.type==="mi"&&e.children.length===1){var t=e.children[0];return t instanceof ft&&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 ft&&n.text===","}else return!1}var yn=function(t,n,r){if(t.length===1){var i=$e(t[0],n);return r&&i instanceof ie&&i.type==="mo"&&(i.setAttribute("lspace","0em"),i.setAttribute("rspace","0em")),[i]}for(var a=[],s,u=0;u<t.length;u++){var o=$e(t[u],n);if(o instanceof ie&&s instanceof ie){if(o.type==="mtext"&&s.type==="mtext"&&o.getAttribute("mathvariant")===s.getAttribute("mathvariant")){s.children.push(...o.children);continue}else if(o.type==="mn"&&s.type==="mn"){s.children.push(...o.children);continue}else if(rc(o)&&s.type==="mn"){s.children.push(...o.children);continue}else if(o.type==="mn"&&rc(s))o.children=[...s.children,...o.children],a.pop();else if((o.type==="msup"||o.type==="msub")&&o.children.length>=1&&(s.type==="mn"||rc(s))){var l=o.children[0];l instanceof ie&&l.type==="mn"&&(l.children=[...s.children,...l.children],a.pop())}else if(s.type==="mi"&&s.children.length===1){var d=s.children[0];if(d instanceof ft&&d.text==="̸"&&(o.type==="mo"||o.type==="mi"||o.type==="mn")){var c=o.children[0];c instanceof ft&&c.text.length>0&&(c.text=c.text.slice(0,1)+"̸"+c.text.slice(1),a.pop())}}}a.push(o),s=o}return a},hi=function(t,n,r){return A1(yn(t,n,r))},$e=function(t,n){if(!t)return new ie("mrow");if(ll[t.type])return ll[t.type](t,n);throw new re("Got group of unknown type: '"+t.type+"'")};function Cp(e,t,n,r,i){var a=yn(e,n),s;a.length===1&&a[0]instanceof ie&&mk.has(a[0].type)?s=a[0]:s=new ie("mrow",a);var u=new ie("annotation",[new ft(t)]);u.setAttribute("encoding","application/x-tex");var o=new ie("semantics",[s,u]),l=new ie("math",[o]);l.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),r&&l.setAttribute("display","block");var d=i?"katex":"katex-mathml";return Q([d],[l])}var gk=[[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]],Np=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Dp=function(t,n){return n.size<2?t:gk[t-1][n.size-1]};class mr{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||mr.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=Np[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}extend(t){var n={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};return Object.assign(n,t),new mr(n)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:Dp(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:Np[t-1]})}havingBaseStyle(t){t=t||this.style.text();var n=Dp(mr.BASESIZE,t);return this.size===n&&this.textSize===mr.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!==mr.BASESIZE?["sizing","reset-size"+this.size,"size"+mr.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=JS(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}mr.BASESIZE=6;var Y6=function(t){return new mr({style:t.displayMode?Te.DISPLAY:Te.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},W6=function(t,n){if(n.displayMode){var r=["katex-display"];n.leqno&&r.push("leqno"),n.fleqn&&r.push("fleqn"),t=Q(r,[t])}return t},bk=function(t,n,r){var i=Y6(r),a;if(r.output==="mathml")return Cp(t,n,i,r.displayMode,!0);if(r.output==="html"){var s=Hd(t,i);a=Q(["katex"],[s])}else{var u=Cp(t,n,i,r.displayMode,!1),o=Hd(t,i);a=Q(["katex"],[u,o])}return W6(a,r)},Ek=function(t,n,r){var i=Y6(r),a=Hd(t,i),s=Q(["katex"],[a]);return W6(s,r)},yk={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",underbracket:"⎵",overbracket:"⎴",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},Yl=function(t){var n=new ie("mo",[new ft(yk[t.replace(/^\\/,"")])]);return n.setAttribute("stretchy","true"),n},vk={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overbracket:[["leftbracketover","rightbracketover"],1.6,440],underbracket:[["leftbracketunder","rightbracketunder"],1.6,410],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},_k=new Set(["widehat","widecheck","widetilde","utilde"]),Wl=function(t,n){function r(){var u=4e5,o=t.label.slice(1);if(_k.has(o)&&"base"in t){var l=t.base.type==="ordgroup"?t.base.body.length:1,d,c,h;if(l>5)o==="widehat"||o==="widecheck"?(d=420,u=2364,h=.42,c=o+"4"):(d=312,u=2340,h=.34,c="tilde4");else{var m=[1,1,2,2,3,3][l];o==="widehat"||o==="widecheck"?(u=[0,1062,2364,2364,2364][m],d=[0,239,300,360,420][m],h=[0,.24,.3,.3,.36,.42][m],c=o+m):(u=[0,600,1033,2339,2340][m],d=[0,260,286,306,312][m],h=[0,.26,.286,.3,.306,.34][m],c="tilde"+m)}var E=new di(c),v=new Ar([E],{width:"100%",height:se(h),viewBox:"0 0 "+u+" "+d,preserveAspectRatio:"none"});return{span:fi([],[v],n),minWidth:0,height:h}}else{var A=[],b=vk[o];if(!b)throw new Error('No SVG data for "'+o+'".');var[y,T,D]=b,F=D/1e3,C=y.length,B,H;if(C===1){if(b.length!==4)throw new Error('Expected 4-tuple for single-path SVG data "'+o+'".');B=["hide-tail"],H=[b[3]]}else if(C===2)B=["halfarrow-left","halfarrow-right"],H=["xMinYMin","xMaxYMin"];else if(C===3)B=["brace-left","brace-center","brace-right"],H=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
|
|
422
|
+
`+C+" children.");for(var W=0;W<C;W++){var M=new di(y[W]),Z=new Ar([M],{width:"400em",height:se(F),viewBox:"0 0 "+u+" "+D,preserveAspectRatio:H[W]+" slice"}),V=fi([B[W]],[Z],n);if(C===1)return{span:V,minWidth:T,height:F};V.style.height=se(F),A.push(V)}return{span:Q(["stretchy"],A,n),minWidth:T,height:F}}}var{span:i,minWidth:a,height:s}=r();return i.height=s,i.style.height=se(s),a>0&&(i.style.minWidth=se(a)),i},Tk=function(t,n,r,i,a){var s,u=t.height+t.depth+r+i;if(/fbox|color|angl/.test(n)){if(s=Q(["stretchy",n],[],a),n==="fbox"){var o=a.color&&a.getColor();o&&(s.style.borderColor=o)}}else{var l=[];/^[bx]cancel$/.test(n)&&l.push(new Id({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(n)&&l.push(new Id({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var d=new Ar(l,{width:"100%",height:se(u)});s=fi([],[d],a)}return s.height=u,s.style.height=se(u),s},xk={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Ak={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1};function wk(e){return e in xk}function Se(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 Vl(e){var t=jl(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 jl(e){return e&&(e.type==="atom"||Ak.hasOwnProperty(e.type))?e:null}var V6=e=>{if(e instanceof pn)return e;if(QS(e)&&e.children.length===1)return V6(e.children[0])},S1=(e,t)=>{var n,r,i;e&&e.type==="supsub"?(r=Se(e.base,"accent"),n=r.base,e.base=n,i=XS(Le(e,t)),e.base=r):(r=Se(e,"accent"),n=r.base);var a=Le(n,t.havingCrampedStyle()),s=r.isShifty&&kr(n),u=0;if(s){var o,l;u=(o=(l=V6(a))==null?void 0:l.skew)!=null?o:0}var d=r.label==="\\c",c=d?a.height+a.depth:Math.min(a.height,t.fontMetrics().xHeight),h;if(r.isStretchy)h=Wl(r,t),h=Me({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"elem",elem:h,wrapperClasses:["svg-align"],wrapperStyle:u>0?{width:"calc(100% - "+se(2*u)+")",marginLeft:se(2*u)}:void 0}]});else{var m,E;r.label==="\\vec"?(m=U6("vec",t),E=z6.vec[1]):(m=Gl({mode:r.mode,text:r.label},t,"textord"),m=KS(m),m.italic=0,E=m.width,d&&(c+=m.depth)),h=Q(["accent-body"],[m]);var v=r.label==="\\textcircled";v&&(h.classes.push("accent-full"),c=a.height);var A=u;v||(A-=E/2),h.style.left=se(A),r.label==="\\textcircled"&&(h.style.top=".2em"),h=Me({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:-c},{type:"elem",elem:h}]})}var b=Q(["mord","accent"],[h],t);return i?(i.children[0]=b,i.height=Math.max(b.height,i.height),i.classes[0]="mord",i):b},j6=(e,t)=>{var n=e.isStretchy?Yl(e.label):new ie("mo",[In(e.label,e.mode)]),r=new ie("mover",[$e(e.base,t),n]);return r.setAttribute("accent","true"),r},Sk=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));oe({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=cl(t[0]),r=!Sk.test(e.funcName),i=!r||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:r,isShifty:i,base:n}},htmlBuilder:S1,mathmlBuilder:j6});oe({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{var n=t[0],r=e.parser.mode;return r==="math"&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),r="text"),{type:"accent",mode:r,label:e.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:S1,mathmlBuilder:j6});oe({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0];return{type:"accentUnder",mode:n.mode,label:r,base:i}},htmlBuilder:(e,t)=>{var n=Le(e.base,t),r=Wl(e,t),i=e.label==="\\utilde"?.12:0,a=Me({positionType:"top",positionData:n.height,children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:i},{type:"elem",elem:n}]});return Q(["mord","accentunder"],[a],t)},mathmlBuilder:(e,t)=>{var n=Yl(e.label),r=new ie("munder",[$e(e.base,t),n]);return r.setAttribute("accentunder","true"),r}});var eo=e=>{var t=new ie("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};oe({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){var{parser:r,funcName:i}=e;return{type:"xArrow",mode:r.mode,label:i,body:t[0],below:n[0]}},htmlBuilder(e,t){var n=t.style,r=t.havingStyle(n.sup()),i=Pa(Le(e.body,r,t),t),a=e.label.slice(0,2)==="\\x"?"x":"cd";i.classes.push(a+"-arrow-pad");var s;e.below&&(r=t.havingStyle(n.sub()),s=Pa(Le(e.below,r,t),t),s.classes.push(a+"-arrow-pad"));var u=Wl(e,t),o=-t.fontMetrics().axisHeight+.5*u.height,l=-t.fontMetrics().axisHeight-.5*u.height-.111;(i.depth>.25||e.label==="\\xleftequilibrium")&&(l-=i.depth);var d;if(s){var c=-t.fontMetrics().axisHeight+s.height+.5*u.height+.111;d=Me({positionType:"individualShift",children:[{type:"elem",elem:i,shift:l},{type:"elem",elem:u,shift:o,wrapperClasses:["svg-align"]},{type:"elem",elem:s,shift:c}]})}else d=Me({positionType:"individualShift",children:[{type:"elem",elem:i,shift:l},{type:"elem",elem:u,shift:o,wrapperClasses:["svg-align"]}]});return Q(["mrel","x-arrow"],[d],t)},mathmlBuilder(e,t){var n=Yl(e.label);n.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var r;if(e.body){var i=eo($e(e.body,t));if(e.below){var a=eo($e(e.below,t));r=new ie("munderover",[n,a,i])}else r=new ie("mover",[n,i])}else if(e.below){var s=eo($e(e.below,t));r=new ie("munder",[n,s])}else r=eo(),r=new ie("mover",[n,r]);return r}});function K6(e,t){var n=bt(e.body,t,!0);return Q([e.mclass],n,t)}function X6(e,t){var n,r=yn(e.body,t);return e.mclass==="minner"?n=new ie("mpadded",r):e.mclass==="mord"?e.isCharacterBox?(n=r[0],n.type="mi"):n=new ie("mi",r):(e.isCharacterBox?(n=r[0],n.type="mo"):n=new ie("mo",r),e.mclass==="mbin"?(n.attributes.lspace="0.22em",n.attributes.rspace="0.22em"):e.mclass==="mpunct"?(n.attributes.lspace="0em",n.attributes.rspace="0.17em"):e.mclass==="mopen"||e.mclass==="mclose"?(n.attributes.lspace="0em",n.attributes.rspace="0em"):e.mclass==="minner"&&(n.attributes.lspace="0.0556em",n.attributes.width="+0.1111em")),n}oe({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:n,funcName:r}=e,i=t[0];return{type:"mclass",mode:n.mode,mclass:"m"+r.slice(5),body:dt(i),isCharacterBox:kr(i)}},htmlBuilder:K6,mathmlBuilder:X6});var Kl=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"};oe({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:n}=e;return{type:"mclass",mode:n.mode,mclass:Kl(t[0]),body:dt(t[1]),isCharacterBox:kr(t[1])}}});oe({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var{parser:n,funcName:r}=e,i=t[1],a=t[0],s;r!=="\\stackrel"?s=Kl(i):s="mrel";var u={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:r!=="\\stackrel",body:dt(i)},o={type:"supsub",mode:a.mode,base:u,sup:r==="\\underset"?null:a,sub:r==="\\underset"?a:null};return{type:"mclass",mode:n.mode,mclass:s,body:[o],isCharacterBox:kr(o)}},htmlBuilder:K6,mathmlBuilder:X6});oe({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"pmb",mode:n.mode,mclass:Kl(t[0]),body:dt(t[0])}},htmlBuilder(e,t){var n=bt(e.body,t,!0),r=Q([e.mclass],n,t);return r.style.textShadow="0.02em 0.01em 0.04px",r},mathmlBuilder(e,t){var n=yn(e.body,t),r=new ie("mstyle",n);return r.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),r}});var kk={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Ip=()=>({type:"styling",body:[],mode:"math",style:"display",resetFont:!0}),Op=e=>e.type==="textord"&&e.text==="@",Ck=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function Nk(e,t,n){var r=kk[e];switch(r){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return n.callFunction(r,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":{var i=n.callFunction("\\\\cdleft",[t[0]],[]),a={type:"atom",text:r,mode:"math",family:"rel"},s=n.callFunction("\\Big",[a],[]),u=n.callFunction("\\\\cdright",[t[1]],[]),o={type:"ordgroup",mode:"math",body:[i,s,u]};return n.callFunction("\\\\cdparent",[o],[])}case"\\\\cdlongequal":return n.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var l={type:"textord",text:"\\Vert",mode:"math"};return n.callFunction("\\Big",[l],[])}default:return{type:"textord",text:" ",mode:"math"}}}function Dk(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 re("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var r=[],i=[r],a=0;a<t.length;a++){for(var s=t[a],u=Ip(),o=0;o<s.length;o++)if(!Op(s[o]))u.body.push(s[o]);else{r.push(u),o+=1;var l=Vl(s[o]).text,d=new Array(2);if(d[0]={type:"ordgroup",mode:"math",body:[]},d[1]={type:"ordgroup",mode:"math",body:[]},!"=|.".includes(l))if("<>AV".includes(l))for(var c=0;c<2;c++){for(var h=!0,m=o+1;m<s.length;m++){if(Ck(s[m],l)){h=!1,o=m;break}if(Op(s[m]))throw new re("Missing a "+l+" character to complete a CD arrow.",s[m]);d[c].body.push(s[m])}if(h)throw new re("Missing a "+l+" character to complete a CD arrow.",s[o])}else throw new re('Expected one of "<>AV=|." after @',s[o]);var E=Nk(l,d,e),v={type:"styling",body:[E],mode:"math",style:"display",resetFont:!0};r.push(v),u=Ip()}a%2===0?r.push(u):r.shift(),r=[],i.push(r)}e.gullet.endGroup(),e.gullet.endGroup();var A=new Array(i[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:i,arraystretch:1,addJot:!0,rowGaps:[null],cols:A,colSeparationType:"CD",hLinesBeforeRow:new Array(i.length+1).fill([])}}oe({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e;return{type:"cdlabel",mode:n.mode,side:r.slice(4),label:t[0]}},htmlBuilder(e,t){var n=t.havingStyle(t.style.sup()),r=Pa(Le(e.label,n,t),t);return r.classes.push("cd-label-"+e.side),r.style.bottom=se(.8-r.depth),r.height=0,r.depth=0,r},mathmlBuilder(e,t){var n=new ie("mrow",[$e(e.label,t)]);return n=new ie("mpadded",[n]),n.setAttribute("width","0"),e.side==="left"&&n.setAttribute("lspace","-1width"),n.setAttribute("voffset","0.7em"),n=new ie("mstyle",[n]),n.setAttribute("displaystyle","false"),n.setAttribute("scriptlevel","1"),n}});oe({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=Pa(Le(e.fragment,t),t);return n.classes.push("cd-vert-arrow"),n},mathmlBuilder(e,t){return new ie("mrow",[$e(e.fragment,t)])}});oe({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:n}=e,r=Se(t[0],"ordgroup"),i=r.body,a="",s=0;s<i.length;s++){var u=Se(i[s],"textord");a+=u.text}var o=parseInt(a),l;if(isNaN(o))throw new re("\\@char has non-numeric argument "+a);if(o<0||o>=1114111)throw new re("\\@char with invalid code point "+a);return o<=65535?l=String.fromCharCode(o):(o-=65536,l=String.fromCharCode((o>>10)+55296,(o&1023)+56320)),{type:"textord",mode:n.mode,text:l}}});var Q6=(e,t)=>{var n=bt(e.body,t.withColor(e.color),!1);return Nr(n)},Z6=(e,t)=>{var n=yn(e.body,t.withColor(e.color)),r=new ie("mstyle",n);return r.setAttribute("mathcolor",e.color),r};oe({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:n}=e,r=Se(t[0],"color-token").color,i=t[1];return{type:"color",mode:n.mode,color:r,body:dt(i)}},htmlBuilder:Q6,mathmlBuilder:Z6});oe({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:n,breakOnTokenText:r}=e,i=Se(t[0],"color-token").color;n.gullet.macros.set("\\current@color",i);var a=n.parseExpression(!0,r);return{type:"color",mode:n.mode,color:i,body:a}},htmlBuilder:Q6,mathmlBuilder:Z6});oe({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,n){var{parser:r}=e,i=r.gullet.future().text==="["?r.parseSizeGroup(!0):null,a=!r.settings.displayMode||!r.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:r.mode,newLine:a,size:i&&Se(i,"size").value}},htmlBuilder(e,t){var n=Q(["mspace"],[],t);return e.newLine&&(n.classes.push("newline"),e.size&&(n.style.marginTop=se(et(e.size,t)))),n},mathmlBuilder(e,t){var n=new ie("mspace");return e.newLine&&(n.setAttribute("linebreak","newline"),e.size&&n.setAttribute("height",se(et(e.size,t)))),n}});var $d={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},J6=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new re("Expected a control sequence",e);return t},Ik=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},eb=(e,t,n,r)=>{var i=e.gullet.macros.get(n.text);i==null&&(n.noexpand=!0,i={tokens:[n],numArgs:0,unexpandable:!e.gullet.isExpandable(n.text)}),e.gullet.macros.set(t,i,r)};oe({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:n}=e;t.consumeSpaces();var r=t.fetch();if($d[r.text])return(n==="\\global"||n==="\\\\globallong")&&(r.text=$d[r.text]),Se(t.parseFunction(),"internal");throw new re("Invalid token after macro prefix",r)}});oe({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=t.gullet.popToken(),i=r.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(i))throw new re("Expected a control sequence",r);for(var a=0,s,u=[[]];t.gullet.future().text!=="{";)if(r=t.gullet.popToken(),r.text==="#"){if(t.gullet.future().text==="{"){s=t.gullet.future(),u[a].push("{");break}if(r=t.gullet.popToken(),!/^[1-9]$/.test(r.text))throw new re('Invalid argument number "'+r.text+'"');if(parseInt(r.text)!==a+1)throw new re('Argument number "'+r.text+'" out of order');a++,u.push([])}else{if(r.text==="EOF")throw new re("Expected a macro definition");u[a].push(r.text)}var{tokens:o}=t.gullet.consumeArg();return s&&o.unshift(s),(n==="\\edef"||n==="\\xdef")&&(o=t.gullet.expandTokens(o),o.reverse()),t.gullet.macros.set(i,{tokens:o,numArgs:a,delimiters:u},n===$d[n]),{type:"internal",mode:t.mode}}});oe({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=J6(t.gullet.popToken());t.gullet.consumeSpaces();var i=Ik(t);return eb(t,r,i,n==="\\\\globallet"),{type:"internal",mode:t.mode}}});oe({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=J6(t.gullet.popToken()),i=t.gullet.popToken(),a=t.gullet.popToken();return eb(t,r,a,n==="\\\\globalfuture"),t.gullet.pushToken(a),t.gullet.pushToken(i),{type:"internal",mode:t.mode}}});var vs=function(t,n,r){var i=Xe.math[t]&&Xe.math[t].replace,a=_1(i||t,n,r);if(!a)throw new Error("Unsupported symbol "+t+" and font size "+n+".");return a},k1=function(t,n,r,i){var a=r.havingBaseStyle(n),s=Q(i.concat(a.sizingClasses(r)),[t],r),u=a.sizeMultiplier/r.sizeMultiplier;return s.height*=u,s.depth*=u,s.maxFontSize=a.sizeMultiplier,s},tb=function(t,n,r){var i=n.havingBaseStyle(r),a=(1-n.sizeMultiplier/i.sizeMultiplier)*n.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=se(a),t.height-=a,t.depth+=a},Ok=function(t,n,r,i,a,s){var u=zt(t,"Main-Regular",a,i),o=k1(u,n,i,s);return tb(o,i,n),o},Rk=function(t,n,r,i){return zt(t,"Size"+n+"-Regular",r,i)},nb=function(t,n,r,i,a,s){var u=Rk(t,n,a,i),o=k1(Q(["delimsizing","size"+n],[u],i),Te.TEXT,i,s);return r&&tb(o,i,Te.TEXT),o},ic=function(t,n,r){var i;n==="Size1-Regular"?i="delim-size1":i="delim-size4";var a=Q(["delimsizinginner",i],[Q([],[zt(t,n,r)])]);return{type:"elem",elem:a}},ac=function(t,n,r){var i=Jn["Size4-Regular"][t.charCodeAt(0)]?Jn["Size4-Regular"][t.charCodeAt(0)][4]:Jn["Size1-Regular"][t.charCodeAt(0)][4],a=new di("inner",$S(t,Math.round(1e3*n))),s=new Ar([a],{width:se(i),height:se(n),style:"width:"+se(i),viewBox:"0 0 "+1e3*i+" "+Math.round(1e3*n),preserveAspectRatio:"xMinYMin"}),u=fi([],[s],r);return u.height=n,u.style.height=se(n),u.style.width=se(i),{type:"elem",elem:u}},qd=.008,to={type:"kern",size:-1*qd},Mk=new Set(["|","\\lvert","\\rvert","\\vert"]),Lk=new Set(["\\|","\\lVert","\\rVert","\\Vert"]),rb=function(t,n,r,i,a,s){var u,o,l,d,c="",h=0;u=l=d=t,o=null;var m="Size1-Regular";t==="\\uparrow"?l=d="⏐":t==="\\Uparrow"?l=d="‖":t==="\\downarrow"?u=l="⏐":t==="\\Downarrow"?u=l="‖":t==="\\updownarrow"?(u="\\uparrow",l="⏐",d="\\downarrow"):t==="\\Updownarrow"?(u="\\Uparrow",l="‖",d="\\Downarrow"):Mk.has(t)?(l="∣",c="vert",h=333):Lk.has(t)?(l="∥",c="doublevert",h=556):t==="["||t==="\\lbrack"?(u="⎡",l="⎢",d="⎣",m="Size4-Regular",c="lbrack",h=667):t==="]"||t==="\\rbrack"?(u="⎤",l="⎥",d="⎦",m="Size4-Regular",c="rbrack",h=667):t==="\\lfloor"||t==="⌊"?(l=u="⎢",d="⎣",m="Size4-Regular",c="lfloor",h=667):t==="\\lceil"||t==="⌈"?(u="⎡",l=d="⎢",m="Size4-Regular",c="lceil",h=667):t==="\\rfloor"||t==="⌋"?(l=u="⎥",d="⎦",m="Size4-Regular",c="rfloor",h=667):t==="\\rceil"||t==="⌉"?(u="⎤",l=d="⎥",m="Size4-Regular",c="rceil",h=667):t==="("||t==="\\lparen"?(u="⎛",l="⎜",d="⎝",m="Size4-Regular",c="lparen",h=875):t===")"||t==="\\rparen"?(u="⎞",l="⎟",d="⎠",m="Size4-Regular",c="rparen",h=875):t==="\\{"||t==="\\lbrace"?(u="⎧",o="⎨",d="⎩",l="⎪",m="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(u="⎫",o="⎬",d="⎭",l="⎪",m="Size4-Regular"):t==="\\lgroup"||t==="⟮"?(u="⎧",d="⎩",l="⎪",m="Size4-Regular"):t==="\\rgroup"||t==="⟯"?(u="⎫",d="⎭",l="⎪",m="Size4-Regular"):t==="\\lmoustache"||t==="⎰"?(u="⎧",d="⎭",l="⎪",m="Size4-Regular"):(t==="\\rmoustache"||t==="⎱")&&(u="⎫",d="⎩",l="⎪",m="Size4-Regular");var E=vs(u,m,a),v=E.height+E.depth,A=vs(l,m,a),b=A.height+A.depth,y=vs(d,m,a),T=y.height+y.depth,D=0,F=1;if(o!==null){var C=vs(o,m,a);D=C.height+C.depth,F=2}var B=v+T+D,H=Math.max(0,Math.ceil((n-B)/(F*b))),W=B+H*F*b,M=i.fontMetrics().axisHeight;r&&(M*=i.sizeMultiplier);var Z=W/2-M,V=[];if(c.length>0){var be=W-v-T,he=Math.round(W*1e3),le=qS(c,Math.round(be*1e3)),q=new di(c,le),ee=se(h/1e3),U=se(he/1e3),j=new Ar([q],{width:ee,height:U,viewBox:"0 0 "+h+" "+he}),S=fi([],[j],i);S.height=he/1e3,S.style.width=ee,S.style.height=U,V.push({type:"elem",elem:S})}else{if(V.push(ic(d,m,a)),V.push(to),o===null){var ue=W-v-T+2*qd;V.push(ac(l,ue,i))}else{var ge=(W-v-T-D)/2+2*qd;V.push(ac(l,ge,i)),V.push(to),V.push(ic(o,m,a)),V.push(to),V.push(ac(l,ge,i))}V.push(to),V.push(ic(u,m,a))}var R=i.havingBaseStyle(Te.TEXT),ke=Me({positionType:"bottom",positionData:Z,children:V});return k1(Q(["delimsizing","mult"],[ke],R),Te.TEXT,i,s)},sc=80,uc=.08,oc=function(t,n,r,i,a){var s=HS(t,i,r),u=new di(t,s),o=new Ar([u],{width:"400em",height:se(n),viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"});return fi(["hide-tail"],[o],a)},Fk=function(t,n){var r=n.havingBaseSizing(),i=ob("\\surd",t*r.sizeMultiplier,ub,r),a=r.sizeMultiplier,s=Math.max(0,n.minRuleThickness-n.fontMetrics().sqrtRuleThickness),u,o,l,d,c;return i.type==="small"?(d=1e3+1e3*s+sc,t<1?a=1:t<1.4&&(a=.7),o=(1+s+uc)/a,l=(1+s)/a,u=oc("sqrtMain",o,d,s,n),u.style.minWidth="0.853em",c=.833/a):i.type==="large"?(d=(1e3+sc)*Ls[i.size],l=(Ls[i.size]+s)/a,o=(Ls[i.size]+s+uc)/a,u=oc("sqrtSize"+i.size,o,d,s,n),u.style.minWidth="1.02em",c=1/a):(o=t+s+uc,l=t+s,d=Math.floor(1e3*t+s)+sc,u=oc("sqrtTall",o,d,s,n),u.style.minWidth="0.742em",c=1.056),u.height=l,u.style.height=se(o),{span:u,advanceWidth:c,ruleWidth:(n.fontMetrics().sqrtRuleThickness+s)*a}},ib=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"]),Pk=new Set(["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"]),ab=new Set(["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"]),Ls=[0,1.2,1.8,2.4,3],sb=function(t,n,r,i,a){if(t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle"),ib.has(t)||ab.has(t))return nb(t,n,!1,r,i,a);if(Pk.has(t))return rb(t,Ls[n],!1,r,i,a);throw new re("Illegal delimiter: '"+t+"'")},Bk=[{type:"small",style:Te.SCRIPTSCRIPT},{type:"small",style:Te.SCRIPT},{type:"small",style:Te.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],zk=[{type:"small",style:Te.SCRIPTSCRIPT},{type:"small",style:Te.SCRIPT},{type:"small",style:Te.TEXT},{type:"stack"}],ub=[{type:"small",style:Te.SCRIPTSCRIPT},{type:"small",style:Te.SCRIPT},{type:"small",style:Te.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Uk=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";var n=t.type;throw new Error("Add support for delim type '"+n+"' here.")},ob=function(t,n,r,i){for(var a=Math.min(2,3-i.style.size),s=a;s<r.length;s++){var u=r[s];if(u.type==="stack")break;var o=vs(t,Uk(u),"math"),l=o.height+o.depth;if(u.type==="small"){var d=i.havingBaseStyle(u.style);l*=d.sizeMultiplier}if(l>n)return u}return r[r.length-1]},Gd=function(t,n,r,i,a,s){t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle");var u;ab.has(t)?u=Bk:ib.has(t)?u=ub:u=zk;var o=ob(t,n,u,i);return o.type==="small"?Ok(t,o.style,r,i,a,s):o.type==="large"?nb(t,o.size,r,i,a,s):rb(t,n,r,i,a,s)},lc=function(t,n,r,i,a,s){var u=i.fontMetrics().axisHeight*i.sizeMultiplier,o=901,l=5/i.fontMetrics().ptPerEm,d=Math.max(n-u,r+u),c=Math.max(d/500*o,2*d-l);return Gd(t,c,!0,i,a,s)},Rp={"\\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}},Hk=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."]);function Mp(e){return"isMiddle"in e}function Xl(e,t){var n=jl(e);if(n&&Hk.has(n.text))return n;throw n?new re("Invalid delimiter '"+n.text+"' after '"+t.funcName+"'",e):new re("Invalid delimiter type '"+e.type+"'",e)}oe({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=Xl(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:Rp[e.funcName].size,mclass:Rp[e.funcName].mclass,delim:n.text}},htmlBuilder:(e,t)=>e.delim==="."?Q([e.mclass]):sb(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push(In(e.delim,e.mode));var n=new ie("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n.setAttribute("stretchy","true");var r=se(Ls[e.size]);return n.setAttribute("minsize",r),n.setAttribute("maxsize",r),n}});function Lp(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}oe({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 re("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:Xl(t[0],e).text,color:n}}});oe({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=Xl(t[0],e),r=e.parser;++r.leftrightDepth;var i=r.parseExpression(!1);--r.leftrightDepth,r.expect("\\right",!1);var a=Se(r.parseFunction(),"leftright-right");return{type:"leftright",mode:r.mode,body:i,left:n.text,right:a.delim,rightColor:a.color}},htmlBuilder:(e,t)=>{Lp(e);for(var n=bt(e.body,t,!0,["mopen","mclose"]),r=0,i=0,a=!1,s=0;s<n.length;s++){var u=n[s];Mp(u)?a=!0:(r=Math.max(n[s].height,r),i=Math.max(n[s].depth,i))}r*=t.sizeMultiplier,i*=t.sizeMultiplier;var o;if(e.left==="."?o=ou(t,["mopen"]):o=lc(e.left,r,i,t,e.mode,["mopen"]),n.unshift(o),a)for(var l=1;l<n.length;l++){var d=n[l];if(Mp(d)){var c=d.isMiddle;n[l]=lc(c.delim,r,i,c.options,e.mode,[])}}var h;if(e.right===".")h=ou(t,["mclose"]);else{var m=e.rightColor?t.withColor(e.rightColor):t;h=lc(e.right,r,i,m,e.mode,["mclose"])}return n.push(h),Q(["minner"],n,t)},mathmlBuilder:(e,t)=>{Lp(e);var n=yn(e.body,t);if(e.left!=="."){var r=new ie("mo",[In(e.left,e.mode)]);r.setAttribute("fence","true"),n.unshift(r)}if(e.right!=="."){var i=new ie("mo",[In(e.right,e.mode)]);i.setAttribute("fence","true"),e.rightColor&&i.setAttribute("mathcolor",e.rightColor),n.push(i)}return A1(n)}});oe({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=Xl(t[0],e);if(!e.parser.leftrightDepth)throw new re("\\middle without preceding \\left",n);return{type:"middle",mode:e.parser.mode,delim:n.text}},htmlBuilder:(e,t)=>{var n;return e.delim==="."?n=ou(t,[]):(n=sb(e.delim,1,t,e.mode,[]),n.isMiddle={delim:e.delim,options:t}),n},mathmlBuilder:(e,t)=>{var n=e.delim==="\\vert"||e.delim==="|"?In("|","text"):In(e.delim,e.mode),r=new ie("mo",[n]);return r.setAttribute("fence","true"),r.setAttribute("lspace","0.05em"),r.setAttribute("rspace","0.05em"),r}});var Ql=(e,t)=>{var n=Pa(Le(e.body,t),t),r=e.label.slice(1),i=t.sizeMultiplier,a,s,u=kr(e.body);if(r==="sout")a=Q(["stretchy","sout"]),a.height=t.fontMetrics().defaultRuleThickness/i,s=-.5*t.fontMetrics().xHeight;else if(r==="phase"){var o=et({number:.6,unit:"pt"},t),l=et({number:.35,unit:"ex"},t),d=t.havingBaseSizing();i=i/d.sizeMultiplier;var c=n.height+n.depth+o+l;n.style.paddingLeft=se(c/2+o);var h=Math.floor(1e3*c*i),m=zS(h),E=new Ar([new di("phase",m)],{width:"400em",height:se(h/1e3),viewBox:"0 0 400000 "+h,preserveAspectRatio:"xMinYMin slice"});a=fi(["hide-tail"],[E],t),a.style.height=se(c),s=n.depth+o+l}else{/cancel/.test(r)?u||n.classes.push("cancel-pad"):r==="angl"?n.classes.push("anglpad"):n.classes.push("boxpad");var v,A,b=0;/box/.test(r)?(b=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),v=t.fontMetrics().fboxsep+(r==="colorbox"?0:b),A=v):r==="angl"?(b=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),v=4*b,A=Math.max(0,.25-n.depth)):(v=u?.2:0,A=v),a=Tk(n,r,v,A,t),/fbox|boxed|fcolorbox/.test(r)?(a.style.borderStyle="solid",a.style.borderWidth=se(b)):r==="angl"&&b!==.049&&(a.style.borderTopWidth=se(b),a.style.borderRightWidth=se(b)),s=n.depth+A,e.backgroundColor&&(a.style.backgroundColor=e.backgroundColor,e.borderColor&&(a.style.borderColor=e.borderColor))}var y;if(e.backgroundColor)y=Me({positionType:"individualShift",children:[{type:"elem",elem:a,shift:s},{type:"elem",elem:n,shift:0}]});else{var T=/cancel|phase/.test(r)?["svg-align"]:[];y=Me({positionType:"individualShift",children:[{type:"elem",elem:n,shift:0},{type:"elem",elem:a,shift:s,wrapperClasses:T}]})}return/cancel/.test(r)&&(y.height=n.height,y.depth=n.depth),/cancel/.test(r)&&!u?Q(["mord","cancel-lap"],[y],t):Q(["mord"],[y],t)},Zl=(e,t)=>{var n,r=new ie(e.label.includes("colorbox")?"mpadded":"menclose",[$e(e.body,t)]);switch(e.label){case"\\cancel":r.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":r.setAttribute("notation","downdiagonalstrike");break;case"\\phase":r.setAttribute("notation","phasorangle");break;case"\\sout":r.setAttribute("notation","horizontalstrike");break;case"\\fbox":r.setAttribute("notation","box");break;case"\\angl":r.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(n=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,r.setAttribute("width","+"+2*n+"pt"),r.setAttribute("height","+"+2*n+"pt"),r.setAttribute("lspace",n+"pt"),r.setAttribute("voffset",n+"pt"),e.label==="\\fcolorbox"){var i=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);r.setAttribute("style","border: "+se(i)+" solid "+e.borderColor)}break;case"\\xcancel":r.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&r.setAttribute("mathbackground",e.backgroundColor),r};oe({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","hbox"]},handler(e,t,n){var{parser:r,funcName:i}=e,a=Se(t[0],"color-token").color,s=t[1];return{type:"enclose",mode:r.mode,label:i,backgroundColor:a,body:s}},htmlBuilder:Ql,mathmlBuilder:Zl});oe({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","hbox"]},handler(e,t,n){var{parser:r,funcName:i}=e,a=Se(t[0],"color-token").color,s=Se(t[1],"color-token").color,u=t[2];return{type:"enclose",mode:r.mode,label:i,backgroundColor:s,borderColor:a,body:u}},htmlBuilder:Ql,mathmlBuilder:Zl});oe({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]}}});oe({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\phase"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e,i=t[0];return{type:"enclose",mode:n.mode,label:r,body:i}},htmlBuilder:Ql,mathmlBuilder:Zl});oe({type:"enclose",names:["\\sout"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n,funcName:r}=e;n.mode==="math"&&n.settings.reportNonstrict("mathVsSout","LaTeX's \\sout works only in text mode");var i=t[0];return{type:"enclose",mode:n.mode,label:r,body:i}},htmlBuilder:Ql,mathmlBuilder:Zl});oe({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 lb={};function ar(e){for(var{type:t,names:n,props:r,handler:i,htmlBuilder:a,mathmlBuilder:s}=e,u={type:t,numArgs:r.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:i},o=0;o<n.length;++o)lb[n[o]]=u;a&&(ol[t]=a),s&&(ll[t]=s)}var cb={};function x(e,t){cb[e]=t}class Kt{constructor(t,n,r){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=t,this.start=n,this.end=r}static range(t,n){return n?!t||!t.loc||!n.loc||t.loc.lexer!==n.loc.lexer?null:new Kt(t.loc.lexer,t.loc.start,n.loc.end):t&&t.loc}}class hn{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 hn(n,Kt.range(this,t))}}function Fp(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 Jl=e=>{var t=e.parser.settings;if(!t.displayMode)throw new re("{"+e.envName+"} can be used only in display mode.")},$k=new Set(["gather","gather*"]);function C1(e){if(!e.includes("ed"))return!e.includes("*")}function yi(e,t,n){var{hskipBeforeAndAfter:r,addJot:i,cols:a,arraystretch:s,colSeparationType:u,autoTag:o,singleRow:l,emptySingleRow:d,maxNumCols:c,leqno:h}=t;if(e.gullet.beginGroup(),l||e.gullet.macros.set("\\cr","\\\\\\relax"),!s){var m=e.gullet.expandMacroAsText("\\arraystretch");if(m==null)s=1;else if(s=parseFloat(m),!s||s<0)throw new re("Invalid \\arraystretch: "+m)}e.gullet.beginGroup();var E=[],v=[E],A=[],b=[],y=o!=null?[]:void 0;function T(){o&&e.gullet.macros.set("\\@eqnsw","1",!0)}function D(){y&&(e.gullet.macros.get("\\df@tag")?(y.push(e.subparse([new hn("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):y.push(!!o&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(T(),b.push(Fp(e));;){var F=e.parseExpression(!1,l?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup();var C={type:"ordgroup",mode:e.mode,body:F};n&&(C={type:"styling",mode:e.mode,style:n,resetFont:!0,body:[C]}),E.push(C);var B=e.fetch().text;if(B==="&"){if(c&&E.length===c){if(l||u)throw new re("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(B==="\\end"){D(),E.length===1&&C.type==="styling"&&C.body.length===1&&C.body[0].type==="ordgroup"&&C.body[0].body.length===0&&(v.length>1||!d)&&v.pop(),b.length<v.length+1&&b.push([]);break}else if(B==="\\\\"){e.consume();var H=void 0;e.gullet.future().text!==" "&&(H=e.parseSizeGroup(!0)),A.push(H?H.value:null),D(),b.push(Fp(e)),E=[],v.push(E),T()}else throw new re("Expected & or \\\\ or \\cr or \\end",e.nextToken)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:i,arraystretch:s,body:v,cols:a,rowGaps:A,hskipBeforeAndAfter:r,hLinesBeforeRow:b,colSeparationType:u,tags:y,leqno:h}}function N1(e){return e.slice(0,1)==="d"?"display":"text"}var sr=function(t,n){var r,i,a=t.body.length,s=t.hLinesBeforeRow,u=0,o=new Array(a),l=[],d=Math.max(n.fontMetrics().arrayRuleWidth,n.minRuleThickness),c=1/n.fontMetrics().ptPerEm,h=5*c;if(t.colSeparationType&&t.colSeparationType==="small"){var m=n.havingStyle(Te.SCRIPT).sizeMultiplier;h=.2778*(m/n.sizeMultiplier)}var E=t.colSeparationType==="CD"?et({number:3,unit:"ex"},n):12*c,v=3*c,A=t.arraystretch*E,b=.7*A,y=.3*A,T=0;function D(ae){for(var ce=0;ce<ae.length;++ce)ce>0&&(T+=.25),l.push({pos:T,isDashed:ae[ce]})}for(D(s[0]),r=0;r<t.body.length;++r){var F=t.body[r],C=b,B=y;u<F.length&&(u=F.length);var H={cells:new Array(F.length),height:0,depth:0,pos:0};for(i=0;i<F.length;++i){var W=Le(F[i],n);B<W.depth&&(B=W.depth),C<W.height&&(C=W.height),H.cells[i]=W}var M=t.rowGaps[r],Z=0;M&&(Z=et(M,n),Z>0&&(Z+=y,B<Z&&(B=Z),Z=0)),t.addJot&&r<t.body.length-1&&(B+=v),H.height=C,H.depth=B,T+=C,H.pos=T,T+=B+Z,o[r]=H,D(s[r+1])}var V=T/2+n.fontMetrics().axisHeight,be=t.cols||[],he=[],le,q,ee=[];if(t.tags&&t.tags.some(ae=>ae))for(r=0;r<a;++r){var U=o[r],j=U.pos-V,S=t.tags[r],ue=void 0;S===!0?ue=Q(["eqn-num"],[],n):S===!1?ue=Q([],[],n):ue=Q([],bt(S,n,!0),n),ue.depth=U.depth,ue.height=U.height,ee.push({type:"elem",elem:ue,shift:j})}for(i=0,q=0;i<u||q<be.length;++i,++q){for(var ge,R=be[q],ke=!0;((Be=R)==null?void 0:Be.type)==="separator";){var Be;if(ke||(le=Q(["arraycolsep"],[]),le.style.width=se(n.fontMetrics().doubleRuleSep),he.push(le)),R.separator==="|"||R.separator===":"){var Ie=R.separator==="|"?"solid":"dashed",rt=Q(["vertical-separator"],[],n);rt.style.height=se(T),rt.style.borderRightWidth=se(d),rt.style.borderRightStyle=Ie,rt.style.margin="0 "+se(-d/2);var Tt=T-V;Tt&&(rt.style.verticalAlign=se(-Tt)),he.push(rt)}else throw new re("Invalid separator type: "+R.separator);q++,R=be[q],ke=!1}if(!(i>=u)){var xt=void 0;if(i>0||t.hskipBeforeAndAfter){var nn,On;xt=(nn=(On=R)==null?void 0:On.pregap)!=null?nn:h,xt!==0&&(le=Q(["arraycolsep"],[]),le.style.width=se(xt),he.push(le))}var Dr=[];for(r=0;r<a;++r){var rn=o[r],Rn=rn.cells[i];if(Rn){var At=rn.pos-V;Rn.depth=rn.depth,Rn.height=rn.height,Dr.push({type:"elem",elem:Rn,shift:At})}}var Oe=Me({positionType:"individualShift",children:Dr}),an=Q(["col-align-"+(((ge=R)==null?void 0:ge.align)||"c")],[Oe]);if(he.push(an),i<u-1||t.hskipBeforeAndAfter){var Ee,Yn;xt=(Ee=(Yn=R)==null?void 0:Yn.postgap)!=null?Ee:h,xt!==0&&(le=Q(["arraycolsep"],[]),le.style.width=se(xt),he.push(le))}}}var Ge=Q(["mtable"],he);if(l.length>0){for(var Fe=Fa("hline",n,d),Ir=Fa("hdashline",n,d),sn=[{type:"elem",elem:Ge,shift:0}];l.length>0;){var Or=l.pop(),Rr=Or.pos-V;Or.isDashed?sn.push({type:"elem",elem:Ir,shift:Rr}):sn.push({type:"elem",elem:Fe,shift:Rr})}Ge=Me({positionType:"individualShift",children:sn})}if(ee.length===0)return Q(["mord"],[Ge],n);var P=Me({positionType:"individualShift",children:ee}),$=Q(["tag"],[P],n);return Nr([Ge,$])},qk={c:"center ",l:"left ",r:"right "},ur=function(t,n){for(var r=[],i=new ie("mtd",[],["mtr-glue"]),a=new ie("mtd",[],["mml-eqn-num"]),s=0;s<t.body.length;s++){for(var u=t.body[s],o=[],l=0;l<u.length;l++)o.push(new ie("mtd",[$e(u[l],n)]));t.tags&&t.tags[s]&&(o.unshift(i),o.push(i),t.leqno?o.unshift(a):o.push(a)),r.push(new ie("mtr",o))}var d=new ie("mtable",r),c=t.arraystretch===.5?.1:.16+t.arraystretch-1+(t.addJot?.09:0);d.setAttribute("rowspacing",se(c));var h="",m="";if(t.cols&&t.cols.length>0){var E=t.cols,v="",A=!1,b=0,y=E.length;E[0].type==="separator"&&(h+="top ",b=1),E[E.length-1].type==="separator"&&(h+="bottom ",y-=1);for(var T=b;T<y;T++){var D=E[T];D.type==="align"?(m+=qk[D.align],A&&(v+="none "),A=!0):D.type==="separator"&&A&&(v+=D.separator==="|"?"solid ":"dashed ",A=!1)}d.setAttribute("columnalign",m.trim()),/[sd]/.test(v)&&d.setAttribute("columnlines",v.trim())}if(t.colSeparationType==="align"){for(var F=t.cols||[],C="",B=1;B<F.length;B++)C+=B%2?"0em ":"1em ";d.setAttribute("columnspacing",C.trim())}else t.colSeparationType==="alignat"||t.colSeparationType==="gather"?d.setAttribute("columnspacing","0em"):t.colSeparationType==="small"?d.setAttribute("columnspacing","0.2778em"):t.colSeparationType==="CD"?d.setAttribute("columnspacing","0.5em"):d.setAttribute("columnspacing","1em");var H="",W=t.hLinesBeforeRow;h+=W[0].length>0?"left ":"",h+=W[W.length-1].length>0?"right ":"";for(var M=1;M<W.length-1;M++)H+=W[M].length===0?"none ":W[M][0]?"dashed ":"solid ";return/[sd]/.test(H)&&d.setAttribute("rowlines",H.trim()),h!==""&&(d=new ie("menclose",[d]),d.setAttribute("notation",h.trim())),t.arraystretch&&t.arraystretch<1&&(d=new ie("mstyle",[d]),d.setAttribute("scriptlevel","1")),d},db=function(t,n){t.envName.includes("ed")||Jl(t);var r=[],i=t.envName.includes("at")?"alignat":"align",a=t.envName==="split",s=yi(t.parser,{cols:r,addJot:!0,autoTag:a?void 0:C1(t.envName),emptySingleRow:!0,colSeparationType:i,maxNumCols:a?2:void 0,leqno:t.parser.settings.leqno},"display"),u=0,o=0,l={type:"ordgroup",mode:t.mode,body:[]};if(n[0]&&n[0].type==="ordgroup"){for(var d="",c=0;c<n[0].body.length;c++){var h=Se(n[0].body[c],"textord");d+=h.text}u=Number(d),o=u*2}var m=!o;s.body.forEach(function(b){for(var y=1;y<b.length;y+=2){var T=Se(b[y],"styling"),D=Se(T.body[0],"ordgroup");D.body.unshift(l)}if(m)o<b.length&&(o=b.length);else{var F=b.length/2;if(u<F)throw new re("Too many math in a row: "+("expected "+u+", but got "+F),b[0])}});for(var E=0;E<o;++E){var v="r",A=0;E%2===1?v="l":E>0&&m&&(A=1),r[E]={type:"align",align:v,pregap:A,postgap:0}}return s.colSeparationType=m?"align":"alignat",s};ar({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var n=jl(t[0]),r=n?[t[0]]:Se(t[0],"ordgroup").body,i=r.map(function(s){var u=Vl(s),o=u.text;if("lcr".includes(o))return{type:"align",align:o};if(o==="|")return{type:"separator",separator:"|"};if(o===":")return{type:"separator",separator:":"};throw new re("Unknown column alignment: "+o,s)}),a={cols:i,hskipBeforeAndAfter:!0,maxNumCols:i.length};return yi(e.parser,a,N1(e.envName))},htmlBuilder:sr,mathmlBuilder:ur});ar({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],n="c",r={hskipBeforeAndAfter:!1,cols:[{type:"align",align:n}]};if(e.envName.charAt(e.envName.length-1)==="*"){var i=e.parser;if(i.consumeSpaces(),i.fetch().text==="["){if(i.consume(),i.consumeSpaces(),n=i.fetch().text,!"lcr".includes(n))throw new re("Expected l or c or r",i.nextToken);i.consume(),i.consumeSpaces(),i.expect("]"),i.consume(),r.cols=[{type:"align",align:n}]}}var a=yi(e.parser,r,N1(e.envName)),s=Math.max(0,...a.body.map(u=>u.length));return a.cols=new Array(s).fill({type:"align",align:n}),t?{type:"leftright",mode:e.mode,body:[a],left:t[0],right:t[1],rightColor:void 0}:a},htmlBuilder:sr,mathmlBuilder:ur});ar({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},n=yi(e.parser,t,"script");return n.colSeparationType="small",n},htmlBuilder:sr,mathmlBuilder:ur});ar({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var n=jl(t[0]),r=n?[t[0]]:Se(t[0],"ordgroup").body,i=r.map(function(u){var o=Vl(u),l=o.text;if("lc".includes(l))return{type:"align",align:l};throw new re("Unknown column alignment: "+l,u)});if(i.length>1)throw new re("{subarray} can contain only one column");var a={cols:i,hskipBeforeAndAfter:!1,arraystretch:.5},s=yi(e.parser,a,"script");if(s.body.length>0&&s.body[0].length>1)throw new re("{subarray} can contain only one column");return s},htmlBuilder:sr,mathmlBuilder:ur});ar({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=yi(e.parser,t,N1(e.envName));return{type:"leftright",mode:e.mode,body:[n],left:e.envName.includes("r")?".":"\\{",right:e.envName.includes("r")?"\\}":".",rightColor:void 0}},htmlBuilder:sr,mathmlBuilder:ur});ar({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:db,htmlBuilder:sr,mathmlBuilder:ur});ar({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){$k.has(e.envName)&&Jl(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:C1(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return yi(e.parser,t,"display")},htmlBuilder:sr,mathmlBuilder:ur});ar({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:db,htmlBuilder:sr,mathmlBuilder:ur});ar({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){Jl(e);var t={autoTag:C1(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return yi(e.parser,t,"display")},htmlBuilder:sr,mathmlBuilder:ur});ar({type:"array",names:["CD"],props:{numArgs:0},handler(e){return Jl(e),Dk(e.parser)},htmlBuilder:sr,mathmlBuilder:ur});x("\\nonumber","\\gdef\\@eqnsw{0}");x("\\notag","\\nonumber");oe({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new re(e.funcName+" valid only within array environment")}});var Pp=lb;oe({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:n,funcName:r}=e,i=t[0];if(i.type!=="ordgroup")throw new re("Invalid environment name",i);for(var a="",s=0;s<i.body.length;++s)a+=Se(i.body[s],"textord").text;if(r==="\\begin"){if(!Pp.hasOwnProperty(a))throw new re("No such environment: "+a,i);var u=Pp[a],{args:o,optArgs:l}=n.parseArguments("\\begin{"+a+"}",u),d={mode:n.mode,envName:a,parser:n},c=u.handler(d,o,l);n.expect("\\end",!1);var h=n.nextToken,m=Se(n.parseFunction(),"environment");if(m.name!==a)throw new re("Mismatch: \\begin{"+a+"} matched by \\end{"+m.name+"}",h);return c}return{type:"environment",mode:n.mode,name:a,nameGroup:i}}});var fb=(e,t)=>{var n=e.font,r=t.withFont(n);return Le(e.body,r)},hb=(e,t)=>{var n=e.font,r=t.withFont(n);return $e(e.body,r)},Bp={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak"};oe({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:r}=e,i=cl(t[0]),a=r;return a in Bp&&(a=Bp[a]),{type:"font",mode:n.mode,font:a.slice(1),body:i}},htmlBuilder:fb,mathmlBuilder:hb});oe({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"mclass",mode:n.mode,mclass:Kl(r),body:[{type:"font",mode:n.mode,font:"boldsymbol",body:r}],isCharacterBox:kr(r)}}});oe({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:r,breakOnTokenText:i}=e,{mode:a}=n,s=n.parseExpression(!0,i);return{type:"font",mode:a,font:"math"+r.slice(1),body:{type:"ordgroup",mode:n.mode,body:s}}},htmlBuilder:fb,mathmlBuilder:hb});var Gk=(e,t)=>{var n=t.style,r=n.fracNum(),i=n.fracDen(),a;a=t.havingStyle(r);var s=Le(e.numer,a,t);if(e.continued){var u=8.5/t.fontMetrics().ptPerEm,o=3.5/t.fontMetrics().ptPerEm;s.height=s.height<u?u:s.height,s.depth=s.depth<o?o:s.depth}a=t.havingStyle(i);var l=Le(e.denom,a,t),d,c,h;e.hasBarLine?(e.barSize?(c=et(e.barSize,t),d=Fa("frac-line",t,c)):d=Fa("frac-line",t),c=d.height,h=d.height):(d=null,c=0,h=t.fontMetrics().defaultRuleThickness);var m,E,v;n.size===Te.DISPLAY.size?(m=t.fontMetrics().num1,c>0?E=3*h:E=7*h,v=t.fontMetrics().denom1):(c>0?(m=t.fontMetrics().num2,E=h):(m=t.fontMetrics().num3,E=3*h),v=t.fontMetrics().denom2);var A;if(d){var y=t.fontMetrics().axisHeight;m-s.depth-(y+.5*c)<E&&(m+=E-(m-s.depth-(y+.5*c))),y-.5*c-(l.height-v)<E&&(v+=E-(y-.5*c-(l.height-v)));var T=-(y-.5*c);A=Me({positionType:"individualShift",children:[{type:"elem",elem:l,shift:v},{type:"elem",elem:d,shift:T},{type:"elem",elem:s,shift:-m}]})}else{var b=m-s.depth-(l.height-v);b<E&&(m+=.5*(E-b),v+=.5*(E-b)),A=Me({positionType:"individualShift",children:[{type:"elem",elem:l,shift:v},{type:"elem",elem:s,shift:-m}]})}a=t.havingStyle(n),A.height*=a.sizeMultiplier/t.sizeMultiplier,A.depth*=a.sizeMultiplier/t.sizeMultiplier;var D;n.size===Te.DISPLAY.size?D=t.fontMetrics().delim1:n.size===Te.SCRIPTSCRIPT.size?D=t.havingStyle(Te.SCRIPT).fontMetrics().delim2:D=t.fontMetrics().delim2;var F,C;return e.leftDelim==null?F=ou(t,["mopen"]):F=Gd(e.leftDelim,D,!0,t.havingStyle(n),e.mode,["mopen"]),e.continued?C=Q([]):e.rightDelim==null?C=ou(t,["mclose"]):C=Gd(e.rightDelim,D,!0,t.havingStyle(n),e.mode,["mclose"]),Q(["mord"].concat(a.sizingClasses(t)),[F,Q(["mfrac"],[A]),C],t)},Yk=(e,t)=>{var n=new ie("mfrac",[$e(e.numer,t),$e(e.denom,t)]);if(!e.hasBarLine)n.setAttribute("linethickness","0px");else if(e.barSize){var r=et(e.barSize,t);n.setAttribute("linethickness",se(r))}if(e.leftDelim!=null||e.rightDelim!=null){var i=[];if(e.leftDelim!=null){var a=new ie("mo",[new ft(e.leftDelim.replace("\\",""))]);a.setAttribute("fence","true"),i.push(a)}if(i.push(n),e.rightDelim!=null){var s=new ie("mo",[new ft(e.rightDelim.replace("\\",""))]);s.setAttribute("fence","true"),i.push(s)}return A1(i)}return n},mb=(e,t)=>{if(!t)return e;var n={type:"styling",mode:e.mode,style:t,body:[e]};return n};oe({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0],a=t[1],s,u=null,o=null;switch(r){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":s=!0;break;case"\\\\atopfrac":s=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":s=!1,u="(",o=")";break;case"\\\\bracefrac":s=!1,u="\\{",o="\\}";break;case"\\\\brackfrac":s=!1,u="[",o="]";break;default:throw new Error("Unrecognized genfrac command")}var l=r==="\\cfrac",d=null;return l||r.startsWith("\\d")?d="display":r.startsWith("\\t")&&(d="text"),mb({type:"genfrac",mode:n.mode,numer:i,denom:a,continued:l,hasBarLine:s,leftDelim:u,rightDelim:o,barSize:null},d)},htmlBuilder:Gk,mathmlBuilder:Yk});oe({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var{parser:t,funcName:n,token:r}=e,i;switch(n){case"\\over":i="\\frac";break;case"\\choose":i="\\binom";break;case"\\atop":i="\\\\atopfrac";break;case"\\brace":i="\\\\bracefrac";break;case"\\brack":i="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:t.mode,replaceWith:i,token:r}}});var zp=["display","text","script","scriptscript"],Up=function(t){var n=null;return t.length>0&&(n=t,n=n==="."?null:n),n};oe({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var{parser:n}=e,r=t[4],i=t[5],a=cl(t[0]),s=a.type==="atom"&&a.family==="open"?Up(a.text):null,u=cl(t[1]),o=u.type==="atom"&&u.family==="close"?Up(u.text):null,l=Se(t[2],"size"),d,c=null;l.isBlank?d=!0:(c=l.value,d=c.number>0);var h=null,m=t[3];if(m.type==="ordgroup"){if(m.body.length>0){var E=Se(m.body[0],"textord");h=zp[Number(E.text)]}}else m=Se(m,"textord"),h=zp[Number(m.text)];return mb({type:"genfrac",mode:n.mode,numer:r,denom:i,continued:!1,hasBarLine:d,barSize:c,leftDelim:s,rightDelim:o},h)}});oe({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:n,funcName:r,token:i}=e;return{type:"infix",mode:n.mode,replaceWith:"\\\\abovefrac",size:Se(t[0],"size").value,token:i}}});oe({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0],a=Se(t[1],"infix").size;if(!a)throw new Error("\\\\abovefrac expected size, but got "+String(a));var s=t[2],u=a.number>0;return{type:"genfrac",mode:n.mode,numer:i,denom:s,continued:!1,hasBarLine:u,barSize:a,leftDelim:null,rightDelim:null}}});var pb=(e,t)=>{var n=t.style,r,i;e.type==="supsub"?(r=e.sup?Le(e.sup,t.havingStyle(n.sup()),t):Le(e.sub,t.havingStyle(n.sub()),t),i=Se(e.base,"horizBrace")):i=Se(e,"horizBrace");var a=Le(i.base,t.havingBaseStyle(Te.DISPLAY)),s=Wl(i,t),u;if(i.isOver?u=Me({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:s,wrapperClasses:["svg-align"]}]}):u=Me({positionType:"bottom",positionData:a.depth+.1+s.height,children:[{type:"elem",elem:s,wrapperClasses:["svg-align"]},{type:"kern",size:.1},{type:"elem",elem:a}]}),r){var o=Q(["minner",i.isOver?"mover":"munder"],[u],t);i.isOver?u=Me({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:.2},{type:"elem",elem:r}]}):u=Me({positionType:"bottom",positionData:o.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:o}]})}return Q(["minner",i.isOver?"mover":"munder"],[u],t)},Wk=(e,t)=>{var n=Yl(e.label);return new ie(e.isOver?"mover":"munder",[$e(e.base,t),n])};oe({type:"horizBrace",names:["\\overbrace","\\underbrace","\\overbracket","\\underbracket"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e;return{type:"horizBrace",mode:n.mode,label:r,isOver:r.includes("\\over"),base:t[0]}},htmlBuilder:pb,mathmlBuilder:Wk});oe({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[1],i=Se(t[0],"url").url;return n.settings.isTrusted({command:"\\href",url:i})?{type:"href",mode:n.mode,href:i,body:dt(r)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var n=bt(e.body,t,!1);return ak(e.href,[],n,t)},mathmlBuilder:(e,t)=>{var n=hi(e.body,t);return n instanceof ie||(n=new ie("mrow",[n])),n.setAttribute("href",e.href),n}});oe({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=Se(t[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:r}))return n.formatUnsupportedCmd("\\url");for(var i=[],a=0;a<r.length;a++){var s=r[a];s==="~"&&(s="\\textasciitilde"),i.push({type:"textord",mode:"text",text:s})}var u={type:"text",mode:n.mode,font:"\\texttt",body:i};return{type:"href",mode:n.mode,href:r,body:dt(u)}}});oe({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:dt(t[0])}},htmlBuilder(e,t){var n=bt(e.body,t.withFont(""),!1);return Nr(n)},mathmlBuilder(e,t){return new ie("mrow",yn(e.body,t.withFont("")))}});oe({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:r,token:i}=e,a=Se(t[0],"raw").string,s=t[1];n.settings.strict&&n.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var u,o={};switch(r){case"\\htmlClass":o.class=a,u={command:"\\htmlClass",class:a};break;case"\\htmlId":o.id=a,u={command:"\\htmlId",id:a};break;case"\\htmlStyle":o.style=a,u={command:"\\htmlStyle",style:a};break;case"\\htmlData":{for(var l=a.split(","),d=0;d<l.length;d++){var c=l[d],h=c.indexOf("=");if(h<0)throw new re("\\htmlData key/value '"+c+"' missing equals sign");var m=c.slice(0,h),E=c.slice(h+1);o["data-"+m.trim()]=E}u={command:"\\htmlData",attributes:o};break}default:throw new Error("Unrecognized html command")}return n.settings.isTrusted(u)?{type:"html",mode:n.mode,attributes:o,body:dt(s)}:n.formatUnsupportedCmd(r)},htmlBuilder:(e,t)=>{var n=bt(e.body,t,!1),r=["enclosing"];e.attributes.class&&r.push(...e.attributes.class.trim().split(/\s+/));var i=Q(r,n,t);for(var a in e.attributes)a!=="class"&&e.attributes.hasOwnProperty(a)&&i.setAttribute(a,e.attributes[a]);return i},mathmlBuilder:(e,t)=>hi(e.body,t)});oe({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInArgument:!0,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e;return{type:"htmlmathml",mode:n.mode,html:dt(t[0]),mathml:dt(t[1])}},htmlBuilder:(e,t)=>{var n=bt(e.html,t,!1);return Nr(n)},mathmlBuilder:(e,t)=>hi(e.mathml,t)});var cc=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 re("Invalid size: '"+t+"' in \\includegraphics");var r={number:+(n[1]+n[2]),unit:n[3]};if(!O6(r))throw new re("Invalid unit: '"+r.unit+"' in \\includegraphics.");return r};oe({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,n)=>{var{parser:r}=e,i={number:0,unit:"em"},a={number:.9,unit:"em"},s={number:0,unit:"em"},u="";if(n[0])for(var o=Se(n[0],"raw").string,l=o.split(","),d=0;d<l.length;d++){var c=l[d].split("=");if(c.length===2){var h=c[1].trim();switch(c[0].trim()){case"alt":u=h;break;case"width":i=cc(h);break;case"height":a=cc(h);break;case"totalheight":s=cc(h);break;default:throw new re("Invalid key: '"+c[0]+"' in \\includegraphics.")}}}var m=Se(t[0],"url").url;return u===""&&(u=m,u=u.replace(/^.*[\\/]/,""),u=u.substring(0,u.lastIndexOf("."))),r.settings.isTrusted({command:"\\includegraphics",url:m})?{type:"includegraphics",mode:r.mode,alt:u,width:i,height:a,totalheight:s,src:m}:r.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var n=et(e.height,t),r=0;e.totalheight.number>0&&(r=et(e.totalheight,t)-n);var i=0;e.width.number>0&&(i=et(e.width,t));var a={height:se(n+r)};i>0&&(a.width=se(i)),r>0&&(a.verticalAlign=se(-r));var s=new VS(e.src,e.alt,a);return s.height=n,s.depth=r,s},mathmlBuilder:(e,t)=>{var n=new ie("mglyph",[]);n.setAttribute("alt",e.alt);var r=et(e.height,t),i=0;if(e.totalheight.number>0&&(i=et(e.totalheight,t)-r,n.setAttribute("valign",se(-i))),n.setAttribute("height",se(r+i)),e.width.number>0){var a=et(e.width,t);n.setAttribute("width",se(a))}return n.setAttribute("src",e.src),n}});oe({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:n,funcName:r}=e,i=Se(t[0],"size");if(n.settings.strict){var a=r[1]==="m",s=i.value.unit==="mu";a?(s||n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" supports only mu units, "+("not "+i.value.unit+" units")),n.mode!=="math"&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" works only in math mode")):s&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" doesn't support mu units")}return{type:"kern",mode:n.mode,dimension:i.value}},htmlBuilder(e,t){return B6(e.dimension,t)},mathmlBuilder(e,t){var n=et(e.dimension,t);return new G6(n)}});oe({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0];return{type:"lap",mode:n.mode,alignment:r.slice(5),body:i}},htmlBuilder:(e,t)=>{var n;e.alignment==="clap"?(n=Q([],[Le(e.body,t)]),n=Q(["inner"],[n],t)):n=Q(["inner"],[Le(e.body,t)]);var r=Q(["fix"],[]),i=Q([e.alignment],[n,r],t),a=Q(["strut"]);return a.style.height=se(i.height+i.depth),i.depth&&(a.style.verticalAlign=se(-i.depth)),i.children.unshift(a),i=Q(["thinbox"],[i],t),Q(["mord","vbox"],[i],t)},mathmlBuilder:(e,t)=>{var n=new ie("mpadded",[$e(e.body,t)]);if(e.alignment!=="rlap"){var r=e.alignment==="llap"?"-1":"-0.5";n.setAttribute("lspace",r+"width")}return n.setAttribute("width","0px"),n}});oe({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:n,parser:r}=e,i=r.mode;r.switchMode("math");var a=n==="\\("?"\\)":"$",s=r.parseExpression(!1,a);return r.expect(a),r.switchMode(i),{type:"styling",mode:r.mode,style:"text",resetFont:!0,body:s}}});oe({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new re("Mismatched "+e.funcName)}});var Hp=(e,t)=>{switch(t.style.size){case Te.DISPLAY.size:return e.display;case Te.TEXT.size:return e.text;case Te.SCRIPT.size:return e.script;case Te.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};oe({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:n}=e;return{type:"mathchoice",mode:n.mode,display:dt(t[0]),text:dt(t[1]),script:dt(t[2]),scriptscript:dt(t[3])}},htmlBuilder:(e,t)=>{var n=Hp(e,t),r=bt(n,t,!1);return Nr(r)},mathmlBuilder:(e,t)=>{var n=Hp(e,t);return hi(n,t)}});var gb=(e,t,n,r,i,a,s)=>{e=Q([],[e]);var u=n&&kr(n),o,l;if(t){var d=Le(t,r.havingStyle(i.sup()),r);l={elem:d,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-d.depth)}}if(n){var c=Le(n,r.havingStyle(i.sub()),r);o={elem:c,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-c.height)}}var h;if(l&&o){var m=r.fontMetrics().bigOpSpacing5+o.elem.height+o.elem.depth+o.kern+e.depth+s;h=Me({positionType:"bottom",positionData:m,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:o.elem,marginLeft:se(-a)},{type:"kern",size:o.kern},{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:se(a)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]})}else if(o){var E=e.height-s;h=Me({positionType:"top",positionData:E,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:o.elem,marginLeft:se(-a)},{type:"kern",size:o.kern},{type:"elem",elem:e}]})}else if(l){var v=e.depth+s;h=Me({positionType:"bottom",positionData:v,children:[{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:se(a)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]})}else return e;var A=[h];if(o&&a!==0&&!u){var b=Q(["mspace"],[],r);b.style.marginRight=se(a),A.unshift(b)}return Q(["mop","op-limits"],A,r)},bb=new Set(["\\smallint"]),Ka=(e,t)=>{var n,r,i=!1,a;e.type==="supsub"?(n=e.sup,r=e.sub,a=Se(e.base,"op"),i=!0):a=Se(e,"op");var s=t.style,u=!1;s.size===Te.DISPLAY.size&&a.symbol&&!bb.has(a.name)&&(u=!0);var o,l;if(a.symbol){var d=u?"Size2-Regular":"Size1-Regular",c="";if((a.name==="\\oiint"||a.name==="\\oiiint")&&(c=a.name.slice(1),a.name=c==="oiint"?"\\iint":"\\iiint"),o=zt(a.name,d,"math",t,["mop","op-symbol",u?"large-op":"small-op"]),l=o.italic,c.length>0){var h=U6(c+"Size"+(u?"2":"1"),t);o=Me({positionType:"individualShift",children:[{type:"elem",elem:o,shift:0},{type:"elem",elem:h,shift:u?.08:0}]}),a.name="\\"+c,o.classes.unshift("mop"),o.italic=l}}else if(a.body){var m=bt(a.body,t,!0);m.length===1&&m[0]instanceof pn?(o=m[0],o.classes[0]="mop"):o=Q(["mop"],m,t)}else{for(var E=[],v=1;v<a.name.length;v++)E.push(T1(a.name[v],a.mode,t));o=Q(["mop"],E,t)}var A=0,b=0;if((o instanceof pn||a.name==="\\oiint"||a.name==="\\oiiint")&&!a.suppressBaseShift){var y;A=(o.height-o.depth)/2-t.fontMetrics().axisHeight,b=(y=o.italic)!=null?y:0}return i?gb(o,n,r,t,s,b,A):(A&&(o.style.position="relative",o.style.top=se(A)),o)},Au=(e,t)=>{var n;if(e.symbol)n=new ie("mo",[In(e.name,e.mode)]),bb.has(e.name)&&n.setAttribute("largeop","false");else if(e.body)n=new ie("mo",yn(e.body,t));else{n=new ie("mi",[new ft(e.name.slice(1))]);var r=new ie("mo",[In("","text")]);e.parentIsSupSub?n=new ie("mrow",[n,r]):n=q6([n,r])}return n},Vk={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};oe({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:r}=e,i=r;return i.length===1&&(i=Vk[i]),{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:Ka,mathmlBuilder:Au});oe({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:dt(r)}},htmlBuilder:Ka,mathmlBuilder:Au});var jk={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};oe({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:Ka,mathmlBuilder:Au});oe({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:Ka,mathmlBuilder:Au});oe({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0,allowedInArgument:!0},handler(e){var{parser:t,funcName:n}=e,r=n;return r.length===1&&(r=jk[r]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:Ka,mathmlBuilder:Au});var Eb=(e,t)=>{var n,r,i=!1,a;e.type==="supsub"?(n=e.sup,r=e.sub,a=Se(e.base,"operatorname"),i=!0):a=Se(e,"operatorname");var s;if(a.body.length>0){for(var u=a.body.map(c=>{var h="text"in c?c.text:void 0;return typeof h=="string"?{type:"textord",mode:c.mode,text:h}:c}),o=bt(u,t.withFont("mathrm"),!0),l=0;l<o.length;l++){var d=o[l];d instanceof pn&&(d.text=d.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}s=Q(["mop"],o,t)}else s=Q(["mop"],[],t);return i?gb(s,n,r,t,t.style,0,0):s},Kk=(e,t)=>{for(var n=yn(e.body,t.withFont("mathrm")),r=!0,i=0;i<n.length;i++){var a=n[i];if(!(a instanceof G6))if(a instanceof ie)switch(a.type){case"mi":case"mn":case"mspace":case"mtext":break;case"mo":{var s=a.children[0];a.children.length===1&&s instanceof ft?s.text=s.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):r=!1;break}default:r=!1}else r=!1}if(r){var u=n.map(d=>d.toText()).join("");n=[new ft(u)]}var o=new ie("mi",n);o.setAttribute("mathvariant","normal");var l=new ie("mo",[In("","text")]);return e.parentIsSupSub?new ie("mrow",[o,l]):q6([o,l])};oe({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0];return{type:"operatorname",mode:n.mode,body:dt(i),alwaysHandleSupSub:r==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:Eb,mathmlBuilder:Kk});x("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");Xi({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?Nr(bt(e.body,t,!1)):Q(["mord"],bt(e.body,t,!0),t)},mathmlBuilder(e,t){return hi(e.body,t,!0)}});oe({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:n}=e,r=t[0];return{type:"overline",mode:n.mode,body:r}},htmlBuilder(e,t){var n=Le(e.body,t.havingCrampedStyle()),r=Fa("overline-line",t),i=t.fontMetrics().defaultRuleThickness,a=Me({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:3*i},{type:"elem",elem:r},{type:"kern",size:i}]});return Q(["mord","overline"],[a],t)},mathmlBuilder(e,t){var n=new ie("mo",[new ft("‾")]);n.setAttribute("stretchy","true");var r=new ie("mover",[$e(e.body,t),n]);return r.setAttribute("accent","true"),r}});oe({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"phantom",mode:n.mode,body:dt(r)}},htmlBuilder:(e,t)=>{var n=bt(e.body,t.withPhantom(),!1);return Nr(n)},mathmlBuilder:(e,t)=>{var n=yn(e.body,t);return new ie("mphantom",n)}});x("\\hphantom","\\smash{\\phantom{#1}}");oe({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"vphantom",mode:n.mode,body:r}},htmlBuilder:(e,t)=>{var n=Q(["inner"],[Le(e.body,t.withPhantom())]),r=Q(["fix"],[]);return Q(["mord","rlap"],[n,r],t)},mathmlBuilder:(e,t)=>{var n=yn(dt(e.body),t),r=new ie("mphantom",n),i=new ie("mpadded",[r]);return i.setAttribute("width","0px"),i}});oe({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:n}=e,r=Se(t[0],"size").value,i=t[1];return{type:"raisebox",mode:n.mode,dy:r,body:i}},htmlBuilder(e,t){var n=Le(e.body,t),r=et(e.dy,t);return Me({positionType:"shift",positionData:-r,children:[{type:"elem",elem:n}]})},mathmlBuilder(e,t){var n=new ie("mpadded",[$e(e.body,t)]),r=e.dy.number+e.dy.unit;return n.setAttribute("voffset",r),n}});oe({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}});oe({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(e,t,n){var{parser:r}=e,i=n[0],a=Se(t[0],"size"),s=Se(t[1],"size");return{type:"rule",mode:r.mode,shift:i&&Se(i,"size").value,width:a.value,height:s.value}},htmlBuilder(e,t){var n=Q(["mord","rule"],[],t),r=et(e.width,t),i=et(e.height,t),a=e.shift?et(e.shift,t):0;return n.style.borderRightWidth=se(r),n.style.borderTopWidth=se(i),n.style.bottom=se(a),n.width=r,n.height=i+a,n.depth=-a,n.maxFontSize=i*1.125*t.sizeMultiplier,n},mathmlBuilder(e,t){var n=et(e.width,t),r=et(e.height,t),i=e.shift?et(e.shift,t):0,a=t.color&&t.getColor()||"black",s=new ie("mspace");s.setAttribute("mathbackground",a),s.setAttribute("width",se(n)),s.setAttribute("height",se(r));var u=new ie("mpadded",[s]);return i>=0?u.setAttribute("height",se(i)):(u.setAttribute("height",se(i)),u.setAttribute("depth",se(-i))),u.setAttribute("voffset",se(i)),u}});function yb(e,t,n){for(var r=bt(e,t,!1),i=t.sizeMultiplier/n.sizeMultiplier,a=0;a<r.length;a++){var s=r[a].classes.indexOf("sizing");s<0?Array.prototype.push.apply(r[a].classes,t.sizingClasses(n)):r[a].classes[s+1]==="reset-size"+t.size&&(r[a].classes[s+1]="reset-size"+n.size),r[a].height*=i,r[a].depth*=i}return Nr(r)}var $p=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],Xk=(e,t)=>{var n=t.havingSize(e.size);return yb(e.body,n,t)};oe({type:"sizing",names:$p,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:n,funcName:r,parser:i}=e,a=i.parseExpression(!1,n);return{type:"sizing",mode:i.mode,size:$p.indexOf(r)+1,body:a}},htmlBuilder:Xk,mathmlBuilder:(e,t)=>{var n=t.havingSize(e.size),r=yn(e.body,n),i=new ie("mstyle",r);return i.setAttribute("mathsize",se(n.sizeMultiplier)),i}});oe({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,n)=>{var{parser:r}=e,i=!1,a=!1,s=n[0]&&Se(n[0],"ordgroup");if(s)for(var u,o=0;o<s.body.length;++o){var l=s.body[o];if(u=Vl(l).text,u==="t")i=!0;else if(u==="b")a=!0;else{i=!1,a=!1;break}}else i=!0,a=!0;var d=t[0];return{type:"smash",mode:r.mode,body:d,smashHeight:i,smashDepth:a}},htmlBuilder:(e,t)=>{var n=Q([],[Le(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return n;if(e.smashHeight&&(n.height=0),e.smashDepth&&(n.depth=0),e.smashHeight&&e.smashDepth)return Q(["mord","smash"],[n],t);if(n.children)for(var r=0;r<n.children.length;r++)e.smashHeight&&(n.children[r].height=0),e.smashDepth&&(n.children[r].depth=0);var i=Me({positionType:"firstBaseline",children:[{type:"elem",elem:n}]});return Q(["mord"],[i],t)},mathmlBuilder:(e,t)=>{var n=new ie("mpadded",[$e(e.body,t)]);return e.smashHeight&&n.setAttribute("height","0px"),e.smashDepth&&n.setAttribute("depth","0px"),n}});oe({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){var{parser:r}=e,i=n[0],a=t[0];return{type:"sqrt",mode:r.mode,body:a,index:i}},htmlBuilder(e,t){var n=Le(e.body,t.havingCrampedStyle());n.height===0&&(n.height=t.fontMetrics().xHeight),n=Pa(n,t);var r=t.fontMetrics(),i=r.defaultRuleThickness,a=i;t.style.id<Te.TEXT.id&&(a=t.fontMetrics().xHeight);var s=i+a/4,u=n.height+n.depth+s+i,{span:o,ruleWidth:l,advanceWidth:d}=Fk(u,t),c=o.height-l;c>n.height+n.depth+s&&(s=(s+c-n.height-n.depth)/2);var h=o.height-n.height-s-l;n.style.paddingLeft=se(d);var m=Me({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+h)},{type:"elem",elem:o},{type:"kern",size:l}]});if(e.index){var E=t.havingStyle(Te.SCRIPTSCRIPT),v=Le(e.index,E,t),A=.6*(m.height-m.depth),b=Me({positionType:"shift",positionData:-A,children:[{type:"elem",elem:v}]}),y=Q(["root"],[b]);return Q(["mord","sqrt"],[y,m],t)}else return Q(["mord","sqrt"],[m],t)},mathmlBuilder(e,t){var{body:n,index:r}=e;return r?new ie("mroot",[$e(n,t),$e(r,t)]):new ie("msqrt",[$e(n,t)])}});var Yd={display:Te.DISPLAY,text:Te.TEXT,script:Te.SCRIPT,scriptscript:Te.SCRIPTSCRIPT};function Qk(e){return e in Yd}oe({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:n,funcName:r,parser:i}=e,a=i.parseExpression(!0,n),s=r.slice(1,r.length-5);if(!Qk(s))throw new Error("Unknown style: "+s);return{type:"styling",mode:i.mode,style:s,body:a}},htmlBuilder(e,t){var n=Yd[e.style],r=t.havingStyle(n);return e.resetFont&&(r=r.withFont("")),yb(e.body,r,t)},mathmlBuilder(e,t){var n=Yd[e.style],r=t.havingStyle(n);e.resetFont&&(r=r.withFont(""));var i=yn(e.body,r),a=new ie("mstyle",i),s={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},u=s[e.style];return a.setAttribute("scriptlevel",u[0]),a.setAttribute("displaystyle",u[1]),a}});var Zk=function(t,n){var r=t.base;if(r)if(r.type==="op"){var i=r.limits&&(n.style.size===Te.DISPLAY.size||r.alwaysHandleSupSub);return i?Ka:null}else if(r.type==="operatorname"){var a=r.alwaysHandleSupSub&&(n.style.size===Te.DISPLAY.size||r.limits);return a?Eb:null}else{if(r.type==="accent")return kr(r.base)?S1:null;if(r.type==="horizBrace"){var s=!t.sub;return s===r.isOver?pb:null}else return null}else return null};Xi({type:"supsub",htmlBuilder(e,t){var n=Zk(e,t);if(n)return n(e,t);var{base:r,sup:i,sub:a}=e,s=Le(r,t),u,o,l=t.fontMetrics(),d=0,c=0,h=r&&kr(r);if(i){var m=t.havingStyle(t.style.sup());u=Le(i,m,t),h||(d=s.height-m.fontMetrics().supDrop*m.sizeMultiplier/t.sizeMultiplier)}if(a){var E=t.havingStyle(t.style.sub());o=Le(a,E,t),h||(c=s.depth+E.fontMetrics().subDrop*E.sizeMultiplier/t.sizeMultiplier)}var v;t.style===Te.DISPLAY?v=l.sup1:t.style.cramped?v=l.sup3:v=l.sup2;var A=t.sizeMultiplier,b=se(.5/l.ptPerEm/A),y=null;if(o){var T=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");if(s instanceof pn||T){var D;y=se(-((D=s.italic)!=null?D:0))}}var F;if(u&&o){d=Math.max(d,v,u.depth+.25*l.xHeight),c=Math.max(c,l.sub2);var C=l.defaultRuleThickness,B=4*C;if(d-u.depth-(o.height-c)<B){c=B-(d-u.depth)+o.height;var H=.8*l.xHeight-(d-u.depth);H>0&&(d+=H,c-=H)}var W=[{type:"elem",elem:o,shift:c,marginRight:b,marginLeft:y},{type:"elem",elem:u,shift:-d,marginRight:b}];F=Me({positionType:"individualShift",children:W})}else if(o){c=Math.max(c,l.sub1,o.height-.8*l.xHeight);var M=[{type:"elem",elem:o,marginLeft:y,marginRight:b}];F=Me({positionType:"shift",positionData:c,children:M})}else if(u)d=Math.max(d,v,u.depth+.25*l.xHeight),F=Me({positionType:"shift",positionData:-d,children:[{type:"elem",elem:u,marginRight:b}]});else throw new Error("supsub must have either sup or sub.");var Z=Ud(s,"right")||"mord";return Q([Z],[s,Q(["msupsub"],[F])],t)},mathmlBuilder(e,t){var n=!1,r,i;e.base&&e.base.type==="horizBrace"&&(i=!!e.sup,i===e.base.isOver&&(n=!0,r=e.base.isOver)),e.base&&(e.base.type==="op"||e.base.type==="operatorname")&&(e.base.parentIsSupSub=!0);var a=[$e(e.base,t)];e.sub&&a.push($e(e.sub,t)),e.sup&&a.push($e(e.sup,t));var s;if(n)s=r?"mover":"munder";else if(e.sub)if(e.sup){var l=e.base;l&&l.type==="op"&&l.limits&&t.style===Te.DISPLAY||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(t.style===Te.DISPLAY||l.limits)?s="munderover":s="msubsup"}else{var o=e.base;o&&o.type==="op"&&o.limits&&(t.style===Te.DISPLAY||o.alwaysHandleSupSub)||o&&o.type==="operatorname"&&o.alwaysHandleSupSub&&(o.limits||t.style===Te.DISPLAY)?s="munder":s="msub"}else{var u=e.base;u&&u.type==="op"&&u.limits&&(t.style===Te.DISPLAY||u.alwaysHandleSupSub)||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(u.limits||t.style===Te.DISPLAY)?s="mover":s="msup"}return new ie(s,a)}});Xi({type:"atom",htmlBuilder(e,t){return T1(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var n=new ie("mo",[In(e.text,e.mode)]);if(e.family==="bin"){var r=w1(e,t);r==="bold-italic"&&n.setAttribute("mathvariant",r)}else e.family==="punct"?n.setAttribute("separator","true"):(e.family==="open"||e.family==="close")&&n.setAttribute("stretchy","false");return n}});var vb={mi:"italic",mn:"normal",mtext:"normal"};Xi({type:"mathord",htmlBuilder(e,t){return Gl(e,t,"mathord")},mathmlBuilder(e,t){var n=new ie("mi",[In(e.text,e.mode,t)]),r=w1(e,t)||"italic";return r!==vb[n.type]&&n.setAttribute("mathvariant",r),n}});Xi({type:"textord",htmlBuilder(e,t){return Gl(e,t,"textord")},mathmlBuilder(e,t){var n=In(e.text,e.mode,t),r=w1(e,t)||"normal",i;return e.mode==="text"?i=new ie("mtext",[n]):/[0-9]/.test(e.text)?i=new ie("mn",[n]):e.text==="\\prime"?i=new ie("mo",[n]):i=new ie("mi",[n]),r!==vb[i.type]&&i.setAttribute("mathvariant",r),i}});var dc={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},fc={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Xi({type:"spacing",htmlBuilder(e,t){if(fc.hasOwnProperty(e.text)){var n=fc[e.text].className||"";if(e.mode==="text"){var r=Gl(e,t,"textord");return r.classes.push(n),r}else return Q(["mspace",n],[T1(e.text,e.mode,t)],t)}else{if(dc.hasOwnProperty(e.text))return Q(["mspace",dc[e.text]],[],t);throw new re('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var n;if(fc.hasOwnProperty(e.text))n=new ie("mtext",[new ft(" ")]);else{if(dc.hasOwnProperty(e.text))return new ie("mspace");throw new re('Unknown type of space "'+e.text+'"')}return n}});var qp=()=>{var e=new ie("mtd",[]);return e.setAttribute("width","50%"),e};Xi({type:"tag",mathmlBuilder(e,t){var n=new ie("mtable",[new ie("mtr",[qp(),new ie("mtd",[hi(e.body,t)]),qp(),new ie("mtd",[hi(e.tag,t)])])]);return n.setAttribute("width","100%"),n}});var Gp={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Yp={"\\textbf":"textbf","\\textmd":"textmd"},Jk={"\\textit":"textit","\\textup":"textup"},Wp=(e,t)=>{var n=e.font;if(n){if(Gp[n])return t.withTextFontFamily(Gp[n]);if(Yp[n])return t.withTextFontWeight(Yp[n]);if(n==="\\emph")return t.fontShape==="textit"?t.withTextFontShape("textup"):t.withTextFontShape("textit")}else return t;return t.withTextFontShape(Jk[n])};oe({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:r}=e,i=t[0];return{type:"text",mode:n.mode,body:dt(i),font:r}},htmlBuilder(e,t){var n=Wp(e,t),r=bt(e.body,n,!0);return Q(["mord","text"],r,n)},mathmlBuilder(e,t){var n=Wp(e,t);return hi(e.body,n)}});oe({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=Le(e.body,t),r=Fa("underline-line",t),i=t.fontMetrics().defaultRuleThickness,a=Me({positionType:"top",positionData:n.height,children:[{type:"kern",size:i},{type:"elem",elem:r},{type:"kern",size:3*i},{type:"elem",elem:n}]});return Q(["mord","underline"],[a],t)},mathmlBuilder(e,t){var n=new ie("mo",[new ft("‾")]);n.setAttribute("stretchy","true");var r=new ie("munder",[$e(e.body,t),n]);return r.setAttribute("accentunder","true"),r}});oe({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=Le(e.body,t),r=t.fontMetrics().axisHeight,i=.5*(n.height-r-(n.depth+r));return Me({positionType:"shift",positionData:i,children:[{type:"elem",elem:n}]})},mathmlBuilder(e,t){var n=new ie("mpadded",[$e(e.body,t)],["vcenter"]);return new ie("mrow",[n])}});oe({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,n){throw new re("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var n=Vp(e),r=[],i=t.havingStyle(t.style.text()),a=0;a<n.length;a++){var s=n[a];s==="~"&&(s="\\textasciitilde"),r.push(zt(s,"Typewriter-Regular",e.mode,i,["mord","texttt"]))}return Q(["mord","text"].concat(i.sizingClasses(t)),P6(r),i)},mathmlBuilder(e,t){var n=new ft(Vp(e)),r=new ie("mtext",[n]);return r.setAttribute("mathvariant","monospace"),r}});var Vp=e=>e.body.replace(/ /g,e.star?"␣":" "),Qr=H6,_b=`[ \r
|
|
423
|
+
]`,eC="\\\\[a-zA-Z@]+",tC="\\\\[^\uD800-\uDFFF]",nC="("+eC+")"+_b+"*",rC=`\\\\(
|
|
424
|
+
|[ \r ]+
|
|
425
|
+
?)[ \r ]*`,Wd="[̀-ͯ]",iC=new RegExp(Wd+"+$"),aC="("+_b+"+)|"+(rC+"|")+"([!-\\[\\]-‧-豈-]"+(Wd+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Wd+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+nC)+("|"+tC+")");class jp{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(aC,"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 hn("EOF",new Kt(this,n,n));var r=this.tokenRegex.exec(t);if(r===null||r.index!==n)throw new re("Unexpected character: '"+t[n]+"'",new hn(t[n],new Kt(this,n,n+1)));var i=r[6]||r[3]||(r[2]?"\\ ":" ");if(this.catcodes[i]===14){var a=t.indexOf(`
|
|
426
|
+
`,this.tokenRegex.lastIndex);return a===-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=a+1,this.lex()}return new hn(i,new Kt(this,n,this.tokenRegex.lastIndex))}}class sC{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 re("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var t=this.undefStack.pop();for(var n in t)t.hasOwnProperty(n)&&(t[n]==null?delete this.current[n]:this.current[n]=t[n])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(t){return this.current.hasOwnProperty(t)||this.builtins.hasOwnProperty(t)}get(t){return this.current.hasOwnProperty(t)?this.current[t]:this.builtins[t]}set(t,n,r){if(r===void 0&&(r=!1),r){for(var i=0;i<this.undefStack.length;i++)delete this.undefStack[i][t];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][t]=n)}else{var a=this.undefStack[this.undefStack.length-1];a&&!a.hasOwnProperty(t)&&(a[t]=this.current[t])}n==null?delete this.current[t]:this.current[t]=n}}var uC=cb;x("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}});x("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}});x("\\@firstoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}});x("\\@secondoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}});x("\\@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}});x("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");x("\\TextOrMath",function(e){var t=e.consumeArgs(2);return e.mode==="text"?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var Kp={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};x("\\char",function(e){var t=e.popToken(),n,r=0;if(t.text==="'")n=8,t=e.popToken();else if(t.text==='"')n=16,t=e.popToken();else if(t.text==="`")if(t=e.popToken(),t.text[0]==="\\")r=t.text.charCodeAt(1);else{if(t.text==="EOF")throw new re("\\char` missing argument");r=t.text.charCodeAt(0)}else n=10;if(n){if(r=Kp[t.text],r==null||r>=n)throw new re("Invalid base-"+n+" digit "+t.text);for(var i;(i=Kp[e.future().text])!=null&&i<n;)r*=n,r+=i,e.popToken()}return"\\@char{"+r+"}"});var D1=(e,t,n,r)=>{var i=e.consumeArg().tokens;if(i.length!==1)throw new re("\\newcommand's first argument must be a macro name");var a=i[0].text,s=e.isDefined(a);if(s&&!t)throw new re("\\newcommand{"+a+"} attempting to redefine "+(a+"; use \\renewcommand"));if(!s&&!n)throw new re("\\renewcommand{"+a+"} when command "+a+" does not yet exist; use \\newcommand");var u=0;if(i=e.consumeArg().tokens,i.length===1&&i[0].text==="["){for(var o="",l=e.expandNextToken();l.text!=="]"&&l.text!=="EOF";)o+=l.text,l=e.expandNextToken();if(!o.match(/^\s*[0-9]+\s*$/))throw new re("Invalid number of arguments: "+o);u=parseInt(o),i=e.consumeArg().tokens}return s&&r||e.macros.set(a,{tokens:i,numArgs:u}),""};x("\\newcommand",e=>D1(e,!1,!0,!1));x("\\renewcommand",e=>D1(e,!0,!1,!1));x("\\providecommand",e=>D1(e,!0,!0,!0));x("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(n=>n.text).join("")),""});x("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(n=>n.text).join("")),""});x("\\show",e=>{var t=e.popToken(),n=t.text;return console.log(t,e.macros.get(n),Qr[n],Xe.math[n],Xe.text[n]),""});x("\\bgroup","{");x("\\egroup","}");x("~","\\nobreakspace");x("\\lq","`");x("\\rq","'");x("\\aa","\\r a");x("\\AA","\\r A");x("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");x("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");x("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");x("ℬ","\\mathscr{B}");x("ℰ","\\mathscr{E}");x("ℱ","\\mathscr{F}");x("ℋ","\\mathscr{H}");x("ℐ","\\mathscr{I}");x("ℒ","\\mathscr{L}");x("ℳ","\\mathscr{M}");x("ℛ","\\mathscr{R}");x("ℭ","\\mathfrak{C}");x("ℌ","\\mathfrak{H}");x("ℨ","\\mathfrak{Z}");x("\\Bbbk","\\Bbb{k}");x("\\llap","\\mathllap{\\textrm{#1}}");x("\\rlap","\\mathrlap{\\textrm{#1}}");x("\\clap","\\mathclap{\\textrm{#1}}");x("\\mathstrut","\\vphantom{(}");x("\\underbar","\\underline{\\text{#1}}");x("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}\\nobreak}{\\char"338}');x("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");x("\\ne","\\neq");x("≠","\\neq");x("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}");x("∉","\\notin");x("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}");x("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");x("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");x("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}");x("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}");x("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}");x("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");x("⟂","\\perp");x("‼","\\mathclose{!\\mkern-0.8mu!}");x("∌","\\notni");x("⌜","\\ulcorner");x("⌝","\\urcorner");x("⌞","\\llcorner");x("⌟","\\lrcorner");x("©","\\copyright");x("®","\\textregistered");x("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');x("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');x("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');x("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');x("\\vdots","{\\varvdots\\rule{0pt}{15pt}}");x("⋮","\\vdots");x("\\varGamma","\\mathit{\\Gamma}");x("\\varDelta","\\mathit{\\Delta}");x("\\varTheta","\\mathit{\\Theta}");x("\\varLambda","\\mathit{\\Lambda}");x("\\varXi","\\mathit{\\Xi}");x("\\varPi","\\mathit{\\Pi}");x("\\varSigma","\\mathit{\\Sigma}");x("\\varUpsilon","\\mathit{\\Upsilon}");x("\\varPhi","\\mathit{\\Phi}");x("\\varPsi","\\mathit{\\Psi}");x("\\varOmega","\\mathit{\\Omega}");x("\\substack","\\begin{subarray}{c}#1\\end{subarray}");x("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");x("\\boxed","\\fbox{$\\displaystyle{#1}$}");x("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");x("\\implies","\\DOTSB\\;\\Longrightarrow\\;");x("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");x("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");x("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var Xp={",":"\\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"},oC=new Set(["bin","rel"]);x("\\dots",function(e){var t="\\dotso",n=e.expandAfterFuture().text;return n in Xp?t=Xp[n]:(n.slice(0,4)==="\\not"||n in Xe.math&&oC.has(Xe.math[n].group))&&(t="\\dotsb"),t});var I1={")":!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};x("\\dotso",function(e){var t=e.future().text;return t in I1?"\\ldots\\,":"\\ldots"});x("\\dotsc",function(e){var t=e.future().text;return t in I1&&t!==","?"\\ldots\\,":"\\ldots"});x("\\cdots",function(e){var t=e.future().text;return t in I1?"\\@cdots\\,":"\\@cdots"});x("\\dotsb","\\cdots");x("\\dotsm","\\cdots");x("\\dotsi","\\!\\cdots");x("\\dotsx","\\ldots\\,");x("\\DOTSI","\\relax");x("\\DOTSB","\\relax");x("\\DOTSX","\\relax");x("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");x("\\,","\\tmspace+{3mu}{.1667em}");x("\\thinspace","\\,");x("\\>","\\mskip{4mu}");x("\\:","\\tmspace+{4mu}{.2222em}");x("\\medspace","\\:");x("\\;","\\tmspace+{5mu}{.2777em}");x("\\thickspace","\\;");x("\\!","\\tmspace-{3mu}{.1667em}");x("\\negthinspace","\\!");x("\\negmedspace","\\tmspace-{4mu}{.2222em}");x("\\negthickspace","\\tmspace-{5mu}{.277em}");x("\\enspace","\\kern.5em ");x("\\enskip","\\hskip.5em\\relax");x("\\quad","\\hskip1em\\relax");x("\\qquad","\\hskip2em\\relax");x("\\tag","\\@ifstar\\tag@literal\\tag@paren");x("\\tag@paren","\\tag@literal{({#1})}");x("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new re("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});x("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");x("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");x("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");x("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");x("\\newline","\\\\\\relax");x("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Tb=se(Jn["Main-Regular"][84][1]-.7*Jn["Main-Regular"][65][1]);x("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Tb+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");x("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Tb+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");x("\\hspace","\\@ifstar\\@hspacer\\@hspace");x("\\@hspace","\\hskip #1\\relax");x("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");x("\\ordinarycolon",":");x("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");x("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');x("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');x("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');x("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');x("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');x("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');x("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');x("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');x("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');x("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');x("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');x("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');x("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');x("∷","\\dblcolon");x("∹","\\eqcolon");x("≔","\\coloneqq");x("≕","\\eqqcolon");x("⩴","\\Coloneqq");x("\\ratio","\\vcentcolon");x("\\coloncolon","\\dblcolon");x("\\colonequals","\\coloneqq");x("\\coloncolonequals","\\Coloneqq");x("\\equalscolon","\\eqqcolon");x("\\equalscoloncolon","\\Eqqcolon");x("\\colonminus","\\coloneq");x("\\coloncolonminus","\\Coloneq");x("\\minuscolon","\\eqcolon");x("\\minuscoloncolon","\\Eqcolon");x("\\coloncolonapprox","\\Colonapprox");x("\\coloncolonsim","\\Colonsim");x("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");x("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");x("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");x("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");x("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}");x("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");x("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");x("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");x("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");x("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");x("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");x("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");x("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");x("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}");x("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}");x("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}");x("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}");x("\\nleqq","\\html@mathml{\\@nleqq}{≰}");x("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}");x("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}");x("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}");x("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}");x("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}");x("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}");x("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}");x("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}");x("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}");x("\\imath","\\html@mathml{\\@imath}{ı}");x("\\jmath","\\html@mathml{\\@jmath}{ȷ}");x("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}");x("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}");x("⟦","\\llbracket");x("⟧","\\rrbracket");x("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}");x("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}");x("⦃","\\lBrace");x("⦄","\\rBrace");x("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");x("⦵","\\minuso");x("\\darr","\\downarrow");x("\\dArr","\\Downarrow");x("\\Darr","\\Downarrow");x("\\lang","\\langle");x("\\rang","\\rangle");x("\\uarr","\\uparrow");x("\\uArr","\\Uparrow");x("\\Uarr","\\Uparrow");x("\\N","\\mathbb{N}");x("\\R","\\mathbb{R}");x("\\Z","\\mathbb{Z}");x("\\alef","\\aleph");x("\\alefsym","\\aleph");x("\\Alpha","\\mathrm{A}");x("\\Beta","\\mathrm{B}");x("\\bull","\\bullet");x("\\Chi","\\mathrm{X}");x("\\clubs","\\clubsuit");x("\\cnums","\\mathbb{C}");x("\\Complex","\\mathbb{C}");x("\\Dagger","\\ddagger");x("\\diamonds","\\diamondsuit");x("\\empty","\\emptyset");x("\\Epsilon","\\mathrm{E}");x("\\Eta","\\mathrm{H}");x("\\exist","\\exists");x("\\harr","\\leftrightarrow");x("\\hArr","\\Leftrightarrow");x("\\Harr","\\Leftrightarrow");x("\\hearts","\\heartsuit");x("\\image","\\Im");x("\\infin","\\infty");x("\\Iota","\\mathrm{I}");x("\\isin","\\in");x("\\Kappa","\\mathrm{K}");x("\\larr","\\leftarrow");x("\\lArr","\\Leftarrow");x("\\Larr","\\Leftarrow");x("\\lrarr","\\leftrightarrow");x("\\lrArr","\\Leftrightarrow");x("\\Lrarr","\\Leftrightarrow");x("\\Mu","\\mathrm{M}");x("\\natnums","\\mathbb{N}");x("\\Nu","\\mathrm{N}");x("\\Omicron","\\mathrm{O}");x("\\plusmn","\\pm");x("\\rarr","\\rightarrow");x("\\rArr","\\Rightarrow");x("\\Rarr","\\Rightarrow");x("\\real","\\Re");x("\\reals","\\mathbb{R}");x("\\Reals","\\mathbb{R}");x("\\Rho","\\mathrm{P}");x("\\sdot","\\cdot");x("\\sect","\\S");x("\\spades","\\spadesuit");x("\\sub","\\subset");x("\\sube","\\subseteq");x("\\supe","\\supseteq");x("\\Tau","\\mathrm{T}");x("\\thetasym","\\vartheta");x("\\weierp","\\wp");x("\\Zeta","\\mathrm{Z}");x("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");x("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");x("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");x("\\bra","\\mathinner{\\langle{#1}|}");x("\\ket","\\mathinner{|{#1}\\rangle}");x("\\braket","\\mathinner{\\langle{#1}\\rangle}");x("\\Bra","\\left\\langle#1\\right|");x("\\Ket","\\left|#1\\right\\rangle");var xb=e=>t=>{var n=t.consumeArg().tokens,r=t.consumeArg().tokens,i=t.consumeArg().tokens,a=t.consumeArg().tokens,s=t.macros.get("|"),u=t.macros.get("\\|");t.macros.beginGroup();var o=c=>h=>{e&&(h.macros.set("|",s),i.length&&h.macros.set("\\|",u));var m=c;if(!c&&i.length){var E=h.future();E.text==="|"&&(h.popToken(),m=!0)}return{tokens:m?i:r,numArgs:0}};t.macros.set("|",o(!1)),i.length&&t.macros.set("\\|",o(!0));var l=t.consumeArg().tokens,d=t.expandTokens([...a,...l,...n]);return t.macros.endGroup(),{tokens:d.reverse(),numArgs:0}};x("\\bra@ket",xb(!1));x("\\bra@set",xb(!0));x("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");x("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");x("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");x("\\angln","{\\angl n}");x("\\blue","\\textcolor{##6495ed}{#1}");x("\\orange","\\textcolor{##ffa500}{#1}");x("\\pink","\\textcolor{##ff00af}{#1}");x("\\red","\\textcolor{##df0030}{#1}");x("\\green","\\textcolor{##28ae7b}{#1}");x("\\gray","\\textcolor{gray}{#1}");x("\\purple","\\textcolor{##9d38bd}{#1}");x("\\blueA","\\textcolor{##ccfaff}{#1}");x("\\blueB","\\textcolor{##80f6ff}{#1}");x("\\blueC","\\textcolor{##63d9ea}{#1}");x("\\blueD","\\textcolor{##11accd}{#1}");x("\\blueE","\\textcolor{##0c7f99}{#1}");x("\\tealA","\\textcolor{##94fff5}{#1}");x("\\tealB","\\textcolor{##26edd5}{#1}");x("\\tealC","\\textcolor{##01d1c1}{#1}");x("\\tealD","\\textcolor{##01a995}{#1}");x("\\tealE","\\textcolor{##208170}{#1}");x("\\greenA","\\textcolor{##b6ffb0}{#1}");x("\\greenB","\\textcolor{##8af281}{#1}");x("\\greenC","\\textcolor{##74cf70}{#1}");x("\\greenD","\\textcolor{##1fab54}{#1}");x("\\greenE","\\textcolor{##0d923f}{#1}");x("\\goldA","\\textcolor{##ffd0a9}{#1}");x("\\goldB","\\textcolor{##ffbb71}{#1}");x("\\goldC","\\textcolor{##ff9c39}{#1}");x("\\goldD","\\textcolor{##e07d10}{#1}");x("\\goldE","\\textcolor{##a75a05}{#1}");x("\\redA","\\textcolor{##fca9a9}{#1}");x("\\redB","\\textcolor{##ff8482}{#1}");x("\\redC","\\textcolor{##f9685d}{#1}");x("\\redD","\\textcolor{##e84d39}{#1}");x("\\redE","\\textcolor{##bc2612}{#1}");x("\\maroonA","\\textcolor{##ffbde0}{#1}");x("\\maroonB","\\textcolor{##ff92c6}{#1}");x("\\maroonC","\\textcolor{##ed5fa6}{#1}");x("\\maroonD","\\textcolor{##ca337c}{#1}");x("\\maroonE","\\textcolor{##9e034e}{#1}");x("\\purpleA","\\textcolor{##ddd7ff}{#1}");x("\\purpleB","\\textcolor{##c6b9fc}{#1}");x("\\purpleC","\\textcolor{##aa87ff}{#1}");x("\\purpleD","\\textcolor{##7854ab}{#1}");x("\\purpleE","\\textcolor{##543b78}{#1}");x("\\mintA","\\textcolor{##f5f9e8}{#1}");x("\\mintB","\\textcolor{##edf2df}{#1}");x("\\mintC","\\textcolor{##e0e5cc}{#1}");x("\\grayA","\\textcolor{##f6f7f7}{#1}");x("\\grayB","\\textcolor{##f0f1f2}{#1}");x("\\grayC","\\textcolor{##e3e5e6}{#1}");x("\\grayD","\\textcolor{##d6d8da}{#1}");x("\\grayE","\\textcolor{##babec2}{#1}");x("\\grayF","\\textcolor{##888d93}{#1}");x("\\grayG","\\textcolor{##626569}{#1}");x("\\grayH","\\textcolor{##3b3e40}{#1}");x("\\grayI","\\textcolor{##21242c}{#1}");x("\\kaBlue","\\textcolor{##314453}{#1}");x("\\kaGreen","\\textcolor{##71B307}{#1}");var Ab={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class lC{constructor(t,n,r){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=n,this.expansionCount=0,this.feed(t),this.macros=new sC(uC,n.macros),this.mode=r,this.stack=[]}feed(t){this.lexer=new jp(t,this.settings)}switchMode(t){this.mode=t}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(t){this.stack.push(t)}pushTokens(t){this.stack.push(...t)}scanArgument(t){var n,r,i;if(t){if(this.consumeSpaces(),this.future().text!=="[")return null;n=this.popToken(),{tokens:i,end:r}=this.consumeArg(["]"])}else({tokens:i,start:n,end:r}=this.consumeArg());return this.pushToken(new hn("EOF",r.loc)),this.pushTokens(i),new hn("",Kt.range(n,r))}consumeSpaces(){for(;;){var t=this.future();if(t.text===" ")this.stack.pop();else break}}consumeArg(t){var n=[],r=t&&t.length>0;r||this.consumeSpaces();var i=this.future(),a,s=0,u=0;do{if(a=this.popToken(),n.push(a),a.text==="{")++s;else if(a.text==="}"){if(--s,s===-1)throw new re("Extra }",a)}else if(a.text==="EOF")throw new re("Unexpected end of input in a macro argument, expected '"+(t&&r?t[u]:"}")+"'",a);if(t&&r)if((s===0||s===1&&t[u]==="{")&&a.text===t[u]){if(++u,u===t.length){n.splice(-u,u);break}}else u=0}while(s!==0||r);return i.text==="{"&&n[n.length-1].text==="}"&&(n.pop(),n.shift()),n.reverse(),{tokens:n,start:i,end:a}}consumeArgs(t,n){if(n){if(n.length!==t+1)throw new re("The length of delimiters doesn't match the number of args!");for(var r=n[0],i=0;i<r.length;i++){var a=this.popToken();if(r[i]!==a.text)throw new re("Use of the macro doesn't match its definition",a)}}for(var s=[],u=0;u<t;u++)s.push(this.consumeArg(n&&n[u+1]).tokens);return s}countExpansion(t){if(this.expansionCount+=t,this.expansionCount>this.settings.maxExpand)throw new re("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(t){var n=this.popToken(),r=n.text,i=n.noexpand?null:this._getExpansion(r);if(i==null||t&&i.unexpandable){if(t&&i==null&&r[0]==="\\"&&!this.isDefined(r))throw new re("Undefined control sequence: "+r);return this.pushToken(n),!1}this.countExpansion(1);var a=i.tokens,s=this.consumeArgs(i.numArgs,i.delimiters);if(i.numArgs){a=a.slice();for(var u=a.length-1;u>=0;--u){var o=a[u];if(o.text==="#"){if(u===0)throw new re("Incomplete placeholder at end of macro body",o);if(o=a[--u],o.text==="#")a.splice(u+1,1);else if(/^[1-9]$/.test(o.text))a.splice(u,2,...s[+o.text-1]);else throw new re("Not a valid argument number",o)}}}return this.pushTokens(a),a.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}}expandMacro(t){return this.macros.has(t)?this.expandTokens([new hn(t)]):void 0}expandTokens(t){var n=[],r=this.stack.length;for(this.pushTokens(t);this.stack.length>r;)if(this.expandOnce(!0)===!1){var i=this.stack.pop();i.treatAsRelax&&(i.noexpand=!1,i.treatAsRelax=!1),n.push(i)}return this.countExpansion(n.length),n}expandMacroAsText(t){var n=this.expandMacro(t);return n&&n.map(r=>r.text).join("")}_getExpansion(t){var n=this.macros.get(t);if(n==null)return n;if(t.length===1){var r=this.lexer.catcodes[t];if(r!=null&&r!==13)return}var i=typeof n=="function"?n(this):n;if(typeof i=="string"){var a=0;if(i.includes("#"))for(var s=i.replace(/##/g,"");s.includes("#"+(a+1));)++a;for(var u=new jp(i,this.settings),o=[],l=u.lex();l.text!=="EOF";)o.push(l),l=u.lex();o.reverse();var d={tokens:o,numArgs:a};return d}return i}isDefined(t){return this.macros.has(t)||Qr.hasOwnProperty(t)||Xe.math.hasOwnProperty(t)||Xe.text.hasOwnProperty(t)||Ab.hasOwnProperty(t)}isExpandable(t){var n=this.macros.get(t);return n!=null?typeof n=="string"||typeof n=="function"||!n.unexpandable:Qr.hasOwnProperty(t)&&!Qr[t].primitive}}var Qp=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,no=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","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),hc={"́":{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"}},Zp={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};let wb=class Sb{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 lC(t,n,this.mode),this.settings=n,this.leftrightDepth=0,this.nextToken=null}expect(t,n){if(n===void 0&&(n=!0),this.fetch().text!==t)throw new re("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 hn("}")),this.gullet.pushTokens(t);var r=this.parseExpression(!1);return this.expect("}"),this.nextToken=n,r}parseExpression(t,n){for(var r=[];;){this.mode==="math"&&this.consumeSpaces();var i=this.fetch();if(Sb.endOfExpression.has(i.text)||n&&i.text===n||t&&Qr[i.text]&&Qr[i.text].infix)break;var a=this.parseAtom(n);if(a){if(a.type==="internal")continue}else break;r.push(a)}return this.mode==="text"&&this.formLigatures(r),this.handleInfixNodes(r)}handleInfixNodes(t){for(var n=-1,r,i=0;i<t.length;i++){var a=t[i];if(a.type==="infix"){if(n!==-1)throw new re("only one infix operator per group",a.token);n=i,r=a.replaceWith}}if(n!==-1&&r){var s,u,o=t.slice(0,n),l=t.slice(n+1);o.length===1&&o[0].type==="ordgroup"?s=o[0]:s={type:"ordgroup",mode:this.mode,body:o},l.length===1&&l[0].type==="ordgroup"?u=l[0]:u={type:"ordgroup",mode:this.mode,body:l};var d;return r==="\\\\abovefrac"?d=this.callFunction(r,[s,t[n],u],[]):d=this.callFunction(r,[s,u],[]),[d]}else return t}handleSupSubscript(t){var n=this.fetch(),r=n.text;this.consume(),this.consumeSpaces();var i;do{var a;i=this.parseGroup(t)}while(((a=i)==null?void 0:a.type)==="internal");if(!i)throw new re("Expected group after '"+r+"'",n);return i}formatUnsupportedCmd(t){for(var n=[],r=0;r<t.length;r++)n.push({type:"textord",mode:"text",text:t[r]});var i={type:"text",mode:this.mode,body:n},a={type:"color",mode:this.mode,color:this.settings.errorColor,body:[i]};return a}parseAtom(t){var n=this.parseGroup("atom",t);if((n==null?void 0:n.type)==="internal"||this.mode==="text")return n;for(var r,i;;){this.consumeSpaces();var a=this.fetch();if(a.text==="\\limits"||a.text==="\\nolimits"){if(n&&n.type==="op"){var s=a.text==="\\limits";n.limits=s,n.alwaysHandleSupSub=!0}else if(n&&n.type==="operatorname")n.alwaysHandleSupSub&&(n.limits=a.text==="\\limits");else throw new re("Limit controls must follow a math operator",a);this.consume()}else if(a.text==="^"){if(r)throw new re("Double superscript",a);r=this.handleSupSubscript("superscript")}else if(a.text==="_"){if(i)throw new re("Double subscript",a);i=this.handleSupSubscript("subscript")}else if(a.text==="'"){if(r)throw new re("Double superscript",a);var u={type:"textord",mode:this.mode,text:"\\prime"},o=[u];for(this.consume();this.fetch().text==="'";)o.push(u),this.consume();this.fetch().text==="^"&&o.push(this.handleSupSubscript("superscript")),r={type:"ordgroup",mode:this.mode,body:o}}else if(no[a.text]){var l=Qp.test(a.text),d=[];for(d.push(new hn(no[a.text])),this.consume();;){var c=this.fetch().text;if(!no[c]||Qp.test(c)!==l)break;d.unshift(new hn(no[c])),this.consume()}var h=this.subparse(d);l?i={type:"ordgroup",mode:"math",body:h}:r={type:"ordgroup",mode:"math",body:h}}else break}return r||i?{type:"supsub",mode:this.mode,base:n,sup:r,sub:i}:n}parseFunction(t,n){var r=this.fetch(),i=r.text,a=Qr[i];if(!a)return null;if(this.consume(),n&&n!=="atom"&&!a.allowedInArgument)throw new re("Got function '"+i+"' with no arguments"+(n?" as "+n:""),r);if(this.mode==="text"&&!a.allowedInText)throw new re("Can't use function '"+i+"' in text mode",r);if(this.mode==="math"&&a.allowedInMath===!1)throw new re("Can't use function '"+i+"' in math mode",r);var{args:s,optArgs:u}=this.parseArguments(i,a);return this.callFunction(i,s,u,r,t)}callFunction(t,n,r,i,a){var s={funcName:t,parser:this,token:i,breakOnTokenText:a},u=Qr[t];if(u&&u.handler)return u.handler(s,n,r);throw new re("No function handler for "+t)}parseArguments(t,n){var r=n.numArgs+n.numOptionalArgs;if(r===0)return{args:[],optArgs:[]};for(var i=[],a=[],s=0;s<r;s++){var u=n.argTypes&&n.argTypes[s],o=s<n.numOptionalArgs;("primitive"in n&&n.primitive&&u==null||n.type==="sqrt"&&s===1&&a[0]==null)&&(u="primitive");var l=this.parseGroupOfType("argument to '"+t+"'",u,o);if(o)a.push(l);else if(l!=null)i.push(l);else throw new re("Null argument, please report this as a bug")}return{args:i,optArgs:a}}parseGroupOfType(t,n,r){switch(n){case"color":return this.parseColorGroup(r);case"size":return this.parseSizeGroup(r);case"url":return this.parseUrlGroup(r);case"math":case"text":return this.parseArgumentGroup(r,n);case"hbox":{var i=this.parseArgumentGroup(r,"text");return i!=null?{type:"styling",mode:i.mode,body:[i],style:"text",resetFont:!0}:null}case"raw":{var a=this.parseStringGroup("raw",r);return a!=null?{type:"raw",mode:"text",string:a.text}:null}case"primitive":{if(r)throw new re("A primitive argument cannot be optional");var s=this.parseGroup(t);if(s==null)throw new re("Expected group as "+t,this.fetch());return s}case"original":case null:case void 0:return this.parseArgumentGroup(r);default:throw new re("Unknown group type as "+t,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(t,n){var r=this.gullet.scanArgument(n);if(r==null)return null;for(var i="",a;(a=this.fetch()).text!=="EOF";)i+=a.text,this.consume();return this.consume(),r.text=i,r}parseRegexGroup(t,n){for(var r=this.fetch(),i=r,a="",s;(s=this.fetch()).text!=="EOF"&&t.test(a+s.text);)i=s,a+=i.text,this.consume();if(a==="")throw new re("Invalid "+n+": '"+r.text+"'",r);return r.range(i,a)}parseColorGroup(t){var n=this.parseStringGroup("color",t);if(n==null)return null;var r=/^(#[a-f0-9]{3,4}|#[a-f0-9]{6}|#[a-f0-9]{8}|[a-f0-9]{6}|[a-z]+)$/i.exec(n.text);if(!r)throw new re("Invalid color: '"+n.text+"'",n);var i=r[0];return/^[0-9a-f]{6}$/i.test(i)&&(i="#"+i),{type:"color-token",mode:this.mode,color:i}}parseSizeGroup(t){var n,r=!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",r=!0);var i=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(n.text);if(!i)throw new re("Invalid size: '"+n.text+"'",n);var a={number:+(i[1]+i[2]),unit:i[3]};if(!O6(a))throw new re("Invalid unit: '"+a.unit+"'",n);return{type:"size",mode:this.mode,value:a,isBlank:r}}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 r=n.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:r}}parseArgumentGroup(t,n){var r=this.gullet.scanArgument(t);if(r==null)return null;var i=this.mode;n&&this.switchMode(n),this.gullet.beginGroup();var a=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var s={type:"ordgroup",mode:this.mode,loc:r.loc,body:a};return n&&this.switchMode(i),s}parseGroup(t,n){var r=this.fetch(),i=r.text,a;if(i==="{"||i==="\\begingroup"){this.consume();var s=i==="{"?"}":"\\endgroup";this.gullet.beginGroup();var u=this.parseExpression(!1,s),o=this.fetch();this.expect(s),this.gullet.endGroup(),a={type:"ordgroup",mode:this.mode,loc:Kt.range(r,o),body:u,semisimple:i==="\\begingroup"||void 0}}else if(a=this.parseFunction(n,t)||this.parseSymbol(),a==null&&i[0]==="\\"&&!Ab.hasOwnProperty(i)){if(this.settings.throwOnError)throw new re("Undefined control sequence: "+i,r);a=this.formatUnsupportedCmd(i),this.consume()}return a}formLigatures(t){for(var n=t.length-1,r=0;r<n;++r){var i=t[r];if(i.type==="textord"){var a=i.text,s=t[r+1];if(!(!s||s.type!=="textord")){if(a==="-"&&s.text==="-"){var u=t[r+2];r+1<n&&u&&u.type==="textord"&&u.text==="-"?(t.splice(r,3,{type:"textord",mode:"text",loc:Kt.range(i,u),text:"---"}),n-=2):(t.splice(r,2,{type:"textord",mode:"text",loc:Kt.range(i,s),text:"--"}),n-=1)}(a==="'"||a==="`")&&s.text===a&&(t.splice(r,2,{type:"textord",mode:"text",loc:Kt.range(i,s),text:a+a}),n-=1)}}}}parseSymbol(){var t=this.fetch(),n=t.text;if(/^\\verb[^a-zA-Z]/.test(n)){this.consume();var r=n.slice(5),i=r.charAt(0)==="*";if(i&&(r=r.slice(1)),r.length<2||r.charAt(0)!==r.slice(-1))throw new re(`\\verb assertion failed --
|
|
427
|
+
please report what input caused this bug`);return r=r.slice(1,-1),{type:"verb",mode:"text",body:r,star:i}}Zp.hasOwnProperty(n[0])&&!Xe[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=Zp[n[0]]+n.slice(1));var a=iC.exec(n);a&&(n=n.substring(0,a.index),n==="i"?n="ı":n==="j"&&(n="ȷ"));var s;if(Xe[this.mode][n]){this.settings.strict&&this.mode==="math"&&Od.includes(n)&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+n[0]+'" used in math mode',t);var u=Xe[this.mode][n].group,o=Kt.range(t),l;wk(u)?l={type:"atom",mode:this.mode,family:u,loc:o,text:n}:l={type:u,mode:this.mode,loc:o,text:n},s=l}else if(n.charCodeAt(0)>=128)this.settings.strict&&(I6(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)),s={type:"textord",mode:"text",loc:Kt.range(t),text:n};else return null;if(this.consume(),a)for(var d=0;d<a[0].length;d++){var c=a[0][d];if(!hc[c])throw new re("Unknown accent ' "+c+"'",t);var h=hc[c][this.mode]||hc[c].text;if(!h)throw new re("Accent "+c+" unsupported in "+this.mode+" mode",t);s={type:"accent",mode:this.mode,loc:Kt.range(t),label:h,isStretchy:!1,isShifty:!0,base:s}}return s}};wb.endOfExpression=new Set(["}","\\endgroup","\\end","\\right","&"]);var O1=function(t,n){if(!(typeof t=="string"||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var r=new wb(t,n);delete r.gullet.macros.current["\\df@tag"];var i=r.parse();if(delete r.gullet.macros.current["\\current@color"],delete r.gullet.macros.current["\\color"],r.gullet.macros.get("\\df@tag")){if(!n.displayMode)throw new re("\\tag works only in display equations");i=[{type:"tag",mode:"text",body:i,tag:r.subparse([new hn("\\df@tag")])}]}return i},kb=function(t,n,r){n.textContent="";var i=R1(t,r).toNode();n.appendChild(i)};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."),kb=function(){throw new re("KaTeX doesn't work in quirks mode.")});var cC=function(t,n){var r=R1(t,n).toMarkup();return r},dC=function(t,n){var r=new E1(n);return O1(t,r)},Cb=function(t,n,r){if(r.throwOnError||!(t instanceof re))throw t;var i=Q(["katex-error"],[new pn(n)]);return i.setAttribute("title",t.toString()),i.setAttribute("style","color:"+r.errorColor),i},R1=function(t,n){var r=new E1(n);try{var i=O1(t,r);return bk(i,t,r)}catch(a){return Cb(a,t,r)}},fC=function(t,n){var r=new E1(n);try{var i=O1(t,r);return Ek(i,t,r)}catch(a){return Cb(a,t,r)}},hC="0.16.47",mC={Span:Va,Anchor:$l,SymbolNode:pn,SvgNode:Ar,PathNode:di,LineNode:Id},Jp={version:hC,render:kb,renderToString:cC,ParseError:re,SETTINGS_SCHEMA:Cd,__parse:dC,__renderToDomTree:R1,__renderToHTMLTree:fC,__setFontMetrics:ZS,__defineSymbol:p,__defineFunction:oe,__defineMacro:x,__domTree:mC};const pC={};function gC(e){const t=this,n=e||pC,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),a=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),s=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(bS(n)),a.push(lS()),s.push(cS(n))}var Nb={exports:{}};(function(e){(function(){var t;t=e.exports=i,t.format=i,t.vsprintf=r,typeof console<"u"&&typeof console.log=="function"&&(t.printf=n);function n(){console.log(i.apply(null,arguments))}function r(a,s){return i.apply(null,[a].concat(s))}function i(a){for(var s=1,u=[].slice.call(arguments),o=0,l=a.length,d="",c,h=!1,m,E,v=!1,A,b=function(){return u[s++]},y=function(){for(var T="";/\d/.test(a[o]);)T+=a[o++],c=a[o];return T.length>0?parseInt(T):null};o<l;++o)if(c=a[o],h)switch(h=!1,c=="."?(v=!1,c=a[++o]):c=="0"&&a[o+1]=="."?(v=!0,o+=2,c=a[o]):v=!0,A=y(),c){case"b":d+=parseInt(b(),10).toString(2);break;case"c":m=b(),typeof m=="string"||m instanceof String?d+=m:d+=String.fromCharCode(parseInt(m,10));break;case"d":d+=parseInt(b(),10);break;case"f":E=String(parseFloat(b()).toFixed(A||6)),d+=v?E:E.replace(/^0/,"");break;case"j":d+=JSON.stringify(b());break;case"o":d+="0"+parseInt(b(),10).toString(8);break;case"s":d+=b();break;case"x":d+="0x"+parseInt(b(),10).toString(16);break;case"X":d+="0x"+parseInt(b(),10).toString(16).toUpperCase();break;default:d+=c;break}else c==="%"?h=!0:d+=c;return d}})()})(Nb);var bC=Nb.exports;const EC=fu(bC),ro=Object.assign(Ai(Error),{eval:Ai(EvalError),range:Ai(RangeError),reference:Ai(ReferenceError),syntax:Ai(SyntaxError),type:Ai(TypeError),uri:Ai(URIError)});function Ai(e){return t.displayName=e.displayName||e.name,t;function t(n,...r){const i=n&&EC(n,...r);return new e(i)}}const io={}.hasOwnProperty,eg={yaml:"-",toml:"+"};function M1(e){const t=[];let n=-1;const r=Array.isArray(e)?e:e?[e]:["yaml"];for(;++n<r.length;)t[n]=yC(r[n]);return t}function yC(e){let t=e;if(typeof t=="string"){if(!io.call(eg,t))throw ro("Missing matter definition for `%s`",t);t={type:t,marker:eg[t]}}else if(typeof t!="object")throw ro("Expected matter to be an object, not `%j`",t);if(!io.call(t,"type"))throw ro("Missing `type` in matter `%j`",t);if(!io.call(t,"fence")&&!io.call(t,"marker"))throw ro("Missing `marker` or `fence` in matter `%j`",t);return t}function vC(e){const t=M1(e),n={};let r=-1;for(;++r<t.length;){const i=t[r],a=Vd(i,"open").charCodeAt(0),s=_C(i),u=n[a];Array.isArray(u)?u.push(s):n[a]=[s]}return{flow:n}}function _C(e){const t=e.anywhere,n=e.type,r=n+"Fence",i=r+"Sequence",a=n+"Value",s={tokenize:d,partial:!0};let u,o=0;return{tokenize:l,concrete:!0};function l(c,h,m){const E=this;return v;function v(B){const H=E.now();return H.column===1&&(H.line===1||t)&&(u=Vd(e,"open"),o=0,B===u.charCodeAt(o))?(c.enter(n),c.enter(r),c.enter(i),A(B)):m(B)}function A(B){return o===u.length?(c.exit(i),we(B)?(c.enter("whitespace"),b(B)):y(B)):B===u.charCodeAt(o++)?(c.consume(B),A):m(B)}function b(B){return we(B)?(c.consume(B),b):(c.exit("whitespace"),y(B))}function y(B){return me(B)?(c.exit(r),c.enter("lineEnding"),c.consume(B),c.exit("lineEnding"),u=Vd(e,"close"),o=0,c.attempt(s,C,T)):m(B)}function T(B){return B===null||me(B)?F(B):(c.enter(a),D(B))}function D(B){return B===null||me(B)?(c.exit(a),F(B)):(c.consume(B),D)}function F(B){return B===null?m(B):(c.enter("lineEnding"),c.consume(B),c.exit("lineEnding"),c.attempt(s,C,T))}function C(B){return c.exit(n),h(B)}}function d(c,h,m){let E=0;return v;function v(T){return T===u.charCodeAt(E)?(c.enter(r),c.enter(i),A(T)):m(T)}function A(T){return E===u.length?(c.exit(i),we(T)?(c.enter("whitespace"),b(T)):y(T)):T===u.charCodeAt(E++)?(c.consume(T),A):m(T)}function b(T){return we(T)?(c.consume(T),b):(c.exit("whitespace"),y(T))}function y(T){return T===null||me(T)?(c.exit(r),h(T)):m(T)}}}function Vd(e,t){return e.marker?tg(e.marker,t).repeat(3):tg(e.fence,t)}function tg(e,t){return typeof e=="string"?e:e[t]}function TC(e){const t=M1(e),n={},r={};let i=-1;for(;++i<t.length;){const a=t[i];n[a.type]=xC(a),r[a.type]=AC,r[a.type+"Value"]=wC}return{enter:n,exit:r}}function xC(e){return t;function t(n){this.enter({type:e.type,value:""},n),this.buffer()}}function AC(e){const t=this.resume(),n=this.stack[this.stack.length-1];this.exit(e),n.value=t.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,"")}function wC(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function SC(e){const t=[],n={},r=M1(e);let i=-1;for(;++i<r.length;){const a=r[i];n[a.type]=kC(a);const s=jd(a,"open");t.push({atBreak:!0,character:s.charAt(0),after:a6(s.charAt(1))})}return{unsafe:t,handlers:n}}function kC(e){const t=jd(e,"open"),n=jd(e,"close");return r;function r(i){return t+(i.value?`
|
|
428
|
+
`+i.value:"")+`
|
|
429
|
+
`+n}}function jd(e,t){return e.marker?ng(e.marker,t).repeat(3):ng(e.fence,t)}function ng(e,t){return typeof e=="string"?e:e[t]}const CC="yaml";function NC(e){const t=this,n=e||CC,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),a=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),s=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(vC(n)),a.push(TC(n)),s.push(SC(n))}const rg=/[#.]/g;function DC(e,t){const n=e||"",r={};let i=0,a,s;for(;i<n.length;){rg.lastIndex=i;const u=rg.exec(n),o=n.slice(i,u?u.index:n.length);o&&(a?a==="#"?r.id=o:Array.isArray(r.className)?r.className.push(o):r.className=[o]:s=o,i+=o.length),u&&(a=u[0],i++)}return{type:"element",tagName:s||t||"div",properties:r,children:[]}}function Db(e,t,n){const r=n?MC(n):void 0;function i(a,s,...u){let o;if(a==null){o={type:"root",children:[]};const l=s;u.unshift(l)}else{o=DC(a,t);const l=o.tagName.toLowerCase(),d=r?r.get(l):void 0;if(o.tagName=d||l,IC(s))u.unshift(s);else for(const[c,h]of Object.entries(s))OC(e,o.properties,c,h)}for(const l of u)Kd(o.children,l);return o.type==="element"&&o.tagName==="template"&&(o.content={type:"root",children:o.children},o.children=[]),o}return i}function IC(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 r of n){const i=t[r];if(i&&typeof i=="object"){if(!Array.isArray(i))return!0;const a=i;for(const s of a)if(typeof s!="number"&&typeof s!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function OC(e,t,n,r){const i=Ll(e,n);let a;if(r!=null){if(typeof r=="number"){if(Number.isNaN(r))return;a=r}else typeof r=="boolean"?a=r:typeof r=="string"?i.spaceSeparated?a=_m(r):i.commaSeparated?a=gm(r):i.commaOrSpaceSeparated?a=_m(gm(r).join(" ")):a=ig(i,i.property,r):Array.isArray(r)?a=[...r]:a=i.property==="style"?RC(r):String(r);if(Array.isArray(a)){const s=[];for(const u of a)s.push(ig(i,i.property,u));a=s}i.property==="className"&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[i.property]=a}}function Kd(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)Kd(e,n);else if(typeof t=="object"&&"type"in t)t.type==="root"?Kd(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function ig(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||iu(n)===iu(t)))return!0}return n}function RC(e){const t=[];for(const[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}function MC(e){const t=new Map;for(const n of e)t.set(n.toLowerCase(),n);return t}const LC=["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"],Ib=Db(yu,"div"),Ob=Db(bi,"g",LC);function FC(e){const t=String(e),n=[];return{toOffset:i,toPoint:r};function r(a){if(typeof a=="number"&&a>-1&&a<=t.length){let s=0;for(;;){let u=n[s];if(u===void 0){const o=ag(t,n[s-1]);u=o===-1?t.length+1:o+1,n[s]=u}if(u>a)return{line:s+1,column:a-(s>0?n[s-1]:0)+1,offset:a};s++}}}function i(a){if(a&&typeof a.line=="number"&&typeof a.column=="number"&&!Number.isNaN(a.line)&&!Number.isNaN(a.column)){for(;n.length<a.line;){const u=n[n.length-1],o=ag(t,u),l=o===-1?t.length+1:o+1;if(u===l)break;n.push(l)}const s=(a.line>1?n[a.line-2]:0)+a.column-1;if(s<n[a.line-1])return s}}}function ag(e,t){const n=e.indexOf("\r",t),r=e.indexOf(`
|
|
430
|
+
`,t);return r===-1?n:n===-1||n+1===r?r:n<r?n:r}const er={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/"},Rb={}.hasOwnProperty,PC=Object.prototype;function BC(e,t){const n=t||{};return L1({file:n.file||void 0,location:!1,schema:n.space==="svg"?bi:yu,verbose:n.verbose||!1},e)}function L1(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},Do(e,r,n),n}case"#document":case"#document-fragment":{const r=t,i="mode"in r?r.mode==="quirks"||r.mode==="limited-quirks":!1;if(n={type:"root",children:Mb(e,t.childNodes),data:{quirksMode:i}},e.file&&e.location){const a=String(e.file),s=FC(a),u=s.toPoint(0),o=s.toPoint(a.length);n.position={start:u,end:o}}return n}case"#documentType":{const r=t;return n={type:"doctype"},Do(e,r,n),n}case"#text":{const r=t;return n={type:"text",value:r.value},Do(e,r,n),n}default:return n=zC(e,t),n}}function Mb(e,t){let n=-1;const r=[];for(;++n<t.length;){const i=L1(e,t[n]);r.push(i)}return r}function zC(e,t){const n=e.schema;e.schema=t.namespaceURI===er.svg?bi:yu;let r=-1;const i={};for(;++r<t.attrs.length;){const u=t.attrs[r],o=(u.prefix?u.prefix+":":"")+u.name;Rb.call(PC,o)||(i[o]=u.value)}const s=(e.schema.space==="svg"?Ob:Ib)(t.tagName,i,Mb(e,t.childNodes));if(Do(e,t,s),s.tagName==="template"){const u=t,o=u.sourceCodeLocation,l=o&&o.startTag&&Ea(o.startTag),d=o&&o.endTag&&Ea(o.endTag),c=L1(e,u.content);l&&d&&e.file&&(c.position={start:l.end,end:d.start}),s.content=c}return e.schema=n,s}function Do(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=UC(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function UC(e,t,n){const r=Ea(n);if(t.type==="element"){const i=t.children[t.children.length-1];if(r&&!n.endTag&&i&&i.position&&i.position.end&&(r.end=Object.assign({},i.position.end)),e.verbose){const a={};let s;if(n.attrs)for(s in n.attrs)Rb.call(n.attrs,s)&&(a[Ll(e.schema,s).property]=Ea(n.attrs[s]));n.startTag;const u=Ea(n.startTag),o=n.endTag?Ea(n.endTag):void 0,l={opening:u};o&&(l.closing=o),l.properties=a,t.data={position:l}}}return r}function Ea(e){const t=sg({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=sg({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function sg(e){return e.line&&e.column?e:void 0}const HC={},$C={}.hasOwnProperty,Lb=c6("type",{handlers:{root:GC,element:KC,text:VC,comment:jC,doctype:WC}});function qC(e,t){const r=(t||HC).space;return Lb(e,r==="svg"?bi:yu)}function GC(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=F1(e.children,n,t),Xa(e,n),n}function YC(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=F1(e.children,n,t),Xa(e,n),n}function WC(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return Xa(e,t),t}function VC(e){const t={nodeName:"#text",value:e.value,parentNode:null};return Xa(e,t),t}function jC(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return Xa(e,t),t}function KC(e,t){const n=t;let r=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(r=bi);const i=[];let a;if(e.properties){for(a in e.properties)if(a!=="children"&&$C.call(e.properties,a)){const o=XC(r,a,e.properties[a]);o&&i.push(o)}}const s=r.space,u={nodeName:e.tagName,tagName:e.tagName,attrs:i,namespaceURI:er[s],childNodes:[],parentNode:null};return u.childNodes=F1(e.children,u,r),Xa(e,u),e.tagName==="template"&&e.content&&(u.content=YC(e.content,r)),u}function XC(e,t,n){const r=Ll(e,t);if(n===!1||n===null||n===void 0||typeof n=="number"&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?T3(n):D3(n));const i={name:r.attribute,value:n===!0?"":String(n)};if(r.space&&r.space!=="html"&&r.space!=="svg"){const a=i.name.indexOf(":");a<0?i.prefix="":(i.name=i.name.slice(a+1),i.prefix=r.attribute.slice(0,a)),i.namespace=er[r.space]}return i}function F1(e,t,n){let r=-1;const i=[];if(e)for(;++r<e.length;){const a=Lb(e[r],n);a.parentNode=t,i.push(a)}return i}function Xa(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 QC=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],ZC=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]),je="�";var w;(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"})(w||(w={}));const Vt={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function Fb(e){return e>=55296&&e<=57343}function JC(e){return e>=56320&&e<=57343}function eN(e,t){return(e-55296)*1024+9216+t}function Pb(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function Bb(e){return e>=64976&&e<=65007||ZC.has(e)}var G;(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"})(G||(G={}));const tN=65536;class nN{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=tN,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:r,col:i,offset:a}=this,s=i+n,u=a+n;return{code:t,startLine:r,endLine:r,startCol:s,endCol:s,startOffset:u,endOffset:u}}_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(JC(n))return this.pos++,this._addGap(),eN(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,w.EOF;return this._err(G.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 r=0;r<t.length;r++)if((this.html.charCodeAt(this.pos+r)|32)!==t.charCodeAt(r))return!1;return!0}peek(t){const n=this.pos+t;if(n>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,w.EOF;const r=this.html.charCodeAt(n);return r===w.CARRIAGE_RETURN?w.LINE_FEED:r}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,w.EOF;let t=this.html.charCodeAt(this.pos);return t===w.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,w.LINE_FEED):t===w.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,Fb(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===w.LINE_FEED||t===w.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){Pb(t)?this._err(G.controlCharacterInInputStream):Bb(t)&&this._err(G.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var Ce;(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"})(Ce||(Ce={}));function zb(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 rN=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))),iN=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 aN(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=iN.get(e))!==null&&t!==void 0?t:e}var vt;(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"})(vt||(vt={}));const sN=32;var Zr;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Zr||(Zr={}));function Xd(e){return e>=vt.ZERO&&e<=vt.NINE}function uN(e){return e>=vt.UPPER_A&&e<=vt.UPPER_F||e>=vt.LOWER_A&&e<=vt.LOWER_F}function oN(e){return e>=vt.UPPER_A&&e<=vt.UPPER_Z||e>=vt.LOWER_A&&e<=vt.LOWER_Z||Xd(e)}function lN(e){return e===vt.EQUALS||oN(e)}var Et;(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"})(Et||(Et={}));var pr;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(pr||(pr={}));class cN{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=Et.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=pr.Strict}startEntity(t){this.decodeMode=t,this.state=Et.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case Et.EntityStart:return t.charCodeAt(n)===vt.NUM?(this.state=Et.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=Et.NamedEntity,this.stateNamedEntity(t,n));case Et.NumericStart:return this.stateNumericStart(t,n);case Et.NumericDecimal:return this.stateNumericDecimal(t,n);case Et.NumericHex:return this.stateNumericHex(t,n);case Et.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|sN)===vt.LOWER_X?(this.state=Et.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=Et.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,i){if(n!==r){const a=r-n;this.result=this.result*Math.pow(i,a)+Number.parseInt(t.substr(n,a),i),this.consumed+=a}}stateNumericHex(t,n){const r=n;for(;n<t.length;){const i=t.charCodeAt(n);if(Xd(i)||uN(i))n+=1;else return this.addToNumericResult(t,r,n,16),this.emitNumericEntity(i,3)}return this.addToNumericResult(t,r,n,16),-1}stateNumericDecimal(t,n){const r=n;for(;n<t.length;){const i=t.charCodeAt(n);if(Xd(i))n+=1;else return this.addToNumericResult(t,r,n,10),this.emitNumericEntity(i,2)}return this.addToNumericResult(t,r,n,10),-1}emitNumericEntity(t,n){var r;if(this.consumed<=n)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===vt.SEMI)this.consumed+=1;else if(this.decodeMode===pr.Strict)return 0;return this.emitCodePoint(aN(this.result),this.consumed),this.errors&&(t!==vt.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:r}=this;let i=r[this.treeIndex],a=(i&Zr.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const s=t.charCodeAt(n);if(this.treeIndex=dN(r,i,this.treeIndex+Math.max(1,a),s),this.treeIndex<0)return this.result===0||this.decodeMode===pr.Attribute&&(a===0||lN(s))?0:this.emitNotTerminatedNamedEntity();if(i=r[this.treeIndex],a=(i&Zr.VALUE_LENGTH)>>14,a!==0){if(s===vt.SEMI)return this.emitNamedEntityData(this.treeIndex,a,this.consumed+this.excess);this.decodeMode!==pr.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:r}=this,i=(r[n]&Zr.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,i,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){const{decodeTree:i}=this;return this.emitCodePoint(n===1?i[t]&~Zr.VALUE_LENGTH:i[t+1],r),n===3&&this.emitCodePoint(i[t+2],r),r}end(){var t;switch(this.state){case Et.NamedEntity:return this.result!==0&&(this.decodeMode!==pr.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Et.NumericDecimal:return this.emitNumericEntity(0,2);case Et.NumericHex:return this.emitNumericEntity(0,3);case Et.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Et.EntityStart:return 0}}}function dN(e,t,n,r){const i=(t&Zr.BRANCH_LENGTH)>>7,a=t&Zr.JUMP_TABLE;if(i===0)return a!==0&&r===a?n:-1;if(a){const o=r-a;return o<0||o>=i?-1:e[n+o]-1}let s=n,u=s+i-1;for(;s<=u;){const o=s+u>>>1,l=e[o];if(l<r)s=o+1;else if(l>r)u=o-1;else return e[o+i]}return-1}var X;(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/"})(X||(X={}));var Pi;(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"})(Pi||(Pi={}));var xn;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(xn||(xn={}));var z;(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"})(z||(z={}));var f;(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"})(f||(f={}));const fN=new Map([[z.A,f.A],[z.ADDRESS,f.ADDRESS],[z.ANNOTATION_XML,f.ANNOTATION_XML],[z.APPLET,f.APPLET],[z.AREA,f.AREA],[z.ARTICLE,f.ARTICLE],[z.ASIDE,f.ASIDE],[z.B,f.B],[z.BASE,f.BASE],[z.BASEFONT,f.BASEFONT],[z.BGSOUND,f.BGSOUND],[z.BIG,f.BIG],[z.BLOCKQUOTE,f.BLOCKQUOTE],[z.BODY,f.BODY],[z.BR,f.BR],[z.BUTTON,f.BUTTON],[z.CAPTION,f.CAPTION],[z.CENTER,f.CENTER],[z.CODE,f.CODE],[z.COL,f.COL],[z.COLGROUP,f.COLGROUP],[z.DD,f.DD],[z.DESC,f.DESC],[z.DETAILS,f.DETAILS],[z.DIALOG,f.DIALOG],[z.DIR,f.DIR],[z.DIV,f.DIV],[z.DL,f.DL],[z.DT,f.DT],[z.EM,f.EM],[z.EMBED,f.EMBED],[z.FIELDSET,f.FIELDSET],[z.FIGCAPTION,f.FIGCAPTION],[z.FIGURE,f.FIGURE],[z.FONT,f.FONT],[z.FOOTER,f.FOOTER],[z.FOREIGN_OBJECT,f.FOREIGN_OBJECT],[z.FORM,f.FORM],[z.FRAME,f.FRAME],[z.FRAMESET,f.FRAMESET],[z.H1,f.H1],[z.H2,f.H2],[z.H3,f.H3],[z.H4,f.H4],[z.H5,f.H5],[z.H6,f.H6],[z.HEAD,f.HEAD],[z.HEADER,f.HEADER],[z.HGROUP,f.HGROUP],[z.HR,f.HR],[z.HTML,f.HTML],[z.I,f.I],[z.IMG,f.IMG],[z.IMAGE,f.IMAGE],[z.INPUT,f.INPUT],[z.IFRAME,f.IFRAME],[z.KEYGEN,f.KEYGEN],[z.LABEL,f.LABEL],[z.LI,f.LI],[z.LINK,f.LINK],[z.LISTING,f.LISTING],[z.MAIN,f.MAIN],[z.MALIGNMARK,f.MALIGNMARK],[z.MARQUEE,f.MARQUEE],[z.MATH,f.MATH],[z.MENU,f.MENU],[z.META,f.META],[z.MGLYPH,f.MGLYPH],[z.MI,f.MI],[z.MO,f.MO],[z.MN,f.MN],[z.MS,f.MS],[z.MTEXT,f.MTEXT],[z.NAV,f.NAV],[z.NOBR,f.NOBR],[z.NOFRAMES,f.NOFRAMES],[z.NOEMBED,f.NOEMBED],[z.NOSCRIPT,f.NOSCRIPT],[z.OBJECT,f.OBJECT],[z.OL,f.OL],[z.OPTGROUP,f.OPTGROUP],[z.OPTION,f.OPTION],[z.P,f.P],[z.PARAM,f.PARAM],[z.PLAINTEXT,f.PLAINTEXT],[z.PRE,f.PRE],[z.RB,f.RB],[z.RP,f.RP],[z.RT,f.RT],[z.RTC,f.RTC],[z.RUBY,f.RUBY],[z.S,f.S],[z.SCRIPT,f.SCRIPT],[z.SEARCH,f.SEARCH],[z.SECTION,f.SECTION],[z.SELECT,f.SELECT],[z.SOURCE,f.SOURCE],[z.SMALL,f.SMALL],[z.SPAN,f.SPAN],[z.STRIKE,f.STRIKE],[z.STRONG,f.STRONG],[z.STYLE,f.STYLE],[z.SUB,f.SUB],[z.SUMMARY,f.SUMMARY],[z.SUP,f.SUP],[z.TABLE,f.TABLE],[z.TBODY,f.TBODY],[z.TEMPLATE,f.TEMPLATE],[z.TEXTAREA,f.TEXTAREA],[z.TFOOT,f.TFOOT],[z.TD,f.TD],[z.TH,f.TH],[z.THEAD,f.THEAD],[z.TITLE,f.TITLE],[z.TR,f.TR],[z.TRACK,f.TRACK],[z.TT,f.TT],[z.U,f.U],[z.UL,f.UL],[z.SVG,f.SVG],[z.VAR,f.VAR],[z.WBR,f.WBR],[z.XMP,f.XMP]]);function Qa(e){var t;return(t=fN.get(e))!==null&&t!==void 0?t:f.UNKNOWN}const J=f,hN={[X.HTML]:new Set([J.ADDRESS,J.APPLET,J.AREA,J.ARTICLE,J.ASIDE,J.BASE,J.BASEFONT,J.BGSOUND,J.BLOCKQUOTE,J.BODY,J.BR,J.BUTTON,J.CAPTION,J.CENTER,J.COL,J.COLGROUP,J.DD,J.DETAILS,J.DIR,J.DIV,J.DL,J.DT,J.EMBED,J.FIELDSET,J.FIGCAPTION,J.FIGURE,J.FOOTER,J.FORM,J.FRAME,J.FRAMESET,J.H1,J.H2,J.H3,J.H4,J.H5,J.H6,J.HEAD,J.HEADER,J.HGROUP,J.HR,J.HTML,J.IFRAME,J.IMG,J.INPUT,J.LI,J.LINK,J.LISTING,J.MAIN,J.MARQUEE,J.MENU,J.META,J.NAV,J.NOEMBED,J.NOFRAMES,J.NOSCRIPT,J.OBJECT,J.OL,J.P,J.PARAM,J.PLAINTEXT,J.PRE,J.SCRIPT,J.SECTION,J.SELECT,J.SOURCE,J.STYLE,J.SUMMARY,J.TABLE,J.TBODY,J.TD,J.TEMPLATE,J.TEXTAREA,J.TFOOT,J.TH,J.THEAD,J.TITLE,J.TR,J.TRACK,J.UL,J.WBR,J.XMP]),[X.MATHML]:new Set([J.MI,J.MO,J.MN,J.MS,J.MTEXT,J.ANNOTATION_XML]),[X.SVG]:new Set([J.TITLE,J.FOREIGN_OBJECT,J.DESC]),[X.XLINK]:new Set,[X.XML]:new Set,[X.XMLNS]:new Set},Qd=new Set([J.H1,J.H2,J.H3,J.H4,J.H5,J.H6]);z.STYLE,z.SCRIPT,z.XMP,z.IFRAME,z.NOEMBED,z.NOFRAMES,z.PLAINTEXT;var k;(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"})(k||(k={}));const ot={DATA:k.DATA,RCDATA:k.RCDATA,RAWTEXT:k.RAWTEXT,SCRIPT_DATA:k.SCRIPT_DATA,PLAINTEXT:k.PLAINTEXT,CDATA_SECTION:k.CDATA_SECTION};function mN(e){return e>=w.DIGIT_0&&e<=w.DIGIT_9}function _s(e){return e>=w.LATIN_CAPITAL_A&&e<=w.LATIN_CAPITAL_Z}function pN(e){return e>=w.LATIN_SMALL_A&&e<=w.LATIN_SMALL_Z}function Hr(e){return pN(e)||_s(e)}function ug(e){return Hr(e)||mN(e)}function ao(e){return e+32}function Ub(e){return e===w.SPACE||e===w.LINE_FEED||e===w.TABULATION||e===w.FORM_FEED}function og(e){return Ub(e)||e===w.SOLIDUS||e===w.GREATER_THAN_SIGN}function gN(e){return e===w.NULL?G.nullCharacterReference:e>1114111?G.characterReferenceOutsideUnicodeRange:Fb(e)?G.surrogateCharacterReference:Bb(e)?G.noncharacterCharacterReference:Pb(e)||e===w.CARRIAGE_RETURN?G.controlCharacterReference:null}class bN{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=k.DATA,this.returnState=k.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new nN(n),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new cN(rN,(r,i)=>{this.preprocessor.pos=this.entityStartPos+i-1,this._flushCodePointConsumedAsCharacterReference(r)},n.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(G.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:r=>{this._err(G.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+r)},validateNumericCharacterReference:r=>{const i=gN(r);i&&this._err(i,1)}}:void 0)}_err(t,n=0){var r,i;(i=(r=this.handler).onParseError)===null||i===void 0||i.call(r,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,r){this.active=!0,this.preprocessor.write(t,n),this._runParsingLoop(),this.paused||r==null||r()}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:Ce.START_TAG,tagName:"",tagID:f.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:Ce.END_TAG,tagName:"",tagID:f.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:Ce.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:Ce.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 r=this.currentToken;if(zb(r,this.currentAttr.name)===null){if(r.attrs.push(this.currentAttr),r.location&&this.currentLocation){const i=(t=(n=r.location).attrs)!==null&&t!==void 0?t:n.attrs=Object.create(null);i[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(G.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=Qa(t.tagName),t.type===Ce.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(G.endTagWithAttributes),t.selfClosing&&this._err(G.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 Ce.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case Ce.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case Ce.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:Ce.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=Ub(t)?Ce.WHITESPACE_CHARACTER:t===w.NULL?Ce.NULL_CHARACTER:Ce.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(Ce.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=k.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?pr.Attribute:pr.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===k.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===k.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===k.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case k.DATA:{this._stateData(t);break}case k.RCDATA:{this._stateRcdata(t);break}case k.RAWTEXT:{this._stateRawtext(t);break}case k.SCRIPT_DATA:{this._stateScriptData(t);break}case k.PLAINTEXT:{this._statePlaintext(t);break}case k.TAG_OPEN:{this._stateTagOpen(t);break}case k.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case k.TAG_NAME:{this._stateTagName(t);break}case k.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case k.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case k.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case k.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case k.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case k.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case k.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case k.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case k.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case k.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case k.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case k.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case k.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case k.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case k.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case k.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case k.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case k.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case k.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case k.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case k.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case k.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case k.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case k.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case k.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case k.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case k.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case k.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case k.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case k.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case k.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case k.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case k.BOGUS_COMMENT:{this._stateBogusComment(t);break}case k.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case k.COMMENT_START:{this._stateCommentStart(t);break}case k.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case k.COMMENT:{this._stateComment(t);break}case k.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case k.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case k.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case k.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case k.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case k.COMMENT_END:{this._stateCommentEnd(t);break}case k.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case k.DOCTYPE:{this._stateDoctype(t);break}case k.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case k.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case k.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case k.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case k.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case k.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case k.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case k.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case k.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case k.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case k.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case k.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case k.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case k.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case k.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case k.CDATA_SECTION:{this._stateCdataSection(t);break}case k.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case k.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case k.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case k.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case w.LESS_THAN_SIGN:{this.state=k.TAG_OPEN;break}case w.AMPERSAND:{this._startCharacterReference();break}case w.NULL:{this._err(G.unexpectedNullCharacter),this._emitCodePoint(t);break}case w.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case w.AMPERSAND:{this._startCharacterReference();break}case w.LESS_THAN_SIGN:{this.state=k.RCDATA_LESS_THAN_SIGN;break}case w.NULL:{this._err(G.unexpectedNullCharacter),this._emitChars(je);break}case w.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case w.LESS_THAN_SIGN:{this.state=k.RAWTEXT_LESS_THAN_SIGN;break}case w.NULL:{this._err(G.unexpectedNullCharacter),this._emitChars(je);break}case w.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case w.LESS_THAN_SIGN:{this.state=k.SCRIPT_DATA_LESS_THAN_SIGN;break}case w.NULL:{this._err(G.unexpectedNullCharacter),this._emitChars(je);break}case w.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case w.NULL:{this._err(G.unexpectedNullCharacter),this._emitChars(je);break}case w.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(Hr(t))this._createStartTagToken(),this.state=k.TAG_NAME,this._stateTagName(t);else switch(t){case w.EXCLAMATION_MARK:{this.state=k.MARKUP_DECLARATION_OPEN;break}case w.SOLIDUS:{this.state=k.END_TAG_OPEN;break}case w.QUESTION_MARK:{this._err(G.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=k.BOGUS_COMMENT,this._stateBogusComment(t);break}case w.EOF:{this._err(G.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(G.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=k.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(Hr(t))this._createEndTagToken(),this.state=k.TAG_NAME,this._stateTagName(t);else switch(t){case w.GREATER_THAN_SIGN:{this._err(G.missingEndTagName),this.state=k.DATA;break}case w.EOF:{this._err(G.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(G.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=k.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const n=this.currentToken;switch(t){case w.SPACE:case w.LINE_FEED:case w.TABULATION:case w.FORM_FEED:{this.state=k.BEFORE_ATTRIBUTE_NAME;break}case w.SOLIDUS:{this.state=k.SELF_CLOSING_START_TAG;break}case w.GREATER_THAN_SIGN:{this.state=k.DATA,this.emitCurrentTagToken();break}case w.NULL:{this._err(G.unexpectedNullCharacter),n.tagName+=je;break}case w.EOF:{this._err(G.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(_s(t)?ao(t):t)}}_stateRcdataLessThanSign(t){t===w.SOLIDUS?this.state=k.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=k.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){Hr(t)?(this.state=k.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=k.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 w.SPACE:case w.LINE_FEED:case w.TABULATION:case w.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=k.BEFORE_ATTRIBUTE_NAME,!1;case w.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=k.SELF_CLOSING_START_TAG,!1;case w.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=k.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=k.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===w.SOLIDUS?this.state=k.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=k.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){Hr(t)?(this.state=k.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=k.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=k.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case w.SOLIDUS:{this.state=k.SCRIPT_DATA_END_TAG_OPEN;break}case w.EXCLAMATION_MARK:{this.state=k.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=k.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){Hr(t)?(this.state=k.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=k.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=k.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===w.HYPHEN_MINUS?(this.state=k.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=k.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===w.HYPHEN_MINUS?(this.state=k.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=k.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case w.HYPHEN_MINUS:{this.state=k.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case w.LESS_THAN_SIGN:{this.state=k.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case w.NULL:{this._err(G.unexpectedNullCharacter),this._emitChars(je);break}case w.EOF:{this._err(G.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case w.HYPHEN_MINUS:{this.state=k.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case w.LESS_THAN_SIGN:{this.state=k.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case w.NULL:{this._err(G.unexpectedNullCharacter),this.state=k.SCRIPT_DATA_ESCAPED,this._emitChars(je);break}case w.EOF:{this._err(G.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=k.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case w.HYPHEN_MINUS:{this._emitChars("-");break}case w.LESS_THAN_SIGN:{this.state=k.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case w.GREATER_THAN_SIGN:{this.state=k.SCRIPT_DATA,this._emitChars(">");break}case w.NULL:{this._err(G.unexpectedNullCharacter),this.state=k.SCRIPT_DATA_ESCAPED,this._emitChars(je);break}case w.EOF:{this._err(G.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=k.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===w.SOLIDUS?this.state=k.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Hr(t)?(this._emitChars("<"),this.state=k.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=k.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){Hr(t)?(this.state=k.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=k.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=k.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(Vt.SCRIPT,!1)&&og(this.preprocessor.peek(Vt.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<Vt.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=k.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=k.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case w.HYPHEN_MINUS:{this.state=k.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case w.LESS_THAN_SIGN:{this.state=k.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case w.NULL:{this._err(G.unexpectedNullCharacter),this._emitChars(je);break}case w.EOF:{this._err(G.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case w.HYPHEN_MINUS:{this.state=k.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case w.LESS_THAN_SIGN:{this.state=k.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case w.NULL:{this._err(G.unexpectedNullCharacter),this.state=k.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(je);break}case w.EOF:{this._err(G.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=k.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case w.HYPHEN_MINUS:{this._emitChars("-");break}case w.LESS_THAN_SIGN:{this.state=k.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case w.GREATER_THAN_SIGN:{this.state=k.SCRIPT_DATA,this._emitChars(">");break}case w.NULL:{this._err(G.unexpectedNullCharacter),this.state=k.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(je);break}case w.EOF:{this._err(G.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=k.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===w.SOLIDUS?(this.state=k.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=k.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(Vt.SCRIPT,!1)&&og(this.preprocessor.peek(Vt.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<Vt.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=k.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=k.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case w.SPACE:case w.LINE_FEED:case w.TABULATION:case w.FORM_FEED:break;case w.SOLIDUS:case w.GREATER_THAN_SIGN:case w.EOF:{this.state=k.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case w.EQUALS_SIGN:{this._err(G.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=k.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=k.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case w.SPACE:case w.LINE_FEED:case w.TABULATION:case w.FORM_FEED:case w.SOLIDUS:case w.GREATER_THAN_SIGN:case w.EOF:{this._leaveAttrName(),this.state=k.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case w.EQUALS_SIGN:{this._leaveAttrName(),this.state=k.BEFORE_ATTRIBUTE_VALUE;break}case w.QUOTATION_MARK:case w.APOSTROPHE:case w.LESS_THAN_SIGN:{this._err(G.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case w.NULL:{this._err(G.unexpectedNullCharacter),this.currentAttr.name+=je;break}default:this.currentAttr.name+=String.fromCodePoint(_s(t)?ao(t):t)}}_stateAfterAttributeName(t){switch(t){case w.SPACE:case w.LINE_FEED:case w.TABULATION:case w.FORM_FEED:break;case w.SOLIDUS:{this.state=k.SELF_CLOSING_START_TAG;break}case w.EQUALS_SIGN:{this.state=k.BEFORE_ATTRIBUTE_VALUE;break}case w.GREATER_THAN_SIGN:{this.state=k.DATA,this.emitCurrentTagToken();break}case w.EOF:{this._err(G.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=k.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case w.SPACE:case w.LINE_FEED:case w.TABULATION:case w.FORM_FEED:break;case w.QUOTATION_MARK:{this.state=k.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case w.APOSTROPHE:{this.state=k.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case w.GREATER_THAN_SIGN:{this._err(G.missingAttributeValue),this.state=k.DATA,this.emitCurrentTagToken();break}default:this.state=k.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case w.QUOTATION_MARK:{this.state=k.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case w.AMPERSAND:{this._startCharacterReference();break}case w.NULL:{this._err(G.unexpectedNullCharacter),this.currentAttr.value+=je;break}case w.EOF:{this._err(G.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case w.APOSTROPHE:{this.state=k.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case w.AMPERSAND:{this._startCharacterReference();break}case w.NULL:{this._err(G.unexpectedNullCharacter),this.currentAttr.value+=je;break}case w.EOF:{this._err(G.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case w.SPACE:case w.LINE_FEED:case w.TABULATION:case w.FORM_FEED:{this._leaveAttrValue(),this.state=k.BEFORE_ATTRIBUTE_NAME;break}case w.AMPERSAND:{this._startCharacterReference();break}case w.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=k.DATA,this.emitCurrentTagToken();break}case w.NULL:{this._err(G.unexpectedNullCharacter),this.currentAttr.value+=je;break}case w.QUOTATION_MARK:case w.APOSTROPHE:case w.LESS_THAN_SIGN:case w.EQUALS_SIGN:case w.GRAVE_ACCENT:{this._err(G.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case w.EOF:{this._err(G.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case w.SPACE:case w.LINE_FEED:case w.TABULATION:case w.FORM_FEED:{this._leaveAttrValue(),this.state=k.BEFORE_ATTRIBUTE_NAME;break}case w.SOLIDUS:{this._leaveAttrValue(),this.state=k.SELF_CLOSING_START_TAG;break}case w.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=k.DATA,this.emitCurrentTagToken();break}case w.EOF:{this._err(G.eofInTag),this._emitEOFToken();break}default:this._err(G.missingWhitespaceBetweenAttributes),this.state=k.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case w.GREATER_THAN_SIGN:{const n=this.currentToken;n.selfClosing=!0,this.state=k.DATA,this.emitCurrentTagToken();break}case w.EOF:{this._err(G.eofInTag),this._emitEOFToken();break}default:this._err(G.unexpectedSolidusInTag),this.state=k.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const n=this.currentToken;switch(t){case w.GREATER_THAN_SIGN:{this.state=k.DATA,this.emitCurrentComment(n);break}case w.EOF:{this.emitCurrentComment(n),this._emitEOFToken();break}case w.NULL:{this._err(G.unexpectedNullCharacter),n.data+=je;break}default:n.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(Vt.DASH_DASH,!0)?(this._createCommentToken(Vt.DASH_DASH.length+1),this.state=k.COMMENT_START):this._consumeSequenceIfMatch(Vt.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(Vt.DOCTYPE.length+1),this.state=k.DOCTYPE):this._consumeSequenceIfMatch(Vt.CDATA_START,!0)?this.inForeignNode?this.state=k.CDATA_SECTION:(this._err(G.cdataInHtmlContent),this._createCommentToken(Vt.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=k.BOGUS_COMMENT):this._ensureHibernation()||(this._err(G.incorrectlyOpenedComment),this._createCommentToken(2),this.state=k.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case w.HYPHEN_MINUS:{this.state=k.COMMENT_START_DASH;break}case w.GREATER_THAN_SIGN:{this._err(G.abruptClosingOfEmptyComment),this.state=k.DATA;const n=this.currentToken;this.emitCurrentComment(n);break}default:this.state=k.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const n=this.currentToken;switch(t){case w.HYPHEN_MINUS:{this.state=k.COMMENT_END;break}case w.GREATER_THAN_SIGN:{this._err(G.abruptClosingOfEmptyComment),this.state=k.DATA,this.emitCurrentComment(n);break}case w.EOF:{this._err(G.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=k.COMMENT,this._stateComment(t)}}_stateComment(t){const n=this.currentToken;switch(t){case w.HYPHEN_MINUS:{this.state=k.COMMENT_END_DASH;break}case w.LESS_THAN_SIGN:{n.data+="<",this.state=k.COMMENT_LESS_THAN_SIGN;break}case w.NULL:{this._err(G.unexpectedNullCharacter),n.data+=je;break}case w.EOF:{this._err(G.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const n=this.currentToken;switch(t){case w.EXCLAMATION_MARK:{n.data+="!",this.state=k.COMMENT_LESS_THAN_SIGN_BANG;break}case w.LESS_THAN_SIGN:{n.data+="<";break}default:this.state=k.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===w.HYPHEN_MINUS?this.state=k.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=k.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===w.HYPHEN_MINUS?this.state=k.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=k.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==w.GREATER_THAN_SIGN&&t!==w.EOF&&this._err(G.nestedComment),this.state=k.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const n=this.currentToken;switch(t){case w.HYPHEN_MINUS:{this.state=k.COMMENT_END;break}case w.EOF:{this._err(G.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=k.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const n=this.currentToken;switch(t){case w.GREATER_THAN_SIGN:{this.state=k.DATA,this.emitCurrentComment(n);break}case w.EXCLAMATION_MARK:{this.state=k.COMMENT_END_BANG;break}case w.HYPHEN_MINUS:{n.data+="-";break}case w.EOF:{this._err(G.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--",this.state=k.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const n=this.currentToken;switch(t){case w.HYPHEN_MINUS:{n.data+="--!",this.state=k.COMMENT_END_DASH;break}case w.GREATER_THAN_SIGN:{this._err(G.incorrectlyClosedComment),this.state=k.DATA,this.emitCurrentComment(n);break}case w.EOF:{this._err(G.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--!",this.state=k.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case w.SPACE:case w.LINE_FEED:case w.TABULATION:case w.FORM_FEED:{this.state=k.BEFORE_DOCTYPE_NAME;break}case w.GREATER_THAN_SIGN:{this.state=k.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case w.EOF:{this._err(G.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(G.missingWhitespaceBeforeDoctypeName),this.state=k.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(_s(t))this._createDoctypeToken(String.fromCharCode(ao(t))),this.state=k.DOCTYPE_NAME;else switch(t){case w.SPACE:case w.LINE_FEED:case w.TABULATION:case w.FORM_FEED:break;case w.NULL:{this._err(G.unexpectedNullCharacter),this._createDoctypeToken(je),this.state=k.DOCTYPE_NAME;break}case w.GREATER_THAN_SIGN:{this._err(G.missingDoctypeName),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=k.DATA;break}case w.EOF:{this._err(G.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=k.DOCTYPE_NAME}}_stateDoctypeName(t){const n=this.currentToken;switch(t){case w.SPACE:case w.LINE_FEED:case w.TABULATION:case w.FORM_FEED:{this.state=k.AFTER_DOCTYPE_NAME;break}case w.GREATER_THAN_SIGN:{this.state=k.DATA,this.emitCurrentDoctype(n);break}case w.NULL:{this._err(G.unexpectedNullCharacter),n.name+=je;break}case w.EOF:{this._err(G.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.name+=String.fromCodePoint(_s(t)?ao(t):t)}}_stateAfterDoctypeName(t){const n=this.currentToken;switch(t){case w.SPACE:case w.LINE_FEED:case w.TABULATION:case w.FORM_FEED:break;case w.GREATER_THAN_SIGN:{this.state=k.DATA,this.emitCurrentDoctype(n);break}case w.EOF:{this._err(G.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(Vt.PUBLIC,!1)?this.state=k.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(Vt.SYSTEM,!1)?this.state=k.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(G.invalidCharacterSequenceAfterDoctypeName),n.forceQuirks=!0,this.state=k.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const n=this.currentToken;switch(t){case w.SPACE:case w.LINE_FEED:case w.TABULATION:case w.FORM_FEED:{this.state=k.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case w.QUOTATION_MARK:{this._err(G.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=k.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case w.APOSTROPHE:{this._err(G.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=k.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case w.GREATER_THAN_SIGN:{this._err(G.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=k.DATA,this.emitCurrentDoctype(n);break}case w.EOF:{this._err(G.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(G.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=k.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case w.SPACE:case w.LINE_FEED:case w.TABULATION:case w.FORM_FEED:break;case w.QUOTATION_MARK:{n.publicId="",this.state=k.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case w.APOSTROPHE:{n.publicId="",this.state=k.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case w.GREATER_THAN_SIGN:{this._err(G.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=k.DATA,this.emitCurrentDoctype(n);break}case w.EOF:{this._err(G.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(G.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=k.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case w.QUOTATION_MARK:{this.state=k.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case w.NULL:{this._err(G.unexpectedNullCharacter),n.publicId+=je;break}case w.GREATER_THAN_SIGN:{this._err(G.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=k.DATA;break}case w.EOF:{this._err(G.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 w.APOSTROPHE:{this.state=k.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case w.NULL:{this._err(G.unexpectedNullCharacter),n.publicId+=je;break}case w.GREATER_THAN_SIGN:{this._err(G.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=k.DATA;break}case w.EOF:{this._err(G.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 w.SPACE:case w.LINE_FEED:case w.TABULATION:case w.FORM_FEED:{this.state=k.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case w.GREATER_THAN_SIGN:{this.state=k.DATA,this.emitCurrentDoctype(n);break}case w.QUOTATION_MARK:{this._err(G.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=k.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case w.APOSTROPHE:{this._err(G.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=k.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case w.EOF:{this._err(G.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(G.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=k.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const n=this.currentToken;switch(t){case w.SPACE:case w.LINE_FEED:case w.TABULATION:case w.FORM_FEED:break;case w.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=k.DATA;break}case w.QUOTATION_MARK:{n.systemId="",this.state=k.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case w.APOSTROPHE:{n.systemId="",this.state=k.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case w.EOF:{this._err(G.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(G.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=k.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const n=this.currentToken;switch(t){case w.SPACE:case w.LINE_FEED:case w.TABULATION:case w.FORM_FEED:{this.state=k.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case w.QUOTATION_MARK:{this._err(G.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=k.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case w.APOSTROPHE:{this._err(G.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=k.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case w.GREATER_THAN_SIGN:{this._err(G.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=k.DATA,this.emitCurrentDoctype(n);break}case w.EOF:{this._err(G.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(G.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=k.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case w.SPACE:case w.LINE_FEED:case w.TABULATION:case w.FORM_FEED:break;case w.QUOTATION_MARK:{n.systemId="",this.state=k.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case w.APOSTROPHE:{n.systemId="",this.state=k.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case w.GREATER_THAN_SIGN:{this._err(G.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=k.DATA,this.emitCurrentDoctype(n);break}case w.EOF:{this._err(G.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(G.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=k.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case w.QUOTATION_MARK:{this.state=k.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case w.NULL:{this._err(G.unexpectedNullCharacter),n.systemId+=je;break}case w.GREATER_THAN_SIGN:{this._err(G.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=k.DATA;break}case w.EOF:{this._err(G.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 w.APOSTROPHE:{this.state=k.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case w.NULL:{this._err(G.unexpectedNullCharacter),n.systemId+=je;break}case w.GREATER_THAN_SIGN:{this._err(G.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=k.DATA;break}case w.EOF:{this._err(G.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 w.SPACE:case w.LINE_FEED:case w.TABULATION:case w.FORM_FEED:break;case w.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=k.DATA;break}case w.EOF:{this._err(G.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(G.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=k.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const n=this.currentToken;switch(t){case w.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=k.DATA;break}case w.NULL:{this._err(G.unexpectedNullCharacter);break}case w.EOF:{this.emitCurrentDoctype(n),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case w.RIGHT_SQUARE_BRACKET:{this.state=k.CDATA_SECTION_BRACKET;break}case w.EOF:{this._err(G.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===w.RIGHT_SQUARE_BRACKET?this.state=k.CDATA_SECTION_END:(this._emitChars("]"),this.state=k.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case w.GREATER_THAN_SIGN:{this.state=k.DATA;break}case w.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=k.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(w.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&ug(this.preprocessor.peek(1))?k.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){ug(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===w.SEMICOLON&&this._err(G.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const Hb=new Set([f.DD,f.DT,f.LI,f.OPTGROUP,f.OPTION,f.P,f.RB,f.RP,f.RT,f.RTC]),lg=new Set([...Hb,f.CAPTION,f.COLGROUP,f.TBODY,f.TD,f.TFOOT,f.TH,f.THEAD,f.TR]),dl=new Set([f.APPLET,f.CAPTION,f.HTML,f.MARQUEE,f.OBJECT,f.TABLE,f.TD,f.TEMPLATE,f.TH]),EN=new Set([...dl,f.OL,f.UL]),yN=new Set([...dl,f.BUTTON]),cg=new Set([f.ANNOTATION_XML,f.MI,f.MN,f.MO,f.MS,f.MTEXT]),dg=new Set([f.DESC,f.FOREIGN_OBJECT,f.TITLE]),vN=new Set([f.TR,f.TEMPLATE,f.HTML]),_N=new Set([f.TBODY,f.TFOOT,f.THEAD,f.TEMPLATE,f.HTML]),TN=new Set([f.TABLE,f.TEMPLATE,f.HTML]),xN=new Set([f.TD,f.TH]);class AN{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,n,r){this.treeAdapter=n,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=f.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===f.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===X.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 r=this._indexOf(t);this.items[r]=n,r===this.stackTop&&(this.current=n)}insertAfter(t,n,r){const i=this._indexOf(t)+1;this.items.splice(i,0,n),this.tagIDs.splice(i,0,r),this.stackTop++,i===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,i===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])!==X.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 r=this._indexOfTagNames(t,n);this.shortenToLength(Math.max(r,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(Qd,X.HTML)}popUntilTableCellPopped(){this.popUntilPopped(xN,X.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,n){for(let r=this.stackTop;r>=0;r--)if(t.has(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===n)return r;return-1}clearBackTo(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(TN,X.HTML)}clearBackToTableBodyContext(){this.clearBackTo(_N,X.HTML)}clearBackToTableRowContext(){this.clearBackTo(vN,X.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]===f.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]===f.HTML}hasInDynamicScope(t,n){for(let r=this.stackTop;r>=0;r--){const i=this.tagIDs[r];switch(this.treeAdapter.getNamespaceURI(this.items[r])){case X.HTML:{if(i===t)return!0;if(n.has(i))return!1;break}case X.SVG:{if(dg.has(i))return!1;break}case X.MATHML:{if(cg.has(i))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,dl)}hasInListItemScope(t){return this.hasInDynamicScope(t,EN)}hasInButtonScope(t){return this.hasInDynamicScope(t,yN)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case X.HTML:{if(Qd.has(n))return!0;if(dl.has(n))return!1;break}case X.SVG:{if(dg.has(n))return!1;break}case X.MATHML:{if(cg.has(n))return!1;break}}}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===X.HTML)switch(this.tagIDs[n]){case t:return!0;case f.TABLE:case f.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===X.HTML)switch(this.tagIDs[t]){case f.TBODY:case f.THEAD:case f.TFOOT:return!0;case f.TABLE:case f.HTML:return!1}return!0}hasInSelectScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===X.HTML)switch(this.tagIDs[n]){case t:return!0;case f.OPTION:case f.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&Hb.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&lg.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&lg.has(this.currentTagId);)this.pop()}}const mc=3;var Qn;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(Qn||(Qn={}));const fg={type:Qn.Marker};class wN{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,n){const r=[],i=n.length,a=this.treeAdapter.getTagName(t),s=this.treeAdapter.getNamespaceURI(t);for(let u=0;u<this.entries.length;u++){const o=this.entries[u];if(o.type===Qn.Marker)break;const{element:l}=o;if(this.treeAdapter.getTagName(l)===a&&this.treeAdapter.getNamespaceURI(l)===s){const d=this.treeAdapter.getAttrList(l);d.length===i&&r.push({idx:u,attrs:d})}}return r}_ensureNoahArkCondition(t){if(this.entries.length<mc)return;const n=this.treeAdapter.getAttrList(t),r=this._getNoahArkConditionCandidates(t,n);if(r.length<mc)return;const i=new Map(n.map(s=>[s.name,s.value]));let a=0;for(let s=0;s<r.length;s++){const u=r[s];u.attrs.every(o=>i.get(o.name)===o.value)&&(a+=1,a>=mc&&this.entries.splice(u.idx,1))}}insertMarker(){this.entries.unshift(fg)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:Qn.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:Qn.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(fg);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){const n=this.entries.find(r=>r.type===Qn.Marker||this.treeAdapter.getTagName(r.element)===t);return n&&n.type===Qn.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===Qn.Element&&n.element===t)}}const $r={createDocument(){return{nodeName:"#document",mode:xn.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 r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,r){const i=e.childNodes.find(a=>a.nodeName==="#documentType");if(i)i.name=t,i.publicId=n,i.systemId=r;else{const a={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};$r.appendChild(e,a)}},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($r.isTextNode(n)){n.value+=t;return}}$r.appendChild(e,$r.createTextNode(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&$r.isTextNode(r)?r.value+=t:$r.insertBefore(e,$r.createTextNode(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map(r=>r.name));for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},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}}},$b="html",SN="about:legacy-compat",kN="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",qb=["+//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//"],CN=[...qb,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],NN=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),Gb=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],DN=[...Gb,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function hg(e,t){return t.some(n=>e.startsWith(n))}function IN(e){return e.name===$b&&e.publicId===null&&(e.systemId===null||e.systemId===SN)}function ON(e){if(e.name!==$b)return xn.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===kN)return xn.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),NN.has(n))return xn.QUIRKS;let r=t===null?CN:qb;if(hg(n,r))return xn.QUIRKS;if(r=t===null?Gb:DN,hg(n,r))return xn.LIMITED_QUIRKS}return xn.NO_QUIRKS}const mg={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},RN="definitionurl",MN="definitionURL",LN=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])),FN=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:X.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:X.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:X.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:X.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:X.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:X.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:X.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:X.XML}],["xml:space",{prefix:"xml",name:"space",namespace:X.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:X.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:X.XMLNS}]]),PN=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])),BN=new Set([f.B,f.BIG,f.BLOCKQUOTE,f.BODY,f.BR,f.CENTER,f.CODE,f.DD,f.DIV,f.DL,f.DT,f.EM,f.EMBED,f.H1,f.H2,f.H3,f.H4,f.H5,f.H6,f.HEAD,f.HR,f.I,f.IMG,f.LI,f.LISTING,f.MENU,f.META,f.NOBR,f.OL,f.P,f.PRE,f.RUBY,f.S,f.SMALL,f.SPAN,f.STRONG,f.STRIKE,f.SUB,f.SUP,f.TABLE,f.TT,f.U,f.UL,f.VAR]);function zN(e){const t=e.tagID;return t===f.FONT&&e.attrs.some(({name:r})=>r===Pi.COLOR||r===Pi.SIZE||r===Pi.FACE)||BN.has(t)}function Yb(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===RN){e.attrs[t].name=MN;break}}function Wb(e){for(let t=0;t<e.attrs.length;t++){const n=LN.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function P1(e){for(let t=0;t<e.attrs.length;t++){const n=FN.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 UN(e){const t=PN.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=Qa(e.tagName))}function HN(e,t){return t===X.MATHML&&(e===f.MI||e===f.MO||e===f.MN||e===f.MS||e===f.MTEXT)}function $N(e,t,n){if(t===X.MATHML&&e===f.ANNOTATION_XML){for(let r=0;r<n.length;r++)if(n[r].name===Pi.ENCODING){const i=n[r].value.toLowerCase();return i===mg.TEXT_HTML||i===mg.APPLICATION_XML}}return t===X.SVG&&(e===f.FOREIGN_OBJECT||e===f.DESC||e===f.TITLE)}function qN(e,t,n,r){return(!r||r===X.HTML)&&$N(e,t,n)||(!r||r===X.MATHML)&&HN(e,t)}const GN="hidden",YN=8,WN=3;var O;(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"})(O||(O={}));const VN={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},Vb=new Set([f.TABLE,f.TBODY,f.TFOOT,f.THEAD,f.TR]),pg={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:$r,onParseError:null};class gg{constructor(t,n,r=null,i=null){this.fragmentContext=r,this.scriptHandler=i,this.currentToken=null,this.stopped=!1,this.insertionMode=O.INITIAL,this.originalInsertionMode=O.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={...pg,...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 bN(this.options,this),this.activeFormattingElements=new wN(this.treeAdapter),this.fragmentContextID=r?Qa(this.treeAdapter.getTagName(r)):f.UNKNOWN,this._setContextModes(r??this.document,this.fragmentContextID),this.openElements=new AN(this.document,this.treeAdapter,this)}static parse(t,n){const r=new this(n);return r.tokenizer.write(t,!0),r.document}static getFragmentParser(t,n){const r={...pg,...n};t??(t=r.treeAdapter.createElement(z.TEMPLATE,X.HTML,[]));const i=r.treeAdapter.createElement("documentmock",X.HTML,[]),a=new this(r,i,t);return a.fragmentContextID===f.TEMPLATE&&a.tmplInsertionModeStack.unshift(O.IN_TEMPLATE),a._initTokenizerForFragmentParsing(),a._insertFakeRootElement(),a._resetInsertionMode(),a._findFormInFragmentContext(),a}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),n=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,n),n}_err(t,n,r){var i;if(!this.onParseError)return;const a=(i=t.location)!==null&&i!==void 0?i:VN,s={code:n,startLine:a.startLine,startCol:a.startCol,startOffset:a.startOffset,endLine:r?a.startLine:a.endLine,endCol:r?a.startCol:a.endCol,endOffset:r?a.startOffset:a.endOffset};this.onParseError(s)}onItemPush(t,n,r){var i,a;(a=(i=this.treeAdapter).onItemPush)===null||a===void 0||a.call(i,t),r&&this.openElements.stackTop>0&&this._setContextModes(t,n)}onItemPop(t,n){var r,i;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(i=(r=this.treeAdapter).onItemPop)===null||i===void 0||i.call(r,t,this.openElements.current),n){let a,s;this.openElements.stackTop===0&&this.fragmentContext?(a=this.fragmentContext,s=this.fragmentContextID):{current:a,currentTagId:s}=this.openElements,this._setContextModes(a,s)}}_setContextModes(t,n){const r=t===this.document||t&&this.treeAdapter.getNamespaceURI(t)===X.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&t!==void 0&&n!==void 0&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,X.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=O.TEXT}switchToPlaintextParsing(){this.insertionMode=O.TEXT,this.originalInsertionMode=O.IN_BODY,this.tokenizer.state=ot.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)===z.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==X.HTML))switch(this.fragmentContextID){case f.TITLE:case f.TEXTAREA:{this.tokenizer.state=ot.RCDATA;break}case f.STYLE:case f.XMP:case f.IFRAME:case f.NOEMBED:case f.NOFRAMES:case f.NOSCRIPT:{this.tokenizer.state=ot.RAWTEXT;break}case f.SCRIPT:{this.tokenizer.state=ot.SCRIPT_DATA;break}case f.PLAINTEXT:{this.tokenizer.state=ot.PLAINTEXT;break}}}_setDocumentType(t){const n=t.name||"",r=t.publicId||"",i=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,n,r,i),t.location){const s=this.treeAdapter.getChildNodes(this.document).find(u=>this.treeAdapter.isDocumentTypeNode(u));s&&this.treeAdapter.setNodeSourceCodeLocation(s,t.location)}}_attachElementToTree(t,n){if(this.options.sourceCodeLocationInfo){const r=n&&{...n,startTag:n};this.treeAdapter.setNodeSourceCodeLocation(t,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r??this.document,t)}}_appendElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location)}_insertElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID)}_insertFakeElement(t,n){const r=this.treeAdapter.createElement(t,X.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,X.HTML,t.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,r),this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(z.HTML,X.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,f.HTML)}_appendCommentNode(t,n){const r=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(n,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,t.location)}_insertCharacters(t){let n,r;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(n,t.chars,r):this.treeAdapter.insertText(n,t.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,t.chars)),!t.location)return;const i=this.treeAdapter.getChildNodes(n),a=r?i.lastIndexOf(r):i.length,s=i[a-1];if(this.treeAdapter.getNodeSourceCodeLocation(s)){const{endLine:o,endCol:l,endOffset:d}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(s,{endLine:o,endCol:l,endOffset:d})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(s,t.location)}_adoptNodes(t,n){for(let r=this.treeAdapter.getFirstChild(t);r;r=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(n,r)}_setEndLocation(t,n){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&n.location){const r=n.location,i=this.treeAdapter.getTagName(t),a=n.type===Ce.END_TAG&&i===n.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,a)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let n,r;return this.openElements.stackTop===0&&this.fragmentContext?(n=this.fragmentContext,r=this.fragmentContextID):{current:n,currentTagId:r}=this.openElements,t.tagID===f.SVG&&this.treeAdapter.getTagName(n)===z.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===X.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===f.MGLYPH||t.tagID===f.MALIGNMARK)&&r!==void 0&&!this._isIntegrationPoint(r,n,X.HTML)}_processToken(t){switch(t.type){case Ce.CHARACTER:{this.onCharacter(t);break}case Ce.NULL_CHARACTER:{this.onNullCharacter(t);break}case Ce.COMMENT:{this.onComment(t);break}case Ce.DOCTYPE:{this.onDoctype(t);break}case Ce.START_TAG:{this._processStartTag(t);break}case Ce.END_TAG:{this.onEndTag(t);break}case Ce.EOF:{this.onEof(t);break}case Ce.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,n,r){const i=this.treeAdapter.getNamespaceURI(n),a=this.treeAdapter.getAttrList(n);return qN(t,i,a,r)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(i=>i.type===Qn.Marker||this.openElements.contains(i.element)),r=n===-1?t-1:n-1;for(let i=r;i>=0;i--){const a=this.activeFormattingElements.entries[i];this._insertElement(a.token,this.treeAdapter.getNamespaceURI(a.element)),a.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=O.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(f.P),this.openElements.popUntilTagNamePopped(f.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case f.TR:{this.insertionMode=O.IN_ROW;return}case f.TBODY:case f.THEAD:case f.TFOOT:{this.insertionMode=O.IN_TABLE_BODY;return}case f.CAPTION:{this.insertionMode=O.IN_CAPTION;return}case f.COLGROUP:{this.insertionMode=O.IN_COLUMN_GROUP;return}case f.TABLE:{this.insertionMode=O.IN_TABLE;return}case f.BODY:{this.insertionMode=O.IN_BODY;return}case f.FRAMESET:{this.insertionMode=O.IN_FRAMESET;return}case f.SELECT:{this._resetInsertionModeForSelect(t);return}case f.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case f.HTML:{this.insertionMode=this.headElement?O.AFTER_HEAD:O.BEFORE_HEAD;return}case f.TD:case f.TH:{if(t>0){this.insertionMode=O.IN_CELL;return}break}case f.HEAD:{if(t>0){this.insertionMode=O.IN_HEAD;return}break}}this.insertionMode=O.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const r=this.openElements.tagIDs[n];if(r===f.TEMPLATE)break;if(r===f.TABLE){this.insertionMode=O.IN_SELECT_IN_TABLE;return}}this.insertionMode=O.IN_SELECT}_isElementCausesFosterParenting(t){return Vb.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 f.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===X.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case f.TABLE:{const r=this.treeAdapter.getParentNode(n);return r?{parent:r,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 r=this.treeAdapter.getNamespaceURI(t);return hN[r].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){xI(this,t);return}switch(this.insertionMode){case O.INITIAL:{hs(this,t);break}case O.BEFORE_HTML:{Fs(this,t);break}case O.BEFORE_HEAD:{Ps(this,t);break}case O.IN_HEAD:{Bs(this,t);break}case O.IN_HEAD_NO_SCRIPT:{zs(this,t);break}case O.AFTER_HEAD:{Us(this,t);break}case O.IN_BODY:case O.IN_CAPTION:case O.IN_CELL:case O.IN_TEMPLATE:{Kb(this,t);break}case O.TEXT:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:{pc(this,t);break}case O.IN_TABLE_TEXT:{tE(this,t);break}case O.IN_COLUMN_GROUP:{fl(this,t);break}case O.AFTER_BODY:{hl(this,t);break}case O.AFTER_AFTER_BODY:{Io(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){TI(this,t);return}switch(this.insertionMode){case O.INITIAL:{hs(this,t);break}case O.BEFORE_HTML:{Fs(this,t);break}case O.BEFORE_HEAD:{Ps(this,t);break}case O.IN_HEAD:{Bs(this,t);break}case O.IN_HEAD_NO_SCRIPT:{zs(this,t);break}case O.AFTER_HEAD:{Us(this,t);break}case O.TEXT:{this._insertCharacters(t);break}case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:{pc(this,t);break}case O.IN_COLUMN_GROUP:{fl(this,t);break}case O.AFTER_BODY:{hl(this,t);break}case O.AFTER_AFTER_BODY:{Io(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){Zd(this,t);return}switch(this.insertionMode){case O.INITIAL:case O.BEFORE_HTML:case O.BEFORE_HEAD:case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:case O.IN_BODY:case O.IN_TABLE:case O.IN_CAPTION:case O.IN_COLUMN_GROUP:case O.IN_TABLE_BODY:case O.IN_ROW:case O.IN_CELL:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:case O.IN_TEMPLATE:case O.IN_FRAMESET:case O.AFTER_FRAMESET:{Zd(this,t);break}case O.IN_TABLE_TEXT:{ms(this,t);break}case O.AFTER_BODY:{eD(this,t);break}case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:{tD(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case O.INITIAL:{nD(this,t);break}case O.BEFORE_HEAD:case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:{this._err(t,G.misplacedDoctype);break}case O.IN_TABLE_TEXT:{ms(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,G.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?AI(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case O.INITIAL:{hs(this,t);break}case O.BEFORE_HTML:{rD(this,t);break}case O.BEFORE_HEAD:{aD(this,t);break}case O.IN_HEAD:{Gn(this,t);break}case O.IN_HEAD_NO_SCRIPT:{oD(this,t);break}case O.AFTER_HEAD:{cD(this,t);break}case O.IN_BODY:{Lt(this,t);break}case O.IN_TABLE:{Ba(this,t);break}case O.IN_TABLE_TEXT:{ms(this,t);break}case O.IN_CAPTION:{sI(this,t);break}case O.IN_COLUMN_GROUP:{U1(this,t);break}case O.IN_TABLE_BODY:{n0(this,t);break}case O.IN_ROW:{r0(this,t);break}case O.IN_CELL:{lI(this,t);break}case O.IN_SELECT:{iE(this,t);break}case O.IN_SELECT_IN_TABLE:{dI(this,t);break}case O.IN_TEMPLATE:{hI(this,t);break}case O.AFTER_BODY:{pI(this,t);break}case O.IN_FRAMESET:{gI(this,t);break}case O.AFTER_FRAMESET:{EI(this,t);break}case O.AFTER_AFTER_BODY:{vI(this,t);break}case O.AFTER_AFTER_FRAMESET:{_I(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?wI(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case O.INITIAL:{hs(this,t);break}case O.BEFORE_HTML:{iD(this,t);break}case O.BEFORE_HEAD:{sD(this,t);break}case O.IN_HEAD:{uD(this,t);break}case O.IN_HEAD_NO_SCRIPT:{lD(this,t);break}case O.AFTER_HEAD:{dD(this,t);break}case O.IN_BODY:{t0(this,t);break}case O.TEXT:{XD(this,t);break}case O.IN_TABLE:{lu(this,t);break}case O.IN_TABLE_TEXT:{ms(this,t);break}case O.IN_CAPTION:{uI(this,t);break}case O.IN_COLUMN_GROUP:{oI(this,t);break}case O.IN_TABLE_BODY:{Jd(this,t);break}case O.IN_ROW:{rE(this,t);break}case O.IN_CELL:{cI(this,t);break}case O.IN_SELECT:{aE(this,t);break}case O.IN_SELECT_IN_TABLE:{fI(this,t);break}case O.IN_TEMPLATE:{mI(this,t);break}case O.AFTER_BODY:{uE(this,t);break}case O.IN_FRAMESET:{bI(this,t);break}case O.AFTER_FRAMESET:{yI(this,t);break}case O.AFTER_AFTER_BODY:{Io(this,t);break}}}onEof(t){switch(this.insertionMode){case O.INITIAL:{hs(this,t);break}case O.BEFORE_HTML:{Fs(this,t);break}case O.BEFORE_HEAD:{Ps(this,t);break}case O.IN_HEAD:{Bs(this,t);break}case O.IN_HEAD_NO_SCRIPT:{zs(this,t);break}case O.AFTER_HEAD:{Us(this,t);break}case O.IN_BODY:case O.IN_TABLE:case O.IN_CAPTION:case O.IN_COLUMN_GROUP:case O.IN_TABLE_BODY:case O.IN_ROW:case O.IN_CELL:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:{Jb(this,t);break}case O.TEXT:{QD(this,t);break}case O.IN_TABLE_TEXT:{ms(this,t);break}case O.IN_TEMPLATE:{sE(this,t);break}case O.AFTER_BODY:case O.IN_FRAMESET:case O.AFTER_FRAMESET:case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:{z1(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===w.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 O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:case O.TEXT:case O.IN_COLUMN_GROUP:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:case O.IN_FRAMESET:case O.AFTER_FRAMESET:{this._insertCharacters(t);break}case O.IN_BODY:case O.IN_CAPTION:case O.IN_CELL:case O.IN_TEMPLATE:case O.AFTER_BODY:case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:{jb(this,t);break}case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:{pc(this,t);break}case O.IN_TABLE_TEXT:{eE(this,t);break}}}}function jN(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):Zb(e,t),n}function KN(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const i=e.openElements.items[r];if(i===t.element)break;e._isSpecialElement(i,e.openElements.tagIDs[r])&&(n=i)}return n||(e.openElements.shortenToLength(Math.max(r,0)),e.activeFormattingElements.removeEntry(t)),n}function XN(e,t,n){let r=t,i=e.openElements.getCommonAncestor(t);for(let a=0,s=i;s!==n;a++,s=i){i=e.openElements.getCommonAncestor(s);const u=e.activeFormattingElements.getElementEntry(s),o=u&&a>=WN;!u||o?(o&&e.activeFormattingElements.removeEntry(u),e.openElements.remove(s)):(s=QN(e,u),r===t&&(e.activeFormattingElements.bookmark=u),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(s,r),r=s)}return r}function QN(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function ZN(e,t,n){const r=e.treeAdapter.getTagName(t),i=Qa(r);if(e._isElementCausesFosterParenting(i))e._fosterParentElement(n);else{const a=e.treeAdapter.getNamespaceURI(t);i===f.TEMPLATE&&a===X.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function JN(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:i}=n,a=e.treeAdapter.createElement(i.tagName,r,i.attrs);e._adoptNodes(t,a),e.treeAdapter.appendChild(t,a),e.activeFormattingElements.insertElementAfterBookmark(a,i),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,a,i.tagID)}function B1(e,t){for(let n=0;n<YN;n++){const r=jN(e,t);if(!r)break;const i=KN(e,r);if(!i)break;e.activeFormattingElements.bookmark=r;const a=XN(e,i,r.element),s=e.openElements.getCommonAncestor(r.element);e.treeAdapter.detachNode(a),s&&ZN(e,s,a),JN(e,i,r)}}function Zd(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function eD(e,t){e._appendCommentNode(t,e.openElements.items[0])}function tD(e,t){e._appendCommentNode(t,e.document)}function z1(e,t){if(e.stopped=!0,t.location){const n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const r=e.openElements.items[0],i=e.treeAdapter.getNodeSourceCodeLocation(r);if(i&&!i.endTag&&(e._setEndLocation(r,t),e.openElements.stackTop>=1)){const a=e.openElements.items[1],s=e.treeAdapter.getNodeSourceCodeLocation(a);s&&!s.endTag&&e._setEndLocation(a,t)}}}}function nD(e,t){e._setDocumentType(t);const n=t.forceQuirks?xn.QUIRKS:ON(t);IN(t)||e._err(t,G.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=O.BEFORE_HTML}function hs(e,t){e._err(t,G.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,xn.QUIRKS),e.insertionMode=O.BEFORE_HTML,e._processToken(t)}function rD(e,t){t.tagID===f.HTML?(e._insertElement(t,X.HTML),e.insertionMode=O.BEFORE_HEAD):Fs(e,t)}function iD(e,t){const n=t.tagID;(n===f.HTML||n===f.HEAD||n===f.BODY||n===f.BR)&&Fs(e,t)}function Fs(e,t){e._insertFakeRootElement(),e.insertionMode=O.BEFORE_HEAD,e._processToken(t)}function aD(e,t){switch(t.tagID){case f.HTML:{Lt(e,t);break}case f.HEAD:{e._insertElement(t,X.HTML),e.headElement=e.openElements.current,e.insertionMode=O.IN_HEAD;break}default:Ps(e,t)}}function sD(e,t){const n=t.tagID;n===f.HEAD||n===f.BODY||n===f.HTML||n===f.BR?Ps(e,t):e._err(t,G.endTagWithoutMatchingOpenElement)}function Ps(e,t){e._insertFakeElement(z.HEAD,f.HEAD),e.headElement=e.openElements.current,e.insertionMode=O.IN_HEAD,e._processToken(t)}function Gn(e,t){switch(t.tagID){case f.HTML:{Lt(e,t);break}case f.BASE:case f.BASEFONT:case f.BGSOUND:case f.LINK:case f.META:{e._appendElement(t,X.HTML),t.ackSelfClosing=!0;break}case f.TITLE:{e._switchToTextParsing(t,ot.RCDATA);break}case f.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,ot.RAWTEXT):(e._insertElement(t,X.HTML),e.insertionMode=O.IN_HEAD_NO_SCRIPT);break}case f.NOFRAMES:case f.STYLE:{e._switchToTextParsing(t,ot.RAWTEXT);break}case f.SCRIPT:{e._switchToTextParsing(t,ot.SCRIPT_DATA);break}case f.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=O.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(O.IN_TEMPLATE);break}case f.HEAD:{e._err(t,G.misplacedStartTagForHeadElement);break}default:Bs(e,t)}}function uD(e,t){switch(t.tagID){case f.HEAD:{e.openElements.pop(),e.insertionMode=O.AFTER_HEAD;break}case f.BODY:case f.BR:case f.HTML:{Bs(e,t);break}case f.TEMPLATE:{Qi(e,t);break}default:e._err(t,G.endTagWithoutMatchingOpenElement)}}function Qi(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==f.TEMPLATE&&e._err(t,G.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(f.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,G.endTagWithoutMatchingOpenElement)}function Bs(e,t){e.openElements.pop(),e.insertionMode=O.AFTER_HEAD,e._processToken(t)}function oD(e,t){switch(t.tagID){case f.HTML:{Lt(e,t);break}case f.BASEFONT:case f.BGSOUND:case f.HEAD:case f.LINK:case f.META:case f.NOFRAMES:case f.STYLE:{Gn(e,t);break}case f.NOSCRIPT:{e._err(t,G.nestedNoscriptInHead);break}default:zs(e,t)}}function lD(e,t){switch(t.tagID){case f.NOSCRIPT:{e.openElements.pop(),e.insertionMode=O.IN_HEAD;break}case f.BR:{zs(e,t);break}default:e._err(t,G.endTagWithoutMatchingOpenElement)}}function zs(e,t){const n=t.type===Ce.EOF?G.openElementsLeftAfterEof:G.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=O.IN_HEAD,e._processToken(t)}function cD(e,t){switch(t.tagID){case f.HTML:{Lt(e,t);break}case f.BODY:{e._insertElement(t,X.HTML),e.framesetOk=!1,e.insertionMode=O.IN_BODY;break}case f.FRAMESET:{e._insertElement(t,X.HTML),e.insertionMode=O.IN_FRAMESET;break}case f.BASE:case f.BASEFONT:case f.BGSOUND:case f.LINK:case f.META:case f.NOFRAMES:case f.SCRIPT:case f.STYLE:case f.TEMPLATE:case f.TITLE:{e._err(t,G.abandonedHeadElementChild),e.openElements.push(e.headElement,f.HEAD),Gn(e,t),e.openElements.remove(e.headElement);break}case f.HEAD:{e._err(t,G.misplacedStartTagForHeadElement);break}default:Us(e,t)}}function dD(e,t){switch(t.tagID){case f.BODY:case f.HTML:case f.BR:{Us(e,t);break}case f.TEMPLATE:{Qi(e,t);break}default:e._err(t,G.endTagWithoutMatchingOpenElement)}}function Us(e,t){e._insertFakeElement(z.BODY,f.BODY),e.insertionMode=O.IN_BODY,e0(e,t)}function e0(e,t){switch(t.type){case Ce.CHARACTER:{Kb(e,t);break}case Ce.WHITESPACE_CHARACTER:{jb(e,t);break}case Ce.COMMENT:{Zd(e,t);break}case Ce.START_TAG:{Lt(e,t);break}case Ce.END_TAG:{t0(e,t);break}case Ce.EOF:{Jb(e,t);break}}}function jb(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function Kb(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function fD(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function hD(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function mD(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,X.HTML),e.insertionMode=O.IN_FRAMESET)}function pD(e,t){e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e._insertElement(t,X.HTML)}function gD(e,t){e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&Qd.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,X.HTML)}function bD(e,t){e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e._insertElement(t,X.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function ED(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e._insertElement(t,X.HTML),n||(e.formElement=e.openElements.current))}function yD(e,t){e.framesetOk=!1;const n=t.tagID;for(let r=e.openElements.stackTop;r>=0;r--){const i=e.openElements.tagIDs[r];if(n===f.LI&&i===f.LI||(n===f.DD||n===f.DT)&&(i===f.DD||i===f.DT)){e.openElements.generateImpliedEndTagsWithExclusion(i),e.openElements.popUntilTagNamePopped(i);break}if(i!==f.ADDRESS&&i!==f.DIV&&i!==f.P&&e._isSpecialElement(e.openElements.items[r],i))break}e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e._insertElement(t,X.HTML)}function vD(e,t){e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e._insertElement(t,X.HTML),e.tokenizer.state=ot.PLAINTEXT}function _D(e,t){e.openElements.hasInScope(f.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(f.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,X.HTML),e.framesetOk=!1}function TD(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(z.A);n&&(B1(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,X.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function xD(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,X.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function AD(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(f.NOBR)&&(B1(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,X.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function wD(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,X.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function SD(e,t){e.treeAdapter.getDocumentMode(e.document)!==xn.QUIRKS&&e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e._insertElement(t,X.HTML),e.framesetOk=!1,e.insertionMode=O.IN_TABLE}function Xb(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,X.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Qb(e){const t=zb(e,Pi.TYPE);return t!=null&&t.toLowerCase()===GN}function kD(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,X.HTML),Qb(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function CD(e,t){e._appendElement(t,X.HTML),t.ackSelfClosing=!0}function ND(e,t){e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e._appendElement(t,X.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function DD(e,t){t.tagName=z.IMG,t.tagID=f.IMG,Xb(e,t)}function ID(e,t){e._insertElement(t,X.HTML),e.skipNextNewLine=!0,e.tokenizer.state=ot.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=O.TEXT}function OD(e,t){e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,ot.RAWTEXT)}function RD(e,t){e.framesetOk=!1,e._switchToTextParsing(t,ot.RAWTEXT)}function bg(e,t){e._switchToTextParsing(t,ot.RAWTEXT)}function MD(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,X.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===O.IN_TABLE||e.insertionMode===O.IN_CAPTION||e.insertionMode===O.IN_TABLE_BODY||e.insertionMode===O.IN_ROW||e.insertionMode===O.IN_CELL?O.IN_SELECT_IN_TABLE:O.IN_SELECT}function LD(e,t){e.openElements.currentTagId===f.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,X.HTML)}function FD(e,t){e.openElements.hasInScope(f.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,X.HTML)}function PD(e,t){e.openElements.hasInScope(f.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(f.RTC),e._insertElement(t,X.HTML)}function BD(e,t){e._reconstructActiveFormattingElements(),Yb(t),P1(t),t.selfClosing?e._appendElement(t,X.MATHML):e._insertElement(t,X.MATHML),t.ackSelfClosing=!0}function zD(e,t){e._reconstructActiveFormattingElements(),Wb(t),P1(t),t.selfClosing?e._appendElement(t,X.SVG):e._insertElement(t,X.SVG),t.ackSelfClosing=!0}function Eg(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,X.HTML)}function Lt(e,t){switch(t.tagID){case f.I:case f.S:case f.B:case f.U:case f.EM:case f.TT:case f.BIG:case f.CODE:case f.FONT:case f.SMALL:case f.STRIKE:case f.STRONG:{xD(e,t);break}case f.A:{TD(e,t);break}case f.H1:case f.H2:case f.H3:case f.H4:case f.H5:case f.H6:{gD(e,t);break}case f.P:case f.DL:case f.OL:case f.UL:case f.DIV:case f.DIR:case f.NAV:case f.MAIN:case f.MENU:case f.ASIDE:case f.CENTER:case f.FIGURE:case f.FOOTER:case f.HEADER:case f.HGROUP:case f.DIALOG:case f.DETAILS:case f.ADDRESS:case f.ARTICLE:case f.SEARCH:case f.SECTION:case f.SUMMARY:case f.FIELDSET:case f.BLOCKQUOTE:case f.FIGCAPTION:{pD(e,t);break}case f.LI:case f.DD:case f.DT:{yD(e,t);break}case f.BR:case f.IMG:case f.WBR:case f.AREA:case f.EMBED:case f.KEYGEN:{Xb(e,t);break}case f.HR:{ND(e,t);break}case f.RB:case f.RTC:{FD(e,t);break}case f.RT:case f.RP:{PD(e,t);break}case f.PRE:case f.LISTING:{bD(e,t);break}case f.XMP:{OD(e,t);break}case f.SVG:{zD(e,t);break}case f.HTML:{fD(e,t);break}case f.BASE:case f.LINK:case f.META:case f.STYLE:case f.TITLE:case f.SCRIPT:case f.BGSOUND:case f.BASEFONT:case f.TEMPLATE:{Gn(e,t);break}case f.BODY:{hD(e,t);break}case f.FORM:{ED(e,t);break}case f.NOBR:{AD(e,t);break}case f.MATH:{BD(e,t);break}case f.TABLE:{SD(e,t);break}case f.INPUT:{kD(e,t);break}case f.PARAM:case f.TRACK:case f.SOURCE:{CD(e,t);break}case f.IMAGE:{DD(e,t);break}case f.BUTTON:{_D(e,t);break}case f.APPLET:case f.OBJECT:case f.MARQUEE:{wD(e,t);break}case f.IFRAME:{RD(e,t);break}case f.SELECT:{MD(e,t);break}case f.OPTION:case f.OPTGROUP:{LD(e,t);break}case f.NOEMBED:case f.NOFRAMES:{bg(e,t);break}case f.FRAMESET:{mD(e,t);break}case f.TEXTAREA:{ID(e,t);break}case f.NOSCRIPT:{e.options.scriptingEnabled?bg(e,t):Eg(e,t);break}case f.PLAINTEXT:{vD(e,t);break}case f.COL:case f.TH:case f.TD:case f.TR:case f.HEAD:case f.FRAME:case f.TBODY:case f.TFOOT:case f.THEAD:case f.CAPTION:case f.COLGROUP:break;default:Eg(e,t)}}function UD(e,t){if(e.openElements.hasInScope(f.BODY)&&(e.insertionMode=O.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function HD(e,t){e.openElements.hasInScope(f.BODY)&&(e.insertionMode=O.AFTER_BODY,uE(e,t))}function $D(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function qD(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(f.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(f.FORM):n&&e.openElements.remove(n))}function GD(e){e.openElements.hasInButtonScope(f.P)||e._insertFakeElement(z.P,f.P),e._closePElement()}function YD(e){e.openElements.hasInListItemScope(f.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(f.LI),e.openElements.popUntilTagNamePopped(f.LI))}function WD(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function VD(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function jD(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function KD(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(z.BR,f.BR),e.openElements.pop(),e.framesetOk=!1}function Zb(e,t){const n=t.tagName,r=t.tagID;for(let i=e.openElements.stackTop;i>0;i--){const a=e.openElements.items[i],s=e.openElements.tagIDs[i];if(r===s&&(r!==f.UNKNOWN||e.treeAdapter.getTagName(a)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=i&&e.openElements.shortenToLength(i);break}if(e._isSpecialElement(a,s))break}}function t0(e,t){switch(t.tagID){case f.A:case f.B:case f.I:case f.S:case f.U:case f.EM:case f.TT:case f.BIG:case f.CODE:case f.FONT:case f.NOBR:case f.SMALL:case f.STRIKE:case f.STRONG:{B1(e,t);break}case f.P:{GD(e);break}case f.DL:case f.UL:case f.OL:case f.DIR:case f.DIV:case f.NAV:case f.PRE:case f.MAIN:case f.MENU:case f.ASIDE:case f.BUTTON:case f.CENTER:case f.FIGURE:case f.FOOTER:case f.HEADER:case f.HGROUP:case f.DIALOG:case f.ADDRESS:case f.ARTICLE:case f.DETAILS:case f.SEARCH:case f.SECTION:case f.SUMMARY:case f.LISTING:case f.FIELDSET:case f.BLOCKQUOTE:case f.FIGCAPTION:{$D(e,t);break}case f.LI:{YD(e);break}case f.DD:case f.DT:{WD(e,t);break}case f.H1:case f.H2:case f.H3:case f.H4:case f.H5:case f.H6:{VD(e);break}case f.BR:{KD(e);break}case f.BODY:{UD(e,t);break}case f.HTML:{HD(e,t);break}case f.FORM:{qD(e);break}case f.APPLET:case f.OBJECT:case f.MARQUEE:{jD(e,t);break}case f.TEMPLATE:{Qi(e,t);break}default:Zb(e,t)}}function Jb(e,t){e.tmplInsertionModeStack.length>0?sE(e,t):z1(e,t)}function XD(e,t){var n;t.tagID===f.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function QD(e,t){e._err(t,G.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function pc(e,t){if(e.openElements.currentTagId!==void 0&&Vb.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=O.IN_TABLE_TEXT,t.type){case Ce.CHARACTER:{tE(e,t);break}case Ce.WHITESPACE_CHARACTER:{eE(e,t);break}}else wu(e,t)}function ZD(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,X.HTML),e.insertionMode=O.IN_CAPTION}function JD(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,X.HTML),e.insertionMode=O.IN_COLUMN_GROUP}function eI(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(z.COLGROUP,f.COLGROUP),e.insertionMode=O.IN_COLUMN_GROUP,U1(e,t)}function tI(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,X.HTML),e.insertionMode=O.IN_TABLE_BODY}function nI(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(z.TBODY,f.TBODY),e.insertionMode=O.IN_TABLE_BODY,n0(e,t)}function rI(e,t){e.openElements.hasInTableScope(f.TABLE)&&(e.openElements.popUntilTagNamePopped(f.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function iI(e,t){Qb(t)?e._appendElement(t,X.HTML):wu(e,t),t.ackSelfClosing=!0}function aI(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,X.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Ba(e,t){switch(t.tagID){case f.TD:case f.TH:case f.TR:{nI(e,t);break}case f.STYLE:case f.SCRIPT:case f.TEMPLATE:{Gn(e,t);break}case f.COL:{eI(e,t);break}case f.FORM:{aI(e,t);break}case f.TABLE:{rI(e,t);break}case f.TBODY:case f.TFOOT:case f.THEAD:{tI(e,t);break}case f.INPUT:{iI(e,t);break}case f.CAPTION:{ZD(e,t);break}case f.COLGROUP:{JD(e,t);break}default:wu(e,t)}}function lu(e,t){switch(t.tagID){case f.TABLE:{e.openElements.hasInTableScope(f.TABLE)&&(e.openElements.popUntilTagNamePopped(f.TABLE),e._resetInsertionMode());break}case f.TEMPLATE:{Qi(e,t);break}case f.BODY:case f.CAPTION:case f.COL:case f.COLGROUP:case f.HTML:case f.TBODY:case f.TD:case f.TFOOT:case f.TH:case f.THEAD:case f.TR:break;default:wu(e,t)}}function wu(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,e0(e,t),e.fosterParentingEnabled=n}function eE(e,t){e.pendingCharacterTokens.push(t)}function tE(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function ms(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)wu(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const nE=new Set([f.CAPTION,f.COL,f.COLGROUP,f.TBODY,f.TD,f.TFOOT,f.TH,f.THEAD,f.TR]);function sI(e,t){const n=t.tagID;nE.has(n)?e.openElements.hasInTableScope(f.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(f.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_TABLE,Ba(e,t)):Lt(e,t)}function uI(e,t){const n=t.tagID;switch(n){case f.CAPTION:case f.TABLE:{e.openElements.hasInTableScope(f.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(f.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_TABLE,n===f.TABLE&&lu(e,t));break}case f.BODY:case f.COL:case f.COLGROUP:case f.HTML:case f.TBODY:case f.TD:case f.TFOOT:case f.TH:case f.THEAD:case f.TR:break;default:t0(e,t)}}function U1(e,t){switch(t.tagID){case f.HTML:{Lt(e,t);break}case f.COL:{e._appendElement(t,X.HTML),t.ackSelfClosing=!0;break}case f.TEMPLATE:{Gn(e,t);break}default:fl(e,t)}}function oI(e,t){switch(t.tagID){case f.COLGROUP:{e.openElements.currentTagId===f.COLGROUP&&(e.openElements.pop(),e.insertionMode=O.IN_TABLE);break}case f.TEMPLATE:{Qi(e,t);break}case f.COL:break;default:fl(e,t)}}function fl(e,t){e.openElements.currentTagId===f.COLGROUP&&(e.openElements.pop(),e.insertionMode=O.IN_TABLE,e._processToken(t))}function n0(e,t){switch(t.tagID){case f.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,X.HTML),e.insertionMode=O.IN_ROW;break}case f.TH:case f.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(z.TR,f.TR),e.insertionMode=O.IN_ROW,r0(e,t);break}case f.CAPTION:case f.COL:case f.COLGROUP:case f.TBODY:case f.TFOOT:case f.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=O.IN_TABLE,Ba(e,t));break}default:Ba(e,t)}}function Jd(e,t){const n=t.tagID;switch(t.tagID){case f.TBODY:case f.TFOOT:case f.THEAD:{e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=O.IN_TABLE);break}case f.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=O.IN_TABLE,lu(e,t));break}case f.BODY:case f.CAPTION:case f.COL:case f.COLGROUP:case f.HTML:case f.TD:case f.TH:case f.TR:break;default:lu(e,t)}}function r0(e,t){switch(t.tagID){case f.TH:case f.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,X.HTML),e.insertionMode=O.IN_CELL,e.activeFormattingElements.insertMarker();break}case f.CAPTION:case f.COL:case f.COLGROUP:case f.TBODY:case f.TFOOT:case f.THEAD:case f.TR:{e.openElements.hasInTableScope(f.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=O.IN_TABLE_BODY,n0(e,t));break}default:Ba(e,t)}}function rE(e,t){switch(t.tagID){case f.TR:{e.openElements.hasInTableScope(f.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=O.IN_TABLE_BODY);break}case f.TABLE:{e.openElements.hasInTableScope(f.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=O.IN_TABLE_BODY,Jd(e,t));break}case f.TBODY:case f.TFOOT:case f.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(f.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=O.IN_TABLE_BODY,Jd(e,t));break}case f.BODY:case f.CAPTION:case f.COL:case f.COLGROUP:case f.HTML:case f.TD:case f.TH:break;default:lu(e,t)}}function lI(e,t){const n=t.tagID;nE.has(n)?(e.openElements.hasInTableScope(f.TD)||e.openElements.hasInTableScope(f.TH))&&(e._closeTableCell(),r0(e,t)):Lt(e,t)}function cI(e,t){const n=t.tagID;switch(n){case f.TD:case f.TH:{e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_ROW);break}case f.TABLE:case f.TBODY:case f.TFOOT:case f.THEAD:case f.TR:{e.openElements.hasInTableScope(n)&&(e._closeTableCell(),rE(e,t));break}case f.BODY:case f.CAPTION:case f.COL:case f.COLGROUP:case f.HTML:break;default:t0(e,t)}}function iE(e,t){switch(t.tagID){case f.HTML:{Lt(e,t);break}case f.OPTION:{e.openElements.currentTagId===f.OPTION&&e.openElements.pop(),e._insertElement(t,X.HTML);break}case f.OPTGROUP:{e.openElements.currentTagId===f.OPTION&&e.openElements.pop(),e.openElements.currentTagId===f.OPTGROUP&&e.openElements.pop(),e._insertElement(t,X.HTML);break}case f.HR:{e.openElements.currentTagId===f.OPTION&&e.openElements.pop(),e.openElements.currentTagId===f.OPTGROUP&&e.openElements.pop(),e._appendElement(t,X.HTML),t.ackSelfClosing=!0;break}case f.INPUT:case f.KEYGEN:case f.TEXTAREA:case f.SELECT:{e.openElements.hasInSelectScope(f.SELECT)&&(e.openElements.popUntilTagNamePopped(f.SELECT),e._resetInsertionMode(),t.tagID!==f.SELECT&&e._processStartTag(t));break}case f.SCRIPT:case f.TEMPLATE:{Gn(e,t);break}}}function aE(e,t){switch(t.tagID){case f.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===f.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===f.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===f.OPTGROUP&&e.openElements.pop();break}case f.OPTION:{e.openElements.currentTagId===f.OPTION&&e.openElements.pop();break}case f.SELECT:{e.openElements.hasInSelectScope(f.SELECT)&&(e.openElements.popUntilTagNamePopped(f.SELECT),e._resetInsertionMode());break}case f.TEMPLATE:{Qi(e,t);break}}}function dI(e,t){const n=t.tagID;n===f.CAPTION||n===f.TABLE||n===f.TBODY||n===f.TFOOT||n===f.THEAD||n===f.TR||n===f.TD||n===f.TH?(e.openElements.popUntilTagNamePopped(f.SELECT),e._resetInsertionMode(),e._processStartTag(t)):iE(e,t)}function fI(e,t){const n=t.tagID;n===f.CAPTION||n===f.TABLE||n===f.TBODY||n===f.TFOOT||n===f.THEAD||n===f.TR||n===f.TD||n===f.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(f.SELECT),e._resetInsertionMode(),e.onEndTag(t)):aE(e,t)}function hI(e,t){switch(t.tagID){case f.BASE:case f.BASEFONT:case f.BGSOUND:case f.LINK:case f.META:case f.NOFRAMES:case f.SCRIPT:case f.STYLE:case f.TEMPLATE:case f.TITLE:{Gn(e,t);break}case f.CAPTION:case f.COLGROUP:case f.TBODY:case f.TFOOT:case f.THEAD:{e.tmplInsertionModeStack[0]=O.IN_TABLE,e.insertionMode=O.IN_TABLE,Ba(e,t);break}case f.COL:{e.tmplInsertionModeStack[0]=O.IN_COLUMN_GROUP,e.insertionMode=O.IN_COLUMN_GROUP,U1(e,t);break}case f.TR:{e.tmplInsertionModeStack[0]=O.IN_TABLE_BODY,e.insertionMode=O.IN_TABLE_BODY,n0(e,t);break}case f.TD:case f.TH:{e.tmplInsertionModeStack[0]=O.IN_ROW,e.insertionMode=O.IN_ROW,r0(e,t);break}default:e.tmplInsertionModeStack[0]=O.IN_BODY,e.insertionMode=O.IN_BODY,Lt(e,t)}}function mI(e,t){t.tagID===f.TEMPLATE&&Qi(e,t)}function sE(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(f.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):z1(e,t)}function pI(e,t){t.tagID===f.HTML?Lt(e,t):hl(e,t)}function uE(e,t){var n;if(t.tagID===f.HTML){if(e.fragmentContext||(e.insertionMode=O.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===f.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(!((n=e.treeAdapter.getNodeSourceCodeLocation(r))===null||n===void 0)&&n.endTag)&&e._setEndLocation(r,t)}}else hl(e,t)}function hl(e,t){e.insertionMode=O.IN_BODY,e0(e,t)}function gI(e,t){switch(t.tagID){case f.HTML:{Lt(e,t);break}case f.FRAMESET:{e._insertElement(t,X.HTML);break}case f.FRAME:{e._appendElement(t,X.HTML),t.ackSelfClosing=!0;break}case f.NOFRAMES:{Gn(e,t);break}}}function bI(e,t){t.tagID===f.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==f.FRAMESET&&(e.insertionMode=O.AFTER_FRAMESET))}function EI(e,t){switch(t.tagID){case f.HTML:{Lt(e,t);break}case f.NOFRAMES:{Gn(e,t);break}}}function yI(e,t){t.tagID===f.HTML&&(e.insertionMode=O.AFTER_AFTER_FRAMESET)}function vI(e,t){t.tagID===f.HTML?Lt(e,t):Io(e,t)}function Io(e,t){e.insertionMode=O.IN_BODY,e0(e,t)}function _I(e,t){switch(t.tagID){case f.HTML:{Lt(e,t);break}case f.NOFRAMES:{Gn(e,t);break}}}function TI(e,t){t.chars=je,e._insertCharacters(t)}function xI(e,t){e._insertCharacters(t),e.framesetOk=!1}function oE(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==X.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function AI(e,t){if(zN(t))oE(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===X.MATHML?Yb(t):r===X.SVG&&(UN(t),Wb(t)),P1(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function wI(e,t){if(t.tagID===f.P||t.tagID===f.BR){oE(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===X.HTML){e._endTagOutsideForeignContent(t);break}const i=e.treeAdapter.getTagName(r);if(i.toLowerCase()===t.tagName){t.tagName=i,e.openElements.shortenToLength(n);break}}}z.AREA,z.BASE,z.BASEFONT,z.BGSOUND,z.BR,z.COL,z.EMBED,z.FRAME,z.HR,z.IMG,z.INPUT,z.KEYGEN,z.LINK,z.META,z.PARAM,z.SOURCE,z.TRACK,z.WBR;const SI=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,kI=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),yg={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function lE(e,t){const n=PI(e),r=c6("type",{handlers:{root:CI,element:NI,text:DI,comment:dE,doctype:II,raw:RI},unknown:MI}),i={parser:n?new gg(yg):gg.getFragmentParser(void 0,yg),handle(u){r(u,i)},stitches:!1,options:t||{}};r(e,i),Za(i,rr());const a=n?i.parser.document:i.parser.getFragment(),s=BC(a,{file:i.options.file});return i.stitches&&Ki(s,"comment",function(u,o,l){const d=u;if(d.value.stitch&&l&&o!==void 0){const c=l.children;return c[o]=d.value.stitch,o}}),s.type==="root"&&s.children.length===1&&s.children[0].type===e.type?s.children[0]:s}function cE(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function CI(e,t){cE(e.children,t)}function NI(e,t){LI(e,t),cE(e.children,t),FI(e,t)}function DI(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const n={type:Ce.CHARACTER,chars:e.value,location:Su(e)};Za(t,rr(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function II(e,t){const n={type:Ce.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:Su(e)};Za(t,rr(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function OI(e,t){t.stitches=!0;const n=BI(e);if("children"in e&&"children"in n){const r=lE({type:"root",children:e.children},t.options);n.children=r.children}dE({type:"comment",value:{stitch:n}},t)}function dE(e,t){const n=e.value,r={type:Ce.COMMENT,data:n,location:Su(e)};Za(t,rr(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function RI(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,fE(t,rr(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(SI,"<$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 MI(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))OI(n,t);else{let r="";throw kI.has(n.type)&&(r=". 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"+r)}}function Za(e,t){fE(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=ot.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 fE(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 LI(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===ot.PLAINTEXT)return;Za(t,rr(e));const r=t.parser.openElements.current;let i="namespaceURI"in r?r.namespaceURI:er.html;i===er.html&&n==="svg"&&(i=er.svg);const a=qC({...e,children:[]},{space:i===er.svg?"svg":"html"}),s={type:Ce.START_TAG,tagName:n,tagID:Qa(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in a?a.attrs:[],location:Su(e)};t.parser.currentToken=s,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function FI(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&QC.includes(n)||t.parser.tokenizer.state===ot.PLAINTEXT)return;Za(t,Pl(e));const r={type:Ce.END_TAG,tagName:n,tagID:Qa(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:Su(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===ot.RCDATA||t.parser.tokenizer.state===ot.RAWTEXT||t.parser.tokenizer.state===ot.SCRIPT_DATA)&&(t.parser.tokenizer.state=ot.DATA)}function PI(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function Su(e){const t=rr(e)||{line:void 0,column:void 0,offset:void 0},n=Pl(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 BI(e){return"children"in e?Yi({...e,children:[]}):Yi(e)}function zI(e){return function(t,n){return lE(t,{...e,file:n})}}const UI=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g,HI=Object.hasOwnProperty;class $I{constructor(){this.occurrences,this.reset()}slug(t,n){const r=this;let i=qI(t,n===!0);const a=i;for(;HI.call(r.occurrences,i);)r.occurrences[a]++,i=a+"-"+r.occurrences[a];return r.occurrences[i]=0,i}reset(){this.occurrences=Object.create(null)}}function qI(e,t){return typeof e!="string"?"":(t||(e=e.toLowerCase()),e.replace(UI,"").replace(/ /g,"-"))}function hE(e){const t=e.type==="element"?e.tagName.toLowerCase():"",n=t.length===2&&t.charCodeAt(0)===104?t.charCodeAt(1):0;return n>48&&n<55?n-48:void 0}function GI(e){return"children"in e?mE(e):"value"in e?e.value:""}function YI(e){return e.type==="text"?e.value:"children"in e?mE(e):""}function mE(e){let t=-1;const n=[];for(;++t<e.children.length;)n[t]=YI(e.children[t]);return n.join("")}const WI={},vg=new $I;function VI(e){const n=(e||WI).prefix||"";return function(r){vg.reset(),Ki(r,"element",function(i){hE(i)&&!i.properties.id&&(i.properties.id=n+vg.slug(GI(i)))})}}const vi=function(e){if(e==null)return XI;if(typeof e=="string")return KI(e);if(typeof e=="object")return jI(e);if(typeof e=="function")return H1(e);throw new Error("Expected function, string, or array as `test`")};function jI(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=vi(e[n]);return H1(r);function r(...i){let a=-1;for(;++a<t.length;)if(t[a].apply(this,i))return!0;return!1}}function KI(e){return H1(t);function t(n){return n.tagName===e}}function H1(e){return t;function t(n,r,i){return!!(QI(n)&&e.call(this,n,typeof r=="number"?r:void 0,i||void 0))}}function XI(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function QI(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}const _g={type:"element",tagName:"span",properties:{className:["icon","icon-link"]},children:[]},ZI={};function JI(e){const t=e||ZI;let n=t.properties;const r=t.headingProperties,i=t.behavior||"prepend",a=t.content,s=t.group,u=vi(t.test);let o;return i==="after"||i==="before"?o=d:i==="wrap"?o=c:(o=l,n||(n={ariaHidden:"true",tabIndex:-1})),function(h){Ki(h,"element",function(m,E,v){if(hE(m)&&m.properties.id&&u(m,E,v))return Object.assign(m.properties,so(r,m)),o(m,E,v)})};function l(h){const m=Tg(a||_g,h);return h.children[i==="prepend"?"unshift":"push"](gc(h,so(n,h),m)),[Ms]}function d(h,m,E){if(typeof m!="number"||!E)return;const v=Tg(a||_g,h),A=gc(h,so(n,h),v);let b=i==="before"?[A,h]:[h,A];if(s){const y=pE(s,h);y&&!Array.isArray(y)&&y.type==="element"&&(y.children=b,b=[y])}return E.children.splice(m,1,...b),[Ms,m+b.length]}function c(h){let m=h.children,E=[];return typeof a=="function"?(m=[],E=a(h)):a&&(E=$1(a)),h.children=[gc(h,so(n,h),Array.isArray(E)?[...m,...E]:[...m,E])],[Ms]}}function $1(e){return Yi(e)}function gc(e,t,n){return{type:"element",tagName:"a",properties:{...t,href:"#"+e.properties.id},children:n}}function Tg(e,t){const n=pE(e,t);return Array.isArray(n)?n:[n]}function pE(e,t){return typeof e=="function"?e(t):$1(e)}function so(e,t){return typeof e=="function"?e(t):e?$1(e):{}}const xg=function(e,t,n){const r=_u(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(r(e.children[t],t,e))return e.children[t]},Ag=/\n/g,wg=/[\t ]+/g,ef=vi("br"),Sg=vi(sO),eO=vi("p"),kg=vi("tr"),tO=vi(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",aO,uO]),gE=vi(["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 bE(e,t){const n=t||{},r="children"in e?e.children:[],i=gE(e),a=vE(e,{whitespace:n.whitespace||"normal"}),s=[];(e.type==="text"||e.type==="comment")&&s.push(...yE(e,{breakBefore:!0,breakAfter:!0}));let u=-1;for(;++u<r.length;)s.push(...EE(r[u],e,{whitespace:a,breakBefore:u?void 0:i,breakAfter:u<r.length-1?ef(r[u+1]):i}));const o=[];let l;for(u=-1;++u<s.length;){const d=s[u];typeof d=="number"?l!==void 0&&d>l&&(l=d):d&&(l!==void 0&&l>-1&&o.push(`
|
|
431
|
+
`.repeat(l)||" "),l=-1,o.push(d))}return o.join("")}function EE(e,t,n){return e.type==="element"?nO(e,t,n):e.type==="text"?n.whitespace==="normal"?yE(e,n):rO(e):[]}function nO(e,t,n){const r=vE(e,n),i=e.children||[];let a=-1,s=[];if(tO(e))return s;let u,o;for(ef(e)||kg(e)&&xg(t,e,kg)?o=`
|
|
432
|
+
`:eO(e)?(u=2,o=2):gE(e)&&(u=1,o=1);++a<i.length;)s=s.concat(EE(i[a],e,{whitespace:r,breakBefore:a?void 0:u,breakAfter:a<i.length-1?ef(i[a+1]):o}));return Sg(e)&&xg(t,e,Sg)&&s.push(" "),u&&s.unshift(u),o&&s.push(o),s}function yE(e,t){const n=String(e.value),r=[],i=[];let a=0;for(;a<=n.length;){Ag.lastIndex=a;const o=Ag.exec(n),l=o&&"index"in o?o.index:n.length;r.push(iO(n.slice(a,l).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),a===0?t.breakBefore:!0,l===n.length?t.breakAfter:!0)),a=l+1}let s=-1,u;for(;++s<r.length;)r[s].charCodeAt(r[s].length-1)===8203||s<r.length-1&&r[s+1].charCodeAt(0)===8203?(i.push(r[s]),u=void 0):r[s]?(typeof u=="number"&&i.push(u),i.push(r[s]),u=0):(s===0||s===r.length-1)&&i.push(0);return i}function rO(e){return[String(e.value)]}function iO(e,t,n){const r=[];let i=0,a;for(;i<e.length;){wg.lastIndex=i;const s=wg.exec(e);a=s?s.index:e.length,!i&&!a&&s&&!t&&r.push(""),i!==a&&r.push(e.slice(i,a)),i=s?a+s[0].length:a}return i!==a&&!n&&r.push(""),r.join(" ")}function vE(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 aO(e){return!!(e.properties||{}).hidden}function sO(e){return e.tagName==="td"||e.tagName==="th"}function uO(e){return e.tagName==="dialog"&&!(e.properties||{}).open}function oO(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",s="(?!struct)("+r+"|"+t.optional(i)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",u={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},l={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})"/})]},d={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},c={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(l,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},h={className:"title",begin:t.optional(i)+e.IDENT_RE,relevance:0},m=t.optional(i)+e.IDENT_RE+"\\s*\\(",E=["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"],v=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],A=["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"],b=["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"],D={type:v,keyword:E,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:A},F={className:"function.dispatch",relevance:0,keywords:{_hint:b},begin:t.concat(/\b/,`(?!${E.join("|")})`,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},C=[F,c,u,n,e.C_BLOCK_COMMENT_MODE,d,l],B={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:D,contains:C.concat([{begin:/\(/,end:/\)/,keywords:D,contains:C.concat(["self"]),relevance:0}]),relevance:0},H={className:"function",begin:"("+s+"[\\*&\\s]+)+"+m,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:D,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:D,relevance:0},{begin:m,returnBegin:!0,contains:[h],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[l,d]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:D,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,l,d,u,{begin:/\(/,end:/\)/,keywords:D,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,l,d,u]}]},u,n,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:D,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(B,H,F,C,[c,{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:D,contains:["self",u]},{begin:e.IDENT_RE+"::",keywords:D},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function lO(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=oO(e),r=n.keywords;return r.type=[...r.type,...t.type],r.literal=[...r.literal,...t.literal],r.built_in=[...r.built_in,...t.built_in],r._hints=t._hints,n.name="Arduino",n.aliases=["ino"],n.supersetOf="cpp",n}function cO(e){const t=e.regex,n={},r={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[n]}]};Object.assign(n,{className:"variable",variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},r]});const i={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},a=e.inherit(e.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:"comment"}}),s={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},u={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,n,i]};i.contains.push(u);const o={match:/\\"/},l={className:"string",begin:/'/,end:/'/},d={match:/\\'/},c={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,n]},h=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],m=e.SHEBANG({binary:`(${h.join("|")})`,relevance:10}),E={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},v=["if","then","else","elif","fi","time","for","while","until","in","do","done","case","esac","coproc","function","select"],A=["true","false"],b={match:/(\/[a-z._-]+)+/},y=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],T=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","sudo","type","typeset","ulimit","unalias"],D=["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"],F=["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:v,literal:A,built_in:[...y,...T,"set","shopt",...D,...F]},contains:[m,e.SHEBANG(),E,c,a,s,b,u,o,l,d,n]}}function dO(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",s="("+r+"|"+t.optional(i)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",u={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},l={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})"/})]},d={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},c={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(l,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},h={className:"title",begin:t.optional(i)+e.IDENT_RE,relevance:0},m=t.optional(i)+e.IDENT_RE+"\\s*\\(",A={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"},b=[c,u,n,e.C_BLOCK_COMMENT_MODE,d,l],y={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:A,contains:b.concat([{begin:/\(/,end:/\)/,keywords:A,contains:b.concat(["self"]),relevance:0}]),relevance:0},T={begin:"("+s+"[\\*&\\s]+)+"+m,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:A,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:A,relevance:0},{begin:m,returnBegin:!0,contains:[e.inherit(h,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:A,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,l,d,u,{begin:/\(/,end:/\)/,keywords:A,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,l,d,u]}]},u,n,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C",aliases:["h"],keywords:A,disableAutodetect:!0,illegal:"</",contains:[].concat(y,T,b,[c,{begin:e.IDENT_RE+"::",keywords:A},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:c,strings:l,keywords:A}}}function fO(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",s="(?!struct)("+r+"|"+t.optional(i)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",u={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},l={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})"/})]},d={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},c={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(l,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},h={className:"title",begin:t.optional(i)+e.IDENT_RE,relevance:0},m=t.optional(i)+e.IDENT_RE+"\\s*\\(",E=["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"],v=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],A=["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"],b=["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"],D={type:v,keyword:E,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:A},F={className:"function.dispatch",relevance:0,keywords:{_hint:b},begin:t.concat(/\b/,`(?!${E.join("|")})`,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},C=[F,c,u,n,e.C_BLOCK_COMMENT_MODE,d,l],B={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:D,contains:C.concat([{begin:/\(/,end:/\)/,keywords:D,contains:C.concat(["self"]),relevance:0}]),relevance:0},H={className:"function",begin:"("+s+"[\\*&\\s]+)+"+m,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:D,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:D,relevance:0},{begin:m,returnBegin:!0,contains:[h],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[l,d]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:D,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,l,d,u,{begin:/\(/,end:/\)/,keywords:D,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,l,d,u]}]},u,n,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:D,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(B,H,F,C,[c,{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:D,contains:["self",u]},{begin:e.IDENT_RE+"::",keywords:D},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function hO(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"],r=["default","false","null","true"],i=["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"],a=["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"],s={keyword:i.concat(a),built_in:t,literal:r},u=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),o={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},l={className:"string",begin:/"""("*)(?!")(.|\n)*?"""\1/,relevance:1},d={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},c=e.inherit(d,{illegal:/\n/}),h={className:"subst",begin:/\{/,end:/\}/,keywords:s},m=e.inherit(h,{illegal:/\n/}),E={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,m]},v={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},h]},A=e.inherit(v,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},m]});h.contains=[v,E,d,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,o,e.C_BLOCK_COMMENT_MODE],m.contains=[A,E,c,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,o,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const b={variants:[l,v,E,d,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},y={begin:"<",end:">",contains:[{beginKeywords:"in out"},u]},T=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",D={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:s,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"}},b,o,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},u,y,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[u,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[u,y,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:"("+T+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:s,contains:[{beginKeywords:n.join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,y],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,relevance:0,contains:[b,o,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},D]}}const mO=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/},UNICODE_RANGE:{scope:"number",begin:/\b[Uu]\+[0-9A-Fa-f][0-9A-Fa-f?]{0,4}(-[0-9A-Fa-f][0-9A-Fa-f]{0,4})?/},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_-]*/}}),pO=["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"],gO=["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"],bO=[...pO,...gO],EO=["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(),yO=["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(),vO=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),_O=["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","unicode-range","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 TO(e){const t=e.regex,n=mO(e),r={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},i="and or not only",a=/@-?\w[\w]*(-\w+)*/,s="[a-zA-Z-][a-zA-Z0-9_-]*",u=[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,r,n.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+s,relevance:0},n.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+yO.join("|")+")"},{begin:":(:)?("+vO.join("|")+")"}]},n.CSS_VARIABLE,{className:"attribute",begin:"\\b("+_O.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[n.BLOCK_COMMENT,n.HEXCOLOR,n.IMPORTANT,n.CSS_NUMBER_MODE,n.UNICODE_RANGE,...u,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...u,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},n.FUNCTION_DISPATCH]},{begin:t.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:a},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:i,attribute:EO.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...u,n.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+bO.join("|")+")\\b"}]}}function xO(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+,\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 AO(e){const a={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:a,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:a,illegal:/["']/}]}]}}function wO(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 SO(e){const t=e.regex,n={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:e.NUMBER_RE}]},r=e.COMMENT();r.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const i={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},a={className:"literal",begin:/\bon|off|true|false|yes|no\b/},s={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},u={begin:/\[/,end:/\]/,contains:[r,a,i,s,n,"self"],relevance:0},o=/[A-Za-z0-9_-]+/,l=/"(\\"|[^"])*"/,d=/'[^']*'/,c=t.either(o,l,d),h=t.concat(c,"(\\s*\\.\\s*",c,")*",t.lookahead(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[r,{className:"section",begin:/\[+/,end:/\]+/},{begin:h,className:"attr",starts:{end:/$/,contains:[r,u,a,i,s,n]}}]}}var ia="[0-9](_*[0-9])*",uo=`\\.(${ia})`,oo="[0-9a-fA-F](_*[0-9a-fA-F])*",Cg={className:"number",variants:[{begin:`(\\b(${ia})((${uo})|\\.)?|(${uo}))[eE][+-]?(${ia})[fFdD]?\\b`},{begin:`\\b(${ia})((${uo})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${uo})[fFdD]?\\b`},{begin:`\\b(${ia})[fFdD]\\b`},{begin:`\\b0[xX]((${oo})\\.?|(${oo})?\\.(${oo}))[pP][+-]?(${ia})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${oo})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function _E(e,t,n){return n===-1?"":e.replace(t,r=>_E(e,t,n-1))}function kO(e){const t=e.regex,n="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",r=n+_E("(?:<"+n+"~~~(?:\\s*,\\s*"+n+"~~~)*>)?",/~~~/g,2),o={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"]},l={className:"meta",begin:"@"+n,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},d={className:"params",begin:/\(/,end:/\)/,keywords:o,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:o,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:[d,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+r+"\\s+)",e.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:o,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:o,relevance:0,contains:[l,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,Cg,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},Cg,l]}}const Ng="[A-Za-z$_][0-9A-Za-z$_]*",CO=["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"],NO=["true","false","null","undefined","NaN","Infinity"],TE=["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"],xE=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],AE=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],DO=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],IO=[].concat(AE,TE,xE);function OO(e){const t=e.regex,n=(U,{after:j})=>{const S="</"+U[0].slice(1);return U.input.indexOf(S,j)!==-1},r=Ng,i={begin:"<>",end:"</>"},a=/<[A-Za-z0-9\\._:-]+\s*\/>/,s={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(U,j)=>{const S=U[0].length+U.index,ue=U.input[S];if(ue==="<"||ue===","){j.ignoreMatch();return}ue===">"&&(n(U,{after:S})||j.ignoreMatch());let ge;const R=U.input.substring(S);if(ge=R.match(/^\s*=/)){j.ignoreMatch();return}if((ge=R.match(/^\s+extends\s+/))&&ge.index===0){j.ignoreMatch();return}}},u={$pattern:Ng,keyword:CO,literal:NO,built_in:IO,"variable.language":DO},o="[0-9](_?[0-9])*",l=`\\.(${o})`,d="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",c={className:"number",variants:[{begin:`(\\b(${d})((${l})|\\.)?|(${l}))[eE][+-]?(${o})\\b`},{begin:`\\b(${d})\\b((${l})\\b|\\.)?|(${l})\\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},h={className:"subst",begin:"\\$\\{",end:"\\}",keywords:u,contains:[]},m={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,h],subLanguage:"xml"}},E={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,h],subLanguage:"css"}},v={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,h],subLanguage:"graphql"}},A={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,h]},y={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:r+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},T=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,m,E,v,A,{match:/\$\d+/},c];h.contains=T.concat({begin:/\{/,end:/\}/,keywords:u,contains:["self"].concat(T)});const D=[].concat(y,h.contains),F=D.concat([{begin:/(\s*)\(/,end:/\)/,keywords:u,contains:["self"].concat(D)}]),C={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:u,contains:F},B={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,t.concat(r,"(",t.concat(/\./,r),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,r],scope:{1:"keyword",3:"title.class"}}]},H={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:{_:[...TE,...xE]}},W={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},M={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[C],illegal:/%/},Z={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function V(U){return t.concat("(?!",U.join("|"),")")}const be={match:t.concat(/\b/,V([...AE,"super","import","await"].map(U=>`${U}\\s*\\(`)),r,t.lookahead(/\s*\(/)),className:"title.function",relevance:0},he={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},le={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},C]},q="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",ee={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(q)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[C]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:u,exports:{PARAMS_CONTAINS:F,CLASS_REFERENCE:H},illegal:/#(?![$_A-Za-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),W,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,m,E,v,A,y,{match:/\$\d+/},c,H,{scope:"attr",match:r+t.lookahead(":"),relevance:0},ee,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[y,e.REGEXP_MODE,{className:"function",begin:q,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:u,contains:F}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:a},{begin:s.begin,"on:begin":s.isTrulyOpeningTag,end:s.end}],subLanguage:"xml",contains:[{begin:s.begin,end:s.end,skip:!0,contains:["self"]}]}]},M,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[C,e.inherit(e.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},he,{match:"\\$"+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[C]},be,Z,B,le,{match:/\$[(.]/}]}}const RO="([-+]?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)|NaN|[-+]?Infinity",MO={scope:"number",match:RO,relevance:0};function LO(e){const t={className:"attr",begin:/(("(\\.|[^\\"\r\n])*")|('(\\.|[^\\'\r\n])*'))(?=\s*:)/,relevance:1.01},n={match:/[{}[\],:]/,className:"punctuation",relevance:0},r=["true","false","null"],i={scope:"literal",beginKeywords:r.join(" ")};return{name:"JSON",aliases:["jsonc","json5"],keywords:{literal:r},contains:[t,n,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,i,MO,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}var aa="[0-9](_*[0-9])*",lo=`\\.(${aa})`,co="[0-9a-fA-F](_*[0-9a-fA-F])*",FO={className:"number",variants:[{begin:`(\\b(${aa})((${lo})|\\.)?|(${lo}))[eE][+-]?(${aa})[fFdD]?\\b`},{begin:`\\b(${aa})((${lo})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${lo})[fFdD]?\\b`},{begin:`\\b(${aa})[fFdD]\\b`},{begin:`\\b0[xX]((${co})\\.?|(${co})?\\.(${co}))[pP][+-]?(${aa})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${co})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function PO(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+/}]}},r={className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"@"},i={className:"subst",begin:/\$\{/,end:/\}/,contains:[e.C_NUMBER_MODE]},a={className:"variable",begin:"\\$"+e.UNDERSCORE_IDENT_RE},s={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[a,i]},{begin:"'",end:"'",illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,a,i]}]};i.contains.push(s);const u={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+e.UNDERSCORE_IDENT_RE+")?"},o={className:"meta",begin:"@"+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[e.inherit(s,{className:"string"}),"self"]}]},l=FO,d=e.COMMENT("/\\*","\\*/",{contains:[e.C_BLOCK_COMMENT_MODE]}),c={variants:[{className:"type",begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},h=c;return h.variants[1].contains=[c],c.variants[1].contains=[h],{name:"Kotlin",aliases:["kt","kts"],keywords:t,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,d,n,r,u,o,{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:[c,e.C_LINE_COMMENT_MODE,d],relevance:0},e.C_LINE_COMMENT_MODE,d,u,o,s,e.C_NUMBER_MODE]},d]},{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},u,o]},s,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:`
|
|
433
|
+
`},l]}}const BO=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/},UNICODE_RANGE:{scope:"number",begin:/\b[Uu]\+[0-9A-Fa-f][0-9A-Fa-f?]{0,4}(-[0-9A-Fa-f][0-9A-Fa-f]{0,4})?/},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_-]*/}}),zO=["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"],UO=["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"],HO=[...zO,...UO],$O=["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(),wE=["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(),SE=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),qO=["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","unicode-range","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(),GO=wE.concat(SE).sort().reverse();function YO(e){const t=BO(e),n=GO,r="and or not only",i="[\\w-]+",a="("+i+"|@\\{"+i+"\\})",s=[],u=[],o=function(T){return{className:"string",begin:"~?"+T+".*?"+T}},l=function(T,D,F){return{className:T,begin:D,relevance:F}},d={$pattern:/[a-z-]+/,keyword:r,attribute:$O.join(" ")},c={begin:"\\(",end:"\\)",contains:u,keywords:d,relevance:0};u.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,o("'"),o('"'),t.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},t.UNICODE_RANGE,t.HEXCOLOR,c,l("variable","@@?"+i,10),l("variable","@\\{"+i+"\\}"),l("built_in","~?`[^`]*?`"),{className:"attribute",begin:i+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},t.IMPORTANT,{beginKeywords:"and not"},t.FUNCTION_DISPATCH);const h=u.concat({begin:/\{/,end:/\}/,contains:s}),m={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(u)},E={begin:a+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+qO.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:u}}]},v={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:d,returnEnd:!0,contains:u,relevance:0}},A={className:"variable",variants:[{begin:"@"+i+"\\s*:",relevance:15},{begin:"@"+i}],starts:{end:"[;}]",returnEnd:!0,contains:h}},b={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:a,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,m,l("keyword","all\\b"),l("variable","@\\{"+i+"\\}"),{begin:"\\b("+HO.join("|")+")\\b",className:"selector-tag"},t.CSS_NUMBER_MODE,l("selector-tag",a,0),l("selector-id","#"+a),l("selector-class","\\."+a,0),l("selector-tag","&",0),t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+wE.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+SE.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:h},{begin:"!important"},t.FUNCTION_DISPATCH]},y={begin:i+`:(:)?(${n.join("|")})`,returnBegin:!0,contains:[b]};return s.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,v,A,y,E,b,m,t.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:s}}function WO(e){const t="\\[=*\\[",n="\\]=*\\]",r={begin:t,end:n,contains:["self"]},i=[e.COMMENT("--(?!"+t+")","$"),e.COMMENT("--"+t,n,{contains:[r],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:i.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:i}].concat(i)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:t,end:n,contains:[r],relevance:5}])}}function VO(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]},r={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]},i={begin:"^"+e.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"},a={className:"meta",begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:".PHONY"}},s={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,r,i,a,s]}}function jO(e){const t=e.regex,n={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},r={begin:"^[-\\*]{3,}",end:"$"},i={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}]},a={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},s={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},u=/[A-Za-z][A-Za-z0-9+.-]*/,o={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:t.concat(/\[.+?\]\(/,u,/:\/\/.*?\)/),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}]},l={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},d={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},c=e.inherit(l,{contains:[]}),h=e.inherit(d,{contains:[]});l.contains.push(h),d.contains.push(c);let m=[n,o];return[l,d,c,h].forEach(b=>{b.contains=b.contains.concat(m)}),m=m.concat(l,d),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:m},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:m}]}]},n,a,l,d,{className:"quote",begin:"^>\\s+",contains:m,end:"$"},i,r,o,s,{scope:"literal",match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}}function KO(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_]*/,u={"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"]},o={$pattern:n,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:u,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:"("+o.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:o,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}function XO(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"],r=/[dualxmsipngr]{0,12}/,i={$pattern:/[\w.]+/,keyword:n.join(" ")},a={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:i},s={begin:/->\{/,end:/\}/},u={scope:"attr",match:/\s+:\s*\w+(\s*\(.*?\))?/},o={scope:"variable",variants:[{begin:/\$\d/},{begin:t.concat(/[$%@](?!")(\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@](?!")[^\s\w{=]|\$=/,relevance:0}],contains:[u]},l={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},d=[e.BACKSLASH_ESCAPE,a,o],c=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],h=(v,A,b="\\1")=>{const y=b==="\\1"?b:t.concat(b,A);return t.concat(t.concat("(?:",v,")"),A,/(?:\\.|[^\\\/])*?/,y,/(?:\\.|[^\\\/])*?/,b,r)},m=(v,A,b)=>t.concat(t.concat("(?:",v,")"),A,/(?:\\.|[^\\\/])*?/,b,r),E=[o,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),s,{className:"string",contains:d,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}]},l,{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:h("s|tr|y",t.either(...c,{capture:!0}))},{begin:h("s|tr|y","\\(","\\)")},{begin:h("s|tr|y","\\[","\\]")},{begin:h("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:m("(?:m|qr)?",/\//,/\//)},{begin:m("m|qr",t.either(...c,{capture:!0}),/\1/)},{begin:m("m|qr",/\(/,/\)/)},{begin:m("m|qr",/\[/,/\]/)},{begin:m("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub method",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,u]},{className:"class",beginKeywords:"class",end:"[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,u,l]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return a.contains=E,s.contains=E,{name:"Perl",aliases:["pl","pm"],keywords:i,contains:E}}function QO(e){const t=e.regex,n=/(?![A-Za-z0-9])(?![$])/,r=t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,n),i=t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,n),a=t.concat(/[A-Z]+/,n),s={scope:"variable",match:"\\$+"+r},u={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},o={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},l=e.inherit(e.APOS_STRING_MODE,{illegal:null}),d=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(o)}),c={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(o),"on:begin":(he,le)=>{le.data._beginMatch=he[1]||he[2]},"on:end":(he,le)=>{le.data._beginMatch!==he[1]&&le.ignoreMatch()}},h=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),m=`[
|
|
434
|
+
]`,E={scope:"string",variants:[d,l,c,h]},v={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},A=["false","null","true"],b=["__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"],y=["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"],D={keyword:b,literal:(he=>{const le=[];return he.forEach(q=>{le.push(q),q.toLowerCase()===q?le.push(q.toUpperCase()):le.push(q.toLowerCase())}),le})(A),built_in:y},F=he=>he.map(le=>le.replace(/\|\d+$/,"")),C={variants:[{match:[/new/,t.concat(m,"+"),t.concat("(?!",F(y).join("\\b|"),"\\b)"),i],scope:{1:"keyword",4:"title.class"}}]},B=t.concat(r,"\\b(?!\\()"),H={variants:[{match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),B],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[i,t.concat(/::/,t.lookahead(/(?!class\b)/)),B],scope:{1:"title.class",3:"variable.constant"}},{match:[i,t.concat("::",t.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[i,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},W={scope:"attr",match:t.concat(r,t.lookahead(":"),t.lookahead(/(?!::)/))},M={relevance:0,begin:/\(/,end:/\)/,keywords:D,contains:[W,s,H,e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE,e.HASH_COMMENT_MODE,E,v,C]},Z={relevance:0,match:[/\b/,t.concat("(?!fn\\b|function\\b|",F(b).join("\\b|"),"|",F(y).join("\\b|"),"\\b)"),r,t.concat(m,"*"),t.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[M]};M.contains.push(Z);const V=[W,H,e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE,e.HASH_COMMENT_MODE,E,v,C],be={begin:t.concat(/#\[\s*\\?/,t.either(i,a)),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:A,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:A,keyword:["new","array"]},contains:["self",...V]},...V,{scope:"meta",variants:[{match:i},{match:a}]}]};return{case_insensitive:!1,keywords:D,contains:[be,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}]}},u,{scope:"variable.language",match:/\$this\b/},s,Z,H,{match:[/const/,/\s/,r],scope:{1:"keyword",3:"variable.constant"}},C,{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:D,contains:["self",be,s,H,e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE,e.HASH_COMMENT_MODE,E,v]}]},{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]},E,v]}}function ZO(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 JO(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}function eR(e){const t=e.regex,n=new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*","u"),r=["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"],u={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:r,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"]},o={className:"meta",begin:/^(>>>|\.\.\.) /},l={className:"subst",begin:/\{/,end:/\}/,keywords:u,illegal:/#/},d={begin:/\{\{/,relevance:0},c={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,o],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,o],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,o,d,l]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,o,d,l]},{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,d,l]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,d,l]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},h="[0-9](_?[0-9])*",m=`(\\b(${h}))?\\.(${h})|\\b(${h})\\.`,E=`\\b|${r.join("|")}`,v={className:"number",relevance:0,variants:[{begin:`(\\b(${h})|(${m}))[eE][+-]?(${h})[jJ]?(?=${E})`},{begin:`(${m})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${E})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${E})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${E})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${E})`},{begin:`\\b(${h})[jJ](?=${E})`}]},A={className:"comment",begin:t.lookahead(/# type:/),end:/$/,keywords:u,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},b={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:u,contains:["self",o,v,c,e.HASH_COMMENT_MODE]}]};return l.contains=[c,v,o],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:u,illegal:/(<\/|\?)|=>/,contains:[o,v,{scope:"variable.language",match:/\bself\b/},{beginKeywords:"if",relevance:0},{match:/\bor\b/,scope:"keyword"},c,A,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[b]},{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:[v,b,c]}]}}function tR(e){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}function nR(e){const t=e.regex,n=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,r=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]?/),i=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,a=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:[i,r]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,r]},{scope:{1:"punctuation",2:"number"},match:[a,r]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,r]}]},{scope:{3:"operator"},match:[n,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:i},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:a},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}function rR(e){const t=e.regex,n="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",r=t.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),i=t.concat(r,/(::\w+)*/),s={"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"]},u={className:"doctag",begin:"@[A-Za-z]+"},o={begin:"#<",end:">"},l=[e.COMMENT("#","$",{contains:[u]}),e.COMMENT("^=begin","^=end",{contains:[u],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],d={className:"subst",begin:/#\{/,end:/\}/,keywords:s},c={className:"string",contains:[e.BACKSLASH_ESCAPE,d],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,d]})]}]},h="[1-9](_?[0-9])*|0",m="[0-9](_?[0-9])*",E={className:"number",relevance:0,variants:[{begin:`\\b(${h})(\\.(${m}))?([eE][+-]?(${m})|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"}]},v={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:s}]},C=[c,{variants:[{match:[/class\s+/,i,/\s+<\s+/,i]},{match:[/\b(class|module)\s+/,i]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:s},{match:[/(include|extend)\s+/,i],scope:{2:"title.class"},keywords:s},{relevance:0,match:[i,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:r,scope:"title.class"},{match:[/def/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[v]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[c,{begin:n}],relevance:0},E,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|(?!=)/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:s},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,d],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(o,l),relevance:0}].concat(o,l);d.contains=C,v.contains=C;const M=[{begin:/^\s*=>/,starts:{end:"$",contains:C}},{className:"meta.prompt",begin:"^("+"[>?]>"+"|"+"[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]"+"|"+"(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>"+")(?=[ ])",starts:{end:"$",keywords:s,contains:C}}];return l.unshift(o),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:s,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(M).concat(l).concat(C)}}function iR(e){const t=e.regex,n=/(r#)?/,r=t.concat(n,e.UNDERSCORE_IDENT_RE),i=t.concat(n,e.IDENT_RE),a={className:"title.function.invoke",relevance:0,begin:t.concat(/\b/,/(?!let|for|while|if|else|match\b)/,i,t.lookahead(/\s*\(/))},s="([ui](8|16|32|64|128|size)|f(32|64))?",u=["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"],o=["true","false","Some","None","Ok","Err"],l=["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!"],d=["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:d,keyword:u,literal:o,built_in:l},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_]+)"+s},{begin:"\\b0o([0-7_]+)"+s},{begin:"\\b0x([A-Fa-f0-9_]+)"+s},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+s}],relevance:0},{begin:[/fn/,/\s+/,r],className:{1:"keyword",3:"title.function"}},{className:"meta",begin:"#!?\\[",end:"\\]",contains:[{className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]}]},{begin:[/let/,/\s+/,/(?:mut\s+)?/,r],className:{1:"keyword",3:"keyword",4:"variable"}},{begin:[/for/,/\s+/,r,/\s+/,/in/],className:{1:"keyword",3:"variable",5:"keyword"}},{begin:[/type/,/\s+/,r],className:{1:"keyword",3:"title.class"}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,r],className:{1:"keyword",3:"title.class"}},{begin:e.IDENT_RE+"::",keywords:{keyword:"Self",built_in:l,type:d}},{className:"punctuation",begin:"->"},a]}}const aR=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/},UNICODE_RANGE:{scope:"number",begin:/\b[Uu]\+[0-9A-Fa-f][0-9A-Fa-f?]{0,4}(-[0-9A-Fa-f][0-9A-Fa-f]{0,4})?/},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_-]*/}}),sR=["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"],uR=["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"],oR=[...sR,...uR],lR=["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(),cR=["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(),dR=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),fR=["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","unicode-range","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 hR(e){const t=aR(e),n=dR,r=cR,i="@[a-z-]+",a="and or not only",u={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("+oR.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+r.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+n.join("|")+")"},u,{begin:/\(/,end:/\)/,contains:[t.CSS_NUMBER_MODE]},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+fR.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,u,t.HEXCOLOR,t.CSS_NUMBER_MODE,t.UNICODE_RANGE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.IMPORTANT,t.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:i,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:a,attribute:lR.join(" ")},contains:[{begin:i,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},u,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.HEXCOLOR,t.CSS_NUMBER_MODE]},t.FUNCTION_DISPATCH]}}function mR(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}function pR(e){const t=e.regex,n=e.COMMENT("--","$"),r={scope:"string",variants:[{begin:/'/,end:/'/,contains:[{match:/''/}]}]},i={begin:/"/,end:/"/,contains:[{match:/""/}]},a=["true","false","unknown"],s=["double precision","large object","with timezone","without timezone"],u=["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"],o=["add","asc","collation","desc","final","first","last","view"],l=["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"],d=["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"],c=["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"],h=["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"],m=d,E=[...l,...o].filter(F=>!d.includes(F)),v={scope:"variable",match:/@[a-z0-9][a-z0-9_]*/},A={scope:"operator",match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},b={match:t.concat(/\b/,t.either(...m),/\s*\(/),relevance:0,keywords:{built_in:m}};function y(F){return t.concat(/\b/,t.either(...F.map(C=>C.replace(/\s+/,"\\s+"))),/\b/)}const T={scope:"keyword",match:y(h),relevance:0};function D(F,{exceptions:C,when:B}={}){const H=B;return C=C||[],F.map(W=>W.match(/\|\d+$/)||C.includes(W)?W:H(W)?`${W}|0`:W)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:D(E,{when:F=>F.length<3}),literal:a,type:u,built_in:c},contains:[{scope:"type",match:y(s)},T,b,v,r,i,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,A]}}function kE(e){return e?typeof e=="string"?e:e.source:null}function ps(e){return ze("(?=",e,")")}function ze(...e){return e.map(n=>kE(n)).join("")}function gR(e){const t=e[e.length-1];return typeof t=="object"&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function Pt(...e){return"("+(gR(e).capture?"":"?:")+e.map(r=>kE(r)).join("|")+")"}const q1=e=>ze(/\b/,e,/\w$/.test(e)?/\b/:/\B/),bR=["Protocol","Type"].map(q1),Dg=["init","self"].map(q1),ER=["Any","Self"],bc=["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"],Ig=["false","nil","true"],yR=["assignment","associativity","higherThan","left","lowerThan","none","right"],vR=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],Og=["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"],CE=Pt(/[/=\-+!*%<>&|^~?]/,/[\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]/),NE=Pt(CE,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),Ec=ze(CE,NE,"*"),DE=Pt(/[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]/),ml=Pt(DE,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),Vn=ze(DE,ml,"*"),fo=ze(/[A-Z]/,ml,"*"),_R=["attached","autoclosure",ze(/convention\(/,Pt("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",ze(/objc\(/,Vn,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],TR=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function xR(e){const t={match:/\s+/,relevance:0},n=e.COMMENT("/\\*","\\*/",{contains:["self"]}),r=[e.C_LINE_COMMENT_MODE,n],i={match:[/\./,Pt(...bR,...Dg)],className:{2:"keyword"}},a={match:ze(/\./,Pt(...bc)),relevance:0},s=bc.filter(Oe=>typeof Oe=="string").concat(["_|0"]),u=bc.filter(Oe=>typeof Oe!="string").concat(ER).map(q1),o={variants:[{className:"keyword",match:Pt(...u,...Dg)}]},l={$pattern:Pt(/\b\w+/,/#\w+/),keyword:s.concat(vR),literal:Ig},d=[i,a,o],c={match:ze(/\./,Pt(...Og)),relevance:0},h={className:"built_in",match:ze(/\b/,Pt(...Og),/(?=\()/)},m=[c,h],E={match:/->/,relevance:0},v={className:"operator",relevance:0,variants:[{match:Ec},{match:`\\.(\\.|${NE})+`}]},A=[E,v],b="([0-9]_*)+",y="([0-9a-fA-F]_*)+",T={className:"number",relevance:0,variants:[{match:`\\b(${b})(\\.(${b}))?([eE][+-]?(${b}))?\\b`},{match:`\\b0x(${y})(\\.(${y}))?([pP][+-]?(${b}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},D=(Oe="")=>({className:"subst",variants:[{match:ze(/\\/,Oe,/[0\\tnr"']/)},{match:ze(/\\/,Oe,/u\{[0-9a-fA-F]{1,8}\}/)}]}),F=(Oe="")=>({className:"subst",match:ze(/\\/,Oe,/[\t ]*(?:[\r\n]|\r\n)/)}),C=(Oe="")=>({className:"subst",label:"interpol",begin:ze(/\\/,Oe,/\(/),end:/\)/}),B=(Oe="")=>({begin:ze(Oe,/"""/),end:ze(/"""/,Oe),contains:[D(Oe),F(Oe),C(Oe)]}),H=(Oe="")=>({begin:ze(Oe,/"/),end:ze(/"/,Oe),contains:[D(Oe),C(Oe)]}),W={className:"string",variants:[B(),B("#"),B("##"),B("###"),H(),H("#"),H("##"),H("###")]},M=[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[e.BACKSLASH_ESCAPE]}],Z={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:M},V=Oe=>{const an=ze(Oe,/\//),Ee=ze(/\//,Oe);return{begin:an,end:Ee,contains:[...M,{scope:"comment",begin:`#(?!.*${Ee})`,end:/$/}]}},be={scope:"regexp",variants:[V("###"),V("##"),V("#"),Z]},he={match:ze(/`/,Vn,/`/)},le={className:"variable",match:/\$\d+/},q={className:"variable",match:`\\$${ml}+`},ee=[he,le,q],U={match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:TR,contains:[...A,T,W]}]}},j={scope:"keyword",match:ze(/@/,Pt(..._R),ps(Pt(/\(/,/\s+/)))},S={scope:"meta",match:ze(/@/,Vn)},ue=[U,j,S],ge={match:ps(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:ze(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,ml,"+")},{className:"type",match:fo,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:ze(/\s+&\s+/,ps(fo)),relevance:0}]},R={begin:/</,end:/>/,keywords:l,contains:[...r,...d,...ue,E,ge]};ge.contains.push(R);const ke={match:ze(Vn,/\s*:/),keywords:"_|0",relevance:0},Be={begin:/\(/,end:/\)/,relevance:0,keywords:l,contains:["self",ke,...r,be,...d,...m,...A,T,W,...ee,...ue,ge]},Ie={begin:/</,end:/>/,keywords:"repeat each",contains:[...r,ge]},rt={begin:Pt(ps(ze(Vn,/\s*:/)),ps(ze(Vn,/\s+/,Vn,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:Vn}]},Tt={begin:/\(/,end:/\)/,keywords:l,contains:[rt,...r,...d,...A,T,W,...ue,ge,Be],endsParent:!0,illegal:/["']/},xt={match:[/(func|macro)/,/\s+/,Pt(he.match,Vn,Ec)],className:{1:"keyword",3:"title.function"},contains:[Ie,Tt,t],illegal:[/\[/,/%/]},nn={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[Ie,Tt,t],illegal:/\[|%/},On={match:[/operator/,/\s+/,Ec],className:{1:"keyword",3:"title"}},Dr={begin:[/precedencegroup/,/\s+/,fo],className:{1:"keyword",3:"title"},contains:[ge],keywords:[...yR,...Ig],end:/}/},rn={match:[/class\b/,/\s+/,/func\b/,/\s+/,/\b[A-Za-z_][A-Za-z0-9_]*\b/],scope:{1:"keyword",3:"keyword",5:"title.function"}},Rn={match:[/class\b/,/\s+/,/var\b/],scope:{1:"keyword",3:"keyword"}},At={begin:[/(struct|protocol|class|extension|enum|actor)/,/\s+/,Vn,/\s*/],beginScope:{1:"keyword",3:"title.class"},keywords:l,contains:[Ie,...d,{begin:/:/,end:/\{/,keywords:l,contains:[{scope:"title.class.inherited",match:fo},...d],relevance:0}]};for(const Oe of W.variants){const an=Oe.contains.find(Yn=>Yn.label==="interpol");an.keywords=l;const Ee=[...d,...m,...A,T,W,...ee];an.contains=[...Ee,{begin:/\(/,end:/\)/,contains:["self",...Ee]}]}return{name:"Swift",keywords:l,contains:[...r,xt,nn,rn,Rn,At,On,Dr,{beginKeywords:"import",end:/$/,contains:[...r],relevance:0},be,...d,...m,...A,T,W,...ee,...ue,ge,Be]}}const pl="[A-Za-z$_][0-9A-Za-z$_]*",IE=["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"],OE=["true","false","null","undefined","NaN","Infinity"],RE=["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"],ME=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],LE=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],FE=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],PE=[].concat(LE,RE,ME);function AR(e){const t=e.regex,n=(U,{after:j})=>{const S="</"+U[0].slice(1);return U.input.indexOf(S,j)!==-1},r=pl,i={begin:"<>",end:"</>"},a=/<[A-Za-z0-9\\._:-]+\s*\/>/,s={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(U,j)=>{const S=U[0].length+U.index,ue=U.input[S];if(ue==="<"||ue===","){j.ignoreMatch();return}ue===">"&&(n(U,{after:S})||j.ignoreMatch());let ge;const R=U.input.substring(S);if(ge=R.match(/^\s*=/)){j.ignoreMatch();return}if((ge=R.match(/^\s+extends\s+/))&&ge.index===0){j.ignoreMatch();return}}},u={$pattern:pl,keyword:IE,literal:OE,built_in:PE,"variable.language":FE},o="[0-9](_?[0-9])*",l=`\\.(${o})`,d="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",c={className:"number",variants:[{begin:`(\\b(${d})((${l})|\\.)?|(${l}))[eE][+-]?(${o})\\b`},{begin:`\\b(${d})\\b((${l})\\b|\\.)?|(${l})\\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},h={className:"subst",begin:"\\$\\{",end:"\\}",keywords:u,contains:[]},m={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,h],subLanguage:"xml"}},E={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,h],subLanguage:"css"}},v={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,h],subLanguage:"graphql"}},A={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,h]},y={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:r+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},T=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,m,E,v,A,{match:/\$\d+/},c];h.contains=T.concat({begin:/\{/,end:/\}/,keywords:u,contains:["self"].concat(T)});const D=[].concat(y,h.contains),F=D.concat([{begin:/(\s*)\(/,end:/\)/,keywords:u,contains:["self"].concat(D)}]),C={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:u,contains:F},B={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,t.concat(r,"(",t.concat(/\./,r),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,r],scope:{1:"keyword",3:"title.class"}}]},H={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:{_:[...RE,...ME]}},W={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},M={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[C],illegal:/%/},Z={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function V(U){return t.concat("(?!",U.join("|"),")")}const be={match:t.concat(/\b/,V([...LE,"super","import","await"].map(U=>`${U}\\s*\\(`)),r,t.lookahead(/\s*\(/)),className:"title.function",relevance:0},he={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},le={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},C]},q="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",ee={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(q)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[C]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:u,exports:{PARAMS_CONTAINS:F,CLASS_REFERENCE:H},illegal:/#(?![$_A-Za-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),W,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,m,E,v,A,y,{match:/\$\d+/},c,H,{scope:"attr",match:r+t.lookahead(":"),relevance:0},ee,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[y,e.REGEXP_MODE,{className:"function",begin:q,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:u,contains:F}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:a},{begin:s.begin,"on:begin":s.isTrulyOpeningTag,end:s.end}],subLanguage:"xml",contains:[{begin:s.begin,end:s.end,skip:!0,contains:["self"]}]}]},M,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[C,e.inherit(e.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},he,{match:"\\$"+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[C]},be,Z,B,le,{match:/\$[(.]/}]}}function wR(e){const t=e.regex,n=AR(e),r=pl,i=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],a={begin:[/namespace/,/\s+/,e.IDENT_RE],beginScope:{1:"keyword",3:"title.class"}},s={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:i},contains:[n.exports.CLASS_REFERENCE]},u={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},o=["type","interface","public","private","protected","implements","declare","abstract","readonly","enum","override","satisfies"],l={$pattern:pl,keyword:IE.concat(o),literal:OE,built_in:PE.concat(i),"variable.language":FE},d={className:"meta",begin:"@"+r},c=(v,A,b)=>{const y=v.contains.findIndex(T=>T.label===A);if(y===-1)throw new Error("can not find mode to replace");v.contains.splice(y,1,b)};Object.assign(n.keywords,l),n.exports.PARAMS_CONTAINS.push(d);const h=n.contains.find(v=>v.scope==="attr"),m=Object.assign({},h,{match:t.concat(r,t.lookahead(/\s*\?:/))});n.exports.PARAMS_CONTAINS.push([n.exports.CLASS_REFERENCE,h,m]),n.contains=n.contains.concat([d,a,s,m]),c(n,"shebang",e.SHEBANG()),c(n,"use_strict",u);const E=n.contains.find(v=>v.label==="func.def");return E.relevance=0,Object.assign(n,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),n}function SR(e){const t=e.regex,n={className:"string",begin:/"(""|[^/n])"C\b/},r={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},i=/\d{1,2}\/\d{1,2}\/\d{4}/,a=/\d{4}-\d{1,2}-\d{1,2}/,s=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,u=/\d{1,2}(:\d{1,2}){1,2}/,o={className:"literal",variants:[{begin:t.concat(/# */,t.either(a,i),/ *#/)},{begin:t.concat(/# */,u,/ *#/)},{begin:t.concat(/# */,s,/ *#/)},{begin:t.concat(/# */,t.either(a,i),/ +/,t.either(s,u),/ *#/)}]},l={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])|[%&])?/}]},d={className:"label",begin:/^\w+:/},c=e.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),h=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,r,o,l,d,c,h,{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:[h]}]}}function kR(e){e.regex;const t=e.COMMENT(/\(;/,/;\)/);t.contains.push("self");const n=e.COMMENT(/;;/,/$/),r=["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"],i={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},a={className:"variable",begin:/\$[\w_]+/},s={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},u={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/},o={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},l={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:r},contains:[n,t,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},a,s,i,e.QUOTE_STRING_MODE,o,l,u]}}function CR(e){const t=e.regex,n=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r=/[\p{L}0-9._:-]+/u,i={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},a={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},s=e.inherit(a,{begin:/\(/,end:/\)/}),u=e.inherit(e.APOS_STRING_MODE,{className:"string"}),o=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),l={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:r,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[i]},{begin:/'/,end:/'/,contains:[i]},{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:[a,o,u,s,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[a,s,o,u]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},i,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[o]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[l],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[l],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:l}]},{className:"tag",begin:t.concat(/<\//,t.lookahead(t.concat(n,/>/))),contains:[{className:"name",begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}function NR(e){const t="true false yes no null",n="[\\w#;/?:@&=+$,.~*'()[\\]]+",r={className:"attr",variants:[{begin:/[\w*@][\w*@ :()\./-]*:(?=[ \t]|$)/},{begin:/"[\w*@][\w*@ :()\./-]*":(?=[ \t]|$)/},{begin:/'[\w*@][\w*@ :()\./-]*':(?=[ \t]|$)/}]},i={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},a={className:"string",relevance:0,begin:/'/,end:/'/,contains:[{match:/''/,scope:"char.escape",relevance:0}]},s={className:"string",relevance:0,variants:[{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,i]},u=e.inherit(s,{variants:[{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),h={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"},m={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},E={begin:/\{/,end:/\}/,contains:[m],illegal:"\\n",relevance:0},v={begin:"\\[",end:"\\]",contains:[m],illegal:"\\n",relevance:0},A=[r,{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}},h,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},E,v,a,s],b=[...A];return b.pop(),b.push(u),m.contains=b,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:A}}const DR={arduino:lO,bash:cO,c:dO,cpp:fO,csharp:hO,css:TO,diff:xO,go:AO,graphql:wO,ini:SO,java:kO,javascript:OO,json:LO,kotlin:PO,less:YO,lua:WO,makefile:VO,markdown:jO,objectivec:KO,perl:XO,php:QO,"php-template":ZO,plaintext:JO,python:eR,"python-repl":tR,r:nR,ruby:rR,rust:iR,scss:hR,shell:mR,sql:pR,swift:xR,typescript:wR,vbnet:SR,wasm:kR,xml:CR,yaml:NR};function BE(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(t=>{const n=e[t],r=typeof n;(r==="object"||r==="function")&&!Object.isFrozen(n)&&BE(n)}),e}class Rg{constructor(t){t.data===void 0&&(t.data={}),this.data=t.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function zE(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function Jr(e,...t){const n=Object.create(null);for(const r in e)n[r]=e[r];return t.forEach(function(r){for(const i in r)n[i]=r[i]}),n}const IR="</span>",Mg=e=>!!e.scope,OR=(e,{prefix:t})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){const n=e.split(".");return[`${t}${n.shift()}`,...n.map((r,i)=>`${r}${"_".repeat(i+1)}`)].join(" ")}return`${t}${e}`};class RR{constructor(t,n){this.buffer="",this.classPrefix=n.classPrefix,t.walk(this)}addText(t){this.buffer+=zE(t)}openNode(t){if(!Mg(t))return;const n=OR(t.scope,{prefix:this.classPrefix});this.span(n)}closeNode(t){Mg(t)&&(this.buffer+=IR)}value(){return this.buffer}span(t){this.buffer+=`<span class="${t}">`}}const Lg=(e={})=>{const t={children:[]};return Object.assign(t,e),t};class G1{constructor(){this.rootNode=Lg(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(t){this.top.children.push(t)}openNode(t){const n=Lg({scope:t});this.add(n),this.stack.push(n)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(t){return this.constructor._walk(t,this.rootNode)}static _walk(t,n){return typeof n=="string"?t.addText(n):n.children&&(t.openNode(n),n.children.forEach(r=>this._walk(t,r)),t.closeNode(n)),t}static _collapse(t){typeof t!="string"&&t.children&&(t.children.every(n=>typeof n=="string")?t.children=[t.children.join("")]:t.children.forEach(n=>{G1._collapse(n)}))}}class MR extends G1{constructor(t){super(),this.options=t}addText(t){t!==""&&this.add(t)}startScope(t){this.openNode(t)}endScope(){this.closeNode()}__addSublanguage(t,n){const r=t.root;n&&(r.scope=`language:${n}`),this.add(r)}toHTML(){return new RR(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function cu(e){return e?typeof e=="string"?e:e.source:null}function UE(e){return Zi("(?=",e,")")}function LR(e){return Zi("(?:",e,")*")}function FR(e){return Zi("(?:",e,")?")}function Zi(...e){return e.map(n=>cu(n)).join("")}function PR(e){const t=e[e.length-1];return typeof t=="object"&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function Y1(...e){return"("+(PR(e).capture?"":"?:")+e.map(r=>cu(r)).join("|")+")"}function HE(e){return new RegExp(e.toString()+"|").exec("").length-1}function BR(e,t){const n=e&&e.exec(t);return n&&n.index===0}const zR=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function W1(e,{joinWith:t}){let n=0;return e.map(r=>{n+=1;const i=n;let a=cu(r),s="";for(;a.length>0;){const u=zR.exec(a);if(!u){s+=a;break}s+=a.substring(0,u.index),a=a.substring(u.index+u[0].length),u[0][0]==="\\"&&u[1]?s+="\\"+String(Number(u[1])+i):(s+=u[0],u[0]==="("&&n++)}return s}).map(r=>`(${r})`).join(t)}const UR=/\b\B/,$E="[a-zA-Z]\\w*",V1="[a-zA-Z_]\\w*",qE="\\b\\d+(\\.\\d+)?",GE="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",YE="\\b(0b[01]+)",HR="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",$R=(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=Zi(t,/.*\b/,e.binary,/\b.*/)),Jr({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(n,r)=>{n.index!==0&&r.ignoreMatch()}},e)},du={begin:"\\\\[\\s\\S]",relevance:0},qR={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[du]},GR={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[du]},YR={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/},i0=function(e,t,n={}){const r=Jr({scope:"comment",begin:e,end:t,contains:[]},n);r.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 i=Y1("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 r.contains.push({begin:Zi(/[ ]+/,"(",i,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),r},WR=i0("//","$"),VR=i0("/\\*","\\*/"),jR=i0("#","$"),KR={scope:"number",begin:qE,relevance:0},XR={scope:"number",begin:GE,relevance:0},QR={scope:"number",begin:YE,relevance:0},ZR={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[du,{begin:/\[/,end:/\]/,relevance:0,contains:[du]}]},JR={scope:"title",begin:$E,relevance:0},eM={scope:"title",begin:V1,relevance:0},tM={begin:"\\.\\s*"+V1,relevance:0},nM=function(e){return Object.assign(e,{"on:begin":(t,n)=>{n.data._beginMatch=t[1]},"on:end":(t,n)=>{n.data._beginMatch!==t[1]&&n.ignoreMatch()}})};var ho=Object.freeze({__proto__:null,APOS_STRING_MODE:qR,BACKSLASH_ESCAPE:du,BINARY_NUMBER_MODE:QR,BINARY_NUMBER_RE:YE,COMMENT:i0,C_BLOCK_COMMENT_MODE:VR,C_LINE_COMMENT_MODE:WR,C_NUMBER_MODE:XR,C_NUMBER_RE:GE,END_SAME_AS_BEGIN:nM,HASH_COMMENT_MODE:jR,IDENT_RE:$E,MATCH_NOTHING_RE:UR,METHOD_GUARD:tM,NUMBER_MODE:KR,NUMBER_RE:qE,PHRASAL_WORDS_MODE:YR,QUOTE_STRING_MODE:GR,REGEXP_MODE:ZR,RE_STARTERS_RE:HR,SHEBANG:$R,TITLE_MODE:JR,UNDERSCORE_IDENT_RE:V1,UNDERSCORE_TITLE_MODE:eM});function rM(e,t){e.input[e.index-1]==="."&&t.ignoreMatch()}function iM(e,t){e.className!==void 0&&(e.scope=e.className,delete e.className)}function aM(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=rM,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function sM(e,t){Array.isArray(e.illegal)&&(e.illegal=Y1(...e.illegal))}function uM(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function oM(e,t){e.relevance===void 0&&(e.relevance=1)}const lM=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const n=Object.assign({},e);Object.keys(e).forEach(r=>{delete e[r]}),e.keywords=n.keywords,e.begin=Zi(n.beforeMatch,UE(n.begin)),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch},cM=["of","and","for","in","not","or","if","then","parent","list","value"],dM="keyword";function WE(e,t,n=dM){const r=Object.create(null);return typeof e=="string"?i(n,e.split(" ")):Array.isArray(e)?i(n,e):Object.keys(e).forEach(function(a){Object.assign(r,WE(e[a],t,a))}),r;function i(a,s){t&&(s=s.map(u=>u.toLowerCase())),s.forEach(function(u){const o=u.split("|");r[o[0]]=[a,fM(o[0],o[1])]})}}function fM(e,t){return t?Number(t):hM(e)?0:1}function hM(e){return cM.includes(e.toLowerCase())}const Fg={},Bi=e=>{console.error(e)},Pg=(e,...t)=>{console.log(`WARN: ${e}`,...t)},na=(e,t)=>{Fg[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),Fg[`${e}/${t}`]=!0)},gl=new Error;function VE(e,t,{key:n}){let r=0;const i=e[n],a={},s={};for(let u=1;u<=t.length;u++)s[u+r]=i[u],a[u+r]=!0,r+=HE(t[u-1]);e[n]=s,e[n]._emit=a,e[n]._multi=!0}function mM(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw Bi("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),gl;if(typeof e.beginScope!="object"||e.beginScope===null)throw Bi("beginScope must be object"),gl;VE(e,e.begin,{key:"beginScope"}),e.begin=W1(e.begin,{joinWith:""})}}function pM(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw Bi("skip, excludeEnd, returnEnd not compatible with endScope: {}"),gl;if(typeof e.endScope!="object"||e.endScope===null)throw Bi("endScope must be object"),gl;VE(e,e.end,{key:"endScope"}),e.end=W1(e.end,{joinWith:""})}}function gM(e){e.scope&&typeof e.scope=="object"&&e.scope!==null&&(e.beginScope=e.scope,delete e.scope)}function bM(e){gM(e),typeof e.beginScope=="string"&&(e.beginScope={_wrap:e.beginScope}),typeof e.endScope=="string"&&(e.endScope={_wrap:e.endScope}),mM(e),pM(e)}function EM(e){function t(s,u){return new RegExp(cu(s),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(u?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(u,o){o.position=this.position++,this.matchIndexes[this.matchAt]=o,this.regexes.push([o,u]),this.matchAt+=HE(u)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const u=this.regexes.map(o=>o[1]);this.matcherRe=t(W1(u,{joinWith:"|"}),!0),this.lastIndex=0}exec(u){this.matcherRe.lastIndex=this.lastIndex;const o=this.matcherRe.exec(u);if(!o)return null;const l=o.findIndex((c,h)=>h>0&&c!==void 0),d=this.matchIndexes[l];return o.splice(0,l),Object.assign(o,d)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(u){if(this.multiRegexes[u])return this.multiRegexes[u];const o=new n;return this.rules.slice(u).forEach(([l,d])=>o.addRule(l,d)),o.compile(),this.multiRegexes[u]=o,o}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(u,o){this.rules.push([u,o]),o.type==="begin"&&this.count++}exec(u){const o=this.getMatcher(this.regexIndex);o.lastIndex=this.lastIndex;let l=o.exec(u);if(this.resumingScanAtSamePosition()&&!(l&&l.index===this.lastIndex)){const d=this.getMatcher(0);d.lastIndex=this.lastIndex+1,l=d.exec(u)}return l&&(this.regexIndex+=l.position+1,this.regexIndex===this.count&&this.considerAll()),l}}function i(s){const u=new r;return s.contains.forEach(o=>u.addRule(o.begin,{rule:o,type:"begin"})),s.terminatorEnd&&u.addRule(s.terminatorEnd,{type:"end"}),s.illegal&&u.addRule(s.illegal,{type:"illegal"}),u}function a(s,u){const o=s;if(s.isCompiled)return o;[iM,uM,bM,lM].forEach(d=>d(s,u)),e.compilerExtensions.forEach(d=>d(s,u)),s.__beforeBegin=null,[aM,sM,oM].forEach(d=>d(s,u)),s.isCompiled=!0;let l=null;return typeof s.keywords=="object"&&s.keywords.$pattern&&(s.keywords=Object.assign({},s.keywords),l=s.keywords.$pattern,delete s.keywords.$pattern),l=l||/\w+/,s.keywords&&(s.keywords=WE(s.keywords,e.case_insensitive)),o.keywordPatternRe=t(l,!0),u&&(s.begin||(s.begin=/\B|\b/),o.beginRe=t(o.begin),!s.end&&!s.endsWithParent&&(s.end=/\B|\b/),s.end&&(o.endRe=t(o.end)),o.terminatorEnd=cu(o.end)||"",s.endsWithParent&&u.terminatorEnd&&(o.terminatorEnd+=(s.end?"|":"")+u.terminatorEnd)),s.illegal&&(o.illegalRe=t(s.illegal)),s.contains||(s.contains=[]),s.contains=[].concat(...s.contains.map(function(d){return yM(d==="self"?s:d)})),s.contains.forEach(function(d){a(d,o)}),s.starts&&a(s.starts,u),o.matcher=i(o),o}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=Jr(e.classNameAliases||{}),a(e)}function jE(e){return e?e.endsWithParent||jE(e.starts):!1}function yM(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return Jr(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:jE(e)?Jr(e,{starts:e.starts?Jr(e.starts):null}):Object.isFrozen(e)?Jr(e):e}var vM="11.11.2";class _M extends Error{constructor(t,n){super(t),this.name="HTMLInjectionError",this.html=n}}const yc=zE,Bg=Jr,zg=Symbol("nomatch"),TM=7,KE=function(e){const t=Object.create(null),n=Object.create(null),r=[];let i=!0;const a="Could not find the language '{}', did you forget to load/include a language module?",s={disableAutodetect:!0,name:"Plain text",contains:[]};let u={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:MR};function o(q){return u.noHighlightRe.test(q)}function l(q){let ee=q.className+" ";ee+=q.parentNode?q.parentNode.className:"";const U=u.languageDetectRe.exec(ee);if(U){const j=H(U[1]);return j||(Pg(a.replace("{}",U[1])),Pg("Falling back to no-highlight mode for this block.",q)),j?U[1]:"no-highlight"}return ee.split(/\s+/).find(j=>o(j)||H(j))}function d(q,ee,U){let j="",S="";typeof ee=="object"?(j=q,U=ee.ignoreIllegals,S=ee.language):(na("10.7.0","highlight(lang, code, ...args) has been deprecated."),na("10.7.0",`Please use highlight(code, options) instead.
|
|
435
|
+
https://github.com/highlightjs/highlight.js/issues/2277`),S=q,j=ee),U===void 0&&(U=!0);const ue={code:j,language:S};he("before:highlight",ue);const ge=ue.result?ue.result:c(ue.language,ue.code,U);return ge.code=ue.code,he("after:highlight",ge),ge}function c(q,ee,U,j){const S=Object.create(null);function ue(P,$){return P.keywords[$]}function ge(){if(!Ee.keywords){Ge.addText(Fe);return}let P=0;Ee.keywordPatternRe.lastIndex=0;let $=Ee.keywordPatternRe.exec(Fe),ae="";for(;$;){ae+=Fe.substring(P,$.index);const ce=At.case_insensitive?$[0].toLowerCase():$[0],xe=ue(Ee,ce);if(xe){const[st,or]=xe;if(Ge.addText(ae),ae="",S[ce]=(S[ce]||0)+1,S[ce]<=TM&&(Ir+=or),st.startsWith("_"))ae+=$[0];else{const Mn=At.classNameAliases[st]||st;Be($[0],Mn)}}else ae+=$[0];P=Ee.keywordPatternRe.lastIndex,$=Ee.keywordPatternRe.exec(Fe)}ae+=Fe.substring(P),Ge.addText(ae)}function R(){if(Fe==="")return;let P=null;if(typeof Ee.subLanguage=="string"){if(!t[Ee.subLanguage]){Ge.addText(Fe);return}P=c(Ee.subLanguage,Fe,!0,Yn[Ee.subLanguage]),Yn[Ee.subLanguage]=P._top}else P=m(Fe,Ee.subLanguage.length?Ee.subLanguage:null);Ee.relevance>0&&(Ir+=P.relevance),Ge.__addSublanguage(P._emitter,P.language)}function ke(){Ee.subLanguage!=null?R():ge(),Fe=""}function Be(P,$){P!==""&&(Ge.startScope($),Ge.addText(P),Ge.endScope())}function Ie(P,$){let ae=1;const ce=$.length-1;for(;ae<=ce;){if(!P._emit[ae]){ae++;continue}const xe=At.classNameAliases[P[ae]]||P[ae],st=$[ae];xe?Be(st,xe):(Fe=st,ge(),Fe=""),ae++}}function rt(P,$){return P.scope&&typeof P.scope=="string"&&Ge.openNode(At.classNameAliases[P.scope]||P.scope),P.beginScope&&(P.beginScope._wrap?(Be(Fe,At.classNameAliases[P.beginScope._wrap]||P.beginScope._wrap),Fe=""):P.beginScope._multi&&(Ie(P.beginScope,$),Fe="")),Ee=Object.create(P,{parent:{value:Ee}}),Ee}function Tt(P,$,ae){let ce=BR(P.endRe,ae);if(ce){if(P["on:end"]){const xe=new Rg(P);P["on:end"]($,xe),xe.isMatchIgnored&&(ce=!1)}if(ce){for(;P.endsParent&&P.parent;)P=P.parent;return P}}if(P.endsWithParent)return Tt(P.parent,$,ae)}function xt(P){return Ee.matcher.regexIndex===0?(Fe+=P[0],1):(Rr=!0,0)}function nn(P){const $=P[0],ae=P.rule,ce=new Rg(ae),xe=[ae.__beforeBegin,ae["on:begin"]];for(const st of xe)if(st&&(st(P,ce),ce.isMatchIgnored))return xt($);return ae.skip?Fe+=$:(ae.excludeBegin&&(Fe+=$),ke(),!ae.returnBegin&&!ae.excludeBegin&&(Fe=$)),rt(ae,P),ae.returnBegin?0:$.length}function On(P){const $=P[0],ae=ee.substring(P.index),ce=Tt(Ee,P,ae);if(!ce)return zg;const xe=Ee;Ee.endScope&&Ee.endScope._wrap?(ke(),Be($,Ee.endScope._wrap)):Ee.endScope&&Ee.endScope._multi?(ke(),Ie(Ee.endScope,P)):xe.skip?Fe+=$:(xe.returnEnd||xe.excludeEnd||(Fe+=$),ke(),xe.excludeEnd&&(Fe=$));do Ee.scope&&Ge.closeNode(),!Ee.skip&&!Ee.subLanguage&&(Ir+=Ee.relevance),Ee=Ee.parent;while(Ee!==ce.parent);return ce.starts&&rt(ce.starts,P),xe.returnEnd?0:$.length}function Dr(){const P=[];for(let $=Ee;$!==At;$=$.parent)$.scope&&P.unshift($.scope);P.forEach($=>Ge.openNode($))}let rn={};function Rn(P,$){const ae=$&&$[0];if(Fe+=P,ae==null)return ke(),0;if(rn.type==="begin"&&$.type==="end"&&rn.index===$.index&&ae===""){if(Fe+=ee.slice($.index,$.index+1),!i){const ce=new Error(`0 width match regex (${q})`);throw ce.languageName=q,ce.badRule=rn.rule,ce}return 1}if(rn=$,$.type==="begin")return nn($);if($.type==="illegal"&&!U){const ce=new Error('Illegal lexeme "'+ae+'" for mode "'+(Ee.scope||"<unnamed>")+'"');throw ce.mode=Ee,ce}else if($.type==="end"){const ce=On($);if(ce!==zg)return ce}if($.type==="illegal"&&ae==="")return $.index===ee.length||(Fe+=`
|
|
436
|
+
`),1;if(Or>1e5&&Or>$.index*3)throw new Error("potential infinite loop, way more iterations than matches");return Fe+=ae,ae.length}const At=H(q);if(!At)throw Bi(a.replace("{}",q)),new Error('Unknown language: "'+q+'"');const Oe=EM(At);let an="",Ee=j||Oe;const Yn={},Ge=new u.__emitter(u);Dr();let Fe="",Ir=0,sn=0,Or=0,Rr=!1;try{if(At.__emitTokens)At.__emitTokens(ee,Ge);else{for(Ee.matcher.considerAll();;){Or++,Rr?Rr=!1:Ee.matcher.considerAll(),Ee.matcher.lastIndex=sn;const P=Ee.matcher.exec(ee);if(!P)break;const $=ee.substring(sn,P.index),ae=Rn($,P);sn=P.index+ae}Rn(ee.substring(sn))}return Ge.finalize(),an=Ge.toHTML(),{language:q,value:an,relevance:Ir,illegal:!1,_emitter:Ge,_top:Ee}}catch(P){if(P.message&&P.message.includes("Illegal"))return{language:q,value:yc(ee),illegal:!0,relevance:0,_illegalBy:{message:P.message,index:sn,context:ee.slice(sn-100,sn+100),mode:P.mode,resultSoFar:an},_emitter:Ge};if(i)return{language:q,value:yc(ee),illegal:!1,relevance:0,errorRaised:P,_emitter:Ge,_top:Ee};throw P}}function h(q){const ee={value:yc(q),illegal:!1,relevance:0,_top:s,_emitter:new u.__emitter(u)};return ee._emitter.addText(q),ee}function m(q,ee){ee=ee||u.languages||Object.keys(t);const U=h(q),j=ee.filter(H).filter(M).map(ke=>c(ke,q,!1));j.unshift(U);const S=j.sort((ke,Be)=>{if(ke.relevance!==Be.relevance)return Be.relevance-ke.relevance;if(ke.language&&Be.language){if(H(ke.language).supersetOf===Be.language)return 1;if(H(Be.language).supersetOf===ke.language)return-1}return 0}),[ue,ge]=S,R=ue;return R.secondBest=ge,R}function E(q,ee,U){const j=ee&&n[ee]||U;q.classList.add("hljs"),q.classList.add(`language-${j}`)}function v(q){let ee=null;const U=l(q);if(o(U))return;if(he("before:highlightElement",{el:q,language:U}),q.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",q);return}if(q.children.length>0&&(u.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(q)),u.throwUnescapedHTML))throw new _M("One of your code blocks includes unescaped HTML.",q.innerHTML);ee=q;const j=ee.textContent,S=U?d(j,{language:U,ignoreIllegals:!0}):m(j);q.innerHTML=S.value,q.dataset.highlighted="yes",E(q,U,S.language),q.result={language:S.language,re:S.relevance,relevance:S.relevance},S.secondBest&&(q.secondBest={language:S.secondBest.language,relevance:S.secondBest.relevance}),he("after:highlightElement",{el:q,result:S,text:j})}function A(q){u=Bg(u,q)}const b=()=>{D(),na("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function y(){D(),na("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let T=!1;function D(){function q(){D()}if(document.readyState==="loading"){T||window.addEventListener("DOMContentLoaded",q,!1),T=!0;return}document.querySelectorAll(u.cssSelector).forEach(v)}function F(q,ee){let U=null;try{U=ee(e)}catch(j){if(Bi("Language definition for '{}' could not be registered.".replace("{}",q)),i)Bi(j);else throw j;U=s}U.name||(U.name=q),t[q]=U,U.rawDefinition=ee.bind(null,e),U.aliases&&W(U.aliases,{languageName:q})}function C(q){delete t[q];for(const ee of Object.keys(n))n[ee]===q&&delete n[ee]}function B(){return Object.keys(t)}function H(q){return q=(q||"").toLowerCase(),t[q]||t[n[q]]}function W(q,{languageName:ee}){typeof q=="string"&&(q=[q]),q.forEach(U=>{n[U.toLowerCase()]=ee})}function M(q){const ee=H(q);return ee&&!ee.disableAutodetect}function Z(q){q["before:highlightBlock"]&&!q["before:highlightElement"]&&(q["before:highlightElement"]=ee=>{q["before:highlightBlock"](Object.assign({block:ee.el},ee))}),q["after:highlightBlock"]&&!q["after:highlightElement"]&&(q["after:highlightElement"]=ee=>{q["after:highlightBlock"](Object.assign({block:ee.el},ee))})}function V(q){Z(q),r.push(q)}function be(q){const ee=r.indexOf(q);ee!==-1&&r.splice(ee,1)}function he(q,ee){const U=q;r.forEach(function(j){j[U]&&j[U](ee)})}function le(q){return na("10.7.0","highlightBlock will be removed entirely in v12.0"),na("10.7.0","Please use highlightElement now."),v(q)}Object.assign(e,{highlight:d,highlightAuto:m,highlightAll:D,highlightElement:v,highlightBlock:le,configure:A,initHighlighting:b,initHighlightingOnLoad:y,registerLanguage:F,unregisterLanguage:C,listLanguages:B,getLanguage:H,registerAliases:W,autoDetection:M,inherit:Bg,addPlugin:V,removePlugin:be}),e.debugMode=function(){i=!1},e.safeMode=function(){i=!0},e.versionString=vM,e.regex={concat:Zi,lookahead:UE,either:Y1,optional:FR,anyNumberOfTimes:LR};for(const q in ho)typeof ho[q]=="object"&&BE(ho[q]);return Object.assign(e,ho),e},za=KE({});za.newInstance=()=>KE({});var xM=za;za.HighlightJS=za;za.default=za;const AM=fu(xM),Ug={},wM="hljs-";function SM(e){const t=AM.newInstance();return e&&a(e),{highlight:n,highlightAuto:r,listLanguages:i,register:a,registerAlias:s,registered:u};function n(o,l,d){const c=d||Ug,h=typeof c.prefix=="string"?c.prefix:wM;if(!t.getLanguage(o))throw new Error("Unknown language: `"+o+"` is not registered");t.configure({__emitter:kM,classPrefix:h});const m=t.highlight(l,{ignoreIllegals:!0,language:o});if(m.errorRaised)throw new Error("Could not highlight with `Highlight.js`",{cause:m.errorRaised});const E=m._emitter.root,v=E.data;return v.language=m.language,v.relevance=m.relevance,E}function r(o,l){const c=(l||Ug).subset||i();let h=-1,m=0,E;for(;++h<c.length;){const v=c[h];if(!t.getLanguage(v))continue;const A=n(v,o,l);A.data&&A.data.relevance!==void 0&&A.data.relevance>m&&(m=A.data.relevance,E=A)}return E||{type:"root",children:[],data:{language:void 0,relevance:m}}}function i(){return t.listLanguages()}function a(o,l){if(typeof o=="string")t.registerLanguage(o,l);else{let d;for(d in o)Object.hasOwn(o,d)&&t.registerLanguage(d,o[d])}}function s(o,l){if(typeof o=="string")t.registerAliases(typeof l=="string"?l:[...l],{languageName:o});else{let d;for(d in o)if(Object.hasOwn(o,d)){const c=o[d];t.registerAliases(typeof c=="string"?c:[...c],{languageName:d})}}}function u(o){return!!t.getLanguage(o)}}class kM{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],r=n.children[n.children.length-1];r&&r.type==="text"?r.value+=t:n.children.push({type:"text",value:t})}startScope(t){this.openNode(String(t))}endScope(){this.closeNode()}__addSublanguage(t,n){const r=this.stack[this.stack.length-1],i=t.root.children;n?r.children.push({type:"element",tagName:"span",properties:{className:[n]},children:i}):r.children.push(...i)}openNode(t){const n=this,r=t.split(".").map(function(s,u){return u?s+"_".repeat(u):n.options.classPrefix+s}),i=this.stack[this.stack.length-1],a={type:"element",tagName:"span",properties:{className:r},children:[]};i.children.push(a),this.stack.push(a)}closeNode(){this.stack.pop()}finalize(){}toHTML(){return""}}const CM={};function NM(e){const t=e||CM,n=t.aliases,r=t.detect||!1,i=t.languages||DR,a=t.plainText,s=t.prefix,u=t.subset;let o="hljs";const l=SM(i);if(n&&l.registerAlias(n),s){const d=s.indexOf("-");o=d===-1?s:s.slice(0,d)}return function(d,c){Ki(d,"element",function(h,m,E){if(h.tagName!=="code"||!E||E.type!=="element"||E.tagName!=="pre")return;const v=DM(h);if(v===!1||!v&&!r||v&&a&&a.includes(v))return;Array.isArray(h.properties.className)||(h.properties.className=[]),h.properties.className.includes(o)||h.properties.className.unshift(o);const A=bE(h,{whitespace:"pre"});let b;try{b=v?l.highlight(v,A,{prefix:s}):l.highlightAuto(A,{prefix:s,subset:u})}catch(y){const T=y;if(v&&/Unknown language/.test(T.message)){c.message("Cannot highlight as `"+v+"`, it’s not registered",{ancestors:[E,h],cause:T,place:h.position,ruleId:"missing-language",source:"rehype-highlight"});return}throw T}!v&&b.data&&b.data.language&&h.properties.className.push("language-"+b.data.language),b.children.length>0&&(h.children=b.children)})}}function DM(e){const t=e.properties.className;let n=-1;if(!Array.isArray(t))return;let r;for(;++n<t.length;){const i=String(t[n]);if(i==="no-highlight"||i==="nohighlight")return!1;!r&&i.slice(0,5)==="lang-"&&(r=i.slice(5)),!r&&i.slice(0,9)==="language-"&&(r=i.slice(9))}return r}function IM(e,t){return XE(e,{})||{type:"root",children:[]}}function XE(e,t){const n=OM(e,t);return n&&t.afterTransform&&t.afterTransform(e,n),n}function OM(e,t){switch(e.nodeType){case 1:return FM(e,t);case 3:return MM(e);case 8:return LM(e);case 9:return Hg(e,t);case 10:return RM();case 11:return Hg(e,t);default:return}}function Hg(e,t){return{type:"root",children:QE(e,t)}}function RM(){return{type:"doctype"}}function MM(e){return{type:"text",value:e.nodeValue||""}}function LM(e){return{type:"comment",value:e.nodeValue||""}}function FM(e,t){const n=e.namespaceURI,r=n===er.svg?Ob:Ib,i=n===er.html?e.tagName.toLowerCase():e.tagName,a=n===er.html&&i==="template"?e.content:e,s=e.getAttributeNames(),u={};let o=-1;for(;++o<s.length;)u[s[o]]=e.getAttribute(s[o])||"";return r(i,u,QE(a,t))}function QE(e,t){const n=e.childNodes,r=[];let i=-1;for(;++i<n.length;){const a=XE(n[i],t);a!==void 0&&r.push(a)}return r}new DOMParser;function PM(e,t){const n=BM(e);return IM(n)}function BM(e){const t=document.createElement("template");return t.innerHTML=e,t.content}const zM={},UM=[];function HM(e){const t=e||zM;return function(n,r){h1(n,"element",function(i,a){const s=Array.isArray(i.properties.className)?i.properties.className:UM,u=s.includes("language-math"),o=s.includes("math-display"),l=s.includes("math-inline");let d=o;if(!u&&!o&&!l)return;let c=a[a.length-1],h=i;if(i.tagName==="code"&&u&&c&&c.type==="element"&&c.tagName==="pre"&&(h=c,c=a[a.length-2],d=!0),!c)return;const m=bE(h,{whitespace:"pre"});let E;try{E=Jp.renderToString(m,{...t,displayMode:d,throwOnError:!0})}catch(A){const b=A,y=b.name.toLowerCase();r.message("Could not render math with KaTeX",{ancestors:[...a,i],cause:b,place:i.position,ruleId:y,source:"rehype-katex"});try{E=Jp.renderToString(m,{...t,displayMode:d,strict:"ignore",throwOnError:!1})}catch{E=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(A)},children:[{type:"text",value:m}]}]}}typeof E=="string"&&(E=PM(E).children);const v=c.children.indexOf(h);return c.children.splice(v,1,...E),Ms})}}function $M({children:e}){const t=pe.useRef(null),[n,r]=pe.useState(!1),i=async()=>{var s;const a=((s=t.current)==null?void 0:s.innerText)??"";try{await navigator.clipboard.writeText(a),r(!0),setTimeout(()=>r(!1),1500)}catch{}};return Y.jsxs("div",{className:"not-prose relative my-4 group",children:[Y.jsx("button",{onClick:i,className:"absolute right-2 top-2 z-10 px-2 py-0.5 rounded border border-border bg-background/80 text-[11px] opacity-0 group-hover:opacity-100 transition-opacity",children:n?"已复制":"复制"}),Y.jsx("pre",{ref:t,className:"overflow-auto rounded-md border bg-[#0d1117] p-3 text-xs leading-relaxed",children:e})]})}function qM({path:e}){const[t,n]=pe.useState(null);if(pe.useEffect(()=>{let s=!0;return fetch("/"+encodeURI(e),{cache:"no-store"}).then(u=>u.text()).then(u=>{s&&n(u)}).catch(()=>{s&&n("")}),()=>{s=!1}},[e]),t===null)return Y.jsx("p",{className:"p-3 text-xs text-muted-foreground",children:"加载中…"});const r=t.match(/^---\n([\s\S]*?)\n---\n?/),i=(r==null?void 0:r[1])??null,a=i?t.slice(r[0].length):t;return Y.jsxs("div",{className:"prose dark:prose-invert mx-auto max-w-3xl p-8 prose-headings:scroll-mt-4 prose-pre:bg-transparent prose-pre:p-0 prose-pre:m-0",children:[i&&Y.jsxs("details",{className:"not-prose mb-4 rounded border p-3 text-sm",children:[Y.jsx("summary",{className:"cursor-pointer font-medium",children:"YAML frontmatter"}),Y.jsx("pre",{className:"mt-2 whitespace-pre-wrap text-xs",children:i})]}),Y.jsx(Qx,{remarkPlugins:[oS,gC,NC],rehypePlugins:[zI,VI,[JI,{behavior:"wrap",properties:{className:["no-underline"]}}],[NM,{detect:!0,ignoreMissing:!0}],[HM,{strict:!1}]],components:{pre:({children:s})=>Y.jsx($M,{children:s}),a:({href:s,children:u})=>{const o=s==null?void 0:s.startsWith("http");return Y.jsx("a",{href:s,target:o?"_blank":void 0,rel:o?"noreferrer noopener":void 0,children:u})}},children:a})]})}function GM({path:e}){const[t,n]=pe.useState("-"),[r,i]=pe.useState(1),[a,s]=pe.useState(!1),u=e.split("/").pop(),o={backgroundImage:"linear-gradient(45deg,hsl(var(--border)) 25%,transparent 25%),linear-gradient(-45deg,hsl(var(--border)) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,hsl(var(--border)) 75%),linear-gradient(-45deg,transparent 75%,hsl(var(--border)) 75%)",backgroundSize:"16px 16px",backgroundPosition:"0 0,0 8px,8px -8px,-8px 0"};return Y.jsxs("div",{className:"flex flex-col h-full",children:[Y.jsxs("div",{className:"flex-none px-4 py-2 border-b text-xs flex items-center gap-3",children:[Y.jsx("span",{className:"font-mono text-foreground",children:u}),Y.jsx("span",{className:"text-muted-foreground",children:t}),Y.jsxs("div",{className:"ml-auto flex items-center gap-1",children:[Y.jsx("button",{onClick:()=>i(l=>Math.max(.25,+(l-.25).toFixed(2))),className:"w-6 h-6 rounded bg-muted hover:bg-muted/70","aria-label":"缩小",children:"−"}),Y.jsxs("span",{className:"w-10 text-center text-muted-foreground",children:[Math.round(r*100),"%"]}),Y.jsx("button",{onClick:()=>i(l=>Math.min(8,+(l+.25).toFixed(2))),className:"w-6 h-6 rounded bg-muted hover:bg-muted/70","aria-label":"放大",children:"+"}),Y.jsx("button",{onClick:()=>i(1),className:"ml-1 px-2 h-6 rounded bg-muted hover:bg-muted/70",children:"复位"})]})]}),Y.jsx("div",{className:"flex-1 min-h-0 overflow-auto grid place-items-center p-6",style:o,children:a?Y.jsx("p",{className:"text-muted-foreground",children:"该格式无法预览"}):Y.jsx("img",{src:"/"+encodeURI(e),alt:u,style:{transform:`scale(${r})`},className:"max-w-full max-h-full object-contain transition-transform",onLoad:l=>n(`${l.currentTarget.naturalWidth} × ${l.currentTarget.naturalHeight} px`),onError:()=>s(!0)})})]})}function YM({path:e}){return Y.jsx("div",{className:"grid place-items-center h-full text-center text-muted-foreground",children:Y.jsxs("div",{children:[Y.jsx(M7,{className:"h-10 w-10 mx-auto mb-3 opacity-50"}),Y.jsx("p",{children:"该格式无法预览"}),Y.jsx("p",{className:"mt-1 font-mono text-xs break-all",children:e})]})})}async function $g(e){try{return(await S7(Object.assign({}),`../../plugins/${e}/index.js`,5)).default??null}catch{return null}}function WM(e){const t=e.slice(e.lastIndexOf(".")).toLowerCase();return t===".md"||t===".markdown"?qM:[".svg",".png",".jpg",".jpeg",".gif",".webp",".ico"].includes(t)?GM:YM}function VM(){const e=pe.useRef(!1),[t,n]=pe.useState(null),[r,i]=pe.useState(0),[a,s]=pe.useState(!0),[u,o]=pe.useState("view"),[l,d]=pe.useState([]),[c,h]=pe.useState(null),m=k7(()=>{},()=>i(T=>T+1),e);pe.useEffect(()=>{let T=!1;return(async()=>{const D=["view","bugs","review"],F=await Promise.all(D.map($g));T||d(F.filter(Boolean))})(),()=>{T=!0}},[]),pe.useEffect(()=>{let T=!1;return(async()=>{const D=await $g(u);if(!T&&D){const{default:F}=await D.viewer();h(()=>F)}})(),()=>{T=!0}},[u]);const E=(t==null?void 0:t.kind)==="file"?WM(t.path):null,v=c;l.find(T=>T.mode===u);const A=(t==null?void 0:t.kind)==="log"?"服务日志 · just":(t==null?void 0:t.kind)==="plugin"?`${t.icon} ${t.label}`:(t==null?void 0:t.kind)==="file"?t.path:"",b={backgroundImage:"radial-gradient(circle at 1px 1px, hsl(var(--border)) 1px, transparent 0)",backgroundSize:"20px 20px"},y=pe.useCallback((T,D,F)=>{o(T),n({kind:"plugin",mode:T,label:D,icon:F})},[]);return Y.jsxs("div",{className:"flex h-screen flex-col",children:[Y.jsx(Py,{status:m,stoppedRef:e,treeOpen:a,onTreeToggle:()=>s(T=>!T)}),Y.jsxs("main",{className:"flex-1 min-h-0 flex relative",children:[Y.jsx(zy,{open:a,currentPath:(t==null?void 0:t.kind)==="file"?t.path:null,onSelectFile:T=>n({kind:"file",path:T}),onSelectLog:()=>n({kind:"log"}),onSelectPlugin:y,plugins:l,activeMode:u,refreshKey:r}),a&&Y.jsx("div",{className:"absolute inset-0 z-10 bg-black/40 sm:hidden",onClick:()=>s(!1)}),Y.jsx("section",{className:"flex-1 min-h-0 flex flex-col",children:t?Y.jsxs(Y.Fragment,{children:[Y.jsxs("div",{className:"h-[38px] flex-none flex items-center justify-between px-3.5 border-b bg-background text-xs",children:[Y.jsx("span",{className:"font-mono truncate",children:A}),Y.jsx("span",{className:"text-muted-foreground ml-3 flex-none",children:t.kind==="log"?"日志":t.kind==="plugin"?t.label:"文档"})]}),Y.jsx("div",{className:"flex-1 min-h-0 overflow-auto p-6 relative",style:b,children:t.kind==="log"?Y.jsx("div",{className:"h-full",children:Y.jsx(Av,{})}):t.kind==="plugin"&&v?Y.jsx("div",{className:"h-full",children:Y.jsx(v,{})}):Y.jsx("div",{className:"mx-auto max-w-5xl h-full bg-background border rounded-lg shadow-sm overflow-auto",children:E&&Y.jsx(E,{path:t.path})})})]}):Y.jsx("div",{className:"flex-1 grid place-items-center text-muted-foreground",children:Y.jsxs("div",{className:"text-center",children:[Y.jsx("div",{className:"mx-auto mb-3.5 grid h-14 w-14 place-items-center rounded-[14px] bg-primary text-primary-foreground text-2xl font-bold",children:"z"}),Y.jsx("p",{children:"从左侧选择模式或文档"}),Y.jsxs("p",{className:"mt-1 text-xs",children:["plugins: ",l.map(T=>`${T.icon}${T.label}`).join(" ")||"loading..."]})]})})})]})]})}const jM=document.documentElement;let tf=localStorage.getItem("zview-theme");tf||(tf=matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light");jM.classList.toggle("dark",tf==="dark");vc.createRoot(document.getElementById("root")).render(Y.jsx(Jg.StrictMode,{children:Y.jsx(VM,{})}));
|