veslx 0.0.28 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/bin/lib/build.ts +3 -0
  2. package/bin/lib/serve.ts +4 -4
  3. package/bin/veslx.ts +1 -1
  4. package/dist/assets/README-DVMP1xaW.js +7 -0
  5. package/dist/assets/SLIDES-DjNLQtEU.js +10 -0
  6. package/dist/assets/index-CBkKcH4y.js +469 -0
  7. package/dist/assets/index-PspMxLnH.css +1 -0
  8. package/dist/assets/index-UZKwazVi.js +1 -0
  9. package/dist/index.html +2 -2
  10. package/dist/raw/.veslx.json +61 -0
  11. package/dist/raw/README.md +33 -0
  12. package/dist/raw/test-post/Chart.tsx +16 -0
  13. package/dist/raw/test-post/README.mdx +21 -0
  14. package/dist/raw/test-slides/Counter.tsx +25 -0
  15. package/dist/raw/test-slides/SLIDES.mdx +27 -0
  16. package/package.json +3 -7
  17. package/plugin/src/plugin.ts +41 -0
  18. package/src/components/slides-renderer.tsx +130 -0
  19. package/src/hooks/use-mdx-content.ts +108 -0
  20. package/src/pages/post.tsx +15 -13
  21. package/src/pages/slides.tsx +21 -34
  22. package/src/vite-env.d.ts +21 -0
  23. package/vite.config.ts +1 -19
  24. package/dist/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
  25. package/dist/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
  26. package/dist/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
  27. package/dist/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
  28. package/dist/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
  29. package/dist/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
  30. package/dist/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
  31. package/dist/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
  32. package/dist/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
  33. package/dist/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
  34. package/dist/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
  35. package/dist/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
  36. package/dist/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
  37. package/dist/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
  38. package/dist/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
  39. package/dist/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
  40. package/dist/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
  41. package/dist/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
  42. package/dist/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
  43. package/dist/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
  44. package/dist/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
  45. package/dist/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
  46. package/dist/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
  47. package/dist/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
  48. package/dist/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
  49. package/dist/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
  50. package/dist/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
  51. package/dist/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
  52. package/dist/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
  53. package/dist/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
  54. package/dist/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
  55. package/dist/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
  56. package/dist/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
  57. package/dist/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
  58. package/dist/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
  59. package/dist/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
  60. package/dist/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
  61. package/dist/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
  62. package/dist/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
  63. package/dist/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
  64. package/dist/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
  65. package/dist/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
  66. package/dist/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
  67. package/dist/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
  68. package/dist/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
  69. package/dist/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
  70. package/dist/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
  71. package/dist/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
  72. package/dist/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
  73. package/dist/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
  74. package/dist/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
  75. package/dist/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
  76. package/dist/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
  77. package/dist/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
  78. package/dist/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
  79. package/dist/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
  80. package/dist/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
  81. package/dist/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
  82. package/dist/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
  83. package/dist/assets/index-C75KddSa.css +0 -1
  84. package/dist/assets/index-DsHb4M_F.js +0 -542
  85. package/src/components/runtime-mdx.tsx +0 -82
@@ -1,542 +0,0 @@
1
- var vA=Object.defineProperty;var ab=e=>{throw TypeError(e)};var bA=(e,t,n)=>t in e?vA(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Un=(e,t,n)=>bA(e,typeof t!="symbol"?t+"":t,n),Gm=(e,t,n)=>t.has(e)||ab("Cannot "+n);var Oe=(e,t,n)=>(Gm(e,t,"read from private field"),n?n.call(e):t.get(e)),Dr=(e,t,n)=>t.has(e)?ab("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),An=(e,t,n,r)=>(Gm(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Bs=(e,t,n)=>(Gm(e,t,"access private method"),n);function Y5(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 s=Object.getOwnPropertyDescriptor(r,i);s&&Object.defineProperty(e,i,s.get?s:{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 s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();function Gl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Xm={exports:{}},vc={};/**
2
- * @license React
3
- * react-jsx-runtime.production.js
4
- *
5
- * Copyright (c) Meta Platforms, Inc. and affiliates.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */var sb;function wA(){if(sb)return vc;sb=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,i,s){var o=null;if(s!==void 0&&(o=""+s),i.key!==void 0&&(o=""+i.key),"key"in i){s={};for(var c in i)c!=="key"&&(s[c]=i[c])}else s=i;return i=s.ref,{$$typeof:e,type:r,key:o,ref:i!==void 0?i:null,props:s}}return vc.Fragment=t,vc.jsx=n,vc.jsxs=n,vc}var lb;function SA(){return lb||(lb=1,Xm.exports=wA()),Xm.exports}var B=SA();const kA=Gl(B),EA=Y5({__proto__:null,default:kA},[B]);var Ym={exports:{}},ht={};/**
10
- * @license React
11
- * react.production.js
12
- *
13
- * Copyright (c) Meta Platforms, Inc. and affiliates.
14
- *
15
- * This source code is licensed under the MIT license found in the
16
- * LICENSE file in the root directory of this source tree.
17
- */var ob;function CA(){if(ob)return ht;ob=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),o=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),m=Symbol.for("react.activity"),x=Symbol.iterator;function v($){return $===null||typeof $!="object"?null:($=x&&$[x]||$["@@iterator"],typeof $=="function"?$:null)}var E={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},k=Object.assign,T={};function C($,ue,H){this.props=$,this.context=ue,this.refs=T,this.updater=H||E}C.prototype.isReactComponent={},C.prototype.setState=function($,ue){if(typeof $!="object"&&typeof $!="function"&&$!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,$,ue,"setState")},C.prototype.forceUpdate=function($){this.updater.enqueueForceUpdate(this,$,"forceUpdate")};function M(){}M.prototype=C.prototype;function R($,ue,H){this.props=$,this.context=ue,this.refs=T,this.updater=H||E}var j=R.prototype=new M;j.constructor=R,k(j,C.prototype),j.isPureReactComponent=!0;var L=Array.isArray;function S(){}var O={H:null,A:null,T:null,S:null},q=Object.prototype.hasOwnProperty;function W($,ue,H){var Ce=H.ref;return{$$typeof:e,type:$,key:ue,ref:Ce!==void 0?Ce:null,props:H}}function J($,ue){return W($.type,ue,$.props)}function re($){return typeof $=="object"&&$!==null&&$.$$typeof===e}function ae($){var ue={"=":"=0",":":"=2"};return"$"+$.replace(/[=:]/g,function(H){return ue[H]})}var Se=/\/+/g;function xe($,ue){return typeof $=="object"&&$!==null&&$.key!=null?ae(""+$.key):ue.toString(36)}function ge($){switch($.status){case"fulfilled":return $.value;case"rejected":throw $.reason;default:switch(typeof $.status=="string"?$.then(S,S):($.status="pending",$.then(function(ue){$.status==="pending"&&($.status="fulfilled",$.value=ue)},function(ue){$.status==="pending"&&($.status="rejected",$.reason=ue)})),$.status){case"fulfilled":return $.value;case"rejected":throw $.reason}}throw $}function ee($,ue,H,Ce,Le){var ze=typeof $;(ze==="undefined"||ze==="boolean")&&($=null);var Re=!1;if($===null)Re=!0;else switch(ze){case"bigint":case"string":case"number":Re=!0;break;case"object":switch($.$$typeof){case e:case t:Re=!0;break;case g:return Re=$._init,ee(Re($._payload),ue,H,Ce,Le)}}if(Re)return Le=Le($),Re=Ce===""?"."+xe($,0):Ce,L(Le)?(H="",Re!=null&&(H=Re.replace(Se,"$&/")+"/"),ee(Le,ue,H,"",function(st){return st})):Le!=null&&(re(Le)&&(Le=J(Le,H+(Le.key==null||$&&$.key===Le.key?"":(""+Le.key).replace(Se,"$&/")+"/")+Re)),ue.push(Le)),1;Re=0;var Ke=Ce===""?".":Ce+":";if(L($))for(var Ve=0;Ve<$.length;Ve++)Ce=$[Ve],ze=Ke+xe(Ce,Ve),Re+=ee(Ce,ue,H,ze,Le);else if(Ve=v($),typeof Ve=="function")for($=Ve.call($),Ve=0;!(Ce=$.next()).done;)Ce=Ce.value,ze=Ke+xe(Ce,Ve++),Re+=ee(Ce,ue,H,ze,Le);else if(ze==="object"){if(typeof $.then=="function")return ee(ge($),ue,H,Ce,Le);throw ue=String($),Error("Objects are not valid as a React child (found: "+(ue==="[object Object]"?"object with keys {"+Object.keys($).join(", ")+"}":ue)+"). If you meant to render a collection of children, use an array instead.")}return Re}function oe($,ue,H){if($==null)return $;var Ce=[],Le=0;return ee($,Ce,"","",function(ze){return ue.call(H,ze,Le++)}),Ce}function le($){if($._status===-1){var ue=$._result;ue=ue(),ue.then(function(H){($._status===0||$._status===-1)&&($._status=1,$._result=H)},function(H){($._status===0||$._status===-1)&&($._status=2,$._result=H)}),$._status===-1&&($._status=0,$._result=ue)}if($._status===1)return $._result.default;throw $._result}var we=typeof reportError=="function"?reportError:function($){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var ue=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof $=="object"&&$!==null&&typeof $.message=="string"?String($.message):String($),error:$});if(!window.dispatchEvent(ue))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",$);return}console.error($)},Y={map:oe,forEach:function($,ue,H){oe($,function(){ue.apply(this,arguments)},H)},count:function($){var ue=0;return oe($,function(){ue++}),ue},toArray:function($){return oe($,function(ue){return ue})||[]},only:function($){if(!re($))throw Error("React.Children.only expected to receive a single React element child.");return $}};return ht.Activity=m,ht.Children=Y,ht.Component=C,ht.Fragment=n,ht.Profiler=i,ht.PureComponent=R,ht.StrictMode=r,ht.Suspense=f,ht.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=O,ht.__COMPILER_RUNTIME={__proto__:null,c:function($){return O.H.useMemoCache($)}},ht.cache=function($){return function(){return $.apply(null,arguments)}},ht.cacheSignal=function(){return null},ht.cloneElement=function($,ue,H){if($==null)throw Error("The argument must be a React element, but you passed "+$+".");var Ce=k({},$.props),Le=$.key;if(ue!=null)for(ze in ue.key!==void 0&&(Le=""+ue.key),ue)!q.call(ue,ze)||ze==="key"||ze==="__self"||ze==="__source"||ze==="ref"&&ue.ref===void 0||(Ce[ze]=ue[ze]);var ze=arguments.length-2;if(ze===1)Ce.children=H;else if(1<ze){for(var Re=Array(ze),Ke=0;Ke<ze;Ke++)Re[Ke]=arguments[Ke+2];Ce.children=Re}return W($.type,Le,Ce)},ht.createContext=function($){return $={$$typeof:o,_currentValue:$,_currentValue2:$,_threadCount:0,Provider:null,Consumer:null},$.Provider=$,$.Consumer={$$typeof:s,_context:$},$},ht.createElement=function($,ue,H){var Ce,Le={},ze=null;if(ue!=null)for(Ce in ue.key!==void 0&&(ze=""+ue.key),ue)q.call(ue,Ce)&&Ce!=="key"&&Ce!=="__self"&&Ce!=="__source"&&(Le[Ce]=ue[Ce]);var Re=arguments.length-2;if(Re===1)Le.children=H;else if(1<Re){for(var Ke=Array(Re),Ve=0;Ve<Re;Ve++)Ke[Ve]=arguments[Ve+2];Le.children=Ke}if($&&$.defaultProps)for(Ce in Re=$.defaultProps,Re)Le[Ce]===void 0&&(Le[Ce]=Re[Ce]);return W($,ze,Le)},ht.createRef=function(){return{current:null}},ht.forwardRef=function($){return{$$typeof:c,render:$}},ht.isValidElement=re,ht.lazy=function($){return{$$typeof:g,_payload:{_status:-1,_result:$},_init:le}},ht.memo=function($,ue){return{$$typeof:h,type:$,compare:ue===void 0?null:ue}},ht.startTransition=function($){var ue=O.T,H={};O.T=H;try{var Ce=$(),Le=O.S;Le!==null&&Le(H,Ce),typeof Ce=="object"&&Ce!==null&&typeof Ce.then=="function"&&Ce.then(S,we)}catch(ze){we(ze)}finally{ue!==null&&H.types!==null&&(ue.types=H.types),O.T=ue}},ht.unstable_useCacheRefresh=function(){return O.H.useCacheRefresh()},ht.use=function($){return O.H.use($)},ht.useActionState=function($,ue,H){return O.H.useActionState($,ue,H)},ht.useCallback=function($,ue){return O.H.useCallback($,ue)},ht.useContext=function($){return O.H.useContext($)},ht.useDebugValue=function(){},ht.useDeferredValue=function($,ue){return O.H.useDeferredValue($,ue)},ht.useEffect=function($,ue){return O.H.useEffect($,ue)},ht.useEffectEvent=function($){return O.H.useEffectEvent($)},ht.useId=function(){return O.H.useId()},ht.useImperativeHandle=function($,ue,H){return O.H.useImperativeHandle($,ue,H)},ht.useInsertionEffect=function($,ue){return O.H.useInsertionEffect($,ue)},ht.useLayoutEffect=function($,ue){return O.H.useLayoutEffect($,ue)},ht.useMemo=function($,ue){return O.H.useMemo($,ue)},ht.useOptimistic=function($,ue){return O.H.useOptimistic($,ue)},ht.useReducer=function($,ue,H){return O.H.useReducer($,ue,H)},ht.useRef=function($){return O.H.useRef($)},ht.useState=function($){return O.H.useState($)},ht.useSyncExternalStore=function($,ue,H){return O.H.useSyncExternalStore($,ue,H)},ht.useTransition=function(){return O.H.useTransition()},ht.version="19.2.1",ht}var ub;function nx(){return ub||(ub=1,Ym.exports=CA()),Ym.exports}var I=nx();const Hs=Gl(I),rx=Y5({__proto__:null,default:Hs},[I]);var Jm={exports:{}},bc={},$m={exports:{}},Wm={};/**
18
- * @license React
19
- * scheduler.production.js
20
- *
21
- * Copyright (c) Meta Platforms, Inc. and affiliates.
22
- *
23
- * This source code is licensed under the MIT license found in the
24
- * LICENSE file in the root directory of this source tree.
25
- */var cb;function AA(){return cb||(cb=1,(function(e){function t(ee,oe){var le=ee.length;ee.push(oe);e:for(;0<le;){var we=le-1>>>1,Y=ee[we];if(0<i(Y,oe))ee[we]=oe,ee[le]=Y,le=we;else break e}}function n(ee){return ee.length===0?null:ee[0]}function r(ee){if(ee.length===0)return null;var oe=ee[0],le=ee.pop();if(le!==oe){ee[0]=le;e:for(var we=0,Y=ee.length,$=Y>>>1;we<$;){var ue=2*(we+1)-1,H=ee[ue],Ce=ue+1,Le=ee[Ce];if(0>i(H,le))Ce<Y&&0>i(Le,H)?(ee[we]=Le,ee[Ce]=le,we=Ce):(ee[we]=H,ee[ue]=le,we=ue);else if(Ce<Y&&0>i(Le,le))ee[we]=Le,ee[Ce]=le,we=Ce;else break e}}return oe}function i(ee,oe){var le=ee.sortIndex-oe.sortIndex;return le!==0?le:ee.id-oe.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var o=Date,c=o.now();e.unstable_now=function(){return o.now()-c}}var f=[],h=[],g=1,m=null,x=3,v=!1,E=!1,k=!1,T=!1,C=typeof setTimeout=="function"?setTimeout:null,M=typeof clearTimeout=="function"?clearTimeout:null,R=typeof setImmediate<"u"?setImmediate:null;function j(ee){for(var oe=n(h);oe!==null;){if(oe.callback===null)r(h);else if(oe.startTime<=ee)r(h),oe.sortIndex=oe.expirationTime,t(f,oe);else break;oe=n(h)}}function L(ee){if(k=!1,j(ee),!E)if(n(f)!==null)E=!0,S||(S=!0,ae());else{var oe=n(h);oe!==null&&ge(L,oe.startTime-ee)}}var S=!1,O=-1,q=5,W=-1;function J(){return T?!0:!(e.unstable_now()-W<q)}function re(){if(T=!1,S){var ee=e.unstable_now();W=ee;var oe=!0;try{e:{E=!1,k&&(k=!1,M(O),O=-1),v=!0;var le=x;try{t:{for(j(ee),m=n(f);m!==null&&!(m.expirationTime>ee&&J());){var we=m.callback;if(typeof we=="function"){m.callback=null,x=m.priorityLevel;var Y=we(m.expirationTime<=ee);if(ee=e.unstable_now(),typeof Y=="function"){m.callback=Y,j(ee),oe=!0;break t}m===n(f)&&r(f),j(ee)}else r(f);m=n(f)}if(m!==null)oe=!0;else{var $=n(h);$!==null&&ge(L,$.startTime-ee),oe=!1}}break e}finally{m=null,x=le,v=!1}oe=void 0}}finally{oe?ae():S=!1}}}var ae;if(typeof R=="function")ae=function(){R(re)};else if(typeof MessageChannel<"u"){var Se=new MessageChannel,xe=Se.port2;Se.port1.onmessage=re,ae=function(){xe.postMessage(null)}}else ae=function(){C(re,0)};function ge(ee,oe){O=C(function(){ee(e.unstable_now())},oe)}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(ee){ee.callback=null},e.unstable_forceFrameRate=function(ee){0>ee||125<ee?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):q=0<ee?Math.floor(1e3/ee):5},e.unstable_getCurrentPriorityLevel=function(){return x},e.unstable_next=function(ee){switch(x){case 1:case 2:case 3:var oe=3;break;default:oe=x}var le=x;x=oe;try{return ee()}finally{x=le}},e.unstable_requestPaint=function(){T=!0},e.unstable_runWithPriority=function(ee,oe){switch(ee){case 1:case 2:case 3:case 4:case 5:break;default:ee=3}var le=x;x=ee;try{return oe()}finally{x=le}},e.unstable_scheduleCallback=function(ee,oe,le){var we=e.unstable_now();switch(typeof le=="object"&&le!==null?(le=le.delay,le=typeof le=="number"&&0<le?we+le:we):le=we,ee){case 1:var Y=-1;break;case 2:Y=250;break;case 5:Y=1073741823;break;case 4:Y=1e4;break;default:Y=5e3}return Y=le+Y,ee={id:g++,callback:oe,priorityLevel:ee,startTime:le,expirationTime:Y,sortIndex:-1},le>we?(ee.sortIndex=le,t(h,ee),n(f)===null&&ee===n(h)&&(k?(M(O),O=-1):k=!0,ge(L,le-we))):(ee.sortIndex=Y,t(f,ee),E||v||(E=!0,S||(S=!0,ae()))),ee},e.unstable_shouldYield=J,e.unstable_wrapCallback=function(ee){var oe=x;return function(){var le=x;x=oe;try{return ee.apply(this,arguments)}finally{x=le}}}})(Wm)),Wm}var fb;function TA(){return fb||(fb=1,$m.exports=AA()),$m.exports}var Km={exports:{}},rr={};/**
26
- * @license React
27
- * react-dom.production.js
28
- *
29
- * Copyright (c) Meta Platforms, Inc. and affiliates.
30
- *
31
- * This source code is licensed under the MIT license found in the
32
- * LICENSE file in the root directory of this source tree.
33
- */var hb;function MA(){if(hb)return rr;hb=1;var e=nx();function t(f){var h="https://react.dev/errors/"+f;if(1<arguments.length){h+="?args[]="+encodeURIComponent(arguments[1]);for(var g=2;g<arguments.length;g++)h+="&args[]="+encodeURIComponent(arguments[g])}return"Minified React error #"+f+"; visit "+h+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var r={d:{f:n,r:function(){throw Error(t(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},i=Symbol.for("react.portal");function s(f,h,g){var m=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:i,key:m==null?null:""+m,children:f,containerInfo:h,implementation:g}}var o=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(f,h){if(f==="font")return"";if(typeof h=="string")return h==="use-credentials"?h:""}return rr.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,rr.createPortal=function(f,h){var g=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!h||h.nodeType!==1&&h.nodeType!==9&&h.nodeType!==11)throw Error(t(299));return s(f,h,null,g)},rr.flushSync=function(f){var h=o.T,g=r.p;try{if(o.T=null,r.p=2,f)return f()}finally{o.T=h,r.p=g,r.d.f()}},rr.preconnect=function(f,h){typeof f=="string"&&(h?(h=h.crossOrigin,h=typeof h=="string"?h==="use-credentials"?h:"":void 0):h=null,r.d.C(f,h))},rr.prefetchDNS=function(f){typeof f=="string"&&r.d.D(f)},rr.preinit=function(f,h){if(typeof f=="string"&&h&&typeof h.as=="string"){var g=h.as,m=c(g,h.crossOrigin),x=typeof h.integrity=="string"?h.integrity:void 0,v=typeof h.fetchPriority=="string"?h.fetchPriority:void 0;g==="style"?r.d.S(f,typeof h.precedence=="string"?h.precedence:void 0,{crossOrigin:m,integrity:x,fetchPriority:v}):g==="script"&&r.d.X(f,{crossOrigin:m,integrity:x,fetchPriority:v,nonce:typeof h.nonce=="string"?h.nonce:void 0})}},rr.preinitModule=function(f,h){if(typeof f=="string")if(typeof h=="object"&&h!==null){if(h.as==null||h.as==="script"){var g=c(h.as,h.crossOrigin);r.d.M(f,{crossOrigin:g,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0})}}else h==null&&r.d.M(f)},rr.preload=function(f,h){if(typeof f=="string"&&typeof h=="object"&&h!==null&&typeof h.as=="string"){var g=h.as,m=c(g,h.crossOrigin);r.d.L(f,g,{crossOrigin:m,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0,type:typeof h.type=="string"?h.type:void 0,fetchPriority:typeof h.fetchPriority=="string"?h.fetchPriority:void 0,referrerPolicy:typeof h.referrerPolicy=="string"?h.referrerPolicy:void 0,imageSrcSet:typeof h.imageSrcSet=="string"?h.imageSrcSet:void 0,imageSizes:typeof h.imageSizes=="string"?h.imageSizes:void 0,media:typeof h.media=="string"?h.media:void 0})}},rr.preloadModule=function(f,h){if(typeof f=="string")if(h){var g=c(h.as,h.crossOrigin);r.d.m(f,{as:typeof h.as=="string"&&h.as!=="script"?h.as:void 0,crossOrigin:g,integrity:typeof h.integrity=="string"?h.integrity:void 0})}else r.d.m(f)},rr.requestFormReset=function(f){r.d.r(f)},rr.unstable_batchedUpdates=function(f,h){return f(h)},rr.useFormState=function(f,h,g){return o.H.useFormState(f,h,g)},rr.useFormStatus=function(){return o.H.useHostTransitionStatus()},rr.version="19.2.1",rr}var pb;function J5(){if(pb)return Km.exports;pb=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Km.exports=MA(),Km.exports}/**
34
- * @license React
35
- * react-dom-client.production.js
36
- *
37
- * Copyright (c) Meta Platforms, Inc. and affiliates.
38
- *
39
- * This source code is licensed under the MIT license found in the
40
- * LICENSE file in the root directory of this source tree.
41
- */var db;function NA(){if(db)return bc;db=1;var e=TA(),t=nx(),n=J5();function r(a){var l="https://react.dev/errors/"+a;if(1<arguments.length){l+="?args[]="+encodeURIComponent(arguments[1]);for(var u=2;u<arguments.length;u++)l+="&args[]="+encodeURIComponent(arguments[u])}return"Minified React error #"+a+"; visit "+l+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(a){return!(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11)}function s(a){var l=a,u=a;if(a.alternate)for(;l.return;)l=l.return;else{a=l;do l=a,(l.flags&4098)!==0&&(u=l.return),a=l.return;while(a)}return l.tag===3?u:null}function o(a){if(a.tag===13){var l=a.memoizedState;if(l===null&&(a=a.alternate,a!==null&&(l=a.memoizedState)),l!==null)return l.dehydrated}return null}function c(a){if(a.tag===31){var l=a.memoizedState;if(l===null&&(a=a.alternate,a!==null&&(l=a.memoizedState)),l!==null)return l.dehydrated}return null}function f(a){if(s(a)!==a)throw Error(r(188))}function h(a){var l=a.alternate;if(!l){if(l=s(a),l===null)throw Error(r(188));return l!==a?null:a}for(var u=a,d=l;;){var y=u.return;if(y===null)break;var b=y.alternate;if(b===null){if(d=y.return,d!==null){u=d;continue}break}if(y.child===b.child){for(b=y.child;b;){if(b===u)return f(y),a;if(b===d)return f(y),l;b=b.sibling}throw Error(r(188))}if(u.return!==d.return)u=y,d=b;else{for(var D=!1,V=y.child;V;){if(V===u){D=!0,u=y,d=b;break}if(V===d){D=!0,d=y,u=b;break}V=V.sibling}if(!D){for(V=b.child;V;){if(V===u){D=!0,u=b,d=y;break}if(V===d){D=!0,d=b,u=y;break}V=V.sibling}if(!D)throw Error(r(189))}}if(u.alternate!==d)throw Error(r(190))}if(u.tag!==3)throw Error(r(188));return u.stateNode.current===u?a:l}function g(a){var l=a.tag;if(l===5||l===26||l===27||l===6)return a;for(a=a.child;a!==null;){if(l=g(a),l!==null)return l;a=a.sibling}return null}var m=Object.assign,x=Symbol.for("react.element"),v=Symbol.for("react.transitional.element"),E=Symbol.for("react.portal"),k=Symbol.for("react.fragment"),T=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),M=Symbol.for("react.consumer"),R=Symbol.for("react.context"),j=Symbol.for("react.forward_ref"),L=Symbol.for("react.suspense"),S=Symbol.for("react.suspense_list"),O=Symbol.for("react.memo"),q=Symbol.for("react.lazy"),W=Symbol.for("react.activity"),J=Symbol.for("react.memo_cache_sentinel"),re=Symbol.iterator;function ae(a){return a===null||typeof a!="object"?null:(a=re&&a[re]||a["@@iterator"],typeof a=="function"?a:null)}var Se=Symbol.for("react.client.reference");function xe(a){if(a==null)return null;if(typeof a=="function")return a.$$typeof===Se?null:a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case k:return"Fragment";case C:return"Profiler";case T:return"StrictMode";case L:return"Suspense";case S:return"SuspenseList";case W:return"Activity"}if(typeof a=="object")switch(a.$$typeof){case E:return"Portal";case R:return a.displayName||"Context";case M:return(a._context.displayName||"Context")+".Consumer";case j:var l=a.render;return a=a.displayName,a||(a=l.displayName||l.name||"",a=a!==""?"ForwardRef("+a+")":"ForwardRef"),a;case O:return l=a.displayName||null,l!==null?l:xe(a.type)||"Memo";case q:l=a._payload,a=a._init;try{return xe(a(l))}catch{}}return null}var ge=Array.isArray,ee=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,oe=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,le={pending:!1,data:null,method:null,action:null},we=[],Y=-1;function $(a){return{current:a}}function ue(a){0>Y||(a.current=we[Y],we[Y]=null,Y--)}function H(a,l){Y++,we[Y]=a.current,a.current=l}var Ce=$(null),Le=$(null),ze=$(null),Re=$(null);function Ke(a,l){switch(H(ze,l),H(Le,a),H(Ce,null),l.nodeType){case 9:case 11:a=(a=l.documentElement)&&(a=a.namespaceURI)?Mv(a):0;break;default:if(a=l.tagName,l=l.namespaceURI)l=Mv(l),a=Nv(l,a);else switch(a){case"svg":a=1;break;case"math":a=2;break;default:a=0}}ue(Ce),H(Ce,a)}function Ve(){ue(Ce),ue(Le),ue(ze)}function st(a){a.memoizedState!==null&&H(Re,a);var l=Ce.current,u=Nv(l,a.type);l!==u&&(H(Le,a),H(Ce,u))}function Ze(a){Le.current===a&&(ue(Ce),ue(Le)),Re.current===a&&(ue(Re),mc._currentValue=le)}var Pe,ot;function dt(a){if(Pe===void 0)try{throw Error()}catch(u){var l=u.stack.trim().match(/\n( *(at )?)/);Pe=l&&l[1]||"",ot=-1<u.stack.indexOf(`
42
- at`)?" (<anonymous>)":-1<u.stack.indexOf("@")?"@unknown:0:0":""}return`
43
- `+Pe+a+ot}var Rt=!1;function Jt(a,l){if(!a||Rt)return"";Rt=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var d={DetermineComponentFrameRoot:function(){try{if(l){var Ee=function(){throw Error()};if(Object.defineProperty(Ee.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Ee,[])}catch(me){var de=me}Reflect.construct(a,[],Ee)}else{try{Ee.call()}catch(me){de=me}a.call(Ee.prototype)}}else{try{throw Error()}catch(me){de=me}(Ee=a())&&typeof Ee.catch=="function"&&Ee.catch(function(){})}}catch(me){if(me&&de&&typeof me.stack=="string")return[me.stack,de.stack]}return[null,null]}};d.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var y=Object.getOwnPropertyDescriptor(d.DetermineComponentFrameRoot,"name");y&&y.configurable&&Object.defineProperty(d.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var b=d.DetermineComponentFrameRoot(),D=b[0],V=b[1];if(D&&V){var Z=D.split(`
44
- `),he=V.split(`
45
- `);for(y=d=0;d<Z.length&&!Z[d].includes("DetermineComponentFrameRoot");)d++;for(;y<he.length&&!he[y].includes("DetermineComponentFrameRoot");)y++;if(d===Z.length||y===he.length)for(d=Z.length-1,y=he.length-1;1<=d&&0<=y&&Z[d]!==he[y];)y--;for(;1<=d&&0<=y;d--,y--)if(Z[d]!==he[y]){if(d!==1||y!==1)do if(d--,y--,0>y||Z[d]!==he[y]){var be=`
46
- `+Z[d].replace(" at new "," at ");return a.displayName&&be.includes("<anonymous>")&&(be=be.replace("<anonymous>",a.displayName)),be}while(1<=d&&0<=y);break}}}finally{Rt=!1,Error.prepareStackTrace=u}return(u=a?a.displayName||a.name:"")?dt(u):""}function Ut(a,l){switch(a.tag){case 26:case 27:case 5:return dt(a.type);case 16:return dt("Lazy");case 13:return a.child!==l&&l!==null?dt("Suspense Fallback"):dt("Suspense");case 19:return dt("SuspenseList");case 0:case 15:return Jt(a.type,!1);case 11:return Jt(a.type.render,!1);case 1:return Jt(a.type,!0);case 31:return dt("Activity");default:return""}}function $t(a){try{var l="",u=null;do l+=Ut(a,u),u=a,a=a.return;while(a);return l}catch(d){return`
47
- Error generating stack: `+d.message+`
48
- `+d.stack}}var Pt=Object.prototype.hasOwnProperty,yn=e.unstable_scheduleCallback,Fn=e.unstable_cancelCallback,Ur=e.unstable_shouldYield,vn=e.unstable_requestPaint,pt=e.unstable_now,ai=e.unstable_getCurrentPriorityLevel,ve=e.unstable_ImmediatePriority,ye=e.unstable_UserBlockingPriority,G=e.unstable_NormalPriority,$e=e.unstable_LowPriority,gt=e.unstable_IdlePriority,an=e.log,Be=e.unstable_setDisableYieldValue,un=null,pn=null;function Jn(a){if(typeof an=="function"&&Be(a),pn&&typeof pn.setStrictMode=="function")try{pn.setStrictMode(un,a)}catch{}}var Nt=Math.clz32?Math.clz32:Zl,br=Math.log,nr=Math.LN2;function Zl(a){return a>>>=0,a===0?32:31-(br(a)/nr|0)|0}var _i=256,Mn=262144,Nn=4194304;function Ct(a){var l=a&42;if(l!==0)return l;switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return a&261888;case 262144:case 524288:case 1048576:case 2097152:return a&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return a&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return a}}function Hr(a,l,u){var d=a.pendingLanes;if(d===0)return 0;var y=0,b=a.suspendedLanes,D=a.pingedLanes;a=a.warmLanes;var V=d&134217727;return V!==0?(d=V&~b,d!==0?y=Ct(d):(D&=V,D!==0?y=Ct(D):u||(u=V&~a,u!==0&&(y=Ct(u))))):(V=d&~b,V!==0?y=Ct(V):D!==0?y=Ct(D):u||(u=d&~a,u!==0&&(y=Ct(u)))),y===0?0:l!==0&&l!==y&&(l&b)===0&&(b=y&-y,u=l&-l,b>=u||b===32&&(u&4194048)!==0)?l:y}function et(a,l){return(a.pendingLanes&~(a.suspendedLanes&~a.pingedLanes)&l)===0}function pl(a,l){switch(a){case 1:case 2:case 4:case 8:case 64:return l+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return l+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function ls(){var a=Nn;return Nn<<=1,(Nn&62914560)===0&&(Nn=4194304),a}function wu(a){for(var l=[],u=0;31>u;u++)l.push(a);return l}function Yi(a,l){a.pendingLanes|=l,l!==268435456&&(a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0)}function Ji(a,l,u,d,y,b){var D=a.pendingLanes;a.pendingLanes=u,a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0,a.expiredLanes&=u,a.entangledLanes&=u,a.errorRecoveryDisabledLanes&=u,a.shellSuspendCounter=0;var V=a.entanglements,Z=a.expirationTimes,he=a.hiddenUpdates;for(u=D&~u;0<u;){var be=31-Nt(u),Ee=1<<be;V[be]=0,Z[be]=-1;var de=he[be];if(de!==null)for(he[be]=null,be=0;be<de.length;be++){var me=de[be];me!==null&&(me.lane&=-536870913)}u&=~Ee}d!==0&&M0(a,d,0),b!==0&&y===0&&a.tag!==0&&(a.suspendedLanes|=b&~(D&~l))}function M0(a,l,u){a.pendingLanes|=l,a.suspendedLanes&=~l;var d=31-Nt(l);a.entangledLanes|=l,a.entanglements[d]=a.entanglements[d]|1073741824|u&261930}function os(a,l){var u=a.entangledLanes|=l;for(a=a.entanglements;u;){var d=31-Nt(u),y=1<<d;y&l|a[d]&l&&(a[d]|=l),u&=~y}}function us(a,l){var u=l&-l;return u=(u&42)!==0?1:eo(u),(u&(a.suspendedLanes|l))!==0?0:u}function eo(a){switch(a){case 2:a=1;break;case 8:a=4;break;case 32:a=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:a=128;break;case 268435456:a=134217728;break;default:a=0}return a}function Su(a){return a&=-a,2<a?8<a?(a&134217727)!==0?32:268435456:8:2}function ku(){var a=oe.p;return a!==0?a:(a=window.event,a===void 0?32:Qv(a.type))}function Eu(a,l){var u=oe.p;try{return oe.p=a,l()}finally{oe.p=u}}var Di=Math.random().toString(36).slice(2),_n="__reactFiber$"+Di,Kn="__reactProps$"+Di,cs="__reactContainer$"+Di,Cu="__reactEvents$"+Di,Up="__reactListeners$"+Di,Hp="__reactHandles$"+Di,Au="__reactResources$"+Di,fs="__reactMarker$"+Di;function to(a){delete a[_n],delete a[Kn],delete a[Cu],delete a[Up],delete a[Hp]}function ba(a){var l=a[_n];if(l)return l;for(var u=a.parentNode;u;){if(l=u[cs]||u[_n]){if(u=l.alternate,l.child!==null||u!==null&&u.child!==null)for(a=zv(a);a!==null;){if(u=a[_n])return u;a=zv(a)}return l}a=u,u=a.parentNode}return null}function wa(a){if(a=a[_n]||a[cs]){var l=a.tag;if(l===5||l===6||l===13||l===31||l===26||l===27||l===3)return a}return null}function hs(a){var l=a.tag;if(l===5||l===26||l===27||l===6)return a.stateNode;throw Error(r(33))}function ps(a){var l=a[Au];return l||(l=a[Au]={hoistableStyles:new Map,hoistableScripts:new Map}),l}function Dn(a){a[fs]=!0}var Tu=new Set,N0={};function Ri(a,l){Sa(a,l),Sa(a+"Capture",l)}function Sa(a,l){for(N0[a]=l,a=0;a<l.length;a++)Tu.add(l[a])}var Gp=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Ue={},dl={};function si(a){return Pt.call(dl,a)?!0:Pt.call(Ue,a)?!1:Gp.test(a)?dl[a]=!0:(Ue[a]=!0,!1)}function no(a,l,u){if(si(l))if(u===null)a.removeAttribute(l);else{switch(typeof u){case"undefined":case"function":case"symbol":a.removeAttribute(l);return;case"boolean":var d=l.toLowerCase().slice(0,5);if(d!=="data-"&&d!=="aria-"){a.removeAttribute(l);return}}a.setAttribute(l,""+u)}}function ro(a,l,u){if(u===null)a.removeAttribute(l);else{switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":a.removeAttribute(l);return}a.setAttribute(l,""+u)}}function li(a,l,u,d){if(d===null)a.removeAttribute(u);else{switch(typeof d){case"undefined":case"function":case"symbol":case"boolean":a.removeAttribute(u);return}a.setAttributeNS(l,u,""+d)}}function wr(a){switch(typeof a){case"bigint":case"boolean":case"number":case"string":case"undefined":return a;case"object":return a;default:return""}}function _0(a){var l=a.type;return(a=a.nodeName)&&a.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function D0(a,l,u){var d=Object.getOwnPropertyDescriptor(a.constructor.prototype,l);if(!a.hasOwnProperty(l)&&typeof d<"u"&&typeof d.get=="function"&&typeof d.set=="function"){var y=d.get,b=d.set;return Object.defineProperty(a,l,{configurable:!0,get:function(){return y.call(this)},set:function(D){u=""+D,b.call(this,D)}}),Object.defineProperty(a,l,{enumerable:d.enumerable}),{getValue:function(){return u},setValue:function(D){u=""+D},stopTracking:function(){a._valueTracker=null,delete a[l]}}}}function Mu(a){if(!a._valueTracker){var l=_0(a)?"checked":"value";a._valueTracker=D0(a,l,""+a[l])}}function Nu(a){if(!a)return!1;var l=a._valueTracker;if(!l)return!0;var u=l.getValue(),d="";return a&&(d=_0(a)?a.checked?"true":"false":a.value),a=d,a!==u?(l.setValue(a),!0):!1}function Sr(a){if(a=a||(typeof document<"u"?document:void 0),typeof a>"u")return null;try{return a.activeElement||a.body}catch{return a.body}}var kr=/[\n"\\]/g;function Er(a){return a.replace(kr,function(l){return"\\"+l.charCodeAt(0).toString(16)+" "})}function io(a,l,u,d,y,b,D,V){a.name="",D!=null&&typeof D!="function"&&typeof D!="symbol"&&typeof D!="boolean"?a.type=D:a.removeAttribute("type"),l!=null?D==="number"?(l===0&&a.value===""||a.value!=l)&&(a.value=""+wr(l)):a.value!==""+wr(l)&&(a.value=""+wr(l)):D!=="submit"&&D!=="reset"||a.removeAttribute("value"),l!=null?_u(a,D,wr(l)):u!=null?_u(a,D,wr(u)):d!=null&&a.removeAttribute("value"),y==null&&b!=null&&(a.defaultChecked=!!b),y!=null&&(a.checked=y&&typeof y!="function"&&typeof y!="symbol"),V!=null&&typeof V!="function"&&typeof V!="symbol"&&typeof V!="boolean"?a.name=""+wr(V):a.removeAttribute("name")}function R0(a,l,u,d,y,b,D,V){if(b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"&&(a.type=b),l!=null||u!=null){if(!(b!=="submit"&&b!=="reset"||l!=null)){Mu(a);return}u=u!=null?""+wr(u):"",l=l!=null?""+wr(l):u,V||l===a.value||(a.value=l),a.defaultValue=l}d=d??y,d=typeof d!="function"&&typeof d!="symbol"&&!!d,a.checked=V?a.checked:!!d,a.defaultChecked=!!d,D!=null&&typeof D!="function"&&typeof D!="symbol"&&typeof D!="boolean"&&(a.name=D),Mu(a)}function _u(a,l,u){l==="number"&&Sr(a.ownerDocument)===a||a.defaultValue===""+u||(a.defaultValue=""+u)}function ds(a,l,u,d){if(a=a.options,l){l={};for(var y=0;y<u.length;y++)l["$"+u[y]]=!0;for(u=0;u<a.length;u++)y=l.hasOwnProperty("$"+a[u].value),a[u].selected!==y&&(a[u].selected=y),y&&d&&(a[u].defaultSelected=!0)}else{for(u=""+wr(u),l=null,y=0;y<a.length;y++){if(a[y].value===u){a[y].selected=!0,d&&(a[y].defaultSelected=!0);return}l!==null||a[y].disabled||(l=a[y])}l!==null&&(l.selected=!0)}}function O0(a,l,u){if(l!=null&&(l=""+wr(l),l!==a.value&&(a.value=l),u==null)){a.defaultValue!==l&&(a.defaultValue=l);return}a.defaultValue=u!=null?""+wr(u):""}function ml(a,l,u,d){if(l==null){if(d!=null){if(u!=null)throw Error(r(92));if(ge(d)){if(1<d.length)throw Error(r(93));d=d[0]}u=d}u==null&&(u=""),l=u}u=wr(l),a.defaultValue=u,d=a.textContent,d===u&&d!==""&&d!==null&&(a.value=d),Mu(a)}function ka(a,l){if(l){var u=a.firstChild;if(u&&u===a.lastChild&&u.nodeType===3){u.nodeValue=l;return}}a.textContent=l}var I0=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Du(a,l,u){var d=l.indexOf("--")===0;u==null||typeof u=="boolean"||u===""?d?a.setProperty(l,""):l==="float"?a.cssFloat="":a[l]="":d?a.setProperty(l,u):typeof u!="number"||u===0||I0.has(l)?l==="float"?a.cssFloat=u:a[l]=(""+u).trim():a[l]=u+"px"}function gl(a,l,u){if(l!=null&&typeof l!="object")throw Error(r(62));if(a=a.style,u!=null){for(var d in u)!u.hasOwnProperty(d)||l!=null&&l.hasOwnProperty(d)||(d.indexOf("--")===0?a.setProperty(d,""):d==="float"?a.cssFloat="":a[d]="");for(var y in l)d=l[y],l.hasOwnProperty(y)&&u[y]!==d&&Du(a,y,d)}else for(var b in l)l.hasOwnProperty(b)&&Du(a,b,l[b])}function wt(a){if(a.indexOf("-")===-1)return!1;switch(a){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 Xp=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),L0=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function xl(a){return L0.test(""+a)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":a}function oi(){}var Ru=null;function Ou(a){return a=a.target||a.srcElement||window,a.correspondingUseElement&&(a=a.correspondingUseElement),a.nodeType===3?a.parentNode:a}var ms=null,p=null;function w(a){var l=wa(a);if(l&&(a=l.stateNode)){var u=a[Kn]||null;e:switch(a=l.stateNode,l.type){case"input":if(io(a,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name),l=u.name,u.type==="radio"&&l!=null){for(u=a;u.parentNode;)u=u.parentNode;for(u=u.querySelectorAll('input[name="'+Er(""+l)+'"][type="radio"]'),l=0;l<u.length;l++){var d=u[l];if(d!==a&&d.form===a.form){var y=d[Kn]||null;if(!y)throw Error(r(90));io(d,y.value,y.defaultValue,y.defaultValue,y.checked,y.defaultChecked,y.type,y.name)}}for(l=0;l<u.length;l++)d=u[l],d.form===a.form&&Nu(d)}break e;case"textarea":O0(a,u.value,u.defaultValue);break e;case"select":l=u.value,l!=null&&ds(a,!!u.multiple,l,!1)}}}var _=!1;function z(a,l,u){if(_)return a(l,u);_=!0;try{var d=a(l);return d}finally{if(_=!1,(ms!==null||p!==null)&&(vf(),ms&&(l=ms,a=p,p=ms=null,w(l),a)))for(l=0;l<a.length;l++)w(a[l])}}function X(a,l){var u=a.stateNode;if(u===null)return null;var d=u[Kn]||null;if(d===null)return null;u=d[l];e:switch(l){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(d=!d.disabled)||(a=a.type,d=!(a==="button"||a==="input"||a==="select"||a==="textarea")),a=!d;break e;default:a=!1}if(a)return null;if(u&&typeof u!="function")throw Error(r(231,l,typeof u));return u}var ie=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),pe=!1;if(ie)try{var Te={};Object.defineProperty(Te,"passive",{get:function(){pe=!0}}),window.addEventListener("test",Te,Te),window.removeEventListener("test",Te,Te)}catch{pe=!1}var _e=null,it=null,ft=null;function Wt(){if(ft)return ft;var a,l=it,u=l.length,d,y="value"in _e?_e.value:_e.textContent,b=y.length;for(a=0;a<u&&l[a]===y[a];a++);var D=u-a;for(d=1;d<=D&&l[u-d]===y[b-d];d++);return ft=y.slice(a,1<d?1-d:void 0)}function kn(a){var l=a.keyCode;return"charCode"in a?(a=a.charCode,a===0&&l===13&&(a=13)):a=l,a===10&&(a=13),32<=a||a===13?a:0}function $i(){return!0}function Ea(){return!1}function Vn(a){function l(u,d,y,b,D){this._reactName=u,this._targetInst=y,this.type=d,this.nativeEvent=b,this.target=D,this.currentTarget=null;for(var V in a)a.hasOwnProperty(V)&&(u=a[V],this[V]=u?u(b):b[V]);return this.isDefaultPrevented=(b.defaultPrevented!=null?b.defaultPrevented:b.returnValue===!1)?$i:Ea,this.isPropagationStopped=Ea,this}return m(l.prototype,{preventDefault:function(){this.defaultPrevented=!0;var u=this.nativeEvent;u&&(u.preventDefault?u.preventDefault():typeof u.returnValue!="unknown"&&(u.returnValue=!1),this.isDefaultPrevented=$i)},stopPropagation:function(){var u=this.nativeEvent;u&&(u.stopPropagation?u.stopPropagation():typeof u.cancelBubble!="unknown"&&(u.cancelBubble=!0),this.isPropagationStopped=$i)},persist:function(){},isPersistent:$i}),l}var Cr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Oi=Vn(Cr),Iu=m({},Cr,{view:0,detail:0}),xE=Vn(Iu),Yp,Jp,Lu,z0=m({},Iu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Wp,button:0,buttons:0,relatedTarget:function(a){return a.relatedTarget===void 0?a.fromElement===a.srcElement?a.toElement:a.fromElement:a.relatedTarget},movementX:function(a){return"movementX"in a?a.movementX:(a!==Lu&&(Lu&&a.type==="mousemove"?(Yp=a.screenX-Lu.screenX,Jp=a.screenY-Lu.screenY):Jp=Yp=0,Lu=a),Yp)},movementY:function(a){return"movementY"in a?a.movementY:Jp}}),D2=Vn(z0),yE=m({},z0,{dataTransfer:0}),vE=Vn(yE),bE=m({},Iu,{relatedTarget:0}),$p=Vn(bE),wE=m({},Cr,{animationName:0,elapsedTime:0,pseudoElement:0}),SE=Vn(wE),kE=m({},Cr,{clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}}),EE=Vn(kE),CE=m({},Cr,{data:0}),R2=Vn(CE),AE={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},TE={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"},ME={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function NE(a){var l=this.nativeEvent;return l.getModifierState?l.getModifierState(a):(a=ME[a])?!!l[a]:!1}function Wp(){return NE}var _E=m({},Iu,{key:function(a){if(a.key){var l=AE[a.key]||a.key;if(l!=="Unidentified")return l}return a.type==="keypress"?(a=kn(a),a===13?"Enter":String.fromCharCode(a)):a.type==="keydown"||a.type==="keyup"?TE[a.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Wp,charCode:function(a){return a.type==="keypress"?kn(a):0},keyCode:function(a){return a.type==="keydown"||a.type==="keyup"?a.keyCode:0},which:function(a){return a.type==="keypress"?kn(a):a.type==="keydown"||a.type==="keyup"?a.keyCode:0}}),DE=Vn(_E),RE=m({},z0,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),O2=Vn(RE),OE=m({},Iu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Wp}),IE=Vn(OE),LE=m({},Cr,{propertyName:0,elapsedTime:0,pseudoElement:0}),zE=Vn(LE),PE=m({},z0,{deltaX:function(a){return"deltaX"in a?a.deltaX:"wheelDeltaX"in a?-a.wheelDeltaX:0},deltaY:function(a){return"deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:0,deltaMode:0}),BE=Vn(PE),jE=m({},Cr,{newState:0,oldState:0}),FE=Vn(jE),VE=[9,13,27,32],Kp=ie&&"CompositionEvent"in window,zu=null;ie&&"documentMode"in document&&(zu=document.documentMode);var qE=ie&&"TextEvent"in window&&!zu,I2=ie&&(!Kp||zu&&8<zu&&11>=zu),L2=" ",z2=!1;function P2(a,l){switch(a){case"keyup":return VE.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function B2(a){return a=a.detail,typeof a=="object"&&"data"in a?a.data:null}var ao=!1;function UE(a,l){switch(a){case"compositionend":return B2(l);case"keypress":return l.which!==32?null:(z2=!0,L2);case"textInput":return a=l.data,a===L2&&z2?null:a;default:return null}}function HE(a,l){if(ao)return a==="compositionend"||!Kp&&P2(a,l)?(a=Wt(),ft=it=_e=null,ao=!1,a):null;switch(a){case"paste":return null;case"keypress":if(!(l.ctrlKey||l.altKey||l.metaKey)||l.ctrlKey&&l.altKey){if(l.char&&1<l.char.length)return l.char;if(l.which)return String.fromCharCode(l.which)}return null;case"compositionend":return I2&&l.locale!=="ko"?null:l.data;default:return null}}var GE={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 j2(a){var l=a&&a.nodeName&&a.nodeName.toLowerCase();return l==="input"?!!GE[a.type]:l==="textarea"}function F2(a,l,u,d){ms?p?p.push(d):p=[d]:ms=d,l=Af(l,"onChange"),0<l.length&&(u=new Oi("onChange","change",null,u,d),a.push({event:u,listeners:l}))}var Pu=null,Bu=null;function XE(a){Sv(a,0)}function P0(a){var l=hs(a);if(Nu(l))return a}function V2(a,l){if(a==="change")return l}var q2=!1;if(ie){var Qp;if(ie){var Zp="oninput"in document;if(!Zp){var U2=document.createElement("div");U2.setAttribute("oninput","return;"),Zp=typeof U2.oninput=="function"}Qp=Zp}else Qp=!1;q2=Qp&&(!document.documentMode||9<document.documentMode)}function H2(){Pu&&(Pu.detachEvent("onpropertychange",G2),Bu=Pu=null)}function G2(a){if(a.propertyName==="value"&&P0(Bu)){var l=[];F2(l,Bu,a,Ou(a)),z(XE,l)}}function YE(a,l,u){a==="focusin"?(H2(),Pu=l,Bu=u,Pu.attachEvent("onpropertychange",G2)):a==="focusout"&&H2()}function JE(a){if(a==="selectionchange"||a==="keyup"||a==="keydown")return P0(Bu)}function $E(a,l){if(a==="click")return P0(l)}function WE(a,l){if(a==="input"||a==="change")return P0(l)}function KE(a,l){return a===l&&(a!==0||1/a===1/l)||a!==a&&l!==l}var Gr=typeof Object.is=="function"?Object.is:KE;function ju(a,l){if(Gr(a,l))return!0;if(typeof a!="object"||a===null||typeof l!="object"||l===null)return!1;var u=Object.keys(a),d=Object.keys(l);if(u.length!==d.length)return!1;for(d=0;d<u.length;d++){var y=u[d];if(!Pt.call(l,y)||!Gr(a[y],l[y]))return!1}return!0}function X2(a){for(;a&&a.firstChild;)a=a.firstChild;return a}function Y2(a,l){var u=X2(a);a=0;for(var d;u;){if(u.nodeType===3){if(d=a+u.textContent.length,a<=l&&d>=l)return{node:u,offset:l-a};a=d}e:{for(;u;){if(u.nextSibling){u=u.nextSibling;break e}u=u.parentNode}u=void 0}u=X2(u)}}function J2(a,l){return a&&l?a===l?!0:a&&a.nodeType===3?!1:l&&l.nodeType===3?J2(a,l.parentNode):"contains"in a?a.contains(l):a.compareDocumentPosition?!!(a.compareDocumentPosition(l)&16):!1:!1}function $2(a){a=a!=null&&a.ownerDocument!=null&&a.ownerDocument.defaultView!=null?a.ownerDocument.defaultView:window;for(var l=Sr(a.document);l instanceof a.HTMLIFrameElement;){try{var u=typeof l.contentWindow.location.href=="string"}catch{u=!1}if(u)a=l.contentWindow;else break;l=Sr(a.document)}return l}function ed(a){var l=a&&a.nodeName&&a.nodeName.toLowerCase();return l&&(l==="input"&&(a.type==="text"||a.type==="search"||a.type==="tel"||a.type==="url"||a.type==="password")||l==="textarea"||a.contentEditable==="true")}var QE=ie&&"documentMode"in document&&11>=document.documentMode,so=null,td=null,Fu=null,nd=!1;function W2(a,l,u){var d=u.window===u?u.document:u.nodeType===9?u:u.ownerDocument;nd||so==null||so!==Sr(d)||(d=so,"selectionStart"in d&&ed(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),Fu&&ju(Fu,d)||(Fu=d,d=Af(td,"onSelect"),0<d.length&&(l=new Oi("onSelect","select",null,l,u),a.push({event:l,listeners:d}),l.target=so)))}function yl(a,l){var u={};return u[a.toLowerCase()]=l.toLowerCase(),u["Webkit"+a]="webkit"+l,u["Moz"+a]="moz"+l,u}var lo={animationend:yl("Animation","AnimationEnd"),animationiteration:yl("Animation","AnimationIteration"),animationstart:yl("Animation","AnimationStart"),transitionrun:yl("Transition","TransitionRun"),transitionstart:yl("Transition","TransitionStart"),transitioncancel:yl("Transition","TransitionCancel"),transitionend:yl("Transition","TransitionEnd")},rd={},K2={};ie&&(K2=document.createElement("div").style,"AnimationEvent"in window||(delete lo.animationend.animation,delete lo.animationiteration.animation,delete lo.animationstart.animation),"TransitionEvent"in window||delete lo.transitionend.transition);function vl(a){if(rd[a])return rd[a];if(!lo[a])return a;var l=lo[a],u;for(u in l)if(l.hasOwnProperty(u)&&u in K2)return rd[a]=l[u];return a}var Q2=vl("animationend"),Z2=vl("animationiteration"),ey=vl("animationstart"),ZE=vl("transitionrun"),eC=vl("transitionstart"),tC=vl("transitioncancel"),ty=vl("transitionend"),ny=new Map,id="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");id.push("scrollEnd");function Ii(a,l){ny.set(a,l),Ri(l,[a])}var B0=typeof reportError=="function"?reportError:function(a){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var l=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof a=="object"&&a!==null&&typeof a.message=="string"?String(a.message):String(a),error:a});if(!window.dispatchEvent(l))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",a);return}console.error(a)},ui=[],oo=0,ad=0;function j0(){for(var a=oo,l=ad=oo=0;l<a;){var u=ui[l];ui[l++]=null;var d=ui[l];ui[l++]=null;var y=ui[l];ui[l++]=null;var b=ui[l];if(ui[l++]=null,d!==null&&y!==null){var D=d.pending;D===null?y.next=y:(y.next=D.next,D.next=y),d.pending=y}b!==0&&ry(u,y,b)}}function F0(a,l,u,d){ui[oo++]=a,ui[oo++]=l,ui[oo++]=u,ui[oo++]=d,ad|=d,a.lanes|=d,a=a.alternate,a!==null&&(a.lanes|=d)}function sd(a,l,u,d){return F0(a,l,u,d),V0(a)}function bl(a,l){return F0(a,null,null,l),V0(a)}function ry(a,l,u){a.lanes|=u;var d=a.alternate;d!==null&&(d.lanes|=u);for(var y=!1,b=a.return;b!==null;)b.childLanes|=u,d=b.alternate,d!==null&&(d.childLanes|=u),b.tag===22&&(a=b.stateNode,a===null||a._visibility&1||(y=!0)),a=b,b=b.return;return a.tag===3?(b=a.stateNode,y&&l!==null&&(y=31-Nt(u),a=b.hiddenUpdates,d=a[y],d===null?a[y]=[l]:d.push(l),l.lane=u|536870912),b):null}function V0(a){if(50<oc)throw oc=0,mm=null,Error(r(185));for(var l=a.return;l!==null;)a=l,l=a.return;return a.tag===3?a.stateNode:null}var uo={};function nC(a,l,u,d){this.tag=a,this.key=u,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=l,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=d,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Xr(a,l,u,d){return new nC(a,l,u,d)}function ld(a){return a=a.prototype,!(!a||!a.isReactComponent)}function Ca(a,l){var u=a.alternate;return u===null?(u=Xr(a.tag,l,a.key,a.mode),u.elementType=a.elementType,u.type=a.type,u.stateNode=a.stateNode,u.alternate=a,a.alternate=u):(u.pendingProps=l,u.type=a.type,u.flags=0,u.subtreeFlags=0,u.deletions=null),u.flags=a.flags&65011712,u.childLanes=a.childLanes,u.lanes=a.lanes,u.child=a.child,u.memoizedProps=a.memoizedProps,u.memoizedState=a.memoizedState,u.updateQueue=a.updateQueue,l=a.dependencies,u.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext},u.sibling=a.sibling,u.index=a.index,u.ref=a.ref,u.refCleanup=a.refCleanup,u}function iy(a,l){a.flags&=65011714;var u=a.alternate;return u===null?(a.childLanes=0,a.lanes=l,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=u.childLanes,a.lanes=u.lanes,a.child=u.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=u.memoizedProps,a.memoizedState=u.memoizedState,a.updateQueue=u.updateQueue,a.type=u.type,l=u.dependencies,a.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext}),a}function q0(a,l,u,d,y,b){var D=0;if(d=a,typeof a=="function")ld(a)&&(D=1);else if(typeof a=="string")D=lA(a,u,Ce.current)?26:a==="html"||a==="head"||a==="body"?27:5;else e:switch(a){case W:return a=Xr(31,u,l,y),a.elementType=W,a.lanes=b,a;case k:return wl(u.children,y,b,l);case T:D=8,y|=24;break;case C:return a=Xr(12,u,l,y|2),a.elementType=C,a.lanes=b,a;case L:return a=Xr(13,u,l,y),a.elementType=L,a.lanes=b,a;case S:return a=Xr(19,u,l,y),a.elementType=S,a.lanes=b,a;default:if(typeof a=="object"&&a!==null)switch(a.$$typeof){case R:D=10;break e;case M:D=9;break e;case j:D=11;break e;case O:D=14;break e;case q:D=16,d=null;break e}D=29,u=Error(r(130,a===null?"null":typeof a,"")),d=null}return l=Xr(D,u,l,y),l.elementType=a,l.type=d,l.lanes=b,l}function wl(a,l,u,d){return a=Xr(7,a,d,l),a.lanes=u,a}function od(a,l,u){return a=Xr(6,a,null,l),a.lanes=u,a}function ay(a){var l=Xr(18,null,null,0);return l.stateNode=a,l}function ud(a,l,u){return l=Xr(4,a.children!==null?a.children:[],a.key,l),l.lanes=u,l.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation},l}var sy=new WeakMap;function ci(a,l){if(typeof a=="object"&&a!==null){var u=sy.get(a);return u!==void 0?u:(l={value:a,source:l,stack:$t(l)},sy.set(a,l),l)}return{value:a,source:l,stack:$t(l)}}var co=[],fo=0,U0=null,Vu=0,fi=[],hi=0,gs=null,Wi=1,Ki="";function Aa(a,l){co[fo++]=Vu,co[fo++]=U0,U0=a,Vu=l}function ly(a,l,u){fi[hi++]=Wi,fi[hi++]=Ki,fi[hi++]=gs,gs=a;var d=Wi;a=Ki;var y=32-Nt(d)-1;d&=~(1<<y),u+=1;var b=32-Nt(l)+y;if(30<b){var D=y-y%5;b=(d&(1<<D)-1).toString(32),d>>=D,y-=D,Wi=1<<32-Nt(l)+y|u<<y|d,Ki=b+a}else Wi=1<<b|u<<y|d,Ki=a}function cd(a){a.return!==null&&(Aa(a,1),ly(a,1,0))}function fd(a){for(;a===U0;)U0=co[--fo],co[fo]=null,Vu=co[--fo],co[fo]=null;for(;a===gs;)gs=fi[--hi],fi[hi]=null,Ki=fi[--hi],fi[hi]=null,Wi=fi[--hi],fi[hi]=null}function oy(a,l){fi[hi++]=Wi,fi[hi++]=Ki,fi[hi++]=gs,Wi=l.id,Ki=l.overflow,gs=a}var Qn=null,sn=null,_t=!1,xs=null,pi=!1,hd=Error(r(519));function ys(a){var l=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw qu(ci(l,a)),hd}function uy(a){var l=a.stateNode,u=a.type,d=a.memoizedProps;switch(l[_n]=a,l[Kn]=d,u){case"dialog":Et("cancel",l),Et("close",l);break;case"iframe":case"object":case"embed":Et("load",l);break;case"video":case"audio":for(u=0;u<cc.length;u++)Et(cc[u],l);break;case"source":Et("error",l);break;case"img":case"image":case"link":Et("error",l),Et("load",l);break;case"details":Et("toggle",l);break;case"input":Et("invalid",l),R0(l,d.value,d.defaultValue,d.checked,d.defaultChecked,d.type,d.name,!0);break;case"select":Et("invalid",l);break;case"textarea":Et("invalid",l),ml(l,d.value,d.defaultValue,d.children)}u=d.children,typeof u!="string"&&typeof u!="number"&&typeof u!="bigint"||l.textContent===""+u||d.suppressHydrationWarning===!0||Av(l.textContent,u)?(d.popover!=null&&(Et("beforetoggle",l),Et("toggle",l)),d.onScroll!=null&&Et("scroll",l),d.onScrollEnd!=null&&Et("scrollend",l),d.onClick!=null&&(l.onclick=oi),l=!0):l=!1,l||ys(a,!0)}function cy(a){for(Qn=a.return;Qn;)switch(Qn.tag){case 5:case 31:case 13:pi=!1;return;case 27:case 3:pi=!0;return;default:Qn=Qn.return}}function ho(a){if(a!==Qn)return!1;if(!_t)return cy(a),_t=!0,!1;var l=a.tag,u;if((u=l!==3&&l!==27)&&((u=l===5)&&(u=a.type,u=!(u!=="form"&&u!=="button")||_m(a.type,a.memoizedProps)),u=!u),u&&sn&&ys(a),cy(a),l===13){if(a=a.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(r(317));sn=Lv(a)}else if(l===31){if(a=a.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(r(317));sn=Lv(a)}else l===27?(l=sn,Rs(a.type)?(a=Lm,Lm=null,sn=a):sn=l):sn=Qn?mi(a.stateNode.nextSibling):null;return!0}function Sl(){sn=Qn=null,_t=!1}function pd(){var a=xs;return a!==null&&(Nr===null?Nr=a:Nr.push.apply(Nr,a),xs=null),a}function qu(a){xs===null?xs=[a]:xs.push(a)}var dd=$(null),kl=null,Ta=null;function vs(a,l,u){H(dd,l._currentValue),l._currentValue=u}function Ma(a){a._currentValue=dd.current,ue(dd)}function md(a,l,u){for(;a!==null;){var d=a.alternate;if((a.childLanes&l)!==l?(a.childLanes|=l,d!==null&&(d.childLanes|=l)):d!==null&&(d.childLanes&l)!==l&&(d.childLanes|=l),a===u)break;a=a.return}}function gd(a,l,u,d){var y=a.child;for(y!==null&&(y.return=a);y!==null;){var b=y.dependencies;if(b!==null){var D=y.child;b=b.firstContext;e:for(;b!==null;){var V=b;b=y;for(var Z=0;Z<l.length;Z++)if(V.context===l[Z]){b.lanes|=u,V=b.alternate,V!==null&&(V.lanes|=u),md(b.return,u,a),d||(D=null);break e}b=V.next}}else if(y.tag===18){if(D=y.return,D===null)throw Error(r(341));D.lanes|=u,b=D.alternate,b!==null&&(b.lanes|=u),md(D,u,a),D=null}else D=y.child;if(D!==null)D.return=y;else for(D=y;D!==null;){if(D===a){D=null;break}if(y=D.sibling,y!==null){y.return=D.return,D=y;break}D=D.return}y=D}}function po(a,l,u,d){a=null;for(var y=l,b=!1;y!==null;){if(!b){if((y.flags&524288)!==0)b=!0;else if((y.flags&262144)!==0)break}if(y.tag===10){var D=y.alternate;if(D===null)throw Error(r(387));if(D=D.memoizedProps,D!==null){var V=y.type;Gr(y.pendingProps.value,D.value)||(a!==null?a.push(V):a=[V])}}else if(y===Re.current){if(D=y.alternate,D===null)throw Error(r(387));D.memoizedState.memoizedState!==y.memoizedState.memoizedState&&(a!==null?a.push(mc):a=[mc])}y=y.return}a!==null&&gd(l,a,u,d),l.flags|=262144}function H0(a){for(a=a.firstContext;a!==null;){if(!Gr(a.context._currentValue,a.memoizedValue))return!0;a=a.next}return!1}function El(a){kl=a,Ta=null,a=a.dependencies,a!==null&&(a.firstContext=null)}function Zn(a){return fy(kl,a)}function G0(a,l){return kl===null&&El(a),fy(a,l)}function fy(a,l){var u=l._currentValue;if(l={context:l,memoizedValue:u,next:null},Ta===null){if(a===null)throw Error(r(308));Ta=l,a.dependencies={lanes:0,firstContext:l},a.flags|=524288}else Ta=Ta.next=l;return u}var rC=typeof AbortController<"u"?AbortController:function(){var a=[],l=this.signal={aborted:!1,addEventListener:function(u,d){a.push(d)}};this.abort=function(){l.aborted=!0,a.forEach(function(u){return u()})}},iC=e.unstable_scheduleCallback,aC=e.unstable_NormalPriority,Rn={$$typeof:R,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function xd(){return{controller:new rC,data:new Map,refCount:0}}function Uu(a){a.refCount--,a.refCount===0&&iC(aC,function(){a.controller.abort()})}var Hu=null,yd=0,mo=0,go=null;function sC(a,l){if(Hu===null){var u=Hu=[];yd=0,mo=wm(),go={status:"pending",value:void 0,then:function(d){u.push(d)}}}return yd++,l.then(hy,hy),l}function hy(){if(--yd===0&&Hu!==null){go!==null&&(go.status="fulfilled");var a=Hu;Hu=null,mo=0,go=null;for(var l=0;l<a.length;l++)(0,a[l])()}}function lC(a,l){var u=[],d={status:"pending",value:null,reason:null,then:function(y){u.push(y)}};return a.then(function(){d.status="fulfilled",d.value=l;for(var y=0;y<u.length;y++)(0,u[y])(l)},function(y){for(d.status="rejected",d.reason=y,y=0;y<u.length;y++)(0,u[y])(void 0)}),d}var py=ee.S;ee.S=function(a,l){W4=pt(),typeof l=="object"&&l!==null&&typeof l.then=="function"&&sC(a,l),py!==null&&py(a,l)};var Cl=$(null);function vd(){var a=Cl.current;return a!==null?a:en.pooledCache}function X0(a,l){l===null?H(Cl,Cl.current):H(Cl,l.pool)}function dy(){var a=vd();return a===null?null:{parent:Rn._currentValue,pool:a}}var xo=Error(r(460)),bd=Error(r(474)),Y0=Error(r(542)),J0={then:function(){}};function my(a){return a=a.status,a==="fulfilled"||a==="rejected"}function gy(a,l,u){switch(u=a[u],u===void 0?a.push(l):u!==l&&(l.then(oi,oi),l=u),l.status){case"fulfilled":return l.value;case"rejected":throw a=l.reason,yy(a),a;default:if(typeof l.status=="string")l.then(oi,oi);else{if(a=en,a!==null&&100<a.shellSuspendCounter)throw Error(r(482));a=l,a.status="pending",a.then(function(d){if(l.status==="pending"){var y=l;y.status="fulfilled",y.value=d}},function(d){if(l.status==="pending"){var y=l;y.status="rejected",y.reason=d}})}switch(l.status){case"fulfilled":return l.value;case"rejected":throw a=l.reason,yy(a),a}throw Tl=l,xo}}function Al(a){try{var l=a._init;return l(a._payload)}catch(u){throw u!==null&&typeof u=="object"&&typeof u.then=="function"?(Tl=u,xo):u}}var Tl=null;function xy(){if(Tl===null)throw Error(r(459));var a=Tl;return Tl=null,a}function yy(a){if(a===xo||a===Y0)throw Error(r(483))}var yo=null,Gu=0;function $0(a){var l=Gu;return Gu+=1,yo===null&&(yo=[]),gy(yo,a,l)}function Xu(a,l){l=l.props.ref,a.ref=l!==void 0?l:null}function W0(a,l){throw l.$$typeof===x?Error(r(525)):(a=Object.prototype.toString.call(l),Error(r(31,a==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":a)))}function vy(a){function l(se,te){if(a){var ce=se.deletions;ce===null?(se.deletions=[te],se.flags|=16):ce.push(te)}}function u(se,te){if(!a)return null;for(;te!==null;)l(se,te),te=te.sibling;return null}function d(se){for(var te=new Map;se!==null;)se.key!==null?te.set(se.key,se):te.set(se.index,se),se=se.sibling;return te}function y(se,te){return se=Ca(se,te),se.index=0,se.sibling=null,se}function b(se,te,ce){return se.index=ce,a?(ce=se.alternate,ce!==null?(ce=ce.index,ce<te?(se.flags|=67108866,te):ce):(se.flags|=67108866,te)):(se.flags|=1048576,te)}function D(se){return a&&se.alternate===null&&(se.flags|=67108866),se}function V(se,te,ce,ke){return te===null||te.tag!==6?(te=od(ce,se.mode,ke),te.return=se,te):(te=y(te,ce),te.return=se,te)}function Z(se,te,ce,ke){var tt=ce.type;return tt===k?be(se,te,ce.props.children,ke,ce.key):te!==null&&(te.elementType===tt||typeof tt=="object"&&tt!==null&&tt.$$typeof===q&&Al(tt)===te.type)?(te=y(te,ce.props),Xu(te,ce),te.return=se,te):(te=q0(ce.type,ce.key,ce.props,null,se.mode,ke),Xu(te,ce),te.return=se,te)}function he(se,te,ce,ke){return te===null||te.tag!==4||te.stateNode.containerInfo!==ce.containerInfo||te.stateNode.implementation!==ce.implementation?(te=ud(ce,se.mode,ke),te.return=se,te):(te=y(te,ce.children||[]),te.return=se,te)}function be(se,te,ce,ke,tt){return te===null||te.tag!==7?(te=wl(ce,se.mode,ke,tt),te.return=se,te):(te=y(te,ce),te.return=se,te)}function Ee(se,te,ce){if(typeof te=="string"&&te!==""||typeof te=="number"||typeof te=="bigint")return te=od(""+te,se.mode,ce),te.return=se,te;if(typeof te=="object"&&te!==null){switch(te.$$typeof){case v:return ce=q0(te.type,te.key,te.props,null,se.mode,ce),Xu(ce,te),ce.return=se,ce;case E:return te=ud(te,se.mode,ce),te.return=se,te;case q:return te=Al(te),Ee(se,te,ce)}if(ge(te)||ae(te))return te=wl(te,se.mode,ce,null),te.return=se,te;if(typeof te.then=="function")return Ee(se,$0(te),ce);if(te.$$typeof===R)return Ee(se,G0(se,te),ce);W0(se,te)}return null}function de(se,te,ce,ke){var tt=te!==null?te.key:null;if(typeof ce=="string"&&ce!==""||typeof ce=="number"||typeof ce=="bigint")return tt!==null?null:V(se,te,""+ce,ke);if(typeof ce=="object"&&ce!==null){switch(ce.$$typeof){case v:return ce.key===tt?Z(se,te,ce,ke):null;case E:return ce.key===tt?he(se,te,ce,ke):null;case q:return ce=Al(ce),de(se,te,ce,ke)}if(ge(ce)||ae(ce))return tt!==null?null:be(se,te,ce,ke,null);if(typeof ce.then=="function")return de(se,te,$0(ce),ke);if(ce.$$typeof===R)return de(se,te,G0(se,ce),ke);W0(se,ce)}return null}function me(se,te,ce,ke,tt){if(typeof ke=="string"&&ke!==""||typeof ke=="number"||typeof ke=="bigint")return se=se.get(ce)||null,V(te,se,""+ke,tt);if(typeof ke=="object"&&ke!==null){switch(ke.$$typeof){case v:return se=se.get(ke.key===null?ce:ke.key)||null,Z(te,se,ke,tt);case E:return se=se.get(ke.key===null?ce:ke.key)||null,he(te,se,ke,tt);case q:return ke=Al(ke),me(se,te,ce,ke,tt)}if(ge(ke)||ae(ke))return se=se.get(ce)||null,be(te,se,ke,tt,null);if(typeof ke.then=="function")return me(se,te,ce,$0(ke),tt);if(ke.$$typeof===R)return me(se,te,ce,G0(te,ke),tt);W0(te,ke)}return null}function He(se,te,ce,ke){for(var tt=null,Bt=null,We=te,xt=te=0,Tt=null;We!==null&&xt<ce.length;xt++){We.index>xt?(Tt=We,We=null):Tt=We.sibling;var jt=de(se,We,ce[xt],ke);if(jt===null){We===null&&(We=Tt);break}a&&We&&jt.alternate===null&&l(se,We),te=b(jt,te,xt),Bt===null?tt=jt:Bt.sibling=jt,Bt=jt,We=Tt}if(xt===ce.length)return u(se,We),_t&&Aa(se,xt),tt;if(We===null){for(;xt<ce.length;xt++)We=Ee(se,ce[xt],ke),We!==null&&(te=b(We,te,xt),Bt===null?tt=We:Bt.sibling=We,Bt=We);return _t&&Aa(se,xt),tt}for(We=d(We);xt<ce.length;xt++)Tt=me(We,se,xt,ce[xt],ke),Tt!==null&&(a&&Tt.alternate!==null&&We.delete(Tt.key===null?xt:Tt.key),te=b(Tt,te,xt),Bt===null?tt=Tt:Bt.sibling=Tt,Bt=Tt);return a&&We.forEach(function(Ps){return l(se,Ps)}),_t&&Aa(se,xt),tt}function at(se,te,ce,ke){if(ce==null)throw Error(r(151));for(var tt=null,Bt=null,We=te,xt=te=0,Tt=null,jt=ce.next();We!==null&&!jt.done;xt++,jt=ce.next()){We.index>xt?(Tt=We,We=null):Tt=We.sibling;var Ps=de(se,We,jt.value,ke);if(Ps===null){We===null&&(We=Tt);break}a&&We&&Ps.alternate===null&&l(se,We),te=b(Ps,te,xt),Bt===null?tt=Ps:Bt.sibling=Ps,Bt=Ps,We=Tt}if(jt.done)return u(se,We),_t&&Aa(se,xt),tt;if(We===null){for(;!jt.done;xt++,jt=ce.next())jt=Ee(se,jt.value,ke),jt!==null&&(te=b(jt,te,xt),Bt===null?tt=jt:Bt.sibling=jt,Bt=jt);return _t&&Aa(se,xt),tt}for(We=d(We);!jt.done;xt++,jt=ce.next())jt=me(We,se,xt,jt.value,ke),jt!==null&&(a&&jt.alternate!==null&&We.delete(jt.key===null?xt:jt.key),te=b(jt,te,xt),Bt===null?tt=jt:Bt.sibling=jt,Bt=jt);return a&&We.forEach(function(yA){return l(se,yA)}),_t&&Aa(se,xt),tt}function Zt(se,te,ce,ke){if(typeof ce=="object"&&ce!==null&&ce.type===k&&ce.key===null&&(ce=ce.props.children),typeof ce=="object"&&ce!==null){switch(ce.$$typeof){case v:e:{for(var tt=ce.key;te!==null;){if(te.key===tt){if(tt=ce.type,tt===k){if(te.tag===7){u(se,te.sibling),ke=y(te,ce.props.children),ke.return=se,se=ke;break e}}else if(te.elementType===tt||typeof tt=="object"&&tt!==null&&tt.$$typeof===q&&Al(tt)===te.type){u(se,te.sibling),ke=y(te,ce.props),Xu(ke,ce),ke.return=se,se=ke;break e}u(se,te);break}else l(se,te);te=te.sibling}ce.type===k?(ke=wl(ce.props.children,se.mode,ke,ce.key),ke.return=se,se=ke):(ke=q0(ce.type,ce.key,ce.props,null,se.mode,ke),Xu(ke,ce),ke.return=se,se=ke)}return D(se);case E:e:{for(tt=ce.key;te!==null;){if(te.key===tt)if(te.tag===4&&te.stateNode.containerInfo===ce.containerInfo&&te.stateNode.implementation===ce.implementation){u(se,te.sibling),ke=y(te,ce.children||[]),ke.return=se,se=ke;break e}else{u(se,te);break}else l(se,te);te=te.sibling}ke=ud(ce,se.mode,ke),ke.return=se,se=ke}return D(se);case q:return ce=Al(ce),Zt(se,te,ce,ke)}if(ge(ce))return He(se,te,ce,ke);if(ae(ce)){if(tt=ae(ce),typeof tt!="function")throw Error(r(150));return ce=tt.call(ce),at(se,te,ce,ke)}if(typeof ce.then=="function")return Zt(se,te,$0(ce),ke);if(ce.$$typeof===R)return Zt(se,te,G0(se,ce),ke);W0(se,ce)}return typeof ce=="string"&&ce!==""||typeof ce=="number"||typeof ce=="bigint"?(ce=""+ce,te!==null&&te.tag===6?(u(se,te.sibling),ke=y(te,ce),ke.return=se,se=ke):(u(se,te),ke=od(ce,se.mode,ke),ke.return=se,se=ke),D(se)):u(se,te)}return function(se,te,ce,ke){try{Gu=0;var tt=Zt(se,te,ce,ke);return yo=null,tt}catch(We){if(We===xo||We===Y0)throw We;var Bt=Xr(29,We,null,se.mode);return Bt.lanes=ke,Bt.return=se,Bt}finally{}}}var Ml=vy(!0),by=vy(!1),bs=!1;function wd(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Sd(a,l){a=a.updateQueue,l.updateQueue===a&&(l.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,callbacks:null})}function ws(a){return{lane:a,tag:0,payload:null,callback:null,next:null}}function Ss(a,l,u){var d=a.updateQueue;if(d===null)return null;if(d=d.shared,(Vt&2)!==0){var y=d.pending;return y===null?l.next=l:(l.next=y.next,y.next=l),d.pending=l,l=V0(a),ry(a,null,u),l}return F0(a,d,l,u),V0(a)}function Yu(a,l,u){if(l=l.updateQueue,l!==null&&(l=l.shared,(u&4194048)!==0)){var d=l.lanes;d&=a.pendingLanes,u|=d,l.lanes=u,os(a,u)}}function kd(a,l){var u=a.updateQueue,d=a.alternate;if(d!==null&&(d=d.updateQueue,u===d)){var y=null,b=null;if(u=u.firstBaseUpdate,u!==null){do{var D={lane:u.lane,tag:u.tag,payload:u.payload,callback:null,next:null};b===null?y=b=D:b=b.next=D,u=u.next}while(u!==null);b===null?y=b=l:b=b.next=l}else y=b=l;u={baseState:d.baseState,firstBaseUpdate:y,lastBaseUpdate:b,shared:d.shared,callbacks:d.callbacks},a.updateQueue=u;return}a=u.lastBaseUpdate,a===null?u.firstBaseUpdate=l:a.next=l,u.lastBaseUpdate=l}var Ed=!1;function Ju(){if(Ed){var a=go;if(a!==null)throw a}}function $u(a,l,u,d){Ed=!1;var y=a.updateQueue;bs=!1;var b=y.firstBaseUpdate,D=y.lastBaseUpdate,V=y.shared.pending;if(V!==null){y.shared.pending=null;var Z=V,he=Z.next;Z.next=null,D===null?b=he:D.next=he,D=Z;var be=a.alternate;be!==null&&(be=be.updateQueue,V=be.lastBaseUpdate,V!==D&&(V===null?be.firstBaseUpdate=he:V.next=he,be.lastBaseUpdate=Z))}if(b!==null){var Ee=y.baseState;D=0,be=he=Z=null,V=b;do{var de=V.lane&-536870913,me=de!==V.lane;if(me?(At&de)===de:(d&de)===de){de!==0&&de===mo&&(Ed=!0),be!==null&&(be=be.next={lane:0,tag:V.tag,payload:V.payload,callback:null,next:null});e:{var He=a,at=V;de=l;var Zt=u;switch(at.tag){case 1:if(He=at.payload,typeof He=="function"){Ee=He.call(Zt,Ee,de);break e}Ee=He;break e;case 3:He.flags=He.flags&-65537|128;case 0:if(He=at.payload,de=typeof He=="function"?He.call(Zt,Ee,de):He,de==null)break e;Ee=m({},Ee,de);break e;case 2:bs=!0}}de=V.callback,de!==null&&(a.flags|=64,me&&(a.flags|=8192),me=y.callbacks,me===null?y.callbacks=[de]:me.push(de))}else me={lane:de,tag:V.tag,payload:V.payload,callback:V.callback,next:null},be===null?(he=be=me,Z=Ee):be=be.next=me,D|=de;if(V=V.next,V===null){if(V=y.shared.pending,V===null)break;me=V,V=me.next,me.next=null,y.lastBaseUpdate=me,y.shared.pending=null}}while(!0);be===null&&(Z=Ee),y.baseState=Z,y.firstBaseUpdate=he,y.lastBaseUpdate=be,b===null&&(y.shared.lanes=0),Ts|=D,a.lanes=D,a.memoizedState=Ee}}function wy(a,l){if(typeof a!="function")throw Error(r(191,a));a.call(l)}function Sy(a,l){var u=a.callbacks;if(u!==null)for(a.callbacks=null,a=0;a<u.length;a++)wy(u[a],l)}var vo=$(null),K0=$(0);function ky(a,l){a=Pa,H(K0,a),H(vo,l),Pa=a|l.baseLanes}function Cd(){H(K0,Pa),H(vo,vo.current)}function Ad(){Pa=K0.current,ue(vo),ue(K0)}var Yr=$(null),di=null;function ks(a){var l=a.alternate;H(En,En.current&1),H(Yr,a),di===null&&(l===null||vo.current!==null||l.memoizedState!==null)&&(di=a)}function Td(a){H(En,En.current),H(Yr,a),di===null&&(di=a)}function Ey(a){a.tag===22?(H(En,En.current),H(Yr,a),di===null&&(di=a)):Es()}function Es(){H(En,En.current),H(Yr,Yr.current)}function Jr(a){ue(Yr),di===a&&(di=null),ue(En)}var En=$(0);function Q0(a){for(var l=a;l!==null;){if(l.tag===13){var u=l.memoizedState;if(u!==null&&(u=u.dehydrated,u===null||Om(u)||Im(u)))return l}else if(l.tag===19&&(l.memoizedProps.revealOrder==="forwards"||l.memoizedProps.revealOrder==="backwards"||l.memoizedProps.revealOrder==="unstable_legacy-backwards"||l.memoizedProps.revealOrder==="together")){if((l.flags&128)!==0)return l}else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===a)break;for(;l.sibling===null;){if(l.return===null||l.return===a)return null;l=l.return}l.sibling.return=l.return,l=l.sibling}return null}var Na=0,mt=null,Kt=null,On=null,Z0=!1,bo=!1,Nl=!1,ef=0,Wu=0,wo=null,oC=0;function bn(){throw Error(r(321))}function Md(a,l){if(l===null)return!1;for(var u=0;u<l.length&&u<a.length;u++)if(!Gr(a[u],l[u]))return!1;return!0}function Nd(a,l,u,d,y,b){return Na=b,mt=l,l.memoizedState=null,l.updateQueue=null,l.lanes=0,ee.H=a===null||a.memoizedState===null?l4:Hd,Nl=!1,b=u(d,y),Nl=!1,bo&&(b=Ay(l,u,d,y)),Cy(a),b}function Cy(a){ee.H=Zu;var l=Kt!==null&&Kt.next!==null;if(Na=0,On=Kt=mt=null,Z0=!1,Wu=0,wo=null,l)throw Error(r(300));a===null||In||(a=a.dependencies,a!==null&&H0(a)&&(In=!0))}function Ay(a,l,u,d){mt=a;var y=0;do{if(bo&&(wo=null),Wu=0,bo=!1,25<=y)throw Error(r(301));if(y+=1,On=Kt=null,a.updateQueue!=null){var b=a.updateQueue;b.lastEffect=null,b.events=null,b.stores=null,b.memoCache!=null&&(b.memoCache.index=0)}ee.H=o4,b=l(u,d)}while(bo);return b}function uC(){var a=ee.H,l=a.useState()[0];return l=typeof l.then=="function"?Ku(l):l,a=a.useState()[0],(Kt!==null?Kt.memoizedState:null)!==a&&(mt.flags|=1024),l}function _d(){var a=ef!==0;return ef=0,a}function Dd(a,l,u){l.updateQueue=a.updateQueue,l.flags&=-2053,a.lanes&=~u}function Rd(a){if(Z0){for(a=a.memoizedState;a!==null;){var l=a.queue;l!==null&&(l.pending=null),a=a.next}Z0=!1}Na=0,On=Kt=mt=null,bo=!1,Wu=ef=0,wo=null}function ur(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return On===null?mt.memoizedState=On=a:On=On.next=a,On}function Cn(){if(Kt===null){var a=mt.alternate;a=a!==null?a.memoizedState:null}else a=Kt.next;var l=On===null?mt.memoizedState:On.next;if(l!==null)On=l,Kt=a;else{if(a===null)throw mt.alternate===null?Error(r(467)):Error(r(310));Kt=a,a={memoizedState:Kt.memoizedState,baseState:Kt.baseState,baseQueue:Kt.baseQueue,queue:Kt.queue,next:null},On===null?mt.memoizedState=On=a:On=On.next=a}return On}function tf(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ku(a){var l=Wu;return Wu+=1,wo===null&&(wo=[]),a=gy(wo,a,l),l=mt,(On===null?l.memoizedState:On.next)===null&&(l=l.alternate,ee.H=l===null||l.memoizedState===null?l4:Hd),a}function nf(a){if(a!==null&&typeof a=="object"){if(typeof a.then=="function")return Ku(a);if(a.$$typeof===R)return Zn(a)}throw Error(r(438,String(a)))}function Od(a){var l=null,u=mt.updateQueue;if(u!==null&&(l=u.memoCache),l==null){var d=mt.alternate;d!==null&&(d=d.updateQueue,d!==null&&(d=d.memoCache,d!=null&&(l={data:d.data.map(function(y){return y.slice()}),index:0})))}if(l==null&&(l={data:[],index:0}),u===null&&(u=tf(),mt.updateQueue=u),u.memoCache=l,u=l.data[l.index],u===void 0)for(u=l.data[l.index]=Array(a),d=0;d<a;d++)u[d]=J;return l.index++,u}function _a(a,l){return typeof l=="function"?l(a):l}function rf(a){var l=Cn();return Id(l,Kt,a)}function Id(a,l,u){var d=a.queue;if(d===null)throw Error(r(311));d.lastRenderedReducer=u;var y=a.baseQueue,b=d.pending;if(b!==null){if(y!==null){var D=y.next;y.next=b.next,b.next=D}l.baseQueue=y=b,d.pending=null}if(b=a.baseState,y===null)a.memoizedState=b;else{l=y.next;var V=D=null,Z=null,he=l,be=!1;do{var Ee=he.lane&-536870913;if(Ee!==he.lane?(At&Ee)===Ee:(Na&Ee)===Ee){var de=he.revertLane;if(de===0)Z!==null&&(Z=Z.next={lane:0,revertLane:0,gesture:null,action:he.action,hasEagerState:he.hasEagerState,eagerState:he.eagerState,next:null}),Ee===mo&&(be=!0);else if((Na&de)===de){he=he.next,de===mo&&(be=!0);continue}else Ee={lane:0,revertLane:he.revertLane,gesture:null,action:he.action,hasEagerState:he.hasEagerState,eagerState:he.eagerState,next:null},Z===null?(V=Z=Ee,D=b):Z=Z.next=Ee,mt.lanes|=de,Ts|=de;Ee=he.action,Nl&&u(b,Ee),b=he.hasEagerState?he.eagerState:u(b,Ee)}else de={lane:Ee,revertLane:he.revertLane,gesture:he.gesture,action:he.action,hasEagerState:he.hasEagerState,eagerState:he.eagerState,next:null},Z===null?(V=Z=de,D=b):Z=Z.next=de,mt.lanes|=Ee,Ts|=Ee;he=he.next}while(he!==null&&he!==l);if(Z===null?D=b:Z.next=V,!Gr(b,a.memoizedState)&&(In=!0,be&&(u=go,u!==null)))throw u;a.memoizedState=b,a.baseState=D,a.baseQueue=Z,d.lastRenderedState=b}return y===null&&(d.lanes=0),[a.memoizedState,d.dispatch]}function Ld(a){var l=Cn(),u=l.queue;if(u===null)throw Error(r(311));u.lastRenderedReducer=a;var d=u.dispatch,y=u.pending,b=l.memoizedState;if(y!==null){u.pending=null;var D=y=y.next;do b=a(b,D.action),D=D.next;while(D!==y);Gr(b,l.memoizedState)||(In=!0),l.memoizedState=b,l.baseQueue===null&&(l.baseState=b),u.lastRenderedState=b}return[b,d]}function Ty(a,l,u){var d=mt,y=Cn(),b=_t;if(b){if(u===void 0)throw Error(r(407));u=u()}else u=l();var D=!Gr((Kt||y).memoizedState,u);if(D&&(y.memoizedState=u,In=!0),y=y.queue,Bd(_y.bind(null,d,y,a),[a]),y.getSnapshot!==l||D||On!==null&&On.memoizedState.tag&1){if(d.flags|=2048,So(9,{destroy:void 0},Ny.bind(null,d,y,u,l),null),en===null)throw Error(r(349));b||(Na&127)!==0||My(d,l,u)}return u}function My(a,l,u){a.flags|=16384,a={getSnapshot:l,value:u},l=mt.updateQueue,l===null?(l=tf(),mt.updateQueue=l,l.stores=[a]):(u=l.stores,u===null?l.stores=[a]:u.push(a))}function Ny(a,l,u,d){l.value=u,l.getSnapshot=d,Dy(l)&&Ry(a)}function _y(a,l,u){return u(function(){Dy(l)&&Ry(a)})}function Dy(a){var l=a.getSnapshot;a=a.value;try{var u=l();return!Gr(a,u)}catch{return!0}}function Ry(a){var l=bl(a,2);l!==null&&_r(l,a,2)}function zd(a){var l=ur();if(typeof a=="function"){var u=a;if(a=u(),Nl){Jn(!0);try{u()}finally{Jn(!1)}}}return l.memoizedState=l.baseState=a,l.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:_a,lastRenderedState:a},l}function Oy(a,l,u,d){return a.baseState=u,Id(a,Kt,typeof d=="function"?d:_a)}function cC(a,l,u,d,y){if(lf(a))throw Error(r(485));if(a=l.action,a!==null){var b={payload:y,action:a,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(D){b.listeners.push(D)}};ee.T!==null?u(!0):b.isTransition=!1,d(b),u=l.pending,u===null?(b.next=l.pending=b,Iy(l,b)):(b.next=u.next,l.pending=u.next=b)}}function Iy(a,l){var u=l.action,d=l.payload,y=a.state;if(l.isTransition){var b=ee.T,D={};ee.T=D;try{var V=u(y,d),Z=ee.S;Z!==null&&Z(D,V),Ly(a,l,V)}catch(he){Pd(a,l,he)}finally{b!==null&&D.types!==null&&(b.types=D.types),ee.T=b}}else try{b=u(y,d),Ly(a,l,b)}catch(he){Pd(a,l,he)}}function Ly(a,l,u){u!==null&&typeof u=="object"&&typeof u.then=="function"?u.then(function(d){zy(a,l,d)},function(d){return Pd(a,l,d)}):zy(a,l,u)}function zy(a,l,u){l.status="fulfilled",l.value=u,Py(l),a.state=u,l=a.pending,l!==null&&(u=l.next,u===l?a.pending=null:(u=u.next,l.next=u,Iy(a,u)))}function Pd(a,l,u){var d=a.pending;if(a.pending=null,d!==null){d=d.next;do l.status="rejected",l.reason=u,Py(l),l=l.next;while(l!==d)}a.action=null}function Py(a){a=a.listeners;for(var l=0;l<a.length;l++)(0,a[l])()}function By(a,l){return l}function jy(a,l){if(_t){var u=en.formState;if(u!==null){e:{var d=mt;if(_t){if(sn){t:{for(var y=sn,b=pi;y.nodeType!==8;){if(!b){y=null;break t}if(y=mi(y.nextSibling),y===null){y=null;break t}}b=y.data,y=b==="F!"||b==="F"?y:null}if(y){sn=mi(y.nextSibling),d=y.data==="F!";break e}}ys(d)}d=!1}d&&(l=u[0])}}return u=ur(),u.memoizedState=u.baseState=l,d={pending:null,lanes:0,dispatch:null,lastRenderedReducer:By,lastRenderedState:l},u.queue=d,u=i4.bind(null,mt,d),d.dispatch=u,d=zd(!1),b=Ud.bind(null,mt,!1,d.queue),d=ur(),y={state:l,dispatch:null,action:a,pending:null},d.queue=y,u=cC.bind(null,mt,y,b,u),y.dispatch=u,d.memoizedState=a,[l,u,!1]}function Fy(a){var l=Cn();return Vy(l,Kt,a)}function Vy(a,l,u){if(l=Id(a,l,By)[0],a=rf(_a)[0],typeof l=="object"&&l!==null&&typeof l.then=="function")try{var d=Ku(l)}catch(D){throw D===xo?Y0:D}else d=l;l=Cn();var y=l.queue,b=y.dispatch;return u!==l.memoizedState&&(mt.flags|=2048,So(9,{destroy:void 0},fC.bind(null,y,u),null)),[d,b,a]}function fC(a,l){a.action=l}function qy(a){var l=Cn(),u=Kt;if(u!==null)return Vy(l,u,a);Cn(),l=l.memoizedState,u=Cn();var d=u.queue.dispatch;return u.memoizedState=a,[l,d,!1]}function So(a,l,u,d){return a={tag:a,create:u,deps:d,inst:l,next:null},l=mt.updateQueue,l===null&&(l=tf(),mt.updateQueue=l),u=l.lastEffect,u===null?l.lastEffect=a.next=a:(d=u.next,u.next=a,a.next=d,l.lastEffect=a),a}function Uy(){return Cn().memoizedState}function af(a,l,u,d){var y=ur();mt.flags|=a,y.memoizedState=So(1|l,{destroy:void 0},u,d===void 0?null:d)}function sf(a,l,u,d){var y=Cn();d=d===void 0?null:d;var b=y.memoizedState.inst;Kt!==null&&d!==null&&Md(d,Kt.memoizedState.deps)?y.memoizedState=So(l,b,u,d):(mt.flags|=a,y.memoizedState=So(1|l,b,u,d))}function Hy(a,l){af(8390656,8,a,l)}function Bd(a,l){sf(2048,8,a,l)}function hC(a){mt.flags|=4;var l=mt.updateQueue;if(l===null)l=tf(),mt.updateQueue=l,l.events=[a];else{var u=l.events;u===null?l.events=[a]:u.push(a)}}function Gy(a){var l=Cn().memoizedState;return hC({ref:l,nextImpl:a}),function(){if((Vt&2)!==0)throw Error(r(440));return l.impl.apply(void 0,arguments)}}function Xy(a,l){return sf(4,2,a,l)}function Yy(a,l){return sf(4,4,a,l)}function Jy(a,l){if(typeof l=="function"){a=a();var u=l(a);return function(){typeof u=="function"?u():l(null)}}if(l!=null)return a=a(),l.current=a,function(){l.current=null}}function $y(a,l,u){u=u!=null?u.concat([a]):null,sf(4,4,Jy.bind(null,l,a),u)}function jd(){}function Wy(a,l){var u=Cn();l=l===void 0?null:l;var d=u.memoizedState;return l!==null&&Md(l,d[1])?d[0]:(u.memoizedState=[a,l],a)}function Ky(a,l){var u=Cn();l=l===void 0?null:l;var d=u.memoizedState;if(l!==null&&Md(l,d[1]))return d[0];if(d=a(),Nl){Jn(!0);try{a()}finally{Jn(!1)}}return u.memoizedState=[d,l],d}function Fd(a,l,u){return u===void 0||(Na&1073741824)!==0&&(At&261930)===0?a.memoizedState=l:(a.memoizedState=u,a=Q4(),mt.lanes|=a,Ts|=a,u)}function Qy(a,l,u,d){return Gr(u,l)?u:vo.current!==null?(a=Fd(a,u,d),Gr(a,l)||(In=!0),a):(Na&42)===0||(Na&1073741824)!==0&&(At&261930)===0?(In=!0,a.memoizedState=u):(a=Q4(),mt.lanes|=a,Ts|=a,l)}function Zy(a,l,u,d,y){var b=oe.p;oe.p=b!==0&&8>b?b:8;var D=ee.T,V={};ee.T=V,Ud(a,!1,l,u);try{var Z=y(),he=ee.S;if(he!==null&&he(V,Z),Z!==null&&typeof Z=="object"&&typeof Z.then=="function"){var be=lC(Z,d);Qu(a,l,be,Kr(a))}else Qu(a,l,d,Kr(a))}catch(Ee){Qu(a,l,{then:function(){},status:"rejected",reason:Ee},Kr())}finally{oe.p=b,D!==null&&V.types!==null&&(D.types=V.types),ee.T=D}}function pC(){}function Vd(a,l,u,d){if(a.tag!==5)throw Error(r(476));var y=e4(a).queue;Zy(a,y,l,le,u===null?pC:function(){return t4(a),u(d)})}function e4(a){var l=a.memoizedState;if(l!==null)return l;l={memoizedState:le,baseState:le,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:_a,lastRenderedState:le},next:null};var u={};return l.next={memoizedState:u,baseState:u,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:_a,lastRenderedState:u},next:null},a.memoizedState=l,a=a.alternate,a!==null&&(a.memoizedState=l),l}function t4(a){var l=e4(a);l.next===null&&(l=a.alternate.memoizedState),Qu(a,l.next.queue,{},Kr())}function qd(){return Zn(mc)}function n4(){return Cn().memoizedState}function r4(){return Cn().memoizedState}function dC(a){for(var l=a.return;l!==null;){switch(l.tag){case 24:case 3:var u=Kr();a=ws(u);var d=Ss(l,a,u);d!==null&&(_r(d,l,u),Yu(d,l,u)),l={cache:xd()},a.payload=l;return}l=l.return}}function mC(a,l,u){var d=Kr();u={lane:d,revertLane:0,gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null},lf(a)?a4(l,u):(u=sd(a,l,u,d),u!==null&&(_r(u,a,d),s4(u,l,d)))}function i4(a,l,u){var d=Kr();Qu(a,l,u,d)}function Qu(a,l,u,d){var y={lane:d,revertLane:0,gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null};if(lf(a))a4(l,y);else{var b=a.alternate;if(a.lanes===0&&(b===null||b.lanes===0)&&(b=l.lastRenderedReducer,b!==null))try{var D=l.lastRenderedState,V=b(D,u);if(y.hasEagerState=!0,y.eagerState=V,Gr(V,D))return F0(a,l,y,0),en===null&&j0(),!1}catch{}finally{}if(u=sd(a,l,y,d),u!==null)return _r(u,a,d),s4(u,l,d),!0}return!1}function Ud(a,l,u,d){if(d={lane:2,revertLane:wm(),gesture:null,action:d,hasEagerState:!1,eagerState:null,next:null},lf(a)){if(l)throw Error(r(479))}else l=sd(a,u,d,2),l!==null&&_r(l,a,2)}function lf(a){var l=a.alternate;return a===mt||l!==null&&l===mt}function a4(a,l){bo=Z0=!0;var u=a.pending;u===null?l.next=l:(l.next=u.next,u.next=l),a.pending=l}function s4(a,l,u){if((u&4194048)!==0){var d=l.lanes;d&=a.pendingLanes,u|=d,l.lanes=u,os(a,u)}}var Zu={readContext:Zn,use:nf,useCallback:bn,useContext:bn,useEffect:bn,useImperativeHandle:bn,useLayoutEffect:bn,useInsertionEffect:bn,useMemo:bn,useReducer:bn,useRef:bn,useState:bn,useDebugValue:bn,useDeferredValue:bn,useTransition:bn,useSyncExternalStore:bn,useId:bn,useHostTransitionStatus:bn,useFormState:bn,useActionState:bn,useOptimistic:bn,useMemoCache:bn,useCacheRefresh:bn};Zu.useEffectEvent=bn;var l4={readContext:Zn,use:nf,useCallback:function(a,l){return ur().memoizedState=[a,l===void 0?null:l],a},useContext:Zn,useEffect:Hy,useImperativeHandle:function(a,l,u){u=u!=null?u.concat([a]):null,af(4194308,4,Jy.bind(null,l,a),u)},useLayoutEffect:function(a,l){return af(4194308,4,a,l)},useInsertionEffect:function(a,l){af(4,2,a,l)},useMemo:function(a,l){var u=ur();l=l===void 0?null:l;var d=a();if(Nl){Jn(!0);try{a()}finally{Jn(!1)}}return u.memoizedState=[d,l],d},useReducer:function(a,l,u){var d=ur();if(u!==void 0){var y=u(l);if(Nl){Jn(!0);try{u(l)}finally{Jn(!1)}}}else y=l;return d.memoizedState=d.baseState=y,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:y},d.queue=a,a=a.dispatch=mC.bind(null,mt,a),[d.memoizedState,a]},useRef:function(a){var l=ur();return a={current:a},l.memoizedState=a},useState:function(a){a=zd(a);var l=a.queue,u=i4.bind(null,mt,l);return l.dispatch=u,[a.memoizedState,u]},useDebugValue:jd,useDeferredValue:function(a,l){var u=ur();return Fd(u,a,l)},useTransition:function(){var a=zd(!1);return a=Zy.bind(null,mt,a.queue,!0,!1),ur().memoizedState=a,[!1,a]},useSyncExternalStore:function(a,l,u){var d=mt,y=ur();if(_t){if(u===void 0)throw Error(r(407));u=u()}else{if(u=l(),en===null)throw Error(r(349));(At&127)!==0||My(d,l,u)}y.memoizedState=u;var b={value:u,getSnapshot:l};return y.queue=b,Hy(_y.bind(null,d,b,a),[a]),d.flags|=2048,So(9,{destroy:void 0},Ny.bind(null,d,b,u,l),null),u},useId:function(){var a=ur(),l=en.identifierPrefix;if(_t){var u=Ki,d=Wi;u=(d&~(1<<32-Nt(d)-1)).toString(32)+u,l="_"+l+"R_"+u,u=ef++,0<u&&(l+="H"+u.toString(32)),l+="_"}else u=oC++,l="_"+l+"r_"+u.toString(32)+"_";return a.memoizedState=l},useHostTransitionStatus:qd,useFormState:jy,useActionState:jy,useOptimistic:function(a){var l=ur();l.memoizedState=l.baseState=a;var u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return l.queue=u,l=Ud.bind(null,mt,!0,u),u.dispatch=l,[a,l]},useMemoCache:Od,useCacheRefresh:function(){return ur().memoizedState=dC.bind(null,mt)},useEffectEvent:function(a){var l=ur(),u={impl:a};return l.memoizedState=u,function(){if((Vt&2)!==0)throw Error(r(440));return u.impl.apply(void 0,arguments)}}},Hd={readContext:Zn,use:nf,useCallback:Wy,useContext:Zn,useEffect:Bd,useImperativeHandle:$y,useInsertionEffect:Xy,useLayoutEffect:Yy,useMemo:Ky,useReducer:rf,useRef:Uy,useState:function(){return rf(_a)},useDebugValue:jd,useDeferredValue:function(a,l){var u=Cn();return Qy(u,Kt.memoizedState,a,l)},useTransition:function(){var a=rf(_a)[0],l=Cn().memoizedState;return[typeof a=="boolean"?a:Ku(a),l]},useSyncExternalStore:Ty,useId:n4,useHostTransitionStatus:qd,useFormState:Fy,useActionState:Fy,useOptimistic:function(a,l){var u=Cn();return Oy(u,Kt,a,l)},useMemoCache:Od,useCacheRefresh:r4};Hd.useEffectEvent=Gy;var o4={readContext:Zn,use:nf,useCallback:Wy,useContext:Zn,useEffect:Bd,useImperativeHandle:$y,useInsertionEffect:Xy,useLayoutEffect:Yy,useMemo:Ky,useReducer:Ld,useRef:Uy,useState:function(){return Ld(_a)},useDebugValue:jd,useDeferredValue:function(a,l){var u=Cn();return Kt===null?Fd(u,a,l):Qy(u,Kt.memoizedState,a,l)},useTransition:function(){var a=Ld(_a)[0],l=Cn().memoizedState;return[typeof a=="boolean"?a:Ku(a),l]},useSyncExternalStore:Ty,useId:n4,useHostTransitionStatus:qd,useFormState:qy,useActionState:qy,useOptimistic:function(a,l){var u=Cn();return Kt!==null?Oy(u,Kt,a,l):(u.baseState=a,[a,u.queue.dispatch])},useMemoCache:Od,useCacheRefresh:r4};o4.useEffectEvent=Gy;function Gd(a,l,u,d){l=a.memoizedState,u=u(d,l),u=u==null?l:m({},l,u),a.memoizedState=u,a.lanes===0&&(a.updateQueue.baseState=u)}var Xd={enqueueSetState:function(a,l,u){a=a._reactInternals;var d=Kr(),y=ws(d);y.payload=l,u!=null&&(y.callback=u),l=Ss(a,y,d),l!==null&&(_r(l,a,d),Yu(l,a,d))},enqueueReplaceState:function(a,l,u){a=a._reactInternals;var d=Kr(),y=ws(d);y.tag=1,y.payload=l,u!=null&&(y.callback=u),l=Ss(a,y,d),l!==null&&(_r(l,a,d),Yu(l,a,d))},enqueueForceUpdate:function(a,l){a=a._reactInternals;var u=Kr(),d=ws(u);d.tag=2,l!=null&&(d.callback=l),l=Ss(a,d,u),l!==null&&(_r(l,a,u),Yu(l,a,u))}};function u4(a,l,u,d,y,b,D){return a=a.stateNode,typeof a.shouldComponentUpdate=="function"?a.shouldComponentUpdate(d,b,D):l.prototype&&l.prototype.isPureReactComponent?!ju(u,d)||!ju(y,b):!0}function c4(a,l,u,d){a=l.state,typeof l.componentWillReceiveProps=="function"&&l.componentWillReceiveProps(u,d),typeof l.UNSAFE_componentWillReceiveProps=="function"&&l.UNSAFE_componentWillReceiveProps(u,d),l.state!==a&&Xd.enqueueReplaceState(l,l.state,null)}function _l(a,l){var u=l;if("ref"in l){u={};for(var d in l)d!=="ref"&&(u[d]=l[d])}if(a=a.defaultProps){u===l&&(u=m({},u));for(var y in a)u[y]===void 0&&(u[y]=a[y])}return u}function f4(a){B0(a)}function h4(a){console.error(a)}function p4(a){B0(a)}function of(a,l){try{var u=a.onUncaughtError;u(l.value,{componentStack:l.stack})}catch(d){setTimeout(function(){throw d})}}function d4(a,l,u){try{var d=a.onCaughtError;d(u.value,{componentStack:u.stack,errorBoundary:l.tag===1?l.stateNode:null})}catch(y){setTimeout(function(){throw y})}}function Yd(a,l,u){return u=ws(u),u.tag=3,u.payload={element:null},u.callback=function(){of(a,l)},u}function m4(a){return a=ws(a),a.tag=3,a}function g4(a,l,u,d){var y=u.type.getDerivedStateFromError;if(typeof y=="function"){var b=d.value;a.payload=function(){return y(b)},a.callback=function(){d4(l,u,d)}}var D=u.stateNode;D!==null&&typeof D.componentDidCatch=="function"&&(a.callback=function(){d4(l,u,d),typeof y!="function"&&(Ms===null?Ms=new Set([this]):Ms.add(this));var V=d.stack;this.componentDidCatch(d.value,{componentStack:V!==null?V:""})})}function gC(a,l,u,d,y){if(u.flags|=32768,d!==null&&typeof d=="object"&&typeof d.then=="function"){if(l=u.alternate,l!==null&&po(l,u,y,!0),u=Yr.current,u!==null){switch(u.tag){case 31:case 13:return di===null?bf():u.alternate===null&&wn===0&&(wn=3),u.flags&=-257,u.flags|=65536,u.lanes=y,d===J0?u.flags|=16384:(l=u.updateQueue,l===null?u.updateQueue=new Set([d]):l.add(d),ym(a,d,y)),!1;case 22:return u.flags|=65536,d===J0?u.flags|=16384:(l=u.updateQueue,l===null?(l={transitions:null,markerInstances:null,retryQueue:new Set([d])},u.updateQueue=l):(u=l.retryQueue,u===null?l.retryQueue=new Set([d]):u.add(d)),ym(a,d,y)),!1}throw Error(r(435,u.tag))}return ym(a,d,y),bf(),!1}if(_t)return l=Yr.current,l!==null?((l.flags&65536)===0&&(l.flags|=256),l.flags|=65536,l.lanes=y,d!==hd&&(a=Error(r(422),{cause:d}),qu(ci(a,u)))):(d!==hd&&(l=Error(r(423),{cause:d}),qu(ci(l,u))),a=a.current.alternate,a.flags|=65536,y&=-y,a.lanes|=y,d=ci(d,u),y=Yd(a.stateNode,d,y),kd(a,y),wn!==4&&(wn=2)),!1;var b=Error(r(520),{cause:d});if(b=ci(b,u),lc===null?lc=[b]:lc.push(b),wn!==4&&(wn=2),l===null)return!0;d=ci(d,u),u=l;do{switch(u.tag){case 3:return u.flags|=65536,a=y&-y,u.lanes|=a,a=Yd(u.stateNode,d,a),kd(u,a),!1;case 1:if(l=u.type,b=u.stateNode,(u.flags&128)===0&&(typeof l.getDerivedStateFromError=="function"||b!==null&&typeof b.componentDidCatch=="function"&&(Ms===null||!Ms.has(b))))return u.flags|=65536,y&=-y,u.lanes|=y,y=m4(y),g4(y,a,u,d),kd(u,y),!1}u=u.return}while(u!==null);return!1}var Jd=Error(r(461)),In=!1;function er(a,l,u,d){l.child=a===null?by(l,null,u,d):Ml(l,a.child,u,d)}function x4(a,l,u,d,y){u=u.render;var b=l.ref;if("ref"in d){var D={};for(var V in d)V!=="ref"&&(D[V]=d[V])}else D=d;return El(l),d=Nd(a,l,u,D,b,y),V=_d(),a!==null&&!In?(Dd(a,l,y),Da(a,l,y)):(_t&&V&&cd(l),l.flags|=1,er(a,l,d,y),l.child)}function y4(a,l,u,d,y){if(a===null){var b=u.type;return typeof b=="function"&&!ld(b)&&b.defaultProps===void 0&&u.compare===null?(l.tag=15,l.type=b,v4(a,l,b,d,y)):(a=q0(u.type,null,d,l,l.mode,y),a.ref=l.ref,a.return=l,l.child=a)}if(b=a.child,!nm(a,y)){var D=b.memoizedProps;if(u=u.compare,u=u!==null?u:ju,u(D,d)&&a.ref===l.ref)return Da(a,l,y)}return l.flags|=1,a=Ca(b,d),a.ref=l.ref,a.return=l,l.child=a}function v4(a,l,u,d,y){if(a!==null){var b=a.memoizedProps;if(ju(b,d)&&a.ref===l.ref)if(In=!1,l.pendingProps=d=b,nm(a,y))(a.flags&131072)!==0&&(In=!0);else return l.lanes=a.lanes,Da(a,l,y)}return $d(a,l,u,d,y)}function b4(a,l,u,d){var y=d.children,b=a!==null?a.memoizedState:null;if(a===null&&l.stateNode===null&&(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),d.mode==="hidden"){if((l.flags&128)!==0){if(b=b!==null?b.baseLanes|u:u,a!==null){for(d=l.child=a.child,y=0;d!==null;)y=y|d.lanes|d.childLanes,d=d.sibling;d=y&~b}else d=0,l.child=null;return w4(a,l,b,u,d)}if((u&536870912)!==0)l.memoizedState={baseLanes:0,cachePool:null},a!==null&&X0(l,b!==null?b.cachePool:null),b!==null?ky(l,b):Cd(),Ey(l);else return d=l.lanes=536870912,w4(a,l,b!==null?b.baseLanes|u:u,u,d)}else b!==null?(X0(l,b.cachePool),ky(l,b),Es(),l.memoizedState=null):(a!==null&&X0(l,null),Cd(),Es());return er(a,l,y,u),l.child}function ec(a,l){return a!==null&&a.tag===22||l.stateNode!==null||(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.sibling}function w4(a,l,u,d,y){var b=vd();return b=b===null?null:{parent:Rn._currentValue,pool:b},l.memoizedState={baseLanes:u,cachePool:b},a!==null&&X0(l,null),Cd(),Ey(l),a!==null&&po(a,l,d,!0),l.childLanes=y,null}function uf(a,l){return l=ff({mode:l.mode,children:l.children},a.mode),l.ref=a.ref,a.child=l,l.return=a,l}function S4(a,l,u){return Ml(l,a.child,null,u),a=uf(l,l.pendingProps),a.flags|=2,Jr(l),l.memoizedState=null,a}function xC(a,l,u){var d=l.pendingProps,y=(l.flags&128)!==0;if(l.flags&=-129,a===null){if(_t){if(d.mode==="hidden")return a=uf(l,d),l.lanes=536870912,ec(null,a);if(Td(l),(a=sn)?(a=Iv(a,pi),a=a!==null&&a.data==="&"?a:null,a!==null&&(l.memoizedState={dehydrated:a,treeContext:gs!==null?{id:Wi,overflow:Ki}:null,retryLane:536870912,hydrationErrors:null},u=ay(a),u.return=l,l.child=u,Qn=l,sn=null)):a=null,a===null)throw ys(l);return l.lanes=536870912,null}return uf(l,d)}var b=a.memoizedState;if(b!==null){var D=b.dehydrated;if(Td(l),y)if(l.flags&256)l.flags&=-257,l=S4(a,l,u);else if(l.memoizedState!==null)l.child=a.child,l.flags|=128,l=null;else throw Error(r(558));else if(In||po(a,l,u,!1),y=(u&a.childLanes)!==0,In||y){if(d=en,d!==null&&(D=us(d,u),D!==0&&D!==b.retryLane))throw b.retryLane=D,bl(a,D),_r(d,a,D),Jd;bf(),l=S4(a,l,u)}else a=b.treeContext,sn=mi(D.nextSibling),Qn=l,_t=!0,xs=null,pi=!1,a!==null&&oy(l,a),l=uf(l,d),l.flags|=4096;return l}return a=Ca(a.child,{mode:d.mode,children:d.children}),a.ref=l.ref,l.child=a,a.return=l,a}function cf(a,l){var u=l.ref;if(u===null)a!==null&&a.ref!==null&&(l.flags|=4194816);else{if(typeof u!="function"&&typeof u!="object")throw Error(r(284));(a===null||a.ref!==u)&&(l.flags|=4194816)}}function $d(a,l,u,d,y){return El(l),u=Nd(a,l,u,d,void 0,y),d=_d(),a!==null&&!In?(Dd(a,l,y),Da(a,l,y)):(_t&&d&&cd(l),l.flags|=1,er(a,l,u,y),l.child)}function k4(a,l,u,d,y,b){return El(l),l.updateQueue=null,u=Ay(l,d,u,y),Cy(a),d=_d(),a!==null&&!In?(Dd(a,l,b),Da(a,l,b)):(_t&&d&&cd(l),l.flags|=1,er(a,l,u,b),l.child)}function E4(a,l,u,d,y){if(El(l),l.stateNode===null){var b=uo,D=u.contextType;typeof D=="object"&&D!==null&&(b=Zn(D)),b=new u(d,b),l.memoizedState=b.state!==null&&b.state!==void 0?b.state:null,b.updater=Xd,l.stateNode=b,b._reactInternals=l,b=l.stateNode,b.props=d,b.state=l.memoizedState,b.refs={},wd(l),D=u.contextType,b.context=typeof D=="object"&&D!==null?Zn(D):uo,b.state=l.memoizedState,D=u.getDerivedStateFromProps,typeof D=="function"&&(Gd(l,u,D,d),b.state=l.memoizedState),typeof u.getDerivedStateFromProps=="function"||typeof b.getSnapshotBeforeUpdate=="function"||typeof b.UNSAFE_componentWillMount!="function"&&typeof b.componentWillMount!="function"||(D=b.state,typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount(),D!==b.state&&Xd.enqueueReplaceState(b,b.state,null),$u(l,d,b,y),Ju(),b.state=l.memoizedState),typeof b.componentDidMount=="function"&&(l.flags|=4194308),d=!0}else if(a===null){b=l.stateNode;var V=l.memoizedProps,Z=_l(u,V);b.props=Z;var he=b.context,be=u.contextType;D=uo,typeof be=="object"&&be!==null&&(D=Zn(be));var Ee=u.getDerivedStateFromProps;be=typeof Ee=="function"||typeof b.getSnapshotBeforeUpdate=="function",V=l.pendingProps!==V,be||typeof b.UNSAFE_componentWillReceiveProps!="function"&&typeof b.componentWillReceiveProps!="function"||(V||he!==D)&&c4(l,b,d,D),bs=!1;var de=l.memoizedState;b.state=de,$u(l,d,b,y),Ju(),he=l.memoizedState,V||de!==he||bs?(typeof Ee=="function"&&(Gd(l,u,Ee,d),he=l.memoizedState),(Z=bs||u4(l,u,Z,d,de,he,D))?(be||typeof b.UNSAFE_componentWillMount!="function"&&typeof b.componentWillMount!="function"||(typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount()),typeof b.componentDidMount=="function"&&(l.flags|=4194308)):(typeof b.componentDidMount=="function"&&(l.flags|=4194308),l.memoizedProps=d,l.memoizedState=he),b.props=d,b.state=he,b.context=D,d=Z):(typeof b.componentDidMount=="function"&&(l.flags|=4194308),d=!1)}else{b=l.stateNode,Sd(a,l),D=l.memoizedProps,be=_l(u,D),b.props=be,Ee=l.pendingProps,de=b.context,he=u.contextType,Z=uo,typeof he=="object"&&he!==null&&(Z=Zn(he)),V=u.getDerivedStateFromProps,(he=typeof V=="function"||typeof b.getSnapshotBeforeUpdate=="function")||typeof b.UNSAFE_componentWillReceiveProps!="function"&&typeof b.componentWillReceiveProps!="function"||(D!==Ee||de!==Z)&&c4(l,b,d,Z),bs=!1,de=l.memoizedState,b.state=de,$u(l,d,b,y),Ju();var me=l.memoizedState;D!==Ee||de!==me||bs||a!==null&&a.dependencies!==null&&H0(a.dependencies)?(typeof V=="function"&&(Gd(l,u,V,d),me=l.memoizedState),(be=bs||u4(l,u,be,d,de,me,Z)||a!==null&&a.dependencies!==null&&H0(a.dependencies))?(he||typeof b.UNSAFE_componentWillUpdate!="function"&&typeof b.componentWillUpdate!="function"||(typeof b.componentWillUpdate=="function"&&b.componentWillUpdate(d,me,Z),typeof b.UNSAFE_componentWillUpdate=="function"&&b.UNSAFE_componentWillUpdate(d,me,Z)),typeof b.componentDidUpdate=="function"&&(l.flags|=4),typeof b.getSnapshotBeforeUpdate=="function"&&(l.flags|=1024)):(typeof b.componentDidUpdate!="function"||D===a.memoizedProps&&de===a.memoizedState||(l.flags|=4),typeof b.getSnapshotBeforeUpdate!="function"||D===a.memoizedProps&&de===a.memoizedState||(l.flags|=1024),l.memoizedProps=d,l.memoizedState=me),b.props=d,b.state=me,b.context=Z,d=be):(typeof b.componentDidUpdate!="function"||D===a.memoizedProps&&de===a.memoizedState||(l.flags|=4),typeof b.getSnapshotBeforeUpdate!="function"||D===a.memoizedProps&&de===a.memoizedState||(l.flags|=1024),d=!1)}return b=d,cf(a,l),d=(l.flags&128)!==0,b||d?(b=l.stateNode,u=d&&typeof u.getDerivedStateFromError!="function"?null:b.render(),l.flags|=1,a!==null&&d?(l.child=Ml(l,a.child,null,y),l.child=Ml(l,null,u,y)):er(a,l,u,y),l.memoizedState=b.state,a=l.child):a=Da(a,l,y),a}function C4(a,l,u,d){return Sl(),l.flags|=256,er(a,l,u,d),l.child}var Wd={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Kd(a){return{baseLanes:a,cachePool:dy()}}function Qd(a,l,u){return a=a!==null?a.childLanes&~u:0,l&&(a|=Wr),a}function A4(a,l,u){var d=l.pendingProps,y=!1,b=(l.flags&128)!==0,D;if((D=b)||(D=a!==null&&a.memoizedState===null?!1:(En.current&2)!==0),D&&(y=!0,l.flags&=-129),D=(l.flags&32)!==0,l.flags&=-33,a===null){if(_t){if(y?ks(l):Es(),(a=sn)?(a=Iv(a,pi),a=a!==null&&a.data!=="&"?a:null,a!==null&&(l.memoizedState={dehydrated:a,treeContext:gs!==null?{id:Wi,overflow:Ki}:null,retryLane:536870912,hydrationErrors:null},u=ay(a),u.return=l,l.child=u,Qn=l,sn=null)):a=null,a===null)throw ys(l);return Im(a)?l.lanes=32:l.lanes=536870912,null}var V=d.children;return d=d.fallback,y?(Es(),y=l.mode,V=ff({mode:"hidden",children:V},y),d=wl(d,y,u,null),V.return=l,d.return=l,V.sibling=d,l.child=V,d=l.child,d.memoizedState=Kd(u),d.childLanes=Qd(a,D,u),l.memoizedState=Wd,ec(null,d)):(ks(l),Zd(l,V))}var Z=a.memoizedState;if(Z!==null&&(V=Z.dehydrated,V!==null)){if(b)l.flags&256?(ks(l),l.flags&=-257,l=em(a,l,u)):l.memoizedState!==null?(Es(),l.child=a.child,l.flags|=128,l=null):(Es(),V=d.fallback,y=l.mode,d=ff({mode:"visible",children:d.children},y),V=wl(V,y,u,null),V.flags|=2,d.return=l,V.return=l,d.sibling=V,l.child=d,Ml(l,a.child,null,u),d=l.child,d.memoizedState=Kd(u),d.childLanes=Qd(a,D,u),l.memoizedState=Wd,l=ec(null,d));else if(ks(l),Im(V)){if(D=V.nextSibling&&V.nextSibling.dataset,D)var he=D.dgst;D=he,d=Error(r(419)),d.stack="",d.digest=D,qu({value:d,source:null,stack:null}),l=em(a,l,u)}else if(In||po(a,l,u,!1),D=(u&a.childLanes)!==0,In||D){if(D=en,D!==null&&(d=us(D,u),d!==0&&d!==Z.retryLane))throw Z.retryLane=d,bl(a,d),_r(D,a,d),Jd;Om(V)||bf(),l=em(a,l,u)}else Om(V)?(l.flags|=192,l.child=a.child,l=null):(a=Z.treeContext,sn=mi(V.nextSibling),Qn=l,_t=!0,xs=null,pi=!1,a!==null&&oy(l,a),l=Zd(l,d.children),l.flags|=4096);return l}return y?(Es(),V=d.fallback,y=l.mode,Z=a.child,he=Z.sibling,d=Ca(Z,{mode:"hidden",children:d.children}),d.subtreeFlags=Z.subtreeFlags&65011712,he!==null?V=Ca(he,V):(V=wl(V,y,u,null),V.flags|=2),V.return=l,d.return=l,d.sibling=V,l.child=d,ec(null,d),d=l.child,V=a.child.memoizedState,V===null?V=Kd(u):(y=V.cachePool,y!==null?(Z=Rn._currentValue,y=y.parent!==Z?{parent:Z,pool:Z}:y):y=dy(),V={baseLanes:V.baseLanes|u,cachePool:y}),d.memoizedState=V,d.childLanes=Qd(a,D,u),l.memoizedState=Wd,ec(a.child,d)):(ks(l),u=a.child,a=u.sibling,u=Ca(u,{mode:"visible",children:d.children}),u.return=l,u.sibling=null,a!==null&&(D=l.deletions,D===null?(l.deletions=[a],l.flags|=16):D.push(a)),l.child=u,l.memoizedState=null,u)}function Zd(a,l){return l=ff({mode:"visible",children:l},a.mode),l.return=a,a.child=l}function ff(a,l){return a=Xr(22,a,null,l),a.lanes=0,a}function em(a,l,u){return Ml(l,a.child,null,u),a=Zd(l,l.pendingProps.children),a.flags|=2,l.memoizedState=null,a}function T4(a,l,u){a.lanes|=l;var d=a.alternate;d!==null&&(d.lanes|=l),md(a.return,l,u)}function tm(a,l,u,d,y,b){var D=a.memoizedState;D===null?a.memoizedState={isBackwards:l,rendering:null,renderingStartTime:0,last:d,tail:u,tailMode:y,treeForkCount:b}:(D.isBackwards=l,D.rendering=null,D.renderingStartTime=0,D.last=d,D.tail=u,D.tailMode=y,D.treeForkCount=b)}function M4(a,l,u){var d=l.pendingProps,y=d.revealOrder,b=d.tail;d=d.children;var D=En.current,V=(D&2)!==0;if(V?(D=D&1|2,l.flags|=128):D&=1,H(En,D),er(a,l,d,u),d=_t?Vu:0,!V&&a!==null&&(a.flags&128)!==0)e:for(a=l.child;a!==null;){if(a.tag===13)a.memoizedState!==null&&T4(a,u,l);else if(a.tag===19)T4(a,u,l);else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===l)break e;for(;a.sibling===null;){if(a.return===null||a.return===l)break e;a=a.return}a.sibling.return=a.return,a=a.sibling}switch(y){case"forwards":for(u=l.child,y=null;u!==null;)a=u.alternate,a!==null&&Q0(a)===null&&(y=u),u=u.sibling;u=y,u===null?(y=l.child,l.child=null):(y=u.sibling,u.sibling=null),tm(l,!1,y,u,b,d);break;case"backwards":case"unstable_legacy-backwards":for(u=null,y=l.child,l.child=null;y!==null;){if(a=y.alternate,a!==null&&Q0(a)===null){l.child=y;break}a=y.sibling,y.sibling=u,u=y,y=a}tm(l,!0,u,null,b,d);break;case"together":tm(l,!1,null,null,void 0,d);break;default:l.memoizedState=null}return l.child}function Da(a,l,u){if(a!==null&&(l.dependencies=a.dependencies),Ts|=l.lanes,(u&l.childLanes)===0)if(a!==null){if(po(a,l,u,!1),(u&l.childLanes)===0)return null}else return null;if(a!==null&&l.child!==a.child)throw Error(r(153));if(l.child!==null){for(a=l.child,u=Ca(a,a.pendingProps),l.child=u,u.return=l;a.sibling!==null;)a=a.sibling,u=u.sibling=Ca(a,a.pendingProps),u.return=l;u.sibling=null}return l.child}function nm(a,l){return(a.lanes&l)!==0?!0:(a=a.dependencies,!!(a!==null&&H0(a)))}function yC(a,l,u){switch(l.tag){case 3:Ke(l,l.stateNode.containerInfo),vs(l,Rn,a.memoizedState.cache),Sl();break;case 27:case 5:st(l);break;case 4:Ke(l,l.stateNode.containerInfo);break;case 10:vs(l,l.type,l.memoizedProps.value);break;case 31:if(l.memoizedState!==null)return l.flags|=128,Td(l),null;break;case 13:var d=l.memoizedState;if(d!==null)return d.dehydrated!==null?(ks(l),l.flags|=128,null):(u&l.child.childLanes)!==0?A4(a,l,u):(ks(l),a=Da(a,l,u),a!==null?a.sibling:null);ks(l);break;case 19:var y=(a.flags&128)!==0;if(d=(u&l.childLanes)!==0,d||(po(a,l,u,!1),d=(u&l.childLanes)!==0),y){if(d)return M4(a,l,u);l.flags|=128}if(y=l.memoizedState,y!==null&&(y.rendering=null,y.tail=null,y.lastEffect=null),H(En,En.current),d)break;return null;case 22:return l.lanes=0,b4(a,l,u,l.pendingProps);case 24:vs(l,Rn,a.memoizedState.cache)}return Da(a,l,u)}function N4(a,l,u){if(a!==null)if(a.memoizedProps!==l.pendingProps)In=!0;else{if(!nm(a,u)&&(l.flags&128)===0)return In=!1,yC(a,l,u);In=(a.flags&131072)!==0}else In=!1,_t&&(l.flags&1048576)!==0&&ly(l,Vu,l.index);switch(l.lanes=0,l.tag){case 16:e:{var d=l.pendingProps;if(a=Al(l.elementType),l.type=a,typeof a=="function")ld(a)?(d=_l(a,d),l.tag=1,l=E4(null,l,a,d,u)):(l.tag=0,l=$d(null,l,a,d,u));else{if(a!=null){var y=a.$$typeof;if(y===j){l.tag=11,l=x4(null,l,a,d,u);break e}else if(y===O){l.tag=14,l=y4(null,l,a,d,u);break e}}throw l=xe(a)||a,Error(r(306,l,""))}}return l;case 0:return $d(a,l,l.type,l.pendingProps,u);case 1:return d=l.type,y=_l(d,l.pendingProps),E4(a,l,d,y,u);case 3:e:{if(Ke(l,l.stateNode.containerInfo),a===null)throw Error(r(387));d=l.pendingProps;var b=l.memoizedState;y=b.element,Sd(a,l),$u(l,d,null,u);var D=l.memoizedState;if(d=D.cache,vs(l,Rn,d),d!==b.cache&&gd(l,[Rn],u,!0),Ju(),d=D.element,b.isDehydrated)if(b={element:d,isDehydrated:!1,cache:D.cache},l.updateQueue.baseState=b,l.memoizedState=b,l.flags&256){l=C4(a,l,d,u);break e}else if(d!==y){y=ci(Error(r(424)),l),qu(y),l=C4(a,l,d,u);break e}else{switch(a=l.stateNode.containerInfo,a.nodeType){case 9:a=a.body;break;default:a=a.nodeName==="HTML"?a.ownerDocument.body:a}for(sn=mi(a.firstChild),Qn=l,_t=!0,xs=null,pi=!0,u=by(l,null,d,u),l.child=u;u;)u.flags=u.flags&-3|4096,u=u.sibling}else{if(Sl(),d===y){l=Da(a,l,u);break e}er(a,l,d,u)}l=l.child}return l;case 26:return cf(a,l),a===null?(u=Fv(l.type,null,l.pendingProps,null))?l.memoizedState=u:_t||(u=l.type,a=l.pendingProps,d=Tf(ze.current).createElement(u),d[_n]=l,d[Kn]=a,tr(d,u,a),Dn(d),l.stateNode=d):l.memoizedState=Fv(l.type,a.memoizedProps,l.pendingProps,a.memoizedState),null;case 27:return st(l),a===null&&_t&&(d=l.stateNode=Pv(l.type,l.pendingProps,ze.current),Qn=l,pi=!0,y=sn,Rs(l.type)?(Lm=y,sn=mi(d.firstChild)):sn=y),er(a,l,l.pendingProps.children,u),cf(a,l),a===null&&(l.flags|=4194304),l.child;case 5:return a===null&&_t&&((y=d=sn)&&(d=JC(d,l.type,l.pendingProps,pi),d!==null?(l.stateNode=d,Qn=l,sn=mi(d.firstChild),pi=!1,y=!0):y=!1),y||ys(l)),st(l),y=l.type,b=l.pendingProps,D=a!==null?a.memoizedProps:null,d=b.children,_m(y,b)?d=null:D!==null&&_m(y,D)&&(l.flags|=32),l.memoizedState!==null&&(y=Nd(a,l,uC,null,null,u),mc._currentValue=y),cf(a,l),er(a,l,d,u),l.child;case 6:return a===null&&_t&&((a=u=sn)&&(u=$C(u,l.pendingProps,pi),u!==null?(l.stateNode=u,Qn=l,sn=null,a=!0):a=!1),a||ys(l)),null;case 13:return A4(a,l,u);case 4:return Ke(l,l.stateNode.containerInfo),d=l.pendingProps,a===null?l.child=Ml(l,null,d,u):er(a,l,d,u),l.child;case 11:return x4(a,l,l.type,l.pendingProps,u);case 7:return er(a,l,l.pendingProps,u),l.child;case 8:return er(a,l,l.pendingProps.children,u),l.child;case 12:return er(a,l,l.pendingProps.children,u),l.child;case 10:return d=l.pendingProps,vs(l,l.type,d.value),er(a,l,d.children,u),l.child;case 9:return y=l.type._context,d=l.pendingProps.children,El(l),y=Zn(y),d=d(y),l.flags|=1,er(a,l,d,u),l.child;case 14:return y4(a,l,l.type,l.pendingProps,u);case 15:return v4(a,l,l.type,l.pendingProps,u);case 19:return M4(a,l,u);case 31:return xC(a,l,u);case 22:return b4(a,l,u,l.pendingProps);case 24:return El(l),d=Zn(Rn),a===null?(y=vd(),y===null&&(y=en,b=xd(),y.pooledCache=b,b.refCount++,b!==null&&(y.pooledCacheLanes|=u),y=b),l.memoizedState={parent:d,cache:y},wd(l),vs(l,Rn,y)):((a.lanes&u)!==0&&(Sd(a,l),$u(l,null,null,u),Ju()),y=a.memoizedState,b=l.memoizedState,y.parent!==d?(y={parent:d,cache:d},l.memoizedState=y,l.lanes===0&&(l.memoizedState=l.updateQueue.baseState=y),vs(l,Rn,d)):(d=b.cache,vs(l,Rn,d),d!==y.cache&&gd(l,[Rn],u,!0))),er(a,l,l.pendingProps.children,u),l.child;case 29:throw l.pendingProps}throw Error(r(156,l.tag))}function Ra(a){a.flags|=4}function rm(a,l,u,d,y){if((l=(a.mode&32)!==0)&&(l=!1),l){if(a.flags|=16777216,(y&335544128)===y)if(a.stateNode.complete)a.flags|=8192;else if(nv())a.flags|=8192;else throw Tl=J0,bd}else a.flags&=-16777217}function _4(a,l){if(l.type!=="stylesheet"||(l.state.loading&4)!==0)a.flags&=-16777217;else if(a.flags|=16777216,!Gv(l))if(nv())a.flags|=8192;else throw Tl=J0,bd}function hf(a,l){l!==null&&(a.flags|=4),a.flags&16384&&(l=a.tag!==22?ls():536870912,a.lanes|=l,Ao|=l)}function tc(a,l){if(!_t)switch(a.tailMode){case"hidden":l=a.tail;for(var u=null;l!==null;)l.alternate!==null&&(u=l),l=l.sibling;u===null?a.tail=null:u.sibling=null;break;case"collapsed":u=a.tail;for(var d=null;u!==null;)u.alternate!==null&&(d=u),u=u.sibling;d===null?l||a.tail===null?a.tail=null:a.tail.sibling=null:d.sibling=null}}function ln(a){var l=a.alternate!==null&&a.alternate.child===a.child,u=0,d=0;if(l)for(var y=a.child;y!==null;)u|=y.lanes|y.childLanes,d|=y.subtreeFlags&65011712,d|=y.flags&65011712,y.return=a,y=y.sibling;else for(y=a.child;y!==null;)u|=y.lanes|y.childLanes,d|=y.subtreeFlags,d|=y.flags,y.return=a,y=y.sibling;return a.subtreeFlags|=d,a.childLanes=u,l}function vC(a,l,u){var d=l.pendingProps;switch(fd(l),l.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ln(l),null;case 1:return ln(l),null;case 3:return u=l.stateNode,d=null,a!==null&&(d=a.memoizedState.cache),l.memoizedState.cache!==d&&(l.flags|=2048),Ma(Rn),Ve(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(a===null||a.child===null)&&(ho(l)?Ra(l):a===null||a.memoizedState.isDehydrated&&(l.flags&256)===0||(l.flags|=1024,pd())),ln(l),null;case 26:var y=l.type,b=l.memoizedState;return a===null?(Ra(l),b!==null?(ln(l),_4(l,b)):(ln(l),rm(l,y,null,d,u))):b?b!==a.memoizedState?(Ra(l),ln(l),_4(l,b)):(ln(l),l.flags&=-16777217):(a=a.memoizedProps,a!==d&&Ra(l),ln(l),rm(l,y,a,d,u)),null;case 27:if(Ze(l),u=ze.current,y=l.type,a!==null&&l.stateNode!=null)a.memoizedProps!==d&&Ra(l);else{if(!d){if(l.stateNode===null)throw Error(r(166));return ln(l),null}a=Ce.current,ho(l)?uy(l):(a=Pv(y,d,u),l.stateNode=a,Ra(l))}return ln(l),null;case 5:if(Ze(l),y=l.type,a!==null&&l.stateNode!=null)a.memoizedProps!==d&&Ra(l);else{if(!d){if(l.stateNode===null)throw Error(r(166));return ln(l),null}if(b=Ce.current,ho(l))uy(l);else{var D=Tf(ze.current);switch(b){case 1:b=D.createElementNS("http://www.w3.org/2000/svg",y);break;case 2:b=D.createElementNS("http://www.w3.org/1998/Math/MathML",y);break;default:switch(y){case"svg":b=D.createElementNS("http://www.w3.org/2000/svg",y);break;case"math":b=D.createElementNS("http://www.w3.org/1998/Math/MathML",y);break;case"script":b=D.createElement("div"),b.innerHTML="<script><\/script>",b=b.removeChild(b.firstChild);break;case"select":b=typeof d.is=="string"?D.createElement("select",{is:d.is}):D.createElement("select"),d.multiple?b.multiple=!0:d.size&&(b.size=d.size);break;default:b=typeof d.is=="string"?D.createElement(y,{is:d.is}):D.createElement(y)}}b[_n]=l,b[Kn]=d;e:for(D=l.child;D!==null;){if(D.tag===5||D.tag===6)b.appendChild(D.stateNode);else if(D.tag!==4&&D.tag!==27&&D.child!==null){D.child.return=D,D=D.child;continue}if(D===l)break e;for(;D.sibling===null;){if(D.return===null||D.return===l)break e;D=D.return}D.sibling.return=D.return,D=D.sibling}l.stateNode=b;e:switch(tr(b,y,d),y){case"button":case"input":case"select":case"textarea":d=!!d.autoFocus;break e;case"img":d=!0;break e;default:d=!1}d&&Ra(l)}}return ln(l),rm(l,l.type,a===null?null:a.memoizedProps,l.pendingProps,u),null;case 6:if(a&&l.stateNode!=null)a.memoizedProps!==d&&Ra(l);else{if(typeof d!="string"&&l.stateNode===null)throw Error(r(166));if(a=ze.current,ho(l)){if(a=l.stateNode,u=l.memoizedProps,d=null,y=Qn,y!==null)switch(y.tag){case 27:case 5:d=y.memoizedProps}a[_n]=l,a=!!(a.nodeValue===u||d!==null&&d.suppressHydrationWarning===!0||Av(a.nodeValue,u)),a||ys(l,!0)}else a=Tf(a).createTextNode(d),a[_n]=l,l.stateNode=a}return ln(l),null;case 31:if(u=l.memoizedState,a===null||a.memoizedState!==null){if(d=ho(l),u!==null){if(a===null){if(!d)throw Error(r(318));if(a=l.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(r(557));a[_n]=l}else Sl(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;ln(l),a=!1}else u=pd(),a!==null&&a.memoizedState!==null&&(a.memoizedState.hydrationErrors=u),a=!0;if(!a)return l.flags&256?(Jr(l),l):(Jr(l),null);if((l.flags&128)!==0)throw Error(r(558))}return ln(l),null;case 13:if(d=l.memoizedState,a===null||a.memoizedState!==null&&a.memoizedState.dehydrated!==null){if(y=ho(l),d!==null&&d.dehydrated!==null){if(a===null){if(!y)throw Error(r(318));if(y=l.memoizedState,y=y!==null?y.dehydrated:null,!y)throw Error(r(317));y[_n]=l}else Sl(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;ln(l),y=!1}else y=pd(),a!==null&&a.memoizedState!==null&&(a.memoizedState.hydrationErrors=y),y=!0;if(!y)return l.flags&256?(Jr(l),l):(Jr(l),null)}return Jr(l),(l.flags&128)!==0?(l.lanes=u,l):(u=d!==null,a=a!==null&&a.memoizedState!==null,u&&(d=l.child,y=null,d.alternate!==null&&d.alternate.memoizedState!==null&&d.alternate.memoizedState.cachePool!==null&&(y=d.alternate.memoizedState.cachePool.pool),b=null,d.memoizedState!==null&&d.memoizedState.cachePool!==null&&(b=d.memoizedState.cachePool.pool),b!==y&&(d.flags|=2048)),u!==a&&u&&(l.child.flags|=8192),hf(l,l.updateQueue),ln(l),null);case 4:return Ve(),a===null&&Cm(l.stateNode.containerInfo),ln(l),null;case 10:return Ma(l.type),ln(l),null;case 19:if(ue(En),d=l.memoizedState,d===null)return ln(l),null;if(y=(l.flags&128)!==0,b=d.rendering,b===null)if(y)tc(d,!1);else{if(wn!==0||a!==null&&(a.flags&128)!==0)for(a=l.child;a!==null;){if(b=Q0(a),b!==null){for(l.flags|=128,tc(d,!1),a=b.updateQueue,l.updateQueue=a,hf(l,a),l.subtreeFlags=0,a=u,u=l.child;u!==null;)iy(u,a),u=u.sibling;return H(En,En.current&1|2),_t&&Aa(l,d.treeForkCount),l.child}a=a.sibling}d.tail!==null&&pt()>xf&&(l.flags|=128,y=!0,tc(d,!1),l.lanes=4194304)}else{if(!y)if(a=Q0(b),a!==null){if(l.flags|=128,y=!0,a=a.updateQueue,l.updateQueue=a,hf(l,a),tc(d,!0),d.tail===null&&d.tailMode==="hidden"&&!b.alternate&&!_t)return ln(l),null}else 2*pt()-d.renderingStartTime>xf&&u!==536870912&&(l.flags|=128,y=!0,tc(d,!1),l.lanes=4194304);d.isBackwards?(b.sibling=l.child,l.child=b):(a=d.last,a!==null?a.sibling=b:l.child=b,d.last=b)}return d.tail!==null?(a=d.tail,d.rendering=a,d.tail=a.sibling,d.renderingStartTime=pt(),a.sibling=null,u=En.current,H(En,y?u&1|2:u&1),_t&&Aa(l,d.treeForkCount),a):(ln(l),null);case 22:case 23:return Jr(l),Ad(),d=l.memoizedState!==null,a!==null?a.memoizedState!==null!==d&&(l.flags|=8192):d&&(l.flags|=8192),d?(u&536870912)!==0&&(l.flags&128)===0&&(ln(l),l.subtreeFlags&6&&(l.flags|=8192)):ln(l),u=l.updateQueue,u!==null&&hf(l,u.retryQueue),u=null,a!==null&&a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(u=a.memoizedState.cachePool.pool),d=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(d=l.memoizedState.cachePool.pool),d!==u&&(l.flags|=2048),a!==null&&ue(Cl),null;case 24:return u=null,a!==null&&(u=a.memoizedState.cache),l.memoizedState.cache!==u&&(l.flags|=2048),Ma(Rn),ln(l),null;case 25:return null;case 30:return null}throw Error(r(156,l.tag))}function bC(a,l){switch(fd(l),l.tag){case 1:return a=l.flags,a&65536?(l.flags=a&-65537|128,l):null;case 3:return Ma(Rn),Ve(),a=l.flags,(a&65536)!==0&&(a&128)===0?(l.flags=a&-65537|128,l):null;case 26:case 27:case 5:return Ze(l),null;case 31:if(l.memoizedState!==null){if(Jr(l),l.alternate===null)throw Error(r(340));Sl()}return a=l.flags,a&65536?(l.flags=a&-65537|128,l):null;case 13:if(Jr(l),a=l.memoizedState,a!==null&&a.dehydrated!==null){if(l.alternate===null)throw Error(r(340));Sl()}return a=l.flags,a&65536?(l.flags=a&-65537|128,l):null;case 19:return ue(En),null;case 4:return Ve(),null;case 10:return Ma(l.type),null;case 22:case 23:return Jr(l),Ad(),a!==null&&ue(Cl),a=l.flags,a&65536?(l.flags=a&-65537|128,l):null;case 24:return Ma(Rn),null;case 25:return null;default:return null}}function D4(a,l){switch(fd(l),l.tag){case 3:Ma(Rn),Ve();break;case 26:case 27:case 5:Ze(l);break;case 4:Ve();break;case 31:l.memoizedState!==null&&Jr(l);break;case 13:Jr(l);break;case 19:ue(En);break;case 10:Ma(l.type);break;case 22:case 23:Jr(l),Ad(),a!==null&&ue(Cl);break;case 24:Ma(Rn)}}function nc(a,l){try{var u=l.updateQueue,d=u!==null?u.lastEffect:null;if(d!==null){var y=d.next;u=y;do{if((u.tag&a)===a){d=void 0;var b=u.create,D=u.inst;d=b(),D.destroy=d}u=u.next}while(u!==y)}}catch(V){Gt(l,l.return,V)}}function Cs(a,l,u){try{var d=l.updateQueue,y=d!==null?d.lastEffect:null;if(y!==null){var b=y.next;d=b;do{if((d.tag&a)===a){var D=d.inst,V=D.destroy;if(V!==void 0){D.destroy=void 0,y=l;var Z=u,he=V;try{he()}catch(be){Gt(y,Z,be)}}}d=d.next}while(d!==b)}}catch(be){Gt(l,l.return,be)}}function R4(a){var l=a.updateQueue;if(l!==null){var u=a.stateNode;try{Sy(l,u)}catch(d){Gt(a,a.return,d)}}}function O4(a,l,u){u.props=_l(a.type,a.memoizedProps),u.state=a.memoizedState;try{u.componentWillUnmount()}catch(d){Gt(a,l,d)}}function rc(a,l){try{var u=a.ref;if(u!==null){switch(a.tag){case 26:case 27:case 5:var d=a.stateNode;break;case 30:d=a.stateNode;break;default:d=a.stateNode}typeof u=="function"?a.refCleanup=u(d):u.current=d}}catch(y){Gt(a,l,y)}}function Qi(a,l){var u=a.ref,d=a.refCleanup;if(u!==null)if(typeof d=="function")try{d()}catch(y){Gt(a,l,y)}finally{a.refCleanup=null,a=a.alternate,a!=null&&(a.refCleanup=null)}else if(typeof u=="function")try{u(null)}catch(y){Gt(a,l,y)}else u.current=null}function I4(a){var l=a.type,u=a.memoizedProps,d=a.stateNode;try{e:switch(l){case"button":case"input":case"select":case"textarea":u.autoFocus&&d.focus();break e;case"img":u.src?d.src=u.src:u.srcSet&&(d.srcset=u.srcSet)}}catch(y){Gt(a,a.return,y)}}function im(a,l,u){try{var d=a.stateNode;qC(d,a.type,u,l),d[Kn]=l}catch(y){Gt(a,a.return,y)}}function L4(a){return a.tag===5||a.tag===3||a.tag===26||a.tag===27&&Rs(a.type)||a.tag===4}function am(a){e:for(;;){for(;a.sibling===null;){if(a.return===null||L4(a.return))return null;a=a.return}for(a.sibling.return=a.return,a=a.sibling;a.tag!==5&&a.tag!==6&&a.tag!==18;){if(a.tag===27&&Rs(a.type)||a.flags&2||a.child===null||a.tag===4)continue e;a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}}function sm(a,l,u){var d=a.tag;if(d===5||d===6)a=a.stateNode,l?(u.nodeType===9?u.body:u.nodeName==="HTML"?u.ownerDocument.body:u).insertBefore(a,l):(l=u.nodeType===9?u.body:u.nodeName==="HTML"?u.ownerDocument.body:u,l.appendChild(a),u=u._reactRootContainer,u!=null||l.onclick!==null||(l.onclick=oi));else if(d!==4&&(d===27&&Rs(a.type)&&(u=a.stateNode,l=null),a=a.child,a!==null))for(sm(a,l,u),a=a.sibling;a!==null;)sm(a,l,u),a=a.sibling}function pf(a,l,u){var d=a.tag;if(d===5||d===6)a=a.stateNode,l?u.insertBefore(a,l):u.appendChild(a);else if(d!==4&&(d===27&&Rs(a.type)&&(u=a.stateNode),a=a.child,a!==null))for(pf(a,l,u),a=a.sibling;a!==null;)pf(a,l,u),a=a.sibling}function z4(a){var l=a.stateNode,u=a.memoizedProps;try{for(var d=a.type,y=l.attributes;y.length;)l.removeAttributeNode(y[0]);tr(l,d,u),l[_n]=a,l[Kn]=u}catch(b){Gt(a,a.return,b)}}var Oa=!1,Ln=!1,lm=!1,P4=typeof WeakSet=="function"?WeakSet:Set,$n=null;function wC(a,l){if(a=a.containerInfo,Mm=If,a=$2(a),ed(a)){if("selectionStart"in a)var u={start:a.selectionStart,end:a.selectionEnd};else e:{u=(u=a.ownerDocument)&&u.defaultView||window;var d=u.getSelection&&u.getSelection();if(d&&d.rangeCount!==0){u=d.anchorNode;var y=d.anchorOffset,b=d.focusNode;d=d.focusOffset;try{u.nodeType,b.nodeType}catch{u=null;break e}var D=0,V=-1,Z=-1,he=0,be=0,Ee=a,de=null;t:for(;;){for(var me;Ee!==u||y!==0&&Ee.nodeType!==3||(V=D+y),Ee!==b||d!==0&&Ee.nodeType!==3||(Z=D+d),Ee.nodeType===3&&(D+=Ee.nodeValue.length),(me=Ee.firstChild)!==null;)de=Ee,Ee=me;for(;;){if(Ee===a)break t;if(de===u&&++he===y&&(V=D),de===b&&++be===d&&(Z=D),(me=Ee.nextSibling)!==null)break;Ee=de,de=Ee.parentNode}Ee=me}u=V===-1||Z===-1?null:{start:V,end:Z}}else u=null}u=u||{start:0,end:0}}else u=null;for(Nm={focusedElem:a,selectionRange:u},If=!1,$n=l;$n!==null;)if(l=$n,a=l.child,(l.subtreeFlags&1028)!==0&&a!==null)a.return=l,$n=a;else for(;$n!==null;){switch(l=$n,b=l.alternate,a=l.flags,l.tag){case 0:if((a&4)!==0&&(a=l.updateQueue,a=a!==null?a.events:null,a!==null))for(u=0;u<a.length;u++)y=a[u],y.ref.impl=y.nextImpl;break;case 11:case 15:break;case 1:if((a&1024)!==0&&b!==null){a=void 0,u=l,y=b.memoizedProps,b=b.memoizedState,d=u.stateNode;try{var He=_l(u.type,y);a=d.getSnapshotBeforeUpdate(He,b),d.__reactInternalSnapshotBeforeUpdate=a}catch(at){Gt(u,u.return,at)}}break;case 3:if((a&1024)!==0){if(a=l.stateNode.containerInfo,u=a.nodeType,u===9)Rm(a);else if(u===1)switch(a.nodeName){case"HEAD":case"HTML":case"BODY":Rm(a);break;default:a.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((a&1024)!==0)throw Error(r(163))}if(a=l.sibling,a!==null){a.return=l.return,$n=a;break}$n=l.return}}function B4(a,l,u){var d=u.flags;switch(u.tag){case 0:case 11:case 15:La(a,u),d&4&&nc(5,u);break;case 1:if(La(a,u),d&4)if(a=u.stateNode,l===null)try{a.componentDidMount()}catch(D){Gt(u,u.return,D)}else{var y=_l(u.type,l.memoizedProps);l=l.memoizedState;try{a.componentDidUpdate(y,l,a.__reactInternalSnapshotBeforeUpdate)}catch(D){Gt(u,u.return,D)}}d&64&&R4(u),d&512&&rc(u,u.return);break;case 3:if(La(a,u),d&64&&(a=u.updateQueue,a!==null)){if(l=null,u.child!==null)switch(u.child.tag){case 27:case 5:l=u.child.stateNode;break;case 1:l=u.child.stateNode}try{Sy(a,l)}catch(D){Gt(u,u.return,D)}}break;case 27:l===null&&d&4&&z4(u);case 26:case 5:La(a,u),l===null&&d&4&&I4(u),d&512&&rc(u,u.return);break;case 12:La(a,u);break;case 31:La(a,u),d&4&&V4(a,u);break;case 13:La(a,u),d&4&&q4(a,u),d&64&&(a=u.memoizedState,a!==null&&(a=a.dehydrated,a!==null&&(u=_C.bind(null,u),WC(a,u))));break;case 22:if(d=u.memoizedState!==null||Oa,!d){l=l!==null&&l.memoizedState!==null||Ln,y=Oa;var b=Ln;Oa=d,(Ln=l)&&!b?za(a,u,(u.subtreeFlags&8772)!==0):La(a,u),Oa=y,Ln=b}break;case 30:break;default:La(a,u)}}function j4(a){var l=a.alternate;l!==null&&(a.alternate=null,j4(l)),a.child=null,a.deletions=null,a.sibling=null,a.tag===5&&(l=a.stateNode,l!==null&&to(l)),a.stateNode=null,a.return=null,a.dependencies=null,a.memoizedProps=null,a.memoizedState=null,a.pendingProps=null,a.stateNode=null,a.updateQueue=null}var cn=null,Ar=!1;function Ia(a,l,u){for(u=u.child;u!==null;)F4(a,l,u),u=u.sibling}function F4(a,l,u){if(pn&&typeof pn.onCommitFiberUnmount=="function")try{pn.onCommitFiberUnmount(un,u)}catch{}switch(u.tag){case 26:Ln||Qi(u,l),Ia(a,l,u),u.memoizedState?u.memoizedState.count--:u.stateNode&&(u=u.stateNode,u.parentNode.removeChild(u));break;case 27:Ln||Qi(u,l);var d=cn,y=Ar;Rs(u.type)&&(cn=u.stateNode,Ar=!1),Ia(a,l,u),hc(u.stateNode),cn=d,Ar=y;break;case 5:Ln||Qi(u,l);case 6:if(d=cn,y=Ar,cn=null,Ia(a,l,u),cn=d,Ar=y,cn!==null)if(Ar)try{(cn.nodeType===9?cn.body:cn.nodeName==="HTML"?cn.ownerDocument.body:cn).removeChild(u.stateNode)}catch(b){Gt(u,l,b)}else try{cn.removeChild(u.stateNode)}catch(b){Gt(u,l,b)}break;case 18:cn!==null&&(Ar?(a=cn,Rv(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,u.stateNode),Io(a)):Rv(cn,u.stateNode));break;case 4:d=cn,y=Ar,cn=u.stateNode.containerInfo,Ar=!0,Ia(a,l,u),cn=d,Ar=y;break;case 0:case 11:case 14:case 15:Cs(2,u,l),Ln||Cs(4,u,l),Ia(a,l,u);break;case 1:Ln||(Qi(u,l),d=u.stateNode,typeof d.componentWillUnmount=="function"&&O4(u,l,d)),Ia(a,l,u);break;case 21:Ia(a,l,u);break;case 22:Ln=(d=Ln)||u.memoizedState!==null,Ia(a,l,u),Ln=d;break;default:Ia(a,l,u)}}function V4(a,l){if(l.memoizedState===null&&(a=l.alternate,a!==null&&(a=a.memoizedState,a!==null))){a=a.dehydrated;try{Io(a)}catch(u){Gt(l,l.return,u)}}}function q4(a,l){if(l.memoizedState===null&&(a=l.alternate,a!==null&&(a=a.memoizedState,a!==null&&(a=a.dehydrated,a!==null))))try{Io(a)}catch(u){Gt(l,l.return,u)}}function SC(a){switch(a.tag){case 31:case 13:case 19:var l=a.stateNode;return l===null&&(l=a.stateNode=new P4),l;case 22:return a=a.stateNode,l=a._retryCache,l===null&&(l=a._retryCache=new P4),l;default:throw Error(r(435,a.tag))}}function df(a,l){var u=SC(a);l.forEach(function(d){if(!u.has(d)){u.add(d);var y=DC.bind(null,a,d);d.then(y,y)}})}function Tr(a,l){var u=l.deletions;if(u!==null)for(var d=0;d<u.length;d++){var y=u[d],b=a,D=l,V=D;e:for(;V!==null;){switch(V.tag){case 27:if(Rs(V.type)){cn=V.stateNode,Ar=!1;break e}break;case 5:cn=V.stateNode,Ar=!1;break e;case 3:case 4:cn=V.stateNode.containerInfo,Ar=!0;break e}V=V.return}if(cn===null)throw Error(r(160));F4(b,D,y),cn=null,Ar=!1,b=y.alternate,b!==null&&(b.return=null),y.return=null}if(l.subtreeFlags&13886)for(l=l.child;l!==null;)U4(l,a),l=l.sibling}var Li=null;function U4(a,l){var u=a.alternate,d=a.flags;switch(a.tag){case 0:case 11:case 14:case 15:Tr(l,a),Mr(a),d&4&&(Cs(3,a,a.return),nc(3,a),Cs(5,a,a.return));break;case 1:Tr(l,a),Mr(a),d&512&&(Ln||u===null||Qi(u,u.return)),d&64&&Oa&&(a=a.updateQueue,a!==null&&(d=a.callbacks,d!==null&&(u=a.shared.hiddenCallbacks,a.shared.hiddenCallbacks=u===null?d:u.concat(d))));break;case 26:var y=Li;if(Tr(l,a),Mr(a),d&512&&(Ln||u===null||Qi(u,u.return)),d&4){var b=u!==null?u.memoizedState:null;if(d=a.memoizedState,u===null)if(d===null)if(a.stateNode===null){e:{d=a.type,u=a.memoizedProps,y=y.ownerDocument||y;t:switch(d){case"title":b=y.getElementsByTagName("title")[0],(!b||b[fs]||b[_n]||b.namespaceURI==="http://www.w3.org/2000/svg"||b.hasAttribute("itemprop"))&&(b=y.createElement(d),y.head.insertBefore(b,y.querySelector("head > title"))),tr(b,d,u),b[_n]=a,Dn(b),d=b;break e;case"link":var D=Uv("link","href",y).get(d+(u.href||""));if(D){for(var V=0;V<D.length;V++)if(b=D[V],b.getAttribute("href")===(u.href==null||u.href===""?null:u.href)&&b.getAttribute("rel")===(u.rel==null?null:u.rel)&&b.getAttribute("title")===(u.title==null?null:u.title)&&b.getAttribute("crossorigin")===(u.crossOrigin==null?null:u.crossOrigin)){D.splice(V,1);break t}}b=y.createElement(d),tr(b,d,u),y.head.appendChild(b);break;case"meta":if(D=Uv("meta","content",y).get(d+(u.content||""))){for(V=0;V<D.length;V++)if(b=D[V],b.getAttribute("content")===(u.content==null?null:""+u.content)&&b.getAttribute("name")===(u.name==null?null:u.name)&&b.getAttribute("property")===(u.property==null?null:u.property)&&b.getAttribute("http-equiv")===(u.httpEquiv==null?null:u.httpEquiv)&&b.getAttribute("charset")===(u.charSet==null?null:u.charSet)){D.splice(V,1);break t}}b=y.createElement(d),tr(b,d,u),y.head.appendChild(b);break;default:throw Error(r(468,d))}b[_n]=a,Dn(b),d=b}a.stateNode=d}else Hv(y,a.type,a.stateNode);else a.stateNode=qv(y,d,a.memoizedProps);else b!==d?(b===null?u.stateNode!==null&&(u=u.stateNode,u.parentNode.removeChild(u)):b.count--,d===null?Hv(y,a.type,a.stateNode):qv(y,d,a.memoizedProps)):d===null&&a.stateNode!==null&&im(a,a.memoizedProps,u.memoizedProps)}break;case 27:Tr(l,a),Mr(a),d&512&&(Ln||u===null||Qi(u,u.return)),u!==null&&d&4&&im(a,a.memoizedProps,u.memoizedProps);break;case 5:if(Tr(l,a),Mr(a),d&512&&(Ln||u===null||Qi(u,u.return)),a.flags&32){y=a.stateNode;try{ka(y,"")}catch(He){Gt(a,a.return,He)}}d&4&&a.stateNode!=null&&(y=a.memoizedProps,im(a,y,u!==null?u.memoizedProps:y)),d&1024&&(lm=!0);break;case 6:if(Tr(l,a),Mr(a),d&4){if(a.stateNode===null)throw Error(r(162));d=a.memoizedProps,u=a.stateNode;try{u.nodeValue=d}catch(He){Gt(a,a.return,He)}}break;case 3:if(_f=null,y=Li,Li=Mf(l.containerInfo),Tr(l,a),Li=y,Mr(a),d&4&&u!==null&&u.memoizedState.isDehydrated)try{Io(l.containerInfo)}catch(He){Gt(a,a.return,He)}lm&&(lm=!1,H4(a));break;case 4:d=Li,Li=Mf(a.stateNode.containerInfo),Tr(l,a),Mr(a),Li=d;break;case 12:Tr(l,a),Mr(a);break;case 31:Tr(l,a),Mr(a),d&4&&(d=a.updateQueue,d!==null&&(a.updateQueue=null,df(a,d)));break;case 13:Tr(l,a),Mr(a),a.child.flags&8192&&a.memoizedState!==null!=(u!==null&&u.memoizedState!==null)&&(gf=pt()),d&4&&(d=a.updateQueue,d!==null&&(a.updateQueue=null,df(a,d)));break;case 22:y=a.memoizedState!==null;var Z=u!==null&&u.memoizedState!==null,he=Oa,be=Ln;if(Oa=he||y,Ln=be||Z,Tr(l,a),Ln=be,Oa=he,Mr(a),d&8192)e:for(l=a.stateNode,l._visibility=y?l._visibility&-2:l._visibility|1,y&&(u===null||Z||Oa||Ln||Dl(a)),u=null,l=a;;){if(l.tag===5||l.tag===26){if(u===null){Z=u=l;try{if(b=Z.stateNode,y)D=b.style,typeof D.setProperty=="function"?D.setProperty("display","none","important"):D.display="none";else{V=Z.stateNode;var Ee=Z.memoizedProps.style,de=Ee!=null&&Ee.hasOwnProperty("display")?Ee.display:null;V.style.display=de==null||typeof de=="boolean"?"":(""+de).trim()}}catch(He){Gt(Z,Z.return,He)}}}else if(l.tag===6){if(u===null){Z=l;try{Z.stateNode.nodeValue=y?"":Z.memoizedProps}catch(He){Gt(Z,Z.return,He)}}}else if(l.tag===18){if(u===null){Z=l;try{var me=Z.stateNode;y?Ov(me,!0):Ov(Z.stateNode,!1)}catch(He){Gt(Z,Z.return,He)}}}else if((l.tag!==22&&l.tag!==23||l.memoizedState===null||l===a)&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===a)break e;for(;l.sibling===null;){if(l.return===null||l.return===a)break e;u===l&&(u=null),l=l.return}u===l&&(u=null),l.sibling.return=l.return,l=l.sibling}d&4&&(d=a.updateQueue,d!==null&&(u=d.retryQueue,u!==null&&(d.retryQueue=null,df(a,u))));break;case 19:Tr(l,a),Mr(a),d&4&&(d=a.updateQueue,d!==null&&(a.updateQueue=null,df(a,d)));break;case 30:break;case 21:break;default:Tr(l,a),Mr(a)}}function Mr(a){var l=a.flags;if(l&2){try{for(var u,d=a.return;d!==null;){if(L4(d)){u=d;break}d=d.return}if(u==null)throw Error(r(160));switch(u.tag){case 27:var y=u.stateNode,b=am(a);pf(a,b,y);break;case 5:var D=u.stateNode;u.flags&32&&(ka(D,""),u.flags&=-33);var V=am(a);pf(a,V,D);break;case 3:case 4:var Z=u.stateNode.containerInfo,he=am(a);sm(a,he,Z);break;default:throw Error(r(161))}}catch(be){Gt(a,a.return,be)}a.flags&=-3}l&4096&&(a.flags&=-4097)}function H4(a){if(a.subtreeFlags&1024)for(a=a.child;a!==null;){var l=a;H4(l),l.tag===5&&l.flags&1024&&l.stateNode.reset(),a=a.sibling}}function La(a,l){if(l.subtreeFlags&8772)for(l=l.child;l!==null;)B4(a,l.alternate,l),l=l.sibling}function Dl(a){for(a=a.child;a!==null;){var l=a;switch(l.tag){case 0:case 11:case 14:case 15:Cs(4,l,l.return),Dl(l);break;case 1:Qi(l,l.return);var u=l.stateNode;typeof u.componentWillUnmount=="function"&&O4(l,l.return,u),Dl(l);break;case 27:hc(l.stateNode);case 26:case 5:Qi(l,l.return),Dl(l);break;case 22:l.memoizedState===null&&Dl(l);break;case 30:Dl(l);break;default:Dl(l)}a=a.sibling}}function za(a,l,u){for(u=u&&(l.subtreeFlags&8772)!==0,l=l.child;l!==null;){var d=l.alternate,y=a,b=l,D=b.flags;switch(b.tag){case 0:case 11:case 15:za(y,b,u),nc(4,b);break;case 1:if(za(y,b,u),d=b,y=d.stateNode,typeof y.componentDidMount=="function")try{y.componentDidMount()}catch(he){Gt(d,d.return,he)}if(d=b,y=d.updateQueue,y!==null){var V=d.stateNode;try{var Z=y.shared.hiddenCallbacks;if(Z!==null)for(y.shared.hiddenCallbacks=null,y=0;y<Z.length;y++)wy(Z[y],V)}catch(he){Gt(d,d.return,he)}}u&&D&64&&R4(b),rc(b,b.return);break;case 27:z4(b);case 26:case 5:za(y,b,u),u&&d===null&&D&4&&I4(b),rc(b,b.return);break;case 12:za(y,b,u);break;case 31:za(y,b,u),u&&D&4&&V4(y,b);break;case 13:za(y,b,u),u&&D&4&&q4(y,b);break;case 22:b.memoizedState===null&&za(y,b,u),rc(b,b.return);break;case 30:break;default:za(y,b,u)}l=l.sibling}}function om(a,l){var u=null;a!==null&&a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(u=a.memoizedState.cachePool.pool),a=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(a=l.memoizedState.cachePool.pool),a!==u&&(a!=null&&a.refCount++,u!=null&&Uu(u))}function um(a,l){a=null,l.alternate!==null&&(a=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==a&&(l.refCount++,a!=null&&Uu(a))}function zi(a,l,u,d){if(l.subtreeFlags&10256)for(l=l.child;l!==null;)G4(a,l,u,d),l=l.sibling}function G4(a,l,u,d){var y=l.flags;switch(l.tag){case 0:case 11:case 15:zi(a,l,u,d),y&2048&&nc(9,l);break;case 1:zi(a,l,u,d);break;case 3:zi(a,l,u,d),y&2048&&(a=null,l.alternate!==null&&(a=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==a&&(l.refCount++,a!=null&&Uu(a)));break;case 12:if(y&2048){zi(a,l,u,d),a=l.stateNode;try{var b=l.memoizedProps,D=b.id,V=b.onPostCommit;typeof V=="function"&&V(D,l.alternate===null?"mount":"update",a.passiveEffectDuration,-0)}catch(Z){Gt(l,l.return,Z)}}else zi(a,l,u,d);break;case 31:zi(a,l,u,d);break;case 13:zi(a,l,u,d);break;case 23:break;case 22:b=l.stateNode,D=l.alternate,l.memoizedState!==null?b._visibility&2?zi(a,l,u,d):ic(a,l):b._visibility&2?zi(a,l,u,d):(b._visibility|=2,ko(a,l,u,d,(l.subtreeFlags&10256)!==0||!1)),y&2048&&om(D,l);break;case 24:zi(a,l,u,d),y&2048&&um(l.alternate,l);break;default:zi(a,l,u,d)}}function ko(a,l,u,d,y){for(y=y&&((l.subtreeFlags&10256)!==0||!1),l=l.child;l!==null;){var b=a,D=l,V=u,Z=d,he=D.flags;switch(D.tag){case 0:case 11:case 15:ko(b,D,V,Z,y),nc(8,D);break;case 23:break;case 22:var be=D.stateNode;D.memoizedState!==null?be._visibility&2?ko(b,D,V,Z,y):ic(b,D):(be._visibility|=2,ko(b,D,V,Z,y)),y&&he&2048&&om(D.alternate,D);break;case 24:ko(b,D,V,Z,y),y&&he&2048&&um(D.alternate,D);break;default:ko(b,D,V,Z,y)}l=l.sibling}}function ic(a,l){if(l.subtreeFlags&10256)for(l=l.child;l!==null;){var u=a,d=l,y=d.flags;switch(d.tag){case 22:ic(u,d),y&2048&&om(d.alternate,d);break;case 24:ic(u,d),y&2048&&um(d.alternate,d);break;default:ic(u,d)}l=l.sibling}}var ac=8192;function Eo(a,l,u){if(a.subtreeFlags&ac)for(a=a.child;a!==null;)X4(a,l,u),a=a.sibling}function X4(a,l,u){switch(a.tag){case 26:Eo(a,l,u),a.flags&ac&&a.memoizedState!==null&&oA(u,Li,a.memoizedState,a.memoizedProps);break;case 5:Eo(a,l,u);break;case 3:case 4:var d=Li;Li=Mf(a.stateNode.containerInfo),Eo(a,l,u),Li=d;break;case 22:a.memoizedState===null&&(d=a.alternate,d!==null&&d.memoizedState!==null?(d=ac,ac=16777216,Eo(a,l,u),ac=d):Eo(a,l,u));break;default:Eo(a,l,u)}}function Y4(a){var l=a.alternate;if(l!==null&&(a=l.child,a!==null)){l.child=null;do l=a.sibling,a.sibling=null,a=l;while(a!==null)}}function sc(a){var l=a.deletions;if((a.flags&16)!==0){if(l!==null)for(var u=0;u<l.length;u++){var d=l[u];$n=d,$4(d,a)}Y4(a)}if(a.subtreeFlags&10256)for(a=a.child;a!==null;)J4(a),a=a.sibling}function J4(a){switch(a.tag){case 0:case 11:case 15:sc(a),a.flags&2048&&Cs(9,a,a.return);break;case 3:sc(a);break;case 12:sc(a);break;case 22:var l=a.stateNode;a.memoizedState!==null&&l._visibility&2&&(a.return===null||a.return.tag!==13)?(l._visibility&=-3,mf(a)):sc(a);break;default:sc(a)}}function mf(a){var l=a.deletions;if((a.flags&16)!==0){if(l!==null)for(var u=0;u<l.length;u++){var d=l[u];$n=d,$4(d,a)}Y4(a)}for(a=a.child;a!==null;){switch(l=a,l.tag){case 0:case 11:case 15:Cs(8,l,l.return),mf(l);break;case 22:u=l.stateNode,u._visibility&2&&(u._visibility&=-3,mf(l));break;default:mf(l)}a=a.sibling}}function $4(a,l){for(;$n!==null;){var u=$n;switch(u.tag){case 0:case 11:case 15:Cs(8,u,l);break;case 23:case 22:if(u.memoizedState!==null&&u.memoizedState.cachePool!==null){var d=u.memoizedState.cachePool.pool;d!=null&&d.refCount++}break;case 24:Uu(u.memoizedState.cache)}if(d=u.child,d!==null)d.return=u,$n=d;else e:for(u=a;$n!==null;){d=$n;var y=d.sibling,b=d.return;if(j4(d),d===u){$n=null;break e}if(y!==null){y.return=b,$n=y;break e}$n=b}}}var kC={getCacheForType:function(a){var l=Zn(Rn),u=l.data.get(a);return u===void 0&&(u=a(),l.data.set(a,u)),u},cacheSignal:function(){return Zn(Rn).controller.signal}},EC=typeof WeakMap=="function"?WeakMap:Map,Vt=0,en=null,kt=null,At=0,Ht=0,$r=null,As=!1,Co=!1,cm=!1,Pa=0,wn=0,Ts=0,Rl=0,fm=0,Wr=0,Ao=0,lc=null,Nr=null,hm=!1,gf=0,W4=0,xf=1/0,yf=null,Ms=null,qn=0,Ns=null,To=null,Ba=0,pm=0,dm=null,K4=null,oc=0,mm=null;function Kr(){return(Vt&2)!==0&&At!==0?At&-At:ee.T!==null?wm():ku()}function Q4(){if(Wr===0)if((At&536870912)===0||_t){var a=Mn;Mn<<=1,(Mn&3932160)===0&&(Mn=262144),Wr=a}else Wr=536870912;return a=Yr.current,a!==null&&(a.flags|=32),Wr}function _r(a,l,u){(a===en&&(Ht===2||Ht===9)||a.cancelPendingCommit!==null)&&(Mo(a,0),_s(a,At,Wr,!1)),Yi(a,u),((Vt&2)===0||a!==en)&&(a===en&&((Vt&2)===0&&(Rl|=u),wn===4&&_s(a,At,Wr,!1)),Zi(a))}function Z4(a,l,u){if((Vt&6)!==0)throw Error(r(327));var d=!u&&(l&127)===0&&(l&a.expiredLanes)===0||et(a,l),y=d?TC(a,l):xm(a,l,!0),b=d;do{if(y===0){Co&&!d&&_s(a,l,0,!1);break}else{if(u=a.current.alternate,b&&!CC(u)){y=xm(a,l,!1),b=!1;continue}if(y===2){if(b=l,a.errorRecoveryDisabledLanes&b)var D=0;else D=a.pendingLanes&-536870913,D=D!==0?D:D&536870912?536870912:0;if(D!==0){l=D;e:{var V=a;y=lc;var Z=V.current.memoizedState.isDehydrated;if(Z&&(Mo(V,D).flags|=256),D=xm(V,D,!1),D!==2){if(cm&&!Z){V.errorRecoveryDisabledLanes|=b,Rl|=b,y=4;break e}b=Nr,Nr=y,b!==null&&(Nr===null?Nr=b:Nr.push.apply(Nr,b))}y=D}if(b=!1,y!==2)continue}}if(y===1){Mo(a,0),_s(a,l,0,!0);break}e:{switch(d=a,b=y,b){case 0:case 1:throw Error(r(345));case 4:if((l&4194048)!==l)break;case 6:_s(d,l,Wr,!As);break e;case 2:Nr=null;break;case 3:case 5:break;default:throw Error(r(329))}if((l&62914560)===l&&(y=gf+300-pt(),10<y)){if(_s(d,l,Wr,!As),Hr(d,0,!0)!==0)break e;Ba=l,d.timeoutHandle=_v(ev.bind(null,d,u,Nr,yf,hm,l,Wr,Rl,Ao,As,b,"Throttled",-0,0),y);break e}ev(d,u,Nr,yf,hm,l,Wr,Rl,Ao,As,b,null,-0,0)}}break}while(!0);Zi(a)}function ev(a,l,u,d,y,b,D,V,Z,he,be,Ee,de,me){if(a.timeoutHandle=-1,Ee=l.subtreeFlags,Ee&8192||(Ee&16785408)===16785408){Ee={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:oi},X4(l,b,Ee);var He=(b&62914560)===b?gf-pt():(b&4194048)===b?W4-pt():0;if(He=uA(Ee,He),He!==null){Ba=b,a.cancelPendingCommit=He(ov.bind(null,a,l,b,u,d,y,D,V,Z,be,Ee,null,de,me)),_s(a,b,D,!he);return}}ov(a,l,b,u,d,y,D,V,Z)}function CC(a){for(var l=a;;){var u=l.tag;if((u===0||u===11||u===15)&&l.flags&16384&&(u=l.updateQueue,u!==null&&(u=u.stores,u!==null)))for(var d=0;d<u.length;d++){var y=u[d],b=y.getSnapshot;y=y.value;try{if(!Gr(b(),y))return!1}catch{return!1}}if(u=l.child,l.subtreeFlags&16384&&u!==null)u.return=l,l=u;else{if(l===a)break;for(;l.sibling===null;){if(l.return===null||l.return===a)return!0;l=l.return}l.sibling.return=l.return,l=l.sibling}}return!0}function _s(a,l,u,d){l&=~fm,l&=~Rl,a.suspendedLanes|=l,a.pingedLanes&=~l,d&&(a.warmLanes|=l),d=a.expirationTimes;for(var y=l;0<y;){var b=31-Nt(y),D=1<<b;d[b]=-1,y&=~D}u!==0&&M0(a,u,l)}function vf(){return(Vt&6)===0?(uc(0),!1):!0}function gm(){if(kt!==null){if(Ht===0)var a=kt.return;else a=kt,Ta=kl=null,Rd(a),yo=null,Gu=0,a=kt;for(;a!==null;)D4(a.alternate,a),a=a.return;kt=null}}function Mo(a,l){var u=a.timeoutHandle;u!==-1&&(a.timeoutHandle=-1,GC(u)),u=a.cancelPendingCommit,u!==null&&(a.cancelPendingCommit=null,u()),Ba=0,gm(),en=a,kt=u=Ca(a.current,null),At=l,Ht=0,$r=null,As=!1,Co=et(a,l),cm=!1,Ao=Wr=fm=Rl=Ts=wn=0,Nr=lc=null,hm=!1,(l&8)!==0&&(l|=l&32);var d=a.entangledLanes;if(d!==0)for(a=a.entanglements,d&=l;0<d;){var y=31-Nt(d),b=1<<y;l|=a[y],d&=~b}return Pa=l,j0(),u}function tv(a,l){mt=null,ee.H=Zu,l===xo||l===Y0?(l=xy(),Ht=3):l===bd?(l=xy(),Ht=4):Ht=l===Jd?8:l!==null&&typeof l=="object"&&typeof l.then=="function"?6:1,$r=l,kt===null&&(wn=1,of(a,ci(l,a.current)))}function nv(){var a=Yr.current;return a===null?!0:(At&4194048)===At?di===null:(At&62914560)===At||(At&536870912)!==0?a===di:!1}function rv(){var a=ee.H;return ee.H=Zu,a===null?Zu:a}function iv(){var a=ee.A;return ee.A=kC,a}function bf(){wn=4,As||(At&4194048)!==At&&Yr.current!==null||(Co=!0),(Ts&134217727)===0&&(Rl&134217727)===0||en===null||_s(en,At,Wr,!1)}function xm(a,l,u){var d=Vt;Vt|=2;var y=rv(),b=iv();(en!==a||At!==l)&&(yf=null,Mo(a,l)),l=!1;var D=wn;e:do try{if(Ht!==0&&kt!==null){var V=kt,Z=$r;switch(Ht){case 8:gm(),D=6;break e;case 3:case 2:case 9:case 6:Yr.current===null&&(l=!0);var he=Ht;if(Ht=0,$r=null,No(a,V,Z,he),u&&Co){D=0;break e}break;default:he=Ht,Ht=0,$r=null,No(a,V,Z,he)}}AC(),D=wn;break}catch(be){tv(a,be)}while(!0);return l&&a.shellSuspendCounter++,Ta=kl=null,Vt=d,ee.H=y,ee.A=b,kt===null&&(en=null,At=0,j0()),D}function AC(){for(;kt!==null;)av(kt)}function TC(a,l){var u=Vt;Vt|=2;var d=rv(),y=iv();en!==a||At!==l?(yf=null,xf=pt()+500,Mo(a,l)):Co=et(a,l);e:do try{if(Ht!==0&&kt!==null){l=kt;var b=$r;t:switch(Ht){case 1:Ht=0,$r=null,No(a,l,b,1);break;case 2:case 9:if(my(b)){Ht=0,$r=null,sv(l);break}l=function(){Ht!==2&&Ht!==9||en!==a||(Ht=7),Zi(a)},b.then(l,l);break e;case 3:Ht=7;break e;case 4:Ht=5;break e;case 7:my(b)?(Ht=0,$r=null,sv(l)):(Ht=0,$r=null,No(a,l,b,7));break;case 5:var D=null;switch(kt.tag){case 26:D=kt.memoizedState;case 5:case 27:var V=kt;if(D?Gv(D):V.stateNode.complete){Ht=0,$r=null;var Z=V.sibling;if(Z!==null)kt=Z;else{var he=V.return;he!==null?(kt=he,wf(he)):kt=null}break t}}Ht=0,$r=null,No(a,l,b,5);break;case 6:Ht=0,$r=null,No(a,l,b,6);break;case 8:gm(),wn=6;break e;default:throw Error(r(462))}}MC();break}catch(be){tv(a,be)}while(!0);return Ta=kl=null,ee.H=d,ee.A=y,Vt=u,kt!==null?0:(en=null,At=0,j0(),wn)}function MC(){for(;kt!==null&&!Ur();)av(kt)}function av(a){var l=N4(a.alternate,a,Pa);a.memoizedProps=a.pendingProps,l===null?wf(a):kt=l}function sv(a){var l=a,u=l.alternate;switch(l.tag){case 15:case 0:l=k4(u,l,l.pendingProps,l.type,void 0,At);break;case 11:l=k4(u,l,l.pendingProps,l.type.render,l.ref,At);break;case 5:Rd(l);default:D4(u,l),l=kt=iy(l,Pa),l=N4(u,l,Pa)}a.memoizedProps=a.pendingProps,l===null?wf(a):kt=l}function No(a,l,u,d){Ta=kl=null,Rd(l),yo=null,Gu=0;var y=l.return;try{if(gC(a,y,l,u,At)){wn=1,of(a,ci(u,a.current)),kt=null;return}}catch(b){if(y!==null)throw kt=y,b;wn=1,of(a,ci(u,a.current)),kt=null;return}l.flags&32768?(_t||d===1?a=!0:Co||(At&536870912)!==0?a=!1:(As=a=!0,(d===2||d===9||d===3||d===6)&&(d=Yr.current,d!==null&&d.tag===13&&(d.flags|=16384))),lv(l,a)):wf(l)}function wf(a){var l=a;do{if((l.flags&32768)!==0){lv(l,As);return}a=l.return;var u=vC(l.alternate,l,Pa);if(u!==null){kt=u;return}if(l=l.sibling,l!==null){kt=l;return}kt=l=a}while(l!==null);wn===0&&(wn=5)}function lv(a,l){do{var u=bC(a.alternate,a);if(u!==null){u.flags&=32767,kt=u;return}if(u=a.return,u!==null&&(u.flags|=32768,u.subtreeFlags=0,u.deletions=null),!l&&(a=a.sibling,a!==null)){kt=a;return}kt=a=u}while(a!==null);wn=6,kt=null}function ov(a,l,u,d,y,b,D,V,Z){a.cancelPendingCommit=null;do Sf();while(qn!==0);if((Vt&6)!==0)throw Error(r(327));if(l!==null){if(l===a.current)throw Error(r(177));if(b=l.lanes|l.childLanes,b|=ad,Ji(a,u,b,D,V,Z),a===en&&(kt=en=null,At=0),To=l,Ns=a,Ba=u,pm=b,dm=y,K4=d,(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?(a.callbackNode=null,a.callbackPriority=0,RC(G,function(){return pv(),null})):(a.callbackNode=null,a.callbackPriority=0),d=(l.flags&13878)!==0,(l.subtreeFlags&13878)!==0||d){d=ee.T,ee.T=null,y=oe.p,oe.p=2,D=Vt,Vt|=4;try{wC(a,l,u)}finally{Vt=D,oe.p=y,ee.T=d}}qn=1,uv(),cv(),fv()}}function uv(){if(qn===1){qn=0;var a=Ns,l=To,u=(l.flags&13878)!==0;if((l.subtreeFlags&13878)!==0||u){u=ee.T,ee.T=null;var d=oe.p;oe.p=2;var y=Vt;Vt|=4;try{U4(l,a);var b=Nm,D=$2(a.containerInfo),V=b.focusedElem,Z=b.selectionRange;if(D!==V&&V&&V.ownerDocument&&J2(V.ownerDocument.documentElement,V)){if(Z!==null&&ed(V)){var he=Z.start,be=Z.end;if(be===void 0&&(be=he),"selectionStart"in V)V.selectionStart=he,V.selectionEnd=Math.min(be,V.value.length);else{var Ee=V.ownerDocument||document,de=Ee&&Ee.defaultView||window;if(de.getSelection){var me=de.getSelection(),He=V.textContent.length,at=Math.min(Z.start,He),Zt=Z.end===void 0?at:Math.min(Z.end,He);!me.extend&&at>Zt&&(D=Zt,Zt=at,at=D);var se=Y2(V,at),te=Y2(V,Zt);if(se&&te&&(me.rangeCount!==1||me.anchorNode!==se.node||me.anchorOffset!==se.offset||me.focusNode!==te.node||me.focusOffset!==te.offset)){var ce=Ee.createRange();ce.setStart(se.node,se.offset),me.removeAllRanges(),at>Zt?(me.addRange(ce),me.extend(te.node,te.offset)):(ce.setEnd(te.node,te.offset),me.addRange(ce))}}}}for(Ee=[],me=V;me=me.parentNode;)me.nodeType===1&&Ee.push({element:me,left:me.scrollLeft,top:me.scrollTop});for(typeof V.focus=="function"&&V.focus(),V=0;V<Ee.length;V++){var ke=Ee[V];ke.element.scrollLeft=ke.left,ke.element.scrollTop=ke.top}}If=!!Mm,Nm=Mm=null}finally{Vt=y,oe.p=d,ee.T=u}}a.current=l,qn=2}}function cv(){if(qn===2){qn=0;var a=Ns,l=To,u=(l.flags&8772)!==0;if((l.subtreeFlags&8772)!==0||u){u=ee.T,ee.T=null;var d=oe.p;oe.p=2;var y=Vt;Vt|=4;try{B4(a,l.alternate,l)}finally{Vt=y,oe.p=d,ee.T=u}}qn=3}}function fv(){if(qn===4||qn===3){qn=0,vn();var a=Ns,l=To,u=Ba,d=K4;(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?qn=5:(qn=0,To=Ns=null,hv(a,a.pendingLanes));var y=a.pendingLanes;if(y===0&&(Ms=null),Su(u),l=l.stateNode,pn&&typeof pn.onCommitFiberRoot=="function")try{pn.onCommitFiberRoot(un,l,void 0,(l.current.flags&128)===128)}catch{}if(d!==null){l=ee.T,y=oe.p,oe.p=2,ee.T=null;try{for(var b=a.onRecoverableError,D=0;D<d.length;D++){var V=d[D];b(V.value,{componentStack:V.stack})}}finally{ee.T=l,oe.p=y}}(Ba&3)!==0&&Sf(),Zi(a),y=a.pendingLanes,(u&261930)!==0&&(y&42)!==0?a===mm?oc++:(oc=0,mm=a):oc=0,uc(0)}}function hv(a,l){(a.pooledCacheLanes&=l)===0&&(l=a.pooledCache,l!=null&&(a.pooledCache=null,Uu(l)))}function Sf(){return uv(),cv(),fv(),pv()}function pv(){if(qn!==5)return!1;var a=Ns,l=pm;pm=0;var u=Su(Ba),d=ee.T,y=oe.p;try{oe.p=32>u?32:u,ee.T=null,u=dm,dm=null;var b=Ns,D=Ba;if(qn=0,To=Ns=null,Ba=0,(Vt&6)!==0)throw Error(r(331));var V=Vt;if(Vt|=4,J4(b.current),G4(b,b.current,D,u),Vt=V,uc(0,!1),pn&&typeof pn.onPostCommitFiberRoot=="function")try{pn.onPostCommitFiberRoot(un,b)}catch{}return!0}finally{oe.p=y,ee.T=d,hv(a,l)}}function dv(a,l,u){l=ci(u,l),l=Yd(a.stateNode,l,2),a=Ss(a,l,2),a!==null&&(Yi(a,2),Zi(a))}function Gt(a,l,u){if(a.tag===3)dv(a,a,u);else for(;l!==null;){if(l.tag===3){dv(l,a,u);break}else if(l.tag===1){var d=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof d.componentDidCatch=="function"&&(Ms===null||!Ms.has(d))){a=ci(u,a),u=m4(2),d=Ss(l,u,2),d!==null&&(g4(u,d,l,a),Yi(d,2),Zi(d));break}}l=l.return}}function ym(a,l,u){var d=a.pingCache;if(d===null){d=a.pingCache=new EC;var y=new Set;d.set(l,y)}else y=d.get(l),y===void 0&&(y=new Set,d.set(l,y));y.has(u)||(cm=!0,y.add(u),a=NC.bind(null,a,l,u),l.then(a,a))}function NC(a,l,u){var d=a.pingCache;d!==null&&d.delete(l),a.pingedLanes|=a.suspendedLanes&u,a.warmLanes&=~u,en===a&&(At&u)===u&&(wn===4||wn===3&&(At&62914560)===At&&300>pt()-gf?(Vt&2)===0&&Mo(a,0):fm|=u,Ao===At&&(Ao=0)),Zi(a)}function mv(a,l){l===0&&(l=ls()),a=bl(a,l),a!==null&&(Yi(a,l),Zi(a))}function _C(a){var l=a.memoizedState,u=0;l!==null&&(u=l.retryLane),mv(a,u)}function DC(a,l){var u=0;switch(a.tag){case 31:case 13:var d=a.stateNode,y=a.memoizedState;y!==null&&(u=y.retryLane);break;case 19:d=a.stateNode;break;case 22:d=a.stateNode._retryCache;break;default:throw Error(r(314))}d!==null&&d.delete(l),mv(a,u)}function RC(a,l){return yn(a,l)}var kf=null,_o=null,vm=!1,Ef=!1,bm=!1,Ds=0;function Zi(a){a!==_o&&a.next===null&&(_o===null?kf=_o=a:_o=_o.next=a),Ef=!0,vm||(vm=!0,IC())}function uc(a,l){if(!bm&&Ef){bm=!0;do for(var u=!1,d=kf;d!==null;){if(a!==0){var y=d.pendingLanes;if(y===0)var b=0;else{var D=d.suspendedLanes,V=d.pingedLanes;b=(1<<31-Nt(42|a)+1)-1,b&=y&~(D&~V),b=b&201326741?b&201326741|1:b?b|2:0}b!==0&&(u=!0,vv(d,b))}else b=At,b=Hr(d,d===en?b:0,d.cancelPendingCommit!==null||d.timeoutHandle!==-1),(b&3)===0||et(d,b)||(u=!0,vv(d,b));d=d.next}while(u);bm=!1}}function OC(){gv()}function gv(){Ef=vm=!1;var a=0;Ds!==0&&HC()&&(a=Ds);for(var l=pt(),u=null,d=kf;d!==null;){var y=d.next,b=xv(d,l);b===0?(d.next=null,u===null?kf=y:u.next=y,y===null&&(_o=u)):(u=d,(a!==0||(b&3)!==0)&&(Ef=!0)),d=y}qn!==0&&qn!==5||uc(a),Ds!==0&&(Ds=0)}function xv(a,l){for(var u=a.suspendedLanes,d=a.pingedLanes,y=a.expirationTimes,b=a.pendingLanes&-62914561;0<b;){var D=31-Nt(b),V=1<<D,Z=y[D];Z===-1?((V&u)===0||(V&d)!==0)&&(y[D]=pl(V,l)):Z<=l&&(a.expiredLanes|=V),b&=~V}if(l=en,u=At,u=Hr(a,a===l?u:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),d=a.callbackNode,u===0||a===l&&(Ht===2||Ht===9)||a.cancelPendingCommit!==null)return d!==null&&d!==null&&Fn(d),a.callbackNode=null,a.callbackPriority=0;if((u&3)===0||et(a,u)){if(l=u&-u,l===a.callbackPriority)return l;switch(d!==null&&Fn(d),Su(u)){case 2:case 8:u=ye;break;case 32:u=G;break;case 268435456:u=gt;break;default:u=G}return d=yv.bind(null,a),u=yn(u,d),a.callbackPriority=l,a.callbackNode=u,l}return d!==null&&d!==null&&Fn(d),a.callbackPriority=2,a.callbackNode=null,2}function yv(a,l){if(qn!==0&&qn!==5)return a.callbackNode=null,a.callbackPriority=0,null;var u=a.callbackNode;if(Sf()&&a.callbackNode!==u)return null;var d=At;return d=Hr(a,a===en?d:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),d===0?null:(Z4(a,d,l),xv(a,pt()),a.callbackNode!=null&&a.callbackNode===u?yv.bind(null,a):null)}function vv(a,l){if(Sf())return null;Z4(a,l,!0)}function IC(){XC(function(){(Vt&6)!==0?yn(ve,OC):gv()})}function wm(){if(Ds===0){var a=mo;a===0&&(a=_i,_i<<=1,(_i&261888)===0&&(_i=256)),Ds=a}return Ds}function bv(a){return a==null||typeof a=="symbol"||typeof a=="boolean"?null:typeof a=="function"?a:xl(""+a)}function wv(a,l){var u=l.ownerDocument.createElement("input");return u.name=l.name,u.value=l.value,a.id&&u.setAttribute("form",a.id),l.parentNode.insertBefore(u,l),a=new FormData(a),u.parentNode.removeChild(u),a}function LC(a,l,u,d,y){if(l==="submit"&&u&&u.stateNode===y){var b=bv((y[Kn]||null).action),D=d.submitter;D&&(l=(l=D[Kn]||null)?bv(l.formAction):D.getAttribute("formAction"),l!==null&&(b=l,D=null));var V=new Oi("action","action",null,d,y);a.push({event:V,listeners:[{instance:null,listener:function(){if(d.defaultPrevented){if(Ds!==0){var Z=D?wv(y,D):new FormData(y);Vd(u,{pending:!0,data:Z,method:y.method,action:b},null,Z)}}else typeof b=="function"&&(V.preventDefault(),Z=D?wv(y,D):new FormData(y),Vd(u,{pending:!0,data:Z,method:y.method,action:b},b,Z))},currentTarget:y}]})}}for(var Sm=0;Sm<id.length;Sm++){var km=id[Sm],zC=km.toLowerCase(),PC=km[0].toUpperCase()+km.slice(1);Ii(zC,"on"+PC)}Ii(Q2,"onAnimationEnd"),Ii(Z2,"onAnimationIteration"),Ii(ey,"onAnimationStart"),Ii("dblclick","onDoubleClick"),Ii("focusin","onFocus"),Ii("focusout","onBlur"),Ii(ZE,"onTransitionRun"),Ii(eC,"onTransitionStart"),Ii(tC,"onTransitionCancel"),Ii(ty,"onTransitionEnd"),Sa("onMouseEnter",["mouseout","mouseover"]),Sa("onMouseLeave",["mouseout","mouseover"]),Sa("onPointerEnter",["pointerout","pointerover"]),Sa("onPointerLeave",["pointerout","pointerover"]),Ri("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ri("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ri("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ri("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ri("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ri("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var cc="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(" "),BC=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(cc));function Sv(a,l){l=(l&4)!==0;for(var u=0;u<a.length;u++){var d=a[u],y=d.event;d=d.listeners;e:{var b=void 0;if(l)for(var D=d.length-1;0<=D;D--){var V=d[D],Z=V.instance,he=V.currentTarget;if(V=V.listener,Z!==b&&y.isPropagationStopped())break e;b=V,y.currentTarget=he;try{b(y)}catch(be){B0(be)}y.currentTarget=null,b=Z}else for(D=0;D<d.length;D++){if(V=d[D],Z=V.instance,he=V.currentTarget,V=V.listener,Z!==b&&y.isPropagationStopped())break e;b=V,y.currentTarget=he;try{b(y)}catch(be){B0(be)}y.currentTarget=null,b=Z}}}}function Et(a,l){var u=l[Cu];u===void 0&&(u=l[Cu]=new Set);var d=a+"__bubble";u.has(d)||(kv(l,a,2,!1),u.add(d))}function Em(a,l,u){var d=0;l&&(d|=4),kv(u,a,d,l)}var Cf="_reactListening"+Math.random().toString(36).slice(2);function Cm(a){if(!a[Cf]){a[Cf]=!0,Tu.forEach(function(u){u!=="selectionchange"&&(BC.has(u)||Em(u,!1,a),Em(u,!0,a))});var l=a.nodeType===9?a:a.ownerDocument;l===null||l[Cf]||(l[Cf]=!0,Em("selectionchange",!1,l))}}function kv(a,l,u,d){switch(Qv(l)){case 2:var y=hA;break;case 8:y=pA;break;default:y=Fm}u=y.bind(null,l,u,a),y=void 0,!pe||l!=="touchstart"&&l!=="touchmove"&&l!=="wheel"||(y=!0),d?y!==void 0?a.addEventListener(l,u,{capture:!0,passive:y}):a.addEventListener(l,u,!0):y!==void 0?a.addEventListener(l,u,{passive:y}):a.addEventListener(l,u,!1)}function Am(a,l,u,d,y){var b=d;if((l&1)===0&&(l&2)===0&&d!==null)e:for(;;){if(d===null)return;var D=d.tag;if(D===3||D===4){var V=d.stateNode.containerInfo;if(V===y)break;if(D===4)for(D=d.return;D!==null;){var Z=D.tag;if((Z===3||Z===4)&&D.stateNode.containerInfo===y)return;D=D.return}for(;V!==null;){if(D=ba(V),D===null)return;if(Z=D.tag,Z===5||Z===6||Z===26||Z===27){d=b=D;continue e}V=V.parentNode}}d=d.return}z(function(){var he=b,be=Ou(u),Ee=[];e:{var de=ny.get(a);if(de!==void 0){var me=Oi,He=a;switch(a){case"keypress":if(kn(u)===0)break e;case"keydown":case"keyup":me=DE;break;case"focusin":He="focus",me=$p;break;case"focusout":He="blur",me=$p;break;case"beforeblur":case"afterblur":me=$p;break;case"click":if(u.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":me=D2;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":me=vE;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":me=IE;break;case Q2:case Z2:case ey:me=SE;break;case ty:me=zE;break;case"scroll":case"scrollend":me=xE;break;case"wheel":me=BE;break;case"copy":case"cut":case"paste":me=EE;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":me=O2;break;case"toggle":case"beforetoggle":me=FE}var at=(l&4)!==0,Zt=!at&&(a==="scroll"||a==="scrollend"),se=at?de!==null?de+"Capture":null:de;at=[];for(var te=he,ce;te!==null;){var ke=te;if(ce=ke.stateNode,ke=ke.tag,ke!==5&&ke!==26&&ke!==27||ce===null||se===null||(ke=X(te,se),ke!=null&&at.push(fc(te,ke,ce))),Zt)break;te=te.return}0<at.length&&(de=new me(de,He,null,u,be),Ee.push({event:de,listeners:at}))}}if((l&7)===0){e:{if(de=a==="mouseover"||a==="pointerover",me=a==="mouseout"||a==="pointerout",de&&u!==Ru&&(He=u.relatedTarget||u.fromElement)&&(ba(He)||He[cs]))break e;if((me||de)&&(de=be.window===be?be:(de=be.ownerDocument)?de.defaultView||de.parentWindow:window,me?(He=u.relatedTarget||u.toElement,me=he,He=He?ba(He):null,He!==null&&(Zt=s(He),at=He.tag,He!==Zt||at!==5&&at!==27&&at!==6)&&(He=null)):(me=null,He=he),me!==He)){if(at=D2,ke="onMouseLeave",se="onMouseEnter",te="mouse",(a==="pointerout"||a==="pointerover")&&(at=O2,ke="onPointerLeave",se="onPointerEnter",te="pointer"),Zt=me==null?de:hs(me),ce=He==null?de:hs(He),de=new at(ke,te+"leave",me,u,be),de.target=Zt,de.relatedTarget=ce,ke=null,ba(be)===he&&(at=new at(se,te+"enter",He,u,be),at.target=ce,at.relatedTarget=Zt,ke=at),Zt=ke,me&&He)t:{for(at=jC,se=me,te=He,ce=0,ke=se;ke;ke=at(ke))ce++;ke=0;for(var tt=te;tt;tt=at(tt))ke++;for(;0<ce-ke;)se=at(se),ce--;for(;0<ke-ce;)te=at(te),ke--;for(;ce--;){if(se===te||te!==null&&se===te.alternate){at=se;break t}se=at(se),te=at(te)}at=null}else at=null;me!==null&&Ev(Ee,de,me,at,!1),He!==null&&Zt!==null&&Ev(Ee,Zt,He,at,!0)}}e:{if(de=he?hs(he):window,me=de.nodeName&&de.nodeName.toLowerCase(),me==="select"||me==="input"&&de.type==="file")var Bt=V2;else if(j2(de))if(q2)Bt=WE;else{Bt=JE;var We=YE}else me=de.nodeName,!me||me.toLowerCase()!=="input"||de.type!=="checkbox"&&de.type!=="radio"?he&&wt(he.elementType)&&(Bt=V2):Bt=$E;if(Bt&&(Bt=Bt(a,he))){F2(Ee,Bt,u,be);break e}We&&We(a,de,he),a==="focusout"&&he&&de.type==="number"&&he.memoizedProps.value!=null&&_u(de,"number",de.value)}switch(We=he?hs(he):window,a){case"focusin":(j2(We)||We.contentEditable==="true")&&(so=We,td=he,Fu=null);break;case"focusout":Fu=td=so=null;break;case"mousedown":nd=!0;break;case"contextmenu":case"mouseup":case"dragend":nd=!1,W2(Ee,u,be);break;case"selectionchange":if(QE)break;case"keydown":case"keyup":W2(Ee,u,be)}var xt;if(Kp)e:{switch(a){case"compositionstart":var Tt="onCompositionStart";break e;case"compositionend":Tt="onCompositionEnd";break e;case"compositionupdate":Tt="onCompositionUpdate";break e}Tt=void 0}else ao?P2(a,u)&&(Tt="onCompositionEnd"):a==="keydown"&&u.keyCode===229&&(Tt="onCompositionStart");Tt&&(I2&&u.locale!=="ko"&&(ao||Tt!=="onCompositionStart"?Tt==="onCompositionEnd"&&ao&&(xt=Wt()):(_e=be,it="value"in _e?_e.value:_e.textContent,ao=!0)),We=Af(he,Tt),0<We.length&&(Tt=new R2(Tt,a,null,u,be),Ee.push({event:Tt,listeners:We}),xt?Tt.data=xt:(xt=B2(u),xt!==null&&(Tt.data=xt)))),(xt=qE?UE(a,u):HE(a,u))&&(Tt=Af(he,"onBeforeInput"),0<Tt.length&&(We=new R2("onBeforeInput","beforeinput",null,u,be),Ee.push({event:We,listeners:Tt}),We.data=xt)),LC(Ee,a,he,u,be)}Sv(Ee,l)})}function fc(a,l,u){return{instance:a,listener:l,currentTarget:u}}function Af(a,l){for(var u=l+"Capture",d=[];a!==null;){var y=a,b=y.stateNode;if(y=y.tag,y!==5&&y!==26&&y!==27||b===null||(y=X(a,u),y!=null&&d.unshift(fc(a,y,b)),y=X(a,l),y!=null&&d.push(fc(a,y,b))),a.tag===3)return d;a=a.return}return[]}function jC(a){if(a===null)return null;do a=a.return;while(a&&a.tag!==5&&a.tag!==27);return a||null}function Ev(a,l,u,d,y){for(var b=l._reactName,D=[];u!==null&&u!==d;){var V=u,Z=V.alternate,he=V.stateNode;if(V=V.tag,Z!==null&&Z===d)break;V!==5&&V!==26&&V!==27||he===null||(Z=he,y?(he=X(u,b),he!=null&&D.unshift(fc(u,he,Z))):y||(he=X(u,b),he!=null&&D.push(fc(u,he,Z)))),u=u.return}D.length!==0&&a.push({event:l,listeners:D})}var FC=/\r\n?/g,VC=/\u0000|\uFFFD/g;function Cv(a){return(typeof a=="string"?a:""+a).replace(FC,`
49
- `).replace(VC,"")}function Av(a,l){return l=Cv(l),Cv(a)===l}function Qt(a,l,u,d,y,b){switch(u){case"children":typeof d=="string"?l==="body"||l==="textarea"&&d===""||ka(a,d):(typeof d=="number"||typeof d=="bigint")&&l!=="body"&&ka(a,""+d);break;case"className":ro(a,"class",d);break;case"tabIndex":ro(a,"tabindex",d);break;case"dir":case"role":case"viewBox":case"width":case"height":ro(a,u,d);break;case"style":gl(a,d,b);break;case"data":if(l!=="object"){ro(a,"data",d);break}case"src":case"href":if(d===""&&(l!=="a"||u!=="href")){a.removeAttribute(u);break}if(d==null||typeof d=="function"||typeof d=="symbol"||typeof d=="boolean"){a.removeAttribute(u);break}d=xl(""+d),a.setAttribute(u,d);break;case"action":case"formAction":if(typeof d=="function"){a.setAttribute(u,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof b=="function"&&(u==="formAction"?(l!=="input"&&Qt(a,l,"name",y.name,y,null),Qt(a,l,"formEncType",y.formEncType,y,null),Qt(a,l,"formMethod",y.formMethod,y,null),Qt(a,l,"formTarget",y.formTarget,y,null)):(Qt(a,l,"encType",y.encType,y,null),Qt(a,l,"method",y.method,y,null),Qt(a,l,"target",y.target,y,null)));if(d==null||typeof d=="symbol"||typeof d=="boolean"){a.removeAttribute(u);break}d=xl(""+d),a.setAttribute(u,d);break;case"onClick":d!=null&&(a.onclick=oi);break;case"onScroll":d!=null&&Et("scroll",a);break;case"onScrollEnd":d!=null&&Et("scrollend",a);break;case"dangerouslySetInnerHTML":if(d!=null){if(typeof d!="object"||!("__html"in d))throw Error(r(61));if(u=d.__html,u!=null){if(y.children!=null)throw Error(r(60));a.innerHTML=u}}break;case"multiple":a.multiple=d&&typeof d!="function"&&typeof d!="symbol";break;case"muted":a.muted=d&&typeof d!="function"&&typeof d!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(d==null||typeof d=="function"||typeof d=="boolean"||typeof d=="symbol"){a.removeAttribute("xlink:href");break}u=xl(""+d),a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",u);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":d!=null&&typeof d!="function"&&typeof d!="symbol"?a.setAttribute(u,""+d):a.removeAttribute(u);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":d&&typeof d!="function"&&typeof d!="symbol"?a.setAttribute(u,""):a.removeAttribute(u);break;case"capture":case"download":d===!0?a.setAttribute(u,""):d!==!1&&d!=null&&typeof d!="function"&&typeof d!="symbol"?a.setAttribute(u,d):a.removeAttribute(u);break;case"cols":case"rows":case"size":case"span":d!=null&&typeof d!="function"&&typeof d!="symbol"&&!isNaN(d)&&1<=d?a.setAttribute(u,d):a.removeAttribute(u);break;case"rowSpan":case"start":d==null||typeof d=="function"||typeof d=="symbol"||isNaN(d)?a.removeAttribute(u):a.setAttribute(u,d);break;case"popover":Et("beforetoggle",a),Et("toggle",a),no(a,"popover",d);break;case"xlinkActuate":li(a,"http://www.w3.org/1999/xlink","xlink:actuate",d);break;case"xlinkArcrole":li(a,"http://www.w3.org/1999/xlink","xlink:arcrole",d);break;case"xlinkRole":li(a,"http://www.w3.org/1999/xlink","xlink:role",d);break;case"xlinkShow":li(a,"http://www.w3.org/1999/xlink","xlink:show",d);break;case"xlinkTitle":li(a,"http://www.w3.org/1999/xlink","xlink:title",d);break;case"xlinkType":li(a,"http://www.w3.org/1999/xlink","xlink:type",d);break;case"xmlBase":li(a,"http://www.w3.org/XML/1998/namespace","xml:base",d);break;case"xmlLang":li(a,"http://www.w3.org/XML/1998/namespace","xml:lang",d);break;case"xmlSpace":li(a,"http://www.w3.org/XML/1998/namespace","xml:space",d);break;case"is":no(a,"is",d);break;case"innerText":case"textContent":break;default:(!(2<u.length)||u[0]!=="o"&&u[0]!=="O"||u[1]!=="n"&&u[1]!=="N")&&(u=Xp.get(u)||u,no(a,u,d))}}function Tm(a,l,u,d,y,b){switch(u){case"style":gl(a,d,b);break;case"dangerouslySetInnerHTML":if(d!=null){if(typeof d!="object"||!("__html"in d))throw Error(r(61));if(u=d.__html,u!=null){if(y.children!=null)throw Error(r(60));a.innerHTML=u}}break;case"children":typeof d=="string"?ka(a,d):(typeof d=="number"||typeof d=="bigint")&&ka(a,""+d);break;case"onScroll":d!=null&&Et("scroll",a);break;case"onScrollEnd":d!=null&&Et("scrollend",a);break;case"onClick":d!=null&&(a.onclick=oi);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!N0.hasOwnProperty(u))e:{if(u[0]==="o"&&u[1]==="n"&&(y=u.endsWith("Capture"),l=u.slice(2,y?u.length-7:void 0),b=a[Kn]||null,b=b!=null?b[u]:null,typeof b=="function"&&a.removeEventListener(l,b,y),typeof d=="function")){typeof b!="function"&&b!==null&&(u in a?a[u]=null:a.hasAttribute(u)&&a.removeAttribute(u)),a.addEventListener(l,d,y);break e}u in a?a[u]=d:d===!0?a.setAttribute(u,""):no(a,u,d)}}}function tr(a,l,u){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Et("error",a),Et("load",a);var d=!1,y=!1,b;for(b in u)if(u.hasOwnProperty(b)){var D=u[b];if(D!=null)switch(b){case"src":d=!0;break;case"srcSet":y=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,l));default:Qt(a,l,b,D,u,null)}}y&&Qt(a,l,"srcSet",u.srcSet,u,null),d&&Qt(a,l,"src",u.src,u,null);return;case"input":Et("invalid",a);var V=b=D=y=null,Z=null,he=null;for(d in u)if(u.hasOwnProperty(d)){var be=u[d];if(be!=null)switch(d){case"name":y=be;break;case"type":D=be;break;case"checked":Z=be;break;case"defaultChecked":he=be;break;case"value":b=be;break;case"defaultValue":V=be;break;case"children":case"dangerouslySetInnerHTML":if(be!=null)throw Error(r(137,l));break;default:Qt(a,l,d,be,u,null)}}R0(a,b,V,Z,he,D,y,!1);return;case"select":Et("invalid",a),d=D=b=null;for(y in u)if(u.hasOwnProperty(y)&&(V=u[y],V!=null))switch(y){case"value":b=V;break;case"defaultValue":D=V;break;case"multiple":d=V;default:Qt(a,l,y,V,u,null)}l=b,u=D,a.multiple=!!d,l!=null?ds(a,!!d,l,!1):u!=null&&ds(a,!!d,u,!0);return;case"textarea":Et("invalid",a),b=y=d=null;for(D in u)if(u.hasOwnProperty(D)&&(V=u[D],V!=null))switch(D){case"value":d=V;break;case"defaultValue":y=V;break;case"children":b=V;break;case"dangerouslySetInnerHTML":if(V!=null)throw Error(r(91));break;default:Qt(a,l,D,V,u,null)}ml(a,d,y,b);return;case"option":for(Z in u)if(u.hasOwnProperty(Z)&&(d=u[Z],d!=null))switch(Z){case"selected":a.selected=d&&typeof d!="function"&&typeof d!="symbol";break;default:Qt(a,l,Z,d,u,null)}return;case"dialog":Et("beforetoggle",a),Et("toggle",a),Et("cancel",a),Et("close",a);break;case"iframe":case"object":Et("load",a);break;case"video":case"audio":for(d=0;d<cc.length;d++)Et(cc[d],a);break;case"image":Et("error",a),Et("load",a);break;case"details":Et("toggle",a);break;case"embed":case"source":case"link":Et("error",a),Et("load",a);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(he in u)if(u.hasOwnProperty(he)&&(d=u[he],d!=null))switch(he){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,l));default:Qt(a,l,he,d,u,null)}return;default:if(wt(l)){for(be in u)u.hasOwnProperty(be)&&(d=u[be],d!==void 0&&Tm(a,l,be,d,u,void 0));return}}for(V in u)u.hasOwnProperty(V)&&(d=u[V],d!=null&&Qt(a,l,V,d,u,null))}function qC(a,l,u,d){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var y=null,b=null,D=null,V=null,Z=null,he=null,be=null;for(me in u){var Ee=u[me];if(u.hasOwnProperty(me)&&Ee!=null)switch(me){case"checked":break;case"value":break;case"defaultValue":Z=Ee;default:d.hasOwnProperty(me)||Qt(a,l,me,null,d,Ee)}}for(var de in d){var me=d[de];if(Ee=u[de],d.hasOwnProperty(de)&&(me!=null||Ee!=null))switch(de){case"type":b=me;break;case"name":y=me;break;case"checked":he=me;break;case"defaultChecked":be=me;break;case"value":D=me;break;case"defaultValue":V=me;break;case"children":case"dangerouslySetInnerHTML":if(me!=null)throw Error(r(137,l));break;default:me!==Ee&&Qt(a,l,de,me,d,Ee)}}io(a,D,V,Z,he,be,b,y);return;case"select":me=D=V=de=null;for(b in u)if(Z=u[b],u.hasOwnProperty(b)&&Z!=null)switch(b){case"value":break;case"multiple":me=Z;default:d.hasOwnProperty(b)||Qt(a,l,b,null,d,Z)}for(y in d)if(b=d[y],Z=u[y],d.hasOwnProperty(y)&&(b!=null||Z!=null))switch(y){case"value":de=b;break;case"defaultValue":V=b;break;case"multiple":D=b;default:b!==Z&&Qt(a,l,y,b,d,Z)}l=V,u=D,d=me,de!=null?ds(a,!!u,de,!1):!!d!=!!u&&(l!=null?ds(a,!!u,l,!0):ds(a,!!u,u?[]:"",!1));return;case"textarea":me=de=null;for(V in u)if(y=u[V],u.hasOwnProperty(V)&&y!=null&&!d.hasOwnProperty(V))switch(V){case"value":break;case"children":break;default:Qt(a,l,V,null,d,y)}for(D in d)if(y=d[D],b=u[D],d.hasOwnProperty(D)&&(y!=null||b!=null))switch(D){case"value":de=y;break;case"defaultValue":me=y;break;case"children":break;case"dangerouslySetInnerHTML":if(y!=null)throw Error(r(91));break;default:y!==b&&Qt(a,l,D,y,d,b)}O0(a,de,me);return;case"option":for(var He in u)if(de=u[He],u.hasOwnProperty(He)&&de!=null&&!d.hasOwnProperty(He))switch(He){case"selected":a.selected=!1;break;default:Qt(a,l,He,null,d,de)}for(Z in d)if(de=d[Z],me=u[Z],d.hasOwnProperty(Z)&&de!==me&&(de!=null||me!=null))switch(Z){case"selected":a.selected=de&&typeof de!="function"&&typeof de!="symbol";break;default:Qt(a,l,Z,de,d,me)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var at in u)de=u[at],u.hasOwnProperty(at)&&de!=null&&!d.hasOwnProperty(at)&&Qt(a,l,at,null,d,de);for(he in d)if(de=d[he],me=u[he],d.hasOwnProperty(he)&&de!==me&&(de!=null||me!=null))switch(he){case"children":case"dangerouslySetInnerHTML":if(de!=null)throw Error(r(137,l));break;default:Qt(a,l,he,de,d,me)}return;default:if(wt(l)){for(var Zt in u)de=u[Zt],u.hasOwnProperty(Zt)&&de!==void 0&&!d.hasOwnProperty(Zt)&&Tm(a,l,Zt,void 0,d,de);for(be in d)de=d[be],me=u[be],!d.hasOwnProperty(be)||de===me||de===void 0&&me===void 0||Tm(a,l,be,de,d,me);return}}for(var se in u)de=u[se],u.hasOwnProperty(se)&&de!=null&&!d.hasOwnProperty(se)&&Qt(a,l,se,null,d,de);for(Ee in d)de=d[Ee],me=u[Ee],!d.hasOwnProperty(Ee)||de===me||de==null&&me==null||Qt(a,l,Ee,de,d,me)}function Tv(a){switch(a){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function UC(){if(typeof performance.getEntriesByType=="function"){for(var a=0,l=0,u=performance.getEntriesByType("resource"),d=0;d<u.length;d++){var y=u[d],b=y.transferSize,D=y.initiatorType,V=y.duration;if(b&&V&&Tv(D)){for(D=0,V=y.responseEnd,d+=1;d<u.length;d++){var Z=u[d],he=Z.startTime;if(he>V)break;var be=Z.transferSize,Ee=Z.initiatorType;be&&Tv(Ee)&&(Z=Z.responseEnd,D+=be*(Z<V?1:(V-he)/(Z-he)))}if(--d,l+=8*(b+D)/(y.duration/1e3),a++,10<a)break}}if(0<a)return l/a/1e6}return navigator.connection&&(a=navigator.connection.downlink,typeof a=="number")?a:5}var Mm=null,Nm=null;function Tf(a){return a.nodeType===9?a:a.ownerDocument}function Mv(a){switch(a){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Nv(a,l){if(a===0)switch(l){case"svg":return 1;case"math":return 2;default:return 0}return a===1&&l==="foreignObject"?0:a}function _m(a,l){return a==="textarea"||a==="noscript"||typeof l.children=="string"||typeof l.children=="number"||typeof l.children=="bigint"||typeof l.dangerouslySetInnerHTML=="object"&&l.dangerouslySetInnerHTML!==null&&l.dangerouslySetInnerHTML.__html!=null}var Dm=null;function HC(){var a=window.event;return a&&a.type==="popstate"?a===Dm?!1:(Dm=a,!0):(Dm=null,!1)}var _v=typeof setTimeout=="function"?setTimeout:void 0,GC=typeof clearTimeout=="function"?clearTimeout:void 0,Dv=typeof Promise=="function"?Promise:void 0,XC=typeof queueMicrotask=="function"?queueMicrotask:typeof Dv<"u"?function(a){return Dv.resolve(null).then(a).catch(YC)}:_v;function YC(a){setTimeout(function(){throw a})}function Rs(a){return a==="head"}function Rv(a,l){var u=l,d=0;do{var y=u.nextSibling;if(a.removeChild(u),y&&y.nodeType===8)if(u=y.data,u==="/$"||u==="/&"){if(d===0){a.removeChild(y),Io(l);return}d--}else if(u==="$"||u==="$?"||u==="$~"||u==="$!"||u==="&")d++;else if(u==="html")hc(a.ownerDocument.documentElement);else if(u==="head"){u=a.ownerDocument.head,hc(u);for(var b=u.firstChild;b;){var D=b.nextSibling,V=b.nodeName;b[fs]||V==="SCRIPT"||V==="STYLE"||V==="LINK"&&b.rel.toLowerCase()==="stylesheet"||u.removeChild(b),b=D}}else u==="body"&&hc(a.ownerDocument.body);u=y}while(u);Io(l)}function Ov(a,l){var u=a;a=0;do{var d=u.nextSibling;if(u.nodeType===1?l?(u._stashedDisplay=u.style.display,u.style.display="none"):(u.style.display=u._stashedDisplay||"",u.getAttribute("style")===""&&u.removeAttribute("style")):u.nodeType===3&&(l?(u._stashedText=u.nodeValue,u.nodeValue=""):u.nodeValue=u._stashedText||""),d&&d.nodeType===8)if(u=d.data,u==="/$"){if(a===0)break;a--}else u!=="$"&&u!=="$?"&&u!=="$~"&&u!=="$!"||a++;u=d}while(u)}function Rm(a){var l=a.firstChild;for(l&&l.nodeType===10&&(l=l.nextSibling);l;){var u=l;switch(l=l.nextSibling,u.nodeName){case"HTML":case"HEAD":case"BODY":Rm(u),to(u);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(u.rel.toLowerCase()==="stylesheet")continue}a.removeChild(u)}}function JC(a,l,u,d){for(;a.nodeType===1;){var y=u;if(a.nodeName.toLowerCase()!==l.toLowerCase()){if(!d&&(a.nodeName!=="INPUT"||a.type!=="hidden"))break}else if(d){if(!a[fs])switch(l){case"meta":if(!a.hasAttribute("itemprop"))break;return a;case"link":if(b=a.getAttribute("rel"),b==="stylesheet"&&a.hasAttribute("data-precedence"))break;if(b!==y.rel||a.getAttribute("href")!==(y.href==null||y.href===""?null:y.href)||a.getAttribute("crossorigin")!==(y.crossOrigin==null?null:y.crossOrigin)||a.getAttribute("title")!==(y.title==null?null:y.title))break;return a;case"style":if(a.hasAttribute("data-precedence"))break;return a;case"script":if(b=a.getAttribute("src"),(b!==(y.src==null?null:y.src)||a.getAttribute("type")!==(y.type==null?null:y.type)||a.getAttribute("crossorigin")!==(y.crossOrigin==null?null:y.crossOrigin))&&b&&a.hasAttribute("async")&&!a.hasAttribute("itemprop"))break;return a;default:return a}}else if(l==="input"&&a.type==="hidden"){var b=y.name==null?null:""+y.name;if(y.type==="hidden"&&a.getAttribute("name")===b)return a}else return a;if(a=mi(a.nextSibling),a===null)break}return null}function $C(a,l,u){if(l==="")return null;for(;a.nodeType!==3;)if((a.nodeType!==1||a.nodeName!=="INPUT"||a.type!=="hidden")&&!u||(a=mi(a.nextSibling),a===null))return null;return a}function Iv(a,l){for(;a.nodeType!==8;)if((a.nodeType!==1||a.nodeName!=="INPUT"||a.type!=="hidden")&&!l||(a=mi(a.nextSibling),a===null))return null;return a}function Om(a){return a.data==="$?"||a.data==="$~"}function Im(a){return a.data==="$!"||a.data==="$?"&&a.ownerDocument.readyState!=="loading"}function WC(a,l){var u=a.ownerDocument;if(a.data==="$~")a._reactRetry=l;else if(a.data!=="$?"||u.readyState!=="loading")l();else{var d=function(){l(),u.removeEventListener("DOMContentLoaded",d)};u.addEventListener("DOMContentLoaded",d),a._reactRetry=d}}function mi(a){for(;a!=null;a=a.nextSibling){var l=a.nodeType;if(l===1||l===3)break;if(l===8){if(l=a.data,l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"||l==="F!"||l==="F")break;if(l==="/$"||l==="/&")return null}}return a}var Lm=null;function Lv(a){a=a.nextSibling;for(var l=0;a;){if(a.nodeType===8){var u=a.data;if(u==="/$"||u==="/&"){if(l===0)return mi(a.nextSibling);l--}else u!=="$"&&u!=="$!"&&u!=="$?"&&u!=="$~"&&u!=="&"||l++}a=a.nextSibling}return null}function zv(a){a=a.previousSibling;for(var l=0;a;){if(a.nodeType===8){var u=a.data;if(u==="$"||u==="$!"||u==="$?"||u==="$~"||u==="&"){if(l===0)return a;l--}else u!=="/$"&&u!=="/&"||l++}a=a.previousSibling}return null}function Pv(a,l,u){switch(l=Tf(u),a){case"html":if(a=l.documentElement,!a)throw Error(r(452));return a;case"head":if(a=l.head,!a)throw Error(r(453));return a;case"body":if(a=l.body,!a)throw Error(r(454));return a;default:throw Error(r(451))}}function hc(a){for(var l=a.attributes;l.length;)a.removeAttributeNode(l[0]);to(a)}var gi=new Map,Bv=new Set;function Mf(a){return typeof a.getRootNode=="function"?a.getRootNode():a.nodeType===9?a:a.ownerDocument}var ja=oe.d;oe.d={f:KC,r:QC,D:ZC,C:eA,L:tA,m:nA,X:iA,S:rA,M:aA};function KC(){var a=ja.f(),l=vf();return a||l}function QC(a){var l=wa(a);l!==null&&l.tag===5&&l.type==="form"?t4(l):ja.r(a)}var Do=typeof document>"u"?null:document;function jv(a,l,u){var d=Do;if(d&&typeof l=="string"&&l){var y=Er(l);y='link[rel="'+a+'"][href="'+y+'"]',typeof u=="string"&&(y+='[crossorigin="'+u+'"]'),Bv.has(y)||(Bv.add(y),a={rel:a,crossOrigin:u,href:l},d.querySelector(y)===null&&(l=d.createElement("link"),tr(l,"link",a),Dn(l),d.head.appendChild(l)))}}function ZC(a){ja.D(a),jv("dns-prefetch",a,null)}function eA(a,l){ja.C(a,l),jv("preconnect",a,l)}function tA(a,l,u){ja.L(a,l,u);var d=Do;if(d&&a&&l){var y='link[rel="preload"][as="'+Er(l)+'"]';l==="image"&&u&&u.imageSrcSet?(y+='[imagesrcset="'+Er(u.imageSrcSet)+'"]',typeof u.imageSizes=="string"&&(y+='[imagesizes="'+Er(u.imageSizes)+'"]')):y+='[href="'+Er(a)+'"]';var b=y;switch(l){case"style":b=Ro(a);break;case"script":b=Oo(a)}gi.has(b)||(a=m({rel:"preload",href:l==="image"&&u&&u.imageSrcSet?void 0:a,as:l},u),gi.set(b,a),d.querySelector(y)!==null||l==="style"&&d.querySelector(pc(b))||l==="script"&&d.querySelector(dc(b))||(l=d.createElement("link"),tr(l,"link",a),Dn(l),d.head.appendChild(l)))}}function nA(a,l){ja.m(a,l);var u=Do;if(u&&a){var d=l&&typeof l.as=="string"?l.as:"script",y='link[rel="modulepreload"][as="'+Er(d)+'"][href="'+Er(a)+'"]',b=y;switch(d){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":b=Oo(a)}if(!gi.has(b)&&(a=m({rel:"modulepreload",href:a},l),gi.set(b,a),u.querySelector(y)===null)){switch(d){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(u.querySelector(dc(b)))return}d=u.createElement("link"),tr(d,"link",a),Dn(d),u.head.appendChild(d)}}}function rA(a,l,u){ja.S(a,l,u);var d=Do;if(d&&a){var y=ps(d).hoistableStyles,b=Ro(a);l=l||"default";var D=y.get(b);if(!D){var V={loading:0,preload:null};if(D=d.querySelector(pc(b)))V.loading=5;else{a=m({rel:"stylesheet",href:a,"data-precedence":l},u),(u=gi.get(b))&&zm(a,u);var Z=D=d.createElement("link");Dn(Z),tr(Z,"link",a),Z._p=new Promise(function(he,be){Z.onload=he,Z.onerror=be}),Z.addEventListener("load",function(){V.loading|=1}),Z.addEventListener("error",function(){V.loading|=2}),V.loading|=4,Nf(D,l,d)}D={type:"stylesheet",instance:D,count:1,state:V},y.set(b,D)}}}function iA(a,l){ja.X(a,l);var u=Do;if(u&&a){var d=ps(u).hoistableScripts,y=Oo(a),b=d.get(y);b||(b=u.querySelector(dc(y)),b||(a=m({src:a,async:!0},l),(l=gi.get(y))&&Pm(a,l),b=u.createElement("script"),Dn(b),tr(b,"link",a),u.head.appendChild(b)),b={type:"script",instance:b,count:1,state:null},d.set(y,b))}}function aA(a,l){ja.M(a,l);var u=Do;if(u&&a){var d=ps(u).hoistableScripts,y=Oo(a),b=d.get(y);b||(b=u.querySelector(dc(y)),b||(a=m({src:a,async:!0,type:"module"},l),(l=gi.get(y))&&Pm(a,l),b=u.createElement("script"),Dn(b),tr(b,"link",a),u.head.appendChild(b)),b={type:"script",instance:b,count:1,state:null},d.set(y,b))}}function Fv(a,l,u,d){var y=(y=ze.current)?Mf(y):null;if(!y)throw Error(r(446));switch(a){case"meta":case"title":return null;case"style":return typeof u.precedence=="string"&&typeof u.href=="string"?(l=Ro(u.href),u=ps(y).hoistableStyles,d=u.get(l),d||(d={type:"style",instance:null,count:0,state:null},u.set(l,d)),d):{type:"void",instance:null,count:0,state:null};case"link":if(u.rel==="stylesheet"&&typeof u.href=="string"&&typeof u.precedence=="string"){a=Ro(u.href);var b=ps(y).hoistableStyles,D=b.get(a);if(D||(y=y.ownerDocument||y,D={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},b.set(a,D),(b=y.querySelector(pc(a)))&&!b._p&&(D.instance=b,D.state.loading=5),gi.has(a)||(u={rel:"preload",as:"style",href:u.href,crossOrigin:u.crossOrigin,integrity:u.integrity,media:u.media,hrefLang:u.hrefLang,referrerPolicy:u.referrerPolicy},gi.set(a,u),b||sA(y,a,u,D.state))),l&&d===null)throw Error(r(528,""));return D}if(l&&d!==null)throw Error(r(529,""));return null;case"script":return l=u.async,u=u.src,typeof u=="string"&&l&&typeof l!="function"&&typeof l!="symbol"?(l=Oo(u),u=ps(y).hoistableScripts,d=u.get(l),d||(d={type:"script",instance:null,count:0,state:null},u.set(l,d)),d):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,a))}}function Ro(a){return'href="'+Er(a)+'"'}function pc(a){return'link[rel="stylesheet"]['+a+"]"}function Vv(a){return m({},a,{"data-precedence":a.precedence,precedence:null})}function sA(a,l,u,d){a.querySelector('link[rel="preload"][as="style"]['+l+"]")?d.loading=1:(l=a.createElement("link"),d.preload=l,l.addEventListener("load",function(){return d.loading|=1}),l.addEventListener("error",function(){return d.loading|=2}),tr(l,"link",u),Dn(l),a.head.appendChild(l))}function Oo(a){return'[src="'+Er(a)+'"]'}function dc(a){return"script[async]"+a}function qv(a,l,u){if(l.count++,l.instance===null)switch(l.type){case"style":var d=a.querySelector('style[data-href~="'+Er(u.href)+'"]');if(d)return l.instance=d,Dn(d),d;var y=m({},u,{"data-href":u.href,"data-precedence":u.precedence,href:null,precedence:null});return d=(a.ownerDocument||a).createElement("style"),Dn(d),tr(d,"style",y),Nf(d,u.precedence,a),l.instance=d;case"stylesheet":y=Ro(u.href);var b=a.querySelector(pc(y));if(b)return l.state.loading|=4,l.instance=b,Dn(b),b;d=Vv(u),(y=gi.get(y))&&zm(d,y),b=(a.ownerDocument||a).createElement("link"),Dn(b);var D=b;return D._p=new Promise(function(V,Z){D.onload=V,D.onerror=Z}),tr(b,"link",d),l.state.loading|=4,Nf(b,u.precedence,a),l.instance=b;case"script":return b=Oo(u.src),(y=a.querySelector(dc(b)))?(l.instance=y,Dn(y),y):(d=u,(y=gi.get(b))&&(d=m({},u),Pm(d,y)),a=a.ownerDocument||a,y=a.createElement("script"),Dn(y),tr(y,"link",d),a.head.appendChild(y),l.instance=y);case"void":return null;default:throw Error(r(443,l.type))}else l.type==="stylesheet"&&(l.state.loading&4)===0&&(d=l.instance,l.state.loading|=4,Nf(d,u.precedence,a));return l.instance}function Nf(a,l,u){for(var d=u.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),y=d.length?d[d.length-1]:null,b=y,D=0;D<d.length;D++){var V=d[D];if(V.dataset.precedence===l)b=V;else if(b!==y)break}b?b.parentNode.insertBefore(a,b.nextSibling):(l=u.nodeType===9?u.head:u,l.insertBefore(a,l.firstChild))}function zm(a,l){a.crossOrigin==null&&(a.crossOrigin=l.crossOrigin),a.referrerPolicy==null&&(a.referrerPolicy=l.referrerPolicy),a.title==null&&(a.title=l.title)}function Pm(a,l){a.crossOrigin==null&&(a.crossOrigin=l.crossOrigin),a.referrerPolicy==null&&(a.referrerPolicy=l.referrerPolicy),a.integrity==null&&(a.integrity=l.integrity)}var _f=null;function Uv(a,l,u){if(_f===null){var d=new Map,y=_f=new Map;y.set(u,d)}else y=_f,d=y.get(u),d||(d=new Map,y.set(u,d));if(d.has(a))return d;for(d.set(a,null),u=u.getElementsByTagName(a),y=0;y<u.length;y++){var b=u[y];if(!(b[fs]||b[_n]||a==="link"&&b.getAttribute("rel")==="stylesheet")&&b.namespaceURI!=="http://www.w3.org/2000/svg"){var D=b.getAttribute(l)||"";D=a+D;var V=d.get(D);V?V.push(b):d.set(D,[b])}}return d}function Hv(a,l,u){a=a.ownerDocument||a,a.head.insertBefore(u,l==="title"?a.querySelector("head > title"):null)}function lA(a,l,u){if(u===1||l.itemProp!=null)return!1;switch(a){case"meta":case"title":return!0;case"style":if(typeof l.precedence!="string"||typeof l.href!="string"||l.href==="")break;return!0;case"link":if(typeof l.rel!="string"||typeof l.href!="string"||l.href===""||l.onLoad||l.onError)break;switch(l.rel){case"stylesheet":return a=l.disabled,typeof l.precedence=="string"&&a==null;default:return!0}case"script":if(l.async&&typeof l.async!="function"&&typeof l.async!="symbol"&&!l.onLoad&&!l.onError&&l.src&&typeof l.src=="string")return!0}return!1}function Gv(a){return!(a.type==="stylesheet"&&(a.state.loading&3)===0)}function oA(a,l,u,d){if(u.type==="stylesheet"&&(typeof d.media!="string"||matchMedia(d.media).matches!==!1)&&(u.state.loading&4)===0){if(u.instance===null){var y=Ro(d.href),b=l.querySelector(pc(y));if(b){l=b._p,l!==null&&typeof l=="object"&&typeof l.then=="function"&&(a.count++,a=Df.bind(a),l.then(a,a)),u.state.loading|=4,u.instance=b,Dn(b);return}b=l.ownerDocument||l,d=Vv(d),(y=gi.get(y))&&zm(d,y),b=b.createElement("link"),Dn(b);var D=b;D._p=new Promise(function(V,Z){D.onload=V,D.onerror=Z}),tr(b,"link",d),u.instance=b}a.stylesheets===null&&(a.stylesheets=new Map),a.stylesheets.set(u,l),(l=u.state.preload)&&(u.state.loading&3)===0&&(a.count++,u=Df.bind(a),l.addEventListener("load",u),l.addEventListener("error",u))}}var Bm=0;function uA(a,l){return a.stylesheets&&a.count===0&&Of(a,a.stylesheets),0<a.count||0<a.imgCount?function(u){var d=setTimeout(function(){if(a.stylesheets&&Of(a,a.stylesheets),a.unsuspend){var b=a.unsuspend;a.unsuspend=null,b()}},6e4+l);0<a.imgBytes&&Bm===0&&(Bm=62500*UC());var y=setTimeout(function(){if(a.waitingForImages=!1,a.count===0&&(a.stylesheets&&Of(a,a.stylesheets),a.unsuspend)){var b=a.unsuspend;a.unsuspend=null,b()}},(a.imgBytes>Bm?50:800)+l);return a.unsuspend=u,function(){a.unsuspend=null,clearTimeout(d),clearTimeout(y)}}:null}function Df(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Of(this,this.stylesheets);else if(this.unsuspend){var a=this.unsuspend;this.unsuspend=null,a()}}}var Rf=null;function Of(a,l){a.stylesheets=null,a.unsuspend!==null&&(a.count++,Rf=new Map,l.forEach(cA,a),Rf=null,Df.call(a))}function cA(a,l){if(!(l.state.loading&4)){var u=Rf.get(a);if(u)var d=u.get(null);else{u=new Map,Rf.set(a,u);for(var y=a.querySelectorAll("link[data-precedence],style[data-precedence]"),b=0;b<y.length;b++){var D=y[b];(D.nodeName==="LINK"||D.getAttribute("media")!=="not all")&&(u.set(D.dataset.precedence,D),d=D)}d&&u.set(null,d)}y=l.instance,D=y.getAttribute("data-precedence"),b=u.get(D)||d,b===d&&u.set(null,y),u.set(D,y),this.count++,d=Df.bind(this),y.addEventListener("load",d),y.addEventListener("error",d),b?b.parentNode.insertBefore(y,b.nextSibling):(a=a.nodeType===9?a.head:a,a.insertBefore(y,a.firstChild)),l.state.loading|=4}}var mc={$$typeof:R,Provider:null,Consumer:null,_currentValue:le,_currentValue2:le,_threadCount:0};function fA(a,l,u,d,y,b,D,V,Z){this.tag=1,this.containerInfo=a,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=wu(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=wu(0),this.hiddenUpdates=wu(null),this.identifierPrefix=d,this.onUncaughtError=y,this.onCaughtError=b,this.onRecoverableError=D,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=Z,this.incompleteTransitions=new Map}function Xv(a,l,u,d,y,b,D,V,Z,he,be,Ee){return a=new fA(a,l,u,D,Z,he,be,Ee,V),l=1,b===!0&&(l|=24),b=Xr(3,null,null,l),a.current=b,b.stateNode=a,l=xd(),l.refCount++,a.pooledCache=l,l.refCount++,b.memoizedState={element:d,isDehydrated:u,cache:l},wd(b),a}function Yv(a){return a?(a=uo,a):uo}function Jv(a,l,u,d,y,b){y=Yv(y),d.context===null?d.context=y:d.pendingContext=y,d=ws(l),d.payload={element:u},b=b===void 0?null:b,b!==null&&(d.callback=b),u=Ss(a,d,l),u!==null&&(_r(u,a,l),Yu(u,a,l))}function $v(a,l){if(a=a.memoizedState,a!==null&&a.dehydrated!==null){var u=a.retryLane;a.retryLane=u!==0&&u<l?u:l}}function jm(a,l){$v(a,l),(a=a.alternate)&&$v(a,l)}function Wv(a){if(a.tag===13||a.tag===31){var l=bl(a,67108864);l!==null&&_r(l,a,67108864),jm(a,67108864)}}function Kv(a){if(a.tag===13||a.tag===31){var l=Kr();l=eo(l);var u=bl(a,l);u!==null&&_r(u,a,l),jm(a,l)}}var If=!0;function hA(a,l,u,d){var y=ee.T;ee.T=null;var b=oe.p;try{oe.p=2,Fm(a,l,u,d)}finally{oe.p=b,ee.T=y}}function pA(a,l,u,d){var y=ee.T;ee.T=null;var b=oe.p;try{oe.p=8,Fm(a,l,u,d)}finally{oe.p=b,ee.T=y}}function Fm(a,l,u,d){if(If){var y=Vm(d);if(y===null)Am(a,l,d,Lf,u),Zv(a,d);else if(mA(y,a,l,u,d))d.stopPropagation();else if(Zv(a,d),l&4&&-1<dA.indexOf(a)){for(;y!==null;){var b=wa(y);if(b!==null)switch(b.tag){case 3:if(b=b.stateNode,b.current.memoizedState.isDehydrated){var D=Ct(b.pendingLanes);if(D!==0){var V=b;for(V.pendingLanes|=2,V.entangledLanes|=2;D;){var Z=1<<31-Nt(D);V.entanglements[1]|=Z,D&=~Z}Zi(b),(Vt&6)===0&&(xf=pt()+500,uc(0))}}break;case 31:case 13:V=bl(b,2),V!==null&&_r(V,b,2),vf(),jm(b,2)}if(b=Vm(d),b===null&&Am(a,l,d,Lf,u),b===y)break;y=b}y!==null&&d.stopPropagation()}else Am(a,l,d,null,u)}}function Vm(a){return a=Ou(a),qm(a)}var Lf=null;function qm(a){if(Lf=null,a=ba(a),a!==null){var l=s(a);if(l===null)a=null;else{var u=l.tag;if(u===13){if(a=o(l),a!==null)return a;a=null}else if(u===31){if(a=c(l),a!==null)return a;a=null}else if(u===3){if(l.stateNode.current.memoizedState.isDehydrated)return l.tag===3?l.stateNode.containerInfo:null;a=null}else l!==a&&(a=null)}}return Lf=a,null}function Qv(a){switch(a){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(ai()){case ve:return 2;case ye:return 8;case G:case $e:return 32;case gt:return 268435456;default:return 32}default:return 32}}var Um=!1,Os=null,Is=null,Ls=null,gc=new Map,xc=new Map,zs=[],dA="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Zv(a,l){switch(a){case"focusin":case"focusout":Os=null;break;case"dragenter":case"dragleave":Is=null;break;case"mouseover":case"mouseout":Ls=null;break;case"pointerover":case"pointerout":gc.delete(l.pointerId);break;case"gotpointercapture":case"lostpointercapture":xc.delete(l.pointerId)}}function yc(a,l,u,d,y,b){return a===null||a.nativeEvent!==b?(a={blockedOn:l,domEventName:u,eventSystemFlags:d,nativeEvent:b,targetContainers:[y]},l!==null&&(l=wa(l),l!==null&&Wv(l)),a):(a.eventSystemFlags|=d,l=a.targetContainers,y!==null&&l.indexOf(y)===-1&&l.push(y),a)}function mA(a,l,u,d,y){switch(l){case"focusin":return Os=yc(Os,a,l,u,d,y),!0;case"dragenter":return Is=yc(Is,a,l,u,d,y),!0;case"mouseover":return Ls=yc(Ls,a,l,u,d,y),!0;case"pointerover":var b=y.pointerId;return gc.set(b,yc(gc.get(b)||null,a,l,u,d,y)),!0;case"gotpointercapture":return b=y.pointerId,xc.set(b,yc(xc.get(b)||null,a,l,u,d,y)),!0}return!1}function eb(a){var l=ba(a.target);if(l!==null){var u=s(l);if(u!==null){if(l=u.tag,l===13){if(l=o(u),l!==null){a.blockedOn=l,Eu(a.priority,function(){Kv(u)});return}}else if(l===31){if(l=c(u),l!==null){a.blockedOn=l,Eu(a.priority,function(){Kv(u)});return}}else if(l===3&&u.stateNode.current.memoizedState.isDehydrated){a.blockedOn=u.tag===3?u.stateNode.containerInfo:null;return}}}a.blockedOn=null}function zf(a){if(a.blockedOn!==null)return!1;for(var l=a.targetContainers;0<l.length;){var u=Vm(a.nativeEvent);if(u===null){u=a.nativeEvent;var d=new u.constructor(u.type,u);Ru=d,u.target.dispatchEvent(d),Ru=null}else return l=wa(u),l!==null&&Wv(l),a.blockedOn=u,!1;l.shift()}return!0}function tb(a,l,u){zf(a)&&u.delete(l)}function gA(){Um=!1,Os!==null&&zf(Os)&&(Os=null),Is!==null&&zf(Is)&&(Is=null),Ls!==null&&zf(Ls)&&(Ls=null),gc.forEach(tb),xc.forEach(tb)}function Pf(a,l){a.blockedOn===l&&(a.blockedOn=null,Um||(Um=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,gA)))}var Bf=null;function nb(a){Bf!==a&&(Bf=a,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){Bf===a&&(Bf=null);for(var l=0;l<a.length;l+=3){var u=a[l],d=a[l+1],y=a[l+2];if(typeof d!="function"){if(qm(d||u)===null)continue;break}var b=wa(u);b!==null&&(a.splice(l,3),l-=3,Vd(b,{pending:!0,data:y,method:u.method,action:d},d,y))}}))}function Io(a){function l(Z){return Pf(Z,a)}Os!==null&&Pf(Os,a),Is!==null&&Pf(Is,a),Ls!==null&&Pf(Ls,a),gc.forEach(l),xc.forEach(l);for(var u=0;u<zs.length;u++){var d=zs[u];d.blockedOn===a&&(d.blockedOn=null)}for(;0<zs.length&&(u=zs[0],u.blockedOn===null);)eb(u),u.blockedOn===null&&zs.shift();if(u=(a.ownerDocument||a).$$reactFormReplay,u!=null)for(d=0;d<u.length;d+=3){var y=u[d],b=u[d+1],D=y[Kn]||null;if(typeof b=="function")D||nb(u);else if(D){var V=null;if(b&&b.hasAttribute("formAction")){if(y=b,D=b[Kn]||null)V=D.formAction;else if(qm(y)!==null)continue}else V=D.action;typeof V=="function"?u[d+1]=V:(u.splice(d,3),d-=3),nb(u)}}}function rb(){function a(b){b.canIntercept&&b.info==="react-transition"&&b.intercept({handler:function(){return new Promise(function(D){return y=D})},focusReset:"manual",scroll:"manual"})}function l(){y!==null&&(y(),y=null),d||setTimeout(u,20)}function u(){if(!d&&!navigation.transition){var b=navigation.currentEntry;b&&b.url!=null&&navigation.navigate(b.url,{state:b.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var d=!1,y=null;return navigation.addEventListener("navigate",a),navigation.addEventListener("navigatesuccess",l),navigation.addEventListener("navigateerror",l),setTimeout(u,100),function(){d=!0,navigation.removeEventListener("navigate",a),navigation.removeEventListener("navigatesuccess",l),navigation.removeEventListener("navigateerror",l),y!==null&&(y(),y=null)}}}function Hm(a){this._internalRoot=a}jf.prototype.render=Hm.prototype.render=function(a){var l=this._internalRoot;if(l===null)throw Error(r(409));var u=l.current,d=Kr();Jv(u,d,a,l,null,null)},jf.prototype.unmount=Hm.prototype.unmount=function(){var a=this._internalRoot;if(a!==null){this._internalRoot=null;var l=a.containerInfo;Jv(a.current,2,null,a,null,null),vf(),l[cs]=null}};function jf(a){this._internalRoot=a}jf.prototype.unstable_scheduleHydration=function(a){if(a){var l=ku();a={blockedOn:null,target:a,priority:l};for(var u=0;u<zs.length&&l!==0&&l<zs[u].priority;u++);zs.splice(u,0,a),u===0&&eb(a)}};var ib=t.version;if(ib!=="19.2.1")throw Error(r(527,ib,"19.2.1"));oe.findDOMNode=function(a){var l=a._reactInternals;if(l===void 0)throw typeof a.render=="function"?Error(r(188)):(a=Object.keys(a).join(","),Error(r(268,a)));return a=h(l),a=a!==null?g(a):null,a=a===null?null:a.stateNode,a};var xA={bundleType:0,version:"19.2.1",rendererPackageName:"react-dom",currentDispatcherRef:ee,reconcilerVersion:"19.2.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ff=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ff.isDisabled&&Ff.supportsFiber)try{un=Ff.inject(xA),pn=Ff}catch{}}return bc.createRoot=function(a,l){if(!i(a))throw Error(r(299));var u=!1,d="",y=f4,b=h4,D=p4;return l!=null&&(l.unstable_strictMode===!0&&(u=!0),l.identifierPrefix!==void 0&&(d=l.identifierPrefix),l.onUncaughtError!==void 0&&(y=l.onUncaughtError),l.onCaughtError!==void 0&&(b=l.onCaughtError),l.onRecoverableError!==void 0&&(D=l.onRecoverableError)),l=Xv(a,1,!1,null,null,u,d,null,y,b,D,rb),a[cs]=l.current,Cm(a),new Hm(l)},bc.hydrateRoot=function(a,l,u){if(!i(a))throw Error(r(299));var d=!1,y="",b=f4,D=h4,V=p4,Z=null;return u!=null&&(u.unstable_strictMode===!0&&(d=!0),u.identifierPrefix!==void 0&&(y=u.identifierPrefix),u.onUncaughtError!==void 0&&(b=u.onUncaughtError),u.onCaughtError!==void 0&&(D=u.onCaughtError),u.onRecoverableError!==void 0&&(V=u.onRecoverableError),u.formState!==void 0&&(Z=u.formState)),l=Xv(a,1,!0,l,u??null,d,y,Z,b,D,V,rb),l.context=Yv(null),u=l.current,d=Kr(),d=eo(d),y=ws(d),y.callback=null,Ss(u,y,d),u=d,l.current.lanes=u,Yi(l,u),Zi(l),a[cs]=l.current,Cm(a),new jf(l)},bc.version="19.2.1",bc}var mb;function _A(){if(mb)return Jm.exports;mb=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Jm.exports=NA(),Jm.exports}var DA=_A();/**
50
- * react-router v7.10.1
51
- *
52
- * Copyright (c) Remix Software Inc.
53
- *
54
- * This source code is licensed under the MIT license found in the
55
- * LICENSE.md file in the root directory of this source tree.
56
- *
57
- * @license MIT
58
- */var gb="popstate";function RA(e={}){function t(r,i){let{pathname:s,search:o,hash:c}=r.location;return ug("",{pathname:s,search:o,hash:c},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:Hc(i)}return IA(t,n,null,e)}function xn(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Ai(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function OA(){return Math.random().toString(36).substring(2,10)}function xb(e,t){return{usr:e.state,key:e.key,idx:t}}function ug(e,t,n=null,r){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?su(t):t,state:n,key:t&&t.key||r||OA()}}function Hc({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function su(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function IA(e,t,n,r={}){let{window:i=document.defaultView,v5Compat:s=!1}=r,o=i.history,c="POP",f=null,h=g();h==null&&(h=0,o.replaceState({...o.state,idx:h},""));function g(){return(o.state||{idx:null}).idx}function m(){c="POP";let T=g(),C=T==null?null:T-h;h=T,f&&f({action:c,location:k.location,delta:C})}function x(T,C){c="PUSH";let M=ug(k.location,T,C);h=g()+1;let R=xb(M,h),j=k.createHref(M);try{o.pushState(R,"",j)}catch(L){if(L instanceof DOMException&&L.name==="DataCloneError")throw L;i.location.assign(j)}s&&f&&f({action:c,location:k.location,delta:1})}function v(T,C){c="REPLACE";let M=ug(k.location,T,C);h=g();let R=xb(M,h),j=k.createHref(M);o.replaceState(R,"",j),s&&f&&f({action:c,location:k.location,delta:0})}function E(T){return LA(T)}let k={get action(){return c},get location(){return e(i,o)},listen(T){if(f)throw new Error("A history only accepts one active listener");return i.addEventListener(gb,m),f=T,()=>{i.removeEventListener(gb,m),f=null}},createHref(T){return t(i,T)},createURL:E,encodeLocation(T){let C=E(T);return{pathname:C.pathname,search:C.search,hash:C.hash}},push:x,replace:v,go(T){return o.go(T)}};return k}function LA(e,t=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),xn(n,"No window.location.(origin|href) available to create URL");let r=typeof e=="string"?e:Hc(e);return r=r.replace(/ $/,"%20"),!t&&r.startsWith("//")&&(r=n+r),new URL(r,n)}function $5(e,t,n="/"){return zA(e,t,n,!1)}function zA(e,t,n,r){let i=typeof t=="string"?su(t):t,s=$a(i.pathname||"/",n);if(s==null)return null;let o=W5(e);PA(o);let c=null;for(let f=0;c==null&&f<o.length;++f){let h=JA(s);c=XA(o[f],h,r)}return c}function W5(e,t=[],n=[],r="",i=!1){let s=(o,c,f=i,h)=>{let g={relativePath:h===void 0?o.path||"":h,caseSensitive:o.caseSensitive===!0,childrenIndex:c,route:o};if(g.relativePath.startsWith("/")){if(!g.relativePath.startsWith(r)&&f)return;xn(g.relativePath.startsWith(r),`Absolute route path "${g.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),g.relativePath=g.relativePath.slice(r.length)}let m=Xa([r,g.relativePath]),x=n.concat(g);o.children&&o.children.length>0&&(xn(o.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${m}".`),W5(o.children,t,x,m,f)),!(o.path==null&&!o.index)&&t.push({path:m,score:HA(m,o.index),routesMeta:x})};return e.forEach((o,c)=>{var f;if(o.path===""||!((f=o.path)!=null&&f.includes("?")))s(o,c);else for(let h of K5(o.path))s(o,c,!0,h)}),t}function K5(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),s=n.replace(/\?$/,"");if(r.length===0)return i?[s,""]:[s];let o=K5(r.join("/")),c=[];return c.push(...o.map(f=>f===""?s:[s,f].join("/"))),i&&c.push(...o),c.map(f=>e.startsWith("/")&&f===""?"/":f)}function PA(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:GA(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var BA=/^:[\w-]+$/,jA=3,FA=2,VA=1,qA=10,UA=-2,yb=e=>e==="*";function HA(e,t){let n=e.split("/"),r=n.length;return n.some(yb)&&(r+=UA),t&&(r+=FA),n.filter(i=>!yb(i)).reduce((i,s)=>i+(BA.test(s)?jA:s===""?VA:qA),r)}function GA(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function XA(e,t,n=!1){let{routesMeta:r}=e,i={},s="/",o=[];for(let c=0;c<r.length;++c){let f=r[c],h=c===r.length-1,g=s==="/"?t:t.slice(s.length)||"/",m=Ah({path:f.relativePath,caseSensitive:f.caseSensitive,end:h},g),x=f.route;if(!m&&h&&n&&!r[r.length-1].route.index&&(m=Ah({path:f.relativePath,caseSensitive:f.caseSensitive,end:!1},g)),!m)return null;Object.assign(i,m.params),o.push({params:i,pathname:Xa([s,m.pathname]),pathnameBase:ZA(Xa([s,m.pathnameBase])),route:x}),m.pathnameBase!=="/"&&(s=Xa([s,m.pathnameBase]))}return o}function Ah(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=YA(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let s=i[0],o=s.replace(/(.)\/+$/,"$1"),c=i.slice(1);return{params:r.reduce((h,{paramName:g,isOptional:m},x)=>{if(g==="*"){let E=c[x]||"";o=s.slice(0,s.length-E.length).replace(/(.)\/+$/,"$1")}const v=c[x];return m&&!v?h[g]=void 0:h[g]=(v||"").replace(/%2F/g,"/"),h},{}),pathname:s,pathnameBase:o,pattern:e}}function YA(e,t=!1,n=!0){Ai(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,c,f)=>(r.push({paramName:c,isOptional:f!=null}),f?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function JA(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Ai(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function $a(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}var $A=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,WA=e=>$A.test(e);function KA(e,t="/"){let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?su(e):e,s;if(n)if(WA(n))s=n;else{if(n.includes("//")){let o=n;n=n.replace(/\/\/+/g,"/"),Ai(!1,`Pathnames cannot have embedded double slashes - normalizing ${o} -> ${n}`)}n.startsWith("/")?s=vb(n.substring(1),"/"):s=vb(n,t)}else s=t;return{pathname:s,search:eT(r),hash:tT(i)}}function vb(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function Qm(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function QA(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Q5(e){let t=QA(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function Z5(e,t,n,r=!1){let i;typeof e=="string"?i=su(e):(i={...e},xn(!i.pathname||!i.pathname.includes("?"),Qm("?","pathname","search",i)),xn(!i.pathname||!i.pathname.includes("#"),Qm("#","pathname","hash",i)),xn(!i.search||!i.search.includes("#"),Qm("#","search","hash",i)));let s=e===""||i.pathname==="",o=s?"/":i.pathname,c;if(o==null)c=n;else{let m=t.length-1;if(!r&&o.startsWith("..")){let x=o.split("/");for(;x[0]==="..";)x.shift(),m-=1;i.pathname=x.join("/")}c=m>=0?t[m]:"/"}let f=KA(i,c),h=o&&o!=="/"&&o.endsWith("/"),g=(s||o===".")&&n.endsWith("/");return!f.pathname.endsWith("/")&&(h||g)&&(f.pathname+="/"),f}var Xa=e=>e.join("/").replace(/\/\/+/g,"/"),ZA=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),eT=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,tT=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function nT(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function rT(e){return e.map(t=>t.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var e7=["POST","PUT","PATCH","DELETE"];new Set(e7);var iT=["GET",...e7];new Set(iT);var lu=I.createContext(null);lu.displayName="DataRouter";var sp=I.createContext(null);sp.displayName="DataRouterState";I.createContext(!1);var t7=I.createContext({isTransitioning:!1});t7.displayName="ViewTransition";var aT=I.createContext(new Map);aT.displayName="Fetchers";var sT=I.createContext(null);sT.displayName="Await";var Gi=I.createContext(null);Gi.displayName="Navigation";var c0=I.createContext(null);c0.displayName="Location";var ha=I.createContext({outlet:null,matches:[],isDataRoute:!1});ha.displayName="Route";var ix=I.createContext(null);ix.displayName="RouteError";function lT(e,{relative:t}={}){xn(f0(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:r}=I.useContext(Gi),{hash:i,pathname:s,search:o}=h0(e,{relative:t}),c=s;return n!=="/"&&(c=s==="/"?n:Xa([n,s])),r.createHref({pathname:c,search:o,hash:i})}function f0(){return I.useContext(c0)!=null}function ul(){return xn(f0(),"useLocation() may be used only in the context of a <Router> component."),I.useContext(c0).location}var n7="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function r7(e){I.useContext(Gi).static||I.useLayoutEffect(e)}function i7(){let{isDataRoute:e}=I.useContext(ha);return e?bT():oT()}function oT(){xn(f0(),"useNavigate() may be used only in the context of a <Router> component.");let e=I.useContext(lu),{basename:t,navigator:n}=I.useContext(Gi),{matches:r}=I.useContext(ha),{pathname:i}=ul(),s=JSON.stringify(Q5(r)),o=I.useRef(!1);return r7(()=>{o.current=!0}),I.useCallback((f,h={})=>{if(Ai(o.current,n7),!o.current)return;if(typeof f=="number"){n.go(f);return}let g=Z5(f,JSON.parse(s),i,h.relative==="path");e==null&&t!=="/"&&(g.pathname=g.pathname==="/"?t:Xa([t,g.pathname])),(h.replace?n.replace:n.push)(g,h.state,h)},[t,n,s,i,e])}I.createContext(null);function ax(){let{matches:e}=I.useContext(ha),t=e[e.length-1];return t?t.params:{}}function h0(e,{relative:t}={}){let{matches:n}=I.useContext(ha),{pathname:r}=ul(),i=JSON.stringify(Q5(n));return I.useMemo(()=>Z5(e,JSON.parse(i),r,t==="path"),[e,i,r,t])}function uT(e,t){return a7(e,t)}function a7(e,t,n,r,i){var M;xn(f0(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:s}=I.useContext(Gi),{matches:o}=I.useContext(ha),c=o[o.length-1],f=c?c.params:{},h=c?c.pathname:"/",g=c?c.pathnameBase:"/",m=c&&c.route;{let R=m&&m.path||"";s7(h,!m||R.endsWith("*")||R.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${h}" (under <Route path="${R}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
59
-
60
- Please change the parent <Route path="${R}"> to <Route path="${R==="/"?"*":`${R}/*`}">.`)}let x=ul(),v;if(t){let R=typeof t=="string"?su(t):t;xn(g==="/"||((M=R.pathname)==null?void 0:M.startsWith(g)),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${g}" but pathname "${R.pathname}" was given in the \`location\` prop.`),v=R}else v=x;let E=v.pathname||"/",k=E;if(g!=="/"){let R=g.replace(/^\//,"").split("/");k="/"+E.replace(/^\//,"").split("/").slice(R.length).join("/")}let T=$5(e,{pathname:k});Ai(m||T!=null,`No routes matched location "${v.pathname}${v.search}${v.hash}" `),Ai(T==null||T[T.length-1].route.element!==void 0||T[T.length-1].route.Component!==void 0||T[T.length-1].route.lazy!==void 0,`Matched leaf route at location "${v.pathname}${v.search}${v.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let C=dT(T&&T.map(R=>Object.assign({},R,{params:Object.assign({},f,R.params),pathname:Xa([g,s.encodeLocation?s.encodeLocation(R.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:R.pathname]),pathnameBase:R.pathnameBase==="/"?g:Xa([g,s.encodeLocation?s.encodeLocation(R.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:R.pathnameBase])})),o,n,r,i);return t&&C?I.createElement(c0.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...v},navigationType:"POP"}},C):C}function cT(){let e=vT(),t=nT(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:r},s={padding:"2px 4px",backgroundColor:r},o=null;return console.error("Error handled by React Router default ErrorBoundary:",e),o=I.createElement(I.Fragment,null,I.createElement("p",null,"💿 Hey developer 👋"),I.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",I.createElement("code",{style:s},"ErrorBoundary")," or"," ",I.createElement("code",{style:s},"errorElement")," prop on your route.")),I.createElement(I.Fragment,null,I.createElement("h2",null,"Unexpected Application Error!"),I.createElement("h3",{style:{fontStyle:"italic"}},t),n?I.createElement("pre",{style:i},n):null,o)}var fT=I.createElement(cT,null),hT=class extends I.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error("React Router caught the following error during render",e)}render(){return this.state.error!==void 0?I.createElement(ha.Provider,{value:this.props.routeContext},I.createElement(ix.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function pT({routeContext:e,match:t,children:n}){let r=I.useContext(lu);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),I.createElement(ha.Provider,{value:e},n)}function dT(e,t=[],n=null,r=null,i=null){if(e==null){if(!n)return null;if(n.errors)e=n.matches;else if(t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let s=e,o=n==null?void 0:n.errors;if(o!=null){let g=s.findIndex(m=>m.route.id&&(o==null?void 0:o[m.route.id])!==void 0);xn(g>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(o).join(",")}`),s=s.slice(0,Math.min(s.length,g+1))}let c=!1,f=-1;if(n)for(let g=0;g<s.length;g++){let m=s[g];if((m.route.HydrateFallback||m.route.hydrateFallbackElement)&&(f=g),m.route.id){let{loaderData:x,errors:v}=n,E=m.route.loader&&!x.hasOwnProperty(m.route.id)&&(!v||v[m.route.id]===void 0);if(m.route.lazy||E){c=!0,f>=0?s=s.slice(0,f+1):s=[s[0]];break}}}let h=n&&r?(g,m)=>{var x,v;r(g,{location:n.location,params:((v=(x=n.matches)==null?void 0:x[0])==null?void 0:v.params)??{},unstable_pattern:rT(n.matches),errorInfo:m})}:void 0;return s.reduceRight((g,m,x)=>{let v,E=!1,k=null,T=null;n&&(v=o&&m.route.id?o[m.route.id]:void 0,k=m.route.errorElement||fT,c&&(f<0&&x===0?(s7("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),E=!0,T=null):f===x&&(E=!0,T=m.route.hydrateFallbackElement||null)));let C=t.concat(s.slice(0,x+1)),M=()=>{let R;return v?R=k:E?R=T:m.route.Component?R=I.createElement(m.route.Component,null):m.route.element?R=m.route.element:R=g,I.createElement(pT,{match:m,routeContext:{outlet:g,matches:C,isDataRoute:n!=null},children:R})};return n&&(m.route.ErrorBoundary||m.route.errorElement||x===0)?I.createElement(hT,{location:n.location,revalidation:n.revalidation,component:k,error:v,children:M(),routeContext:{outlet:null,matches:C,isDataRoute:!0},onError:h}):M()},null)}function sx(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function mT(e){let t=I.useContext(lu);return xn(t,sx(e)),t}function gT(e){let t=I.useContext(sp);return xn(t,sx(e)),t}function xT(e){let t=I.useContext(ha);return xn(t,sx(e)),t}function lx(e){let t=xT(e),n=t.matches[t.matches.length-1];return xn(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function yT(){return lx("useRouteId")}function vT(){var r;let e=I.useContext(ix),t=gT("useRouteError"),n=lx("useRouteError");return e!==void 0?e:(r=t.errors)==null?void 0:r[n]}function bT(){let{router:e}=mT("useNavigate"),t=lx("useNavigate"),n=I.useRef(!1);return r7(()=>{n.current=!0}),I.useCallback(async(i,s={})=>{Ai(n.current,n7),n.current&&(typeof i=="number"?await e.navigate(i):await e.navigate(i,{fromRouteId:t,...s}))},[e,t])}var bb={};function s7(e,t,n){!t&&!bb[e]&&(bb[e]=!0,Ai(!1,n))}I.memo(wT);function wT({routes:e,future:t,state:n,unstable_onError:r}){return a7(e,void 0,n,r,t)}function mh(e){xn(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function ST({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:i,static:s=!1,unstable_useTransitions:o}){xn(!f0(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let c=e.replace(/^\/*/,"/"),f=I.useMemo(()=>({basename:c,navigator:i,static:s,unstable_useTransitions:o,future:{}}),[c,i,s,o]);typeof n=="string"&&(n=su(n));let{pathname:h="/",search:g="",hash:m="",state:x=null,key:v="default"}=n,E=I.useMemo(()=>{let k=$a(h,c);return k==null?null:{location:{pathname:k,search:g,hash:m,state:x,key:v},navigationType:r}},[c,h,g,m,x,v,r]);return Ai(E!=null,`<Router basename="${c}"> is not able to match the URL "${h}${g}${m}" because it does not start with the basename, so the <Router> won't render anything.`),E==null?null:I.createElement(Gi.Provider,{value:f},I.createElement(c0.Provider,{children:t,value:E}))}function kT({children:e,location:t}){return uT(cg(e),t)}function cg(e,t=[]){let n=[];return I.Children.forEach(e,(r,i)=>{if(!I.isValidElement(r))return;let s=[...t,i];if(r.type===I.Fragment){n.push.apply(n,cg(r.props.children,s));return}xn(r.type===mh,`[${typeof r.type=="string"?r.type:r.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),xn(!r.props.index||!r.props.children,"An index route cannot have child routes.");let o={id:r.props.id||s.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,middleware:r.props.middleware,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=cg(r.props.children,s)),n.push(o)}),n}var gh="get",xh="application/x-www-form-urlencoded";function lp(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function ET(e){return lp(e)&&e.tagName.toLowerCase()==="button"}function CT(e){return lp(e)&&e.tagName.toLowerCase()==="form"}function AT(e){return lp(e)&&e.tagName.toLowerCase()==="input"}function TT(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function MT(e,t){return e.button===0&&(!t||t==="_self")&&!TT(e)}function fg(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(i=>[n,i]):[[n,r]])},[]))}function NT(e,t){let n=fg(e);return t&&t.forEach((r,i)=>{n.has(i)||t.getAll(i).forEach(s=>{n.append(i,s)})}),n}var Vf=null;function _T(){if(Vf===null)try{new FormData(document.createElement("form"),0),Vf=!1}catch{Vf=!0}return Vf}var DT=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Zm(e){return e!=null&&!DT.has(e)?(Ai(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${xh}"`),null):e}function RT(e,t){let n,r,i,s,o;if(CT(e)){let c=e.getAttribute("action");r=c?$a(c,t):null,n=e.getAttribute("method")||gh,i=Zm(e.getAttribute("enctype"))||xh,s=new FormData(e)}else if(ET(e)||AT(e)&&(e.type==="submit"||e.type==="image")){let c=e.form;if(c==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let f=e.getAttribute("formaction")||c.getAttribute("action");if(r=f?$a(f,t):null,n=e.getAttribute("formmethod")||c.getAttribute("method")||gh,i=Zm(e.getAttribute("formenctype"))||Zm(c.getAttribute("enctype"))||xh,s=new FormData(c,e),!_T()){let{name:h,type:g,value:m}=e;if(g==="image"){let x=h?`${h}.`:"";s.append(`${x}x`,"0"),s.append(`${x}y`,"0")}else h&&s.append(h,m)}}else{if(lp(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=gh,r=null,i=xh,o=e}return s&&i==="text/plain"&&(o=s,s=void 0),{action:r,method:n.toLowerCase(),encType:i,formData:s,body:o}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function ox(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function OT(e,t,n){let r=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return r.pathname==="/"?r.pathname=`_root.${n}`:t&&$a(r.pathname,t)==="/"?r.pathname=`${t.replace(/\/$/,"")}/_root.${n}`:r.pathname=`${r.pathname.replace(/\/$/,"")}.${n}`,r}async function IT(e,t){if(e.id in t)return t[e.id];try{let n=await import(e.module);return t[e.id]=n,n}catch(n){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(n),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function LT(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function zT(e,t,n){let r=await Promise.all(e.map(async i=>{let s=t.routes[i.route.id];if(s){let o=await IT(s,n);return o.links?o.links():[]}return[]}));return FT(r.flat(1).filter(LT).filter(i=>i.rel==="stylesheet"||i.rel==="preload").map(i=>i.rel==="stylesheet"?{...i,rel:"prefetch",as:"style"}:{...i,rel:"prefetch"}))}function wb(e,t,n,r,i,s){let o=(f,h)=>n[h]?f.route.id!==n[h].route.id:!0,c=(f,h)=>{var g;return n[h].pathname!==f.pathname||((g=n[h].route.path)==null?void 0:g.endsWith("*"))&&n[h].params["*"]!==f.params["*"]};return s==="assets"?t.filter((f,h)=>o(f,h)||c(f,h)):s==="data"?t.filter((f,h)=>{var m;let g=r.routes[f.route.id];if(!g||!g.hasLoader)return!1;if(o(f,h)||c(f,h))return!0;if(f.route.shouldRevalidate){let x=f.route.shouldRevalidate({currentUrl:new URL(i.pathname+i.search+i.hash,window.origin),currentParams:((m=n[0])==null?void 0:m.params)||{},nextUrl:new URL(e,window.origin),nextParams:f.params,defaultShouldRevalidate:!0});if(typeof x=="boolean")return x}return!0}):[]}function PT(e,t,{includeHydrateFallback:n}={}){return BT(e.map(r=>{let i=t.routes[r.route.id];if(!i)return[];let s=[i.module];return i.clientActionModule&&(s=s.concat(i.clientActionModule)),i.clientLoaderModule&&(s=s.concat(i.clientLoaderModule)),n&&i.hydrateFallbackModule&&(s=s.concat(i.hydrateFallbackModule)),i.imports&&(s=s.concat(i.imports)),s}).flat(1))}function BT(e){return[...new Set(e)]}function jT(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}function FT(e,t){let n=new Set;return new Set(t),e.reduce((r,i)=>{let s=JSON.stringify(jT(i));return n.has(s)||(n.add(s),r.push({key:s,link:i})),r},[])}function l7(){let e=I.useContext(lu);return ox(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function VT(){let e=I.useContext(sp);return ox(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var ux=I.createContext(void 0);ux.displayName="FrameworkContext";function o7(){let e=I.useContext(ux);return ox(e,"You must render this element inside a <HydratedRouter> element"),e}function qT(e,t){let n=I.useContext(ux),[r,i]=I.useState(!1),[s,o]=I.useState(!1),{onFocus:c,onBlur:f,onMouseEnter:h,onMouseLeave:g,onTouchStart:m}=t,x=I.useRef(null);I.useEffect(()=>{if(e==="render"&&o(!0),e==="viewport"){let k=C=>{C.forEach(M=>{o(M.isIntersecting)})},T=new IntersectionObserver(k,{threshold:.5});return x.current&&T.observe(x.current),()=>{T.disconnect()}}},[e]),I.useEffect(()=>{if(r){let k=setTimeout(()=>{o(!0)},100);return()=>{clearTimeout(k)}}},[r]);let v=()=>{i(!0)},E=()=>{i(!1),o(!1)};return n?e!=="intent"?[s,x,{}]:[s,x,{onFocus:wc(c,v),onBlur:wc(f,E),onMouseEnter:wc(h,v),onMouseLeave:wc(g,E),onTouchStart:wc(m,v)}]:[!1,x,{}]}function wc(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function UT({page:e,...t}){let{router:n}=l7(),r=I.useMemo(()=>$5(n.routes,e,n.basename),[n.routes,e,n.basename]);return r?I.createElement(GT,{page:e,matches:r,...t}):null}function HT(e){let{manifest:t,routeModules:n}=o7(),[r,i]=I.useState([]);return I.useEffect(()=>{let s=!1;return zT(e,t,n).then(o=>{s||i(o)}),()=>{s=!0}},[e,t,n]),r}function GT({page:e,matches:t,...n}){let r=ul(),{manifest:i,routeModules:s}=o7(),{basename:o}=l7(),{loaderData:c,matches:f}=VT(),h=I.useMemo(()=>wb(e,t,f,i,r,"data"),[e,t,f,i,r]),g=I.useMemo(()=>wb(e,t,f,i,r,"assets"),[e,t,f,i,r]),m=I.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let E=new Set,k=!1;if(t.forEach(C=>{var R;let M=i.routes[C.route.id];!M||!M.hasLoader||(!h.some(j=>j.route.id===C.route.id)&&C.route.id in c&&((R=s[C.route.id])!=null&&R.shouldRevalidate)||M.hasClientLoader?k=!0:E.add(C.route.id))}),E.size===0)return[];let T=OT(e,o,"data");return k&&E.size>0&&T.searchParams.set("_routes",t.filter(C=>E.has(C.route.id)).map(C=>C.route.id).join(",")),[T.pathname+T.search]},[o,c,r,i,h,t,e,s]),x=I.useMemo(()=>PT(g,i),[g,i]),v=HT(g);return I.createElement(I.Fragment,null,m.map(E=>I.createElement("link",{key:E,rel:"prefetch",as:"fetch",href:E,...n})),x.map(E=>I.createElement("link",{key:E,rel:"modulepreload",href:E,...n})),v.map(({key:E,link:k})=>I.createElement("link",{key:E,nonce:n.nonce,...k})))}function XT(...e){return t=>{e.forEach(n=>{typeof n=="function"?n(t):n!=null&&(n.current=t)})}}var u7=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{u7&&(window.__reactRouterVersion="7.10.1")}catch{}function YT({basename:e,children:t,unstable_useTransitions:n,window:r}){let i=I.useRef();i.current==null&&(i.current=RA({window:r,v5Compat:!0}));let s=i.current,[o,c]=I.useState({action:s.action,location:s.location}),f=I.useCallback(h=>{n===!1?c(h):I.startTransition(()=>c(h))},[n]);return I.useLayoutEffect(()=>s.listen(f),[s,f]),I.createElement(ST,{basename:e,children:t,location:o.location,navigationType:o.action,navigator:s,unstable_useTransitions:n===!0})}var c7=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,tu=I.forwardRef(function({onClick:t,discover:n="render",prefetch:r="none",relative:i,reloadDocument:s,replace:o,state:c,target:f,to:h,preventScrollReset:g,viewTransition:m,...x},v){let{basename:E,unstable_useTransitions:k}=I.useContext(Gi),T=typeof h=="string"&&c7.test(h),C,M=!1;if(typeof h=="string"&&T&&(C=h,u7))try{let J=new URL(window.location.href),re=h.startsWith("//")?new URL(J.protocol+h):new URL(h),ae=$a(re.pathname,E);re.origin===J.origin&&ae!=null?h=ae+re.search+re.hash:M=!0}catch{Ai(!1,`<Link to="${h}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let R=lT(h,{relative:i}),[j,L,S]=qT(r,x),O=KT(h,{replace:o,state:c,target:f,preventScrollReset:g,relative:i,viewTransition:m,unstable_useTransitions:k});function q(J){t&&t(J),J.defaultPrevented||O(J)}let W=I.createElement("a",{...x,...S,href:C||R,onClick:M||s?t:q,ref:XT(v,L),target:f,"data-discover":!T&&n==="render"?"true":void 0});return j&&!T?I.createElement(I.Fragment,null,W,I.createElement(UT,{page:R})):W});tu.displayName="Link";var JT=I.forwardRef(function({"aria-current":t="page",caseSensitive:n=!1,className:r="",end:i=!1,style:s,to:o,viewTransition:c,children:f,...h},g){let m=h0(o,{relative:h.relative}),x=ul(),v=I.useContext(sp),{navigator:E,basename:k}=I.useContext(Gi),T=v!=null&&rM(m)&&c===!0,C=E.encodeLocation?E.encodeLocation(m).pathname:m.pathname,M=x.pathname,R=v&&v.navigation&&v.navigation.location?v.navigation.location.pathname:null;n||(M=M.toLowerCase(),R=R?R.toLowerCase():null,C=C.toLowerCase()),R&&k&&(R=$a(R,k)||R);const j=C!=="/"&&C.endsWith("/")?C.length-1:C.length;let L=M===C||!i&&M.startsWith(C)&&M.charAt(j)==="/",S=R!=null&&(R===C||!i&&R.startsWith(C)&&R.charAt(C.length)==="/"),O={isActive:L,isPending:S,isTransitioning:T},q=L?t:void 0,W;typeof r=="function"?W=r(O):W=[r,L?"active":null,S?"pending":null,T?"transitioning":null].filter(Boolean).join(" ");let J=typeof s=="function"?s(O):s;return I.createElement(tu,{...h,"aria-current":q,className:W,ref:g,style:J,to:o,viewTransition:c},typeof f=="function"?f(O):f)});JT.displayName="NavLink";var $T=I.forwardRef(({discover:e="render",fetcherKey:t,navigate:n,reloadDocument:r,replace:i,state:s,method:o=gh,action:c,onSubmit:f,relative:h,preventScrollReset:g,viewTransition:m,...x},v)=>{let{unstable_useTransitions:E}=I.useContext(Gi),k=tM(),T=nM(c,{relative:h}),C=o.toLowerCase()==="get"?"get":"post",M=typeof c=="string"&&c7.test(c),R=j=>{if(f&&f(j),j.defaultPrevented)return;j.preventDefault();let L=j.nativeEvent.submitter,S=(L==null?void 0:L.getAttribute("formmethod"))||o,O=()=>k(L||j.currentTarget,{fetcherKey:t,method:S,navigate:n,replace:i,state:s,relative:h,preventScrollReset:g,viewTransition:m});E&&n!==!1?I.startTransition(()=>O()):O()};return I.createElement("form",{ref:v,method:C,action:T,onSubmit:r?f:R,...x,"data-discover":!M&&e==="render"?"true":void 0})});$T.displayName="Form";function WT(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function f7(e){let t=I.useContext(lu);return xn(t,WT(e)),t}function KT(e,{target:t,replace:n,state:r,preventScrollReset:i,relative:s,viewTransition:o,unstable_useTransitions:c}={}){let f=i7(),h=ul(),g=h0(e,{relative:s});return I.useCallback(m=>{if(MT(m,t)){m.preventDefault();let x=n!==void 0?n:Hc(h)===Hc(g),v=()=>f(e,{replace:x,state:r,preventScrollReset:i,relative:s,viewTransition:o});c?I.startTransition(()=>v()):v()}},[h,f,g,n,r,t,e,i,s,o,c])}function QT(e){Ai(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let t=I.useRef(fg(e)),n=I.useRef(!1),r=ul(),i=I.useMemo(()=>NT(r.search,n.current?null:t.current),[r.search]),s=i7(),o=I.useCallback((c,f)=>{const h=fg(typeof c=="function"?c(new URLSearchParams(i)):c);n.current=!0,s("?"+h,f)},[s,i]);return[i,o]}var ZT=0,eM=()=>`__${String(++ZT)}__`;function tM(){let{router:e}=f7("useSubmit"),{basename:t}=I.useContext(Gi),n=yT(),r=e.fetch,i=e.navigate;return I.useCallback(async(s,o={})=>{let{action:c,method:f,encType:h,formData:g,body:m}=RT(s,t);if(o.navigate===!1){let x=o.fetcherKey||eM();await r(x,n,o.action||c,{preventScrollReset:o.preventScrollReset,formData:g,body:m,formMethod:o.method||f,formEncType:o.encType||h,flushSync:o.flushSync})}else await i(o.action||c,{preventScrollReset:o.preventScrollReset,formData:g,body:m,formMethod:o.method||f,formEncType:o.encType||h,replace:o.replace,state:o.state,fromRouteId:n,flushSync:o.flushSync,viewTransition:o.viewTransition})},[r,i,t,n])}function nM(e,{relative:t}={}){let{basename:n}=I.useContext(Gi),r=I.useContext(ha);xn(r,"useFormAction must be used inside a RouteContext");let[i]=r.matches.slice(-1),s={...h0(e||".",{relative:t})},o=ul();if(e==null){s.search=o.search;let c=new URLSearchParams(s.search),f=c.getAll("index");if(f.some(g=>g==="")){c.delete("index"),f.filter(m=>m).forEach(m=>c.append("index",m));let g=c.toString();s.search=g?`?${g}`:""}}return(!e||e===".")&&i.route.index&&(s.search=s.search?s.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(s.pathname=s.pathname==="/"?n:Xa([n,s.pathname])),Hc(s)}function rM(e,{relative:t}={}){let n=I.useContext(t7);xn(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=f7("useViewTransitionState"),i=h0(e,{relative:t});if(!n.isTransitioning)return!1;let s=$a(n.currentLocation.pathname,r)||n.currentLocation.pathname,o=$a(n.nextLocation.pathname,r)||n.nextLocation.pathname;return Ah(i.pathname,o)!=null||Ah(i.pathname,s)!=null}var op=J5();const iM=Gl(op);var aM=(e,t,n,r,i,s,o,c)=>{let f=document.documentElement,h=["light","dark"];function g(v){(Array.isArray(e)?e:[e]).forEach(E=>{let k=E==="class",T=k&&s?i.map(C=>s[C]||C):i;k?(f.classList.remove(...T),f.classList.add(s&&s[v]?s[v]:v)):f.setAttribute(E,v)}),m(v)}function m(v){c&&h.includes(v)&&(f.style.colorScheme=v)}function x(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(r)g(r);else try{let v=localStorage.getItem(t)||n,E=o&&v==="system"?x():v;g(E)}catch{}},Sb=["light","dark"],h7="(prefers-color-scheme: dark)",sM=typeof window>"u",cx=I.createContext(void 0),lM={setTheme:e=>{},themes:[]},p7=()=>{var e;return(e=I.useContext(cx))!=null?e:lM},oM=e=>I.useContext(cx)?I.createElement(I.Fragment,null,e.children):I.createElement(cM,{...e}),uM=["light","dark"],cM=({forcedTheme:e,disableTransitionOnChange:t=!1,enableSystem:n=!0,enableColorScheme:r=!0,storageKey:i="theme",themes:s=uM,defaultTheme:o=n?"system":"light",attribute:c="data-theme",value:f,children:h,nonce:g,scriptProps:m})=>{let[x,v]=I.useState(()=>hM(i,o)),[E,k]=I.useState(()=>x==="system"?e1():x),T=f?Object.values(f):s,C=I.useCallback(L=>{let S=L;if(!S)return;L==="system"&&n&&(S=e1());let O=f?f[S]:S,q=t?pM(g):null,W=document.documentElement,J=re=>{re==="class"?(W.classList.remove(...T),O&&W.classList.add(O)):re.startsWith("data-")&&(O?W.setAttribute(re,O):W.removeAttribute(re))};if(Array.isArray(c)?c.forEach(J):J(c),r){let re=Sb.includes(o)?o:null,ae=Sb.includes(S)?S:re;W.style.colorScheme=ae}q==null||q()},[g]),M=I.useCallback(L=>{let S=typeof L=="function"?L(x):L;v(S);try{localStorage.setItem(i,S)}catch{}},[x]),R=I.useCallback(L=>{let S=e1(L);k(S),x==="system"&&n&&!e&&C("system")},[x,e]);I.useEffect(()=>{let L=window.matchMedia(h7);return L.addListener(R),R(L),()=>L.removeListener(R)},[R]),I.useEffect(()=>{let L=S=>{S.key===i&&(S.newValue?v(S.newValue):M(o))};return window.addEventListener("storage",L),()=>window.removeEventListener("storage",L)},[M]),I.useEffect(()=>{C(e??x)},[e,x]);let j=I.useMemo(()=>({theme:x,setTheme:M,forcedTheme:e,resolvedTheme:x==="system"?E:x,themes:n?[...s,"system"]:s,systemTheme:n?E:void 0}),[x,M,e,E,n,s]);return I.createElement(cx.Provider,{value:j},I.createElement(fM,{forcedTheme:e,storageKey:i,attribute:c,enableSystem:n,enableColorScheme:r,defaultTheme:o,value:f,themes:s,nonce:g,scriptProps:m}),h)},fM=I.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:i,defaultTheme:s,value:o,themes:c,nonce:f,scriptProps:h})=>{let g=JSON.stringify([n,t,s,e,c,o,r,i]).slice(1,-1);return I.createElement("script",{...h,suppressHydrationWarning:!0,nonce:typeof window>"u"?f:"",dangerouslySetInnerHTML:{__html:`(${aM.toString()})(${g})`}})}),hM=(e,t)=>{if(sM)return;let n;try{n=localStorage.getItem(e)||void 0}catch{}return n||t},pM=e=>{let t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(t),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(t)},1)}},e1=e=>(e||(e=window.matchMedia(h7)),e.matches?"dark":"light");function dM({children:e,...t}){return B.jsx(oM,{...t,children:e})}async function mM(e,t){const n=t==="."?[]:t.split("/").filter(Boolean);let r=null,i=e;for(let s=0;s<n.length;s++){const o=n[s];if(s===n.length-1){const h=i.children.find(g=>g.type==="file"&&g.name===o);if(h){r=h;break}}const f=i.children.find(h=>h.type==="directory"&&h.name===o);if(!f)throw new Error(`Path not found: ${t}`);i=f}return{directory:i,file:r}}function hg(e){return e.children.find(n=>n.type==="file"&&["README.md","Readme.md","readme.md","README.mdx","Readme.mdx","readme.mdx"].includes(n.name))||null}function d7(e){return e.children.find(n=>n.type==="file"&&["SLIDES.md","Slides.md","slides.md","SLIDES.mdx","Slides.mdx","slides.mdx"].includes(n.name))||null}function up(e="."){const[t,n]=I.useState(null),[r,i]=I.useState(null),[s,o]=I.useState(!0),[c,f]=I.useState(null);return I.useEffect(()=>(o(!0),f(null),(async()=>{try{const h=await fetch("/raw/.veslx.json");if(!h.ok){h.status===404?f({type:"config_not_found",message:".veslx.json not found"}):f({type:"fetch_error",message:`Failed to fetch: ${h.status} ${h.statusText}`});return}let g;try{g=await h.json()}catch{f({type:"parse_error",message:"Failed to parse .veslx.json"});return}let m;try{m=await mM(g,e)}catch{f({type:"path_not_found",message:`Path not found: ${e}`,status:404});return}m.directory.children.sort((x,v)=>{let E,k;if(x.children){const T=hg(x);T&&T.frontmatter&&T.frontmatter.date&&(E=new Date(T.frontmatter.date))}if(v.children){const T=hg(v);T&&T.frontmatter&&T.frontmatter.date&&(k=new Date(T.frontmatter.date))}return E&&k?k.getTime()-E.getTime():0}),n(m.directory),i(m.file)}catch(h){f({type:"fetch_error",message:h.message||"Unknown error"})}finally{o(!1)}})(),()=>{}),[e]),{directory:t,file:r,loading:s,error:c}}function cp(e){const[t,n]=I.useState(null),[r,i]=I.useState(null),[s,o]=I.useState(!0),[c,f]=I.useState(null);return I.useEffect(()=>{const h=new AbortController;return o(!0),f(null),(async()=>{try{const g=await fetch(`/raw/${e}`,{signal:h.signal});if(!g.ok)throw new Error(`Failed to fetch: ${g.status} ${g.statusText}`);const m=await g.blob();n(m);try{const x=await m.text();i(x)}catch{i(null)}}catch(g){if(g instanceof Error&&g.name==="AbortError")return;f(g instanceof Error?g.message:"Unknown error")}finally{o(!1)}})(),()=>h.abort()},[e]),{blob:t,content:r,loading:s,error:c}}function m7(){const[e,t]=I.useState(!1);return I.useEffect(()=>{let n;const r=async()=>{const s=await(await fetch("/raw/.running")).text();t(s==="")};return r(),n=setInterval(r,1e3),()=>{clearInterval(n)}},[]),e}function fx(){return B.jsx("main",{className:"min-h-screen flex items-center justify-center bg-background",children:B.jsxs("div",{className:"flex flex-col items-center gap-6 animate-fade-in",children:[B.jsxs("div",{className:"flex items-center gap-3",children:[B.jsx("div",{className:"w-1.5 h-1.5 bg-primary/60 rounded-full animate-pulse"}),B.jsx("div",{className:"w-1.5 h-1.5 bg-primary/40 rounded-full animate-pulse",style:{animationDelay:"150ms"}}),B.jsx("div",{className:"w-1.5 h-1.5 bg-primary/20 rounded-full animate-pulse",style:{animationDelay:"300ms"}})]}),B.jsx("p",{className:"font-mono text-xs text-muted-foreground/50 tracking-widest uppercase",children:"loading"})]})})}function g7(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=g7(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function x7(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=g7(e))&&(r&&(r+=" "),r+=t);return r}const gM=(e,t)=>{const n=new Array(e.length+t.length);for(let r=0;r<e.length;r++)n[r]=e[r];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},xM=(e,t)=>({classGroupId:e,validator:t}),y7=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),Th="-",kb=[],yM="arbitrary..",vM=e=>{const t=wM(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:o=>{if(o.startsWith("[")&&o.endsWith("]"))return bM(o);const c=o.split(Th),f=c[0]===""&&c.length>1?1:0;return v7(c,f,t)},getConflictingClassGroupIds:(o,c)=>{if(c){const f=r[o],h=n[o];return f?h?gM(h,f):f:h||kb}return n[o]||kb}}},v7=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const i=e[t],s=n.nextPart.get(i);if(s){const h=v7(e,t+1,s);if(h)return h}const o=n.validators;if(o===null)return;const c=t===0?e.join(Th):e.slice(t).join(Th),f=o.length;for(let h=0;h<f;h++){const g=o[h];if(g.validator(c))return g.classGroupId}},bM=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),n=t.indexOf(":"),r=t.slice(0,n);return r?yM+r:void 0})(),wM=e=>{const{theme:t,classGroups:n}=e;return SM(n,t)},SM=(e,t)=>{const n=y7();for(const r in e){const i=e[r];hx(i,n,r,t)}return n},hx=(e,t,n,r)=>{const i=e.length;for(let s=0;s<i;s++){const o=e[s];kM(o,t,n,r)}},kM=(e,t,n,r)=>{if(typeof e=="string"){EM(e,t,n);return}if(typeof e=="function"){CM(e,t,n,r);return}AM(e,t,n,r)},EM=(e,t,n)=>{const r=e===""?t:b7(t,e);r.classGroupId=n},CM=(e,t,n,r)=>{if(TM(e)){hx(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(xM(n,e))},AM=(e,t,n,r)=>{const i=Object.entries(e),s=i.length;for(let o=0;o<s;o++){const[c,f]=i[o];hx(f,b7(t,c),n,r)}},b7=(e,t)=>{let n=e;const r=t.split(Th),i=r.length;for(let s=0;s<i;s++){const o=r[s];let c=n.nextPart.get(o);c||(c=y7(),n.nextPart.set(o,c)),n=c}return n},TM=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,MM=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null);const i=(s,o)=>{n[s]=o,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(s){let o=n[s];if(o!==void 0)return o;if((o=r[s])!==void 0)return i(s,o),o},set(s,o){s in n?n[s]=o:i(s,o)}}},pg="!",Eb=":",NM=[],Cb=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),_M=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=i=>{const s=[];let o=0,c=0,f=0,h;const g=i.length;for(let k=0;k<g;k++){const T=i[k];if(o===0&&c===0){if(T===Eb){s.push(i.slice(f,k)),f=k+1;continue}if(T==="/"){h=k;continue}}T==="["?o++:T==="]"?o--:T==="("?c++:T===")"&&c--}const m=s.length===0?i:i.slice(f);let x=m,v=!1;m.endsWith(pg)?(x=m.slice(0,-1),v=!0):m.startsWith(pg)&&(x=m.slice(1),v=!0);const E=h&&h>f?h-f:void 0;return Cb(s,v,x,E)};if(t){const i=t+Eb,s=r;r=o=>o.startsWith(i)?s(o.slice(i.length)):Cb(NM,!1,o,void 0,!0)}if(n){const i=r;r=s=>n({className:s,parseClassName:i})}return r},DM=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((n,r)=>{t.set(n,1e6+r)}),n=>{const r=[];let i=[];for(let s=0;s<n.length;s++){const o=n[s],c=o[0]==="[",f=t.has(o);c||f?(i.length>0&&(i.sort(),r.push(...i),i=[]),r.push(o)):i.push(o)}return i.length>0&&(i.sort(),r.push(...i)),r}},RM=e=>({cache:MM(e.cacheSize),parseClassName:_M(e),sortModifiers:DM(e),...vM(e)}),OM=/\s+/,IM=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:s}=t,o=[],c=e.trim().split(OM);let f="";for(let h=c.length-1;h>=0;h-=1){const g=c[h],{isExternal:m,modifiers:x,hasImportantModifier:v,baseClassName:E,maybePostfixModifierPosition:k}=n(g);if(m){f=g+(f.length>0?" "+f:f);continue}let T=!!k,C=r(T?E.substring(0,k):E);if(!C){if(!T){f=g+(f.length>0?" "+f:f);continue}if(C=r(E),!C){f=g+(f.length>0?" "+f:f);continue}T=!1}const M=x.length===0?"":x.length===1?x[0]:s(x).join(":"),R=v?M+pg:M,j=R+C;if(o.indexOf(j)>-1)continue;o.push(j);const L=i(C,T);for(let S=0;S<L.length;++S){const O=L[S];o.push(R+O)}f=g+(f.length>0?" "+f:f)}return f},LM=(...e)=>{let t=0,n,r,i="";for(;t<e.length;)(n=e[t++])&&(r=w7(n))&&(i&&(i+=" "),i+=r);return i},w7=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=w7(e[r]))&&(n&&(n+=" "),n+=t);return n},zM=(e,...t)=>{let n,r,i,s;const o=f=>{const h=t.reduce((g,m)=>m(g),e());return n=RM(h),r=n.cache.get,i=n.cache.set,s=c,c(f)},c=f=>{const h=r(f);if(h)return h;const g=IM(f,n);return i(f,g),g};return s=o,(...f)=>s(LM(...f))},PM=[],Hn=e=>{const t=n=>n[e]||PM;return t.isThemeGetter=!0,t},S7=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,k7=/^\((?:(\w[\w-]*):)?(.+)\)$/i,BM=/^\d+\/\d+$/,jM=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,FM=/\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$/,VM=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,qM=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,UM=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Lo=e=>BM.test(e),St=e=>!!e&&!Number.isNaN(Number(e)),js=e=>!!e&&Number.isInteger(Number(e)),t1=e=>e.endsWith("%")&&St(e.slice(0,-1)),Fa=e=>jM.test(e),HM=()=>!0,GM=e=>FM.test(e)&&!VM.test(e),E7=()=>!1,XM=e=>qM.test(e),YM=e=>UM.test(e),JM=e=>!Ge(e)&&!Xe(e),$M=e=>ou(e,T7,E7),Ge=e=>S7.test(e),Ol=e=>ou(e,M7,GM),n1=e=>ou(e,eN,St),Ab=e=>ou(e,C7,E7),WM=e=>ou(e,A7,YM),qf=e=>ou(e,N7,XM),Xe=e=>k7.test(e),Sc=e=>uu(e,M7),KM=e=>uu(e,tN),Tb=e=>uu(e,C7),QM=e=>uu(e,T7),ZM=e=>uu(e,A7),Uf=e=>uu(e,N7,!0),ou=(e,t,n)=>{const r=S7.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},uu=(e,t,n=!1)=>{const r=k7.exec(e);return r?r[1]?t(r[1]):n:!1},C7=e=>e==="position"||e==="percentage",A7=e=>e==="image"||e==="url",T7=e=>e==="length"||e==="size"||e==="bg-size",M7=e=>e==="length",eN=e=>e==="number",tN=e=>e==="family-name",N7=e=>e==="shadow",nN=()=>{const e=Hn("color"),t=Hn("font"),n=Hn("text"),r=Hn("font-weight"),i=Hn("tracking"),s=Hn("leading"),o=Hn("breakpoint"),c=Hn("container"),f=Hn("spacing"),h=Hn("radius"),g=Hn("shadow"),m=Hn("inset-shadow"),x=Hn("text-shadow"),v=Hn("drop-shadow"),E=Hn("blur"),k=Hn("perspective"),T=Hn("aspect"),C=Hn("ease"),M=Hn("animate"),R=()=>["auto","avoid","all","avoid-page","page","left","right","column"],j=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],L=()=>[...j(),Xe,Ge],S=()=>["auto","hidden","clip","visible","scroll"],O=()=>["auto","contain","none"],q=()=>[Xe,Ge,f],W=()=>[Lo,"full","auto",...q()],J=()=>[js,"none","subgrid",Xe,Ge],re=()=>["auto",{span:["full",js,Xe,Ge]},js,Xe,Ge],ae=()=>[js,"auto",Xe,Ge],Se=()=>["auto","min","max","fr",Xe,Ge],xe=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ge=()=>["start","end","center","stretch","center-safe","end-safe"],ee=()=>["auto",...q()],oe=()=>[Lo,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...q()],le=()=>[e,Xe,Ge],we=()=>[...j(),Tb,Ab,{position:[Xe,Ge]}],Y=()=>["no-repeat",{repeat:["","x","y","space","round"]}],$=()=>["auto","cover","contain",QM,$M,{size:[Xe,Ge]}],ue=()=>[t1,Sc,Ol],H=()=>["","none","full",h,Xe,Ge],Ce=()=>["",St,Sc,Ol],Le=()=>["solid","dashed","dotted","double"],ze=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Re=()=>[St,t1,Tb,Ab],Ke=()=>["","none",E,Xe,Ge],Ve=()=>["none",St,Xe,Ge],st=()=>["none",St,Xe,Ge],Ze=()=>[St,Xe,Ge],Pe=()=>[Lo,"full",...q()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Fa],breakpoint:[Fa],color:[HM],container:[Fa],"drop-shadow":[Fa],ease:["in","out","in-out"],font:[JM],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Fa],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Fa],shadow:[Fa],spacing:["px",St],text:[Fa],"text-shadow":[Fa],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Lo,Ge,Xe,T]}],container:["container"],columns:[{columns:[St,Ge,Xe,c]}],"break-after":[{"break-after":R()}],"break-before":[{"break-before":R()}],"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"],sr:["sr-only","not-sr-only"],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:L()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:O()}],"overscroll-x":[{"overscroll-x":O()}],"overscroll-y":[{"overscroll-y":O()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:W()}],"inset-x":[{"inset-x":W()}],"inset-y":[{"inset-y":W()}],start:[{start:W()}],end:[{end:W()}],top:[{top:W()}],right:[{right:W()}],bottom:[{bottom:W()}],left:[{left:W()}],visibility:["visible","invisible","collapse"],z:[{z:[js,"auto",Xe,Ge]}],basis:[{basis:[Lo,"full","auto",c,...q()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[St,Lo,"auto","initial","none",Ge]}],grow:[{grow:["",St,Xe,Ge]}],shrink:[{shrink:["",St,Xe,Ge]}],order:[{order:[js,"first","last","none",Xe,Ge]}],"grid-cols":[{"grid-cols":J()}],"col-start-end":[{col:re()}],"col-start":[{"col-start":ae()}],"col-end":[{"col-end":ae()}],"grid-rows":[{"grid-rows":J()}],"row-start-end":[{row:re()}],"row-start":[{"row-start":ae()}],"row-end":[{"row-end":ae()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Se()}],"auto-rows":[{"auto-rows":Se()}],gap:[{gap:q()}],"gap-x":[{"gap-x":q()}],"gap-y":[{"gap-y":q()}],"justify-content":[{justify:[...xe(),"normal"]}],"justify-items":[{"justify-items":[...ge(),"normal"]}],"justify-self":[{"justify-self":["auto",...ge()]}],"align-content":[{content:["normal",...xe()]}],"align-items":[{items:[...ge(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ge(),{baseline:["","last"]}]}],"place-content":[{"place-content":xe()}],"place-items":[{"place-items":[...ge(),"baseline"]}],"place-self":[{"place-self":["auto",...ge()]}],p:[{p:q()}],px:[{px:q()}],py:[{py:q()}],ps:[{ps:q()}],pe:[{pe:q()}],pt:[{pt:q()}],pr:[{pr:q()}],pb:[{pb:q()}],pl:[{pl:q()}],m:[{m:ee()}],mx:[{mx:ee()}],my:[{my:ee()}],ms:[{ms:ee()}],me:[{me:ee()}],mt:[{mt:ee()}],mr:[{mr:ee()}],mb:[{mb:ee()}],ml:[{ml:ee()}],"space-x":[{"space-x":q()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":q()}],"space-y-reverse":["space-y-reverse"],size:[{size:oe()}],w:[{w:[c,"screen",...oe()]}],"min-w":[{"min-w":[c,"screen","none",...oe()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[o]},...oe()]}],h:[{h:["screen","lh",...oe()]}],"min-h":[{"min-h":["screen","lh","none",...oe()]}],"max-h":[{"max-h":["screen","lh",...oe()]}],"font-size":[{text:["base",n,Sc,Ol]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,Xe,n1]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",t1,Ge]}],"font-family":[{font:[KM,Ge,t]}],"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:[i,Xe,Ge]}],"line-clamp":[{"line-clamp":[St,"none",Xe,n1]}],leading:[{leading:[s,...q()]}],"list-image":[{"list-image":["none",Xe,Ge]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Xe,Ge]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:le()}],"text-color":[{text:le()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Le(),"wavy"]}],"text-decoration-thickness":[{decoration:[St,"from-font","auto",Xe,Ol]}],"text-decoration-color":[{decoration:le()}],"underline-offset":[{"underline-offset":[St,"auto",Xe,Ge]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:q()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Xe,Ge]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Xe,Ge]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:we()}],"bg-repeat":[{bg:Y()}],"bg-size":[{bg:$()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},js,Xe,Ge],radial:["",Xe,Ge],conic:[js,Xe,Ge]},ZM,WM]}],"bg-color":[{bg:le()}],"gradient-from-pos":[{from:ue()}],"gradient-via-pos":[{via:ue()}],"gradient-to-pos":[{to:ue()}],"gradient-from":[{from:le()}],"gradient-via":[{via:le()}],"gradient-to":[{to:le()}],rounded:[{rounded:H()}],"rounded-s":[{"rounded-s":H()}],"rounded-e":[{"rounded-e":H()}],"rounded-t":[{"rounded-t":H()}],"rounded-r":[{"rounded-r":H()}],"rounded-b":[{"rounded-b":H()}],"rounded-l":[{"rounded-l":H()}],"rounded-ss":[{"rounded-ss":H()}],"rounded-se":[{"rounded-se":H()}],"rounded-ee":[{"rounded-ee":H()}],"rounded-es":[{"rounded-es":H()}],"rounded-tl":[{"rounded-tl":H()}],"rounded-tr":[{"rounded-tr":H()}],"rounded-br":[{"rounded-br":H()}],"rounded-bl":[{"rounded-bl":H()}],"border-w":[{border:Ce()}],"border-w-x":[{"border-x":Ce()}],"border-w-y":[{"border-y":Ce()}],"border-w-s":[{"border-s":Ce()}],"border-w-e":[{"border-e":Ce()}],"border-w-t":[{"border-t":Ce()}],"border-w-r":[{"border-r":Ce()}],"border-w-b":[{"border-b":Ce()}],"border-w-l":[{"border-l":Ce()}],"divide-x":[{"divide-x":Ce()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":Ce()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Le(),"hidden","none"]}],"divide-style":[{divide:[...Le(),"hidden","none"]}],"border-color":[{border:le()}],"border-color-x":[{"border-x":le()}],"border-color-y":[{"border-y":le()}],"border-color-s":[{"border-s":le()}],"border-color-e":[{"border-e":le()}],"border-color-t":[{"border-t":le()}],"border-color-r":[{"border-r":le()}],"border-color-b":[{"border-b":le()}],"border-color-l":[{"border-l":le()}],"divide-color":[{divide:le()}],"outline-style":[{outline:[...Le(),"none","hidden"]}],"outline-offset":[{"outline-offset":[St,Xe,Ge]}],"outline-w":[{outline:["",St,Sc,Ol]}],"outline-color":[{outline:le()}],shadow:[{shadow:["","none",g,Uf,qf]}],"shadow-color":[{shadow:le()}],"inset-shadow":[{"inset-shadow":["none",m,Uf,qf]}],"inset-shadow-color":[{"inset-shadow":le()}],"ring-w":[{ring:Ce()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:le()}],"ring-offset-w":[{"ring-offset":[St,Ol]}],"ring-offset-color":[{"ring-offset":le()}],"inset-ring-w":[{"inset-ring":Ce()}],"inset-ring-color":[{"inset-ring":le()}],"text-shadow":[{"text-shadow":["none",x,Uf,qf]}],"text-shadow-color":[{"text-shadow":le()}],opacity:[{opacity:[St,Xe,Ge]}],"mix-blend":[{"mix-blend":[...ze(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ze()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[St]}],"mask-image-linear-from-pos":[{"mask-linear-from":Re()}],"mask-image-linear-to-pos":[{"mask-linear-to":Re()}],"mask-image-linear-from-color":[{"mask-linear-from":le()}],"mask-image-linear-to-color":[{"mask-linear-to":le()}],"mask-image-t-from-pos":[{"mask-t-from":Re()}],"mask-image-t-to-pos":[{"mask-t-to":Re()}],"mask-image-t-from-color":[{"mask-t-from":le()}],"mask-image-t-to-color":[{"mask-t-to":le()}],"mask-image-r-from-pos":[{"mask-r-from":Re()}],"mask-image-r-to-pos":[{"mask-r-to":Re()}],"mask-image-r-from-color":[{"mask-r-from":le()}],"mask-image-r-to-color":[{"mask-r-to":le()}],"mask-image-b-from-pos":[{"mask-b-from":Re()}],"mask-image-b-to-pos":[{"mask-b-to":Re()}],"mask-image-b-from-color":[{"mask-b-from":le()}],"mask-image-b-to-color":[{"mask-b-to":le()}],"mask-image-l-from-pos":[{"mask-l-from":Re()}],"mask-image-l-to-pos":[{"mask-l-to":Re()}],"mask-image-l-from-color":[{"mask-l-from":le()}],"mask-image-l-to-color":[{"mask-l-to":le()}],"mask-image-x-from-pos":[{"mask-x-from":Re()}],"mask-image-x-to-pos":[{"mask-x-to":Re()}],"mask-image-x-from-color":[{"mask-x-from":le()}],"mask-image-x-to-color":[{"mask-x-to":le()}],"mask-image-y-from-pos":[{"mask-y-from":Re()}],"mask-image-y-to-pos":[{"mask-y-to":Re()}],"mask-image-y-from-color":[{"mask-y-from":le()}],"mask-image-y-to-color":[{"mask-y-to":le()}],"mask-image-radial":[{"mask-radial":[Xe,Ge]}],"mask-image-radial-from-pos":[{"mask-radial-from":Re()}],"mask-image-radial-to-pos":[{"mask-radial-to":Re()}],"mask-image-radial-from-color":[{"mask-radial-from":le()}],"mask-image-radial-to-color":[{"mask-radial-to":le()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":j()}],"mask-image-conic-pos":[{"mask-conic":[St]}],"mask-image-conic-from-pos":[{"mask-conic-from":Re()}],"mask-image-conic-to-pos":[{"mask-conic-to":Re()}],"mask-image-conic-from-color":[{"mask-conic-from":le()}],"mask-image-conic-to-color":[{"mask-conic-to":le()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:we()}],"mask-repeat":[{mask:Y()}],"mask-size":[{mask:$()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Xe,Ge]}],filter:[{filter:["","none",Xe,Ge]}],blur:[{blur:Ke()}],brightness:[{brightness:[St,Xe,Ge]}],contrast:[{contrast:[St,Xe,Ge]}],"drop-shadow":[{"drop-shadow":["","none",v,Uf,qf]}],"drop-shadow-color":[{"drop-shadow":le()}],grayscale:[{grayscale:["",St,Xe,Ge]}],"hue-rotate":[{"hue-rotate":[St,Xe,Ge]}],invert:[{invert:["",St,Xe,Ge]}],saturate:[{saturate:[St,Xe,Ge]}],sepia:[{sepia:["",St,Xe,Ge]}],"backdrop-filter":[{"backdrop-filter":["","none",Xe,Ge]}],"backdrop-blur":[{"backdrop-blur":Ke()}],"backdrop-brightness":[{"backdrop-brightness":[St,Xe,Ge]}],"backdrop-contrast":[{"backdrop-contrast":[St,Xe,Ge]}],"backdrop-grayscale":[{"backdrop-grayscale":["",St,Xe,Ge]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[St,Xe,Ge]}],"backdrop-invert":[{"backdrop-invert":["",St,Xe,Ge]}],"backdrop-opacity":[{"backdrop-opacity":[St,Xe,Ge]}],"backdrop-saturate":[{"backdrop-saturate":[St,Xe,Ge]}],"backdrop-sepia":[{"backdrop-sepia":["",St,Xe,Ge]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":q()}],"border-spacing-x":[{"border-spacing-x":q()}],"border-spacing-y":[{"border-spacing-y":q()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Xe,Ge]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[St,"initial",Xe,Ge]}],ease:[{ease:["linear","initial",C,Xe,Ge]}],delay:[{delay:[St,Xe,Ge]}],animate:[{animate:["none",M,Xe,Ge]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[k,Xe,Ge]}],"perspective-origin":[{"perspective-origin":L()}],rotate:[{rotate:Ve()}],"rotate-x":[{"rotate-x":Ve()}],"rotate-y":[{"rotate-y":Ve()}],"rotate-z":[{"rotate-z":Ve()}],scale:[{scale:st()}],"scale-x":[{"scale-x":st()}],"scale-y":[{"scale-y":st()}],"scale-z":[{"scale-z":st()}],"scale-3d":["scale-3d"],skew:[{skew:Ze()}],"skew-x":[{"skew-x":Ze()}],"skew-y":[{"skew-y":Ze()}],transform:[{transform:[Xe,Ge,"","none","gpu","cpu"]}],"transform-origin":[{origin:L()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Pe()}],"translate-x":[{"translate-x":Pe()}],"translate-y":[{"translate-y":Pe()}],"translate-z":[{"translate-z":Pe()}],"translate-none":["translate-none"],accent:[{accent:le()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:le()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],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",Xe,Ge]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":q()}],"scroll-mx":[{"scroll-mx":q()}],"scroll-my":[{"scroll-my":q()}],"scroll-ms":[{"scroll-ms":q()}],"scroll-me":[{"scroll-me":q()}],"scroll-mt":[{"scroll-mt":q()}],"scroll-mr":[{"scroll-mr":q()}],"scroll-mb":[{"scroll-mb":q()}],"scroll-ml":[{"scroll-ml":q()}],"scroll-p":[{"scroll-p":q()}],"scroll-px":[{"scroll-px":q()}],"scroll-py":[{"scroll-py":q()}],"scroll-ps":[{"scroll-ps":q()}],"scroll-pe":[{"scroll-pe":q()}],"scroll-pt":[{"scroll-pt":q()}],"scroll-pr":[{"scroll-pr":q()}],"scroll-pb":[{"scroll-pb":q()}],"scroll-pl":[{"scroll-pl":q()}],"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",Xe,Ge]}],fill:[{fill:["none",...le()]}],"stroke-w":[{stroke:[St,Sc,Ol,n1]}],stroke:[{stroke:["none",...le()]}],"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-x","border-w-y","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-x","border-color-y","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"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"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"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},rN=zM(nN);function Yt(...e){return rN(x7(e))}const _7=6048e5,iN=864e5,Mb=Symbol.for("constructDateFrom");function el(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&Mb in e?e[Mb](t):e instanceof Date?new e.constructor(t):new Date(t)}function Xi(e,t){return el(t||e,e)}let aN={};function fp(){return aN}function Gc(e,t){var c,f,h,g;const n=fp(),r=(t==null?void 0:t.weekStartsOn)??((f=(c=t==null?void 0:t.locale)==null?void 0:c.options)==null?void 0:f.weekStartsOn)??n.weekStartsOn??((g=(h=n.locale)==null?void 0:h.options)==null?void 0:g.weekStartsOn)??0,i=Xi(e,t==null?void 0:t.in),s=i.getDay(),o=(s<r?7:0)+s-r;return i.setDate(i.getDate()-o),i.setHours(0,0,0,0),i}function Mh(e,t){return Gc(e,{...t,weekStartsOn:1})}function D7(e,t){const n=Xi(e,t==null?void 0:t.in),r=n.getFullYear(),i=el(n,0);i.setFullYear(r+1,0,4),i.setHours(0,0,0,0);const s=Mh(i),o=el(n,0);o.setFullYear(r,0,4),o.setHours(0,0,0,0);const c=Mh(o);return n.getTime()>=s.getTime()?r+1:n.getTime()>=c.getTime()?r:r-1}function Nb(e){const t=Xi(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function sN(e,...t){const n=el.bind(null,t.find(r=>typeof r=="object"));return t.map(n)}function _b(e,t){const n=Xi(e,t==null?void 0:t.in);return n.setHours(0,0,0,0),n}function lN(e,t,n){const[r,i]=sN(n==null?void 0:n.in,e,t),s=_b(r),o=_b(i),c=+s-Nb(s),f=+o-Nb(o);return Math.round((c-f)/iN)}function oN(e,t){const n=D7(e,t),r=el(e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),Mh(r)}function uN(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function cN(e){return!(!uN(e)&&typeof e!="number"||isNaN(+Xi(e)))}function fN(e,t){const n=Xi(e,t==null?void 0:t.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}const hN={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},pN=(e,t,n)=>{let r;const i=hN[e];return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function r1(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const dN={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},mN={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},gN={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},xN={date:r1({formats:dN,defaultWidth:"full"}),time:r1({formats:mN,defaultWidth:"full"}),dateTime:r1({formats:gN,defaultWidth:"full"})},yN={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},vN=(e,t,n,r)=>yN[e];function kc(e){return(t,n)=>{const r=n!=null&&n.context?String(n.context):"standalone";let i;if(r==="formatting"&&e.formattingValues){const o=e.defaultFormattingWidth||e.defaultWidth,c=n!=null&&n.width?String(n.width):o;i=e.formattingValues[c]||e.formattingValues[o]}else{const o=e.defaultWidth,c=n!=null&&n.width?String(n.width):e.defaultWidth;i=e.values[c]||e.values[o]}const s=e.argumentCallback?e.argumentCallback(t):t;return i[s]}}const bN={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},wN={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},SN={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},kN={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},EN={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},CN={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},AN=(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},TN={ordinalNumber:AN,era:kc({values:bN,defaultWidth:"wide"}),quarter:kc({values:wN,defaultWidth:"wide",argumentCallback:e=>e-1}),month:kc({values:SN,defaultWidth:"wide"}),day:kc({values:kN,defaultWidth:"wide"}),dayPeriod:kc({values:EN,defaultWidth:"wide",formattingValues:CN,defaultFormattingWidth:"wide"})};function Ec(e){return(t,n={})=>{const r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],s=t.match(i);if(!s)return null;const o=s[0],c=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],f=Array.isArray(c)?NN(c,m=>m.test(o)):MN(c,m=>m.test(o));let h;h=e.valueCallback?e.valueCallback(f):f,h=n.valueCallback?n.valueCallback(h):h;const g=t.slice(o.length);return{value:h,rest:g}}}function MN(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function NN(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function _N(e){return(t,n={})=>{const r=t.match(e.matchPattern);if(!r)return null;const i=r[0],s=t.match(e.parsePattern);if(!s)return null;let o=e.valueCallback?e.valueCallback(s[0]):s[0];o=n.valueCallback?n.valueCallback(o):o;const c=t.slice(i.length);return{value:o,rest:c}}}const DN=/^(\d+)(th|st|nd|rd)?/i,RN=/\d+/i,ON={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},IN={any:[/^b/i,/^(a|c)/i]},LN={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},zN={any:[/1/i,/2/i,/3/i,/4/i]},PN={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},BN={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},jN={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},FN={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},VN={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},qN={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},UN={ordinalNumber:_N({matchPattern:DN,parsePattern:RN,valueCallback:e=>parseInt(e,10)}),era:Ec({matchPatterns:ON,defaultMatchWidth:"wide",parsePatterns:IN,defaultParseWidth:"any"}),quarter:Ec({matchPatterns:LN,defaultMatchWidth:"wide",parsePatterns:zN,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Ec({matchPatterns:PN,defaultMatchWidth:"wide",parsePatterns:BN,defaultParseWidth:"any"}),day:Ec({matchPatterns:jN,defaultMatchWidth:"wide",parsePatterns:FN,defaultParseWidth:"any"}),dayPeriod:Ec({matchPatterns:VN,defaultMatchWidth:"any",parsePatterns:qN,defaultParseWidth:"any"})},HN={code:"en-US",formatDistance:pN,formatLong:xN,formatRelative:vN,localize:TN,match:UN,options:{weekStartsOn:0,firstWeekContainsDate:1}};function GN(e,t){const n=Xi(e,t==null?void 0:t.in);return lN(n,fN(n))+1}function XN(e,t){const n=Xi(e,t==null?void 0:t.in),r=+Mh(n)-+oN(n);return Math.round(r/_7)+1}function R7(e,t){var g,m,x,v;const n=Xi(e,t==null?void 0:t.in),r=n.getFullYear(),i=fp(),s=(t==null?void 0:t.firstWeekContainsDate)??((m=(g=t==null?void 0:t.locale)==null?void 0:g.options)==null?void 0:m.firstWeekContainsDate)??i.firstWeekContainsDate??((v=(x=i.locale)==null?void 0:x.options)==null?void 0:v.firstWeekContainsDate)??1,o=el((t==null?void 0:t.in)||e,0);o.setFullYear(r+1,0,s),o.setHours(0,0,0,0);const c=Gc(o,t),f=el((t==null?void 0:t.in)||e,0);f.setFullYear(r,0,s),f.setHours(0,0,0,0);const h=Gc(f,t);return+n>=+c?r+1:+n>=+h?r:r-1}function YN(e,t){var c,f,h,g;const n=fp(),r=(t==null?void 0:t.firstWeekContainsDate)??((f=(c=t==null?void 0:t.locale)==null?void 0:c.options)==null?void 0:f.firstWeekContainsDate)??n.firstWeekContainsDate??((g=(h=n.locale)==null?void 0:h.options)==null?void 0:g.firstWeekContainsDate)??1,i=R7(e,t),s=el((t==null?void 0:t.in)||e,0);return s.setFullYear(i,0,r),s.setHours(0,0,0,0),Gc(s,t)}function JN(e,t){const n=Xi(e,t==null?void 0:t.in),r=+Gc(n,t)-+YN(n,t);return Math.round(r/_7)+1}function Xt(e,t){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(t,"0");return n+r}const Fs={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return Xt(t==="yy"?r%100:r,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):Xt(n+1,2)},d(e,t){return Xt(e.getDate(),t.length)},a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,t){return Xt(e.getHours()%12||12,t.length)},H(e,t){return Xt(e.getHours(),t.length)},m(e,t){return Xt(e.getMinutes(),t.length)},s(e,t){return Xt(e.getSeconds(),t.length)},S(e,t){const n=t.length,r=e.getMilliseconds(),i=Math.trunc(r*Math.pow(10,n-3));return Xt(i,t.length)}},zo={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Db={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){const r=e.getFullYear(),i=r>0?r:1-r;return n.ordinalNumber(i,{unit:"year"})}return Fs.y(e,t)},Y:function(e,t,n,r){const i=R7(e,r),s=i>0?i:1-i;if(t==="YY"){const o=s%100;return Xt(o,2)}return t==="Yo"?n.ordinalNumber(s,{unit:"year"}):Xt(s,t.length)},R:function(e,t){const n=D7(e);return Xt(n,t.length)},u:function(e,t){const n=e.getFullYear();return Xt(n,t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return Xt(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return Xt(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return Fs.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return Xt(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const i=JN(e,r);return t==="wo"?n.ordinalNumber(i,{unit:"week"}):Xt(i,t.length)},I:function(e,t,n){const r=XN(e);return t==="Io"?n.ordinalNumber(r,{unit:"week"}):Xt(r,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):Fs.d(e,t)},D:function(e,t,n){const r=GN(e);return t==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):Xt(r,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const i=e.getDay(),s=(i-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(s);case"ee":return Xt(s,2);case"eo":return n.ordinalNumber(s,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});case"eeee":default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const i=e.getDay(),s=(i-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(s);case"cc":return Xt(s,t.length);case"co":return n.ordinalNumber(s,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});case"cccc":default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),i=r===0?7:r;switch(t){case"i":return String(i);case"ii":return Xt(i,t.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const i=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let i;switch(r===12?i=zo.noon:r===0?i=zo.midnight:i=r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let i;switch(r>=17?i=zo.evening:r>=12?i=zo.afternoon:r>=4?i=zo.morning:i=zo.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let r=e.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return Fs.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):Fs.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return t==="Ko"?n.ordinalNumber(r,{unit:"hour"}):Xt(r,t.length)},k:function(e,t,n){let r=e.getHours();return r===0&&(r=24),t==="ko"?n.ordinalNumber(r,{unit:"hour"}):Xt(r,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):Fs.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):Fs.s(e,t)},S:function(e,t){return Fs.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(r===0)return"Z";switch(t){case"X":return Ob(r);case"XXXX":case"XX":return Bl(r);case"XXXXX":case"XXX":default:return Bl(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return Ob(r);case"xxxx":case"xx":return Bl(r);case"xxxxx":case"xxx":default:return Bl(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Rb(r,":");case"OOOO":default:return"GMT"+Bl(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Rb(r,":");case"zzzz":default:return"GMT"+Bl(r,":")}},t:function(e,t,n){const r=Math.trunc(+e/1e3);return Xt(r,t.length)},T:function(e,t,n){return Xt(+e,t.length)}};function Rb(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),i=Math.trunc(r/60),s=r%60;return s===0?n+String(i):n+String(i)+t+Xt(s,2)}function Ob(e,t){return e%60===0?(e>0?"-":"+")+Xt(Math.abs(e)/60,2):Bl(e,t)}function Bl(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),i=Xt(Math.trunc(r/60),2),s=Xt(r%60,2);return n+i+t+s}const Ib=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},O7=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},$N=(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],i=n[2];if(!i)return Ib(e,t);let s;switch(r){case"P":s=t.dateTime({width:"short"});break;case"PP":s=t.dateTime({width:"medium"});break;case"PPP":s=t.dateTime({width:"long"});break;case"PPPP":default:s=t.dateTime({width:"full"});break}return s.replace("{{date}}",Ib(r,t)).replace("{{time}}",O7(i,t))},WN={p:O7,P:$N},KN=/^D+$/,QN=/^Y+$/,ZN=["D","DD","YY","YYYY"];function e_(e){return KN.test(e)}function t_(e){return QN.test(e)}function n_(e,t,n){const r=r_(e,t,n);if(console.warn(r),ZN.includes(e))throw new RangeError(r)}function r_(e,t,n){const r=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const i_=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,a_=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,s_=/^'([^]*?)'?$/,l_=/''/g,o_=/[a-zA-Z]/;function u_(e,t,n){var g,m,x,v;const r=fp(),i=r.locale??HN,s=r.firstWeekContainsDate??((m=(g=r.locale)==null?void 0:g.options)==null?void 0:m.firstWeekContainsDate)??1,o=r.weekStartsOn??((v=(x=r.locale)==null?void 0:x.options)==null?void 0:v.weekStartsOn)??0,c=Xi(e,n==null?void 0:n.in);if(!cN(c))throw new RangeError("Invalid time value");let f=t.match(a_).map(E=>{const k=E[0];if(k==="p"||k==="P"){const T=WN[k];return T(E,i.formatLong)}return E}).join("").match(i_).map(E=>{if(E==="''")return{isToken:!1,value:"'"};const k=E[0];if(k==="'")return{isToken:!1,value:c_(E)};if(Db[k])return{isToken:!0,value:E};if(k.match(o_))throw new RangeError("Format string contains an unescaped latin alphabet character `"+k+"`");return{isToken:!1,value:E}});i.localize.preprocessor&&(f=i.localize.preprocessor(c,f));const h={firstWeekContainsDate:s,weekStartsOn:o,locale:i};return f.map(E=>{if(!E.isToken)return E.value;const k=E.value;(t_(k)||e_(k))&&n_(k,t,String(e));const T=Db[k[0]];return T(c,k,i.localize,h)}).join("")}function c_(e){const t=e.match(s_);return t?t[1].replace(l_,"'"):e}function I7(e){return u_(new Date(e),"dd MMM, yy")}/**
61
- * @license lucide-react v0.554.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 f_=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),h_=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,r)=>r?r.toUpperCase():n.toLowerCase()),Lb=e=>{const t=h_(e);return t.charAt(0).toUpperCase()+t.slice(1)},L7=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim(),p_=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};/**
66
- * @license lucide-react v0.554.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
- */var d_={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"};/**
71
- * @license lucide-react v0.554.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 m_=I.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i="",children:s,iconNode:o,...c},f)=>I.createElement("svg",{ref:f,...d_,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:L7("lucide",i),...!s&&!p_(c)&&{"aria-hidden":"true"},...c},[...o.map(([h,g])=>I.createElement(h,g)),...Array.isArray(s)?s:[s]]));/**
76
- * @license lucide-react v0.554.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 Fr=(e,t)=>{const n=I.forwardRef(({className:r,...i},s)=>I.createElement(m_,{ref:s,iconNode:t,className:L7(`lucide-${f_(Lb(e))}`,`lucide-${e}`,r),...i}));return n.displayName=Lb(e),n};/**
81
- * @license lucide-react v0.554.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 g_=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],x_=Fr("arrow-left",g_);/**
86
- * @license lucide-react v0.554.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 y_=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],z7=Fr("arrow-right",y_);/**
91
- * @license lucide-react v0.554.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 v_=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],b_=Fr("check",v_);/**
96
- * @license lucide-react v0.554.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 w_=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],S_=Fr("chevron-down",w_);/**
101
- * @license lucide-react v0.554.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 k_=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],E_=Fr("chevron-left",k_);/**
106
- * @license lucide-react v0.554.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 C_=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],P7=Fr("chevron-right",C_);/**
111
- * @license lucide-react v0.554.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 A_=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],T_=Fr("chevron-up",A_);/**
116
- * @license lucide-react v0.554.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 M_=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],N_=Fr("circle",M_);/**
121
- * @license lucide-react v0.554.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 __=[["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"}]],B7=Fr("image",__);/**
126
- * @license lucide-react v0.554.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 D_=[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]],zb=Fr("monitor",D_);/**
131
- * @license lucide-react v0.554.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 R_=[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]],Pb=Fr("moon",R_);/**
136
- * @license lucide-react v0.554.0 - ISC
137
- *
138
- * This source code is licensed under the ISC license.
139
- * See the LICENSE file in the root directory of this source tree.
140
- */const O_=[["path",{d:"M2 3h20",key:"91anmk"}],["path",{d:"M21 3v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V3",key:"2k9sn8"}],["path",{d:"m7 21 5-5 5 5",key:"bip4we"}]],I_=Fr("presentation",O_);/**
141
- * @license lucide-react v0.554.0 - ISC
142
- *
143
- * This source code is licensed under the ISC license.
144
- * See the LICENSE file in the root directory of this source tree.
145
- */const L_=[["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"}]],Bb=Fr("sun",L_);/**
146
- * @license lucide-react v0.554.0 - ISC
147
- *
148
- * This source code is licensed under the ISC license.
149
- * See the LICENSE file in the root directory of this source tree.
150
- */const z_=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],P_=Fr("x",z_);function B_({directory:e}){const t=e.children.filter(i=>i.type==="directory");if(t.length===0)return B.jsx("div",{className:"py-24 text-center",children:B.jsx("p",{className:"text-muted-foreground font-mono text-sm tracking-wide",children:"no entries"})});let n=t.map(i=>{const s=hg(i),o=d7(i);return{...i,readme:s,slides:o}});n=n.filter(i=>{var s,o;return((o=(s=i.readme)==null?void 0:s.frontmatter)==null?void 0:o.visibility)!=="hidden"}),n=n.sort((i,s)=>{var f,h,g,m,x,v;let o=(h=(f=i.readme)==null?void 0:f.frontmatter)!=null&&h.date?new Date(i.readme.frontmatter.date):null,c=(m=(g=s.readme)==null?void 0:g.frontmatter)!=null&&m.date?new Date(s.readme.frontmatter.date):null;return!o&&i.slides&&(o=(x=i.slides.frontmatter)!=null&&x.date?new Date(i.slides.frontmatter.date):null),!c&&s.slides&&(c=(v=s.slides.frontmatter)!=null&&v.date?new Date(s.slides.frontmatter.date):null),o&&c?c.getTime()-o.getTime():o?-1:c?1:i.name.localeCompare(s.name)});const r={};return n.forEach(i=>{var c,f,h;let s=(f=(c=i.readme)==null?void 0:c.frontmatter)!=null&&f.date?new Date(i.readme.frontmatter.date):null;!s&&i.slides&&(s=(h=i.slides.frontmatter)!=null&&h.date?new Date(i.slides.frontmatter.date):null);const o=s?`${s.getFullYear()}-${s.getMonth()+1}`:"unknown";r[o]||(r[o]=[]),r[o].push(i)}),B.jsx("div",{className:"space-y-8",children:Object.entries(r).sort(([i],[s])=>i==="unknown"?1:s==="unknown"?-1:s.localeCompare(i)).map(([i,s])=>{const[o,c]=i.split("-"),f=i==="unknown"?"Unknown Date":new Date(parseInt(o),parseInt(c)-1).toLocaleDateString("en-US",{year:"numeric",month:"long"});return B.jsxs("div",{children:[B.jsx("h2",{className:"text-xs font-mono uppercase tracking-wider text-muted-foreground mb-3",children:f}),B.jsx("div",{className:"space-y-1",children:s.map(h=>{var E;let g=(E=h.readme)==null?void 0:E.frontmatter;!h.readme&&h.slides&&(g=h.slides.frontmatter);const m=(g==null?void 0:g.title)||h.name,x=g==null?void 0:g.description,v=g!=null&&g.date?new Date(g.date):null;return B.jsx(tu,{to:h.slides&&!h.readme?`/${h.slides.path}`:`/${h.readme.path}`,className:Yt("group block py-3 px-3 -mx-3 rounded-md","transition-colors duration-150"),children:B.jsxs("article",{className:"flex items-start gap-4",children:[B.jsx("time",{dateTime:v==null?void 0:v.toISOString(),className:"font-mono text-xs text-muted-foreground tabular-nums w-20 flex-shrink-0 pt-0.5",children:v?I7(v):B.jsx("span",{className:"text-muted-foreground/30",children:"—"})}),B.jsxs("div",{className:"flex-1 min-w-0",children:[B.jsxs("h3",{className:Yt("text-sm font-medium text-foreground","group-hover:underline","flex items-center gap-2"),children:[B.jsx("span",{children:m}),B.jsx(z7,{className:"h-3 w-3 opacity-0 -translate-x-1 group-hover:opacity-100 group-hover:translate-x-0 transition-all duration-200 text-primary"})]}),x&&B.jsx("p",{className:"text-sm text-muted-foreground line-clamp-1 mt-0.5",children:x})]})]})},h.path)})})]},i)})})}function j_({error:e,path:t}){const n="min-h-screen bg-background container mx-auto max-w-[var(--content-width)] py-24 px-[var(--page-padding)]";switch(e.type){case"config_not_found":return B.jsx("main",{className:n,children:B.jsxs("div",{className:"text-center space-y-4",children:[B.jsx("h1",{className:"text-2xl font-semibold tracking-tight",children:"Setup Required"}),B.jsxs("p",{className:"text-muted-foreground",children:["Could not find ",B.jsx("code",{className:"font-mono text-sm bg-muted px-2 py-1",children:".veslx.json"})]}),B.jsx("p",{className:"text-muted-foreground/70 text-sm",children:"Run the veslx build script to generate the directory index."})]})});case"path_not_found":return B.jsx("main",{className:n,children:B.jsxs("div",{className:"text-center space-y-4",children:[B.jsx("h1",{className:"font-mono text-6xl tracking-tighter text-muted-foreground/30",children:"404"}),B.jsx("p",{className:"text-lg text-foreground",children:"Page not found"}),B.jsx("p",{className:"text-muted-foreground text-sm",children:B.jsx("code",{className:"font-mono bg-muted px-2 py-1",children:t})})]})});case"parse_error":return B.jsx("main",{className:n,children:B.jsxs("div",{className:"text-center space-y-4",children:[B.jsx("h1",{className:"text-2xl font-semibold text-destructive",children:"Configuration Error"}),B.jsxs("p",{className:"text-muted-foreground",children:["Failed to parse ",B.jsx("code",{className:"font-mono text-sm bg-muted px-2 py-1",children:".veslx.json"})]})]})});case"fetch_error":default:return B.jsx("main",{className:n,children:B.jsxs("div",{className:"text-center space-y-4",children:[B.jsx("h1",{className:"text-2xl font-semibold text-destructive",children:"Error"}),B.jsx("p",{className:"text-muted-foreground",children:e.message})]})})}}function px(){const e=m7();return B.jsx(B.Fragment,{children:e&&B.jsx("div",{className:"sticky top-0 z-50 px-[var(--page-padding)] py-2 bg-red-500 text-primary-foreground font-mono text-xs text-center tracking-wide",children:B.jsxs("span",{className:"inline-flex items-center gap-3",children:[B.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-current animate-pulse"}),B.jsx("span",{className:"uppercase tracking-widest",children:"simulation running"}),B.jsx("span",{className:"text-primary-foreground/60",children:"Page will auto-refresh on completion"})]})})})}function It(e,t,{checkForDefaultPrevented:n=!0}={}){return function(i){if(e==null||e(i),n===!1||!i.defaultPrevented)return t==null?void 0:t(i)}}function jb(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Xl(...e){return t=>{let n=!1;const r=e.map(i=>{const s=jb(i,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let i=0;i<r.length;i++){const s=r[i];typeof s=="function"?s():jb(e[i],null)}}}}function Br(...e){return I.useCallback(Xl(...e),e)}function p0(e,t=[]){let n=[];function r(s,o){const c=I.createContext(o),f=n.length;n=[...n,o];const h=m=>{var C;const{scope:x,children:v,...E}=m,k=((C=x==null?void 0:x[e])==null?void 0:C[f])||c,T=I.useMemo(()=>E,Object.values(E));return B.jsx(k.Provider,{value:T,children:v})};h.displayName=s+"Provider";function g(m,x){var k;const v=((k=x==null?void 0:x[e])==null?void 0:k[f])||c,E=I.useContext(v);if(E)return E;if(o!==void 0)return o;throw new Error(`\`${m}\` must be used within \`${s}\``)}return[h,g]}const i=()=>{const s=n.map(o=>I.createContext(o));return function(c){const f=(c==null?void 0:c[e])||s;return I.useMemo(()=>({[`__scope${e}`]:{...c,[e]:f}}),[c,f])}};return i.scopeName=e,[r,F_(i,...t)]}function F_(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const o=r.reduce((c,{useScope:f,scopeName:h})=>{const m=f(s)[`__scope${h}`];return{...c,...m}},{});return I.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}var tl=globalThis!=null&&globalThis.document?I.useLayoutEffect:()=>{},V_=rx[" useInsertionEffect ".trim().toString()]||tl;function j7({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[i,s,o]=q_({defaultProp:t,onChange:n}),c=e!==void 0,f=c?e:i;{const g=I.useRef(e!==void 0);I.useEffect(()=>{const m=g.current;m!==c&&console.warn(`${r} is changing from ${m?"controlled":"uncontrolled"} to ${c?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),g.current=c},[c,r])}const h=I.useCallback(g=>{var m;if(c){const x=U_(g)?g(e):g;x!==e&&((m=o.current)==null||m.call(o,x))}else s(g)},[c,e,s,o]);return[f,h]}function q_({defaultProp:e,onChange:t}){const[n,r]=I.useState(e),i=I.useRef(n),s=I.useRef(t);return V_(()=>{s.current=t},[t]),I.useEffect(()=>{var o;i.current!==n&&((o=s.current)==null||o.call(s,n),i.current=n)},[n,i]),[n,r,s]}function U_(e){return typeof e=="function"}function H_(e){const t=G_(e),n=I.forwardRef((r,i)=>{const{children:s,...o}=r,c=I.Children.toArray(s),f=c.find(Y_);if(f){const h=f.props.children,g=c.map(m=>m===f?I.Children.count(h)>1?I.Children.only(null):I.isValidElement(h)?h.props.children:null:m);return B.jsx(t,{...o,ref:i,children:I.isValidElement(h)?I.cloneElement(h,void 0,g):null})}return B.jsx(t,{...o,ref:i,children:s})});return n.displayName=`${e}.Slot`,n}function G_(e){const t=I.forwardRef((n,r)=>{const{children:i,...s}=n;if(I.isValidElement(i)){const o=$_(i),c=J_(s,i.props);return i.type!==I.Fragment&&(c.ref=r?Xl(r,o):o),I.cloneElement(i,c)}return I.Children.count(i)>1?I.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var X_=Symbol("radix.slottable");function Y_(e){return I.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===X_}function J_(e,t){const n={...t};for(const r in t){const i=e[r],s=t[r];/^on[A-Z]/.test(r)?i&&s?n[r]=(...c)=>{const f=s(...c);return i(...c),f}:i&&(n[r]=i):r==="style"?n[r]={...i,...s}:r==="className"&&(n[r]=[i,s].filter(Boolean).join(" "))}return{...e,...n}}function $_(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)}var W_=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],gr=W_.reduce((e,t)=>{const n=H_(`Primitive.${t}`),r=I.forwardRef((i,s)=>{const{asChild:o,...c}=i,f=o?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),B.jsx(f,{...c,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function F7(e,t){e&&op.flushSync(()=>e.dispatchEvent(t))}function Fb(e){const t=K_(e),n=I.forwardRef((r,i)=>{const{children:s,...o}=r,c=I.Children.toArray(s),f=c.find(Z_);if(f){const h=f.props.children,g=c.map(m=>m===f?I.Children.count(h)>1?I.Children.only(null):I.isValidElement(h)?h.props.children:null:m);return B.jsx(t,{...o,ref:i,children:I.isValidElement(h)?I.cloneElement(h,void 0,g):null})}return B.jsx(t,{...o,ref:i,children:s})});return n.displayName=`${e}.Slot`,n}function K_(e){const t=I.forwardRef((n,r)=>{const{children:i,...s}=n;if(I.isValidElement(i)){const o=tD(i),c=eD(s,i.props);return i.type!==I.Fragment&&(c.ref=r?Xl(r,o):o),I.cloneElement(i,c)}return I.Children.count(i)>1?I.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Q_=Symbol("radix.slottable");function Z_(e){return I.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Q_}function eD(e,t){const n={...t};for(const r in t){const i=e[r],s=t[r];/^on[A-Z]/.test(r)?i&&s?n[r]=(...c)=>{const f=s(...c);return i(...c),f}:i&&(n[r]=i):r==="style"?n[r]={...i,...s}:r==="className"&&(n[r]=[i,s].filter(Boolean).join(" "))}return{...e,...n}}function tD(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)}function V7(e){const t=e+"CollectionProvider",[n,r]=p0(t),[i,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),o=k=>{const{scope:T,children:C}=k,M=Hs.useRef(null),R=Hs.useRef(new Map).current;return B.jsx(i,{scope:T,itemMap:R,collectionRef:M,children:C})};o.displayName=t;const c=e+"CollectionSlot",f=Fb(c),h=Hs.forwardRef((k,T)=>{const{scope:C,children:M}=k,R=s(c,C),j=Br(T,R.collectionRef);return B.jsx(f,{ref:j,children:M})});h.displayName=c;const g=e+"CollectionItemSlot",m="data-radix-collection-item",x=Fb(g),v=Hs.forwardRef((k,T)=>{const{scope:C,children:M,...R}=k,j=Hs.useRef(null),L=Br(T,j),S=s(g,C);return Hs.useEffect(()=>(S.itemMap.set(j,{ref:j,...R}),()=>void S.itemMap.delete(j))),B.jsx(x,{[m]:"",ref:L,children:M})});v.displayName=g;function E(k){const T=s(e+"CollectionConsumer",k);return Hs.useCallback(()=>{const M=T.collectionRef.current;if(!M)return[];const R=Array.from(M.querySelectorAll(`[${m}]`));return Array.from(T.itemMap.values()).sort((S,O)=>R.indexOf(S.ref.current)-R.indexOf(O.ref.current))},[T.collectionRef,T.itemMap])}return[{Provider:o,Slot:h,ItemSlot:v},E,r]}var nD=I.createContext(void 0);function q7(e){const t=I.useContext(nD);return e||t||"ltr"}function Wa(e){const t=I.useRef(e);return I.useEffect(()=>{t.current=e}),I.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function rD(e,t=globalThis==null?void 0:globalThis.document){const n=Wa(e);I.useEffect(()=>{const r=i=>{i.key==="Escape"&&n(i)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var iD="DismissableLayer",dg="dismissableLayer.update",aD="dismissableLayer.pointerDownOutside",sD="dismissableLayer.focusOutside",Vb,U7=I.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),H7=I.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:s,onInteractOutside:o,onDismiss:c,...f}=e,h=I.useContext(U7),[g,m]=I.useState(null),x=(g==null?void 0:g.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,v]=I.useState({}),E=Br(t,O=>m(O)),k=Array.from(h.layers),[T]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),C=k.indexOf(T),M=g?k.indexOf(g):-1,R=h.layersWithOutsidePointerEventsDisabled.size>0,j=M>=C,L=uD(O=>{const q=O.target,W=[...h.branches].some(J=>J.contains(q));!j||W||(i==null||i(O),o==null||o(O),O.defaultPrevented||c==null||c())},x),S=cD(O=>{const q=O.target;[...h.branches].some(J=>J.contains(q))||(s==null||s(O),o==null||o(O),O.defaultPrevented||c==null||c())},x);return rD(O=>{M===h.layers.size-1&&(r==null||r(O),!O.defaultPrevented&&c&&(O.preventDefault(),c()))},x),I.useEffect(()=>{if(g)return n&&(h.layersWithOutsidePointerEventsDisabled.size===0&&(Vb=x.body.style.pointerEvents,x.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(g)),h.layers.add(g),qb(),()=>{n&&h.layersWithOutsidePointerEventsDisabled.size===1&&(x.body.style.pointerEvents=Vb)}},[g,x,n,h]),I.useEffect(()=>()=>{g&&(h.layers.delete(g),h.layersWithOutsidePointerEventsDisabled.delete(g),qb())},[g,h]),I.useEffect(()=>{const O=()=>v({});return document.addEventListener(dg,O),()=>document.removeEventListener(dg,O)},[]),B.jsx(gr.div,{...f,ref:E,style:{pointerEvents:R?j?"auto":"none":void 0,...e.style},onFocusCapture:It(e.onFocusCapture,S.onFocusCapture),onBlurCapture:It(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:It(e.onPointerDownCapture,L.onPointerDownCapture)})});H7.displayName=iD;var lD="DismissableLayerBranch",oD=I.forwardRef((e,t)=>{const n=I.useContext(U7),r=I.useRef(null),i=Br(t,r);return I.useEffect(()=>{const s=r.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),B.jsx(gr.div,{...e,ref:i})});oD.displayName=lD;function uD(e,t=globalThis==null?void 0:globalThis.document){const n=Wa(e),r=I.useRef(!1),i=I.useRef(()=>{});return I.useEffect(()=>{const s=c=>{if(c.target&&!r.current){let f=function(){G7(aD,n,h,{discrete:!0})};const h={originalEvent:c};c.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=f,t.addEventListener("click",i.current,{once:!0})):f()}else t.removeEventListener("click",i.current);r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",s),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function cD(e,t=globalThis==null?void 0:globalThis.document){const n=Wa(e),r=I.useRef(!1);return I.useEffect(()=>{const i=s=>{s.target&&!r.current&&G7(sD,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function qb(){const e=new CustomEvent(dg);document.dispatchEvent(e)}function G7(e,t,n,{discrete:r}){const i=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?F7(i,s):i.dispatchEvent(s)}var i1=0;function fD(){I.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Ub()),document.body.insertAdjacentElement("beforeend",e[1]??Ub()),i1++,()=>{i1===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),i1--}},[])}function Ub(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var a1="focusScope.autoFocusOnMount",s1="focusScope.autoFocusOnUnmount",Hb={bubbles:!1,cancelable:!0},hD="FocusScope",X7=I.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:s,...o}=e,[c,f]=I.useState(null),h=Wa(i),g=Wa(s),m=I.useRef(null),x=Br(t,k=>f(k)),v=I.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;I.useEffect(()=>{if(r){let k=function(R){if(v.paused||!c)return;const j=R.target;c.contains(j)?m.current=j:Gs(m.current,{select:!0})},T=function(R){if(v.paused||!c)return;const j=R.relatedTarget;j!==null&&(c.contains(j)||Gs(m.current,{select:!0}))},C=function(R){if(document.activeElement===document.body)for(const L of R)L.removedNodes.length>0&&Gs(c)};document.addEventListener("focusin",k),document.addEventListener("focusout",T);const M=new MutationObserver(C);return c&&M.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",k),document.removeEventListener("focusout",T),M.disconnect()}}},[r,c,v.paused]),I.useEffect(()=>{if(c){Xb.add(v);const k=document.activeElement;if(!c.contains(k)){const C=new CustomEvent(a1,Hb);c.addEventListener(a1,h),c.dispatchEvent(C),C.defaultPrevented||(pD(yD(Y7(c)),{select:!0}),document.activeElement===k&&Gs(c))}return()=>{c.removeEventListener(a1,h),setTimeout(()=>{const C=new CustomEvent(s1,Hb);c.addEventListener(s1,g),c.dispatchEvent(C),C.defaultPrevented||Gs(k??document.body,{select:!0}),c.removeEventListener(s1,g),Xb.remove(v)},0)}}},[c,h,g,v]);const E=I.useCallback(k=>{if(!n&&!r||v.paused)return;const T=k.key==="Tab"&&!k.altKey&&!k.ctrlKey&&!k.metaKey,C=document.activeElement;if(T&&C){const M=k.currentTarget,[R,j]=dD(M);R&&j?!k.shiftKey&&C===j?(k.preventDefault(),n&&Gs(R,{select:!0})):k.shiftKey&&C===R&&(k.preventDefault(),n&&Gs(j,{select:!0})):C===M&&k.preventDefault()}},[n,r,v.paused]);return B.jsx(gr.div,{tabIndex:-1,...o,ref:x,onKeyDown:E})});X7.displayName=hD;function pD(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Gs(r,{select:t}),document.activeElement!==n)return}function dD(e){const t=Y7(e),n=Gb(t,e),r=Gb(t.reverse(),e);return[n,r]}function Y7(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Gb(e,t){for(const n of e)if(!mD(n,{upTo:t}))return n}function mD(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function gD(e){return e instanceof HTMLInputElement&&"select"in e}function Gs(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&gD(e)&&t&&e.select()}}var Xb=xD();function xD(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Yb(e,t),e.unshift(t)},remove(t){var n;e=Yb(e,t),(n=e[0])==null||n.resume()}}}function Yb(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function yD(e){return e.filter(t=>t.tagName!=="A")}var vD=rx[" useId ".trim().toString()]||(()=>{}),bD=0;function mg(e){const[t,n]=I.useState(vD());return tl(()=>{n(r=>r??String(bD++))},[e]),t?`radix-${t}`:""}const wD=["top","right","bottom","left"],nl=Math.min,Zr=Math.max,Nh=Math.round,Hf=Math.floor,la=e=>({x:e,y:e}),SD={left:"right",right:"left",bottom:"top",top:"bottom"},kD={start:"end",end:"start"};function gg(e,t,n){return Zr(e,nl(t,n))}function Ka(e,t){return typeof e=="function"?e(t):e}function Qa(e){return e.split("-")[0]}function cu(e){return e.split("-")[1]}function dx(e){return e==="x"?"y":"x"}function mx(e){return e==="y"?"height":"width"}const ED=new Set(["top","bottom"]);function ia(e){return ED.has(Qa(e))?"y":"x"}function gx(e){return dx(ia(e))}function CD(e,t,n){n===void 0&&(n=!1);const r=cu(e),i=gx(e),s=mx(i);let o=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(o=_h(o)),[o,_h(o)]}function AD(e){const t=_h(e);return[xg(e),t,xg(t)]}function xg(e){return e.replace(/start|end/g,t=>kD[t])}const Jb=["left","right"],$b=["right","left"],TD=["top","bottom"],MD=["bottom","top"];function ND(e,t,n){switch(e){case"top":case"bottom":return n?t?$b:Jb:t?Jb:$b;case"left":case"right":return t?TD:MD;default:return[]}}function _D(e,t,n,r){const i=cu(e);let s=ND(Qa(e),n==="start",r);return i&&(s=s.map(o=>o+"-"+i),t&&(s=s.concat(s.map(xg)))),s}function _h(e){return e.replace(/left|right|bottom|top/g,t=>SD[t])}function DD(e){return{top:0,right:0,bottom:0,left:0,...e}}function J7(e){return typeof e!="number"?DD(e):{top:e,right:e,bottom:e,left:e}}function Dh(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function Wb(e,t,n){let{reference:r,floating:i}=e;const s=ia(t),o=gx(t),c=mx(o),f=Qa(t),h=s==="y",g=r.x+r.width/2-i.width/2,m=r.y+r.height/2-i.height/2,x=r[c]/2-i[c]/2;let v;switch(f){case"top":v={x:g,y:r.y-i.height};break;case"bottom":v={x:g,y:r.y+r.height};break;case"right":v={x:r.x+r.width,y:m};break;case"left":v={x:r.x-i.width,y:m};break;default:v={x:r.x,y:r.y}}switch(cu(t)){case"start":v[o]-=x*(n&&h?-1:1);break;case"end":v[o]+=x*(n&&h?-1:1);break}return v}const RD=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:s=[],platform:o}=n,c=s.filter(Boolean),f=await(o.isRTL==null?void 0:o.isRTL(t));let h=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:g,y:m}=Wb(h,r,f),x=r,v={},E=0;for(let k=0;k<c.length;k++){const{name:T,fn:C}=c[k],{x:M,y:R,data:j,reset:L}=await C({x:g,y:m,initialPlacement:r,placement:x,strategy:i,middlewareData:v,rects:h,platform:o,elements:{reference:e,floating:t}});g=M??g,m=R??m,v={...v,[T]:{...v[T],...j}},L&&E<=50&&(E++,typeof L=="object"&&(L.placement&&(x=L.placement),L.rects&&(h=L.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):L.rects),{x:g,y:m}=Wb(h,x,f)),k=-1)}return{x:g,y:m,placement:x,strategy:i,middlewareData:v}};async function Xc(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:s,rects:o,elements:c,strategy:f}=e,{boundary:h="clippingAncestors",rootBoundary:g="viewport",elementContext:m="floating",altBoundary:x=!1,padding:v=0}=Ka(t,e),E=J7(v),T=c[x?m==="floating"?"reference":"floating":m],C=Dh(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(T)))==null||n?T:T.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(c.floating)),boundary:h,rootBoundary:g,strategy:f})),M=m==="floating"?{x:r,y:i,width:o.floating.width,height:o.floating.height}:o.reference,R=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c.floating)),j=await(s.isElement==null?void 0:s.isElement(R))?await(s.getScale==null?void 0:s.getScale(R))||{x:1,y:1}:{x:1,y:1},L=Dh(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:M,offsetParent:R,strategy:f}):M);return{top:(C.top-L.top+E.top)/j.y,bottom:(L.bottom-C.bottom+E.bottom)/j.y,left:(C.left-L.left+E.left)/j.x,right:(L.right-C.right+E.right)/j.x}}const OD=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:s,platform:o,elements:c,middlewareData:f}=t,{element:h,padding:g=0}=Ka(e,t)||{};if(h==null)return{};const m=J7(g),x={x:n,y:r},v=gx(i),E=mx(v),k=await o.getDimensions(h),T=v==="y",C=T?"top":"left",M=T?"bottom":"right",R=T?"clientHeight":"clientWidth",j=s.reference[E]+s.reference[v]-x[v]-s.floating[E],L=x[v]-s.reference[v],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(h));let O=S?S[R]:0;(!O||!await(o.isElement==null?void 0:o.isElement(S)))&&(O=c.floating[R]||s.floating[E]);const q=j/2-L/2,W=O/2-k[E]/2-1,J=nl(m[C],W),re=nl(m[M],W),ae=J,Se=O-k[E]-re,xe=O/2-k[E]/2+q,ge=gg(ae,xe,Se),ee=!f.arrow&&cu(i)!=null&&xe!==ge&&s.reference[E]/2-(xe<ae?J:re)-k[E]/2<0,oe=ee?xe<ae?xe-ae:xe-Se:0;return{[v]:x[v]+oe,data:{[v]:ge,centerOffset:xe-ge-oe,...ee&&{alignmentOffset:oe}},reset:ee}}}),ID=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:s,rects:o,initialPlacement:c,platform:f,elements:h}=t,{mainAxis:g=!0,crossAxis:m=!0,fallbackPlacements:x,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:E="none",flipAlignment:k=!0,...T}=Ka(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const C=Qa(i),M=ia(c),R=Qa(c)===c,j=await(f.isRTL==null?void 0:f.isRTL(h.floating)),L=x||(R||!k?[_h(c)]:AD(c)),S=E!=="none";!x&&S&&L.push(..._D(c,k,E,j));const O=[c,...L],q=await Xc(t,T),W=[];let J=((r=s.flip)==null?void 0:r.overflows)||[];if(g&&W.push(q[C]),m){const xe=CD(i,o,j);W.push(q[xe[0]],q[xe[1]])}if(J=[...J,{placement:i,overflows:W}],!W.every(xe=>xe<=0)){var re,ae;const xe=(((re=s.flip)==null?void 0:re.index)||0)+1,ge=O[xe];if(ge&&(!(m==="alignment"?M!==ia(ge):!1)||J.every(le=>ia(le.placement)===M?le.overflows[0]>0:!0)))return{data:{index:xe,overflows:J},reset:{placement:ge}};let ee=(ae=J.filter(oe=>oe.overflows[0]<=0).sort((oe,le)=>oe.overflows[1]-le.overflows[1])[0])==null?void 0:ae.placement;if(!ee)switch(v){case"bestFit":{var Se;const oe=(Se=J.filter(le=>{if(S){const we=ia(le.placement);return we===M||we==="y"}return!0}).map(le=>[le.placement,le.overflows.filter(we=>we>0).reduce((we,Y)=>we+Y,0)]).sort((le,we)=>le[1]-we[1])[0])==null?void 0:Se[0];oe&&(ee=oe);break}case"initialPlacement":ee=c;break}if(i!==ee)return{reset:{placement:ee}}}return{}}}};function Kb(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Qb(e){return wD.some(t=>e[t]>=0)}const LD=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...i}=Ka(e,t);switch(r){case"referenceHidden":{const s=await Xc(t,{...i,elementContext:"reference"}),o=Kb(s,n.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:Qb(o)}}}case"escaped":{const s=await Xc(t,{...i,altBoundary:!0}),o=Kb(s,n.floating);return{data:{escapedOffsets:o,escaped:Qb(o)}}}default:return{}}}}},$7=new Set(["left","top"]);async function zD(e,t){const{placement:n,platform:r,elements:i}=e,s=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=Qa(n),c=cu(n),f=ia(n)==="y",h=$7.has(o)?-1:1,g=s&&f?-1:1,m=Ka(t,e);let{mainAxis:x,crossAxis:v,alignmentAxis:E}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return c&&typeof E=="number"&&(v=c==="end"?E*-1:E),f?{x:v*g,y:x*h}:{x:x*h,y:v*g}}const PD=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:s,placement:o,middlewareData:c}=t,f=await zD(t,e);return o===((n=c.offset)==null?void 0:n.placement)&&(r=c.arrow)!=null&&r.alignmentOffset?{}:{x:i+f.x,y:s+f.y,data:{...f,placement:o}}}}},BD=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:s=!0,crossAxis:o=!1,limiter:c={fn:T=>{let{x:C,y:M}=T;return{x:C,y:M}}},...f}=Ka(e,t),h={x:n,y:r},g=await Xc(t,f),m=ia(Qa(i)),x=dx(m);let v=h[x],E=h[m];if(s){const T=x==="y"?"top":"left",C=x==="y"?"bottom":"right",M=v+g[T],R=v-g[C];v=gg(M,v,R)}if(o){const T=m==="y"?"top":"left",C=m==="y"?"bottom":"right",M=E+g[T],R=E-g[C];E=gg(M,E,R)}const k=c.fn({...t,[x]:v,[m]:E});return{...k,data:{x:k.x-n,y:k.y-r,enabled:{[x]:s,[m]:o}}}}}},jD=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:s,middlewareData:o}=t,{offset:c=0,mainAxis:f=!0,crossAxis:h=!0}=Ka(e,t),g={x:n,y:r},m=ia(i),x=dx(m);let v=g[x],E=g[m];const k=Ka(c,t),T=typeof k=="number"?{mainAxis:k,crossAxis:0}:{mainAxis:0,crossAxis:0,...k};if(f){const R=x==="y"?"height":"width",j=s.reference[x]-s.floating[R]+T.mainAxis,L=s.reference[x]+s.reference[R]-T.mainAxis;v<j?v=j:v>L&&(v=L)}if(h){var C,M;const R=x==="y"?"width":"height",j=$7.has(Qa(i)),L=s.reference[m]-s.floating[R]+(j&&((C=o.offset)==null?void 0:C[m])||0)+(j?0:T.crossAxis),S=s.reference[m]+s.reference[R]+(j?0:((M=o.offset)==null?void 0:M[m])||0)-(j?T.crossAxis:0);E<L?E=L:E>S&&(E=S)}return{[x]:v,[m]:E}}}},FD=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:i,rects:s,platform:o,elements:c}=t,{apply:f=()=>{},...h}=Ka(e,t),g=await Xc(t,h),m=Qa(i),x=cu(i),v=ia(i)==="y",{width:E,height:k}=s.floating;let T,C;m==="top"||m==="bottom"?(T=m,C=x===(await(o.isRTL==null?void 0:o.isRTL(c.floating))?"start":"end")?"left":"right"):(C=m,T=x==="end"?"top":"bottom");const M=k-g.top-g.bottom,R=E-g.left-g.right,j=nl(k-g[T],M),L=nl(E-g[C],R),S=!t.middlewareData.shift;let O=j,q=L;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(q=R),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(O=M),S&&!x){const J=Zr(g.left,0),re=Zr(g.right,0),ae=Zr(g.top,0),Se=Zr(g.bottom,0);v?q=E-2*(J!==0||re!==0?J+re:Zr(g.left,g.right)):O=k-2*(ae!==0||Se!==0?ae+Se:Zr(g.top,g.bottom))}await f({...t,availableWidth:q,availableHeight:O});const W=await o.getDimensions(c.floating);return E!==W.width||k!==W.height?{reset:{rects:!0}}:{}}}};function hp(){return typeof window<"u"}function fu(e){return W7(e)?(e.nodeName||"").toLowerCase():"#document"}function ti(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function pa(e){var t;return(t=(W7(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function W7(e){return hp()?e instanceof Node||e instanceof ti(e).Node:!1}function Ui(e){return hp()?e instanceof Element||e instanceof ti(e).Element:!1}function ca(e){return hp()?e instanceof HTMLElement||e instanceof ti(e).HTMLElement:!1}function Zb(e){return!hp()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ti(e).ShadowRoot}const VD=new Set(["inline","contents"]);function d0(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Hi(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!VD.has(i)}const qD=new Set(["table","td","th"]);function UD(e){return qD.has(fu(e))}const HD=[":popover-open",":modal"];function pp(e){return HD.some(t=>{try{return e.matches(t)}catch{return!1}})}const GD=["transform","translate","scale","rotate","perspective"],XD=["transform","translate","scale","rotate","perspective","filter"],YD=["paint","layout","strict","content"];function xx(e){const t=yx(),n=Ui(e)?Hi(e):e;return GD.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||XD.some(r=>(n.willChange||"").includes(r))||YD.some(r=>(n.contain||"").includes(r))}function JD(e){let t=rl(e);for(;ca(t)&&!nu(t);){if(xx(t))return t;if(pp(t))return null;t=rl(t)}return null}function yx(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const $D=new Set(["html","body","#document"]);function nu(e){return $D.has(fu(e))}function Hi(e){return ti(e).getComputedStyle(e)}function dp(e){return Ui(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function rl(e){if(fu(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Zb(e)&&e.host||pa(e);return Zb(t)?t.host:t}function K7(e){const t=rl(e);return nu(t)?e.ownerDocument?e.ownerDocument.body:e.body:ca(t)&&d0(t)?t:K7(t)}function Yc(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=K7(e),s=i===((r=e.ownerDocument)==null?void 0:r.body),o=ti(i);if(s){const c=yg(o);return t.concat(o,o.visualViewport||[],d0(i)?i:[],c&&n?Yc(c):[])}return t.concat(i,Yc(i,[],n))}function yg(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Q7(e){const t=Hi(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=ca(e),s=i?e.offsetWidth:n,o=i?e.offsetHeight:r,c=Nh(n)!==s||Nh(r)!==o;return c&&(n=s,r=o),{width:n,height:r,$:c}}function vx(e){return Ui(e)?e:e.contextElement}function Wo(e){const t=vx(e);if(!ca(t))return la(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:s}=Q7(t);let o=(s?Nh(n.width):n.width)/r,c=(s?Nh(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!c||!Number.isFinite(c))&&(c=1),{x:o,y:c}}const WD=la(0);function Z7(e){const t=ti(e);return!yx()||!t.visualViewport?WD:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function KD(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==ti(e)?!1:t}function ql(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),s=vx(e);let o=la(1);t&&(r?Ui(r)&&(o=Wo(r)):o=Wo(e));const c=KD(s,n,r)?Z7(s):la(0);let f=(i.left+c.x)/o.x,h=(i.top+c.y)/o.y,g=i.width/o.x,m=i.height/o.y;if(s){const x=ti(s),v=r&&Ui(r)?ti(r):r;let E=x,k=yg(E);for(;k&&r&&v!==E;){const T=Wo(k),C=k.getBoundingClientRect(),M=Hi(k),R=C.left+(k.clientLeft+parseFloat(M.paddingLeft))*T.x,j=C.top+(k.clientTop+parseFloat(M.paddingTop))*T.y;f*=T.x,h*=T.y,g*=T.x,m*=T.y,f+=R,h+=j,E=ti(k),k=yg(E)}}return Dh({width:g,height:m,x:f,y:h})}function mp(e,t){const n=dp(e).scrollLeft;return t?t.left+n:ql(pa(e)).left+n}function e8(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-mp(e,n),i=n.top+t.scrollTop;return{x:r,y:i}}function QD(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const s=i==="fixed",o=pa(r),c=t?pp(t.floating):!1;if(r===o||c&&s)return n;let f={scrollLeft:0,scrollTop:0},h=la(1);const g=la(0),m=ca(r);if((m||!m&&!s)&&((fu(r)!=="body"||d0(o))&&(f=dp(r)),ca(r))){const v=ql(r);h=Wo(r),g.x=v.x+r.clientLeft,g.y=v.y+r.clientTop}const x=o&&!m&&!s?e8(o,f):la(0);return{width:n.width*h.x,height:n.height*h.y,x:n.x*h.x-f.scrollLeft*h.x+g.x+x.x,y:n.y*h.y-f.scrollTop*h.y+g.y+x.y}}function ZD(e){return Array.from(e.getClientRects())}function eR(e){const t=pa(e),n=dp(e),r=e.ownerDocument.body,i=Zr(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=Zr(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+mp(e);const c=-n.scrollTop;return Hi(r).direction==="rtl"&&(o+=Zr(t.clientWidth,r.clientWidth)-i),{width:i,height:s,x:o,y:c}}const e3=25;function tR(e,t){const n=ti(e),r=pa(e),i=n.visualViewport;let s=r.clientWidth,o=r.clientHeight,c=0,f=0;if(i){s=i.width,o=i.height;const g=yx();(!g||g&&t==="fixed")&&(c=i.offsetLeft,f=i.offsetTop)}const h=mp(r);if(h<=0){const g=r.ownerDocument,m=g.body,x=getComputedStyle(m),v=g.compatMode==="CSS1Compat"&&parseFloat(x.marginLeft)+parseFloat(x.marginRight)||0,E=Math.abs(r.clientWidth-m.clientWidth-v);E<=e3&&(s-=E)}else h<=e3&&(s+=h);return{width:s,height:o,x:c,y:f}}const nR=new Set(["absolute","fixed"]);function rR(e,t){const n=ql(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,s=ca(e)?Wo(e):la(1),o=e.clientWidth*s.x,c=e.clientHeight*s.y,f=i*s.x,h=r*s.y;return{width:o,height:c,x:f,y:h}}function t3(e,t,n){let r;if(t==="viewport")r=tR(e,n);else if(t==="document")r=eR(pa(e));else if(Ui(t))r=rR(t,n);else{const i=Z7(e);r={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return Dh(r)}function t8(e,t){const n=rl(e);return n===t||!Ui(n)||nu(n)?!1:Hi(n).position==="fixed"||t8(n,t)}function iR(e,t){const n=t.get(e);if(n)return n;let r=Yc(e,[],!1).filter(c=>Ui(c)&&fu(c)!=="body"),i=null;const s=Hi(e).position==="fixed";let o=s?rl(e):e;for(;Ui(o)&&!nu(o);){const c=Hi(o),f=xx(o);!f&&c.position==="fixed"&&(i=null),(s?!f&&!i:!f&&c.position==="static"&&!!i&&nR.has(i.position)||d0(o)&&!f&&t8(e,o))?r=r.filter(g=>g!==o):i=c,o=rl(o)}return t.set(e,r),r}function aR(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[...n==="clippingAncestors"?pp(t)?[]:iR(t,this._c):[].concat(n),r],c=o[0],f=o.reduce((h,g)=>{const m=t3(t,g,i);return h.top=Zr(m.top,h.top),h.right=nl(m.right,h.right),h.bottom=nl(m.bottom,h.bottom),h.left=Zr(m.left,h.left),h},t3(t,c,i));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function sR(e){const{width:t,height:n}=Q7(e);return{width:t,height:n}}function lR(e,t,n){const r=ca(t),i=pa(t),s=n==="fixed",o=ql(e,!0,s,t);let c={scrollLeft:0,scrollTop:0};const f=la(0);function h(){f.x=mp(i)}if(r||!r&&!s)if((fu(t)!=="body"||d0(i))&&(c=dp(t)),r){const v=ql(t,!0,s,t);f.x=v.x+t.clientLeft,f.y=v.y+t.clientTop}else i&&h();s&&!r&&i&&h();const g=i&&!r&&!s?e8(i,c):la(0),m=o.left+c.scrollLeft-f.x-g.x,x=o.top+c.scrollTop-f.y-g.y;return{x:m,y:x,width:o.width,height:o.height}}function l1(e){return Hi(e).position==="static"}function n3(e,t){if(!ca(e)||Hi(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return pa(e)===n&&(n=n.ownerDocument.body),n}function n8(e,t){const n=ti(e);if(pp(e))return n;if(!ca(e)){let i=rl(e);for(;i&&!nu(i);){if(Ui(i)&&!l1(i))return i;i=rl(i)}return n}let r=n3(e,t);for(;r&&UD(r)&&l1(r);)r=n3(r,t);return r&&nu(r)&&l1(r)&&!xx(r)?n:r||JD(e)||n}const oR=async function(e){const t=this.getOffsetParent||n8,n=this.getDimensions,r=await n(e.floating);return{reference:lR(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function uR(e){return Hi(e).direction==="rtl"}const cR={convertOffsetParentRelativeRectToViewportRelativeRect:QD,getDocumentElement:pa,getClippingRect:aR,getOffsetParent:n8,getElementRects:oR,getClientRects:ZD,getDimensions:sR,getScale:Wo,isElement:Ui,isRTL:uR};function r8(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function fR(e,t){let n=null,r;const i=pa(e);function s(){var c;clearTimeout(r),(c=n)==null||c.disconnect(),n=null}function o(c,f){c===void 0&&(c=!1),f===void 0&&(f=1),s();const h=e.getBoundingClientRect(),{left:g,top:m,width:x,height:v}=h;if(c||t(),!x||!v)return;const E=Hf(m),k=Hf(i.clientWidth-(g+x)),T=Hf(i.clientHeight-(m+v)),C=Hf(g),R={rootMargin:-E+"px "+-k+"px "+-T+"px "+-C+"px",threshold:Zr(0,nl(1,f))||1};let j=!0;function L(S){const O=S[0].intersectionRatio;if(O!==f){if(!j)return o();O?o(!1,O):r=setTimeout(()=>{o(!1,1e-7)},1e3)}O===1&&!r8(h,e.getBoundingClientRect())&&o(),j=!1}try{n=new IntersectionObserver(L,{...R,root:i.ownerDocument})}catch{n=new IntersectionObserver(L,R)}n.observe(e)}return o(!0),s}function hR(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:f=!1}=r,h=vx(e),g=i||s?[...h?Yc(h):[],...Yc(t)]:[];g.forEach(C=>{i&&C.addEventListener("scroll",n,{passive:!0}),s&&C.addEventListener("resize",n)});const m=h&&c?fR(h,n):null;let x=-1,v=null;o&&(v=new ResizeObserver(C=>{let[M]=C;M&&M.target===h&&v&&(v.unobserve(t),cancelAnimationFrame(x),x=requestAnimationFrame(()=>{var R;(R=v)==null||R.observe(t)})),n()}),h&&!f&&v.observe(h),v.observe(t));let E,k=f?ql(e):null;f&&T();function T(){const C=ql(e);k&&!r8(k,C)&&n(),k=C,E=requestAnimationFrame(T)}return n(),()=>{var C;g.forEach(M=>{i&&M.removeEventListener("scroll",n),s&&M.removeEventListener("resize",n)}),m==null||m(),(C=v)==null||C.disconnect(),v=null,f&&cancelAnimationFrame(E)}}const pR=PD,dR=BD,mR=ID,gR=FD,xR=LD,r3=OD,yR=jD,vR=(e,t,n)=>{const r=new Map,i={platform:cR,...n},s={...i.platform,_c:r};return RD(e,t,{...i,platform:s})};var bR=typeof document<"u",wR=function(){},yh=bR?I.useLayoutEffect:wR;function Rh(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Rh(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const s=i[r];if(!(s==="_owner"&&e.$$typeof)&&!Rh(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function i8(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function i3(e,t){const n=i8(e);return Math.round(t*n)/n}function o1(e){const t=I.useRef(e);return yh(()=>{t.current=e}),t}function SR(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:s,floating:o}={},transform:c=!0,whileElementsMounted:f,open:h}=e,[g,m]=I.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[x,v]=I.useState(r);Rh(x,r)||v(r);const[E,k]=I.useState(null),[T,C]=I.useState(null),M=I.useCallback(le=>{le!==S.current&&(S.current=le,k(le))},[]),R=I.useCallback(le=>{le!==O.current&&(O.current=le,C(le))},[]),j=s||E,L=o||T,S=I.useRef(null),O=I.useRef(null),q=I.useRef(g),W=f!=null,J=o1(f),re=o1(i),ae=o1(h),Se=I.useCallback(()=>{if(!S.current||!O.current)return;const le={placement:t,strategy:n,middleware:x};re.current&&(le.platform=re.current),vR(S.current,O.current,le).then(we=>{const Y={...we,isPositioned:ae.current!==!1};xe.current&&!Rh(q.current,Y)&&(q.current=Y,op.flushSync(()=>{m(Y)}))})},[x,t,n,re,ae]);yh(()=>{h===!1&&q.current.isPositioned&&(q.current.isPositioned=!1,m(le=>({...le,isPositioned:!1})))},[h]);const xe=I.useRef(!1);yh(()=>(xe.current=!0,()=>{xe.current=!1}),[]),yh(()=>{if(j&&(S.current=j),L&&(O.current=L),j&&L){if(J.current)return J.current(j,L,Se);Se()}},[j,L,Se,J,W]);const ge=I.useMemo(()=>({reference:S,floating:O,setReference:M,setFloating:R}),[M,R]),ee=I.useMemo(()=>({reference:j,floating:L}),[j,L]),oe=I.useMemo(()=>{const le={position:n,left:0,top:0};if(!ee.floating)return le;const we=i3(ee.floating,g.x),Y=i3(ee.floating,g.y);return c?{...le,transform:"translate("+we+"px, "+Y+"px)",...i8(ee.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:we,top:Y}},[n,c,ee.floating,g.x,g.y]);return I.useMemo(()=>({...g,update:Se,refs:ge,elements:ee,floatingStyles:oe}),[g,Se,ge,ee,oe])}const kR=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:i}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?r3({element:r.current,padding:i}).fn(n):{}:r?r3({element:r,padding:i}).fn(n):{}}}},ER=(e,t)=>({...pR(e),options:[e,t]}),CR=(e,t)=>({...dR(e),options:[e,t]}),AR=(e,t)=>({...yR(e),options:[e,t]}),TR=(e,t)=>({...mR(e),options:[e,t]}),MR=(e,t)=>({...gR(e),options:[e,t]}),NR=(e,t)=>({...xR(e),options:[e,t]}),_R=(e,t)=>({...kR(e),options:[e,t]});var DR="Arrow",a8=I.forwardRef((e,t)=>{const{children:n,width:r=10,height:i=5,...s}=e;return B.jsx(gr.svg,{...s,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:B.jsx("polygon",{points:"0,0 30,0 15,10"})})});a8.displayName=DR;var RR=a8;function OR(e){const[t,n]=I.useState(void 0);return tl(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const s=i[0];let o,c;if("borderBoxSize"in s){const f=s.borderBoxSize,h=Array.isArray(f)?f[0]:f;o=h.inlineSize,c=h.blockSize}else o=e.offsetWidth,c=e.offsetHeight;n({width:o,height:c})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var bx="Popper",[s8,l8]=p0(bx),[IR,o8]=s8(bx),u8=e=>{const{__scopePopper:t,children:n}=e,[r,i]=I.useState(null);return B.jsx(IR,{scope:t,anchor:r,onAnchorChange:i,children:n})};u8.displayName=bx;var c8="PopperAnchor",f8=I.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,s=o8(c8,n),o=I.useRef(null),c=Br(t,o),f=I.useRef(null);return I.useEffect(()=>{const h=f.current;f.current=(r==null?void 0:r.current)||o.current,h!==f.current&&s.onAnchorChange(f.current)}),r?null:B.jsx(gr.div,{...i,ref:c})});f8.displayName=c8;var wx="PopperContent",[LR,zR]=s8(wx),h8=I.forwardRef((e,t)=>{var Re,Ke,Ve,st,Ze,Pe;const{__scopePopper:n,side:r="bottom",sideOffset:i=0,align:s="center",alignOffset:o=0,arrowPadding:c=0,avoidCollisions:f=!0,collisionBoundary:h=[],collisionPadding:g=0,sticky:m="partial",hideWhenDetached:x=!1,updatePositionStrategy:v="optimized",onPlaced:E,...k}=e,T=o8(wx,n),[C,M]=I.useState(null),R=Br(t,ot=>M(ot)),[j,L]=I.useState(null),S=OR(j),O=(S==null?void 0:S.width)??0,q=(S==null?void 0:S.height)??0,W=r+(s!=="center"?"-"+s:""),J=typeof g=="number"?g:{top:0,right:0,bottom:0,left:0,...g},re=Array.isArray(h)?h:[h],ae=re.length>0,Se={padding:J,boundary:re.filter(BR),altBoundary:ae},{refs:xe,floatingStyles:ge,placement:ee,isPositioned:oe,middlewareData:le}=SR({strategy:"fixed",placement:W,whileElementsMounted:(...ot)=>hR(...ot,{animationFrame:v==="always"}),elements:{reference:T.anchor},middleware:[ER({mainAxis:i+q,alignmentAxis:o}),f&&CR({mainAxis:!0,crossAxis:!1,limiter:m==="partial"?AR():void 0,...Se}),f&&TR({...Se}),MR({...Se,apply:({elements:ot,rects:dt,availableWidth:Rt,availableHeight:Jt})=>{const{width:Ut,height:$t}=dt.reference,Pt=ot.floating.style;Pt.setProperty("--radix-popper-available-width",`${Rt}px`),Pt.setProperty("--radix-popper-available-height",`${Jt}px`),Pt.setProperty("--radix-popper-anchor-width",`${Ut}px`),Pt.setProperty("--radix-popper-anchor-height",`${$t}px`)}}),j&&_R({element:j,padding:c}),jR({arrowWidth:O,arrowHeight:q}),x&&NR({strategy:"referenceHidden",...Se})]}),[we,Y]=m8(ee),$=Wa(E);tl(()=>{oe&&($==null||$())},[oe,$]);const ue=(Re=le.arrow)==null?void 0:Re.x,H=(Ke=le.arrow)==null?void 0:Ke.y,Ce=((Ve=le.arrow)==null?void 0:Ve.centerOffset)!==0,[Le,ze]=I.useState();return tl(()=>{C&&ze(window.getComputedStyle(C).zIndex)},[C]),B.jsx("div",{ref:xe.setFloating,"data-radix-popper-content-wrapper":"",style:{...ge,transform:oe?ge.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Le,"--radix-popper-transform-origin":[(st=le.transformOrigin)==null?void 0:st.x,(Ze=le.transformOrigin)==null?void 0:Ze.y].join(" "),...((Pe=le.hide)==null?void 0:Pe.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:B.jsx(LR,{scope:n,placedSide:we,onArrowChange:L,arrowX:ue,arrowY:H,shouldHideArrow:Ce,children:B.jsx(gr.div,{"data-side":we,"data-align":Y,...k,ref:R,style:{...k.style,animation:oe?void 0:"none"}})})})});h8.displayName=wx;var p8="PopperArrow",PR={top:"bottom",right:"left",bottom:"top",left:"right"},d8=I.forwardRef(function(t,n){const{__scopePopper:r,...i}=t,s=zR(p8,r),o=PR[s.placedSide];return B.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:B.jsx(RR,{...i,ref:n,style:{...i.style,display:"block"}})})});d8.displayName=p8;function BR(e){return e!==null}var jR=e=>({name:"transformOrigin",options:e,fn(t){var T,C,M;const{placement:n,rects:r,middlewareData:i}=t,o=((T=i.arrow)==null?void 0:T.centerOffset)!==0,c=o?0:e.arrowWidth,f=o?0:e.arrowHeight,[h,g]=m8(n),m={start:"0%",center:"50%",end:"100%"}[g],x=(((C=i.arrow)==null?void 0:C.x)??0)+c/2,v=(((M=i.arrow)==null?void 0:M.y)??0)+f/2;let E="",k="";return h==="bottom"?(E=o?m:`${x}px`,k=`${-f}px`):h==="top"?(E=o?m:`${x}px`,k=`${r.floating.height+f}px`):h==="right"?(E=`${-f}px`,k=o?m:`${v}px`):h==="left"&&(E=`${r.floating.width+f}px`,k=o?m:`${v}px`),{data:{x:E,y:k}}}});function m8(e){const[t,n="center"]=e.split("-");return[t,n]}var FR=u8,VR=f8,qR=h8,UR=d8,HR="Portal",g8=I.forwardRef((e,t)=>{var c;const{container:n,...r}=e,[i,s]=I.useState(!1);tl(()=>s(!0),[]);const o=n||i&&((c=globalThis==null?void 0:globalThis.document)==null?void 0:c.body);return o?iM.createPortal(B.jsx(gr.div,{...r,ref:t}),o):null});g8.displayName=HR;function GR(e,t){return I.useReducer((n,r)=>t[n][r]??n,e)}var m0=e=>{const{present:t,children:n}=e,r=XR(t),i=typeof n=="function"?n({present:r.isPresent}):I.Children.only(n),s=Br(r.ref,YR(i));return typeof n=="function"||r.isPresent?I.cloneElement(i,{ref:s}):null};m0.displayName="Presence";function XR(e){const[t,n]=I.useState(),r=I.useRef(null),i=I.useRef(e),s=I.useRef("none"),o=e?"mounted":"unmounted",[c,f]=GR(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return I.useEffect(()=>{const h=Gf(r.current);s.current=c==="mounted"?h:"none"},[c]),tl(()=>{const h=r.current,g=i.current;if(g!==e){const x=s.current,v=Gf(h);e?f("MOUNT"):v==="none"||(h==null?void 0:h.display)==="none"?f("UNMOUNT"):f(g&&x!==v?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,f]),tl(()=>{if(t){let h;const g=t.ownerDocument.defaultView??window,m=v=>{const k=Gf(r.current).includes(CSS.escape(v.animationName));if(v.target===t&&k&&(f("ANIMATION_END"),!i.current)){const T=t.style.animationFillMode;t.style.animationFillMode="forwards",h=g.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=T)})}},x=v=>{v.target===t&&(s.current=Gf(r.current))};return t.addEventListener("animationstart",x),t.addEventListener("animationcancel",m),t.addEventListener("animationend",m),()=>{g.clearTimeout(h),t.removeEventListener("animationstart",x),t.removeEventListener("animationcancel",m),t.removeEventListener("animationend",m)}}else f("ANIMATION_END")},[t,f]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:I.useCallback(h=>{r.current=h?getComputedStyle(h):null,n(h)},[])}}function Gf(e){return(e==null?void 0:e.animationName)||"none"}function YR(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)}var u1="rovingFocusGroup.onEntryFocus",JR={bubbles:!1,cancelable:!0},g0="RovingFocusGroup",[vg,x8,$R]=V7(g0),[WR,y8]=p0(g0,[$R]),[KR,QR]=WR(g0),v8=I.forwardRef((e,t)=>B.jsx(vg.Provider,{scope:e.__scopeRovingFocusGroup,children:B.jsx(vg.Slot,{scope:e.__scopeRovingFocusGroup,children:B.jsx(ZR,{...e,ref:t})})}));v8.displayName=g0;var ZR=I.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:i=!1,dir:s,currentTabStopId:o,defaultCurrentTabStopId:c,onCurrentTabStopIdChange:f,onEntryFocus:h,preventScrollOnEntryFocus:g=!1,...m}=e,x=I.useRef(null),v=Br(t,x),E=q7(s),[k,T]=j7({prop:o,defaultProp:c??null,onChange:f,caller:g0}),[C,M]=I.useState(!1),R=Wa(h),j=x8(n),L=I.useRef(!1),[S,O]=I.useState(0);return I.useEffect(()=>{const q=x.current;if(q)return q.addEventListener(u1,R),()=>q.removeEventListener(u1,R)},[R]),B.jsx(KR,{scope:n,orientation:r,dir:E,loop:i,currentTabStopId:k,onItemFocus:I.useCallback(q=>T(q),[T]),onItemShiftTab:I.useCallback(()=>M(!0),[]),onFocusableItemAdd:I.useCallback(()=>O(q=>q+1),[]),onFocusableItemRemove:I.useCallback(()=>O(q=>q-1),[]),children:B.jsx(gr.div,{tabIndex:C||S===0?-1:0,"data-orientation":r,...m,ref:v,style:{outline:"none",...e.style},onMouseDown:It(e.onMouseDown,()=>{L.current=!0}),onFocus:It(e.onFocus,q=>{const W=!L.current;if(q.target===q.currentTarget&&W&&!C){const J=new CustomEvent(u1,JR);if(q.currentTarget.dispatchEvent(J),!J.defaultPrevented){const re=j().filter(ee=>ee.focusable),ae=re.find(ee=>ee.active),Se=re.find(ee=>ee.id===k),ge=[ae,Se,...re].filter(Boolean).map(ee=>ee.ref.current);S8(ge,g)}}L.current=!1}),onBlur:It(e.onBlur,()=>M(!1))})})}),b8="RovingFocusGroupItem",w8=I.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:i=!1,tabStopId:s,children:o,...c}=e,f=mg(),h=s||f,g=QR(b8,n),m=g.currentTabStopId===h,x=x8(n),{onFocusableItemAdd:v,onFocusableItemRemove:E,currentTabStopId:k}=g;return I.useEffect(()=>{if(r)return v(),()=>E()},[r,v,E]),B.jsx(vg.ItemSlot,{scope:n,id:h,focusable:r,active:i,children:B.jsx(gr.span,{tabIndex:m?0:-1,"data-orientation":g.orientation,...c,ref:t,onMouseDown:It(e.onMouseDown,T=>{r?g.onItemFocus(h):T.preventDefault()}),onFocus:It(e.onFocus,()=>g.onItemFocus(h)),onKeyDown:It(e.onKeyDown,T=>{if(T.key==="Tab"&&T.shiftKey){g.onItemShiftTab();return}if(T.target!==T.currentTarget)return;const C=nO(T,g.orientation,g.dir);if(C!==void 0){if(T.metaKey||T.ctrlKey||T.altKey||T.shiftKey)return;T.preventDefault();let R=x().filter(j=>j.focusable).map(j=>j.ref.current);if(C==="last")R.reverse();else if(C==="prev"||C==="next"){C==="prev"&&R.reverse();const j=R.indexOf(T.currentTarget);R=g.loop?rO(R,j+1):R.slice(j+1)}setTimeout(()=>S8(R))}}),children:typeof o=="function"?o({isCurrentTabStop:m,hasTabStop:k!=null}):o})})});w8.displayName=b8;var eO={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function tO(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function nO(e,t,n){const r=tO(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return eO[r]}function S8(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function rO(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var iO=v8,aO=w8;function sO(e){const t=lO(e),n=I.forwardRef((r,i)=>{const{children:s,...o}=r,c=I.Children.toArray(s),f=c.find(uO);if(f){const h=f.props.children,g=c.map(m=>m===f?I.Children.count(h)>1?I.Children.only(null):I.isValidElement(h)?h.props.children:null:m);return B.jsx(t,{...o,ref:i,children:I.isValidElement(h)?I.cloneElement(h,void 0,g):null})}return B.jsx(t,{...o,ref:i,children:s})});return n.displayName=`${e}.Slot`,n}function lO(e){const t=I.forwardRef((n,r)=>{const{children:i,...s}=n;if(I.isValidElement(i)){const o=fO(i),c=cO(s,i.props);return i.type!==I.Fragment&&(c.ref=r?Xl(r,o):o),I.cloneElement(i,c)}return I.Children.count(i)>1?I.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var oO=Symbol("radix.slottable");function uO(e){return I.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===oO}function cO(e,t){const n={...t};for(const r in t){const i=e[r],s=t[r];/^on[A-Z]/.test(r)?i&&s?n[r]=(...c)=>{const f=s(...c);return i(...c),f}:i&&(n[r]=i):r==="style"?n[r]={...i,...s}:r==="className"&&(n[r]=[i,s].filter(Boolean).join(" "))}return{...e,...n}}function fO(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)}var hO=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Po=new WeakMap,Xf=new WeakMap,Yf={},c1=0,k8=function(e){return e&&(e.host||k8(e.parentNode))},pO=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=k8(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},dO=function(e,t,n,r){var i=pO(t,Array.isArray(e)?e:[e]);Yf[n]||(Yf[n]=new WeakMap);var s=Yf[n],o=[],c=new Set,f=new Set(i),h=function(m){!m||c.has(m)||(c.add(m),h(m.parentNode))};i.forEach(h);var g=function(m){!m||f.has(m)||Array.prototype.forEach.call(m.children,function(x){if(c.has(x))g(x);else try{var v=x.getAttribute(r),E=v!==null&&v!=="false",k=(Po.get(x)||0)+1,T=(s.get(x)||0)+1;Po.set(x,k),s.set(x,T),o.push(x),k===1&&E&&Xf.set(x,!0),T===1&&x.setAttribute(n,"true"),E||x.setAttribute(r,"true")}catch(C){console.error("aria-hidden: cannot operate on ",x,C)}})};return g(t),c.clear(),c1++,function(){o.forEach(function(m){var x=Po.get(m)-1,v=s.get(m)-1;Po.set(m,x),s.set(m,v),x||(Xf.has(m)||m.removeAttribute(r),Xf.delete(m)),v||m.removeAttribute(n)}),c1--,c1||(Po=new WeakMap,Po=new WeakMap,Xf=new WeakMap,Yf={})}},mO=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=hO(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live], script"))),dO(r,i,n,"aria-hidden")):function(){return null}},ra=function(){return ra=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},ra.apply(this,arguments)};function E8(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function gO(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,s;r<i;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return e.concat(s||Array.prototype.slice.call(t))}var vh="right-scroll-bar-position",bh="width-before-scroll-bar",xO="with-scroll-bars-hidden",yO="--removed-body-scroll-bar-size";function f1(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function vO(e,t){var n=I.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var i=n.value;i!==r&&(n.value=r,n.callback(r,i))}}}})[0];return n.callback=t,n.facade}var bO=typeof window<"u"?I.useLayoutEffect:I.useEffect,a3=new WeakMap;function wO(e,t){var n=vO(null,function(r){return e.forEach(function(i){return f1(i,r)})});return bO(function(){var r=a3.get(n);if(r){var i=new Set(r),s=new Set(e),o=n.current;i.forEach(function(c){s.has(c)||f1(c,null)}),s.forEach(function(c){i.has(c)||f1(c,o)})}a3.set(n,e)},[e]),n}function SO(e){return e}function kO(e,t){t===void 0&&(t=SO);var n=[],r=!1,i={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(s){var o=t(s,r);return n.push(o),function(){n=n.filter(function(c){return c!==o})}},assignSyncMedium:function(s){for(r=!0;n.length;){var o=n;n=[],o.forEach(s)}n={push:function(c){return s(c)},filter:function(){return n}}},assignMedium:function(s){r=!0;var o=[];if(n.length){var c=n;n=[],c.forEach(s),o=n}var f=function(){var g=o;o=[],g.forEach(s)},h=function(){return Promise.resolve().then(f)};h(),n={push:function(g){o.push(g),h()},filter:function(g){return o=o.filter(g),n}}}};return i}function EO(e){e===void 0&&(e={});var t=kO(null);return t.options=ra({async:!0,ssr:!1},e),t}var C8=function(e){var t=e.sideCar,n=E8(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return I.createElement(r,ra({},n))};C8.isSideCarExport=!0;function CO(e,t){return e.useMedium(t),C8}var A8=EO(),h1=function(){},gp=I.forwardRef(function(e,t){var n=I.useRef(null),r=I.useState({onScrollCapture:h1,onWheelCapture:h1,onTouchMoveCapture:h1}),i=r[0],s=r[1],o=e.forwardProps,c=e.children,f=e.className,h=e.removeScrollBar,g=e.enabled,m=e.shards,x=e.sideCar,v=e.noRelative,E=e.noIsolation,k=e.inert,T=e.allowPinchZoom,C=e.as,M=C===void 0?"div":C,R=e.gapMode,j=E8(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),L=x,S=wO([n,t]),O=ra(ra({},j),i);return I.createElement(I.Fragment,null,g&&I.createElement(L,{sideCar:A8,removeScrollBar:h,shards:m,noRelative:v,noIsolation:E,inert:k,setCallbacks:s,allowPinchZoom:!!T,lockRef:n,gapMode:R}),o?I.cloneElement(I.Children.only(c),ra(ra({},O),{ref:S})):I.createElement(M,ra({},O,{className:f,ref:S}),c))});gp.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};gp.classNames={fullWidth:bh,zeroRight:vh};var AO=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function TO(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=AO();return t&&e.setAttribute("nonce",t),e}function MO(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function NO(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var _O=function(){var e=0,t=null;return{add:function(n){e==0&&(t=TO())&&(MO(t,n),NO(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},DO=function(){var e=_O();return function(t,n){I.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},T8=function(){var e=DO(),t=function(n){var r=n.styles,i=n.dynamic;return e(r,i),null};return t},RO={left:0,top:0,right:0,gap:0},p1=function(e){return parseInt(e||"",10)||0},OO=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],i=t[e==="padding"?"paddingRight":"marginRight"];return[p1(n),p1(r),p1(i)]},IO=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return RO;var t=OO(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},LO=T8(),Ko="data-scroll-locked",zO=function(e,t,n,r){var i=e.left,s=e.top,o=e.right,c=e.gap;return n===void 0&&(n="margin"),`
151
- .`.concat(xO,` {
152
- overflow: hidden `).concat(r,`;
153
- padding-right: `).concat(c,"px ").concat(r,`;
154
- }
155
- body[`).concat(Ko,`] {
156
- overflow: hidden `).concat(r,`;
157
- overscroll-behavior: contain;
158
- `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
159
- padding-left: `.concat(i,`px;
160
- padding-top: `).concat(s,`px;
161
- padding-right: `).concat(o,`px;
162
- margin-left:0;
163
- margin-top:0;
164
- margin-right: `).concat(c,"px ").concat(r,`;
165
- `),n==="padding"&&"padding-right: ".concat(c,"px ").concat(r,";")].filter(Boolean).join(""),`
166
- }
167
-
168
- .`).concat(vh,` {
169
- right: `).concat(c,"px ").concat(r,`;
170
- }
171
-
172
- .`).concat(bh,` {
173
- margin-right: `).concat(c,"px ").concat(r,`;
174
- }
175
-
176
- .`).concat(vh," .").concat(vh,` {
177
- right: 0 `).concat(r,`;
178
- }
179
-
180
- .`).concat(bh," .").concat(bh,` {
181
- margin-right: 0 `).concat(r,`;
182
- }
183
-
184
- body[`).concat(Ko,`] {
185
- `).concat(yO,": ").concat(c,`px;
186
- }
187
- `)},s3=function(){var e=parseInt(document.body.getAttribute(Ko)||"0",10);return isFinite(e)?e:0},PO=function(){I.useEffect(function(){return document.body.setAttribute(Ko,(s3()+1).toString()),function(){var e=s3()-1;e<=0?document.body.removeAttribute(Ko):document.body.setAttribute(Ko,e.toString())}},[])},BO=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=r===void 0?"margin":r;PO();var s=I.useMemo(function(){return IO(i)},[i]);return I.createElement(LO,{styles:zO(s,!t,i,n?"":"!important")})},bg=!1;if(typeof window<"u")try{var Jf=Object.defineProperty({},"passive",{get:function(){return bg=!0,!0}});window.addEventListener("test",Jf,Jf),window.removeEventListener("test",Jf,Jf)}catch{bg=!1}var Bo=bg?{passive:!1}:!1,jO=function(e){return e.tagName==="TEXTAREA"},M8=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!jO(e)&&n[t]==="visible")},FO=function(e){return M8(e,"overflowY")},VO=function(e){return M8(e,"overflowX")},l3=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var i=N8(e,r);if(i){var s=_8(e,r),o=s[1],c=s[2];if(o>c)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},qO=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},UO=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},N8=function(e,t){return e==="v"?FO(t):VO(t)},_8=function(e,t){return e==="v"?qO(t):UO(t)},HO=function(e,t){return e==="h"&&t==="rtl"?-1:1},GO=function(e,t,n,r,i){var s=HO(e,window.getComputedStyle(t).direction),o=s*r,c=n.target,f=t.contains(c),h=!1,g=o>0,m=0,x=0;do{if(!c)break;var v=_8(e,c),E=v[0],k=v[1],T=v[2],C=k-T-s*E;(E||C)&&N8(e,c)&&(m+=C,x+=E);var M=c.parentNode;c=M&&M.nodeType===Node.DOCUMENT_FRAGMENT_NODE?M.host:M}while(!f&&c!==document.body||f&&(t.contains(c)||t===c));return(g&&Math.abs(m)<1||!g&&Math.abs(x)<1)&&(h=!0),h},$f=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},o3=function(e){return[e.deltaX,e.deltaY]},u3=function(e){return e&&"current"in e?e.current:e},XO=function(e,t){return e[0]===t[0]&&e[1]===t[1]},YO=function(e){return`
188
- .block-interactivity-`.concat(e,` {pointer-events: none;}
189
- .allow-interactivity-`).concat(e,` {pointer-events: all;}
190
- `)},JO=0,jo=[];function $O(e){var t=I.useRef([]),n=I.useRef([0,0]),r=I.useRef(),i=I.useState(JO++)[0],s=I.useState(T8)[0],o=I.useRef(e);I.useEffect(function(){o.current=e},[e]),I.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var k=gO([e.lockRef.current],(e.shards||[]).map(u3),!0).filter(Boolean);return k.forEach(function(T){return T.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),k.forEach(function(T){return T.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var c=I.useCallback(function(k,T){if("touches"in k&&k.touches.length===2||k.type==="wheel"&&k.ctrlKey)return!o.current.allowPinchZoom;var C=$f(k),M=n.current,R="deltaX"in k?k.deltaX:M[0]-C[0],j="deltaY"in k?k.deltaY:M[1]-C[1],L,S=k.target,O=Math.abs(R)>Math.abs(j)?"h":"v";if("touches"in k&&O==="h"&&S.type==="range")return!1;var q=window.getSelection(),W=q&&q.anchorNode,J=W?W===S||W.contains(S):!1;if(J)return!1;var re=l3(O,S);if(!re)return!0;if(re?L=O:(L=O==="v"?"h":"v",re=l3(O,S)),!re)return!1;if(!r.current&&"changedTouches"in k&&(R||j)&&(r.current=L),!L)return!0;var ae=r.current||L;return GO(ae,T,k,ae==="h"?R:j)},[]),f=I.useCallback(function(k){var T=k;if(!(!jo.length||jo[jo.length-1]!==s)){var C="deltaY"in T?o3(T):$f(T),M=t.current.filter(function(L){return L.name===T.type&&(L.target===T.target||T.target===L.shadowParent)&&XO(L.delta,C)})[0];if(M&&M.should){T.cancelable&&T.preventDefault();return}if(!M){var R=(o.current.shards||[]).map(u3).filter(Boolean).filter(function(L){return L.contains(T.target)}),j=R.length>0?c(T,R[0]):!o.current.noIsolation;j&&T.cancelable&&T.preventDefault()}}},[]),h=I.useCallback(function(k,T,C,M){var R={name:k,delta:T,target:C,should:M,shadowParent:WO(C)};t.current.push(R),setTimeout(function(){t.current=t.current.filter(function(j){return j!==R})},1)},[]),g=I.useCallback(function(k){n.current=$f(k),r.current=void 0},[]),m=I.useCallback(function(k){h(k.type,o3(k),k.target,c(k,e.lockRef.current))},[]),x=I.useCallback(function(k){h(k.type,$f(k),k.target,c(k,e.lockRef.current))},[]);I.useEffect(function(){return jo.push(s),e.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:x}),document.addEventListener("wheel",f,Bo),document.addEventListener("touchmove",f,Bo),document.addEventListener("touchstart",g,Bo),function(){jo=jo.filter(function(k){return k!==s}),document.removeEventListener("wheel",f,Bo),document.removeEventListener("touchmove",f,Bo),document.removeEventListener("touchstart",g,Bo)}},[]);var v=e.removeScrollBar,E=e.inert;return I.createElement(I.Fragment,null,E?I.createElement(s,{styles:YO(i)}):null,v?I.createElement(BO,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function WO(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const KO=CO(A8,$O);var D8=I.forwardRef(function(e,t){return I.createElement(gp,ra({},e,{ref:t,sideCar:KO}))});D8.classNames=gp.classNames;var wg=["Enter"," "],QO=["ArrowDown","PageUp","Home"],R8=["ArrowUp","PageDown","End"],ZO=[...QO,...R8],eI={ltr:[...wg,"ArrowRight"],rtl:[...wg,"ArrowLeft"]},tI={ltr:["ArrowLeft"],rtl:["ArrowRight"]},x0="Menu",[Jc,nI,rI]=V7(x0),[Yl,O8]=p0(x0,[rI,l8,y8]),xp=l8(),I8=y8(),[iI,Jl]=Yl(x0),[aI,y0]=Yl(x0),L8=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:i,onOpenChange:s,modal:o=!0}=e,c=xp(t),[f,h]=I.useState(null),g=I.useRef(!1),m=Wa(s),x=q7(i);return I.useEffect(()=>{const v=()=>{g.current=!0,document.addEventListener("pointerdown",E,{capture:!0,once:!0}),document.addEventListener("pointermove",E,{capture:!0,once:!0})},E=()=>g.current=!1;return document.addEventListener("keydown",v,{capture:!0}),()=>{document.removeEventListener("keydown",v,{capture:!0}),document.removeEventListener("pointerdown",E,{capture:!0}),document.removeEventListener("pointermove",E,{capture:!0})}},[]),B.jsx(FR,{...c,children:B.jsx(iI,{scope:t,open:n,onOpenChange:m,content:f,onContentChange:h,children:B.jsx(aI,{scope:t,onClose:I.useCallback(()=>m(!1),[m]),isUsingKeyboardRef:g,dir:x,modal:o,children:r})})})};L8.displayName=x0;var sI="MenuAnchor",Sx=I.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,i=xp(n);return B.jsx(VR,{...i,...r,ref:t})});Sx.displayName=sI;var kx="MenuPortal",[lI,z8]=Yl(kx,{forceMount:void 0}),P8=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:i}=e,s=Jl(kx,t);return B.jsx(lI,{scope:t,forceMount:n,children:B.jsx(m0,{present:n||s.open,children:B.jsx(g8,{asChild:!0,container:i,children:r})})})};P8.displayName=kx;var Ci="MenuContent",[oI,Ex]=Yl(Ci),B8=I.forwardRef((e,t)=>{const n=z8(Ci,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,s=Jl(Ci,e.__scopeMenu),o=y0(Ci,e.__scopeMenu);return B.jsx(Jc.Provider,{scope:e.__scopeMenu,children:B.jsx(m0,{present:r||s.open,children:B.jsx(Jc.Slot,{scope:e.__scopeMenu,children:o.modal?B.jsx(uI,{...i,ref:t}):B.jsx(cI,{...i,ref:t})})})})}),uI=I.forwardRef((e,t)=>{const n=Jl(Ci,e.__scopeMenu),r=I.useRef(null),i=Br(t,r);return I.useEffect(()=>{const s=r.current;if(s)return mO(s)},[]),B.jsx(Cx,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:It(e.onFocusOutside,s=>s.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),cI=I.forwardRef((e,t)=>{const n=Jl(Ci,e.__scopeMenu);return B.jsx(Cx,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),fI=sO("MenuContent.ScrollLock"),Cx=I.forwardRef((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:i,onOpenAutoFocus:s,onCloseAutoFocus:o,disableOutsidePointerEvents:c,onEntryFocus:f,onEscapeKeyDown:h,onPointerDownOutside:g,onFocusOutside:m,onInteractOutside:x,onDismiss:v,disableOutsideScroll:E,...k}=e,T=Jl(Ci,n),C=y0(Ci,n),M=xp(n),R=I8(n),j=nI(n),[L,S]=I.useState(null),O=I.useRef(null),q=Br(t,O,T.onContentChange),W=I.useRef(0),J=I.useRef(""),re=I.useRef(0),ae=I.useRef(null),Se=I.useRef("right"),xe=I.useRef(0),ge=E?D8:I.Fragment,ee=E?{as:fI,allowPinchZoom:!0}:void 0,oe=we=>{var Re,Ke;const Y=J.current+we,$=j().filter(Ve=>!Ve.disabled),ue=document.activeElement,H=(Re=$.find(Ve=>Ve.ref.current===ue))==null?void 0:Re.textValue,Ce=$.map(Ve=>Ve.textValue),Le=kI(Ce,Y,H),ze=(Ke=$.find(Ve=>Ve.textValue===Le))==null?void 0:Ke.ref.current;(function Ve(st){J.current=st,window.clearTimeout(W.current),st!==""&&(W.current=window.setTimeout(()=>Ve(""),1e3))})(Y),ze&&setTimeout(()=>ze.focus())};I.useEffect(()=>()=>window.clearTimeout(W.current),[]),fD();const le=I.useCallback(we=>{var $,ue;return Se.current===(($=ae.current)==null?void 0:$.side)&&CI(we,(ue=ae.current)==null?void 0:ue.area)},[]);return B.jsx(oI,{scope:n,searchRef:J,onItemEnter:I.useCallback(we=>{le(we)&&we.preventDefault()},[le]),onItemLeave:I.useCallback(we=>{var Y;le(we)||((Y=O.current)==null||Y.focus(),S(null))},[le]),onTriggerLeave:I.useCallback(we=>{le(we)&&we.preventDefault()},[le]),pointerGraceTimerRef:re,onPointerGraceIntentChange:I.useCallback(we=>{ae.current=we},[]),children:B.jsx(ge,{...ee,children:B.jsx(X7,{asChild:!0,trapped:i,onMountAutoFocus:It(s,we=>{var Y;we.preventDefault(),(Y=O.current)==null||Y.focus({preventScroll:!0})}),onUnmountAutoFocus:o,children:B.jsx(H7,{asChild:!0,disableOutsidePointerEvents:c,onEscapeKeyDown:h,onPointerDownOutside:g,onFocusOutside:m,onInteractOutside:x,onDismiss:v,children:B.jsx(iO,{asChild:!0,...R,dir:C.dir,orientation:"vertical",loop:r,currentTabStopId:L,onCurrentTabStopIdChange:S,onEntryFocus:It(f,we=>{C.isUsingKeyboardRef.current||we.preventDefault()}),preventScrollOnEntryFocus:!0,children:B.jsx(qR,{role:"menu","aria-orientation":"vertical","data-state":ew(T.open),"data-radix-menu-content":"",dir:C.dir,...M,...k,ref:q,style:{outline:"none",...k.style},onKeyDown:It(k.onKeyDown,we=>{const $=we.target.closest("[data-radix-menu-content]")===we.currentTarget,ue=we.ctrlKey||we.altKey||we.metaKey,H=we.key.length===1;$&&(we.key==="Tab"&&we.preventDefault(),!ue&&H&&oe(we.key));const Ce=O.current;if(we.target!==Ce||!ZO.includes(we.key))return;we.preventDefault();const ze=j().filter(Re=>!Re.disabled).map(Re=>Re.ref.current);R8.includes(we.key)&&ze.reverse(),wI(ze)}),onBlur:It(e.onBlur,we=>{we.currentTarget.contains(we.target)||(window.clearTimeout(W.current),J.current="")}),onPointerMove:It(e.onPointerMove,$c(we=>{const Y=we.target,$=xe.current!==we.clientX;if(we.currentTarget.contains(Y)&&$){const ue=we.clientX>xe.current?"right":"left";Se.current=ue,xe.current=we.clientX}}))})})})})})})});B8.displayName=Ci;var hI="MenuGroup",Ax=I.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return B.jsx(gr.div,{role:"group",...r,ref:t})});Ax.displayName=hI;var pI="MenuLabel",j8=I.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return B.jsx(gr.div,{...r,ref:t})});j8.displayName=pI;var Oh="MenuItem",c3="menu.itemSelect",yp=I.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...i}=e,s=I.useRef(null),o=y0(Oh,e.__scopeMenu),c=Ex(Oh,e.__scopeMenu),f=Br(t,s),h=I.useRef(!1),g=()=>{const m=s.current;if(!n&&m){const x=new CustomEvent(c3,{bubbles:!0,cancelable:!0});m.addEventListener(c3,v=>r==null?void 0:r(v),{once:!0}),F7(m,x),x.defaultPrevented?h.current=!1:o.onClose()}};return B.jsx(F8,{...i,ref:f,disabled:n,onClick:It(e.onClick,g),onPointerDown:m=>{var x;(x=e.onPointerDown)==null||x.call(e,m),h.current=!0},onPointerUp:It(e.onPointerUp,m=>{var x;h.current||(x=m.currentTarget)==null||x.click()}),onKeyDown:It(e.onKeyDown,m=>{const x=c.searchRef.current!=="";n||x&&m.key===" "||wg.includes(m.key)&&(m.currentTarget.click(),m.preventDefault())})})});yp.displayName=Oh;var F8=I.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:i,...s}=e,o=Ex(Oh,n),c=I8(n),f=I.useRef(null),h=Br(t,f),[g,m]=I.useState(!1),[x,v]=I.useState("");return I.useEffect(()=>{const E=f.current;E&&v((E.textContent??"").trim())},[s.children]),B.jsx(Jc.ItemSlot,{scope:n,disabled:r,textValue:i??x,children:B.jsx(aO,{asChild:!0,...c,focusable:!r,children:B.jsx(gr.div,{role:"menuitem","data-highlighted":g?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0,...s,ref:h,onPointerMove:It(e.onPointerMove,$c(E=>{r?o.onItemLeave(E):(o.onItemEnter(E),E.defaultPrevented||E.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:It(e.onPointerLeave,$c(E=>o.onItemLeave(E))),onFocus:It(e.onFocus,()=>m(!0)),onBlur:It(e.onBlur,()=>m(!1))})})})}),dI="MenuCheckboxItem",V8=I.forwardRef((e,t)=>{const{checked:n=!1,onCheckedChange:r,...i}=e;return B.jsx(X8,{scope:e.__scopeMenu,checked:n,children:B.jsx(yp,{role:"menuitemcheckbox","aria-checked":Ih(n)?"mixed":n,...i,ref:t,"data-state":Mx(n),onSelect:It(i.onSelect,()=>r==null?void 0:r(Ih(n)?!0:!n),{checkForDefaultPrevented:!1})})})});V8.displayName=dI;var q8="MenuRadioGroup",[mI,gI]=Yl(q8,{value:void 0,onValueChange:()=>{}}),U8=I.forwardRef((e,t)=>{const{value:n,onValueChange:r,...i}=e,s=Wa(r);return B.jsx(mI,{scope:e.__scopeMenu,value:n,onValueChange:s,children:B.jsx(Ax,{...i,ref:t})})});U8.displayName=q8;var H8="MenuRadioItem",G8=I.forwardRef((e,t)=>{const{value:n,...r}=e,i=gI(H8,e.__scopeMenu),s=n===i.value;return B.jsx(X8,{scope:e.__scopeMenu,checked:s,children:B.jsx(yp,{role:"menuitemradio","aria-checked":s,...r,ref:t,"data-state":Mx(s),onSelect:It(r.onSelect,()=>{var o;return(o=i.onValueChange)==null?void 0:o.call(i,n)},{checkForDefaultPrevented:!1})})})});G8.displayName=H8;var Tx="MenuItemIndicator",[X8,xI]=Yl(Tx,{checked:!1}),Y8=I.forwardRef((e,t)=>{const{__scopeMenu:n,forceMount:r,...i}=e,s=xI(Tx,n);return B.jsx(m0,{present:r||Ih(s.checked)||s.checked===!0,children:B.jsx(gr.span,{...i,ref:t,"data-state":Mx(s.checked)})})});Y8.displayName=Tx;var yI="MenuSeparator",J8=I.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return B.jsx(gr.div,{role:"separator","aria-orientation":"horizontal",...r,ref:t})});J8.displayName=yI;var vI="MenuArrow",$8=I.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,i=xp(n);return B.jsx(UR,{...i,...r,ref:t})});$8.displayName=vI;var bI="MenuSub",[UK,W8]=Yl(bI),Rc="MenuSubTrigger",K8=I.forwardRef((e,t)=>{const n=Jl(Rc,e.__scopeMenu),r=y0(Rc,e.__scopeMenu),i=W8(Rc,e.__scopeMenu),s=Ex(Rc,e.__scopeMenu),o=I.useRef(null),{pointerGraceTimerRef:c,onPointerGraceIntentChange:f}=s,h={__scopeMenu:e.__scopeMenu},g=I.useCallback(()=>{o.current&&window.clearTimeout(o.current),o.current=null},[]);return I.useEffect(()=>g,[g]),I.useEffect(()=>{const m=c.current;return()=>{window.clearTimeout(m),f(null)}},[c,f]),B.jsx(Sx,{asChild:!0,...h,children:B.jsx(F8,{id:i.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":i.contentId,"data-state":ew(n.open),...e,ref:Xl(t,i.onTriggerChange),onClick:m=>{var x;(x=e.onClick)==null||x.call(e,m),!(e.disabled||m.defaultPrevented)&&(m.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:It(e.onPointerMove,$c(m=>{s.onItemEnter(m),!m.defaultPrevented&&!e.disabled&&!n.open&&!o.current&&(s.onPointerGraceIntentChange(null),o.current=window.setTimeout(()=>{n.onOpenChange(!0),g()},100))})),onPointerLeave:It(e.onPointerLeave,$c(m=>{var v,E;g();const x=(v=n.content)==null?void 0:v.getBoundingClientRect();if(x){const k=(E=n.content)==null?void 0:E.dataset.side,T=k==="right",C=T?-5:5,M=x[T?"left":"right"],R=x[T?"right":"left"];s.onPointerGraceIntentChange({area:[{x:m.clientX+C,y:m.clientY},{x:M,y:x.top},{x:R,y:x.top},{x:R,y:x.bottom},{x:M,y:x.bottom}],side:k}),window.clearTimeout(c.current),c.current=window.setTimeout(()=>s.onPointerGraceIntentChange(null),300)}else{if(s.onTriggerLeave(m),m.defaultPrevented)return;s.onPointerGraceIntentChange(null)}})),onKeyDown:It(e.onKeyDown,m=>{var v;const x=s.searchRef.current!=="";e.disabled||x&&m.key===" "||eI[r.dir].includes(m.key)&&(n.onOpenChange(!0),(v=n.content)==null||v.focus(),m.preventDefault())})})})});K8.displayName=Rc;var Q8="MenuSubContent",Z8=I.forwardRef((e,t)=>{const n=z8(Ci,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,s=Jl(Ci,e.__scopeMenu),o=y0(Ci,e.__scopeMenu),c=W8(Q8,e.__scopeMenu),f=I.useRef(null),h=Br(t,f);return B.jsx(Jc.Provider,{scope:e.__scopeMenu,children:B.jsx(m0,{present:r||s.open,children:B.jsx(Jc.Slot,{scope:e.__scopeMenu,children:B.jsx(Cx,{id:c.contentId,"aria-labelledby":c.triggerId,...i,ref:h,align:"start",side:o.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:g=>{var m;o.isUsingKeyboardRef.current&&((m=f.current)==null||m.focus()),g.preventDefault()},onCloseAutoFocus:g=>g.preventDefault(),onFocusOutside:It(e.onFocusOutside,g=>{g.target!==c.trigger&&s.onOpenChange(!1)}),onEscapeKeyDown:It(e.onEscapeKeyDown,g=>{o.onClose(),g.preventDefault()}),onKeyDown:It(e.onKeyDown,g=>{var v;const m=g.currentTarget.contains(g.target),x=tI[o.dir].includes(g.key);m&&x&&(s.onOpenChange(!1),(v=c.trigger)==null||v.focus(),g.preventDefault())})})})})})});Z8.displayName=Q8;function ew(e){return e?"open":"closed"}function Ih(e){return e==="indeterminate"}function Mx(e){return Ih(e)?"indeterminate":e?"checked":"unchecked"}function wI(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function SI(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function kI(e,t,n){const i=t.length>1&&Array.from(t).every(h=>h===t[0])?t[0]:t,s=n?e.indexOf(n):-1;let o=SI(e,Math.max(s,0));i.length===1&&(o=o.filter(h=>h!==n));const f=o.find(h=>h.toLowerCase().startsWith(i.toLowerCase()));return f!==n?f:void 0}function EI(e,t){const{x:n,y:r}=e;let i=!1;for(let s=0,o=t.length-1;s<t.length;o=s++){const c=t[s],f=t[o],h=c.x,g=c.y,m=f.x,x=f.y;g>r!=x>r&&n<(m-h)*(r-g)/(x-g)+h&&(i=!i)}return i}function CI(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return EI(n,t)}function $c(e){return t=>t.pointerType==="mouse"?e(t):void 0}var AI=L8,TI=Sx,MI=P8,NI=B8,_I=Ax,DI=j8,RI=yp,OI=V8,II=U8,LI=G8,zI=Y8,PI=J8,BI=$8,jI=K8,FI=Z8,vp="DropdownMenu",[VI]=p0(vp,[O8]),xr=O8(),[qI,tw]=VI(vp),nw=e=>{const{__scopeDropdownMenu:t,children:n,dir:r,open:i,defaultOpen:s,onOpenChange:o,modal:c=!0}=e,f=xr(t),h=I.useRef(null),[g,m]=j7({prop:i,defaultProp:s??!1,onChange:o,caller:vp});return B.jsx(qI,{scope:t,triggerId:mg(),triggerRef:h,contentId:mg(),open:g,onOpenChange:m,onOpenToggle:I.useCallback(()=>m(x=>!x),[m]),modal:c,children:B.jsx(AI,{...f,open:g,onOpenChange:m,dir:r,modal:c,children:n})})};nw.displayName=vp;var rw="DropdownMenuTrigger",iw=I.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,disabled:r=!1,...i}=e,s=tw(rw,n),o=xr(n);return B.jsx(TI,{asChild:!0,...o,children:B.jsx(gr.button,{type:"button",id:s.triggerId,"aria-haspopup":"menu","aria-expanded":s.open,"aria-controls":s.open?s.contentId:void 0,"data-state":s.open?"open":"closed","data-disabled":r?"":void 0,disabled:r,...i,ref:Xl(t,s.triggerRef),onPointerDown:It(e.onPointerDown,c=>{!r&&c.button===0&&c.ctrlKey===!1&&(s.onOpenToggle(),s.open||c.preventDefault())}),onKeyDown:It(e.onKeyDown,c=>{r||(["Enter"," "].includes(c.key)&&s.onOpenToggle(),c.key==="ArrowDown"&&s.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(c.key)&&c.preventDefault())})})})});iw.displayName=rw;var UI="DropdownMenuPortal",aw=e=>{const{__scopeDropdownMenu:t,...n}=e,r=xr(t);return B.jsx(MI,{...r,...n})};aw.displayName=UI;var sw="DropdownMenuContent",lw=I.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=tw(sw,n),s=xr(n),o=I.useRef(!1);return B.jsx(NI,{id:i.contentId,"aria-labelledby":i.triggerId,...s,...r,ref:t,onCloseAutoFocus:It(e.onCloseAutoFocus,c=>{var f;o.current||(f=i.triggerRef.current)==null||f.focus(),o.current=!1,c.preventDefault()}),onInteractOutside:It(e.onInteractOutside,c=>{const f=c.detail.originalEvent,h=f.button===0&&f.ctrlKey===!0,g=f.button===2||h;(!i.modal||g)&&(o.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});lw.displayName=sw;var HI="DropdownMenuGroup",GI=I.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=xr(n);return B.jsx(_I,{...i,...r,ref:t})});GI.displayName=HI;var XI="DropdownMenuLabel",ow=I.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=xr(n);return B.jsx(DI,{...i,...r,ref:t})});ow.displayName=XI;var YI="DropdownMenuItem",uw=I.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=xr(n);return B.jsx(RI,{...i,...r,ref:t})});uw.displayName=YI;var JI="DropdownMenuCheckboxItem",cw=I.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=xr(n);return B.jsx(OI,{...i,...r,ref:t})});cw.displayName=JI;var $I="DropdownMenuRadioGroup",fw=I.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=xr(n);return B.jsx(II,{...i,...r,ref:t})});fw.displayName=$I;var WI="DropdownMenuRadioItem",hw=I.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=xr(n);return B.jsx(LI,{...i,...r,ref:t})});hw.displayName=WI;var KI="DropdownMenuItemIndicator",pw=I.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=xr(n);return B.jsx(zI,{...i,...r,ref:t})});pw.displayName=KI;var QI="DropdownMenuSeparator",dw=I.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=xr(n);return B.jsx(PI,{...i,...r,ref:t})});dw.displayName=QI;var ZI="DropdownMenuArrow",eL=I.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=xr(n);return B.jsx(BI,{...i,...r,ref:t})});eL.displayName=ZI;var tL="DropdownMenuSubTrigger",mw=I.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=xr(n);return B.jsx(jI,{...i,...r,ref:t})});mw.displayName=tL;var nL="DropdownMenuSubContent",gw=I.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=xr(n);return B.jsx(FI,{...i,...r,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});gw.displayName=nL;var rL=nw,iL=iw,aL=aw,xw=lw,yw=ow,vw=uw,bw=cw,sL=fw,ww=hw,Sw=pw,kw=dw,Ew=mw,Cw=gw;const lL=rL,oL=iL,uL=sL,cL=I.forwardRef(({className:e,inset:t,children:n,...r},i)=>B.jsxs(Ew,{ref:i,className:Yt("flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",t&&"pl-8",e),...r,children:[n,B.jsx(P7,{className:"ml-auto"})]}));cL.displayName=Ew.displayName;const fL=I.forwardRef(({className:e,...t},n)=>B.jsx(Cw,{ref:n,className:Yt("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-dropdown-menu-content-transform-origin]",e),...t}));fL.displayName=Cw.displayName;const Aw=I.forwardRef(({className:e,sideOffset:t=4,...n},r)=>B.jsx(aL,{children:B.jsx(xw,{ref:r,sideOffset:t,className:Yt("z-50 max-h-[var(--radix-dropdown-menu-content-available-height)] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-dropdown-menu-content-transform-origin]",e),...n})}));Aw.displayName=xw.displayName;const hL=I.forwardRef(({className:e,inset:t,...n},r)=>B.jsx(vw,{ref:r,className:Yt("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",t&&"pl-8",e),...n}));hL.displayName=vw.displayName;const pL=I.forwardRef(({className:e,children:t,checked:n,...r},i)=>B.jsxs(bw,{ref:i,className:Yt("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:n,...r,children:[B.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:B.jsx(Sw,{children:B.jsx(b_,{className:"h-4 w-4"})})}),t]}));pL.displayName=bw.displayName;const wh=I.forwardRef(({className:e,children:t,...n},r)=>B.jsxs(ww,{ref:r,className:Yt("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...n,children:[B.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:B.jsx(Sw,{children:B.jsx(N_,{className:"h-2 w-2 fill-current"})})}),t]}));wh.displayName=ww.displayName;const dL=I.forwardRef(({className:e,inset:t,...n},r)=>B.jsx(yw,{ref:r,className:Yt("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...n}));dL.displayName=yw.displayName;const mL=I.forwardRef(({className:e,...t},n)=>B.jsx(kw,{ref:n,className:Yt("-mx-1 my-1 h-px bg-muted",e),...t}));mL.displayName=kw.displayName;function gL(){const{theme:e,setTheme:t}=p7();return B.jsxs(lL,{children:[B.jsx(oL,{asChild:!0,children:B.jsxs("button",{className:"relative p-2 text-muted-foreground/70 hover:text-foreground transition-colors duration-300","aria-label":"Toggle theme",children:[B.jsx(Bb,{className:`h-4 w-4 transition-all duration-300 ${e==="light"?"scale-100 rotate-0":"scale-0 -rotate-90 absolute top-2 left-2"}`}),B.jsx(Pb,{className:`h-4 w-4 transition-all duration-300 ${e==="dark"?"scale-100 rotate-0":"scale-0 rotate-90 absolute top-2 left-2"}`}),B.jsx(zb,{className:`h-4 w-4 transition-all duration-300 ${e==="system"||!e?"scale-100":"scale-0 absolute top-2 left-2"}`})]})}),B.jsx(Aw,{align:"end",children:B.jsxs(uL,{value:e,onValueChange:t,children:[B.jsxs(wh,{value:"light",children:[B.jsx(Bb,{className:"mr-2 h-4 w-4"}),"Light"]}),B.jsxs(wh,{value:"dark",children:[B.jsx(Pb,{className:"mr-2 h-4 w-4"}),"Dark"]}),B.jsxs(wh,{value:"system",children:[B.jsx(zb,{className:"mr-2 h-4 w-4"}),"System"]})]})})]})}const xL="#181717",yL=I.forwardRef(function({title:t="GitHub",color:n="currentColor",size:r=24,...i},s){return n==="default"&&(n=xL),B.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:s,...i,children:[B.jsx("title",{children:t}),B.jsx("path",{d:"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"})]})});function Nx({slideControls:e}={}){return B.jsx("header",{className:"print:hidden fixed top-0 left-0 right-0 z-40",children:B.jsxs("div",{className:"mx-auto w-full px-[var(--page-padding)] flex items-center gap-8 py-4",children:[B.jsx("nav",{className:"flex items-center gap-1",children:B.jsx(tu,{to:"/",className:"rounded-lg font-mono py-1.5 text-sm font-medium text-muted-foreground hover:underline",children:"pl"})}),B.jsx("div",{className:"flex-1"}),e&&B.jsxs("nav",{className:"flex items-center gap-1",children:[B.jsx("button",{onClick:e.onPrevious,className:"p-1.5 text-muted-foreground/70 hover:text-foreground transition-colors duration-200",title:"Previous slide (↑)",children:B.jsx(T_,{className:"h-4 w-4"})}),B.jsxs("span",{className:"font-mono text-xs text-muted-foreground/70 tabular-nums min-w-[3ch] text-center",children:[e.current+1,"/",e.total]}),B.jsx("button",{onClick:e.onNext,className:"p-1.5 text-muted-foreground/70 hover:text-foreground transition-colors duration-200",title:"Next slide (↓)",children:B.jsx(S_,{className:"h-4 w-4"})})]}),B.jsxs("nav",{className:"flex items-center gap-2",children:[B.jsx(tu,{to:"https://github.com/eoinmurray/pinglab",target:"_blank",className:"text-muted-foreground/70 hover:text-foreground transition-colors duration-300","aria-label":"GitHub",children:B.jsx(yL,{className:"h-4 w-4"})}),B.jsx(gL,{})]})]})})}function vL(){const{"*":e="."}=ax(),{directory:t,loading:n,error:r}=up(e);return r?B.jsx(j_,{error:r,path:e}):n?B.jsx(fx,{}):B.jsxs("div",{className:"flex min-h-screen flex-col bg-background noise-overlay",children:[B.jsx(px,{}),B.jsx(Nx,{}),B.jsxs("main",{className:"flex-1 mx-auto w-full max-w-[var(--content-width)] px-[var(--page-padding)]",children:[B.jsx("title",{children:`Pinglab ${e}`}),B.jsx("main",{className:"flex flex-col gap-6 mb-32 mt-32",children:t&&B.jsx("div",{className:"animate-fade-in",children:B.jsx(B_,{directory:t})})})]})]})}function Tw({title:e,date:t,description:n,slides:r}){return B.jsx("div",{children:e&&B.jsxs("header",{className:"not-prose flex flex-col gap-2 mb-8 pt-4",children:[B.jsx("h1",{className:"text-2xl md:text-3xl font-semibold tracking-tight text-foreground mb-3",children:e}),B.jsxs("div",{className:"flex flex-wrap items-center gap-3 text-muted-foreground",children:[t&&B.jsx("time",{className:"font-mono text-xs bg-muted px-2 py-0.5 rounded",children:I7(new Date(t))}),r&&B.jsxs(tu,{to:`/${r.path}`,className:"font-mono text-xs px-2 py-0.5 rounded flex items-center gap-1",children:[B.jsx(I_,{className:"h-3.5 w-3.5"}),B.jsx("span",{children:"slides"})]})]}),n&&B.jsx("div",{className:"flex flex-wrap text-sm items-center gap-3 text-muted-foreground",children:n})]})})}function ki(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?f3(e.position):"start"in e||"end"in e?f3(e):"line"in e||"column"in e?Sg(e):""}function Sg(e){return h3(e&&e.line)+":"+h3(e&&e.column)}function f3(e){return Sg(e&&e.start)+"-"+Sg(e&&e.end)}function h3(e){return e&&typeof e=="number"?e:1}class qt extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",s={},o=!1;if(n&&("line"in n&&"column"in n?s={place:n}:"start"in n&&"end"in n?s={place:n}:"type"in n?s={ancestors:[n],place:n.position}:s={...n}),typeof t=="string"?i=t:!s.cause&&t&&(o=!0,i=t.message,s.cause=t),!s.ruleId&&!s.source&&typeof r=="string"){const f=r.indexOf(":");f===-1?s.ruleId=r:(s.source=r.slice(0,f),s.ruleId=r.slice(f+1))}if(!s.place&&s.ancestors&&s.ancestors){const f=s.ancestors[s.ancestors.length-1];f&&(s.place=f.position)}const c=s.place&&"start"in s.place?s.place.start:s.place;this.ancestors=s.ancestors||void 0,this.cause=s.cause||void 0,this.column=c?c.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=c?c.line:void 0,this.name=ki(s.place)||"1:1",this.place=s.place||void 0,this.reason=this.message,this.ruleId=s.ruleId||void 0,this.source=s.source||void 0,this.stack=o&&s.cause&&typeof s.cause.stack=="string"?s.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}qt.prototype.file="";qt.prototype.name="";qt.prototype.reason="";qt.prototype.message="";qt.prototype.stack="";qt.prototype.column=void 0;qt.prototype.line=void 0;qt.prototype.ancestors=void 0;qt.prototype.cause=void 0;qt.prototype.fatal=void 0;qt.prototype.place=void 0;qt.prototype.ruleId=void 0;qt.prototype.source=void 0;const ea={basename:bL,dirname:wL,extname:SL,join:kL,sep:"/"};function bL(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');v0(e);let n=0,r=-1,i=e.length,s;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(s){n=i+1;break}}else r<0&&(s=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let o=-1,c=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(s){n=i+1;break}}else o<0&&(s=!0,o=i+1),c>-1&&(e.codePointAt(i)===t.codePointAt(c--)?c<0&&(r=i):(c=-1,r=o));return n===r?r=o:r<0&&(r=e.length),e.slice(n,r)}function wL(e){if(v0(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 SL(e){v0(e);let t=e.length,n=-1,r=0,i=-1,s=0,o;for(;t--;){const c=e.codePointAt(t);if(c===47){if(o){r=t+1;break}continue}n<0&&(o=!0,n=t+1),c===46?i<0?i=t:s!==1&&(s=1):i>-1&&(s=-1)}return i<0||n<0||s===0||s===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function kL(...e){let t=-1,n;for(;++t<e.length;)v0(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":EL(n)}function EL(e){v0(e);const t=e.codePointAt(0)===47;let n=CL(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function CL(e,t){let n="",r=0,i=-1,s=0,o=-1,c,f;for(;++o<=e.length;){if(o<e.length)c=e.codePointAt(o);else{if(c===47)break;c=47}if(c===47){if(!(i===o-1||s===1))if(i!==o-1&&s===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(f=n.lastIndexOf("/"),f!==n.length-1){f<0?(n="",r=0):(n=n.slice(0,f),r=n.length-1-n.lastIndexOf("/")),i=o,s=0;continue}}else if(n.length>0){n="",r=0,i=o,s=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,o):n=e.slice(i+1,o),r=o-i-1;i=o,s=0}else c===46&&s>-1?s++:s=-1}return n}function v0(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const AL={cwd:TL};function TL(){return"/"}function kg(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function ML(e){if(typeof e=="string")e=new URL(e);else if(!kg(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 NL(e)}function NL(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 d1=["history","path","basename","stem","extname","dirname"];class Mw{constructor(t){let n;t?kg(t)?n={path:t}:typeof t=="string"||_L(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":AL.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<d1.length;){const s=d1[r];s in n&&n[s]!==void 0&&n[s]!==null&&(this[s]=s==="history"?[...n[s]]:n[s])}let i;for(i in n)d1.includes(i)||(this[i]=n[i])}get basename(){return typeof this.path=="string"?ea.basename(this.path):void 0}set basename(t){g1(t,"basename"),m1(t,"basename"),this.path=ea.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?ea.dirname(this.path):void 0}set dirname(t){p3(this.basename,"dirname"),this.path=ea.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?ea.extname(this.path):void 0}set extname(t){if(m1(t,"extname"),p3(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=ea.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){kg(t)&&(t=ML(t)),g1(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?ea.basename(this.path,this.extname):void 0}set stem(t){g1(t,"stem"),m1(t,"stem"),this.path=ea.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 qt(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 m1(e,t){if(e&&e.includes(ea.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+ea.sep+"`")}function g1(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function p3(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function _L(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const DL=["md","markdown","mdown","mkdn","mkd","mdwn","mkdown","ron"],RL=DL.map(function(e){return"."+e});function OL(e,t){const n=IL(e)?e:new Mw(e),{format:r,...i}=t||{};return{file:n,options:{format:r==="md"||r==="mdx"?r:n.extname&&(i.mdExtensions||RL).includes(n.extname)?"md":"mdx",...i}}}function IL(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}const LL=/[$_\p{ID_Start}]/u,zL=/[$_\u{200C}\u{200D}\p{ID_Continue}]/u,PL=/[-$_\u{200C}\u{200D}\p{ID_Continue}]/u,BL=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,jL=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Nw={};function Pi(e){return e?LL.test(String.fromCodePoint(e)):!1}function Cc(e,t){const r=(t||Nw).jsx?PL:zL;return e?r.test(String.fromCodePoint(e)):!1}function oa(e,t){return((t||Nw).jsx?jL:BL).test(e)}class FL{constructor(){this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:t=>this.replacement=t}}replace(t,n,r,i){t&&n&&(r!=null?t[n][r]=i:t[n]=i)}remove(t,n,r){t&&n&&(r!=null?t[n].splice(r,1):delete t[n])}}class VL extends FL{constructor(t,n){super(),this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:r=>this.replacement=r},this.enter=t,this.leave=n}visit(t,n,r,i){if(t){if(this.enter){const o=this.should_skip,c=this.should_remove,f=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.enter.call(this.context,t,n,r,i),this.replacement&&(t=this.replacement,this.replace(n,r,i,t)),this.should_remove&&this.remove(n,r,i);const h=this.should_skip,g=this.should_remove;if(this.should_skip=o,this.should_remove=c,this.replacement=f,h)return t;if(g)return null}let s;for(s in t){const o=t[s];if(o&&typeof o=="object")if(Array.isArray(o)){const c=o;for(let f=0;f<c.length;f+=1){const h=c[f];d3(h)&&(this.visit(h,t,s,f)||f--)}}else d3(o)&&this.visit(o,t,s,null)}if(this.leave){const o=this.replacement,c=this.should_remove;this.replacement=null,this.should_remove=!1,this.leave.call(this.context,t,n,r,i),this.replacement&&(t=this.replacement,this.replace(n,r,i,t)),this.should_remove&&this.remove(n,r,i);const f=this.should_remove;if(this.replacement=o,this.should_remove=c,f)return null}}return t}}function d3(e){return e!==null&&typeof e=="object"&&"type"in e&&typeof e.type=="string"}function Qo(e,{enter:t,leave:n}){return new VL(t,n).visit(e,null)}const x1=/@(jsx|jsxFrag|jsxImportSource|jsxRuntime)\s+(\S+)/g;function qL(e,t){const n=t||{};let r=n.runtime==="automatic";const i={},s={};Qo(e,{enter(o){if(o.type==="Program"){const c=o.comments||[];let f=-1;for(;++f<c.length;){x1.lastIndex=0;let h=x1.exec(c[f].value);for(;h;)i[h[1]]=h[2],h=x1.exec(c[f].value)}if(i.jsxRuntime)if(i.jsxRuntime==="automatic"){if(r=!0,i.jsx)throw new Error("Unexpected `@jsx` pragma w/ automatic runtime");if(i.jsxFrag)throw new Error("Unexpected `@jsxFrag` pragma w/ automatic runtime")}else if(i.jsxRuntime==="classic"){if(r=!1,i.jsxImportSource)throw new Error("Unexpected `@jsxImportSource` w/ classic runtime")}else throw new Error("Unexpected `jsxRuntime` `"+i.jsxRuntime+"`, expected `automatic` or `classic`")}},leave(o){if(o.type==="Program"){const k=[];if(s.fragment&&k.push({type:"ImportSpecifier",imported:{type:"Identifier",name:"Fragment"},local:{type:"Identifier",name:"_Fragment"}}),s.jsx&&k.push({type:"ImportSpecifier",imported:{type:"Identifier",name:"jsx"},local:{type:"Identifier",name:"_jsx"}}),s.jsxs&&k.push({type:"ImportSpecifier",imported:{type:"Identifier",name:"jsxs"},local:{type:"Identifier",name:"_jsxs"}}),s.jsxDEV&&k.push({type:"ImportSpecifier",imported:{type:"Identifier",name:"jsxDEV"},local:{type:"Identifier",name:"_jsxDEV"}}),k.length>0){let T=0;for(;T<o.body.length;){const C=o.body[T];if("directive"in C&&C.directive)T++;else break}o.body.splice(T,0,{type:"ImportDeclaration",specifiers:k,source:{type:"Literal",value:(i.jsxImportSource||n.importSource||"react")+(n.development?"/jsx-dev-runtime":"/jsx-runtime")}})}}if(o.type!=="JSXElement"&&o.type!=="JSXFragment")return;const c=[];let f=-1;for(;++f<o.children.length;){const k=o.children[f];if(k.type==="JSXExpressionContainer")k.expression.type!=="JSXEmptyExpression"&&c.push(k.expression);else if(k.type==="JSXText"){const T=k.value.replace(/\t/g," ").replace(/ *(\r?\n|\r) */g,`
191
- `).replace(/\n+/g,`
192
- `).replace(/\n+$/,"").replace(/^\n+/,"").replace(/\n/g," ");if(T){const C={type:"Literal",value:T};Bc(k,C),c.push(C)}}else k.type!=="JSXElement"&&k.type!=="JSXFragment"&&k.type,c.push(k)}let h;const g=[];let m=[],x;if(o.type==="JSXElement"){if(h=Lh(o.openingElement.name),h.type==="Identifier"&&/^[a-z]/.test(h.name)){const M={type:"Literal",value:h.name};Bc(h,M),h=M}let k;const T=o.openingElement.attributes;let C=-1;for(;++C<T.length;){const M=T[C];if(M.type==="JSXSpreadAttribute")M.argument.type==="ObjectExpression"?g.push(...M.argument.properties):g.push({type:"SpreadElement",argument:M.argument}),k=!0;else{const R=UL(M);if(r&&R.key.type==="Identifier"&&R.key.name==="key"){if(k)throw new Error("Expected `key` to come before any spread expressions");const j=R.value;j.type!=="AssignmentPattern"&&j.type!=="ArrayPattern"&&j.type!=="ObjectPattern"&&j.type,x=j}else g.push(R)}}}else r?(s.fragment=!0,h={type:"Identifier",name:"_Fragment"}):h=m3(i.jsxFrag||n.pragmaFrag||"React.Fragment");r?c.length>0&&g.push({type:"Property",key:{type:"Identifier",name:"children"},value:c.length>1?{type:"ArrayExpression",elements:c}:c[0],kind:"init",method:!1,shorthand:!1,computed:!1}):m=c;let v;if(r){m.push({type:"ObjectExpression",properties:g}),x?m.push(x):n.development&&m.push({type:"Identifier",name:"undefined"});const k=c.length>1;if(n.development){s.jsxDEV=!0,v={type:"Identifier",name:"_jsxDEV"},m.push({type:"Literal",value:k});const T={type:"ObjectExpression",properties:[{type:"Property",method:!1,shorthand:!1,computed:!1,kind:"init",key:{type:"Identifier",name:"fileName"},value:{type:"Literal",value:n.filePath||"<source.js>"}}]};o.loc&&T.properties.push({type:"Property",method:!1,shorthand:!1,computed:!1,kind:"init",key:{type:"Identifier",name:"lineNumber"},value:{type:"Literal",value:o.loc.start.line}},{type:"Property",method:!1,shorthand:!1,computed:!1,kind:"init",key:{type:"Identifier",name:"columnNumber"},value:{type:"Literal",value:o.loc.start.column+1}}),m.push(T,{type:"ThisExpression"})}else k?(s.jsxs=!0,v={type:"Identifier",name:"_jsxs"}):(s.jsx=!0,v={type:"Identifier",name:"_jsx"})}else g.length>0?m.unshift({type:"ObjectExpression",properties:g}):m.length>0&&m.unshift({type:"Literal",value:null}),v=m3(i.jsx||n.pragma||"React.createElement");m.unshift(h);const E={type:"CallExpression",callee:v,arguments:m,optional:!1};Bc(o,E),this.replace(E)}})}function UL(e){let t;if(e.value)if(e.value.type==="JSXExpressionContainer"){const r=e.value.expression;r.type,t=r}else{const r=e.value;r.type!=="JSXElement"&&r.type,t=r,delete t.raw}else t={type:"Literal",value:!0};const n={type:"Property",key:Lh(e.name),value:t,kind:"init",method:!1,shorthand:!1,computed:!1};return Bc(e,n),n}function Lh(e){let t;if(e.type==="JSXMemberExpression"){const n=Lh(e.property);t={type:"MemberExpression",object:Lh(e.object),property:n,computed:n.type==="Literal",optional:!1}}else e.type==="JSXNamespacedName"?t={type:"Literal",value:e.namespace.name+":"+e.name.name}:t=oa(e.name)?{type:"Identifier",name:e.name}:{type:"Literal",value:e.name};return Bc(e,t),t}function m3(e){const t=e.split(".");let n=-1,r;for(;++n<t.length;){const i=oa(t[n])?{type:"Identifier",name:t[n]}:{type:"Literal",value:t[n]};r=r?{type:"MemberExpression",object:r,property:i,computed:!!(n&&i.type==="Literal"),optional:!1}:i}return r}function Bc(e,t){const n=["start","end","loc","range","comments"];let r=-1;for(;++r<n.length;){const i=n[r];i in e&&(t[i]=e[i])}}function HL(e){return function(t,n){qL(t,{filePath:n.history[0],...e})}}var y1={exports:{}},v1,g3;function GL(){return g3||(g3=1,v1={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}),v1}var Oc={exports:{}},XL=Oc.exports,x3;function y3(){return x3||(x3=1,(function(e,t){(function(n,r){r(t)})(XL,(function(n){var r=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239],i=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],s="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・",o="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",c={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},f="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",h={5:f,"5module":f+" export import",6:f+" const class extends export import super"},g=/^in(stanceof)?$/,m=new RegExp("["+o+"]"),x=new RegExp("["+o+s+"]");function v(p,w){for(var _=65536,z=0;z<w.length;z+=2){if(_+=w[z],_>p)return!1;if(_+=w[z+1],_>=p)return!0}return!1}function E(p,w){return p<65?p===36:p<91?!0:p<97?p===95:p<123?!0:p<=65535?p>=170&&m.test(String.fromCharCode(p)):w===!1?!1:v(p,i)}function k(p,w){return p<48?p===36:p<58?!0:p<65?!1:p<91?!0:p<97?p===95:p<123?!0:p<=65535?p>=170&&x.test(String.fromCharCode(p)):w===!1?!1:v(p,i)||v(p,r)}var T=function(w,_){_===void 0&&(_={}),this.label=w,this.keyword=_.keyword,this.beforeExpr=!!_.beforeExpr,this.startsExpr=!!_.startsExpr,this.isLoop=!!_.isLoop,this.isAssign=!!_.isAssign,this.prefix=!!_.prefix,this.postfix=!!_.postfix,this.binop=_.binop||null,this.updateContext=null};function C(p,w){return new T(p,{beforeExpr:!0,binop:w})}var M={beforeExpr:!0},R={startsExpr:!0},j={};function L(p,w){return w===void 0&&(w={}),w.keyword=p,j[p]=new T(p,w)}var S={num:new T("num",R),regexp:new T("regexp",R),string:new T("string",R),name:new T("name",R),privateId:new T("privateId",R),eof:new T("eof"),bracketL:new T("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new T("]"),braceL:new T("{",{beforeExpr:!0,startsExpr:!0}),braceR:new T("}"),parenL:new T("(",{beforeExpr:!0,startsExpr:!0}),parenR:new T(")"),comma:new T(",",M),semi:new T(";",M),colon:new T(":",M),dot:new T("."),question:new T("?",M),questionDot:new T("?."),arrow:new T("=>",M),template:new T("template"),invalidTemplate:new T("invalidTemplate"),ellipsis:new T("...",M),backQuote:new T("`",R),dollarBraceL:new T("${",{beforeExpr:!0,startsExpr:!0}),eq:new T("=",{beforeExpr:!0,isAssign:!0}),assign:new T("_=",{beforeExpr:!0,isAssign:!0}),incDec:new T("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new T("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:C("||",1),logicalAND:C("&&",2),bitwiseOR:C("|",3),bitwiseXOR:C("^",4),bitwiseAND:C("&",5),equality:C("==/!=/===/!==",6),relational:C("</>/<=/>=",7),bitShift:C("<</>>/>>>",8),plusMin:new T("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:C("%",10),star:C("*",10),slash:C("/",10),starstar:new T("**",{beforeExpr:!0}),coalesce:C("??",1),_break:L("break"),_case:L("case",M),_catch:L("catch"),_continue:L("continue"),_debugger:L("debugger"),_default:L("default",M),_do:L("do",{isLoop:!0,beforeExpr:!0}),_else:L("else",M),_finally:L("finally"),_for:L("for",{isLoop:!0}),_function:L("function",R),_if:L("if"),_return:L("return",M),_switch:L("switch"),_throw:L("throw",M),_try:L("try"),_var:L("var"),_const:L("const"),_while:L("while",{isLoop:!0}),_with:L("with"),_new:L("new",{beforeExpr:!0,startsExpr:!0}),_this:L("this",R),_super:L("super",R),_class:L("class",R),_extends:L("extends",M),_export:L("export"),_import:L("import",R),_null:L("null",R),_true:L("true",R),_false:L("false",R),_in:L("in",{beforeExpr:!0,binop:7}),_instanceof:L("instanceof",{beforeExpr:!0,binop:7}),_typeof:L("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:L("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:L("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},O=/\r\n?|\n|\u2028|\u2029/,q=new RegExp(O.source,"g");function W(p){return p===10||p===13||p===8232||p===8233}function J(p,w,_){_===void 0&&(_=p.length);for(var z=w;z<_;z++){var X=p.charCodeAt(z);if(W(X))return z<_-1&&X===13&&p.charCodeAt(z+1)===10?z+2:z+1}return-1}var re=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,ae=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Se=Object.prototype,xe=Se.hasOwnProperty,ge=Se.toString,ee=Object.hasOwn||(function(p,w){return xe.call(p,w)}),oe=Array.isArray||(function(p){return ge.call(p)==="[object Array]"}),le=Object.create(null);function we(p){return le[p]||(le[p]=new RegExp("^(?:"+p.replace(/ /g,"|")+")$"))}function Y(p){return p<=65535?String.fromCharCode(p):(p-=65536,String.fromCharCode((p>>10)+55296,(p&1023)+56320))}var $=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,ue=function(w,_){this.line=w,this.column=_};ue.prototype.offset=function(w){return new ue(this.line,this.column+w)};var H=function(w,_,z){this.start=_,this.end=z,w.sourceFile!==null&&(this.source=w.sourceFile)};function Ce(p,w){for(var _=1,z=0;;){var X=J(p,z,w);if(X<0)return new ue(_,w-z);++_,z=X}}var Le={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},ze=!1;function Re(p){var w={};for(var _ in Le)w[_]=p&&ee(p,_)?p[_]:Le[_];if(w.ecmaVersion==="latest"?w.ecmaVersion=1e8:w.ecmaVersion==null?(!ze&&typeof console=="object"&&console.warn&&(ze=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
193
- Defaulting to 2020, but this will stop working in the future.`)),w.ecmaVersion=11):w.ecmaVersion>=2015&&(w.ecmaVersion-=2009),w.allowReserved==null&&(w.allowReserved=w.ecmaVersion<5),(!p||p.allowHashBang==null)&&(w.allowHashBang=w.ecmaVersion>=14),oe(w.onToken)){var z=w.onToken;w.onToken=function(X){return z.push(X)}}return oe(w.onComment)&&(w.onComment=Ke(w,w.onComment)),w}function Ke(p,w){return function(_,z,X,ie,pe,Te){var _e={type:_?"Block":"Line",value:z,start:X,end:ie};p.locations&&(_e.loc=new H(this,pe,Te)),p.ranges&&(_e.range=[X,ie]),w.push(_e)}}var Ve=1,st=2,Ze=4,Pe=8,ot=16,dt=32,Rt=64,Jt=128,Ut=256,$t=512,Pt=Ve|st|Ut;function yn(p,w){return st|(p?Ze:0)|(w?Pe:0)}var Fn=0,Ur=1,vn=2,pt=3,ai=4,ve=5,ye=function(w,_,z){this.options=w=Re(w),this.sourceFile=w.sourceFile,this.keywords=we(h[w.ecmaVersion>=6?6:w.sourceType==="module"?"5module":5]);var X="";w.allowReserved!==!0&&(X=c[w.ecmaVersion>=6?6:w.ecmaVersion===5?5:3],w.sourceType==="module"&&(X+=" await")),this.reservedWords=we(X);var ie=(X?X+" ":"")+c.strict;this.reservedWordsStrict=we(ie),this.reservedWordsStrictBind=we(ie+" "+c.strictBind),this.input=String(_),this.containsEsc=!1,z?(this.pos=z,this.lineStart=this.input.lastIndexOf(`
194
- `,z-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(O).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=S.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=w.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&w.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(Ve),this.regexpState=null,this.privateNameStack=[]},G={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};ye.prototype.parse=function(){var w=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(w)},G.inFunction.get=function(){return(this.currentVarScope().flags&st)>0},G.inGenerator.get=function(){return(this.currentVarScope().flags&Pe)>0},G.inAsync.get=function(){return(this.currentVarScope().flags&Ze)>0},G.canAwait.get=function(){for(var p=this.scopeStack.length-1;p>=0;p--){var w=this.scopeStack[p],_=w.flags;if(_&(Ut|$t))return!1;if(_&st)return(_&Ze)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},G.allowSuper.get=function(){var p=this.currentThisScope(),w=p.flags;return(w&Rt)>0||this.options.allowSuperOutsideMethod},G.allowDirectSuper.get=function(){return(this.currentThisScope().flags&Jt)>0},G.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},G.allowNewDotTarget.get=function(){for(var p=this.scopeStack.length-1;p>=0;p--){var w=this.scopeStack[p],_=w.flags;if(_&(Ut|$t)||_&st&&!(_&ot))return!0}return!1},G.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&Ut)>0},ye.extend=function(){for(var w=[],_=arguments.length;_--;)w[_]=arguments[_];for(var z=this,X=0;X<w.length;X++)z=w[X](z);return z},ye.parse=function(w,_){return new this(_,w).parse()},ye.parseExpressionAt=function(w,_,z){var X=new this(z,w,_);return X.nextToken(),X.parseExpression()},ye.tokenizer=function(w,_){return new this(_,w)},Object.defineProperties(ye.prototype,G);var $e=ye.prototype,gt=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;$e.strictDirective=function(p){if(this.options.ecmaVersion<5)return!1;for(;;){ae.lastIndex=p,p+=ae.exec(this.input)[0].length;var w=gt.exec(this.input.slice(p));if(!w)return!1;if((w[1]||w[2])==="use strict"){ae.lastIndex=p+w[0].length;var _=ae.exec(this.input),z=_.index+_[0].length,X=this.input.charAt(z);return X===";"||X==="}"||O.test(_[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(X)||X==="!"&&this.input.charAt(z+1)==="=")}p+=w[0].length,ae.lastIndex=p,p+=ae.exec(this.input)[0].length,this.input[p]===";"&&p++}},$e.eat=function(p){return this.type===p?(this.next(),!0):!1},$e.isContextual=function(p){return this.type===S.name&&this.value===p&&!this.containsEsc},$e.eatContextual=function(p){return this.isContextual(p)?(this.next(),!0):!1},$e.expectContextual=function(p){this.eatContextual(p)||this.unexpected()},$e.canInsertSemicolon=function(){return this.type===S.eof||this.type===S.braceR||O.test(this.input.slice(this.lastTokEnd,this.start))},$e.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},$e.semicolon=function(){!this.eat(S.semi)&&!this.insertSemicolon()&&this.unexpected()},$e.afterTrailingComma=function(p,w){if(this.type===p)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),w||this.next(),!0},$e.expect=function(p){this.eat(p)||this.unexpected()},$e.unexpected=function(p){this.raise(p??this.start,"Unexpected token")};var an=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};$e.checkPatternErrors=function(p,w){if(p){p.trailingComma>-1&&this.raiseRecoverable(p.trailingComma,"Comma is not permitted after the rest element");var _=w?p.parenthesizedAssign:p.parenthesizedBind;_>-1&&this.raiseRecoverable(_,w?"Assigning to rvalue":"Parenthesized pattern")}},$e.checkExpressionErrors=function(p,w){if(!p)return!1;var _=p.shorthandAssign,z=p.doubleProto;if(!w)return _>=0||z>=0;_>=0&&this.raise(_,"Shorthand property assignments are valid only in destructuring patterns"),z>=0&&this.raiseRecoverable(z,"Redefinition of __proto__ property")},$e.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},$e.isSimpleAssignTarget=function(p){return p.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(p.expression):p.type==="Identifier"||p.type==="MemberExpression"};var Be=ye.prototype;Be.parseTopLevel=function(p){var w=Object.create(null);for(p.body||(p.body=[]);this.type!==S.eof;){var _=this.parseStatement(null,!0,w);p.body.push(_)}if(this.inModule)for(var z=0,X=Object.keys(this.undefinedExports);z<X.length;z+=1){var ie=X[z];this.raiseRecoverable(this.undefinedExports[ie].start,"Export '"+ie+"' is not defined")}return this.adaptDirectivePrologue(p.body),this.next(),p.sourceType=this.options.sourceType,this.finishNode(p,"Program")};var un={kind:"loop"},pn={kind:"switch"};Be.isLet=function(p){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;ae.lastIndex=this.pos;var w=ae.exec(this.input),_=this.pos+w[0].length,z=this.input.charCodeAt(_);if(z===91||z===92)return!0;if(p)return!1;if(z===123||z>55295&&z<56320)return!0;if(E(z,!0)){for(var X=_+1;k(z=this.input.charCodeAt(X),!0);)++X;if(z===92||z>55295&&z<56320)return!0;var ie=this.input.slice(_,X);if(!g.test(ie))return!0}return!1},Be.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;ae.lastIndex=this.pos;var p=ae.exec(this.input),w=this.pos+p[0].length,_;return!O.test(this.input.slice(this.pos,w))&&this.input.slice(w,w+8)==="function"&&(w+8===this.input.length||!(k(_=this.input.charCodeAt(w+8))||_>55295&&_<56320))},Be.isUsingKeyword=function(p,w){if(this.options.ecmaVersion<17||!this.isContextual(p?"await":"using"))return!1;ae.lastIndex=this.pos;var _=ae.exec(this.input),z=this.pos+_[0].length;if(O.test(this.input.slice(this.pos,z)))return!1;if(p){var X=z+5,ie;if(this.input.slice(z,X)!=="using"||X===this.input.length||k(ie=this.input.charCodeAt(X))||ie>55295&&ie<56320)return!1;ae.lastIndex=X;var pe=ae.exec(this.input);if(pe&&O.test(this.input.slice(X,X+pe[0].length)))return!1}if(w){var Te=z+2,_e;if(this.input.slice(z,Te)==="of"&&(Te===this.input.length||!k(_e=this.input.charCodeAt(Te))&&!(_e>55295&&_e<56320)))return!1}var it=this.input.charCodeAt(z);return E(it,!0)||it===92},Be.isAwaitUsing=function(p){return this.isUsingKeyword(!0,p)},Be.isUsing=function(p){return this.isUsingKeyword(!1,p)},Be.parseStatement=function(p,w,_){var z=this.type,X=this.startNode(),ie;switch(this.isLet(p)&&(z=S._var,ie="let"),z){case S._break:case S._continue:return this.parseBreakContinueStatement(X,z.keyword);case S._debugger:return this.parseDebuggerStatement(X);case S._do:return this.parseDoStatement(X);case S._for:return this.parseForStatement(X);case S._function:return p&&(this.strict||p!=="if"&&p!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(X,!1,!p);case S._class:return p&&this.unexpected(),this.parseClass(X,!0);case S._if:return this.parseIfStatement(X);case S._return:return this.parseReturnStatement(X);case S._switch:return this.parseSwitchStatement(X);case S._throw:return this.parseThrowStatement(X);case S._try:return this.parseTryStatement(X);case S._const:case S._var:return ie=ie||this.value,p&&ie!=="var"&&this.unexpected(),this.parseVarStatement(X,ie);case S._while:return this.parseWhileStatement(X);case S._with:return this.parseWithStatement(X);case S.braceL:return this.parseBlock(!0,X);case S.semi:return this.parseEmptyStatement(X);case S._export:case S._import:if(this.options.ecmaVersion>10&&z===S._import){ae.lastIndex=this.pos;var pe=ae.exec(this.input),Te=this.pos+pe[0].length,_e=this.input.charCodeAt(Te);if(_e===40||_e===46)return this.parseExpressionStatement(X,this.parseExpression())}return this.options.allowImportExportEverywhere||(w||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),z===S._import?this.parseImport(X):this.parseExport(X,_);default:if(this.isAsyncFunction())return p&&this.unexpected(),this.next(),this.parseFunctionStatement(X,!0,!p);var it=this.isAwaitUsing(!1)?"await using":this.isUsing(!1)?"using":null;if(it)return w&&this.options.sourceType==="script"&&this.raise(this.start,"Using declaration cannot appear in the top level when source type is `script`"),it==="await using"&&(this.canAwait||this.raise(this.start,"Await using cannot appear outside of async function"),this.next()),this.next(),this.parseVar(X,!1,it),this.semicolon(),this.finishNode(X,"VariableDeclaration");var ft=this.value,Wt=this.parseExpression();return z===S.name&&Wt.type==="Identifier"&&this.eat(S.colon)?this.parseLabeledStatement(X,ft,Wt,p):this.parseExpressionStatement(X,Wt)}},Be.parseBreakContinueStatement=function(p,w){var _=w==="break";this.next(),this.eat(S.semi)||this.insertSemicolon()?p.label=null:this.type!==S.name?this.unexpected():(p.label=this.parseIdent(),this.semicolon());for(var z=0;z<this.labels.length;++z){var X=this.labels[z];if((p.label==null||X.name===p.label.name)&&(X.kind!=null&&(_||X.kind==="loop")||p.label&&_))break}return z===this.labels.length&&this.raise(p.start,"Unsyntactic "+w),this.finishNode(p,_?"BreakStatement":"ContinueStatement")},Be.parseDebuggerStatement=function(p){return this.next(),this.semicolon(),this.finishNode(p,"DebuggerStatement")},Be.parseDoStatement=function(p){return this.next(),this.labels.push(un),p.body=this.parseStatement("do"),this.labels.pop(),this.expect(S._while),p.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(S.semi):this.semicolon(),this.finishNode(p,"DoWhileStatement")},Be.parseForStatement=function(p){this.next();var w=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(un),this.enterScope(0),this.expect(S.parenL),this.type===S.semi)return w>-1&&this.unexpected(w),this.parseFor(p,null);var _=this.isLet();if(this.type===S._var||this.type===S._const||_){var z=this.startNode(),X=_?"let":this.value;return this.next(),this.parseVar(z,!0,X),this.finishNode(z,"VariableDeclaration"),this.parseForAfterInit(p,z,w)}var ie=this.isContextual("let"),pe=!1,Te=this.isUsing(!0)?"using":this.isAwaitUsing(!0)?"await using":null;if(Te){var _e=this.startNode();return this.next(),Te==="await using"&&this.next(),this.parseVar(_e,!0,Te),this.finishNode(_e,"VariableDeclaration"),this.parseForAfterInit(p,_e,w)}var it=this.containsEsc,ft=new an,Wt=this.start,kn=w>-1?this.parseExprSubscripts(ft,"await"):this.parseExpression(!0,ft);return this.type===S._in||(pe=this.options.ecmaVersion>=6&&this.isContextual("of"))?(w>-1?(this.type===S._in&&this.unexpected(w),p.await=!0):pe&&this.options.ecmaVersion>=8&&(kn.start===Wt&&!it&&kn.type==="Identifier"&&kn.name==="async"?this.unexpected():this.options.ecmaVersion>=9&&(p.await=!1)),ie&&pe&&this.raise(kn.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(kn,!1,ft),this.checkLValPattern(kn),this.parseForIn(p,kn)):(this.checkExpressionErrors(ft,!0),w>-1&&this.unexpected(w),this.parseFor(p,kn))},Be.parseForAfterInit=function(p,w,_){return(this.type===S._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&w.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===S._in?_>-1&&this.unexpected(_):p.await=_>-1),this.parseForIn(p,w)):(_>-1&&this.unexpected(_),this.parseFor(p,w))},Be.parseFunctionStatement=function(p,w,_){return this.next(),this.parseFunction(p,Nt|(_?0:br),!1,w)},Be.parseIfStatement=function(p){return this.next(),p.test=this.parseParenExpression(),p.consequent=this.parseStatement("if"),p.alternate=this.eat(S._else)?this.parseStatement("if"):null,this.finishNode(p,"IfStatement")},Be.parseReturnStatement=function(p){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(S.semi)||this.insertSemicolon()?p.argument=null:(p.argument=this.parseExpression(),this.semicolon()),this.finishNode(p,"ReturnStatement")},Be.parseSwitchStatement=function(p){this.next(),p.discriminant=this.parseParenExpression(),p.cases=[],this.expect(S.braceL),this.labels.push(pn),this.enterScope(0);for(var w,_=!1;this.type!==S.braceR;)if(this.type===S._case||this.type===S._default){var z=this.type===S._case;w&&this.finishNode(w,"SwitchCase"),p.cases.push(w=this.startNode()),w.consequent=[],this.next(),z?w.test=this.parseExpression():(_&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),_=!0,w.test=null),this.expect(S.colon)}else w||this.unexpected(),w.consequent.push(this.parseStatement(null));return this.exitScope(),w&&this.finishNode(w,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(p,"SwitchStatement")},Be.parseThrowStatement=function(p){return this.next(),O.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),p.argument=this.parseExpression(),this.semicolon(),this.finishNode(p,"ThrowStatement")};var Jn=[];Be.parseCatchClauseParam=function(){var p=this.parseBindingAtom(),w=p.type==="Identifier";return this.enterScope(w?dt:0),this.checkLValPattern(p,w?ai:vn),this.expect(S.parenR),p},Be.parseTryStatement=function(p){if(this.next(),p.block=this.parseBlock(),p.handler=null,this.type===S._catch){var w=this.startNode();this.next(),this.eat(S.parenL)?w.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),w.param=null,this.enterScope(0)),w.body=this.parseBlock(!1),this.exitScope(),p.handler=this.finishNode(w,"CatchClause")}return p.finalizer=this.eat(S._finally)?this.parseBlock():null,!p.handler&&!p.finalizer&&this.raise(p.start,"Missing catch or finally clause"),this.finishNode(p,"TryStatement")},Be.parseVarStatement=function(p,w,_){return this.next(),this.parseVar(p,!1,w,_),this.semicolon(),this.finishNode(p,"VariableDeclaration")},Be.parseWhileStatement=function(p){return this.next(),p.test=this.parseParenExpression(),this.labels.push(un),p.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(p,"WhileStatement")},Be.parseWithStatement=function(p){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),p.object=this.parseParenExpression(),p.body=this.parseStatement("with"),this.finishNode(p,"WithStatement")},Be.parseEmptyStatement=function(p){return this.next(),this.finishNode(p,"EmptyStatement")},Be.parseLabeledStatement=function(p,w,_,z){for(var X=0,ie=this.labels;X<ie.length;X+=1){var pe=ie[X];pe.name===w&&this.raise(_.start,"Label '"+w+"' is already declared")}for(var Te=this.type.isLoop?"loop":this.type===S._switch?"switch":null,_e=this.labels.length-1;_e>=0;_e--){var it=this.labels[_e];if(it.statementStart===p.start)it.statementStart=this.start,it.kind=Te;else break}return this.labels.push({name:w,kind:Te,statementStart:this.start}),p.body=this.parseStatement(z?z.indexOf("label")===-1?z+"label":z:"label"),this.labels.pop(),p.label=_,this.finishNode(p,"LabeledStatement")},Be.parseExpressionStatement=function(p,w){return p.expression=w,this.semicolon(),this.finishNode(p,"ExpressionStatement")},Be.parseBlock=function(p,w,_){for(p===void 0&&(p=!0),w===void 0&&(w=this.startNode()),w.body=[],this.expect(S.braceL),p&&this.enterScope(0);this.type!==S.braceR;){var z=this.parseStatement(null);w.body.push(z)}return _&&(this.strict=!1),this.next(),p&&this.exitScope(),this.finishNode(w,"BlockStatement")},Be.parseFor=function(p,w){return p.init=w,this.expect(S.semi),p.test=this.type===S.semi?null:this.parseExpression(),this.expect(S.semi),p.update=this.type===S.parenR?null:this.parseExpression(),this.expect(S.parenR),p.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(p,"ForStatement")},Be.parseForIn=function(p,w){var _=this.type===S._in;return this.next(),w.type==="VariableDeclaration"&&w.declarations[0].init!=null&&(!_||this.options.ecmaVersion<8||this.strict||w.kind!=="var"||w.declarations[0].id.type!=="Identifier")&&this.raise(w.start,(_?"for-in":"for-of")+" loop variable declaration may not have an initializer"),p.left=w,p.right=_?this.parseExpression():this.parseMaybeAssign(),this.expect(S.parenR),p.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(p,_?"ForInStatement":"ForOfStatement")},Be.parseVar=function(p,w,_,z){for(p.declarations=[],p.kind=_;;){var X=this.startNode();if(this.parseVarId(X,_),this.eat(S.eq)?X.init=this.parseMaybeAssign(w):!z&&_==="const"&&!(this.type===S._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():!z&&(_==="using"||_==="await using")&&this.options.ecmaVersion>=17&&this.type!==S._in&&!this.isContextual("of")?this.raise(this.lastTokEnd,"Missing initializer in "+_+" declaration"):!z&&X.id.type!=="Identifier"&&!(w&&(this.type===S._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):X.init=null,p.declarations.push(this.finishNode(X,"VariableDeclarator")),!this.eat(S.comma))break}return p},Be.parseVarId=function(p,w){p.id=w==="using"||w==="await using"?this.parseIdent():this.parseBindingAtom(),this.checkLValPattern(p.id,w==="var"?Ur:vn,!1)};var Nt=1,br=2,nr=4;Be.parseFunction=function(p,w,_,z,X){this.initFunction(p),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!z)&&(this.type===S.star&&w&br&&this.unexpected(),p.generator=this.eat(S.star)),this.options.ecmaVersion>=8&&(p.async=!!z),w&Nt&&(p.id=w&nr&&this.type!==S.name?null:this.parseIdent(),p.id&&!(w&br)&&this.checkLValSimple(p.id,this.strict||p.generator||p.async?this.treatFunctionsAsVar?Ur:vn:pt));var ie=this.yieldPos,pe=this.awaitPos,Te=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(yn(p.async,p.generator)),w&Nt||(p.id=this.type===S.name?this.parseIdent():null),this.parseFunctionParams(p),this.parseFunctionBody(p,_,!1,X),this.yieldPos=ie,this.awaitPos=pe,this.awaitIdentPos=Te,this.finishNode(p,w&Nt?"FunctionDeclaration":"FunctionExpression")},Be.parseFunctionParams=function(p){this.expect(S.parenL),p.params=this.parseBindingList(S.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},Be.parseClass=function(p,w){this.next();var _=this.strict;this.strict=!0,this.parseClassId(p,w),this.parseClassSuper(p);var z=this.enterClassBody(),X=this.startNode(),ie=!1;for(X.body=[],this.expect(S.braceL);this.type!==S.braceR;){var pe=this.parseClassElement(p.superClass!==null);pe&&(X.body.push(pe),pe.type==="MethodDefinition"&&pe.kind==="constructor"?(ie&&this.raiseRecoverable(pe.start,"Duplicate constructor in the same class"),ie=!0):pe.key&&pe.key.type==="PrivateIdentifier"&&Zl(z,pe)&&this.raiseRecoverable(pe.key.start,"Identifier '#"+pe.key.name+"' has already been declared"))}return this.strict=_,this.next(),p.body=this.finishNode(X,"ClassBody"),this.exitClassBody(),this.finishNode(p,w?"ClassDeclaration":"ClassExpression")},Be.parseClassElement=function(p){if(this.eat(S.semi))return null;var w=this.options.ecmaVersion,_=this.startNode(),z="",X=!1,ie=!1,pe="method",Te=!1;if(this.eatContextual("static")){if(w>=13&&this.eat(S.braceL))return this.parseClassStaticBlock(_),_;this.isClassElementNameStart()||this.type===S.star?Te=!0:z="static"}if(_.static=Te,!z&&w>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===S.star)&&!this.canInsertSemicolon()?ie=!0:z="async"),!z&&(w>=9||!ie)&&this.eat(S.star)&&(X=!0),!z&&!ie&&!X){var _e=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?pe=_e:z=_e)}if(z?(_.computed=!1,_.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),_.key.name=z,this.finishNode(_.key,"Identifier")):this.parseClassElementName(_),w<13||this.type===S.parenL||pe!=="method"||X||ie){var it=!_.static&&_i(_,"constructor"),ft=it&&p;it&&pe!=="method"&&this.raise(_.key.start,"Constructor can't have get/set modifier"),_.kind=it?"constructor":pe,this.parseClassMethod(_,X,ie,ft)}else this.parseClassField(_);return _},Be.isClassElementNameStart=function(){return this.type===S.name||this.type===S.privateId||this.type===S.num||this.type===S.string||this.type===S.bracketL||this.type.keyword},Be.parseClassElementName=function(p){this.type===S.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),p.computed=!1,p.key=this.parsePrivateIdent()):this.parsePropertyName(p)},Be.parseClassMethod=function(p,w,_,z){var X=p.key;p.kind==="constructor"?(w&&this.raise(X.start,"Constructor can't be a generator"),_&&this.raise(X.start,"Constructor can't be an async method")):p.static&&_i(p,"prototype")&&this.raise(X.start,"Classes may not have a static property named prototype");var ie=p.value=this.parseMethod(w,_,z);return p.kind==="get"&&ie.params.length!==0&&this.raiseRecoverable(ie.start,"getter should have no params"),p.kind==="set"&&ie.params.length!==1&&this.raiseRecoverable(ie.start,"setter should have exactly one param"),p.kind==="set"&&ie.params[0].type==="RestElement"&&this.raiseRecoverable(ie.params[0].start,"Setter cannot use rest params"),this.finishNode(p,"MethodDefinition")},Be.parseClassField=function(p){return _i(p,"constructor")?this.raise(p.key.start,"Classes can't have a field named 'constructor'"):p.static&&_i(p,"prototype")&&this.raise(p.key.start,"Classes can't have a static field named 'prototype'"),this.eat(S.eq)?(this.enterScope($t|Rt),p.value=this.parseMaybeAssign(),this.exitScope()):p.value=null,this.semicolon(),this.finishNode(p,"PropertyDefinition")},Be.parseClassStaticBlock=function(p){p.body=[];var w=this.labels;for(this.labels=[],this.enterScope(Ut|Rt);this.type!==S.braceR;){var _=this.parseStatement(null);p.body.push(_)}return this.next(),this.exitScope(),this.labels=w,this.finishNode(p,"StaticBlock")},Be.parseClassId=function(p,w){this.type===S.name?(p.id=this.parseIdent(),w&&this.checkLValSimple(p.id,vn,!1)):(w===!0&&this.unexpected(),p.id=null)},Be.parseClassSuper=function(p){p.superClass=this.eat(S._extends)?this.parseExprSubscripts(null,!1):null},Be.enterClassBody=function(){var p={declared:Object.create(null),used:[]};return this.privateNameStack.push(p),p.declared},Be.exitClassBody=function(){var p=this.privateNameStack.pop(),w=p.declared,_=p.used;if(this.options.checkPrivateFields)for(var z=this.privateNameStack.length,X=z===0?null:this.privateNameStack[z-1],ie=0;ie<_.length;++ie){var pe=_[ie];ee(w,pe.name)||(X?X.used.push(pe):this.raiseRecoverable(pe.start,"Private field '#"+pe.name+"' must be declared in an enclosing class"))}};function Zl(p,w){var _=w.key.name,z=p[_],X="true";return w.type==="MethodDefinition"&&(w.kind==="get"||w.kind==="set")&&(X=(w.static?"s":"i")+w.kind),z==="iget"&&X==="iset"||z==="iset"&&X==="iget"||z==="sget"&&X==="sset"||z==="sset"&&X==="sget"?(p[_]="true",!1):z?!0:(p[_]=X,!1)}function _i(p,w){var _=p.computed,z=p.key;return!_&&(z.type==="Identifier"&&z.name===w||z.type==="Literal"&&z.value===w)}Be.parseExportAllDeclaration=function(p,w){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(p.exported=this.parseModuleExportName(),this.checkExport(w,p.exported,this.lastTokStart)):p.exported=null),this.expectContextual("from"),this.type!==S.string&&this.unexpected(),p.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(p.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(p,"ExportAllDeclaration")},Be.parseExport=function(p,w){if(this.next(),this.eat(S.star))return this.parseExportAllDeclaration(p,w);if(this.eat(S._default))return this.checkExport(w,"default",this.lastTokStart),p.declaration=this.parseExportDefaultDeclaration(),this.finishNode(p,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())p.declaration=this.parseExportDeclaration(p),p.declaration.type==="VariableDeclaration"?this.checkVariableExport(w,p.declaration.declarations):this.checkExport(w,p.declaration.id,p.declaration.id.start),p.specifiers=[],p.source=null,this.options.ecmaVersion>=16&&(p.attributes=[]);else{if(p.declaration=null,p.specifiers=this.parseExportSpecifiers(w),this.eatContextual("from"))this.type!==S.string&&this.unexpected(),p.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(p.attributes=this.parseWithClause());else{for(var _=0,z=p.specifiers;_<z.length;_+=1){var X=z[_];this.checkUnreserved(X.local),this.checkLocalExport(X.local),X.local.type==="Literal"&&this.raise(X.local.start,"A string literal cannot be used as an exported binding without `from`.")}p.source=null,this.options.ecmaVersion>=16&&(p.attributes=[])}this.semicolon()}return this.finishNode(p,"ExportNamedDeclaration")},Be.parseExportDeclaration=function(p){return this.parseStatement(null)},Be.parseExportDefaultDeclaration=function(){var p;if(this.type===S._function||(p=this.isAsyncFunction())){var w=this.startNode();return this.next(),p&&this.next(),this.parseFunction(w,Nt|nr,!1,p)}else if(this.type===S._class){var _=this.startNode();return this.parseClass(_,"nullableID")}else{var z=this.parseMaybeAssign();return this.semicolon(),z}},Be.checkExport=function(p,w,_){p&&(typeof w!="string"&&(w=w.type==="Identifier"?w.name:w.value),ee(p,w)&&this.raiseRecoverable(_,"Duplicate export '"+w+"'"),p[w]=!0)},Be.checkPatternExport=function(p,w){var _=w.type;if(_==="Identifier")this.checkExport(p,w,w.start);else if(_==="ObjectPattern")for(var z=0,X=w.properties;z<X.length;z+=1){var ie=X[z];this.checkPatternExport(p,ie)}else if(_==="ArrayPattern")for(var pe=0,Te=w.elements;pe<Te.length;pe+=1){var _e=Te[pe];_e&&this.checkPatternExport(p,_e)}else _==="Property"?this.checkPatternExport(p,w.value):_==="AssignmentPattern"?this.checkPatternExport(p,w.left):_==="RestElement"&&this.checkPatternExport(p,w.argument)},Be.checkVariableExport=function(p,w){if(p)for(var _=0,z=w;_<z.length;_+=1){var X=z[_];this.checkPatternExport(p,X.id)}},Be.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},Be.parseExportSpecifier=function(p){var w=this.startNode();return w.local=this.parseModuleExportName(),w.exported=this.eatContextual("as")?this.parseModuleExportName():w.local,this.checkExport(p,w.exported,w.exported.start),this.finishNode(w,"ExportSpecifier")},Be.parseExportSpecifiers=function(p){var w=[],_=!0;for(this.expect(S.braceL);!this.eat(S.braceR);){if(_)_=!1;else if(this.expect(S.comma),this.afterTrailingComma(S.braceR))break;w.push(this.parseExportSpecifier(p))}return w},Be.parseImport=function(p){return this.next(),this.type===S.string?(p.specifiers=Jn,p.source=this.parseExprAtom()):(p.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),p.source=this.type===S.string?this.parseExprAtom():this.unexpected()),this.options.ecmaVersion>=16&&(p.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(p,"ImportDeclaration")},Be.parseImportSpecifier=function(){var p=this.startNode();return p.imported=this.parseModuleExportName(),this.eatContextual("as")?p.local=this.parseIdent():(this.checkUnreserved(p.imported),p.local=p.imported),this.checkLValSimple(p.local,vn),this.finishNode(p,"ImportSpecifier")},Be.parseImportDefaultSpecifier=function(){var p=this.startNode();return p.local=this.parseIdent(),this.checkLValSimple(p.local,vn),this.finishNode(p,"ImportDefaultSpecifier")},Be.parseImportNamespaceSpecifier=function(){var p=this.startNode();return this.next(),this.expectContextual("as"),p.local=this.parseIdent(),this.checkLValSimple(p.local,vn),this.finishNode(p,"ImportNamespaceSpecifier")},Be.parseImportSpecifiers=function(){var p=[],w=!0;if(this.type===S.name&&(p.push(this.parseImportDefaultSpecifier()),!this.eat(S.comma)))return p;if(this.type===S.star)return p.push(this.parseImportNamespaceSpecifier()),p;for(this.expect(S.braceL);!this.eat(S.braceR);){if(w)w=!1;else if(this.expect(S.comma),this.afterTrailingComma(S.braceR))break;p.push(this.parseImportSpecifier())}return p},Be.parseWithClause=function(){var p=[];if(!this.eat(S._with))return p;this.expect(S.braceL);for(var w={},_=!0;!this.eat(S.braceR);){if(_)_=!1;else if(this.expect(S.comma),this.afterTrailingComma(S.braceR))break;var z=this.parseImportAttribute(),X=z.key.type==="Identifier"?z.key.name:z.key.value;ee(w,X)&&this.raiseRecoverable(z.key.start,"Duplicate attribute key '"+X+"'"),w[X]=!0,p.push(z)}return p},Be.parseImportAttribute=function(){var p=this.startNode();return p.key=this.type===S.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never"),this.expect(S.colon),this.type!==S.string&&this.unexpected(),p.value=this.parseExprAtom(),this.finishNode(p,"ImportAttribute")},Be.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===S.string){var p=this.parseLiteral(this.value);return $.test(p.value)&&this.raise(p.start,"An export name cannot include a lone surrogate."),p}return this.parseIdent(!0)},Be.adaptDirectivePrologue=function(p){for(var w=0;w<p.length&&this.isDirectiveCandidate(p[w]);++w)p[w].directive=p[w].expression.raw.slice(1,-1)},Be.isDirectiveCandidate=function(p){return this.options.ecmaVersion>=5&&p.type==="ExpressionStatement"&&p.expression.type==="Literal"&&typeof p.expression.value=="string"&&(this.input[p.start]==='"'||this.input[p.start]==="'")};var Mn=ye.prototype;Mn.toAssignable=function(p,w,_){if(this.options.ecmaVersion>=6&&p)switch(p.type){case"Identifier":this.inAsync&&p.name==="await"&&this.raise(p.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":p.type="ObjectPattern",_&&this.checkPatternErrors(_,!0);for(var z=0,X=p.properties;z<X.length;z+=1){var ie=X[z];this.toAssignable(ie,w),ie.type==="RestElement"&&(ie.argument.type==="ArrayPattern"||ie.argument.type==="ObjectPattern")&&this.raise(ie.argument.start,"Unexpected token")}break;case"Property":p.kind!=="init"&&this.raise(p.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(p.value,w);break;case"ArrayExpression":p.type="ArrayPattern",_&&this.checkPatternErrors(_,!0),this.toAssignableList(p.elements,w);break;case"SpreadElement":p.type="RestElement",this.toAssignable(p.argument,w),p.argument.type==="AssignmentPattern"&&this.raise(p.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":p.operator!=="="&&this.raise(p.left.end,"Only '=' operator can be used for specifying default value."),p.type="AssignmentPattern",delete p.operator,this.toAssignable(p.left,w);break;case"ParenthesizedExpression":this.toAssignable(p.expression,w,_);break;case"ChainExpression":this.raiseRecoverable(p.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!w)break;default:this.raise(p.start,"Assigning to rvalue")}else _&&this.checkPatternErrors(_,!0);return p},Mn.toAssignableList=function(p,w){for(var _=p.length,z=0;z<_;z++){var X=p[z];X&&this.toAssignable(X,w)}if(_){var ie=p[_-1];this.options.ecmaVersion===6&&w&&ie&&ie.type==="RestElement"&&ie.argument.type!=="Identifier"&&this.unexpected(ie.argument.start)}return p},Mn.parseSpread=function(p){var w=this.startNode();return this.next(),w.argument=this.parseMaybeAssign(!1,p),this.finishNode(w,"SpreadElement")},Mn.parseRestBinding=function(){var p=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==S.name&&this.unexpected(),p.argument=this.parseBindingAtom(),this.finishNode(p,"RestElement")},Mn.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case S.bracketL:var p=this.startNode();return this.next(),p.elements=this.parseBindingList(S.bracketR,!0,!0),this.finishNode(p,"ArrayPattern");case S.braceL:return this.parseObj(!0)}return this.parseIdent()},Mn.parseBindingList=function(p,w,_,z){for(var X=[],ie=!0;!this.eat(p);)if(ie?ie=!1:this.expect(S.comma),w&&this.type===S.comma)X.push(null);else{if(_&&this.afterTrailingComma(p))break;if(this.type===S.ellipsis){var pe=this.parseRestBinding();this.parseBindingListItem(pe),X.push(pe),this.type===S.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(p);break}else X.push(this.parseAssignableListItem(z))}return X},Mn.parseAssignableListItem=function(p){var w=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(w),w},Mn.parseBindingListItem=function(p){return p},Mn.parseMaybeDefault=function(p,w,_){if(_=_||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(S.eq))return _;var z=this.startNodeAt(p,w);return z.left=_,z.right=this.parseMaybeAssign(),this.finishNode(z,"AssignmentPattern")},Mn.checkLValSimple=function(p,w,_){w===void 0&&(w=Fn);var z=w!==Fn;switch(p.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(p.name)&&this.raiseRecoverable(p.start,(z?"Binding ":"Assigning to ")+p.name+" in strict mode"),z&&(w===vn&&p.name==="let"&&this.raiseRecoverable(p.start,"let is disallowed as a lexically bound name"),_&&(ee(_,p.name)&&this.raiseRecoverable(p.start,"Argument name clash"),_[p.name]=!0),w!==ve&&this.declareName(p.name,w,p.start));break;case"ChainExpression":this.raiseRecoverable(p.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":z&&this.raiseRecoverable(p.start,"Binding member expression");break;case"ParenthesizedExpression":return z&&this.raiseRecoverable(p.start,"Binding parenthesized expression"),this.checkLValSimple(p.expression,w,_);default:this.raise(p.start,(z?"Binding":"Assigning to")+" rvalue")}},Mn.checkLValPattern=function(p,w,_){switch(w===void 0&&(w=Fn),p.type){case"ObjectPattern":for(var z=0,X=p.properties;z<X.length;z+=1){var ie=X[z];this.checkLValInnerPattern(ie,w,_)}break;case"ArrayPattern":for(var pe=0,Te=p.elements;pe<Te.length;pe+=1){var _e=Te[pe];_e&&this.checkLValInnerPattern(_e,w,_)}break;default:this.checkLValSimple(p,w,_)}},Mn.checkLValInnerPattern=function(p,w,_){switch(w===void 0&&(w=Fn),p.type){case"Property":this.checkLValInnerPattern(p.value,w,_);break;case"AssignmentPattern":this.checkLValPattern(p.left,w,_);break;case"RestElement":this.checkLValPattern(p.argument,w,_);break;default:this.checkLValPattern(p,w,_)}};var Nn=function(w,_,z,X,ie){this.token=w,this.isExpr=!!_,this.preserveSpace=!!z,this.override=X,this.generator=!!ie},Ct={b_stat:new Nn("{",!1),b_expr:new Nn("{",!0),b_tmpl:new Nn("${",!1),p_stat:new Nn("(",!1),p_expr:new Nn("(",!0),q_tmpl:new Nn("`",!0,!0,function(p){return p.tryReadTemplateToken()}),f_stat:new Nn("function",!1),f_expr:new Nn("function",!0),f_expr_gen:new Nn("function",!0,!1,null,!0),f_gen:new Nn("function",!1,!1,null,!0)},Hr=ye.prototype;Hr.initialContext=function(){return[Ct.b_stat]},Hr.curContext=function(){return this.context[this.context.length-1]},Hr.braceIsBlock=function(p){var w=this.curContext();return w===Ct.f_expr||w===Ct.f_stat?!0:p===S.colon&&(w===Ct.b_stat||w===Ct.b_expr)?!w.isExpr:p===S._return||p===S.name&&this.exprAllowed?O.test(this.input.slice(this.lastTokEnd,this.start)):p===S._else||p===S.semi||p===S.eof||p===S.parenR||p===S.arrow?!0:p===S.braceL?w===Ct.b_stat:p===S._var||p===S._const||p===S.name?!1:!this.exprAllowed},Hr.inGeneratorContext=function(){for(var p=this.context.length-1;p>=1;p--){var w=this.context[p];if(w.token==="function")return w.generator}return!1},Hr.updateContext=function(p){var w,_=this.type;_.keyword&&p===S.dot?this.exprAllowed=!1:(w=_.updateContext)?w.call(this,p):this.exprAllowed=_.beforeExpr},Hr.overrideContext=function(p){this.curContext()!==p&&(this.context[this.context.length-1]=p)},S.parenR.updateContext=S.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var p=this.context.pop();p===Ct.b_stat&&this.curContext().token==="function"&&(p=this.context.pop()),this.exprAllowed=!p.isExpr},S.braceL.updateContext=function(p){this.context.push(this.braceIsBlock(p)?Ct.b_stat:Ct.b_expr),this.exprAllowed=!0},S.dollarBraceL.updateContext=function(){this.context.push(Ct.b_tmpl),this.exprAllowed=!0},S.parenL.updateContext=function(p){var w=p===S._if||p===S._for||p===S._with||p===S._while;this.context.push(w?Ct.p_stat:Ct.p_expr),this.exprAllowed=!0},S.incDec.updateContext=function(){},S._function.updateContext=S._class.updateContext=function(p){p.beforeExpr&&p!==S._else&&!(p===S.semi&&this.curContext()!==Ct.p_stat)&&!(p===S._return&&O.test(this.input.slice(this.lastTokEnd,this.start)))&&!((p===S.colon||p===S.braceL)&&this.curContext()===Ct.b_stat)?this.context.push(Ct.f_expr):this.context.push(Ct.f_stat),this.exprAllowed=!1},S.colon.updateContext=function(){this.curContext().token==="function"&&this.context.pop(),this.exprAllowed=!0},S.backQuote.updateContext=function(){this.curContext()===Ct.q_tmpl?this.context.pop():this.context.push(Ct.q_tmpl),this.exprAllowed=!1},S.star.updateContext=function(p){if(p===S._function){var w=this.context.length-1;this.context[w]===Ct.f_expr?this.context[w]=Ct.f_expr_gen:this.context[w]=Ct.f_gen}this.exprAllowed=!0},S.name.updateContext=function(p){var w=!1;this.options.ecmaVersion>=6&&p!==S.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(w=!0),this.exprAllowed=w};var et=ye.prototype;et.checkPropClash=function(p,w,_){if(!(this.options.ecmaVersion>=9&&p.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(p.computed||p.method||p.shorthand))){var z=p.key,X;switch(z.type){case"Identifier":X=z.name;break;case"Literal":X=String(z.value);break;default:return}var ie=p.kind;if(this.options.ecmaVersion>=6){X==="__proto__"&&ie==="init"&&(w.proto&&(_?_.doubleProto<0&&(_.doubleProto=z.start):this.raiseRecoverable(z.start,"Redefinition of __proto__ property")),w.proto=!0);return}X="$"+X;var pe=w[X];if(pe){var Te;ie==="init"?Te=this.strict&&pe.init||pe.get||pe.set:Te=pe.init||pe[ie],Te&&this.raiseRecoverable(z.start,"Redefinition of property")}else pe=w[X]={init:!1,get:!1,set:!1};pe[ie]=!0}},et.parseExpression=function(p,w){var _=this.start,z=this.startLoc,X=this.parseMaybeAssign(p,w);if(this.type===S.comma){var ie=this.startNodeAt(_,z);for(ie.expressions=[X];this.eat(S.comma);)ie.expressions.push(this.parseMaybeAssign(p,w));return this.finishNode(ie,"SequenceExpression")}return X},et.parseMaybeAssign=function(p,w,_){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(p);this.exprAllowed=!1}var z=!1,X=-1,ie=-1,pe=-1;w?(X=w.parenthesizedAssign,ie=w.trailingComma,pe=w.doubleProto,w.parenthesizedAssign=w.trailingComma=-1):(w=new an,z=!0);var Te=this.start,_e=this.startLoc;(this.type===S.parenL||this.type===S.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=p==="await");var it=this.parseMaybeConditional(p,w);if(_&&(it=_.call(this,it,Te,_e)),this.type.isAssign){var ft=this.startNodeAt(Te,_e);return ft.operator=this.value,this.type===S.eq&&(it=this.toAssignable(it,!1,w)),z||(w.parenthesizedAssign=w.trailingComma=w.doubleProto=-1),w.shorthandAssign>=it.start&&(w.shorthandAssign=-1),this.type===S.eq?this.checkLValPattern(it):this.checkLValSimple(it),ft.left=it,this.next(),ft.right=this.parseMaybeAssign(p),pe>-1&&(w.doubleProto=pe),this.finishNode(ft,"AssignmentExpression")}else z&&this.checkExpressionErrors(w,!0);return X>-1&&(w.parenthesizedAssign=X),ie>-1&&(w.trailingComma=ie),it},et.parseMaybeConditional=function(p,w){var _=this.start,z=this.startLoc,X=this.parseExprOps(p,w);if(this.checkExpressionErrors(w))return X;if(this.eat(S.question)){var ie=this.startNodeAt(_,z);return ie.test=X,ie.consequent=this.parseMaybeAssign(),this.expect(S.colon),ie.alternate=this.parseMaybeAssign(p),this.finishNode(ie,"ConditionalExpression")}return X},et.parseExprOps=function(p,w){var _=this.start,z=this.startLoc,X=this.parseMaybeUnary(w,!1,!1,p);return this.checkExpressionErrors(w)||X.start===_&&X.type==="ArrowFunctionExpression"?X:this.parseExprOp(X,_,z,-1,p)},et.parseExprOp=function(p,w,_,z,X){var ie=this.type.binop;if(ie!=null&&(!X||this.type!==S._in)&&ie>z){var pe=this.type===S.logicalOR||this.type===S.logicalAND,Te=this.type===S.coalesce;Te&&(ie=S.logicalAND.binop);var _e=this.value;this.next();var it=this.start,ft=this.startLoc,Wt=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,X),it,ft,ie,X),kn=this.buildBinary(w,_,p,Wt,_e,pe||Te);return(pe&&this.type===S.coalesce||Te&&(this.type===S.logicalOR||this.type===S.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(kn,w,_,z,X)}return p},et.buildBinary=function(p,w,_,z,X,ie){z.type==="PrivateIdentifier"&&this.raise(z.start,"Private identifier can only be left side of binary expression");var pe=this.startNodeAt(p,w);return pe.left=_,pe.operator=X,pe.right=z,this.finishNode(pe,ie?"LogicalExpression":"BinaryExpression")},et.parseMaybeUnary=function(p,w,_,z){var X=this.start,ie=this.startLoc,pe;if(this.isContextual("await")&&this.canAwait)pe=this.parseAwait(z),w=!0;else if(this.type.prefix){var Te=this.startNode(),_e=this.type===S.incDec;Te.operator=this.value,Te.prefix=!0,this.next(),Te.argument=this.parseMaybeUnary(null,!0,_e,z),this.checkExpressionErrors(p,!0),_e?this.checkLValSimple(Te.argument):this.strict&&Te.operator==="delete"&&pl(Te.argument)?this.raiseRecoverable(Te.start,"Deleting local variable in strict mode"):Te.operator==="delete"&&ls(Te.argument)?this.raiseRecoverable(Te.start,"Private fields can not be deleted"):w=!0,pe=this.finishNode(Te,_e?"UpdateExpression":"UnaryExpression")}else if(!w&&this.type===S.privateId)(z||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),pe=this.parsePrivateIdent(),this.type!==S._in&&this.unexpected();else{if(pe=this.parseExprSubscripts(p,z),this.checkExpressionErrors(p))return pe;for(;this.type.postfix&&!this.canInsertSemicolon();){var it=this.startNodeAt(X,ie);it.operator=this.value,it.prefix=!1,it.argument=pe,this.checkLValSimple(pe),this.next(),pe=this.finishNode(it,"UpdateExpression")}}if(!_&&this.eat(S.starstar))if(w)this.unexpected(this.lastTokStart);else return this.buildBinary(X,ie,pe,this.parseMaybeUnary(null,!1,!1,z),"**",!1);else return pe};function pl(p){return p.type==="Identifier"||p.type==="ParenthesizedExpression"&&pl(p.expression)}function ls(p){return p.type==="MemberExpression"&&p.property.type==="PrivateIdentifier"||p.type==="ChainExpression"&&ls(p.expression)||p.type==="ParenthesizedExpression"&&ls(p.expression)}et.parseExprSubscripts=function(p,w){var _=this.start,z=this.startLoc,X=this.parseExprAtom(p,w);if(X.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return X;var ie=this.parseSubscripts(X,_,z,!1,w);return p&&ie.type==="MemberExpression"&&(p.parenthesizedAssign>=ie.start&&(p.parenthesizedAssign=-1),p.parenthesizedBind>=ie.start&&(p.parenthesizedBind=-1),p.trailingComma>=ie.start&&(p.trailingComma=-1)),ie},et.parseSubscripts=function(p,w,_,z,X){for(var ie=this.options.ecmaVersion>=8&&p.type==="Identifier"&&p.name==="async"&&this.lastTokEnd===p.end&&!this.canInsertSemicolon()&&p.end-p.start===5&&this.potentialArrowAt===p.start,pe=!1;;){var Te=this.parseSubscript(p,w,_,z,ie,pe,X);if(Te.optional&&(pe=!0),Te===p||Te.type==="ArrowFunctionExpression"){if(pe){var _e=this.startNodeAt(w,_);_e.expression=Te,Te=this.finishNode(_e,"ChainExpression")}return Te}p=Te}},et.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(S.arrow)},et.parseSubscriptAsyncArrow=function(p,w,_,z){return this.parseArrowExpression(this.startNodeAt(p,w),_,!0,z)},et.parseSubscript=function(p,w,_,z,X,ie,pe){var Te=this.options.ecmaVersion>=11,_e=Te&&this.eat(S.questionDot);z&&_e&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var it=this.eat(S.bracketL);if(it||_e&&this.type!==S.parenL&&this.type!==S.backQuote||this.eat(S.dot)){var ft=this.startNodeAt(w,_);ft.object=p,it?(ft.property=this.parseExpression(),this.expect(S.bracketR)):this.type===S.privateId&&p.type!=="Super"?ft.property=this.parsePrivateIdent():ft.property=this.parseIdent(this.options.allowReserved!=="never"),ft.computed=!!it,Te&&(ft.optional=_e),p=this.finishNode(ft,"MemberExpression")}else if(!z&&this.eat(S.parenL)){var Wt=new an,kn=this.yieldPos,$i=this.awaitPos,Ea=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var Vn=this.parseExprList(S.parenR,this.options.ecmaVersion>=8,!1,Wt);if(X&&!_e&&this.shouldParseAsyncArrow())return this.checkPatternErrors(Wt,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=kn,this.awaitPos=$i,this.awaitIdentPos=Ea,this.parseSubscriptAsyncArrow(w,_,Vn,pe);this.checkExpressionErrors(Wt,!0),this.yieldPos=kn||this.yieldPos,this.awaitPos=$i||this.awaitPos,this.awaitIdentPos=Ea||this.awaitIdentPos;var Cr=this.startNodeAt(w,_);Cr.callee=p,Cr.arguments=Vn,Te&&(Cr.optional=_e),p=this.finishNode(Cr,"CallExpression")}else if(this.type===S.backQuote){(_e||ie)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var Oi=this.startNodeAt(w,_);Oi.tag=p,Oi.quasi=this.parseTemplate({isTagged:!0}),p=this.finishNode(Oi,"TaggedTemplateExpression")}return p},et.parseExprAtom=function(p,w,_){this.type===S.slash&&this.readRegexp();var z,X=this.potentialArrowAt===this.start;switch(this.type){case S._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),z=this.startNode(),this.next(),this.type===S.parenL&&!this.allowDirectSuper&&this.raise(z.start,"super() call outside constructor of a subclass"),this.type!==S.dot&&this.type!==S.bracketL&&this.type!==S.parenL&&this.unexpected(),this.finishNode(z,"Super");case S._this:return z=this.startNode(),this.next(),this.finishNode(z,"ThisExpression");case S.name:var ie=this.start,pe=this.startLoc,Te=this.containsEsc,_e=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!Te&&_e.name==="async"&&!this.canInsertSemicolon()&&this.eat(S._function))return this.overrideContext(Ct.f_expr),this.parseFunction(this.startNodeAt(ie,pe),0,!1,!0,w);if(X&&!this.canInsertSemicolon()){if(this.eat(S.arrow))return this.parseArrowExpression(this.startNodeAt(ie,pe),[_e],!1,w);if(this.options.ecmaVersion>=8&&_e.name==="async"&&this.type===S.name&&!Te&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return _e=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(S.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(ie,pe),[_e],!0,w)}return _e;case S.regexp:var it=this.value;return z=this.parseLiteral(it.value),z.regex={pattern:it.pattern,flags:it.flags},z;case S.num:case S.string:return this.parseLiteral(this.value);case S._null:case S._true:case S._false:return z=this.startNode(),z.value=this.type===S._null?null:this.type===S._true,z.raw=this.type.keyword,this.next(),this.finishNode(z,"Literal");case S.parenL:var ft=this.start,Wt=this.parseParenAndDistinguishExpression(X,w);return p&&(p.parenthesizedAssign<0&&!this.isSimpleAssignTarget(Wt)&&(p.parenthesizedAssign=ft),p.parenthesizedBind<0&&(p.parenthesizedBind=ft)),Wt;case S.bracketL:return z=this.startNode(),this.next(),z.elements=this.parseExprList(S.bracketR,!0,!0,p),this.finishNode(z,"ArrayExpression");case S.braceL:return this.overrideContext(Ct.b_expr),this.parseObj(!1,p);case S._function:return z=this.startNode(),this.next(),this.parseFunction(z,0);case S._class:return this.parseClass(this.startNode(),!1);case S._new:return this.parseNew();case S.backQuote:return this.parseTemplate();case S._import:return this.options.ecmaVersion>=11?this.parseExprImport(_):this.unexpected();default:return this.parseExprAtomDefault()}},et.parseExprAtomDefault=function(){this.unexpected()},et.parseExprImport=function(p){var w=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===S.parenL&&!p)return this.parseDynamicImport(w);if(this.type===S.dot){var _=this.startNodeAt(w.start,w.loc&&w.loc.start);return _.name="import",w.meta=this.finishNode(_,"Identifier"),this.parseImportMeta(w)}else this.unexpected()},et.parseDynamicImport=function(p){if(this.next(),p.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)this.eat(S.parenR)?p.options=null:(this.expect(S.comma),this.afterTrailingComma(S.parenR)?p.options=null:(p.options=this.parseMaybeAssign(),this.eat(S.parenR)||(this.expect(S.comma),this.afterTrailingComma(S.parenR)||this.unexpected())));else if(!this.eat(S.parenR)){var w=this.start;this.eat(S.comma)&&this.eat(S.parenR)?this.raiseRecoverable(w,"Trailing comma is not allowed in import()"):this.unexpected(w)}return this.finishNode(p,"ImportExpression")},et.parseImportMeta=function(p){this.next();var w=this.containsEsc;return p.property=this.parseIdent(!0),p.property.name!=="meta"&&this.raiseRecoverable(p.property.start,"The only valid meta property for import is 'import.meta'"),w&&this.raiseRecoverable(p.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(p.start,"Cannot use 'import.meta' outside a module"),this.finishNode(p,"MetaProperty")},et.parseLiteral=function(p){var w=this.startNode();return w.value=p,w.raw=this.input.slice(this.start,this.end),w.raw.charCodeAt(w.raw.length-1)===110&&(w.bigint=w.value!=null?w.value.toString():w.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(w,"Literal")},et.parseParenExpression=function(){this.expect(S.parenL);var p=this.parseExpression();return this.expect(S.parenR),p},et.shouldParseArrow=function(p){return!this.canInsertSemicolon()},et.parseParenAndDistinguishExpression=function(p,w){var _=this.start,z=this.startLoc,X,ie=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var pe=this.start,Te=this.startLoc,_e=[],it=!0,ft=!1,Wt=new an,kn=this.yieldPos,$i=this.awaitPos,Ea;for(this.yieldPos=0,this.awaitPos=0;this.type!==S.parenR;)if(it?it=!1:this.expect(S.comma),ie&&this.afterTrailingComma(S.parenR,!0)){ft=!0;break}else if(this.type===S.ellipsis){Ea=this.start,_e.push(this.parseParenItem(this.parseRestBinding())),this.type===S.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else _e.push(this.parseMaybeAssign(!1,Wt,this.parseParenItem));var Vn=this.lastTokEnd,Cr=this.lastTokEndLoc;if(this.expect(S.parenR),p&&this.shouldParseArrow(_e)&&this.eat(S.arrow))return this.checkPatternErrors(Wt,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=kn,this.awaitPos=$i,this.parseParenArrowList(_,z,_e,w);(!_e.length||ft)&&this.unexpected(this.lastTokStart),Ea&&this.unexpected(Ea),this.checkExpressionErrors(Wt,!0),this.yieldPos=kn||this.yieldPos,this.awaitPos=$i||this.awaitPos,_e.length>1?(X=this.startNodeAt(pe,Te),X.expressions=_e,this.finishNodeAt(X,"SequenceExpression",Vn,Cr)):X=_e[0]}else X=this.parseParenExpression();if(this.options.preserveParens){var Oi=this.startNodeAt(_,z);return Oi.expression=X,this.finishNode(Oi,"ParenthesizedExpression")}else return X},et.parseParenItem=function(p){return p},et.parseParenArrowList=function(p,w,_,z){return this.parseArrowExpression(this.startNodeAt(p,w),_,!1,z)};var wu=[];et.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var p=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===S.dot){var w=this.startNodeAt(p.start,p.loc&&p.loc.start);w.name="new",p.meta=this.finishNode(w,"Identifier"),this.next();var _=this.containsEsc;return p.property=this.parseIdent(!0),p.property.name!=="target"&&this.raiseRecoverable(p.property.start,"The only valid meta property for new is 'new.target'"),_&&this.raiseRecoverable(p.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(p.start,"'new.target' can only be used in functions and class static block"),this.finishNode(p,"MetaProperty")}var z=this.start,X=this.startLoc;return p.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),z,X,!0,!1),this.eat(S.parenL)?p.arguments=this.parseExprList(S.parenR,this.options.ecmaVersion>=8,!1):p.arguments=wu,this.finishNode(p,"NewExpression")},et.parseTemplateElement=function(p){var w=p.isTagged,_=this.startNode();return this.type===S.invalidTemplate?(w||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),_.value={raw:this.value.replace(/\r\n?/g,`
195
- `),cooked:null}):_.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
196
- `),cooked:this.value},this.next(),_.tail=this.type===S.backQuote,this.finishNode(_,"TemplateElement")},et.parseTemplate=function(p){p===void 0&&(p={});var w=p.isTagged;w===void 0&&(w=!1);var _=this.startNode();this.next(),_.expressions=[];var z=this.parseTemplateElement({isTagged:w});for(_.quasis=[z];!z.tail;)this.type===S.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(S.dollarBraceL),_.expressions.push(this.parseExpression()),this.expect(S.braceR),_.quasis.push(z=this.parseTemplateElement({isTagged:w}));return this.next(),this.finishNode(_,"TemplateLiteral")},et.isAsyncProp=function(p){return!p.computed&&p.key.type==="Identifier"&&p.key.name==="async"&&(this.type===S.name||this.type===S.num||this.type===S.string||this.type===S.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===S.star)&&!O.test(this.input.slice(this.lastTokEnd,this.start))},et.parseObj=function(p,w){var _=this.startNode(),z=!0,X={};for(_.properties=[],this.next();!this.eat(S.braceR);){if(z)z=!1;else if(this.expect(S.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(S.braceR))break;var ie=this.parseProperty(p,w);p||this.checkPropClash(ie,X,w),_.properties.push(ie)}return this.finishNode(_,p?"ObjectPattern":"ObjectExpression")},et.parseProperty=function(p,w){var _=this.startNode(),z,X,ie,pe;if(this.options.ecmaVersion>=9&&this.eat(S.ellipsis))return p?(_.argument=this.parseIdent(!1),this.type===S.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(_,"RestElement")):(_.argument=this.parseMaybeAssign(!1,w),this.type===S.comma&&w&&w.trailingComma<0&&(w.trailingComma=this.start),this.finishNode(_,"SpreadElement"));this.options.ecmaVersion>=6&&(_.method=!1,_.shorthand=!1,(p||w)&&(ie=this.start,pe=this.startLoc),p||(z=this.eat(S.star)));var Te=this.containsEsc;return this.parsePropertyName(_),!p&&!Te&&this.options.ecmaVersion>=8&&!z&&this.isAsyncProp(_)?(X=!0,z=this.options.ecmaVersion>=9&&this.eat(S.star),this.parsePropertyName(_)):X=!1,this.parsePropertyValue(_,p,z,X,ie,pe,w,Te),this.finishNode(_,"Property")},et.parseGetterSetter=function(p){var w=p.key.name;this.parsePropertyName(p),p.value=this.parseMethod(!1),p.kind=w;var _=p.kind==="get"?0:1;if(p.value.params.length!==_){var z=p.value.start;p.kind==="get"?this.raiseRecoverable(z,"getter should have no params"):this.raiseRecoverable(z,"setter should have exactly one param")}else p.kind==="set"&&p.value.params[0].type==="RestElement"&&this.raiseRecoverable(p.value.params[0].start,"Setter cannot use rest params")},et.parsePropertyValue=function(p,w,_,z,X,ie,pe,Te){(_||z)&&this.type===S.colon&&this.unexpected(),this.eat(S.colon)?(p.value=w?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,pe),p.kind="init"):this.options.ecmaVersion>=6&&this.type===S.parenL?(w&&this.unexpected(),p.method=!0,p.value=this.parseMethod(_,z),p.kind="init"):!w&&!Te&&this.options.ecmaVersion>=5&&!p.computed&&p.key.type==="Identifier"&&(p.key.name==="get"||p.key.name==="set")&&this.type!==S.comma&&this.type!==S.braceR&&this.type!==S.eq?((_||z)&&this.unexpected(),this.parseGetterSetter(p)):this.options.ecmaVersion>=6&&!p.computed&&p.key.type==="Identifier"?((_||z)&&this.unexpected(),this.checkUnreserved(p.key),p.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=X),w?p.value=this.parseMaybeDefault(X,ie,this.copyNode(p.key)):this.type===S.eq&&pe?(pe.shorthandAssign<0&&(pe.shorthandAssign=this.start),p.value=this.parseMaybeDefault(X,ie,this.copyNode(p.key))):p.value=this.copyNode(p.key),p.kind="init",p.shorthand=!0):this.unexpected()},et.parsePropertyName=function(p){if(this.options.ecmaVersion>=6){if(this.eat(S.bracketL))return p.computed=!0,p.key=this.parseMaybeAssign(),this.expect(S.bracketR),p.key;p.computed=!1}return p.key=this.type===S.num||this.type===S.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},et.initFunction=function(p){p.id=null,this.options.ecmaVersion>=6&&(p.generator=p.expression=!1),this.options.ecmaVersion>=8&&(p.async=!1)},et.parseMethod=function(p,w,_){var z=this.startNode(),X=this.yieldPos,ie=this.awaitPos,pe=this.awaitIdentPos;return this.initFunction(z),this.options.ecmaVersion>=6&&(z.generator=p),this.options.ecmaVersion>=8&&(z.async=!!w),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(yn(w,z.generator)|Rt|(_?Jt:0)),this.expect(S.parenL),z.params=this.parseBindingList(S.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(z,!1,!0,!1),this.yieldPos=X,this.awaitPos=ie,this.awaitIdentPos=pe,this.finishNode(z,"FunctionExpression")},et.parseArrowExpression=function(p,w,_,z){var X=this.yieldPos,ie=this.awaitPos,pe=this.awaitIdentPos;return this.enterScope(yn(_,!1)|ot),this.initFunction(p),this.options.ecmaVersion>=8&&(p.async=!!_),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,p.params=this.toAssignableList(w,!0),this.parseFunctionBody(p,!0,!1,z),this.yieldPos=X,this.awaitPos=ie,this.awaitIdentPos=pe,this.finishNode(p,"ArrowFunctionExpression")},et.parseFunctionBody=function(p,w,_,z){var X=w&&this.type!==S.braceL,ie=this.strict,pe=!1;if(X)p.body=this.parseMaybeAssign(z),p.expression=!0,this.checkParams(p,!1);else{var Te=this.options.ecmaVersion>=7&&!this.isSimpleParamList(p.params);(!ie||Te)&&(pe=this.strictDirective(this.end),pe&&Te&&this.raiseRecoverable(p.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var _e=this.labels;this.labels=[],pe&&(this.strict=!0),this.checkParams(p,!ie&&!pe&&!w&&!_&&this.isSimpleParamList(p.params)),this.strict&&p.id&&this.checkLValSimple(p.id,ve),p.body=this.parseBlock(!1,void 0,pe&&!ie),p.expression=!1,this.adaptDirectivePrologue(p.body.body),this.labels=_e}this.exitScope()},et.isSimpleParamList=function(p){for(var w=0,_=p;w<_.length;w+=1){var z=_[w];if(z.type!=="Identifier")return!1}return!0},et.checkParams=function(p,w){for(var _=Object.create(null),z=0,X=p.params;z<X.length;z+=1){var ie=X[z];this.checkLValInnerPattern(ie,Ur,w?null:_)}},et.parseExprList=function(p,w,_,z){for(var X=[],ie=!0;!this.eat(p);){if(ie)ie=!1;else if(this.expect(S.comma),w&&this.afterTrailingComma(p))break;var pe=void 0;_&&this.type===S.comma?pe=null:this.type===S.ellipsis?(pe=this.parseSpread(z),z&&this.type===S.comma&&z.trailingComma<0&&(z.trailingComma=this.start)):pe=this.parseMaybeAssign(!1,z),X.push(pe)}return X},et.checkUnreserved=function(p){var w=p.start,_=p.end,z=p.name;if(this.inGenerator&&z==="yield"&&this.raiseRecoverable(w,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&z==="await"&&this.raiseRecoverable(w,"Cannot use 'await' as identifier inside an async function"),!(this.currentThisScope().flags&Pt)&&z==="arguments"&&this.raiseRecoverable(w,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&(z==="arguments"||z==="await")&&this.raise(w,"Cannot use "+z+" in class static initialization block"),this.keywords.test(z)&&this.raise(w,"Unexpected keyword '"+z+"'"),!(this.options.ecmaVersion<6&&this.input.slice(w,_).indexOf("\\")!==-1)){var X=this.strict?this.reservedWordsStrict:this.reservedWords;X.test(z)&&(!this.inAsync&&z==="await"&&this.raiseRecoverable(w,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(w,"The keyword '"+z+"' is reserved"))}},et.parseIdent=function(p){var w=this.parseIdentNode();return this.next(!!p),this.finishNode(w,"Identifier"),p||(this.checkUnreserved(w),w.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=w.start)),w},et.parseIdentNode=function(){var p=this.startNode();return this.type===S.name?p.name=this.value:this.type.keyword?(p.name=this.type.keyword,(p.name==="class"||p.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop(),this.type=S.name):this.unexpected(),p},et.parsePrivateIdent=function(){var p=this.startNode();return this.type===S.privateId?p.name=this.value:this.unexpected(),this.next(),this.finishNode(p,"PrivateIdentifier"),this.options.checkPrivateFields&&(this.privateNameStack.length===0?this.raise(p.start,"Private field '#"+p.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(p)),p},et.parseYield=function(p){this.yieldPos||(this.yieldPos=this.start);var w=this.startNode();return this.next(),this.type===S.semi||this.canInsertSemicolon()||this.type!==S.star&&!this.type.startsExpr?(w.delegate=!1,w.argument=null):(w.delegate=this.eat(S.star),w.argument=this.parseMaybeAssign(p)),this.finishNode(w,"YieldExpression")},et.parseAwait=function(p){this.awaitPos||(this.awaitPos=this.start);var w=this.startNode();return this.next(),w.argument=this.parseMaybeUnary(null,!0,!1,p),this.finishNode(w,"AwaitExpression")};var Yi=ye.prototype;Yi.raise=function(p,w){var _=Ce(this.input,p);w+=" ("+_.line+":"+_.column+")",this.sourceFile&&(w+=" in "+this.sourceFile);var z=new SyntaxError(w);throw z.pos=p,z.loc=_,z.raisedAt=this.pos,z},Yi.raiseRecoverable=Yi.raise,Yi.curPosition=function(){if(this.options.locations)return new ue(this.curLine,this.pos-this.lineStart)};var Ji=ye.prototype,M0=function(w){this.flags=w,this.var=[],this.lexical=[],this.functions=[]};Ji.enterScope=function(p){this.scopeStack.push(new M0(p))},Ji.exitScope=function(){this.scopeStack.pop()},Ji.treatFunctionsAsVarInScope=function(p){return p.flags&st||!this.inModule&&p.flags&Ve},Ji.declareName=function(p,w,_){var z=!1;if(w===vn){var X=this.currentScope();z=X.lexical.indexOf(p)>-1||X.functions.indexOf(p)>-1||X.var.indexOf(p)>-1,X.lexical.push(p),this.inModule&&X.flags&Ve&&delete this.undefinedExports[p]}else if(w===ai){var ie=this.currentScope();ie.lexical.push(p)}else if(w===pt){var pe=this.currentScope();this.treatFunctionsAsVar?z=pe.lexical.indexOf(p)>-1:z=pe.lexical.indexOf(p)>-1||pe.var.indexOf(p)>-1,pe.functions.push(p)}else for(var Te=this.scopeStack.length-1;Te>=0;--Te){var _e=this.scopeStack[Te];if(_e.lexical.indexOf(p)>-1&&!(_e.flags&dt&&_e.lexical[0]===p)||!this.treatFunctionsAsVarInScope(_e)&&_e.functions.indexOf(p)>-1){z=!0;break}if(_e.var.push(p),this.inModule&&_e.flags&Ve&&delete this.undefinedExports[p],_e.flags&Pt)break}z&&this.raiseRecoverable(_,"Identifier '"+p+"' has already been declared")},Ji.checkLocalExport=function(p){this.scopeStack[0].lexical.indexOf(p.name)===-1&&this.scopeStack[0].var.indexOf(p.name)===-1&&(this.undefinedExports[p.name]=p)},Ji.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},Ji.currentVarScope=function(){for(var p=this.scopeStack.length-1;;p--){var w=this.scopeStack[p];if(w.flags&(Pt|$t|Ut))return w}},Ji.currentThisScope=function(){for(var p=this.scopeStack.length-1;;p--){var w=this.scopeStack[p];if(w.flags&(Pt|$t|Ut)&&!(w.flags&ot))return w}};var os=function(w,_,z){this.type="",this.start=_,this.end=0,w.options.locations&&(this.loc=new H(w,z)),w.options.directSourceFile&&(this.sourceFile=w.options.directSourceFile),w.options.ranges&&(this.range=[_,0])},us=ye.prototype;us.startNode=function(){return new os(this,this.start,this.startLoc)},us.startNodeAt=function(p,w){return new os(this,p,w)};function eo(p,w,_,z){return p.type=w,p.end=_,this.options.locations&&(p.loc.end=z),this.options.ranges&&(p.range[1]=_),p}us.finishNode=function(p,w){return eo.call(this,p,w,this.lastTokEnd,this.lastTokEndLoc)},us.finishNodeAt=function(p,w,_,z){return eo.call(this,p,w,_,z)},us.copyNode=function(p){var w=new os(this,p.start,this.startLoc);for(var _ in p)w[_]=p[_];return w};var Su="Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz",ku="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",Eu=ku+" Extended_Pictographic",Di=Eu,_n=Di+" EBase EComp EMod EPres ExtPict",Kn=_n,cs=Kn,Cu={9:ku,10:Eu,11:Di,12:_n,13:Kn,14:cs},Up="Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji",Hp={9:"",10:"",11:"",12:"",13:"",14:Up},Au="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",fs="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",to=fs+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",ba=to+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",wa=ba+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",hs=wa+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",ps=hs+" "+Su,Dn={9:fs,10:to,11:ba,12:wa,13:hs,14:ps},Tu={};function N0(p){var w=Tu[p]={binary:we(Cu[p]+" "+Au),binaryOfStrings:we(Hp[p]),nonBinary:{General_Category:we(Au),Script:we(Dn[p])}};w.nonBinary.Script_Extensions=w.nonBinary.Script,w.nonBinary.gc=w.nonBinary.General_Category,w.nonBinary.sc=w.nonBinary.Script,w.nonBinary.scx=w.nonBinary.Script_Extensions}for(var Ri=0,Sa=[9,10,11,12,13,14];Ri<Sa.length;Ri+=1){var Gp=Sa[Ri];N0(Gp)}var Ue=ye.prototype,dl=function(w,_){this.parent=w,this.base=_||this};dl.prototype.separatedFrom=function(w){for(var _=this;_;_=_.parent)for(var z=w;z;z=z.parent)if(_.base===z.base&&_!==z)return!0;return!1},dl.prototype.sibling=function(){return new dl(this.parent,this.base)};var si=function(w){this.parser=w,this.validFlags="gim"+(w.options.ecmaVersion>=6?"uy":"")+(w.options.ecmaVersion>=9?"s":"")+(w.options.ecmaVersion>=13?"d":"")+(w.options.ecmaVersion>=15?"v":""),this.unicodeProperties=Tu[w.options.ecmaVersion>=14?14:w.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null};si.prototype.reset=function(w,_,z){var X=z.indexOf("v")!==-1,ie=z.indexOf("u")!==-1;this.start=w|0,this.source=_+"",this.flags=z,X&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=ie&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=ie&&this.parser.options.ecmaVersion>=9)},si.prototype.raise=function(w){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+w)},si.prototype.at=function(w,_){_===void 0&&(_=!1);var z=this.source,X=z.length;if(w>=X)return-1;var ie=z.charCodeAt(w);if(!(_||this.switchU)||ie<=55295||ie>=57344||w+1>=X)return ie;var pe=z.charCodeAt(w+1);return pe>=56320&&pe<=57343?(ie<<10)+pe-56613888:ie},si.prototype.nextIndex=function(w,_){_===void 0&&(_=!1);var z=this.source,X=z.length;if(w>=X)return X;var ie=z.charCodeAt(w),pe;return!(_||this.switchU)||ie<=55295||ie>=57344||w+1>=X||(pe=z.charCodeAt(w+1))<56320||pe>57343?w+1:w+2},si.prototype.current=function(w){return w===void 0&&(w=!1),this.at(this.pos,w)},si.prototype.lookahead=function(w){return w===void 0&&(w=!1),this.at(this.nextIndex(this.pos,w),w)},si.prototype.advance=function(w){w===void 0&&(w=!1),this.pos=this.nextIndex(this.pos,w)},si.prototype.eat=function(w,_){return _===void 0&&(_=!1),this.current(_)===w?(this.advance(_),!0):!1},si.prototype.eatChars=function(w,_){_===void 0&&(_=!1);for(var z=this.pos,X=0,ie=w;X<ie.length;X+=1){var pe=ie[X],Te=this.at(z,_);if(Te===-1||Te!==pe)return!1;z=this.nextIndex(z,_)}return this.pos=z,!0},Ue.validateRegExpFlags=function(p){for(var w=p.validFlags,_=p.flags,z=!1,X=!1,ie=0;ie<_.length;ie++){var pe=_.charAt(ie);w.indexOf(pe)===-1&&this.raise(p.start,"Invalid regular expression flag"),_.indexOf(pe,ie+1)>-1&&this.raise(p.start,"Duplicate regular expression flag"),pe==="u"&&(z=!0),pe==="v"&&(X=!0)}this.options.ecmaVersion>=15&&z&&X&&this.raise(p.start,"Invalid regular expression flag")};function no(p){for(var w in p)return!0;return!1}Ue.validateRegExpPattern=function(p){this.regexp_pattern(p),!p.switchN&&this.options.ecmaVersion>=9&&no(p.groupNames)&&(p.switchN=!0,this.regexp_pattern(p))},Ue.regexp_pattern=function(p){p.pos=0,p.lastIntValue=0,p.lastStringValue="",p.lastAssertionIsQuantifiable=!1,p.numCapturingParens=0,p.maxBackReference=0,p.groupNames=Object.create(null),p.backReferenceNames.length=0,p.branchID=null,this.regexp_disjunction(p),p.pos!==p.source.length&&(p.eat(41)&&p.raise("Unmatched ')'"),(p.eat(93)||p.eat(125))&&p.raise("Lone quantifier brackets")),p.maxBackReference>p.numCapturingParens&&p.raise("Invalid escape");for(var w=0,_=p.backReferenceNames;w<_.length;w+=1){var z=_[w];p.groupNames[z]||p.raise("Invalid named capture referenced")}},Ue.regexp_disjunction=function(p){var w=this.options.ecmaVersion>=16;for(w&&(p.branchID=new dl(p.branchID,null)),this.regexp_alternative(p);p.eat(124);)w&&(p.branchID=p.branchID.sibling()),this.regexp_alternative(p);w&&(p.branchID=p.branchID.parent),this.regexp_eatQuantifier(p,!0)&&p.raise("Nothing to repeat"),p.eat(123)&&p.raise("Lone quantifier brackets")},Ue.regexp_alternative=function(p){for(;p.pos<p.source.length&&this.regexp_eatTerm(p););},Ue.regexp_eatTerm=function(p){return this.regexp_eatAssertion(p)?(p.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(p)&&p.switchU&&p.raise("Invalid quantifier"),!0):(p.switchU?this.regexp_eatAtom(p):this.regexp_eatExtendedAtom(p))?(this.regexp_eatQuantifier(p),!0):!1},Ue.regexp_eatAssertion=function(p){var w=p.pos;if(p.lastAssertionIsQuantifiable=!1,p.eat(94)||p.eat(36))return!0;if(p.eat(92)){if(p.eat(66)||p.eat(98))return!0;p.pos=w}if(p.eat(40)&&p.eat(63)){var _=!1;if(this.options.ecmaVersion>=9&&(_=p.eat(60)),p.eat(61)||p.eat(33))return this.regexp_disjunction(p),p.eat(41)||p.raise("Unterminated group"),p.lastAssertionIsQuantifiable=!_,!0}return p.pos=w,!1},Ue.regexp_eatQuantifier=function(p,w){return w===void 0&&(w=!1),this.regexp_eatQuantifierPrefix(p,w)?(p.eat(63),!0):!1},Ue.regexp_eatQuantifierPrefix=function(p,w){return p.eat(42)||p.eat(43)||p.eat(63)||this.regexp_eatBracedQuantifier(p,w)},Ue.regexp_eatBracedQuantifier=function(p,w){var _=p.pos;if(p.eat(123)){var z=0,X=-1;if(this.regexp_eatDecimalDigits(p)&&(z=p.lastIntValue,p.eat(44)&&this.regexp_eatDecimalDigits(p)&&(X=p.lastIntValue),p.eat(125)))return X!==-1&&X<z&&!w&&p.raise("numbers out of order in {} quantifier"),!0;p.switchU&&!w&&p.raise("Incomplete quantifier"),p.pos=_}return!1},Ue.regexp_eatAtom=function(p){return this.regexp_eatPatternCharacters(p)||p.eat(46)||this.regexp_eatReverseSolidusAtomEscape(p)||this.regexp_eatCharacterClass(p)||this.regexp_eatUncapturingGroup(p)||this.regexp_eatCapturingGroup(p)},Ue.regexp_eatReverseSolidusAtomEscape=function(p){var w=p.pos;if(p.eat(92)){if(this.regexp_eatAtomEscape(p))return!0;p.pos=w}return!1},Ue.regexp_eatUncapturingGroup=function(p){var w=p.pos;if(p.eat(40)){if(p.eat(63)){if(this.options.ecmaVersion>=16){var _=this.regexp_eatModifiers(p),z=p.eat(45);if(_||z){for(var X=0;X<_.length;X++){var ie=_.charAt(X);_.indexOf(ie,X+1)>-1&&p.raise("Duplicate regular expression modifiers")}if(z){var pe=this.regexp_eatModifiers(p);!_&&!pe&&p.current()===58&&p.raise("Invalid regular expression modifiers");for(var Te=0;Te<pe.length;Te++){var _e=pe.charAt(Te);(pe.indexOf(_e,Te+1)>-1||_.indexOf(_e)>-1)&&p.raise("Duplicate regular expression modifiers")}}}}if(p.eat(58)){if(this.regexp_disjunction(p),p.eat(41))return!0;p.raise("Unterminated group")}}p.pos=w}return!1},Ue.regexp_eatCapturingGroup=function(p){if(p.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(p):p.current()===63&&p.raise("Invalid group"),this.regexp_disjunction(p),p.eat(41))return p.numCapturingParens+=1,!0;p.raise("Unterminated group")}return!1},Ue.regexp_eatModifiers=function(p){for(var w="",_=0;(_=p.current())!==-1&&ro(_);)w+=Y(_),p.advance();return w};function ro(p){return p===105||p===109||p===115}Ue.regexp_eatExtendedAtom=function(p){return p.eat(46)||this.regexp_eatReverseSolidusAtomEscape(p)||this.regexp_eatCharacterClass(p)||this.regexp_eatUncapturingGroup(p)||this.regexp_eatCapturingGroup(p)||this.regexp_eatInvalidBracedQuantifier(p)||this.regexp_eatExtendedPatternCharacter(p)},Ue.regexp_eatInvalidBracedQuantifier=function(p){return this.regexp_eatBracedQuantifier(p,!0)&&p.raise("Nothing to repeat"),!1},Ue.regexp_eatSyntaxCharacter=function(p){var w=p.current();return li(w)?(p.lastIntValue=w,p.advance(),!0):!1};function li(p){return p===36||p>=40&&p<=43||p===46||p===63||p>=91&&p<=94||p>=123&&p<=125}Ue.regexp_eatPatternCharacters=function(p){for(var w=p.pos,_=0;(_=p.current())!==-1&&!li(_);)p.advance();return p.pos!==w},Ue.regexp_eatExtendedPatternCharacter=function(p){var w=p.current();return w!==-1&&w!==36&&!(w>=40&&w<=43)&&w!==46&&w!==63&&w!==91&&w!==94&&w!==124?(p.advance(),!0):!1},Ue.regexp_groupSpecifier=function(p){if(p.eat(63)){this.regexp_eatGroupName(p)||p.raise("Invalid group");var w=this.options.ecmaVersion>=16,_=p.groupNames[p.lastStringValue];if(_)if(w)for(var z=0,X=_;z<X.length;z+=1){var ie=X[z];ie.separatedFrom(p.branchID)||p.raise("Duplicate capture group name")}else p.raise("Duplicate capture group name");w?(_||(p.groupNames[p.lastStringValue]=[])).push(p.branchID):p.groupNames[p.lastStringValue]=!0}},Ue.regexp_eatGroupName=function(p){if(p.lastStringValue="",p.eat(60)){if(this.regexp_eatRegExpIdentifierName(p)&&p.eat(62))return!0;p.raise("Invalid capture group name")}return!1},Ue.regexp_eatRegExpIdentifierName=function(p){if(p.lastStringValue="",this.regexp_eatRegExpIdentifierStart(p)){for(p.lastStringValue+=Y(p.lastIntValue);this.regexp_eatRegExpIdentifierPart(p);)p.lastStringValue+=Y(p.lastIntValue);return!0}return!1},Ue.regexp_eatRegExpIdentifierStart=function(p){var w=p.pos,_=this.options.ecmaVersion>=11,z=p.current(_);return p.advance(_),z===92&&this.regexp_eatRegExpUnicodeEscapeSequence(p,_)&&(z=p.lastIntValue),wr(z)?(p.lastIntValue=z,!0):(p.pos=w,!1)};function wr(p){return E(p,!0)||p===36||p===95}Ue.regexp_eatRegExpIdentifierPart=function(p){var w=p.pos,_=this.options.ecmaVersion>=11,z=p.current(_);return p.advance(_),z===92&&this.regexp_eatRegExpUnicodeEscapeSequence(p,_)&&(z=p.lastIntValue),_0(z)?(p.lastIntValue=z,!0):(p.pos=w,!1)};function _0(p){return k(p,!0)||p===36||p===95||p===8204||p===8205}Ue.regexp_eatAtomEscape=function(p){return this.regexp_eatBackReference(p)||this.regexp_eatCharacterClassEscape(p)||this.regexp_eatCharacterEscape(p)||p.switchN&&this.regexp_eatKGroupName(p)?!0:(p.switchU&&(p.current()===99&&p.raise("Invalid unicode escape"),p.raise("Invalid escape")),!1)},Ue.regexp_eatBackReference=function(p){var w=p.pos;if(this.regexp_eatDecimalEscape(p)){var _=p.lastIntValue;if(p.switchU)return _>p.maxBackReference&&(p.maxBackReference=_),!0;if(_<=p.numCapturingParens)return!0;p.pos=w}return!1},Ue.regexp_eatKGroupName=function(p){if(p.eat(107)){if(this.regexp_eatGroupName(p))return p.backReferenceNames.push(p.lastStringValue),!0;p.raise("Invalid named reference")}return!1},Ue.regexp_eatCharacterEscape=function(p){return this.regexp_eatControlEscape(p)||this.regexp_eatCControlLetter(p)||this.regexp_eatZero(p)||this.regexp_eatHexEscapeSequence(p)||this.regexp_eatRegExpUnicodeEscapeSequence(p,!1)||!p.switchU&&this.regexp_eatLegacyOctalEscapeSequence(p)||this.regexp_eatIdentityEscape(p)},Ue.regexp_eatCControlLetter=function(p){var w=p.pos;if(p.eat(99)){if(this.regexp_eatControlLetter(p))return!0;p.pos=w}return!1},Ue.regexp_eatZero=function(p){return p.current()===48&&!ml(p.lookahead())?(p.lastIntValue=0,p.advance(),!0):!1},Ue.regexp_eatControlEscape=function(p){var w=p.current();return w===116?(p.lastIntValue=9,p.advance(),!0):w===110?(p.lastIntValue=10,p.advance(),!0):w===118?(p.lastIntValue=11,p.advance(),!0):w===102?(p.lastIntValue=12,p.advance(),!0):w===114?(p.lastIntValue=13,p.advance(),!0):!1},Ue.regexp_eatControlLetter=function(p){var w=p.current();return D0(w)?(p.lastIntValue=w%32,p.advance(),!0):!1};function D0(p){return p>=65&&p<=90||p>=97&&p<=122}Ue.regexp_eatRegExpUnicodeEscapeSequence=function(p,w){w===void 0&&(w=!1);var _=p.pos,z=w||p.switchU;if(p.eat(117)){if(this.regexp_eatFixedHexDigits(p,4)){var X=p.lastIntValue;if(z&&X>=55296&&X<=56319){var ie=p.pos;if(p.eat(92)&&p.eat(117)&&this.regexp_eatFixedHexDigits(p,4)){var pe=p.lastIntValue;if(pe>=56320&&pe<=57343)return p.lastIntValue=(X-55296)*1024+(pe-56320)+65536,!0}p.pos=ie,p.lastIntValue=X}return!0}if(z&&p.eat(123)&&this.regexp_eatHexDigits(p)&&p.eat(125)&&Mu(p.lastIntValue))return!0;z&&p.raise("Invalid unicode escape"),p.pos=_}return!1};function Mu(p){return p>=0&&p<=1114111}Ue.regexp_eatIdentityEscape=function(p){if(p.switchU)return this.regexp_eatSyntaxCharacter(p)?!0:p.eat(47)?(p.lastIntValue=47,!0):!1;var w=p.current();return w!==99&&(!p.switchN||w!==107)?(p.lastIntValue=w,p.advance(),!0):!1},Ue.regexp_eatDecimalEscape=function(p){p.lastIntValue=0;var w=p.current();if(w>=49&&w<=57){do p.lastIntValue=10*p.lastIntValue+(w-48),p.advance();while((w=p.current())>=48&&w<=57);return!0}return!1};var Nu=0,Sr=1,kr=2;Ue.regexp_eatCharacterClassEscape=function(p){var w=p.current();if(Er(w))return p.lastIntValue=-1,p.advance(),Sr;var _=!1;if(p.switchU&&this.options.ecmaVersion>=9&&((_=w===80)||w===112)){p.lastIntValue=-1,p.advance();var z;if(p.eat(123)&&(z=this.regexp_eatUnicodePropertyValueExpression(p))&&p.eat(125))return _&&z===kr&&p.raise("Invalid property name"),z;p.raise("Invalid property name")}return Nu};function Er(p){return p===100||p===68||p===115||p===83||p===119||p===87}Ue.regexp_eatUnicodePropertyValueExpression=function(p){var w=p.pos;if(this.regexp_eatUnicodePropertyName(p)&&p.eat(61)){var _=p.lastStringValue;if(this.regexp_eatUnicodePropertyValue(p)){var z=p.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(p,_,z),Sr}}if(p.pos=w,this.regexp_eatLoneUnicodePropertyNameOrValue(p)){var X=p.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(p,X)}return Nu},Ue.regexp_validateUnicodePropertyNameAndValue=function(p,w,_){ee(p.unicodeProperties.nonBinary,w)||p.raise("Invalid property name"),p.unicodeProperties.nonBinary[w].test(_)||p.raise("Invalid property value")},Ue.regexp_validateUnicodePropertyNameOrValue=function(p,w){if(p.unicodeProperties.binary.test(w))return Sr;if(p.switchV&&p.unicodeProperties.binaryOfStrings.test(w))return kr;p.raise("Invalid property name")},Ue.regexp_eatUnicodePropertyName=function(p){var w=0;for(p.lastStringValue="";io(w=p.current());)p.lastStringValue+=Y(w),p.advance();return p.lastStringValue!==""};function io(p){return D0(p)||p===95}Ue.regexp_eatUnicodePropertyValue=function(p){var w=0;for(p.lastStringValue="";R0(w=p.current());)p.lastStringValue+=Y(w),p.advance();return p.lastStringValue!==""};function R0(p){return io(p)||ml(p)}Ue.regexp_eatLoneUnicodePropertyNameOrValue=function(p){return this.regexp_eatUnicodePropertyValue(p)},Ue.regexp_eatCharacterClass=function(p){if(p.eat(91)){var w=p.eat(94),_=this.regexp_classContents(p);return p.eat(93)||p.raise("Unterminated character class"),w&&_===kr&&p.raise("Negated character class may contain strings"),!0}return!1},Ue.regexp_classContents=function(p){return p.current()===93?Sr:p.switchV?this.regexp_classSetExpression(p):(this.regexp_nonEmptyClassRanges(p),Sr)},Ue.regexp_nonEmptyClassRanges=function(p){for(;this.regexp_eatClassAtom(p);){var w=p.lastIntValue;if(p.eat(45)&&this.regexp_eatClassAtom(p)){var _=p.lastIntValue;p.switchU&&(w===-1||_===-1)&&p.raise("Invalid character class"),w!==-1&&_!==-1&&w>_&&p.raise("Range out of order in character class")}}},Ue.regexp_eatClassAtom=function(p){var w=p.pos;if(p.eat(92)){if(this.regexp_eatClassEscape(p))return!0;if(p.switchU){var _=p.current();(_===99||Du(_))&&p.raise("Invalid class escape"),p.raise("Invalid escape")}p.pos=w}var z=p.current();return z!==93?(p.lastIntValue=z,p.advance(),!0):!1},Ue.regexp_eatClassEscape=function(p){var w=p.pos;if(p.eat(98))return p.lastIntValue=8,!0;if(p.switchU&&p.eat(45))return p.lastIntValue=45,!0;if(!p.switchU&&p.eat(99)){if(this.regexp_eatClassControlLetter(p))return!0;p.pos=w}return this.regexp_eatCharacterClassEscape(p)||this.regexp_eatCharacterEscape(p)},Ue.regexp_classSetExpression=function(p){var w=Sr,_;if(!this.regexp_eatClassSetRange(p))if(_=this.regexp_eatClassSetOperand(p)){_===kr&&(w=kr);for(var z=p.pos;p.eatChars([38,38]);){if(p.current()!==38&&(_=this.regexp_eatClassSetOperand(p))){_!==kr&&(w=Sr);continue}p.raise("Invalid character in character class")}if(z!==p.pos)return w;for(;p.eatChars([45,45]);)this.regexp_eatClassSetOperand(p)||p.raise("Invalid character in character class");if(z!==p.pos)return w}else p.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(p)){if(_=this.regexp_eatClassSetOperand(p),!_)return w;_===kr&&(w=kr)}},Ue.regexp_eatClassSetRange=function(p){var w=p.pos;if(this.regexp_eatClassSetCharacter(p)){var _=p.lastIntValue;if(p.eat(45)&&this.regexp_eatClassSetCharacter(p)){var z=p.lastIntValue;return _!==-1&&z!==-1&&_>z&&p.raise("Range out of order in character class"),!0}p.pos=w}return!1},Ue.regexp_eatClassSetOperand=function(p){return this.regexp_eatClassSetCharacter(p)?Sr:this.regexp_eatClassStringDisjunction(p)||this.regexp_eatNestedClass(p)},Ue.regexp_eatNestedClass=function(p){var w=p.pos;if(p.eat(91)){var _=p.eat(94),z=this.regexp_classContents(p);if(p.eat(93))return _&&z===kr&&p.raise("Negated character class may contain strings"),z;p.pos=w}if(p.eat(92)){var X=this.regexp_eatCharacterClassEscape(p);if(X)return X;p.pos=w}return null},Ue.regexp_eatClassStringDisjunction=function(p){var w=p.pos;if(p.eatChars([92,113])){if(p.eat(123)){var _=this.regexp_classStringDisjunctionContents(p);if(p.eat(125))return _}else p.raise("Invalid escape");p.pos=w}return null},Ue.regexp_classStringDisjunctionContents=function(p){for(var w=this.regexp_classString(p);p.eat(124);)this.regexp_classString(p)===kr&&(w=kr);return w},Ue.regexp_classString=function(p){for(var w=0;this.regexp_eatClassSetCharacter(p);)w++;return w===1?Sr:kr},Ue.regexp_eatClassSetCharacter=function(p){var w=p.pos;if(p.eat(92))return this.regexp_eatCharacterEscape(p)||this.regexp_eatClassSetReservedPunctuator(p)?!0:p.eat(98)?(p.lastIntValue=8,!0):(p.pos=w,!1);var _=p.current();return _<0||_===p.lookahead()&&_u(_)||ds(_)?!1:(p.advance(),p.lastIntValue=_,!0)};function _u(p){return p===33||p>=35&&p<=38||p>=42&&p<=44||p===46||p>=58&&p<=64||p===94||p===96||p===126}function ds(p){return p===40||p===41||p===45||p===47||p>=91&&p<=93||p>=123&&p<=125}Ue.regexp_eatClassSetReservedPunctuator=function(p){var w=p.current();return O0(w)?(p.lastIntValue=w,p.advance(),!0):!1};function O0(p){return p===33||p===35||p===37||p===38||p===44||p===45||p>=58&&p<=62||p===64||p===96||p===126}Ue.regexp_eatClassControlLetter=function(p){var w=p.current();return ml(w)||w===95?(p.lastIntValue=w%32,p.advance(),!0):!1},Ue.regexp_eatHexEscapeSequence=function(p){var w=p.pos;if(p.eat(120)){if(this.regexp_eatFixedHexDigits(p,2))return!0;p.switchU&&p.raise("Invalid escape"),p.pos=w}return!1},Ue.regexp_eatDecimalDigits=function(p){var w=p.pos,_=0;for(p.lastIntValue=0;ml(_=p.current());)p.lastIntValue=10*p.lastIntValue+(_-48),p.advance();return p.pos!==w};function ml(p){return p>=48&&p<=57}Ue.regexp_eatHexDigits=function(p){var w=p.pos,_=0;for(p.lastIntValue=0;ka(_=p.current());)p.lastIntValue=16*p.lastIntValue+I0(_),p.advance();return p.pos!==w};function ka(p){return p>=48&&p<=57||p>=65&&p<=70||p>=97&&p<=102}function I0(p){return p>=65&&p<=70?10+(p-65):p>=97&&p<=102?10+(p-97):p-48}Ue.regexp_eatLegacyOctalEscapeSequence=function(p){if(this.regexp_eatOctalDigit(p)){var w=p.lastIntValue;if(this.regexp_eatOctalDigit(p)){var _=p.lastIntValue;w<=3&&this.regexp_eatOctalDigit(p)?p.lastIntValue=w*64+_*8+p.lastIntValue:p.lastIntValue=w*8+_}else p.lastIntValue=w;return!0}return!1},Ue.regexp_eatOctalDigit=function(p){var w=p.current();return Du(w)?(p.lastIntValue=w-48,p.advance(),!0):(p.lastIntValue=0,!1)};function Du(p){return p>=48&&p<=55}Ue.regexp_eatFixedHexDigits=function(p,w){var _=p.pos;p.lastIntValue=0;for(var z=0;z<w;++z){var X=p.current();if(!ka(X))return p.pos=_,!1;p.lastIntValue=16*p.lastIntValue+I0(X),p.advance()}return!0};var gl=function(w){this.type=w.type,this.value=w.value,this.start=w.start,this.end=w.end,w.options.locations&&(this.loc=new H(w,w.startLoc,w.endLoc)),w.options.ranges&&(this.range=[w.start,w.end])},wt=ye.prototype;wt.next=function(p){!p&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new gl(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},wt.getToken=function(){return this.next(),new gl(this)},typeof Symbol<"u"&&(wt[Symbol.iterator]=function(){var p=this;return{next:function(){var w=p.getToken();return{done:w.type===S.eof,value:w}}}}),wt.nextToken=function(){var p=this.curContext();if((!p||!p.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(S.eof);if(p.override)return p.override(this);this.readToken(this.fullCharCodeAtPos())},wt.readToken=function(p){return E(p,this.options.ecmaVersion>=6)||p===92?this.readWord():this.getTokenFromCode(p)},wt.fullCharCodeAtPos=function(){var p=this.input.charCodeAt(this.pos);if(p<=55295||p>=56320)return p;var w=this.input.charCodeAt(this.pos+1);return w<=56319||w>=57344?p:(p<<10)+w-56613888},wt.skipBlockComment=function(){var p=this.options.onComment&&this.curPosition(),w=this.pos,_=this.input.indexOf("*/",this.pos+=2);if(_===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=_+2,this.options.locations)for(var z=void 0,X=w;(z=J(this.input,X,this.pos))>-1;)++this.curLine,X=this.lineStart=z;this.options.onComment&&this.options.onComment(!0,this.input.slice(w+2,_),w,this.pos,p,this.curPosition())},wt.skipLineComment=function(p){for(var w=this.pos,_=this.options.onComment&&this.curPosition(),z=this.input.charCodeAt(this.pos+=p);this.pos<this.input.length&&!W(z);)z=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(w+p,this.pos),w,this.pos,_,this.curPosition())},wt.skipSpace=function(){e:for(;this.pos<this.input.length;){var p=this.input.charCodeAt(this.pos);switch(p){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(p>8&&p<14||p>=5760&&re.test(String.fromCharCode(p)))++this.pos;else break e}}},wt.finishToken=function(p,w){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var _=this.type;this.type=p,this.value=w,this.updateContext(_)},wt.readToken_dot=function(){var p=this.input.charCodeAt(this.pos+1);if(p>=48&&p<=57)return this.readNumber(!0);var w=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&p===46&&w===46?(this.pos+=3,this.finishToken(S.ellipsis)):(++this.pos,this.finishToken(S.dot))},wt.readToken_slash=function(){var p=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):p===61?this.finishOp(S.assign,2):this.finishOp(S.slash,1)},wt.readToken_mult_modulo_exp=function(p){var w=this.input.charCodeAt(this.pos+1),_=1,z=p===42?S.star:S.modulo;return this.options.ecmaVersion>=7&&p===42&&w===42&&(++_,z=S.starstar,w=this.input.charCodeAt(this.pos+2)),w===61?this.finishOp(S.assign,_+1):this.finishOp(z,_)},wt.readToken_pipe_amp=function(p){var w=this.input.charCodeAt(this.pos+1);if(w===p){if(this.options.ecmaVersion>=12){var _=this.input.charCodeAt(this.pos+2);if(_===61)return this.finishOp(S.assign,3)}return this.finishOp(p===124?S.logicalOR:S.logicalAND,2)}return w===61?this.finishOp(S.assign,2):this.finishOp(p===124?S.bitwiseOR:S.bitwiseAND,1)},wt.readToken_caret=function(){var p=this.input.charCodeAt(this.pos+1);return p===61?this.finishOp(S.assign,2):this.finishOp(S.bitwiseXOR,1)},wt.readToken_plus_min=function(p){var w=this.input.charCodeAt(this.pos+1);return w===p?w===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||O.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(S.incDec,2):w===61?this.finishOp(S.assign,2):this.finishOp(S.plusMin,1)},wt.readToken_lt_gt=function(p){var w=this.input.charCodeAt(this.pos+1),_=1;return w===p?(_=p===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+_)===61?this.finishOp(S.assign,_+1):this.finishOp(S.bitShift,_)):w===33&&p===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(w===61&&(_=2),this.finishOp(S.relational,_))},wt.readToken_eq_excl=function(p){var w=this.input.charCodeAt(this.pos+1);return w===61?this.finishOp(S.equality,this.input.charCodeAt(this.pos+2)===61?3:2):p===61&&w===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(S.arrow)):this.finishOp(p===61?S.eq:S.prefix,1)},wt.readToken_question=function(){var p=this.options.ecmaVersion;if(p>=11){var w=this.input.charCodeAt(this.pos+1);if(w===46){var _=this.input.charCodeAt(this.pos+2);if(_<48||_>57)return this.finishOp(S.questionDot,2)}if(w===63){if(p>=12){var z=this.input.charCodeAt(this.pos+2);if(z===61)return this.finishOp(S.assign,3)}return this.finishOp(S.coalesce,2)}}return this.finishOp(S.question,1)},wt.readToken_numberSign=function(){var p=this.options.ecmaVersion,w=35;if(p>=13&&(++this.pos,w=this.fullCharCodeAtPos(),E(w,!0)||w===92))return this.finishToken(S.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+Y(w)+"'")},wt.getTokenFromCode=function(p){switch(p){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(S.parenL);case 41:return++this.pos,this.finishToken(S.parenR);case 59:return++this.pos,this.finishToken(S.semi);case 44:return++this.pos,this.finishToken(S.comma);case 91:return++this.pos,this.finishToken(S.bracketL);case 93:return++this.pos,this.finishToken(S.bracketR);case 123:return++this.pos,this.finishToken(S.braceL);case 125:return++this.pos,this.finishToken(S.braceR);case 58:return++this.pos,this.finishToken(S.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(S.backQuote);case 48:var w=this.input.charCodeAt(this.pos+1);if(w===120||w===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(w===111||w===79)return this.readRadixNumber(8);if(w===98||w===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(p);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(p);case 124:case 38:return this.readToken_pipe_amp(p);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(p);case 60:case 62:return this.readToken_lt_gt(p);case 61:case 33:return this.readToken_eq_excl(p);case 63:return this.readToken_question();case 126:return this.finishOp(S.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+Y(p)+"'")},wt.finishOp=function(p,w){var _=this.input.slice(this.pos,this.pos+w);return this.pos+=w,this.finishToken(p,_)},wt.readRegexp=function(){for(var p,w,_=this.pos;;){this.pos>=this.input.length&&this.raise(_,"Unterminated regular expression");var z=this.input.charAt(this.pos);if(O.test(z)&&this.raise(_,"Unterminated regular expression"),p)p=!1;else{if(z==="[")w=!0;else if(z==="]"&&w)w=!1;else if(z==="/"&&!w)break;p=z==="\\"}++this.pos}var X=this.input.slice(_,this.pos);++this.pos;var ie=this.pos,pe=this.readWord1();this.containsEsc&&this.unexpected(ie);var Te=this.regexpState||(this.regexpState=new si(this));Te.reset(_,X,pe),this.validateRegExpFlags(Te),this.validateRegExpPattern(Te);var _e=null;try{_e=new RegExp(X,pe)}catch{}return this.finishToken(S.regexp,{pattern:X,flags:pe,value:_e})},wt.readInt=function(p,w,_){for(var z=this.options.ecmaVersion>=12&&w===void 0,X=_&&this.input.charCodeAt(this.pos)===48,ie=this.pos,pe=0,Te=0,_e=0,it=w??1/0;_e<it;++_e,++this.pos){var ft=this.input.charCodeAt(this.pos),Wt=void 0;if(z&&ft===95){X&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),Te===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),_e===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),Te=ft;continue}if(ft>=97?Wt=ft-97+10:ft>=65?Wt=ft-65+10:ft>=48&&ft<=57?Wt=ft-48:Wt=1/0,Wt>=p)break;Te=ft,pe=pe*p+Wt}return z&&Te===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===ie||w!=null&&this.pos-ie!==w?null:pe};function Xp(p,w){return w?parseInt(p,8):parseFloat(p.replace(/_/g,""))}function L0(p){return typeof BigInt!="function"?null:BigInt(p.replace(/_/g,""))}wt.readRadixNumber=function(p){var w=this.pos;this.pos+=2;var _=this.readInt(p);return _==null&&this.raise(this.start+2,"Expected number in radix "+p),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(_=L0(this.input.slice(w,this.pos)),++this.pos):E(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(S.num,_)},wt.readNumber=function(p){var w=this.pos;!p&&this.readInt(10,void 0,!0)===null&&this.raise(w,"Invalid number");var _=this.pos-w>=2&&this.input.charCodeAt(w)===48;_&&this.strict&&this.raise(w,"Invalid number");var z=this.input.charCodeAt(this.pos);if(!_&&!p&&this.options.ecmaVersion>=11&&z===110){var X=L0(this.input.slice(w,this.pos));return++this.pos,E(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(S.num,X)}_&&/[89]/.test(this.input.slice(w,this.pos))&&(_=!1),z===46&&!_&&(++this.pos,this.readInt(10),z=this.input.charCodeAt(this.pos)),(z===69||z===101)&&!_&&(z=this.input.charCodeAt(++this.pos),(z===43||z===45)&&++this.pos,this.readInt(10)===null&&this.raise(w,"Invalid number")),E(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var ie=Xp(this.input.slice(w,this.pos),_);return this.finishToken(S.num,ie)},wt.readCodePoint=function(){var p=this.input.charCodeAt(this.pos),w;if(p===123){this.options.ecmaVersion<6&&this.unexpected();var _=++this.pos;w=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,w>1114111&&this.invalidStringToken(_,"Code point out of bounds")}else w=this.readHexChar(4);return w},wt.readString=function(p){for(var w="",_=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var z=this.input.charCodeAt(this.pos);if(z===p)break;z===92?(w+=this.input.slice(_,this.pos),w+=this.readEscapedChar(!1),_=this.pos):z===8232||z===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(W(z)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return w+=this.input.slice(_,this.pos++),this.finishToken(S.string,w)};var xl={};wt.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(p){if(p===xl)this.readInvalidTemplateToken();else throw p}this.inTemplateElement=!1},wt.invalidStringToken=function(p,w){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw xl;this.raise(p,w)},wt.readTmplToken=function(){for(var p="",w=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var _=this.input.charCodeAt(this.pos);if(_===96||_===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===S.template||this.type===S.invalidTemplate)?_===36?(this.pos+=2,this.finishToken(S.dollarBraceL)):(++this.pos,this.finishToken(S.backQuote)):(p+=this.input.slice(w,this.pos),this.finishToken(S.template,p));if(_===92)p+=this.input.slice(w,this.pos),p+=this.readEscapedChar(!0),w=this.pos;else if(W(_)){switch(p+=this.input.slice(w,this.pos),++this.pos,_){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:p+=`
197
- `;break;default:p+=String.fromCharCode(_);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),w=this.pos}else++this.pos}},wt.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{")break;case"`":return this.finishToken(S.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":this.input[this.pos+1]===`
198
- `&&++this.pos;case`
199
- `:case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1;break}this.raise(this.start,"Unterminated template")},wt.readEscapedChar=function(p){var w=this.input.charCodeAt(++this.pos);switch(++this.pos,w){case 110:return`
200
- `;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return Y(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),p){var _=this.pos-1;this.invalidStringToken(_,"Invalid escape sequence in template string")}default:if(w>=48&&w<=55){var z=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],X=parseInt(z,8);return X>255&&(z=z.slice(0,-1),X=parseInt(z,8)),this.pos+=z.length-1,w=this.input.charCodeAt(this.pos),(z!=="0"||w===56||w===57)&&(this.strict||p)&&this.invalidStringToken(this.pos-1-z.length,p?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(X)}return W(w)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(w)}},wt.readHexChar=function(p){var w=this.pos,_=this.readInt(16,p);return _===null&&this.invalidStringToken(w,"Bad character escape sequence"),_},wt.readWord1=function(){this.containsEsc=!1;for(var p="",w=!0,_=this.pos,z=this.options.ecmaVersion>=6;this.pos<this.input.length;){var X=this.fullCharCodeAtPos();if(k(X,z))this.pos+=X<=65535?1:2;else if(X===92){this.containsEsc=!0,p+=this.input.slice(_,this.pos);var ie=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var pe=this.readCodePoint();(w?E:k)(pe,z)||this.invalidStringToken(ie,"Invalid Unicode escape"),p+=Y(pe),_=this.pos}else break;w=!1}return p+this.input.slice(_,this.pos)},wt.readWord=function(){var p=this.readWord1(),w=S.name;return this.keywords.test(p)&&(w=j[p]),this.finishToken(w,p)};var oi="8.15.0";ye.acorn={Parser:ye,version:oi,defaultOptions:Le,Position:ue,SourceLocation:H,getLineInfo:Ce,Node:os,TokenType:T,tokTypes:S,keywordTypes:j,TokContext:Nn,tokContexts:Ct,isIdentifierChar:k,isIdentifierStart:E,Token:gl,isNewLine:W,lineBreak:O,lineBreakG:q,nonASCIIwhitespace:re};function Ru(p,w){return ye.parse(p,w)}function Ou(p,w,_){return ye.parseExpressionAt(p,w,_)}function ms(p,w){return ye.tokenizer(p,w)}n.Node=os,n.Parser=ye,n.Position=ue,n.SourceLocation=H,n.TokContext=Nn,n.Token=gl,n.TokenType=T,n.defaultOptions=Le,n.getLineInfo=Ce,n.isIdentifierChar=k,n.isIdentifierStart=E,n.isNewLine=W,n.keywordTypes=j,n.lineBreak=O,n.lineBreakG=q,n.nonASCIIwhitespace=re,n.parse=Ru,n.parseExpressionAt=Ou,n.tokContexts=Ct,n.tokTypes=S,n.tokenizer=ms,n.version=oi}))})(Oc,Oc.exports)),Oc.exports}var v3;function YL(){return v3||(v3=1,(function(e){const t=GL(),n=/^[\da-fA-F]+$/,r=/^\d+$/,i=new WeakMap;function s(f){f=f.Parser.acorn||f;let h=i.get(f);if(!h){const g=f.tokTypes,m=f.TokContext,x=f.TokenType,v=new m("<tag",!1),E=new m("</tag",!1),k=new m("<tag>...</tag>",!0,!0),T={tc_oTag:v,tc_cTag:E,tc_expr:k},C={jsxName:new x("jsxName"),jsxText:new x("jsxText",{beforeExpr:!0}),jsxTagStart:new x("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new x("jsxTagEnd")};C.jsxTagStart.updateContext=function(){this.context.push(k),this.context.push(v),this.exprAllowed=!1},C.jsxTagEnd.updateContext=function(M){let R=this.context.pop();R===v&&M===g.slash||R===E?(this.context.pop(),this.exprAllowed=this.curContext()===k):this.exprAllowed=!0},h={tokContexts:T,tokTypes:C},i.set(f,h)}return h}function o(f){if(!f)return f;if(f.type==="JSXIdentifier")return f.name;if(f.type==="JSXNamespacedName")return f.namespace.name+":"+f.name.name;if(f.type==="JSXMemberExpression")return o(f.object)+"."+o(f.property)}e.exports=function(f){return f=f||{},function(h){return c({allowNamespaces:f.allowNamespaces!==!1,allowNamespacedObjects:!!f.allowNamespacedObjects},h)}},Object.defineProperty(e.exports,"tokTypes",{get:function(){return s(y3()).tokTypes},configurable:!0,enumerable:!0});function c(f,h){const g=h.acorn||y3(),m=s(g),x=g.tokTypes,v=m.tokTypes,E=g.tokContexts,k=m.tokContexts.tc_oTag,T=m.tokContexts.tc_cTag,C=m.tokContexts.tc_expr,M=g.isNewLine,R=g.isIdentifierStart,j=g.isIdentifierChar;return class extends h{static get acornJsx(){return m}jsx_readToken(){let L="",S=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let O=this.input.charCodeAt(this.pos);switch(O){case 60:case 123:return this.pos===this.start?O===60&&this.exprAllowed?(++this.pos,this.finishToken(v.jsxTagStart)):this.getTokenFromCode(O):(L+=this.input.slice(S,this.pos),this.finishToken(v.jsxText,L));case 38:L+=this.input.slice(S,this.pos),L+=this.jsx_readEntity(),S=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(O===62?"&gt;":"&rbrace;")+'` or `{"'+this.input[this.pos]+'"}`?');default:M(O)?(L+=this.input.slice(S,this.pos),L+=this.jsx_readNewLine(!0),S=this.pos):++this.pos}}}jsx_readNewLine(L){let S=this.input.charCodeAt(this.pos),O;return++this.pos,S===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,O=L?`
201
- `:`\r
202
- `):O=String.fromCharCode(S),this.options.locations&&(++this.curLine,this.lineStart=this.pos),O}jsx_readString(L){let S="",O=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let q=this.input.charCodeAt(this.pos);if(q===L)break;q===38?(S+=this.input.slice(O,this.pos),S+=this.jsx_readEntity(),O=this.pos):M(q)?(S+=this.input.slice(O,this.pos),S+=this.jsx_readNewLine(!1),O=this.pos):++this.pos}return S+=this.input.slice(O,this.pos++),this.finishToken(x.string,S)}jsx_readEntity(){let L="",S=0,O,q=this.input[this.pos];q!=="&"&&this.raise(this.pos,"Entity must start with an ampersand");let W=++this.pos;for(;this.pos<this.input.length&&S++<10;){if(q=this.input[this.pos++],q===";"){L[0]==="#"?L[1]==="x"?(L=L.substr(2),n.test(L)&&(O=String.fromCharCode(parseInt(L,16)))):(L=L.substr(1),r.test(L)&&(O=String.fromCharCode(parseInt(L,10)))):O=t[L];break}L+=q}return O||(this.pos=W,"&")}jsx_readWord(){let L,S=this.pos;do L=this.input.charCodeAt(++this.pos);while(j(L)||L===45);return this.finishToken(v.jsxName,this.input.slice(S,this.pos))}jsx_parseIdentifier(){let L=this.startNode();return this.type===v.jsxName?L.name=this.value:this.type.keyword?L.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(L,"JSXIdentifier")}jsx_parseNamespacedName(){let L=this.start,S=this.startLoc,O=this.jsx_parseIdentifier();if(!f.allowNamespaces||!this.eat(x.colon))return O;var q=this.startNodeAt(L,S);return q.namespace=O,q.name=this.jsx_parseIdentifier(),this.finishNode(q,"JSXNamespacedName")}jsx_parseElementName(){if(this.type===v.jsxTagEnd)return"";let L=this.start,S=this.startLoc,O=this.jsx_parseNamespacedName();for(this.type===x.dot&&O.type==="JSXNamespacedName"&&!f.allowNamespacedObjects&&this.unexpected();this.eat(x.dot);){let q=this.startNodeAt(L,S);q.object=O,q.property=this.jsx_parseIdentifier(),O=this.finishNode(q,"JSXMemberExpression")}return O}jsx_parseAttributeValue(){switch(this.type){case x.braceL:let L=this.jsx_parseExpressionContainer();return L.expression.type==="JSXEmptyExpression"&&this.raise(L.start,"JSX attributes must only be assigned a non-empty expression"),L;case v.jsxTagStart:case x.string:return this.parseExprAtom();default:this.raise(this.start,"JSX value should be either an expression or a quoted JSX text")}}jsx_parseEmptyExpression(){let L=this.startNodeAt(this.lastTokEnd,this.lastTokEndLoc);return this.finishNodeAt(L,"JSXEmptyExpression",this.start,this.startLoc)}jsx_parseExpressionContainer(){let L=this.startNode();return this.next(),L.expression=this.type===x.braceR?this.jsx_parseEmptyExpression():this.parseExpression(),this.expect(x.braceR),this.finishNode(L,"JSXExpressionContainer")}jsx_parseAttribute(){let L=this.startNode();return this.eat(x.braceL)?(this.expect(x.ellipsis),L.argument=this.parseMaybeAssign(),this.expect(x.braceR),this.finishNode(L,"JSXSpreadAttribute")):(L.name=this.jsx_parseNamespacedName(),L.value=this.eat(x.eq)?this.jsx_parseAttributeValue():null,this.finishNode(L,"JSXAttribute"))}jsx_parseOpeningElementAt(L,S){let O=this.startNodeAt(L,S);O.attributes=[];let q=this.jsx_parseElementName();for(q&&(O.name=q);this.type!==x.slash&&this.type!==v.jsxTagEnd;)O.attributes.push(this.jsx_parseAttribute());return O.selfClosing=this.eat(x.slash),this.expect(v.jsxTagEnd),this.finishNode(O,q?"JSXOpeningElement":"JSXOpeningFragment")}jsx_parseClosingElementAt(L,S){let O=this.startNodeAt(L,S),q=this.jsx_parseElementName();return q&&(O.name=q),this.expect(v.jsxTagEnd),this.finishNode(O,q?"JSXClosingElement":"JSXClosingFragment")}jsx_parseElementAt(L,S){let O=this.startNodeAt(L,S),q=[],W=this.jsx_parseOpeningElementAt(L,S),J=null;if(!W.selfClosing){e:for(;;)switch(this.type){case v.jsxTagStart:if(L=this.start,S=this.startLoc,this.next(),this.eat(x.slash)){J=this.jsx_parseClosingElementAt(L,S);break e}q.push(this.jsx_parseElementAt(L,S));break;case v.jsxText:q.push(this.parseExprAtom());break;case x.braceL:q.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}o(J.name)!==o(W.name)&&this.raise(J.start,"Expected corresponding JSX closing tag for <"+o(W.name)+">")}let re=W.name?"Element":"Fragment";return O["opening"+re]=W,O["closing"+re]=J,O.children=q,this.type===x.relational&&this.value==="<"&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(O,"JSX"+re)}jsx_parseText(){let L=this.parseLiteral(this.value);return L.type="JSXText",L}jsx_parseElement(){let L=this.start,S=this.startLoc;return this.next(),this.jsx_parseElementAt(L,S)}parseExprAtom(L){return this.type===v.jsxText?this.jsx_parseText():this.type===v.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(L)}readToken(L){let S=this.curContext();if(S===C)return this.jsx_readToken();if(S===k||S===T){if(R(L))return this.jsx_readWord();if(L==62)return++this.pos,this.finishToken(v.jsxTagEnd);if((L===34||L===39)&&S==k)return this.jsx_readString(L)}return L===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33?(++this.pos,this.finishToken(v.jsxTagStart)):super.readToken(L)}updateContext(L){if(this.type==x.braceL){var S=this.curContext();S==k?this.context.push(E.b_expr):S==C?this.context.push(E.b_tmpl):super.updateContext(L),this.exprAllowed=!0}else if(this.type===x.slash&&L===v.jsxTagStart)this.context.length-=2,this.context.push(T),this.exprAllowed=!1;else return super.updateContext(L)}}}})(y1)),y1.exports}var JL=YL();const _w=Gl(JL),{stringify:$L}=JSON;if(!String.prototype.repeat)throw new Error("String.prototype.repeat is undefined, see https://github.com/davidbonnet/astring#installation");if(!String.prototype.endsWith)throw new Error("String.prototype.endsWith is undefined, see https://github.com/davidbonnet/astring#installation");const Wf={"||":2,"??":3,"&&":4,"|":5,"^":6,"&":7,"==":8,"!=":8,"===":8,"!==":8,"<":9,">":9,"<=":9,">=":9,in:9,instanceof:9,"<<":10,">>":10,">>>":10,"+":11,"-":11,"*":12,"%":12,"/":12,"**":13},Fi=17,WL={ArrayExpression:20,TaggedTemplateExpression:20,ThisExpression:20,Identifier:20,PrivateIdentifier:20,Literal:18,TemplateLiteral:20,Super:20,SequenceExpression:20,MemberExpression:19,ChainExpression:19,CallExpression:19,NewExpression:19,ArrowFunctionExpression:Fi,ClassExpression:Fi,FunctionExpression:Fi,ObjectExpression:Fi,UpdateExpression:16,UnaryExpression:15,AwaitExpression:15,BinaryExpression:14,LogicalExpression:13,ConditionalExpression:4,AssignmentExpression:3,YieldExpression:2,RestElement:1};function Fo(e,t){const{generator:n}=e;if(e.write("("),t!=null&&t.length>0){n[t[0].type](t[0],e);const{length:r}=t;for(let i=1;i<r;i++){const s=t[i];e.write(", "),n[s.type](s,e)}}e.write(")")}function Dw(e,t,n,r){const i=e.expressionsPrecedence[t.type];if(i===Fi)return!0;const s=e.expressionsPrecedence[n.type];return i!==s?!r&&i===15&&s===14&&n.operator==="**"||i<s:i!==13&&i!==14?!1:t.operator==="**"&&n.operator==="**"?!r:i===13&&s===13&&(t.operator==="??"||n.operator==="??")?!0:r?Wf[t.operator]<=Wf[n.operator]:Wf[t.operator]<Wf[n.operator]}function Kf(e,t,n,r){const{generator:i}=e;Dw(e,t,n,r)?(e.write("("),i[t.type](t,e),e.write(")")):i[t.type](t,e)}function KL(e,t,n,r){const i=t.split(`
203
- `),s=i.length-1;if(e.write(i[0].trim()),s>0){e.write(r);for(let o=1;o<s;o++)e.write(n+i[o].trim()+r);e.write(n+i[s].trim())}}function cr(e,t,n,r){const{length:i}=t;for(let s=0;s<i;s++){const o=t[s];e.write(n),o.type[0]==="L"?e.write("// "+o.value.trim()+`
204
- `,o):(e.write("/*"),KL(e,o.value,n,r),e.write("*/"+r))}}function QL(e){let t=e;for(;t!=null;){const{type:n}=t;if(n[0]==="C"&&n[1]==="a")return!0;if(n[0]==="M"&&n[1]==="e"&&n[2]==="m")t=t.object;else return!1}}function b1(e,t){const{generator:n}=e,{declarations:r}=t;e.write(t.kind+" ");const{length:i}=r;if(i>0){n.VariableDeclarator(r[0],e);for(let s=1;s<i;s++)e.write(", "),n.VariableDeclarator(r[s],e)}}let b3,w3,S3,k3,E3,C3;const Rw={Program(e,t){const n=t.indent.repeat(t.indentLevel),{lineEnd:r,writeComments:i}=t;i&&e.comments!=null&&cr(t,e.comments,n,r);const s=e.body,{length:o}=s;for(let c=0;c<o;c++){const f=s[c];i&&f.comments!=null&&cr(t,f.comments,n,r),t.write(n),this[f.type](f,t),t.write(r)}i&&e.trailingComments!=null&&cr(t,e.trailingComments,n,r)},BlockStatement:C3=function(e,t){const n=t.indent.repeat(t.indentLevel++),{lineEnd:r,writeComments:i}=t,s=n+t.indent;t.write("{");const o=e.body;if(o!=null&&o.length>0){t.write(r),i&&e.comments!=null&&cr(t,e.comments,s,r);const{length:c}=o;for(let f=0;f<c;f++){const h=o[f];i&&h.comments!=null&&cr(t,h.comments,s,r),t.write(s),this[h.type](h,t),t.write(r)}t.write(n)}else i&&e.comments!=null&&(t.write(r),cr(t,e.comments,s,r),t.write(n));i&&e.trailingComments!=null&&cr(t,e.trailingComments,s,r),t.write("}"),t.indentLevel--},ClassBody:C3,StaticBlock(e,t){t.write("static "),this.BlockStatement(e,t)},EmptyStatement(e,t){t.write(";")},ExpressionStatement(e,t){const n=t.expressionsPrecedence[e.expression.type];n===Fi||n===3&&e.expression.left.type[0]==="O"?(t.write("("),this[e.expression.type](e.expression,t),t.write(")")):this[e.expression.type](e.expression,t),t.write(";")},IfStatement(e,t){t.write("if ("),this[e.test.type](e.test,t),t.write(") "),this[e.consequent.type](e.consequent,t),e.alternate!=null&&(t.write(" else "),this[e.alternate.type](e.alternate,t))},LabeledStatement(e,t){this[e.label.type](e.label,t),t.write(": "),this[e.body.type](e.body,t)},BreakStatement(e,t){t.write("break"),e.label!=null&&(t.write(" "),this[e.label.type](e.label,t)),t.write(";")},ContinueStatement(e,t){t.write("continue"),e.label!=null&&(t.write(" "),this[e.label.type](e.label,t)),t.write(";")},WithStatement(e,t){t.write("with ("),this[e.object.type](e.object,t),t.write(") "),this[e.body.type](e.body,t)},SwitchStatement(e,t){const n=t.indent.repeat(t.indentLevel++),{lineEnd:r,writeComments:i}=t;t.indentLevel++;const s=n+t.indent,o=s+t.indent;t.write("switch ("),this[e.discriminant.type](e.discriminant,t),t.write(") {"+r);const{cases:c}=e,{length:f}=c;for(let h=0;h<f;h++){const g=c[h];i&&g.comments!=null&&cr(t,g.comments,s,r),g.test?(t.write(s+"case "),this[g.test.type](g.test,t),t.write(":"+r)):t.write(s+"default:"+r);const{consequent:m}=g,{length:x}=m;for(let v=0;v<x;v++){const E=m[v];i&&E.comments!=null&&cr(t,E.comments,o,r),t.write(o),this[E.type](E,t),t.write(r)}}t.indentLevel-=2,t.write(n+"}")},ReturnStatement(e,t){t.write("return"),e.argument&&(t.write(" "),this[e.argument.type](e.argument,t)),t.write(";")},ThrowStatement(e,t){t.write("throw "),this[e.argument.type](e.argument,t),t.write(";")},TryStatement(e,t){if(t.write("try "),this[e.block.type](e.block,t),e.handler){const{handler:n}=e;n.param==null?t.write(" catch "):(t.write(" catch ("),this[n.param.type](n.param,t),t.write(") ")),this[n.body.type](n.body,t)}e.finalizer&&(t.write(" finally "),this[e.finalizer.type](e.finalizer,t))},WhileStatement(e,t){t.write("while ("),this[e.test.type](e.test,t),t.write(") "),this[e.body.type](e.body,t)},DoWhileStatement(e,t){t.write("do "),this[e.body.type](e.body,t),t.write(" while ("),this[e.test.type](e.test,t),t.write(");")},ForStatement(e,t){if(t.write("for ("),e.init!=null){const{init:n}=e;n.type[0]==="V"?b1(t,n):this[n.type](n,t)}t.write("; "),e.test&&this[e.test.type](e.test,t),t.write("; "),e.update&&this[e.update.type](e.update,t),t.write(") "),this[e.body.type](e.body,t)},ForInStatement:b3=function(e,t){t.write(`for ${e.await?"await ":""}(`);const{left:n}=e;n.type[0]==="V"?b1(t,n):this[n.type](n,t),t.write(e.type[3]==="I"?" in ":" of "),this[e.right.type](e.right,t),t.write(") "),this[e.body.type](e.body,t)},ForOfStatement:b3,DebuggerStatement(e,t){t.write("debugger;",e)},FunctionDeclaration:w3=function(e,t){t.write((e.async?"async ":"")+(e.generator?"function* ":"function ")+(e.id?e.id.name:""),e),Fo(t,e.params),t.write(" "),this[e.body.type](e.body,t)},FunctionExpression:w3,VariableDeclaration(e,t){b1(t,e),t.write(";")},VariableDeclarator(e,t){this[e.id.type](e.id,t),e.init!=null&&(t.write(" = "),this[e.init.type](e.init,t))},ClassDeclaration(e,t){if(t.write("class "+(e.id?`${e.id.name} `:""),e),e.superClass){t.write("extends ");const{superClass:n}=e,{type:r}=n,i=t.expressionsPrecedence[r];(r[0]!=="C"||r[1]!=="l"||r[5]!=="E")&&(i===Fi||i<t.expressionsPrecedence.ClassExpression)?(t.write("("),this[e.superClass.type](n,t),t.write(")")):this[n.type](n,t),t.write(" ")}this.ClassBody(e.body,t)},ImportDeclaration(e,t){t.write("import ");const{specifiers:n,attributes:r}=e,{length:i}=n;let s=0;if(i>0){for(;s<i;){s>0&&t.write(", ");const o=n[s],c=o.type[6];if(c==="D")t.write(o.local.name,o),s++;else if(c==="N")t.write("* as "+o.local.name,o),s++;else break}if(s<i){for(t.write("{");;){const o=n[s],{name:c}=o.imported;if(t.write(c,o),c!==o.local.name&&t.write(" as "+o.local.name),++s<i)t.write(", ");else break}t.write("}")}t.write(" from ")}if(this.Literal(e.source,t),r&&r.length>0){t.write(" with { ");for(let o=0;o<r.length;o++)this.ImportAttribute(r[o],t),o<r.length-1&&t.write(", ");t.write(" }")}t.write(";")},ImportAttribute(e,t){this.Identifier(e.key,t),t.write(": "),this.Literal(e.value,t)},ImportExpression(e,t){t.write("import("),this[e.source.type](e.source,t),t.write(")")},ExportDefaultDeclaration(e,t){t.write("export default "),this[e.declaration.type](e.declaration,t),t.expressionsPrecedence[e.declaration.type]!=null&&e.declaration.type[0]!=="F"&&t.write(";")},ExportNamedDeclaration(e,t){if(t.write("export "),e.declaration)this[e.declaration.type](e.declaration,t);else{t.write("{");const{specifiers:n}=e,{length:r}=n;if(r>0)for(let i=0;;){const s=n[i],{name:o}=s.local;if(t.write(o,s),o!==s.exported.name&&t.write(" as "+s.exported.name),++i<r)t.write(", ");else break}if(t.write("}"),e.source&&(t.write(" from "),this.Literal(e.source,t)),e.attributes&&e.attributes.length>0){t.write(" with { ");for(let i=0;i<e.attributes.length;i++)this.ImportAttribute(e.attributes[i],t),i<e.attributes.length-1&&t.write(", ");t.write(" }")}t.write(";")}},ExportAllDeclaration(e,t){if(e.exported!=null?t.write("export * as "+e.exported.name+" from "):t.write("export * from "),this.Literal(e.source,t),e.attributes&&e.attributes.length>0){t.write(" with { ");for(let n=0;n<e.attributes.length;n++)this.ImportAttribute(e.attributes[n],t),n<e.attributes.length-1&&t.write(", ");t.write(" }")}t.write(";")},MethodDefinition(e,t){e.static&&t.write("static ");const n=e.kind[0];(n==="g"||n==="s")&&t.write(e.kind+" "),e.value.async&&t.write("async "),e.value.generator&&t.write("*"),e.computed?(t.write("["),this[e.key.type](e.key,t),t.write("]")):this[e.key.type](e.key,t),Fo(t,e.value.params),t.write(" "),this[e.value.body.type](e.value.body,t)},ClassExpression(e,t){this.ClassDeclaration(e,t)},ArrowFunctionExpression(e,t){t.write(e.async?"async ":"",e);const{params:n}=e;n!=null&&(n.length===1&&n[0].type[0]==="I"?t.write(n[0].name,n[0]):Fo(t,e.params)),t.write(" => "),e.body.type[0]==="O"?(t.write("("),this.ObjectExpression(e.body,t),t.write(")")):this[e.body.type](e.body,t)},ThisExpression(e,t){t.write("this",e)},Super(e,t){t.write("super",e)},RestElement:S3=function(e,t){t.write("..."),this[e.argument.type](e.argument,t)},SpreadElement:S3,YieldExpression(e,t){t.write(e.delegate?"yield*":"yield"),e.argument&&(t.write(" "),this[e.argument.type](e.argument,t))},AwaitExpression(e,t){t.write("await ",e),Kf(t,e.argument,e)},TemplateLiteral(e,t){const{quasis:n,expressions:r}=e;t.write("`");const{length:i}=r;for(let o=0;o<i;o++){const c=r[o],f=n[o];t.write(f.value.raw,f),t.write("${"),this[c.type](c,t),t.write("}")}const s=n[n.length-1];t.write(s.value.raw,s),t.write("`")},TemplateElement(e,t){t.write(e.value.raw,e)},TaggedTemplateExpression(e,t){Kf(t,e.tag,e),this[e.quasi.type](e.quasi,t)},ArrayExpression:E3=function(e,t){if(t.write("["),e.elements.length>0){const{elements:n}=e,{length:r}=n;for(let i=0;;){const s=n[i];if(s!=null&&this[s.type](s,t),++i<r)t.write(", ");else{s==null&&t.write(", ");break}}}t.write("]")},ArrayPattern:E3,ObjectExpression(e,t){const n=t.indent.repeat(t.indentLevel++),{lineEnd:r,writeComments:i}=t,s=n+t.indent;if(t.write("{"),e.properties.length>0){t.write(r),i&&e.comments!=null&&cr(t,e.comments,s,r);const o=","+r,{properties:c}=e,{length:f}=c;for(let h=0;;){const g=c[h];if(i&&g.comments!=null&&cr(t,g.comments,s,r),t.write(s),this[g.type](g,t),++h<f)t.write(o);else break}t.write(r),i&&e.trailingComments!=null&&cr(t,e.trailingComments,s,r),t.write(n+"}")}else i?e.comments!=null?(t.write(r),cr(t,e.comments,s,r),e.trailingComments!=null&&cr(t,e.trailingComments,s,r),t.write(n+"}")):e.trailingComments!=null?(t.write(r),cr(t,e.trailingComments,s,r),t.write(n+"}")):t.write("}"):t.write("}");t.indentLevel--},Property(e,t){e.method||e.kind[0]!=="i"?this.MethodDefinition(e,t):(e.shorthand||(e.computed?(t.write("["),this[e.key.type](e.key,t),t.write("]")):this[e.key.type](e.key,t),t.write(": ")),this[e.value.type](e.value,t))},PropertyDefinition(e,t){if(e.static&&t.write("static "),e.computed&&t.write("["),this[e.key.type](e.key,t),e.computed&&t.write("]"),e.value==null){e.key.type[0]!=="F"&&t.write(";");return}t.write(" = "),this[e.value.type](e.value,t),t.write(";")},ObjectPattern(e,t){if(t.write("{"),e.properties.length>0){const{properties:n}=e,{length:r}=n;for(let i=0;this[n[i].type](n[i],t),++i<r;)t.write(", ")}t.write("}")},SequenceExpression(e,t){Fo(t,e.expressions)},UnaryExpression(e,t){if(e.prefix){const{operator:n,argument:r,argument:{type:i}}=e;t.write(n);const s=Dw(t,r,e);!s&&(n.length>1||i[0]==="U"&&(i[1]==="n"||i[1]==="p")&&r.prefix&&r.operator[0]===n&&(n==="+"||n==="-"))&&t.write(" "),s?(t.write(n.length>1?" (":"("),this[i](r,t),t.write(")")):this[i](r,t)}else this[e.argument.type](e.argument,t),t.write(e.operator)},UpdateExpression(e,t){e.prefix?(t.write(e.operator),this[e.argument.type](e.argument,t)):(this[e.argument.type](e.argument,t),t.write(e.operator))},AssignmentExpression(e,t){this[e.left.type](e.left,t),t.write(" "+e.operator+" "),this[e.right.type](e.right,t)},AssignmentPattern(e,t){this[e.left.type](e.left,t),t.write(" = "),this[e.right.type](e.right,t)},BinaryExpression:k3=function(e,t){const n=e.operator==="in";n&&t.write("("),Kf(t,e.left,e,!1),t.write(" "+e.operator+" "),Kf(t,e.right,e,!0),n&&t.write(")")},LogicalExpression:k3,ConditionalExpression(e,t){const{test:n}=e,r=t.expressionsPrecedence[n.type];r===Fi||r<=t.expressionsPrecedence.ConditionalExpression?(t.write("("),this[n.type](n,t),t.write(")")):this[n.type](n,t),t.write(" ? "),this[e.consequent.type](e.consequent,t),t.write(" : "),this[e.alternate.type](e.alternate,t)},NewExpression(e,t){t.write("new ");const n=t.expressionsPrecedence[e.callee.type];n===Fi||n<t.expressionsPrecedence.CallExpression||QL(e.callee)?(t.write("("),this[e.callee.type](e.callee,t),t.write(")")):this[e.callee.type](e.callee,t),Fo(t,e.arguments)},CallExpression(e,t){const n=t.expressionsPrecedence[e.callee.type];n===Fi||n<t.expressionsPrecedence.CallExpression?(t.write("("),this[e.callee.type](e.callee,t),t.write(")")):this[e.callee.type](e.callee,t),e.optional&&t.write("?."),Fo(t,e.arguments)},ChainExpression(e,t){this[e.expression.type](e.expression,t)},MemberExpression(e,t){const n=t.expressionsPrecedence[e.object.type];n===Fi||n<t.expressionsPrecedence.MemberExpression?(t.write("("),this[e.object.type](e.object,t),t.write(")")):this[e.object.type](e.object,t),e.computed?(e.optional&&t.write("?."),t.write("["),this[e.property.type](e.property,t),t.write("]")):(e.optional?t.write("?."):t.write("."),this[e.property.type](e.property,t))},MetaProperty(e,t){t.write(e.meta.name+"."+e.property.name,e)},Identifier(e,t){t.write(e.name,e)},PrivateIdentifier(e,t){t.write(`#${e.name}`,e)},Literal(e,t){e.raw!=null?t.write(e.raw,e):e.regex!=null?this.RegExpLiteral(e,t):e.bigint!=null?t.write(e.bigint+"n",e):t.write($L(e.value),e)},RegExpLiteral(e,t){const{regex:n}=e;t.write(`/${n.pattern}/${n.flags}`,e)}},ZL={};class ez{constructor(t){const n=t??ZL;this.output="",n.output!=null?(this.output=n.output,this.write=this.writeToStream):this.output="",this.generator=n.generator!=null?n.generator:Rw,this.expressionsPrecedence=n.expressionsPrecedence!=null?n.expressionsPrecedence:WL,this.indent=n.indent!=null?n.indent:" ",this.lineEnd=n.lineEnd!=null?n.lineEnd:`
205
- `,this.indentLevel=n.startingIndentLevel!=null?n.startingIndentLevel:0,this.writeComments=n.comments?n.comments:!1,n.sourceMap!=null&&(this.write=n.output==null?this.writeAndMap:this.writeToStreamAndMap,this.sourceMap=n.sourceMap,this.line=1,this.column=0,this.lineEndSize=this.lineEnd.split(`
206
- `).length-1,this.mapping={original:null,generated:this,name:void 0,source:n.sourceMap.file||n.sourceMap._file})}write(t){this.output+=t}writeToStream(t){this.output.write(t)}writeAndMap(t,n){this.output+=t,this.map(t,n)}writeToStreamAndMap(t,n){this.output.write(t),this.map(t,n)}map(t,n){if(n!=null){const{type:s}=n;if(s[0]==="L"&&s[2]==="n"){this.column=0,this.line++;return}if(n.loc!=null){const{mapping:o}=this;o.original=n.loc.start,o.name=n.name,this.sourceMap.addMapping(o)}if(s[0]==="T"&&s[8]==="E"||s[0]==="L"&&s[1]==="i"&&typeof n.value=="string"){const{length:o}=t;let{column:c,line:f}=this;for(let h=0;h<o;h++)t[h]===`
207
- `?(c=0,f++):c++;this.column=c,this.line=f;return}}const{length:r}=t,{lineEnd:i}=this;r>0&&(this.lineEndSize>0&&(i.length===1?t[r-1]===i:t.endsWith(i))?(this.line+=this.lineEndSize,this.column=0):this.column+=r)}toString(){return this.output}}function tz(e,t){const n=new ez(t);return n.generator[e.type](e,n),n.output}const nz={};function rz(e,t){const{SourceMapGenerator:n,filePath:r,handlers:i}=t||nz,s=n?new n({file:r||"<unknown>.js"}):void 0,o=tz(e,{comments:!0,generator:{...Rw,...i},sourceMap:s||void 0}),c=s?s.toJSON():void 0;return{value:o,map:c}}const iz={JSXAttribute:az,JSXClosingElement:sz,JSXClosingFragment:lz,JSXElement:oz,JSXEmptyExpression:uz,JSXExpressionContainer:cz,JSXFragment:fz,JSXIdentifier:hz,JSXMemberExpression:pz,JSXNamespacedName:dz,JSXOpeningElement:mz,JSXOpeningFragment:gz,JSXSpreadAttribute:xz,JSXText:yz};function az(e,t){this[e.name.type](e.name,t),e.value!==null&&e.value!==void 0&&(t.write("="),e.value.type==="Literal"?t.write('"'+Ow(String(e.value.value)).replace(/"/g,"&quot;")+'"',e):this[e.value.type](e.value,t))}function sz(e,t){t.write("</"),this[e.name.type](e.name,t),t.write(">")}function lz(e,t){t.write("</>",e)}function oz(e,t){let n=-1;if(this[e.openingElement.type](e.openingElement,t),e.children)for(;++n<e.children.length;){const r=e.children[n];if(r.type==="JSXSpreadChild")throw new Error("JSX spread children are not supported");this[r.type](r,t)}e.closingElement&&this[e.closingElement.type](e.closingElement,t)}function uz(){}function cz(e,t){t.write("{"),this[e.expression.type](e.expression,t),t.write("}")}function fz(e,t){let n=-1;if(this[e.openingFragment.type](e.openingFragment,t),e.children)for(;++n<e.children.length;){const r=e.children[n];if(r.type==="JSXSpreadChild")throw new Error("JSX spread children are not supported");this[r.type](r,t)}this[e.closingFragment.type](e.closingFragment,t)}function hz(e,t){t.write(e.name,e)}function pz(e,t){this[e.object.type](e.object,t),t.write("."),this[e.property.type](e.property,t)}function dz(e,t){this[e.namespace.type](e.namespace,t),t.write(":"),this[e.name.type](e.name,t)}function mz(e,t){let n=-1;if(t.write("<"),this[e.name.type](e.name,t),e.attributes)for(;++n<e.attributes.length;)t.write(" "),this[e.attributes[n].type](e.attributes[n],t);t.write(e.selfClosing?" />":">")}function gz(e,t){t.write("<>",e)}function xz(e,t){t.write("{"),this.SpreadElement(e,t),t.write("}")}function yz(e,t){t.write(Ow(e.value).replace(/[<>{}]/g,vz),e)}function Ow(e){return e.replace(/&(?=[#a-z])/gi,"&amp;")}function vz(e){return e==="<"?"&lt;":e===">"?"&gt;":e==="{"?"&#123;":"&#125;"}function bz(){const e=this.data(),t=e.settings||(e.settings={}),n=t.handlers||(t.handlers={});(t.plugins||(t.plugins=[])).push(_w()),Object.assign(n,iz)}function wz(e){const t=this;this.compiler=n;function n(r,i){const s={...t.data("settings"),...e},o=rz(r,{SourceMapGenerator:s.SourceMapGenerator,filePath:i.path||"unknown.js",handlers:s.handlers});return i.map=o.map,o.value}}function Sz(e,t){const n={type:"Block",value:e.value};t.inherit(e,n),t.comments.push(n);const r={type:"JSXEmptyExpression",comments:[Object.assign({},n,{leading:!1,trailing:!0})]};t.patch(e,r);const i={type:"JSXExpressionContainer",expression:r};return t.patch(e,i),i}function A3(e){const t=[],n=String(e||"");let r=n.indexOf(","),i=0,s=!1;for(;!s;){r===-1&&(r=n.length,s=!0);const o=n.slice(i,r).trim();(o||!s)&&t.push(o),i=r+1,r=n.indexOf(",",i)}return t}function kz(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}class b0{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}b0.prototype.normal={};b0.prototype.property={};b0.prototype.space=void 0;function Iw(e,t){const n={},r={};for(const i of e)Object.assign(n,i.property),Object.assign(r,i.normal);return new b0(n,r,t)}function Wc(e){return e.toLowerCase()}class Vr{constructor(t,n){this.attribute=n,this.property=t}}Vr.prototype.attribute="";Vr.prototype.booleanish=!1;Vr.prototype.boolean=!1;Vr.prototype.commaOrSpaceSeparated=!1;Vr.prototype.commaSeparated=!1;Vr.prototype.defined=!1;Vr.prototype.mustUseProperty=!1;Vr.prototype.number=!1;Vr.prototype.overloadedBoolean=!1;Vr.prototype.property="";Vr.prototype.spaceSeparated=!1;Vr.prototype.space=void 0;let Ez=0;const yt=$l(),Pn=$l(),Eg=$l(),De=$l(),nn=$l(),Zo=$l(),Qr=$l();function $l(){return 2**++Ez}const Cg=Object.freeze(Object.defineProperty({__proto__:null,boolean:yt,booleanish:Pn,commaOrSpaceSeparated:Qr,commaSeparated:Zo,number:De,overloadedBoolean:Eg,spaceSeparated:nn},Symbol.toStringTag,{value:"Module"})),w1=Object.keys(Cg);class _x extends Vr{constructor(t,n,r,i){let s=-1;if(super(t,n),T3(this,"space",i),typeof r=="number")for(;++s<w1.length;){const o=w1[s];T3(this,w1[s],(r&Cg[o])===Cg[o])}}}_x.prototype.defined=!0;function T3(e,t,n){n&&(e[t]=n)}function hu(e){const t={},n={};for(const[r,i]of Object.entries(e.properties)){const s=new _x(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(s.mustUseProperty=!0),t[r]=s,n[Wc(r)]=r,n[Wc(s.attribute)]=r}return new b0(t,n,e.space)}const Lw=hu({properties:{ariaActiveDescendant:null,ariaAtomic:Pn,ariaAutoComplete:null,ariaBusy:Pn,ariaChecked:Pn,ariaColCount:De,ariaColIndex:De,ariaColSpan:De,ariaControls:nn,ariaCurrent:null,ariaDescribedBy:nn,ariaDetails:null,ariaDisabled:Pn,ariaDropEffect:nn,ariaErrorMessage:null,ariaExpanded:Pn,ariaFlowTo:nn,ariaGrabbed:Pn,ariaHasPopup:null,ariaHidden:Pn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:nn,ariaLevel:De,ariaLive:null,ariaModal:Pn,ariaMultiLine:Pn,ariaMultiSelectable:Pn,ariaOrientation:null,ariaOwns:nn,ariaPlaceholder:null,ariaPosInSet:De,ariaPressed:Pn,ariaReadOnly:Pn,ariaRelevant:null,ariaRequired:Pn,ariaRoleDescription:nn,ariaRowCount:De,ariaRowIndex:De,ariaRowSpan:De,ariaSelected:Pn,ariaSetSize:De,ariaSort:null,ariaValueMax:De,ariaValueMin:De,ariaValueNow:De,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function zw(e,t){return t in e?e[t]:t}function Pw(e,t){return zw(e,t.toLowerCase())}const Cz=hu({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Zo,acceptCharset:nn,accessKey:nn,action:null,allow:null,allowFullScreen:yt,allowPaymentRequest:yt,allowUserMedia:yt,alt:null,as:null,async:yt,autoCapitalize:null,autoComplete:nn,autoFocus:yt,autoPlay:yt,blocking:nn,capture:null,charSet:null,checked:yt,cite:null,className:nn,cols:De,colSpan:null,content:null,contentEditable:Pn,controls:yt,controlsList:nn,coords:De|Zo,crossOrigin:null,data:null,dateTime:null,decoding:null,default:yt,defer:yt,dir:null,dirName:null,disabled:yt,download:Eg,draggable:Pn,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:yt,formTarget:null,headers:nn,height:De,hidden:Eg,high:De,href:null,hrefLang:null,htmlFor:nn,httpEquiv:nn,id:null,imageSizes:null,imageSrcSet:null,inert:yt,inputMode:null,integrity:null,is:null,isMap:yt,itemId:null,itemProp:nn,itemRef:nn,itemScope:yt,itemType:nn,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:yt,low:De,manifest:null,max:null,maxLength:De,media:null,method:null,min:null,minLength:De,multiple:yt,muted:yt,name:null,nonce:null,noModule:yt,noValidate:yt,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:yt,optimum:De,pattern:null,ping:nn,placeholder:null,playsInline:yt,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:yt,referrerPolicy:null,rel:nn,required:yt,reversed:yt,rows:De,rowSpan:De,sandbox:nn,scope:null,scoped:yt,seamless:yt,selected:yt,shadowRootClonable:yt,shadowRootDelegatesFocus:yt,shadowRootMode:null,shape:null,size:De,sizes:null,slot:null,span:De,spellCheck:Pn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:De,step:null,style:null,tabIndex:De,target:null,title:null,translate:null,type:null,typeMustMatch:yt,useMap:null,value:Pn,width:De,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:nn,axis:null,background:null,bgColor:null,border:De,borderColor:null,bottomMargin:De,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:yt,declare:yt,event:null,face:null,frame:null,frameBorder:null,hSpace:De,leftMargin:De,link:null,longDesc:null,lowSrc:null,marginHeight:De,marginWidth:De,noResize:yt,noHref:yt,noShade:yt,noWrap:yt,object:null,profile:null,prompt:null,rev:null,rightMargin:De,rules:null,scheme:null,scrolling:Pn,standby:null,summary:null,text:null,topMargin:De,valueType:null,version:null,vAlign:null,vLink:null,vSpace:De,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:yt,disableRemotePlayback:yt,prefix:null,property:null,results:De,security:null,unselectable:null},space:"html",transform:Pw}),Az=hu({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Qr,accentHeight:De,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:De,amplitude:De,arabicForm:null,ascent:De,attributeName:null,attributeType:null,azimuth:De,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:De,by:null,calcMode:null,capHeight:De,className:nn,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:De,diffuseConstant:De,direction:null,display:null,dur:null,divisor:De,dominantBaseline:null,download:yt,dx:null,dy:null,edgeMode:null,editable:null,elevation:De,enableBackground:null,end:null,event:null,exponent:De,externalResourcesRequired:null,fill:null,fillOpacity:De,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:Zo,g2:Zo,glyphName:Zo,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:De,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:De,horizOriginX:De,horizOriginY:De,id:null,ideographic:De,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:De,k:De,k1:De,k2:De,k3:De,k4:De,kernelMatrix:Qr,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:De,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:De,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:De,overlineThickness:De,paintOrder:null,panose1:null,path:null,pathLength:De,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:nn,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:De,pointsAtY:De,pointsAtZ:De,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Qr,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Qr,rev:Qr,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Qr,requiredFeatures:Qr,requiredFonts:Qr,requiredFormats:Qr,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:De,specularExponent:De,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:De,strikethroughThickness:De,string:null,stroke:null,strokeDashArray:Qr,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:De,strokeOpacity:De,strokeWidth:null,style:null,surfaceScale:De,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Qr,tabIndex:De,tableValues:null,target:null,targetX:De,targetY:De,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Qr,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:De,underlineThickness:De,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:De,values:null,vAlphabetic:De,vMathematical:De,vectorEffect:null,vHanging:De,vIdeographic:De,version:null,vertAdvY:De,vertOriginX:De,vertOriginY:De,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:De,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:zw}),Bw=hu({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()}}),jw=hu({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Pw}),Fw=hu({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),Tz={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"},Mz=/[A-Z]/g,M3=/-[a-z]/g,Nz=/^data[-\w.:]+$/i;function Vw(e,t){const n=Wc(t);let r=t,i=Vr;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Nz.test(t)){if(t.charAt(4)==="-"){const s=t.slice(5).replace(M3,Dz);r="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=t.slice(4);if(!M3.test(s)){let o=s.replace(Mz,_z);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}i=_x}return new i(r,t)}function _z(e){return"-"+e.toLowerCase()}function Dz(e){return e.charAt(1).toUpperCase()}const qw=Iw([Lw,Cz,Bw,jw,Fw],"html"),bp=Iw([Lw,Az,Bw,jw,Fw],"svg");function N3(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Rz(e){return e.join(" ").trim()}var Vo={},S1,_3;function Oz(){if(_3)return S1;_3=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,o=/^[;\s]*/,c=/^\s+|\s+$/g,f=`
208
- `,h="/",g="*",m="",x="comment",v="declaration";function E(T,C){if(typeof T!="string")throw new TypeError("First argument must be a string");if(!T)return[];C=C||{};var M=1,R=1;function j(xe){var ge=xe.match(t);ge&&(M+=ge.length);var ee=xe.lastIndexOf(f);R=~ee?xe.length-ee:R+xe.length}function L(){var xe={line:M,column:R};return function(ge){return ge.position=new S(xe),W(),ge}}function S(xe){this.start=xe,this.end={line:M,column:R},this.source=C.source}S.prototype.content=T;function O(xe){var ge=new Error(C.source+":"+M+":"+R+": "+xe);if(ge.reason=xe,ge.filename=C.source,ge.line=M,ge.column=R,ge.source=T,!C.silent)throw ge}function q(xe){var ge=xe.exec(T);if(ge){var ee=ge[0];return j(ee),T=T.slice(ee.length),ge}}function W(){q(n)}function J(xe){var ge;for(xe=xe||[];ge=re();)ge!==!1&&xe.push(ge);return xe}function re(){var xe=L();if(!(h!=T.charAt(0)||g!=T.charAt(1))){for(var ge=2;m!=T.charAt(ge)&&(g!=T.charAt(ge)||h!=T.charAt(ge+1));)++ge;if(ge+=2,m===T.charAt(ge-1))return O("End of comment missing");var ee=T.slice(2,ge-2);return R+=2,j(ee),T=T.slice(ge),R+=2,xe({type:x,comment:ee})}}function ae(){var xe=L(),ge=q(r);if(ge){if(re(),!q(i))return O("property missing ':'");var ee=q(s),oe=xe({type:v,property:k(ge[0].replace(e,m)),value:ee?k(ee[0].replace(e,m)):m});return q(o),oe}}function Se(){var xe=[];J(xe);for(var ge;ge=ae();)ge!==!1&&(xe.push(ge),J(xe));return xe}return W(),Se()}function k(T){return T?T.replace(c,m):m}return S1=E,S1}var D3;function Iz(){if(D3)return Vo;D3=1;var e=Vo&&Vo.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Vo,"__esModule",{value:!0}),Vo.default=n;const t=e(Oz());function n(r,i){let s=null;if(!r||typeof r!="string")return s;const o=(0,t.default)(r),c=typeof i=="function";return o.forEach(f=>{if(f.type!=="declaration")return;const{property:h,value:g}=f;c?i(h,g,f):g&&(s=s||{},s[h]=g)}),s}return Vo}var Ac={},R3;function Lz(){if(R3)return Ac;R3=1,Object.defineProperty(Ac,"__esModule",{value:!0}),Ac.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,n=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,i=/^-(ms)-/,s=function(h){return!h||n.test(h)||e.test(h)},o=function(h,g){return g.toUpperCase()},c=function(h,g){return"".concat(g,"-")},f=function(h,g){return g===void 0&&(g={}),s(h)?h:(h=h.toLowerCase(),g.reactCompat?h=h.replace(i,c):h=h.replace(r,c),h.replace(t,o))};return Ac.camelCase=f,Ac}var Tc,O3;function zz(){if(O3)return Tc;O3=1;var e=Tc&&Tc.__importDefault||function(i){return i&&i.__esModule?i:{default:i}},t=e(Iz()),n=Lz();function r(i,s){var o={};return!i||typeof i!="string"||(0,t.default)(i,function(c,f){c&&f&&(o[(0,n.camelCase)(c,s)]=f)}),o}return r.default=r,Tc=r,Tc}var Pz=zz();const Bz=Gl(Pz),Ag={}.hasOwnProperty,jz=/[A-Z]/g,Fz=new Set(["td","th"]);function Vz(e,t){const n=t.schema;let r=n;const i=e.properties||{};n.space==="html"&&e.tagName.toLowerCase()==="svg"&&(r=bp,t.schema=r);const s=t.all(e),o=[];let c,f,h;for(c in i)if(Ag.call(i,c)){let m=i[c];const x=Vw(r,c);let v;if(m==null||m===!1||typeof m=="number"&&Number.isNaN(m)||!m&&x.boolean)continue;if(c=t.elementAttributeNameCase==="react"&&x.space?Tz[x.property]||x.property:x.attribute,Array.isArray(m)&&(m=x.commaSeparated?kz(m):Rz(m)),c==="style"){let E=typeof m=="object"?m:qz(String(m),e.tagName);t.stylePropertyNameCase==="css"&&(E=Uz(E));const k=[];let T;for(T in E)Ag.call(E,T)&&k.push({type:"Property",method:!1,shorthand:!1,computed:!1,key:oa(T)?{type:"Identifier",name:T}:{type:"Literal",value:T},value:{type:"Literal",value:String(E[T])},kind:"init"});h=k,v={type:"JSXExpressionContainer",expression:{type:"ObjectExpression",properties:k}}}else if(m===!0)v=null;else if(t.tableCellAlignToStyle&&Fz.has(e.tagName)&&c==="align"){f=String(m);continue}else v={type:"Literal",value:String(m)};oa(c,{jsx:!0})?o.push({type:"JSXAttribute",name:{type:"JSXIdentifier",name:c},value:v}):o.push({type:"JSXSpreadAttribute",argument:{type:"ObjectExpression",properties:[{type:"Property",method:!1,shorthand:!1,computed:!1,key:{type:"Literal",value:String(c)},value:v||{type:"Literal",value:!0},kind:"init"}]}})}if(f!==void 0){h||(h=[],o.push({type:"JSXAttribute",name:{type:"JSXIdentifier",name:"style"},value:{type:"JSXExpressionContainer",expression:{type:"ObjectExpression",properties:h}}}));const m=t.stylePropertyNameCase==="css"?Uw("textAlign"):"textAlign";h.push({type:"Property",method:!1,shorthand:!1,computed:!1,key:oa(m)?{type:"Identifier",name:m}:{type:"Literal",value:m},value:{type:"Literal",value:f},kind:"init"})}t.schema=n;const g={type:"JSXElement",openingElement:{type:"JSXOpeningElement",attributes:o,name:t.createJsxElementName(e.tagName),selfClosing:s.length===0},closingElement:s.length>0?{type:"JSXClosingElement",name:t.createJsxElementName(e.tagName)}:null,children:s};return t.inherit(e,g),g}function qz(e,t){try{return Bz(e,{reactCompat:!0})}catch(n){const r=n;throw new Error("Could not parse `style` attribute on `"+t+"`",{cause:r})}}function Uz(e){const t={};let n;for(n in e)Ag.call(e,n)&&(t[Uw(n)]=e[n]);return t}function Uw(e){let t=e.replace(jz,Hz);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function Hz(e){return"-"+e.toLowerCase()}const Gz={}.hasOwnProperty,Xz=[];function zh(e,t){const n=t?[...t].sort(Dx):Xz;n.length>0&&Hw(e,{comments:n,index:0})}function Hw(e,t){if(t.index===t.comments.length)return;const n=[],r=[];let i;for(i in e)if(Gz.call(e,i)){const o=e[i];if(o&&typeof o=="object"&&i!=="comments")if(Array.isArray(o)){let c=-1;for(;++c<o.length;)o[c]&&typeof o[c].type=="string"&&n.push(o[c])}else typeof o.type=="string"&&n.push(o)}n.sort(Dx),r.push(...I3(t,e,!1,{leading:!0,trailing:!1}));let s=-1;for(;++s<n.length;)Hw(n[s],t);r.push(...I3(t,e,!0,{leading:!1,trailing:n.length>0})),r.length>0&&(e.comments=r)}function I3(e,t,n,r){const i=[];for(;e.comments[e.index]&&Dx(e.comments[e.index],t,n)<1;)i.push(Object.assign({},e.comments[e.index++],r));return i}function Dx(e,t,n){const r=n?"end":"start";return e.range&&t.range?e.range[0]-t.range[n?1:0]:e.loc&&e.loc.start&&t.loc&&t.loc[r]?e.loc.start.line-t.loc[r].line||e.loc.start.column-t.loc[r].column:"start"in e&&r in t?e.start-t[r]:Number.NaN}function L3(e,t){const n=e.data&&e.data.estree,r=n&&n.comments||[];let i;n&&(t.comments.push(...r),zh(n,n.comments),i=n.body[0]&&n.body[0].type==="ExpressionStatement"&&n.body[0].expression||void 0),i||(i={type:"JSXEmptyExpression"},t.patch(e,i));const s={type:"JSXExpressionContainer",expression:i};return t.inherit(e,s),s}function z3(e,t){const n=t.schema;let r=n;const i=e.attributes||[];let s=-1;e.name&&n.space==="html"&&e.name.toLowerCase()==="svg"&&(r=bp,t.schema=r);const o=t.all(e),c=[];for(;++s<i.length;){const h=i[s],g=h.value;let m;if(h.type==="mdxJsxAttribute"){if(g==null)m=null;else if(typeof g=="object"){const v=g.data&&g.data.estree,E=v&&v.comments||[];let k;v&&(t.comments.push(...E),zh(v,v.comments),k=v.body[0]&&v.body[0].type==="ExpressionStatement"&&v.body[0].expression||void 0),m={type:"JSXExpressionContainer",expression:k||{type:"JSXEmptyExpression"}},t.inherit(g,m)}else m={type:"Literal",value:String(g)};const x={type:"JSXAttribute",name:t.createJsxAttributeName(h.name),value:m};t.inherit(h,x),c.push(x)}else{const x=h.data&&h.data.estree,v=x&&x.comments||[];let E;x&&(t.comments.push(...v),zh(x,x.comments),E=x.body[0]&&x.body[0].type==="ExpressionStatement"&&x.body[0].expression&&x.body[0].expression.type==="ObjectExpression"&&x.body[0].expression.properties&&x.body[0].expression.properties[0]&&x.body[0].expression.properties[0].type==="SpreadElement"&&x.body[0].expression.properties[0].argument||void 0);const k={type:"JSXSpreadAttribute",argument:E||{type:"ObjectExpression",properties:[]}};t.inherit(h,k),c.push(k)}}t.schema=n;const f=e.name?{type:"JSXElement",openingElement:{type:"JSXOpeningElement",attributes:c,name:t.createJsxElementName(e.name),selfClosing:o.length===0},closingElement:o.length>0?{type:"JSXClosingElement",name:t.createJsxElementName(e.name)}:null,children:o}:{type:"JSXFragment",openingFragment:{type:"JSXOpeningFragment"},closingFragment:{type:"JSXClosingFragment"},children:o};return t.inherit(e,f),f}function Yz(e,t){const n=e.data&&e.data.estree,r=n&&n.comments||[];n&&(t.comments.push(...r),zh(n,r),t.esm.push(...n.body))}const Jz=/[ \t\n\f\r]/g;function $z(e){return typeof e=="object"?e.type==="text"?P3(e.value):!1:P3(e)}function P3(e){return e.replace(Jz,"")===""}function Wz(e,t){const n=t.all(e),r=[];let i=-1,s;for(;++i<n.length;){const c=n[i];c.type==="JSXExpressionContainer"&&c.expression.type==="Literal"&&$z(String(c.expression.value))?s&&s.push(c):(s&&r.push(...s),r.push(c),s=[])}const o={type:"JSXFragment",openingFragment:{type:"JSXOpeningFragment"},closingFragment:{type:"JSXClosingFragment"},children:r};return t.inherit(e,o),o}function Kz(e,t){const n=String(e.value||"");if(n){const r={type:"Literal",value:n};t.inherit(e,r);const i={type:"JSXExpressionContainer",expression:r};return t.patch(e,i),i}}const Qz={comment:Sz,doctype:Zz,element:Vz,mdxFlowExpression:L3,mdxJsxFlowElement:z3,mdxJsxTextElement:z3,mdxTextExpression:L3,mdxjsEsm:Yz,root:Wz,text:Kz};function Zz(){}const Gw=Yw("end"),Xw=Yw("start");function Yw(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 Jw(e){const t=Xw(e),n=Gw(e);if(t&&n)return{start:t,end:n}}const B3={}.hasOwnProperty;function eP(e,t){const n=t||{};function r(i,...s){let o=r.invalid;const c=r.handlers;if(i&&B3.call(i,e)){const f=String(i[e]);o=B3.call(c,f)?c[f]:r.unknown}if(o)return o.call(this,i,...s)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const tP={}.hasOwnProperty,nP=new Set(["table","tbody","thead","tfoot","tr"]);function rP(e){const t=eP("type",{invalid:iP,unknown:aP,handlers:{...Qz,...e.handlers}});return{elementAttributeNameCase:e.elementAttributeNameCase||"react",schema:e.space==="svg"?bp:qw,stylePropertyNameCase:e.stylePropertyNameCase||"dom",tableCellAlignToStyle:e.tableCellAlignToStyle!==!1,comments:[],esm:[],all:sP,createJsxAttributeName:oP,createJsxElementName:uP,handle:n,inherit:lP,patch:$w};function n(r){return t(r,this)}}function iP(e){throw new Error("Cannot handle value `"+e+"`, expected node")}function aP(e){throw new Error("Cannot handle unknown node `"+e.type+"`")}function sP(e){const t=e.children||[];let n=-1;const r=[],i=this.schema.space==="html"&&e.type==="element"&&nP.has(e.tagName.toLowerCase());for(;++n<t.length;){const s=t[n];if(i&&s.type==="text"&&s.value===`
209
- `)continue;const o=this.handle(s);Array.isArray(o)?r.push(...o):o&&r.push(o)}return r}function lP(e,t){const n=e.data;let r,i;if($w(e,t),n){for(i in n)tP.call(n,i)&&i!=="estree"&&(r||(r={}),r[i]=n[i]);r&&(t.data=r)}}function $w(e,t){const n=Jw(e);n&&n.start.offset!==void 0&&n.end.offset!==void 0&&(t.start=n.start.offset,t.end=n.end.offset,t.loc={start:{line:n.start.line,column:n.start.column-1},end:{line:n.end.line,column:n.end.column-1}},t.range=[n.start.offset,n.end.offset])}function oP(e){const t=Ww(e);if(t.type==="JSXMemberExpression")throw new Error("Member expressions in attribute names are not supported");return t}function uP(e){return Ww(e)}function Ww(e){if(e.includes(".")){const t=e.split(".");let n=t.shift(),r={type:"JSXIdentifier",name:n};for(;n=t.shift();)r={type:"JSXMemberExpression",object:r,property:{type:"JSXIdentifier",name:n}};return r}if(e.includes(":")){const t=e.split(":");return{type:"JSXNamespacedName",namespace:{type:"JSXIdentifier",name:t[0]},name:{type:"JSXIdentifier",name:t[1]}}}return{type:"JSXIdentifier",name:e}}function cP(e,t){const n=rP(t||{});let r=n.handle(e);const i=n.esm;if(r){r.type!=="JSXFragment"&&r.type!=="JSXElement"&&(r={type:"JSXFragment",openingFragment:{type:"JSXOpeningFragment"},closingFragment:{type:"JSXClosingFragment"},children:[r]},n.patch(e,r));const o={type:"ExpressionStatement",expression:r};n.patch(e,o),i.push(o)}const s={type:"Program",body:i,sourceType:"module",comments:n.comments};return n.patch(e,s),s}function fP(e){return function(t){return cP(t,e)}}function hP(){return{enter:{mdxFlowExpression:dP,mdxTextExpression:mP},exit:{mdxFlowExpression:j3,mdxFlowExpressionChunk:F3,mdxTextExpression:j3,mdxTextExpressionChunk:F3}}}function pP(){return{handlers:{mdxFlowExpression:V3,mdxTextExpression:V3},unsafe:[{character:"{",inConstruct:["phrasing"]},{atBreak:!0,character:"{"}]}}function dP(e){this.enter({type:"mdxFlowExpression",value:""},e),this.buffer()}function mP(e){this.enter({type:"mdxTextExpression",value:""},e),this.buffer()}function j3(e){const t=this.resume(),n=e.estree,r=this.stack[this.stack.length-1];r.type==="mdxFlowExpression"||r.type,this.exit(e),r.value=t,n&&(r.data={estree:n})}function F3(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function V3(e,t,n){const r=e.value||"";return"{"+n.indentLines(r,function(s,o,c){return(o===0||c?"":" ")+s})+"}"}function Ph(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}const gP=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],q3={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"};function Kw(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=48&&t<=57}function xP(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function yP(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}function U3(e){return yP(e)||Kw(e)}const H3=document.createElement("i");function Kc(e){const t="&"+e+";";H3.innerHTML=t;const n=H3.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}const vP=["","Named character references must be terminated by a semicolon","Numeric character references must be terminated by a semicolon","Named character references cannot be empty","Numeric character references cannot be empty","Named character references must be known","Numeric character references cannot be disallowed","Numeric character references cannot be outside the permissible Unicode range"];function bP(e,t){const n=t||{},r=typeof n.additional=="string"?n.additional.charCodeAt(0):n.additional,i=[];let s=0,o=-1,c="",f,h;n.position&&("start"in n.position||"indent"in n.position?(h=n.position.indent,f=n.position.start):f=n.position);let g=(f?f.line:0)||1,m=(f?f.column:0)||1,x=E(),v;for(s--;++s<=e.length;)if(v===10&&(m=(h?h[o]:0)||1),v=e.charCodeAt(s),v===38){const C=e.charCodeAt(s+1);if(C===9||C===10||C===12||C===32||C===38||C===60||Number.isNaN(C)||r&&C===r){c+=String.fromCharCode(v),m++;continue}const M=s+1;let R=M,j=M,L;if(C===35){j=++R;const Se=e.charCodeAt(j);Se===88||Se===120?(L="hexadecimal",j=++R):L="decimal"}else L="named";let S="",O="",q="";const W=L==="named"?U3:L==="decimal"?Kw:xP;for(j--;++j<=e.length;){const Se=e.charCodeAt(j);if(!W(Se))break;q+=String.fromCharCode(Se),L==="named"&&gP.includes(q)&&(S=q,O=Kc(q))}let J=e.charCodeAt(j)===59;if(J){j++;const Se=L==="named"?Kc(q):!1;Se&&(S=q,O=Se)}let re=1+j-M,ae="";if(!(!J&&n.nonTerminated===!1))if(!q)L!=="named"&&k(4,re);else if(L==="named"){if(J&&!O)k(5,1);else if(S!==q&&(j=R+S.length,re=1+j-R,J=!1),!J){const Se=S?1:3;if(n.attribute){const xe=e.charCodeAt(j);xe===61?(k(Se,re),O=""):U3(xe)?O="":k(Se,re)}else k(Se,re)}ae=O}else{J||k(2,re);let Se=Number.parseInt(q,L==="hexadecimal"?16:10);if(wP(Se))k(7,re),ae="�";else if(Se in q3)k(6,re),ae=q3[Se];else{let xe="";SP(Se)&&k(6,re),Se>65535&&(Se-=65536,xe+=String.fromCharCode(Se>>>10|55296),Se=56320|Se&1023),ae=xe+String.fromCharCode(Se)}}if(ae){T(),x=E(),s=j-1,m+=j-M+1,i.push(ae);const Se=E();Se.offset++,n.reference&&n.reference.call(n.referenceContext||void 0,ae,{start:x,end:Se},e.slice(M-1,j)),x=Se}else q=e.slice(M-1,j),c+=q,m+=q.length,s=j-1}else v===10&&(g++,o++,m=0),Number.isNaN(v)?T():(c+=String.fromCharCode(v),m++);return i.join("");function E(){return{line:g,column:m,offset:s+((f?f.offset:0)||0)}}function k(C,M){let R;n.warning&&(R=E(),R.column+=M,R.offset+=M,n.warning.call(n.warningContext||void 0,vP[C],R,C))}function T(){c&&(i.push(c),n.text&&n.text.call(n.textContext||void 0,c,{start:x,end:E()}),c="")}}function wP(e){return e>=55296&&e<=57343||e>1114111}function SP(e){return e>=1&&e<=8||e===11||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534}const kP=/["&'<>`]/g,EP=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,CP=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,AP=/[|\\{}()[\]^$+*?.]/g,G3=new WeakMap;function TP(e,t){if(e=e.replace(t.subset?MP(t.subset):kP,r),t.subset||t.escapeOnly)return e;return e.replace(EP,n).replace(CP,r);function n(i,s,o){return t.format((i.charCodeAt(0)-55296)*1024+i.charCodeAt(1)-56320+65536,o.charCodeAt(s+2),t)}function r(i,s,o){return t.format(i.charCodeAt(0),o.charCodeAt(s+1),t)}}function MP(e){let t=G3.get(e);return t||(t=NP(e),G3.set(e,t)),t}function NP(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(AP,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}function _P(e){return"&#x"+e.toString(16).toUpperCase()+";"}function DP(e,t){return TP(e,Object.assign({format:_P},t))}const Qw=" ";function RP(){return{canContainEols:["mdxJsxTextElement"],enter:{mdxJsxFlowTag:r,mdxJsxFlowTagClosingMarker:i,mdxJsxFlowTagAttribute:m,mdxJsxFlowTagExpressionAttribute:x,mdxJsxFlowTagAttributeValueLiteral:e,mdxJsxFlowTagAttributeValueExpression:e,mdxJsxFlowTagSelfClosingMarker:o,mdxJsxTextTag:r,mdxJsxTextTagClosingMarker:i,mdxJsxTextTagAttribute:m,mdxJsxTextTagExpressionAttribute:x,mdxJsxTextTagAttributeValueLiteral:e,mdxJsxTextTagAttributeValueExpression:e,mdxJsxTextTagSelfClosingMarker:o},exit:{mdxJsxFlowTagClosingMarker:c,mdxJsxFlowTagNamePrimary:f,mdxJsxFlowTagNameMember:h,mdxJsxFlowTagNameLocal:g,mdxJsxFlowTagExpressionAttribute:v,mdxJsxFlowTagExpressionAttributeValue:n,mdxJsxFlowTagAttributeNamePrimary:E,mdxJsxFlowTagAttributeNameLocal:k,mdxJsxFlowTagAttributeValueLiteral:T,mdxJsxFlowTagAttributeValueLiteralValue:n,mdxJsxFlowTagAttributeValueExpression:C,mdxJsxFlowTagAttributeValueExpressionValue:n,mdxJsxFlowTagSelfClosingMarker:M,mdxJsxFlowTag:R,mdxJsxTextTagClosingMarker:c,mdxJsxTextTagNamePrimary:f,mdxJsxTextTagNameMember:h,mdxJsxTextTagNameLocal:g,mdxJsxTextTagExpressionAttribute:v,mdxJsxTextTagExpressionAttributeValue:n,mdxJsxTextTagAttributeNamePrimary:E,mdxJsxTextTagAttributeNameLocal:k,mdxJsxTextTagAttributeValueLiteral:T,mdxJsxTextTagAttributeValueLiteralValue:n,mdxJsxTextTagAttributeValueExpression:C,mdxJsxTextTagAttributeValueExpressionValue:n,mdxJsxTextTagSelfClosingMarker:M,mdxJsxTextTag:R}};function e(){this.buffer()}function t(O){return{line:O.line,column:O.column,offset:O.offset}}function n(O){this.config.enter.data.call(this,O),this.config.exit.data.call(this,O)}function r(O){const q={name:void 0,attributes:[],close:!1,selfClosing:!1,start:O.start,end:O.end};this.data.mdxJsxTagStack||(this.data.mdxJsxTagStack=[]),this.data.mdxJsxTag=q,this.buffer()}function i(O){if(this.data.mdxJsxTagStack.length===0)throw new qt("Unexpected closing slash `/` in tag, expected an open tag first",{start:O.start,end:O.end},"mdast-util-mdx-jsx:unexpected-closing-slash")}function s(O){if(this.data.mdxJsxTag.close)throw new qt("Unexpected attribute in closing tag, expected the end of the tag",{start:O.start,end:O.end},"mdast-util-mdx-jsx:unexpected-attribute")}function o(O){if(this.data.mdxJsxTag.close)throw new qt("Unexpected self-closing slash `/` in closing tag, expected the end of the tag",{start:O.start,end:O.end},"mdast-util-mdx-jsx:unexpected-self-closing-slash")}function c(){const O=this.data.mdxJsxTag;O.close=!0}function f(O){const q=this.data.mdxJsxTag;q.name=this.sliceSerialize(O)}function h(O){const q=this.data.mdxJsxTag;q.name+="."+this.sliceSerialize(O)}function g(O){const q=this.data.mdxJsxTag;q.name+=":"+this.sliceSerialize(O)}function m(O){const q=this.data.mdxJsxTag;s.call(this,O),q.attributes.push({type:"mdxJsxAttribute",name:"",value:null,position:{start:t(O.start),end:void 0}})}function x(O){const q=this.data.mdxJsxTag;s.call(this,O),q.attributes.push({type:"mdxJsxExpressionAttribute",value:"",position:{start:t(O.start),end:void 0}}),this.buffer()}function v(O){const q=this.data.mdxJsxTag,W=q.attributes[q.attributes.length-1];W.type;const J=O.estree;W.value=this.resume(),W.position,W.position.end=t(O.end),J&&(W.data={estree:J})}function E(O){const q=this.data.mdxJsxTag,W=q.attributes[q.attributes.length-1];W.type,W.name=this.sliceSerialize(O),W.position,W.position.end=t(O.end)}function k(O){const q=this.data.mdxJsxTag,W=q.attributes[q.attributes.length-1];W.type,W.name+=":"+this.sliceSerialize(O),W.position,W.position.end=t(O.end)}function T(O){const q=this.data.mdxJsxTag,W=q.attributes[q.attributes.length-1];W.value=bP(this.resume(),{nonTerminated:!1}),W.position,W.position.end=t(O.end)}function C(O){const q=this.data.mdxJsxTag,W=q.attributes[q.attributes.length-1];W.type;const J={type:"mdxJsxAttributeValueExpression",value:this.resume()},re=O.estree;re&&(J.data={estree:re}),W.value=J,W.position,W.position.end=t(O.end)}function M(){const O=this.data.mdxJsxTag;O.selfClosing=!0}function R(O){const q=this.data.mdxJsxTag,W=this.data.mdxJsxTagStack,J=W[W.length-1];if(q.close&&J.name!==q.name)throw new qt("Unexpected closing tag `"+S(q)+"`, expected corresponding closing tag for `"+S(J)+"` ("+ki(J)+")",{start:O.start,end:O.end},"mdast-util-mdx-jsx:end-tag-mismatch");this.resume(),q.close?W.pop():this.enter({type:O.type==="mdxJsxTextTag"?"mdxJsxTextElement":"mdxJsxFlowElement",name:q.name||null,attributes:q.attributes,children:[]},O,j),q.selfClosing||q.close?this.exit(O,L):W.push(q)}function j(O,q){const W=this.data.mdxJsxTagStack,J=W[W.length-1],re=O?" before the end of `"+O.type+"`":"",ae=O?{start:O.start,end:O.end}:void 0;throw new qt("Expected a closing tag for `"+S(J)+"` ("+ki({start:q.start,end:q.end})+")"+re,ae,"mdast-util-mdx-jsx:end-tag-mismatch")}function L(O,q){const W=this.data.mdxJsxTag;throw new qt("Expected the closing tag `"+S(W)+"` either after the end of `"+q.type+"` ("+ki(q.end)+") or another opening tag after the start of `"+q.type+"` ("+ki(q.start)+")",{start:O.start,end:O.end},"mdast-util-mdx-jsx:end-tag-mismatch")}function S(O){return"<"+(O.close?"/":"")+(O.name||"")+">"}}function OP(e){const t=e||{},n=t.quote||'"',r=t.quoteSmart||!1,i=t.tightSelfClosing||!1,s=t.printWidth||Number.POSITIVE_INFINITY,o=n==='"'?"'":'"';if(n!=='"'&&n!=="'")throw new Error("Cannot serialize attribute values with `"+n+"` for `options.quote`, expected `\"`, or `'`");return c.peek=LP,{handlers:{mdxJsxFlowElement:c,mdxJsxTextElement:c},unsafe:[{character:"<",inConstruct:["phrasing"]},{atBreak:!0,character:"<"}],fences:!0,resourceLink:!0};function c(f,h,g,m){const x=f.type==="mdxJsxFlowElement",v=f.name?!f.children||f.children.length===0:!1,E=Zw(g),k=e9(E),T=g.createTracker(m),C=g.createTracker(m),M=[],R=(x?k:"")+"<"+(f.name||""),j=g.enter(f.type);if(T.move(R),C.move(R),f.attributes&&f.attributes.length>0){if(!f.name)throw new Error("Cannot serialize fragment w/ attributes");let W=-1;for(;++W<f.attributes.length;){const J=f.attributes[W];let re;if(J.type==="mdxJsxExpressionAttribute")re="{"+(J.value||"")+"}";else{if(!J.name)throw new Error("Cannot serialize attribute w/o name");const ae=J.value,Se=J.name;let xe="";if(ae!=null)if(typeof ae=="object")xe="{"+(ae.value||"")+"}";else{const ge=r&&Ph(ae,n)>Ph(ae,o)?o:n;xe=ge+DP(ae,{subset:[ge]})+ge}re=Se+(xe?"=":"")+xe}M.push(re)}}let L=!1;const S=M.join(" ");x&&(/\r?\n|\r/.test(S)||T.current().now.column+S.length+(v?i?2:3:1)>s)&&(L=!0);let O=T,q=R;if(L){O=C;let W=-1;for(;++W<M.length;)M[W]=k+Qw+M[W];q+=O.move(`
210
- `+M.join(`
211
- `)+`
212
- `+k)}else S&&(q+=O.move(" "+S));return v&&(q+=O.move((i||L?"":" ")+"/")),q+=O.move(">"),f.children&&f.children.length>0&&(f.type==="mdxJsxTextElement"?q+=O.move(g.containerPhrasing(f,{...O.current(),before:">",after:"<"})):(O.shift(2),q+=O.move(`
213
- `),q+=O.move(IP(f,g,O.current())),q+=O.move(`
214
- `))),v||(q+=O.move((x?k:"")+"</"+(f.name||"")+">")),j(),q}}function IP(e,t,n){const r=t.indexStack,i=e.children,s=t.createTracker(n),o=e9(Zw(t)),c=[];let f=-1;for(r.push(-1);++f<i.length;){const h=i[f];r[r.length-1]=f;const g={before:`
215
- `,after:`
216
- `,...s.current()},m=t.handle(h,e,t,g),x=h.type==="mdxJsxFlowElement"?m:t.indentLines(m,function(v,E,k){return(k?"":o)+v});c.push(s.move(x)),h.type!=="list"&&(t.bulletLastUsed=void 0),f<i.length-1&&c.push(s.move(`
217
-
218
- `))}return r.pop(),c.join("")}function Zw(e){let t=0,n=e.stack.length;for(;--n>-1;){const r=e.stack[n];if(r==="blockquote"||r==="listItem")break;r==="mdxJsxFlowElement"&&t++}return t}function e9(e){return Qw.repeat(e)}function LP(){return"<"}function zP(){return{enter:{mdxjsEsm:BP},exit:{mdxjsEsm:jP,mdxjsEsmData:FP}}}function PP(){return{handlers:{mdxjsEsm:VP}}}function BP(e){this.enter({type:"mdxjsEsm",value:""},e),this.buffer()}function jP(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,this.exit(e);const r=e.estree;n.value=t,r&&(n.data={estree:r})}function FP(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function VP(e){return e.value||""}function qP(){return[hP(),RP(),zP()]}function UP(e){return{extensions:[pP(),OP(e),PP()]}}var HP=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239],t9=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],GP="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・",n9="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",k1={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},E1="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",XP={5:E1,"5module":E1+" export import",6:E1+" const class extends export import super"},YP=/^in(stanceof)?$/,JP=new RegExp("["+n9+"]"),$P=new RegExp("["+n9+GP+"]");function Tg(e,t){for(var n=65536,r=0;r<t.length;r+=2){if(n+=t[r],n>e)return!1;if(n+=t[r+1],n>=e)return!0}return!1}function fa(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&JP.test(String.fromCharCode(e)):t===!1?!1:Tg(e,t9)}function il(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&$P.test(String.fromCharCode(e)):t===!1?!1:Tg(e,t9)||Tg(e,HP)}var Lt=function(t,n){n===void 0&&(n={}),this.label=t,this.keyword=n.keyword,this.beforeExpr=!!n.beforeExpr,this.startsExpr=!!n.startsExpr,this.isLoop=!!n.isLoop,this.isAssign=!!n.isAssign,this.prefix=!!n.prefix,this.postfix=!!n.postfix,this.binop=n.binop||null,this.updateContext=null};function xi(e,t){return new Lt(e,{beforeExpr:!0,binop:t})}var yi={beforeExpr:!0},Rr={startsExpr:!0},Rx={};function Dt(e,t){return t===void 0&&(t={}),t.keyword=e,Rx[e]=new Lt(e,t)}var F={num:new Lt("num",Rr),regexp:new Lt("regexp",Rr),string:new Lt("string",Rr),name:new Lt("name",Rr),privateId:new Lt("privateId",Rr),eof:new Lt("eof"),bracketL:new Lt("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new Lt("]"),braceL:new Lt("{",{beforeExpr:!0,startsExpr:!0}),braceR:new Lt("}"),parenL:new Lt("(",{beforeExpr:!0,startsExpr:!0}),parenR:new Lt(")"),comma:new Lt(",",yi),semi:new Lt(";",yi),colon:new Lt(":",yi),dot:new Lt("."),question:new Lt("?",yi),questionDot:new Lt("?."),arrow:new Lt("=>",yi),template:new Lt("template"),invalidTemplate:new Lt("invalidTemplate"),ellipsis:new Lt("...",yi),backQuote:new Lt("`",Rr),dollarBraceL:new Lt("${",{beforeExpr:!0,startsExpr:!0}),eq:new Lt("=",{beforeExpr:!0,isAssign:!0}),assign:new Lt("_=",{beforeExpr:!0,isAssign:!0}),incDec:new Lt("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new Lt("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:xi("||",1),logicalAND:xi("&&",2),bitwiseOR:xi("|",3),bitwiseXOR:xi("^",4),bitwiseAND:xi("&",5),equality:xi("==/!=/===/!==",6),relational:xi("</>/<=/>=",7),bitShift:xi("<</>>/>>>",8),plusMin:new Lt("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:xi("%",10),star:xi("*",10),slash:xi("/",10),starstar:new Lt("**",{beforeExpr:!0}),coalesce:xi("??",1),_break:Dt("break"),_case:Dt("case",yi),_catch:Dt("catch"),_continue:Dt("continue"),_debugger:Dt("debugger"),_default:Dt("default",yi),_do:Dt("do",{isLoop:!0,beforeExpr:!0}),_else:Dt("else",yi),_finally:Dt("finally"),_for:Dt("for",{isLoop:!0}),_function:Dt("function",Rr),_if:Dt("if"),_return:Dt("return",yi),_switch:Dt("switch"),_throw:Dt("throw",yi),_try:Dt("try"),_var:Dt("var"),_const:Dt("const"),_while:Dt("while",{isLoop:!0}),_with:Dt("with"),_new:Dt("new",{beforeExpr:!0,startsExpr:!0}),_this:Dt("this",Rr),_super:Dt("super",Rr),_class:Dt("class",Rr),_extends:Dt("extends",yi),_export:Dt("export"),_import:Dt("import",Rr),_null:Dt("null",Rr),_true:Dt("true",Rr),_false:Dt("false",Rr),_in:Dt("in",{beforeExpr:!0,binop:7}),_instanceof:Dt("instanceof",{beforeExpr:!0,binop:7}),_typeof:Dt("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:Dt("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:Dt("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},jr=/\r\n?|\n|\u2028|\u2029/,WP=new RegExp(jr.source,"g");function pu(e){return e===10||e===13||e===8232||e===8233}function r9(e,t,n){n===void 0&&(n=e.length);for(var r=t;r<n;r++){var i=e.charCodeAt(r);if(pu(i))return r<n-1&&i===13&&e.charCodeAt(r+1)===10?r+2:r+1}return-1}var i9=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,ir=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,a9=Object.prototype,KP=a9.hasOwnProperty,QP=a9.toString,du=Object.hasOwn||(function(e,t){return KP.call(e,t)}),X3=Array.isArray||(function(e){return QP.call(e)==="[object Array]"}),Y3=Object.create(null);function $s(e){return Y3[e]||(Y3[e]=new RegExp("^(?:"+e.replace(/ /g,"|")+")$"))}function Za(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}var ZP=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,Qc=function(t,n){this.line=t,this.column=n};Qc.prototype.offset=function(t){return new Qc(this.line,this.column+t)};var wp=function(t,n,r){this.start=n,this.end=r,t.sourceFile!==null&&(this.source=t.sourceFile)};function s9(e,t){for(var n=1,r=0;;){var i=r9(e,r,t);if(i<0)return new Qc(n,t-r);++n,r=i}}var Mg={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},J3=!1;function eB(e){var t={};for(var n in Mg)t[n]=e&&du(e,n)?e[n]:Mg[n];if(t.ecmaVersion==="latest"?t.ecmaVersion=1e8:t.ecmaVersion==null?(!J3&&typeof console=="object"&&console.warn&&(J3=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
219
- Defaulting to 2020, but this will stop working in the future.`)),t.ecmaVersion=11):t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),(!e||e.allowHashBang==null)&&(t.allowHashBang=t.ecmaVersion>=14),X3(t.onToken)){var r=t.onToken;t.onToken=function(i){return r.push(i)}}return X3(t.onComment)&&(t.onComment=tB(t,t.onComment)),t}function tB(e,t){return function(n,r,i,s,o,c){var f={type:n?"Block":"Line",value:r,start:i,end:s};e.locations&&(f.loc=new wp(this,o,c)),e.ranges&&(f.range=[i,s]),t.push(f)}}var Zc=1,mu=2,Ox=4,l9=8,Ix=16,o9=32,Sp=64,u9=128,Wl=256,w0=512,kp=Zc|mu|Wl;function Lx(e,t){return mu|(e?Ox:0)|(t?l9:0)}var Bh=0,zx=1,is=2,c9=3,f9=4,h9=5,Xn=function(t,n,r){this.options=t=eB(t),this.sourceFile=t.sourceFile,this.keywords=$s(XP[t.ecmaVersion>=6?6:t.sourceType==="module"?"5module":5]);var i="";t.allowReserved!==!0&&(i=k1[t.ecmaVersion>=6?6:t.ecmaVersion===5?5:3],t.sourceType==="module"&&(i+=" await")),this.reservedWords=$s(i);var s=(i?i+" ":"")+k1.strict;this.reservedWordsStrict=$s(s),this.reservedWordsStrictBind=$s(s+" "+k1.strictBind),this.input=String(n),this.containsEsc=!1,r?(this.pos=r,this.lineStart=this.input.lastIndexOf(`
220
- `,r-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(jr).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=F.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=t.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&t.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(Zc),this.regexpState=null,this.privateNameStack=[]},da={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};Xn.prototype.parse=function(){var t=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(t)};da.inFunction.get=function(){return(this.currentVarScope().flags&mu)>0};da.inGenerator.get=function(){return(this.currentVarScope().flags&l9)>0};da.inAsync.get=function(){return(this.currentVarScope().flags&Ox)>0};da.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e],n=t.flags;if(n&(Wl|w0))return!1;if(n&mu)return(n&Ox)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction};da.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags;return(t&Sp)>0||this.options.allowSuperOutsideMethod};da.allowDirectSuper.get=function(){return(this.currentThisScope().flags&u9)>0};da.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};da.allowNewDotTarget.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e],n=t.flags;if(n&(Wl|w0)||n&mu&&!(n&Ix))return!0}return!1};da.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&Wl)>0};Xn.extend=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];for(var r=this,i=0;i<t.length;i++)r=t[i](r);return r};Xn.parse=function(t,n){return new this(n,t).parse()};Xn.parseExpressionAt=function(t,n,r){var i=new this(r,t,n);return i.nextToken(),i.parseExpression()};Xn.tokenizer=function(t,n){return new this(n,t)};Object.defineProperties(Xn.prototype,da);var yr=Xn.prototype,nB=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;yr.strictDirective=function(e){if(this.options.ecmaVersion<5)return!1;for(;;){ir.lastIndex=e,e+=ir.exec(this.input)[0].length;var t=nB.exec(this.input.slice(e));if(!t)return!1;if((t[1]||t[2])==="use strict"){ir.lastIndex=e+t[0].length;var n=ir.exec(this.input),r=n.index+n[0].length,i=this.input.charAt(r);return i===";"||i==="}"||jr.test(n[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(i)||i==="!"&&this.input.charAt(r+1)==="=")}e+=t[0].length,ir.lastIndex=e,e+=ir.exec(this.input)[0].length,this.input[e]===";"&&e++}};yr.eat=function(e){return this.type===e?(this.next(),!0):!1};yr.isContextual=function(e){return this.type===F.name&&this.value===e&&!this.containsEsc};yr.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1};yr.expectContextual=function(e){this.eatContextual(e)||this.unexpected()};yr.canInsertSemicolon=function(){return this.type===F.eof||this.type===F.braceR||jr.test(this.input.slice(this.lastTokEnd,this.start))};yr.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0};yr.semicolon=function(){!this.eat(F.semi)&&!this.insertSemicolon()&&this.unexpected()};yr.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0};yr.expect=function(e){this.eat(e)||this.unexpected()};yr.unexpected=function(e){this.raise(e??this.start,"Unexpected token")};var Ep=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};yr.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var n=t?e.parenthesizedAssign:e.parenthesizedBind;n>-1&&this.raiseRecoverable(n,t?"Assigning to rvalue":"Parenthesized pattern")}};yr.checkExpressionErrors=function(e,t){if(!e)return!1;var n=e.shorthandAssign,r=e.doubleProto;if(!t)return n>=0||r>=0;n>=0&&this.raise(n,"Shorthand property assignments are valid only in destructuring patterns"),r>=0&&this.raiseRecoverable(r,"Redefinition of __proto__ property")};yr.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")};yr.isSimpleAssignTarget=function(e){return e.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(e.expression):e.type==="Identifier"||e.type==="MemberExpression"};var Je=Xn.prototype;Je.parseTopLevel=function(e){var t=Object.create(null);for(e.body||(e.body=[]);this.type!==F.eof;){var n=this.parseStatement(null,!0,t);e.body.push(n)}if(this.inModule)for(var r=0,i=Object.keys(this.undefinedExports);r<i.length;r+=1){var s=i[r];this.raiseRecoverable(this.undefinedExports[s].start,"Export '"+s+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType,this.finishNode(e,"Program")};var Px={kind:"loop"},rB={kind:"switch"};Je.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;ir.lastIndex=this.pos;var t=ir.exec(this.input),n=this.pos+t[0].length,r=this.input.charCodeAt(n);if(r===91||r===92)return!0;if(e)return!1;if(r===123||r>55295&&r<56320)return!0;if(fa(r,!0)){for(var i=n+1;il(r=this.input.charCodeAt(i),!0);)++i;if(r===92||r>55295&&r<56320)return!0;var s=this.input.slice(n,i);if(!YP.test(s))return!0}return!1};Je.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;ir.lastIndex=this.pos;var e=ir.exec(this.input),t=this.pos+e[0].length,n;return!jr.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!(il(n=this.input.charCodeAt(t+8))||n>55295&&n<56320))};Je.isUsingKeyword=function(e,t){if(this.options.ecmaVersion<17||!this.isContextual(e?"await":"using"))return!1;ir.lastIndex=this.pos;var n=ir.exec(this.input),r=this.pos+n[0].length;if(jr.test(this.input.slice(this.pos,r)))return!1;if(e){var i=r+5,s;if(this.input.slice(r,i)!=="using"||i===this.input.length||il(s=this.input.charCodeAt(i))||s>55295&&s<56320)return!1;ir.lastIndex=i;var o=ir.exec(this.input);if(o&&jr.test(this.input.slice(i,i+o[0].length)))return!1}if(t){var c=r+2,f;if(this.input.slice(r,c)==="of"&&(c===this.input.length||!il(f=this.input.charCodeAt(c))&&!(f>55295&&f<56320)))return!1}var h=this.input.charCodeAt(r);return fa(h,!0)||h===92};Je.isAwaitUsing=function(e){return this.isUsingKeyword(!0,e)};Je.isUsing=function(e){return this.isUsingKeyword(!1,e)};Je.parseStatement=function(e,t,n){var r=this.type,i=this.startNode(),s;switch(this.isLet(e)&&(r=F._var,s="let"),r){case F._break:case F._continue:return this.parseBreakContinueStatement(i,r.keyword);case F._debugger:return this.parseDebuggerStatement(i);case F._do:return this.parseDoStatement(i);case F._for:return this.parseForStatement(i);case F._function:return e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(i,!1,!e);case F._class:return e&&this.unexpected(),this.parseClass(i,!0);case F._if:return this.parseIfStatement(i);case F._return:return this.parseReturnStatement(i);case F._switch:return this.parseSwitchStatement(i);case F._throw:return this.parseThrowStatement(i);case F._try:return this.parseTryStatement(i);case F._const:case F._var:return s=s||this.value,e&&s!=="var"&&this.unexpected(),this.parseVarStatement(i,s);case F._while:return this.parseWhileStatement(i);case F._with:return this.parseWithStatement(i);case F.braceL:return this.parseBlock(!0,i);case F.semi:return this.parseEmptyStatement(i);case F._export:case F._import:if(this.options.ecmaVersion>10&&r===F._import){ir.lastIndex=this.pos;var o=ir.exec(this.input),c=this.pos+o[0].length,f=this.input.charCodeAt(c);if(f===40||f===46)return this.parseExpressionStatement(i,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),r===F._import?this.parseImport(i):this.parseExport(i,n);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(i,!0,!e);var h=this.isAwaitUsing(!1)?"await using":this.isUsing(!1)?"using":null;if(h)return t&&this.options.sourceType==="script"&&this.raise(this.start,"Using declaration cannot appear in the top level when source type is `script`"),h==="await using"&&(this.canAwait||this.raise(this.start,"Await using cannot appear outside of async function"),this.next()),this.next(),this.parseVar(i,!1,h),this.semicolon(),this.finishNode(i,"VariableDeclaration");var g=this.value,m=this.parseExpression();return r===F.name&&m.type==="Identifier"&&this.eat(F.colon)?this.parseLabeledStatement(i,g,m,e):this.parseExpressionStatement(i,m)}};Je.parseBreakContinueStatement=function(e,t){var n=t==="break";this.next(),this.eat(F.semi)||this.insertSemicolon()?e.label=null:this.type!==F.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var r=0;r<this.labels.length;++r){var i=this.labels[r];if((e.label==null||i.name===e.label.name)&&(i.kind!=null&&(n||i.kind==="loop")||e.label&&n))break}return r===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,n?"BreakStatement":"ContinueStatement")};Je.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")};Je.parseDoStatement=function(e){return this.next(),this.labels.push(Px),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(F._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(F.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")};Je.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Px),this.enterScope(0),this.expect(F.parenL),this.type===F.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var n=this.isLet();if(this.type===F._var||this.type===F._const||n){var r=this.startNode(),i=n?"let":this.value;return this.next(),this.parseVar(r,!0,i),this.finishNode(r,"VariableDeclaration"),this.parseForAfterInit(e,r,t)}var s=this.isContextual("let"),o=!1,c=this.isUsing(!0)?"using":this.isAwaitUsing(!0)?"await using":null;if(c){var f=this.startNode();return this.next(),c==="await using"&&this.next(),this.parseVar(f,!0,c),this.finishNode(f,"VariableDeclaration"),this.parseForAfterInit(e,f,t)}var h=this.containsEsc,g=new Ep,m=this.start,x=t>-1?this.parseExprSubscripts(g,"await"):this.parseExpression(!0,g);return this.type===F._in||(o=this.options.ecmaVersion>=6&&this.isContextual("of"))?(t>-1?(this.type===F._in&&this.unexpected(t),e.await=!0):o&&this.options.ecmaVersion>=8&&(x.start===m&&!h&&x.type==="Identifier"&&x.name==="async"?this.unexpected():this.options.ecmaVersion>=9&&(e.await=!1)),s&&o&&this.raise(x.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(x,!1,g),this.checkLValPattern(x),this.parseForIn(e,x)):(this.checkExpressionErrors(g,!0),t>-1&&this.unexpected(t),this.parseFor(e,x))};Je.parseForAfterInit=function(e,t,n){return(this.type===F._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&t.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===F._in?n>-1&&this.unexpected(n):e.await=n>-1),this.parseForIn(e,t)):(n>-1&&this.unexpected(n),this.parseFor(e,t))};Je.parseFunctionStatement=function(e,t,n){return this.next(),this.parseFunction(e,jc|(n?0:Ng),!1,t)};Je.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(F._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")};Je.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(F.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")};Je.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(F.braceL),this.labels.push(rB),this.enterScope(0);for(var t,n=!1;this.type!==F.braceR;)if(this.type===F._case||this.type===F._default){var r=this.type===F._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),r?t.test=this.parseExpression():(n&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),n=!0,t.test=null),this.expect(F.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")};Je.parseThrowStatement=function(e){return this.next(),jr.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var iB=[];Je.parseCatchClauseParam=function(){var e=this.parseBindingAtom(),t=e.type==="Identifier";return this.enterScope(t?o9:0),this.checkLValPattern(e,t?f9:is),this.expect(F.parenR),e};Je.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===F._catch){var t=this.startNode();this.next(),this.eat(F.parenL)?t.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0)),t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(F._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")};Je.parseVarStatement=function(e,t,n){return this.next(),this.parseVar(e,!1,t,n),this.semicolon(),this.finishNode(e,"VariableDeclaration")};Je.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(Px),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")};Je.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")};Je.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")};Je.parseLabeledStatement=function(e,t,n,r){for(var i=0,s=this.labels;i<s.length;i+=1){var o=s[i];o.name===t&&this.raise(n.start,"Label '"+t+"' is already declared")}for(var c=this.type.isLoop?"loop":this.type===F._switch?"switch":null,f=this.labels.length-1;f>=0;f--){var h=this.labels[f];if(h.statementStart===e.start)h.statementStart=this.start,h.kind=c;else break}return this.labels.push({name:t,kind:c,statementStart:this.start}),e.body=this.parseStatement(r?r.indexOf("label")===-1?r+"label":r:"label"),this.labels.pop(),e.label=n,this.finishNode(e,"LabeledStatement")};Je.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")};Je.parseBlock=function(e,t,n){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(F.braceL),e&&this.enterScope(0);this.type!==F.braceR;){var r=this.parseStatement(null);t.body.push(r)}return n&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")};Je.parseFor=function(e,t){return e.init=t,this.expect(F.semi),e.test=this.type===F.semi?null:this.parseExpression(),this.expect(F.semi),e.update=this.type===F.parenR?null:this.parseExpression(),this.expect(F.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")};Je.parseForIn=function(e,t){var n=this.type===F._in;return this.next(),t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!n||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")&&this.raise(t.start,(n?"for-in":"for-of")+" loop variable declaration may not have an initializer"),e.left=t,e.right=n?this.parseExpression():this.parseMaybeAssign(),this.expect(F.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,n?"ForInStatement":"ForOfStatement")};Je.parseVar=function(e,t,n,r){for(e.declarations=[],e.kind=n;;){var i=this.startNode();if(this.parseVarId(i,n),this.eat(F.eq)?i.init=this.parseMaybeAssign(t):!r&&n==="const"&&!(this.type===F._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():!r&&(n==="using"||n==="await using")&&this.options.ecmaVersion>=17&&this.type!==F._in&&!this.isContextual("of")?this.raise(this.lastTokEnd,"Missing initializer in "+n+" declaration"):!r&&i.id.type!=="Identifier"&&!(t&&(this.type===F._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):i.init=null,e.declarations.push(this.finishNode(i,"VariableDeclarator")),!this.eat(F.comma))break}return e};Je.parseVarId=function(e,t){e.id=t==="using"||t==="await using"?this.parseIdent():this.parseBindingAtom(),this.checkLValPattern(e.id,t==="var"?zx:is,!1)};var jc=1,Ng=2,p9=4;Je.parseFunction=function(e,t,n,r,i){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r)&&(this.type===F.star&&t&Ng&&this.unexpected(),e.generator=this.eat(F.star)),this.options.ecmaVersion>=8&&(e.async=!!r),t&jc&&(e.id=t&p9&&this.type!==F.name?null:this.parseIdent(),e.id&&!(t&Ng)&&this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?zx:is:c9));var s=this.yieldPos,o=this.awaitPos,c=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Lx(e.async,e.generator)),t&jc||(e.id=this.type===F.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,n,!1,i),this.yieldPos=s,this.awaitPos=o,this.awaitIdentPos=c,this.finishNode(e,t&jc?"FunctionDeclaration":"FunctionExpression")};Je.parseFunctionParams=function(e){this.expect(F.parenL),e.params=this.parseBindingList(F.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()};Je.parseClass=function(e,t){this.next();var n=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var r=this.enterClassBody(),i=this.startNode(),s=!1;for(i.body=[],this.expect(F.braceL);this.type!==F.braceR;){var o=this.parseClassElement(e.superClass!==null);o&&(i.body.push(o),o.type==="MethodDefinition"&&o.kind==="constructor"?(s&&this.raiseRecoverable(o.start,"Duplicate constructor in the same class"),s=!0):o.key&&o.key.type==="PrivateIdentifier"&&aB(r,o)&&this.raiseRecoverable(o.key.start,"Identifier '#"+o.key.name+"' has already been declared"))}return this.strict=n,this.next(),e.body=this.finishNode(i,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};Je.parseClassElement=function(e){if(this.eat(F.semi))return null;var t=this.options.ecmaVersion,n=this.startNode(),r="",i=!1,s=!1,o="method",c=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(F.braceL))return this.parseClassStaticBlock(n),n;this.isClassElementNameStart()||this.type===F.star?c=!0:r="static"}if(n.static=c,!r&&t>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===F.star)&&!this.canInsertSemicolon()?s=!0:r="async"),!r&&(t>=9||!s)&&this.eat(F.star)&&(i=!0),!r&&!s&&!i){var f=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?o=f:r=f)}if(r?(n.computed=!1,n.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),n.key.name=r,this.finishNode(n.key,"Identifier")):this.parseClassElementName(n),t<13||this.type===F.parenL||o!=="method"||i||s){var h=!n.static&&jh(n,"constructor"),g=h&&e;h&&o!=="method"&&this.raise(n.key.start,"Constructor can't have get/set modifier"),n.kind=h?"constructor":o,this.parseClassMethod(n,i,s,g)}else this.parseClassField(n);return n};Je.isClassElementNameStart=function(){return this.type===F.name||this.type===F.privateId||this.type===F.num||this.type===F.string||this.type===F.bracketL||this.type.keyword};Je.parseClassElementName=function(e){this.type===F.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)};Je.parseClassMethod=function(e,t,n,r){var i=e.key;e.kind==="constructor"?(t&&this.raise(i.start,"Constructor can't be a generator"),n&&this.raise(i.start,"Constructor can't be an async method")):e.static&&jh(e,"prototype")&&this.raise(i.start,"Classes may not have a static property named prototype");var s=e.value=this.parseMethod(t,n,r);return e.kind==="get"&&s.params.length!==0&&this.raiseRecoverable(s.start,"getter should have no params"),e.kind==="set"&&s.params.length!==1&&this.raiseRecoverable(s.start,"setter should have exactly one param"),e.kind==="set"&&s.params[0].type==="RestElement"&&this.raiseRecoverable(s.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")};Je.parseClassField=function(e){return jh(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&jh(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(F.eq)?(this.enterScope(w0|Sp),e.value=this.parseMaybeAssign(),this.exitScope()):e.value=null,this.semicolon(),this.finishNode(e,"PropertyDefinition")};Je.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(Wl|Sp);this.type!==F.braceR;){var n=this.parseStatement(null);e.body.push(n)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")};Je.parseClassId=function(e,t){this.type===F.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,is,!1)):(t===!0&&this.unexpected(),e.id=null)};Je.parseClassSuper=function(e){e.superClass=this.eat(F._extends)?this.parseExprSubscripts(null,!1):null};Je.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared};Je.exitClassBody=function(){var e=this.privateNameStack.pop(),t=e.declared,n=e.used;if(this.options.checkPrivateFields)for(var r=this.privateNameStack.length,i=r===0?null:this.privateNameStack[r-1],s=0;s<n.length;++s){var o=n[s];du(t,o.name)||(i?i.used.push(o):this.raiseRecoverable(o.start,"Private field '#"+o.name+"' must be declared in an enclosing class"))}};function aB(e,t){var n=t.key.name,r=e[n],i="true";return t.type==="MethodDefinition"&&(t.kind==="get"||t.kind==="set")&&(i=(t.static?"s":"i")+t.kind),r==="iget"&&i==="iset"||r==="iset"&&i==="iget"||r==="sget"&&i==="sset"||r==="sset"&&i==="sget"?(e[n]="true",!1):r?!0:(e[n]=i,!1)}function jh(e,t){var n=e.computed,r=e.key;return!n&&(r.type==="Identifier"&&r.name===t||r.type==="Literal"&&r.value===t)}Je.parseExportAllDeclaration=function(e,t){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==F.string&&this.unexpected(),e.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ExportAllDeclaration")};Je.parseExport=function(e,t){if(this.next(),this.eat(F.star))return this.parseExportAllDeclaration(e,t);if(this.eat(F._default))return this.checkExport(t,"default",this.lastTokStart),e.declaration=this.parseExportDefaultDeclaration(),this.finishNode(e,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())e.declaration=this.parseExportDeclaration(e),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id,e.declaration.id.start),e.specifiers=[],e.source=null,this.options.ecmaVersion>=16&&(e.attributes=[]);else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==F.string&&this.unexpected(),e.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause());else{for(var n=0,r=e.specifiers;n<r.length;n+=1){var i=r[n];this.checkUnreserved(i.local),this.checkLocalExport(i.local),i.local.type==="Literal"&&this.raise(i.local.start,"A string literal cannot be used as an exported binding without `from`.")}e.source=null,this.options.ecmaVersion>=16&&(e.attributes=[])}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")};Je.parseExportDeclaration=function(e){return this.parseStatement(null)};Je.parseExportDefaultDeclaration=function(){var e;if(this.type===F._function||(e=this.isAsyncFunction())){var t=this.startNode();return this.next(),e&&this.next(),this.parseFunction(t,jc|p9,!1,e)}else if(this.type===F._class){var n=this.startNode();return this.parseClass(n,"nullableID")}else{var r=this.parseMaybeAssign();return this.semicolon(),r}};Je.checkExport=function(e,t,n){e&&(typeof t!="string"&&(t=t.type==="Identifier"?t.name:t.value),du(e,t)&&this.raiseRecoverable(n,"Duplicate export '"+t+"'"),e[t]=!0)};Je.checkPatternExport=function(e,t){var n=t.type;if(n==="Identifier")this.checkExport(e,t,t.start);else if(n==="ObjectPattern")for(var r=0,i=t.properties;r<i.length;r+=1){var s=i[r];this.checkPatternExport(e,s)}else if(n==="ArrayPattern")for(var o=0,c=t.elements;o<c.length;o+=1){var f=c[o];f&&this.checkPatternExport(e,f)}else n==="Property"?this.checkPatternExport(e,t.value):n==="AssignmentPattern"?this.checkPatternExport(e,t.left):n==="RestElement"&&this.checkPatternExport(e,t.argument)};Je.checkVariableExport=function(e,t){if(e)for(var n=0,r=t;n<r.length;n+=1){var i=r[n];this.checkPatternExport(e,i.id)}};Je.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()};Je.parseExportSpecifier=function(e){var t=this.startNode();return t.local=this.parseModuleExportName(),t.exported=this.eatContextual("as")?this.parseModuleExportName():t.local,this.checkExport(e,t.exported,t.exported.start),this.finishNode(t,"ExportSpecifier")};Je.parseExportSpecifiers=function(e){var t=[],n=!0;for(this.expect(F.braceL);!this.eat(F.braceR);){if(n)n=!1;else if(this.expect(F.comma),this.afterTrailingComma(F.braceR))break;t.push(this.parseExportSpecifier(e))}return t};Je.parseImport=function(e){return this.next(),this.type===F.string?(e.specifiers=iB,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===F.string?this.parseExprAtom():this.unexpected()),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ImportDeclaration")};Je.parseImportSpecifier=function(){var e=this.startNode();return e.imported=this.parseModuleExportName(),this.eatContextual("as")?e.local=this.parseIdent():(this.checkUnreserved(e.imported),e.local=e.imported),this.checkLValSimple(e.local,is),this.finishNode(e,"ImportSpecifier")};Je.parseImportDefaultSpecifier=function(){var e=this.startNode();return e.local=this.parseIdent(),this.checkLValSimple(e.local,is),this.finishNode(e,"ImportDefaultSpecifier")};Je.parseImportNamespaceSpecifier=function(){var e=this.startNode();return this.next(),this.expectContextual("as"),e.local=this.parseIdent(),this.checkLValSimple(e.local,is),this.finishNode(e,"ImportNamespaceSpecifier")};Je.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===F.name&&(e.push(this.parseImportDefaultSpecifier()),!this.eat(F.comma)))return e;if(this.type===F.star)return e.push(this.parseImportNamespaceSpecifier()),e;for(this.expect(F.braceL);!this.eat(F.braceR);){if(t)t=!1;else if(this.expect(F.comma),this.afterTrailingComma(F.braceR))break;e.push(this.parseImportSpecifier())}return e};Je.parseWithClause=function(){var e=[];if(!this.eat(F._with))return e;this.expect(F.braceL);for(var t={},n=!0;!this.eat(F.braceR);){if(n)n=!1;else if(this.expect(F.comma),this.afterTrailingComma(F.braceR))break;var r=this.parseImportAttribute(),i=r.key.type==="Identifier"?r.key.name:r.key.value;du(t,i)&&this.raiseRecoverable(r.key.start,"Duplicate attribute key '"+i+"'"),t[i]=!0,e.push(r)}return e};Je.parseImportAttribute=function(){var e=this.startNode();return e.key=this.type===F.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never"),this.expect(F.colon),this.type!==F.string&&this.unexpected(),e.value=this.parseExprAtom(),this.finishNode(e,"ImportAttribute")};Je.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===F.string){var e=this.parseLiteral(this.value);return ZP.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e}return this.parseIdent(!0)};Je.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t)e[t].directive=e[t].expression.raw.slice(1,-1)};Je.isDirectiveCandidate=function(e){return this.options.ecmaVersion>=5&&e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&(this.input[e.start]==='"'||this.input[e.start]==="'")};var Ni=Xn.prototype;Ni.toAssignable=function(e,t,n){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&e.name==="await"&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",n&&this.checkPatternErrors(n,!0);for(var r=0,i=e.properties;r<i.length;r+=1){var s=i[r];this.toAssignable(s,t),s.type==="RestElement"&&(s.argument.type==="ArrayPattern"||s.argument.type==="ObjectPattern")&&this.raise(s.argument.start,"Unexpected token")}break;case"Property":e.kind!=="init"&&this.raise(e.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern",n&&this.checkPatternErrors(n,!0),this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement",this.toAssignable(e.argument,t),e.argument.type==="AssignmentPattern"&&this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":e.operator!=="="&&this.raise(e.left.end,"Only '=' operator can be used for specifying default value."),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,n);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else n&&this.checkPatternErrors(n,!0);return e};Ni.toAssignableList=function(e,t){for(var n=e.length,r=0;r<n;r++){var i=e[r];i&&this.toAssignable(i,t)}if(n){var s=e[n-1];this.options.ecmaVersion===6&&t&&s&&s.type==="RestElement"&&s.argument.type!=="Identifier"&&this.unexpected(s.argument.start)}return e};Ni.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")};Ni.parseRestBinding=function(){var e=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==F.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")};Ni.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case F.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(F.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case F.braceL:return this.parseObj(!0)}return this.parseIdent()};Ni.parseBindingList=function(e,t,n,r){for(var i=[],s=!0;!this.eat(e);)if(s?s=!1:this.expect(F.comma),t&&this.type===F.comma)i.push(null);else{if(n&&this.afterTrailingComma(e))break;if(this.type===F.ellipsis){var o=this.parseRestBinding();this.parseBindingListItem(o),i.push(o),this.type===F.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}else i.push(this.parseAssignableListItem(r))}return i};Ni.parseAssignableListItem=function(e){var t=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(t),t};Ni.parseBindingListItem=function(e){return e};Ni.parseMaybeDefault=function(e,t,n){if(n=n||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(F.eq))return n;var r=this.startNodeAt(e,t);return r.left=n,r.right=this.parseMaybeAssign(),this.finishNode(r,"AssignmentPattern")};Ni.checkLValSimple=function(e,t,n){t===void 0&&(t=Bh);var r=t!==Bh;switch(e.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(r?"Binding ":"Assigning to ")+e.name+" in strict mode"),r&&(t===is&&e.name==="let"&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),n&&(du(n,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),n[e.name]=!0),t!==h9&&this.declareName(e.name,t,e.start));break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":r&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ParenthesizedExpression":return r&&this.raiseRecoverable(e.start,"Binding parenthesized expression"),this.checkLValSimple(e.expression,t,n);default:this.raise(e.start,(r?"Binding":"Assigning to")+" rvalue")}};Ni.checkLValPattern=function(e,t,n){switch(t===void 0&&(t=Bh),e.type){case"ObjectPattern":for(var r=0,i=e.properties;r<i.length;r+=1){var s=i[r];this.checkLValInnerPattern(s,t,n)}break;case"ArrayPattern":for(var o=0,c=e.elements;o<c.length;o+=1){var f=c[o];f&&this.checkLValInnerPattern(f,t,n)}break;default:this.checkLValSimple(e,t,n)}};Ni.checkLValInnerPattern=function(e,t,n){switch(t===void 0&&(t=Bh),e.type){case"Property":this.checkLValInnerPattern(e.value,t,n);break;case"AssignmentPattern":this.checkLValPattern(e.left,t,n);break;case"RestElement":this.checkLValPattern(e.argument,t,n);break;default:this.checkLValPattern(e,t,n)}};var Bi=function(t,n,r,i,s){this.token=t,this.isExpr=!!n,this.preserveSpace=!!r,this.override=i,this.generator=!!s},fn={b_stat:new Bi("{",!1),b_expr:new Bi("{",!0),b_tmpl:new Bi("${",!1),p_stat:new Bi("(",!1),p_expr:new Bi("(",!0),q_tmpl:new Bi("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new Bi("function",!1),f_expr:new Bi("function",!0),f_expr_gen:new Bi("function",!0,!1,null,!0),f_gen:new Bi("function",!1,!1,null,!0)},gu=Xn.prototype;gu.initialContext=function(){return[fn.b_stat]};gu.curContext=function(){return this.context[this.context.length-1]};gu.braceIsBlock=function(e){var t=this.curContext();return t===fn.f_expr||t===fn.f_stat?!0:e===F.colon&&(t===fn.b_stat||t===fn.b_expr)?!t.isExpr:e===F._return||e===F.name&&this.exprAllowed?jr.test(this.input.slice(this.lastTokEnd,this.start)):e===F._else||e===F.semi||e===F.eof||e===F.parenR||e===F.arrow?!0:e===F.braceL?t===fn.b_stat:e===F._var||e===F._const||e===F.name?!1:!this.exprAllowed};gu.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function")return t.generator}return!1};gu.updateContext=function(e){var t,n=this.type;n.keyword&&e===F.dot?this.exprAllowed=!1:(t=n.updateContext)?t.call(this,e):this.exprAllowed=n.beforeExpr};gu.overrideContext=function(e){this.curContext()!==e&&(this.context[this.context.length-1]=e)};F.parenR.updateContext=F.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var e=this.context.pop();e===fn.b_stat&&this.curContext().token==="function"&&(e=this.context.pop()),this.exprAllowed=!e.isExpr};F.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?fn.b_stat:fn.b_expr),this.exprAllowed=!0};F.dollarBraceL.updateContext=function(){this.context.push(fn.b_tmpl),this.exprAllowed=!0};F.parenL.updateContext=function(e){var t=e===F._if||e===F._for||e===F._with||e===F._while;this.context.push(t?fn.p_stat:fn.p_expr),this.exprAllowed=!0};F.incDec.updateContext=function(){};F._function.updateContext=F._class.updateContext=function(e){e.beforeExpr&&e!==F._else&&!(e===F.semi&&this.curContext()!==fn.p_stat)&&!(e===F._return&&jr.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===F.colon||e===F.braceL)&&this.curContext()===fn.b_stat)?this.context.push(fn.f_expr):this.context.push(fn.f_stat),this.exprAllowed=!1};F.colon.updateContext=function(){this.curContext().token==="function"&&this.context.pop(),this.exprAllowed=!0};F.backQuote.updateContext=function(){this.curContext()===fn.q_tmpl?this.context.pop():this.context.push(fn.q_tmpl),this.exprAllowed=!1};F.star.updateContext=function(e){if(e===F._function){var t=this.context.length-1;this.context[t]===fn.f_expr?this.context[t]=fn.f_expr_gen:this.context[t]=fn.f_gen}this.exprAllowed=!0};F.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==F.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var ct=Xn.prototype;ct.checkPropClash=function(e,t,n){if(!(this.options.ecmaVersion>=9&&e.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var r=e.key,i;switch(r.type){case"Identifier":i=r.name;break;case"Literal":i=String(r.value);break;default:return}var s=e.kind;if(this.options.ecmaVersion>=6){i==="__proto__"&&s==="init"&&(t.proto&&(n?n.doubleProto<0&&(n.doubleProto=r.start):this.raiseRecoverable(r.start,"Redefinition of __proto__ property")),t.proto=!0);return}i="$"+i;var o=t[i];if(o){var c;s==="init"?c=this.strict&&o.init||o.get||o.set:c=o.init||o[s],c&&this.raiseRecoverable(r.start,"Redefinition of property")}else o=t[i]={init:!1,get:!1,set:!1};o[s]=!0}};ct.parseExpression=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeAssign(e,t);if(this.type===F.comma){var s=this.startNodeAt(n,r);for(s.expressions=[i];this.eat(F.comma);)s.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(s,"SequenceExpression")}return i};ct.parseMaybeAssign=function(e,t,n){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var r=!1,i=-1,s=-1,o=-1;t?(i=t.parenthesizedAssign,s=t.trailingComma,o=t.doubleProto,t.parenthesizedAssign=t.trailingComma=-1):(t=new Ep,r=!0);var c=this.start,f=this.startLoc;(this.type===F.parenL||this.type===F.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=e==="await");var h=this.parseMaybeConditional(e,t);if(n&&(h=n.call(this,h,c,f)),this.type.isAssign){var g=this.startNodeAt(c,f);return g.operator=this.value,this.type===F.eq&&(h=this.toAssignable(h,!1,t)),r||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=h.start&&(t.shorthandAssign=-1),this.type===F.eq?this.checkLValPattern(h):this.checkLValSimple(h),g.left=h,this.next(),g.right=this.parseMaybeAssign(e),o>-1&&(t.doubleProto=o),this.finishNode(g,"AssignmentExpression")}else r&&this.checkExpressionErrors(t,!0);return i>-1&&(t.parenthesizedAssign=i),s>-1&&(t.trailingComma=s),h};ct.parseMaybeConditional=function(e,t){var n=this.start,r=this.startLoc,i=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return i;if(this.eat(F.question)){var s=this.startNodeAt(n,r);return s.test=i,s.consequent=this.parseMaybeAssign(),this.expect(F.colon),s.alternate=this.parseMaybeAssign(e),this.finishNode(s,"ConditionalExpression")}return i};ct.parseExprOps=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeUnary(t,!1,!1,e);return this.checkExpressionErrors(t)||i.start===n&&i.type==="ArrowFunctionExpression"?i:this.parseExprOp(i,n,r,-1,e)};ct.parseExprOp=function(e,t,n,r,i){var s=this.type.binop;if(s!=null&&(!i||this.type!==F._in)&&s>r){var o=this.type===F.logicalOR||this.type===F.logicalAND,c=this.type===F.coalesce;c&&(s=F.logicalAND.binop);var f=this.value;this.next();var h=this.start,g=this.startLoc,m=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,i),h,g,s,i),x=this.buildBinary(t,n,e,m,f,o||c);return(o&&this.type===F.coalesce||c&&(this.type===F.logicalOR||this.type===F.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(x,t,n,r,i)}return e};ct.buildBinary=function(e,t,n,r,i,s){r.type==="PrivateIdentifier"&&this.raise(r.start,"Private identifier can only be left side of binary expression");var o=this.startNodeAt(e,t);return o.left=n,o.operator=i,o.right=r,this.finishNode(o,s?"LogicalExpression":"BinaryExpression")};ct.parseMaybeUnary=function(e,t,n,r){var i=this.start,s=this.startLoc,o;if(this.isContextual("await")&&this.canAwait)o=this.parseAwait(r),t=!0;else if(this.type.prefix){var c=this.startNode(),f=this.type===F.incDec;c.operator=this.value,c.prefix=!0,this.next(),c.argument=this.parseMaybeUnary(null,!0,f,r),this.checkExpressionErrors(e,!0),f?this.checkLValSimple(c.argument):this.strict&&c.operator==="delete"&&d9(c.argument)?this.raiseRecoverable(c.start,"Deleting local variable in strict mode"):c.operator==="delete"&&_g(c.argument)?this.raiseRecoverable(c.start,"Private fields can not be deleted"):t=!0,o=this.finishNode(c,f?"UpdateExpression":"UnaryExpression")}else if(!t&&this.type===F.privateId)(r||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),o=this.parsePrivateIdent(),this.type!==F._in&&this.unexpected();else{if(o=this.parseExprSubscripts(e,r),this.checkExpressionErrors(e))return o;for(;this.type.postfix&&!this.canInsertSemicolon();){var h=this.startNodeAt(i,s);h.operator=this.value,h.prefix=!1,h.argument=o,this.checkLValSimple(o),this.next(),o=this.finishNode(h,"UpdateExpression")}}if(!n&&this.eat(F.starstar))if(t)this.unexpected(this.lastTokStart);else return this.buildBinary(i,s,o,this.parseMaybeUnary(null,!1,!1,r),"**",!1);else return o};function d9(e){return e.type==="Identifier"||e.type==="ParenthesizedExpression"&&d9(e.expression)}function _g(e){return e.type==="MemberExpression"&&e.property.type==="PrivateIdentifier"||e.type==="ChainExpression"&&_g(e.expression)||e.type==="ParenthesizedExpression"&&_g(e.expression)}ct.parseExprSubscripts=function(e,t){var n=this.start,r=this.startLoc,i=this.parseExprAtom(e,t);if(i.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return i;var s=this.parseSubscripts(i,n,r,!1,t);return e&&s.type==="MemberExpression"&&(e.parenthesizedAssign>=s.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=s.start&&(e.parenthesizedBind=-1),e.trailingComma>=s.start&&(e.trailingComma=-1)),s};ct.parseSubscripts=function(e,t,n,r,i){for(var s=this.options.ecmaVersion>=8&&e.type==="Identifier"&&e.name==="async"&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.potentialArrowAt===e.start,o=!1;;){var c=this.parseSubscript(e,t,n,r,s,o,i);if(c.optional&&(o=!0),c===e||c.type==="ArrowFunctionExpression"){if(o){var f=this.startNodeAt(t,n);f.expression=c,c=this.finishNode(f,"ChainExpression")}return c}e=c}};ct.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(F.arrow)};ct.parseSubscriptAsyncArrow=function(e,t,n,r){return this.parseArrowExpression(this.startNodeAt(e,t),n,!0,r)};ct.parseSubscript=function(e,t,n,r,i,s,o){var c=this.options.ecmaVersion>=11,f=c&&this.eat(F.questionDot);r&&f&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var h=this.eat(F.bracketL);if(h||f&&this.type!==F.parenL&&this.type!==F.backQuote||this.eat(F.dot)){var g=this.startNodeAt(t,n);g.object=e,h?(g.property=this.parseExpression(),this.expect(F.bracketR)):this.type===F.privateId&&e.type!=="Super"?g.property=this.parsePrivateIdent():g.property=this.parseIdent(this.options.allowReserved!=="never"),g.computed=!!h,c&&(g.optional=f),e=this.finishNode(g,"MemberExpression")}else if(!r&&this.eat(F.parenL)){var m=new Ep,x=this.yieldPos,v=this.awaitPos,E=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var k=this.parseExprList(F.parenR,this.options.ecmaVersion>=8,!1,m);if(i&&!f&&this.shouldParseAsyncArrow())return this.checkPatternErrors(m,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=x,this.awaitPos=v,this.awaitIdentPos=E,this.parseSubscriptAsyncArrow(t,n,k,o);this.checkExpressionErrors(m,!0),this.yieldPos=x||this.yieldPos,this.awaitPos=v||this.awaitPos,this.awaitIdentPos=E||this.awaitIdentPos;var T=this.startNodeAt(t,n);T.callee=e,T.arguments=k,c&&(T.optional=f),e=this.finishNode(T,"CallExpression")}else if(this.type===F.backQuote){(f||s)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var C=this.startNodeAt(t,n);C.tag=e,C.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(C,"TaggedTemplateExpression")}return e};ct.parseExprAtom=function(e,t,n){this.type===F.slash&&this.readRegexp();var r,i=this.potentialArrowAt===this.start;switch(this.type){case F._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),r=this.startNode(),this.next(),this.type===F.parenL&&!this.allowDirectSuper&&this.raise(r.start,"super() call outside constructor of a subclass"),this.type!==F.dot&&this.type!==F.bracketL&&this.type!==F.parenL&&this.unexpected(),this.finishNode(r,"Super");case F._this:return r=this.startNode(),this.next(),this.finishNode(r,"ThisExpression");case F.name:var s=this.start,o=this.startLoc,c=this.containsEsc,f=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!c&&f.name==="async"&&!this.canInsertSemicolon()&&this.eat(F._function))return this.overrideContext(fn.f_expr),this.parseFunction(this.startNodeAt(s,o),0,!1,!0,t);if(i&&!this.canInsertSemicolon()){if(this.eat(F.arrow))return this.parseArrowExpression(this.startNodeAt(s,o),[f],!1,t);if(this.options.ecmaVersion>=8&&f.name==="async"&&this.type===F.name&&!c&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return f=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(F.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(s,o),[f],!0,t)}return f;case F.regexp:var h=this.value;return r=this.parseLiteral(h.value),r.regex={pattern:h.pattern,flags:h.flags},r;case F.num:case F.string:return this.parseLiteral(this.value);case F._null:case F._true:case F._false:return r=this.startNode(),r.value=this.type===F._null?null:this.type===F._true,r.raw=this.type.keyword,this.next(),this.finishNode(r,"Literal");case F.parenL:var g=this.start,m=this.parseParenAndDistinguishExpression(i,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(m)&&(e.parenthesizedAssign=g),e.parenthesizedBind<0&&(e.parenthesizedBind=g)),m;case F.bracketL:return r=this.startNode(),this.next(),r.elements=this.parseExprList(F.bracketR,!0,!0,e),this.finishNode(r,"ArrayExpression");case F.braceL:return this.overrideContext(fn.b_expr),this.parseObj(!1,e);case F._function:return r=this.startNode(),this.next(),this.parseFunction(r,0);case F._class:return this.parseClass(this.startNode(),!1);case F._new:return this.parseNew();case F.backQuote:return this.parseTemplate();case F._import:return this.options.ecmaVersion>=11?this.parseExprImport(n):this.unexpected();default:return this.parseExprAtomDefault()}};ct.parseExprAtomDefault=function(){this.unexpected()};ct.parseExprImport=function(e){var t=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===F.parenL&&!e)return this.parseDynamicImport(t);if(this.type===F.dot){var n=this.startNodeAt(t.start,t.loc&&t.loc.start);return n.name="import",t.meta=this.finishNode(n,"Identifier"),this.parseImportMeta(t)}else this.unexpected()};ct.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)this.eat(F.parenR)?e.options=null:(this.expect(F.comma),this.afterTrailingComma(F.parenR)?e.options=null:(e.options=this.parseMaybeAssign(),this.eat(F.parenR)||(this.expect(F.comma),this.afterTrailingComma(F.parenR)||this.unexpected())));else if(!this.eat(F.parenR)){var t=this.start;this.eat(F.comma)&&this.eat(F.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")};ct.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="meta"&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")};ct.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),t.raw.charCodeAt(t.raw.length-1)===110&&(t.bigint=t.value!=null?t.value.toString():t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")};ct.parseParenExpression=function(){this.expect(F.parenL);var e=this.parseExpression();return this.expect(F.parenR),e};ct.shouldParseArrow=function(e){return!this.canInsertSemicolon()};ct.parseParenAndDistinguishExpression=function(e,t){var n=this.start,r=this.startLoc,i,s=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var o=this.start,c=this.startLoc,f=[],h=!0,g=!1,m=new Ep,x=this.yieldPos,v=this.awaitPos,E;for(this.yieldPos=0,this.awaitPos=0;this.type!==F.parenR;)if(h?h=!1:this.expect(F.comma),s&&this.afterTrailingComma(F.parenR,!0)){g=!0;break}else if(this.type===F.ellipsis){E=this.start,f.push(this.parseParenItem(this.parseRestBinding())),this.type===F.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else f.push(this.parseMaybeAssign(!1,m,this.parseParenItem));var k=this.lastTokEnd,T=this.lastTokEndLoc;if(this.expect(F.parenR),e&&this.shouldParseArrow(f)&&this.eat(F.arrow))return this.checkPatternErrors(m,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=x,this.awaitPos=v,this.parseParenArrowList(n,r,f,t);(!f.length||g)&&this.unexpected(this.lastTokStart),E&&this.unexpected(E),this.checkExpressionErrors(m,!0),this.yieldPos=x||this.yieldPos,this.awaitPos=v||this.awaitPos,f.length>1?(i=this.startNodeAt(o,c),i.expressions=f,this.finishNodeAt(i,"SequenceExpression",k,T)):i=f[0]}else i=this.parseParenExpression();if(this.options.preserveParens){var C=this.startNodeAt(n,r);return C.expression=i,this.finishNode(C,"ParenthesizedExpression")}else return i};ct.parseParenItem=function(e){return e};ct.parseParenArrowList=function(e,t,n,r){return this.parseArrowExpression(this.startNodeAt(e,t),n,!1,r)};var sB=[];ct.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===F.dot){var t=this.startNodeAt(e.start,e.loc&&e.loc.start);t.name="new",e.meta=this.finishNode(t,"Identifier"),this.next();var n=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="target"&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),n&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block"),this.finishNode(e,"MetaProperty")}var r=this.start,i=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),r,i,!0,!1),this.eat(F.parenL)?e.arguments=this.parseExprList(F.parenR,this.options.ecmaVersion>=8,!1):e.arguments=sB,this.finishNode(e,"NewExpression")};ct.parseTemplateElement=function(e){var t=e.isTagged,n=this.startNode();return this.type===F.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),n.value={raw:this.value.replace(/\r\n?/g,`
221
- `),cooked:null}):n.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
222
- `),cooked:this.value},this.next(),n.tail=this.type===F.backQuote,this.finishNode(n,"TemplateElement")};ct.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var n=this.startNode();this.next(),n.expressions=[];var r=this.parseTemplateElement({isTagged:t});for(n.quasis=[r];!r.tail;)this.type===F.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(F.dollarBraceL),n.expressions.push(this.parseExpression()),this.expect(F.braceR),n.quasis.push(r=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(n,"TemplateLiteral")};ct.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===F.name||this.type===F.num||this.type===F.string||this.type===F.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===F.star)&&!jr.test(this.input.slice(this.lastTokEnd,this.start))};ct.parseObj=function(e,t){var n=this.startNode(),r=!0,i={};for(n.properties=[],this.next();!this.eat(F.braceR);){if(r)r=!1;else if(this.expect(F.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(F.braceR))break;var s=this.parseProperty(e,t);e||this.checkPropClash(s,i,t),n.properties.push(s)}return this.finishNode(n,e?"ObjectPattern":"ObjectExpression")};ct.parseProperty=function(e,t){var n=this.startNode(),r,i,s,o;if(this.options.ecmaVersion>=9&&this.eat(F.ellipsis))return e?(n.argument=this.parseIdent(!1),this.type===F.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(n,"RestElement")):(n.argument=this.parseMaybeAssign(!1,t),this.type===F.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(n,"SpreadElement"));this.options.ecmaVersion>=6&&(n.method=!1,n.shorthand=!1,(e||t)&&(s=this.start,o=this.startLoc),e||(r=this.eat(F.star)));var c=this.containsEsc;return this.parsePropertyName(n),!e&&!c&&this.options.ecmaVersion>=8&&!r&&this.isAsyncProp(n)?(i=!0,r=this.options.ecmaVersion>=9&&this.eat(F.star),this.parsePropertyName(n)):i=!1,this.parsePropertyValue(n,e,r,i,s,o,t,c),this.finishNode(n,"Property")};ct.parseGetterSetter=function(e){var t=e.key.name;this.parsePropertyName(e),e.value=this.parseMethod(!1),e.kind=t;var n=e.kind==="get"?0:1;if(e.value.params.length!==n){var r=e.value.start;e.kind==="get"?this.raiseRecoverable(r,"getter should have no params"):this.raiseRecoverable(r,"setter should have exactly one param")}else e.kind==="set"&&e.value.params[0].type==="RestElement"&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")};ct.parsePropertyValue=function(e,t,n,r,i,s,o,c){(n||r)&&this.type===F.colon&&this.unexpected(),this.eat(F.colon)?(e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,o),e.kind="init"):this.options.ecmaVersion>=6&&this.type===F.parenL?(t&&this.unexpected(),e.method=!0,e.value=this.parseMethod(n,r),e.kind="init"):!t&&!c&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==F.comma&&this.type!==F.braceR&&this.type!==F.eq?((n||r)&&this.unexpected(),this.parseGetterSetter(e)):this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"?((n||r)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=i),t?e.value=this.parseMaybeDefault(i,s,this.copyNode(e.key)):this.type===F.eq&&o?(o.shorthandAssign<0&&(o.shorthandAssign=this.start),e.value=this.parseMaybeDefault(i,s,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.kind="init",e.shorthand=!0):this.unexpected()};ct.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(F.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(F.bracketR),e.key;e.computed=!1}return e.key=this.type===F.num||this.type===F.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};ct.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)};ct.parseMethod=function(e,t,n){var r=this.startNode(),i=this.yieldPos,s=this.awaitPos,o=this.awaitIdentPos;return this.initFunction(r),this.options.ecmaVersion>=6&&(r.generator=e),this.options.ecmaVersion>=8&&(r.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Lx(t,r.generator)|Sp|(n?u9:0)),this.expect(F.parenL),r.params=this.parseBindingList(F.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(r,!1,!0,!1),this.yieldPos=i,this.awaitPos=s,this.awaitIdentPos=o,this.finishNode(r,"FunctionExpression")};ct.parseArrowExpression=function(e,t,n,r){var i=this.yieldPos,s=this.awaitPos,o=this.awaitIdentPos;return this.enterScope(Lx(n,!1)|Ix),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!n),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1,r),this.yieldPos=i,this.awaitPos=s,this.awaitIdentPos=o,this.finishNode(e,"ArrowFunctionExpression")};ct.parseFunctionBody=function(e,t,n,r){var i=t&&this.type!==F.braceL,s=this.strict,o=!1;if(i)e.body=this.parseMaybeAssign(r),e.expression=!0,this.checkParams(e,!1);else{var c=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!s||c)&&(o=this.strictDirective(this.end),o&&c&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var f=this.labels;this.labels=[],o&&(this.strict=!0),this.checkParams(e,!s&&!o&&!t&&!n&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,h9),e.body=this.parseBlock(!1,void 0,o&&!s),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=f}this.exitScope()};ct.isSimpleParamList=function(e){for(var t=0,n=e;t<n.length;t+=1){var r=n[t];if(r.type!=="Identifier")return!1}return!0};ct.checkParams=function(e,t){for(var n=Object.create(null),r=0,i=e.params;r<i.length;r+=1){var s=i[r];this.checkLValInnerPattern(s,zx,t?null:n)}};ct.parseExprList=function(e,t,n,r){for(var i=[],s=!0;!this.eat(e);){if(s)s=!1;else if(this.expect(F.comma),t&&this.afterTrailingComma(e))break;var o=void 0;n&&this.type===F.comma?o=null:this.type===F.ellipsis?(o=this.parseSpread(r),r&&this.type===F.comma&&r.trailingComma<0&&(r.trailingComma=this.start)):o=this.parseMaybeAssign(!1,r),i.push(o)}return i};ct.checkUnreserved=function(e){var t=e.start,n=e.end,r=e.name;if(this.inGenerator&&r==="yield"&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&r==="await"&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),!(this.currentThisScope().flags&kp)&&r==="arguments"&&this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&(r==="arguments"||r==="await")&&this.raise(t,"Cannot use "+r+" in class static initialization block"),this.keywords.test(r)&&this.raise(t,"Unexpected keyword '"+r+"'"),!(this.options.ecmaVersion<6&&this.input.slice(t,n).indexOf("\\")!==-1)){var i=this.strict?this.reservedWordsStrict:this.reservedWords;i.test(r)&&(!this.inAsync&&r==="await"&&this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+r+"' is reserved"))}};ct.parseIdent=function(e){var t=this.parseIdentNode();return this.next(!!e),this.finishNode(t,"Identifier"),e||(this.checkUnreserved(t),t.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=t.start)),t};ct.parseIdentNode=function(){var e=this.startNode();return this.type===F.name?e.name=this.value:this.type.keyword?(e.name=this.type.keyword,(e.name==="class"||e.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop(),this.type=F.name):this.unexpected(),e};ct.parsePrivateIdent=function(){var e=this.startNode();return this.type===F.privateId?e.name=this.value:this.unexpected(),this.next(),this.finishNode(e,"PrivateIdentifier"),this.options.checkPrivateFields&&(this.privateNameStack.length===0?this.raise(e.start,"Private field '#"+e.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(e)),e};ct.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===F.semi||this.canInsertSemicolon()||this.type!==F.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(F.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")};ct.parseAwait=function(e){this.awaitPos||(this.awaitPos=this.start);var t=this.startNode();return this.next(),t.argument=this.parseMaybeUnary(null,!0,!1,e),this.finishNode(t,"AwaitExpression")};var Fh=Xn.prototype;Fh.raise=function(e,t){var n=s9(this.input,e);t+=" ("+n.line+":"+n.column+")",this.sourceFile&&(t+=" in "+this.sourceFile);var r=new SyntaxError(t);throw r.pos=e,r.loc=n,r.raisedAt=this.pos,r};Fh.raiseRecoverable=Fh.raise;Fh.curPosition=function(){if(this.options.locations)return new Qc(this.curLine,this.pos-this.lineStart)};var cl=Xn.prototype,lB=function(t){this.flags=t,this.var=[],this.lexical=[],this.functions=[]};cl.enterScope=function(e){this.scopeStack.push(new lB(e))};cl.exitScope=function(){this.scopeStack.pop()};cl.treatFunctionsAsVarInScope=function(e){return e.flags&mu||!this.inModule&&e.flags&Zc};cl.declareName=function(e,t,n){var r=!1;if(t===is){var i=this.currentScope();r=i.lexical.indexOf(e)>-1||i.functions.indexOf(e)>-1||i.var.indexOf(e)>-1,i.lexical.push(e),this.inModule&&i.flags&Zc&&delete this.undefinedExports[e]}else if(t===f9){var s=this.currentScope();s.lexical.push(e)}else if(t===c9){var o=this.currentScope();this.treatFunctionsAsVar?r=o.lexical.indexOf(e)>-1:r=o.lexical.indexOf(e)>-1||o.var.indexOf(e)>-1,o.functions.push(e)}else for(var c=this.scopeStack.length-1;c>=0;--c){var f=this.scopeStack[c];if(f.lexical.indexOf(e)>-1&&!(f.flags&o9&&f.lexical[0]===e)||!this.treatFunctionsAsVarInScope(f)&&f.functions.indexOf(e)>-1){r=!0;break}if(f.var.push(e),this.inModule&&f.flags&Zc&&delete this.undefinedExports[e],f.flags&kp)break}r&&this.raiseRecoverable(n,"Identifier '"+e+"' has already been declared")};cl.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)};cl.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};cl.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&(kp|w0|Wl))return t}};cl.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&(kp|w0|Wl)&&!(t.flags&Ix))return t}};var Cp=function(t,n,r){this.type="",this.start=n,this.end=0,t.options.locations&&(this.loc=new wp(t,r)),t.options.directSourceFile&&(this.sourceFile=t.options.directSourceFile),t.options.ranges&&(this.range=[n,0])},S0=Xn.prototype;S0.startNode=function(){return new Cp(this,this.start,this.startLoc)};S0.startNodeAt=function(e,t){return new Cp(this,e,t)};function m9(e,t,n,r){return e.type=t,e.end=n,this.options.locations&&(e.loc.end=r),this.options.ranges&&(e.range[1]=n),e}S0.finishNode=function(e,t){return m9.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};S0.finishNodeAt=function(e,t,n,r){return m9.call(this,e,t,n,r)};S0.copyNode=function(e){var t=new Cp(this,e.start,this.startLoc);for(var n in e)t[n]=e[n];return t};var oB="Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz",g9="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",x9=g9+" Extended_Pictographic",y9=x9,v9=y9+" EBase EComp EMod EPres ExtPict",b9=v9,uB=b9,cB={9:g9,10:x9,11:y9,12:v9,13:b9,14:uB},fB="Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji",hB={9:"",10:"",11:"",12:"",13:"",14:fB},$3="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",w9="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",S9=w9+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",k9=S9+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",E9=k9+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",C9=E9+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",pB=C9+" "+oB,dB={9:w9,10:S9,11:k9,12:E9,13:C9,14:pB},A9={};function mB(e){var t=A9[e]={binary:$s(cB[e]+" "+$3),binaryOfStrings:$s(hB[e]),nonBinary:{General_Category:$s($3),Script:$s(dB[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}for(var C1=0,W3=[9,10,11,12,13,14];C1<W3.length;C1+=1){var gB=W3[C1];mB(gB)}var Ye=Xn.prototype,Vh=function(t,n){this.parent=t,this.base=n||this};Vh.prototype.separatedFrom=function(t){for(var n=this;n;n=n.parent)for(var r=t;r;r=r.parent)if(n.base===r.base&&n!==r)return!0;return!1};Vh.prototype.sibling=function(){return new Vh(this.parent,this.base)};var ma=function(t){this.parser=t,this.validFlags="gim"+(t.options.ecmaVersion>=6?"uy":"")+(t.options.ecmaVersion>=9?"s":"")+(t.options.ecmaVersion>=13?"d":"")+(t.options.ecmaVersion>=15?"v":""),this.unicodeProperties=A9[t.options.ecmaVersion>=14?14:t.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null};ma.prototype.reset=function(t,n,r){var i=r.indexOf("v")!==-1,s=r.indexOf("u")!==-1;this.start=t|0,this.source=n+"",this.flags=r,i&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=s&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=s&&this.parser.options.ecmaVersion>=9)};ma.prototype.raise=function(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)};ma.prototype.at=function(t,n){n===void 0&&(n=!1);var r=this.source,i=r.length;if(t>=i)return-1;var s=r.charCodeAt(t);if(!(n||this.switchU)||s<=55295||s>=57344||t+1>=i)return s;var o=r.charCodeAt(t+1);return o>=56320&&o<=57343?(s<<10)+o-56613888:s};ma.prototype.nextIndex=function(t,n){n===void 0&&(n=!1);var r=this.source,i=r.length;if(t>=i)return i;var s=r.charCodeAt(t),o;return!(n||this.switchU)||s<=55295||s>=57344||t+1>=i||(o=r.charCodeAt(t+1))<56320||o>57343?t+1:t+2};ma.prototype.current=function(t){return t===void 0&&(t=!1),this.at(this.pos,t)};ma.prototype.lookahead=function(t){return t===void 0&&(t=!1),this.at(this.nextIndex(this.pos,t),t)};ma.prototype.advance=function(t){t===void 0&&(t=!1),this.pos=this.nextIndex(this.pos,t)};ma.prototype.eat=function(t,n){return n===void 0&&(n=!1),this.current(n)===t?(this.advance(n),!0):!1};ma.prototype.eatChars=function(t,n){n===void 0&&(n=!1);for(var r=this.pos,i=0,s=t;i<s.length;i+=1){var o=s[i],c=this.at(r,n);if(c===-1||c!==o)return!1;r=this.nextIndex(r,n)}return this.pos=r,!0};Ye.validateRegExpFlags=function(e){for(var t=e.validFlags,n=e.flags,r=!1,i=!1,s=0;s<n.length;s++){var o=n.charAt(s);t.indexOf(o)===-1&&this.raise(e.start,"Invalid regular expression flag"),n.indexOf(o,s+1)>-1&&this.raise(e.start,"Duplicate regular expression flag"),o==="u"&&(r=!0),o==="v"&&(i=!0)}this.options.ecmaVersion>=15&&r&&i&&this.raise(e.start,"Invalid regular expression flag")};function xB(e){for(var t in e)return!0;return!1}Ye.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&xB(e.groupNames)&&(e.switchN=!0,this.regexp_pattern(e))};Ye.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames=Object.create(null),e.backReferenceNames.length=0,e.branchID=null,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,n=e.backReferenceNames;t<n.length;t+=1){var r=n[t];e.groupNames[r]||e.raise("Invalid named capture referenced")}};Ye.regexp_disjunction=function(e){var t=this.options.ecmaVersion>=16;for(t&&(e.branchID=new Vh(e.branchID,null)),this.regexp_alternative(e);e.eat(124);)t&&(e.branchID=e.branchID.sibling()),this.regexp_alternative(e);t&&(e.branchID=e.branchID.parent),this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")};Ye.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););};Ye.regexp_eatTerm=function(e){return this.regexp_eatAssertion(e)?(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)&&e.switchU&&e.raise("Invalid quantifier"),!0):(e.switchU?this.regexp_eatAtom(e):this.regexp_eatExtendedAtom(e))?(this.regexp_eatQuantifier(e),!0):!1};Ye.regexp_eatAssertion=function(e){var t=e.pos;if(e.lastAssertionIsQuantifiable=!1,e.eat(94)||e.eat(36))return!0;if(e.eat(92)){if(e.eat(66)||e.eat(98))return!0;e.pos=t}if(e.eat(40)&&e.eat(63)){var n=!1;if(this.options.ecmaVersion>=9&&(n=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!n,!0}return e.pos=t,!1};Ye.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1};Ye.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};Ye.regexp_eatBracedQuantifier=function(e,t){var n=e.pos;if(e.eat(123)){var r=0,i=-1;if(this.regexp_eatDecimalDigits(e)&&(r=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue),e.eat(125)))return i!==-1&&i<r&&!t&&e.raise("numbers out of order in {} quantifier"),!0;e.switchU&&!t&&e.raise("Incomplete quantifier"),e.pos=n}return!1};Ye.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)};Ye.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1};Ye.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)){if(this.options.ecmaVersion>=16){var n=this.regexp_eatModifiers(e),r=e.eat(45);if(n||r){for(var i=0;i<n.length;i++){var s=n.charAt(i);n.indexOf(s,i+1)>-1&&e.raise("Duplicate regular expression modifiers")}if(r){var o=this.regexp_eatModifiers(e);!n&&!o&&e.current()===58&&e.raise("Invalid regular expression modifiers");for(var c=0;c<o.length;c++){var f=o.charAt(c);(o.indexOf(f,c+1)>-1||n.indexOf(f)>-1)&&e.raise("Duplicate regular expression modifiers")}}}}if(e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise("Unterminated group")}}e.pos=t}return!1};Ye.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(e):e.current()===63&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1};Ye.regexp_eatModifiers=function(e){for(var t="",n=0;(n=e.current())!==-1&&yB(n);)t+=Za(n),e.advance();return t};function yB(e){return e===105||e===109||e===115}Ye.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)};Ye.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1};Ye.regexp_eatSyntaxCharacter=function(e){var t=e.current();return T9(t)?(e.lastIntValue=t,e.advance(),!0):!1};function T9(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}Ye.regexp_eatPatternCharacters=function(e){for(var t=e.pos,n=0;(n=e.current())!==-1&&!T9(n);)e.advance();return e.pos!==t};Ye.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124?(e.advance(),!0):!1};Ye.regexp_groupSpecifier=function(e){if(e.eat(63)){this.regexp_eatGroupName(e)||e.raise("Invalid group");var t=this.options.ecmaVersion>=16,n=e.groupNames[e.lastStringValue];if(n)if(t)for(var r=0,i=n;r<i.length;r+=1){var s=i[r];s.separatedFrom(e.branchID)||e.raise("Duplicate capture group name")}else e.raise("Duplicate capture group name");t?(n||(e.groupNames[e.lastStringValue]=[])).push(e.branchID):e.groupNames[e.lastStringValue]=!0}};Ye.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1};Ye.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=Za(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=Za(e.lastIntValue);return!0}return!1};Ye.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,n=this.options.ecmaVersion>=11,r=e.current(n);return e.advance(n),r===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,n)&&(r=e.lastIntValue),vB(r)?(e.lastIntValue=r,!0):(e.pos=t,!1)};function vB(e){return fa(e,!0)||e===36||e===95}Ye.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,n=this.options.ecmaVersion>=11,r=e.current(n);return e.advance(n),r===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,n)&&(r=e.lastIntValue),bB(r)?(e.lastIntValue=r,!0):(e.pos=t,!1)};function bB(e){return il(e,!0)||e===36||e===95||e===8204||e===8205}Ye.regexp_eatAtomEscape=function(e){return this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)?!0:(e.switchU&&(e.current()===99&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)};Ye.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var n=e.lastIntValue;if(e.switchU)return n>e.maxBackReference&&(e.maxBackReference=n),!0;if(n<=e.numCapturingParens)return!0;e.pos=t}return!1};Ye.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1};Ye.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)};Ye.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1};Ye.regexp_eatZero=function(e){return e.current()===48&&!Ap(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1};Ye.regexp_eatControlEscape=function(e){var t=e.current();return t===116?(e.lastIntValue=9,e.advance(),!0):t===110?(e.lastIntValue=10,e.advance(),!0):t===118?(e.lastIntValue=11,e.advance(),!0):t===102?(e.lastIntValue=12,e.advance(),!0):t===114?(e.lastIntValue=13,e.advance(),!0):!1};Ye.regexp_eatControlLetter=function(e){var t=e.current();return M9(t)?(e.lastIntValue=t%32,e.advance(),!0):!1};function M9(e){return e>=65&&e<=90||e>=97&&e<=122}Ye.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var n=e.pos,r=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var i=e.lastIntValue;if(r&&i>=55296&&i<=56319){var s=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var o=e.lastIntValue;if(o>=56320&&o<=57343)return e.lastIntValue=(i-55296)*1024+(o-56320)+65536,!0}e.pos=s,e.lastIntValue=i}return!0}if(r&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&wB(e.lastIntValue))return!0;r&&e.raise("Invalid unicode escape"),e.pos=n}return!1};function wB(e){return e>=0&&e<=1114111}Ye.regexp_eatIdentityEscape=function(e){if(e.switchU)return this.regexp_eatSyntaxCharacter(e)?!0:e.eat(47)?(e.lastIntValue=47,!0):!1;var t=e.current();return t!==99&&(!e.switchN||t!==107)?(e.lastIntValue=t,e.advance(),!0):!1};Ye.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();while((t=e.current())>=48&&t<=57);return!0}return!1};var N9=0,es=1,Si=2;Ye.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(SB(t))return e.lastIntValue=-1,e.advance(),es;var n=!1;if(e.switchU&&this.options.ecmaVersion>=9&&((n=t===80)||t===112)){e.lastIntValue=-1,e.advance();var r;if(e.eat(123)&&(r=this.regexp_eatUnicodePropertyValueExpression(e))&&e.eat(125))return n&&r===Si&&e.raise("Invalid property name"),r;e.raise("Invalid property name")}return N9};function SB(e){return e===100||e===68||e===115||e===83||e===119||e===87}Ye.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var n=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var r=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,n,r),es}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,i)}return N9};Ye.regexp_validateUnicodePropertyNameAndValue=function(e,t,n){du(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(n)||e.raise("Invalid property value")};Ye.regexp_validateUnicodePropertyNameOrValue=function(e,t){if(e.unicodeProperties.binary.test(t))return es;if(e.switchV&&e.unicodeProperties.binaryOfStrings.test(t))return Si;e.raise("Invalid property name")};Ye.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";_9(t=e.current());)e.lastStringValue+=Za(t),e.advance();return e.lastStringValue!==""};function _9(e){return M9(e)||e===95}Ye.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";kB(t=e.current());)e.lastStringValue+=Za(t),e.advance();return e.lastStringValue!==""};function kB(e){return _9(e)||Ap(e)}Ye.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};Ye.regexp_eatCharacterClass=function(e){if(e.eat(91)){var t=e.eat(94),n=this.regexp_classContents(e);return e.eat(93)||e.raise("Unterminated character class"),t&&n===Si&&e.raise("Negated character class may contain strings"),!0}return!1};Ye.regexp_classContents=function(e){return e.current()===93?es:e.switchV?this.regexp_classSetExpression(e):(this.regexp_nonEmptyClassRanges(e),es)};Ye.regexp_nonEmptyClassRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var n=e.lastIntValue;e.switchU&&(t===-1||n===-1)&&e.raise("Invalid character class"),t!==-1&&n!==-1&&t>n&&e.raise("Range out of order in character class")}}};Ye.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var n=e.current();(n===99||O9(n))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var r=e.current();return r!==93?(e.lastIntValue=r,e.advance(),!0):!1};Ye.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)};Ye.regexp_classSetExpression=function(e){var t=es,n;if(!this.regexp_eatClassSetRange(e))if(n=this.regexp_eatClassSetOperand(e)){n===Si&&(t=Si);for(var r=e.pos;e.eatChars([38,38]);){if(e.current()!==38&&(n=this.regexp_eatClassSetOperand(e))){n!==Si&&(t=es);continue}e.raise("Invalid character in character class")}if(r!==e.pos)return t;for(;e.eatChars([45,45]);)this.regexp_eatClassSetOperand(e)||e.raise("Invalid character in character class");if(r!==e.pos)return t}else e.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(e)){if(n=this.regexp_eatClassSetOperand(e),!n)return t;n===Si&&(t=Si)}};Ye.regexp_eatClassSetRange=function(e){var t=e.pos;if(this.regexp_eatClassSetCharacter(e)){var n=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassSetCharacter(e)){var r=e.lastIntValue;return n!==-1&&r!==-1&&n>r&&e.raise("Range out of order in character class"),!0}e.pos=t}return!1};Ye.regexp_eatClassSetOperand=function(e){return this.regexp_eatClassSetCharacter(e)?es:this.regexp_eatClassStringDisjunction(e)||this.regexp_eatNestedClass(e)};Ye.regexp_eatNestedClass=function(e){var t=e.pos;if(e.eat(91)){var n=e.eat(94),r=this.regexp_classContents(e);if(e.eat(93))return n&&r===Si&&e.raise("Negated character class may contain strings"),r;e.pos=t}if(e.eat(92)){var i=this.regexp_eatCharacterClassEscape(e);if(i)return i;e.pos=t}return null};Ye.regexp_eatClassStringDisjunction=function(e){var t=e.pos;if(e.eatChars([92,113])){if(e.eat(123)){var n=this.regexp_classStringDisjunctionContents(e);if(e.eat(125))return n}else e.raise("Invalid escape");e.pos=t}return null};Ye.regexp_classStringDisjunctionContents=function(e){for(var t=this.regexp_classString(e);e.eat(124);)this.regexp_classString(e)===Si&&(t=Si);return t};Ye.regexp_classString=function(e){for(var t=0;this.regexp_eatClassSetCharacter(e);)t++;return t===1?es:Si};Ye.regexp_eatClassSetCharacter=function(e){var t=e.pos;if(e.eat(92))return this.regexp_eatCharacterEscape(e)||this.regexp_eatClassSetReservedPunctuator(e)?!0:e.eat(98)?(e.lastIntValue=8,!0):(e.pos=t,!1);var n=e.current();return n<0||n===e.lookahead()&&EB(n)||CB(n)?!1:(e.advance(),e.lastIntValue=n,!0)};function EB(e){return e===33||e>=35&&e<=38||e>=42&&e<=44||e===46||e>=58&&e<=64||e===94||e===96||e===126}function CB(e){return e===40||e===41||e===45||e===47||e>=91&&e<=93||e>=123&&e<=125}Ye.regexp_eatClassSetReservedPunctuator=function(e){var t=e.current();return AB(t)?(e.lastIntValue=t,e.advance(),!0):!1};function AB(e){return e===33||e===35||e===37||e===38||e===44||e===45||e>=58&&e<=62||e===64||e===96||e===126}Ye.regexp_eatClassControlLetter=function(e){var t=e.current();return Ap(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1};Ye.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1};Ye.regexp_eatDecimalDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;Ap(n=e.current());)e.lastIntValue=10*e.lastIntValue+(n-48),e.advance();return e.pos!==t};function Ap(e){return e>=48&&e<=57}Ye.regexp_eatHexDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;D9(n=e.current());)e.lastIntValue=16*e.lastIntValue+R9(n),e.advance();return e.pos!==t};function D9(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function R9(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}Ye.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var n=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=t*64+n*8+e.lastIntValue:e.lastIntValue=t*8+n}else e.lastIntValue=t;return!0}return!1};Ye.regexp_eatOctalDigit=function(e){var t=e.current();return O9(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)};function O9(e){return e>=48&&e<=55}Ye.regexp_eatFixedHexDigits=function(e,t){var n=e.pos;e.lastIntValue=0;for(var r=0;r<t;++r){var i=e.current();if(!D9(i))return e.pos=n,!1;e.lastIntValue=16*e.lastIntValue+R9(i),e.advance()}return!0};var Bx=function(t){this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,t.options.locations&&(this.loc=new wp(t,t.startLoc,t.endLoc)),t.options.ranges&&(this.range=[t.start,t.end])},Mt=Xn.prototype;Mt.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Bx(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()};Mt.getToken=function(){return this.next(),new Bx(this)};typeof Symbol<"u"&&(Mt[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===F.eof,value:t}}}});Mt.nextToken=function(){var e=this.curContext();if((!e||!e.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(F.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())};Mt.readToken=function(e){return fa(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)};Mt.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=56320)return e;var t=this.input.charCodeAt(this.pos+1);return t<=56319||t>=57344?e:(e<<10)+t-56613888};Mt.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,n=this.input.indexOf("*/",this.pos+=2);if(n===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=n+2,this.options.locations)for(var r=void 0,i=t;(r=r9(this.input,i,this.pos))>-1;)++this.curLine,i=this.lineStart=r;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,n),t,this.pos,e,this.curPosition())};Mt.skipLineComment=function(e){for(var t=this.pos,n=this.options.onComment&&this.curPosition(),r=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!pu(r);)r=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,n,this.curPosition())};Mt.skipSpace=function(){e:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(e>8&&e<14||e>=5760&&i9.test(String.fromCharCode(e)))++this.pos;else break e}}};Mt.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var n=this.type;this.type=e,this.value=t,this.updateContext(n)};Mt.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&e===46&&t===46?(this.pos+=3,this.finishToken(F.ellipsis)):(++this.pos,this.finishToken(F.dot))};Mt.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(F.assign,2):this.finishOp(F.slash,1)};Mt.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),n=1,r=e===42?F.star:F.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++n,r=F.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(F.assign,n+1):this.finishOp(r,n)};Mt.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var n=this.input.charCodeAt(this.pos+2);if(n===61)return this.finishOp(F.assign,3)}return this.finishOp(e===124?F.logicalOR:F.logicalAND,2)}return t===61?this.finishOp(F.assign,2):this.finishOp(e===124?F.bitwiseOR:F.bitwiseAND,1)};Mt.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(F.assign,2):this.finishOp(F.bitwiseXOR,1)};Mt.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||jr.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(F.incDec,2):t===61?this.finishOp(F.assign,2):this.finishOp(F.plusMin,1)};Mt.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),n=1;return t===e?(n=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+n)===61?this.finishOp(F.assign,n+1):this.finishOp(F.bitShift,n)):t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(t===61&&(n=2),this.finishOp(F.relational,n))};Mt.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(F.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(F.arrow)):this.finishOp(e===61?F.eq:F.prefix,1)};Mt.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var n=this.input.charCodeAt(this.pos+2);if(n<48||n>57)return this.finishOp(F.questionDot,2)}if(t===63){if(e>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61)return this.finishOp(F.assign,3)}return this.finishOp(F.coalesce,2)}}return this.finishOp(F.question,1)};Mt.readToken_numberSign=function(){var e=this.options.ecmaVersion,t=35;if(e>=13&&(++this.pos,t=this.fullCharCodeAtPos(),fa(t,!0)||t===92))return this.finishToken(F.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+Za(t)+"'")};Mt.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(F.parenL);case 41:return++this.pos,this.finishToken(F.parenR);case 59:return++this.pos,this.finishToken(F.semi);case 44:return++this.pos,this.finishToken(F.comma);case 91:return++this.pos,this.finishToken(F.bracketL);case 93:return++this.pos,this.finishToken(F.bracketR);case 123:return++this.pos,this.finishToken(F.braceL);case 125:return++this.pos,this.finishToken(F.braceR);case 58:return++this.pos,this.finishToken(F.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(F.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(t===111||t===79)return this.readRadixNumber(8);if(t===98||t===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(F.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+Za(e)+"'")};Mt.finishOp=function(e,t){var n=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,n)};Mt.readRegexp=function(){for(var e,t,n=this.pos;;){this.pos>=this.input.length&&this.raise(n,"Unterminated regular expression");var r=this.input.charAt(this.pos);if(jr.test(r)&&this.raise(n,"Unterminated regular expression"),e)e=!1;else{if(r==="[")t=!0;else if(r==="]"&&t)t=!1;else if(r==="/"&&!t)break;e=r==="\\"}++this.pos}var i=this.input.slice(n,this.pos);++this.pos;var s=this.pos,o=this.readWord1();this.containsEsc&&this.unexpected(s);var c=this.regexpState||(this.regexpState=new ma(this));c.reset(n,i,o),this.validateRegExpFlags(c),this.validateRegExpPattern(c);var f=null;try{f=new RegExp(i,o)}catch{}return this.finishToken(F.regexp,{pattern:i,flags:o,value:f})};Mt.readInt=function(e,t,n){for(var r=this.options.ecmaVersion>=12&&t===void 0,i=n&&this.input.charCodeAt(this.pos)===48,s=this.pos,o=0,c=0,f=0,h=t??1/0;f<h;++f,++this.pos){var g=this.input.charCodeAt(this.pos),m=void 0;if(r&&g===95){i&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),c===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),f===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),c=g;continue}if(g>=97?m=g-97+10:g>=65?m=g-65+10:g>=48&&g<=57?m=g-48:m=1/0,m>=e)break;c=g,o=o*e+m}return r&&c===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===s||t!=null&&this.pos-s!==t?null:o};function TB(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function I9(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}Mt.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var n=this.readInt(e);return n==null&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(n=I9(this.input.slice(t,this.pos)),++this.pos):fa(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(F.num,n)};Mt.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,"Invalid number");var n=this.pos-t>=2&&this.input.charCodeAt(t)===48;n&&this.strict&&this.raise(t,"Invalid number");var r=this.input.charCodeAt(this.pos);if(!n&&!e&&this.options.ecmaVersion>=11&&r===110){var i=I9(this.input.slice(t,this.pos));return++this.pos,fa(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(F.num,i)}n&&/[89]/.test(this.input.slice(t,this.pos))&&(n=!1),r===46&&!n&&(++this.pos,this.readInt(10),r=this.input.charCodeAt(this.pos)),(r===69||r===101)&&!n&&(r=this.input.charCodeAt(++this.pos),(r===43||r===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,"Invalid number")),fa(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var s=TB(this.input.slice(t,this.pos),n);return this.finishToken(F.num,s)};Mt.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){this.options.ecmaVersion<6&&this.unexpected();var n=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(n,"Code point out of bounds")}else t=this.readHexChar(4);return t};Mt.readString=function(e){for(var t="",n=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var r=this.input.charCodeAt(this.pos);if(r===e)break;r===92?(t+=this.input.slice(n,this.pos),t+=this.readEscapedChar(!1),n=this.pos):r===8232||r===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(pu(r)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(n,this.pos++),this.finishToken(F.string,t)};var L9={};Mt.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===L9)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1};Mt.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw L9;this.raise(e,t)};Mt.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var n=this.input.charCodeAt(this.pos);if(n===96||n===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===F.template||this.type===F.invalidTemplate)?n===36?(this.pos+=2,this.finishToken(F.dollarBraceL)):(++this.pos,this.finishToken(F.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(F.template,e));if(n===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(pu(n)){switch(e+=this.input.slice(t,this.pos),++this.pos,n){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+=`
223
- `;break;default:e+=String.fromCharCode(n);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}};Mt.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{")break;case"`":return this.finishToken(F.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":this.input[this.pos+1]===`
224
- `&&++this.pos;case`
225
- `:case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1;break}this.raise(this.start,"Unterminated template")};Mt.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return`
226
- `;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return Za(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),e){var n=this.pos-1;this.invalidStringToken(n,"Invalid escape sequence in template string")}default:if(t>=48&&t<=55){var r=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],i=parseInt(r,8);return i>255&&(r=r.slice(0,-1),i=parseInt(r,8)),this.pos+=r.length-1,t=this.input.charCodeAt(this.pos),(r!=="0"||t===56||t===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-r.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(i)}return pu(t)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(t)}};Mt.readHexChar=function(e){var t=this.pos,n=this.readInt(16,e);return n===null&&this.invalidStringToken(t,"Bad character escape sequence"),n};Mt.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,n=this.pos,r=this.options.ecmaVersion>=6;this.pos<this.input.length;){var i=this.fullCharCodeAtPos();if(il(i,r))this.pos+=i<=65535?1:2;else if(i===92){this.containsEsc=!0,e+=this.input.slice(n,this.pos);var s=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var o=this.readCodePoint();(t?fa:il)(o,r)||this.invalidStringToken(s,"Invalid Unicode escape"),e+=Za(o),n=this.pos}else break;t=!1}return e+this.input.slice(n,this.pos)};Mt.readWord=function(){var e=this.readWord1(),t=F.name;return this.keywords.test(e)&&(t=Rx[e]),this.finishToken(t,e)};var MB="8.15.0";Xn.acorn={Parser:Xn,version:MB,defaultOptions:Mg,Position:Qc,SourceLocation:wp,getLineInfo:s9,Node:Cp,TokenType:Lt,tokTypes:F,keywordTypes:Rx,TokContext:Bi,tokContexts:fn,isIdentifierChar:il,isIdentifierStart:fa,Token:Bx,isNewLine:pu,lineBreak:jr,lineBreakG:WP,nonASCIIwhitespace:i9};const ar=fl(/[A-Za-z]/),sr=fl(/[\dA-Za-z]/),NB=fl(/[#-'*+\--9=?A-Z^-~]/);function qh(e){return e!==null&&(e<32||e===127)}const Dg=fl(/\d/),_B=fl(/[\dA-Fa-f]/),DB=fl(/[!-/:-@[-`{-~]/);function je(e){return e!==null&&e<-2}function Ot(e){return e!==null&&(e<0||e===32)}function ut(e){return e===-2||e===-1||e===32}const Tp=fl(new RegExp("\\p{P}|\\p{S}","u")),pr=fl(/\s/);function fl(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function vt(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let s=0;return o;function o(f){return ut(f)?(e.enter(n),c(f)):t(f)}function c(f){return ut(f)&&s++<i?(e.consume(f),c):(e.exit(n),t(f))}}const RB={}.hasOwnProperty,OB=Symbol("continue"),A1=Symbol("exit"),IB=Symbol("skip");function LB(e,t){let n,r;typeof t=="function"?n=t:t&&typeof t=="object"&&(t.enter&&(n=t.enter),t.leave&&(r=t.leave)),i(e,void 0,void 0,[])();function i(s,o,c,f){return T1(s)&&(h.displayName="node ("+s.type+")"),h;function h(){const g=n?K3(n(s,o,c,f)):[];if(g[0]===A1)return g;if(g[0]!==IB){let m;for(m in s)if(RB.call(s,m)&&s[m]&&typeof s[m]=="object"&&m!=="data"&&m!=="position"){const x=f.concat(s),v=s[m];if(Array.isArray(v)){const E=v;let k=0;for(;k>-1&&k<E.length;){const T=E[k];if(T1(T)){const C=i(T,m,k,x)();if(C[0]===A1)return C;k=typeof C[1]=="number"?C[1]:k+1}else k++}}else if(T1(v)){const E=i(v,m,void 0,x)();if(E[0]===A1)return E}}}return r?K3(r(s,o,c,f)):g}}}function K3(e){return Array.isArray(e)?e:typeof e=="number"?[OB,e]:[e]}function T1(e){return!!(e&&typeof e=="object"&&"type"in e&&typeof e.type=="string"&&e.type.length>0)}function z9(e,t){const n=t.prefix||"",r=t.suffix||"",i=Object.assign({},t.acornOptions),s=[],o=[],c=i.onComment,f=i.onToken;let h=!1,g,m;const x=Object.assign({},i,{onComment:s,preserveParens:!0});f&&(x.onToken=o);const v=zB(e,t.tokenTypes),E=v.value,k=n+E+r,T=t.expression&&Q3(E);if(T&&!t.allowEmpty)throw new qt("Unexpected empty expression",{place:M(0),ruleId:"unexpected-empty-expression",source:"micromark-extension-mdx-expression"});try{g=t.expression&&!T?t.acorn.parseExpressionAt(k,0,x):t.acorn.parse(k,x)}catch(R){const j=R,L=M(j.pos);j.message=String(j.message).replace(/ \(\d+:\d+\)$/,""),j.pos=L.offset,j.loc={line:L.line,column:L.column-1},m=j,h=j.raisedAt>=n.length+E.length||j.message==="Unterminated comment"}if(g&&t.expression&&!T)if(Q3(k.slice(g.end,k.length-r.length)))g={type:"Program",start:0,end:n.length+E.length,body:[{type:"ExpressionStatement",expression:g,start:0,end:n.length+E.length}],sourceType:"module",comments:[]};else{const R=M(g.end),j=new Error("Unexpected content after expression");j.pos=R.offset,j.loc={line:R.line,column:R.column-1},m=j,g=void 0}if(g){if(g.comments=s,LB(g,function(R,j,L,S){let O=S[S.length-1],q=j;R.type==="ParenthesizedExpression"&&O&&q&&(typeof L=="number"&&(O=O[q],q=L),O[q]=R.expression),C(R)}),Array.isArray(c))c.push(...s);else if(typeof c=="function")for(const R of s)c(R.type==="Block",R.value,R.start,R.end,R.loc.start,R.loc.end);for(const R of o)R.end<=n.length||R.start-n.length>=E.length||(C(R),Array.isArray(f)?f.push(R):f(R))}return{estree:g,error:m,swallow:h};function C(R){const j=M(R.start),L=M(R.end);R.start=j.offset,R.end=L.offset,R.loc={start:{line:j.line,column:j.column-1,offset:j.offset},end:{line:L.line,column:L.column-1,offset:L.offset}},R.range=[R.start,R.end]}function M(R){let j=R-n.length;j<0?j=0:j>E.length&&(j=E.length);let L=PB(v.stops,j);return L||(L={line:t.start.line,column:t.start.column,offset:t.start.offset}),L}}function Q3(e){return/^\s*$/.test(e.replace(/\/\*[\s\S]*?\*\//g,"").replace(/\/\/[^\r\n]*(\r\n|\n|\r)/g,""))}function zB(e,t){const n={value:"",stops:[]};let r=-1;for(;++r<e.length;){const i=e[r];if(i[0]==="enter"){const s=i[1].type;if(s==="lineEnding"||t.includes(s)){const o=i[2].sliceStream(i[1]);for(;o.length>0&&o[0]===-1;)o.shift();const c=BB(o);n.stops.push([n.value.length,i[1].start]),n.value+=c,n.stops.push([n.value.length,i[1].end])}}}return n}function PB(e,t){let n=0;for(;n<e.length&&e[n][0]<=t;)n+=1;if(n===0)return;const[r,i]=e[n-1],s=t-r;return{line:i.line,column:i.column+s,offset:i.offset+s}}function BB(e){let t=-1;const n=[];let r;for(;++t<e.length;){const i=e[t];let s;if(typeof i=="string")s=i;else switch(i){case-5:{s="\r";break}case-4:{s=`
227
- `;break}case-3:{s=`\r
228
- `;break}case-2:{s=" ";break}case-1:{if(r)continue;s=" ";break}default:s=String.fromCharCode(i)}r=i===-2,n.push(s)}return n.join("")}function Ga(e){const t=e||{},n=t.loc||{},r=t.range||[void 0,void 0],i=Z3(n.start,r[0]||t.start),s=Z3(n.end,r[1]||t.end);if(i&&s)return{start:i,end:s}}function Z3(e,t){if(e&&typeof e=="object"){const n="line"in e?M1(e.line):void 0,r="column"in e?M1(e.column):void 0;if(n&&r!==void 0)return{line:n,column:r+1,offset:M1(t)}}}function M1(e){return typeof e=="number"&&e>-1?e:void 0}const jB=2,Yo="https://github.com/micromark/micromark-extension-mdx-expression/tree/main/packages/micromark-extension-mdx-expression",FB="#unexpected-end-of-file-in-expression-expected-a-corresponding-closing-brace-for-",VB="#unexpected-lazy-line-in-expression-in-container-expected-line-to-be-prefixed",e6="#unexpected-type-in-code-expected-an-object-spread-spread",qB="#unexpected-extra-content-in-spread-only-a-single-spread-is-supported",UB="#could-not-parse-expression-with-acorn";function Uh(e,t,n,r,i,s,o,c,f,h,g){const m=this,x=this.events.length+3;let v=0,E,k;return T;function T(j){return e.enter(n),e.enter(r),e.consume(j),e.exit(r),E=m.now(),C}function C(j){if(j===null){if(k)throw k;const L=new qt("Unexpected end of file in expression, expected a corresponding closing brace for `{`",{place:m.now(),ruleId:"unexpected-eof",source:"micromark-extension-mdx-expression"});throw L.url=Yo+FB,L}if(je(j))return e.enter("lineEnding"),e.consume(j),e.exit("lineEnding"),R;if(j===125&&v===0){const L=s?HB.call(m,s,o,i,x,E,h||!1,f||!1):{type:"ok",estree:void 0};if(L.type==="ok"){e.enter(r),e.consume(j),e.exit(r);const S=e.exit(n);return c&&L.estree&&Object.assign(S,{estree:L.estree}),t}return k=L.message,e.enter(i),e.consume(j),M}return e.enter(i),M(j)}function M(j){return j===125&&v===0||j===null||je(j)?(e.exit(i),C(j)):(j===123&&!s?v+=1:j===125&&(v-=1),e.consume(j),M)}function R(j){const L=m.now();if(L.line!==E.line&&!g&&m.parser.lazy[L.line]){const S=new qt("Unexpected lazy line in expression in container, expected line to be prefixed with `>` when in a block quote, whitespace when in a list, etc",{place:m.now(),ruleId:"unexpected-lazy",source:"micromark-extension-mdx-expression"});throw S.url=Yo+VB,S}return ut(j)?vt(e,C,"linePrefix",jB+1)(j):C(j)}}function HB(e,t,n,r,i,s,o){const c=z9(this.events.slice(r),{acorn:e,tokenTypes:[n],acornOptions:t,start:i,expression:!0,allowEmpty:s,prefix:o?"({":"",suffix:o?"})":""}),f=c.estree;if(o&&f){const h=f.body[0];if(h.type!=="ExpressionStatement"||h.expression.type!=="ObjectExpression"){const g=Ga(h),m=new qt("Unexpected `"+h.type+"` in code: expected an object spread (`{...spread}`)",{place:g.start,ruleId:"non-spread",source:"micromark-extension-mdx-expression"});throw m.url=Yo+e6,m}if(h.expression.properties[1]){const g=Ga(h.expression.properties[1]),m=new qt("Unexpected extra content in spread: only a single spread is supported",{place:g.start,ruleId:"spread-extra",source:"micromark-extension-mdx-expression"});throw m.url=Yo+qB,m}if(h.expression.properties[0]&&h.expression.properties[0].type!=="SpreadElement"){const g=Ga(h.expression.properties[0]),m=new qt("Unexpected `"+h.expression.properties[0].type+"` in code: only spread elements are supported",{place:g.start,ruleId:"non-spread",source:"micromark-extension-mdx-expression"});throw m.url=Yo+e6,m}}if(c.error){const h=new qt("Could not parse expression with acorn",{cause:c.error,place:{line:c.error.loc.line,column:c.error.loc.column+1,offset:c.error.pos},ruleId:"acorn",source:"micromark-extension-mdx-expression"});return h.url=Yo+UB,{type:"nok",message:h}}return{type:"ok",estree:f}}function GB(e){const t=e||{},n=t.addResult,r=t.acorn,i=t.spread;let s=t.allowEmpty,o;if(s==null&&(s=!0),r){if(!r.parseExpressionAt)throw new Error("Expected a proper `acorn` instance passed in as `options.acorn`");o=Object.assign({ecmaVersion:2024,sourceType:"module"},t.acornOptions)}else if(t.acornOptions||t.addResult)throw new Error("Expected an `acorn` instance passed in as `options.acorn`");return{flow:{123:{name:"mdxFlowExpression",tokenize:c,concrete:!0}},text:{123:{name:"mdxTextExpression",tokenize:f}}};function c(h,g,m){const x=this;return v;function v(C){return E(C)}function E(C){return Uh.call(x,h,k,"mdxFlowExpression","mdxFlowExpressionMarker","mdxFlowExpressionChunk",r,o,n,i,s)(C)}function k(C){return ut(C)?vt(h,T,"whitespace")(C):T(C)}function T(C){const M=x.parser.constructs.flow[60],j=(Array.isArray(M)?M:M?[M]:[]).find(function(L){return L.name==="mdxJsxFlowTag"});return C===60&&j?h.attempt(j,T,m)(C):C===null||je(C)?g(C):m(C)}}function f(h,g){const m=this;return x;function x(v){return Uh.call(m,h,g,"mdxTextExpression","mdxTextExpressionMarker","mdxTextExpressionChunk",r,o,n,i,s,!0)(v)}}}const t6="https://github.com/micromark/micromark-extension-mdx-jsx";function P9(e,t,n,r,i,s,o,c,f,h,g,m,x,v,E,k,T,C,M,R,j,L,S,O,q,W,J,re,ae,Se,xe,ge){const ee=this;let oe,le;return we;function we(G){return e.enter(c),e.enter(f),e.consume(G),e.exit(f),Y}function Y(G){return Ot(G)?n(G):(oe=$,pt(G))}function $(G){if(G===47)return e.enter(h),e.consume(G),e.exit(h),oe=ue,pt;if(G===62)return vn(G);if(G!==null&&G>=0&&Pi(G))return e.enter(m),e.enter(x),e.consume(G),H;ye(G,"before name","a character that can start a name, such as a letter, `$`, or `_`"+(G===33?" (note: to create a comment in MDX, use `{/* text */}`)":""))}function ue(G){if(G===62)return vn(G);if(G!==null&&G>=0&&Pi(G))return e.enter(m),e.enter(x),e.consume(G),H;ye(G,"before name","a character that can start a name, such as a letter, `$`, or `_`"+(G===42||G===47?" (note: JS comments in JSX tags are not supported in MDX)":""))}function H(G){if(G!==null&&G>=0&&Cc(G,{jsx:!0}))return e.consume(G),H;if(G===46||G===47||G===58||G===62||G===123||Ot(G)||pr(G))return e.exit(x),oe=Ce,pt(G);ye(G,"in name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag"+(G===64?" (note: to create a link in MDX, use `[text](url)`)":""))}function Ce(G){if(G===46)return e.enter(v),e.consume(G),e.exit(v),oe=Le,pt;if(G===58)return e.enter(k),e.consume(G),e.exit(k),oe=Ke,pt;if(G===47||G===62||G===123||G!==null&&G>=0&&Pi(G))return e.exit(m),Ze(G);ye(G,"after name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function Le(G){if(G!==null&&G>=0&&Pi(G))return e.enter(E),e.consume(G),ze;ye(G,"before member name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function ze(G){if(G!==null&&G>=0&&Cc(G,{jsx:!0}))return e.consume(G),ze;if(G===46||G===47||G===62||G===123||Ot(G)||pr(G))return e.exit(E),oe=Re,pt(G);ye(G,"in member name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag"+(G===64?" (note: to create a link in MDX, use `[text](url)`)":""))}function Re(G){if(G===46)return e.enter(v),e.consume(G),e.exit(v),oe=Le,pt;if(G===47||G===62||G===123||G!==null&&G>=0&&Pi(G))return e.exit(m),Ze(G);ye(G,"after member name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function Ke(G){if(G!==null&&G>=0&&Pi(G))return e.enter(T),e.consume(G),Ve;ye(G,"before local name","a character that can start a name, such as a letter, `$`, or `_`"+(G===43||G!==null&&G>46&&G<58?" (note: to create a link in MDX, use `[text](url)`)":""))}function Ve(G){if(G!==null&&G>=0&&Cc(G,{jsx:!0}))return e.consume(G),Ve;if(G===47||G===62||G===123||Ot(G)||pr(G))return e.exit(T),oe=st,pt(G);ye(G,"in local name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag")}function st(G){if(G===47||G===62||G===123||G!==null&&G>=0&&Pi(G))return e.exit(m),Ze(G);ye(G,"after local name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function Ze(G){if(G===47)return e.enter(g),e.consume(G),e.exit(g),oe=Ur,pt;if(G===62)return vn(G);if(G===123)return Uh.call(ee,e,Pe,C,M,R,r,i,s,!0,!1,o)(G);if(G!==null&&G>=0&&Pi(G))return e.enter(j),e.enter(L),e.enter(S),e.consume(G),ot;ye(G,"before attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function Pe(G){return oe=Ze,pt(G)}function ot(G){if(G!==null&&G>=0&&Cc(G,{jsx:!0}))return e.consume(G),ot;if(G===47||G===58||G===61||G===62||G===123||Ot(G)||pr(G))return e.exit(S),oe=dt,pt(G);ye(G,"in attribute name","an attribute name character such as letters, digits, `$`, or `_`; `=` to initialize a value; whitespace before attributes; or the end of the tag")}function dt(G){if(G===58)return e.enter(O),e.consume(G),e.exit(O),oe=Rt,pt;if(G===61)return e.exit(L),e.enter(W),e.consume(G),e.exit(W),oe=$t,pt;if(G===47||G===62||G===123||Ot(G)||pr(G)||G!==null&&G>=0&&Pi(G))return e.exit(L),e.exit(j),oe=Ze,pt(G);ye(G,"after attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")}function Rt(G){if(G!==null&&G>=0&&Pi(G))return e.enter(q),e.consume(G),Jt;ye(G,"before local attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")}function Jt(G){if(G!==null&&G>=0&&Cc(G,{jsx:!0}))return e.consume(G),Jt;if(G===47||G===61||G===62||G===123||Ot(G)||pr(G))return e.exit(q),e.exit(L),oe=Ut,pt(G);ye(G,"in local attribute name","an attribute name character such as letters, digits, `$`, or `_`; `=` to initialize a value; whitespace before attributes; or the end of the tag")}function Ut(G){if(G===61)return e.enter(W),e.consume(G),e.exit(W),oe=$t,pt;if(G===47||G===62||G===123||G!==null&&G>=0&&Pi(G))return e.exit(j),Ze(G);ye(G,"after local attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")}function $t(G){if(G===34||G===39)return e.enter(J),e.enter(re),e.consume(G),e.exit(re),le=G,yn;if(G===123)return Uh.call(ee,e,Pt,Se,xe,ge,r,i,s,!1,!1,o)(G);ye(G,"before attribute value","a character that can start an attribute value, such as `\"`, `'`, or `{`"+(G===60?" (note: to use an element or fragment as a prop value in MDX, use `{<element />}`)":""))}function Pt(G){return e.exit(j),oe=Ze,pt(G)}function yn(G){return G===null&&ye(G,"in attribute value","a corresponding closing quote `"+String.fromCodePoint(le)+"`"),G===le?(e.enter(re),e.consume(G),e.exit(re),e.exit(J),e.exit(j),le=void 0,oe=Ze,pt):je(G)?(oe=yn,pt(G)):(e.enter(ae),Fn(G))}function Fn(G){return G===null||G===le||je(G)?(e.exit(ae),yn(G)):(e.consume(G),Fn)}function Ur(G){if(G===62)return vn(G);ye(G,"after self-closing slash","`>` to end the tag"+(G===42||G===47?" (note: JS comments in JSX tags are not supported in MDX)":""))}function vn(G){return e.enter(f),e.consume(G),e.exit(f),e.exit(c),t}function pt(G){return je(G)?(e.enter("lineEnding"),e.consume(G),e.exit("lineEnding"),ve):ut(G)||pr(G)?(e.enter("esWhitespace"),ai(G)):oe(G)}function ai(G){return je(G)?(e.exit("esWhitespace"),pt(G)):ut(G)||pr(G)?(e.consume(G),ai):(e.exit("esWhitespace"),oe(G))}function ve(G){if(!o&&ee.parser.lazy[ee.now().line]){const $e=new qt("Unexpected lazy line in container, expected line to be prefixed with `>` when in a block quote, whitespace when in a list, etc",ee.now(),"micromark-extension-mdx-jsx:unexpected-lazy");throw $e.url=t6+"#unexpected-lazy-line-in-container-expected-line-to-be",$e}return pt(G)}function ye(G,$e,gt){const an=new qt("Unexpected "+(G===null?"end of file":"character `"+(G===96?"` ` `":String.fromCodePoint(G))+"` ("+XB(G)+")")+" "+$e+", expected "+gt,ee.now(),"micromark-extension-mdx-jsx:unexpected-"+(G===null?"eof":"character"));throw an.url=t6+(G===null?"#unexpected-end-of-file-at-expected-expect":"#unexpected-character-at-expected-expect"),an}}function XB(e){return"U+"+e.toString(16).toUpperCase().padStart(4,"0")}function YB(e,t){return{name:"mdxJsxTextTag",tokenize:n};function n(r,i,s){return P9.call(this,r,i,s,e,t.acornOptions,t.addResult,!0,"mdxJsxTextTag","mdxJsxTextTagMarker","mdxJsxTextTagClosingMarker","mdxJsxTextTagSelfClosingMarker","mdxJsxTextTagName","mdxJsxTextTagNamePrimary","mdxJsxTextTagNameMemberMarker","mdxJsxTextTagNameMember","mdxJsxTextTagNamePrefixMarker","mdxJsxTextTagNameLocal","mdxJsxTextTagExpressionAttribute","mdxJsxTextTagExpressionAttributeMarker","mdxJsxTextTagExpressionAttributeValue","mdxJsxTextTagAttribute","mdxJsxTextTagAttributeName","mdxJsxTextTagAttributeNamePrimary","mdxJsxTextTagAttributeNamePrefixMarker","mdxJsxTextTagAttributeNameLocal","mdxJsxTextTagAttributeInitializerMarker","mdxJsxTextTagAttributeValueLiteral","mdxJsxTextTagAttributeValueLiteralMarker","mdxJsxTextTagAttributeValueLiteralValue","mdxJsxTextTagAttributeValueExpression","mdxJsxTextTagAttributeValueExpressionMarker","mdxJsxTextTagAttributeValueExpressionValue")}}function JB(e,t){return{concrete:!0,name:"mdxJsxFlowTag",tokenize:n};function n(r,i,s){const o=this;return c;function c(m){return f(m)}function f(m){return P9.call(o,r,h,s,e,t.acornOptions,t.addResult,!1,"mdxJsxFlowTag","mdxJsxFlowTagMarker","mdxJsxFlowTagClosingMarker","mdxJsxFlowTagSelfClosingMarker","mdxJsxFlowTagName","mdxJsxFlowTagNamePrimary","mdxJsxFlowTagNameMemberMarker","mdxJsxFlowTagNameMember","mdxJsxFlowTagNamePrefixMarker","mdxJsxFlowTagNameLocal","mdxJsxFlowTagExpressionAttribute","mdxJsxFlowTagExpressionAttributeMarker","mdxJsxFlowTagExpressionAttributeValue","mdxJsxFlowTagAttribute","mdxJsxFlowTagAttributeName","mdxJsxFlowTagAttributeNamePrimary","mdxJsxFlowTagAttributeNamePrefixMarker","mdxJsxFlowTagAttributeNameLocal","mdxJsxFlowTagAttributeInitializerMarker","mdxJsxFlowTagAttributeValueLiteral","mdxJsxFlowTagAttributeValueLiteralMarker","mdxJsxFlowTagAttributeValueLiteralValue","mdxJsxFlowTagAttributeValueExpression","mdxJsxFlowTagAttributeValueExpressionMarker","mdxJsxFlowTagAttributeValueExpressionValue")(m)}function h(m){return ut(m)?vt(r,g,"whitespace")(m):g(m)}function g(m){const x=o.parser.constructs.flow[123],v=Array.isArray(x)?x:x?[x]:[];let E;for(const k of v)if(k.name==="mdxFlowExpression"){E=k;break}return m===60?c(m):m===123&&E?r.attempt(E,g,s)(m):m===null||je(m)?i(m):s(m)}}}function $B(e){const t=e||{},n=t.acorn;let r;if(n){if(!n.parse||!n.parseExpressionAt)throw new Error("Expected a proper `acorn` instance passed in as `options.acorn`");r=Object.assign({ecmaVersion:2024,sourceType:"module"},t.acornOptions,{locations:!0})}else if(t.acornOptions||t.addResult)throw new Error("Expected an `acorn` instance passed in as `options.acorn`");return{flow:{60:JB(n||void 0,{acornOptions:r,addResult:t.addResult||void 0})},text:{60:YB(n||void 0,{acornOptions:r,addResult:t.addResult||void 0})}}}function WB(){return{disable:{null:["autolink","codeIndented","htmlFlow","htmlText"]}}}function ni(e,t,n,r){const i=e.length;let s=0,o;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);s<r.length;)o=r.slice(s,s+1e4),o.unshift(t,0),e.splice(...o),s+=1e4,t+=1e4}function wi(e,t){return e.length>0?(ni(e,e.length,0,t),e):t}function ru(e){if(e===null||Ot(e)||pr(e))return 1;if(Tp(e))return 2}function Mp(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const s=e[i].resolveAll;s&&!r.includes(s)&&(t=s(t,n),r.push(s))}return t}const Rg={name:"attention",resolveAll:KB,tokenize:QB};function KB(e,t){let n=-1,r,i,s,o,c,f,h,g;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;f=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 m={...e[r][1].end},x={...e[n][1].start};n6(m,-f),n6(x,f),o={type:f>1?"strongSequence":"emphasisSequence",start:m,end:{...e[r][1].end}},c={type:f>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:x},s={type:f>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},i={type:f>1?"strong":"emphasis",start:{...o.start},end:{...c.end}},e[r][1].end={...o.start},e[n][1].start={...c.end},h=[],e[r][1].end.offset-e[r][1].start.offset&&(h=wi(h,[["enter",e[r][1],t],["exit",e[r][1],t]])),h=wi(h,[["enter",i,t],["enter",o,t],["exit",o,t],["enter",s,t]]),h=wi(h,Mp(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),h=wi(h,[["exit",s,t],["enter",c,t],["exit",c,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(g=2,h=wi(h,[["enter",e[n][1],t],["exit",e[n][1],t]])):g=0,ni(e,r-1,n-r+3,h),n=r+h.length-g-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function QB(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=ru(r);let s;return o;function o(f){return s=f,e.enter("attentionSequence"),c(f)}function c(f){if(f===s)return e.consume(f),c;const h=e.exit("attentionSequence"),g=ru(f),m=!g||g===2&&i||n.includes(f),x=!i||i===2&&g||n.includes(r);return h._open=!!(s===42?m:m&&(i||!x)),h._close=!!(s===42?x:x&&(g||!m)),t(f)}}function n6(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const ZB={name:"autolink",tokenize:ej};function ej(e,t,n){let r=0;return i;function i(v){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(v),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),s}function s(v){return ar(v)?(e.consume(v),o):v===64?n(v):h(v)}function o(v){return v===43||v===45||v===46||sr(v)?(r=1,c(v)):h(v)}function c(v){return v===58?(e.consume(v),r=0,f):(v===43||v===45||v===46||sr(v))&&r++<32?(e.consume(v),c):(r=0,h(v))}function f(v){return v===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(v),e.exit("autolinkMarker"),e.exit("autolink"),t):v===null||v===32||v===60||qh(v)?n(v):(e.consume(v),f)}function h(v){return v===64?(e.consume(v),g):NB(v)?(e.consume(v),h):n(v)}function g(v){return sr(v)?m(v):n(v)}function m(v){return v===46?(e.consume(v),r=0,g):v===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(v),e.exit("autolinkMarker"),e.exit("autolink"),t):x(v)}function x(v){if((v===45||sr(v))&&r++<63){const E=v===45?x:m;return e.consume(v),E}return n(v)}}const xu={partial:!0,tokenize:tj};function tj(e,t,n){return r;function r(s){return ut(s)?vt(e,i,"linePrefix")(s):i(s)}function i(s){return s===null||je(s)?t(s):n(s)}}const B9={continuation:{tokenize:rj},exit:ij,name:"blockQuote",tokenize:nj};function nj(e,t,n){const r=this;return i;function i(o){if(o===62){const c=r.containerState;return c.open||(e.enter("blockQuote",{_container:!0}),c.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(o),e.exit("blockQuoteMarker"),s}return n(o)}function s(o){return ut(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(o))}}function rj(e,t,n){const r=this;return i;function i(o){return ut(o)?vt(e,s,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):s(o)}function s(o){return e.attempt(B9,t,n)(o)}}function ij(e){e.exit("blockQuote")}const j9={name:"characterEscape",tokenize:aj};function aj(e,t,n){return r;function r(s){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(s),e.exit("escapeMarker"),i}function i(s){return DB(s)?(e.enter("characterEscapeValue"),e.consume(s),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(s)}}const F9={name:"characterReference",tokenize:sj};function sj(e,t,n){const r=this;let i=0,s,o;return c;function c(m){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(m),e.exit("characterReferenceMarker"),f}function f(m){return m===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(m),e.exit("characterReferenceMarkerNumeric"),h):(e.enter("characterReferenceValue"),s=31,o=sr,g(m))}function h(m){return m===88||m===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(m),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),s=6,o=_B,g):(e.enter("characterReferenceValue"),s=7,o=Dg,g(m))}function g(m){if(m===59&&i){const x=e.exit("characterReferenceValue");return o===sr&&!Kc(r.sliceSerialize(x))?n(m):(e.enter("characterReferenceMarker"),e.consume(m),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return o(m)&&i++<s?(e.consume(m),g):n(m)}}const r6={partial:!0,tokenize:oj},i6={concrete:!0,name:"codeFenced",tokenize:lj};function lj(e,t,n){const r=this,i={partial:!0,tokenize:L};let s=0,o=0,c;return f;function f(S){return h(S)}function h(S){const O=r.events[r.events.length-1];return s=O&&O[1].type==="linePrefix"?O[2].sliceSerialize(O[1],!0).length:0,c=S,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),g(S)}function g(S){return S===c?(o++,e.consume(S),g):o<3?n(S):(e.exit("codeFencedFenceSequence"),ut(S)?vt(e,m,"whitespace")(S):m(S))}function m(S){return S===null||je(S)?(e.exit("codeFencedFence"),r.interrupt?t(S):e.check(r6,k,j)(S)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),x(S))}function x(S){return S===null||je(S)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),m(S)):ut(S)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),vt(e,v,"whitespace")(S)):S===96&&S===c?n(S):(e.consume(S),x)}function v(S){return S===null||je(S)?m(S):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),E(S))}function E(S){return S===null||je(S)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),m(S)):S===96&&S===c?n(S):(e.consume(S),E)}function k(S){return e.attempt(i,j,T)(S)}function T(S){return e.enter("lineEnding"),e.consume(S),e.exit("lineEnding"),C}function C(S){return s>0&&ut(S)?vt(e,M,"linePrefix",s+1)(S):M(S)}function M(S){return S===null||je(S)?e.check(r6,k,j)(S):(e.enter("codeFlowValue"),R(S))}function R(S){return S===null||je(S)?(e.exit("codeFlowValue"),M(S)):(e.consume(S),R)}function j(S){return e.exit("codeFenced"),t(S)}function L(S,O,q){let W=0;return J;function J(ge){return S.enter("lineEnding"),S.consume(ge),S.exit("lineEnding"),re}function re(ge){return S.enter("codeFencedFence"),ut(ge)?vt(S,ae,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(ge):ae(ge)}function ae(ge){return ge===c?(S.enter("codeFencedFenceSequence"),Se(ge)):q(ge)}function Se(ge){return ge===c?(W++,S.consume(ge),Se):W>=o?(S.exit("codeFencedFenceSequence"),ut(ge)?vt(S,xe,"whitespace")(ge):xe(ge)):q(ge)}function xe(ge){return ge===null||je(ge)?(S.exit("codeFencedFence"),O(ge)):q(ge)}}}function oj(e,t,n){const r=this;return i;function i(o){return o===null?n(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),s)}function s(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}const N1={name:"codeIndented",tokenize:cj},uj={partial:!0,tokenize:fj};function cj(e,t,n){const r=this;return i;function i(h){return e.enter("codeIndented"),vt(e,s,"linePrefix",5)(h)}function s(h){const g=r.events[r.events.length-1];return g&&g[1].type==="linePrefix"&&g[2].sliceSerialize(g[1],!0).length>=4?o(h):n(h)}function o(h){return h===null?f(h):je(h)?e.attempt(uj,o,f)(h):(e.enter("codeFlowValue"),c(h))}function c(h){return h===null||je(h)?(e.exit("codeFlowValue"),o(h)):(e.consume(h),c)}function f(h){return e.exit("codeIndented"),t(h)}}function fj(e,t,n){const r=this;return i;function i(o){return r.parser.lazy[r.now().line]?n(o):je(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i):vt(e,s,"linePrefix",5)(o)}function s(o){const c=r.events[r.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?t(o):je(o)?i(o):n(o)}}const hj={name:"codeText",previous:dj,resolve:pj,tokenize:mj};function pj(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 dj(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function mj(e,t,n){let r=0,i,s;return o;function o(m){return e.enter("codeText"),e.enter("codeTextSequence"),c(m)}function c(m){return m===96?(e.consume(m),r++,c):(e.exit("codeTextSequence"),f(m))}function f(m){return m===null?n(m):m===32?(e.enter("space"),e.consume(m),e.exit("space"),f):m===96?(s=e.enter("codeTextSequence"),i=0,g(m)):je(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),f):(e.enter("codeTextData"),h(m))}function h(m){return m===null||m===32||m===96||je(m)?(e.exit("codeTextData"),f(m)):(e.consume(m),h)}function g(m){return m===96?(e.consume(m),i++,g):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(m)):(s.type="codeTextData",h(m))}}class gj{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 s=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&Mc(this.left,r),s.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),Mc(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Mc(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);Mc(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Mc(this.left,n.reverse())}}}function Mc(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 V9(e){const t={};let n=-1,r,i,s,o,c,f,h;const g=new gj(e);for(;++n<g.length;){for(;n in t;)n=t[n];if(r=g.get(n),n&&r[1].type==="chunkFlow"&&g.get(n-1)[1].type==="listItemPrefix"&&(f=r[1]._tokenizer.events,s=0,s<f.length&&f[s][1].type==="lineEndingBlank"&&(s+=2),s<f.length&&f[s][1].type==="content"))for(;++s<f.length&&f[s][1].type!=="content";)f[s][1].type==="chunkText"&&(f[s][1]._isInFirstContentOfListItem=!0,s++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,xj(g,n)),n=t[n],h=!0);else if(r[1]._container){for(s=n,i=void 0;s--;)if(o=g.get(s),o[1].type==="lineEnding"||o[1].type==="lineEndingBlank")o[0]==="enter"&&(i&&(g.get(i)[1].type="lineEndingBlank"),o[1].type="lineEnding",i=s);else if(!(o[1].type==="linePrefix"||o[1].type==="listItemIndent"))break;i&&(r[1].end={...g.get(i)[1].start},c=g.slice(i,n),c.unshift(r),g.splice(i,n-i+1,c))}}return ni(e,0,Number.POSITIVE_INFINITY,g.slice(0)),!h}function xj(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const s=[];let o=n._tokenizer;o||(o=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));const c=o.events,f=[],h={};let g,m,x=-1,v=n,E=0,k=0;const T=[k];for(;v;){for(;e.get(++i)[1]!==v;);s.push(i),v._tokenizer||(g=r.sliceStream(v),v.next||g.push(null),m&&o.defineSkip(v.start),v._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(g),v._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),m=v,v=v.next}for(v=n;++x<c.length;)c[x][0]==="exit"&&c[x-1][0]==="enter"&&c[x][1].type===c[x-1][1].type&&c[x][1].start.line!==c[x][1].end.line&&(k=x+1,T.push(k),v._tokenizer=void 0,v.previous=void 0,v=v.next);for(o.events=[],v?(v._tokenizer=void 0,v.previous=void 0):T.pop(),x=T.length;x--;){const C=c.slice(T[x],T[x+1]),M=s.pop();f.push([M,M+C.length-1]),e.splice(M,2,C)}for(f.reverse(),x=-1;++x<f.length;)h[E+f[x][0]]=E+f[x][1],E+=f[x][1]-f[x][0]-1;return h}const yj={resolve:bj,tokenize:wj},vj={partial:!0,tokenize:Sj};function bj(e){return V9(e),e}function wj(e,t){let n;return r;function r(c){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(c)}function i(c){return c===null?s(c):je(c)?e.check(vj,o,s)(c):(e.consume(c),i)}function s(c){return e.exit("chunkContent"),e.exit("content"),t(c)}function o(c){return e.consume(c),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function Sj(e,t,n){const r=this;return i;function i(o){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),vt(e,s,"linePrefix")}function s(o){if(o===null||je(o))return n(o);const c=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}}function q9(e,t,n,r,i,s,o,c,f){const h=f||Number.POSITIVE_INFINITY;let g=0;return m;function m(C){return C===60?(e.enter(r),e.enter(i),e.enter(s),e.consume(C),e.exit(s),x):C===null||C===32||C===41||qh(C)?n(C):(e.enter(r),e.enter(o),e.enter(c),e.enter("chunkString",{contentType:"string"}),k(C))}function x(C){return C===62?(e.enter(s),e.consume(C),e.exit(s),e.exit(i),e.exit(r),t):(e.enter(c),e.enter("chunkString",{contentType:"string"}),v(C))}function v(C){return C===62?(e.exit("chunkString"),e.exit(c),x(C)):C===null||C===60||je(C)?n(C):(e.consume(C),C===92?E:v)}function E(C){return C===60||C===62||C===92?(e.consume(C),v):v(C)}function k(C){return!g&&(C===null||C===41||Ot(C))?(e.exit("chunkString"),e.exit(c),e.exit(o),e.exit(r),t(C)):g<h&&C===40?(e.consume(C),g++,k):C===41?(e.consume(C),g--,k):C===null||C===32||C===40||qh(C)?n(C):(e.consume(C),C===92?T:k)}function T(C){return C===40||C===41||C===92?(e.consume(C),k):k(C)}}function U9(e,t,n,r,i,s){const o=this;let c=0,f;return h;function h(v){return e.enter(r),e.enter(i),e.consume(v),e.exit(i),e.enter(s),g}function g(v){return c>999||v===null||v===91||v===93&&!f||v===94&&!c&&"_hiddenFootnoteSupport"in o.parser.constructs?n(v):v===93?(e.exit(s),e.enter(i),e.consume(v),e.exit(i),e.exit(r),t):je(v)?(e.enter("lineEnding"),e.consume(v),e.exit("lineEnding"),g):(e.enter("chunkString",{contentType:"string"}),m(v))}function m(v){return v===null||v===91||v===93||je(v)||c++>999?(e.exit("chunkString"),g(v)):(e.consume(v),f||(f=!ut(v)),v===92?x:m)}function x(v){return v===91||v===92||v===93?(e.consume(v),c++,m):m(v)}}function H9(e,t,n,r,i,s){let o;return c;function c(x){return x===34||x===39||x===40?(e.enter(r),e.enter(i),e.consume(x),e.exit(i),o=x===40?41:x,f):n(x)}function f(x){return x===o?(e.enter(i),e.consume(x),e.exit(i),e.exit(r),t):(e.enter(s),h(x))}function h(x){return x===o?(e.exit(s),f(o)):x===null?n(x):je(x)?(e.enter("lineEnding"),e.consume(x),e.exit("lineEnding"),vt(e,h,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),g(x))}function g(x){return x===o||x===null||je(x)?(e.exit("chunkString"),h(x)):(e.consume(x),x===92?m:g)}function m(x){return x===o||x===92?(e.consume(x),g):g(x)}}function Fc(e,t){let n;return r;function r(i){return je(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):ut(i)?vt(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}function Vi(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const kj={name:"definition",tokenize:Cj},Ej={partial:!0,tokenize:Aj};function Cj(e,t,n){const r=this;let i;return s;function s(v){return e.enter("definition"),o(v)}function o(v){return U9.call(r,e,c,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(v)}function c(v){return i=Vi(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),v===58?(e.enter("definitionMarker"),e.consume(v),e.exit("definitionMarker"),f):n(v)}function f(v){return Ot(v)?Fc(e,h)(v):h(v)}function h(v){return q9(e,g,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(v)}function g(v){return e.attempt(Ej,m,m)(v)}function m(v){return ut(v)?vt(e,x,"whitespace")(v):x(v)}function x(v){return v===null||je(v)?(e.exit("definition"),r.parser.defined.push(i),t(v)):n(v)}}function Aj(e,t,n){return r;function r(c){return Ot(c)?Fc(e,i)(c):n(c)}function i(c){return H9(e,s,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(c)}function s(c){return ut(c)?vt(e,o,"whitespace")(c):o(c)}function o(c){return c===null||je(c)?t(c):n(c)}}const Tj={name:"hardBreakEscape",tokenize:Mj};function Mj(e,t,n){return r;function r(s){return e.enter("hardBreakEscape"),e.consume(s),i}function i(s){return je(s)?(e.exit("hardBreakEscape"),t(s)):n(s)}}const Nj={name:"headingAtx",resolve:_j,tokenize:Dj};function _j(e,t){let n=e.length-2,r=3,i,s;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},s={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},ni(e,r,n-r+1,[["enter",i,t],["enter",s,t],["exit",s,t],["exit",i,t]])),e}function Dj(e,t,n){let r=0;return i;function i(g){return e.enter("atxHeading"),s(g)}function s(g){return e.enter("atxHeadingSequence"),o(g)}function o(g){return g===35&&r++<6?(e.consume(g),o):g===null||Ot(g)?(e.exit("atxHeadingSequence"),c(g)):n(g)}function c(g){return g===35?(e.enter("atxHeadingSequence"),f(g)):g===null||je(g)?(e.exit("atxHeading"),t(g)):ut(g)?vt(e,c,"whitespace")(g):(e.enter("atxHeadingText"),h(g))}function f(g){return g===35?(e.consume(g),f):(e.exit("atxHeadingSequence"),c(g))}function h(g){return g===null||g===35||Ot(g)?(e.exit("atxHeadingText"),c(g)):(e.consume(g),h)}}const Rj=["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"],a6=["pre","script","style","textarea"],Oj={concrete:!0,name:"htmlFlow",resolveTo:zj,tokenize:Pj},Ij={partial:!0,tokenize:jj},Lj={partial:!0,tokenize:Bj};function zj(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 Pj(e,t,n){const r=this;let i,s,o,c,f;return h;function h(H){return g(H)}function g(H){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(H),m}function m(H){return H===33?(e.consume(H),x):H===47?(e.consume(H),s=!0,k):H===63?(e.consume(H),i=3,r.interrupt?t:Y):ar(H)?(e.consume(H),o=String.fromCharCode(H),T):n(H)}function x(H){return H===45?(e.consume(H),i=2,v):H===91?(e.consume(H),i=5,c=0,E):ar(H)?(e.consume(H),i=4,r.interrupt?t:Y):n(H)}function v(H){return H===45?(e.consume(H),r.interrupt?t:Y):n(H)}function E(H){const Ce="CDATA[";return H===Ce.charCodeAt(c++)?(e.consume(H),c===Ce.length?r.interrupt?t:ae:E):n(H)}function k(H){return ar(H)?(e.consume(H),o=String.fromCharCode(H),T):n(H)}function T(H){if(H===null||H===47||H===62||Ot(H)){const Ce=H===47,Le=o.toLowerCase();return!Ce&&!s&&a6.includes(Le)?(i=1,r.interrupt?t(H):ae(H)):Rj.includes(o.toLowerCase())?(i=6,Ce?(e.consume(H),C):r.interrupt?t(H):ae(H)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(H):s?M(H):R(H))}return H===45||sr(H)?(e.consume(H),o+=String.fromCharCode(H),T):n(H)}function C(H){return H===62?(e.consume(H),r.interrupt?t:ae):n(H)}function M(H){return ut(H)?(e.consume(H),M):J(H)}function R(H){return H===47?(e.consume(H),J):H===58||H===95||ar(H)?(e.consume(H),j):ut(H)?(e.consume(H),R):J(H)}function j(H){return H===45||H===46||H===58||H===95||sr(H)?(e.consume(H),j):L(H)}function L(H){return H===61?(e.consume(H),S):ut(H)?(e.consume(H),L):R(H)}function S(H){return H===null||H===60||H===61||H===62||H===96?n(H):H===34||H===39?(e.consume(H),f=H,O):ut(H)?(e.consume(H),S):q(H)}function O(H){return H===f?(e.consume(H),f=null,W):H===null||je(H)?n(H):(e.consume(H),O)}function q(H){return H===null||H===34||H===39||H===47||H===60||H===61||H===62||H===96||Ot(H)?L(H):(e.consume(H),q)}function W(H){return H===47||H===62||ut(H)?R(H):n(H)}function J(H){return H===62?(e.consume(H),re):n(H)}function re(H){return H===null||je(H)?ae(H):ut(H)?(e.consume(H),re):n(H)}function ae(H){return H===45&&i===2?(e.consume(H),ee):H===60&&i===1?(e.consume(H),oe):H===62&&i===4?(e.consume(H),$):H===63&&i===3?(e.consume(H),Y):H===93&&i===5?(e.consume(H),we):je(H)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(Ij,ue,Se)(H)):H===null||je(H)?(e.exit("htmlFlowData"),Se(H)):(e.consume(H),ae)}function Se(H){return e.check(Lj,xe,ue)(H)}function xe(H){return e.enter("lineEnding"),e.consume(H),e.exit("lineEnding"),ge}function ge(H){return H===null||je(H)?Se(H):(e.enter("htmlFlowData"),ae(H))}function ee(H){return H===45?(e.consume(H),Y):ae(H)}function oe(H){return H===47?(e.consume(H),o="",le):ae(H)}function le(H){if(H===62){const Ce=o.toLowerCase();return a6.includes(Ce)?(e.consume(H),$):ae(H)}return ar(H)&&o.length<8?(e.consume(H),o+=String.fromCharCode(H),le):ae(H)}function we(H){return H===93?(e.consume(H),Y):ae(H)}function Y(H){return H===62?(e.consume(H),$):H===45&&i===2?(e.consume(H),Y):ae(H)}function $(H){return H===null||je(H)?(e.exit("htmlFlowData"),ue(H)):(e.consume(H),$)}function ue(H){return e.exit("htmlFlow"),t(H)}}function Bj(e,t,n){const r=this;return i;function i(o){return je(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),s):n(o)}function s(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}function jj(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(xu,t,n)}}const Fj={name:"htmlText",tokenize:Vj};function Vj(e,t,n){const r=this;let i,s,o;return c;function c(Y){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(Y),f}function f(Y){return Y===33?(e.consume(Y),h):Y===47?(e.consume(Y),L):Y===63?(e.consume(Y),R):ar(Y)?(e.consume(Y),q):n(Y)}function h(Y){return Y===45?(e.consume(Y),g):Y===91?(e.consume(Y),s=0,E):ar(Y)?(e.consume(Y),M):n(Y)}function g(Y){return Y===45?(e.consume(Y),v):n(Y)}function m(Y){return Y===null?n(Y):Y===45?(e.consume(Y),x):je(Y)?(o=m,oe(Y)):(e.consume(Y),m)}function x(Y){return Y===45?(e.consume(Y),v):m(Y)}function v(Y){return Y===62?ee(Y):Y===45?x(Y):m(Y)}function E(Y){const $="CDATA[";return Y===$.charCodeAt(s++)?(e.consume(Y),s===$.length?k:E):n(Y)}function k(Y){return Y===null?n(Y):Y===93?(e.consume(Y),T):je(Y)?(o=k,oe(Y)):(e.consume(Y),k)}function T(Y){return Y===93?(e.consume(Y),C):k(Y)}function C(Y){return Y===62?ee(Y):Y===93?(e.consume(Y),C):k(Y)}function M(Y){return Y===null||Y===62?ee(Y):je(Y)?(o=M,oe(Y)):(e.consume(Y),M)}function R(Y){return Y===null?n(Y):Y===63?(e.consume(Y),j):je(Y)?(o=R,oe(Y)):(e.consume(Y),R)}function j(Y){return Y===62?ee(Y):R(Y)}function L(Y){return ar(Y)?(e.consume(Y),S):n(Y)}function S(Y){return Y===45||sr(Y)?(e.consume(Y),S):O(Y)}function O(Y){return je(Y)?(o=O,oe(Y)):ut(Y)?(e.consume(Y),O):ee(Y)}function q(Y){return Y===45||sr(Y)?(e.consume(Y),q):Y===47||Y===62||Ot(Y)?W(Y):n(Y)}function W(Y){return Y===47?(e.consume(Y),ee):Y===58||Y===95||ar(Y)?(e.consume(Y),J):je(Y)?(o=W,oe(Y)):ut(Y)?(e.consume(Y),W):ee(Y)}function J(Y){return Y===45||Y===46||Y===58||Y===95||sr(Y)?(e.consume(Y),J):re(Y)}function re(Y){return Y===61?(e.consume(Y),ae):je(Y)?(o=re,oe(Y)):ut(Y)?(e.consume(Y),re):W(Y)}function ae(Y){return Y===null||Y===60||Y===61||Y===62||Y===96?n(Y):Y===34||Y===39?(e.consume(Y),i=Y,Se):je(Y)?(o=ae,oe(Y)):ut(Y)?(e.consume(Y),ae):(e.consume(Y),xe)}function Se(Y){return Y===i?(e.consume(Y),i=void 0,ge):Y===null?n(Y):je(Y)?(o=Se,oe(Y)):(e.consume(Y),Se)}function xe(Y){return Y===null||Y===34||Y===39||Y===60||Y===61||Y===96?n(Y):Y===47||Y===62||Ot(Y)?W(Y):(e.consume(Y),xe)}function ge(Y){return Y===47||Y===62||Ot(Y)?W(Y):n(Y)}function ee(Y){return Y===62?(e.consume(Y),e.exit("htmlTextData"),e.exit("htmlText"),t):n(Y)}function oe(Y){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(Y),e.exit("lineEnding"),le}function le(Y){return ut(Y)?vt(e,we,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Y):we(Y)}function we(Y){return e.enter("htmlTextData"),o(Y)}}const jx={name:"labelEnd",resolveAll:Gj,resolveTo:Xj,tokenize:Yj},qj={tokenize:Jj},Uj={tokenize:$j},Hj={tokenize:Wj};function Gj(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&&ni(e,0,e.length,n),e}function Xj(e,t){let n=e.length,r=0,i,s,o,c;for(;n--;)if(i=e[n][1],s){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(o){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(s=n,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(o=n);const f={type:e[s][1].type==="labelLink"?"link":"image",start:{...e[s][1].start},end:{...e[e.length-1][1].end}},h={type:"label",start:{...e[s][1].start},end:{...e[o][1].end}},g={type:"labelText",start:{...e[s+r+2][1].end},end:{...e[o-2][1].start}};return c=[["enter",f,t],["enter",h,t]],c=wi(c,e.slice(s+1,s+r+3)),c=wi(c,[["enter",g,t]]),c=wi(c,Mp(t.parser.constructs.insideSpan.null,e.slice(s+r+4,o-3),t)),c=wi(c,[["exit",g,t],e[o-2],e[o-1],["exit",h,t]]),c=wi(c,e.slice(o+1)),c=wi(c,[["exit",f,t]]),ni(e,s,e.length,c),e}function Yj(e,t,n){const r=this;let i=r.events.length,s,o;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){s=r.events[i][1];break}return c;function c(x){return s?s._inactive?m(x):(o=r.parser.defined.includes(Vi(r.sliceSerialize({start:s.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(x),e.exit("labelMarker"),e.exit("labelEnd"),f):n(x)}function f(x){return x===40?e.attempt(qj,g,o?g:m)(x):x===91?e.attempt(Uj,g,o?h:m)(x):o?g(x):m(x)}function h(x){return e.attempt(Hj,g,m)(x)}function g(x){return t(x)}function m(x){return s._balanced=!0,n(x)}}function Jj(e,t,n){return r;function r(m){return e.enter("resource"),e.enter("resourceMarker"),e.consume(m),e.exit("resourceMarker"),i}function i(m){return Ot(m)?Fc(e,s)(m):s(m)}function s(m){return m===41?g(m):q9(e,o,c,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(m)}function o(m){return Ot(m)?Fc(e,f)(m):g(m)}function c(m){return n(m)}function f(m){return m===34||m===39||m===40?H9(e,h,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(m):g(m)}function h(m){return Ot(m)?Fc(e,g)(m):g(m)}function g(m){return m===41?(e.enter("resourceMarker"),e.consume(m),e.exit("resourceMarker"),e.exit("resource"),t):n(m)}}function $j(e,t,n){const r=this;return i;function i(c){return U9.call(r,e,s,o,"reference","referenceMarker","referenceString")(c)}function s(c){return r.parser.defined.includes(Vi(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(c):n(c)}function o(c){return n(c)}}function Wj(e,t,n){return r;function r(s){return e.enter("reference"),e.enter("referenceMarker"),e.consume(s),e.exit("referenceMarker"),i}function i(s){return s===93?(e.enter("referenceMarker"),e.consume(s),e.exit("referenceMarker"),e.exit("reference"),t):n(s)}}const Kj={name:"labelStartImage",resolveAll:jx.resolveAll,tokenize:Qj};function Qj(e,t,n){const r=this;return i;function i(c){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(c),e.exit("labelImageMarker"),s}function s(c){return c===91?(e.enter("labelMarker"),e.consume(c),e.exit("labelMarker"),e.exit("labelImage"),o):n(c)}function o(c){return c===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(c):t(c)}}const Zj={name:"labelStartLink",resolveAll:jx.resolveAll,tokenize:eF};function eF(e,t,n){const r=this;return i;function i(o){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelLink"),s}function s(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(o):t(o)}}const _1={name:"lineEnding",tokenize:tF};function tF(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),vt(e,t,"linePrefix")}}const Sh={name:"thematicBreak",tokenize:nF};function nF(e,t,n){let r=0,i;return s;function s(h){return e.enter("thematicBreak"),o(h)}function o(h){return i=h,c(h)}function c(h){return h===i?(e.enter("thematicBreakSequence"),f(h)):r>=3&&(h===null||je(h))?(e.exit("thematicBreak"),t(h)):n(h)}function f(h){return h===i?(e.consume(h),r++,f):(e.exit("thematicBreakSequence"),ut(h)?vt(e,c,"whitespace")(h):c(h))}}const Or={continuation:{tokenize:sF},exit:oF,name:"list",tokenize:aF},rF={partial:!0,tokenize:uF},iF={partial:!0,tokenize:lF};function aF(e,t,n){const r=this,i=r.events[r.events.length-1];let s=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,o=0;return c;function c(v){const E=r.containerState.type||(v===42||v===43||v===45?"listUnordered":"listOrdered");if(E==="listUnordered"?!r.containerState.marker||v===r.containerState.marker:Dg(v)){if(r.containerState.type||(r.containerState.type=E,e.enter(E,{_container:!0})),E==="listUnordered")return e.enter("listItemPrefix"),v===42||v===45?e.check(Sh,n,h)(v):h(v);if(!r.interrupt||v===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),f(v)}return n(v)}function f(v){return Dg(v)&&++o<10?(e.consume(v),f):(!r.interrupt||o<2)&&(r.containerState.marker?v===r.containerState.marker:v===41||v===46)?(e.exit("listItemValue"),h(v)):n(v)}function h(v){return e.enter("listItemMarker"),e.consume(v),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||v,e.check(xu,r.interrupt?n:g,e.attempt(rF,x,m))}function g(v){return r.containerState.initialBlankLine=!0,s++,x(v)}function m(v){return ut(v)?(e.enter("listItemPrefixWhitespace"),e.consume(v),e.exit("listItemPrefixWhitespace"),x):n(v)}function x(v){return r.containerState.size=s+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(v)}}function sF(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(xu,i,s);function i(c){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,vt(e,t,"listItemIndent",r.containerState.size+1)(c)}function s(c){return r.containerState.furtherBlankLines||!ut(c)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(c)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(iF,t,o)(c))}function o(c){return r.containerState._closeFlow=!0,r.interrupt=void 0,vt(e,e.attempt(Or,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(c)}}function lF(e,t,n){const r=this;return vt(e,i,"listItemIndent",r.containerState.size+1);function i(s){const o=r.events[r.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(s):n(s)}}function oF(e){e.exit(this.containerState.type)}function uF(e,t,n){const r=this;return vt(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(s){const o=r.events[r.events.length-1];return!ut(s)&&o&&o[1].type==="listItemPrefixWhitespace"?t(s):n(s)}}const s6={name:"setextUnderline",resolveTo:cF,tokenize:fF};function cF(e,t){let n=e.length,r,i,s;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),!s&&e[n][1].type==="definition"&&(s=n);const o={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",s?(e.splice(i,0,["enter",o,t]),e.splice(s+1,0,["exit",e[r][1],t]),e[r][1].end={...e[s][1].end}):e[r][1]=o,e.push(["exit",o,t]),e}function fF(e,t,n){const r=this;let i;return s;function s(h){let g=r.events.length,m;for(;g--;)if(r.events[g][1].type!=="lineEnding"&&r.events[g][1].type!=="linePrefix"&&r.events[g][1].type!=="content"){m=r.events[g][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||m)?(e.enter("setextHeadingLine"),i=h,o(h)):n(h)}function o(h){return e.enter("setextHeadingLineSequence"),c(h)}function c(h){return h===i?(e.consume(h),c):(e.exit("setextHeadingLineSequence"),ut(h)?vt(e,f,"lineSuffix")(h):f(h))}function f(h){return h===null||je(h)?(e.exit("setextHeadingLine"),t(h)):n(h)}}const hF={tokenize:mF,partial:!0},l6="https://github.com/micromark/micromark-extension-mdxjs-esm",pF=new Set(["ExportAllDeclaration","ExportDefaultDeclaration","ExportNamedDeclaration","ImportDeclaration"]);function dF(e){const t={tokenize:i,concrete:!0};if(!e||!e.acorn||!e.acorn.parse)throw new Error("Expected an `acorn` instance passed in as `options.acorn`");const n=e.acorn,r=Object.assign({ecmaVersion:2024,sourceType:"module"},e.acornOptions,{locations:!0});return{flow:{101:t,105:t}};function i(s,o,c){const f=this,h=f.parser.definedModuleSpecifiers||(f.parser.definedModuleSpecifiers=[]),g=this.events.length+1;let m="";return f.interrupt?c:x;function x(M){return f.now().column>1?c(M):(s.enter("mdxjsEsm"),s.enter("mdxjsEsmData"),s.consume(M),m+=String.fromCharCode(M),v)}function v(M){return ar(M)?(s.consume(M),m+=String.fromCharCode(M),v):(m==="import"||m==="export")&&M===32?(s.consume(M),E):c(M)}function E(M){return M===null||je(M)?(s.exit("mdxjsEsmData"),k(M)):(s.consume(M),E)}function k(M){return M===null?C(M):je(M)?s.check(hF,C,T)(M):(s.enter("mdxjsEsmData"),E(M))}function T(M){return s.enter("lineEnding"),s.consume(M),s.exit("lineEnding"),k}function C(M){const R=z9(f.events.slice(g),{acorn:n,acornOptions:r,tokenTypes:["mdxjsEsmData"],prefix:h.length>0?"var "+h.join(",")+`
229
- `:""});if(R.error){if(M!==null&&R.swallow)return T(M);const L=new qt("Could not parse import/exports with acorn",{cause:R.error,place:{line:R.error.loc.line,column:R.error.loc.column+1,offset:R.error.pos},ruleId:"acorn",source:"micromark-extension-mdxjs-esm"});throw L.url=l6+"#could-not-parse-importexports-with-acorn",L}h.length>0&&R.estree.body.shift();let j=-1;for(;++j<R.estree.body.length;){const L=R.estree.body[j];if(!pF.has(L.type)){const S=new qt("Unexpected `"+L.type+"` in code: only import/exports are supported",{place:Ga(L),ruleId:"non-esm",source:"micromark-extension-mdxjs-esm"});throw S.url=l6+"#unexpected-type-in-code-only-importexports-are-supported",S}if(L.type==="ImportDeclaration"&&!f.interrupt){let S=-1;for(;++S<L.specifiers.length;){const O=L.specifiers[S];h.push(O.local.name)}}}return Object.assign(s.exit("mdxjsEsm"),e.addResult?{estree:R.estree}:void 0),o(M)}}}function mF(e,t,n){return r;function r(i){return e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),e.attempt(xu,t,n)}}const o6={}.hasOwnProperty;function Fx(e){const t={};let n=-1;for(;++n<e.length;)gF(t,e[n]);return t}function gF(e,t){let n;for(n in t){const i=(o6.call(e,n)?e[n]:void 0)||(e[n]={}),s=t[n];let o;if(s)for(o in s){o6.call(i,o)||(i[o]=[]);const c=s[o];xF(i[o],Array.isArray(c)?c:c?[c]:[])}}}function xF(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);ni(e,0,0,r)}function yF(e){const t=Object.assign({acorn:Xn.extend(_w()),acornOptions:{ecmaVersion:2024,sourceType:"module"},addResult:!0},e);return Fx([dF(t),GB(t),$B(t),WB()])}const vF={};function bF(e){const t=this,n=e||vF,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),s=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(yF(n)),s.push(qP()),o.push(UP(n))}const wF={};function Vx(e,t){const n=wF,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return G9(e,r,i)}function G9(e,t,n){if(SF(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 u6(e.children,t,n)}return Array.isArray(e)?u6(e,t,n):""}function u6(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=G9(e[i],t,n);return r.join("")}function SF(e){return!!(e&&typeof e=="object")}function X9(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 yu(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const s=e.charCodeAt(n);let o="";if(s===37&&sr(e.charCodeAt(n+1))&&sr(e.charCodeAt(n+2)))i=2;else if(s<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(s))||(o=String.fromCharCode(s));else if(s>55295&&s<57344){const c=e.charCodeAt(n+1);s<56320&&c>56319&&c<57344?(o=String.fromCharCode(s,c),i=1):o="�"}else o=String.fromCharCode(s);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+i+1,o=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}const kF={tokenize:EF};function EF(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(c){if(c===null){e.consume(c);return}return e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),vt(e,t,"linePrefix")}function i(c){return e.enter("paragraph"),s(c)}function s(c){const f=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=f),n=f,o(c)}function o(c){if(c===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(c);return}return je(c)?(e.consume(c),e.exit("chunkText"),s):(e.consume(c),o)}}const CF={tokenize:AF},c6={tokenize:TF};function AF(e){const t=this,n=[];let r=0,i,s,o;return c;function c(R){if(r<n.length){const j=n[r];return t.containerState=j[1],e.attempt(j[0].continuation,f,h)(R)}return h(R)}function f(R){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&M();const j=t.events.length;let L=j,S;for(;L--;)if(t.events[L][0]==="exit"&&t.events[L][1].type==="chunkFlow"){S=t.events[L][1].end;break}C(r);let O=j;for(;O<t.events.length;)t.events[O][1].end={...S},O++;return ni(t.events,L+1,0,t.events.slice(j)),t.events.length=O,h(R)}return c(R)}function h(R){if(r===n.length){if(!i)return x(R);if(i.currentConstruct&&i.currentConstruct.concrete)return E(R);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(c6,g,m)(R)}function g(R){return i&&M(),C(r),x(R)}function m(R){return t.parser.lazy[t.now().line]=r!==n.length,o=t.now().offset,E(R)}function x(R){return t.containerState={},e.attempt(c6,v,E)(R)}function v(R){return r++,n.push([t.currentConstruct,t.containerState]),x(R)}function E(R){if(R===null){i&&M(),C(0),e.consume(R);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:s}),k(R)}function k(R){if(R===null){T(e.exit("chunkFlow"),!0),C(0),e.consume(R);return}return je(R)?(e.consume(R),T(e.exit("chunkFlow")),r=0,t.interrupt=void 0,c):(e.consume(R),k)}function T(R,j){const L=t.sliceStream(R);if(j&&L.push(null),R.previous=s,s&&(s.next=R),s=R,i.defineSkip(R.start),i.write(L),t.parser.lazy[R.start.line]){let S=i.events.length;for(;S--;)if(i.events[S][1].start.offset<o&&(!i.events[S][1].end||i.events[S][1].end.offset>o))return;const O=t.events.length;let q=O,W,J;for(;q--;)if(t.events[q][0]==="exit"&&t.events[q][1].type==="chunkFlow"){if(W){J=t.events[q][1].end;break}W=!0}for(C(r),S=O;S<t.events.length;)t.events[S][1].end={...J},S++;ni(t.events,q+1,0,t.events.slice(O)),t.events.length=S}}function C(R){let j=n.length;for(;j-- >R;){const L=n[j];t.containerState=L[1],L[0].exit.call(t,e)}n.length=R}function M(){i.write([null]),s=void 0,i=void 0,t.containerState._closeFlow=void 0}}function TF(e,t,n){return vt(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}const MF={tokenize:NF};function NF(e){const t=this,n=e.attempt(xu,r,e.attempt(this.parser.constructs.flowInitial,i,vt(e,e.attempt(this.parser.constructs.flow,i,e.attempt(yj,i)),"linePrefix")));return n;function r(s){if(s===null){e.consume(s);return}return e.enter("lineEndingBlank"),e.consume(s),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const _F={resolveAll:J9()},DF=Y9("string"),RF=Y9("text");function Y9(e){return{resolveAll:J9(e==="text"?OF:void 0),tokenize:t};function t(n){const r=this,i=this.parser.constructs[e],s=n.attempt(i,o,c);return o;function o(g){return h(g)?s(g):c(g)}function c(g){if(g===null){n.consume(g);return}return n.enter("data"),n.consume(g),f}function f(g){return h(g)?(n.exit("data"),s(g)):(n.consume(g),f)}function h(g){if(g===null)return!0;const m=i[g];let x=-1;if(m)for(;++x<m.length;){const v=m[x];if(!v.previous||v.previous.call(r,r.previous))return!0}return!1}}}function J9(e){return t;function t(n,r){let i=-1,s;for(;++i<=n.length;)s===void 0?n[i]&&n[i][1].type==="data"&&(s=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==s+2&&(n[s][1].end=n[i-1][1].end,n.splice(s+2,i-s-2),i=s+2),s=void 0);return e?e(n,r):n}}function OF(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 s=i.length,o=-1,c=0,f;for(;s--;){const h=i[s];if(typeof h=="string"){for(o=h.length;h.charCodeAt(o-1)===32;)c++,o--;if(o)break;o=-1}else if(h===-2)f=!0,c++;else if(h!==-1){s++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(c=0),c){const h={type:n===e.length||f||c<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:s?o:r.start._bufferIndex+o,_index:r.start._index+s,line:r.end.line,column:r.end.column-c,offset:r.end.offset-c},end:{...r.end}};r.end={...h.start},r.start.offset===r.end.offset?Object.assign(r,h):(e.splice(n,0,["enter",h,t],["exit",h,t]),n+=2)}n++}return e}const IF={42:Or,43:Or,45:Or,48:Or,49:Or,50:Or,51:Or,52:Or,53:Or,54:Or,55:Or,56:Or,57:Or,62:B9},LF={91:kj},zF={[-2]:N1,[-1]:N1,32:N1},PF={35:Nj,42:Sh,45:[s6,Sh],60:Oj,61:s6,95:Sh,96:i6,126:i6},BF={38:F9,92:j9},jF={[-5]:_1,[-4]:_1,[-3]:_1,33:Kj,38:F9,42:Rg,60:[ZB,Fj],91:Zj,92:[Tj,j9],93:jx,95:Rg,96:hj},FF={null:[Rg,_F]},VF={null:[42,95]},qF={null:[]},UF=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:VF,contentInitial:LF,disable:qF,document:IF,flow:PF,flowInitial:zF,insideSpan:FF,string:BF,text:jF},Symbol.toStringTag,{value:"Module"}));function HF(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={},s=[];let o=[],c=[];const f={attempt:O(L),check:O(S),consume:M,enter:R,exit:j,interrupt:O(S,{interrupt:!0})},h={code:null,containerState:{},defineSkip:k,events:[],now:E,parser:e,previous:null,sliceSerialize:x,sliceStream:v,write:m};let g=t.tokenize.call(h,f);return t.resolveAll&&s.push(t),h;function m(re){return o=wi(o,re),T(),o[o.length-1]!==null?[]:(q(t,0),h.events=Mp(s,h.events,h),h.events)}function x(re,ae){return XF(v(re),ae)}function v(re){return GF(o,re)}function E(){const{_bufferIndex:re,_index:ae,line:Se,column:xe,offset:ge}=r;return{_bufferIndex:re,_index:ae,line:Se,column:xe,offset:ge}}function k(re){i[re.line]=re.column,J()}function T(){let re;for(;r._index<o.length;){const ae=o[r._index];if(typeof ae=="string")for(re=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===re&&r._bufferIndex<ae.length;)C(ae.charCodeAt(r._bufferIndex));else C(ae)}}function C(re){g=g(re)}function M(re){je(re)?(r.line++,r.column=1,r.offset+=re===-3?2:1,J()):re!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),h.previous=re}function R(re,ae){const Se=ae||{};return Se.type=re,Se.start=E(),h.events.push(["enter",Se,h]),c.push(Se),Se}function j(re){const ae=c.pop();return ae.end=E(),h.events.push(["exit",ae,h]),ae}function L(re,ae){q(re,ae.from)}function S(re,ae){ae.restore()}function O(re,ae){return Se;function Se(xe,ge,ee){let oe,le,we,Y;return Array.isArray(xe)?ue(xe):"tokenize"in xe?ue([xe]):$(xe);function $(ze){return Re;function Re(Ke){const Ve=Ke!==null&&ze[Ke],st=Ke!==null&&ze.null,Ze=[...Array.isArray(Ve)?Ve:Ve?[Ve]:[],...Array.isArray(st)?st:st?[st]:[]];return ue(Ze)(Ke)}}function ue(ze){return oe=ze,le=0,ze.length===0?ee:H(ze[le])}function H(ze){return Re;function Re(Ke){return Y=W(),we=ze,ze.partial||(h.currentConstruct=ze),ze.name&&h.parser.constructs.disable.null.includes(ze.name)?Le():ze.tokenize.call(ae?Object.assign(Object.create(h),ae):h,f,Ce,Le)(Ke)}}function Ce(ze){return re(we,Y),ge}function Le(ze){return Y.restore(),++le<oe.length?H(oe[le]):ee}}}function q(re,ae){re.resolveAll&&!s.includes(re)&&s.push(re),re.resolve&&ni(h.events,ae,h.events.length-ae,re.resolve(h.events.slice(ae),h)),re.resolveTo&&(h.events=re.resolveTo(h.events,h))}function W(){const re=E(),ae=h.previous,Se=h.currentConstruct,xe=h.events.length,ge=Array.from(c);return{from:xe,restore:ee};function ee(){r=re,h.previous=ae,h.currentConstruct=Se,h.events.length=xe,c=ge,J()}}function J(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function GF(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,s=t.end._bufferIndex;let o;if(n===i)o=[e[n].slice(r,s)];else{if(o=e.slice(n,i),r>-1){const c=o[0];typeof c=="string"?o[0]=c.slice(r):o.shift()}s>0&&o.push(e[i].slice(0,s))}return o}function XF(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const s=e[n];let o;if(typeof s=="string")o=s;else switch(s){case-5:{o="\r";break}case-4:{o=`
230
- `;break}case-3:{o=`\r
231
- `;break}case-2:{o=t?" ":" ";break}case-1:{if(!t&&i)continue;o=" ";break}default:o=String.fromCharCode(s)}i=s===-2,r.push(o)}return r.join("")}function YF(e){const r={constructs:Fx([UF,...(e||{}).extensions||[]]),content:i(kF),defined:[],document:i(CF),flow:i(MF),lazy:{},string:i(DF),text:i(RF)};return r;function i(s){return o;function o(c){return HF(r,s,c)}}}function JF(e){for(;!V9(e););return e}const f6=/[\0\t\n\r]/g;function $F(){let e=1,t="",n=!0,r;return i;function i(s,o,c){const f=[];let h,g,m,x,v;for(s=t+(typeof s=="string"?s.toString():new TextDecoder(o||void 0).decode(s)),m=0,t="",n&&(s.charCodeAt(0)===65279&&m++,n=void 0);m<s.length;){if(f6.lastIndex=m,h=f6.exec(s),x=h&&h.index!==void 0?h.index:s.length,v=s.charCodeAt(x),!h){t=s.slice(m);break}if(v===10&&m===x&&r)f.push(-3),r=void 0;else switch(r&&(f.push(-5),r=void 0),m<x&&(f.push(s.slice(m,x)),e+=x-m),v){case 0:{f.push(65533),e++;break}case 9:{for(g=Math.ceil(e/4)*4,f.push(-2);e++<g;)f.push(-1);break}case 10:{f.push(-4),e=1;break}default:r=!0,e=1}m=x+1}return c&&(r&&f.push(-5),t&&f.push(t),f.push(null)),f}}const WF=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function KF(e){return e.replace(WF,QF)}function QF(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),s=i===120||i===88;return X9(n.slice(s?2:1),s?16:10)}return Kc(n)||e}const $9={}.hasOwnProperty;function ZF(e,t,n){return typeof t!="string"&&(n=t,t=void 0),eV(n)(JF(YF(n).document().write($F()(e,t,!0))))}function eV(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(Pt),autolinkProtocol:W,autolinkEmail:W,atxHeading:s(Rt),blockQuote:s(st),characterEscape:W,characterReference:W,codeFenced:s(Ze),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:s(Ze,o),codeText:s(Pe,o),codeTextData:W,data:W,codeFlowValue:W,definition:s(ot),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:s(dt),hardBreakEscape:s(Jt),hardBreakTrailing:s(Jt),htmlFlow:s(Ut,o),htmlFlowData:W,htmlText:s(Ut,o),htmlTextData:W,image:s($t),label:o,link:s(Pt),listItem:s(Fn),listItemValue:x,listOrdered:s(yn,m),listUnordered:s(yn),paragraph:s(Ur),reference:H,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:s(Rt),strong:s(vn),thematicBreak:s(ai)},exit:{atxHeading:f(),atxHeadingSequence:L,autolink:f(),autolinkEmail:Ve,autolinkProtocol:Ke,blockQuote:f(),characterEscapeValue:J,characterReferenceMarkerHexadecimal:Le,characterReferenceMarkerNumeric:Le,characterReferenceValue:ze,characterReference:Re,codeFenced:f(T),codeFencedFence:k,codeFencedFenceInfo:v,codeFencedFenceMeta:E,codeFlowValue:J,codeIndented:f(C),codeText:f(ge),codeTextData:J,data:J,definition:f(),definitionDestinationString:j,definitionLabelString:M,definitionTitleString:R,emphasis:f(),hardBreakEscape:f(ae),hardBreakTrailing:f(ae),htmlFlow:f(Se),htmlFlowData:J,htmlText:f(xe),htmlTextData:J,image:f(oe),label:we,labelText:le,lineEnding:re,link:f(ee),listItem:f(),listOrdered:f(),listUnordered:f(),paragraph:f(),referenceString:Ce,resourceDestinationString:Y,resourceTitleString:$,resource:ue,setextHeading:f(q),setextHeadingLineSequence:O,setextHeadingText:S,strong:f(),thematicBreak:f()}};W9(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(ve){let ye={type:"root",children:[]};const G={stack:[ye],tokenStack:[],config:t,enter:c,exit:h,buffer:o,resume:g,data:n},$e=[];let gt=-1;for(;++gt<ve.length;)if(ve[gt][1].type==="listOrdered"||ve[gt][1].type==="listUnordered")if(ve[gt][0]==="enter")$e.push(gt);else{const an=$e.pop();gt=i(ve,an,gt)}for(gt=-1;++gt<ve.length;){const an=t[ve[gt][0]];$9.call(an,ve[gt][1].type)&&an[ve[gt][1].type].call(Object.assign({sliceSerialize:ve[gt][2].sliceSerialize},G),ve[gt][1])}if(G.tokenStack.length>0){const an=G.tokenStack[G.tokenStack.length-1];(an[1]||h6).call(G,void 0,an[0])}for(ye.position={start:Vs(ve.length>0?ve[0][1].start:{line:1,column:1,offset:0}),end:Vs(ve.length>0?ve[ve.length-2][1].end:{line:1,column:1,offset:0})},gt=-1;++gt<t.transforms.length;)ye=t.transforms[gt](ye)||ye;return ye}function i(ve,ye,G){let $e=ye-1,gt=-1,an=!1,Be,un,pn,Jn;for(;++$e<=G;){const Nt=ve[$e];switch(Nt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Nt[0]==="enter"?gt++:gt--,Jn=void 0;break}case"lineEndingBlank":{Nt[0]==="enter"&&(Be&&!Jn&&!gt&&!pn&&(pn=$e),Jn=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Jn=void 0}if(!gt&&Nt[0]==="enter"&&Nt[1].type==="listItemPrefix"||gt===-1&&Nt[0]==="exit"&&(Nt[1].type==="listUnordered"||Nt[1].type==="listOrdered")){if(Be){let br=$e;for(un=void 0;br--;){const nr=ve[br];if(nr[1].type==="lineEnding"||nr[1].type==="lineEndingBlank"){if(nr[0]==="exit")continue;un&&(ve[un][1].type="lineEndingBlank",an=!0),nr[1].type="lineEnding",un=br}else if(!(nr[1].type==="linePrefix"||nr[1].type==="blockQuotePrefix"||nr[1].type==="blockQuotePrefixWhitespace"||nr[1].type==="blockQuoteMarker"||nr[1].type==="listItemIndent"))break}pn&&(!un||pn<un)&&(Be._spread=!0),Be.end=Object.assign({},un?ve[un][1].start:Nt[1].end),ve.splice(un||$e,0,["exit",Be,Nt[2]]),$e++,G++}if(Nt[1].type==="listItemPrefix"){const br={type:"listItem",_spread:!1,start:Object.assign({},Nt[1].start),end:void 0};Be=br,ve.splice($e,0,["enter",br,Nt[2]]),$e++,G++,pn=void 0,Jn=!0}}}return ve[ye][1]._spread=an,G}function s(ve,ye){return G;function G($e){c.call(this,ve($e),$e),ye&&ye.call(this,$e)}}function o(){this.stack.push({type:"fragment",children:[]})}function c(ve,ye,G){this.stack[this.stack.length-1].children.push(ve),this.stack.push(ve),this.tokenStack.push([ye,G||void 0]),ve.position={start:Vs(ye.start),end:void 0}}function f(ve){return ye;function ye(G){ve&&ve.call(this,G),h.call(this,G)}}function h(ve,ye){const G=this.stack.pop(),$e=this.tokenStack.pop();if($e)$e[0].type!==ve.type&&(ye?ye.call(this,ve,$e[0]):($e[1]||h6).call(this,ve,$e[0]));else throw new Error("Cannot close `"+ve.type+"` ("+ki({start:ve.start,end:ve.end})+"): it’s not open");G.position.end=Vs(ve.end)}function g(){return Vx(this.stack.pop())}function m(){this.data.expectingFirstListItemValue=!0}function x(ve){if(this.data.expectingFirstListItemValue){const ye=this.stack[this.stack.length-2];ye.start=Number.parseInt(this.sliceSerialize(ve),10),this.data.expectingFirstListItemValue=void 0}}function v(){const ve=this.resume(),ye=this.stack[this.stack.length-1];ye.lang=ve}function E(){const ve=this.resume(),ye=this.stack[this.stack.length-1];ye.meta=ve}function k(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function T(){const ve=this.resume(),ye=this.stack[this.stack.length-1];ye.value=ve.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function C(){const ve=this.resume(),ye=this.stack[this.stack.length-1];ye.value=ve.replace(/(\r?\n|\r)$/g,"")}function M(ve){const ye=this.resume(),G=this.stack[this.stack.length-1];G.label=ye,G.identifier=Vi(this.sliceSerialize(ve)).toLowerCase()}function R(){const ve=this.resume(),ye=this.stack[this.stack.length-1];ye.title=ve}function j(){const ve=this.resume(),ye=this.stack[this.stack.length-1];ye.url=ve}function L(ve){const ye=this.stack[this.stack.length-1];if(!ye.depth){const G=this.sliceSerialize(ve).length;ye.depth=G}}function S(){this.data.setextHeadingSlurpLineEnding=!0}function O(ve){const ye=this.stack[this.stack.length-1];ye.depth=this.sliceSerialize(ve).codePointAt(0)===61?1:2}function q(){this.data.setextHeadingSlurpLineEnding=void 0}function W(ve){const G=this.stack[this.stack.length-1].children;let $e=G[G.length-1];(!$e||$e.type!=="text")&&($e=pt(),$e.position={start:Vs(ve.start),end:void 0},G.push($e)),this.stack.push($e)}function J(ve){const ye=this.stack.pop();ye.value+=this.sliceSerialize(ve),ye.position.end=Vs(ve.end)}function re(ve){const ye=this.stack[this.stack.length-1];if(this.data.atHardBreak){const G=ye.children[ye.children.length-1];G.position.end=Vs(ve.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(ye.type)&&(W.call(this,ve),J.call(this,ve))}function ae(){this.data.atHardBreak=!0}function Se(){const ve=this.resume(),ye=this.stack[this.stack.length-1];ye.value=ve}function xe(){const ve=this.resume(),ye=this.stack[this.stack.length-1];ye.value=ve}function ge(){const ve=this.resume(),ye=this.stack[this.stack.length-1];ye.value=ve}function ee(){const ve=this.stack[this.stack.length-1];if(this.data.inReference){const ye=this.data.referenceType||"shortcut";ve.type+="Reference",ve.referenceType=ye,delete ve.url,delete ve.title}else delete ve.identifier,delete ve.label;this.data.referenceType=void 0}function oe(){const ve=this.stack[this.stack.length-1];if(this.data.inReference){const ye=this.data.referenceType||"shortcut";ve.type+="Reference",ve.referenceType=ye,delete ve.url,delete ve.title}else delete ve.identifier,delete ve.label;this.data.referenceType=void 0}function le(ve){const ye=this.sliceSerialize(ve),G=this.stack[this.stack.length-2];G.label=KF(ye),G.identifier=Vi(ye).toLowerCase()}function we(){const ve=this.stack[this.stack.length-1],ye=this.resume(),G=this.stack[this.stack.length-1];if(this.data.inReference=!0,G.type==="link"){const $e=ve.children;G.children=$e}else G.alt=ye}function Y(){const ve=this.resume(),ye=this.stack[this.stack.length-1];ye.url=ve}function $(){const ve=this.resume(),ye=this.stack[this.stack.length-1];ye.title=ve}function ue(){this.data.inReference=void 0}function H(){this.data.referenceType="collapsed"}function Ce(ve){const ye=this.resume(),G=this.stack[this.stack.length-1];G.label=ye,G.identifier=Vi(this.sliceSerialize(ve)).toLowerCase(),this.data.referenceType="full"}function Le(ve){this.data.characterReferenceType=ve.type}function ze(ve){const ye=this.sliceSerialize(ve),G=this.data.characterReferenceType;let $e;G?($e=X9(ye,G==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):$e=Kc(ye);const gt=this.stack[this.stack.length-1];gt.value+=$e}function Re(ve){const ye=this.stack.pop();ye.position.end=Vs(ve.end)}function Ke(ve){J.call(this,ve);const ye=this.stack[this.stack.length-1];ye.url=this.sliceSerialize(ve)}function Ve(ve){J.call(this,ve);const ye=this.stack[this.stack.length-1];ye.url="mailto:"+this.sliceSerialize(ve)}function st(){return{type:"blockquote",children:[]}}function Ze(){return{type:"code",lang:null,meta:null,value:""}}function Pe(){return{type:"inlineCode",value:""}}function ot(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function dt(){return{type:"emphasis",children:[]}}function Rt(){return{type:"heading",depth:0,children:[]}}function Jt(){return{type:"break"}}function Ut(){return{type:"html",value:""}}function $t(){return{type:"image",title:null,url:"",alt:null}}function Pt(){return{type:"link",title:null,url:"",children:[]}}function yn(ve){return{type:"list",ordered:ve.type==="listOrdered",start:null,spread:ve._spread,children:[]}}function Fn(ve){return{type:"listItem",spread:ve._spread,checked:null,children:[]}}function Ur(){return{type:"paragraph",children:[]}}function vn(){return{type:"strong",children:[]}}function pt(){return{type:"text",value:""}}function ai(){return{type:"thematicBreak"}}}function Vs(e){return{line:e.line,column:e.column,offset:e.offset}}function W9(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?W9(e,r):tV(e,r)}}function tV(e,t){let n;for(n in t)if($9.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 h6(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+ki({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+ki({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+ki({start:t.start,end:t.end})+") is still open")}function nV(e){const t=this;t.parser=n;function n(r){return ZF(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function rV(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 iV(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
232
- `}]}function aV(e,t){const n=t.value?t.value+`
233
- `:"",r={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(r.className=["language-"+i[0]]);let s={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(s.data={meta:t.meta}),e.patch(t,s),s=e.applyData(t,s),s={type:"element",tagName:"pre",properties:{},children:[s]},e.patch(t,s),s}function sV(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function lV(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function oV(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),i=yu(r.toLowerCase()),s=e.footnoteOrder.indexOf(r);let o,c=e.footnoteCounts.get(r);c===void 0?(c=0,e.footnoteOrder.push(r),o=e.footnoteOrder.length):o=s+1,c+=1,e.footnoteCounts.set(r,c);const f={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(c>1?"-"+c:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,f);const h={type:"element",tagName:"sup",properties:{},children:[f]};return e.patch(t,h),e.applyData(t,h)}function uV(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 cV(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function K9(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),s=i[0];s&&s.type==="text"?s.value="["+s.value:i.unshift({type:"text",value:"["});const o=i[i.length-1];return o&&o.type==="text"?o.value+=r:i.push({type:"text",value:r}),i}function fV(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return K9(e,t);const i={src:yu(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);const s={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,s),e.applyData(t,s)}function hV(e,t){const n={src:yu(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 pV(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 dV(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return K9(e,t);const i={href:yu(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const s={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,s),e.applyData(t,s)}function mV(e,t){const n={href:yu(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 gV(e,t,n){const r=e.all(t),i=n?xV(n):Q9(t),s={},o=[];if(typeof t.checked=="boolean"){const g=r[0];let m;g&&g.type==="element"&&g.tagName==="p"?m=g:(m={type:"element",tagName:"p",properties:{},children:[]},r.unshift(m)),m.children.length>0&&m.children.unshift({type:"text",value:" "}),m.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),s.className=["task-list-item"]}let c=-1;for(;++c<r.length;){const g=r[c];(i||c!==0||g.type!=="element"||g.tagName!=="p")&&o.push({type:"text",value:`
234
- `}),g.type==="element"&&g.tagName==="p"&&!i?o.push(...g.children):o.push(g)}const f=r[r.length-1];f&&(i||f.type!=="element"||f.tagName!=="p")&&o.push({type:"text",value:`
235
- `});const h={type:"element",tagName:"li",properties:s,children:o};return e.patch(t,h),e.applyData(t,h)}function xV(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=Q9(n[r])}return t}function Q9(e){const t=e.spread;return t??e.children.length>1}function yV(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 o=r[i];if(o.type==="element"&&o.tagName==="li"&&o.properties&&Array.isArray(o.properties.className)&&o.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const s={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,s),e.applyData(t,s)}function vV(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function bV(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function wV(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function SV(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const o={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],o),i.push(o)}if(n.length>0){const o={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},c=Xw(t.children[1]),f=Gw(t.children[t.children.length-1]);c&&f&&(o.position={start:c,end:f}),i.push(o)}const s={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,s),e.applyData(t,s)}function kV(e,t,n){const r=n?n.children:void 0,s=(r?r.indexOf(t):1)===0?"th":"td",o=n&&n.type==="table"?n.align:void 0,c=o?o.length:t.children.length;let f=-1;const h=[];for(;++f<c;){const m=t.children[f],x={},v=o?o[f]:void 0;v&&(x.align=v);let E={type:"element",tagName:s,properties:x,children:[]};m&&(E.children=e.all(m),e.patch(m,E),E=e.applyData(m,E)),h.push(E)}const g={type:"element",tagName:"tr",properties:{},children:e.wrap(h,!0)};return e.patch(t,g),e.applyData(t,g)}function EV(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const p6=9,d6=32;function CV(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),i=0;const s=[];for(;r;)s.push(m6(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return s.push(m6(t.slice(i),i>0,!1)),s.join("")}function m6(e,t,n){let r=0,i=e.length;if(t){let s=e.codePointAt(r);for(;s===p6||s===d6;)r++,s=e.codePointAt(r)}if(n){let s=e.codePointAt(i-1);for(;s===p6||s===d6;)i--,s=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function AV(e,t){const n={type:"text",value:CV(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function TV(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const MV={blockquote:rV,break:iV,code:aV,delete:sV,emphasis:lV,footnoteReference:oV,heading:uV,html:cV,imageReference:fV,image:hV,inlineCode:pV,linkReference:dV,link:mV,listItem:gV,list:yV,paragraph:vV,root:bV,strong:wV,table:SV,tableCell:EV,tableRow:kV,text:AV,thematicBreak:TV,toml:Qf,yaml:Qf,definition:Qf,footnoteDefinition:Qf};function Qf(){}const Z9=-1,Np=0,Vc=1,Hh=2,qx=3,Ux=4,Hx=5,Gx=6,eS=7,tS=8,g6=typeof self=="object"?self:globalThis,NV=(e,t)=>{const n=(i,s)=>(e.set(s,i),i),r=i=>{if(e.has(i))return e.get(i);const[s,o]=t[i];switch(s){case Np:case Z9:return n(o,i);case Vc:{const c=n([],i);for(const f of o)c.push(r(f));return c}case Hh:{const c=n({},i);for(const[f,h]of o)c[r(f)]=r(h);return c}case qx:return n(new Date(o),i);case Ux:{const{source:c,flags:f}=o;return n(new RegExp(c,f),i)}case Hx:{const c=n(new Map,i);for(const[f,h]of o)c.set(r(f),r(h));return c}case Gx:{const c=n(new Set,i);for(const f of o)c.add(r(f));return c}case eS:{const{name:c,message:f}=o;return n(new g6[c](f),i)}case tS:return n(BigInt(o),i);case"BigInt":return n(Object(BigInt(o)),i);case"ArrayBuffer":return n(new Uint8Array(o).buffer,o);case"DataView":{const{buffer:c}=new Uint8Array(o);return n(new DataView(c),o)}}return n(new g6[s](o),i)};return r},x6=e=>NV(new Map,e)(0),qo="",{toString:_V}={},{keys:DV}=Object,Nc=e=>{const t=typeof e;if(t!=="object"||!e)return[Np,t];const n=_V.call(e).slice(8,-1);switch(n){case"Array":return[Vc,qo];case"Object":return[Hh,qo];case"Date":return[qx,qo];case"RegExp":return[Ux,qo];case"Map":return[Hx,qo];case"Set":return[Gx,qo];case"DataView":return[Vc,n]}return n.includes("Array")?[Vc,n]:n.includes("Error")?[eS,n]:[Hh,n]},Zf=([e,t])=>e===Np&&(t==="function"||t==="symbol"),RV=(e,t,n,r)=>{const i=(o,c)=>{const f=r.push(o)-1;return n.set(c,f),f},s=o=>{if(n.has(o))return n.get(o);let[c,f]=Nc(o);switch(c){case Np:{let g=o;switch(f){case"bigint":c=tS,g=o.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+f);g=null;break;case"undefined":return i([Z9],o)}return i([c,g],o)}case Vc:{if(f){let x=o;return f==="DataView"?x=new Uint8Array(o.buffer):f==="ArrayBuffer"&&(x=new Uint8Array(o)),i([f,[...x]],o)}const g=[],m=i([c,g],o);for(const x of o)g.push(s(x));return m}case Hh:{if(f)switch(f){case"BigInt":return i([f,o.toString()],o);case"Boolean":case"Number":case"String":return i([f,o.valueOf()],o)}if(t&&"toJSON"in o)return s(o.toJSON());const g=[],m=i([c,g],o);for(const x of DV(o))(e||!Zf(Nc(o[x])))&&g.push([s(x),s(o[x])]);return m}case qx:return i([c,o.toISOString()],o);case Ux:{const{source:g,flags:m}=o;return i([c,{source:g,flags:m}],o)}case Hx:{const g=[],m=i([c,g],o);for(const[x,v]of o)(e||!(Zf(Nc(x))||Zf(Nc(v))))&&g.push([s(x),s(v)]);return m}case Gx:{const g=[],m=i([c,g],o);for(const x of o)(e||!Zf(Nc(x)))&&g.push(s(x));return m}}const{message:h}=o;return i([c,{name:f,message:h}],o)};return s},y6=(e,{json:t,lossy:n}={})=>{const r=[];return RV(!(t||n),!!t,new Map,r)(e),r},Gh=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?x6(y6(e,t)):structuredClone(e):(e,t)=>x6(y6(e,t));function OV(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 IV(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function LV(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||OV,r=e.options.footnoteBackLabel||IV,i=e.options.footnoteLabel||"Footnotes",s=e.options.footnoteLabelTagName||"h2",o=e.options.footnoteLabelProperties||{className:["sr-only"]},c=[];let f=-1;for(;++f<e.footnoteOrder.length;){const h=e.footnoteById.get(e.footnoteOrder[f]);if(!h)continue;const g=e.all(h),m=String(h.identifier).toUpperCase(),x=yu(m.toLowerCase());let v=0;const E=[],k=e.footnoteCounts.get(m);for(;k!==void 0&&++v<=k;){E.length>0&&E.push({type:"text",value:" "});let M=typeof n=="string"?n:n(f,v);typeof M=="string"&&(M={type:"text",value:M}),E.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+x+(v>1?"-"+v:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(f,v),className:["data-footnote-backref"]},children:Array.isArray(M)?M:[M]})}const T=g[g.length-1];if(T&&T.type==="element"&&T.tagName==="p"){const M=T.children[T.children.length-1];M&&M.type==="text"?M.value+=" ":T.children.push({type:"text",value:" "}),T.children.push(...E)}else g.push(...E);const C={type:"element",tagName:"li",properties:{id:t+"fn-"+x},children:e.wrap(g,!0)};e.patch(h,C),c.push(C)}if(c.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:s,properties:{...Gh(o),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:`
236
- `},{type:"element",tagName:"ol",properties:{},children:e.wrap(c,!0)},{type:"text",value:`
237
- `}]}}const k0=(function(e){if(e==null)return jV;if(typeof e=="function")return _p(e);if(typeof e=="object")return Array.isArray(e)?zV(e):PV(e);if(typeof e=="string")return BV(e);throw new Error("Expected function, string, or object as test")});function zV(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=k0(e[n]);return _p(r);function r(...i){let s=-1;for(;++s<t.length;)if(t[s].apply(this,i))return!0;return!1}}function PV(e){const t=e;return _p(n);function n(r){const i=r;let s;for(s in e)if(i[s]!==t[s])return!1;return!0}}function BV(e){return _p(t);function t(n){return n&&n.type===e}}function _p(e){return t;function t(n,r,i){return!!(FV(n)&&e.call(this,n,typeof r=="number"?r:void 0,i||void 0))}}function jV(){return!0}function FV(e){return e!==null&&typeof e=="object"&&"type"in e}const nS=[],VV=!0,Og=!1,rS="skip";function Xx(e,t,n,r){let i;typeof t=="function"&&typeof n!="function"?(r=n,n=t):i=t;const s=k0(i),o=r?-1:1;c(e,void 0,[])();function c(f,h,g){const m=f&&typeof f=="object"?f:{};if(typeof m.type=="string"){const v=typeof m.tagName=="string"?m.tagName:typeof m.name=="string"?m.name:void 0;Object.defineProperty(x,"name",{value:"node ("+(f.type+(v?"<"+v+">":""))+")"})}return x;function x(){let v=nS,E,k,T;if((!t||s(f,h,g[g.length-1]||void 0))&&(v=qV(n(f,g)),v[0]===Og))return v;if("children"in f&&f.children){const C=f;if(C.children&&v[0]!==rS)for(k=(r?C.children.length:-1)+o,T=g.concat(C);k>-1&&k<C.children.length;){const M=C.children[k];if(E=c(M,k,T)(),E[0]===Og)return E;k=typeof E[1]=="number"?E[1]:k+o}}return v}}}function qV(e){return Array.isArray(e)?e:typeof e=="number"?[VV,e]:e==null?nS:[e]}function Dp(e,t,n,r){let i,s,o;typeof t=="function"&&typeof n!="function"?(s=void 0,o=t,i=n):(s=t,o=n,i=r),Xx(e,s,c,i);function c(f,h){const g=h[h.length-1],m=g?g.children.indexOf(f):void 0;return o(f,m,g)}}const Ig={}.hasOwnProperty,UV={};function HV(e,t){const n=t||UV,r=new Map,i=new Map,s=new Map,o={...MV,...n.handlers},c={all:h,applyData:XV,definitionById:r,footnoteById:i,footnoteCounts:s,footnoteOrder:[],handlers:o,one:f,options:n,patch:GV,wrap:JV};return Dp(e,function(g){if(g.type==="definition"||g.type==="footnoteDefinition"){const m=g.type==="definition"?r:i,x=String(g.identifier).toUpperCase();m.has(x)||m.set(x,g)}}),c;function f(g,m){const x=g.type,v=c.handlers[x];if(Ig.call(c.handlers,x)&&v)return v(c,g,m);if(c.options.passThrough&&c.options.passThrough.includes(x)){if("children"in g){const{children:k,...T}=g,C=Gh(T);return C.children=c.all(g),C}return Gh(g)}return(c.options.unknownHandler||YV)(c,g,m)}function h(g){const m=[];if("children"in g){const x=g.children;let v=-1;for(;++v<x.length;){const E=c.one(x[v],g);if(E){if(v&&x[v-1].type==="break"&&(!Array.isArray(E)&&E.type==="text"&&(E.value=v6(E.value)),!Array.isArray(E)&&E.type==="element")){const k=E.children[0];k&&k.type==="text"&&(k.value=v6(k.value))}Array.isArray(E)?m.push(...E):m.push(E)}}}return m}}function GV(e,t){e.position&&(t.position=Jw(e))}function XV(e,t){let n=t;if(e&&e.data){const r=e.data.hName,i=e.data.hChildren,s=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const o="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:o}}n.type==="element"&&s&&Object.assign(n.properties,Gh(s)),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}function YV(e,t){const n=t.data||{},r="value"in t&&!(Ig.call(n,"hProperties")||Ig.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 JV(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
238
- `});++r<e.length;)r&&n.push({type:"text",value:`
239
- `}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
240
- `}),n}function v6(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function b6(e,t){const n=HV(e,t),r=n.one(e,void 0),i=LV(n),s=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&s.children.push({type:"text",value:`
241
- `},i),s}function $V(e,t){return e&&"run"in e?async function(n,r){const i=b6(n,{file:r,...t});await e.run(i,r)}:function(n,r){return b6(n,{file:r,...e||t})}}function w6(e){if(e)throw e}var D1,S6;function WV(){if(S6)return D1;S6=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=function(h){return typeof Array.isArray=="function"?Array.isArray(h):t.call(h)==="[object Array]"},s=function(h){if(!h||t.call(h)!=="[object Object]")return!1;var g=e.call(h,"constructor"),m=h.constructor&&h.constructor.prototype&&e.call(h.constructor.prototype,"isPrototypeOf");if(h.constructor&&!g&&!m)return!1;var x;for(x in h);return typeof x>"u"||e.call(h,x)},o=function(h,g){n&&g.name==="__proto__"?n(h,g.name,{enumerable:!0,configurable:!0,value:g.newValue,writable:!0}):h[g.name]=g.newValue},c=function(h,g){if(g==="__proto__")if(e.call(h,g)){if(r)return r(h,g).value}else return;return h[g]};return D1=function f(){var h,g,m,x,v,E,k=arguments[0],T=1,C=arguments.length,M=!1;for(typeof k=="boolean"&&(M=k,k=arguments[1]||{},T=2),(k==null||typeof k!="object"&&typeof k!="function")&&(k={});T<C;++T)if(h=arguments[T],h!=null)for(g in h)m=c(k,g),x=c(h,g),k!==x&&(M&&x&&(s(x)||(v=i(x)))?(v?(v=!1,E=m&&i(m)?m:[]):E=m&&s(m)?m:{},o(k,{name:g,newValue:f(M,E,x)})):typeof x<"u"&&o(k,{name:g,newValue:x}));return k},D1}var KV=WV();const R1=Gl(KV);function Lg(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 QV(){const e=[],t={run:n,use:r};return t;function n(...i){let s=-1;const o=i.pop();if(typeof o!="function")throw new TypeError("Expected function as last argument, not "+o);c(null,...i);function c(f,...h){const g=e[++s];let m=-1;if(f){o(f);return}for(;++m<i.length;)(h[m]===null||h[m]===void 0)&&(h[m]=i[m]);i=h,g?ZV(g,c)(...h):o(null,...h)}}function r(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),t}}function ZV(e,t){let n;return r;function r(...o){const c=e.length>o.length;let f;c&&o.push(i);try{f=e.apply(this,o)}catch(h){const g=h;if(c&&n)throw g;return i(g)}c||(f&&f.then&&typeof f.then=="function"?f.then(s,i):f instanceof Error?i(f):s(f))}function i(o,...c){n||(n=!0,t(o,...c))}function s(o){i(null,o)}}const eq=(function(e){const r=this.constructor.prototype,i=r[e],s=function(){return i.apply(s,arguments)};return Object.setPrototypeOf(s,r),s}),tq={}.hasOwnProperty;class Yx extends eq{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=QV()}copy(){const t=new Yx;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(R1(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(L1("data",this.frozen),this.namespace[t]=n,this):tq.call(this.namespace,t)&&this.namespace[t]||void 0:t?(L1("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=eh(t),r=this.parser||this.Parser;return O1("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),O1("process",this.parser||this.Parser),I1("process",this.compiler||this.Compiler),n?i(void 0,n):new Promise(i);function i(s,o){const c=eh(t),f=r.parse(c);r.run(f,c,function(g,m,x){if(g||!m||!x)return h(g);const v=m,E=r.stringify(v,x);iq(E)?x.value=E:x.result=E,h(g,x)});function h(g,m){g||!m?o(g):s?s(m):n(void 0,m)}}}processSync(t){let n=!1,r;return this.freeze(),O1("processSync",this.parser||this.Parser),I1("processSync",this.compiler||this.Compiler),this.process(t,i),E6("processSync","process",n),r;function i(s,o){n=!0,w6(s),r=o}}run(t,n,r){k6(t),this.freeze();const i=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?s(void 0,r):new Promise(s);function s(o,c){const f=eh(n);i.run(t,f,h);function h(g,m,x){const v=m||t;g?c(g):o?o(v):r(void 0,v,x)}}}runSync(t,n){let r=!1,i;return this.run(t,n,s),E6("runSync","run",r),i;function s(o,c){w6(o),i=c,r=!0}}stringify(t,n){this.freeze();const r=eh(n),i=this.compiler||this.Compiler;return I1("stringify",i),k6(t),i(t,r)}use(t,...n){const r=this.attachers,i=this.namespace;if(L1("use",this.frozen),t!=null)if(typeof t=="function")f(t,n);else if(typeof t=="object")Array.isArray(t)?c(t):o(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function s(h){if(typeof h=="function")f(h,[]);else if(typeof h=="object")if(Array.isArray(h)){const[g,...m]=h;f(g,m)}else o(h);else throw new TypeError("Expected usable value, not `"+h+"`")}function o(h){if(!("plugins"in h)&&!("settings"in h))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");c(h.plugins),h.settings&&(i.settings=R1(!0,i.settings,h.settings))}function c(h){let g=-1;if(h!=null)if(Array.isArray(h))for(;++g<h.length;){const m=h[g];s(m)}else throw new TypeError("Expected a list of plugins, not `"+h+"`")}function f(h,g){let m=-1,x=-1;for(;++m<r.length;)if(r[m][0]===h){x=m;break}if(x===-1)r.push([h,...g]);else if(g.length>0){let[v,...E]=g;const k=r[x][1];Lg(k)&&Lg(v)&&(v=R1(!0,k,v)),r[x]=[h,v,...E]}}}}const nq=new Yx().freeze();function O1(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function I1(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function L1(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 k6(e){if(!Lg(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function E6(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function eh(e){return rq(e)?e:new Mw(e)}function rq(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function iq(e){return typeof e=="string"||aq(e)}function aq(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}function Xs(e,t){const n=["start","end","loc","range"];let r=-1;for(;++r<n.length;){const i=n[r];i in e&&(t[i]=e[i])}}function Jx(e,t){let n=-1;const r=[],i=[];let s;for(;++n<e.length;){const o=e[n];o.type==="ImportNamespaceSpecifier"?s=o:i.push(o)}if(s){const o={type:"VariableDeclarator",id:s.local,init:t};Xs(s,o),r.push(o)}return r.push({type:"VariableDeclarator",id:{type:"ObjectPattern",properties:i.map(function(o){let c=o.type==="ImportSpecifier"?o.imported:o.type==="ExportSpecifier"?o.exported:{type:"Identifier",name:"default"},f=o.local;o.type==="ExportSpecifier"&&(f=c,c=o.local),f.type;const h={type:"Property",kind:"init",shorthand:c.type==="Identifier"&&f.type==="Identifier"&&c.name===f.name,method:!1,computed:!1,key:c,value:f};return Xs(o,h),h})},init:s?{type:"Identifier",name:s.local.name}:t}),r}function Ks(e){let t=-1,n;for(;++t<e.length;){const r=e[t],i=typeof r=="string"&&oa(r)?{type:"Identifier",name:r}:{type:"Literal",value:r};n=n?{type:"MemberExpression",object:n,property:i,computed:i.type==="Literal",optional:!1}:i}return n.type,n}function C6(e){let t=-1,n;for(;++t<e.length;){const r=e[t];typeof r=="string"&&oa(r,{jsx:!0});const i={type:"JSXIdentifier",name:r};n=n?{type:"JSXMemberExpression",object:n,property:i}:i}return n}function sq(e){const{outputFormat:t}=e||{};return function(n){if(n.comments&&(n.comments=n.comments.filter(function(r){var i;return!((i=r.data)!=null&&i._mdxIsPragmaComment)})),t==="function-body"){let r=0;for(;r<n.body.length;){const s=n.body[r];if("directive"in s&&s.directive)r++;else break}const i=n.body[r];i&&i.type==="ImportDeclaration"&&typeof i.source.value=="string"&&/\/jsx-(dev-)?runtime$/.test(i.source.value)&&(n.body[r]={type:"VariableDeclaration",kind:"const",declarations:Jx(i.specifiers,Ks(["arguments",0]))})}}}function iS(){const e=[{block:!1,defined:[]}];return{enter:t,exit:n,scopes:e};function t(s){if(s.type==="ArrowFunctionExpression"){e.push({block:!1,defined:[]});for(const o of s.params)i(o,!1)}else if(s.type==="BlockStatement"||s.type==="DoWhileStatement"||s.type==="ForInStatement"||s.type==="ForOfStatement"||s.type==="ForStatement"||s.type==="WhileStatement")e.push({block:!0,defined:[]});else if(s.type==="CatchClause")e.push({block:!0,defined:[]}),s.param&&i(s.param,!0);else if(s.type==="ClassDeclaration")r(s.id.name,!1);else if(s.type==="FunctionDeclaration"){r(s.id.name,!1),e.push({block:!1,defined:[]});for(const o of s.params)i(o,!1)}else if(s.type==="FunctionExpression"){s.id&&r(s.id.name,!1),e.push({block:!1,defined:[]});for(const o of s.params)i(o,!1)}else if(s.type==="ImportDeclaration")for(const o of s.specifiers)r(o.local.name,!1);else if(s.type==="VariableDeclaration")for(const o of s.declarations)i(o.id,s.kind!=="var")}function n(s){if(s.type==="ArrowFunctionExpression"||s.type==="FunctionDeclaration"||s.type==="FunctionExpression"){const o=e.pop();o.block}else if(s.type==="BlockStatement"||s.type==="CatchClause"||s.type==="DoWhileStatement"||s.type==="ForInStatement"||s.type==="ForOfStatement"||s.type==="ForStatement"||s.type==="WhileStatement"){const o=e.pop();o.block}}function r(s,o){let c=e.length,f;for(;c--&&(f=e[c],!(o||!f.block)););f.defined.push(s)}function i(s,o){if(s.type==="ArrayPattern")for(const c of s.elements)c&&i(c,o);else if(s.type==="AssignmentPattern")i(s.left,o);else if(s.type==="Identifier")r(s.name,o);else if(s.type==="ObjectPattern")for(const c of s.properties)c.type==="Property"?i(c.value,o):(c.type,i(c,o));else s.type,i(s.argument,o)}}function lq(e){return e.type==="FunctionDeclaration"?{...e,type:"FunctionExpression"}:(e.type,{...e,type:"ClassExpression"})}function oq(e){return e.type==="FunctionDeclaration"||e.type==="ClassDeclaration"||e.type==="VariableDeclaration"}function uq(e){const t=e.baseUrl||void 0,n=typeof t=="object"?t.href:t,r=e.outputFormat||"program",i=e.pragma===void 0?"React.createElement":e.pragma,s=e.pragmaFrag===void 0?"React.Fragment":e.pragmaFrag,o=e.pragmaImportSource||"react",c=e.jsxImportSource||"react",f=e.jsxRuntime||"automatic";return function(g,m){const x=[],v=[];let E=0,k,T,C;if(f==="classic"&&s&&th(g,"@jsxFrag",s),f==="classic"&&i&&th(g,"@jsx",i),f==="automatic"&&c&&th(g,"@jsxImportSource",c),th(g,"@jsxRuntime",f),f==="classic"&&o){if(!i)throw new Error("Missing `pragma` in classic runtime with `pragmaImportSource`");L({type:"ImportDeclaration",specifiers:[{type:"ImportDefaultSpecifier",local:{type:"Identifier",name:i.split(".")[0]}}],attributes:[],source:{type:"Literal",value:o}})}for(C of g.body)if(C.type==="ExportDefaultDeclaration")k&&m.fail("Unexpected duplicate layout, expected a single layout (previous: "+ki(Ga(k))+")",{ancestors:[g,C],place:Ga(C),ruleId:"duplicate-layout",source:"recma-document"}),k=C,v.push({type:"VariableDeclaration",kind:"const",declarations:[{type:"VariableDeclarator",id:{type:"Identifier",name:"MDXLayout"},init:oq(C.declaration)?lq(C.declaration):C.declaration}]});else if(C.type==="ExportNamedDeclaration"&&C.source){const S=C.source;C.specifiers=C.specifiers.filter(function(O){if(O.exported.type==="Identifier"&&O.exported.name==="default"){k&&m.fail("Unexpected duplicate layout, expected a single layout (previous: "+ki(Ga(k))+")",{ancestors:[g,C,O],place:Ga(C),ruleId:"duplicate-layout",source:"recma-document"}),k=O;const q=[];if(O.local.type==="Identifier"&&O.local.name==="default")q.push({type:"ImportDefaultSpecifier",local:{type:"Identifier",name:"MDXLayout"}});else{const re={type:"ImportSpecifier",imported:O.local,local:{type:"Identifier",name:"MDXLayout"}};Xs(O.local,re),q.push(re)}const W={type:"Literal",value:S.value};Xs(S,W);const J={type:"ImportDeclaration",specifiers:q,attributes:[],source:W};return Xs(O,J),L(J),!1}return!0}),C.specifiers.length>0&&j(C)}else C.type==="ExportNamedDeclaration"||C.type==="ExportAllDeclaration"?j(C):C.type==="ImportDeclaration"?L(C):C.type==="ExpressionStatement"&&(C.expression.type==="JSXElement"||C.expression.type==="JSXFragment")?(T=!0,v.push(...h(C.expression,r,!!k))):v.push(C);T||v.push(...h(void 0,r,!!k)),x.push(["MDXContent","default"]),r==="function-body"&&v.push({type:"ReturnStatement",argument:{type:"ObjectExpression",properties:[...Array.from({length:E}).map(function(S,O){return{type:"SpreadElement",argument:{type:"Identifier",name:"_exportAll"+(O+1)}}}),...x.map(function(S){return{type:"Property",kind:"init",method:!1,computed:!1,shorthand:typeof S=="string",key:{type:"Identifier",name:typeof S=="string"?S:S[1]},value:{type:"Identifier",name:typeof S=="string"?S:S[0]}}})]}}),g.body=v;let M=!1,R=!1;(n||r==="function-body")&&Qo(g,{enter(S){if((S.type==="ExportAllDeclaration"||S.type==="ExportNamedDeclaration"||S.type==="ImportDeclaration")&&S.source){let O=S.source.value;try{new URL(O)}catch{(O.startsWith("/")||O.startsWith("./")||O.startsWith("../"))&&(O=new URL(O,n).href)}const q={type:"Literal",value:O};Xs(S.source,q),S.source=q;return}if(S.type==="ImportExpression"){R=!0;const O={type:"CallExpression",callee:{type:"Identifier",name:"_resolveDynamicMdxSpecifier"},arguments:[S.source],optional:!1};S.source=O;return}if(S.type==="MemberExpression"&&"object"in S&&S.object.type==="MetaProperty"&&S.property.type==="Identifier"&&S.object.meta.name==="import"&&S.object.property.name==="meta"&&S.property.name==="url"){M=!0;const O={type:"Identifier",name:"_importMetaUrl"};Xs(S,O),this.replace(O)}}}),R&&(n||(M=!0),g.body.push(cq(n?{type:"Literal",value:n}:{type:"Identifier",name:"_importMetaUrl"}))),M&&g.body.unshift(...fq());function j(S){if(S.type==="ExportNamedDeclaration"){if(S.declaration){const O=iS();Qo(S,{enter(q){O.enter(q),(q.type==="ArrowFunctionExpression"||q.type==="FunctionDeclaration"||q.type==="FunctionExpression")&&(this.skip(),O.exit(q))},leave:O.exit}),x.push(...O.scopes[0].defined)}for(C of S.specifiers)C.exported.type==="Identifier"?x.push(C.exported.name):(C.exported.value,x.push(C.exported.value))}L(S)}function L(S){let O,q;if(r==="function-body")if(S.type==="ImportDeclaration"||S.type==="ExportAllDeclaration"||S.type==="ExportNamedDeclaration"&&S.source){S.source;const W={type:"ImportExpression",source:S.source};Xs(S,W),q={type:"AwaitExpression",argument:W},(S.type==="ImportDeclaration"||S.type==="ExportNamedDeclaration")&&S.specifiers.length===0?O={type:"ExpressionStatement",expression:q}:O={type:"VariableDeclaration",kind:"const",declarations:S.type==="ExportAllDeclaration"?[{type:"VariableDeclarator",id:{type:"Identifier",name:"_exportAll"+ ++E},init:q}]:Jx(S.specifiers,q)}}else if(S.declaration)O=S.declaration;else{const W=[];for(const J of S.specifiers)J.exported.type==="Identifier"&&J.local.type==="Identifier"&&J.local.name!==J.exported.name&&W.push({type:"VariableDeclarator",id:J.exported,init:J.local});W.length>0&&(O={type:"VariableDeclaration",kind:"const",declarations:W})}else O=S;O&&v.push(O)}};function h(g,m,x){let E={type:"JSXElement",openingElement:{type:"JSXOpeningElement",name:{type:"JSXIdentifier",name:"MDXLayout"},attributes:[{type:"JSXSpreadAttribute",argument:{type:"Identifier",name:"props"}}],selfClosing:!1},closingElement:{type:"JSXClosingElement",name:{type:"JSXIdentifier",name:"MDXLayout"}},children:[{type:"JSXElement",openingElement:{type:"JSXOpeningElement",name:{type:"JSXIdentifier",name:"_createMdxContent"},attributes:[{type:"JSXSpreadAttribute",argument:{type:"Identifier",name:"props"}}],selfClosing:!0},closingElement:null,children:[]}]};x||(E={type:"ConditionalExpression",test:{type:"Identifier",name:"MDXLayout"},consequent:E,alternate:{type:"CallExpression",callee:{type:"Identifier",name:"_createMdxContent"},arguments:[{type:"Identifier",name:"props"}],optional:!1}});let k=g||{type:"Identifier",name:"undefined"};k.type==="JSXFragment"&&k.children.length===1&&k.children[0].type==="JSXElement"&&(k=k.children[0]);let T=!1;Qo(k,{enter(M){if(M.type==="ArrowFunctionExpression"||M.type==="FunctionDeclaration"||M.type==="FunctionExpression")return this.skip();(M.type==="AwaitExpression"||M.type==="ForOfStatement"&&M.await)&&(T=!0)}});const C={type:"FunctionDeclaration",id:{type:"Identifier",name:"MDXContent"},params:[{type:"AssignmentPattern",left:{type:"Identifier",name:"props"},right:{type:"ObjectExpression",properties:[]}}],body:{type:"BlockStatement",body:[{type:"ReturnStatement",argument:E}]}};return[{type:"FunctionDeclaration",async:T,id:{type:"Identifier",name:"_createMdxContent"},params:[{type:"Identifier",name:"props"}],body:{type:"BlockStatement",body:[{type:"ReturnStatement",argument:k}]}},m==="program"?{type:"ExportDefaultDeclaration",declaration:C}:C]}}function th(e,t,n){var r;(r=e.comments)==null||r.unshift({type:"Block",value:t+" "+n,data:{_mdxIsPragmaComment:!0}})}function cq(e){return{type:"FunctionDeclaration",id:{type:"Identifier",name:"_resolveDynamicMdxSpecifier"},generator:!1,async:!1,params:[{type:"Identifier",name:"d"}],body:{type:"BlockStatement",body:[{type:"IfStatement",test:{type:"BinaryExpression",left:{type:"UnaryExpression",operator:"typeof",prefix:!0,argument:{type:"Identifier",name:"d"}},operator:"!==",right:{type:"Literal",value:"string"}},consequent:{type:"ReturnStatement",argument:{type:"Identifier",name:"d"}},alternate:null},{type:"TryStatement",block:{type:"BlockStatement",body:[{type:"ExpressionStatement",expression:{type:"NewExpression",callee:{type:"Identifier",name:"URL"},arguments:[{type:"Identifier",name:"d"}]}},{type:"ReturnStatement",argument:{type:"Identifier",name:"d"}}]},handler:{type:"CatchClause",param:null,body:{type:"BlockStatement",body:[]}},finalizer:null},{type:"IfStatement",test:{type:"LogicalExpression",left:{type:"LogicalExpression",left:{type:"CallExpression",callee:Ks(["d","startsWith"]),arguments:[{type:"Literal",value:"/"}],optional:!1},operator:"||",right:{type:"CallExpression",callee:Ks(["d","startsWith"]),arguments:[{type:"Literal",value:"./"}],optional:!1}},operator:"||",right:{type:"CallExpression",callee:Ks(["d","startsWith"]),arguments:[{type:"Literal",value:"../"}],optional:!1}},consequent:{type:"ReturnStatement",argument:{type:"MemberExpression",object:{type:"NewExpression",callee:{type:"Identifier",name:"URL"},arguments:[{type:"Identifier",name:"d"},e]},property:{type:"Identifier",name:"href"},computed:!1,optional:!1}},alternate:null},{type:"ReturnStatement",argument:{type:"Identifier",name:"d"}}]}}}function fq(){return[{type:"VariableDeclaration",declarations:[{type:"VariableDeclarator",id:{type:"Identifier",name:"_importMetaUrl"},init:Ks(["arguments",0,"baseUrl"])}],kind:"const"},{type:"IfStatement",test:{type:"UnaryExpression",operator:"!",prefix:!0,argument:{type:"Identifier",name:"_importMetaUrl"}},consequent:{type:"ThrowStatement",argument:{type:"NewExpression",callee:{type:"Identifier",name:"Error"},arguments:[{type:"Literal",value:"Unexpected missing `options.baseUrl` needed to support `export … from`, `import`, or `import.meta.url` when generating `function-body`"}]}},alternate:null}]}function A6(e){let t=-1,n;for(;++t<e.length;){const r=e[t];n=n?{type:"BinaryExpression",left:n,operator:"+",right:r}:r}return n}function hq(e){const{development:t,outputFormat:n,providerImportSource:r}=e;return function(i,s){const o=iS(),c=[];let f=!1,h=!1;if(Qo(i,{enter(g){o.enter(g),(g.type==="FunctionDeclaration"||g.type==="FunctionExpression"||g.type==="ArrowFunctionExpression")&&(c.push({components:[],idToInvalidComponentName:new Map,node:g,objects:[],references:{},tags:[]}),Uo(g,"MDXContent")&&!z1(o.scopes,"MDXLayout")&&c[0].components.push("MDXLayout"));const m=c[0];if(!(!m||!Uo(m.node,"_createMdxContent")&&!r)&&g.type==="JSXElement"){let x=g.openingElement.name;if(x.type==="JSXMemberExpression"){const v=[];for(;x.type==="JSXMemberExpression";)v.unshift(x.property.name),x=x.object;v.unshift(x.name);const E=v.join("."),k=x.name,T=z1(o.scopes,k);!Object.hasOwn(m.references,E)&&(!T||c.length===1&&c[0].node.type==="FunctionDeclaration"&&Uo(c[0].node,"_createMdxContent"))&&(m.references[E]={component:!0,node:g}),!m.objects.includes(k)&&!T&&m.objects.push(k)}else if(x.type!=="JSXNamespacedName"){if(oa(x.name)&&!/^[a-z]/.test(x.name)){const v=x.name;z1(o.scopes,v)||(v!=="MDXLayout"&&!Object.hasOwn(m.references,v)&&(m.references[v]={component:!0,node:g}),m.components.includes(v)||m.components.push(v))}else if(!(g.data&&g.data._mdxExplicitJsx)){const v=x.name;m.tags.includes(v)||m.tags.push(v);let E=["_components",v];if(oa(v)===!1){let k=m.idToInvalidComponentName.get(v);k===void 0&&(k=`_component${m.idToInvalidComponentName.size}`,m.idToInvalidComponentName.set(v,k)),E=[k]}g.openingElement.name=C6(E),g.closingElement&&(g.closingElement.name=C6(E))}}}},leave(g){o.exit(g);const m=[],x=[],v=[],E=[];if(g.type==="FunctionDeclaration"||g.type==="FunctionExpression"||g.type==="ArrowFunctionExpression"){const k=c[c.length-1];let T;for(T of k.tags.sort())m.push({type:"Property",kind:"init",key:oa(T)?{type:"Identifier",name:T}:{type:"Literal",value:T},value:{type:"Literal",value:T},method:!1,shorthand:!1,computed:!1});x.push(...k.components);for(T of k.objects)x.includes(T)||x.push(T);x.sort();const C=[];if(m.length>0||x.length>0||k.idToInvalidComponentName.size>0){if(r&&(f=!0,v.push({type:"CallExpression",callee:{type:"Identifier",name:"_provideComponents"},arguments:[],optional:!1})),(Uo(k.node,"MDXContent")||Uo(k.node,"_createMdxContent"))&&v.push(Ks(["props","components"])),m.length>0||v.length>1)for(const O of v)m.push({type:"SpreadElement",argument:O});let L=m.length>0?{type:"ObjectExpression",properties:m}:{type:"LogicalExpression",operator:"||",left:v[0],right:{type:"ObjectExpression",properties:[]}},S;if(x.length>0&&(S={type:"ObjectPattern",properties:x.map(function(O){return{type:"Property",kind:"init",key:{type:"Identifier",name:O==="MDXLayout"?"wrapper":O},value:{type:"Identifier",name:O},method:!1,shorthand:O!=="MDXLayout",computed:!1}})}),k.tags.length>0&&(E.push({type:"VariableDeclarator",id:{type:"Identifier",name:"_components"},init:L}),L={type:"Identifier",name:"_components"}),Uo(k.node,"_createMdxContent"))for(const[O,q]of[...k.idToInvalidComponentName].sort(function([W],[J]){return W.localeCompare(J)}))E.push({type:"VariableDeclarator",id:{type:"Identifier",name:q},init:{type:"MemberExpression",object:{type:"Identifier",name:"_components"},property:{type:"Literal",value:O},computed:!0,optional:!1}});S&&E.push({type:"VariableDeclarator",id:S,init:L}),E.length>0&&C.push({type:"VariableDeclaration",kind:"const",declarations:E})}let M;for(M in k.references)if(Object.hasOwn(k.references,M)){const L=M.split(".");let S=0;for(;++S<L.length;){const O=L.slice(0,S).join(".");Object.hasOwn(k.references,O)||(k.references[O]={component:!1,node:k.references[M].node})}}const R=Object.keys(k.references).sort();let j=-1;for(;++j<R.length;){const L=R[j],S=k.references[L],O=ki(Ga(S.node)),q=[{type:"Literal",value:L},{type:"Literal",value:S.component}];h=!0,t&&O&&q.push({type:"Literal",value:O}),C.push({type:"IfStatement",test:{type:"UnaryExpression",operator:"!",prefix:!0,argument:Ks(L.split("."))},consequent:{type:"ExpressionStatement",expression:{type:"CallExpression",callee:{type:"Identifier",name:"_missingMdxReference"},arguments:q,optional:!1}},alternate:void 0})}C.length>0&&(g.body.type!=="BlockStatement"&&(g.body={type:"BlockStatement",body:[{type:"ReturnStatement",argument:g.body}]}),g.body.body.unshift(...C)),c.pop()}}}),f&&r&&i.body.unshift(pq(r,n)),h){const g=[{type:"Literal",value:"Expected "},{type:"ConditionalExpression",test:{type:"Identifier",name:"component"},consequent:{type:"Literal",value:"component"},alternate:{type:"Literal",value:"object"}},{type:"Literal",value:" `"},{type:"Identifier",name:"id"},{type:"Literal",value:"` to be defined: you likely forgot to import, pass, or provide it."}],m=[{type:"Identifier",name:"id"},{type:"Identifier",name:"component"}];t&&(g.push({type:"ConditionalExpression",test:{type:"Identifier",name:"place"},consequent:A6([{type:"Literal",value:"\nIt’s referenced in your code at `"},{type:"Identifier",name:"place"},{type:"Literal",value:(s.path?"` in `"+s.path:"")+"`"}]),alternate:{type:"Literal",value:""}}),m.push({type:"Identifier",name:"place"})),i.body.push({type:"FunctionDeclaration",id:{type:"Identifier",name:"_missingMdxReference"},generator:!1,async:!1,params:m,body:{type:"BlockStatement",body:[{type:"ThrowStatement",argument:{type:"NewExpression",callee:{type:"Identifier",name:"Error"},arguments:[A6(g)]}}]}})}n==="function-body"&&i.body.unshift({type:"ExpressionStatement",expression:{type:"Literal",value:"use strict"},directive:"use strict"})}}function pq(e,t){const n=[{type:"ImportSpecifier",imported:{type:"Identifier",name:"useMDXComponents"},local:{type:"Identifier",name:"_provideComponents"}}];return t==="function-body"?{type:"VariableDeclaration",kind:"const",declarations:Jx(n,Ks(["arguments",0]))}:{type:"ImportDeclaration",specifiers:n,attributes:[],source:{type:"Literal",value:e}}}function Uo(e,t){return!!(e&&"id"in e&&e.id&&e.id.name===t)}function z1(e,t){let n=e.length;for(;n--;)if(e[n].defined.includes(t))return!0;return!1}function dq(){return function(e){Dp(e,"raw",function(t,n,r){if(r&&typeof n=="number")return r.children.splice(n,1),n})}}const mq=/\s+/g,gq=/[\t\n\v\f\r ]+/g;function xq(e,t){t?typeof t=="string"&&(t={style:t}):t={};const n=t.preserveLineEndings?yq:vq;return String(e).replace(t.style==="html"?gq:mq,t.trim?bq(n):n)}function yq(e){const t=/\r?\n|\r/.exec(e);return t?t[0]:" "}function vq(){return" "}function bq(e){return t;function t(n,r,i){return r===0||r+n.length===i.length?"":e(n)}}function wq(){return function(e){Dp(e,function(t,n,r){let i=-1,s=!0,o=!1;if(r&&typeof n=="number"&&t.type==="paragraph"){const c=t.children;for(;++i<c.length;){const f=c[i];if(f.type==="mdxJsxTextElement"||f.type==="mdxTextExpression")o=!0;else if(!(f.type==="text"&&xq(f.value,{style:"html",trim:!0})==="")){s=!1;break}}if(s&&o){i=-1;const f=[];for(;++i<c.length;){const h=c[i];h.type==="mdxJsxTextElement"&&(h.type="mdxJsxFlowElement"),h.type==="mdxTextExpression"&&(h.type="mdxFlowExpression"),h.type==="text"&&/^[\t\r\n ]+$/.test(String(h.value))||f.push(h)}return r.children.splice(n,1,...f),n}}if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement"){const c=t.data||(t.data={});c._mdxExplicitJsx=!0}(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression"||t.type==="mdxjsEsm")&&t.data&&t.data.estree&&Qo(t.data.estree,{enter(c){if(c.type==="JSXElement"){const f=c.data||(c.data={});f._mdxExplicitJsx=!0}}})})}}const Sq=["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"];let T6=!1;function kq(e){const t=e||{};t.format,(t.jsxRuntime==="classic"||t.pragma||t.pragmaFrag||t.pragmaImportSource)&&!T6&&(T6=!0,console.warn("Unexpected deprecated option `jsxRuntime: 'classic'`, `pragma`, `pragmaFrag`, or `pragmaImportSource`; see <https://mdxjs.com/migrating/v3/> on how to migrate"));const n=nq().use(nV);t.format!=="md"&&n.use(bF);const r=t.remarkRehypeOptions||{};return n.use(wq).use(t.remarkPlugins||[]).use($V,{...r,allowDangerousHtml:!0,passThrough:[...r.passThrough||[],...Sq]}).use(t.rehypePlugins||[]),t.format==="md"&&n.use(dq),n.use(fP,t).use(uq,t).use(hq,t),t.jsx||n.use(HL,t).use(sq,t),n.use(bz).use(wz,t).use(t.recmaPlugins||[]),n}function Eq(e,t){const{file:n,options:r}=OL(e,t);return kq(r).process(n)}const Cq=Object.getPrototypeOf(aS).constructor;async function aS(e,t){return new Cq(String(e))(t)}function Aq(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function Tq(e,t,n){const i=k0((n||{}).ignore||[]),s=Mq(t);let o=-1;for(;++o<s.length;)Xx(e,"text",c);function c(h,g){let m=-1,x;for(;++m<g.length;){const v=g[m],E=x?x.children:void 0;if(i(v,E?E.indexOf(v):void 0,x))return;x=v}if(x)return f(h,g)}function f(h,g){const m=g[g.length-1],x=s[o][0],v=s[o][1];let E=0;const T=m.children.indexOf(h);let C=!1,M=[];x.lastIndex=0;let R=x.exec(h.value);for(;R;){const j=R.index,L={index:R.index,input:R.input,stack:[...g,h]};let S=v(...R,L);if(typeof S=="string"&&(S=S.length>0?{type:"text",value:S}:void 0),S===!1?x.lastIndex=j+1:(E!==j&&M.push({type:"text",value:h.value.slice(E,j)}),Array.isArray(S)?M.push(...S):S&&M.push(S),E=j+R[0].length,C=!0),!x.global)break;R=x.exec(h.value)}return C?(E<h.value.length&&M.push({type:"text",value:h.value.slice(E)}),m.children.splice(T,1,...M)):M=[h],T+M.length}}function Mq(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([Nq(i[0]),_q(i[1])])}return t}function Nq(e){return typeof e=="string"?new RegExp(Aq(e),"g"):e}function _q(e){return typeof e=="function"?e:function(){return e}}const P1="phrasing",B1=["autolink","link","image","label"];function Dq(){return{transforms:[Bq],enter:{literalAutolink:Oq,literalAutolinkEmail:j1,literalAutolinkHttp:j1,literalAutolinkWww:j1},exit:{literalAutolink:Pq,literalAutolinkEmail:zq,literalAutolinkHttp:Iq,literalAutolinkWww:Lq}}}function Rq(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:P1,notInConstruct:B1},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:P1,notInConstruct:B1},{character:":",before:"[ps]",after:"\\/",inConstruct:P1,notInConstruct:B1}]}}function Oq(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function j1(e){this.config.enter.autolinkProtocol.call(this,e)}function Iq(e){this.config.exit.autolinkProtocol.call(this,e)}function Lq(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 zq(e){this.config.exit.autolinkEmail.call(this,e)}function Pq(e){this.exit(e)}function Bq(e){Tq(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,jq],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),Fq]],{ignore:["link","linkReference"]})}function jq(e,t,n,r,i){let s="";if(!sS(i)||(/^w/i.test(t)&&(n=t+n,t="",s="http://"),!Vq(n)))return!1;const o=qq(n+r);if(!o[0])return!1;const c={type:"link",title:null,url:s+t+o[0],children:[{type:"text",value:t+o[0]}]};return o[1]?[c,{type:"text",value:o[1]}]:c}function Fq(e,t,n,r){return!sS(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function Vq(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 qq(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=Ph(e,"(");let s=Ph(e,")");for(;r!==-1&&i>s;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),s++;return[e,n]}function sS(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||pr(n)||Tp(n))&&(!t||n!==47)}lS.peek=Kq;function Uq(){this.buffer()}function Hq(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function Gq(){this.buffer()}function Xq(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function Yq(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Vi(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Jq(e){this.exit(e)}function $q(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Vi(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Wq(e){this.exit(e)}function Kq(){return"["}function lS(e,t,n,r){const i=n.createTracker(r);let s=i.move("[^");const o=n.enter("footnoteReference"),c=n.enter("reference");return s+=i.move(n.safe(n.associationId(e),{after:"]",before:s})),c(),o(),s+=i.move("]"),s}function Qq(){return{enter:{gfmFootnoteCallString:Uq,gfmFootnoteCall:Hq,gfmFootnoteDefinitionLabelString:Gq,gfmFootnoteDefinition:Xq},exit:{gfmFootnoteCallString:Yq,gfmFootnoteCall:Jq,gfmFootnoteDefinitionLabelString:$q,gfmFootnoteDefinition:Wq}}}function Zq(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:lS},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(r,i,s,o){const c=s.createTracker(o);let f=c.move("[^");const h=s.enter("footnoteDefinition"),g=s.enter("label");return f+=c.move(s.safe(s.associationId(r),{before:f,after:"]"})),g(),f+=c.move("]:"),r.children&&r.children.length>0&&(c.shift(4),f+=c.move((t?`
242
- `:" ")+s.indentLines(s.containerFlow(r,c.current()),t?oS:eU))),h(),f}}function eU(e,t,n){return t===0?e:oS(e,t,n)}function oS(e,t,n){return(n?"":" ")+e}const tU=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];uS.peek=sU;function nU(){return{canContainEols:["delete"],enter:{strikethrough:iU},exit:{strikethrough:aU}}}function rU(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:tU}],handlers:{delete:uS}}}function iU(e){this.enter({type:"delete",children:[]},e)}function aU(e){this.exit(e)}function uS(e,t,n,r){const i=n.createTracker(r),s=n.enter("strikethrough");let o=i.move("~~");return o+=n.containerPhrasing(e,{...i.current(),before:o,after:"~"}),o+=i.move("~~"),s(),o}function sU(){return"~"}function lU(e){return e.length}function oU(e,t){const n=t||{},r=(n.align||[]).concat(),i=n.stringLength||lU,s=[],o=[],c=[],f=[];let h=0,g=-1;for(;++g<e.length;){const k=[],T=[];let C=-1;for(e[g].length>h&&(h=e[g].length);++C<e[g].length;){const M=uU(e[g][C]);if(n.alignDelimiters!==!1){const R=i(M);T[C]=R,(f[C]===void 0||R>f[C])&&(f[C]=R)}k.push(M)}o[g]=k,c[g]=T}let m=-1;if(typeof r=="object"&&"length"in r)for(;++m<h;)s[m]=M6(r[m]);else{const k=M6(r);for(;++m<h;)s[m]=k}m=-1;const x=[],v=[];for(;++m<h;){const k=s[m];let T="",C="";k===99?(T=":",C=":"):k===108?T=":":k===114&&(C=":");let M=n.alignDelimiters===!1?1:Math.max(1,f[m]-T.length-C.length);const R=T+"-".repeat(M)+C;n.alignDelimiters!==!1&&(M=T.length+M+C.length,M>f[m]&&(f[m]=M),v[m]=M),x[m]=R}o.splice(1,0,x),c.splice(1,0,v),g=-1;const E=[];for(;++g<o.length;){const k=o[g],T=c[g];m=-1;const C=[];for(;++m<h;){const M=k[m]||"";let R="",j="";if(n.alignDelimiters!==!1){const L=f[m]-(T[m]||0),S=s[m];S===114?R=" ".repeat(L):S===99?L%2?(R=" ".repeat(L/2+.5),j=" ".repeat(L/2-.5)):(R=" ".repeat(L/2),j=R):j=" ".repeat(L)}n.delimiterStart!==!1&&!m&&C.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&M==="")&&(n.delimiterStart!==!1||m)&&C.push(" "),n.alignDelimiters!==!1&&C.push(R),C.push(M),n.alignDelimiters!==!1&&C.push(j),n.padding!==!1&&C.push(" "),(n.delimiterEnd!==!1||m!==h-1)&&C.push("|")}E.push(n.delimiterEnd===!1?C.join("").replace(/ +$/,""):C.join(""))}return E.join(`
243
- `)}function uU(e){return e==null?"":String(e)}function M6(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}function cU(e,t,n,r){const i=n.enter("blockquote"),s=n.createTracker(r);s.move("> "),s.shift(2);const o=n.indentLines(n.containerFlow(e,s.current()),fU);return i(),o}function fU(e,t,n){return">"+(n?"":" ")+e}function hU(e,t){return N6(e,t.inConstruct,!0)&&!N6(e,t.notInConstruct,!1)}function N6(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 _6(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;)if(n.unsafe[i].character===`
244
- `&&hU(n.stack,n.unsafe[i]))return/[ \t]/.test(r.before)?"":" ";return`\\
245
- `}function cS(e,t){const n=String(e);let r=n.indexOf(t),i=r,s=0,o=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===i?++s>o&&(o=s):s=1,i=r+t.length,r=n.indexOf(t,i);return o}function pU(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 dU(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 mU(e,t,n,r){const i=dU(n),s=e.value||"",o=i==="`"?"GraveAccent":"Tilde";if(pU(e,n)){const m=n.enter("codeIndented"),x=n.indentLines(s,gU);return m(),x}const c=n.createTracker(r),f=i.repeat(Math.max(cS(s,i)+1,3)),h=n.enter("codeFenced");let g=c.move(f);if(e.lang){const m=n.enter(`codeFencedLang${o}`);g+=c.move(n.safe(e.lang,{before:g,after:" ",encode:["`"],...c.current()})),m()}if(e.lang&&e.meta){const m=n.enter(`codeFencedMeta${o}`);g+=c.move(" "),g+=c.move(n.safe(e.meta,{before:g,after:`
246
- `,encode:["`"],...c.current()})),m()}return g+=c.move(`
247
- `),s&&(g+=c.move(s+`
248
- `)),g+=c.move(f),h(),g}function gU(e,t,n){return(n?"":" ")+e}function $x(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 xU(e,t,n,r){const i=$x(n),s=i==='"'?"Quote":"Apostrophe",o=n.enter("definition");let c=n.enter("label");const f=n.createTracker(r);let h=f.move("[");return h+=f.move(n.safe(n.associationId(e),{before:h,after:"]",...f.current()})),h+=f.move("]: "),c(),!e.url||/[\0- \u007F]/.test(e.url)?(c=n.enter("destinationLiteral"),h+=f.move("<"),h+=f.move(n.safe(e.url,{before:h,after:">",...f.current()})),h+=f.move(">")):(c=n.enter("destinationRaw"),h+=f.move(n.safe(e.url,{before:h,after:e.title?" ":`
249
- `,...f.current()}))),c(),e.title&&(c=n.enter(`title${s}`),h+=f.move(" "+i),h+=f.move(n.safe(e.title,{before:h,after:i,...f.current()})),h+=f.move(i),c()),o(),h}function yU(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 e0(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Xh(e,t,n){const r=ru(e),i=ru(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}}fS.peek=vU;function fS(e,t,n,r){const i=yU(n),s=n.enter("emphasis"),o=n.createTracker(r),c=o.move(i);let f=o.move(n.containerPhrasing(e,{after:i,before:c,...o.current()}));const h=f.charCodeAt(0),g=Xh(r.before.charCodeAt(r.before.length-1),h,i);g.inside&&(f=e0(h)+f.slice(1));const m=f.charCodeAt(f.length-1),x=Xh(r.after.charCodeAt(0),m,i);x.inside&&(f=f.slice(0,-1)+e0(m));const v=o.move(i);return s(),n.attentionEncodeSurroundingInfo={after:x.outside,before:g.outside},c+f+v}function vU(e,t,n){return n.options.emphasis||"*"}function bU(e,t){let n=!1;return Dp(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,Og}),!!((!e.depth||e.depth<3)&&Vx(e)&&(t.options.setext||n))}function wU(e,t,n,r){const i=Math.max(Math.min(6,e.depth||1),1),s=n.createTracker(r);if(bU(e,n)){const g=n.enter("headingSetext"),m=n.enter("phrasing"),x=n.containerPhrasing(e,{...s.current(),before:`
250
- `,after:`
251
- `});return m(),g(),x+`
252
- `+(i===1?"=":"-").repeat(x.length-(Math.max(x.lastIndexOf("\r"),x.lastIndexOf(`
253
- `))+1))}const o="#".repeat(i),c=n.enter("headingAtx"),f=n.enter("phrasing");s.move(o+" ");let h=n.containerPhrasing(e,{before:"# ",after:`
254
- `,...s.current()});return/^[\t ]/.test(h)&&(h=e0(h.charCodeAt(0))+h.slice(1)),h=h?o+" "+h:o,n.options.closeAtx&&(h+=" "+o),f(),c(),h}hS.peek=SU;function hS(e){return e.value||""}function SU(){return"<"}pS.peek=kU;function pS(e,t,n,r){const i=$x(n),s=i==='"'?"Quote":"Apostrophe",o=n.enter("image");let c=n.enter("label");const f=n.createTracker(r);let h=f.move("![");return h+=f.move(n.safe(e.alt,{before:h,after:"]",...f.current()})),h+=f.move("]("),c(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(c=n.enter("destinationLiteral"),h+=f.move("<"),h+=f.move(n.safe(e.url,{before:h,after:">",...f.current()})),h+=f.move(">")):(c=n.enter("destinationRaw"),h+=f.move(n.safe(e.url,{before:h,after:e.title?" ":")",...f.current()}))),c(),e.title&&(c=n.enter(`title${s}`),h+=f.move(" "+i),h+=f.move(n.safe(e.title,{before:h,after:i,...f.current()})),h+=f.move(i),c()),h+=f.move(")"),o(),h}function kU(){return"!"}dS.peek=EU;function dS(e,t,n,r){const i=e.referenceType,s=n.enter("imageReference");let o=n.enter("label");const c=n.createTracker(r);let f=c.move("![");const h=n.safe(e.alt,{before:f,after:"]",...c.current()});f+=c.move(h+"]["),o();const g=n.stack;n.stack=[],o=n.enter("reference");const m=n.safe(n.associationId(e),{before:f,after:"]",...c.current()});return o(),n.stack=g,s(),i==="full"||!h||h!==m?f+=c.move(m+"]"):i==="shortcut"?f=f.slice(0,-1):f+=c.move("]"),f}function EU(){return"!"}mS.peek=CU;function mS(e,t,n){let r=e.value||"",i="`",s=-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+" ");++s<n.unsafe.length;){const o=n.unsafe[s],c=n.compilePattern(o);let f;if(o.atBreak)for(;f=c.exec(r);){let h=f.index;r.charCodeAt(h)===10&&r.charCodeAt(h-1)===13&&h--,r=r.slice(0,h)+" "+r.slice(f.index+1)}}return i+r+i}function CU(){return"`"}function gS(e,t){const n=Vx(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))}xS.peek=AU;function xS(e,t,n,r){const i=$x(n),s=i==='"'?"Quote":"Apostrophe",o=n.createTracker(r);let c,f;if(gS(e,n)){const g=n.stack;n.stack=[],c=n.enter("autolink");let m=o.move("<");return m+=o.move(n.containerPhrasing(e,{before:m,after:">",...o.current()})),m+=o.move(">"),c(),n.stack=g,m}c=n.enter("link"),f=n.enter("label");let h=o.move("[");return h+=o.move(n.containerPhrasing(e,{before:h,after:"](",...o.current()})),h+=o.move("]("),f(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(f=n.enter("destinationLiteral"),h+=o.move("<"),h+=o.move(n.safe(e.url,{before:h,after:">",...o.current()})),h+=o.move(">")):(f=n.enter("destinationRaw"),h+=o.move(n.safe(e.url,{before:h,after:e.title?" ":")",...o.current()}))),f(),e.title&&(f=n.enter(`title${s}`),h+=o.move(" "+i),h+=o.move(n.safe(e.title,{before:h,after:i,...o.current()})),h+=o.move(i),f()),h+=o.move(")"),c(),h}function AU(e,t,n){return gS(e,n)?"<":"["}yS.peek=TU;function yS(e,t,n,r){const i=e.referenceType,s=n.enter("linkReference");let o=n.enter("label");const c=n.createTracker(r);let f=c.move("[");const h=n.containerPhrasing(e,{before:f,after:"]",...c.current()});f+=c.move(h+"]["),o();const g=n.stack;n.stack=[],o=n.enter("reference");const m=n.safe(n.associationId(e),{before:f,after:"]",...c.current()});return o(),n.stack=g,s(),i==="full"||!h||h!==m?f+=c.move(m+"]"):i==="shortcut"?f=f.slice(0,-1):f+=c.move("]"),f}function TU(){return"["}function Wx(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 MU(e){const t=Wx(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 NU(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 vS(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 _U(e,t,n,r){const i=n.enter("list"),s=n.bulletCurrent;let o=e.ordered?NU(n):Wx(n);const c=e.ordered?o==="."?")":".":MU(n);let f=t&&n.bulletLastUsed?o===n.bulletLastUsed:!1;if(!e.ordered){const g=e.children?e.children[0]:void 0;if((o==="*"||o==="-")&&g&&(!g.children||!g.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(f=!0),vS(n)===o&&g){let m=-1;for(;++m<e.children.length;){const x=e.children[m];if(x&&x.type==="listItem"&&x.children&&x.children[0]&&x.children[0].type==="thematicBreak"){f=!0;break}}}}f&&(o=c),n.bulletCurrent=o;const h=n.containerFlow(e,r);return n.bulletLastUsed=o,n.bulletCurrent=s,i(),h}function DU(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 RU(e,t,n,r){const i=DU(n);let s=n.bulletCurrent||Wx(n);t&&t.type==="list"&&t.ordered&&(s=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+s);let o=s.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);const c=n.createTracker(r);c.move(s+" ".repeat(o-s.length)),c.shift(o);const f=n.enter("listItem"),h=n.indentLines(n.containerFlow(e,c.current()),g);return f(),h;function g(m,x,v){return x?(v?"":" ".repeat(o))+m:(v?s:s+" ".repeat(o-s.length))+m}}function OU(e,t,n,r){const i=n.enter("paragraph"),s=n.enter("phrasing"),o=n.containerPhrasing(e,r);return s(),i(),o}const IU=k0(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function LU(e,t,n,r){return(e.children.some(function(o){return IU(o)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function zU(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}bS.peek=PU;function bS(e,t,n,r){const i=zU(n),s=n.enter("strong"),o=n.createTracker(r),c=o.move(i+i);let f=o.move(n.containerPhrasing(e,{after:i,before:c,...o.current()}));const h=f.charCodeAt(0),g=Xh(r.before.charCodeAt(r.before.length-1),h,i);g.inside&&(f=e0(h)+f.slice(1));const m=f.charCodeAt(f.length-1),x=Xh(r.after.charCodeAt(0),m,i);x.inside&&(f=f.slice(0,-1)+e0(m));const v=o.move(i+i);return s(),n.attentionEncodeSurroundingInfo={after:x.outside,before:g.outside},c+f+v}function PU(e,t,n){return n.options.strong||"*"}function BU(e,t,n,r){return n.safe(e.value,r)}function jU(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 FU(e,t,n){const r=(vS(n)+(n.options.ruleSpaces?" ":"")).repeat(jU(n));return n.options.ruleSpaces?r.slice(0,-1):r}const wS={blockquote:cU,break:_6,code:mU,definition:xU,emphasis:fS,hardBreak:_6,heading:wU,html:hS,image:pS,imageReference:dS,inlineCode:mS,link:xS,linkReference:yS,list:_U,listItem:RU,paragraph:OU,root:LU,strong:bS,text:BU,thematicBreak:FU};function VU(){return{enter:{table:qU,tableData:D6,tableHeader:D6,tableRow:HU},exit:{codeText:GU,table:UU,tableData:F1,tableHeader:F1,tableRow:F1}}}function qU(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 UU(e){this.exit(e),this.data.inTable=void 0}function HU(e){this.enter({type:"tableRow",children:[]},e)}function F1(e){this.exit(e)}function D6(e){this.enter({type:"tableCell",children:[]},e)}function GU(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,XU));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function XU(e,t){return t==="|"?t:e}function YU(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,s=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
255
- `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:x,table:o,tableCell:f,tableRow:c}};function o(v,E,k,T){return h(g(v,k,T),v.align)}function c(v,E,k,T){const C=m(v,k,T),M=h([C]);return M.slice(0,M.indexOf(`
256
- `))}function f(v,E,k,T){const C=k.enter("tableCell"),M=k.enter("phrasing"),R=k.containerPhrasing(v,{...T,before:s,after:s});return M(),C(),R}function h(v,E){return oU(v,{align:E,alignDelimiters:r,padding:n,stringLength:i})}function g(v,E,k){const T=v.children;let C=-1;const M=[],R=E.enter("table");for(;++C<T.length;)M[C]=m(T[C],E,k);return R(),M}function m(v,E,k){const T=v.children;let C=-1;const M=[],R=E.enter("tableRow");for(;++C<T.length;)M[C]=f(T[C],v,E,k);return R(),M}function x(v,E,k){let T=wS.inlineCode(v,E,k);return k.stack.includes("tableCell")&&(T=T.replace(/\|/g,"\\$&")),T}}function JU(){return{exit:{taskListCheckValueChecked:R6,taskListCheckValueUnchecked:R6,paragraph:WU}}}function $U(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:KU}}}function R6(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function WU(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 s=-1,o;for(;++s<i.length;){const c=i[s];if(c.type==="paragraph"){o=c;break}}o===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 KU(e,t,n,r){const i=e.children[0],s=typeof e.checked=="boolean"&&i&&i.type==="paragraph",o="["+(e.checked?"x":" ")+"] ",c=n.createTracker(r);s&&c.move(o);let f=wS.listItem(e,t,n,{...r,...c.current()});return s&&(f=f.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,h)),f;function h(g){return g+o}}function QU(){return[Dq(),Qq(),nU(),VU(),JU()]}function ZU(e){return{extensions:[Rq(),Zq(e),rU(),YU(e),$U()]}}const eH={tokenize:sH,partial:!0},SS={tokenize:lH,partial:!0},kS={tokenize:oH,partial:!0},ES={tokenize:uH,partial:!0},tH={tokenize:cH,partial:!0},CS={name:"wwwAutolink",tokenize:iH,previous:TS},AS={name:"protocolAutolink",tokenize:aH,previous:MS},as={name:"emailAutolink",tokenize:rH,previous:NS},ga={};function nH(){return{text:ga}}let Il=48;for(;Il<123;)ga[Il]=as,Il++,Il===58?Il=65:Il===91&&(Il=97);ga[43]=as;ga[45]=as;ga[46]=as;ga[95]=as;ga[72]=[as,AS];ga[104]=[as,AS];ga[87]=[as,CS];ga[119]=[as,CS];function rH(e,t,n){const r=this;let i,s;return o;function o(m){return!zg(m)||!NS.call(r,r.previous)||Kx(r.events)?n(m):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),c(m))}function c(m){return zg(m)?(e.consume(m),c):m===64?(e.consume(m),f):n(m)}function f(m){return m===46?e.check(tH,g,h)(m):m===45||m===95||sr(m)?(s=!0,e.consume(m),f):g(m)}function h(m){return e.consume(m),i=!0,f}function g(m){return s&&i&&ar(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(m)):n(m)}}function iH(e,t,n){const r=this;return i;function i(o){return o!==87&&o!==119||!TS.call(r,r.previous)||Kx(r.events)?n(o):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(eH,e.attempt(SS,e.attempt(kS,s),n),n)(o))}function s(o){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(o)}}function aH(e,t,n){const r=this;let i="",s=!1;return o;function o(m){return(m===72||m===104)&&MS.call(r,r.previous)&&!Kx(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(m),e.consume(m),c):n(m)}function c(m){if(ar(m)&&i.length<5)return i+=String.fromCodePoint(m),e.consume(m),c;if(m===58){const x=i.toLowerCase();if(x==="http"||x==="https")return e.consume(m),f}return n(m)}function f(m){return m===47?(e.consume(m),s?h:(s=!0,f)):n(m)}function h(m){return m===null||qh(m)||Ot(m)||pr(m)||Tp(m)?n(m):e.attempt(SS,e.attempt(kS,g),n)(m)}function g(m){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(m)}}function sH(e,t,n){let r=0;return i;function i(o){return(o===87||o===119)&&r<3?(r++,e.consume(o),i):o===46&&r===3?(e.consume(o),s):n(o)}function s(o){return o===null?n(o):t(o)}}function lH(e,t,n){let r,i,s;return o;function o(h){return h===46||h===95?e.check(ES,f,c)(h):h===null||Ot(h)||pr(h)||h!==45&&Tp(h)?f(h):(s=!0,e.consume(h),o)}function c(h){return h===95?r=!0:(i=r,r=void 0),e.consume(h),o}function f(h){return i||r||!s?n(h):t(h)}}function oH(e,t){let n=0,r=0;return i;function i(o){return o===40?(n++,e.consume(o),i):o===41&&r<n?s(o):o===33||o===34||o===38||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===60||o===63||o===93||o===95||o===126?e.check(ES,t,s)(o):o===null||Ot(o)||pr(o)?t(o):(e.consume(o),i)}function s(o){return o===41&&r++,e.consume(o),i}}function uH(e,t,n){return r;function r(c){return c===33||c===34||c===39||c===41||c===42||c===44||c===46||c===58||c===59||c===63||c===95||c===126?(e.consume(c),r):c===38?(e.consume(c),s):c===93?(e.consume(c),i):c===60||c===null||Ot(c)||pr(c)?t(c):n(c)}function i(c){return c===null||c===40||c===91||Ot(c)||pr(c)?t(c):r(c)}function s(c){return ar(c)?o(c):n(c)}function o(c){return c===59?(e.consume(c),r):ar(c)?(e.consume(c),o):n(c)}}function cH(e,t,n){return r;function r(s){return e.consume(s),i}function i(s){return sr(s)?n(s):t(s)}}function TS(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Ot(e)}function MS(e){return!ar(e)}function NS(e){return!(e===47||zg(e))}function zg(e){return e===43||e===45||e===46||e===95||sr(e)}function Kx(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 fH={tokenize:vH,partial:!0};function hH(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:gH,continuation:{tokenize:xH},exit:yH}},text:{91:{name:"gfmFootnoteCall",tokenize:mH},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:pH,resolveTo:dH}}}}function pH(e,t,n){const r=this;let i=r.events.length;const s=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o;for(;i--;){const f=r.events[i][1];if(f.type==="labelImage"){o=f;break}if(f.type==="gfmFootnoteCall"||f.type==="labelLink"||f.type==="label"||f.type==="image"||f.type==="link")break}return c;function c(f){if(!o||!o._balanced)return n(f);const h=Vi(r.sliceSerialize({start:o.end,end:r.now()}));return h.codePointAt(0)!==94||!s.includes(h.slice(1))?n(f):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),t(f))}}function dH(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 s={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},s.start),end:Object.assign({},s.end)},c=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",s,t],["enter",o,t],["exit",o,t],["exit",s,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...c),e}function mH(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s=0,o;return c;function c(m){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(m),e.exit("gfmFootnoteCallLabelMarker"),f}function f(m){return m!==94?n(m):(e.enter("gfmFootnoteCallMarker"),e.consume(m),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",h)}function h(m){if(s>999||m===93&&!o||m===null||m===91||Ot(m))return n(m);if(m===93){e.exit("chunkString");const x=e.exit("gfmFootnoteCallString");return i.includes(Vi(r.sliceSerialize(x)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(m),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(m)}return Ot(m)||(o=!0),s++,e.consume(m),m===92?g:h}function g(m){return m===91||m===92||m===93?(e.consume(m),s++,h):h(m)}}function gH(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s,o=0,c;return f;function f(E){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(E),e.exit("gfmFootnoteDefinitionLabelMarker"),h}function h(E){return E===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(E),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",g):n(E)}function g(E){if(o>999||E===93&&!c||E===null||E===91||Ot(E))return n(E);if(E===93){e.exit("chunkString");const k=e.exit("gfmFootnoteDefinitionLabelString");return s=Vi(r.sliceSerialize(k)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(E),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),x}return Ot(E)||(c=!0),o++,e.consume(E),E===92?m:g}function m(E){return E===91||E===92||E===93?(e.consume(E),o++,g):g(E)}function x(E){return E===58?(e.enter("definitionMarker"),e.consume(E),e.exit("definitionMarker"),i.includes(s)||i.push(s),vt(e,v,"gfmFootnoteDefinitionWhitespace")):n(E)}function v(E){return t(E)}}function xH(e,t,n){return e.check(xu,t,e.attempt(fH,t,n))}function yH(e){e.exit("gfmFootnoteDefinition")}function vH(e,t,n){const r=this;return vt(e,i,"gfmFootnoteDefinitionIndent",5);function i(s){const o=r.events[r.events.length-1];return o&&o[1].type==="gfmFootnoteDefinitionIndent"&&o[2].sliceSerialize(o[1],!0).length===4?t(s):n(s)}}function bH(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:s,resolveAll:i};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(o,c){let f=-1;for(;++f<o.length;)if(o[f][0]==="enter"&&o[f][1].type==="strikethroughSequenceTemporary"&&o[f][1]._close){let h=f;for(;h--;)if(o[h][0]==="exit"&&o[h][1].type==="strikethroughSequenceTemporary"&&o[h][1]._open&&o[f][1].end.offset-o[f][1].start.offset===o[h][1].end.offset-o[h][1].start.offset){o[f][1].type="strikethroughSequence",o[h][1].type="strikethroughSequence";const g={type:"strikethrough",start:Object.assign({},o[h][1].start),end:Object.assign({},o[f][1].end)},m={type:"strikethroughText",start:Object.assign({},o[h][1].end),end:Object.assign({},o[f][1].start)},x=[["enter",g,c],["enter",o[h][1],c],["exit",o[h][1],c],["enter",m,c]],v=c.parser.constructs.insideSpan.null;v&&ni(x,x.length,0,Mp(v,o.slice(h+1,f),c)),ni(x,x.length,0,[["exit",m,c],["enter",o[f][1],c],["exit",o[f][1],c],["exit",g,c]]),ni(o,h-1,f-h+3,x),f=h+x.length-2;break}}for(f=-1;++f<o.length;)o[f][1].type==="strikethroughSequenceTemporary"&&(o[f][1].type="data");return o}function s(o,c,f){const h=this.previous,g=this.events;let m=0;return x;function x(E){return h===126&&g[g.length-1][1].type!=="characterEscape"?f(E):(o.enter("strikethroughSequenceTemporary"),v(E))}function v(E){const k=ru(h);if(E===126)return m>1?f(E):(o.consume(E),m++,v);if(m<2&&!n)return f(E);const T=o.exit("strikethroughSequenceTemporary"),C=ru(E);return T._open=!C||C===2&&!!k,T._close=!k||k===2&&!!C,c(E)}}}class wH{constructor(){this.map=[]}add(t,n,r){SH(this,t,n,r)}consume(t){if(this.map.sort(function(s,o){return s[0]-o[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 s of i)t.push(s);i=r.pop()}this.map.length=0}}function SH(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 kH(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 s=r.length-1;r[s]=r[s]==="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 EH(){return{flow:{null:{name:"table",tokenize:CH,resolveAll:AH}}}}function CH(e,t,n){const r=this;let i=0,s=0,o;return c;function c(J){let re=r.events.length-1;for(;re>-1;){const xe=r.events[re][1].type;if(xe==="lineEnding"||xe==="linePrefix")re--;else break}const ae=re>-1?r.events[re][1].type:null,Se=ae==="tableHead"||ae==="tableRow"?S:f;return Se===S&&r.parser.lazy[r.now().line]?n(J):Se(J)}function f(J){return e.enter("tableHead"),e.enter("tableRow"),h(J)}function h(J){return J===124||(o=!0,s+=1),g(J)}function g(J){return J===null?n(J):je(J)?s>1?(s=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(J),e.exit("lineEnding"),v):n(J):ut(J)?vt(e,g,"whitespace")(J):(s+=1,o&&(o=!1,i+=1),J===124?(e.enter("tableCellDivider"),e.consume(J),e.exit("tableCellDivider"),o=!0,g):(e.enter("data"),m(J)))}function m(J){return J===null||J===124||Ot(J)?(e.exit("data"),g(J)):(e.consume(J),J===92?x:m)}function x(J){return J===92||J===124?(e.consume(J),m):m(J)}function v(J){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(J):(e.enter("tableDelimiterRow"),o=!1,ut(J)?vt(e,E,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(J):E(J))}function E(J){return J===45||J===58?T(J):J===124?(o=!0,e.enter("tableCellDivider"),e.consume(J),e.exit("tableCellDivider"),k):L(J)}function k(J){return ut(J)?vt(e,T,"whitespace")(J):T(J)}function T(J){return J===58?(s+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(J),e.exit("tableDelimiterMarker"),C):J===45?(s+=1,C(J)):J===null||je(J)?j(J):L(J)}function C(J){return J===45?(e.enter("tableDelimiterFiller"),M(J)):L(J)}function M(J){return J===45?(e.consume(J),M):J===58?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(J),e.exit("tableDelimiterMarker"),R):(e.exit("tableDelimiterFiller"),R(J))}function R(J){return ut(J)?vt(e,j,"whitespace")(J):j(J)}function j(J){return J===124?E(J):J===null||je(J)?!o||i!==s?L(J):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(J)):L(J)}function L(J){return n(J)}function S(J){return e.enter("tableRow"),O(J)}function O(J){return J===124?(e.enter("tableCellDivider"),e.consume(J),e.exit("tableCellDivider"),O):J===null||je(J)?(e.exit("tableRow"),t(J)):ut(J)?vt(e,O,"whitespace")(J):(e.enter("data"),q(J))}function q(J){return J===null||J===124||Ot(J)?(e.exit("data"),O(J)):(e.consume(J),J===92?W:q)}function W(J){return J===92||J===124?(e.consume(J),q):q(J)}}function AH(e,t){let n=-1,r=!0,i=0,s=[0,0,0,0],o=[0,0,0,0],c=!1,f=0,h,g,m;const x=new wH;for(;++n<e.length;){const v=e[n],E=v[1];v[0]==="enter"?E.type==="tableHead"?(c=!1,f!==0&&(O6(x,t,f,h,g),g=void 0,f=0),h={type:"table",start:Object.assign({},E.start),end:Object.assign({},E.end)},x.add(n,0,[["enter",h,t]])):E.type==="tableRow"||E.type==="tableDelimiterRow"?(r=!0,m=void 0,s=[0,0,0,0],o=[0,n+1,0,0],c&&(c=!1,g={type:"tableBody",start:Object.assign({},E.start),end:Object.assign({},E.end)},x.add(n,0,[["enter",g,t]])),i=E.type==="tableDelimiterRow"?2:g?3:1):i&&(E.type==="data"||E.type==="tableDelimiterMarker"||E.type==="tableDelimiterFiller")?(r=!1,o[2]===0&&(s[1]!==0&&(o[0]=o[1],m=nh(x,t,s,i,void 0,m),s=[0,0,0,0]),o[2]=n)):E.type==="tableCellDivider"&&(r?r=!1:(s[1]!==0&&(o[0]=o[1],m=nh(x,t,s,i,void 0,m)),s=o,o=[s[1],n,0,0])):E.type==="tableHead"?(c=!0,f=n):E.type==="tableRow"||E.type==="tableDelimiterRow"?(f=n,s[1]!==0?(o[0]=o[1],m=nh(x,t,s,i,n,m)):o[1]!==0&&(m=nh(x,t,o,i,n,m)),i=0):i&&(E.type==="data"||E.type==="tableDelimiterMarker"||E.type==="tableDelimiterFiller")&&(o[3]=n)}for(f!==0&&O6(x,t,f,h,g),x.consume(t.events),n=-1;++n<t.events.length;){const v=t.events[n];v[0]==="enter"&&v[1].type==="table"&&(v[1]._align=kH(t.events,n))}return e}function nh(e,t,n,r,i,s){const o=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",c="tableContent";n[0]!==0&&(s.end=Object.assign({},Xo(t.events,n[0])),e.add(n[0],0,[["exit",s,t]]));const f=Xo(t.events,n[1]);if(s={type:o,start:Object.assign({},f),end:Object.assign({},f)},e.add(n[1],0,[["enter",s,t]]),n[2]!==0){const h=Xo(t.events,n[2]),g=Xo(t.events,n[3]),m={type:c,start:Object.assign({},h),end:Object.assign({},g)};if(e.add(n[2],0,[["enter",m,t]]),r!==2){const x=t.events[n[2]],v=t.events[n[3]];if(x[1].end=Object.assign({},v[1].end),x[1].type="chunkText",x[1].contentType="text",n[3]>n[2]+1){const E=n[2]+1,k=n[3]-n[2]-1;e.add(E,k,[])}}e.add(n[3]+1,0,[["exit",m,t]])}return i!==void 0&&(s.end=Object.assign({},Xo(t.events,i)),e.add(i,0,[["exit",s,t]]),s=void 0),s}function O6(e,t,n,r,i){const s=[],o=Xo(t.events,n);i&&(i.end=Object.assign({},o),s.push(["exit",i,t])),r.end=Object.assign({},o),s.push(["exit",r,t]),e.add(n+1,0,s)}function Xo(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const TH={name:"tasklistCheck",tokenize:NH};function MH(){return{text:{91:TH}}}function NH(e,t,n){const r=this;return i;function i(f){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(f):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(f),e.exit("taskListCheckMarker"),s)}function s(f){return Ot(f)?(e.enter("taskListCheckValueUnchecked"),e.consume(f),e.exit("taskListCheckValueUnchecked"),o):f===88||f===120?(e.enter("taskListCheckValueChecked"),e.consume(f),e.exit("taskListCheckValueChecked"),o):n(f)}function o(f){return f===93?(e.enter("taskListCheckMarker"),e.consume(f),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),c):n(f)}function c(f){return je(f)?t(f):ut(f)?e.check({tokenize:_H},t,n)(f):n(f)}}function _H(e,t,n){return vt(e,r,"whitespace");function r(i){return i===null?n(i):t(i)}}function DH(e){return Fx([nH(),hH(),bH(e),EH(),MH()])}const RH={};function OH(e){const t=this,n=e||RH,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),s=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(DH(n)),s.push(QU()),o.push(ZU(n))}function IH(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:s},exit:{mathFlow:i,mathFlowFence:r,mathFlowFenceMeta:n,mathFlowValue:c,mathText:o,mathTextData:c}};function e(f){const h={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[h]}},f)}function t(){this.buffer()}function n(){const f=this.resume(),h=this.stack[this.stack.length-1];h.type,h.meta=f}function r(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function i(f){const h=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),g=this.stack[this.stack.length-1];g.type,this.exit(f),g.value=h;const m=g.data.hChildren[0];m.type,m.tagName,m.children.push({type:"text",value:h}),this.data.mathFlowInside=void 0}function s(f){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},f),this.buffer()}function o(f){const h=this.resume(),g=this.stack[this.stack.length-1];g.type,this.exit(f),g.value=h,g.data.hChildren.push({type:"text",value:h})}function c(f){this.config.enter.data.call(this,f),this.config.exit.data.call(this,f)}}function LH(e){let t=(e||{}).singleDollarTextMath;return t==null&&(t=!0),r.peek=i,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
257
- `,inConstruct:"mathFlowMeta"},{character:"$",after:t?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:n,inlineMath:r}};function n(s,o,c,f){const h=s.value||"",g=c.createTracker(f),m="$".repeat(Math.max(cS(h,"$")+1,2)),x=c.enter("mathFlow");let v=g.move(m);if(s.meta){const E=c.enter("mathFlowMeta");v+=g.move(c.safe(s.meta,{after:`
258
- `,before:v,encode:["$"],...g.current()})),E()}return v+=g.move(`
259
- `),h&&(v+=g.move(h+`
260
- `)),v+=g.move(m),x(),v}function r(s,o,c){let f=s.value||"",h=1;for(t||h++;new RegExp("(^|[^$])"+"\\$".repeat(h)+"([^$]|$)").test(f);)h++;const g="$".repeat(h);/[^ \r\n]/.test(f)&&(/^[ \r\n]/.test(f)&&/[ \r\n]$/.test(f)||/^\$|\$$/.test(f))&&(f=" "+f+" ");let m=-1;for(;++m<c.unsafe.length;){const x=c.unsafe[m];if(!x.atBreak)continue;const v=c.compilePattern(x);let E;for(;E=v.exec(f);){let k=E.index;f.codePointAt(k)===10&&f.codePointAt(k-1)===13&&k--,f=f.slice(0,k)+" "+f.slice(E.index+1)}}return g+f+g}function i(){return"$"}}const zH={tokenize:PH,concrete:!0,name:"mathFlow"},I6={tokenize:BH,partial:!0};function PH(e,t,n){const r=this,i=r.events[r.events.length-1],s=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0;let o=0;return c;function c(M){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),f(M)}function f(M){return M===36?(e.consume(M),o++,f):o<2?n(M):(e.exit("mathFlowFenceSequence"),vt(e,h,"whitespace")(M))}function h(M){return M===null||je(M)?m(M):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),g(M))}function g(M){return M===null||je(M)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),m(M)):M===36?n(M):(e.consume(M),g)}function m(M){return e.exit("mathFlowFence"),r.interrupt?t(M):e.attempt(I6,x,T)(M)}function x(M){return e.attempt({tokenize:C,partial:!0},T,v)(M)}function v(M){return(s?vt(e,E,"linePrefix",s+1):E)(M)}function E(M){return M===null?T(M):je(M)?e.attempt(I6,x,T)(M):(e.enter("mathFlowValue"),k(M))}function k(M){return M===null||je(M)?(e.exit("mathFlowValue"),E(M)):(e.consume(M),k)}function T(M){return e.exit("mathFlow"),t(M)}function C(M,R,j){let L=0;return vt(M,S,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function S(W){return M.enter("mathFlowFence"),M.enter("mathFlowFenceSequence"),O(W)}function O(W){return W===36?(L++,M.consume(W),O):L<o?j(W):(M.exit("mathFlowFenceSequence"),vt(M,q,"whitespace")(W))}function q(W){return W===null||je(W)?(M.exit("mathFlowFence"),R(W)):j(W)}}}function BH(e,t,n){const r=this;return i;function i(o){return o===null?t(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),s)}function s(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}function jH(e){let n=(e||{}).singleDollarTextMath;return n==null&&(n=!0),{tokenize:r,resolve:FH,previous:VH,name:"mathText"};function r(i,s,o){let c=0,f,h;return g;function g(k){return i.enter("mathText"),i.enter("mathTextSequence"),m(k)}function m(k){return k===36?(i.consume(k),c++,m):c<2&&!n?o(k):(i.exit("mathTextSequence"),x(k))}function x(k){return k===null?o(k):k===36?(h=i.enter("mathTextSequence"),f=0,E(k)):k===32?(i.enter("space"),i.consume(k),i.exit("space"),x):je(k)?(i.enter("lineEnding"),i.consume(k),i.exit("lineEnding"),x):(i.enter("mathTextData"),v(k))}function v(k){return k===null||k===32||k===36||je(k)?(i.exit("mathTextData"),x(k)):(i.consume(k),v)}function E(k){return k===36?(i.consume(k),f++,E):f===c?(i.exit("mathTextSequence"),i.exit("mathText"),s(k)):(h.type="mathTextData",v(k))}}}function FH(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 VH(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}function qH(e){return{flow:{36:zH},text:{36:jH(e)}}}class Lr{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 Lr(t.loc.lexer,t.loc.start,n.loc.end):t&&t.loc}}class ri{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 ri(n,Lr.range(this,t))}}class Ne{constructor(t,n){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var r="KaTeX parse error: "+t,i,s,o=n&&n.loc;if(o&&o.start<=o.end){var c=o.lexer.input;i=o.start,s=o.end,i===c.length?r+=" at end of input: ":r+=" at position "+(i+1)+": ";var f=c.slice(i,s).replace(/[^]/g,"$&̲"),h;i>15?h="…"+c.slice(i-15,i):h=c.slice(0,i);var g;s+15<c.length?g=c.slice(s,s+15)+"…":g=c.slice(s),r+=h+f+g}var m=new Error(r);return m.name="ParseError",m.__proto__=Ne.prototype,m.position=i,i!=null&&s!=null&&(m.length=s-i),m.rawMessage=t,m}}Ne.prototype.__proto__=Error.prototype;var UH=function(t,n){return t===void 0?n:t},HH=/([A-Z])/g,GH=function(t){return t.replace(HH,"-$1").toLowerCase()},XH={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},YH=/[&><"']/g;function JH(e){return String(e).replace(YH,t=>XH[t])}var _S=function e(t){return t.type==="ordgroup"||t.type==="color"?t.body.length===1?e(t.body[0]):t:t.type==="font"?e(t.body):t},$H=function(t){var n=_S(t);return n.type==="mathord"||n.type==="textord"||n.type==="atom"},WH=function(t){if(!t)throw new Error("Expected non-null, but got "+String(t));return t},KH=function(t){var n=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*3a|&colon)/i.exec(t);return n?n[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(n[1])?null:n[1].toLowerCase():"_relative"},Ft={deflt:UH,escape:JH,hyphenate:GH,getBaseElem:_S,isCharacterBox:$H,protocolFromUrl:KH},kh={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 QH(e){if(e.default)return e.default;var t=e.type,n=Array.isArray(t)?t[0]:t;if(typeof n!="string")return n.enum[0];switch(n){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class Qx{constructor(t){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,t=t||{};for(var n in kh)if(kh.hasOwnProperty(n)){var r=kh[n];this[n]=t[n]!==void 0?r.processor?r.processor(t[n]):t[n]:QH(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 Ne("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(t.url&&!t.protocol){var n=Ft.protocolFromUrl(t.url);if(n==null)return!1;t.protocol=n}var r=typeof this.trust=="function"?this.trust(t):this.trust;return!!r}}class qs{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 na[ZH[this.id]]}sub(){return na[eG[this.id]]}fracNum(){return na[tG[this.id]]}fracDen(){return na[nG[this.id]]}cramp(){return na[rG[this.id]]}text(){return na[iG[this.id]]}isTight(){return this.size>=2}}var Zx=0,Yh=1,eu=2,Ya=3,t0=4,Ei=5,iu=6,mr=7,na=[new qs(Zx,0,!1),new qs(Yh,0,!0),new qs(eu,1,!1),new qs(Ya,1,!0),new qs(t0,2,!1),new qs(Ei,2,!0),new qs(iu,3,!1),new qs(mr,3,!0)],ZH=[t0,Ei,t0,Ei,iu,mr,iu,mr],eG=[Ei,Ei,Ei,Ei,mr,mr,mr,mr],tG=[eu,Ya,t0,Ei,iu,mr,iu,mr],nG=[Ya,Ya,Ei,Ei,mr,mr,mr,mr],rG=[Yh,Yh,Ya,Ya,Ei,Ei,mr,mr],iG=[Zx,Yh,eu,Ya,eu,Ya,eu,Ya],rt={DISPLAY:na[Zx],TEXT:na[eu],SCRIPT:na[t0],SCRIPTSCRIPT:na[iu]},Pg=[{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 aG(e){for(var t=0;t<Pg.length;t++)for(var n=Pg[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 Eh=[];Pg.forEach(e=>e.blocks.forEach(t=>Eh.push(...t)));function DS(e){for(var t=0;t<Eh.length;t+=2)if(e>=Eh[t]&&e<=Eh[t+1])return!0;return!1}var Ho=80,sG=function(t,n){return"M95,"+(622+t+n)+`
261
- c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
262
- c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
263
- 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
264
- s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
265
- c69,-144,104.5,-217.7,106.5,-221
266
- l`+t/2.075+" -"+t+`
267
- c5.3,-9.3,12,-14,20,-14
268
- H400000v`+(40+t)+`H845.2724
269
- s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
270
- c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
271
- M`+(834+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},lG=function(t,n){return"M263,"+(601+t+n)+`c0.7,0,18,39.7,52,119
272
- c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
273
- c340,-704.7,510.7,-1060.3,512,-1067
274
- l`+t/2.084+" -"+t+`
275
- c4.7,-7.3,11,-11,19,-11
276
- H40000v`+(40+t)+`H1012.3
277
- s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
278
- 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
279
- s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
280
- c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
281
- M`+(1001+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},oG=function(t,n){return"M983 "+(10+t+n)+`
282
- l`+t/3.13+" -"+t+`
283
- c4,-6.7,10,-10,18,-10 H400000v`+(40+t)+`
284
- 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
285
- 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
286
- c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
287
- c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
288
- c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
289
- c53.7,-170.3,84.5,-266.8,92.5,-289.5z
290
- M`+(1001+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},uG=function(t,n){return"M424,"+(2398+t+n)+`
291
- c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
292
- 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
293
- s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
294
- s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
295
- l`+t/4.223+" -"+t+`c4,-6.7,10,-10,18,-10 H400000
296
- v`+(40+t)+`H1014.6
297
- s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
298
- c-2,6,-10,9,-24,9
299
- c-8,0,-12,-0.7,-12,-2z M`+(1001+t)+" "+n+`
300
- h400000v`+(40+t)+"h-400000z"},cG=function(t,n){return"M473,"+(2713+t+n)+`
301
- c339.3,-1799.3,509.3,-2700,510,-2702 l`+t/5.298+" -"+t+`
302
- c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+t)+`H1017.7
303
- s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
304
- 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
305
- 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
306
- s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
307
- 606zM`+(1001+t)+" "+n+"h400000v"+(40+t)+"H1017.7z"},fG=function(t){var n=t/2;return"M400000 "+t+" H0 L"+n+" 0 l65 45 L145 "+(t-80)+" H400000z"},hG=function(t,n,r){var i=r-54-n-t;return"M702 "+(t+n)+"H400000"+(40+t)+`
308
- 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
309
- h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
310
- c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
311
- 219 661 l218 661zM702 `+n+"H400000v"+(40+t)+"H742z"},pG=function(t,n,r){n=1e3*n;var i="";switch(t){case"sqrtMain":i=sG(n,Ho);break;case"sqrtSize1":i=lG(n,Ho);break;case"sqrtSize2":i=oG(n,Ho);break;case"sqrtSize3":i=uG(n,Ho);break;case"sqrtSize4":i=cG(n,Ho);break;case"sqrtTall":i=hG(n,Ho,r)}return i},dG=function(t,n){switch(t){case"⎜":return"M291 0 H417 V"+n+" H291z M291 0 H417 V"+n+" H291z";case"∣":return"M145 0 H188 V"+n+" H145z M145 0 H188 V"+n+" H145z";case"∥":return"M145 0 H188 V"+n+" H145z M145 0 H188 V"+n+" H145z"+("M367 0 H410 V"+n+" H367z M367 0 H410 V"+n+" H367z");case"⎟":return"M457 0 H583 V"+n+" H457z M457 0 H583 V"+n+" H457z";case"⎢":return"M319 0 H403 V"+n+" H319z M319 0 H403 V"+n+" H319z";case"⎥":return"M263 0 H347 V"+n+" H263z M263 0 H347 V"+n+" H263z";case"⎪":return"M384 0 H504 V"+n+" H384z M384 0 H504 V"+n+" H384z";case"⏐":return"M312 0 H355 V"+n+" H312z M312 0 H355 V"+n+" H312z";case"‖":return"M257 0 H300 V"+n+" H257z M257 0 H300 V"+n+" H257z"+("M478 0 H521 V"+n+" H478z M478 0 H521 V"+n+" H478z");default:return""}},L6={doubleleftarrow:`M262 157
312
- 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
313
- 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
314
- 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
315
- 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
316
- 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
317
- -86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
318
- -2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
319
- m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
320
- -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
321
- 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
322
- -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
323
- -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
324
- -13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
325
- 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
326
- -107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
327
- 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
328
- -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
329
- 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
330
- 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
331
- 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
332
- l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
333
- -45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
334
- 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
335
- 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
336
- 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
337
- -331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
338
- 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
339
- 435 0h399565z`,leftgroupunder:`M400000 262
340
- 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
341
- 435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
342
- -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
343
- -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
344
- -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
345
- 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
346
- -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
347
- -10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
348
- m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
349
- 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
350
- 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
351
- -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
352
- 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
353
- -2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
354
- 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
355
- -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
356
- -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
357
- 71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
358
- M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
359
- M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
360
- -.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
361
- 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
362
- 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
363
- M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
364
- 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
365
- -53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
366
- 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
367
- 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
368
- 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
369
- 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
370
- 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
371
- -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
372
- -320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
373
- 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
374
- 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
375
- -451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
376
- m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
377
- 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
378
- -480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
379
- 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
380
- 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
381
- -707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
382
- m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
383
- 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
384
- -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
385
- 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
386
- 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
387
- -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
388
- -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
389
- 151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
390
- -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
391
- 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
392
- 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
393
- 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
394
- -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
395
- 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
396
- 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
397
- -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
398
- -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
399
- 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
400
- -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
401
- 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
402
- 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
403
- 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
404
- -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
405
- -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
406
- 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
407
- 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
408
- -64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
409
- 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
410
- 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
411
- -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
412
- 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z
413
- M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
414
- 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
415
- -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
416
- -167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
417
- 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
418
- -70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
419
- -40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
420
- -37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
421
- 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
422
- 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
423
- 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
424
- 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
425
- -19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
426
- 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
427
- -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
428
- 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
429
- 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
430
- -68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
431
- -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
432
- 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
433
- 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
434
- 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
435
- -11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
436
- 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
437
- 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
438
- -338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
439
- -11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
440
- 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
441
- 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
442
- -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
443
- 3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
444
- 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
445
- -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
446
- -7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
447
- H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
448
- 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
449
- 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
450
- -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
451
- -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
452
- -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,
453
- -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,
454
- -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,
455
- -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,
456
- -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
457
- c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
458
- 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
459
- 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
460
- 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
461
- 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
462
- c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
463
- M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
464
- -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
465
- 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
466
- -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
467
- -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
468
- -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
469
- 151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
470
- c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
471
- 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
472
- c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
473
- c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
474
- M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
475
- 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,
476
- -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
477
- 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
478
- 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
479
- 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,
480
- 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,
481
- -152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
482
- 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
483
- 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,
484
- -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
485
- 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
486
- M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},mG=function(t,n){switch(t){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+n+` v1759 h347 v-84
487
- H403z M403 1759 V0 H319 V1759 v`+n+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+n+` v1759 H0 v84 H347z
488
- 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
489
- c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15
490
- 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
491
- c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15
492
- c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+n+` v585 h43z
493
- M367 15 v585 v`+n+` v585 c2.667,10,9.667,15,21,15
494
- c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15
495
- 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
496
- MM319 602 V0 H403 V602 v`+n+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+n+` v1799 H0 v-84 H319z
497
- MM319 602 V0 H403 V602 v`+n+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+n+` v602 h84z
498
- M403 1759 V0 H319 V1759 v`+n+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+n+` v602 h84z
499
- 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
500
- 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,
501
- -36,557 l0,`+(n+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,
502
- 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
503
- 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,
504
- -544.7,-112.5,-882c-2,-104,-3,-167,-3,-189
505
- l0,-`+(n+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,
506
- -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,
507
- 63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5
508
- c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(n+9)+`
509
- 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
510
- 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
511
- 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
512
- c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
513
- l0,-`+(n+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
514
- -470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};class E0{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(){var t=n=>n.toText();return this.children.map(t).join("")}}var aa={"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]}},rh={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]},z6={Å:"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 gG(e,t){aa[e]=t}function e2(e,t,n){if(!aa[t])throw new Error("Font metrics not found for font: "+t+".");var r=e.charCodeAt(0),i=aa[t][r];if(!i&&e[0]in z6&&(r=z6[e[0]].charCodeAt(0),i=aa[t][r]),!i&&n==="text"&&DS(r)&&(i=aa[t][77]),i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}}var V1={};function xG(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!V1[t]){var n=V1[t]={cssEmPerMu:rh.quad[t]/18};for(var r in rh)rh.hasOwnProperty(r)&&(n[r]=rh[r][t])}return V1[t]}var yG=[[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]],P6=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],B6=function(t,n){return n.size<2?t:yG[t-1][n.size-1]};class qa{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||qa.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=P6[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}extend(t){var n={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);return new qa(n)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:B6(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:P6[t-1]})}havingBaseStyle(t){t=t||this.style.text();var n=B6(qa.BASESIZE,t);return this.size===n&&this.textSize===qa.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!==qa.BASESIZE?["sizing","reset-size"+this.size,"size"+qa.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=xG(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}qa.BASESIZE=6;var Bg={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},vG={ex:!0,em:!0,mu:!0},RS=function(t){return typeof t!="string"&&(t=t.unit),t in Bg||t in vG||t==="ex"},mn=function(t,n){var r;if(t.unit in Bg)r=Bg[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 Ne("Invalid unit: '"+t.unit+"'");i!==n&&(r*=i.sizeMultiplier/n.sizeMultiplier)}return Math.min(t.number*r,n.maxSize)},Ie=function(t){return+t.toFixed(4)+"em"},al=function(t){return t.filter(n=>n).join(" ")},OS=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)}},IS=function(t){var n=document.createElement(t);n.className=al(this.classes);for(var r in this.style)this.style.hasOwnProperty(r)&&(n.style[r]=this.style[r]);for(var i in this.attributes)this.attributes.hasOwnProperty(i)&&n.setAttribute(i,this.attributes[i]);for(var s=0;s<this.children.length;s++)n.appendChild(this.children[s].toNode());return n},bG=/[\s"'>/=\x00-\x1f]/,LS=function(t){var n="<"+t;this.classes.length&&(n+=' class="'+Ft.escape(al(this.classes))+'"');var r="";for(var i in this.style)this.style.hasOwnProperty(i)&&(r+=Ft.hyphenate(i)+":"+this.style[i]+";");r&&(n+=' style="'+Ft.escape(r)+'"');for(var s in this.attributes)if(this.attributes.hasOwnProperty(s)){if(bG.test(s))throw new Ne("Invalid attribute name '"+s+"'");n+=" "+s+'="'+Ft.escape(this.attributes[s])+'"'}n+=">";for(var o=0;o<this.children.length;o++)n+=this.children[o].toMarkup();return n+="</"+t+">",n};class C0{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,OS.call(this,t,r,i),this.children=n||[]}setAttribute(t,n){this.attributes[t]=n}hasClass(t){return this.classes.includes(t)}toNode(){return IS.call(this,"span")}toMarkup(){return LS.call(this,"span")}}class t2{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,OS.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 IS.call(this,"a")}toMarkup(){return LS.call(this,"a")}}class wG{constructor(t,n,r){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=n,this.src=t,this.classes=["mord"],this.style=r}hasClass(t){return this.classes.includes(t)}toNode(){var t=document.createElement("img");t.src=this.src,t.alt=this.alt,t.className="mord";for(var n in this.style)this.style.hasOwnProperty(n)&&(t.style[n]=this.style[n]);return t}toMarkup(){var t='<img src="'+Ft.escape(this.src)+'"'+(' alt="'+Ft.escape(this.alt)+'"'),n="";for(var r in this.style)this.style.hasOwnProperty(r)&&(n+=Ft.hyphenate(r)+":"+this.style[r]+";");return n&&(t+=' style="'+Ft.escape(n)+'"'),t+="'/>",t}}var SG={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class Ti{constructor(t,n,r,i,s,o,c,f){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=t,this.height=n||0,this.depth=r||0,this.italic=i||0,this.skew=s||0,this.width=o||0,this.classes=c||[],this.style=f||{},this.maxFontSize=0;var h=aG(this.text.charCodeAt(0));h&&this.classes.push(h+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=SG[this.text])}hasClass(t){return this.classes.includes(t)}toNode(){var t=document.createTextNode(this.text),n=null;this.italic>0&&(n=document.createElement("span"),n.style.marginRight=Ie(this.italic)),this.classes.length>0&&(n=n||document.createElement("span"),n.className=al(this.classes));for(var r in this.style)this.style.hasOwnProperty(r)&&(n=n||document.createElement("span"),n.style[r]=this.style[r]);return n?(n.appendChild(t),n):t}toMarkup(){var t=!1,n="<span";this.classes.length&&(t=!0,n+=' class="',n+=Ft.escape(al(this.classes)),n+='"');var r="";this.italic>0&&(r+="margin-right:"+this.italic+"em;");for(var i in this.style)this.style.hasOwnProperty(i)&&(r+=Ft.hyphenate(i)+":"+this.style[i]+";");r&&(t=!0,n+=' style="'+Ft.escape(r)+'"');var s=Ft.escape(this.text);return t?(n+=">",n+=s,n+="</span>",n):s}}class ts{constructor(t,n){this.children=void 0,this.attributes=void 0,this.children=t||[],this.attributes=n||{}}toNode(){var t="http://www.w3.org/2000/svg",n=document.createElementNS(t,"svg");for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&n.setAttribute(r,this.attributes[r]);for(var 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 in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&(t+=" "+n+'="'+Ft.escape(this.attributes[n])+'"');t+=">";for(var r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t+="</svg>",t}}class sl{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",L6[this.pathName]),n}toMarkup(){return this.alternate?'<path d="'+Ft.escape(this.alternate)+'"/>':'<path d="'+Ft.escape(L6[this.pathName])+'"/>'}}class jg{constructor(t){this.attributes=void 0,this.attributes=t||{}}toNode(){var t="http://www.w3.org/2000/svg",n=document.createElementNS(t,"line");for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&n.setAttribute(r,this.attributes[r]);return n}toMarkup(){var t="<line";for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&(t+=" "+n+'="'+Ft.escape(this.attributes[n])+'"');return t+="/>",t}}function j6(e){if(e instanceof Ti)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}function kG(e){if(e instanceof C0)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}var EG={bin:1,close:1,inner:1,open:1,punct:1,rel:1},CG={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},rn={math:{},text:{}};function A(e,t,n,r,i,s){rn[e][i]={font:t,group:n,replace:r},s&&r&&(rn[e][r]=rn[e][i])}var N="math",Ae="text",P="main",K="ams",hn="accent-token",qe="bin",vr="close",vu="inner",nt="mathord",jn="op-token",ii="open",Rp="punct",Q="rel",ss="spacing",ne="textord";A(N,P,Q,"≡","\\equiv",!0);A(N,P,Q,"≺","\\prec",!0);A(N,P,Q,"≻","\\succ",!0);A(N,P,Q,"∼","\\sim",!0);A(N,P,Q,"⊥","\\perp");A(N,P,Q,"⪯","\\preceq",!0);A(N,P,Q,"⪰","\\succeq",!0);A(N,P,Q,"≃","\\simeq",!0);A(N,P,Q,"∣","\\mid",!0);A(N,P,Q,"≪","\\ll",!0);A(N,P,Q,"≫","\\gg",!0);A(N,P,Q,"≍","\\asymp",!0);A(N,P,Q,"∥","\\parallel");A(N,P,Q,"⋈","\\bowtie",!0);A(N,P,Q,"⌣","\\smile",!0);A(N,P,Q,"⊑","\\sqsubseteq",!0);A(N,P,Q,"⊒","\\sqsupseteq",!0);A(N,P,Q,"≐","\\doteq",!0);A(N,P,Q,"⌢","\\frown",!0);A(N,P,Q,"∋","\\ni",!0);A(N,P,Q,"∝","\\propto",!0);A(N,P,Q,"⊢","\\vdash",!0);A(N,P,Q,"⊣","\\dashv",!0);A(N,P,Q,"∋","\\owns");A(N,P,Rp,".","\\ldotp");A(N,P,Rp,"⋅","\\cdotp");A(N,P,ne,"#","\\#");A(Ae,P,ne,"#","\\#");A(N,P,ne,"&","\\&");A(Ae,P,ne,"&","\\&");A(N,P,ne,"ℵ","\\aleph",!0);A(N,P,ne,"∀","\\forall",!0);A(N,P,ne,"ℏ","\\hbar",!0);A(N,P,ne,"∃","\\exists",!0);A(N,P,ne,"∇","\\nabla",!0);A(N,P,ne,"♭","\\flat",!0);A(N,P,ne,"ℓ","\\ell",!0);A(N,P,ne,"♮","\\natural",!0);A(N,P,ne,"♣","\\clubsuit",!0);A(N,P,ne,"℘","\\wp",!0);A(N,P,ne,"♯","\\sharp",!0);A(N,P,ne,"♢","\\diamondsuit",!0);A(N,P,ne,"ℜ","\\Re",!0);A(N,P,ne,"♡","\\heartsuit",!0);A(N,P,ne,"ℑ","\\Im",!0);A(N,P,ne,"♠","\\spadesuit",!0);A(N,P,ne,"§","\\S",!0);A(Ae,P,ne,"§","\\S");A(N,P,ne,"¶","\\P",!0);A(Ae,P,ne,"¶","\\P");A(N,P,ne,"†","\\dag");A(Ae,P,ne,"†","\\dag");A(Ae,P,ne,"†","\\textdagger");A(N,P,ne,"‡","\\ddag");A(Ae,P,ne,"‡","\\ddag");A(Ae,P,ne,"‡","\\textdaggerdbl");A(N,P,vr,"⎱","\\rmoustache",!0);A(N,P,ii,"⎰","\\lmoustache",!0);A(N,P,vr,"⟯","\\rgroup",!0);A(N,P,ii,"⟮","\\lgroup",!0);A(N,P,qe,"∓","\\mp",!0);A(N,P,qe,"⊖","\\ominus",!0);A(N,P,qe,"⊎","\\uplus",!0);A(N,P,qe,"⊓","\\sqcap",!0);A(N,P,qe,"∗","\\ast");A(N,P,qe,"⊔","\\sqcup",!0);A(N,P,qe,"◯","\\bigcirc",!0);A(N,P,qe,"∙","\\bullet",!0);A(N,P,qe,"‡","\\ddagger");A(N,P,qe,"≀","\\wr",!0);A(N,P,qe,"⨿","\\amalg");A(N,P,qe,"&","\\And");A(N,P,Q,"⟵","\\longleftarrow",!0);A(N,P,Q,"⇐","\\Leftarrow",!0);A(N,P,Q,"⟸","\\Longleftarrow",!0);A(N,P,Q,"⟶","\\longrightarrow",!0);A(N,P,Q,"⇒","\\Rightarrow",!0);A(N,P,Q,"⟹","\\Longrightarrow",!0);A(N,P,Q,"↔","\\leftrightarrow",!0);A(N,P,Q,"⟷","\\longleftrightarrow",!0);A(N,P,Q,"⇔","\\Leftrightarrow",!0);A(N,P,Q,"⟺","\\Longleftrightarrow",!0);A(N,P,Q,"↦","\\mapsto",!0);A(N,P,Q,"⟼","\\longmapsto",!0);A(N,P,Q,"↗","\\nearrow",!0);A(N,P,Q,"↩","\\hookleftarrow",!0);A(N,P,Q,"↪","\\hookrightarrow",!0);A(N,P,Q,"↘","\\searrow",!0);A(N,P,Q,"↼","\\leftharpoonup",!0);A(N,P,Q,"⇀","\\rightharpoonup",!0);A(N,P,Q,"↙","\\swarrow",!0);A(N,P,Q,"↽","\\leftharpoondown",!0);A(N,P,Q,"⇁","\\rightharpoondown",!0);A(N,P,Q,"↖","\\nwarrow",!0);A(N,P,Q,"⇌","\\rightleftharpoons",!0);A(N,K,Q,"≮","\\nless",!0);A(N,K,Q,"","\\@nleqslant");A(N,K,Q,"","\\@nleqq");A(N,K,Q,"⪇","\\lneq",!0);A(N,K,Q,"≨","\\lneqq",!0);A(N,K,Q,"","\\@lvertneqq");A(N,K,Q,"⋦","\\lnsim",!0);A(N,K,Q,"⪉","\\lnapprox",!0);A(N,K,Q,"⊀","\\nprec",!0);A(N,K,Q,"⋠","\\npreceq",!0);A(N,K,Q,"⋨","\\precnsim",!0);A(N,K,Q,"⪹","\\precnapprox",!0);A(N,K,Q,"≁","\\nsim",!0);A(N,K,Q,"","\\@nshortmid");A(N,K,Q,"∤","\\nmid",!0);A(N,K,Q,"⊬","\\nvdash",!0);A(N,K,Q,"⊭","\\nvDash",!0);A(N,K,Q,"⋪","\\ntriangleleft");A(N,K,Q,"⋬","\\ntrianglelefteq",!0);A(N,K,Q,"⊊","\\subsetneq",!0);A(N,K,Q,"","\\@varsubsetneq");A(N,K,Q,"⫋","\\subsetneqq",!0);A(N,K,Q,"","\\@varsubsetneqq");A(N,K,Q,"≯","\\ngtr",!0);A(N,K,Q,"","\\@ngeqslant");A(N,K,Q,"","\\@ngeqq");A(N,K,Q,"⪈","\\gneq",!0);A(N,K,Q,"≩","\\gneqq",!0);A(N,K,Q,"","\\@gvertneqq");A(N,K,Q,"⋧","\\gnsim",!0);A(N,K,Q,"⪊","\\gnapprox",!0);A(N,K,Q,"⊁","\\nsucc",!0);A(N,K,Q,"⋡","\\nsucceq",!0);A(N,K,Q,"⋩","\\succnsim",!0);A(N,K,Q,"⪺","\\succnapprox",!0);A(N,K,Q,"≆","\\ncong",!0);A(N,K,Q,"","\\@nshortparallel");A(N,K,Q,"∦","\\nparallel",!0);A(N,K,Q,"⊯","\\nVDash",!0);A(N,K,Q,"⋫","\\ntriangleright");A(N,K,Q,"⋭","\\ntrianglerighteq",!0);A(N,K,Q,"","\\@nsupseteqq");A(N,K,Q,"⊋","\\supsetneq",!0);A(N,K,Q,"","\\@varsupsetneq");A(N,K,Q,"⫌","\\supsetneqq",!0);A(N,K,Q,"","\\@varsupsetneqq");A(N,K,Q,"⊮","\\nVdash",!0);A(N,K,Q,"⪵","\\precneqq",!0);A(N,K,Q,"⪶","\\succneqq",!0);A(N,K,Q,"","\\@nsubseteqq");A(N,K,qe,"⊴","\\unlhd");A(N,K,qe,"⊵","\\unrhd");A(N,K,Q,"↚","\\nleftarrow",!0);A(N,K,Q,"↛","\\nrightarrow",!0);A(N,K,Q,"⇍","\\nLeftarrow",!0);A(N,K,Q,"⇏","\\nRightarrow",!0);A(N,K,Q,"↮","\\nleftrightarrow",!0);A(N,K,Q,"⇎","\\nLeftrightarrow",!0);A(N,K,Q,"△","\\vartriangle");A(N,K,ne,"ℏ","\\hslash");A(N,K,ne,"▽","\\triangledown");A(N,K,ne,"◊","\\lozenge");A(N,K,ne,"Ⓢ","\\circledS");A(N,K,ne,"®","\\circledR");A(Ae,K,ne,"®","\\circledR");A(N,K,ne,"∡","\\measuredangle",!0);A(N,K,ne,"∄","\\nexists");A(N,K,ne,"℧","\\mho");A(N,K,ne,"Ⅎ","\\Finv",!0);A(N,K,ne,"⅁","\\Game",!0);A(N,K,ne,"‵","\\backprime");A(N,K,ne,"▲","\\blacktriangle");A(N,K,ne,"▼","\\blacktriangledown");A(N,K,ne,"■","\\blacksquare");A(N,K,ne,"⧫","\\blacklozenge");A(N,K,ne,"★","\\bigstar");A(N,K,ne,"∢","\\sphericalangle",!0);A(N,K,ne,"∁","\\complement",!0);A(N,K,ne,"ð","\\eth",!0);A(Ae,P,ne,"ð","ð");A(N,K,ne,"╱","\\diagup");A(N,K,ne,"╲","\\diagdown");A(N,K,ne,"□","\\square");A(N,K,ne,"□","\\Box");A(N,K,ne,"◊","\\Diamond");A(N,K,ne,"¥","\\yen",!0);A(Ae,K,ne,"¥","\\yen",!0);A(N,K,ne,"✓","\\checkmark",!0);A(Ae,K,ne,"✓","\\checkmark");A(N,K,ne,"ℶ","\\beth",!0);A(N,K,ne,"ℸ","\\daleth",!0);A(N,K,ne,"ℷ","\\gimel",!0);A(N,K,ne,"ϝ","\\digamma",!0);A(N,K,ne,"ϰ","\\varkappa");A(N,K,ii,"┌","\\@ulcorner",!0);A(N,K,vr,"┐","\\@urcorner",!0);A(N,K,ii,"└","\\@llcorner",!0);A(N,K,vr,"┘","\\@lrcorner",!0);A(N,K,Q,"≦","\\leqq",!0);A(N,K,Q,"⩽","\\leqslant",!0);A(N,K,Q,"⪕","\\eqslantless",!0);A(N,K,Q,"≲","\\lesssim",!0);A(N,K,Q,"⪅","\\lessapprox",!0);A(N,K,Q,"≊","\\approxeq",!0);A(N,K,qe,"⋖","\\lessdot");A(N,K,Q,"⋘","\\lll",!0);A(N,K,Q,"≶","\\lessgtr",!0);A(N,K,Q,"⋚","\\lesseqgtr",!0);A(N,K,Q,"⪋","\\lesseqqgtr",!0);A(N,K,Q,"≑","\\doteqdot");A(N,K,Q,"≓","\\risingdotseq",!0);A(N,K,Q,"≒","\\fallingdotseq",!0);A(N,K,Q,"∽","\\backsim",!0);A(N,K,Q,"⋍","\\backsimeq",!0);A(N,K,Q,"⫅","\\subseteqq",!0);A(N,K,Q,"⋐","\\Subset",!0);A(N,K,Q,"⊏","\\sqsubset",!0);A(N,K,Q,"≼","\\preccurlyeq",!0);A(N,K,Q,"⋞","\\curlyeqprec",!0);A(N,K,Q,"≾","\\precsim",!0);A(N,K,Q,"⪷","\\precapprox",!0);A(N,K,Q,"⊲","\\vartriangleleft");A(N,K,Q,"⊴","\\trianglelefteq");A(N,K,Q,"⊨","\\vDash",!0);A(N,K,Q,"⊪","\\Vvdash",!0);A(N,K,Q,"⌣","\\smallsmile");A(N,K,Q,"⌢","\\smallfrown");A(N,K,Q,"≏","\\bumpeq",!0);A(N,K,Q,"≎","\\Bumpeq",!0);A(N,K,Q,"≧","\\geqq",!0);A(N,K,Q,"⩾","\\geqslant",!0);A(N,K,Q,"⪖","\\eqslantgtr",!0);A(N,K,Q,"≳","\\gtrsim",!0);A(N,K,Q,"⪆","\\gtrapprox",!0);A(N,K,qe,"⋗","\\gtrdot");A(N,K,Q,"⋙","\\ggg",!0);A(N,K,Q,"≷","\\gtrless",!0);A(N,K,Q,"⋛","\\gtreqless",!0);A(N,K,Q,"⪌","\\gtreqqless",!0);A(N,K,Q,"≖","\\eqcirc",!0);A(N,K,Q,"≗","\\circeq",!0);A(N,K,Q,"≜","\\triangleq",!0);A(N,K,Q,"∼","\\thicksim");A(N,K,Q,"≈","\\thickapprox");A(N,K,Q,"⫆","\\supseteqq",!0);A(N,K,Q,"⋑","\\Supset",!0);A(N,K,Q,"⊐","\\sqsupset",!0);A(N,K,Q,"≽","\\succcurlyeq",!0);A(N,K,Q,"⋟","\\curlyeqsucc",!0);A(N,K,Q,"≿","\\succsim",!0);A(N,K,Q,"⪸","\\succapprox",!0);A(N,K,Q,"⊳","\\vartriangleright");A(N,K,Q,"⊵","\\trianglerighteq");A(N,K,Q,"⊩","\\Vdash",!0);A(N,K,Q,"∣","\\shortmid");A(N,K,Q,"∥","\\shortparallel");A(N,K,Q,"≬","\\between",!0);A(N,K,Q,"⋔","\\pitchfork",!0);A(N,K,Q,"∝","\\varpropto");A(N,K,Q,"◀","\\blacktriangleleft");A(N,K,Q,"∴","\\therefore",!0);A(N,K,Q,"∍","\\backepsilon");A(N,K,Q,"▶","\\blacktriangleright");A(N,K,Q,"∵","\\because",!0);A(N,K,Q,"⋘","\\llless");A(N,K,Q,"⋙","\\gggtr");A(N,K,qe,"⊲","\\lhd");A(N,K,qe,"⊳","\\rhd");A(N,K,Q,"≂","\\eqsim",!0);A(N,P,Q,"⋈","\\Join");A(N,K,Q,"≑","\\Doteq",!0);A(N,K,qe,"∔","\\dotplus",!0);A(N,K,qe,"∖","\\smallsetminus");A(N,K,qe,"⋒","\\Cap",!0);A(N,K,qe,"⋓","\\Cup",!0);A(N,K,qe,"⩞","\\doublebarwedge",!0);A(N,K,qe,"⊟","\\boxminus",!0);A(N,K,qe,"⊞","\\boxplus",!0);A(N,K,qe,"⋇","\\divideontimes",!0);A(N,K,qe,"⋉","\\ltimes",!0);A(N,K,qe,"⋊","\\rtimes",!0);A(N,K,qe,"⋋","\\leftthreetimes",!0);A(N,K,qe,"⋌","\\rightthreetimes",!0);A(N,K,qe,"⋏","\\curlywedge",!0);A(N,K,qe,"⋎","\\curlyvee",!0);A(N,K,qe,"⊝","\\circleddash",!0);A(N,K,qe,"⊛","\\circledast",!0);A(N,K,qe,"⋅","\\centerdot");A(N,K,qe,"⊺","\\intercal",!0);A(N,K,qe,"⋒","\\doublecap");A(N,K,qe,"⋓","\\doublecup");A(N,K,qe,"⊠","\\boxtimes",!0);A(N,K,Q,"⇢","\\dashrightarrow",!0);A(N,K,Q,"⇠","\\dashleftarrow",!0);A(N,K,Q,"⇇","\\leftleftarrows",!0);A(N,K,Q,"⇆","\\leftrightarrows",!0);A(N,K,Q,"⇚","\\Lleftarrow",!0);A(N,K,Q,"↞","\\twoheadleftarrow",!0);A(N,K,Q,"↢","\\leftarrowtail",!0);A(N,K,Q,"↫","\\looparrowleft",!0);A(N,K,Q,"⇋","\\leftrightharpoons",!0);A(N,K,Q,"↶","\\curvearrowleft",!0);A(N,K,Q,"↺","\\circlearrowleft",!0);A(N,K,Q,"↰","\\Lsh",!0);A(N,K,Q,"⇈","\\upuparrows",!0);A(N,K,Q,"↿","\\upharpoonleft",!0);A(N,K,Q,"⇃","\\downharpoonleft",!0);A(N,P,Q,"⊶","\\origof",!0);A(N,P,Q,"⊷","\\imageof",!0);A(N,K,Q,"⊸","\\multimap",!0);A(N,K,Q,"↭","\\leftrightsquigarrow",!0);A(N,K,Q,"⇉","\\rightrightarrows",!0);A(N,K,Q,"⇄","\\rightleftarrows",!0);A(N,K,Q,"↠","\\twoheadrightarrow",!0);A(N,K,Q,"↣","\\rightarrowtail",!0);A(N,K,Q,"↬","\\looparrowright",!0);A(N,K,Q,"↷","\\curvearrowright",!0);A(N,K,Q,"↻","\\circlearrowright",!0);A(N,K,Q,"↱","\\Rsh",!0);A(N,K,Q,"⇊","\\downdownarrows",!0);A(N,K,Q,"↾","\\upharpoonright",!0);A(N,K,Q,"⇂","\\downharpoonright",!0);A(N,K,Q,"⇝","\\rightsquigarrow",!0);A(N,K,Q,"⇝","\\leadsto");A(N,K,Q,"⇛","\\Rrightarrow",!0);A(N,K,Q,"↾","\\restriction");A(N,P,ne,"‘","`");A(N,P,ne,"$","\\$");A(Ae,P,ne,"$","\\$");A(Ae,P,ne,"$","\\textdollar");A(N,P,ne,"%","\\%");A(Ae,P,ne,"%","\\%");A(N,P,ne,"_","\\_");A(Ae,P,ne,"_","\\_");A(Ae,P,ne,"_","\\textunderscore");A(N,P,ne,"∠","\\angle",!0);A(N,P,ne,"∞","\\infty",!0);A(N,P,ne,"′","\\prime");A(N,P,ne,"△","\\triangle");A(N,P,ne,"Γ","\\Gamma",!0);A(N,P,ne,"Δ","\\Delta",!0);A(N,P,ne,"Θ","\\Theta",!0);A(N,P,ne,"Λ","\\Lambda",!0);A(N,P,ne,"Ξ","\\Xi",!0);A(N,P,ne,"Π","\\Pi",!0);A(N,P,ne,"Σ","\\Sigma",!0);A(N,P,ne,"Υ","\\Upsilon",!0);A(N,P,ne,"Φ","\\Phi",!0);A(N,P,ne,"Ψ","\\Psi",!0);A(N,P,ne,"Ω","\\Omega",!0);A(N,P,ne,"A","Α");A(N,P,ne,"B","Β");A(N,P,ne,"E","Ε");A(N,P,ne,"Z","Ζ");A(N,P,ne,"H","Η");A(N,P,ne,"I","Ι");A(N,P,ne,"K","Κ");A(N,P,ne,"M","Μ");A(N,P,ne,"N","Ν");A(N,P,ne,"O","Ο");A(N,P,ne,"P","Ρ");A(N,P,ne,"T","Τ");A(N,P,ne,"X","Χ");A(N,P,ne,"¬","\\neg",!0);A(N,P,ne,"¬","\\lnot");A(N,P,ne,"⊤","\\top");A(N,P,ne,"⊥","\\bot");A(N,P,ne,"∅","\\emptyset");A(N,K,ne,"∅","\\varnothing");A(N,P,nt,"α","\\alpha",!0);A(N,P,nt,"β","\\beta",!0);A(N,P,nt,"γ","\\gamma",!0);A(N,P,nt,"δ","\\delta",!0);A(N,P,nt,"ϵ","\\epsilon",!0);A(N,P,nt,"ζ","\\zeta",!0);A(N,P,nt,"η","\\eta",!0);A(N,P,nt,"θ","\\theta",!0);A(N,P,nt,"ι","\\iota",!0);A(N,P,nt,"κ","\\kappa",!0);A(N,P,nt,"λ","\\lambda",!0);A(N,P,nt,"μ","\\mu",!0);A(N,P,nt,"ν","\\nu",!0);A(N,P,nt,"ξ","\\xi",!0);A(N,P,nt,"ο","\\omicron",!0);A(N,P,nt,"π","\\pi",!0);A(N,P,nt,"ρ","\\rho",!0);A(N,P,nt,"σ","\\sigma",!0);A(N,P,nt,"τ","\\tau",!0);A(N,P,nt,"υ","\\upsilon",!0);A(N,P,nt,"ϕ","\\phi",!0);A(N,P,nt,"χ","\\chi",!0);A(N,P,nt,"ψ","\\psi",!0);A(N,P,nt,"ω","\\omega",!0);A(N,P,nt,"ε","\\varepsilon",!0);A(N,P,nt,"ϑ","\\vartheta",!0);A(N,P,nt,"ϖ","\\varpi",!0);A(N,P,nt,"ϱ","\\varrho",!0);A(N,P,nt,"ς","\\varsigma",!0);A(N,P,nt,"φ","\\varphi",!0);A(N,P,qe,"∗","*",!0);A(N,P,qe,"+","+");A(N,P,qe,"−","-",!0);A(N,P,qe,"⋅","\\cdot",!0);A(N,P,qe,"∘","\\circ",!0);A(N,P,qe,"÷","\\div",!0);A(N,P,qe,"±","\\pm",!0);A(N,P,qe,"×","\\times",!0);A(N,P,qe,"∩","\\cap",!0);A(N,P,qe,"∪","\\cup",!0);A(N,P,qe,"∖","\\setminus",!0);A(N,P,qe,"∧","\\land");A(N,P,qe,"∨","\\lor");A(N,P,qe,"∧","\\wedge",!0);A(N,P,qe,"∨","\\vee",!0);A(N,P,ne,"√","\\surd");A(N,P,ii,"⟨","\\langle",!0);A(N,P,ii,"∣","\\lvert");A(N,P,ii,"∥","\\lVert");A(N,P,vr,"?","?");A(N,P,vr,"!","!");A(N,P,vr,"⟩","\\rangle",!0);A(N,P,vr,"∣","\\rvert");A(N,P,vr,"∥","\\rVert");A(N,P,Q,"=","=");A(N,P,Q,":",":");A(N,P,Q,"≈","\\approx",!0);A(N,P,Q,"≅","\\cong",!0);A(N,P,Q,"≥","\\ge");A(N,P,Q,"≥","\\geq",!0);A(N,P,Q,"←","\\gets");A(N,P,Q,">","\\gt",!0);A(N,P,Q,"∈","\\in",!0);A(N,P,Q,"","\\@not");A(N,P,Q,"⊂","\\subset",!0);A(N,P,Q,"⊃","\\supset",!0);A(N,P,Q,"⊆","\\subseteq",!0);A(N,P,Q,"⊇","\\supseteq",!0);A(N,K,Q,"⊈","\\nsubseteq",!0);A(N,K,Q,"⊉","\\nsupseteq",!0);A(N,P,Q,"⊨","\\models");A(N,P,Q,"←","\\leftarrow",!0);A(N,P,Q,"≤","\\le");A(N,P,Q,"≤","\\leq",!0);A(N,P,Q,"<","\\lt",!0);A(N,P,Q,"→","\\rightarrow",!0);A(N,P,Q,"→","\\to");A(N,K,Q,"≱","\\ngeq",!0);A(N,K,Q,"≰","\\nleq",!0);A(N,P,ss," ","\\ ");A(N,P,ss," ","\\space");A(N,P,ss," ","\\nobreakspace");A(Ae,P,ss," ","\\ ");A(Ae,P,ss," "," ");A(Ae,P,ss," ","\\space");A(Ae,P,ss," ","\\nobreakspace");A(N,P,ss,null,"\\nobreak");A(N,P,ss,null,"\\allowbreak");A(N,P,Rp,",",",");A(N,P,Rp,";",";");A(N,K,qe,"⊼","\\barwedge",!0);A(N,K,qe,"⊻","\\veebar",!0);A(N,P,qe,"⊙","\\odot",!0);A(N,P,qe,"⊕","\\oplus",!0);A(N,P,qe,"⊗","\\otimes",!0);A(N,P,ne,"∂","\\partial",!0);A(N,P,qe,"⊘","\\oslash",!0);A(N,K,qe,"⊚","\\circledcirc",!0);A(N,K,qe,"⊡","\\boxdot",!0);A(N,P,qe,"△","\\bigtriangleup");A(N,P,qe,"▽","\\bigtriangledown");A(N,P,qe,"†","\\dagger");A(N,P,qe,"⋄","\\diamond");A(N,P,qe,"⋆","\\star");A(N,P,qe,"◃","\\triangleleft");A(N,P,qe,"▹","\\triangleright");A(N,P,ii,"{","\\{");A(Ae,P,ne,"{","\\{");A(Ae,P,ne,"{","\\textbraceleft");A(N,P,vr,"}","\\}");A(Ae,P,ne,"}","\\}");A(Ae,P,ne,"}","\\textbraceright");A(N,P,ii,"{","\\lbrace");A(N,P,vr,"}","\\rbrace");A(N,P,ii,"[","\\lbrack",!0);A(Ae,P,ne,"[","\\lbrack",!0);A(N,P,vr,"]","\\rbrack",!0);A(Ae,P,ne,"]","\\rbrack",!0);A(N,P,ii,"(","\\lparen",!0);A(N,P,vr,")","\\rparen",!0);A(Ae,P,ne,"<","\\textless",!0);A(Ae,P,ne,">","\\textgreater",!0);A(N,P,ii,"⌊","\\lfloor",!0);A(N,P,vr,"⌋","\\rfloor",!0);A(N,P,ii,"⌈","\\lceil",!0);A(N,P,vr,"⌉","\\rceil",!0);A(N,P,ne,"\\","\\backslash");A(N,P,ne,"∣","|");A(N,P,ne,"∣","\\vert");A(Ae,P,ne,"|","\\textbar",!0);A(N,P,ne,"∥","\\|");A(N,P,ne,"∥","\\Vert");A(Ae,P,ne,"∥","\\textbardbl");A(Ae,P,ne,"~","\\textasciitilde");A(Ae,P,ne,"\\","\\textbackslash");A(Ae,P,ne,"^","\\textasciicircum");A(N,P,Q,"↑","\\uparrow",!0);A(N,P,Q,"⇑","\\Uparrow",!0);A(N,P,Q,"↓","\\downarrow",!0);A(N,P,Q,"⇓","\\Downarrow",!0);A(N,P,Q,"↕","\\updownarrow",!0);A(N,P,Q,"⇕","\\Updownarrow",!0);A(N,P,jn,"∐","\\coprod");A(N,P,jn,"⋁","\\bigvee");A(N,P,jn,"⋀","\\bigwedge");A(N,P,jn,"⨄","\\biguplus");A(N,P,jn,"⋂","\\bigcap");A(N,P,jn,"⋃","\\bigcup");A(N,P,jn,"∫","\\int");A(N,P,jn,"∫","\\intop");A(N,P,jn,"∬","\\iint");A(N,P,jn,"∭","\\iiint");A(N,P,jn,"∏","\\prod");A(N,P,jn,"∑","\\sum");A(N,P,jn,"⨂","\\bigotimes");A(N,P,jn,"⨁","\\bigoplus");A(N,P,jn,"⨀","\\bigodot");A(N,P,jn,"∮","\\oint");A(N,P,jn,"∯","\\oiint");A(N,P,jn,"∰","\\oiiint");A(N,P,jn,"⨆","\\bigsqcup");A(N,P,jn,"∫","\\smallint");A(Ae,P,vu,"…","\\textellipsis");A(N,P,vu,"…","\\mathellipsis");A(Ae,P,vu,"…","\\ldots",!0);A(N,P,vu,"…","\\ldots",!0);A(N,P,vu,"⋯","\\@cdots",!0);A(N,P,vu,"⋱","\\ddots",!0);A(N,P,ne,"⋮","\\varvdots");A(Ae,P,ne,"⋮","\\varvdots");A(N,P,hn,"ˊ","\\acute");A(N,P,hn,"ˋ","\\grave");A(N,P,hn,"¨","\\ddot");A(N,P,hn,"~","\\tilde");A(N,P,hn,"ˉ","\\bar");A(N,P,hn,"˘","\\breve");A(N,P,hn,"ˇ","\\check");A(N,P,hn,"^","\\hat");A(N,P,hn,"⃗","\\vec");A(N,P,hn,"˙","\\dot");A(N,P,hn,"˚","\\mathring");A(N,P,nt,"","\\@imath");A(N,P,nt,"","\\@jmath");A(N,P,ne,"ı","ı");A(N,P,ne,"ȷ","ȷ");A(Ae,P,ne,"ı","\\i",!0);A(Ae,P,ne,"ȷ","\\j",!0);A(Ae,P,ne,"ß","\\ss",!0);A(Ae,P,ne,"æ","\\ae",!0);A(Ae,P,ne,"œ","\\oe",!0);A(Ae,P,ne,"ø","\\o",!0);A(Ae,P,ne,"Æ","\\AE",!0);A(Ae,P,ne,"Œ","\\OE",!0);A(Ae,P,ne,"Ø","\\O",!0);A(Ae,P,hn,"ˊ","\\'");A(Ae,P,hn,"ˋ","\\`");A(Ae,P,hn,"ˆ","\\^");A(Ae,P,hn,"˜","\\~");A(Ae,P,hn,"ˉ","\\=");A(Ae,P,hn,"˘","\\u");A(Ae,P,hn,"˙","\\.");A(Ae,P,hn,"¸","\\c");A(Ae,P,hn,"˚","\\r");A(Ae,P,hn,"ˇ","\\v");A(Ae,P,hn,"¨",'\\"');A(Ae,P,hn,"˝","\\H");A(Ae,P,hn,"◯","\\textcircled");var zS={"--":!0,"---":!0,"``":!0,"''":!0};A(Ae,P,ne,"–","--",!0);A(Ae,P,ne,"–","\\textendash");A(Ae,P,ne,"—","---",!0);A(Ae,P,ne,"—","\\textemdash");A(Ae,P,ne,"‘","`",!0);A(Ae,P,ne,"‘","\\textquoteleft");A(Ae,P,ne,"’","'",!0);A(Ae,P,ne,"’","\\textquoteright");A(Ae,P,ne,"“","``",!0);A(Ae,P,ne,"“","\\textquotedblleft");A(Ae,P,ne,"”","''",!0);A(Ae,P,ne,"”","\\textquotedblright");A(N,P,ne,"°","\\degree",!0);A(Ae,P,ne,"°","\\degree");A(Ae,P,ne,"°","\\textdegree",!0);A(N,P,ne,"£","\\pounds");A(N,P,ne,"£","\\mathsterling",!0);A(Ae,P,ne,"£","\\pounds");A(Ae,P,ne,"£","\\textsterling",!0);A(N,K,ne,"✠","\\maltese");A(Ae,K,ne,"✠","\\maltese");var F6='0123456789/@."';for(var q1=0;q1<F6.length;q1++){var V6=F6.charAt(q1);A(N,P,ne,V6,V6)}var q6='0123456789!@*()-=+";:?/.,';for(var U1=0;U1<q6.length;U1++){var U6=q6.charAt(U1);A(Ae,P,ne,U6,U6)}var Jh="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(var H1=0;H1<Jh.length;H1++){var ih=Jh.charAt(H1);A(N,P,nt,ih,ih),A(Ae,P,ne,ih,ih)}A(N,K,ne,"C","ℂ");A(Ae,K,ne,"C","ℂ");A(N,K,ne,"H","ℍ");A(Ae,K,ne,"H","ℍ");A(N,K,ne,"N","ℕ");A(Ae,K,ne,"N","ℕ");A(N,K,ne,"P","ℙ");A(Ae,K,ne,"P","ℙ");A(N,K,ne,"Q","ℚ");A(Ae,K,ne,"Q","ℚ");A(N,K,ne,"R","ℝ");A(Ae,K,ne,"R","ℝ");A(N,K,ne,"Z","ℤ");A(Ae,K,ne,"Z","ℤ");A(N,P,nt,"h","ℎ");A(Ae,P,nt,"h","ℎ");var lt="";for(var fr=0;fr<Jh.length;fr++){var Sn=Jh.charAt(fr);lt=String.fromCharCode(55349,56320+fr),A(N,P,nt,Sn,lt),A(Ae,P,ne,Sn,lt),lt=String.fromCharCode(55349,56372+fr),A(N,P,nt,Sn,lt),A(Ae,P,ne,Sn,lt),lt=String.fromCharCode(55349,56424+fr),A(N,P,nt,Sn,lt),A(Ae,P,ne,Sn,lt),lt=String.fromCharCode(55349,56580+fr),A(N,P,nt,Sn,lt),A(Ae,P,ne,Sn,lt),lt=String.fromCharCode(55349,56684+fr),A(N,P,nt,Sn,lt),A(Ae,P,ne,Sn,lt),lt=String.fromCharCode(55349,56736+fr),A(N,P,nt,Sn,lt),A(Ae,P,ne,Sn,lt),lt=String.fromCharCode(55349,56788+fr),A(N,P,nt,Sn,lt),A(Ae,P,ne,Sn,lt),lt=String.fromCharCode(55349,56840+fr),A(N,P,nt,Sn,lt),A(Ae,P,ne,Sn,lt),lt=String.fromCharCode(55349,56944+fr),A(N,P,nt,Sn,lt),A(Ae,P,ne,Sn,lt),fr<26&&(lt=String.fromCharCode(55349,56632+fr),A(N,P,nt,Sn,lt),A(Ae,P,ne,Sn,lt),lt=String.fromCharCode(55349,56476+fr),A(N,P,nt,Sn,lt),A(Ae,P,ne,Sn,lt))}lt="𝕜";A(N,P,nt,"k",lt);A(Ae,P,ne,"k",lt);for(var Ll=0;Ll<10;Ll++){var Us=Ll.toString();lt=String.fromCharCode(55349,57294+Ll),A(N,P,nt,Us,lt),A(Ae,P,ne,Us,lt),lt=String.fromCharCode(55349,57314+Ll),A(N,P,nt,Us,lt),A(Ae,P,ne,Us,lt),lt=String.fromCharCode(55349,57324+Ll),A(N,P,nt,Us,lt),A(Ae,P,ne,Us,lt),lt=String.fromCharCode(55349,57334+Ll),A(N,P,nt,Us,lt),A(Ae,P,ne,Us,lt)}var Fg="ÐÞþ";for(var G1=0;G1<Fg.length;G1++){var ah=Fg.charAt(G1);A(N,P,nt,ah,ah),A(Ae,P,ne,ah,ah)}var sh=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],H6=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],AG=function(t,n){var r=t.charCodeAt(0),i=t.charCodeAt(1),s=(r-55296)*1024+(i-56320)+65536,o=n==="math"?0:1;if(119808<=s&&s<120484){var c=Math.floor((s-119808)/26);return[sh[c][2],sh[c][o]]}else if(120782<=s&&s<=120831){var f=Math.floor((s-120782)/10);return[H6[f][2],H6[f][o]]}else{if(s===120485||s===120486)return[sh[0][2],sh[0][o]];if(120486<s&&s<120782)return["",""];throw new Ne("Unsupported character: "+t)}},Op=function(t,n,r){return rn[r][t]&&rn[r][t].replace&&(t=rn[r][t].replace),{value:t,metrics:e2(t,n,r)}},ji=function(t,n,r,i,s){var o=Op(t,n,r),c=o.metrics;t=o.value;var f;if(c){var h=c.italic;(r==="text"||i&&i.font==="mathit")&&(h=0),f=new Ti(t,c.height,c.depth,h,c.skew,c.width,s)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+t+"' in style '"+n+"' and mode '"+r+"'")),f=new Ti(t,0,0,0,0,0,s);if(i){f.maxFontSize=i.sizeMultiplier,i.style.isTight()&&f.classes.push("mtight");var g=i.getColor();g&&(f.style.color=g)}return f},TG=function(t,n,r,i){return i===void 0&&(i=[]),r.font==="boldsymbol"&&Op(t,"Main-Bold",n).metrics?ji(t,"Main-Bold",n,r,i.concat(["mathbf"])):t==="\\"||rn[n][t].font==="main"?ji(t,"Main-Regular",n,r,i):ji(t,"AMS-Regular",n,r,i.concat(["amsrm"]))},MG=function(t,n,r,i,s){return s!=="textord"&&Op(t,"Math-BoldItalic",n).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},NG=function(t,n,r){var i=t.mode,s=t.text,o=["mord"],c=i==="math"||i==="text"&&n.font,f=c?n.font:n.fontFamily,h="",g="";if(s.charCodeAt(0)===55349&&([h,g]=AG(s,i)),h.length>0)return ji(s,h,i,n,o.concat(g));if(f){var m,x;if(f==="boldsymbol"){var v=MG(s,i,n,o,r);m=v.fontName,x=[v.fontClass]}else c?(m=jS[f].fontName,x=[f]):(m=lh(f,n.fontWeight,n.fontShape),x=[f,n.fontWeight,n.fontShape]);if(Op(s,m,i).metrics)return ji(s,m,i,n,o.concat(x));if(zS.hasOwnProperty(s)&&m.slice(0,10)==="Typewriter"){for(var E=[],k=0;k<s.length;k++)E.push(ji(s[k],m,i,n,o.concat(x)));return BS(E)}}if(r==="mathord")return ji(s,"Math-Italic",i,n,o.concat(["mathnormal"]));if(r==="textord"){var T=rn[i][s]&&rn[i][s].font;if(T==="ams"){var C=lh("amsrm",n.fontWeight,n.fontShape);return ji(s,C,i,n,o.concat("amsrm",n.fontWeight,n.fontShape))}else if(T==="main"||!T){var M=lh("textrm",n.fontWeight,n.fontShape);return ji(s,M,i,n,o.concat(n.fontWeight,n.fontShape))}else{var R=lh(T,n.fontWeight,n.fontShape);return ji(s,R,i,n,o.concat(R,n.fontWeight,n.fontShape))}}else throw new Error("unexpected type: "+r+" in makeOrd")},_G=(e,t)=>{if(al(e.classes)!==al(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(e.classes.length===1){var n=e.classes[0];if(n==="mbin"||n==="mord")return!1}for(var r in e.style)if(e.style.hasOwnProperty(r)&&e.style[r]!==t.style[r])return!1;for(var i in t.style)if(t.style.hasOwnProperty(i)&&e.style[i]!==t.style[i])return!1;return!0},DG=e=>{for(var t=0;t<e.length-1;t++){var n=e[t],r=e[t+1];n instanceof Ti&&r instanceof Ti&&_G(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},n2=function(t){for(var n=0,r=0,i=0,s=0;s<t.children.length;s++){var o=t.children[s];o.height>n&&(n=o.height),o.depth>r&&(r=o.depth),o.maxFontSize>i&&(i=o.maxFontSize)}t.height=n,t.depth=r,t.maxFontSize=i},Ir=function(t,n,r,i){var s=new C0(t,n,r,i);return n2(s),s},PS=(e,t,n,r)=>new C0(e,t,n,r),RG=function(t,n,r){var i=Ir([t],[],n);return i.height=Math.max(r||n.fontMetrics().defaultRuleThickness,n.minRuleThickness),i.style.borderBottomWidth=Ie(i.height),i.maxFontSize=1,i},OG=function(t,n,r,i){var s=new t2(t,n,r,i);return n2(s),s},BS=function(t){var n=new E0(t);return n2(n),n},IG=function(t,n){return t instanceof E0?Ir([],[t],n):t},LG=function(t){if(t.positionType==="individualShift"){for(var n=t.children,r=[n[0]],i=-n[0].shift-n[0].elem.depth,s=i,o=1;o<n.length;o++){var c=-n[o].shift-s-n[o].elem.depth,f=c-(n[o-1].elem.height+n[o-1].elem.depth);s=s+c,r.push({type:"kern",size:f}),r.push(n[o])}return{children:r,depth:i}}var h;if(t.positionType==="top"){for(var g=t.positionData,m=0;m<t.children.length;m++){var x=t.children[m];g-=x.type==="kern"?x.size:x.elem.height+x.elem.depth}h=g}else if(t.positionType==="bottom")h=-t.positionData;else{var v=t.children[0];if(v.type!=="elem")throw new Error('First child must have type "elem".');if(t.positionType==="shift")h=-v.elem.depth-t.positionData;else if(t.positionType==="firstBaseline")h=-v.elem.depth;else throw new Error("Invalid positionType "+t.positionType+".")}return{children:t.children,depth:h}},zG=function(t,n){for(var{children:r,depth:i}=LG(t),s=0,o=0;o<r.length;o++){var c=r[o];if(c.type==="elem"){var f=c.elem;s=Math.max(s,f.maxFontSize,f.height)}}s+=2;var h=Ir(["pstrut"],[]);h.style.height=Ie(s);for(var g=[],m=i,x=i,v=i,E=0;E<r.length;E++){var k=r[E];if(k.type==="kern")v+=k.size;else{var T=k.elem,C=k.wrapperClasses||[],M=k.wrapperStyle||{},R=Ir(C,[h,T],void 0,M);R.style.top=Ie(-s-v-T.depth),k.marginLeft&&(R.style.marginLeft=k.marginLeft),k.marginRight&&(R.style.marginRight=k.marginRight),g.push(R),v+=T.height+T.depth}m=Math.min(m,v),x=Math.max(x,v)}var j=Ir(["vlist"],g);j.style.height=Ie(x);var L;if(m<0){var S=Ir([],[]),O=Ir(["vlist"],[S]);O.style.height=Ie(-m);var q=Ir(["vlist-s"],[new Ti("​")]);L=[Ir(["vlist-r"],[j,q]),Ir(["vlist-r"],[O])]}else L=[Ir(["vlist-r"],[j])];var W=Ir(["vlist-t"],L);return L.length===2&&W.classes.push("vlist-t2"),W.height=x,W.depth=-m,W},PG=(e,t)=>{var n=Ir(["mspace"],[],t),r=mn(e,t);return n.style.marginRight=Ie(r),n},lh=function(t,n,r){var i="";switch(t){case"amsrm":i="AMS";break;case"textrm":i="Main";break;case"textsf":i="SansSerif";break;case"texttt":i="Typewriter";break;default:i=t}var s;return n==="textbf"&&r==="textit"?s="BoldItalic":n==="textbf"?s="Bold":n==="textit"?s="Italic":s="Regular",i+"-"+s},jS={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"}},FS={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},BG=function(t,n){var[r,i,s]=FS[t],o=new sl(r),c=new ts([o],{width:Ie(i),height:Ie(s),style:"width:"+Ie(i),viewBox:"0 0 "+1e3*i+" "+1e3*s,preserveAspectRatio:"xMinYMin"}),f=PS(["overlay"],[c],n);return f.height=s,f.style.height=Ie(s),f.style.width=Ie(i),f},fe={fontMap:jS,makeSymbol:ji,mathsym:TG,makeSpan:Ir,makeSvgSpan:PS,makeLineSpan:RG,makeAnchor:OG,makeFragment:BS,wrapFragment:IG,makeVList:zG,makeOrd:NG,makeGlue:PG,staticSvg:BG,svgData:FS,tryCombineChars:DG},dn={number:3,unit:"mu"},zl={number:4,unit:"mu"},Va={number:5,unit:"mu"},jG={mord:{mop:dn,mbin:zl,mrel:Va,minner:dn},mop:{mord:dn,mop:dn,mrel:Va,minner:dn},mbin:{mord:zl,mop:zl,mopen:zl,minner:zl},mrel:{mord:Va,mop:Va,mopen:Va,minner:Va},mopen:{},mclose:{mop:dn,mbin:zl,mrel:Va,minner:dn},mpunct:{mord:dn,mop:dn,mrel:Va,mopen:dn,mclose:dn,mpunct:dn,minner:dn},minner:{mord:dn,mop:dn,mbin:zl,mrel:Va,mopen:dn,mpunct:dn,minner:dn}},FG={mord:{mop:dn},mop:{mord:dn,mop:dn},mbin:{},mrel:{},mopen:{},mclose:{mop:dn},mpunct:{},minner:{mop:dn}},VS={},$h={},Wh={};function Fe(e){for(var{type:t,names:n,props:r,handler:i,htmlBuilder:s,mathmlBuilder:o}=e,c={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},f=0;f<n.length;++f)VS[n[f]]=c;t&&(s&&($h[t]=s),o&&(Wh[t]=o))}function Kl(e){var{type:t,htmlBuilder:n,mathmlBuilder:r}=e;Fe({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:n,mathmlBuilder:r})}var Kh=function(t){return t.type==="ordgroup"&&t.body.length===1?t.body[0]:t},Tn=function(t){return t.type==="ordgroup"?t.body:[t]},ns=fe.makeSpan,VG=["leftmost","mbin","mopen","mrel","mop","mpunct"],qG=["rightmost","mrel","mclose","mpunct"],UG={display:rt.DISPLAY,text:rt.TEXT,script:rt.SCRIPT,scriptscript:rt.SCRIPTSCRIPT},HG={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Yn=function(t,n,r,i){i===void 0&&(i=[null,null]);for(var s=[],o=0;o<t.length;o++){var c=zt(t[o],n);if(c instanceof E0){var f=c.children;s.push(...f)}else s.push(c)}if(fe.tryCombineChars(s),!r)return s;var h=n;if(t.length===1){var g=t[0];g.type==="sizing"?h=n.havingSize(g.size):g.type==="styling"&&(h=n.havingStyle(UG[g.style]))}var m=ns([i[0]||"leftmost"],[],n),x=ns([i[1]||"rightmost"],[],n),v=r==="root";return G6(s,(E,k)=>{var T=k.classes[0],C=E.classes[0];T==="mbin"&&qG.includes(C)?k.classes[0]="mord":C==="mbin"&&VG.includes(T)&&(E.classes[0]="mord")},{node:m},x,v),G6(s,(E,k)=>{var T=Vg(k),C=Vg(E),M=T&&C?E.hasClass("mtight")?FG[T][C]:jG[T][C]:null;if(M)return fe.makeGlue(M,h)},{node:m},x,v),s},G6=function e(t,n,r,i,s){i&&t.push(i);for(var o=0;o<t.length;o++){var c=t[o],f=qS(c);if(f){e(f.children,n,r,null,s);continue}var h=!c.hasClass("mspace");if(h){var g=n(c,r.node);g&&(r.insertAfter?r.insertAfter(g):(t.unshift(g),o++))}h?r.node=c:s&&c.hasClass("newline")&&(r.node=ns(["leftmost"])),r.insertAfter=(m=>x=>{t.splice(m+1,0,x),o++})(o)}i&&t.pop()},qS=function(t){return t instanceof E0||t instanceof t2||t instanceof C0&&t.hasClass("enclosing")?t:null},GG=function e(t,n){var r=qS(t);if(r){var i=r.children;if(i.length){if(n==="right")return e(i[i.length-1],"right");if(n==="left")return e(i[0],"left")}}return t},Vg=function(t,n){return t?(n&&(t=GG(t,n)),HG[t.classes[0]]||null):null},n0=function(t,n){var r=["nulldelimiter"].concat(t.baseSizingClasses());return ns(n.concat(r))},zt=function(t,n,r){if(!t)return ns();if($h[t.type]){var i=$h[t.type](t,n);if(r&&n.size!==r.size){i=ns(n.sizingClasses(r),[i],n);var s=n.sizeMultiplier/r.sizeMultiplier;i.height*=s,i.depth*=s}return i}else throw new Ne("Got group of unknown type: '"+t.type+"'")};function oh(e,t){var n=ns(["base"],e,t),r=ns(["strut"]);return r.style.height=Ie(n.height+n.depth),n.depth&&(r.style.verticalAlign=Ie(-n.depth)),n.children.unshift(r),n}function qg(e,t){var n=null;e.length===1&&e[0].type==="tag"&&(n=e[0].tag,e=e[0].body);var r=Yn(e,t,"root"),i;r.length===2&&r[1].hasClass("tag")&&(i=r.pop());for(var s=[],o=[],c=0;c<r.length;c++)if(o.push(r[c]),r[c].hasClass("mbin")||r[c].hasClass("mrel")||r[c].hasClass("allowbreak")){for(var f=!1;c<r.length-1&&r[c+1].hasClass("mspace")&&!r[c+1].hasClass("newline");)c++,o.push(r[c]),r[c].hasClass("nobreak")&&(f=!0);f||(s.push(oh(o,t)),o=[])}else r[c].hasClass("newline")&&(o.pop(),o.length>0&&(s.push(oh(o,t)),o=[]),s.push(r[c]));o.length>0&&s.push(oh(o,t));var h;n?(h=oh(Yn(n,t,!0)),h.classes=["tag"],s.push(h)):i&&s.push(i);var g=ns(["katex-html"],s);if(g.setAttribute("aria-hidden","true"),h){var m=h.children[0];m.style.height=Ie(g.height+g.depth),g.depth&&(m.style.verticalAlign=Ie(-g.depth))}return g}function US(e){return new E0(e)}class ei{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=al(this.classes));for(var r=0;r<this.children.length;r++)if(this.children[r]instanceof sa&&this.children[r+1]instanceof sa){for(var i=this.children[r].toText()+this.children[++r].toText();this.children[r+1]instanceof sa;)i+=this.children[++r].toText();t.appendChild(new sa(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+=Ft.escape(this.attributes[n]),t+='"');this.classes.length>0&&(t+=' class ="'+Ft.escape(al(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 sa{constructor(t){this.text=void 0,this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return Ft.escape(this.toText())}toText(){return this.text}}class XG{constructor(t){this.width=void 0,this.character=void 0,this.width=t,t>=.05555&&t<=.05556?this.character=" ":t>=.1666&&t<=.1667?this.character=" ":t>=.2222&&t<=.2223?this.character=" ":t>=.2777&&t<=.2778?this.character="  ":t>=-.05556&&t<=-.05555?this.character=" ⁣":t>=-.1667&&t<=-.1666?this.character=" ⁣":t>=-.2223&&t<=-.2222?this.character=" ⁣":t>=-.2778&&t<=-.2777?this.character=" ⁣":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var t=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return t.setAttribute("width",Ie(this.width)),t}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+Ie(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var Me={MathNode:ei,TextNode:sa,SpaceNode:XG,newDocumentFragment:US},Mi=function(t,n,r){return rn[n][t]&&rn[n][t].replace&&t.charCodeAt(0)!==55349&&!(zS.hasOwnProperty(t)&&r&&(r.fontFamily&&r.fontFamily.slice(4,6)==="tt"||r.font&&r.font.slice(4,6)==="tt"))&&(t=rn[n][t].replace),new Me.TextNode(t)},r2=function(t){return t.length===1?t[0]:new Me.MathNode("mrow",t)},i2=function(t,n){if(n.fontFamily==="texttt")return"monospace";if(n.fontFamily==="textsf")return n.fontShape==="textit"&&n.fontWeight==="textbf"?"sans-serif-bold-italic":n.fontShape==="textit"?"sans-serif-italic":n.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(n.fontShape==="textit"&&n.fontWeight==="textbf")return"bold-italic";if(n.fontShape==="textit")return"italic";if(n.fontWeight==="textbf")return"bold";var r=n.font;if(!r||r==="mathnormal")return null;var i=t.mode;if(r==="mathit")return"italic";if(r==="boldsymbol")return t.type==="textord"?"bold":"bold-italic";if(r==="mathbf")return"bold";if(r==="mathbb")return"double-struck";if(r==="mathsfit")return"sans-serif-italic";if(r==="mathfrak")return"fraktur";if(r==="mathscr"||r==="mathcal")return"script";if(r==="mathsf")return"sans-serif";if(r==="mathtt")return"monospace";var s=t.text;if(["\\imath","\\jmath"].includes(s))return null;rn[i][s]&&rn[i][s].replace&&(s=rn[i][s].replace);var o=fe.fontMap[r].fontName;return e2(s,o,i)?fe.fontMap[r].variant:null};function X1(e){if(!e)return!1;if(e.type==="mi"&&e.children.length===1){var t=e.children[0];return t instanceof sa&&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 sa&&n.text===","}else return!1}var qr=function(t,n,r){if(t.length===1){var i=tn(t[0],n);return r&&i instanceof ei&&i.type==="mo"&&(i.setAttribute("lspace","0em"),i.setAttribute("rspace","0em")),[i]}for(var s=[],o,c=0;c<t.length;c++){var f=tn(t[c],n);if(f instanceof ei&&o instanceof ei){if(f.type==="mtext"&&o.type==="mtext"&&f.getAttribute("mathvariant")===o.getAttribute("mathvariant")){o.children.push(...f.children);continue}else if(f.type==="mn"&&o.type==="mn"){o.children.push(...f.children);continue}else if(X1(f)&&o.type==="mn"){o.children.push(...f.children);continue}else if(f.type==="mn"&&X1(o))f.children=[...o.children,...f.children],s.pop();else if((f.type==="msup"||f.type==="msub")&&f.children.length>=1&&(o.type==="mn"||X1(o))){var h=f.children[0];h instanceof ei&&h.type==="mn"&&(h.children=[...o.children,...h.children],s.pop())}else if(o.type==="mi"&&o.children.length===1){var g=o.children[0];if(g instanceof sa&&g.text==="̸"&&(f.type==="mo"||f.type==="mi"||f.type==="mn")){var m=f.children[0];m instanceof sa&&m.text.length>0&&(m.text=m.text.slice(0,1)+"̸"+m.text.slice(1),s.pop())}}}s.push(f),o=f}return s},ll=function(t,n,r){return r2(qr(t,n,r))},tn=function(t,n){if(!t)return new Me.MathNode("mrow");if(Wh[t.type]){var r=Wh[t.type](t,n);return r}else throw new Ne("Got group of unknown type: '"+t.type+"'")};function X6(e,t,n,r,i){var s=qr(e,n),o;s.length===1&&s[0]instanceof ei&&["mrow","mtable"].includes(s[0].type)?o=s[0]:o=new Me.MathNode("mrow",s);var c=new Me.MathNode("annotation",[new Me.TextNode(t)]);c.setAttribute("encoding","application/x-tex");var f=new Me.MathNode("semantics",[o,c]),h=new Me.MathNode("math",[f]);h.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),r&&h.setAttribute("display","block");var g=i?"katex":"katex-mathml";return fe.makeSpan([g],[h])}var HS=function(t){return new qa({style:t.displayMode?rt.DISPLAY:rt.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},GS=function(t,n){if(n.displayMode){var r=["katex-display"];n.leqno&&r.push("leqno"),n.fleqn&&r.push("fleqn"),t=fe.makeSpan(r,[t])}return t},YG=function(t,n,r){var i=HS(r),s;if(r.output==="mathml")return X6(t,n,i,r.displayMode,!0);if(r.output==="html"){var o=qg(t,i);s=fe.makeSpan(["katex"],[o])}else{var c=X6(t,n,i,r.displayMode,!1),f=qg(t,i);s=fe.makeSpan(["katex"],[c,f])}return GS(s,r)},JG=function(t,n,r){var i=HS(r),s=qg(t,i),o=fe.makeSpan(["katex"],[s]);return GS(o,r)},$G={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},WG=function(t){var n=new Me.MathNode("mo",[new Me.TextNode($G[t.replace(/^\\/,"")])]);return n.setAttribute("stretchy","true"),n},KG={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},QG=function(t){return t.type==="ordgroup"?t.body.length:1},ZG=function(t,n){function r(){var c=4e5,f=t.label.slice(1);if(["widehat","widecheck","widetilde","utilde"].includes(f)){var h=t,g=QG(h.base),m,x,v;if(g>5)f==="widehat"||f==="widecheck"?(m=420,c=2364,v=.42,x=f+"4"):(m=312,c=2340,v=.34,x="tilde4");else{var E=[1,1,2,2,3,3][g];f==="widehat"||f==="widecheck"?(c=[0,1062,2364,2364,2364][E],m=[0,239,300,360,420][E],v=[0,.24,.3,.3,.36,.42][E],x=f+E):(c=[0,600,1033,2339,2340][E],m=[0,260,286,306,312][E],v=[0,.26,.286,.3,.306,.34][E],x="tilde"+E)}var k=new sl(x),T=new ts([k],{width:"100%",height:Ie(v),viewBox:"0 0 "+c+" "+m,preserveAspectRatio:"none"});return{span:fe.makeSvgSpan([],[T],n),minWidth:0,height:v}}else{var C=[],M=KG[f],[R,j,L]=M,S=L/1e3,O=R.length,q,W;if(O===1){var J=M[3];q=["hide-tail"],W=[J]}else if(O===2)q=["halfarrow-left","halfarrow-right"],W=["xMinYMin","xMaxYMin"];else if(O===3)q=["brace-left","brace-center","brace-right"],W=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
515
- `+O+" children.");for(var re=0;re<O;re++){var ae=new sl(R[re]),Se=new ts([ae],{width:"400em",height:Ie(S),viewBox:"0 0 "+c+" "+L,preserveAspectRatio:W[re]+" slice"}),xe=fe.makeSvgSpan([q[re]],[Se],n);if(O===1)return{span:xe,minWidth:j,height:S};xe.style.height=Ie(S),C.push(xe)}return{span:fe.makeSpan(["stretchy"],C,n),minWidth:j,height:S}}}var{span:i,minWidth:s,height:o}=r();return i.height=o,i.style.height=Ie(o),s>0&&(i.style.minWidth=Ie(s)),i},eX=function(t,n,r,i,s){var o,c=t.height+t.depth+r+i;if(/fbox|color|angl/.test(n)){if(o=fe.makeSpan(["stretchy",n],[],s),n==="fbox"){var f=s.color&&s.getColor();f&&(o.style.borderColor=f)}}else{var h=[];/^[bx]cancel$/.test(n)&&h.push(new jg({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(n)&&h.push(new jg({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var g=new ts(h,{width:"100%",height:Ie(c)});o=fe.makeSvgSpan([],[g],s)}return o.height=c,o.style.height=Ie(c),o},rs={encloseSpan:eX,mathMLnode:WG,svgSpan:ZG};function bt(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 a2(e){var t=Ip(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 Ip(e){return e&&(e.type==="atom"||CG.hasOwnProperty(e.type))?e:null}var s2=(e,t)=>{var n,r,i;e&&e.type==="supsub"?(r=bt(e.base,"accent"),n=r.base,e.base=n,i=kG(zt(e,t)),e.base=r):(r=bt(e,"accent"),n=r.base);var s=zt(n,t.havingCrampedStyle()),o=r.isShifty&&Ft.isCharacterBox(n),c=0;if(o){var f=Ft.getBaseElem(n),h=zt(f,t.havingCrampedStyle());c=j6(h).skew}var g=r.label==="\\c",m=g?s.height+s.depth:Math.min(s.height,t.fontMetrics().xHeight),x;if(r.isStretchy)x=rs.svgSpan(r,t),x=fe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"elem",elem:x,wrapperClasses:["svg-align"],wrapperStyle:c>0?{width:"calc(100% - "+Ie(2*c)+")",marginLeft:Ie(2*c)}:void 0}]},t);else{var v,E;r.label==="\\vec"?(v=fe.staticSvg("vec",t),E=fe.svgData.vec[1]):(v=fe.makeOrd({mode:r.mode,text:r.label},t,"textord"),v=j6(v),v.italic=0,E=v.width,g&&(m+=v.depth)),x=fe.makeSpan(["accent-body"],[v]);var k=r.label==="\\textcircled";k&&(x.classes.push("accent-full"),m=s.height);var T=c;k||(T-=E/2),x.style.left=Ie(T),r.label==="\\textcircled"&&(x.style.top=".2em"),x=fe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:-m},{type:"elem",elem:x}]},t)}var C=fe.makeSpan(["mord","accent"],[x],t);return i?(i.children[0]=C,i.height=Math.max(C.height,i.height),i.classes[0]="mord",i):C},XS=(e,t)=>{var n=e.isStretchy?rs.mathMLnode(e.label):new Me.MathNode("mo",[Mi(e.label,e.mode)]),r=new Me.MathNode("mover",[tn(e.base,t),n]);return r.setAttribute("accent","true"),r},tX=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));Fe({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=Kh(t[0]),r=!tX.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:s2,mathmlBuilder:XS});Fe({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:s2,mathmlBuilder:XS});Fe({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=zt(e.base,t),r=rs.svgSpan(e,t),i=e.label==="\\utilde"?.12:0,s=fe.makeVList({positionType:"top",positionData:n.height,children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:i},{type:"elem",elem:n}]},t);return fe.makeSpan(["mord","accentunder"],[s],t)},mathmlBuilder:(e,t)=>{var n=rs.mathMLnode(e.label),r=new Me.MathNode("munder",[tn(e.base,t),n]);return r.setAttribute("accentunder","true"),r}});var uh=e=>{var t=new Me.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};Fe({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=fe.wrapFragment(zt(e.body,r,t),t),s=e.label.slice(0,2)==="\\x"?"x":"cd";i.classes.push(s+"-arrow-pad");var o;e.below&&(r=t.havingStyle(n.sub()),o=fe.wrapFragment(zt(e.below,r,t),t),o.classes.push(s+"-arrow-pad"));var c=rs.svgSpan(e,t),f=-t.fontMetrics().axisHeight+.5*c.height,h=-t.fontMetrics().axisHeight-.5*c.height-.111;(i.depth>.25||e.label==="\\xleftequilibrium")&&(h-=i.depth);var g;if(o){var m=-t.fontMetrics().axisHeight+o.height+.5*c.height+.111;g=fe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:h},{type:"elem",elem:c,shift:f},{type:"elem",elem:o,shift:m}]},t)}else g=fe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:h},{type:"elem",elem:c,shift:f}]},t);return g.children[0].children[0].children[1].classes.push("svg-align"),fe.makeSpan(["mrel","x-arrow"],[g],t)},mathmlBuilder(e,t){var n=rs.mathMLnode(e.label);n.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var r;if(e.body){var i=uh(tn(e.body,t));if(e.below){var s=uh(tn(e.below,t));r=new Me.MathNode("munderover",[n,s,i])}else r=new Me.MathNode("mover",[n,i])}else if(e.below){var o=uh(tn(e.below,t));r=new Me.MathNode("munder",[n,o])}else r=uh(),r=new Me.MathNode("mover",[n,r]);return r}});var nX=fe.makeSpan;function YS(e,t){var n=Yn(e.body,t,!0);return nX([e.mclass],n,t)}function JS(e,t){var n,r=qr(e.body,t);return e.mclass==="minner"?n=new Me.MathNode("mpadded",r):e.mclass==="mord"?e.isCharacterBox?(n=r[0],n.type="mi"):n=new Me.MathNode("mi",r):(e.isCharacterBox?(n=r[0],n.type="mo"):n=new Me.MathNode("mo",r),e.mclass==="mbin"?(n.attributes.lspace="0.22em",n.attributes.rspace="0.22em"):e.mclass==="mpunct"?(n.attributes.lspace="0em",n.attributes.rspace="0.17em"):e.mclass==="mopen"||e.mclass==="mclose"?(n.attributes.lspace="0em",n.attributes.rspace="0em"):e.mclass==="minner"&&(n.attributes.lspace="0.0556em",n.attributes.width="+0.1111em")),n}Fe({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:Tn(i),isCharacterBox:Ft.isCharacterBox(i)}},htmlBuilder:YS,mathmlBuilder:JS});var Lp=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"};Fe({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:n}=e;return{type:"mclass",mode:n.mode,mclass:Lp(t[0]),body:Tn(t[1]),isCharacterBox:Ft.isCharacterBox(t[1])}}});Fe({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var{parser:n,funcName:r}=e,i=t[1],s=t[0],o;r!=="\\stackrel"?o=Lp(i):o="mrel";var c={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:r!=="\\stackrel",body:Tn(i)},f={type:"supsub",mode:s.mode,base:c,sup:r==="\\underset"?null:s,sub:r==="\\underset"?s:null};return{type:"mclass",mode:n.mode,mclass:o,body:[f],isCharacterBox:Ft.isCharacterBox(f)}},htmlBuilder:YS,mathmlBuilder:JS});Fe({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"pmb",mode:n.mode,mclass:Lp(t[0]),body:Tn(t[0])}},htmlBuilder(e,t){var n=Yn(e.body,t,!0),r=fe.makeSpan([e.mclass],n,t);return r.style.textShadow="0.02em 0.01em 0.04px",r},mathmlBuilder(e,t){var n=qr(e.body,t),r=new Me.MathNode("mstyle",n);return r.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),r}});var rX={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Y6=()=>({type:"styling",body:[],mode:"math",style:"display"}),J6=e=>e.type==="textord"&&e.text==="@",iX=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function aX(e,t,n){var r=rX[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]],[]),s={type:"atom",text:r,mode:"math",family:"rel"},o=n.callFunction("\\Big",[s],[]),c=n.callFunction("\\\\cdright",[t[1]],[]),f={type:"ordgroup",mode:"math",body:[i,o,c]};return n.callFunction("\\\\cdparent",[f],[])}case"\\\\cdlongequal":return n.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var h={type:"textord",text:"\\Vert",mode:"math"};return n.callFunction("\\Big",[h],[])}default:return{type:"textord",text:" ",mode:"math"}}}function sX(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 Ne("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var r=[],i=[r],s=0;s<t.length;s++){for(var o=t[s],c=Y6(),f=0;f<o.length;f++)if(!J6(o[f]))c.body.push(o[f]);else{r.push(c),f+=1;var h=a2(o[f]).text,g=new Array(2);if(g[0]={type:"ordgroup",mode:"math",body:[]},g[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(h)>-1))if("<>AV".indexOf(h)>-1)for(var m=0;m<2;m++){for(var x=!0,v=f+1;v<o.length;v++){if(iX(o[v],h)){x=!1,f=v;break}if(J6(o[v]))throw new Ne("Missing a "+h+" character to complete a CD arrow.",o[v]);g[m].body.push(o[v])}if(x)throw new Ne("Missing a "+h+" character to complete a CD arrow.",o[f])}else throw new Ne('Expected one of "<>AV=|." after @',o[f]);var E=aX(h,g,e),k={type:"styling",body:[E],mode:"math",style:"display"};r.push(k),c=Y6()}s%2===0?r.push(c):r.shift(),r=[],i.push(r)}e.gullet.endGroup(),e.gullet.endGroup();var T=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:T,colSeparationType:"CD",hLinesBeforeRow:new Array(i.length+1).fill([])}}Fe({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=fe.wrapFragment(zt(e.label,n,t),t);return r.classes.push("cd-label-"+e.side),r.style.bottom=Ie(.8-r.depth),r.height=0,r.depth=0,r},mathmlBuilder(e,t){var n=new Me.MathNode("mrow",[tn(e.label,t)]);return n=new Me.MathNode("mpadded",[n]),n.setAttribute("width","0"),e.side==="left"&&n.setAttribute("lspace","-1width"),n.setAttribute("voffset","0.7em"),n=new Me.MathNode("mstyle",[n]),n.setAttribute("displaystyle","false"),n.setAttribute("scriptlevel","1"),n}});Fe({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=fe.wrapFragment(zt(e.fragment,t),t);return n.classes.push("cd-vert-arrow"),n},mathmlBuilder(e,t){return new Me.MathNode("mrow",[tn(e.fragment,t)])}});Fe({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:n}=e,r=bt(t[0],"ordgroup"),i=r.body,s="",o=0;o<i.length;o++){var c=bt(i[o],"textord");s+=c.text}var f=parseInt(s),h;if(isNaN(f))throw new Ne("\\@char has non-numeric argument "+s);if(f<0||f>=1114111)throw new Ne("\\@char with invalid code point "+s);return f<=65535?h=String.fromCharCode(f):(f-=65536,h=String.fromCharCode((f>>10)+55296,(f&1023)+56320)),{type:"textord",mode:n.mode,text:h}}});var $S=(e,t)=>{var n=Yn(e.body,t.withColor(e.color),!1);return fe.makeFragment(n)},WS=(e,t)=>{var n=qr(e.body,t.withColor(e.color)),r=new Me.MathNode("mstyle",n);return r.setAttribute("mathcolor",e.color),r};Fe({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:n}=e,r=bt(t[0],"color-token").color,i=t[1];return{type:"color",mode:n.mode,color:r,body:Tn(i)}},htmlBuilder:$S,mathmlBuilder:WS});Fe({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:n,breakOnTokenText:r}=e,i=bt(t[0],"color-token").color;n.gullet.macros.set("\\current@color",i);var s=n.parseExpression(!0,r);return{type:"color",mode:n.mode,color:i,body:s}},htmlBuilder:$S,mathmlBuilder:WS});Fe({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,s=!r.settings.displayMode||!r.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:r.mode,newLine:s,size:i&&bt(i,"size").value}},htmlBuilder(e,t){var n=fe.makeSpan(["mspace"],[],t);return e.newLine&&(n.classes.push("newline"),e.size&&(n.style.marginTop=Ie(mn(e.size,t)))),n},mathmlBuilder(e,t){var n=new Me.MathNode("mspace");return e.newLine&&(n.setAttribute("linebreak","newline"),e.size&&n.setAttribute("height",Ie(mn(e.size,t)))),n}});var Ug={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},KS=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new Ne("Expected a control sequence",e);return t},lX=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},QS=(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)};Fe({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(Ug[r.text])return(n==="\\global"||n==="\\\\globallong")&&(r.text=Ug[r.text]),bt(t.parseFunction(),"internal");throw new Ne("Invalid token after macro prefix",r)}});Fe({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 Ne("Expected a control sequence",r);for(var s=0,o,c=[[]];t.gullet.future().text!=="{";)if(r=t.gullet.popToken(),r.text==="#"){if(t.gullet.future().text==="{"){o=t.gullet.future(),c[s].push("{");break}if(r=t.gullet.popToken(),!/^[1-9]$/.test(r.text))throw new Ne('Invalid argument number "'+r.text+'"');if(parseInt(r.text)!==s+1)throw new Ne('Argument number "'+r.text+'" out of order');s++,c.push([])}else{if(r.text==="EOF")throw new Ne("Expected a macro definition");c[s].push(r.text)}var{tokens:f}=t.gullet.consumeArg();return o&&f.unshift(o),(n==="\\edef"||n==="\\xdef")&&(f=t.gullet.expandTokens(f),f.reverse()),t.gullet.macros.set(i,{tokens:f,numArgs:s,delimiters:c},n===Ug[n]),{type:"internal",mode:t.mode}}});Fe({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=KS(t.gullet.popToken());t.gullet.consumeSpaces();var i=lX(t);return QS(t,r,i,n==="\\\\globallet"),{type:"internal",mode:t.mode}}});Fe({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=KS(t.gullet.popToken()),i=t.gullet.popToken(),s=t.gullet.popToken();return QS(t,r,s,n==="\\\\globalfuture"),t.gullet.pushToken(s),t.gullet.pushToken(i),{type:"internal",mode:t.mode}}});var Ic=function(t,n,r){var i=rn.math[t]&&rn.math[t].replace,s=e2(i||t,n,r);if(!s)throw new Error("Unsupported symbol "+t+" and font size "+n+".");return s},l2=function(t,n,r,i){var s=r.havingBaseStyle(n),o=fe.makeSpan(i.concat(s.sizingClasses(r)),[t],r),c=s.sizeMultiplier/r.sizeMultiplier;return o.height*=c,o.depth*=c,o.maxFontSize=s.sizeMultiplier,o},ZS=function(t,n,r){var i=n.havingBaseStyle(r),s=(1-n.sizeMultiplier/i.sizeMultiplier)*n.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=Ie(s),t.height-=s,t.depth+=s},oX=function(t,n,r,i,s,o){var c=fe.makeSymbol(t,"Main-Regular",s,i),f=l2(c,n,i,o);return r&&ZS(f,i,n),f},uX=function(t,n,r,i){return fe.makeSymbol(t,"Size"+n+"-Regular",r,i)},ek=function(t,n,r,i,s,o){var c=uX(t,n,s,i),f=l2(fe.makeSpan(["delimsizing","size"+n],[c],i),rt.TEXT,i,o);return r&&ZS(f,i,rt.TEXT),f},Y1=function(t,n,r){var i;n==="Size1-Regular"?i="delim-size1":i="delim-size4";var s=fe.makeSpan(["delimsizinginner",i],[fe.makeSpan([],[fe.makeSymbol(t,n,r)])]);return{type:"elem",elem:s}},J1=function(t,n,r){var i=aa["Size4-Regular"][t.charCodeAt(0)]?aa["Size4-Regular"][t.charCodeAt(0)][4]:aa["Size1-Regular"][t.charCodeAt(0)][4],s=new sl("inner",dG(t,Math.round(1e3*n))),o=new ts([s],{width:Ie(i),height:Ie(n),style:"width:"+Ie(i),viewBox:"0 0 "+1e3*i+" "+Math.round(1e3*n),preserveAspectRatio:"xMinYMin"}),c=fe.makeSvgSpan([],[o],r);return c.height=n,c.style.height=Ie(n),c.style.width=Ie(i),{type:"elem",elem:c}},Hg=.008,ch={type:"kern",size:-1*Hg},cX=["|","\\lvert","\\rvert","\\vert"],fX=["\\|","\\lVert","\\rVert","\\Vert"],tk=function(t,n,r,i,s,o){var c,f,h,g,m="",x=0;c=h=g=t,f=null;var v="Size1-Regular";t==="\\uparrow"?h=g="⏐":t==="\\Uparrow"?h=g="‖":t==="\\downarrow"?c=h="⏐":t==="\\Downarrow"?c=h="‖":t==="\\updownarrow"?(c="\\uparrow",h="⏐",g="\\downarrow"):t==="\\Updownarrow"?(c="\\Uparrow",h="‖",g="\\Downarrow"):cX.includes(t)?(h="∣",m="vert",x=333):fX.includes(t)?(h="∥",m="doublevert",x=556):t==="["||t==="\\lbrack"?(c="⎡",h="⎢",g="⎣",v="Size4-Regular",m="lbrack",x=667):t==="]"||t==="\\rbrack"?(c="⎤",h="⎥",g="⎦",v="Size4-Regular",m="rbrack",x=667):t==="\\lfloor"||t==="⌊"?(h=c="⎢",g="⎣",v="Size4-Regular",m="lfloor",x=667):t==="\\lceil"||t==="⌈"?(c="⎡",h=g="⎢",v="Size4-Regular",m="lceil",x=667):t==="\\rfloor"||t==="⌋"?(h=c="⎥",g="⎦",v="Size4-Regular",m="rfloor",x=667):t==="\\rceil"||t==="⌉"?(c="⎤",h=g="⎥",v="Size4-Regular",m="rceil",x=667):t==="("||t==="\\lparen"?(c="⎛",h="⎜",g="⎝",v="Size4-Regular",m="lparen",x=875):t===")"||t==="\\rparen"?(c="⎞",h="⎟",g="⎠",v="Size4-Regular",m="rparen",x=875):t==="\\{"||t==="\\lbrace"?(c="⎧",f="⎨",g="⎩",h="⎪",v="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(c="⎫",f="⎬",g="⎭",h="⎪",v="Size4-Regular"):t==="\\lgroup"||t==="⟮"?(c="⎧",g="⎩",h="⎪",v="Size4-Regular"):t==="\\rgroup"||t==="⟯"?(c="⎫",g="⎭",h="⎪",v="Size4-Regular"):t==="\\lmoustache"||t==="⎰"?(c="⎧",g="⎭",h="⎪",v="Size4-Regular"):(t==="\\rmoustache"||t==="⎱")&&(c="⎫",g="⎩",h="⎪",v="Size4-Regular");var E=Ic(c,v,s),k=E.height+E.depth,T=Ic(h,v,s),C=T.height+T.depth,M=Ic(g,v,s),R=M.height+M.depth,j=0,L=1;if(f!==null){var S=Ic(f,v,s);j=S.height+S.depth,L=2}var O=k+R+j,q=Math.max(0,Math.ceil((n-O)/(L*C))),W=O+q*L*C,J=i.fontMetrics().axisHeight;r&&(J*=i.sizeMultiplier);var re=W/2-J,ae=[];if(m.length>0){var Se=W-k-R,xe=Math.round(W*1e3),ge=mG(m,Math.round(Se*1e3)),ee=new sl(m,ge),oe=(x/1e3).toFixed(3)+"em",le=(xe/1e3).toFixed(3)+"em",we=new ts([ee],{width:oe,height:le,viewBox:"0 0 "+x+" "+xe}),Y=fe.makeSvgSpan([],[we],i);Y.height=xe/1e3,Y.style.width=oe,Y.style.height=le,ae.push({type:"elem",elem:Y})}else{if(ae.push(Y1(g,v,s)),ae.push(ch),f===null){var $=W-k-R+2*Hg;ae.push(J1(h,$,i))}else{var ue=(W-k-R-j)/2+2*Hg;ae.push(J1(h,ue,i)),ae.push(ch),ae.push(Y1(f,v,s)),ae.push(ch),ae.push(J1(h,ue,i))}ae.push(ch),ae.push(Y1(c,v,s))}var H=i.havingBaseStyle(rt.TEXT),Ce=fe.makeVList({positionType:"bottom",positionData:re,children:ae},H);return l2(fe.makeSpan(["delimsizing","mult"],[Ce],H),rt.TEXT,i,o)},$1=80,W1=.08,K1=function(t,n,r,i,s){var o=pG(t,i,r),c=new sl(t,o),f=new ts([c],{width:"400em",height:Ie(n),viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"});return fe.makeSvgSpan(["hide-tail"],[f],s)},hX=function(t,n){var r=n.havingBaseSizing(),i=ak("\\surd",t*r.sizeMultiplier,ik,r),s=r.sizeMultiplier,o=Math.max(0,n.minRuleThickness-n.fontMetrics().sqrtRuleThickness),c,f=0,h=0,g=0,m;return i.type==="small"?(g=1e3+1e3*o+$1,t<1?s=1:t<1.4&&(s=.7),f=(1+o+W1)/s,h=(1+o)/s,c=K1("sqrtMain",f,g,o,n),c.style.minWidth="0.853em",m=.833/s):i.type==="large"?(g=(1e3+$1)*qc[i.size],h=(qc[i.size]+o)/s,f=(qc[i.size]+o+W1)/s,c=K1("sqrtSize"+i.size,f,g,o,n),c.style.minWidth="1.02em",m=1/s):(f=t+o+W1,h=t+o,g=Math.floor(1e3*t+o)+$1,c=K1("sqrtTall",f,g,o,n),c.style.minWidth="0.742em",m=1.056),c.height=h,c.style.height=Ie(f),{span:c,advanceWidth:m,ruleWidth:(n.fontMetrics().sqrtRuleThickness+o)*s}},nk=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],pX=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],rk=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],qc=[0,1.2,1.8,2.4,3],dX=function(t,n,r,i,s){if(t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle"),nk.includes(t)||rk.includes(t))return ek(t,n,!1,r,i,s);if(pX.includes(t))return tk(t,qc[n],!1,r,i,s);throw new Ne("Illegal delimiter: '"+t+"'")},mX=[{type:"small",style:rt.SCRIPTSCRIPT},{type:"small",style:rt.SCRIPT},{type:"small",style:rt.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],gX=[{type:"small",style:rt.SCRIPTSCRIPT},{type:"small",style:rt.SCRIPT},{type:"small",style:rt.TEXT},{type:"stack"}],ik=[{type:"small",style:rt.SCRIPTSCRIPT},{type:"small",style:rt.SCRIPT},{type:"small",style:rt.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],xX=function(t){if(t.type==="small")return"Main-Regular";if(t.type==="large")return"Size"+t.size+"-Regular";if(t.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+t.type+"' here.")},ak=function(t,n,r,i){for(var s=Math.min(2,3-i.style.size),o=s;o<r.length&&r[o].type!=="stack";o++){var c=Ic(t,xX(r[o]),"math"),f=c.height+c.depth;if(r[o].type==="small"){var h=i.havingBaseStyle(r[o].style);f*=h.sizeMultiplier}if(f>n)return r[o]}return r[r.length-1]},sk=function(t,n,r,i,s,o){t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle");var c;rk.includes(t)?c=mX:nk.includes(t)?c=ik:c=gX;var f=ak(t,n,c,i);return f.type==="small"?oX(t,f.style,r,i,s,o):f.type==="large"?ek(t,f.size,r,i,s,o):tk(t,n,r,i,s,o)},yX=function(t,n,r,i,s,o){var c=i.fontMetrics().axisHeight*i.sizeMultiplier,f=901,h=5/i.fontMetrics().ptPerEm,g=Math.max(n-c,r+c),m=Math.max(g/500*f,2*g-h);return sk(t,m,!0,i,s,o)},Ja={sqrtImage:hX,sizedDelim:dX,sizeToMaxHeight:qc,customSizedDelim:sk,leftRightDelim:yX},$6={"\\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}},vX=["(","\\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 zp(e,t){var n=Ip(e);if(n&&vX.includes(n.text))return n;throw n?new Ne("Invalid delimiter '"+n.text+"' after '"+t.funcName+"'",e):new Ne("Invalid delimiter type '"+e.type+"'",e)}Fe({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=zp(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:$6[e.funcName].size,mclass:$6[e.funcName].mclass,delim:n.text}},htmlBuilder:(e,t)=>e.delim==="."?fe.makeSpan([e.mclass]):Ja.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push(Mi(e.delim,e.mode));var n=new Me.MathNode("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n.setAttribute("stretchy","true");var r=Ie(Ja.sizeToMaxHeight[e.size]);return n.setAttribute("minsize",r),n.setAttribute("maxsize",r),n}});function W6(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Fe({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 Ne("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:zp(t[0],e).text,color:n}}});Fe({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=zp(t[0],e),r=e.parser;++r.leftrightDepth;var i=r.parseExpression(!1);--r.leftrightDepth,r.expect("\\right",!1);var s=bt(r.parseFunction(),"leftright-right");return{type:"leftright",mode:r.mode,body:i,left:n.text,right:s.delim,rightColor:s.color}},htmlBuilder:(e,t)=>{W6(e);for(var n=Yn(e.body,t,!0,["mopen","mclose"]),r=0,i=0,s=!1,o=0;o<n.length;o++)n[o].isMiddle?s=!0:(r=Math.max(n[o].height,r),i=Math.max(n[o].depth,i));r*=t.sizeMultiplier,i*=t.sizeMultiplier;var c;if(e.left==="."?c=n0(t,["mopen"]):c=Ja.leftRightDelim(e.left,r,i,t,e.mode,["mopen"]),n.unshift(c),s)for(var f=1;f<n.length;f++){var h=n[f],g=h.isMiddle;g&&(n[f]=Ja.leftRightDelim(g.delim,r,i,g.options,e.mode,[]))}var m;if(e.right===".")m=n0(t,["mclose"]);else{var x=e.rightColor?t.withColor(e.rightColor):t;m=Ja.leftRightDelim(e.right,r,i,x,e.mode,["mclose"])}return n.push(m),fe.makeSpan(["minner"],n,t)},mathmlBuilder:(e,t)=>{W6(e);var n=qr(e.body,t);if(e.left!=="."){var r=new Me.MathNode("mo",[Mi(e.left,e.mode)]);r.setAttribute("fence","true"),n.unshift(r)}if(e.right!=="."){var i=new Me.MathNode("mo",[Mi(e.right,e.mode)]);i.setAttribute("fence","true"),e.rightColor&&i.setAttribute("mathcolor",e.rightColor),n.push(i)}return r2(n)}});Fe({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=zp(t[0],e);if(!e.parser.leftrightDepth)throw new Ne("\\middle without preceding \\left",n);return{type:"middle",mode:e.parser.mode,delim:n.text}},htmlBuilder:(e,t)=>{var n;if(e.delim===".")n=n0(t,[]);else{n=Ja.sizedDelim(e.delim,1,t,e.mode,[]);var r={delim:e.delim,options:t};n.isMiddle=r}return n},mathmlBuilder:(e,t)=>{var n=e.delim==="\\vert"||e.delim==="|"?Mi("|","text"):Mi(e.delim,e.mode),r=new Me.MathNode("mo",[n]);return r.setAttribute("fence","true"),r.setAttribute("lspace","0.05em"),r.setAttribute("rspace","0.05em"),r}});var o2=(e,t)=>{var n=fe.wrapFragment(zt(e.body,t),t),r=e.label.slice(1),i=t.sizeMultiplier,s,o=0,c=Ft.isCharacterBox(e.body);if(r==="sout")s=fe.makeSpan(["stretchy","sout"]),s.height=t.fontMetrics().defaultRuleThickness/i,o=-.5*t.fontMetrics().xHeight;else if(r==="phase"){var f=mn({number:.6,unit:"pt"},t),h=mn({number:.35,unit:"ex"},t),g=t.havingBaseSizing();i=i/g.sizeMultiplier;var m=n.height+n.depth+f+h;n.style.paddingLeft=Ie(m/2+f);var x=Math.floor(1e3*m*i),v=fG(x),E=new ts([new sl("phase",v)],{width:"400em",height:Ie(x/1e3),viewBox:"0 0 400000 "+x,preserveAspectRatio:"xMinYMin slice"});s=fe.makeSvgSpan(["hide-tail"],[E],t),s.style.height=Ie(m),o=n.depth+f+h}else{/cancel/.test(r)?c||n.classes.push("cancel-pad"):r==="angl"?n.classes.push("anglpad"):n.classes.push("boxpad");var k=0,T=0,C=0;/box/.test(r)?(C=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),k=t.fontMetrics().fboxsep+(r==="colorbox"?0:C),T=k):r==="angl"?(C=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),k=4*C,T=Math.max(0,.25-n.depth)):(k=c?.2:0,T=k),s=rs.encloseSpan(n,r,k,T,t),/fbox|boxed|fcolorbox/.test(r)?(s.style.borderStyle="solid",s.style.borderWidth=Ie(C)):r==="angl"&&C!==.049&&(s.style.borderTopWidth=Ie(C),s.style.borderRightWidth=Ie(C)),o=n.depth+T,e.backgroundColor&&(s.style.backgroundColor=e.backgroundColor,e.borderColor&&(s.style.borderColor=e.borderColor))}var M;if(e.backgroundColor)M=fe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:o},{type:"elem",elem:n,shift:0}]},t);else{var R=/cancel|phase/.test(r)?["svg-align"]:[];M=fe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:0},{type:"elem",elem:s,shift:o,wrapperClasses:R}]},t)}return/cancel/.test(r)&&(M.height=n.height,M.depth=n.depth),/cancel/.test(r)&&!c?fe.makeSpan(["mord","cancel-lap"],[M],t):fe.makeSpan(["mord"],[M],t)},u2=(e,t)=>{var n=0,r=new Me.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[tn(e.body,t)]);switch(e.label){case"\\cancel":r.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":r.setAttribute("notation","downdiagonalstrike");break;case"\\phase":r.setAttribute("notation","phasorangle");break;case"\\sout":r.setAttribute("notation","horizontalstrike");break;case"\\fbox":r.setAttribute("notation","box");break;case"\\angl":r.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(n=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,r.setAttribute("width","+"+2*n+"pt"),r.setAttribute("height","+"+2*n+"pt"),r.setAttribute("lspace",n+"pt"),r.setAttribute("voffset",n+"pt"),e.label==="\\fcolorbox"){var i=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);r.setAttribute("style","border: "+i+"em solid "+String(e.borderColor))}break;case"\\xcancel":r.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&r.setAttribute("mathbackground",e.backgroundColor),r};Fe({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,n){var{parser:r,funcName:i}=e,s=bt(t[0],"color-token").color,o=t[1];return{type:"enclose",mode:r.mode,label:i,backgroundColor:s,body:o}},htmlBuilder:o2,mathmlBuilder:u2});Fe({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,n){var{parser:r,funcName:i}=e,s=bt(t[0],"color-token").color,o=bt(t[1],"color-token").color,c=t[2];return{type:"enclose",mode:r.mode,label:i,backgroundColor:o,borderColor:s,body:c}},htmlBuilder:o2,mathmlBuilder:u2});Fe({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]}}});Fe({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\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:o2,mathmlBuilder:u2});Fe({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 lk={};function xa(e){for(var{type:t,names:n,props:r,handler:i,htmlBuilder:s,mathmlBuilder:o}=e,c={type:t,numArgs:r.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:i},f=0;f<n.length;++f)lk[n[f]]=c;s&&($h[t]=s),o&&(Wh[t]=o)}var ok={};function U(e,t){ok[e]=t}function K6(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 Pp=e=>{var t=e.parser.settings;if(!t.displayMode)throw new Ne("{"+e.envName+"} can be used only in display mode.")};function c2(e){if(e.indexOf("ed")===-1)return e.indexOf("*")===-1}function hl(e,t,n){var{hskipBeforeAndAfter:r,addJot:i,cols:s,arraystretch:o,colSeparationType:c,autoTag:f,singleRow:h,emptySingleRow:g,maxNumCols:m,leqno:x}=t;if(e.gullet.beginGroup(),h||e.gullet.macros.set("\\cr","\\\\\\relax"),!o){var v=e.gullet.expandMacroAsText("\\arraystretch");if(v==null)o=1;else if(o=parseFloat(v),!o||o<0)throw new Ne("Invalid \\arraystretch: "+v)}e.gullet.beginGroup();var E=[],k=[E],T=[],C=[],M=f!=null?[]:void 0;function R(){f&&e.gullet.macros.set("\\@eqnsw","1",!0)}function j(){M&&(e.gullet.macros.get("\\df@tag")?(M.push(e.subparse([new ri("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):M.push(!!f&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(R(),C.push(K6(e));;){var L=e.parseExpression(!1,h?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),L={type:"ordgroup",mode:e.mode,body:L},n&&(L={type:"styling",mode:e.mode,style:n,body:[L]}),E.push(L);var S=e.fetch().text;if(S==="&"){if(m&&E.length===m){if(h||c)throw new Ne("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(S==="\\end"){j(),E.length===1&&L.type==="styling"&&L.body[0].body.length===0&&(k.length>1||!g)&&k.pop(),C.length<k.length+1&&C.push([]);break}else if(S==="\\\\"){e.consume();var O=void 0;e.gullet.future().text!==" "&&(O=e.parseSizeGroup(!0)),T.push(O?O.value:null),j(),C.push(K6(e)),E=[],k.push(E),R()}else throw new Ne("Expected & or \\\\ or \\cr or \\end",e.nextToken)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:i,arraystretch:o,body:k,cols:s,rowGaps:T,hskipBeforeAndAfter:r,hLinesBeforeRow:C,colSeparationType:c,tags:M,leqno:x}}function f2(e){return e.slice(0,1)==="d"?"display":"text"}var ya=function(t,n){var r,i,s=t.body.length,o=t.hLinesBeforeRow,c=0,f=new Array(s),h=[],g=Math.max(n.fontMetrics().arrayRuleWidth,n.minRuleThickness),m=1/n.fontMetrics().ptPerEm,x=5*m;if(t.colSeparationType&&t.colSeparationType==="small"){var v=n.havingStyle(rt.SCRIPT).sizeMultiplier;x=.2778*(v/n.sizeMultiplier)}var E=t.colSeparationType==="CD"?mn({number:3,unit:"ex"},n):12*m,k=3*m,T=t.arraystretch*E,C=.7*T,M=.3*T,R=0;function j($t){for(var Pt=0;Pt<$t.length;++Pt)Pt>0&&(R+=.25),h.push({pos:R,isDashed:$t[Pt]})}for(j(o[0]),r=0;r<t.body.length;++r){var L=t.body[r],S=C,O=M;c<L.length&&(c=L.length);var q=new Array(L.length);for(i=0;i<L.length;++i){var W=zt(L[i],n);O<W.depth&&(O=W.depth),S<W.height&&(S=W.height),q[i]=W}var J=t.rowGaps[r],re=0;J&&(re=mn(J,n),re>0&&(re+=M,O<re&&(O=re),re=0)),t.addJot&&(O+=k),q.height=S,q.depth=O,R+=S,q.pos=R,R+=O+re,f[r]=q,j(o[r+1])}var ae=R/2+n.fontMetrics().axisHeight,Se=t.cols||[],xe=[],ge,ee,oe=[];if(t.tags&&t.tags.some($t=>$t))for(r=0;r<s;++r){var le=f[r],we=le.pos-ae,Y=t.tags[r],$=void 0;Y===!0?$=fe.makeSpan(["eqn-num"],[],n):Y===!1?$=fe.makeSpan([],[],n):$=fe.makeSpan([],Yn(Y,n,!0),n),$.depth=le.depth,$.height=le.height,oe.push({type:"elem",elem:$,shift:we})}for(i=0,ee=0;i<c||ee<Se.length;++i,++ee){for(var ue=Se[ee]||{},H=!0;ue.type==="separator";){if(H||(ge=fe.makeSpan(["arraycolsep"],[]),ge.style.width=Ie(n.fontMetrics().doubleRuleSep),xe.push(ge)),ue.separator==="|"||ue.separator===":"){var Ce=ue.separator==="|"?"solid":"dashed",Le=fe.makeSpan(["vertical-separator"],[],n);Le.style.height=Ie(R),Le.style.borderRightWidth=Ie(g),Le.style.borderRightStyle=Ce,Le.style.margin="0 "+Ie(-g/2);var ze=R-ae;ze&&(Le.style.verticalAlign=Ie(-ze)),xe.push(Le)}else throw new Ne("Invalid separator type: "+ue.separator);ee++,ue=Se[ee]||{},H=!1}if(!(i>=c)){var Re=void 0;(i>0||t.hskipBeforeAndAfter)&&(Re=Ft.deflt(ue.pregap,x),Re!==0&&(ge=fe.makeSpan(["arraycolsep"],[]),ge.style.width=Ie(Re),xe.push(ge)));var Ke=[];for(r=0;r<s;++r){var Ve=f[r],st=Ve[i];if(st){var Ze=Ve.pos-ae;st.depth=Ve.depth,st.height=Ve.height,Ke.push({type:"elem",elem:st,shift:Ze})}}Ke=fe.makeVList({positionType:"individualShift",children:Ke},n),Ke=fe.makeSpan(["col-align-"+(ue.align||"c")],[Ke]),xe.push(Ke),(i<c-1||t.hskipBeforeAndAfter)&&(Re=Ft.deflt(ue.postgap,x),Re!==0&&(ge=fe.makeSpan(["arraycolsep"],[]),ge.style.width=Ie(Re),xe.push(ge)))}}if(f=fe.makeSpan(["mtable"],xe),h.length>0){for(var Pe=fe.makeLineSpan("hline",n,g),ot=fe.makeLineSpan("hdashline",n,g),dt=[{type:"elem",elem:f,shift:0}];h.length>0;){var Rt=h.pop(),Jt=Rt.pos-ae;Rt.isDashed?dt.push({type:"elem",elem:ot,shift:Jt}):dt.push({type:"elem",elem:Pe,shift:Jt})}f=fe.makeVList({positionType:"individualShift",children:dt},n)}if(oe.length===0)return fe.makeSpan(["mord"],[f],n);var Ut=fe.makeVList({positionType:"individualShift",children:oe},n);return Ut=fe.makeSpan(["tag"],[Ut],n),fe.makeFragment([f,Ut])},bX={c:"center ",l:"left ",r:"right "},va=function(t,n){for(var r=[],i=new Me.MathNode("mtd",[],["mtr-glue"]),s=new Me.MathNode("mtd",[],["mml-eqn-num"]),o=0;o<t.body.length;o++){for(var c=t.body[o],f=[],h=0;h<c.length;h++)f.push(new Me.MathNode("mtd",[tn(c[h],n)]));t.tags&&t.tags[o]&&(f.unshift(i),f.push(i),t.leqno?f.unshift(s):f.push(s)),r.push(new Me.MathNode("mtr",f))}var g=new Me.MathNode("mtable",r),m=t.arraystretch===.5?.1:.16+t.arraystretch-1+(t.addJot?.09:0);g.setAttribute("rowspacing",Ie(m));var x="",v="";if(t.cols&&t.cols.length>0){var E=t.cols,k="",T=!1,C=0,M=E.length;E[0].type==="separator"&&(x+="top ",C=1),E[E.length-1].type==="separator"&&(x+="bottom ",M-=1);for(var R=C;R<M;R++)E[R].type==="align"?(v+=bX[E[R].align],T&&(k+="none "),T=!0):E[R].type==="separator"&&T&&(k+=E[R].separator==="|"?"solid ":"dashed ",T=!1);g.setAttribute("columnalign",v.trim()),/[sd]/.test(k)&&g.setAttribute("columnlines",k.trim())}if(t.colSeparationType==="align"){for(var j=t.cols||[],L="",S=1;S<j.length;S++)L+=S%2?"0em ":"1em ";g.setAttribute("columnspacing",L.trim())}else t.colSeparationType==="alignat"||t.colSeparationType==="gather"?g.setAttribute("columnspacing","0em"):t.colSeparationType==="small"?g.setAttribute("columnspacing","0.2778em"):t.colSeparationType==="CD"?g.setAttribute("columnspacing","0.5em"):g.setAttribute("columnspacing","1em");var O="",q=t.hLinesBeforeRow;x+=q[0].length>0?"left ":"",x+=q[q.length-1].length>0?"right ":"";for(var W=1;W<q.length-1;W++)O+=q[W].length===0?"none ":q[W][0]?"dashed ":"solid ";return/[sd]/.test(O)&&g.setAttribute("rowlines",O.trim()),x!==""&&(g=new Me.MathNode("menclose",[g]),g.setAttribute("notation",x.trim())),t.arraystretch&&t.arraystretch<1&&(g=new Me.MathNode("mstyle",[g]),g.setAttribute("scriptlevel","1")),g},uk=function(t,n){t.envName.indexOf("ed")===-1&&Pp(t);var r=[],i=t.envName.indexOf("at")>-1?"alignat":"align",s=t.envName==="split",o=hl(t.parser,{cols:r,addJot:!0,autoTag:s?void 0:c2(t.envName),emptySingleRow:!0,colSeparationType:i,maxNumCols:s?2:void 0,leqno:t.parser.settings.leqno},"display"),c,f=0,h={type:"ordgroup",mode:t.mode,body:[]};if(n[0]&&n[0].type==="ordgroup"){for(var g="",m=0;m<n[0].body.length;m++){var x=bt(n[0].body[m],"textord");g+=x.text}c=Number(g),f=c*2}var v=!f;o.body.forEach(function(C){for(var M=1;M<C.length;M+=2){var R=bt(C[M],"styling"),j=bt(R.body[0],"ordgroup");j.body.unshift(h)}if(v)f<C.length&&(f=C.length);else{var L=C.length/2;if(c<L)throw new Ne("Too many math in a row: "+("expected "+c+", but got "+L),C[0])}});for(var E=0;E<f;++E){var k="r",T=0;E%2===1?k="l":E>0&&v&&(T=1),r[E]={type:"align",align:k,pregap:T,postgap:0}}return o.colSeparationType=v?"align":"alignat",o};xa({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var n=Ip(t[0]),r=n?[t[0]]:bt(t[0],"ordgroup").body,i=r.map(function(o){var c=a2(o),f=c.text;if("lcr".indexOf(f)!==-1)return{type:"align",align:f};if(f==="|")return{type:"separator",separator:"|"};if(f===":")return{type:"separator",separator:":"};throw new Ne("Unknown column alignment: "+f,o)}),s={cols:i,hskipBeforeAndAfter:!0,maxNumCols:i.length};return hl(e.parser,s,f2(e.envName))},htmlBuilder:ya,mathmlBuilder:va});xa({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".indexOf(n)===-1)throw new Ne("Expected l or c or r",i.nextToken);i.consume(),i.consumeSpaces(),i.expect("]"),i.consume(),r.cols=[{type:"align",align:n}]}}var s=hl(e.parser,r,f2(e.envName)),o=Math.max(0,...s.body.map(c=>c.length));return s.cols=new Array(o).fill({type:"align",align:n}),t?{type:"leftright",mode:e.mode,body:[s],left:t[0],right:t[1],rightColor:void 0}:s},htmlBuilder:ya,mathmlBuilder:va});xa({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},n=hl(e.parser,t,"script");return n.colSeparationType="small",n},htmlBuilder:ya,mathmlBuilder:va});xa({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var n=Ip(t[0]),r=n?[t[0]]:bt(t[0],"ordgroup").body,i=r.map(function(o){var c=a2(o),f=c.text;if("lc".indexOf(f)!==-1)return{type:"align",align:f};throw new Ne("Unknown column alignment: "+f,o)});if(i.length>1)throw new Ne("{subarray} can contain only one column");var s={cols:i,hskipBeforeAndAfter:!1,arraystretch:.5};if(s=hl(e.parser,s,"script"),s.body.length>0&&s.body[0].length>1)throw new Ne("{subarray} can contain only one column");return s},htmlBuilder:ya,mathmlBuilder:va});xa({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=hl(e.parser,t,f2(e.envName));return{type:"leftright",mode:e.mode,body:[n],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:ya,mathmlBuilder:va});xa({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:uk,htmlBuilder:ya,mathmlBuilder:va});xa({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){["gather","gather*"].includes(e.envName)&&Pp(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:c2(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return hl(e.parser,t,"display")},htmlBuilder:ya,mathmlBuilder:va});xa({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:uk,htmlBuilder:ya,mathmlBuilder:va});xa({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){Pp(e);var t={autoTag:c2(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return hl(e.parser,t,"display")},htmlBuilder:ya,mathmlBuilder:va});xa({type:"array",names:["CD"],props:{numArgs:0},handler(e){return Pp(e),sX(e.parser)},htmlBuilder:ya,mathmlBuilder:va});U("\\nonumber","\\gdef\\@eqnsw{0}");U("\\notag","\\nonumber");Fe({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new Ne(e.funcName+" valid only within array environment")}});var Q6=lk;Fe({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 Ne("Invalid environment name",i);for(var s="",o=0;o<i.body.length;++o)s+=bt(i.body[o],"textord").text;if(r==="\\begin"){if(!Q6.hasOwnProperty(s))throw new Ne("No such environment: "+s,i);var c=Q6[s],{args:f,optArgs:h}=n.parseArguments("\\begin{"+s+"}",c),g={mode:n.mode,envName:s,parser:n},m=c.handler(g,f,h);n.expect("\\end",!1);var x=n.nextToken,v=bt(n.parseFunction(),"environment");if(v.name!==s)throw new Ne("Mismatch: \\begin{"+s+"} matched by \\end{"+v.name+"}",x);return m}return{type:"environment",mode:n.mode,name:s,nameGroup:i}}});var ck=(e,t)=>{var n=e.font,r=t.withFont(n);return zt(e.body,r)},fk=(e,t)=>{var n=e.font,r=t.withFont(n);return tn(e.body,r)},Z6={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Fe({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=Kh(t[0]),s=r;return s in Z6&&(s=Z6[s]),{type:"font",mode:n.mode,font:s.slice(1),body:i}},htmlBuilder:ck,mathmlBuilder:fk});Fe({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:n}=e,r=t[0],i=Ft.isCharacterBox(r);return{type:"mclass",mode:n.mode,mclass:Lp(r),body:[{type:"font",mode:n.mode,font:"boldsymbol",body:r}],isCharacterBox:i}}});Fe({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:s}=n,o=n.parseExpression(!0,i),c="math"+r.slice(1);return{type:"font",mode:s,font:c,body:{type:"ordgroup",mode:n.mode,body:o}}},htmlBuilder:ck,mathmlBuilder:fk});var hk=(e,t)=>{var n=t;return e==="display"?n=n.id>=rt.SCRIPT.id?n.text():rt.DISPLAY:e==="text"&&n.size===rt.DISPLAY.size?n=rt.TEXT:e==="script"?n=rt.SCRIPT:e==="scriptscript"&&(n=rt.SCRIPTSCRIPT),n},h2=(e,t)=>{var n=hk(e.size,t.style),r=n.fracNum(),i=n.fracDen(),s;s=t.havingStyle(r);var o=zt(e.numer,s,t);if(e.continued){var c=8.5/t.fontMetrics().ptPerEm,f=3.5/t.fontMetrics().ptPerEm;o.height=o.height<c?c:o.height,o.depth=o.depth<f?f:o.depth}s=t.havingStyle(i);var h=zt(e.denom,s,t),g,m,x;e.hasBarLine?(e.barSize?(m=mn(e.barSize,t),g=fe.makeLineSpan("frac-line",t,m)):g=fe.makeLineSpan("frac-line",t),m=g.height,x=g.height):(g=null,m=0,x=t.fontMetrics().defaultRuleThickness);var v,E,k;n.size===rt.DISPLAY.size||e.size==="display"?(v=t.fontMetrics().num1,m>0?E=3*x:E=7*x,k=t.fontMetrics().denom1):(m>0?(v=t.fontMetrics().num2,E=x):(v=t.fontMetrics().num3,E=3*x),k=t.fontMetrics().denom2);var T;if(g){var M=t.fontMetrics().axisHeight;v-o.depth-(M+.5*m)<E&&(v+=E-(v-o.depth-(M+.5*m))),M-.5*m-(h.height-k)<E&&(k+=E-(M-.5*m-(h.height-k)));var R=-(M-.5*m);T=fe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:h,shift:k},{type:"elem",elem:g,shift:R},{type:"elem",elem:o,shift:-v}]},t)}else{var C=v-o.depth-(h.height-k);C<E&&(v+=.5*(E-C),k+=.5*(E-C)),T=fe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:h,shift:k},{type:"elem",elem:o,shift:-v}]},t)}s=t.havingStyle(n),T.height*=s.sizeMultiplier/t.sizeMultiplier,T.depth*=s.sizeMultiplier/t.sizeMultiplier;var j;n.size===rt.DISPLAY.size?j=t.fontMetrics().delim1:n.size===rt.SCRIPTSCRIPT.size?j=t.havingStyle(rt.SCRIPT).fontMetrics().delim2:j=t.fontMetrics().delim2;var L,S;return e.leftDelim==null?L=n0(t,["mopen"]):L=Ja.customSizedDelim(e.leftDelim,j,!0,t.havingStyle(n),e.mode,["mopen"]),e.continued?S=fe.makeSpan([]):e.rightDelim==null?S=n0(t,["mclose"]):S=Ja.customSizedDelim(e.rightDelim,j,!0,t.havingStyle(n),e.mode,["mclose"]),fe.makeSpan(["mord"].concat(s.sizingClasses(t)),[L,fe.makeSpan(["mfrac"],[T]),S],t)},p2=(e,t)=>{var n=new Me.MathNode("mfrac",[tn(e.numer,t),tn(e.denom,t)]);if(!e.hasBarLine)n.setAttribute("linethickness","0px");else if(e.barSize){var r=mn(e.barSize,t);n.setAttribute("linethickness",Ie(r))}var i=hk(e.size,t.style);if(i.size!==t.style.size){n=new Me.MathNode("mstyle",[n]);var s=i.size===rt.DISPLAY.size?"true":"false";n.setAttribute("displaystyle",s),n.setAttribute("scriptlevel","0")}if(e.leftDelim!=null||e.rightDelim!=null){var o=[];if(e.leftDelim!=null){var c=new Me.MathNode("mo",[new Me.TextNode(e.leftDelim.replace("\\",""))]);c.setAttribute("fence","true"),o.push(c)}if(o.push(n),e.rightDelim!=null){var f=new Me.MathNode("mo",[new Me.TextNode(e.rightDelim.replace("\\",""))]);f.setAttribute("fence","true"),o.push(f)}return r2(o)}return n};Fe({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0],s=t[1],o,c=null,f=null,h="auto";switch(r){case"\\dfrac":case"\\frac":case"\\tfrac":o=!0;break;case"\\\\atopfrac":o=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":o=!1,c="(",f=")";break;case"\\\\bracefrac":o=!1,c="\\{",f="\\}";break;case"\\\\brackfrac":o=!1,c="[",f="]";break;default:throw new Error("Unrecognized genfrac command")}switch(r){case"\\dfrac":case"\\dbinom":h="display";break;case"\\tfrac":case"\\tbinom":h="text";break}return{type:"genfrac",mode:n.mode,continued:!1,numer:i,denom:s,hasBarLine:o,leftDelim:c,rightDelim:f,size:h,barSize:null}},htmlBuilder:h2,mathmlBuilder:p2});Fe({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0],s=t[1];return{type:"genfrac",mode:n.mode,continued:!0,numer:i,denom:s,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});Fe({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 e5=["display","text","script","scriptscript"],t5=function(t){var n=null;return t.length>0&&(n=t,n=n==="."?null:n),n};Fe({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],s=Kh(t[0]),o=s.type==="atom"&&s.family==="open"?t5(s.text):null,c=Kh(t[1]),f=c.type==="atom"&&c.family==="close"?t5(c.text):null,h=bt(t[2],"size"),g,m=null;h.isBlank?g=!0:(m=h.value,g=m.number>0);var x="auto",v=t[3];if(v.type==="ordgroup"){if(v.body.length>0){var E=bt(v.body[0],"textord");x=e5[Number(E.text)]}}else v=bt(v,"textord"),x=e5[Number(v.text)];return{type:"genfrac",mode:n.mode,numer:r,denom:i,continued:!1,hasBarLine:g,barSize:m,leftDelim:o,rightDelim:f,size:x}},htmlBuilder:h2,mathmlBuilder:p2});Fe({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:bt(t[0],"size").value,token:i}}});Fe({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0],s=WH(bt(t[1],"infix").size),o=t[2],c=s.number>0;return{type:"genfrac",mode:n.mode,numer:i,denom:o,continued:!1,hasBarLine:c,barSize:s,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:h2,mathmlBuilder:p2});var pk=(e,t)=>{var n=t.style,r,i;e.type==="supsub"?(r=e.sup?zt(e.sup,t.havingStyle(n.sup()),t):zt(e.sub,t.havingStyle(n.sub()),t),i=bt(e.base,"horizBrace")):i=bt(e,"horizBrace");var s=zt(i.base,t.havingBaseStyle(rt.DISPLAY)),o=rs.svgSpan(i,t),c;if(i.isOver?(c=fe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:o}]},t),c.children[0].children[0].children[1].classes.push("svg-align")):(c=fe.makeVList({positionType:"bottom",positionData:s.depth+.1+o.height,children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:s}]},t),c.children[0].children[0].children[0].classes.push("svg-align")),r){var f=fe.makeSpan(["mord",i.isOver?"mover":"munder"],[c],t);i.isOver?c=fe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:f},{type:"kern",size:.2},{type:"elem",elem:r}]},t):c=fe.makeVList({positionType:"bottom",positionData:f.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:f}]},t)}return fe.makeSpan(["mord",i.isOver?"mover":"munder"],[c],t)},wX=(e,t)=>{var n=rs.mathMLnode(e.label);return new Me.MathNode(e.isOver?"mover":"munder",[tn(e.base,t),n])};Fe({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e;return{type:"horizBrace",mode:n.mode,label:r,isOver:/^\\over/.test(r),base:t[0]}},htmlBuilder:pk,mathmlBuilder:wX});Fe({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[1],i=bt(t[0],"url").url;return n.settings.isTrusted({command:"\\href",url:i})?{type:"href",mode:n.mode,href:i,body:Tn(r)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var n=Yn(e.body,t,!1);return fe.makeAnchor(e.href,[],n,t)},mathmlBuilder:(e,t)=>{var n=ll(e.body,t);return n instanceof ei||(n=new ei("mrow",[n])),n.setAttribute("href",e.href),n}});Fe({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=bt(t[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:r}))return n.formatUnsupportedCmd("\\url");for(var i=[],s=0;s<r.length;s++){var o=r[s];o==="~"&&(o="\\textasciitilde"),i.push({type:"textord",mode:"text",text:o})}var c={type:"text",mode:n.mode,font:"\\texttt",body:i};return{type:"href",mode:n.mode,href:r,body:Tn(c)}}});Fe({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:Tn(t[0])}},htmlBuilder(e,t){var n=Yn(e.body,t,!1);return fe.makeFragment(n)},mathmlBuilder(e,t){return new Me.MathNode("mrow",qr(e.body,t))}});Fe({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,s=bt(t[0],"raw").string,o=t[1];n.settings.strict&&n.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var c,f={};switch(r){case"\\htmlClass":f.class=s,c={command:"\\htmlClass",class:s};break;case"\\htmlId":f.id=s,c={command:"\\htmlId",id:s};break;case"\\htmlStyle":f.style=s,c={command:"\\htmlStyle",style:s};break;case"\\htmlData":{for(var h=s.split(","),g=0;g<h.length;g++){var m=h[g],x=m.indexOf("=");if(x<0)throw new Ne("\\htmlData key/value '"+m+"' missing equals sign");var v=m.slice(0,x),E=m.slice(x+1);f["data-"+v.trim()]=E}c={command:"\\htmlData",attributes:f};break}default:throw new Error("Unrecognized html command")}return n.settings.isTrusted(c)?{type:"html",mode:n.mode,attributes:f,body:Tn(o)}:n.formatUnsupportedCmd(r)},htmlBuilder:(e,t)=>{var n=Yn(e.body,t,!1),r=["enclosing"];e.attributes.class&&r.push(...e.attributes.class.trim().split(/\s+/));var i=fe.makeSpan(r,n,t);for(var s in e.attributes)s!=="class"&&e.attributes.hasOwnProperty(s)&&i.setAttribute(s,e.attributes[s]);return i},mathmlBuilder:(e,t)=>ll(e.body,t)});Fe({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e;return{type:"htmlmathml",mode:n.mode,html:Tn(t[0]),mathml:Tn(t[1])}},htmlBuilder:(e,t)=>{var n=Yn(e.html,t,!1);return fe.makeFragment(n)},mathmlBuilder:(e,t)=>ll(e.mathml,t)});var Q1=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 Ne("Invalid size: '"+t+"' in \\includegraphics");var r={number:+(n[1]+n[2]),unit:n[3]};if(!RS(r))throw new Ne("Invalid unit: '"+r.unit+"' in \\includegraphics.");return r};Fe({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"},s={number:.9,unit:"em"},o={number:0,unit:"em"},c="";if(n[0])for(var f=bt(n[0],"raw").string,h=f.split(","),g=0;g<h.length;g++){var m=h[g].split("=");if(m.length===2){var x=m[1].trim();switch(m[0].trim()){case"alt":c=x;break;case"width":i=Q1(x);break;case"height":s=Q1(x);break;case"totalheight":o=Q1(x);break;default:throw new Ne("Invalid key: '"+m[0]+"' in \\includegraphics.")}}}var v=bt(t[0],"url").url;return c===""&&(c=v,c=c.replace(/^.*[\\/]/,""),c=c.substring(0,c.lastIndexOf("."))),r.settings.isTrusted({command:"\\includegraphics",url:v})?{type:"includegraphics",mode:r.mode,alt:c,width:i,height:s,totalheight:o,src:v}:r.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var n=mn(e.height,t),r=0;e.totalheight.number>0&&(r=mn(e.totalheight,t)-n);var i=0;e.width.number>0&&(i=mn(e.width,t));var s={height:Ie(n+r)};i>0&&(s.width=Ie(i)),r>0&&(s.verticalAlign=Ie(-r));var o=new wG(e.src,e.alt,s);return o.height=n,o.depth=r,o},mathmlBuilder:(e,t)=>{var n=new Me.MathNode("mglyph",[]);n.setAttribute("alt",e.alt);var r=mn(e.height,t),i=0;if(e.totalheight.number>0&&(i=mn(e.totalheight,t)-r,n.setAttribute("valign",Ie(-i))),n.setAttribute("height",Ie(r+i)),e.width.number>0){var s=mn(e.width,t);n.setAttribute("width",Ie(s))}return n.setAttribute("src",e.src),n}});Fe({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=bt(t[0],"size");if(n.settings.strict){var s=r[1]==="m",o=i.value.unit==="mu";s?(o||n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" supports only mu units, "+("not "+i.value.unit+" units")),n.mode!=="math"&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" works only in math mode")):o&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" doesn't support mu units")}return{type:"kern",mode:n.mode,dimension:i.value}},htmlBuilder(e,t){return fe.makeGlue(e.dimension,t)},mathmlBuilder(e,t){var n=mn(e.dimension,t);return new Me.SpaceNode(n)}});Fe({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=fe.makeSpan([],[zt(e.body,t)]),n=fe.makeSpan(["inner"],[n],t)):n=fe.makeSpan(["inner"],[zt(e.body,t)]);var r=fe.makeSpan(["fix"],[]),i=fe.makeSpan([e.alignment],[n,r],t),s=fe.makeSpan(["strut"]);return s.style.height=Ie(i.height+i.depth),i.depth&&(s.style.verticalAlign=Ie(-i.depth)),i.children.unshift(s),i=fe.makeSpan(["thinbox"],[i],t),fe.makeSpan(["mord","vbox"],[i],t)},mathmlBuilder:(e,t)=>{var n=new Me.MathNode("mpadded",[tn(e.body,t)]);if(e.alignment!=="rlap"){var r=e.alignment==="llap"?"-1":"-0.5";n.setAttribute("lspace",r+"width")}return n.setAttribute("width","0px"),n}});Fe({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 s=n==="\\("?"\\)":"$",o=r.parseExpression(!1,s);return r.expect(s),r.switchMode(i),{type:"styling",mode:r.mode,style:"text",body:o}}});Fe({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new Ne("Mismatched "+e.funcName)}});var n5=(e,t)=>{switch(t.style.size){case rt.DISPLAY.size:return e.display;case rt.TEXT.size:return e.text;case rt.SCRIPT.size:return e.script;case rt.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};Fe({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:n}=e;return{type:"mathchoice",mode:n.mode,display:Tn(t[0]),text:Tn(t[1]),script:Tn(t[2]),scriptscript:Tn(t[3])}},htmlBuilder:(e,t)=>{var n=n5(e,t),r=Yn(n,t,!1);return fe.makeFragment(r)},mathmlBuilder:(e,t)=>{var n=n5(e,t);return ll(n,t)}});var dk=(e,t,n,r,i,s,o)=>{e=fe.makeSpan([],[e]);var c=n&&Ft.isCharacterBox(n),f,h;if(t){var g=zt(t,r.havingStyle(i.sup()),r);h={elem:g,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-g.depth)}}if(n){var m=zt(n,r.havingStyle(i.sub()),r);f={elem:m,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-m.height)}}var x;if(h&&f){var v=r.fontMetrics().bigOpSpacing5+f.elem.height+f.elem.depth+f.kern+e.depth+o;x=fe.makeVList({positionType:"bottom",positionData:v,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:f.elem,marginLeft:Ie(-s)},{type:"kern",size:f.kern},{type:"elem",elem:e},{type:"kern",size:h.kern},{type:"elem",elem:h.elem,marginLeft:Ie(s)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else if(f){var E=e.height-o;x=fe.makeVList({positionType:"top",positionData:E,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:f.elem,marginLeft:Ie(-s)},{type:"kern",size:f.kern},{type:"elem",elem:e}]},r)}else if(h){var k=e.depth+o;x=fe.makeVList({positionType:"bottom",positionData:k,children:[{type:"elem",elem:e},{type:"kern",size:h.kern},{type:"elem",elem:h.elem,marginLeft:Ie(s)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else return e;var T=[x];if(f&&s!==0&&!c){var C=fe.makeSpan(["mspace"],[],r);C.style.marginRight=Ie(s),T.unshift(C)}return fe.makeSpan(["mop","op-limits"],T,r)},mk=["\\smallint"],bu=(e,t)=>{var n,r,i=!1,s;e.type==="supsub"?(n=e.sup,r=e.sub,s=bt(e.base,"op"),i=!0):s=bt(e,"op");var o=t.style,c=!1;o.size===rt.DISPLAY.size&&s.symbol&&!mk.includes(s.name)&&(c=!0);var f;if(s.symbol){var h=c?"Size2-Regular":"Size1-Regular",g="";if((s.name==="\\oiint"||s.name==="\\oiiint")&&(g=s.name.slice(1),s.name=g==="oiint"?"\\iint":"\\iiint"),f=fe.makeSymbol(s.name,h,"math",t,["mop","op-symbol",c?"large-op":"small-op"]),g.length>0){var m=f.italic,x=fe.staticSvg(g+"Size"+(c?"2":"1"),t);f=fe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:f,shift:0},{type:"elem",elem:x,shift:c?.08:0}]},t),s.name="\\"+g,f.classes.unshift("mop"),f.italic=m}}else if(s.body){var v=Yn(s.body,t,!0);v.length===1&&v[0]instanceof Ti?(f=v[0],f.classes[0]="mop"):f=fe.makeSpan(["mop"],v,t)}else{for(var E=[],k=1;k<s.name.length;k++)E.push(fe.mathsym(s.name[k],s.mode,t));f=fe.makeSpan(["mop"],E,t)}var T=0,C=0;return(f instanceof Ti||s.name==="\\oiint"||s.name==="\\oiiint")&&!s.suppressBaseShift&&(T=(f.height-f.depth)/2-t.fontMetrics().axisHeight,C=f.italic),i?dk(f,n,r,t,o,C,T):(T&&(f.style.position="relative",f.style.top=Ie(T)),f)},A0=(e,t)=>{var n;if(e.symbol)n=new ei("mo",[Mi(e.name,e.mode)]),mk.includes(e.name)&&n.setAttribute("largeop","false");else if(e.body)n=new ei("mo",qr(e.body,t));else{n=new ei("mi",[new sa(e.name.slice(1))]);var r=new ei("mo",[Mi("⁡","text")]);e.parentIsSupSub?n=new ei("mrow",[n,r]):n=US([n,r])}return n},SX={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};Fe({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=SX[i]),{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:bu,mathmlBuilder:A0});Fe({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:Tn(r)}},htmlBuilder:bu,mathmlBuilder:A0});var kX={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};Fe({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:bu,mathmlBuilder:A0});Fe({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:bu,mathmlBuilder:A0});Fe({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=kX[r]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:bu,mathmlBuilder:A0});var gk=(e,t)=>{var n,r,i=!1,s;e.type==="supsub"?(n=e.sup,r=e.sub,s=bt(e.base,"operatorname"),i=!0):s=bt(e,"operatorname");var o;if(s.body.length>0){for(var c=s.body.map(m=>{var x=m.text;return typeof x=="string"?{type:"textord",mode:m.mode,text:x}:m}),f=Yn(c,t.withFont("mathrm"),!0),h=0;h<f.length;h++){var g=f[h];g instanceof Ti&&(g.text=g.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}o=fe.makeSpan(["mop"],f,t)}else o=fe.makeSpan(["mop"],[],t);return i?dk(o,n,r,t,t.style,0,0):o},EX=(e,t)=>{for(var n=qr(e.body,t.withFont("mathrm")),r=!0,i=0;i<n.length;i++){var s=n[i];if(!(s instanceof Me.SpaceNode))if(s instanceof Me.MathNode)switch(s.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var o=s.children[0];s.children.length===1&&o instanceof Me.TextNode?o.text=o.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):r=!1;break}default:r=!1}else r=!1}if(r){var c=n.map(g=>g.toText()).join("");n=[new Me.TextNode(c)]}var f=new Me.MathNode("mi",n);f.setAttribute("mathvariant","normal");var h=new Me.MathNode("mo",[Mi("⁡","text")]);return e.parentIsSupSub?new Me.MathNode("mrow",[f,h]):Me.newDocumentFragment([f,h])};Fe({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:Tn(i),alwaysHandleSupSub:r==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:gk,mathmlBuilder:EX});U("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");Kl({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?fe.makeFragment(Yn(e.body,t,!1)):fe.makeSpan(["mord"],Yn(e.body,t,!0),t)},mathmlBuilder(e,t){return ll(e.body,t,!0)}});Fe({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=zt(e.body,t.havingCrampedStyle()),r=fe.makeLineSpan("overline-line",t),i=t.fontMetrics().defaultRuleThickness,s=fe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:3*i},{type:"elem",elem:r},{type:"kern",size:i}]},t);return fe.makeSpan(["mord","overline"],[s],t)},mathmlBuilder(e,t){var n=new Me.MathNode("mo",[new Me.TextNode("‾")]);n.setAttribute("stretchy","true");var r=new Me.MathNode("mover",[tn(e.body,t),n]);return r.setAttribute("accent","true"),r}});Fe({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:Tn(r)}},htmlBuilder:(e,t)=>{var n=Yn(e.body,t.withPhantom(),!1);return fe.makeFragment(n)},mathmlBuilder:(e,t)=>{var n=qr(e.body,t);return new Me.MathNode("mphantom",n)}});Fe({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"hphantom",mode:n.mode,body:r}},htmlBuilder:(e,t)=>{var n=fe.makeSpan([],[zt(e.body,t.withPhantom())]);if(n.height=0,n.depth=0,n.children)for(var r=0;r<n.children.length;r++)n.children[r].height=0,n.children[r].depth=0;return n=fe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t),fe.makeSpan(["mord"],[n],t)},mathmlBuilder:(e,t)=>{var n=qr(Tn(e.body),t),r=new Me.MathNode("mphantom",n),i=new Me.MathNode("mpadded",[r]);return i.setAttribute("height","0px"),i.setAttribute("depth","0px"),i}});Fe({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=fe.makeSpan(["inner"],[zt(e.body,t.withPhantom())]),r=fe.makeSpan(["fix"],[]);return fe.makeSpan(["mord","rlap"],[n,r],t)},mathmlBuilder:(e,t)=>{var n=qr(Tn(e.body),t),r=new Me.MathNode("mphantom",n),i=new Me.MathNode("mpadded",[r]);return i.setAttribute("width","0px"),i}});Fe({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:n}=e,r=bt(t[0],"size").value,i=t[1];return{type:"raisebox",mode:n.mode,dy:r,body:i}},htmlBuilder(e,t){var n=zt(e.body,t),r=mn(e.dy,t);return fe.makeVList({positionType:"shift",positionData:-r,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){var n=new Me.MathNode("mpadded",[tn(e.body,t)]),r=e.dy.number+e.dy.unit;return n.setAttribute("voffset",r),n}});Fe({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}});Fe({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],s=bt(t[0],"size"),o=bt(t[1],"size");return{type:"rule",mode:r.mode,shift:i&&bt(i,"size").value,width:s.value,height:o.value}},htmlBuilder(e,t){var n=fe.makeSpan(["mord","rule"],[],t),r=mn(e.width,t),i=mn(e.height,t),s=e.shift?mn(e.shift,t):0;return n.style.borderRightWidth=Ie(r),n.style.borderTopWidth=Ie(i),n.style.bottom=Ie(s),n.width=r,n.height=i+s,n.depth=-s,n.maxFontSize=i*1.125*t.sizeMultiplier,n},mathmlBuilder(e,t){var n=mn(e.width,t),r=mn(e.height,t),i=e.shift?mn(e.shift,t):0,s=t.color&&t.getColor()||"black",o=new Me.MathNode("mspace");o.setAttribute("mathbackground",s),o.setAttribute("width",Ie(n)),o.setAttribute("height",Ie(r));var c=new Me.MathNode("mpadded",[o]);return i>=0?c.setAttribute("height",Ie(i)):(c.setAttribute("height",Ie(i)),c.setAttribute("depth",Ie(-i))),c.setAttribute("voffset",Ie(i)),c}});function xk(e,t,n){for(var r=Yn(e,t,!1),i=t.sizeMultiplier/n.sizeMultiplier,s=0;s<r.length;s++){var o=r[s].classes.indexOf("sizing");o<0?Array.prototype.push.apply(r[s].classes,t.sizingClasses(n)):r[s].classes[o+1]==="reset-size"+t.size&&(r[s].classes[o+1]="reset-size"+n.size),r[s].height*=i,r[s].depth*=i}return fe.makeFragment(r)}var r5=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],CX=(e,t)=>{var n=t.havingSize(e.size);return xk(e.body,n,t)};Fe({type:"sizing",names:r5,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:n,funcName:r,parser:i}=e,s=i.parseExpression(!1,n);return{type:"sizing",mode:i.mode,size:r5.indexOf(r)+1,body:s}},htmlBuilder:CX,mathmlBuilder:(e,t)=>{var n=t.havingSize(e.size),r=qr(e.body,n),i=new Me.MathNode("mstyle",r);return i.setAttribute("mathsize",Ie(n.sizeMultiplier)),i}});Fe({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,n)=>{var{parser:r}=e,i=!1,s=!1,o=n[0]&&bt(n[0],"ordgroup");if(o)for(var c="",f=0;f<o.body.length;++f){var h=o.body[f];if(c=h.text,c==="t")i=!0;else if(c==="b")s=!0;else{i=!1,s=!1;break}}else i=!0,s=!0;var g=t[0];return{type:"smash",mode:r.mode,body:g,smashHeight:i,smashDepth:s}},htmlBuilder:(e,t)=>{var n=fe.makeSpan([],[zt(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return n;if(e.smashHeight&&(n.height=0,n.children))for(var r=0;r<n.children.length;r++)n.children[r].height=0;if(e.smashDepth&&(n.depth=0,n.children))for(var i=0;i<n.children.length;i++)n.children[i].depth=0;var s=fe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t);return fe.makeSpan(["mord"],[s],t)},mathmlBuilder:(e,t)=>{var n=new Me.MathNode("mpadded",[tn(e.body,t)]);return e.smashHeight&&n.setAttribute("height","0px"),e.smashDepth&&n.setAttribute("depth","0px"),n}});Fe({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){var{parser:r}=e,i=n[0],s=t[0];return{type:"sqrt",mode:r.mode,body:s,index:i}},htmlBuilder(e,t){var n=zt(e.body,t.havingCrampedStyle());n.height===0&&(n.height=t.fontMetrics().xHeight),n=fe.wrapFragment(n,t);var r=t.fontMetrics(),i=r.defaultRuleThickness,s=i;t.style.id<rt.TEXT.id&&(s=t.fontMetrics().xHeight);var o=i+s/4,c=n.height+n.depth+o+i,{span:f,ruleWidth:h,advanceWidth:g}=Ja.sqrtImage(c,t),m=f.height-h;m>n.height+n.depth+o&&(o=(o+m-n.height-n.depth)/2);var x=f.height-n.height-o-h;n.style.paddingLeft=Ie(g);var v=fe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+x)},{type:"elem",elem:f},{type:"kern",size:h}]},t);if(e.index){var E=t.havingStyle(rt.SCRIPTSCRIPT),k=zt(e.index,E,t),T=.6*(v.height-v.depth),C=fe.makeVList({positionType:"shift",positionData:-T,children:[{type:"elem",elem:k}]},t),M=fe.makeSpan(["root"],[C]);return fe.makeSpan(["mord","sqrt"],[M,v],t)}else return fe.makeSpan(["mord","sqrt"],[v],t)},mathmlBuilder(e,t){var{body:n,index:r}=e;return r?new Me.MathNode("mroot",[tn(n,t),tn(r,t)]):new Me.MathNode("msqrt",[tn(n,t)])}});var i5={display:rt.DISPLAY,text:rt.TEXT,script:rt.SCRIPT,scriptscript:rt.SCRIPTSCRIPT};Fe({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,s=i.parseExpression(!0,n),o=r.slice(1,r.length-5);return{type:"styling",mode:i.mode,style:o,body:s}},htmlBuilder(e,t){var n=i5[e.style],r=t.havingStyle(n).withFont("");return xk(e.body,r,t)},mathmlBuilder(e,t){var n=i5[e.style],r=t.havingStyle(n),i=qr(e.body,r),s=new Me.MathNode("mstyle",i),o={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},c=o[e.style];return s.setAttribute("scriptlevel",c[0]),s.setAttribute("displaystyle",c[1]),s}});var AX=function(t,n){var r=t.base;if(r)if(r.type==="op"){var i=r.limits&&(n.style.size===rt.DISPLAY.size||r.alwaysHandleSupSub);return i?bu:null}else if(r.type==="operatorname"){var s=r.alwaysHandleSupSub&&(n.style.size===rt.DISPLAY.size||r.limits);return s?gk:null}else{if(r.type==="accent")return Ft.isCharacterBox(r.base)?s2:null;if(r.type==="horizBrace"){var o=!t.sub;return o===r.isOver?pk:null}else return null}else return null};Kl({type:"supsub",htmlBuilder(e,t){var n=AX(e,t);if(n)return n(e,t);var{base:r,sup:i,sub:s}=e,o=zt(r,t),c,f,h=t.fontMetrics(),g=0,m=0,x=r&&Ft.isCharacterBox(r);if(i){var v=t.havingStyle(t.style.sup());c=zt(i,v,t),x||(g=o.height-v.fontMetrics().supDrop*v.sizeMultiplier/t.sizeMultiplier)}if(s){var E=t.havingStyle(t.style.sub());f=zt(s,E,t),x||(m=o.depth+E.fontMetrics().subDrop*E.sizeMultiplier/t.sizeMultiplier)}var k;t.style===rt.DISPLAY?k=h.sup1:t.style.cramped?k=h.sup3:k=h.sup2;var T=t.sizeMultiplier,C=Ie(.5/h.ptPerEm/T),M=null;if(f){var R=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(o instanceof Ti||R)&&(M=Ie(-o.italic))}var j;if(c&&f){g=Math.max(g,k,c.depth+.25*h.xHeight),m=Math.max(m,h.sub2);var L=h.defaultRuleThickness,S=4*L;if(g-c.depth-(f.height-m)<S){m=S-(g-c.depth)+f.height;var O=.8*h.xHeight-(g-c.depth);O>0&&(g+=O,m-=O)}var q=[{type:"elem",elem:f,shift:m,marginRight:C,marginLeft:M},{type:"elem",elem:c,shift:-g,marginRight:C}];j=fe.makeVList({positionType:"individualShift",children:q},t)}else if(f){m=Math.max(m,h.sub1,f.height-.8*h.xHeight);var W=[{type:"elem",elem:f,marginLeft:M,marginRight:C}];j=fe.makeVList({positionType:"shift",positionData:m,children:W},t)}else if(c)g=Math.max(g,k,c.depth+.25*h.xHeight),j=fe.makeVList({positionType:"shift",positionData:-g,children:[{type:"elem",elem:c,marginRight:C}]},t);else throw new Error("supsub must have either sup or sub.");var J=Vg(o,"right")||"mord";return fe.makeSpan([J],[o,fe.makeSpan(["msupsub"],[j])],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 s=[tn(e.base,t)];e.sub&&s.push(tn(e.sub,t)),e.sup&&s.push(tn(e.sup,t));var o;if(n)o=r?"mover":"munder";else if(e.sub)if(e.sup){var h=e.base;h&&h.type==="op"&&h.limits&&t.style===rt.DISPLAY||h&&h.type==="operatorname"&&h.alwaysHandleSupSub&&(t.style===rt.DISPLAY||h.limits)?o="munderover":o="msubsup"}else{var f=e.base;f&&f.type==="op"&&f.limits&&(t.style===rt.DISPLAY||f.alwaysHandleSupSub)||f&&f.type==="operatorname"&&f.alwaysHandleSupSub&&(f.limits||t.style===rt.DISPLAY)?o="munder":o="msub"}else{var c=e.base;c&&c.type==="op"&&c.limits&&(t.style===rt.DISPLAY||c.alwaysHandleSupSub)||c&&c.type==="operatorname"&&c.alwaysHandleSupSub&&(c.limits||t.style===rt.DISPLAY)?o="mover":o="msup"}return new Me.MathNode(o,s)}});Kl({type:"atom",htmlBuilder(e,t){return fe.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var n=new Me.MathNode("mo",[Mi(e.text,e.mode)]);if(e.family==="bin"){var r=i2(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 yk={mi:"italic",mn:"normal",mtext:"normal"};Kl({type:"mathord",htmlBuilder(e,t){return fe.makeOrd(e,t,"mathord")},mathmlBuilder(e,t){var n=new Me.MathNode("mi",[Mi(e.text,e.mode,t)]),r=i2(e,t)||"italic";return r!==yk[n.type]&&n.setAttribute("mathvariant",r),n}});Kl({type:"textord",htmlBuilder(e,t){return fe.makeOrd(e,t,"textord")},mathmlBuilder(e,t){var n=Mi(e.text,e.mode,t),r=i2(e,t)||"normal",i;return e.mode==="text"?i=new Me.MathNode("mtext",[n]):/[0-9]/.test(e.text)?i=new Me.MathNode("mn",[n]):e.text==="\\prime"?i=new Me.MathNode("mo",[n]):i=new Me.MathNode("mi",[n]),r!==yk[i.type]&&i.setAttribute("mathvariant",r),i}});var Z1={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},eg={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Kl({type:"spacing",htmlBuilder(e,t){if(eg.hasOwnProperty(e.text)){var n=eg[e.text].className||"";if(e.mode==="text"){var r=fe.makeOrd(e,t,"textord");return r.classes.push(n),r}else return fe.makeSpan(["mspace",n],[fe.mathsym(e.text,e.mode,t)],t)}else{if(Z1.hasOwnProperty(e.text))return fe.makeSpan(["mspace",Z1[e.text]],[],t);throw new Ne('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var n;if(eg.hasOwnProperty(e.text))n=new Me.MathNode("mtext",[new Me.TextNode(" ")]);else{if(Z1.hasOwnProperty(e.text))return new Me.MathNode("mspace");throw new Ne('Unknown type of space "'+e.text+'"')}return n}});var a5=()=>{var e=new Me.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};Kl({type:"tag",mathmlBuilder(e,t){var n=new Me.MathNode("mtable",[new Me.MathNode("mtr",[a5(),new Me.MathNode("mtd",[ll(e.body,t)]),a5(),new Me.MathNode("mtd",[ll(e.tag,t)])])]);return n.setAttribute("width","100%"),n}});var s5={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},l5={"\\textbf":"textbf","\\textmd":"textmd"},TX={"\\textit":"textit","\\textup":"textup"},o5=(e,t)=>{var n=e.font;if(n){if(s5[n])return t.withTextFontFamily(s5[n]);if(l5[n])return t.withTextFontWeight(l5[n]);if(n==="\\emph")return t.fontShape==="textit"?t.withTextFontShape("textup"):t.withTextFontShape("textit")}else return t;return t.withTextFontShape(TX[n])};Fe({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:Tn(i),font:r}},htmlBuilder(e,t){var n=o5(e,t),r=Yn(e.body,n,!0);return fe.makeSpan(["mord","text"],r,n)},mathmlBuilder(e,t){var n=o5(e,t);return ll(e.body,n)}});Fe({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=zt(e.body,t),r=fe.makeLineSpan("underline-line",t),i=t.fontMetrics().defaultRuleThickness,s=fe.makeVList({positionType:"top",positionData:n.height,children:[{type:"kern",size:i},{type:"elem",elem:r},{type:"kern",size:3*i},{type:"elem",elem:n}]},t);return fe.makeSpan(["mord","underline"],[s],t)},mathmlBuilder(e,t){var n=new Me.MathNode("mo",[new Me.TextNode("‾")]);n.setAttribute("stretchy","true");var r=new Me.MathNode("munder",[tn(e.body,t),n]);return r.setAttribute("accentunder","true"),r}});Fe({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=zt(e.body,t),r=t.fontMetrics().axisHeight,i=.5*(n.height-r-(n.depth+r));return fe.makeVList({positionType:"shift",positionData:i,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){return new Me.MathNode("mpadded",[tn(e.body,t)],["vcenter"])}});Fe({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,n){throw new Ne("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var n=u5(e),r=[],i=t.havingStyle(t.style.text()),s=0;s<n.length;s++){var o=n[s];o==="~"&&(o="\\textasciitilde"),r.push(fe.makeSymbol(o,"Typewriter-Regular",e.mode,i,["mord","texttt"]))}return fe.makeSpan(["mord","text"].concat(i.sizingClasses(t)),fe.tryCombineChars(r),i)},mathmlBuilder(e,t){var n=new Me.TextNode(u5(e)),r=new Me.MathNode("mtext",[n]);return r.setAttribute("mathvariant","monospace"),r}});var u5=e=>e.body.replace(/ /g,e.star?"␣":" "),Ws=VS,vk=`[ \r
516
- ]`,MX="\\\\[a-zA-Z@]+",NX="\\\\[^\uD800-\uDFFF]",_X="("+MX+")"+vk+"*",DX=`\\\\(
517
- |[ \r ]+
518
- ?)[ \r ]*`,Gg="[̀-ͯ]",RX=new RegExp(Gg+"+$"),OX="("+vk+"+)|"+(DX+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(Gg+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Gg+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+_X)+("|"+NX+")");class c5{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(OX,"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 ri("EOF",new Lr(this,n,n));var r=this.tokenRegex.exec(t);if(r===null||r.index!==n)throw new Ne("Unexpected character: '"+t[n]+"'",new ri(t[n],new Lr(this,n,n+1)));var i=r[6]||r[3]||(r[2]?"\\ ":" ");if(this.catcodes[i]===14){var s=t.indexOf(`
519
- `,this.tokenRegex.lastIndex);return s===-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=s+1,this.lex()}return new ri(i,new Lr(this,n,this.tokenRegex.lastIndex))}}class IX{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 Ne("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 s=this.undefStack[this.undefStack.length-1];s&&!s.hasOwnProperty(t)&&(s[t]=this.current[t])}n==null?delete this.current[t]:this.current[t]=n}}var LX=ok;U("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}});U("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}});U("\\@firstoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}});U("\\@secondoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}});U("\\@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}});U("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");U("\\TextOrMath",function(e){var t=e.consumeArgs(2);return e.mode==="text"?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var f5={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};U("\\char",function(e){var t=e.popToken(),n,r="";if(t.text==="'")n=8,t=e.popToken();else if(t.text==='"')n=16,t=e.popToken();else if(t.text==="`")if(t=e.popToken(),t.text[0]==="\\")r=t.text.charCodeAt(1);else{if(t.text==="EOF")throw new Ne("\\char` missing argument");r=t.text.charCodeAt(0)}else n=10;if(n){if(r=f5[t.text],r==null||r>=n)throw new Ne("Invalid base-"+n+" digit "+t.text);for(var i;(i=f5[e.future().text])!=null&&i<n;)r*=n,r+=i,e.popToken()}return"\\@char{"+r+"}"});var d2=(e,t,n,r)=>{var i=e.consumeArg().tokens;if(i.length!==1)throw new Ne("\\newcommand's first argument must be a macro name");var s=i[0].text,o=e.isDefined(s);if(o&&!t)throw new Ne("\\newcommand{"+s+"} attempting to redefine "+(s+"; use \\renewcommand"));if(!o&&!n)throw new Ne("\\renewcommand{"+s+"} when command "+s+" does not yet exist; use \\newcommand");var c=0;if(i=e.consumeArg().tokens,i.length===1&&i[0].text==="["){for(var f="",h=e.expandNextToken();h.text!=="]"&&h.text!=="EOF";)f+=h.text,h=e.expandNextToken();if(!f.match(/^\s*[0-9]+\s*$/))throw new Ne("Invalid number of arguments: "+f);c=parseInt(f),i=e.consumeArg().tokens}return o&&r||e.macros.set(s,{tokens:i,numArgs:c}),""};U("\\newcommand",e=>d2(e,!1,!0,!1));U("\\renewcommand",e=>d2(e,!0,!1,!1));U("\\providecommand",e=>d2(e,!0,!0,!0));U("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(n=>n.text).join("")),""});U("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(n=>n.text).join("")),""});U("\\show",e=>{var t=e.popToken(),n=t.text;return console.log(t,e.macros.get(n),Ws[n],rn.math[n],rn.text[n]),""});U("\\bgroup","{");U("\\egroup","}");U("~","\\nobreakspace");U("\\lq","`");U("\\rq","'");U("\\aa","\\r a");U("\\AA","\\r A");U("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");U("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");U("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");U("ℬ","\\mathscr{B}");U("ℰ","\\mathscr{E}");U("ℱ","\\mathscr{F}");U("ℋ","\\mathscr{H}");U("ℐ","\\mathscr{I}");U("ℒ","\\mathscr{L}");U("ℳ","\\mathscr{M}");U("ℛ","\\mathscr{R}");U("ℭ","\\mathfrak{C}");U("ℌ","\\mathfrak{H}");U("ℨ","\\mathfrak{Z}");U("\\Bbbk","\\Bbb{k}");U("·","\\cdotp");U("\\llap","\\mathllap{\\textrm{#1}}");U("\\rlap","\\mathrlap{\\textrm{#1}}");U("\\clap","\\mathclap{\\textrm{#1}}");U("\\mathstrut","\\vphantom{(}");U("\\underbar","\\underline{\\text{#1}}");U("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');U("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");U("\\ne","\\neq");U("≠","\\neq");U("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}");U("∉","\\notin");U("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}");U("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");U("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");U("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}");U("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}");U("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}");U("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");U("⟂","\\perp");U("‼","\\mathclose{!\\mkern-0.8mu!}");U("∌","\\notni");U("⌜","\\ulcorner");U("⌝","\\urcorner");U("⌞","\\llcorner");U("⌟","\\lrcorner");U("©","\\copyright");U("®","\\textregistered");U("️","\\textregistered");U("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');U("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');U("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');U("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');U("\\vdots","{\\varvdots\\rule{0pt}{15pt}}");U("⋮","\\vdots");U("\\varGamma","\\mathit{\\Gamma}");U("\\varDelta","\\mathit{\\Delta}");U("\\varTheta","\\mathit{\\Theta}");U("\\varLambda","\\mathit{\\Lambda}");U("\\varXi","\\mathit{\\Xi}");U("\\varPi","\\mathit{\\Pi}");U("\\varSigma","\\mathit{\\Sigma}");U("\\varUpsilon","\\mathit{\\Upsilon}");U("\\varPhi","\\mathit{\\Phi}");U("\\varPsi","\\mathit{\\Psi}");U("\\varOmega","\\mathit{\\Omega}");U("\\substack","\\begin{subarray}{c}#1\\end{subarray}");U("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");U("\\boxed","\\fbox{$\\displaystyle{#1}$}");U("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");U("\\implies","\\DOTSB\\;\\Longrightarrow\\;");U("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");U("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");U("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var h5={",":"\\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"};U("\\dots",function(e){var t="\\dotso",n=e.expandAfterFuture().text;return n in h5?t=h5[n]:(n.slice(0,4)==="\\not"||n in rn.math&&["bin","rel"].includes(rn.math[n].group))&&(t="\\dotsb"),t});var m2={")":!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};U("\\dotso",function(e){var t=e.future().text;return t in m2?"\\ldots\\,":"\\ldots"});U("\\dotsc",function(e){var t=e.future().text;return t in m2&&t!==","?"\\ldots\\,":"\\ldots"});U("\\cdots",function(e){var t=e.future().text;return t in m2?"\\@cdots\\,":"\\@cdots"});U("\\dotsb","\\cdots");U("\\dotsm","\\cdots");U("\\dotsi","\\!\\cdots");U("\\dotsx","\\ldots\\,");U("\\DOTSI","\\relax");U("\\DOTSB","\\relax");U("\\DOTSX","\\relax");U("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");U("\\,","\\tmspace+{3mu}{.1667em}");U("\\thinspace","\\,");U("\\>","\\mskip{4mu}");U("\\:","\\tmspace+{4mu}{.2222em}");U("\\medspace","\\:");U("\\;","\\tmspace+{5mu}{.2777em}");U("\\thickspace","\\;");U("\\!","\\tmspace-{3mu}{.1667em}");U("\\negthinspace","\\!");U("\\negmedspace","\\tmspace-{4mu}{.2222em}");U("\\negthickspace","\\tmspace-{5mu}{.277em}");U("\\enspace","\\kern.5em ");U("\\enskip","\\hskip.5em\\relax");U("\\quad","\\hskip1em\\relax");U("\\qquad","\\hskip2em\\relax");U("\\tag","\\@ifstar\\tag@literal\\tag@paren");U("\\tag@paren","\\tag@literal{({#1})}");U("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new Ne("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});U("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");U("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");U("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");U("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");U("\\newline","\\\\\\relax");U("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var bk=Ie(aa["Main-Regular"][84][1]-.7*aa["Main-Regular"][65][1]);U("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+bk+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");U("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+bk+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");U("\\hspace","\\@ifstar\\@hspacer\\@hspace");U("\\@hspace","\\hskip #1\\relax");U("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");U("\\ordinarycolon",":");U("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");U("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');U("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');U("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');U("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');U("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');U("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');U("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');U("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');U("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');U("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');U("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');U("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');U("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');U("∷","\\dblcolon");U("∹","\\eqcolon");U("≔","\\coloneqq");U("≕","\\eqqcolon");U("⩴","\\Coloneqq");U("\\ratio","\\vcentcolon");U("\\coloncolon","\\dblcolon");U("\\colonequals","\\coloneqq");U("\\coloncolonequals","\\Coloneqq");U("\\equalscolon","\\eqqcolon");U("\\equalscoloncolon","\\Eqqcolon");U("\\colonminus","\\coloneq");U("\\coloncolonminus","\\Coloneq");U("\\minuscolon","\\eqcolon");U("\\minuscoloncolon","\\Eqcolon");U("\\coloncolonapprox","\\Colonapprox");U("\\coloncolonsim","\\Colonsim");U("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");U("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");U("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");U("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");U("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}");U("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");U("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");U("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");U("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");U("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");U("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");U("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");U("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");U("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}");U("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}");U("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}");U("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}");U("\\nleqq","\\html@mathml{\\@nleqq}{≰}");U("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}");U("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}");U("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}");U("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}");U("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}");U("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}");U("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}");U("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}");U("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}");U("\\imath","\\html@mathml{\\@imath}{ı}");U("\\jmath","\\html@mathml{\\@jmath}{ȷ}");U("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}");U("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}");U("⟦","\\llbracket");U("⟧","\\rrbracket");U("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}");U("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}");U("⦃","\\lBrace");U("⦄","\\rBrace");U("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");U("⦵","\\minuso");U("\\darr","\\downarrow");U("\\dArr","\\Downarrow");U("\\Darr","\\Downarrow");U("\\lang","\\langle");U("\\rang","\\rangle");U("\\uarr","\\uparrow");U("\\uArr","\\Uparrow");U("\\Uarr","\\Uparrow");U("\\N","\\mathbb{N}");U("\\R","\\mathbb{R}");U("\\Z","\\mathbb{Z}");U("\\alef","\\aleph");U("\\alefsym","\\aleph");U("\\Alpha","\\mathrm{A}");U("\\Beta","\\mathrm{B}");U("\\bull","\\bullet");U("\\Chi","\\mathrm{X}");U("\\clubs","\\clubsuit");U("\\cnums","\\mathbb{C}");U("\\Complex","\\mathbb{C}");U("\\Dagger","\\ddagger");U("\\diamonds","\\diamondsuit");U("\\empty","\\emptyset");U("\\Epsilon","\\mathrm{E}");U("\\Eta","\\mathrm{H}");U("\\exist","\\exists");U("\\harr","\\leftrightarrow");U("\\hArr","\\Leftrightarrow");U("\\Harr","\\Leftrightarrow");U("\\hearts","\\heartsuit");U("\\image","\\Im");U("\\infin","\\infty");U("\\Iota","\\mathrm{I}");U("\\isin","\\in");U("\\Kappa","\\mathrm{K}");U("\\larr","\\leftarrow");U("\\lArr","\\Leftarrow");U("\\Larr","\\Leftarrow");U("\\lrarr","\\leftrightarrow");U("\\lrArr","\\Leftrightarrow");U("\\Lrarr","\\Leftrightarrow");U("\\Mu","\\mathrm{M}");U("\\natnums","\\mathbb{N}");U("\\Nu","\\mathrm{N}");U("\\Omicron","\\mathrm{O}");U("\\plusmn","\\pm");U("\\rarr","\\rightarrow");U("\\rArr","\\Rightarrow");U("\\Rarr","\\Rightarrow");U("\\real","\\Re");U("\\reals","\\mathbb{R}");U("\\Reals","\\mathbb{R}");U("\\Rho","\\mathrm{P}");U("\\sdot","\\cdot");U("\\sect","\\S");U("\\spades","\\spadesuit");U("\\sub","\\subset");U("\\sube","\\subseteq");U("\\supe","\\supseteq");U("\\Tau","\\mathrm{T}");U("\\thetasym","\\vartheta");U("\\weierp","\\wp");U("\\Zeta","\\mathrm{Z}");U("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");U("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");U("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");U("\\bra","\\mathinner{\\langle{#1}|}");U("\\ket","\\mathinner{|{#1}\\rangle}");U("\\braket","\\mathinner{\\langle{#1}\\rangle}");U("\\Bra","\\left\\langle#1\\right|");U("\\Ket","\\left|#1\\right\\rangle");var wk=e=>t=>{var n=t.consumeArg().tokens,r=t.consumeArg().tokens,i=t.consumeArg().tokens,s=t.consumeArg().tokens,o=t.macros.get("|"),c=t.macros.get("\\|");t.macros.beginGroup();var f=m=>x=>{e&&(x.macros.set("|",o),i.length&&x.macros.set("\\|",c));var v=m;if(!m&&i.length){var E=x.future();E.text==="|"&&(x.popToken(),v=!0)}return{tokens:v?i:r,numArgs:0}};t.macros.set("|",f(!1)),i.length&&t.macros.set("\\|",f(!0));var h=t.consumeArg().tokens,g=t.expandTokens([...s,...h,...n]);return t.macros.endGroup(),{tokens:g.reverse(),numArgs:0}};U("\\bra@ket",wk(!1));U("\\bra@set",wk(!0));U("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");U("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");U("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");U("\\angln","{\\angl n}");U("\\blue","\\textcolor{##6495ed}{#1}");U("\\orange","\\textcolor{##ffa500}{#1}");U("\\pink","\\textcolor{##ff00af}{#1}");U("\\red","\\textcolor{##df0030}{#1}");U("\\green","\\textcolor{##28ae7b}{#1}");U("\\gray","\\textcolor{gray}{#1}");U("\\purple","\\textcolor{##9d38bd}{#1}");U("\\blueA","\\textcolor{##ccfaff}{#1}");U("\\blueB","\\textcolor{##80f6ff}{#1}");U("\\blueC","\\textcolor{##63d9ea}{#1}");U("\\blueD","\\textcolor{##11accd}{#1}");U("\\blueE","\\textcolor{##0c7f99}{#1}");U("\\tealA","\\textcolor{##94fff5}{#1}");U("\\tealB","\\textcolor{##26edd5}{#1}");U("\\tealC","\\textcolor{##01d1c1}{#1}");U("\\tealD","\\textcolor{##01a995}{#1}");U("\\tealE","\\textcolor{##208170}{#1}");U("\\greenA","\\textcolor{##b6ffb0}{#1}");U("\\greenB","\\textcolor{##8af281}{#1}");U("\\greenC","\\textcolor{##74cf70}{#1}");U("\\greenD","\\textcolor{##1fab54}{#1}");U("\\greenE","\\textcolor{##0d923f}{#1}");U("\\goldA","\\textcolor{##ffd0a9}{#1}");U("\\goldB","\\textcolor{##ffbb71}{#1}");U("\\goldC","\\textcolor{##ff9c39}{#1}");U("\\goldD","\\textcolor{##e07d10}{#1}");U("\\goldE","\\textcolor{##a75a05}{#1}");U("\\redA","\\textcolor{##fca9a9}{#1}");U("\\redB","\\textcolor{##ff8482}{#1}");U("\\redC","\\textcolor{##f9685d}{#1}");U("\\redD","\\textcolor{##e84d39}{#1}");U("\\redE","\\textcolor{##bc2612}{#1}");U("\\maroonA","\\textcolor{##ffbde0}{#1}");U("\\maroonB","\\textcolor{##ff92c6}{#1}");U("\\maroonC","\\textcolor{##ed5fa6}{#1}");U("\\maroonD","\\textcolor{##ca337c}{#1}");U("\\maroonE","\\textcolor{##9e034e}{#1}");U("\\purpleA","\\textcolor{##ddd7ff}{#1}");U("\\purpleB","\\textcolor{##c6b9fc}{#1}");U("\\purpleC","\\textcolor{##aa87ff}{#1}");U("\\purpleD","\\textcolor{##7854ab}{#1}");U("\\purpleE","\\textcolor{##543b78}{#1}");U("\\mintA","\\textcolor{##f5f9e8}{#1}");U("\\mintB","\\textcolor{##edf2df}{#1}");U("\\mintC","\\textcolor{##e0e5cc}{#1}");U("\\grayA","\\textcolor{##f6f7f7}{#1}");U("\\grayB","\\textcolor{##f0f1f2}{#1}");U("\\grayC","\\textcolor{##e3e5e6}{#1}");U("\\grayD","\\textcolor{##d6d8da}{#1}");U("\\grayE","\\textcolor{##babec2}{#1}");U("\\grayF","\\textcolor{##888d93}{#1}");U("\\grayG","\\textcolor{##626569}{#1}");U("\\grayH","\\textcolor{##3b3e40}{#1}");U("\\grayI","\\textcolor{##21242c}{#1}");U("\\kaBlue","\\textcolor{##314453}{#1}");U("\\kaGreen","\\textcolor{##71B307}{#1}");var Sk={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class zX{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 IX(LX,n.macros),this.mode=r,this.stack=[]}feed(t){this.lexer=new c5(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 ri("EOF",r.loc)),this.pushTokens(i),new ri("",Lr.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(),s,o=0,c=0;do{if(s=this.popToken(),n.push(s),s.text==="{")++o;else if(s.text==="}"){if(--o,o===-1)throw new Ne("Extra }",s)}else if(s.text==="EOF")throw new Ne("Unexpected end of input in a macro argument, expected '"+(t&&r?t[c]:"}")+"'",s);if(t&&r)if((o===0||o===1&&t[c]==="{")&&s.text===t[c]){if(++c,c===t.length){n.splice(-c,c);break}}else c=0}while(o!==0||r);return i.text==="{"&&n[n.length-1].text==="}"&&(n.pop(),n.shift()),n.reverse(),{tokens:n,start:i,end:s}}consumeArgs(t,n){if(n){if(n.length!==t+1)throw new Ne("The length of delimiters doesn't match the number of args!");for(var r=n[0],i=0;i<r.length;i++){var s=this.popToken();if(r[i]!==s.text)throw new Ne("Use of the macro doesn't match its definition",s)}}for(var o=[],c=0;c<t;c++)o.push(this.consumeArg(n&&n[c+1]).tokens);return o}countExpansion(t){if(this.expansionCount+=t,this.expansionCount>this.settings.maxExpand)throw new Ne("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 Ne("Undefined control sequence: "+r);return this.pushToken(n),!1}this.countExpansion(1);var s=i.tokens,o=this.consumeArgs(i.numArgs,i.delimiters);if(i.numArgs){s=s.slice();for(var c=s.length-1;c>=0;--c){var f=s[c];if(f.text==="#"){if(c===0)throw new Ne("Incomplete placeholder at end of macro body",f);if(f=s[--c],f.text==="#")s.splice(c+1,1);else if(/^[1-9]$/.test(f.text))s.splice(c,2,...o[+f.text-1]);else throw new Ne("Not a valid argument number",f)}}}return this.pushTokens(s),s.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var t=this.stack.pop();return t.treatAsRelax&&(t.text="\\relax"),t}throw new Error}expandMacro(t){return this.macros.has(t)?this.expandTokens([new ri(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 s=0;if(i.indexOf("#")!==-1)for(var o=i.replace(/##/g,"");o.indexOf("#"+(s+1))!==-1;)++s;for(var c=new c5(i,this.settings),f=[],h=c.lex();h.text!=="EOF";)f.push(h),h=c.lex();f.reverse();var g={tokens:f,numArgs:s};return g}return i}isDefined(t){return this.macros.has(t)||Ws.hasOwnProperty(t)||rn.math.hasOwnProperty(t)||rn.text.hasOwnProperty(t)||Sk.hasOwnProperty(t)}isExpandable(t){var n=this.macros.get(t);return n!=null?typeof n=="string"||typeof n=="function"||!n.unexpandable:Ws.hasOwnProperty(t)&&!Ws[t].primitive}}var p5=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,fh=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","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),tg={"́":{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"}},d5={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class Bp{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 zX(t,n,this.mode),this.settings=n,this.leftrightDepth=0}expect(t,n){if(n===void 0&&(n=!0),this.fetch().text!==t)throw new Ne("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 ri("}")),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(Bp.endOfExpression.indexOf(i.text)!==-1||n&&i.text===n||t&&Ws[i.text]&&Ws[i.text].infix)break;var s=this.parseAtom(n);if(s){if(s.type==="internal")continue}else break;r.push(s)}return this.mode==="text"&&this.formLigatures(r),this.handleInfixNodes(r)}handleInfixNodes(t){for(var n=-1,r,i=0;i<t.length;i++)if(t[i].type==="infix"){if(n!==-1)throw new Ne("only one infix operator per group",t[i].token);n=i,r=t[i].replaceWith}if(n!==-1&&r){var s,o,c=t.slice(0,n),f=t.slice(n+1);c.length===1&&c[0].type==="ordgroup"?s=c[0]:s={type:"ordgroup",mode:this.mode,body:c},f.length===1&&f[0].type==="ordgroup"?o=f[0]:o={type:"ordgroup",mode:this.mode,body:f};var h;return r==="\\\\abovefrac"?h=this.callFunction(r,[s,t[n],o],[]):h=this.callFunction(r,[s,o],[]),[h]}else return t}handleSupSubscript(t){var n=this.fetch(),r=n.text;this.consume(),this.consumeSpaces();var i;do{var s;i=this.parseGroup(t)}while(((s=i)==null?void 0:s.type)==="internal");if(!i)throw new Ne("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},s={type:"color",mode:this.mode,color:this.settings.errorColor,body:[i]};return s}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 s=this.fetch();if(s.text==="\\limits"||s.text==="\\nolimits"){if(n&&n.type==="op"){var o=s.text==="\\limits";n.limits=o,n.alwaysHandleSupSub=!0}else if(n&&n.type==="operatorname")n.alwaysHandleSupSub&&(n.limits=s.text==="\\limits");else throw new Ne("Limit controls must follow a math operator",s);this.consume()}else if(s.text==="^"){if(r)throw new Ne("Double superscript",s);r=this.handleSupSubscript("superscript")}else if(s.text==="_"){if(i)throw new Ne("Double subscript",s);i=this.handleSupSubscript("subscript")}else if(s.text==="'"){if(r)throw new Ne("Double superscript",s);var c={type:"textord",mode:this.mode,text:"\\prime"},f=[c];for(this.consume();this.fetch().text==="'";)f.push(c),this.consume();this.fetch().text==="^"&&f.push(this.handleSupSubscript("superscript")),r={type:"ordgroup",mode:this.mode,body:f}}else if(fh[s.text]){var h=p5.test(s.text),g=[];for(g.push(new ri(fh[s.text])),this.consume();;){var m=this.fetch().text;if(!fh[m]||p5.test(m)!==h)break;g.unshift(new ri(fh[m])),this.consume()}var x=this.subparse(g);h?i={type:"ordgroup",mode:"math",body:x}:r={type:"ordgroup",mode:"math",body:x}}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,s=Ws[i];if(!s)return null;if(this.consume(),n&&n!=="atom"&&!s.allowedInArgument)throw new Ne("Got function '"+i+"' with no arguments"+(n?" as "+n:""),r);if(this.mode==="text"&&!s.allowedInText)throw new Ne("Can't use function '"+i+"' in text mode",r);if(this.mode==="math"&&s.allowedInMath===!1)throw new Ne("Can't use function '"+i+"' in math mode",r);var{args:o,optArgs:c}=this.parseArguments(i,s);return this.callFunction(i,o,c,r,t)}callFunction(t,n,r,i,s){var o={funcName:t,parser:this,token:i,breakOnTokenText:s},c=Ws[t];if(c&&c.handler)return c.handler(o,n,r);throw new Ne("No function handler for "+t)}parseArguments(t,n){var r=n.numArgs+n.numOptionalArgs;if(r===0)return{args:[],optArgs:[]};for(var i=[],s=[],o=0;o<r;o++){var c=n.argTypes&&n.argTypes[o],f=o<n.numOptionalArgs;(n.primitive&&c==null||n.type==="sqrt"&&o===1&&s[0]==null)&&(c="primitive");var h=this.parseGroupOfType("argument to '"+t+"'",c,f);if(f)s.push(h);else if(h!=null)i.push(h);else throw new Ne("Null argument, please report this as a bug")}return{args:i,optArgs:s}}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"}:null}case"raw":{var s=this.parseStringGroup("raw",r);return s!=null?{type:"raw",mode:"text",string:s.text}:null}case"primitive":{if(r)throw new Ne("A primitive argument cannot be optional");var o=this.parseGroup(t);if(o==null)throw new Ne("Expected group as "+t,this.fetch());return o}case"original":case null:case void 0:return this.parseArgumentGroup(r);default:throw new Ne("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="",s;(s=this.fetch()).text!=="EOF";)i+=s.text,this.consume();return this.consume(),r.text=i,r}parseRegexGroup(t,n){for(var r=this.fetch(),i=r,s="",o;(o=this.fetch()).text!=="EOF"&&t.test(s+o.text);)i=o,s+=i.text,this.consume();if(s==="")throw new Ne("Invalid "+n+": '"+r.text+"'",r);return r.range(i,s)}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 Ne("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 Ne("Invalid size: '"+n.text+"'",n);var s={number:+(i[1]+i[2]),unit:i[3]};if(!RS(s))throw new Ne("Invalid unit: '"+s.unit+"'",n);return{type:"size",mode:this.mode,value:s,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 s=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var o={type:"ordgroup",mode:this.mode,loc:r.loc,body:s};return n&&this.switchMode(i),o}parseGroup(t,n){var r=this.fetch(),i=r.text,s;if(i==="{"||i==="\\begingroup"){this.consume();var o=i==="{"?"}":"\\endgroup";this.gullet.beginGroup();var c=this.parseExpression(!1,o),f=this.fetch();this.expect(o),this.gullet.endGroup(),s={type:"ordgroup",mode:this.mode,loc:Lr.range(r,f),body:c,semisimple:i==="\\begingroup"||void 0}}else if(s=this.parseFunction(n,t)||this.parseSymbol(),s==null&&i[0]==="\\"&&!Sk.hasOwnProperty(i)){if(this.settings.throwOnError)throw new Ne("Undefined control sequence: "+i,r);s=this.formatUnsupportedCmd(i),this.consume()}return s}formLigatures(t){for(var n=t.length-1,r=0;r<n;++r){var i=t[r],s=i.text;s==="-"&&t[r+1].text==="-"&&(r+1<n&&t[r+2].text==="-"?(t.splice(r,3,{type:"textord",mode:"text",loc:Lr.range(i,t[r+2]),text:"---"}),n-=2):(t.splice(r,2,{type:"textord",mode:"text",loc:Lr.range(i,t[r+1]),text:"--"}),n-=1)),(s==="'"||s==="`")&&t[r+1].text===s&&(t.splice(r,2,{type:"textord",mode:"text",loc:Lr.range(i,t[r+1]),text:s+s}),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 Ne(`\\verb assertion failed --
520
- please report what input caused this bug`);return r=r.slice(1,-1),{type:"verb",mode:"text",body:r,star:i}}d5.hasOwnProperty(n[0])&&!rn[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=d5[n[0]]+n.slice(1));var s=RX.exec(n);s&&(n=n.substring(0,s.index),n==="i"?n="ı":n==="j"&&(n="ȷ"));var o;if(rn[this.mode][n]){this.settings.strict&&this.mode==="math"&&Fg.indexOf(n)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+n[0]+'" used in math mode',t);var c=rn[this.mode][n].group,f=Lr.range(t),h;if(EG.hasOwnProperty(c)){var g=c;h={type:"atom",mode:this.mode,family:g,loc:f,text:n}}else h={type:c,mode:this.mode,loc:f,text:n};o=h}else if(n.charCodeAt(0)>=128)this.settings.strict&&(DS(n.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+n[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+n[0]+'"'+(" ("+n.charCodeAt(0)+")"),t)),o={type:"textord",mode:"text",loc:Lr.range(t),text:n};else return null;if(this.consume(),s)for(var m=0;m<s[0].length;m++){var x=s[0][m];if(!tg[x])throw new Ne("Unknown accent ' "+x+"'",t);var v=tg[x][this.mode]||tg[x].text;if(!v)throw new Ne("Accent "+x+" unsupported in "+this.mode+" mode",t);o={type:"accent",mode:this.mode,loc:Lr.range(t),label:v,isStretchy:!1,isShifty:!0,base:o}}return o}}Bp.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var g2=function(t,n){if(!(typeof t=="string"||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var r=new Bp(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 Ne("\\tag works only in display equations");i=[{type:"tag",mode:"text",body:i,tag:r.subparse([new ri("\\df@tag")])}]}return i},kk=function(t,n,r){n.textContent="";var i=x2(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."),kk=function(){throw new Ne("KaTeX doesn't work in quirks mode.")});var PX=function(t,n){var r=x2(t,n).toMarkup();return r},BX=function(t,n){var r=new Qx(n);return g2(t,r)},Ek=function(t,n,r){if(r.throwOnError||!(t instanceof Ne))throw t;var i=fe.makeSpan(["katex-error"],[new Ti(n)]);return i.setAttribute("title",t.toString()),i.setAttribute("style","color:"+r.errorColor),i},x2=function(t,n){var r=new Qx(n);try{var i=g2(t,r);return YG(i,t,r)}catch(s){return Ek(s,t,r)}},jX=function(t,n){var r=new Qx(n);try{var i=g2(t,r);return JG(i,t,r)}catch(s){return Ek(s,t,r)}},FX="0.16.27",VX={Span:C0,Anchor:t2,SymbolNode:Ti,SvgNode:ts,PathNode:sl,LineNode:jg},Xg={version:FX,render:kk,renderToString:PX,ParseError:Ne,SETTINGS_SCHEMA:kh,__parse:BX,__renderToDomTree:x2,__renderToHTMLTree:jX,__setFontMetrics:gG,__defineSymbol:A,__defineFunction:Fe,__defineMacro:U,__domTree:VX};const qX={};function UX(e){const t=this,n=e||qX,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),s=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(qH(n)),s.push(IH()),o.push(LH(n))}var ng={exports:{}},m5;function HX(){return m5||(m5=1,(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(s,o){return i.apply(null,[s].concat(o))}function i(s){for(var o=1,c=[].slice.call(arguments),f=0,h=s.length,g="",m,x=!1,v,E,k=!1,T,C=function(){return c[o++]},M=function(){for(var R="";/\d/.test(s[f]);)R+=s[f++],m=s[f];return R.length>0?parseInt(R):null};f<h;++f)if(m=s[f],x)switch(x=!1,m=="."?(k=!1,m=s[++f]):m=="0"&&s[f+1]=="."?(k=!0,f+=2,m=s[f]):k=!0,T=M(),m){case"b":g+=parseInt(C(),10).toString(2);break;case"c":v=C(),typeof v=="string"||v instanceof String?g+=v:g+=String.fromCharCode(parseInt(v,10));break;case"d":g+=parseInt(C(),10);break;case"f":E=String(parseFloat(C()).toFixed(T||6)),g+=k?E:E.replace(/^0/,"");break;case"j":g+=JSON.stringify(C());break;case"o":g+="0"+parseInt(C(),10).toString(8);break;case"s":g+=C();break;case"x":g+="0x"+parseInt(C(),10).toString(16);break;case"X":g+="0x"+parseInt(C(),10).toString(16).toUpperCase();break;default:g+=m;break}else m==="%"?x=!0:g+=m;return g}})()})(ng)),ng.exports}var GX=HX();const XX=Gl(GX),hh=Object.assign(Pl(Error),{eval:Pl(EvalError),range:Pl(RangeError),reference:Pl(ReferenceError),syntax:Pl(SyntaxError),type:Pl(TypeError),uri:Pl(URIError)});function Pl(e){return t.displayName=e.displayName||e.name,t;function t(n,...r){const i=n&&XX(n,...r);return new e(i)}}const ph={}.hasOwnProperty,g5={yaml:"-",toml:"+"};function y2(e){const t=[];let n=-1;const r=Array.isArray(e)?e:e?[e]:["yaml"];for(;++n<r.length;)t[n]=YX(r[n]);return t}function YX(e){let t=e;if(typeof t=="string"){if(!ph.call(g5,t))throw hh("Missing matter definition for `%s`",t);t={type:t,marker:g5[t]}}else if(typeof t!="object")throw hh("Expected matter to be an object, not `%j`",t);if(!ph.call(t,"type"))throw hh("Missing `type` in matter `%j`",t);if(!ph.call(t,"fence")&&!ph.call(t,"marker"))throw hh("Missing `marker` or `fence` in matter `%j`",t);return t}function JX(e){const t=y2(e),n={};let r=-1;for(;++r<t.length;){const i=t[r],s=Yg(i,"open").charCodeAt(0),o=$X(i),c=n[s];Array.isArray(c)?c.push(o):n[s]=[o]}return{flow:n}}function $X(e){const t=e.anywhere,n=e.type,r=n+"Fence",i=r+"Sequence",s=n+"Value",o={tokenize:g,partial:!0};let c,f=0;return{tokenize:h,concrete:!0};function h(m,x,v){const E=this;return k;function k(O){const q=E.now();return q.column===1&&(q.line===1||t)&&(c=Yg(e,"open"),f=0,O===c.charCodeAt(f))?(m.enter(n),m.enter(r),m.enter(i),T(O)):v(O)}function T(O){return f===c.length?(m.exit(i),ut(O)?(m.enter("whitespace"),C(O)):M(O)):O===c.charCodeAt(f++)?(m.consume(O),T):v(O)}function C(O){return ut(O)?(m.consume(O),C):(m.exit("whitespace"),M(O))}function M(O){return je(O)?(m.exit(r),m.enter("lineEnding"),m.consume(O),m.exit("lineEnding"),c=Yg(e,"close"),f=0,m.attempt(o,S,R)):v(O)}function R(O){return O===null||je(O)?L(O):(m.enter(s),j(O))}function j(O){return O===null||je(O)?(m.exit(s),L(O)):(m.consume(O),j)}function L(O){return O===null?v(O):(m.enter("lineEnding"),m.consume(O),m.exit("lineEnding"),m.attempt(o,S,R))}function S(O){return m.exit(n),x(O)}}function g(m,x,v){let E=0;return k;function k(R){return R===c.charCodeAt(E)?(m.enter(r),m.enter(i),T(R)):v(R)}function T(R){return E===c.length?(m.exit(i),ut(R)?(m.enter("whitespace"),C(R)):M(R)):R===c.charCodeAt(E++)?(m.consume(R),T):v(R)}function C(R){return ut(R)?(m.consume(R),C):(m.exit("whitespace"),M(R))}function M(R){return R===null||je(R)?(m.exit(r),x(R)):v(R)}}}function Yg(e,t){return e.marker?x5(e.marker,t).repeat(3):x5(e.fence,t)}function x5(e,t){return typeof e=="string"?e:e[t]}function WX(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function KX(e){const t=y2(e),n={},r={};let i=-1;for(;++i<t.length;){const s=t[i];n[s.type]=QX(s),r[s.type]=ZX,r[s.type+"Value"]=eY}return{enter:n,exit:r}}function QX(e){return t;function t(n){this.enter({type:e.type,value:""},n),this.buffer()}}function ZX(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 eY(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function tY(e){const t=[],n={},r=y2(e);let i=-1;for(;++i<r.length;){const s=r[i];n[s.type]=nY(s);const o=Jg(s,"open");t.push({atBreak:!0,character:o.charAt(0),after:WX(o.charAt(1))})}return{unsafe:t,handlers:n}}function nY(e){const t=Jg(e,"open"),n=Jg(e,"close");return r;function r(i){return t+(i.value?`
521
- `+i.value:"")+`
522
- `+n}}function Jg(e,t){return e.marker?y5(e.marker,t).repeat(3):y5(e.fence,t)}function y5(e,t){return typeof e=="string"?e:e[t]}const rY="yaml";function iY(e){const t=this,n=e||rY,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),s=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(JX(n)),s.push(KX(n)),o.push(tY(n))}const v5=/[#.]/g;function aY(e,t){const n=e||"",r={};let i=0,s,o;for(;i<n.length;){v5.lastIndex=i;const c=v5.exec(n),f=n.slice(i,c?c.index:n.length);f&&(s?s==="#"?r.id=f:Array.isArray(r.className)?r.className.push(f):r.className=[f]:o=f,i+=f.length),c&&(s=c[0],i++)}return{type:"element",tagName:o||t||"div",properties:r,children:[]}}function Ck(e,t,n){const r=n?uY(n):void 0;function i(s,o,...c){let f;if(s==null){f={type:"root",children:[]};const h=o;c.unshift(h)}else{f=aY(s,t);const h=f.tagName.toLowerCase(),g=r?r.get(h):void 0;if(f.tagName=g||h,sY(o))c.unshift(o);else for(const[m,x]of Object.entries(o))lY(e,f.properties,m,x)}for(const h of c)$g(f.children,h);return f.type==="element"&&f.tagName==="template"&&(f.content={type:"root",children:f.children},f.children=[]),f}return i}function sY(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 s=i;for(const o of s)if(typeof o!="number"&&typeof o!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function lY(e,t,n,r){const i=Vw(e,n);let s;if(r!=null){if(typeof r=="number"){if(Number.isNaN(r))return;s=r}else typeof r=="boolean"?s=r:typeof r=="string"?i.spaceSeparated?s=N3(r):i.commaSeparated?s=A3(r):i.commaOrSpaceSeparated?s=N3(A3(r).join(" ")):s=b5(i,i.property,r):Array.isArray(r)?s=[...r]:s=i.property==="style"?oY(r):String(r);if(Array.isArray(s)){const o=[];for(const c of s)o.push(b5(i,i.property,c));s=o}i.property==="className"&&Array.isArray(t.className)&&(s=t.className.concat(s)),t[i.property]=s}}function $g(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)$g(e,n);else if(typeof t=="object"&&"type"in t)t.type==="root"?$g(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function b5(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||Wc(n)===Wc(t)))return!0}return n}function oY(e){const t=[];for(const[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}function uY(e){const t=new Map;for(const n of e)t.set(n.toLowerCase(),n);return t}const cY=["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"],fY=Ck(qw,"div"),hY=Ck(bp,"g",cY),rg={html:"http://www.w3.org/1999/xhtml",svg:"http://www.w3.org/2000/svg"};function pY(e,t){return Ak(e,{})||{type:"root",children:[]}}function Ak(e,t){const n=dY(e,t);return n&&t.afterTransform&&t.afterTransform(e,n),n}function dY(e,t){switch(e.nodeType){case 1:return yY(e,t);case 3:return gY(e);case 8:return xY(e);case 9:return w5(e,t);case 10:return mY();case 11:return w5(e,t);default:return}}function w5(e,t){return{type:"root",children:Tk(e,t)}}function mY(){return{type:"doctype"}}function gY(e){return{type:"text",value:e.nodeValue||""}}function xY(e){return{type:"comment",value:e.nodeValue||""}}function yY(e,t){const n=e.namespaceURI,r=n===rg.svg?hY:fY,i=n===rg.html?e.tagName.toLowerCase():e.tagName,s=n===rg.html&&i==="template"?e.content:e,o=e.getAttributeNames(),c={};let f=-1;for(;++f<o.length;)c[o[f]]=e.getAttribute(o[f])||"";return r(i,c,Tk(s,t))}function Tk(e,t){const n=e.childNodes,r=[];let i=-1;for(;++i<n.length;){const s=Ak(n[i],t);s!==void 0&&r.push(s)}return r}new DOMParser;function vY(e,t){const n=bY(e);return pY(n)}function bY(e){const t=document.createElement("template");return t.innerHTML=e,t.content}const S5=(function(e,t,n){const r=k0(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]}),Ql=(function(e){if(e==null)return kY;if(typeof e=="string")return SY(e);if(typeof e=="object")return wY(e);if(typeof e=="function")return v2(e);throw new Error("Expected function, string, or array as `test`")});function wY(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Ql(e[n]);return v2(r);function r(...i){let s=-1;for(;++s<t.length;)if(t[s].apply(this,i))return!0;return!1}}function SY(e){return v2(t);function t(n){return n.tagName===e}}function v2(e){return t;function t(n,r,i){return!!(EY(n)&&e.call(this,n,typeof r=="number"?r:void 0,i||void 0))}}function kY(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function EY(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}const k5=/\n/g,E5=/[\t ]+/g,Wg=Ql("br"),C5=Ql(RY),CY=Ql("p"),A5=Ql("tr"),AY=Ql(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",DY,OY]),Mk=Ql(["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 TY(e,t){const n=t||{},r="children"in e?e.children:[],i=Mk(e),s=Dk(e,{whitespace:n.whitespace||"normal"}),o=[];(e.type==="text"||e.type==="comment")&&o.push(..._k(e,{breakBefore:!0,breakAfter:!0}));let c=-1;for(;++c<r.length;)o.push(...Nk(r[c],e,{whitespace:s,breakBefore:c?void 0:i,breakAfter:c<r.length-1?Wg(r[c+1]):i}));const f=[];let h;for(c=-1;++c<o.length;){const g=o[c];typeof g=="number"?h!==void 0&&g>h&&(h=g):g&&(h!==void 0&&h>-1&&f.push(`
523
- `.repeat(h)||" "),h=-1,f.push(g))}return f.join("")}function Nk(e,t,n){return e.type==="element"?MY(e,t,n):e.type==="text"?n.whitespace==="normal"?_k(e,n):NY(e):[]}function MY(e,t,n){const r=Dk(e,n),i=e.children||[];let s=-1,o=[];if(AY(e))return o;let c,f;for(Wg(e)||A5(e)&&S5(t,e,A5)?f=`
524
- `:CY(e)?(c=2,f=2):Mk(e)&&(c=1,f=1);++s<i.length;)o=o.concat(Nk(i[s],e,{whitespace:r,breakBefore:s?void 0:c,breakAfter:s<i.length-1?Wg(i[s+1]):f}));return C5(e)&&S5(t,e,C5)&&o.push(" "),c&&o.unshift(c),f&&o.push(f),o}function _k(e,t){const n=String(e.value),r=[],i=[];let s=0;for(;s<=n.length;){k5.lastIndex=s;const f=k5.exec(n),h=f&&"index"in f?f.index:n.length;r.push(_Y(n.slice(s,h).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),s===0?t.breakBefore:!0,h===n.length?t.breakAfter:!0)),s=h+1}let o=-1,c;for(;++o<r.length;)r[o].charCodeAt(r[o].length-1)===8203||o<r.length-1&&r[o+1].charCodeAt(0)===8203?(i.push(r[o]),c=void 0):r[o]?(typeof c=="number"&&i.push(c),i.push(r[o]),c=0):(o===0||o===r.length-1)&&i.push(0);return i}function NY(e){return[String(e.value)]}function _Y(e,t,n){const r=[];let i=0,s;for(;i<e.length;){E5.lastIndex=i;const o=E5.exec(e);s=o?o.index:e.length,!i&&!s&&o&&!t&&r.push(""),i!==s&&r.push(e.slice(i,s)),i=o?s+o[0].length:s}return i!==s&&!n&&r.push(""),r.join(" ")}function Dk(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 DY(e){return!!(e.properties||{}).hidden}function RY(e){return e.tagName==="td"||e.tagName==="th"}function OY(e){return e.tagName==="dialog"&&!(e.properties||{}).open}const IY={},LY=[];function zY(e){const t=e||IY;return function(n,r){Xx(n,"element",function(i,s){const o=Array.isArray(i.properties.className)?i.properties.className:LY,c=o.includes("language-math"),f=o.includes("math-display"),h=o.includes("math-inline");let g=f;if(!c&&!f&&!h)return;let m=s[s.length-1],x=i;if(i.tagName==="code"&&c&&m&&m.type==="element"&&m.tagName==="pre"&&(x=m,m=s[s.length-2],g=!0),!m)return;const v=TY(x,{whitespace:"pre"});let E;try{E=Xg.renderToString(v,{...t,displayMode:g,throwOnError:!0})}catch(T){const C=T,M=C.name.toLowerCase();r.message("Could not render math with KaTeX",{ancestors:[...s,i],cause:C,place:i.position,ruleId:M,source:"rehype-katex"});try{E=Xg.renderToString(v,{...t,displayMode:g,strict:"ignore",throwOnError:!1})}catch{E=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(T)},children:[{type:"text",value:v}]}]}}typeof E=="string"&&(E=vY(E).children);const k=m.children.indexOf(x);return m.children.splice(k,1,...E),rS})}}const Rk="data-fullscreen-active";function PY({images:e,selectedIndex:t,onClose:n,onPrevious:r,onNext:i,showNavigation:s=!0}){const o=e[t];return op.createPortal(B.jsxs("div",{className:"fixed inset-0 z-[9999] bg-background",onClick:n,[Rk]:"true",style:{top:0,left:0,right:0,bottom:0},children:[B.jsxs("div",{className:"fixed top-0 left-0 right-0 z-10 flex items-center justify-between px-4 py-3 bg-background/80 backdrop-blur-sm",onClick:c=>c.stopPropagation(),children:[B.jsxs("div",{className:"font-mono text-xs text-muted-foreground tabular-nums",children:[String(t+1).padStart(2,"0")," / ",String(e.length).padStart(2,"0")]}),B.jsx("button",{onClick:n,className:"p-2 text-muted-foreground hover:text-foreground transition-colors","aria-label":"Close",children:B.jsx(P_,{className:"h-5 w-5"})})]}),s&&t>0&&B.jsx("button",{onClick:c=>{c.stopPropagation(),r()},className:"fixed left-4 top-1/2 -translate-y-1/2 z-10 p-2 text-muted-foreground hover:text-foreground transition-colors","aria-label":"Previous image",children:B.jsx(E_,{className:"h-8 w-8"})}),s&&t<e.length-1&&B.jsx("button",{onClick:c=>{c.stopPropagation(),i()},className:"fixed right-4 top-1/2 -translate-y-1/2 z-10 p-2 text-muted-foreground hover:text-foreground transition-colors","aria-label":"Next image",children:B.jsx(P7,{className:"h-8 w-8"})}),B.jsx("div",{className:"fixed inset-0 flex items-center justify-center p-16",children:B.jsx("img",{src:o.src,alt:o.label,className:"max-w-full max-h-full object-contain",onClick:c=>c.stopPropagation()})}),B.jsx("div",{className:"fixed bottom-0 left-0 right-0 z-10 p-4 text-center bg-background/80 backdrop-blur-sm",onClick:c=>c.stopPropagation(),children:B.jsx("span",{className:"font-mono text-xs text-muted-foreground",children:o.label})})]}),document.body)}const Ok=(e,t,n)=>{const r=e instanceof RegExp?T5(e,n):e,i=t instanceof RegExp?T5(t,n):t,s=r!==null&&i!=null&&BY(r,i,n);return s&&{start:s[0],end:s[1],pre:n.slice(0,s[0]),body:n.slice(s[0]+r.length,s[1]),post:n.slice(s[1]+i.length)}},T5=(e,t)=>{const n=t.match(e);return n?n[0]:null},BY=(e,t,n)=>{let r,i,s,o,c,f=n.indexOf(e),h=n.indexOf(t,f+1),g=f;if(f>=0&&h>0){if(e===t)return[f,h];for(r=[],s=n.length;g>=0&&!c;){if(g===f)r.push(g),f=n.indexOf(e,g+1);else if(r.length===1){const m=r.pop();m!==void 0&&(c=[m,h])}else i=r.pop(),i!==void 0&&i<s&&(s=i,o=h),h=n.indexOf(t,g+1);g=f<h&&f>=0?f:h}r.length&&o!==void 0&&(c=[s,o])}return c},Ik="\0SLASH"+Math.random()+"\0",Lk="\0OPEN"+Math.random()+"\0",b2="\0CLOSE"+Math.random()+"\0",zk="\0COMMA"+Math.random()+"\0",Pk="\0PERIOD"+Math.random()+"\0",jY=new RegExp(Ik,"g"),FY=new RegExp(Lk,"g"),VY=new RegExp(b2,"g"),qY=new RegExp(zk,"g"),UY=new RegExp(Pk,"g"),HY=/\\\\/g,GY=/\\{/g,XY=/\\}/g,YY=/\\,/g,JY=/\\./g;function ig(e){return isNaN(e)?e.charCodeAt(0):parseInt(e,10)}function $Y(e){return e.replace(HY,Ik).replace(GY,Lk).replace(XY,b2).replace(YY,zk).replace(JY,Pk)}function WY(e){return e.replace(jY,"\\").replace(FY,"{").replace(VY,"}").replace(qY,",").replace(UY,".")}function Bk(e){if(!e)return[""];const t=[],n=Ok("{","}",e);if(!n)return e.split(",");const{pre:r,body:i,post:s}=n,o=r.split(",");o[o.length-1]+="{"+i+"}";const c=Bk(s);return s.length&&(o[o.length-1]+=c.shift(),o.push.apply(o,c)),t.push.apply(t,o),t}function KY(e){return e?(e.slice(0,2)==="{}"&&(e="\\{\\}"+e.slice(2)),Lc($Y(e),!0).map(WY)):[]}function QY(e){return"{"+e+"}"}function ZY(e){return/^-?0\d/.test(e)}function eJ(e,t){return e<=t}function tJ(e,t){return e>=t}function Lc(e,t){const n=[],r=Ok("{","}",e);if(!r)return[e];const i=r.pre,s=r.post.length?Lc(r.post,!1):[""];if(/\$$/.test(r.pre))for(let o=0;o<s.length;o++){const c=i+"{"+r.body+"}"+s[o];n.push(c)}else{const o=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(r.body),c=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(r.body),f=o||c,h=r.body.indexOf(",")>=0;if(!f&&!h)return r.post.match(/,(?!,).*\}/)?(e=r.pre+"{"+r.body+b2+r.post,Lc(e)):[e];let g;if(f)g=r.body.split(/\.\./);else if(g=Bk(r.body),g.length===1&&g[0]!==void 0&&(g=Lc(g[0],!1).map(QY),g.length===1))return s.map(x=>r.pre+g[0]+x);let m;if(f&&g[0]!==void 0&&g[1]!==void 0){const x=ig(g[0]),v=ig(g[1]),E=Math.max(g[0].length,g[1].length);let k=g.length===3&&g[2]!==void 0?Math.abs(ig(g[2])):1,T=eJ;v<x&&(k*=-1,T=tJ);const M=g.some(ZY);m=[];for(let R=x;T(R,v);R+=k){let j;if(c)j=String.fromCharCode(R),j==="\\"&&(j="");else if(j=String(R),M){const L=E-j.length;if(L>0){const S=new Array(L+1).join("0");R<0?j="-"+S+j.slice(1):j=S+j}}m.push(j)}}else{m=[];for(let x=0;x<g.length;x++)m.push.apply(m,Lc(g[x],!1))}for(let x=0;x<m.length;x++)for(let v=0;v<s.length;v++){const E=i+m[x]+s[v];(!t||f||E)&&n.push(E)}}return n}const nJ=1024*64,Qh=e=>{if(typeof e!="string")throw new TypeError("invalid pattern");if(e.length>nJ)throw new TypeError("pattern is too long")},rJ={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},_c=e=>e.replace(/[[\]\\-]/g,"\\$&"),iJ=e=>e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),M5=e=>e.join(""),aJ=(e,t)=>{const n=t;if(e.charAt(n)!=="[")throw new Error("not in a brace expression");const r=[],i=[];let s=n+1,o=!1,c=!1,f=!1,h=!1,g=n,m="";e:for(;s<e.length;){const k=e.charAt(s);if((k==="!"||k==="^")&&s===n+1){h=!0,s++;continue}if(k==="]"&&o&&!f){g=s+1;break}if(o=!0,k==="\\"&&!f){f=!0,s++;continue}if(k==="["&&!f){for(const[T,[C,M,R]]of Object.entries(rJ))if(e.startsWith(T,s)){if(m)return["$.",!1,e.length-n,!0];s+=T.length,R?i.push(C):r.push(C),c=c||M;continue e}}if(f=!1,m){k>m?r.push(_c(m)+"-"+_c(k)):k===m&&r.push(_c(k)),m="",s++;continue}if(e.startsWith("-]",s+1)){r.push(_c(k+"-")),s+=2;continue}if(e.startsWith("-",s+1)){m=k,s+=2;continue}r.push(_c(k)),s++}if(g<s)return["",!1,0,!1];if(!r.length&&!i.length)return["$.",!1,e.length-n,!0];if(i.length===0&&r.length===1&&/^\\?.$/.test(r[0])&&!h){const k=r[0].length===2?r[0].slice(-1):r[0];return[iJ(k),!1,g-n,!1]}const x="["+(h?"^":"")+M5(r)+"]",v="["+(h?"":"^")+M5(i)+"]";return[r.length&&i.length?"("+x+"|"+v+")":r.length?x:v,c,g-n,!0]},zc=(e,{windowsPathsNoEscape:t=!1,magicalBraces:n=!0}={})=>n?t?e.replace(/\[([^\/\\])\]/g,"$1"):e.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1"):t?e.replace(/\[([^\/\\{}])\]/g,"$1"):e.replace(/((?!\\).|^)\[([^\/\\{}])\]/g,"$1$2").replace(/\\([^\/{}])/g,"$1"),sJ=new Set(["!","?","+","*","@"]),N5=e=>sJ.has(e),lJ="(?!(?:^|/)\\.\\.?(?:$|/))",dh="(?!\\.)",oJ=new Set(["[","."]),uJ=new Set(["..","."]),cJ=new Set("().*{}+?[]^$\\!"),fJ=e=>e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),w2="[^/]",_5=w2+"*?",D5=w2+"+?";var Gn,Wn,Ua,on,zn,Ys,jl,Js,ta,Fl,u0,Hl,jk,Zs,Ch,Kg,Fk;const hr=class hr{constructor(t,n,r={}){Dr(this,Hl);Un(this,"type");Dr(this,Gn);Dr(this,Wn);Dr(this,Ua,!1);Dr(this,on,[]);Dr(this,zn);Dr(this,Ys);Dr(this,jl);Dr(this,Js,!1);Dr(this,ta);Dr(this,Fl);Dr(this,u0,!1);this.type=t,t&&An(this,Wn,!0),An(this,zn,n),An(this,Gn,Oe(this,zn)?Oe(Oe(this,zn),Gn):this),An(this,ta,Oe(this,Gn)===this?r:Oe(Oe(this,Gn),ta)),An(this,jl,Oe(this,Gn)===this?[]:Oe(Oe(this,Gn),jl)),t==="!"&&!Oe(Oe(this,Gn),Js)&&Oe(this,jl).push(this),An(this,Ys,Oe(this,zn)?Oe(Oe(this,zn),on).length:0)}get hasMagic(){if(Oe(this,Wn)!==void 0)return Oe(this,Wn);for(const t of Oe(this,on))if(typeof t!="string"&&(t.type||t.hasMagic))return An(this,Wn,!0);return Oe(this,Wn)}toString(){return Oe(this,Fl)!==void 0?Oe(this,Fl):this.type?An(this,Fl,this.type+"("+Oe(this,on).map(t=>String(t)).join("|")+")"):An(this,Fl,Oe(this,on).map(t=>String(t)).join(""))}push(...t){for(const n of t)if(n!==""){if(typeof n!="string"&&!(n instanceof hr&&Oe(n,zn)===this))throw new Error("invalid part: "+n);Oe(this,on).push(n)}}toJSON(){var n;const t=this.type===null?Oe(this,on).slice().map(r=>typeof r=="string"?r:r.toJSON()):[this.type,...Oe(this,on).map(r=>r.toJSON())];return this.isStart()&&!this.type&&t.unshift([]),this.isEnd()&&(this===Oe(this,Gn)||Oe(Oe(this,Gn),Js)&&((n=Oe(this,zn))==null?void 0:n.type)==="!")&&t.push({}),t}isStart(){var n;if(Oe(this,Gn)===this)return!0;if(!((n=Oe(this,zn))!=null&&n.isStart()))return!1;if(Oe(this,Ys)===0)return!0;const t=Oe(this,zn);for(let r=0;r<Oe(this,Ys);r++){const i=Oe(t,on)[r];if(!(i instanceof hr&&i.type==="!"))return!1}return!0}isEnd(){var n,r,i;if(Oe(this,Gn)===this||((n=Oe(this,zn))==null?void 0:n.type)==="!")return!0;if(!((r=Oe(this,zn))!=null&&r.isEnd()))return!1;if(!this.type)return(i=Oe(this,zn))==null?void 0:i.isEnd();const t=Oe(this,zn)?Oe(Oe(this,zn),on).length:0;return Oe(this,Ys)===t-1}copyIn(t){typeof t=="string"?this.push(t):this.push(t.clone(this))}clone(t){const n=new hr(this.type,t);for(const r of Oe(this,on))n.copyIn(r);return n}static fromGlob(t,n={}){var i;const r=new hr(null,void 0,n);return Bs(i=hr,Zs,Ch).call(i,t,r,0,n),r}toMMPattern(){if(this!==Oe(this,Gn))return Oe(this,Gn).toMMPattern();const t=this.toString(),[n,r,i,s]=this.toRegExpSource();if(!(i||Oe(this,Wn)||Oe(this,ta).nocase&&!Oe(this,ta).nocaseMagicOnly&&t.toUpperCase()!==t.toLowerCase()))return r;const c=(Oe(this,ta).nocase?"i":"")+(s?"u":"");return Object.assign(new RegExp(`^${n}$`,c),{_src:n,_glob:t})}get options(){return Oe(this,ta)}toRegExpSource(t){var f;const n=t??!!Oe(this,ta).dot;if(Oe(this,Gn)===this&&Bs(this,Hl,jk).call(this),!this.type){const h=this.isStart()&&this.isEnd()&&!Oe(this,on).some(E=>typeof E!="string"),g=Oe(this,on).map(E=>{var R;const[k,T,C,M]=typeof E=="string"?Bs(R=hr,Zs,Fk).call(R,E,Oe(this,Wn),h):E.toRegExpSource(t);return An(this,Wn,Oe(this,Wn)||C),An(this,Ua,Oe(this,Ua)||M),k}).join("");let m="";if(this.isStart()&&typeof Oe(this,on)[0]=="string"&&!(Oe(this,on).length===1&&uJ.has(Oe(this,on)[0]))){const k=oJ,T=n&&k.has(g.charAt(0))||g.startsWith("\\.")&&k.has(g.charAt(2))||g.startsWith("\\.\\.")&&k.has(g.charAt(4)),C=!n&&!t&&k.has(g.charAt(0));m=T?lJ:C?dh:""}let x="";return this.isEnd()&&Oe(Oe(this,Gn),Js)&&((f=Oe(this,zn))==null?void 0:f.type)==="!"&&(x="(?:$|\\/)"),[m+g+x,zc(g),An(this,Wn,!!Oe(this,Wn)),Oe(this,Ua)]}const r=this.type==="*"||this.type==="+",i=this.type==="!"?"(?:(?!(?:":"(?:";let s=Bs(this,Hl,Kg).call(this,n);if(this.isStart()&&this.isEnd()&&!s&&this.type!=="!"){const h=this.toString();return An(this,on,[h]),this.type=null,An(this,Wn,void 0),[h,zc(this.toString()),!1,!1]}let o=!r||t||n||!dh?"":Bs(this,Hl,Kg).call(this,!0);o===s&&(o=""),o&&(s=`(?:${s})(?:${o})*?`);let c="";if(this.type==="!"&&Oe(this,u0))c=(this.isStart()&&!n?dh:"")+D5;else{const h=this.type==="!"?"))"+(this.isStart()&&!n&&!t?dh:"")+_5+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&o?")":this.type==="*"&&o?")?":`)${this.type}`;c=i+s+h}return[c,zc(s),An(this,Wn,!!Oe(this,Wn)),Oe(this,Ua)]}};Gn=new WeakMap,Wn=new WeakMap,Ua=new WeakMap,on=new WeakMap,zn=new WeakMap,Ys=new WeakMap,jl=new WeakMap,Js=new WeakMap,ta=new WeakMap,Fl=new WeakMap,u0=new WeakMap,Hl=new WeakSet,jk=function(){if(this!==Oe(this,Gn))throw new Error("should only call on root");if(Oe(this,Js))return this;this.toString(),An(this,Js,!0);let t;for(;t=Oe(this,jl).pop();){if(t.type!=="!")continue;let n=t,r=Oe(n,zn);for(;r;){for(let i=Oe(n,Ys)+1;!r.type&&i<Oe(r,on).length;i++)for(const s of Oe(t,on)){if(typeof s=="string")throw new Error("string part in extglob AST??");s.copyIn(Oe(r,on)[i])}n=r,r=Oe(n,zn)}}return this},Zs=new WeakSet,Ch=function(t,n,r,i){var v,E;let s=!1,o=!1,c=-1,f=!1;if(n.type===null){let k=r,T="";for(;k<t.length;){const C=t.charAt(k++);if(s||C==="\\"){s=!s,T+=C;continue}if(o){k===c+1?(C==="^"||C==="!")&&(f=!0):C==="]"&&!(k===c+2&&f)&&(o=!1),T+=C;continue}else if(C==="["){o=!0,c=k,f=!1,T+=C;continue}if(!i.noext&&N5(C)&&t.charAt(k)==="("){n.push(T),T="";const M=new hr(C,n);k=Bs(v=hr,Zs,Ch).call(v,t,M,k,i),n.push(M);continue}T+=C}return n.push(T),k}let h=r+1,g=new hr(null,n);const m=[];let x="";for(;h<t.length;){const k=t.charAt(h++);if(s||k==="\\"){s=!s,x+=k;continue}if(o){h===c+1?(k==="^"||k==="!")&&(f=!0):k==="]"&&!(h===c+2&&f)&&(o=!1),x+=k;continue}else if(k==="["){o=!0,c=h,f=!1,x+=k;continue}if(N5(k)&&t.charAt(h)==="("){g.push(x),x="";const T=new hr(k,g);g.push(T),h=Bs(E=hr,Zs,Ch).call(E,t,T,h,i);continue}if(k==="|"){g.push(x),x="",m.push(g),g=new hr(null,n);continue}if(k===")")return x===""&&Oe(n,on).length===0&&An(n,u0,!0),g.push(x),x="",n.push(...m,g),h;x+=k}return n.type=null,An(n,Wn,void 0),An(n,on,[t.substring(r-1)]),h},Kg=function(t){return Oe(this,on).map(n=>{if(typeof n=="string")throw new Error("string type in extglob ast??");const[r,i,s,o]=n.toRegExpSource(t);return An(this,Ua,Oe(this,Ua)||o),r}).filter(n=>!(this.isStart()&&this.isEnd())||!!n).join("|")},Fk=function(t,n,r=!1){let i=!1,s="",o=!1;for(let c=0;c<t.length;c++){const f=t.charAt(c);if(i){i=!1,s+=(cJ.has(f)?"\\":"")+f;continue}if(f==="\\"){c===t.length-1?s+="\\\\":i=!0;continue}if(f==="["){const[h,g,m,x]=aJ(t,c);if(m){s+=h,o=o||g,c+=m-1,n=n||x;continue}}if(f==="*"){s+=r&&t==="*"?D5:_5,n=!0;continue}if(f==="?"){s+=w2,n=!0;continue}s+=fJ(f)}return[s,zc(t),!!n,o]},Dr(hr,Zs);let Zh=hr;const hJ=(e,{windowsPathsNoEscape:t=!1,magicalBraces:n=!1}={})=>n?t?e.replace(/[?*()[\]{}]/g,"[$&]"):e.replace(/[?*()[\]\\{}]/g,"\\$&"):t?e.replace(/[?*()[\]]/g,"[$&]"):e.replace(/[?*()[\]\\]/g,"\\$&");var ag={};const or=(e,t,n={})=>(Qh(t),!n.nocomment&&t.charAt(0)==="#"?!1:new jp(t,n).match(e)),pJ=/^\*+([^+@!?\*\[\(]*)$/,dJ=e=>t=>!t.startsWith(".")&&t.endsWith(e),mJ=e=>t=>t.endsWith(e),gJ=e=>(e=e.toLowerCase(),t=>!t.startsWith(".")&&t.toLowerCase().endsWith(e)),xJ=e=>(e=e.toLowerCase(),t=>t.toLowerCase().endsWith(e)),yJ=/^\*+\.\*+$/,vJ=e=>!e.startsWith(".")&&e.includes("."),bJ=e=>e!=="."&&e!==".."&&e.includes("."),wJ=/^\.\*+$/,SJ=e=>e!=="."&&e!==".."&&e.startsWith("."),kJ=/^\*+$/,EJ=e=>e.length!==0&&!e.startsWith("."),CJ=e=>e.length!==0&&e!=="."&&e!=="..",AJ=/^\?+([^+@!?\*\[\(]*)?$/,TJ=([e,t=""])=>{const n=Vk([e]);return t?(t=t.toLowerCase(),r=>n(r)&&r.toLowerCase().endsWith(t)):n},MJ=([e,t=""])=>{const n=qk([e]);return t?(t=t.toLowerCase(),r=>n(r)&&r.toLowerCase().endsWith(t)):n},NJ=([e,t=""])=>{const n=qk([e]);return t?r=>n(r)&&r.endsWith(t):n},_J=([e,t=""])=>{const n=Vk([e]);return t?r=>n(r)&&r.endsWith(t):n},Vk=([e])=>{const t=e.length;return n=>n.length===t&&!n.startsWith(".")},qk=([e])=>{const t=e.length;return n=>n.length===t&&n!=="."&&n!==".."},Uk=typeof process=="object"&&process?typeof ag=="object"&&ag&&ag.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix",R5={win32:{sep:"\\"},posix:{sep:"/"}},DJ=Uk==="win32"?R5.win32.sep:R5.posix.sep;or.sep=DJ;const bi=Symbol("globstar **");or.GLOBSTAR=bi;const RJ="[^/]",OJ=RJ+"*?",IJ="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",LJ="(?:(?!(?:\\/|^)\\.).)*?",zJ=(e,t={})=>n=>or(n,e,t);or.filter=zJ;const vi=(e,t={})=>Object.assign({},e,t),PJ=e=>{if(!e||typeof e!="object"||!Object.keys(e).length)return or;const t=or;return Object.assign((r,i,s={})=>t(r,i,vi(e,s)),{Minimatch:class extends t.Minimatch{constructor(i,s={}){super(i,vi(e,s))}static defaults(i){return t.defaults(vi(e,i)).Minimatch}},AST:class extends t.AST{constructor(i,s,o={}){super(i,s,vi(e,o))}static fromGlob(i,s={}){return t.AST.fromGlob(i,vi(e,s))}},unescape:(r,i={})=>t.unescape(r,vi(e,i)),escape:(r,i={})=>t.escape(r,vi(e,i)),filter:(r,i={})=>t.filter(r,vi(e,i)),defaults:r=>t.defaults(vi(e,r)),makeRe:(r,i={})=>t.makeRe(r,vi(e,i)),braceExpand:(r,i={})=>t.braceExpand(r,vi(e,i)),match:(r,i,s={})=>t.match(r,i,vi(e,s)),sep:t.sep,GLOBSTAR:bi})};or.defaults=PJ;const Hk=(e,t={})=>(Qh(e),t.nobrace||!/\{(?:(?!\{).)*\}/.test(e)?[e]:KY(e));or.braceExpand=Hk;const BJ=(e,t={})=>new jp(e,t).makeRe();or.makeRe=BJ;const jJ=(e,t,n={})=>{const r=new jp(t,n);return e=e.filter(i=>r.match(i)),r.options.nonull&&!e.length&&e.push(t),e};or.match=jJ;const O5=/[?*]|[+@!]\(.*?\)|\[|\]/,FJ=e=>e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");class jp{constructor(t,n={}){Un(this,"options");Un(this,"set");Un(this,"pattern");Un(this,"windowsPathsNoEscape");Un(this,"nonegate");Un(this,"negate");Un(this,"comment");Un(this,"empty");Un(this,"preserveMultipleSlashes");Un(this,"partial");Un(this,"globSet");Un(this,"globParts");Un(this,"nocase");Un(this,"isWindows");Un(this,"platform");Un(this,"windowsNoMagicRoot");Un(this,"regexp");Qh(t),n=n||{},this.options=n,this.pattern=t,this.platform=n.platform||Uk,this.isWindows=this.platform==="win32",this.windowsPathsNoEscape=!!n.windowsPathsNoEscape||n.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!n.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!n.nonegate,this.comment=!1,this.empty=!1,this.partial=!!n.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=n.windowsNoMagicRoot!==void 0?n.windowsNoMagicRoot:!!(this.isWindows&&this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(const t of this.set)for(const n of t)if(typeof n!="string")return!0;return!1}debug(...t){}make(){const t=this.pattern,n=this.options;if(!n.nocomment&&t.charAt(0)==="#"){this.comment=!0;return}if(!t){this.empty=!0;return}this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],n.debug&&(this.debug=(...s)=>console.error(...s)),this.debug(this.pattern,this.globSet);const r=this.globSet.map(s=>this.slashSplit(s));this.globParts=this.preprocess(r),this.debug(this.pattern,this.globParts);let i=this.globParts.map((s,o,c)=>{if(this.isWindows&&this.windowsNoMagicRoot){const f=s[0]===""&&s[1]===""&&(s[2]==="?"||!O5.test(s[2]))&&!O5.test(s[3]),h=/^[a-z]:/i.test(s[0]);if(f)return[...s.slice(0,4),...s.slice(4).map(g=>this.parse(g))];if(h)return[s[0],...s.slice(1).map(g=>this.parse(g))]}return s.map(f=>this.parse(f))});if(this.debug(this.pattern,i),this.set=i.filter(s=>s.indexOf(!1)===-1),this.isWindows)for(let s=0;s<this.set.length;s++){const o=this.set[s];o[0]===""&&o[1]===""&&this.globParts[s][2]==="?"&&typeof o[3]=="string"&&/^[a-z]:$/i.test(o[3])&&(o[2]="?")}this.debug(this.pattern,this.set)}preprocess(t){if(this.options.noglobstar)for(let r=0;r<t.length;r++)for(let i=0;i<t[r].length;i++)t[r][i]==="**"&&(t[r][i]="*");const{optimizationLevel:n=1}=this.options;return n>=2?(t=this.firstPhasePreProcess(t),t=this.secondPhasePreProcess(t)):n>=1?t=this.levelOneOptimize(t):t=this.adjascentGlobstarOptimize(t),t}adjascentGlobstarOptimize(t){return t.map(n=>{let r=-1;for(;(r=n.indexOf("**",r+1))!==-1;){let i=r;for(;n[i+1]==="**";)i++;i!==r&&n.splice(r,i-r)}return n})}levelOneOptimize(t){return t.map(n=>(n=n.reduce((r,i)=>{const s=r[r.length-1];return i==="**"&&s==="**"?r:i===".."&&s&&s!==".."&&s!=="."&&s!=="**"?(r.pop(),r):(r.push(i),r)},[]),n.length===0?[""]:n))}levelTwoFileOptimize(t){Array.isArray(t)||(t=this.slashSplit(t));let n=!1;do{if(n=!1,!this.preserveMultipleSlashes){for(let i=1;i<t.length-1;i++){const s=t[i];i===1&&s===""&&t[0]===""||(s==="."||s==="")&&(n=!0,t.splice(i,1),i--)}t[0]==="."&&t.length===2&&(t[1]==="."||t[1]==="")&&(n=!0,t.pop())}let r=0;for(;(r=t.indexOf("..",r+1))!==-1;){const i=t[r-1];i&&i!=="."&&i!==".."&&i!=="**"&&(n=!0,t.splice(r-1,2),r-=2)}}while(n);return t.length===0?[""]:t}firstPhasePreProcess(t){let n=!1;do{n=!1;for(let r of t){let i=-1;for(;(i=r.indexOf("**",i+1))!==-1;){let o=i;for(;r[o+1]==="**";)o++;o>i&&r.splice(i+1,o-i);let c=r[i+1];const f=r[i+2],h=r[i+3];if(c!==".."||!f||f==="."||f===".."||!h||h==="."||h==="..")continue;n=!0,r.splice(i,1);const g=r.slice(0);g[i]="**",t.push(g),i--}if(!this.preserveMultipleSlashes){for(let o=1;o<r.length-1;o++){const c=r[o];o===1&&c===""&&r[0]===""||(c==="."||c==="")&&(n=!0,r.splice(o,1),o--)}r[0]==="."&&r.length===2&&(r[1]==="."||r[1]==="")&&(n=!0,r.pop())}let s=0;for(;(s=r.indexOf("..",s+1))!==-1;){const o=r[s-1];if(o&&o!=="."&&o!==".."&&o!=="**"){n=!0;const f=s===1&&r[s+1]==="**"?["."]:[];r.splice(s-1,2,...f),r.length===0&&r.push(""),s-=2}}}}while(n);return t}secondPhasePreProcess(t){for(let n=0;n<t.length-1;n++)for(let r=n+1;r<t.length;r++){const i=this.partsMatch(t[n],t[r],!this.preserveMultipleSlashes);if(i){t[n]=[],t[r]=i;break}}return t.filter(n=>n.length)}partsMatch(t,n,r=!1){let i=0,s=0,o=[],c="";for(;i<t.length&&s<n.length;)if(t[i]===n[s])o.push(c==="b"?n[s]:t[i]),i++,s++;else if(r&&t[i]==="**"&&n[s]===t[i+1])o.push(t[i]),i++;else if(r&&n[s]==="**"&&t[i]===n[s+1])o.push(n[s]),s++;else if(t[i]==="*"&&n[s]&&(this.options.dot||!n[s].startsWith("."))&&n[s]!=="**"){if(c==="b")return!1;c="a",o.push(t[i]),i++,s++}else if(n[s]==="*"&&t[i]&&(this.options.dot||!t[i].startsWith("."))&&t[i]!=="**"){if(c==="a")return!1;c="b",o.push(n[s]),i++,s++}else return!1;return t.length===n.length&&o}parseNegate(){if(this.nonegate)return;const t=this.pattern;let n=!1,r=0;for(let i=0;i<t.length&&t.charAt(i)==="!";i++)n=!n,r++;r&&(this.pattern=t.slice(r)),this.negate=n}matchOne(t,n,r=!1){const i=this.options;if(this.isWindows){const k=typeof t[0]=="string"&&/^[a-z]:$/i.test(t[0]),T=!k&&t[0]===""&&t[1]===""&&t[2]==="?"&&/^[a-z]:$/i.test(t[3]),C=typeof n[0]=="string"&&/^[a-z]:$/i.test(n[0]),M=!C&&n[0]===""&&n[1]===""&&n[2]==="?"&&typeof n[3]=="string"&&/^[a-z]:$/i.test(n[3]),R=T?3:k?0:void 0,j=M?3:C?0:void 0;if(typeof R=="number"&&typeof j=="number"){const[L,S]=[t[R],n[j]];L.toLowerCase()===S.toLowerCase()&&(n[j]=L,j>R?n=n.slice(j):R>j&&(t=t.slice(R)))}}const{optimizationLevel:s=1}=this.options;s>=2&&(t=this.levelTwoFileOptimize(t)),this.debug("matchOne",this,{file:t,pattern:n}),this.debug("matchOne",t.length,n.length);for(var o=0,c=0,f=t.length,h=n.length;o<f&&c<h;o++,c++){this.debug("matchOne loop");var g=n[c],m=t[o];if(this.debug(n,g,m),g===!1)return!1;if(g===bi){this.debug("GLOBSTAR",[n,g,m]);var x=o,v=c+1;if(v===h){for(this.debug("** at the end");o<f;o++)if(t[o]==="."||t[o]===".."||!i.dot&&t[o].charAt(0)===".")return!1;return!0}for(;x<f;){var E=t[x];if(this.debug(`
525
- globstar while`,t,x,n,v,E),this.matchOne(t.slice(x),n.slice(v),r))return this.debug("globstar found match!",x,f,E),!0;if(E==="."||E===".."||!i.dot&&E.charAt(0)==="."){this.debug("dot detected!",t,x,n,v);break}this.debug("globstar swallow a segment, and continue"),x++}return!!(r&&(this.debug(`
526
- >>> no match, partial?`,t,x,n,v),x===f))}let k;if(typeof g=="string"?(k=m===g,this.debug("string match",g,m,k)):(k=g.test(m),this.debug("pattern match",g,m,k)),!k)return!1}if(o===f&&c===h)return!0;if(o===f)return r;if(c===h)return o===f-1&&t[o]==="";throw new Error("wtf?")}braceExpand(){return Hk(this.pattern,this.options)}parse(t){Qh(t);const n=this.options;if(t==="**")return bi;if(t==="")return"";let r,i=null;(r=t.match(kJ))?i=n.dot?CJ:EJ:(r=t.match(pJ))?i=(n.nocase?n.dot?xJ:gJ:n.dot?mJ:dJ)(r[1]):(r=t.match(AJ))?i=(n.nocase?n.dot?MJ:TJ:n.dot?NJ:_J)(r):(r=t.match(yJ))?i=n.dot?bJ:vJ:(r=t.match(wJ))&&(i=SJ);const s=Zh.fromGlob(t,this.options).toMMPattern();return i&&typeof s=="object"&&Reflect.defineProperty(s,"test",{value:i}),s}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;const t=this.set;if(!t.length)return this.regexp=!1,this.regexp;const n=this.options,r=n.noglobstar?OJ:n.dot?IJ:LJ,i=new Set(n.nocase?["i"]:[]);let s=t.map(f=>{const h=f.map(m=>{if(m instanceof RegExp)for(const x of m.flags.split(""))i.add(x);return typeof m=="string"?FJ(m):m===bi?bi:m._src});h.forEach((m,x)=>{const v=h[x+1],E=h[x-1];m!==bi||E===bi||(E===void 0?v!==void 0&&v!==bi?h[x+1]="(?:\\/|"+r+"\\/)?"+v:h[x]=r:v===void 0?h[x-1]=E+"(?:\\/|\\/"+r+")?":v!==bi&&(h[x-1]=E+"(?:\\/|\\/"+r+"\\/)"+v,h[x+1]=bi))});const g=h.filter(m=>m!==bi);if(this.partial&&g.length>=1){const m=[];for(let x=1;x<=g.length;x++)m.push(g.slice(0,x).join("/"));return"(?:"+m.join("|")+")"}return g.join("/")}).join("|");const[o,c]=t.length>1?["(?:",")"]:["",""];s="^"+o+s+c+"$",this.partial&&(s="^(?:\\/|"+o+s.slice(1,-1)+c+")$"),this.negate&&(s="^(?!"+s+").+$");try{this.regexp=new RegExp(s,[...i].join(""))}catch{this.regexp=!1}return this.regexp}slashSplit(t){return this.preserveMultipleSlashes?t.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(t)?["",...t.split(/\/+/)]:t.split(/\/+/)}match(t,n=this.partial){if(this.debug("match",t,this.pattern),this.comment)return!1;if(this.empty)return t==="";if(t==="/"&&n)return!0;const r=this.options;this.isWindows&&(t=t.split("\\").join("/"));const i=this.slashSplit(t);this.debug(this.pattern,"split",i);const s=this.set;this.debug(this.pattern,"set",s);let o=i[i.length-1];if(!o)for(let c=i.length-2;!o&&c>=0;c--)o=i[c];for(let c=0;c<s.length;c++){const f=s[c];let h=i;if(r.matchBase&&f.length===1&&(h=[o]),this.matchOne(h,f,n))return r.flipNegate?!0:!this.negate}return r.flipNegate?!1:this.negate}static defaults(t){return or.defaults(t).Minimatch}}or.AST=Zh;or.Minimatch=jp;or.escape=hJ;or.unescape=zc;function VJ(e){e.sort((t,n)=>{const r=c=>(c.match(/\d+/g)||[]).map(Number),i=r(t),s=r(n),o=Math.max(i.length,s.length);for(let c=0;c<o;c++){const f=(i[c]??0)-(s[c]??0);if(f!==0)return f}return t.localeCompare(n)})}function qJ(e,t){const n=new Map;e.forEach(i=>{if(i.endsWith("_light.png")){const s=i.replace("_light.png",""),o=n.get(s)||{};o.light=i,n.set(s,o)}else if(i.endsWith("_dark.png")){const s=i.replace("_dark.png",""),o=n.get(s)||{};o.dark=i,n.set(s,o)}else n.set(i,{original:i})});const r=[];return n.forEach((i,s)=>{if(i.original)r.push(i.original);else{const o=t==="dark",c=o?i.dark:i.light,f=o?i.light:i.dark;r.push(c||f||s)}}),r}function UJ({path:e,globs:t=null,limit:n,page:r=0}){const{resolvedTheme:i}=p7();let s=e;const{directory:o}=up(s),c=I.useMemo(()=>{if(!o)return[];let h=o.children.filter(m=>!!m.name.match(/\.(png|jpeg|gif|svg|webp)$/i)&&m.type==="file").map(m=>m.path);t&&t.length>0&&(h=h.filter(m=>t.some(x=>or(m.split("/").pop()||"",x)))),VJ(h);let g=qJ(h,i);return n&&(g=g.slice(r*n,(r+1)*n)),g},[o,t,i,n,r]);return{paths:c,isLoading:!o,isEmpty:o!==void 0&&c.length===0}}function HJ(e,t={}){const{enabled:n=!0,ignoreModifiers:r=!0}=t;I.useEffect(()=>{const i=s=>{if((typeof n=="function"?n():n)&&!(r&&(s.metaKey||s.ctrlKey||s.altKey)&&!e.some(f=>{const h=f.modifiers||{};return h.meta||h.ctrl||h.alt})))for(const c of e){const f=Array.isArray(c.key)?c.key:[c.key],h=c.modifiers||{};if(f.includes(s.key)&&!(h.meta!==void 0&&h.meta!==s.metaKey)&&!(h.ctrl!==void 0&&h.ctrl!==s.ctrlKey)&&!(h.alt!==void 0&&h.alt!==s.altKey)&&!(h.shift!==void 0&&h.shift!==s.shiftKey)&&!(r&&!c.modifiers&&(s.metaKey||s.ctrlKey||s.altKey))){c.preventDefault!==!1&&s.preventDefault(),c.action();return}}};return window.addEventListener("keydown",i),()=>window.removeEventListener("keydown",i)},[e,n,r])}function GJ(e){const[t,n]=I.useState(null),r=I.useCallback(c=>{n(c)},[]),i=I.useCallback(()=>{n(null)},[]),s=I.useCallback(()=>{n(c=>c!==null&&c>0?c-1:c)},[]),o=I.useCallback(()=>{n(c=>c!==null&&c<e-1?c+1:c)},[e]);return HJ([{key:"Escape",action:i},{key:"ArrowLeft",action:s},{key:"ArrowRight",action:o}],{enabled:()=>t!==null}),{selectedIndex:t,open:r,close:i,goToPrevious:s,goToNext:o,isOpen:t!==null}}function XJ({className:e,wrapperClassName:t,...n}){const[r,i]=I.useState(!0),[s,o]=I.useState(!1);return B.jsxs("div",{className:Yt("relative",t),children:[r&&!s&&B.jsx("div",{className:"absolute inset-0 bg-muted/30 animate-pulse flex items-center justify-center",children:B.jsx("div",{className:"w-8 h-8 border border-border/50 rounded-sm"})}),s&&B.jsx("div",{className:"absolute inset-0 bg-muted/20 flex items-center justify-center",children:B.jsxs("div",{className:"text-center",children:[B.jsx(B7,{className:"h-5 w-5 text-muted-foreground/40 mx-auto"}),B.jsx("span",{className:"text-xs text-muted-foreground/40 mt-1.5 block font-mono",children:"failed"})]})}),B.jsx("img",{...n,className:Yt(e,"transition-opacity duration-500 ease-out-expo",r&&"opacity-0",s&&"opacity-0"),onLoad:c=>{var f;i(!1),(f=n.onLoad)==null||f.call(n,c)},onError:c=>{var f;i(!1),o(!0),(f=n.onError)==null||f.call(n,c)}})]})}function Qg(e){const t=[];let n=0;const r=/\$\$([^$]+)\$\$|\$([^$]+)\$/g;let i,s=0;for(;(i=r.exec(e))!==null;){i.index>n&&t.push(e.slice(n,i.index));const o=i[1]!==void 0,c=i[1]||i[2];try{const f=Xg.renderToString(c,{displayMode:o,throwOnError:!1});t.push(B.jsx("span",{dangerouslySetInnerHTML:{__html:f}},s++))}catch{t.push(i[0])}n=i.index+i[0].length}return n<e.length&&t.push(e.slice(n)),t.length===1&&typeof t[0]=="string"?t[0]:B.jsx(B.Fragment,{children:t})}function YJ({title:e,subtitle:t}){return!e&&!t?null:B.jsxs("div",{className:"mx-auto max-w-md",children:[e&&B.jsx("h3",{className:"text-sm md:text-base font-medium tracking-tight text-foreground text-left",children:Qg(e)}),t&&B.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed text-left mt-1",children:Qg(t)})]})}function JJ({caption:e,label:t}){return!e&&!t?null:B.jsx("div",{className:"mx-auto max-w-md",children:B.jsxs("div",{className:"text-sm text-muted-foreground leading-relaxed text-left",children:[t&&B.jsx("span",{className:"font-medium text-foreground",children:t}),t&&e&&B.jsx("span",{className:"mx-1",children:"—"}),e&&Qg(e)]})})}function $J(e){return Object.prototype.toString.call(e)==="[object Object]"}function I5(e){return $J(e)||Array.isArray(e)}function WJ(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function S2(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;const i=JSON.stringify(Object.keys(e.breakpoints||{})),s=JSON.stringify(Object.keys(t.breakpoints||{}));return i!==s?!1:n.every(o=>{const c=e[o],f=t[o];return typeof c=="function"?`${c}`==`${f}`:!I5(c)||!I5(f)?c===f:S2(c,f)})}function L5(e){return e.concat().sort((t,n)=>t.name>n.name?1:-1).map(t=>t.options)}function KJ(e,t){if(e.length!==t.length)return!1;const n=L5(e),r=L5(t);return n.every((i,s)=>{const o=r[s];return S2(i,o)})}function k2(e){return typeof e=="number"}function Zg(e){return typeof e=="string"}function Fp(e){return typeof e=="boolean"}function z5(e){return Object.prototype.toString.call(e)==="[object Object]"}function gn(e){return Math.abs(e)}function E2(e){return Math.sign(e)}function Uc(e,t){return gn(e-t)}function QJ(e,t){if(e===0||t===0||gn(e)<=gn(t))return 0;const n=Uc(gn(e),gn(t));return gn(n/e)}function ZJ(e){return Math.round(e*100)/100}function r0(e){return i0(e).map(Number)}function qi(e){return e[T0(e)]}function T0(e){return Math.max(0,e.length-1)}function C2(e,t){return t===T0(e)}function P5(e,t=0){return Array.from(Array(e),(n,r)=>t+r)}function i0(e){return Object.keys(e)}function Gk(e,t){return[e,t].reduce((n,r)=>(i0(r).forEach(i=>{const s=n[i],o=r[i],c=z5(s)&&z5(o);n[i]=c?Gk(s,o):o}),n),{})}function ex(e,t){return typeof t.MouseEvent<"u"&&e instanceof t.MouseEvent}function e$(e,t){const n={start:r,center:i,end:s};function r(){return 0}function i(f){return s(f)/2}function s(f){return t-f}function o(f,h){return Zg(e)?n[e](f):e(t,f,h)}return{measure:o}}function a0(){let e=[];function t(i,s,o,c={passive:!0}){let f;if("addEventListener"in i)i.addEventListener(s,o,c),f=()=>i.removeEventListener(s,o,c);else{const h=i;h.addListener(o),f=()=>h.removeListener(o)}return e.push(f),r}function n(){e=e.filter(i=>i())}const r={add:t,clear:n};return r}function t$(e,t,n,r){const i=a0(),s=1e3/60;let o=null,c=0,f=0;function h(){i.add(e,"visibilitychange",()=>{e.hidden&&E()})}function g(){v(),i.clear()}function m(T){if(!f)return;o||(o=T,n(),n());const C=T-o;for(o=T,c+=C;c>=s;)n(),c-=s;const M=c/s;r(M),f&&(f=t.requestAnimationFrame(m))}function x(){f||(f=t.requestAnimationFrame(m))}function v(){t.cancelAnimationFrame(f),o=null,c=0,f=0}function E(){o=null,c=0}return{init:h,destroy:g,start:x,stop:v,update:n,render:r}}function n$(e,t){const n=t==="rtl",r=e==="y",i=r?"y":"x",s=r?"x":"y",o=!r&&n?-1:1,c=g(),f=m();function h(E){const{height:k,width:T}=E;return r?k:T}function g(){return r?"top":n?"right":"left"}function m(){return r?"bottom":n?"left":"right"}function x(E){return E*o}return{scroll:i,cross:s,startEdge:c,endEdge:f,measureSize:h,direction:x}}function Ul(e=0,t=0){const n=gn(e-t);function r(h){return h<e}function i(h){return h>t}function s(h){return r(h)||i(h)}function o(h){return s(h)?r(h)?e:t:h}function c(h){return n?h-n*Math.ceil((h-t)/n):h}return{length:n,max:t,min:e,constrain:o,reachedAny:s,reachedMax:i,reachedMin:r,removeOffset:c}}function Xk(e,t,n){const{constrain:r}=Ul(0,e),i=e+1;let s=o(t);function o(x){return n?gn((i+x)%i):r(x)}function c(){return s}function f(x){return s=o(x),m}function h(x){return g().set(c()+x)}function g(){return Xk(e,c(),n)}const m={get:c,set:f,add:h,clone:g};return m}function r$(e,t,n,r,i,s,o,c,f,h,g,m,x,v,E,k,T,C,M){const{cross:R,direction:j}=e,L=["INPUT","SELECT","TEXTAREA"],S={passive:!1},O=a0(),q=a0(),W=Ul(50,225).constrain(v.measure(20)),J={mouse:300,touch:400},re={mouse:500,touch:600},ae=E?43:25;let Se=!1,xe=0,ge=0,ee=!1,oe=!1,le=!1,we=!1;function Y(Pe){if(!M)return;function ot(Rt){(Fp(M)||M(Pe,Rt))&&ze(Rt)}const dt=t;O.add(dt,"dragstart",Rt=>Rt.preventDefault(),S).add(dt,"touchmove",()=>{},S).add(dt,"touchend",()=>{}).add(dt,"touchstart",ot).add(dt,"mousedown",ot).add(dt,"touchcancel",Ke).add(dt,"contextmenu",Ke).add(dt,"click",Ve,!0)}function $(){O.clear(),q.clear()}function ue(){const Pe=we?n:t;q.add(Pe,"touchmove",Re,S).add(Pe,"touchend",Ke).add(Pe,"mousemove",Re,S).add(Pe,"mouseup",Ke)}function H(Pe){const ot=Pe.nodeName||"";return L.includes(ot)}function Ce(){return(E?re:J)[we?"mouse":"touch"]}function Le(Pe,ot){const dt=m.add(E2(Pe)*-1),Rt=g.byDistance(Pe,!E).distance;return E||gn(Pe)<W?Rt:T&&ot?Rt*.5:g.byIndex(dt.get(),0).distance}function ze(Pe){const ot=ex(Pe,r);we=ot,le=E&&ot&&!Pe.buttons&&Se,Se=Uc(i.get(),o.get())>=2,!(ot&&Pe.button!==0)&&(H(Pe.target)||(ee=!0,s.pointerDown(Pe),h.useFriction(0).useDuration(0),i.set(o),ue(),xe=s.readPoint(Pe),ge=s.readPoint(Pe,R),x.emit("pointerDown")))}function Re(Pe){if(!ex(Pe,r)&&Pe.touches.length>=2)return Ke(Pe);const dt=s.readPoint(Pe),Rt=s.readPoint(Pe,R),Jt=Uc(dt,xe),Ut=Uc(Rt,ge);if(!oe&&!we&&(!Pe.cancelable||(oe=Jt>Ut,!oe)))return Ke(Pe);const $t=s.pointerMove(Pe);Jt>k&&(le=!0),h.useFriction(.3).useDuration(.75),c.start(),i.add(j($t)),Pe.preventDefault()}function Ke(Pe){const dt=g.byDistance(0,!1).index!==m.get(),Rt=s.pointerUp(Pe)*Ce(),Jt=Le(j(Rt),dt),Ut=QJ(Rt,Jt),$t=ae-10*Ut,Pt=C+Ut/50;oe=!1,ee=!1,q.clear(),h.useDuration($t).useFriction(Pt),f.distance(Jt,!E),we=!1,x.emit("pointerUp")}function Ve(Pe){le&&(Pe.stopPropagation(),Pe.preventDefault(),le=!1)}function st(){return ee}return{init:Y,destroy:$,pointerDown:st}}function i$(e,t){let r,i;function s(m){return m.timeStamp}function o(m,x){const E=`client${(x||e.scroll)==="x"?"X":"Y"}`;return(ex(m,t)?m:m.touches[0])[E]}function c(m){return r=m,i=m,o(m)}function f(m){const x=o(m)-o(i),v=s(m)-s(r)>170;return i=m,v&&(r=m),x}function h(m){if(!r||!i)return 0;const x=o(i)-o(r),v=s(m)-s(r),E=s(m)-s(i)>170,k=x/v;return v&&!E&&gn(k)>.1?k:0}return{pointerDown:c,pointerMove:f,pointerUp:h,readPoint:o}}function a$(){function e(n){const{offsetTop:r,offsetLeft:i,offsetWidth:s,offsetHeight:o}=n;return{top:r,right:i+s,bottom:r+o,left:i,width:s,height:o}}return{measure:e}}function s$(e){function t(r){return e*(r/100)}return{measure:t}}function l$(e,t,n,r,i,s,o){const c=[e].concat(r);let f,h,g=[],m=!1;function x(T){return i.measureSize(o.measure(T))}function v(T){if(!s)return;h=x(e),g=r.map(x);function C(M){for(const R of M){if(m)return;const j=R.target===e,L=r.indexOf(R.target),S=j?h:g[L],O=x(j?e:r[L]);if(gn(O-S)>=.5){T.reInit(),t.emit("resize");break}}}f=new ResizeObserver(M=>{(Fp(s)||s(T,M))&&C(M)}),n.requestAnimationFrame(()=>{c.forEach(M=>f.observe(M))})}function E(){m=!0,f&&f.disconnect()}return{init:v,destroy:E}}function o$(e,t,n,r,i,s){let o=0,c=0,f=i,h=s,g=e.get(),m=0;function x(){const S=r.get()-e.get(),O=!f;let q=0;return O?(o=0,n.set(r),e.set(r),q=S):(n.set(e),o+=S/f,o*=h,g+=o,e.add(o),q=g-m),c=E2(q),m=g,L}function v(){const S=r.get()-t.get();return gn(S)<.001}function E(){return f}function k(){return c}function T(){return o}function C(){return R(i)}function M(){return j(s)}function R(S){return f=S,L}function j(S){return h=S,L}const L={direction:k,duration:E,velocity:T,seek:x,settled:v,useBaseFriction:M,useBaseDuration:C,useFriction:j,useDuration:R};return L}function u$(e,t,n,r,i){const s=i.measure(10),o=i.measure(50),c=Ul(.1,.99);let f=!1;function h(){return!(f||!e.reachedAny(n.get())||!e.reachedAny(t.get()))}function g(v){if(!h())return;const E=e.reachedMin(t.get())?"min":"max",k=gn(e[E]-t.get()),T=n.get()-t.get(),C=c.constrain(k/o);n.subtract(T*C),!v&&gn(T)<s&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())}function m(v){f=!v}return{shouldConstrain:h,constrain:g,toggleActive:m}}function c$(e,t,n,r,i){const s=Ul(-t+e,0),o=m(),c=g(),f=x();function h(E,k){return Uc(E,k)<=1}function g(){const E=o[0],k=qi(o),T=o.lastIndexOf(E),C=o.indexOf(k)+1;return Ul(T,C)}function m(){return n.map((E,k)=>{const{min:T,max:C}=s,M=s.constrain(E),R=!k,j=C2(n,k);return R?C:j||h(T,M)?T:h(C,M)?C:M}).map(E=>parseFloat(E.toFixed(3)))}function x(){if(t<=e+i)return[s.max];if(r==="keepSnaps")return o;const{min:E,max:k}=c;return o.slice(E,k)}return{snapsContained:f,scrollContainLimit:c}}function f$(e,t,n){const r=t[0],i=n?r-e:qi(t);return{limit:Ul(i,r)}}function h$(e,t,n,r){const s=t.min+.1,o=t.max+.1,{reachedMin:c,reachedMax:f}=Ul(s,o);function h(x){return x===1?f(n.get()):x===-1?c(n.get()):!1}function g(x){if(!h(x))return;const v=e*(x*-1);r.forEach(E=>E.add(v))}return{loop:g}}function p$(e){const{max:t,length:n}=e;function r(s){const o=s-t;return n?o/-n:0}return{get:r}}function d$(e,t,n,r,i){const{startEdge:s,endEdge:o}=e,{groupSlides:c}=i,f=m().map(t.measure),h=x(),g=v();function m(){return c(r).map(k=>qi(k)[o]-k[0][s]).map(gn)}function x(){return r.map(k=>n[s]-k[s]).map(k=>-gn(k))}function v(){return c(h).map(k=>k[0]).map((k,T)=>k+f[T])}return{snaps:h,snapsAligned:g}}function m$(e,t,n,r,i,s){const{groupSlides:o}=i,{min:c,max:f}=r,h=g();function g(){const x=o(s),v=!e||t==="keepSnaps";return n.length===1?[s]:v?x:x.slice(c,f).map((E,k,T)=>{const C=!k,M=C2(T,k);if(C){const R=qi(T[0])+1;return P5(R)}if(M){const R=T0(s)-qi(T)[0]+1;return P5(R,qi(T)[0])}return E})}return{slideRegistry:h}}function g$(e,t,n,r,i){const{reachedAny:s,removeOffset:o,constrain:c}=r;function f(E){return E.concat().sort((k,T)=>gn(k)-gn(T))[0]}function h(E){const k=e?o(E):c(E),T=t.map((M,R)=>({diff:g(M-k,0),index:R})).sort((M,R)=>gn(M.diff)-gn(R.diff)),{index:C}=T[0];return{index:C,distance:k}}function g(E,k){const T=[E,E+n,E-n];if(!e)return E;if(!k)return f(T);const C=T.filter(M=>E2(M)===k);return C.length?f(C):qi(T)-n}function m(E,k){const T=t[E]-i.get(),C=g(T,k);return{index:E,distance:C}}function x(E,k){const T=i.get()+E,{index:C,distance:M}=h(T),R=!e&&s(T);if(!k||R)return{index:C,distance:E};const j=t[C]-M,L=E+g(j,0);return{index:C,distance:L}}return{byDistance:x,byIndex:m,shortcut:g}}function x$(e,t,n,r,i,s,o){function c(m){const x=m.distance,v=m.index!==t.get();s.add(x),x&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),v&&(n.set(t.get()),t.set(m.index),o.emit("select"))}function f(m,x){const v=i.byDistance(m,x);c(v)}function h(m,x){const v=t.clone().set(m),E=i.byIndex(v.get(),x);c(E)}return{distance:f,index:h}}function y$(e,t,n,r,i,s,o,c){const f={passive:!0,capture:!0};let h=0;function g(v){if(!c)return;function E(k){if(new Date().getTime()-h>10)return;o.emit("slideFocusStart"),e.scrollLeft=0;const M=n.findIndex(R=>R.includes(k));k2(M)&&(i.useDuration(0),r.index(M,0),o.emit("slideFocus"))}s.add(document,"keydown",m,!1),t.forEach((k,T)=>{s.add(k,"focus",C=>{(Fp(c)||c(v,C))&&E(T)},f)})}function m(v){v.code==="Tab"&&(h=new Date().getTime())}return{init:g}}function Pc(e){let t=e;function n(){return t}function r(f){t=o(f)}function i(f){t+=o(f)}function s(f){t-=o(f)}function o(f){return k2(f)?f:f.get()}return{get:n,set:r,add:i,subtract:s}}function Yk(e,t){const n=e.scroll==="x"?o:c,r=t.style;let i=null,s=!1;function o(x){return`translate3d(${x}px,0px,0px)`}function c(x){return`translate3d(0px,${x}px,0px)`}function f(x){if(s)return;const v=ZJ(e.direction(x));v!==i&&(r.transform=n(v),i=v)}function h(x){s=!x}function g(){s||(r.transform="",t.getAttribute("style")||t.removeAttribute("style"))}return{clear:g,to:f,toggleActive:h}}function v$(e,t,n,r,i,s,o,c,f){const g=r0(i),m=r0(i).reverse(),x=C().concat(M());function v(O,q){return O.reduce((W,J)=>W-i[J],q)}function E(O,q){return O.reduce((W,J)=>v(W,q)>0?W.concat([J]):W,[])}function k(O){return s.map((q,W)=>({start:q-r[W]+.5+O,end:q+t-.5+O}))}function T(O,q,W){const J=k(q);return O.map(re=>{const ae=W?0:-n,Se=W?n:0,xe=W?"end":"start",ge=J[re][xe];return{index:re,loopPoint:ge,slideLocation:Pc(-1),translate:Yk(e,f[re]),target:()=>c.get()>ge?ae:Se}})}function C(){const O=o[0],q=E(m,O);return T(q,n,!1)}function M(){const O=t-o[0]-1,q=E(g,O);return T(q,-n,!0)}function R(){return x.every(({index:O})=>{const q=g.filter(W=>W!==O);return v(q,t)<=.1})}function j(){x.forEach(O=>{const{target:q,translate:W,slideLocation:J}=O,re=q();re!==J.get()&&(W.to(re),J.set(re))})}function L(){x.forEach(O=>O.translate.clear())}return{canLoop:R,clear:L,loop:j,loopPoints:x}}function b$(e,t,n){let r,i=!1;function s(f){if(!n)return;function h(g){for(const m of g)if(m.type==="childList"){f.reInit(),t.emit("slidesChanged");break}}r=new MutationObserver(g=>{i||(Fp(n)||n(f,g))&&h(g)}),r.observe(e,{childList:!0})}function o(){r&&r.disconnect(),i=!0}return{init:s,destroy:o}}function w$(e,t,n,r){const i={};let s=null,o=null,c,f=!1;function h(){c=new IntersectionObserver(E=>{f||(E.forEach(k=>{const T=t.indexOf(k.target);i[T]=k}),s=null,o=null,n.emit("slidesInView"))},{root:e.parentElement,threshold:r}),t.forEach(E=>c.observe(E))}function g(){c&&c.disconnect(),f=!0}function m(E){return i0(i).reduce((k,T)=>{const C=parseInt(T),{isIntersecting:M}=i[C];return(E&&M||!E&&!M)&&k.push(C),k},[])}function x(E=!0){if(E&&s)return s;if(!E&&o)return o;const k=m(E);return E&&(s=k),E||(o=k),k}return{init:h,destroy:g,get:x}}function S$(e,t,n,r,i,s){const{measureSize:o,startEdge:c,endEdge:f}=e,h=n[0]&&i,g=E(),m=k(),x=n.map(o),v=T();function E(){if(!h)return 0;const M=n[0];return gn(t[c]-M[c])}function k(){if(!h)return 0;const M=s.getComputedStyle(qi(r));return parseFloat(M.getPropertyValue(`margin-${f}`))}function T(){return n.map((M,R,j)=>{const L=!R,S=C2(j,R);return L?x[R]+g:S?x[R]+m:j[R+1][c]-M[c]}).map(gn)}return{slideSizes:x,slideSizesWithGaps:v,startGap:g,endGap:m}}function k$(e,t,n,r,i,s,o,c,f){const{startEdge:h,endEdge:g,direction:m}=e,x=k2(n);function v(C,M){return r0(C).filter(R=>R%M===0).map(R=>C.slice(R,R+M))}function E(C){return C.length?r0(C).reduce((M,R,j)=>{const L=qi(M)||0,S=L===0,O=R===T0(C),q=i[h]-s[L][h],W=i[h]-s[R][g],J=!r&&S?m(o):0,re=!r&&O?m(c):0,ae=gn(W-re-(q+J));return j&&ae>t+f&&M.push(R),O&&M.push(C.length),M},[]).map((M,R,j)=>{const L=Math.max(j[R-1]||0);return C.slice(L,M)}):[]}function k(C){return x?v(C,n):E(C)}return{groupSlides:k}}function E$(e,t,n,r,i,s,o){const{align:c,axis:f,direction:h,startIndex:g,loop:m,duration:x,dragFree:v,dragThreshold:E,inViewThreshold:k,slidesToScroll:T,skipSnaps:C,containScroll:M,watchResize:R,watchSlides:j,watchDrag:L,watchFocus:S}=s,O=2,q=a$(),W=q.measure(t),J=n.map(q.measure),re=n$(f,h),ae=re.measureSize(W),Se=s$(ae),xe=e$(c,ae),ge=!m&&!!M,ee=m||!!M,{slideSizes:oe,slideSizesWithGaps:le,startGap:we,endGap:Y}=S$(re,W,J,n,ee,i),$=k$(re,ae,T,m,W,J,we,Y,O),{snaps:ue,snapsAligned:H}=d$(re,xe,W,J,$),Ce=-qi(ue)+qi(le),{snapsContained:Le,scrollContainLimit:ze}=c$(ae,Ce,H,M,O),Re=ge?Le:H,{limit:Ke}=f$(Ce,Re,m),Ve=Xk(T0(Re),g,m),st=Ve.clone(),Ze=r0(n),Pe=({dragHandler:gt,scrollBody:an,scrollBounds:Be,options:{loop:un}})=>{un||Be.constrain(gt.pointerDown()),an.seek()},ot=({scrollBody:gt,translate:an,location:Be,offsetLocation:un,previousLocation:pn,scrollLooper:Jn,slideLooper:Nt,dragHandler:br,animation:nr,eventHandler:Zl,scrollBounds:_i,options:{loop:Mn}},Nn)=>{const Ct=gt.settled(),Hr=!_i.shouldConstrain(),et=Mn?Ct:Ct&&Hr,pl=et&&!br.pointerDown();pl&&nr.stop();const ls=Be.get()*Nn+pn.get()*(1-Nn);un.set(ls),Mn&&(Jn.loop(gt.direction()),Nt.loop()),an.to(un.get()),pl&&Zl.emit("settle"),et||Zl.emit("scroll")},dt=t$(r,i,()=>Pe($e),gt=>ot($e,gt)),Rt=.68,Jt=Re[Ve.get()],Ut=Pc(Jt),$t=Pc(Jt),Pt=Pc(Jt),yn=Pc(Jt),Fn=o$(Ut,Pt,$t,yn,x,Rt),Ur=g$(m,Re,Ce,Ke,yn),vn=x$(dt,Ve,st,Fn,Ur,yn,o),pt=p$(Ke),ai=a0(),ve=w$(t,n,o,k),{slideRegistry:ye}=m$(ge,M,Re,ze,$,Ze),G=y$(e,n,ye,vn,Fn,ai,o,S),$e={ownerDocument:r,ownerWindow:i,eventHandler:o,containerRect:W,slideRects:J,animation:dt,axis:re,dragHandler:r$(re,e,r,i,yn,i$(re,i),Ut,dt,vn,Fn,Ur,Ve,o,Se,v,E,C,Rt,L),eventStore:ai,percentOfView:Se,index:Ve,indexPrevious:st,limit:Ke,location:Ut,offsetLocation:Pt,previousLocation:$t,options:s,resizeHandler:l$(t,o,i,n,re,R,q),scrollBody:Fn,scrollBounds:u$(Ke,Pt,yn,Fn,Se),scrollLooper:h$(Ce,Ke,Pt,[Ut,Pt,$t,yn]),scrollProgress:pt,scrollSnapList:Re.map(pt.get),scrollSnaps:Re,scrollTarget:Ur,scrollTo:vn,slideLooper:v$(re,ae,Ce,oe,le,ue,Re,Pt,n),slideFocus:G,slidesHandler:b$(t,o,j),slidesInView:ve,slideIndexes:Ze,slideRegistry:ye,slidesToScroll:$,target:yn,translate:Yk(re,t)};return $e}function C$(){let e={},t;function n(h){t=h}function r(h){return e[h]||[]}function i(h){return r(h).forEach(g=>g(t,h)),f}function s(h,g){return e[h]=r(h).concat([g]),f}function o(h,g){return e[h]=r(h).filter(m=>m!==g),f}function c(){e={}}const f={init:n,emit:i,off:o,on:s,clear:c};return f}const A$={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function T$(e){function t(s,o){return Gk(s,o||{})}function n(s){const o=s.breakpoints||{},c=i0(o).filter(f=>e.matchMedia(f).matches).map(f=>o[f]).reduce((f,h)=>t(f,h),{});return t(s,c)}function r(s){return s.map(o=>i0(o.breakpoints||{})).reduce((o,c)=>o.concat(c),[]).map(e.matchMedia)}return{mergeOptions:t,optionsAtMedia:n,optionsMediaQueries:r}}function M$(e){let t=[];function n(s,o){return t=o.filter(({options:c})=>e.optionsAtMedia(c).active!==!1),t.forEach(c=>c.init(s,e)),o.reduce((c,f)=>Object.assign(c,{[f.name]:f}),{})}function r(){t=t.filter(s=>s.destroy())}return{init:n,destroy:r}}function ep(e,t,n){const r=e.ownerDocument,i=r.defaultView,s=T$(i),o=M$(s),c=a0(),f=C$(),{mergeOptions:h,optionsAtMedia:g,optionsMediaQueries:m}=s,{on:x,off:v,emit:E}=f,k=re;let T=!1,C,M=h(A$,ep.globalOptions),R=h(M),j=[],L,S,O;function q(){const{container:Ze,slides:Pe}=R;S=(Zg(Ze)?e.querySelector(Ze):Ze)||e.children[0];const dt=Zg(Pe)?S.querySelectorAll(Pe):Pe;O=[].slice.call(dt||S.children)}function W(Ze){const Pe=E$(e,S,O,r,i,Ze,f);if(Ze.loop&&!Pe.slideLooper.canLoop()){const ot=Object.assign({},Ze,{loop:!1});return W(ot)}return Pe}function J(Ze,Pe){T||(M=h(M,Ze),R=g(M),j=Pe||j,q(),C=W(R),m([M,...j.map(({options:ot})=>ot)]).forEach(ot=>c.add(ot,"change",re)),R.active&&(C.translate.to(C.location.get()),C.animation.init(),C.slidesInView.init(),C.slideFocus.init(st),C.eventHandler.init(st),C.resizeHandler.init(st),C.slidesHandler.init(st),C.options.loop&&C.slideLooper.loop(),S.offsetParent&&O.length&&C.dragHandler.init(st),L=o.init(st,j)))}function re(Ze,Pe){const ot=$();ae(),J(h({startIndex:ot},Ze),Pe),f.emit("reInit")}function ae(){C.dragHandler.destroy(),C.eventStore.clear(),C.translate.clear(),C.slideLooper.clear(),C.resizeHandler.destroy(),C.slidesHandler.destroy(),C.slidesInView.destroy(),C.animation.destroy(),o.destroy(),c.clear()}function Se(){T||(T=!0,c.clear(),ae(),f.emit("destroy"),f.clear())}function xe(Ze,Pe,ot){!R.active||T||(C.scrollBody.useBaseFriction().useDuration(Pe===!0?0:R.duration),C.scrollTo.index(Ze,ot||0))}function ge(Ze){const Pe=C.index.add(1).get();xe(Pe,Ze,-1)}function ee(Ze){const Pe=C.index.add(-1).get();xe(Pe,Ze,1)}function oe(){return C.index.add(1).get()!==$()}function le(){return C.index.add(-1).get()!==$()}function we(){return C.scrollSnapList}function Y(){return C.scrollProgress.get(C.offsetLocation.get())}function $(){return C.index.get()}function ue(){return C.indexPrevious.get()}function H(){return C.slidesInView.get()}function Ce(){return C.slidesInView.get(!1)}function Le(){return L}function ze(){return C}function Re(){return e}function Ke(){return S}function Ve(){return O}const st={canScrollNext:oe,canScrollPrev:le,containerNode:Ke,internalEngine:ze,destroy:Se,off:v,on:x,emit:E,plugins:Le,previousScrollSnap:ue,reInit:k,rootNode:Re,scrollNext:ge,scrollPrev:ee,scrollProgress:Y,scrollSnapList:we,scrollTo:xe,selectedScrollSnap:$,slideNodes:Ve,slidesInView:H,slidesNotInView:Ce};return J(t,n),setTimeout(()=>f.emit("init"),0),st}ep.globalOptions=void 0;function A2(e={},t=[]){const n=I.useRef(e),r=I.useRef(t),[i,s]=I.useState(),[o,c]=I.useState(),f=I.useCallback(()=>{i&&i.reInit(n.current,r.current)},[i]);return I.useEffect(()=>{S2(n.current,e)||(n.current=e,f())},[e,f]),I.useEffect(()=>{KJ(r.current,t)||(r.current=t,f())},[t,f]),I.useEffect(()=>{if(WJ()&&o){ep.globalOptions=A2.globalOptions;const h=ep(o,n.current,r.current);return s(h),()=>h.destroy()}else s(void 0)},[o,s]),[c,i]}A2.globalOptions=void 0;var N$=Symbol.for("react.lazy"),tp=rx[" use ".trim().toString()];function _$(e){return typeof e=="object"&&e!==null&&"then"in e}function Jk(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===N$&&"_payload"in e&&_$(e._payload)}function D$(e){const t=O$(e),n=I.forwardRef((r,i)=>{let{children:s,...o}=r;Jk(s)&&typeof tp=="function"&&(s=tp(s._payload));const c=I.Children.toArray(s),f=c.find(L$);if(f){const h=f.props.children,g=c.map(m=>m===f?I.Children.count(h)>1?I.Children.only(null):I.isValidElement(h)?h.props.children:null:m);return B.jsx(t,{...o,ref:i,children:I.isValidElement(h)?I.cloneElement(h,void 0,g):null})}return B.jsx(t,{...o,ref:i,children:s})});return n.displayName=`${e}.Slot`,n}var R$=D$("Slot");function O$(e){const t=I.forwardRef((n,r)=>{let{children:i,...s}=n;if(Jk(i)&&typeof tp=="function"&&(i=tp(i._payload)),I.isValidElement(i)){const o=P$(i),c=z$(s,i.props);return i.type!==I.Fragment&&(c.ref=r?Xl(r,o):o),I.cloneElement(i,c)}return I.Children.count(i)>1?I.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var I$=Symbol("radix.slottable");function L$(e){return I.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===I$}function z$(e,t){const n={...t};for(const r in t){const i=e[r],s=t[r];/^on[A-Z]/.test(r)?i&&s?n[r]=(...c)=>{const f=s(...c);return i(...c),f}:i&&(n[r]=i):r==="style"?n[r]={...i,...s}:r==="className"&&(n[r]=[i,s].filter(Boolean).join(" "))}return{...e,...n}}function P$(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)}const B5=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,j5=x7,B$=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return j5(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:i,defaultVariants:s}=t,o=Object.keys(i).map(h=>{const g=n==null?void 0:n[h],m=s==null?void 0:s[h];if(g===null)return null;const x=B5(g)||B5(m);return i[h][x]}),c=n&&Object.entries(n).reduce((h,g)=>{let[m,x]=g;return x===void 0||(h[m]=x),h},{}),f=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((h,g)=>{let{class:m,className:x,...v}=g;return Object.entries(v).every(E=>{let[k,T]=E;return Array.isArray(T)?T.includes({...s,...c}[k]):{...s,...c}[k]===T})?[...h,m,x]:h},[]);return j5(e,o,f,n==null?void 0:n.class,n==null?void 0:n.className)},j$=B$("inline-flex items-center justify-center gap-2 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 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{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"}}),T2=I.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...i},s)=>{const o=r?R$:"button";return B.jsx(o,{className:Yt(j$({variant:t,size:n,className:e})),ref:s,...i})});T2.displayName="Button";const $k=I.createContext(null);function Vp(){const e=I.useContext($k);if(!e)throw new Error("useCarousel must be used within a <Carousel />");return e}const Wk=I.forwardRef(({orientation:e="horizontal",opts:t,setApi:n,plugins:r,className:i,children:s,...o},c)=>{const[f,h]=A2({...t,axis:e==="horizontal"?"x":"y"},r),[g,m]=I.useState(!1),[x,v]=I.useState(!1),E=I.useCallback(M=>{M&&(m(M.canScrollPrev()),v(M.canScrollNext()))},[]),k=I.useCallback(()=>{h==null||h.scrollPrev()},[h]),T=I.useCallback(()=>{h==null||h.scrollNext()},[h]),C=I.useCallback(M=>{M.key==="ArrowLeft"?(M.preventDefault(),k()):M.key==="ArrowRight"&&(M.preventDefault(),T())},[k,T]);return I.useEffect(()=>{!h||!n||n(h)},[h,n]),I.useEffect(()=>{if(h)return E(h),h.on("reInit",E),h.on("select",E),()=>{h==null||h.off("select",E)}},[h,E]),B.jsx($k.Provider,{value:{carouselRef:f,api:h,opts:t,orientation:e||((t==null?void 0:t.axis)==="y"?"vertical":"horizontal"),scrollPrev:k,scrollNext:T,canScrollPrev:g,canScrollNext:x},children:B.jsx("div",{ref:c,onKeyDownCapture:C,className:Yt("relative",i),role:"region","aria-roledescription":"carousel",...o,children:s})})});Wk.displayName="Carousel";const Kk=I.forwardRef(({className:e,...t},n)=>{const{carouselRef:r,orientation:i}=Vp();return B.jsx("div",{ref:r,className:"overflow-hidden",children:B.jsx("div",{ref:n,className:Yt("flex",i==="horizontal"?"-ml-4":"-mt-4 flex-col",e),...t})})});Kk.displayName="CarouselContent";const Qk=I.forwardRef(({className:e,...t},n)=>{const{orientation:r}=Vp();return B.jsx("div",{ref:n,role:"group","aria-roledescription":"slide",className:Yt("min-w-0 shrink-0 grow-0 basis-full",r==="horizontal"?"pl-4":"pt-4",e),...t})});Qk.displayName="CarouselItem";const Zk=I.forwardRef(({className:e,variant:t="outline",size:n="icon",...r},i)=>{const{orientation:s,scrollPrev:o,canScrollPrev:c}=Vp();return B.jsxs(T2,{ref:i,variant:t,size:n,className:Yt("absolute h-8 w-8 rounded-full",s==="horizontal"?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!c,onClick:o,...r,children:[B.jsx(x_,{className:"h-4 w-4"}),B.jsx("span",{className:"sr-only",children:"Previous slide"})]})});Zk.displayName="CarouselPrevious";const eE=I.forwardRef(({className:e,variant:t="outline",size:n="icon",...r},i)=>{const{orientation:s,scrollNext:o,canScrollNext:c}=Vp();return B.jsxs(T2,{ref:i,variant:t,size:n,className:Yt("absolute h-8 w-8 rounded-full",s==="horizontal"?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!c,onClick:o,...r,children:[B.jsx(z7,{className:"h-4 w-4"}),B.jsx("span",{className:"sr-only",children:"Next slide"})]})});eE.displayName="CarouselNext";function F$(e){return(e.split("/").pop()||e).replace(/\.(png|jpg|jpeg|gif|svg|webp)$/i,"").replace(/[_-]/g," ").replace(/\s+/g," ").trim()}function V$(e){return`/raw/${e}`}function q$({path:e,globs:t=null,caption:n,captionLabel:r,title:i,subtitle:s,limit:o=null,page:c=0}){const{paths:f,isLoading:h,isEmpty:g}=UJ({path:e,globs:t,limit:o,page:c}),m=GJ(f.length),x=I.useMemo(()=>f.map(v=>({src:V$(v),label:F$(v)})),[f]);return h?B.jsx("div",{className:"not-prose py-4 md:py-6",children:B.jsx("div",{className:"grid grid-cols-3 gap-2 sm:gap-4 max-w-[var(--gallery-width)] mx-auto",children:[...Array(3)].map((v,E)=>B.jsx("div",{className:"aspect-[4/3] bg-muted/30 animate-pulse",style:{animationDelay:`${E*100}ms`}},E))})}):g?B.jsx("div",{className:"not-prose py-16 text-center",children:B.jsxs("div",{className:"inline-flex items-center gap-3 text-muted-foreground/60",children:[B.jsx(B7,{className:"h-4 w-4"}),B.jsx("span",{className:"font-mono text-sm tracking-wide",children:"no image(s) found"})]})}):B.jsxs(B.Fragment,{children:[B.jsxs("div",{className:"rounded-lg not-prose flex flex-col gap-0 relative p-4 -mx-[calc((var(--gallery-width)-var(--content-width))/2+var(--page-padding))]",children:[B.jsx(YJ,{title:i,subtitle:s}),B.jsxs(Wk,{children:[B.jsx(Kk,{children:x.map((v,E)=>B.jsx(Qk,{className:"mx-auto md:basis-1/2 lg:basis-1/3 cursor-pointer transition-transform duration-700 ease-out-expo hover:scale-[1.02]",onClick:()=>m.open(E),children:B.jsx(XJ,{src:v.src,alt:v.label})},E))}),x.length>3&&B.jsxs(B.Fragment,{children:[B.jsx(Zk,{}),B.jsx(eE,{})]})]}),B.jsx(JJ,{caption:n,label:r})]}),m.isOpen&&m.selectedIndex!==null&&B.jsx(PY,{images:x,selectedIndex:m.selectedIndex,onClose:m.close,onPrevious:m.goToPrevious,onNext:m.goToNext})]})}/*! js-yaml 4.1.1 https://github.com/nodeca/js-yaml @license MIT */function tE(e){return typeof e>"u"||e===null}function U$(e){return typeof e=="object"&&e!==null}function H$(e){return Array.isArray(e)?e:tE(e)?[]:[e]}function G$(e,t){var n,r,i,s;if(t)for(s=Object.keys(t),n=0,r=s.length;n<r;n+=1)i=s[n],e[i]=t[i];return e}function X$(e,t){var n="",r;for(r=0;r<t;r+=1)n+=e;return n}function Y$(e){return e===0&&Number.NEGATIVE_INFINITY===1/e}var J$=tE,$$=U$,W$=H$,K$=X$,Q$=Y$,Z$=G$,dr={isNothing:J$,isObject:$$,toArray:W$,repeat:K$,isNegativeZero:Q$,extend:Z$};function nE(e,t){var n="",r=e.reason||"(unknown reason)";return e.mark?(e.mark.name&&(n+='in "'+e.mark.name+'" '),n+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")",!t&&e.mark.snippet&&(n+=`
527
-
528
- `+e.mark.snippet),r+" "+n):r}function s0(e,t){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=t,this.message=nE(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}s0.prototype=Object.create(Error.prototype);s0.prototype.constructor=s0;s0.prototype.toString=function(t){return this.name+": "+nE(this,t)};var Ha=s0;function sg(e,t,n,r,i){var s="",o="",c=Math.floor(i/2)-1;return r-t>c&&(s=" ... ",t=r-c+s.length),n-r>c&&(o=" ...",n=r+c-o.length),{str:s+e.slice(t,n).replace(/\t/g,"→")+o,pos:r-t+s.length}}function lg(e,t){return dr.repeat(" ",t-e.length)+e}function eW(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),typeof t.indent!="number"&&(t.indent=1),typeof t.linesBefore!="number"&&(t.linesBefore=3),typeof t.linesAfter!="number"&&(t.linesAfter=2);for(var n=/\r?\n|\r|\0/g,r=[0],i=[],s,o=-1;s=n.exec(e.buffer);)i.push(s.index),r.push(s.index+s[0].length),e.position<=s.index&&o<0&&(o=r.length-2);o<0&&(o=r.length-1);var c="",f,h,g=Math.min(e.line+t.linesAfter,i.length).toString().length,m=t.maxLength-(t.indent+g+3);for(f=1;f<=t.linesBefore&&!(o-f<0);f++)h=sg(e.buffer,r[o-f],i[o-f],e.position-(r[o]-r[o-f]),m),c=dr.repeat(" ",t.indent)+lg((e.line-f+1).toString(),g)+" | "+h.str+`
529
- `+c;for(h=sg(e.buffer,r[o],i[o],e.position,m),c+=dr.repeat(" ",t.indent)+lg((e.line+1).toString(),g)+" | "+h.str+`
530
- `,c+=dr.repeat("-",t.indent+g+3+h.pos)+`^
531
- `,f=1;f<=t.linesAfter&&!(o+f>=i.length);f++)h=sg(e.buffer,r[o+f],i[o+f],e.position-(r[o]-r[o+f]),m),c+=dr.repeat(" ",t.indent)+lg((e.line+f+1).toString(),g)+" | "+h.str+`
532
- `;return c.replace(/\n$/,"")}var tW=eW,nW=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],rW=["scalar","sequence","mapping"];function iW(e){var t={};return e!==null&&Object.keys(e).forEach(function(n){e[n].forEach(function(r){t[String(r)]=n})}),t}function aW(e,t){if(t=t||{},Object.keys(t).forEach(function(n){if(nW.indexOf(n)===-1)throw new Ha('Unknown option "'+n+'" is met in definition of "'+e+'" YAML type.')}),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(n){return n},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=iW(t.styleAliases||null),rW.indexOf(this.kind)===-1)throw new Ha('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}var lr=aW;function F5(e,t){var n=[];return e[t].forEach(function(r){var i=n.length;n.forEach(function(s,o){s.tag===r.tag&&s.kind===r.kind&&s.multi===r.multi&&(i=o)}),n[i]=r}),n}function sW(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},t,n;function r(i){i.multi?(e.multi[i.kind].push(i),e.multi.fallback.push(i)):e[i.kind][i.tag]=e.fallback[i.tag]=i}for(t=0,n=arguments.length;t<n;t+=1)arguments[t].forEach(r);return e}function tx(e){return this.extend(e)}tx.prototype.extend=function(t){var n=[],r=[];if(t instanceof lr)r.push(t);else if(Array.isArray(t))r=r.concat(t);else if(t&&(Array.isArray(t.implicit)||Array.isArray(t.explicit)))t.implicit&&(n=n.concat(t.implicit)),t.explicit&&(r=r.concat(t.explicit));else throw new Ha("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");n.forEach(function(s){if(!(s instanceof lr))throw new Ha("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(s.loadKind&&s.loadKind!=="scalar")throw new Ha("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(s.multi)throw new Ha("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),r.forEach(function(s){if(!(s instanceof lr))throw new Ha("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var i=Object.create(tx.prototype);return i.implicit=(this.implicit||[]).concat(n),i.explicit=(this.explicit||[]).concat(r),i.compiledImplicit=F5(i,"implicit"),i.compiledExplicit=F5(i,"explicit"),i.compiledTypeMap=sW(i.compiledImplicit,i.compiledExplicit),i};var lW=tx,oW=new lr("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return e!==null?e:""}}),uW=new lr("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return e!==null?e:[]}}),cW=new lr("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return e!==null?e:{}}}),fW=new lW({explicit:[oW,uW,cW]});function hW(e){if(e===null)return!0;var t=e.length;return t===1&&e==="~"||t===4&&(e==="null"||e==="Null"||e==="NULL")}function pW(){return null}function dW(e){return e===null}var mW=new lr("tag:yaml.org,2002:null",{kind:"scalar",resolve:hW,construct:pW,predicate:dW,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function gW(e){if(e===null)return!1;var t=e.length;return t===4&&(e==="true"||e==="True"||e==="TRUE")||t===5&&(e==="false"||e==="False"||e==="FALSE")}function xW(e){return e==="true"||e==="True"||e==="TRUE"}function yW(e){return Object.prototype.toString.call(e)==="[object Boolean]"}var vW=new lr("tag:yaml.org,2002:bool",{kind:"scalar",resolve:gW,construct:xW,predicate:yW,represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"});function bW(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function wW(e){return 48<=e&&e<=55}function SW(e){return 48<=e&&e<=57}function kW(e){if(e===null)return!1;var t=e.length,n=0,r=!1,i;if(!t)return!1;if(i=e[n],(i==="-"||i==="+")&&(i=e[++n]),i==="0"){if(n+1===t)return!0;if(i=e[++n],i==="b"){for(n++;n<t;n++)if(i=e[n],i!=="_"){if(i!=="0"&&i!=="1")return!1;r=!0}return r&&i!=="_"}if(i==="x"){for(n++;n<t;n++)if(i=e[n],i!=="_"){if(!bW(e.charCodeAt(n)))return!1;r=!0}return r&&i!=="_"}if(i==="o"){for(n++;n<t;n++)if(i=e[n],i!=="_"){if(!wW(e.charCodeAt(n)))return!1;r=!0}return r&&i!=="_"}}if(i==="_")return!1;for(;n<t;n++)if(i=e[n],i!=="_"){if(!SW(e.charCodeAt(n)))return!1;r=!0}return!(!r||i==="_")}function EW(e){var t=e,n=1,r;if(t.indexOf("_")!==-1&&(t=t.replace(/_/g,"")),r=t[0],(r==="-"||r==="+")&&(r==="-"&&(n=-1),t=t.slice(1),r=t[0]),t==="0")return 0;if(r==="0"){if(t[1]==="b")return n*parseInt(t.slice(2),2);if(t[1]==="x")return n*parseInt(t.slice(2),16);if(t[1]==="o")return n*parseInt(t.slice(2),8)}return n*parseInt(t,10)}function CW(e){return Object.prototype.toString.call(e)==="[object Number]"&&e%1===0&&!dr.isNegativeZero(e)}var AW=new lr("tag:yaml.org,2002:int",{kind:"scalar",resolve:kW,construct:EW,predicate:CW,represent:{binary:function(e){return e>=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),TW=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function MW(e){return!(e===null||!TW.test(e)||e[e.length-1]==="_")}function NW(e){var t,n;return t=e.replace(/_/g,"").toLowerCase(),n=t[0]==="-"?-1:1,"+-".indexOf(t[0])>=0&&(t=t.slice(1)),t===".inf"?n===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:t===".nan"?NaN:n*parseFloat(t,10)}var _W=/^[-+]?[0-9]+e/;function DW(e,t){var n;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(dr.isNegativeZero(e))return"-0.0";return n=e.toString(10),_W.test(n)?n.replace("e",".e"):n}function RW(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||dr.isNegativeZero(e))}var OW=new lr("tag:yaml.org,2002:float",{kind:"scalar",resolve:MW,construct:NW,predicate:RW,represent:DW,defaultStyle:"lowercase"}),IW=fW.extend({implicit:[mW,vW,AW,OW]}),LW=IW,rE=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),iE=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function zW(e){return e===null?!1:rE.exec(e)!==null||iE.exec(e)!==null}function PW(e){var t,n,r,i,s,o,c,f=0,h=null,g,m,x;if(t=rE.exec(e),t===null&&(t=iE.exec(e)),t===null)throw new Error("Date resolve error");if(n=+t[1],r=+t[2]-1,i=+t[3],!t[4])return new Date(Date.UTC(n,r,i));if(s=+t[4],o=+t[5],c=+t[6],t[7]){for(f=t[7].slice(0,3);f.length<3;)f+="0";f=+f}return t[9]&&(g=+t[10],m=+(t[11]||0),h=(g*60+m)*6e4,t[9]==="-"&&(h=-h)),x=new Date(Date.UTC(n,r,i,s,o,c,f)),h&&x.setTime(x.getTime()-h),x}function BW(e){return e.toISOString()}var jW=new lr("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:zW,construct:PW,instanceOf:Date,represent:BW});function FW(e){return e==="<<"||e===null}var VW=new lr("tag:yaml.org,2002:merge",{kind:"scalar",resolve:FW}),M2=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
533
- \r`;function qW(e){if(e===null)return!1;var t,n,r=0,i=e.length,s=M2;for(n=0;n<i;n++)if(t=s.indexOf(e.charAt(n)),!(t>64)){if(t<0)return!1;r+=6}return r%8===0}function UW(e){var t,n,r=e.replace(/[\r\n=]/g,""),i=r.length,s=M2,o=0,c=[];for(t=0;t<i;t++)t%4===0&&t&&(c.push(o>>16&255),c.push(o>>8&255),c.push(o&255)),o=o<<6|s.indexOf(r.charAt(t));return n=i%4*6,n===0?(c.push(o>>16&255),c.push(o>>8&255),c.push(o&255)):n===18?(c.push(o>>10&255),c.push(o>>2&255)):n===12&&c.push(o>>4&255),new Uint8Array(c)}function HW(e){var t="",n=0,r,i,s=e.length,o=M2;for(r=0;r<s;r++)r%3===0&&r&&(t+=o[n>>18&63],t+=o[n>>12&63],t+=o[n>>6&63],t+=o[n&63]),n=(n<<8)+e[r];return i=s%3,i===0?(t+=o[n>>18&63],t+=o[n>>12&63],t+=o[n>>6&63],t+=o[n&63]):i===2?(t+=o[n>>10&63],t+=o[n>>4&63],t+=o[n<<2&63],t+=o[64]):i===1&&(t+=o[n>>2&63],t+=o[n<<4&63],t+=o[64],t+=o[64]),t}function GW(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"}var XW=new lr("tag:yaml.org,2002:binary",{kind:"scalar",resolve:qW,construct:UW,predicate:GW,represent:HW}),YW=Object.prototype.hasOwnProperty,JW=Object.prototype.toString;function $W(e){if(e===null)return!0;var t=[],n,r,i,s,o,c=e;for(n=0,r=c.length;n<r;n+=1){if(i=c[n],o=!1,JW.call(i)!=="[object Object]")return!1;for(s in i)if(YW.call(i,s))if(!o)o=!0;else return!1;if(!o)return!1;if(t.indexOf(s)===-1)t.push(s);else return!1}return!0}function WW(e){return e!==null?e:[]}var KW=new lr("tag:yaml.org,2002:omap",{kind:"sequence",resolve:$W,construct:WW}),QW=Object.prototype.toString;function ZW(e){if(e===null)return!0;var t,n,r,i,s,o=e;for(s=new Array(o.length),t=0,n=o.length;t<n;t+=1){if(r=o[t],QW.call(r)!=="[object Object]"||(i=Object.keys(r),i.length!==1))return!1;s[t]=[i[0],r[i[0]]]}return!0}function eK(e){if(e===null)return[];var t,n,r,i,s,o=e;for(s=new Array(o.length),t=0,n=o.length;t<n;t+=1)r=o[t],i=Object.keys(r),s[t]=[i[0],r[i[0]]];return s}var tK=new lr("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:ZW,construct:eK}),nK=Object.prototype.hasOwnProperty;function rK(e){if(e===null)return!0;var t,n=e;for(t in n)if(nK.call(n,t)&&n[t]!==null)return!1;return!0}function iK(e){return e!==null?e:{}}var aK=new lr("tag:yaml.org,2002:set",{kind:"mapping",resolve:rK,construct:iK}),sK=LW.extend({implicit:[jW,VW],explicit:[XW,KW,tK,aK]}),ol=Object.prototype.hasOwnProperty,np=1,aE=2,sE=3,rp=4,og=1,lK=2,V5=3,oK=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,uK=/[\x85\u2028\u2029]/,cK=/[,\[\]\{\}]/,lE=/^(?:!|!!|![a-z\-]+!)$/i,oE=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function q5(e){return Object.prototype.toString.call(e)}function ua(e){return e===10||e===13}function Vl(e){return e===9||e===32}function zr(e){return e===9||e===32||e===10||e===13}function Jo(e){return e===44||e===91||e===93||e===123||e===125}function fK(e){var t;return 48<=e&&e<=57?e-48:(t=e|32,97<=t&&t<=102?t-97+10:-1)}function hK(e){return e===120?2:e===117?4:e===85?8:0}function pK(e){return 48<=e&&e<=57?e-48:-1}function U5(e){return e===48?"\0":e===97?"\x07":e===98?"\b":e===116||e===9?" ":e===110?`
534
- `:e===118?"\v":e===102?"\f":e===114?"\r":e===101?"\x1B":e===32?" ":e===34?'"':e===47?"/":e===92?"\\":e===78?"…":e===95?" ":e===76?"\u2028":e===80?"\u2029":""}function dK(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}function uE(e,t,n){t==="__proto__"?Object.defineProperty(e,t,{configurable:!0,enumerable:!0,writable:!0,value:n}):e[t]=n}var cE=new Array(256),fE=new Array(256);for(var Go=0;Go<256;Go++)cE[Go]=U5(Go)?1:0,fE[Go]=U5(Go);function mK(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||sK,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function hE(e,t){var n={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return n.snippet=tW(n),new Ha(t,n)}function Qe(e,t){throw hE(e,t)}function ip(e,t){e.onWarning&&e.onWarning.call(null,hE(e,t))}var H5={YAML:function(t,n,r){var i,s,o;t.version!==null&&Qe(t,"duplication of %YAML directive"),r.length!==1&&Qe(t,"YAML directive accepts exactly one argument"),i=/^([0-9]+)\.([0-9]+)$/.exec(r[0]),i===null&&Qe(t,"ill-formed argument of the YAML directive"),s=parseInt(i[1],10),o=parseInt(i[2],10),s!==1&&Qe(t,"unacceptable YAML version of the document"),t.version=r[0],t.checkLineBreaks=o<2,o!==1&&o!==2&&ip(t,"unsupported YAML version of the document")},TAG:function(t,n,r){var i,s;r.length!==2&&Qe(t,"TAG directive accepts exactly two arguments"),i=r[0],s=r[1],lE.test(i)||Qe(t,"ill-formed tag handle (first argument) of the TAG directive"),ol.call(t.tagMap,i)&&Qe(t,'there is a previously declared suffix for "'+i+'" tag handle'),oE.test(s)||Qe(t,"ill-formed tag prefix (second argument) of the TAG directive");try{s=decodeURIComponent(s)}catch{Qe(t,"tag prefix is malformed: "+s)}t.tagMap[i]=s}};function Qs(e,t,n,r){var i,s,o,c;if(t<n){if(c=e.input.slice(t,n),r)for(i=0,s=c.length;i<s;i+=1)o=c.charCodeAt(i),o===9||32<=o&&o<=1114111||Qe(e,"expected valid JSON character");else oK.test(c)&&Qe(e,"the stream contains non-printable characters");e.result+=c}}function G5(e,t,n,r){var i,s,o,c;for(dr.isObject(n)||Qe(e,"cannot merge mappings; the provided source object is unacceptable"),i=Object.keys(n),o=0,c=i.length;o<c;o+=1)s=i[o],ol.call(t,s)||(uE(t,s,n[s]),r[s]=!0)}function $o(e,t,n,r,i,s,o,c,f){var h,g;if(Array.isArray(i))for(i=Array.prototype.slice.call(i),h=0,g=i.length;h<g;h+=1)Array.isArray(i[h])&&Qe(e,"nested arrays are not supported inside keys"),typeof i=="object"&&q5(i[h])==="[object Object]"&&(i[h]="[object Object]");if(typeof i=="object"&&q5(i)==="[object Object]"&&(i="[object Object]"),i=String(i),t===null&&(t={}),r==="tag:yaml.org,2002:merge")if(Array.isArray(s))for(h=0,g=s.length;h<g;h+=1)G5(e,t,s[h],n);else G5(e,t,s,n);else!e.json&&!ol.call(n,i)&&ol.call(t,i)&&(e.line=o||e.line,e.lineStart=c||e.lineStart,e.position=f||e.position,Qe(e,"duplicated mapping key")),uE(t,i,s),delete n[i];return t}function N2(e){var t;t=e.input.charCodeAt(e.position),t===10?e.position++:t===13?(e.position++,e.input.charCodeAt(e.position)===10&&e.position++):Qe(e,"a line break is expected"),e.line+=1,e.lineStart=e.position,e.firstTabInLine=-1}function Bn(e,t,n){for(var r=0,i=e.input.charCodeAt(e.position);i!==0;){for(;Vl(i);)i===9&&e.firstTabInLine===-1&&(e.firstTabInLine=e.position),i=e.input.charCodeAt(++e.position);if(t&&i===35)do i=e.input.charCodeAt(++e.position);while(i!==10&&i!==13&&i!==0);if(ua(i))for(N2(e),i=e.input.charCodeAt(e.position),r++,e.lineIndent=0;i===32;)e.lineIndent++,i=e.input.charCodeAt(++e.position);else break}return n!==-1&&r!==0&&e.lineIndent<n&&ip(e,"deficient indentation"),r}function qp(e){var t=e.position,n;return n=e.input.charCodeAt(t),!!((n===45||n===46)&&n===e.input.charCodeAt(t+1)&&n===e.input.charCodeAt(t+2)&&(t+=3,n=e.input.charCodeAt(t),n===0||zr(n)))}function _2(e,t){t===1?e.result+=" ":t>1&&(e.result+=dr.repeat(`
535
- `,t-1))}function gK(e,t,n){var r,i,s,o,c,f,h,g,m=e.kind,x=e.result,v;if(v=e.input.charCodeAt(e.position),zr(v)||Jo(v)||v===35||v===38||v===42||v===33||v===124||v===62||v===39||v===34||v===37||v===64||v===96||(v===63||v===45)&&(i=e.input.charCodeAt(e.position+1),zr(i)||n&&Jo(i)))return!1;for(e.kind="scalar",e.result="",s=o=e.position,c=!1;v!==0;){if(v===58){if(i=e.input.charCodeAt(e.position+1),zr(i)||n&&Jo(i))break}else if(v===35){if(r=e.input.charCodeAt(e.position-1),zr(r))break}else{if(e.position===e.lineStart&&qp(e)||n&&Jo(v))break;if(ua(v))if(f=e.line,h=e.lineStart,g=e.lineIndent,Bn(e,!1,-1),e.lineIndent>=t){c=!0,v=e.input.charCodeAt(e.position);continue}else{e.position=o,e.line=f,e.lineStart=h,e.lineIndent=g;break}}c&&(Qs(e,s,o,!1),_2(e,e.line-f),s=o=e.position,c=!1),Vl(v)||(o=e.position+1),v=e.input.charCodeAt(++e.position)}return Qs(e,s,o,!1),e.result?!0:(e.kind=m,e.result=x,!1)}function xK(e,t){var n,r,i;if(n=e.input.charCodeAt(e.position),n!==39)return!1;for(e.kind="scalar",e.result="",e.position++,r=i=e.position;(n=e.input.charCodeAt(e.position))!==0;)if(n===39)if(Qs(e,r,e.position,!0),n=e.input.charCodeAt(++e.position),n===39)r=e.position,e.position++,i=e.position;else return!0;else ua(n)?(Qs(e,r,i,!0),_2(e,Bn(e,!1,t)),r=i=e.position):e.position===e.lineStart&&qp(e)?Qe(e,"unexpected end of the document within a single quoted scalar"):(e.position++,i=e.position);Qe(e,"unexpected end of the stream within a single quoted scalar")}function yK(e,t){var n,r,i,s,o,c;if(c=e.input.charCodeAt(e.position),c!==34)return!1;for(e.kind="scalar",e.result="",e.position++,n=r=e.position;(c=e.input.charCodeAt(e.position))!==0;){if(c===34)return Qs(e,n,e.position,!0),e.position++,!0;if(c===92){if(Qs(e,n,e.position,!0),c=e.input.charCodeAt(++e.position),ua(c))Bn(e,!1,t);else if(c<256&&cE[c])e.result+=fE[c],e.position++;else if((o=hK(c))>0){for(i=o,s=0;i>0;i--)c=e.input.charCodeAt(++e.position),(o=fK(c))>=0?s=(s<<4)+o:Qe(e,"expected hexadecimal character");e.result+=dK(s),e.position++}else Qe(e,"unknown escape sequence");n=r=e.position}else ua(c)?(Qs(e,n,r,!0),_2(e,Bn(e,!1,t)),n=r=e.position):e.position===e.lineStart&&qp(e)?Qe(e,"unexpected end of the document within a double quoted scalar"):(e.position++,r=e.position)}Qe(e,"unexpected end of the stream within a double quoted scalar")}function vK(e,t){var n=!0,r,i,s,o=e.tag,c,f=e.anchor,h,g,m,x,v,E=Object.create(null),k,T,C,M;if(M=e.input.charCodeAt(e.position),M===91)g=93,v=!1,c=[];else if(M===123)g=125,v=!0,c={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=c),M=e.input.charCodeAt(++e.position);M!==0;){if(Bn(e,!0,t),M=e.input.charCodeAt(e.position),M===g)return e.position++,e.tag=o,e.anchor=f,e.kind=v?"mapping":"sequence",e.result=c,!0;n?M===44&&Qe(e,"expected the node content, but found ','"):Qe(e,"missed comma between flow collection entries"),T=k=C=null,m=x=!1,M===63&&(h=e.input.charCodeAt(e.position+1),zr(h)&&(m=x=!0,e.position++,Bn(e,!0,t))),r=e.line,i=e.lineStart,s=e.position,au(e,t,np,!1,!0),T=e.tag,k=e.result,Bn(e,!0,t),M=e.input.charCodeAt(e.position),(x||e.line===r)&&M===58&&(m=!0,M=e.input.charCodeAt(++e.position),Bn(e,!0,t),au(e,t,np,!1,!0),C=e.result),v?$o(e,c,E,T,k,C,r,i,s):m?c.push($o(e,null,E,T,k,C,r,i,s)):c.push(k),Bn(e,!0,t),M=e.input.charCodeAt(e.position),M===44?(n=!0,M=e.input.charCodeAt(++e.position)):n=!1}Qe(e,"unexpected end of the stream within a flow collection")}function bK(e,t){var n,r,i=og,s=!1,o=!1,c=t,f=0,h=!1,g,m;if(m=e.input.charCodeAt(e.position),m===124)r=!1;else if(m===62)r=!0;else return!1;for(e.kind="scalar",e.result="";m!==0;)if(m=e.input.charCodeAt(++e.position),m===43||m===45)og===i?i=m===43?V5:lK:Qe(e,"repeat of a chomping mode identifier");else if((g=pK(m))>=0)g===0?Qe(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):o?Qe(e,"repeat of an indentation width identifier"):(c=t+g-1,o=!0);else break;if(Vl(m)){do m=e.input.charCodeAt(++e.position);while(Vl(m));if(m===35)do m=e.input.charCodeAt(++e.position);while(!ua(m)&&m!==0)}for(;m!==0;){for(N2(e),e.lineIndent=0,m=e.input.charCodeAt(e.position);(!o||e.lineIndent<c)&&m===32;)e.lineIndent++,m=e.input.charCodeAt(++e.position);if(!o&&e.lineIndent>c&&(c=e.lineIndent),ua(m)){f++;continue}if(e.lineIndent<c){i===V5?e.result+=dr.repeat(`
536
- `,s?1+f:f):i===og&&s&&(e.result+=`
537
- `);break}for(r?Vl(m)?(h=!0,e.result+=dr.repeat(`
538
- `,s?1+f:f)):h?(h=!1,e.result+=dr.repeat(`
539
- `,f+1)):f===0?s&&(e.result+=" "):e.result+=dr.repeat(`
540
- `,f):e.result+=dr.repeat(`
541
- `,s?1+f:f),s=!0,o=!0,f=0,n=e.position;!ua(m)&&m!==0;)m=e.input.charCodeAt(++e.position);Qs(e,n,e.position,!1)}return!0}function X5(e,t){var n,r=e.tag,i=e.anchor,s=[],o,c=!1,f;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=s),f=e.input.charCodeAt(e.position);f!==0&&(e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,Qe(e,"tab characters must not be used in indentation")),!(f!==45||(o=e.input.charCodeAt(e.position+1),!zr(o))));){if(c=!0,e.position++,Bn(e,!0,-1)&&e.lineIndent<=t){s.push(null),f=e.input.charCodeAt(e.position);continue}if(n=e.line,au(e,t,sE,!1,!0),s.push(e.result),Bn(e,!0,-1),f=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&f!==0)Qe(e,"bad indentation of a sequence entry");else if(e.lineIndent<t)break}return c?(e.tag=r,e.anchor=i,e.kind="sequence",e.result=s,!0):!1}function wK(e,t,n){var r,i,s,o,c,f,h=e.tag,g=e.anchor,m={},x=Object.create(null),v=null,E=null,k=null,T=!1,C=!1,M;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=m),M=e.input.charCodeAt(e.position);M!==0;){if(!T&&e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,Qe(e,"tab characters must not be used in indentation")),r=e.input.charCodeAt(e.position+1),s=e.line,(M===63||M===58)&&zr(r))M===63?(T&&($o(e,m,x,v,E,null,o,c,f),v=E=k=null),C=!0,T=!0,i=!0):T?(T=!1,i=!0):Qe(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,M=r;else{if(o=e.line,c=e.lineStart,f=e.position,!au(e,n,aE,!1,!0))break;if(e.line===s){for(M=e.input.charCodeAt(e.position);Vl(M);)M=e.input.charCodeAt(++e.position);if(M===58)M=e.input.charCodeAt(++e.position),zr(M)||Qe(e,"a whitespace character is expected after the key-value separator within a block mapping"),T&&($o(e,m,x,v,E,null,o,c,f),v=E=k=null),C=!0,T=!1,i=!1,v=e.tag,E=e.result;else if(C)Qe(e,"can not read an implicit mapping pair; a colon is missed");else return e.tag=h,e.anchor=g,!0}else if(C)Qe(e,"can not read a block mapping entry; a multiline key may not be an implicit key");else return e.tag=h,e.anchor=g,!0}if((e.line===s||e.lineIndent>t)&&(T&&(o=e.line,c=e.lineStart,f=e.position),au(e,t,rp,!0,i)&&(T?E=e.result:k=e.result),T||($o(e,m,x,v,E,k,o,c,f),v=E=k=null),Bn(e,!0,-1),M=e.input.charCodeAt(e.position)),(e.line===s||e.lineIndent>t)&&M!==0)Qe(e,"bad indentation of a mapping entry");else if(e.lineIndent<t)break}return T&&$o(e,m,x,v,E,null,o,c,f),C&&(e.tag=h,e.anchor=g,e.kind="mapping",e.result=m),C}function SK(e){var t,n=!1,r=!1,i,s,o;if(o=e.input.charCodeAt(e.position),o!==33)return!1;if(e.tag!==null&&Qe(e,"duplication of a tag property"),o=e.input.charCodeAt(++e.position),o===60?(n=!0,o=e.input.charCodeAt(++e.position)):o===33?(r=!0,i="!!",o=e.input.charCodeAt(++e.position)):i="!",t=e.position,n){do o=e.input.charCodeAt(++e.position);while(o!==0&&o!==62);e.position<e.length?(s=e.input.slice(t,e.position),o=e.input.charCodeAt(++e.position)):Qe(e,"unexpected end of the stream within a verbatim tag")}else{for(;o!==0&&!zr(o);)o===33&&(r?Qe(e,"tag suffix cannot contain exclamation marks"):(i=e.input.slice(t-1,e.position+1),lE.test(i)||Qe(e,"named tag handle cannot contain such characters"),r=!0,t=e.position+1)),o=e.input.charCodeAt(++e.position);s=e.input.slice(t,e.position),cK.test(s)&&Qe(e,"tag suffix cannot contain flow indicator characters")}s&&!oE.test(s)&&Qe(e,"tag name cannot contain such characters: "+s);try{s=decodeURIComponent(s)}catch{Qe(e,"tag name is malformed: "+s)}return n?e.tag=s:ol.call(e.tagMap,i)?e.tag=e.tagMap[i]+s:i==="!"?e.tag="!"+s:i==="!!"?e.tag="tag:yaml.org,2002:"+s:Qe(e,'undeclared tag handle "'+i+'"'),!0}function kK(e){var t,n;if(n=e.input.charCodeAt(e.position),n!==38)return!1;for(e.anchor!==null&&Qe(e,"duplication of an anchor property"),n=e.input.charCodeAt(++e.position),t=e.position;n!==0&&!zr(n)&&!Jo(n);)n=e.input.charCodeAt(++e.position);return e.position===t&&Qe(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(t,e.position),!0}function EK(e){var t,n,r;if(r=e.input.charCodeAt(e.position),r!==42)return!1;for(r=e.input.charCodeAt(++e.position),t=e.position;r!==0&&!zr(r)&&!Jo(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&Qe(e,"name of an alias node must contain at least one character"),n=e.input.slice(t,e.position),ol.call(e.anchorMap,n)||Qe(e,'unidentified alias "'+n+'"'),e.result=e.anchorMap[n],Bn(e,!0,-1),!0}function au(e,t,n,r,i){var s,o,c,f=1,h=!1,g=!1,m,x,v,E,k,T;if(e.listener!==null&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,s=o=c=rp===n||sE===n,r&&Bn(e,!0,-1)&&(h=!0,e.lineIndent>t?f=1:e.lineIndent===t?f=0:e.lineIndent<t&&(f=-1)),f===1)for(;SK(e)||kK(e);)Bn(e,!0,-1)?(h=!0,c=s,e.lineIndent>t?f=1:e.lineIndent===t?f=0:e.lineIndent<t&&(f=-1)):c=!1;if(c&&(c=h||i),(f===1||rp===n)&&(np===n||aE===n?k=t:k=t+1,T=e.position-e.lineStart,f===1?c&&(X5(e,T)||wK(e,T,k))||vK(e,k)?g=!0:(o&&bK(e,k)||xK(e,k)||yK(e,k)?g=!0:EK(e)?(g=!0,(e.tag!==null||e.anchor!==null)&&Qe(e,"alias node should not have any properties")):gK(e,k,np===n)&&(g=!0,e.tag===null&&(e.tag="?")),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):f===0&&(g=c&&X5(e,T))),e.tag===null)e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);else if(e.tag==="?"){for(e.result!==null&&e.kind!=="scalar"&&Qe(e,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+e.kind+'"'),m=0,x=e.implicitTypes.length;m<x;m+=1)if(E=e.implicitTypes[m],E.resolve(e.result)){e.result=E.construct(e.result),e.tag=E.tag,e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);break}}else if(e.tag!=="!"){if(ol.call(e.typeMap[e.kind||"fallback"],e.tag))E=e.typeMap[e.kind||"fallback"][e.tag];else for(E=null,v=e.typeMap.multi[e.kind||"fallback"],m=0,x=v.length;m<x;m+=1)if(e.tag.slice(0,v[m].tag.length)===v[m].tag){E=v[m];break}E||Qe(e,"unknown tag !<"+e.tag+">"),e.result!==null&&E.kind!==e.kind&&Qe(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+E.kind+'", not "'+e.kind+'"'),E.resolve(e.result,e.tag)?(e.result=E.construct(e.result,e.tag),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):Qe(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return e.listener!==null&&e.listener("close",e),e.tag!==null||e.anchor!==null||g}function CK(e){var t=e.position,n,r,i,s=!1,o;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(o=e.input.charCodeAt(e.position))!==0&&(Bn(e,!0,-1),o=e.input.charCodeAt(e.position),!(e.lineIndent>0||o!==37));){for(s=!0,o=e.input.charCodeAt(++e.position),n=e.position;o!==0&&!zr(o);)o=e.input.charCodeAt(++e.position);for(r=e.input.slice(n,e.position),i=[],r.length<1&&Qe(e,"directive name must not be less than one character in length");o!==0;){for(;Vl(o);)o=e.input.charCodeAt(++e.position);if(o===35){do o=e.input.charCodeAt(++e.position);while(o!==0&&!ua(o));break}if(ua(o))break;for(n=e.position;o!==0&&!zr(o);)o=e.input.charCodeAt(++e.position);i.push(e.input.slice(n,e.position))}o!==0&&N2(e),ol.call(H5,r)?H5[r](e,r,i):ip(e,'unknown document directive "'+r+'"')}if(Bn(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,Bn(e,!0,-1)):s&&Qe(e,"directives end mark is expected"),au(e,e.lineIndent-1,rp,!1,!0),Bn(e,!0,-1),e.checkLineBreaks&&uK.test(e.input.slice(t,e.position))&&ip(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&qp(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,Bn(e,!0,-1));return}if(e.position<e.length-1)Qe(e,"end of the stream or a document separator is expected");else return}function AK(e,t){e=String(e),t=t||{},e.length!==0&&(e.charCodeAt(e.length-1)!==10&&e.charCodeAt(e.length-1)!==13&&(e+=`
542
- `),e.charCodeAt(0)===65279&&(e=e.slice(1)));var n=new mK(e,t),r=e.indexOf("\0");for(r!==-1&&(n.position=r,Qe(n,"null byte is not allowed in input")),n.input+="\0";n.input.charCodeAt(n.position)===32;)n.lineIndent+=1,n.position+=1;for(;n.position<n.length-1;)CK(n);return n.documents}function TK(e,t){var n=AK(e,t);if(n.length!==0){if(n.length===1)return n[0];throw new Ha("expected a single document in the stream, but found more")}}var MK=TK,NK={load:MK},_K=NK.load;function pE(e,t){if(!t||t===".")return e;const n=t.startsWith(".")?t.slice(1):t;if(!n)return e;const r=[];let i="",s=0;for(;s<n.length;){const c=n[s];if(c===".")i&&(r.push({type:"key",value:i}),i=""),s++;else if(c==="["){i&&(r.push({type:"key",value:i}),i="");const f=n.indexOf("]",s);if(f===-1)return;const h=n.slice(s+1,f);if(h==="")r.push({type:"all",value:0});else{const g=parseInt(h,10);if(isNaN(g))return;r.push({type:"index",value:g})}s=f+1}else i+=c,s++}i&&r.push({type:"key",value:i});let o=e;for(const c of r){if(o==null)return;if(c.type==="key"){if(typeof o!="object"||Array.isArray(o))return;o=o[c.value]}else if(c.type==="index"){if(!Array.isArray(o))return;o=o[c.value]}else if(c.type==="all"&&!Array.isArray(o))return}return o}function Pr(e){return e===null?"null":Array.isArray(e)?"array":typeof e=="object"?"object":typeof e=="boolean"?"boolean":typeof e=="number"?"number":"string"}function DK(e){if(Math.abs(e)<1e-4&&e!==0||Math.abs(e)>=1e4)return e.toExponential(1);if(Number.isInteger(e))return e.toString();const t=e.toString();return t.length>6?e.toPrecision(4):t}function l0(e){return e===null?"null":typeof e=="boolean"?e?"true":"false":typeof e=="number"?DK(e):Array.isArray(e)?`[${e.length}]`:typeof e=="object"?"{...}":String(e)}function dE(e,t){if(t.endsWith(".yaml")||t.endsWith(".yml"))try{return _K(e)}catch{return null}if(t.endsWith(".json"))try{return JSON.parse(e)}catch{return null}return null}function RK(e){const n=(e.startsWith(".")?e.slice(1):e).split(".");return n[n.length-1].replace(/\[\d+\]/g,"")}function OK(e,t){const n={};for(const r of t){const i=pE(e,r);if(i===void 0)continue;const s=r.startsWith(".")?r.slice(1):r;let o;if(s.includes("["))o=s.replace(/\[\]/g,"").replace(/\[(\d+)\]/g,"_$1");else{const c=s.split(".");o=c[c.length-1]}n[o]=i}return n}function mE({entries:e}){return e.length===0?null:B.jsx("div",{className:"grid grid-cols-[repeat(auto-fill,minmax(180px,1fr))] gap-x-6 gap-y-px",children:e.map(([t,n])=>{const r=Pr(n);return B.jsxs("div",{className:"flex items-baseline justify-between gap-2 py-1 group hover:bg-muted/30 -mx-1.5 px-1.5 rounded-sm transition-colors",children:[B.jsx("span",{className:"text-[11px] text-muted-foreground font-mono truncate",children:t}),B.jsx("span",{className:Yt("text-[11px] font-mono tabular-nums font-medium shrink-0",r==="number"&&"text-foreground",r==="string"&&"text-amber-600 dark:text-amber-500",r==="boolean"&&"text-cyan-600 dark:text-cyan-500",r==="null"&&"text-muted-foreground/50"),children:r==="string"?`"${l0(n)}"`:l0(n)})]},t)})})}function ap({name:e,data:t,depth:n=0}){const[r,i]=I.useState(!1),s=Object.entries(t),o=s.filter(([,f])=>{const h=Pr(f);return h!=="object"&&h!=="array"}),c=s.filter(([,f])=>{const h=Pr(f);return h==="object"||h==="array"});return B.jsxs("div",{className:Yt(n===0&&"mb-4 last:mb-0"),children:[B.jsxs("button",{onClick:()=>i(!r),className:Yt("flex items-center gap-2 w-full text-left group mb-1.5",n===0&&"pb-1 border-b border-border/50"),children:[B.jsx("span",{className:Yt("text-[10px] text-muted-foreground/60 transition-transform duration-150 select-none",r&&"-rotate-90"),children:r?"+":"-"}),B.jsx("span",{className:Yt("font-mono text-[11px] uppercase tracking-widest",n===0?"text-foreground/80 font-semibold":"text-muted-foreground/70"),children:e.replace(/_/g," ")}),B.jsx("span",{className:"text-[9px] font-mono text-muted-foreground/40 ml-auto",children:s.length})]}),!r&&B.jsxs("div",{className:Yt(n>0&&"pl-3 ml-1 border-l border-border/40"),children:[o.length>0&&B.jsx("div",{className:Yt(c.length>0&&"mb-3"),children:B.jsx(mE,{entries:o})}),c.map(([f,h])=>{if(Pr(h)==="array"){const m=h;return B.jsxs("div",{className:"mb-2 last:mb-0",children:[B.jsxs("div",{className:"text-[10px] font-mono text-muted-foreground/60 uppercase tracking-wider mb-1",children:[f," [",m.length,"]"]}),B.jsx("div",{className:"pl-3 ml-1 border-l border-border/40",children:m.map((x,v)=>Pr(x)==="object"?B.jsx(ap,{name:`${v}`,data:x,depth:n+1},v):B.jsxs("div",{className:"text-[11px] font-mono text-foreground py-0.5",children:["[",v,"] ",l0(x)]},v))})]},f)}return B.jsx(ap,{name:f,data:h,depth:n+1},f)})]})]})}function o0(e,t=0){const n=Object.entries(e);let r=0;for(const[,i]of n){const s=Pr(i);if(s==="object")r+=28+o0(i,t+1);else if(s==="array"){const o=i;r+=28;for(const c of o)Pr(c)==="object"?r+=24+o0(c,t+1):r+=24}else r+=24}return r}function IK(e,t){if(t<=1)return[e];const n=e.map(([,f])=>{const h=Pr(f);if(h==="object")return 28+o0(f);if(h==="array"){const g=f;let m=28;for(const x of g)Pr(x)==="object"?m+=24+o0(x):m+=24;return m}return 24}),i=n.reduce((f,h)=>f+h,0)/t,s=[];let o=[],c=0;for(let f=0;f<e.length;f++){const h=e[f],g=n[f];c>=i&&s.length<t-1&&o.length>0&&(s.push(o),o=[],c=0),o.push(h),c+=g}return o.length>0&&s.push(o),s}function LK({path:e,keys:t}){const{content:n,loading:r,error:i}=cp(e),s=I.useMemo(()=>{if(!n)return null;const k=dE(n,e);return k?t&&t.length>0?OK(k,t):k:null},[n,e,t]);if(r)return B.jsx("div",{className:"my-6 p-4 rounded border border-border/50 bg-card/30",children:B.jsxs("div",{className:"flex items-center gap-2 text-muted-foreground/60",children:[B.jsx("div",{className:"w-3 h-3 border border-current border-t-transparent rounded-full animate-spin"}),B.jsx("span",{className:"text-[11px] font-mono",children:"loading parameters..."})]})});if(i)return B.jsx("div",{className:"my-6 p-3 rounded border border-destructive/30 bg-destructive/5",children:B.jsx("p",{className:"text-[11px] font-mono text-destructive",children:i})});if(!s)return B.jsx("div",{className:"my-6 p-3 rounded border border-border/50 bg-card/30",children:B.jsx("p",{className:"text-[11px] font-mono text-muted-foreground",children:"unable to parse config"})});const o=Object.entries(s),c=o.filter(([,k])=>{const T=Pr(k);return T!=="object"&&T!=="array"}),f=o.filter(([,k])=>{const T=Pr(k);return T==="object"||T==="array"}),h=o0(s),g=500,m=h>g?Math.min(Math.ceil(h/g),3):1,x=m>1&&f.length>1,v=x?IK(f,m):[f];e.split("/").pop();const E=([k,T])=>{if(Pr(T)==="array"){const M=T;return B.jsxs("div",{className:"mb-4 last:mb-0",children:[B.jsxs("div",{className:"text-[11px] font-mono text-foreground/80 uppercase tracking-widest font-semibold mb-1.5 pb-1 border-b border-border/50",children:[k.replace(/_/g," ")," [",M.length,"]"]}),B.jsx("div",{className:"pl-3 ml-1 border-l border-border/40",children:M.map((R,j)=>Pr(R)==="object"?B.jsx(ap,{name:`${j}`,data:R,depth:1},j):B.jsxs("div",{className:"text-[11px] font-mono text-foreground py-0.5",children:["[",j,"] ",l0(R)]},j))})]},k)}return B.jsx(ap,{name:k,data:T,depth:0},k)};return B.jsx("div",{className:"my-6 not-prose",children:B.jsxs("div",{className:"rounded border border-border/60 bg-card/20 p-3 overflow-hidden",children:[c.length>0&&B.jsx("div",{className:Yt(f.length>0&&"mb-4 pb-3 border-b border-border/30"),children:B.jsx(mE,{entries:c})}),x?B.jsx("div",{className:"grid gap-6",style:{gridTemplateColumns:`repeat(${v.length}, 1fr)`},children:v.map((k,T)=>B.jsx("div",{className:Yt(T>0&&"border-l border-border/30 pl-6"),children:k.map(E)},T))}):f.map(E)]})})}function zK({path:e,keyPath:t,label:n,unit:r}){const{content:i,loading:s,error:o}=cp(e),{value:c,displayLabel:f}=I.useMemo(()=>{if(!i)return{value:void 0,displayLabel:""};const m=dE(i,e);if(!m)return{value:void 0,displayLabel:""};const x=pE(m,t),v=n||RK(t);return{value:x,displayLabel:v}},[i,e,t,n]);if(s)return B.jsx("span",{className:"inline-flex items-center gap-1.5 px-2 py-0.5 rounded-md bg-muted/50 border border-border/50",children:B.jsx("span",{className:"w-2 h-2 border border-muted-foreground/40 border-t-transparent rounded-full animate-spin"})});if(o||c===void 0)return B.jsx("span",{className:"inline-flex items-center gap-1.5 px-2 py-0.5 rounded-md bg-destructive/10 border border-destructive/30",children:B.jsx("span",{className:"text-[10px] font-mono text-destructive",children:"—"})});const h=Pr(c),g=l0(c);return B.jsxs("span",{className:"inline-flex items-center gap-1.5 px-2 py-0.5 rounded-md font-mono text-[11px]",children:[B.jsx("span",{className:"text-muted-foreground",children:f}),B.jsx("span",{className:"text-muted-foreground/40",children:"="}),B.jsx("span",{className:Yt("font-medium tabular-nums",h==="number"&&"text-foreground",h==="string"&&"text-amber-600 dark:text-amber-500",h==="boolean"&&"text-cyan-600 dark:text-cyan-500",h==="null"&&"text-muted-foreground/50",h==="array"&&"text-purple-600 dark:text-purple-400",h==="object"&&"text-purple-600 dark:text-purple-400"),children:h==="string"?`"${g}"`:g}),r&&B.jsx("span",{className:"text-muted-foreground/60",children:r})]})}function Dc(e){return(e==null?void 0:e.toString().toLowerCase().replace(/[^a-z0-9\s-]/g,"").replace(/\s+/g,"-"))??""}const PK={Gallery:q$,ParameterTable:LK,ParameterBadge:zK,h1:e=>{const t=Dc(e.children);return B.jsx("h1",{id:t,className:"text-2xl font-semibold tracking-tight mt-12 mb-4 first:mt-0",...e})},h2:e=>{const t=Dc(e.children);return B.jsx("h2",{id:t,className:"text-xl font-semibold tracking-tight mt-10 mb-3 pb-2 border-b border-border",...e})},h3:e=>{const t=Dc(e.children);return B.jsx("h3",{id:t,className:"text-lg font-medium tracking-tight mt-8 mb-2",...e})},h4:e=>{const t=Dc(e.children);return B.jsx("h4",{id:t,className:"text-base font-medium mt-6 mb-2",...e})},h5:e=>{const t=Dc(e.children);return B.jsx("h5",{id:t,className:"text-sm font-medium mt-4 mb-1",...e})},pre:e=>B.jsx("pre",{className:"not-prose w-full overflow-x-auto p-4 text-sm bg-muted/50 border border-border rounded-md font-mono my-6",...e}),code:e=>{var n;return(n=e.className)!=null&&n.includes("language-")?B.jsx("code",{...e}):B.jsx("code",{className:"font-mono text-[0.85em] bg-muted px-1.5 py-0.5 rounded text-primary",...e})},blockquote:e=>B.jsx("blockquote",{className:"border-l-2 border-primary pl-4 my-6 text-muted-foreground",...e}),ul:e=>B.jsx("ul",{className:"my-4 ml-6 list-disc marker:text-muted-foreground",...e}),ol:e=>B.jsx("ol",{className:"my-4 ml-6 list-decimal marker:text-muted-foreground",...e}),li:e=>B.jsx("li",{className:"mt-1.5",...e}),a:e=>B.jsx("a",{className:"text-primary hover:underline underline-offset-2",...e}),table:e=>B.jsx("div",{className:"not-prose my-6 overflow-x-auto border border-border rounded-md",children:B.jsx("table",{className:"w-full text-sm border-collapse",...e})}),thead:e=>B.jsx("thead",{className:"bg-muted/50",...e}),tbody:e=>B.jsx("tbody",{...e}),tr:e=>B.jsx("tr",{className:"border-b border-border last:border-b-0",...e}),th:e=>B.jsx("th",{className:"px-4 py-3 text-left text-xs font-medium text-muted-foreground uppercase tracking-wider",...e}),td:e=>B.jsx("td",{className:"px-4 py-3 align-top",...e}),hr:e=>B.jsx("hr",{className:"my-8 border-t border-border",...e}),p:e=>B.jsx("p",{className:"leading-relaxed mb-4 last:mb-0",...e}),strong:e=>B.jsx("strong",{className:"font-semibold",...e}),em:e=>B.jsx("em",{className:"italic",...e})};function gE({content:e,size:t}){const[n,r]=I.useState(null),[i,s]=I.useState(null);return I.useEffect(()=>{let o=!1;async function c(){try{const f=await Eq(e,{outputFormat:"function-body",remarkPlugins:[iY,OH,UX],rehypePlugins:[zY]}),h=await aS(f,{...EA,baseUrl:import.meta.url});o||(r(()=>h.default),s(null))}catch(f){console.error("MDX compilation error:",f),o||s(f)}}return c(),()=>{o=!0}},[e]),i?B.jsxs("div",{className:"text-destructive p-4 border border-destructive/30 rounded-lg bg-destructive/5",children:[B.jsx("h3",{className:"font-semibold",children:"MDX Compilation Error"}),B.jsx("pre",{className:"text-sm mt-2 overflow-x-auto font-mono",children:i.message})]}):n?B.jsx("div",{className:Yt("prose prose-slate dark:prose-invert",t==="sm"?"prose-sm":t==="md"?"prose-md":t==="lg"?"prose-lg":t==="xl"?"prose-xl":t==="2xl"?"prose-2xl":"prose-md"),children:B.jsx(n,{components:PK})}):B.jsx("div",{className:"text-muted-foreground",children:"Loading content..."})}function BK(){var h,g,m,x;const{path:e="."}=ax(),t=`${e}/README.mdx`,{directory:n,file:r,loading:i,error:s}=up(t),{content:o}=cp(t),c=m7();let f=null;return n&&(f=d7(n)),i?B.jsx(fx,{}):s?B.jsx("main",{className:"min-h-screen bg-background container mx-auto max-w-4xl py-12",children:B.jsx("p",{className:"text-center text-red-600",children:s.message})}):B.jsxs("div",{className:"flex min-h-screen flex-col bg-background noise-overlay",children:[B.jsx("title",{children:(h=r==null?void 0:r.frontmatter)==null?void 0:h.title}),B.jsx(px,{}),B.jsx(Nx,{}),B.jsxs("main",{className:"flex-1 mx-auto w-full max-w-[var(--content-width)] px-[var(--page-padding)]",children:[c&&B.jsx("div",{className:"sticky top-0 z-50 px-[var(--page-padding)] py-2 bg-red-500 text-primary-foreground font-mono text-xs text-center tracking-wide",children:B.jsxs("span",{className:"inline-flex items-center gap-3",children:[B.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-current animate-pulse"}),B.jsx("span",{className:"uppercase tracking-widest",children:"simulation running"}),B.jsx("span",{className:"text-primary-foreground/60",children:"Page will auto-refresh on completion"})]})}),r&&B.jsxs("article",{className:"my-24 prose dark:prose-invert prose-headings:tracking-tight prose-p:leading-relaxed prose-a:text-primary prose-a:no-underline hover:prose-a:underline max-w-[var(--prose-width)] animate-fade-in",children:[B.jsx(Tw,{title:(g=r.frontmatter)==null?void 0:g.title,date:(m=r.frontmatter)==null?void 0:m.date,description:(x=r.frontmatter)==null?void 0:x.description,slides:f}),o&&B.jsx(gE,{content:o})]})]})]})}function jK(e){let t=e;const n=e.match(/^---\n[\s\S]*?\n---\n/);return n&&(t=e.slice(n[0].length)),t.split(/^---$/m).map(r=>r.trim()).filter(r=>r.length>0)}function FK(){var C,M,R,j;const{path:e="."}=ax(),[t,n]=QT(),r=`${e}/SLIDES.mdx`,{file:i}=up(r),{content:s,loading:o,error:c}=cp(r),f=s?jK(s):[],h=f.length+1,g=Math.max(0,Math.min(parseInt(t.get("slide")||"0",10),h-1)),[m,x]=I.useState(g),v=I.useRef([]),E=I.useCallback(L=>{const S=Math.max(0,Math.min(L,h-1)),O=v.current[S];if(O){const q=O.getBoundingClientRect().top+window.scrollY;window.scrollTo({top:q,behavior:"smooth"})}},[h]),k=I.useCallback(()=>{E(m-1)},[m,E]),T=I.useCallback(()=>{E(m+1)},[m,E]);return I.useEffect(()=>{const L=S=>{S.key==="ArrowUp"||S.key==="k"?(S.preventDefault(),k()):(S.key==="ArrowDown"||S.key==="j")&&(S.preventDefault(),T())};return window.addEventListener("keydown",L),()=>window.removeEventListener("keydown",L)},[k,T]),I.useEffect(()=>{let L=null;const S=setTimeout(()=>{L=new IntersectionObserver(O=>{for(const q of O)if(q.isIntersecting){const W=v.current.findIndex(J=>J===q.target);W!==-1&&(x(W),n(W>0?{slide:String(W)}:{},{replace:!0}))}},{threshold:.5}),v.current.forEach(O=>{O&&L.observe(O)})},100);return()=>{clearTimeout(S),L==null||L.disconnect()}},[f.length,n]),o?B.jsx(fx,{}):c?B.jsx("main",{className:"min-h-screen bg-background container mx-auto max-w-4xl py-12",children:B.jsx("p",{className:"text-center text-red-600",children:c})}):f.length===0?B.jsx("div",{className:"flex items-center justify-center p-12 text-muted-foreground font-mono text-sm",children:'no slides found — use "---" to separate slides'}):B.jsxs("main",{className:"slides-container",children:[B.jsx("title",{children:(C=i==null?void 0:i.frontmatter)==null?void 0:C.title}),B.jsx(px,{}),B.jsx(Nx,{slideControls:{current:m,total:h,onPrevious:k,onNext:T}}),B.jsxs("div",{[Rk]:"true",children:[B.jsx("div",{ref:L=>{v.current[0]=L},className:"slide-page max-w-xl min-h-[50vh] sm:min-h-[70vh] md:min-h-screen flex items-center justify-center py-8 sm:py-12 md:py-16 px-4 mx-auto",children:i&&B.jsx(Tw,{title:(M=i.frontmatter)==null?void 0:M.title,date:(R=i.frontmatter)==null?void 0:R.date,description:(j=i.frontmatter)==null?void 0:j.description})}),B.jsx("hr",{className:"print:hidden"}),f.map((L,S)=>B.jsxs("div",{children:[B.jsx("div",{ref:O=>{v.current[S+1]=O},className:"slide-page min-h-[50vh] sm:min-h-[70vh] md:min-h-screen flex items-center justify-center py-8 sm:py-12 md:py-16 px-4 mx-auto",children:L&&B.jsx(gE,{content:L,size:"md"})}),S<f.length-1&&B.jsx("hr",{className:"print:hidden"})]},S))]})]})}function VK(){return B.jsx(dM,{attribute:"class",defaultTheme:"system",enableSystem:!0,children:B.jsx(YT,{children:B.jsxs(kT,{children:[B.jsx(mh,{path:":path/SLIDES.mdx",element:B.jsx(FK,{})}),B.jsx(mh,{path:":path/README.mdx",element:B.jsx(BK,{})}),B.jsx(mh,{path:"/*",element:B.jsx(vL,{})})]})})})}DA.createRoot(document.getElementById("root")).render(B.jsx(I.StrictMode,{children:B.jsx(VK,{})}));