@sensiblestats/widget-embed 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,194 @@
1
+ "use strict";var SensibleStatsWidgetBundle=(()=>{var c1=Object.create;var Eo=Object.defineProperty;var f1=Object.getOwnPropertyDescriptor;var p1=Object.getOwnPropertyNames;var d1=Object.getPrototypeOf,m1=Object.prototype.hasOwnProperty;var Ve=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Bu=(e,t)=>{for(var n in t)Eo(e,n,{get:t[n],enumerable:!0})},Kf=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of p1(t))!m1.call(e,i)&&i!==n&&Eo(e,i,{get:()=>t[i],enumerable:!(r=f1(t,i))||r.enumerable});return e};var j=(e,t,n)=>(n=e!=null?c1(d1(e)):{},Kf(t||!e||!e.__esModule?Eo(n,"default",{value:e,enumerable:!0}):n,e)),h1=e=>Kf(Eo({},"__esModule",{value:!0}),e);var op=Ve(W=>{"use strict";var li=Symbol.for("react.element"),g1=Symbol.for("react.portal"),y1=Symbol.for("react.fragment"),x1=Symbol.for("react.strict_mode"),k1=Symbol.for("react.profiler"),w1=Symbol.for("react.provider"),v1=Symbol.for("react.context"),S1=Symbol.for("react.forward_ref"),C1=Symbol.for("react.suspense"),E1=Symbol.for("react.memo"),T1=Symbol.for("react.lazy"),qf=Symbol.iterator;function I1(e){return e===null||typeof e!="object"?null:(e=qf&&e[qf]||e["@@iterator"],typeof e=="function"?e:null)}var Gf={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Jf=Object.assign,Zf={};function gr(e,t,n){this.props=e,this.context=t,this.refs=Zf,this.updater=n||Gf}gr.prototype.isReactComponent={};gr.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};gr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function ep(){}ep.prototype=gr.prototype;function ju(e,t,n){this.props=e,this.context=t,this.refs=Zf,this.updater=n||Gf}var Vu=ju.prototype=new ep;Vu.constructor=ju;Jf(Vu,gr.prototype);Vu.isPureReactComponent=!0;var Xf=Array.isArray,tp=Object.prototype.hasOwnProperty,Hu={current:null},np={key:!0,ref:!0,__self:!0,__source:!0};function rp(e,t,n){var r,i={},o=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(o=""+t.key),t)tp.call(t,r)&&!np.hasOwnProperty(r)&&(i[r]=t[r]);var u=arguments.length-2;if(u===1)i.children=n;else if(1<u){for(var a=Array(u),s=0;s<u;s++)a[s]=arguments[s+2];i.children=a}if(e&&e.defaultProps)for(r in u=e.defaultProps,u)i[r]===void 0&&(i[r]=u[r]);return{$$typeof:li,type:e,key:o,ref:l,props:i,_owner:Hu.current}}function b1(e,t){return{$$typeof:li,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Wu(e){return typeof e=="object"&&e!==null&&e.$$typeof===li}function P1(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Yf=/\/+/g;function Uu(e,t){return typeof e=="object"&&e!==null&&e.key!=null?P1(""+e.key):t.toString(36)}function Io(e,t,n,r,i){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var l=!1;if(e===null)l=!0;else switch(o){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case li:case g1:l=!0}}if(l)return l=e,i=i(l),e=r===""?"."+Uu(l,0):r,Xf(i)?(n="",e!=null&&(n=e.replace(Yf,"$&/")+"/"),Io(i,t,n,"",function(s){return s})):i!=null&&(Wu(i)&&(i=b1(i,n+(!i.key||l&&l.key===i.key?"":(""+i.key).replace(Yf,"$&/")+"/")+e)),t.push(i)),1;if(l=0,r=r===""?".":r+":",Xf(e))for(var u=0;u<e.length;u++){o=e[u];var a=r+Uu(o,u);l+=Io(o,t,n,a,i)}else if(a=I1(e),typeof a=="function")for(e=a.call(e),u=0;!(o=e.next()).done;)o=o.value,a=r+Uu(o,u++),l+=Io(o,t,n,a,i);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function To(e,t,n){if(e==null)return e;var r=[],i=0;return Io(e,r,"","",function(o){return t.call(n,o,i++)}),r}function L1(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var De={current:null},bo={transition:null},_1={ReactCurrentDispatcher:De,ReactCurrentBatchConfig:bo,ReactCurrentOwner:Hu};function ip(){throw Error("act(...) is not supported in production builds of React.")}W.Children={map:To,forEach:function(e,t,n){To(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return To(e,function(){t++}),t},toArray:function(e){return To(e,function(t){return t})||[]},only:function(e){if(!Wu(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};W.Component=gr;W.Fragment=y1;W.Profiler=k1;W.PureComponent=ju;W.StrictMode=x1;W.Suspense=C1;W.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=_1;W.act=ip;W.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=Jf({},e.props),i=e.key,o=e.ref,l=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,l=Hu.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(a in t)tp.call(t,a)&&!np.hasOwnProperty(a)&&(r[a]=t[a]===void 0&&u!==void 0?u[a]:t[a])}var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){u=Array(a);for(var s=0;s<a;s++)u[s]=arguments[s+2];r.children=u}return{$$typeof:li,type:e.type,key:i,ref:o,props:r,_owner:l}};W.createContext=function(e){return e={$$typeof:v1,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:w1,_context:e},e.Consumer=e};W.createElement=rp;W.createFactory=function(e){var t=rp.bind(null,e);return t.type=e,t};W.createRef=function(){return{current:null}};W.forwardRef=function(e){return{$$typeof:S1,render:e}};W.isValidElement=Wu;W.lazy=function(e){return{$$typeof:T1,_payload:{_status:-1,_result:e},_init:L1}};W.memo=function(e,t){return{$$typeof:E1,type:e,compare:t===void 0?null:t}};W.startTransition=function(e){var t=bo.transition;bo.transition={};try{e()}finally{bo.transition=t}};W.unstable_act=ip;W.useCallback=function(e,t){return De.current.useCallback(e,t)};W.useContext=function(e){return De.current.useContext(e)};W.useDebugValue=function(){};W.useDeferredValue=function(e){return De.current.useDeferredValue(e)};W.useEffect=function(e,t){return De.current.useEffect(e,t)};W.useId=function(){return De.current.useId()};W.useImperativeHandle=function(e,t,n){return De.current.useImperativeHandle(e,t,n)};W.useInsertionEffect=function(e,t){return De.current.useInsertionEffect(e,t)};W.useLayoutEffect=function(e,t){return De.current.useLayoutEffect(e,t)};W.useMemo=function(e,t){return De.current.useMemo(e,t)};W.useReducer=function(e,t,n){return De.current.useReducer(e,t,n)};W.useRef=function(e){return De.current.useRef(e)};W.useState=function(e){return De.current.useState(e)};W.useSyncExternalStore=function(e,t,n){return De.current.useSyncExternalStore(e,t,n)};W.useTransition=function(){return De.current.useTransition()};W.version="18.3.1"});var gt=Ve((RE,lp)=>{"use strict";lp.exports=op()});var gp=Ve(Z=>{"use strict";function qu(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,i=e[r];if(0<Po(i,t))e[r]=t,e[n]=i,n=r;else break e}}function yt(e){return e.length===0?null:e[0]}function _o(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length,o=i>>>1;r<o;){var l=2*(r+1)-1,u=e[l],a=l+1,s=e[a];if(0>Po(u,n))a<i&&0>Po(s,u)?(e[r]=s,e[a]=n,r=a):(e[r]=u,e[l]=n,r=l);else if(a<i&&0>Po(s,n))e[r]=s,e[a]=n,r=a;else break e}}return t}function Po(e,t){var n=e.sortIndex-t.sortIndex;return n!==0?n:e.id-t.id}typeof performance=="object"&&typeof performance.now=="function"?(up=performance,Z.unstable_now=function(){return up.now()}):($u=Date,ap=$u.now(),Z.unstable_now=function(){return $u.now()-ap});var up,$u,ap,Pt=[],rn=[],z1=1,ot=null,be=3,zo=!1,Mn=!1,ai=!1,fp=typeof setTimeout=="function"?setTimeout:null,pp=typeof clearTimeout=="function"?clearTimeout:null,sp=typeof setImmediate!="undefined"?setImmediate:null;typeof navigator!="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function Xu(e){for(var t=yt(rn);t!==null;){if(t.callback===null)_o(rn);else if(t.startTime<=e)_o(rn),t.sortIndex=t.expirationTime,qu(Pt,t);else break;t=yt(rn)}}function Yu(e){if(ai=!1,Xu(e),!Mn)if(yt(Pt)!==null)Mn=!0,Ju(Gu);else{var t=yt(rn);t!==null&&Zu(Yu,t.startTime-e)}}function Gu(e,t){Mn=!1,ai&&(ai=!1,pp(si),si=-1),zo=!0;var n=be;try{for(Xu(t),ot=yt(Pt);ot!==null&&(!(ot.expirationTime>t)||e&&!hp());){var r=ot.callback;if(typeof r=="function"){ot.callback=null,be=ot.priorityLevel;var i=r(ot.expirationTime<=t);t=Z.unstable_now(),typeof i=="function"?ot.callback=i:ot===yt(Pt)&&_o(Pt),Xu(t)}else _o(Pt);ot=yt(Pt)}if(ot!==null)var o=!0;else{var l=yt(rn);l!==null&&Zu(Yu,l.startTime-t),o=!1}return o}finally{ot=null,be=n,zo=!1}}var Ao=!1,Lo=null,si=-1,dp=5,mp=-1;function hp(){return!(Z.unstable_now()-mp<dp)}function Qu(){if(Lo!==null){var e=Z.unstable_now();mp=e;var t=!0;try{t=Lo(!0,e)}finally{t?ui():(Ao=!1,Lo=null)}}else Ao=!1}var ui;typeof sp=="function"?ui=function(){sp(Qu)}:typeof MessageChannel!="undefined"?(Ku=new MessageChannel,cp=Ku.port2,Ku.port1.onmessage=Qu,ui=function(){cp.postMessage(null)}):ui=function(){fp(Qu,0)};var Ku,cp;function Ju(e){Lo=e,Ao||(Ao=!0,ui())}function Zu(e,t){si=fp(function(){e(Z.unstable_now())},t)}Z.unstable_IdlePriority=5;Z.unstable_ImmediatePriority=1;Z.unstable_LowPriority=4;Z.unstable_NormalPriority=3;Z.unstable_Profiling=null;Z.unstable_UserBlockingPriority=2;Z.unstable_cancelCallback=function(e){e.callback=null};Z.unstable_continueExecution=function(){Mn||zo||(Mn=!0,Ju(Gu))};Z.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):dp=0<e?Math.floor(1e3/e):5};Z.unstable_getCurrentPriorityLevel=function(){return be};Z.unstable_getFirstCallbackNode=function(){return yt(Pt)};Z.unstable_next=function(e){switch(be){case 1:case 2:case 3:var t=3;break;default:t=be}var n=be;be=t;try{return e()}finally{be=n}};Z.unstable_pauseExecution=function(){};Z.unstable_requestPaint=function(){};Z.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=be;be=e;try{return t()}finally{be=n}};Z.unstable_scheduleCallback=function(e,t,n){var r=Z.unstable_now();switch(typeof n=="object"&&n!==null?(n=n.delay,n=typeof n=="number"&&0<n?r+n:r):n=r,e){case 1:var i=-1;break;case 2:i=250;break;case 5:i=1073741823;break;case 4:i=1e4;break;default:i=5e3}return i=n+i,e={id:z1++,callback:t,priorityLevel:e,startTime:n,expirationTime:i,sortIndex:-1},n>r?(e.sortIndex=n,qu(rn,e),yt(Pt)===null&&e===yt(rn)&&(ai?(pp(si),si=-1):ai=!0,Zu(Yu,n-r))):(e.sortIndex=i,qu(Pt,e),Mn||zo||(Mn=!0,Ju(Gu))),e};Z.unstable_shouldYield=hp;Z.unstable_wrapCallback=function(e){var t=be;return function(){var n=be;be=t;try{return e.apply(this,arguments)}finally{be=n}}}});var xp=Ve((ME,yp)=>{"use strict";yp.exports=gp()});var Sh=Ve(nt=>{"use strict";var A1=gt(),et=xp();function P(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Td=new Set,zi={};function Xn(e,t){Or(e,t),Or(e+"Capture",t)}function Or(e,t){for(zi[e]=t,e=0;e<t.length;e++)Td.add(t[e])}var Qt=!(typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"),Sa=Object.prototype.hasOwnProperty,N1=/^[: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]*$/,kp={},wp={};function R1(e){return Sa.call(wp,e)?!0:Sa.call(kp,e)?!1:N1.test(e)?wp[e]=!0:(kp[e]=!0,!1)}function D1(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function M1(e,t,n,r){if(t===null||typeof t=="undefined"||D1(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Fe(e,t,n,r,i,o,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=l}var Ie={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ie[e]=new Fe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ie[t]=new Fe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ie[e]=new Fe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ie[e]=new Fe(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Ie[e]=new Fe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ie[e]=new Fe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ie[e]=new Fe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ie[e]=new Fe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ie[e]=new Fe(e,5,!1,e.toLowerCase(),null,!1,!1)});var ms=/[\-:]([a-z])/g;function hs(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(ms,hs);Ie[t]=new Fe(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(ms,hs);Ie[t]=new Fe(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ms,hs);Ie[t]=new Fe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ie[e]=new Fe(e,1,!1,e.toLowerCase(),null,!1,!1)});Ie.xlinkHref=new Fe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ie[e]=new Fe(e,1,!1,e.toLowerCase(),null,!0,!0)});function gs(e,t,n,r){var i=Ie.hasOwnProperty(t)?Ie[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(M1(t,n,i,r)&&(n=null),r||i===null?R1(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var Yt=A1.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,No=Symbol.for("react.element"),kr=Symbol.for("react.portal"),wr=Symbol.for("react.fragment"),ys=Symbol.for("react.strict_mode"),Ca=Symbol.for("react.profiler"),Id=Symbol.for("react.provider"),bd=Symbol.for("react.context"),xs=Symbol.for("react.forward_ref"),Ea=Symbol.for("react.suspense"),Ta=Symbol.for("react.suspense_list"),ks=Symbol.for("react.memo"),ln=Symbol.for("react.lazy"),Pd=Symbol.for("react.offscreen"),vp=Symbol.iterator;function ci(e){return e===null||typeof e!="object"?null:(e=vp&&e[vp]||e["@@iterator"],typeof e=="function"?e:null)}var ue=Object.assign,ea;function xi(e){if(ea===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);ea=t&&t[1]||""}return`
2
+ `+ea+e}var ta=!1;function na(e,t){if(!e||ta)return"";ta=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(s){var r=s}Reflect.construct(e,[],t)}else{try{t.call()}catch(s){r=s}e.call(t.prototype)}else{try{throw Error()}catch(s){r=s}e()}}catch(s){if(s&&r&&typeof s.stack=="string"){for(var i=s.stack.split(`
3
+ `),o=r.stack.split(`
4
+ `),l=i.length-1,u=o.length-1;1<=l&&0<=u&&i[l]!==o[u];)u--;for(;1<=l&&0<=u;l--,u--)if(i[l]!==o[u]){if(l!==1||u!==1)do if(l--,u--,0>u||i[l]!==o[u]){var a=`
5
+ `+i[l].replace(" at new "," at ");return e.displayName&&a.includes("<anonymous>")&&(a=a.replace("<anonymous>",e.displayName)),a}while(1<=l&&0<=u);break}}}finally{ta=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?xi(e):""}function O1(e){switch(e.tag){case 5:return xi(e.type);case 16:return xi("Lazy");case 13:return xi("Suspense");case 19:return xi("SuspenseList");case 0:case 2:case 15:return e=na(e.type,!1),e;case 11:return e=na(e.type.render,!1),e;case 1:return e=na(e.type,!0),e;default:return""}}function Ia(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case wr:return"Fragment";case kr:return"Portal";case Ca:return"Profiler";case ys:return"StrictMode";case Ea:return"Suspense";case Ta:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case bd:return(e.displayName||"Context")+".Consumer";case Id:return(e._context.displayName||"Context")+".Provider";case xs:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ks:return t=e.displayName||null,t!==null?t:Ia(e.type)||"Memo";case ln:t=e._payload,e=e._init;try{return Ia(e(t))}catch{}}return null}function F1(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Ia(t);case 8:return t===ys?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function wn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ld(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function B1(e){var t=Ld(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n!="undefined"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(l){r=""+l,o.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ro(e){e._valueTracker||(e._valueTracker=B1(e))}function _d(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ld(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function al(e){if(e=e||(typeof document!="undefined"?document:void 0),typeof e=="undefined")return null;try{return e.activeElement||e.body}catch{return e.body}}function ba(e,t){var n=t.checked;return ue({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function Sp(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=wn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function zd(e,t){t=t.checked,t!=null&&gs(e,"checked",t,!1)}function Pa(e,t){zd(e,t);var n=wn(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?La(e,t.type,n):t.hasOwnProperty("defaultValue")&&La(e,t.type,wn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Cp(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function La(e,t,n){(t!=="number"||al(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ki=Array.isArray;function zr(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+wn(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function _a(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(P(91));return ue({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Ep(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(P(92));if(ki(n)){if(1<n.length)throw Error(P(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:wn(n)}}function Ad(e,t){var n=wn(t.value),r=wn(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function Tp(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Nd(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function za(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Nd(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Do,Rd=(function(e){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e})(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Do=Do||document.createElement("div"),Do.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Do.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ai(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Si={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},U1=["Webkit","ms","Moz","O"];Object.keys(Si).forEach(function(e){U1.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Si[t]=Si[e]})});function Dd(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Si.hasOwnProperty(e)&&Si[e]?(""+t).trim():t+"px"}function Md(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Dd(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var j1=ue({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Aa(e,t){if(t){if(j1[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(P(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(P(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(P(61))}if(t.style!=null&&typeof t.style!="object")throw Error(P(62))}}function Na(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ra=null;function ws(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Da=null,Ar=null,Nr=null;function Ip(e){if(e=Yi(e)){if(typeof Da!="function")throw Error(P(280));var t=e.stateNode;t&&(t=Ml(t),Da(e.stateNode,e.type,t))}}function Od(e){Ar?Nr?Nr.push(e):Nr=[e]:Ar=e}function Fd(){if(Ar){var e=Ar,t=Nr;if(Nr=Ar=null,Ip(e),t)for(e=0;e<t.length;e++)Ip(t[e])}}function Bd(e,t){return e(t)}function Ud(){}var ra=!1;function jd(e,t,n){if(ra)return e(t,n);ra=!0;try{return Bd(e,t,n)}finally{ra=!1,(Ar!==null||Nr!==null)&&(Ud(),Fd())}}function Ni(e,t){var n=e.stateNode;if(n===null)return null;var r=Ml(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(P(231,t,typeof n));return n}var Ma=!1;if(Qt)try{yr={},Object.defineProperty(yr,"passive",{get:function(){Ma=!0}}),window.addEventListener("test",yr,yr),window.removeEventListener("test",yr,yr)}catch{Ma=!1}var yr;function V1(e,t,n,r,i,o,l,u,a){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(c){this.onError(c)}}var Ci=!1,sl=null,cl=!1,Oa=null,H1={onError:function(e){Ci=!0,sl=e}};function W1(e,t,n,r,i,o,l,u,a){Ci=!1,sl=null,V1.apply(H1,arguments)}function $1(e,t,n,r,i,o,l,u,a){if(W1.apply(this,arguments),Ci){if(Ci){var s=sl;Ci=!1,sl=null}else throw Error(P(198));cl||(cl=!0,Oa=s)}}function Yn(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Vd(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function bp(e){if(Yn(e)!==e)throw Error(P(188))}function Q1(e){var t=e.alternate;if(!t){if(t=Yn(e),t===null)throw Error(P(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var o=i.alternate;if(o===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return bp(i),e;if(o===r)return bp(i),t;o=o.sibling}throw Error(P(188))}if(n.return!==r.return)n=i,r=o;else{for(var l=!1,u=i.child;u;){if(u===n){l=!0,n=i,r=o;break}if(u===r){l=!0,r=i,n=o;break}u=u.sibling}if(!l){for(u=o.child;u;){if(u===n){l=!0,n=o,r=i;break}if(u===r){l=!0,r=o,n=i;break}u=u.sibling}if(!l)throw Error(P(189))}}if(n.alternate!==r)throw Error(P(190))}if(n.tag!==3)throw Error(P(188));return n.stateNode.current===n?e:t}function Hd(e){return e=Q1(e),e!==null?Wd(e):null}function Wd(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Wd(e);if(t!==null)return t;e=e.sibling}return null}var $d=et.unstable_scheduleCallback,Pp=et.unstable_cancelCallback,K1=et.unstable_shouldYield,q1=et.unstable_requestPaint,pe=et.unstable_now,X1=et.unstable_getCurrentPriorityLevel,vs=et.unstable_ImmediatePriority,Qd=et.unstable_UserBlockingPriority,fl=et.unstable_NormalPriority,Y1=et.unstable_LowPriority,Kd=et.unstable_IdlePriority,Al=null,At=null;function G1(e){if(At&&typeof At.onCommitFiberRoot=="function")try{At.onCommitFiberRoot(Al,e,void 0,(e.current.flags&128)===128)}catch{}}var St=Math.clz32?Math.clz32:ek,J1=Math.log,Z1=Math.LN2;function ek(e){return e>>>=0,e===0?32:31-(J1(e)/Z1|0)|0}var Mo=64,Oo=4194304;function wi(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function pl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,l=n&268435455;if(l!==0){var u=l&~i;u!==0?r=wi(u):(o&=l,o!==0&&(r=wi(o)))}else l=n&~i,l!==0?r=wi(l):o!==0&&(r=wi(o));if(r===0)return 0;if(t!==0&&t!==r&&(t&i)===0&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if((r&4)!==0&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-St(t),i=1<<n,r|=e[n],t&=~i;return r}function tk(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function nk(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var l=31-St(o),u=1<<l,a=i[l];a===-1?((u&n)===0||(u&r)!==0)&&(i[l]=tk(u,t)):a<=t&&(e.expiredLanes|=u),o&=~u}}function Fa(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function qd(){var e=Mo;return Mo<<=1,(Mo&4194240)===0&&(Mo=64),e}function ia(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function qi(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-St(t),e[t]=n}function rk(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-St(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}function Ss(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-St(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var Y=0;function Xd(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var Yd,Cs,Gd,Jd,Zd,Ba=!1,Fo=[],pn=null,dn=null,mn=null,Ri=new Map,Di=new Map,an=[],ik="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Lp(e,t){switch(e){case"focusin":case"focusout":pn=null;break;case"dragenter":case"dragleave":dn=null;break;case"mouseover":case"mouseout":mn=null;break;case"pointerover":case"pointerout":Ri.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Di.delete(t.pointerId)}}function fi(e,t,n,r,i,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},t!==null&&(t=Yi(t),t!==null&&Cs(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function ok(e,t,n,r,i){switch(t){case"focusin":return pn=fi(pn,e,t,n,r,i),!0;case"dragenter":return dn=fi(dn,e,t,n,r,i),!0;case"mouseover":return mn=fi(mn,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return Ri.set(o,fi(Ri.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,Di.set(o,fi(Di.get(o)||null,e,t,n,r,i)),!0}return!1}function em(e){var t=Bn(e.target);if(t!==null){var n=Yn(t);if(n!==null){if(t=n.tag,t===13){if(t=Vd(n),t!==null){e.blockedOn=t,Zd(e.priority,function(){Gd(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Jo(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Ua(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Ra=r,n.target.dispatchEvent(r),Ra=null}else return t=Yi(n),t!==null&&Cs(t),e.blockedOn=n,!1;t.shift()}return!0}function _p(e,t,n){Jo(e)&&n.delete(t)}function lk(){Ba=!1,pn!==null&&Jo(pn)&&(pn=null),dn!==null&&Jo(dn)&&(dn=null),mn!==null&&Jo(mn)&&(mn=null),Ri.forEach(_p),Di.forEach(_p)}function pi(e,t){e.blockedOn===t&&(e.blockedOn=null,Ba||(Ba=!0,et.unstable_scheduleCallback(et.unstable_NormalPriority,lk)))}function Mi(e){function t(i){return pi(i,e)}if(0<Fo.length){pi(Fo[0],e);for(var n=1;n<Fo.length;n++){var r=Fo[n];r.blockedOn===e&&(r.blockedOn=null)}}for(pn!==null&&pi(pn,e),dn!==null&&pi(dn,e),mn!==null&&pi(mn,e),Ri.forEach(t),Di.forEach(t),n=0;n<an.length;n++)r=an[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<an.length&&(n=an[0],n.blockedOn===null);)em(n),n.blockedOn===null&&an.shift()}var Rr=Yt.ReactCurrentBatchConfig,dl=!0;function uk(e,t,n,r){var i=Y,o=Rr.transition;Rr.transition=null;try{Y=1,Es(e,t,n,r)}finally{Y=i,Rr.transition=o}}function ak(e,t,n,r){var i=Y,o=Rr.transition;Rr.transition=null;try{Y=4,Es(e,t,n,r)}finally{Y=i,Rr.transition=o}}function Es(e,t,n,r){if(dl){var i=Ua(e,t,n,r);if(i===null)fa(e,t,r,ml,n),Lp(e,r);else if(ok(i,e,t,n,r))r.stopPropagation();else if(Lp(e,r),t&4&&-1<ik.indexOf(e)){for(;i!==null;){var o=Yi(i);if(o!==null&&Yd(o),o=Ua(e,t,n,r),o===null&&fa(e,t,r,ml,n),o===i)break;i=o}i!==null&&r.stopPropagation()}else fa(e,t,r,null,n)}}var ml=null;function Ua(e,t,n,r){if(ml=null,e=ws(r),e=Bn(e),e!==null)if(t=Yn(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Vd(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return ml=e,null}function tm(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(X1()){case vs:return 1;case Qd:return 4;case fl:case Y1:return 16;case Kd:return 536870912;default:return 16}default:return 16}}var cn=null,Ts=null,Zo=null;function nm(){if(Zo)return Zo;var e,t=Ts,n=t.length,r,i="value"in cn?cn.value:cn.textContent,o=i.length;for(e=0;e<n&&t[e]===i[e];e++);var l=n-e;for(r=1;r<=l&&t[n-r]===i[o-r];r++);return Zo=i.slice(e,1<r?1-r:void 0)}function el(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Bo(){return!0}function zp(){return!1}function tt(e){function t(n,r,i,o,l){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=o,this.target=l,this.currentTarget=null;for(var u in e)e.hasOwnProperty(u)&&(n=e[u],this[u]=n?n(o):o[u]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Bo:zp,this.isPropagationStopped=zp,this}return ue(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Bo)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Bo)},persist:function(){},isPersistent:Bo}),t}var Wr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Is=tt(Wr),Xi=ue({},Wr,{view:0,detail:0}),sk=tt(Xi),oa,la,di,Nl=ue({},Xi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:bs,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==di&&(di&&e.type==="mousemove"?(oa=e.screenX-di.screenX,la=e.screenY-di.screenY):la=oa=0,di=e),oa)},movementY:function(e){return"movementY"in e?e.movementY:la}}),Ap=tt(Nl),ck=ue({},Nl,{dataTransfer:0}),fk=tt(ck),pk=ue({},Xi,{relatedTarget:0}),ua=tt(pk),dk=ue({},Wr,{animationName:0,elapsedTime:0,pseudoElement:0}),mk=tt(dk),hk=ue({},Wr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),gk=tt(hk),yk=ue({},Wr,{data:0}),Np=tt(yk),xk={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},kk={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"},wk={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function vk(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=wk[e])?!!t[e]:!1}function bs(){return vk}var Sk=ue({},Xi,{key:function(e){if(e.key){var t=xk[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=el(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?kk[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:bs,charCode:function(e){return e.type==="keypress"?el(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?el(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Ck=tt(Sk),Ek=ue({},Nl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Rp=tt(Ek),Tk=ue({},Xi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:bs}),Ik=tt(Tk),bk=ue({},Wr,{propertyName:0,elapsedTime:0,pseudoElement:0}),Pk=tt(bk),Lk=ue({},Nl,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),_k=tt(Lk),zk=[9,13,27,32],Ps=Qt&&"CompositionEvent"in window,Ei=null;Qt&&"documentMode"in document&&(Ei=document.documentMode);var Ak=Qt&&"TextEvent"in window&&!Ei,rm=Qt&&(!Ps||Ei&&8<Ei&&11>=Ei),Dp=" ",Mp=!1;function im(e,t){switch(e){case"keyup":return zk.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function om(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var vr=!1;function Nk(e,t){switch(e){case"compositionend":return om(t);case"keypress":return t.which!==32?null:(Mp=!0,Dp);case"textInput":return e=t.data,e===Dp&&Mp?null:e;default:return null}}function Rk(e,t){if(vr)return e==="compositionend"||!Ps&&im(e,t)?(e=nm(),Zo=Ts=cn=null,vr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return rm&&t.locale!=="ko"?null:t.data;default:return null}}var Dk={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 Op(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Dk[e.type]:t==="textarea"}function lm(e,t,n,r){Od(r),t=hl(t,"onChange"),0<t.length&&(n=new Is("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Ti=null,Oi=null;function Mk(e){ym(e,0)}function Rl(e){var t=Er(e);if(_d(t))return e}function Ok(e,t){if(e==="change")return t}var um=!1;Qt&&(Qt?(jo="oninput"in document,jo||(aa=document.createElement("div"),aa.setAttribute("oninput","return;"),jo=typeof aa.oninput=="function"),Uo=jo):Uo=!1,um=Uo&&(!document.documentMode||9<document.documentMode));var Uo,jo,aa;function Fp(){Ti&&(Ti.detachEvent("onpropertychange",am),Oi=Ti=null)}function am(e){if(e.propertyName==="value"&&Rl(Oi)){var t=[];lm(t,Oi,e,ws(e)),jd(Mk,t)}}function Fk(e,t,n){e==="focusin"?(Fp(),Ti=t,Oi=n,Ti.attachEvent("onpropertychange",am)):e==="focusout"&&Fp()}function Bk(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Rl(Oi)}function Uk(e,t){if(e==="click")return Rl(t)}function jk(e,t){if(e==="input"||e==="change")return Rl(t)}function Vk(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Et=typeof Object.is=="function"?Object.is:Vk;function Fi(e,t){if(Et(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!Sa.call(t,i)||!Et(e[i],t[i]))return!1}return!0}function Bp(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Up(e,t){var n=Bp(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Bp(n)}}function sm(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?sm(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function cm(){for(var e=window,t=al();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=al(e.document)}return t}function Ls(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Hk(e){var t=cm(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&sm(n.ownerDocument.documentElement,n)){if(r!==null&&Ls(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=Up(n,o);var l=Up(n,r);i&&l&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Wk=Qt&&"documentMode"in document&&11>=document.documentMode,Sr=null,ja=null,Ii=null,Va=!1;function jp(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Va||Sr==null||Sr!==al(r)||(r=Sr,"selectionStart"in r&&Ls(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Ii&&Fi(Ii,r)||(Ii=r,r=hl(ja,"onSelect"),0<r.length&&(t=new Is("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Sr)))}function Vo(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Cr={animationend:Vo("Animation","AnimationEnd"),animationiteration:Vo("Animation","AnimationIteration"),animationstart:Vo("Animation","AnimationStart"),transitionend:Vo("Transition","TransitionEnd")},sa={},fm={};Qt&&(fm=document.createElement("div").style,"AnimationEvent"in window||(delete Cr.animationend.animation,delete Cr.animationiteration.animation,delete Cr.animationstart.animation),"TransitionEvent"in window||delete Cr.transitionend.transition);function Dl(e){if(sa[e])return sa[e];if(!Cr[e])return e;var t=Cr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in fm)return sa[e]=t[n];return e}var pm=Dl("animationend"),dm=Dl("animationiteration"),mm=Dl("animationstart"),hm=Dl("transitionend"),gm=new Map,Vp="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Sn(e,t){gm.set(e,t),Xn(t,[e])}for(Ho=0;Ho<Vp.length;Ho++)Wo=Vp[Ho],Hp=Wo.toLowerCase(),Wp=Wo[0].toUpperCase()+Wo.slice(1),Sn(Hp,"on"+Wp);var Wo,Hp,Wp,Ho;Sn(pm,"onAnimationEnd");Sn(dm,"onAnimationIteration");Sn(mm,"onAnimationStart");Sn("dblclick","onDoubleClick");Sn("focusin","onFocus");Sn("focusout","onBlur");Sn(hm,"onTransitionEnd");Or("onMouseEnter",["mouseout","mouseover"]);Or("onMouseLeave",["mouseout","mouseover"]);Or("onPointerEnter",["pointerout","pointerover"]);Or("onPointerLeave",["pointerout","pointerover"]);Xn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Xn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Xn("onBeforeInput",["compositionend","keypress","textInput","paste"]);Xn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Xn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Xn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var vi="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(" "),$k=new Set("cancel close invalid load scroll toggle".split(" ").concat(vi));function $p(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,$1(r,t,void 0,e),e.currentTarget=null}function ym(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var l=r.length-1;0<=l;l--){var u=r[l],a=u.instance,s=u.currentTarget;if(u=u.listener,a!==o&&i.isPropagationStopped())break e;$p(i,u,s),o=a}else for(l=0;l<r.length;l++){if(u=r[l],a=u.instance,s=u.currentTarget,u=u.listener,a!==o&&i.isPropagationStopped())break e;$p(i,u,s),o=a}}}if(cl)throw e=Oa,cl=!1,Oa=null,e}function te(e,t){var n=t[Ka];n===void 0&&(n=t[Ka]=new Set);var r=e+"__bubble";n.has(r)||(xm(t,e,2,!1),n.add(r))}function ca(e,t,n){var r=0;t&&(r|=4),xm(n,e,r,t)}var $o="_reactListening"+Math.random().toString(36).slice(2);function Bi(e){if(!e[$o]){e[$o]=!0,Td.forEach(function(n){n!=="selectionchange"&&($k.has(n)||ca(n,!1,e),ca(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[$o]||(t[$o]=!0,ca("selectionchange",!1,t))}}function xm(e,t,n,r){switch(tm(t)){case 1:var i=uk;break;case 4:i=ak;break;default:i=Es}n=i.bind(null,t,n,e),i=void 0,!Ma||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function fa(e,t,n,r,i){var o=r;if((t&1)===0&&(t&2)===0&&r!==null)e:for(;;){if(r===null)return;var l=r.tag;if(l===3||l===4){var u=r.stateNode.containerInfo;if(u===i||u.nodeType===8&&u.parentNode===i)break;if(l===4)for(l=r.return;l!==null;){var a=l.tag;if((a===3||a===4)&&(a=l.stateNode.containerInfo,a===i||a.nodeType===8&&a.parentNode===i))return;l=l.return}for(;u!==null;){if(l=Bn(u),l===null)return;if(a=l.tag,a===5||a===6){r=o=l;continue e}u=u.parentNode}}r=r.return}jd(function(){var s=o,c=ws(n),f=[];e:{var p=gm.get(e);if(p!==void 0){var d=Is,g=e;switch(e){case"keypress":if(el(n)===0)break e;case"keydown":case"keyup":d=Ck;break;case"focusin":g="focus",d=ua;break;case"focusout":g="blur",d=ua;break;case"beforeblur":case"afterblur":d=ua;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":d=Ap;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":d=fk;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":d=Ik;break;case pm:case dm:case mm:d=mk;break;case hm:d=Pk;break;case"scroll":d=sk;break;case"wheel":d=_k;break;case"copy":case"cut":case"paste":d=gk;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":d=Rp}var w=(t&4)!==0,E=!w&&e==="scroll",m=w?p!==null?p+"Capture":null:p;w=[];for(var h=s,y;h!==null;){y=h;var C=y.stateNode;if(y.tag===5&&C!==null&&(y=C,m!==null&&(C=Ni(h,m),C!=null&&w.push(Ui(h,C,y)))),E)break;h=h.return}0<w.length&&(p=new d(p,g,null,n,c),f.push({event:p,listeners:w}))}}if((t&7)===0){e:{if(p=e==="mouseover"||e==="pointerover",d=e==="mouseout"||e==="pointerout",p&&n!==Ra&&(g=n.relatedTarget||n.fromElement)&&(Bn(g)||g[Kt]))break e;if((d||p)&&(p=c.window===c?c:(p=c.ownerDocument)?p.defaultView||p.parentWindow:window,d?(g=n.relatedTarget||n.toElement,d=s,g=g?Bn(g):null,g!==null&&(E=Yn(g),g!==E||g.tag!==5&&g.tag!==6)&&(g=null)):(d=null,g=s),d!==g)){if(w=Ap,C="onMouseLeave",m="onMouseEnter",h="mouse",(e==="pointerout"||e==="pointerover")&&(w=Rp,C="onPointerLeave",m="onPointerEnter",h="pointer"),E=d==null?p:Er(d),y=g==null?p:Er(g),p=new w(C,h+"leave",d,n,c),p.target=E,p.relatedTarget=y,C=null,Bn(c)===s&&(w=new w(m,h+"enter",g,n,c),w.target=y,w.relatedTarget=E,C=w),E=C,d&&g)t:{for(w=d,m=g,h=0,y=w;y;y=xr(y))h++;for(y=0,C=m;C;C=xr(C))y++;for(;0<h-y;)w=xr(w),h--;for(;0<y-h;)m=xr(m),y--;for(;h--;){if(w===m||m!==null&&w===m.alternate)break t;w=xr(w),m=xr(m)}w=null}else w=null;d!==null&&Qp(f,p,d,w,!1),g!==null&&E!==null&&Qp(f,E,g,w,!0)}}e:{if(p=s?Er(s):window,d=p.nodeName&&p.nodeName.toLowerCase(),d==="select"||d==="input"&&p.type==="file")var I=Ok;else if(Op(p))if(um)I=jk;else{I=Bk;var v=Fk}else(d=p.nodeName)&&d.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&(I=Uk);if(I&&(I=I(e,s))){lm(f,I,n,c);break e}v&&v(e,p,s),e==="focusout"&&(v=p._wrapperState)&&v.controlled&&p.type==="number"&&La(p,"number",p.value)}switch(v=s?Er(s):window,e){case"focusin":(Op(v)||v.contentEditable==="true")&&(Sr=v,ja=s,Ii=null);break;case"focusout":Ii=ja=Sr=null;break;case"mousedown":Va=!0;break;case"contextmenu":case"mouseup":case"dragend":Va=!1,jp(f,n,c);break;case"selectionchange":if(Wk)break;case"keydown":case"keyup":jp(f,n,c)}var L;if(Ps)e:{switch(e){case"compositionstart":var z="onCompositionStart";break e;case"compositionend":z="onCompositionEnd";break e;case"compositionupdate":z="onCompositionUpdate";break e}z=void 0}else vr?im(e,n)&&(z="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(z="onCompositionStart");z&&(rm&&n.locale!=="ko"&&(vr||z!=="onCompositionStart"?z==="onCompositionEnd"&&vr&&(L=nm()):(cn=c,Ts="value"in cn?cn.value:cn.textContent,vr=!0)),v=hl(s,z),0<v.length&&(z=new Np(z,e,null,n,c),f.push({event:z,listeners:v}),L?z.data=L:(L=om(n),L!==null&&(z.data=L)))),(L=Ak?Nk(e,n):Rk(e,n))&&(s=hl(s,"onBeforeInput"),0<s.length&&(c=new Np("onBeforeInput","beforeinput",null,n,c),f.push({event:c,listeners:s}),c.data=L))}ym(f,t)})}function Ui(e,t,n){return{instance:e,listener:t,currentTarget:n}}function hl(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=Ni(e,n),o!=null&&r.unshift(Ui(e,o,i)),o=Ni(e,t),o!=null&&r.push(Ui(e,o,i))),e=e.return}return r}function xr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Qp(e,t,n,r,i){for(var o=t._reactName,l=[];n!==null&&n!==r;){var u=n,a=u.alternate,s=u.stateNode;if(a!==null&&a===r)break;u.tag===5&&s!==null&&(u=s,i?(a=Ni(n,o),a!=null&&l.unshift(Ui(n,a,u))):i||(a=Ni(n,o),a!=null&&l.push(Ui(n,a,u)))),n=n.return}l.length!==0&&e.push({event:t,listeners:l})}var Qk=/\r\n?/g,Kk=/\u0000|\uFFFD/g;function Kp(e){return(typeof e=="string"?e:""+e).replace(Qk,`
6
+ `).replace(Kk,"")}function Qo(e,t,n){if(t=Kp(t),Kp(e)!==t&&n)throw Error(P(425))}function gl(){}var Ha=null,Wa=null;function $a(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Qa=typeof setTimeout=="function"?setTimeout:void 0,qk=typeof clearTimeout=="function"?clearTimeout:void 0,qp=typeof Promise=="function"?Promise:void 0,Xk=typeof queueMicrotask=="function"?queueMicrotask:typeof qp!="undefined"?function(e){return qp.resolve(null).then(e).catch(Yk)}:Qa;function Yk(e){setTimeout(function(){throw e})}function pa(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),Mi(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);Mi(t)}function hn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Xp(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var $r=Math.random().toString(36).slice(2),zt="__reactFiber$"+$r,ji="__reactProps$"+$r,Kt="__reactContainer$"+$r,Ka="__reactEvents$"+$r,Gk="__reactListeners$"+$r,Jk="__reactHandles$"+$r;function Bn(e){var t=e[zt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Kt]||n[zt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Xp(e);e!==null;){if(n=e[zt])return n;e=Xp(e)}return t}e=n,n=e.parentNode}return null}function Yi(e){return e=e[zt]||e[Kt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Er(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(P(33))}function Ml(e){return e[ji]||null}var qa=[],Tr=-1;function Cn(e){return{current:e}}function ne(e){0>Tr||(e.current=qa[Tr],qa[Tr]=null,Tr--)}function ee(e,t){Tr++,qa[Tr]=e.current,e.current=t}var vn={},ze=Cn(vn),$e=Cn(!1),Wn=vn;function Fr(e,t){var n=e.type.contextTypes;if(!n)return vn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Qe(e){return e=e.childContextTypes,e!=null}function yl(){ne($e),ne(ze)}function Yp(e,t,n){if(ze.current!==vn)throw Error(P(168));ee(ze,t),ee($e,n)}function km(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(P(108,F1(e)||"Unknown",i));return ue({},n,r)}function xl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||vn,Wn=ze.current,ee(ze,e),ee($e,$e.current),!0}function Gp(e,t,n){var r=e.stateNode;if(!r)throw Error(P(169));n?(e=km(e,t,Wn),r.__reactInternalMemoizedMergedChildContext=e,ne($e),ne(ze),ee(ze,e)):ne($e),ee($e,n)}var Vt=null,Ol=!1,da=!1;function wm(e){Vt===null?Vt=[e]:Vt.push(e)}function Zk(e){Ol=!0,wm(e)}function En(){if(!da&&Vt!==null){da=!0;var e=0,t=Y;try{var n=Vt;for(Y=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Vt=null,Ol=!1}catch(i){throw Vt!==null&&(Vt=Vt.slice(e+1)),$d(vs,En),i}finally{Y=t,da=!1}}return null}var Ir=[],br=0,kl=null,wl=0,lt=[],ut=0,$n=null,Ht=1,Wt="";function On(e,t){Ir[br++]=wl,Ir[br++]=kl,kl=e,wl=t}function vm(e,t,n){lt[ut++]=Ht,lt[ut++]=Wt,lt[ut++]=$n,$n=e;var r=Ht;e=Wt;var i=32-St(r)-1;r&=~(1<<i),n+=1;var o=32-St(t)+i;if(30<o){var l=i-i%5;o=(r&(1<<l)-1).toString(32),r>>=l,i-=l,Ht=1<<32-St(t)+i|n<<i|r,Wt=o+e}else Ht=1<<o|n<<i|r,Wt=e}function _s(e){e.return!==null&&(On(e,1),vm(e,1,0))}function zs(e){for(;e===kl;)kl=Ir[--br],Ir[br]=null,wl=Ir[--br],Ir[br]=null;for(;e===$n;)$n=lt[--ut],lt[ut]=null,Wt=lt[--ut],lt[ut]=null,Ht=lt[--ut],lt[ut]=null}var Ze=null,Je=null,re=!1,vt=null;function Sm(e,t){var n=at(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Jp(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Ze=e,Je=hn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Ze=e,Je=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=$n!==null?{id:Ht,overflow:Wt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=at(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Ze=e,Je=null,!0):!1;default:return!1}}function Xa(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Ya(e){if(re){var t=Je;if(t){var n=t;if(!Jp(e,t)){if(Xa(e))throw Error(P(418));t=hn(n.nextSibling);var r=Ze;t&&Jp(e,t)?Sm(r,n):(e.flags=e.flags&-4097|2,re=!1,Ze=e)}}else{if(Xa(e))throw Error(P(418));e.flags=e.flags&-4097|2,re=!1,Ze=e}}}function Zp(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Ze=e}function Ko(e){if(e!==Ze)return!1;if(!re)return Zp(e),re=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!$a(e.type,e.memoizedProps)),t&&(t=Je)){if(Xa(e))throw Cm(),Error(P(418));for(;t;)Sm(e,t),t=hn(t.nextSibling)}if(Zp(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(P(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Je=hn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Je=null}}else Je=Ze?hn(e.stateNode.nextSibling):null;return!0}function Cm(){for(var e=Je;e;)e=hn(e.nextSibling)}function Br(){Je=Ze=null,re=!1}function As(e){vt===null?vt=[e]:vt.push(e)}var ew=Yt.ReactCurrentBatchConfig;function mi(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(P(309));var r=n.stateNode}if(!r)throw Error(P(147,e));var i=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(l){var u=i.refs;l===null?delete u[o]:u[o]=l},t._stringRef=o,t)}if(typeof e!="string")throw Error(P(284));if(!n._owner)throw Error(P(290,e))}return e}function qo(e,t){throw e=Object.prototype.toString.call(t),Error(P(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function ed(e){var t=e._init;return t(e._payload)}function Em(e){function t(m,h){if(e){var y=m.deletions;y===null?(m.deletions=[h],m.flags|=16):y.push(h)}}function n(m,h){if(!e)return null;for(;h!==null;)t(m,h),h=h.sibling;return null}function r(m,h){for(m=new Map;h!==null;)h.key!==null?m.set(h.key,h):m.set(h.index,h),h=h.sibling;return m}function i(m,h){return m=kn(m,h),m.index=0,m.sibling=null,m}function o(m,h,y){return m.index=y,e?(y=m.alternate,y!==null?(y=y.index,y<h?(m.flags|=2,h):y):(m.flags|=2,h)):(m.flags|=1048576,h)}function l(m){return e&&m.alternate===null&&(m.flags|=2),m}function u(m,h,y,C){return h===null||h.tag!==6?(h=wa(y,m.mode,C),h.return=m,h):(h=i(h,y),h.return=m,h)}function a(m,h,y,C){var I=y.type;return I===wr?c(m,h,y.props.children,C,y.key):h!==null&&(h.elementType===I||typeof I=="object"&&I!==null&&I.$$typeof===ln&&ed(I)===h.type)?(C=i(h,y.props),C.ref=mi(m,h,y),C.return=m,C):(C=ul(y.type,y.key,y.props,null,m.mode,C),C.ref=mi(m,h,y),C.return=m,C)}function s(m,h,y,C){return h===null||h.tag!==4||h.stateNode.containerInfo!==y.containerInfo||h.stateNode.implementation!==y.implementation?(h=va(y,m.mode,C),h.return=m,h):(h=i(h,y.children||[]),h.return=m,h)}function c(m,h,y,C,I){return h===null||h.tag!==7?(h=Hn(y,m.mode,C,I),h.return=m,h):(h=i(h,y),h.return=m,h)}function f(m,h,y){if(typeof h=="string"&&h!==""||typeof h=="number")return h=wa(""+h,m.mode,y),h.return=m,h;if(typeof h=="object"&&h!==null){switch(h.$$typeof){case No:return y=ul(h.type,h.key,h.props,null,m.mode,y),y.ref=mi(m,null,h),y.return=m,y;case kr:return h=va(h,m.mode,y),h.return=m,h;case ln:var C=h._init;return f(m,C(h._payload),y)}if(ki(h)||ci(h))return h=Hn(h,m.mode,y,null),h.return=m,h;qo(m,h)}return null}function p(m,h,y,C){var I=h!==null?h.key:null;if(typeof y=="string"&&y!==""||typeof y=="number")return I!==null?null:u(m,h,""+y,C);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case No:return y.key===I?a(m,h,y,C):null;case kr:return y.key===I?s(m,h,y,C):null;case ln:return I=y._init,p(m,h,I(y._payload),C)}if(ki(y)||ci(y))return I!==null?null:c(m,h,y,C,null);qo(m,y)}return null}function d(m,h,y,C,I){if(typeof C=="string"&&C!==""||typeof C=="number")return m=m.get(y)||null,u(h,m,""+C,I);if(typeof C=="object"&&C!==null){switch(C.$$typeof){case No:return m=m.get(C.key===null?y:C.key)||null,a(h,m,C,I);case kr:return m=m.get(C.key===null?y:C.key)||null,s(h,m,C,I);case ln:var v=C._init;return d(m,h,y,v(C._payload),I)}if(ki(C)||ci(C))return m=m.get(y)||null,c(h,m,C,I,null);qo(h,C)}return null}function g(m,h,y,C){for(var I=null,v=null,L=h,z=h=0,O=null;L!==null&&z<y.length;z++){L.index>z?(O=L,L=null):O=L.sibling;var S=p(m,L,y[z],C);if(S===null){L===null&&(L=O);break}e&&L&&S.alternate===null&&t(m,L),h=o(S,h,z),v===null?I=S:v.sibling=S,v=S,L=O}if(z===y.length)return n(m,L),re&&On(m,z),I;if(L===null){for(;z<y.length;z++)L=f(m,y[z],C),L!==null&&(h=o(L,h,z),v===null?I=L:v.sibling=L,v=L);return re&&On(m,z),I}for(L=r(m,L);z<y.length;z++)O=d(L,m,z,y[z],C),O!==null&&(e&&O.alternate!==null&&L.delete(O.key===null?z:O.key),h=o(O,h,z),v===null?I=O:v.sibling=O,v=O);return e&&L.forEach(function(G){return t(m,G)}),re&&On(m,z),I}function w(m,h,y,C){var I=ci(y);if(typeof I!="function")throw Error(P(150));if(y=I.call(y),y==null)throw Error(P(151));for(var v=I=null,L=h,z=h=0,O=null,S=y.next();L!==null&&!S.done;z++,S=y.next()){L.index>z?(O=L,L=null):O=L.sibling;var G=p(m,L,S.value,C);if(G===null){L===null&&(L=O);break}e&&L&&G.alternate===null&&t(m,L),h=o(G,h,z),v===null?I=G:v.sibling=G,v=G,L=O}if(S.done)return n(m,L),re&&On(m,z),I;if(L===null){for(;!S.done;z++,S=y.next())S=f(m,S.value,C),S!==null&&(h=o(S,h,z),v===null?I=S:v.sibling=S,v=S);return re&&On(m,z),I}for(L=r(m,L);!S.done;z++,S=y.next())S=d(L,m,z,S.value,C),S!==null&&(e&&S.alternate!==null&&L.delete(S.key===null?z:S.key),h=o(S,h,z),v===null?I=S:v.sibling=S,v=S);return e&&L.forEach(function(K){return t(m,K)}),re&&On(m,z),I}function E(m,h,y,C){if(typeof y=="object"&&y!==null&&y.type===wr&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case No:e:{for(var I=y.key,v=h;v!==null;){if(v.key===I){if(I=y.type,I===wr){if(v.tag===7){n(m,v.sibling),h=i(v,y.props.children),h.return=m,m=h;break e}}else if(v.elementType===I||typeof I=="object"&&I!==null&&I.$$typeof===ln&&ed(I)===v.type){n(m,v.sibling),h=i(v,y.props),h.ref=mi(m,v,y),h.return=m,m=h;break e}n(m,v);break}else t(m,v);v=v.sibling}y.type===wr?(h=Hn(y.props.children,m.mode,C,y.key),h.return=m,m=h):(C=ul(y.type,y.key,y.props,null,m.mode,C),C.ref=mi(m,h,y),C.return=m,m=C)}return l(m);case kr:e:{for(v=y.key;h!==null;){if(h.key===v)if(h.tag===4&&h.stateNode.containerInfo===y.containerInfo&&h.stateNode.implementation===y.implementation){n(m,h.sibling),h=i(h,y.children||[]),h.return=m,m=h;break e}else{n(m,h);break}else t(m,h);h=h.sibling}h=va(y,m.mode,C),h.return=m,m=h}return l(m);case ln:return v=y._init,E(m,h,v(y._payload),C)}if(ki(y))return g(m,h,y,C);if(ci(y))return w(m,h,y,C);qo(m,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,h!==null&&h.tag===6?(n(m,h.sibling),h=i(h,y),h.return=m,m=h):(n(m,h),h=wa(y,m.mode,C),h.return=m,m=h),l(m)):n(m,h)}return E}var Ur=Em(!0),Tm=Em(!1),vl=Cn(null),Sl=null,Pr=null,Ns=null;function Rs(){Ns=Pr=Sl=null}function Ds(e){var t=vl.current;ne(vl),e._currentValue=t}function Ga(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Dr(e,t){Sl=e,Ns=Pr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(We=!0),e.firstContext=null)}function ct(e){var t=e._currentValue;if(Ns!==e)if(e={context:e,memoizedValue:t,next:null},Pr===null){if(Sl===null)throw Error(P(308));Pr=e,Sl.dependencies={lanes:0,firstContext:e}}else Pr=Pr.next=e;return t}var Un=null;function Ms(e){Un===null?Un=[e]:Un.push(e)}function Im(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Ms(t)):(n.next=i.next,i.next=n),t.interleaved=n,qt(e,r)}function qt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var un=!1;function Os(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function bm(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function $t(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function gn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,(Q&2)!==0){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,qt(e,n)}return i=r.interleaved,i===null?(t.next=t,Ms(r)):(t.next=i.next,i.next=t),r.interleaved=t,qt(e,n)}function tl(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ss(e,n)}}function td(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=l:o=o.next=l,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Cl(e,t,n,r){var i=e.updateQueue;un=!1;var o=i.firstBaseUpdate,l=i.lastBaseUpdate,u=i.shared.pending;if(u!==null){i.shared.pending=null;var a=u,s=a.next;a.next=null,l===null?o=s:l.next=s,l=a;var c=e.alternate;c!==null&&(c=c.updateQueue,u=c.lastBaseUpdate,u!==l&&(u===null?c.firstBaseUpdate=s:u.next=s,c.lastBaseUpdate=a))}if(o!==null){var f=i.baseState;l=0,c=s=a=null,u=o;do{var p=u.lane,d=u.eventTime;if((r&p)===p){c!==null&&(c=c.next={eventTime:d,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var g=e,w=u;switch(p=t,d=n,w.tag){case 1:if(g=w.payload,typeof g=="function"){f=g.call(d,f,p);break e}f=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=w.payload,p=typeof g=="function"?g.call(d,f,p):g,p==null)break e;f=ue({},f,p);break e;case 2:un=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,p=i.effects,p===null?i.effects=[u]:p.push(u))}else d={eventTime:d,lane:p,tag:u.tag,payload:u.payload,callback:u.callback,next:null},c===null?(s=c=d,a=f):c=c.next=d,l|=p;if(u=u.next,u===null){if(u=i.shared.pending,u===null)break;p=u,u=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(!0);if(c===null&&(a=f),i.baseState=a,i.firstBaseUpdate=s,i.lastBaseUpdate=c,t=i.shared.interleaved,t!==null){i=t;do l|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);Kn|=l,e.lanes=l,e.memoizedState=f}}function nd(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(P(191,i));i.call(r)}}}var Gi={},Nt=Cn(Gi),Vi=Cn(Gi),Hi=Cn(Gi);function jn(e){if(e===Gi)throw Error(P(174));return e}function Fs(e,t){switch(ee(Hi,t),ee(Vi,e),ee(Nt,Gi),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:za(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=za(t,e)}ne(Nt),ee(Nt,t)}function jr(){ne(Nt),ne(Vi),ne(Hi)}function Pm(e){jn(Hi.current);var t=jn(Nt.current),n=za(t,e.type);t!==n&&(ee(Vi,e),ee(Nt,n))}function Bs(e){Vi.current===e&&(ne(Nt),ne(Vi))}var oe=Cn(0);function El(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ma=[];function Us(){for(var e=0;e<ma.length;e++)ma[e]._workInProgressVersionPrimary=null;ma.length=0}var nl=Yt.ReactCurrentDispatcher,ha=Yt.ReactCurrentBatchConfig,Qn=0,le=null,ye=null,we=null,Tl=!1,bi=!1,Wi=0,tw=0;function Pe(){throw Error(P(321))}function js(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Et(e[n],t[n]))return!1;return!0}function Vs(e,t,n,r,i,o){if(Qn=o,le=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,nl.current=e===null||e.memoizedState===null?ow:lw,e=n(r,i),bi){o=0;do{if(bi=!1,Wi=0,25<=o)throw Error(P(301));o+=1,we=ye=null,t.updateQueue=null,nl.current=uw,e=n(r,i)}while(bi)}if(nl.current=Il,t=ye!==null&&ye.next!==null,Qn=0,we=ye=le=null,Tl=!1,t)throw Error(P(300));return e}function Hs(){var e=Wi!==0;return Wi=0,e}function _t(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return we===null?le.memoizedState=we=e:we=we.next=e,we}function ft(){if(ye===null){var e=le.alternate;e=e!==null?e.memoizedState:null}else e=ye.next;var t=we===null?le.memoizedState:we.next;if(t!==null)we=t,ye=e;else{if(e===null)throw Error(P(310));ye=e,e={memoizedState:ye.memoizedState,baseState:ye.baseState,baseQueue:ye.baseQueue,queue:ye.queue,next:null},we===null?le.memoizedState=we=e:we=we.next=e}return we}function $i(e,t){return typeof t=="function"?t(e):t}function ga(e){var t=ft(),n=t.queue;if(n===null)throw Error(P(311));n.lastRenderedReducer=e;var r=ye,i=r.baseQueue,o=n.pending;if(o!==null){if(i!==null){var l=i.next;i.next=o.next,o.next=l}r.baseQueue=i=o,n.pending=null}if(i!==null){o=i.next,r=r.baseState;var u=l=null,a=null,s=o;do{var c=s.lane;if((Qn&c)===c)a!==null&&(a=a.next={lane:0,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null}),r=s.hasEagerState?s.eagerState:e(r,s.action);else{var f={lane:c,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null};a===null?(u=a=f,l=r):a=a.next=f,le.lanes|=c,Kn|=c}s=s.next}while(s!==null&&s!==o);a===null?l=r:a.next=u,Et(r,t.memoizedState)||(We=!0),t.memoizedState=r,t.baseState=l,t.baseQueue=a,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do o=i.lane,le.lanes|=o,Kn|=o,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function ya(e){var t=ft(),n=t.queue;if(n===null)throw Error(P(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(i!==null){n.pending=null;var l=i=i.next;do o=e(o,l.action),l=l.next;while(l!==i);Et(o,t.memoizedState)||(We=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Lm(){}function _m(e,t){var n=le,r=ft(),i=t(),o=!Et(r.memoizedState,i);if(o&&(r.memoizedState=i,We=!0),r=r.queue,Ws(Nm.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||we!==null&&we.memoizedState.tag&1){if(n.flags|=2048,Qi(9,Am.bind(null,n,r,i,t),void 0,null),ve===null)throw Error(P(349));(Qn&30)!==0||zm(n,t,i)}return i}function zm(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=le.updateQueue,t===null?(t={lastEffect:null,stores:null},le.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Am(e,t,n,r){t.value=n,t.getSnapshot=r,Rm(t)&&Dm(e)}function Nm(e,t,n){return n(function(){Rm(t)&&Dm(e)})}function Rm(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Et(e,n)}catch{return!0}}function Dm(e){var t=qt(e,1);t!==null&&Ct(t,e,1,-1)}function rd(e){var t=_t();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:$i,lastRenderedState:e},t.queue=e,e=e.dispatch=iw.bind(null,le,e),[t.memoizedState,e]}function Qi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=le.updateQueue,t===null?(t={lastEffect:null,stores:null},le.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Mm(){return ft().memoizedState}function rl(e,t,n,r){var i=_t();le.flags|=e,i.memoizedState=Qi(1|t,n,void 0,r===void 0?null:r)}function Fl(e,t,n,r){var i=ft();r=r===void 0?null:r;var o=void 0;if(ye!==null){var l=ye.memoizedState;if(o=l.destroy,r!==null&&js(r,l.deps)){i.memoizedState=Qi(t,n,o,r);return}}le.flags|=e,i.memoizedState=Qi(1|t,n,o,r)}function id(e,t){return rl(8390656,8,e,t)}function Ws(e,t){return Fl(2048,8,e,t)}function Om(e,t){return Fl(4,2,e,t)}function Fm(e,t){return Fl(4,4,e,t)}function Bm(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Um(e,t,n){return n=n!=null?n.concat([e]):null,Fl(4,4,Bm.bind(null,t,e),n)}function $s(){}function jm(e,t){var n=ft();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&js(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Vm(e,t){var n=ft();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&js(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Hm(e,t,n){return(Qn&21)===0?(e.baseState&&(e.baseState=!1,We=!0),e.memoizedState=n):(Et(n,t)||(n=qd(),le.lanes|=n,Kn|=n,e.baseState=!0),t)}function nw(e,t){var n=Y;Y=n!==0&&4>n?n:4,e(!0);var r=ha.transition;ha.transition={};try{e(!1),t()}finally{Y=n,ha.transition=r}}function Wm(){return ft().memoizedState}function rw(e,t,n){var r=xn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},$m(e))Qm(t,n);else if(n=Im(e,t,n,r),n!==null){var i=Oe();Ct(n,e,r,i),Km(n,t,r)}}function iw(e,t,n){var r=xn(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if($m(e))Qm(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var l=t.lastRenderedState,u=o(l,n);if(i.hasEagerState=!0,i.eagerState=u,Et(u,l)){var a=t.interleaved;a===null?(i.next=i,Ms(t)):(i.next=a.next,a.next=i),t.interleaved=i;return}}catch{}n=Im(e,t,i,r),n!==null&&(i=Oe(),Ct(n,e,r,i),Km(n,t,r))}}function $m(e){var t=e.alternate;return e===le||t!==null&&t===le}function Qm(e,t){bi=Tl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Km(e,t,n){if((n&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ss(e,n)}}var Il={readContext:ct,useCallback:Pe,useContext:Pe,useEffect:Pe,useImperativeHandle:Pe,useInsertionEffect:Pe,useLayoutEffect:Pe,useMemo:Pe,useReducer:Pe,useRef:Pe,useState:Pe,useDebugValue:Pe,useDeferredValue:Pe,useTransition:Pe,useMutableSource:Pe,useSyncExternalStore:Pe,useId:Pe,unstable_isNewReconciler:!1},ow={readContext:ct,useCallback:function(e,t){return _t().memoizedState=[e,t===void 0?null:t],e},useContext:ct,useEffect:id,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,rl(4194308,4,Bm.bind(null,t,e),n)},useLayoutEffect:function(e,t){return rl(4194308,4,e,t)},useInsertionEffect:function(e,t){return rl(4,2,e,t)},useMemo:function(e,t){var n=_t();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=_t();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=rw.bind(null,le,e),[r.memoizedState,e]},useRef:function(e){var t=_t();return e={current:e},t.memoizedState=e},useState:rd,useDebugValue:$s,useDeferredValue:function(e){return _t().memoizedState=e},useTransition:function(){var e=rd(!1),t=e[0];return e=nw.bind(null,e[1]),_t().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=le,i=_t();if(re){if(n===void 0)throw Error(P(407));n=n()}else{if(n=t(),ve===null)throw Error(P(349));(Qn&30)!==0||zm(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,id(Nm.bind(null,r,o,e),[e]),r.flags|=2048,Qi(9,Am.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=_t(),t=ve.identifierPrefix;if(re){var n=Wt,r=Ht;n=(r&~(1<<32-St(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Wi++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=tw++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},lw={readContext:ct,useCallback:jm,useContext:ct,useEffect:Ws,useImperativeHandle:Um,useInsertionEffect:Om,useLayoutEffect:Fm,useMemo:Vm,useReducer:ga,useRef:Mm,useState:function(){return ga($i)},useDebugValue:$s,useDeferredValue:function(e){var t=ft();return Hm(t,ye.memoizedState,e)},useTransition:function(){var e=ga($i)[0],t=ft().memoizedState;return[e,t]},useMutableSource:Lm,useSyncExternalStore:_m,useId:Wm,unstable_isNewReconciler:!1},uw={readContext:ct,useCallback:jm,useContext:ct,useEffect:Ws,useImperativeHandle:Um,useInsertionEffect:Om,useLayoutEffect:Fm,useMemo:Vm,useReducer:ya,useRef:Mm,useState:function(){return ya($i)},useDebugValue:$s,useDeferredValue:function(e){var t=ft();return ye===null?t.memoizedState=e:Hm(t,ye.memoizedState,e)},useTransition:function(){var e=ya($i)[0],t=ft().memoizedState;return[e,t]},useMutableSource:Lm,useSyncExternalStore:_m,useId:Wm,unstable_isNewReconciler:!1};function kt(e,t){if(e&&e.defaultProps){t=ue({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Ja(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:ue({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Bl={isMounted:function(e){return(e=e._reactInternals)?Yn(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Oe(),i=xn(e),o=$t(r,i);o.payload=t,n!=null&&(o.callback=n),t=gn(e,o,i),t!==null&&(Ct(t,e,i,r),tl(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Oe(),i=xn(e),o=$t(r,i);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=gn(e,o,i),t!==null&&(Ct(t,e,i,r),tl(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Oe(),r=xn(e),i=$t(n,r);i.tag=2,t!=null&&(i.callback=t),t=gn(e,i,r),t!==null&&(Ct(t,e,r,n),tl(t,e,r))}};function od(e,t,n,r,i,o,l){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,l):t.prototype&&t.prototype.isPureReactComponent?!Fi(n,r)||!Fi(i,o):!0}function qm(e,t,n){var r=!1,i=vn,o=t.contextType;return typeof o=="object"&&o!==null?o=ct(o):(i=Qe(t)?Wn:ze.current,r=t.contextTypes,o=(r=r!=null)?Fr(e,i):vn),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Bl,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function ld(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Bl.enqueueReplaceState(t,t.state,null)}function Za(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},Os(e);var o=t.contextType;typeof o=="object"&&o!==null?i.context=ct(o):(o=Qe(t)?Wn:ze.current,i.context=Fr(e,o)),i.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(Ja(e,t,o,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&Bl.enqueueReplaceState(i,i.state,null),Cl(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function Vr(e,t){try{var n="",r=t;do n+=O1(r),r=r.return;while(r);var i=n}catch(o){i=`
7
+ Error generating stack: `+o.message+`
8
+ `+o.stack}return{value:e,source:t,stack:i,digest:null}}function xa(e,t,n){return{value:e,source:null,stack:n!=null?n:null,digest:t!=null?t:null}}function es(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var aw=typeof WeakMap=="function"?WeakMap:Map;function Xm(e,t,n){n=$t(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Pl||(Pl=!0,cs=r),es(e,t)},n}function Ym(e,t,n){n=$t(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){es(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){es(e,t),typeof r!="function"&&(yn===null?yn=new Set([this]):yn.add(this));var l=t.stack;this.componentDidCatch(t.value,{componentStack:l!==null?l:""})}),n}function ud(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new aw;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Sw.bind(null,e,t,n),t.then(e,e))}function ad(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function sd(e,t,n,r,i){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=$t(-1,1),t.tag=2,gn(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=i,e)}var sw=Yt.ReactCurrentOwner,We=!1;function Me(e,t,n,r){t.child=e===null?Tm(t,null,n,r):Ur(t,e.child,n,r)}function cd(e,t,n,r,i){n=n.render;var o=t.ref;return Dr(t,i),r=Vs(e,t,n,r,o,i),n=Hs(),e!==null&&!We?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Xt(e,t,i)):(re&&n&&_s(t),t.flags|=1,Me(e,t,r,i),t.child)}function fd(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!Zs(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,Gm(e,t,o,r,i)):(e=ul(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,(e.lanes&i)===0){var l=o.memoizedProps;if(n=n.compare,n=n!==null?n:Fi,n(l,r)&&e.ref===t.ref)return Xt(e,t,i)}return t.flags|=1,e=kn(o,r),e.ref=t.ref,e.return=t,t.child=e}function Gm(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(Fi(o,r)&&e.ref===t.ref)if(We=!1,t.pendingProps=r=o,(e.lanes&i)!==0)(e.flags&131072)!==0&&(We=!0);else return t.lanes=e.lanes,Xt(e,t,i)}return ts(e,t,n,r,i)}function Jm(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ee(_r,Ge),Ge|=n;else{if((n&1073741824)===0)return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ee(_r,Ge),Ge|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,ee(_r,Ge),Ge|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,ee(_r,Ge),Ge|=r;return Me(e,t,i,n),t.child}function Zm(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function ts(e,t,n,r,i){var o=Qe(n)?Wn:ze.current;return o=Fr(t,o),Dr(t,i),n=Vs(e,t,n,r,o,i),r=Hs(),e!==null&&!We?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Xt(e,t,i)):(re&&r&&_s(t),t.flags|=1,Me(e,t,n,i),t.child)}function pd(e,t,n,r,i){if(Qe(n)){var o=!0;xl(t)}else o=!1;if(Dr(t,i),t.stateNode===null)il(e,t),qm(t,n,r),Za(t,n,r,i),r=!0;else if(e===null){var l=t.stateNode,u=t.memoizedProps;l.props=u;var a=l.context,s=n.contextType;typeof s=="object"&&s!==null?s=ct(s):(s=Qe(n)?Wn:ze.current,s=Fr(t,s));var c=n.getDerivedStateFromProps,f=typeof c=="function"||typeof l.getSnapshotBeforeUpdate=="function";f||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(u!==r||a!==s)&&ld(t,l,r,s),un=!1;var p=t.memoizedState;l.state=p,Cl(t,r,l,i),a=t.memoizedState,u!==r||p!==a||$e.current||un?(typeof c=="function"&&(Ja(t,n,c,r),a=t.memoizedState),(u=un||od(t,n,u,r,p,a,s))?(f||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount()),typeof l.componentDidMount=="function"&&(t.flags|=4194308)):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=a),l.props=r,l.state=a,l.context=s,r=u):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{l=t.stateNode,bm(e,t),u=t.memoizedProps,s=t.type===t.elementType?u:kt(t.type,u),l.props=s,f=t.pendingProps,p=l.context,a=n.contextType,typeof a=="object"&&a!==null?a=ct(a):(a=Qe(n)?Wn:ze.current,a=Fr(t,a));var d=n.getDerivedStateFromProps;(c=typeof d=="function"||typeof l.getSnapshotBeforeUpdate=="function")||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(u!==f||p!==a)&&ld(t,l,r,a),un=!1,p=t.memoizedState,l.state=p,Cl(t,r,l,i);var g=t.memoizedState;u!==f||p!==g||$e.current||un?(typeof d=="function"&&(Ja(t,n,d,r),g=t.memoizedState),(s=un||od(t,n,s,r,p,g,a)||!1)?(c||typeof l.UNSAFE_componentWillUpdate!="function"&&typeof l.componentWillUpdate!="function"||(typeof l.componentWillUpdate=="function"&&l.componentWillUpdate(r,g,a),typeof l.UNSAFE_componentWillUpdate=="function"&&l.UNSAFE_componentWillUpdate(r,g,a)),typeof l.componentDidUpdate=="function"&&(t.flags|=4),typeof l.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof l.componentDidUpdate!="function"||u===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=g),l.props=r,l.state=g,l.context=a,r=s):(typeof l.componentDidUpdate!="function"||u===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return ns(e,t,n,r,o,i)}function ns(e,t,n,r,i,o){Zm(e,t);var l=(t.flags&128)!==0;if(!r&&!l)return i&&Gp(t,n,!1),Xt(e,t,o);r=t.stateNode,sw.current=t;var u=l&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&l?(t.child=Ur(t,e.child,null,o),t.child=Ur(t,null,u,o)):Me(e,t,u,o),t.memoizedState=r.state,i&&Gp(t,n,!0),t.child}function eh(e){var t=e.stateNode;t.pendingContext?Yp(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Yp(e,t.context,!1),Fs(e,t.containerInfo)}function dd(e,t,n,r,i){return Br(),As(i),t.flags|=256,Me(e,t,n,r),t.child}var rs={dehydrated:null,treeContext:null,retryLane:0};function is(e){return{baseLanes:e,cachePool:null,transitions:null}}function th(e,t,n){var r=t.pendingProps,i=oe.current,o=!1,l=(t.flags&128)!==0,u;if((u=l)||(u=e!==null&&e.memoizedState===null?!1:(i&2)!==0),u?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),ee(oe,i&1),e===null)return Ya(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(l=r.children,e=r.fallback,o?(r=t.mode,o=t.child,l={mode:"hidden",children:l},(r&1)===0&&o!==null?(o.childLanes=0,o.pendingProps=l):o=Vl(l,r,0,null),e=Hn(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=is(n),t.memoizedState=rs,e):Qs(t,l));if(i=e.memoizedState,i!==null&&(u=i.dehydrated,u!==null))return cw(e,t,l,r,u,i,n);if(o){o=r.fallback,l=t.mode,i=e.child,u=i.sibling;var a={mode:"hidden",children:r.children};return(l&1)===0&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=a,t.deletions=null):(r=kn(i,a),r.subtreeFlags=i.subtreeFlags&14680064),u!==null?o=kn(u,o):(o=Hn(o,l,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,l=e.child.memoizedState,l=l===null?is(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},o.memoizedState=l,o.childLanes=e.childLanes&~n,t.memoizedState=rs,r}return o=e.child,e=o.sibling,r=kn(o,{mode:"visible",children:r.children}),(t.mode&1)===0&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Qs(e,t){return t=Vl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Xo(e,t,n,r){return r!==null&&As(r),Ur(t,e.child,null,n),e=Qs(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function cw(e,t,n,r,i,o,l){if(n)return t.flags&256?(t.flags&=-257,r=xa(Error(P(422))),Xo(e,t,l,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=Vl({mode:"visible",children:r.children},i,0,null),o=Hn(o,i,l,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,(t.mode&1)!==0&&Ur(t,e.child,null,l),t.child.memoizedState=is(l),t.memoizedState=rs,o);if((t.mode&1)===0)return Xo(e,t,l,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var u=r.dgst;return r=u,o=Error(P(419)),r=xa(o,r,void 0),Xo(e,t,l,r)}if(u=(l&e.childLanes)!==0,We||u){if(r=ve,r!==null){switch(l&-l){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=(i&(r.suspendedLanes|l))!==0?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,qt(e,i),Ct(r,e,i,-1))}return Js(),r=xa(Error(P(421))),Xo(e,t,l,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=Cw.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,Je=hn(i.nextSibling),Ze=t,re=!0,vt=null,e!==null&&(lt[ut++]=Ht,lt[ut++]=Wt,lt[ut++]=$n,Ht=e.id,Wt=e.overflow,$n=t),t=Qs(t,r.children),t.flags|=4096,t)}function md(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Ga(e.return,t,n)}function ka(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function nh(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Me(e,t,r.children,n),r=oe.current,(r&2)!==0)r=r&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&md(e,n,t);else if(e.tag===19)md(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ee(oe,r),(t.mode&1)===0)t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&El(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),ka(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&El(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}ka(t,!0,n,null,o);break;case"together":ka(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function il(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Xt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Kn|=t.lanes,(n&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(P(153));if(t.child!==null){for(e=t.child,n=kn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=kn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function fw(e,t,n){switch(t.tag){case 3:eh(t),Br();break;case 5:Pm(t);break;case 1:Qe(t.type)&&xl(t);break;case 4:Fs(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;ee(vl,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(ee(oe,oe.current&1),t.flags|=128,null):(n&t.child.childLanes)!==0?th(e,t,n):(ee(oe,oe.current&1),e=Xt(e,t,n),e!==null?e.sibling:null);ee(oe,oe.current&1);break;case 19:if(r=(n&t.childLanes)!==0,(e.flags&128)!==0){if(r)return nh(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),ee(oe,oe.current),r)break;return null;case 22:case 23:return t.lanes=0,Jm(e,t,n)}return Xt(e,t,n)}var rh,os,ih,oh;rh=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};os=function(){};ih=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,jn(Nt.current);var o=null;switch(n){case"input":i=ba(e,i),r=ba(e,r),o=[];break;case"select":i=ue({},i,{value:void 0}),r=ue({},r,{value:void 0}),o=[];break;case"textarea":i=_a(e,i),r=_a(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=gl)}Aa(n,r);var l;n=null;for(s in i)if(!r.hasOwnProperty(s)&&i.hasOwnProperty(s)&&i[s]!=null)if(s==="style"){var u=i[s];for(l in u)u.hasOwnProperty(l)&&(n||(n={}),n[l]="")}else s!=="dangerouslySetInnerHTML"&&s!=="children"&&s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(zi.hasOwnProperty(s)?o||(o=[]):(o=o||[]).push(s,null));for(s in r){var a=r[s];if(u=i!=null?i[s]:void 0,r.hasOwnProperty(s)&&a!==u&&(a!=null||u!=null))if(s==="style")if(u){for(l in u)!u.hasOwnProperty(l)||a&&a.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in a)a.hasOwnProperty(l)&&u[l]!==a[l]&&(n||(n={}),n[l]=a[l])}else n||(o||(o=[]),o.push(s,n)),n=a;else s==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,u=u?u.__html:void 0,a!=null&&u!==a&&(o=o||[]).push(s,a)):s==="children"?typeof a!="string"&&typeof a!="number"||(o=o||[]).push(s,""+a):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&(zi.hasOwnProperty(s)?(a!=null&&s==="onScroll"&&te("scroll",e),o||u===a||(o=[])):(o=o||[]).push(s,a))}n&&(o=o||[]).push("style",n);var s=o;(t.updateQueue=s)&&(t.flags|=4)}};oh=function(e,t,n,r){n!==r&&(t.flags|=4)};function hi(e,t){if(!re)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Le(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function pw(e,t,n){var r=t.pendingProps;switch(zs(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Le(t),null;case 1:return Qe(t.type)&&yl(),Le(t),null;case 3:return r=t.stateNode,jr(),ne($e),ne(ze),Us(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Ko(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,vt!==null&&(ds(vt),vt=null))),os(e,t),Le(t),null;case 5:Bs(t);var i=jn(Hi.current);if(n=t.type,e!==null&&t.stateNode!=null)ih(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(P(166));return Le(t),null}if(e=jn(Nt.current),Ko(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[zt]=t,r[ji]=o,e=(t.mode&1)!==0,n){case"dialog":te("cancel",r),te("close",r);break;case"iframe":case"object":case"embed":te("load",r);break;case"video":case"audio":for(i=0;i<vi.length;i++)te(vi[i],r);break;case"source":te("error",r);break;case"img":case"image":case"link":te("error",r),te("load",r);break;case"details":te("toggle",r);break;case"input":Sp(r,o),te("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},te("invalid",r);break;case"textarea":Ep(r,o),te("invalid",r)}Aa(n,o),i=null;for(var l in o)if(o.hasOwnProperty(l)){var u=o[l];l==="children"?typeof u=="string"?r.textContent!==u&&(o.suppressHydrationWarning!==!0&&Qo(r.textContent,u,e),i=["children",u]):typeof u=="number"&&r.textContent!==""+u&&(o.suppressHydrationWarning!==!0&&Qo(r.textContent,u,e),i=["children",""+u]):zi.hasOwnProperty(l)&&u!=null&&l==="onScroll"&&te("scroll",r)}switch(n){case"input":Ro(r),Cp(r,o,!0);break;case"textarea":Ro(r),Tp(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=gl)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{l=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Nd(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=l.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[zt]=t,e[ji]=r,rh(e,t,!1,!1),t.stateNode=e;e:{switch(l=Na(n,r),n){case"dialog":te("cancel",e),te("close",e),i=r;break;case"iframe":case"object":case"embed":te("load",e),i=r;break;case"video":case"audio":for(i=0;i<vi.length;i++)te(vi[i],e);i=r;break;case"source":te("error",e),i=r;break;case"img":case"image":case"link":te("error",e),te("load",e),i=r;break;case"details":te("toggle",e),i=r;break;case"input":Sp(e,r),i=ba(e,r),te("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=ue({},r,{value:void 0}),te("invalid",e);break;case"textarea":Ep(e,r),i=_a(e,r),te("invalid",e);break;default:i=r}Aa(n,i),u=i;for(o in u)if(u.hasOwnProperty(o)){var a=u[o];o==="style"?Md(e,a):o==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,a!=null&&Rd(e,a)):o==="children"?typeof a=="string"?(n!=="textarea"||a!=="")&&Ai(e,a):typeof a=="number"&&Ai(e,""+a):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(zi.hasOwnProperty(o)?a!=null&&o==="onScroll"&&te("scroll",e):a!=null&&gs(e,o,a,l))}switch(n){case"input":Ro(e),Cp(e,r,!1);break;case"textarea":Ro(e),Tp(e);break;case"option":r.value!=null&&e.setAttribute("value",""+wn(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?zr(e,!!r.multiple,o,!1):r.defaultValue!=null&&zr(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=gl)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Le(t),null;case 6:if(e&&t.stateNode!=null)oh(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(P(166));if(n=jn(Hi.current),jn(Nt.current),Ko(t)){if(r=t.stateNode,n=t.memoizedProps,r[zt]=t,(o=r.nodeValue!==n)&&(e=Ze,e!==null))switch(e.tag){case 3:Qo(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Qo(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[zt]=t,t.stateNode=r}return Le(t),null;case 13:if(ne(oe),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(re&&Je!==null&&(t.mode&1)!==0&&(t.flags&128)===0)Cm(),Br(),t.flags|=98560,o=!1;else if(o=Ko(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(P(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(P(317));o[zt]=t}else Br(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Le(t),o=!1}else vt!==null&&(ds(vt),vt=null),o=!0;if(!o)return t.flags&65536?t:null}return(t.flags&128)!==0?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||(oe.current&1)!==0?xe===0&&(xe=3):Js())),t.updateQueue!==null&&(t.flags|=4),Le(t),null);case 4:return jr(),os(e,t),e===null&&Bi(t.stateNode.containerInfo),Le(t),null;case 10:return Ds(t.type._context),Le(t),null;case 17:return Qe(t.type)&&yl(),Le(t),null;case 19:if(ne(oe),o=t.memoizedState,o===null)return Le(t),null;if(r=(t.flags&128)!==0,l=o.rendering,l===null)if(r)hi(o,!1);else{if(xe!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(l=El(e),l!==null){for(t.flags|=128,hi(o,!1),r=l.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,l=o.alternate,l===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=l.childLanes,o.lanes=l.lanes,o.child=l.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=l.memoizedProps,o.memoizedState=l.memoizedState,o.updateQueue=l.updateQueue,o.type=l.type,e=l.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ee(oe,oe.current&1|2),t.child}e=e.sibling}o.tail!==null&&pe()>Hr&&(t.flags|=128,r=!0,hi(o,!1),t.lanes=4194304)}else{if(!r)if(e=El(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),hi(o,!0),o.tail===null&&o.tailMode==="hidden"&&!l.alternate&&!re)return Le(t),null}else 2*pe()-o.renderingStartTime>Hr&&n!==1073741824&&(t.flags|=128,r=!0,hi(o,!1),t.lanes=4194304);o.isBackwards?(l.sibling=t.child,t.child=l):(n=o.last,n!==null?n.sibling=l:t.child=l,o.last=l)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=pe(),t.sibling=null,n=oe.current,ee(oe,r?n&1|2:n&1),t):(Le(t),null);case 22:case 23:return Gs(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(t.mode&1)!==0?(Ge&1073741824)!==0&&(Le(t),t.subtreeFlags&6&&(t.flags|=8192)):Le(t),null;case 24:return null;case 25:return null}throw Error(P(156,t.tag))}function dw(e,t){switch(zs(t),t.tag){case 1:return Qe(t.type)&&yl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return jr(),ne($e),ne(ze),Us(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return Bs(t),null;case 13:if(ne(oe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(P(340));Br()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ne(oe),null;case 4:return jr(),null;case 10:return Ds(t.type._context),null;case 22:case 23:return Gs(),null;case 24:return null;default:return null}}var Yo=!1,_e=!1,mw=typeof WeakSet=="function"?WeakSet:Set,N=null;function Lr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){se(e,t,r)}else n.current=null}function ls(e,t,n){try{n()}catch(r){se(e,t,r)}}var hd=!1;function hw(e,t){if(Ha=dl,e=cm(),Ls(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var l=0,u=-1,a=-1,s=0,c=0,f=e,p=null;t:for(;;){for(var d;f!==n||i!==0&&f.nodeType!==3||(u=l+i),f!==o||r!==0&&f.nodeType!==3||(a=l+r),f.nodeType===3&&(l+=f.nodeValue.length),(d=f.firstChild)!==null;)p=f,f=d;for(;;){if(f===e)break t;if(p===n&&++s===i&&(u=l),p===o&&++c===r&&(a=l),(d=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=d}n=u===-1||a===-1?null:{start:u,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(Wa={focusedElem:e,selectionRange:n},dl=!1,N=t;N!==null;)if(t=N,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,N=e;else for(;N!==null;){t=N;try{var g=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var w=g.memoizedProps,E=g.memoizedState,m=t.stateNode,h=m.getSnapshotBeforeUpdate(t.elementType===t.type?w:kt(t.type,w),E);m.__reactInternalSnapshotBeforeUpdate=h}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent="":y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(P(163))}}catch(C){se(t,t.return,C)}if(e=t.sibling,e!==null){e.return=t.return,N=e;break}N=t.return}return g=hd,hd=!1,g}function Pi(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&ls(t,n,o)}i=i.next}while(i!==r)}}function Ul(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function us(e){var t=e.ref;if(t!==null){var n=e.stateNode;e.tag,e=n,typeof t=="function"?t(e):t.current=e}}function lh(e){var t=e.alternate;t!==null&&(e.alternate=null,lh(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[zt],delete t[ji],delete t[Ka],delete t[Gk],delete t[Jk])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function uh(e){return e.tag===5||e.tag===3||e.tag===4}function gd(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||uh(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function as(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=gl));else if(r!==4&&(e=e.child,e!==null))for(as(e,t,n),e=e.sibling;e!==null;)as(e,t,n),e=e.sibling}function ss(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(ss(e,t,n),e=e.sibling;e!==null;)ss(e,t,n),e=e.sibling}var Ee=null,wt=!1;function on(e,t,n){for(n=n.child;n!==null;)ah(e,t,n),n=n.sibling}function ah(e,t,n){if(At&&typeof At.onCommitFiberUnmount=="function")try{At.onCommitFiberUnmount(Al,n)}catch{}switch(n.tag){case 5:_e||Lr(n,t);case 6:var r=Ee,i=wt;Ee=null,on(e,t,n),Ee=r,wt=i,Ee!==null&&(wt?(e=Ee,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ee.removeChild(n.stateNode));break;case 18:Ee!==null&&(wt?(e=Ee,n=n.stateNode,e.nodeType===8?pa(e.parentNode,n):e.nodeType===1&&pa(e,n),Mi(e)):pa(Ee,n.stateNode));break;case 4:r=Ee,i=wt,Ee=n.stateNode.containerInfo,wt=!0,on(e,t,n),Ee=r,wt=i;break;case 0:case 11:case 14:case 15:if(!_e&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,l=o.destroy;o=o.tag,l!==void 0&&((o&2)!==0||(o&4)!==0)&&ls(n,t,l),i=i.next}while(i!==r)}on(e,t,n);break;case 1:if(!_e&&(Lr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){se(n,t,u)}on(e,t,n);break;case 21:on(e,t,n);break;case 22:n.mode&1?(_e=(r=_e)||n.memoizedState!==null,on(e,t,n),_e=r):on(e,t,n);break;default:on(e,t,n)}}function yd(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new mw),t.forEach(function(r){var i=Ew.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function xt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var o=e,l=t,u=l;e:for(;u!==null;){switch(u.tag){case 5:Ee=u.stateNode,wt=!1;break e;case 3:Ee=u.stateNode.containerInfo,wt=!0;break e;case 4:Ee=u.stateNode.containerInfo,wt=!0;break e}u=u.return}if(Ee===null)throw Error(P(160));ah(o,l,i),Ee=null,wt=!1;var a=i.alternate;a!==null&&(a.return=null),i.return=null}catch(s){se(i,t,s)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)sh(t,e),t=t.sibling}function sh(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(xt(t,e),Lt(e),r&4){try{Pi(3,e,e.return),Ul(3,e)}catch(w){se(e,e.return,w)}try{Pi(5,e,e.return)}catch(w){se(e,e.return,w)}}break;case 1:xt(t,e),Lt(e),r&512&&n!==null&&Lr(n,n.return);break;case 5:if(xt(t,e),Lt(e),r&512&&n!==null&&Lr(n,n.return),e.flags&32){var i=e.stateNode;try{Ai(i,"")}catch(w){se(e,e.return,w)}}if(r&4&&(i=e.stateNode,i!=null)){var o=e.memoizedProps,l=n!==null?n.memoizedProps:o,u=e.type,a=e.updateQueue;if(e.updateQueue=null,a!==null)try{u==="input"&&o.type==="radio"&&o.name!=null&&zd(i,o),Na(u,l);var s=Na(u,o);for(l=0;l<a.length;l+=2){var c=a[l],f=a[l+1];c==="style"?Md(i,f):c==="dangerouslySetInnerHTML"?Rd(i,f):c==="children"?Ai(i,f):gs(i,c,f,s)}switch(u){case"input":Pa(i,o);break;case"textarea":Ad(i,o);break;case"select":var p=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var d=o.value;d!=null?zr(i,!!o.multiple,d,!1):p!==!!o.multiple&&(o.defaultValue!=null?zr(i,!!o.multiple,o.defaultValue,!0):zr(i,!!o.multiple,o.multiple?[]:"",!1))}i[ji]=o}catch(w){se(e,e.return,w)}}break;case 6:if(xt(t,e),Lt(e),r&4){if(e.stateNode===null)throw Error(P(162));i=e.stateNode,o=e.memoizedProps;try{i.nodeValue=o}catch(w){se(e,e.return,w)}}break;case 3:if(xt(t,e),Lt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Mi(t.containerInfo)}catch(w){se(e,e.return,w)}break;case 4:xt(t,e),Lt(e);break;case 13:xt(t,e),Lt(e),i=e.child,i.flags&8192&&(o=i.memoizedState!==null,i.stateNode.isHidden=o,!o||i.alternate!==null&&i.alternate.memoizedState!==null||(Xs=pe())),r&4&&yd(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(_e=(s=_e)||c,xt(t,e),_e=s):xt(t,e),Lt(e),r&8192){if(s=e.memoizedState!==null,(e.stateNode.isHidden=s)&&!c&&(e.mode&1)!==0)for(N=e,c=e.child;c!==null;){for(f=N=c;N!==null;){switch(p=N,d=p.child,p.tag){case 0:case 11:case 14:case 15:Pi(4,p,p.return);break;case 1:Lr(p,p.return);var g=p.stateNode;if(typeof g.componentWillUnmount=="function"){r=p,n=p.return;try{t=r,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(w){se(r,n,w)}}break;case 5:Lr(p,p.return);break;case 22:if(p.memoizedState!==null){kd(f);continue}}d!==null?(d.return=p,N=d):kd(f)}c=c.sibling}e:for(c=null,f=e;;){if(f.tag===5){if(c===null){c=f;try{i=f.stateNode,s?(o=i.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(u=f.stateNode,a=f.memoizedProps.style,l=a!=null&&a.hasOwnProperty("display")?a.display:null,u.style.display=Dd("display",l))}catch(w){se(e,e.return,w)}}}else if(f.tag===6){if(c===null)try{f.stateNode.nodeValue=s?"":f.memoizedProps}catch(w){se(e,e.return,w)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;c===f&&(c=null),f=f.return}c===f&&(c=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:xt(t,e),Lt(e),r&4&&yd(e);break;case 21:break;default:xt(t,e),Lt(e)}}function Lt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(uh(n)){var r=n;break e}n=n.return}throw Error(P(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(Ai(i,""),r.flags&=-33);var o=gd(e);ss(e,o,i);break;case 3:case 4:var l=r.stateNode.containerInfo,u=gd(e);as(e,u,l);break;default:throw Error(P(161))}}catch(a){se(e,e.return,a)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function gw(e,t,n){N=e,ch(e,t,n)}function ch(e,t,n){for(var r=(e.mode&1)!==0;N!==null;){var i=N,o=i.child;if(i.tag===22&&r){var l=i.memoizedState!==null||Yo;if(!l){var u=i.alternate,a=u!==null&&u.memoizedState!==null||_e;u=Yo;var s=_e;if(Yo=l,(_e=a)&&!s)for(N=i;N!==null;)l=N,a=l.child,l.tag===22&&l.memoizedState!==null?wd(i):a!==null?(a.return=l,N=a):wd(i);for(;o!==null;)N=o,ch(o,t,n),o=o.sibling;N=i,Yo=u,_e=s}xd(e,t,n)}else(i.subtreeFlags&8772)!==0&&o!==null?(o.return=i,N=o):xd(e,t,n)}}function xd(e){for(;N!==null;){var t=N;if((t.flags&8772)!==0){var n=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:_e||Ul(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!_e)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:kt(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&nd(t,o,r);break;case 3:var l=t.updateQueue;if(l!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}nd(t,l,n)}break;case 5:var u=t.stateNode;if(n===null&&t.flags&4){n=u;var a=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":a.autoFocus&&n.focus();break;case"img":a.src&&(n.src=a.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var s=t.alternate;if(s!==null){var c=s.memoizedState;if(c!==null){var f=c.dehydrated;f!==null&&Mi(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(P(163))}_e||t.flags&512&&us(t)}catch(p){se(t,t.return,p)}}if(t===e){N=null;break}if(n=t.sibling,n!==null){n.return=t.return,N=n;break}N=t.return}}function kd(e){for(;N!==null;){var t=N;if(t===e){N=null;break}var n=t.sibling;if(n!==null){n.return=t.return,N=n;break}N=t.return}}function wd(e){for(;N!==null;){var t=N;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Ul(4,t)}catch(a){se(t,n,a)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(a){se(t,i,a)}}var o=t.return;try{us(t)}catch(a){se(t,o,a)}break;case 5:var l=t.return;try{us(t)}catch(a){se(t,l,a)}}}catch(a){se(t,t.return,a)}if(t===e){N=null;break}var u=t.sibling;if(u!==null){u.return=t.return,N=u;break}N=t.return}}var yw=Math.ceil,bl=Yt.ReactCurrentDispatcher,Ks=Yt.ReactCurrentOwner,st=Yt.ReactCurrentBatchConfig,Q=0,ve=null,he=null,Te=0,Ge=0,_r=Cn(0),xe=0,Ki=null,Kn=0,jl=0,qs=0,Li=null,He=null,Xs=0,Hr=1/0,jt=null,Pl=!1,cs=null,yn=null,Go=!1,fn=null,Ll=0,_i=0,fs=null,ol=-1,ll=0;function Oe(){return(Q&6)!==0?pe():ol!==-1?ol:ol=pe()}function xn(e){return(e.mode&1)===0?1:(Q&2)!==0&&Te!==0?Te&-Te:ew.transition!==null?(ll===0&&(ll=qd()),ll):(e=Y,e!==0||(e=window.event,e=e===void 0?16:tm(e.type)),e)}function Ct(e,t,n,r){if(50<_i)throw _i=0,fs=null,Error(P(185));qi(e,n,r),((Q&2)===0||e!==ve)&&(e===ve&&((Q&2)===0&&(jl|=n),xe===4&&sn(e,Te)),Ke(e,r),n===1&&Q===0&&(t.mode&1)===0&&(Hr=pe()+500,Ol&&En()))}function Ke(e,t){var n=e.callbackNode;nk(e,t);var r=pl(e,e===ve?Te:0);if(r===0)n!==null&&Pp(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Pp(n),t===1)e.tag===0?Zk(vd.bind(null,e)):wm(vd.bind(null,e)),Xk(function(){(Q&6)===0&&En()}),n=null;else{switch(Xd(r)){case 1:n=vs;break;case 4:n=Qd;break;case 16:n=fl;break;case 536870912:n=Kd;break;default:n=fl}n=xh(n,fh.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function fh(e,t){if(ol=-1,ll=0,(Q&6)!==0)throw Error(P(327));var n=e.callbackNode;if(Mr()&&e.callbackNode!==n)return null;var r=pl(e,e===ve?Te:0);if(r===0)return null;if((r&30)!==0||(r&e.expiredLanes)!==0||t)t=_l(e,r);else{t=r;var i=Q;Q|=2;var o=dh();(ve!==e||Te!==t)&&(jt=null,Hr=pe()+500,Vn(e,t));do try{ww();break}catch(u){ph(e,u)}while(!0);Rs(),bl.current=o,Q=i,he!==null?t=0:(ve=null,Te=0,t=xe)}if(t!==0){if(t===2&&(i=Fa(e),i!==0&&(r=i,t=ps(e,i))),t===1)throw n=Ki,Vn(e,0),sn(e,r),Ke(e,pe()),n;if(t===6)sn(e,r);else{if(i=e.current.alternate,(r&30)===0&&!xw(i)&&(t=_l(e,r),t===2&&(o=Fa(e),o!==0&&(r=o,t=ps(e,o))),t===1))throw n=Ki,Vn(e,0),sn(e,r),Ke(e,pe()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(P(345));case 2:Fn(e,He,jt);break;case 3:if(sn(e,r),(r&130023424)===r&&(t=Xs+500-pe(),10<t)){if(pl(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){Oe(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Qa(Fn.bind(null,e,He,jt),t);break}Fn(e,He,jt);break;case 4:if(sn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var l=31-St(r);o=1<<l,l=t[l],l>i&&(i=l),r&=~o}if(r=i,r=pe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*yw(r/1960))-r,10<r){e.timeoutHandle=Qa(Fn.bind(null,e,He,jt),r);break}Fn(e,He,jt);break;case 5:Fn(e,He,jt);break;default:throw Error(P(329))}}}return Ke(e,pe()),e.callbackNode===n?fh.bind(null,e):null}function ps(e,t){var n=Li;return e.current.memoizedState.isDehydrated&&(Vn(e,t).flags|=256),e=_l(e,t),e!==2&&(t=He,He=n,t!==null&&ds(t)),e}function ds(e){He===null?He=e:He.push.apply(He,e)}function xw(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!Et(o(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function sn(e,t){for(t&=~qs,t&=~jl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-St(t),r=1<<n;e[n]=-1,t&=~r}}function vd(e){if((Q&6)!==0)throw Error(P(327));Mr();var t=pl(e,0);if((t&1)===0)return Ke(e,pe()),null;var n=_l(e,t);if(e.tag!==0&&n===2){var r=Fa(e);r!==0&&(t=r,n=ps(e,r))}if(n===1)throw n=Ki,Vn(e,0),sn(e,t),Ke(e,pe()),n;if(n===6)throw Error(P(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Fn(e,He,jt),Ke(e,pe()),null}function Ys(e,t){var n=Q;Q|=1;try{return e(t)}finally{Q=n,Q===0&&(Hr=pe()+500,Ol&&En())}}function qn(e){fn!==null&&fn.tag===0&&(Q&6)===0&&Mr();var t=Q;Q|=1;var n=st.transition,r=Y;try{if(st.transition=null,Y=1,e)return e()}finally{Y=r,st.transition=n,Q=t,(Q&6)===0&&En()}}function Gs(){Ge=_r.current,ne(_r)}function Vn(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,qk(n)),he!==null)for(n=he.return;n!==null;){var r=n;switch(zs(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&yl();break;case 3:jr(),ne($e),ne(ze),Us();break;case 5:Bs(r);break;case 4:jr();break;case 13:ne(oe);break;case 19:ne(oe);break;case 10:Ds(r.type._context);break;case 22:case 23:Gs()}n=n.return}if(ve=e,he=e=kn(e.current,null),Te=Ge=t,xe=0,Ki=null,qs=jl=Kn=0,He=Li=null,Un!==null){for(t=0;t<Un.length;t++)if(n=Un[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,o=n.pending;if(o!==null){var l=o.next;o.next=i,r.next=l}n.pending=r}Un=null}return e}function ph(e,t){do{var n=he;try{if(Rs(),nl.current=Il,Tl){for(var r=le.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}Tl=!1}if(Qn=0,we=ye=le=null,bi=!1,Wi=0,Ks.current=null,n===null||n.return===null){xe=1,Ki=t,he=null;break}e:{var o=e,l=n.return,u=n,a=t;if(t=Te,u.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){var s=a,c=u,f=c.tag;if((c.mode&1)===0&&(f===0||f===11||f===15)){var p=c.alternate;p?(c.updateQueue=p.updateQueue,c.memoizedState=p.memoizedState,c.lanes=p.lanes):(c.updateQueue=null,c.memoizedState=null)}var d=ad(l);if(d!==null){d.flags&=-257,sd(d,l,u,o,t),d.mode&1&&ud(o,s,t),t=d,a=s;var g=t.updateQueue;if(g===null){var w=new Set;w.add(a),t.updateQueue=w}else g.add(a);break e}else{if((t&1)===0){ud(o,s,t),Js();break e}a=Error(P(426))}}else if(re&&u.mode&1){var E=ad(l);if(E!==null){(E.flags&65536)===0&&(E.flags|=256),sd(E,l,u,o,t),As(Vr(a,u));break e}}o=a=Vr(a,u),xe!==4&&(xe=2),Li===null?Li=[o]:Li.push(o),o=l;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var m=Xm(o,a,t);td(o,m);break e;case 1:u=a;var h=o.type,y=o.stateNode;if((o.flags&128)===0&&(typeof h.getDerivedStateFromError=="function"||y!==null&&typeof y.componentDidCatch=="function"&&(yn===null||!yn.has(y)))){o.flags|=65536,t&=-t,o.lanes|=t;var C=Ym(o,u,t);td(o,C);break e}}o=o.return}while(o!==null)}hh(n)}catch(I){t=I,he===n&&n!==null&&(he=n=n.return);continue}break}while(!0)}function dh(){var e=bl.current;return bl.current=Il,e===null?Il:e}function Js(){(xe===0||xe===3||xe===2)&&(xe=4),ve===null||(Kn&268435455)===0&&(jl&268435455)===0||sn(ve,Te)}function _l(e,t){var n=Q;Q|=2;var r=dh();(ve!==e||Te!==t)&&(jt=null,Vn(e,t));do try{kw();break}catch(i){ph(e,i)}while(!0);if(Rs(),Q=n,bl.current=r,he!==null)throw Error(P(261));return ve=null,Te=0,xe}function kw(){for(;he!==null;)mh(he)}function ww(){for(;he!==null&&!K1();)mh(he)}function mh(e){var t=yh(e.alternate,e,Ge);e.memoizedProps=e.pendingProps,t===null?hh(e):he=t,Ks.current=null}function hh(e){var t=e;do{var n=t.alternate;if(e=t.return,(t.flags&32768)===0){if(n=pw(n,t,Ge),n!==null){he=n;return}}else{if(n=dw(n,t),n!==null){n.flags&=32767,he=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{xe=6,he=null;return}}if(t=t.sibling,t!==null){he=t;return}he=t=e}while(t!==null);xe===0&&(xe=5)}function Fn(e,t,n){var r=Y,i=st.transition;try{st.transition=null,Y=1,vw(e,t,n,r)}finally{st.transition=i,Y=r}return null}function vw(e,t,n,r){do Mr();while(fn!==null);if((Q&6)!==0)throw Error(P(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(P(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(rk(e,o),e===ve&&(he=ve=null,Te=0),(n.subtreeFlags&2064)===0&&(n.flags&2064)===0||Go||(Go=!0,xh(fl,function(){return Mr(),null})),o=(n.flags&15990)!==0,(n.subtreeFlags&15990)!==0||o){o=st.transition,st.transition=null;var l=Y;Y=1;var u=Q;Q|=4,Ks.current=null,hw(e,n),sh(n,e),Hk(Wa),dl=!!Ha,Wa=Ha=null,e.current=n,gw(n,e,i),q1(),Q=u,Y=l,st.transition=o}else e.current=n;if(Go&&(Go=!1,fn=e,Ll=i),o=e.pendingLanes,o===0&&(yn=null),G1(n.stateNode,r),Ke(e,pe()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(Pl)throw Pl=!1,e=cs,cs=null,e;return(Ll&1)!==0&&e.tag!==0&&Mr(),o=e.pendingLanes,(o&1)!==0?e===fs?_i++:(_i=0,fs=e):_i=0,En(),null}function Mr(){if(fn!==null){var e=Xd(Ll),t=st.transition,n=Y;try{if(st.transition=null,Y=16>e?16:e,fn===null)var r=!1;else{if(e=fn,fn=null,Ll=0,(Q&6)!==0)throw Error(P(331));var i=Q;for(Q|=4,N=e.current;N!==null;){var o=N,l=o.child;if((N.flags&16)!==0){var u=o.deletions;if(u!==null){for(var a=0;a<u.length;a++){var s=u[a];for(N=s;N!==null;){var c=N;switch(c.tag){case 0:case 11:case 15:Pi(8,c,o)}var f=c.child;if(f!==null)f.return=c,N=f;else for(;N!==null;){c=N;var p=c.sibling,d=c.return;if(lh(c),c===s){N=null;break}if(p!==null){p.return=d,N=p;break}N=d}}}var g=o.alternate;if(g!==null){var w=g.child;if(w!==null){g.child=null;do{var E=w.sibling;w.sibling=null,w=E}while(w!==null)}}N=o}}if((o.subtreeFlags&2064)!==0&&l!==null)l.return=o,N=l;else e:for(;N!==null;){if(o=N,(o.flags&2048)!==0)switch(o.tag){case 0:case 11:case 15:Pi(9,o,o.return)}var m=o.sibling;if(m!==null){m.return=o.return,N=m;break e}N=o.return}}var h=e.current;for(N=h;N!==null;){l=N;var y=l.child;if((l.subtreeFlags&2064)!==0&&y!==null)y.return=l,N=y;else e:for(l=h;N!==null;){if(u=N,(u.flags&2048)!==0)try{switch(u.tag){case 0:case 11:case 15:Ul(9,u)}}catch(I){se(u,u.return,I)}if(u===l){N=null;break e}var C=u.sibling;if(C!==null){C.return=u.return,N=C;break e}N=u.return}}if(Q=i,En(),At&&typeof At.onPostCommitFiberRoot=="function")try{At.onPostCommitFiberRoot(Al,e)}catch{}r=!0}return r}finally{Y=n,st.transition=t}}return!1}function Sd(e,t,n){t=Vr(n,t),t=Xm(e,t,1),e=gn(e,t,1),t=Oe(),e!==null&&(qi(e,1,t),Ke(e,t))}function se(e,t,n){if(e.tag===3)Sd(e,e,n);else for(;t!==null;){if(t.tag===3){Sd(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(yn===null||!yn.has(r))){e=Vr(n,e),e=Ym(t,e,1),t=gn(t,e,1),e=Oe(),t!==null&&(qi(t,1,e),Ke(t,e));break}}t=t.return}}function Sw(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Oe(),e.pingedLanes|=e.suspendedLanes&n,ve===e&&(Te&n)===n&&(xe===4||xe===3&&(Te&130023424)===Te&&500>pe()-Xs?Vn(e,0):qs|=n),Ke(e,t)}function gh(e,t){t===0&&((e.mode&1)===0?t=1:(t=Oo,Oo<<=1,(Oo&130023424)===0&&(Oo=4194304)));var n=Oe();e=qt(e,t),e!==null&&(qi(e,t,n),Ke(e,n))}function Cw(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),gh(e,n)}function Ew(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(P(314))}r!==null&&r.delete(t),gh(e,n)}var yh;yh=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||$e.current)We=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return We=!1,fw(e,t,n);We=(e.flags&131072)!==0}else We=!1,re&&(t.flags&1048576)!==0&&vm(t,wl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;il(e,t),e=t.pendingProps;var i=Fr(t,ze.current);Dr(t,n),i=Vs(null,t,r,e,i,n);var o=Hs();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Qe(r)?(o=!0,xl(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Os(t),i.updater=Bl,t.stateNode=i,i._reactInternals=t,Za(t,r,e,n),t=ns(null,t,r,!0,o,n)):(t.tag=0,re&&o&&_s(t),Me(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(il(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=Iw(r),e=kt(r,e),i){case 0:t=ts(null,t,r,e,n);break e;case 1:t=pd(null,t,r,e,n);break e;case 11:t=cd(null,t,r,e,n);break e;case 14:t=fd(null,t,r,kt(r.type,e),n);break e}throw Error(P(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:kt(r,i),ts(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:kt(r,i),pd(e,t,r,i,n);case 3:e:{if(eh(t),e===null)throw Error(P(387));r=t.pendingProps,o=t.memoizedState,i=o.element,bm(e,t),Cl(t,r,null,n);var l=t.memoizedState;if(r=l.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=Vr(Error(P(423)),t),t=dd(e,t,r,n,i);break e}else if(r!==i){i=Vr(Error(P(424)),t),t=dd(e,t,r,n,i);break e}else for(Je=hn(t.stateNode.containerInfo.firstChild),Ze=t,re=!0,vt=null,n=Tm(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Br(),r===i){t=Xt(e,t,n);break e}Me(e,t,r,n)}t=t.child}return t;case 5:return Pm(t),e===null&&Ya(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,l=i.children,$a(r,i)?l=null:o!==null&&$a(r,o)&&(t.flags|=32),Zm(e,t),Me(e,t,l,n),t.child;case 6:return e===null&&Ya(t),null;case 13:return th(e,t,n);case 4:return Fs(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ur(t,null,r,n):Me(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:kt(r,i),cd(e,t,r,i,n);case 7:return Me(e,t,t.pendingProps,n),t.child;case 8:return Me(e,t,t.pendingProps.children,n),t.child;case 12:return Me(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,l=i.value,ee(vl,r._currentValue),r._currentValue=l,o!==null)if(Et(o.value,l)){if(o.children===i.children&&!$e.current){t=Xt(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var u=o.dependencies;if(u!==null){l=o.child;for(var a=u.firstContext;a!==null;){if(a.context===r){if(o.tag===1){a=$t(-1,n&-n),a.tag=2;var s=o.updateQueue;if(s!==null){s=s.shared;var c=s.pending;c===null?a.next=a:(a.next=c.next,c.next=a),s.pending=a}}o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),Ga(o.return,n,t),u.lanes|=n;break}a=a.next}}else if(o.tag===10)l=o.type===t.type?null:o.child;else if(o.tag===18){if(l=o.return,l===null)throw Error(P(341));l.lanes|=n,u=l.alternate,u!==null&&(u.lanes|=n),Ga(l,n,t),l=o.sibling}else l=o.child;if(l!==null)l.return=o;else for(l=o;l!==null;){if(l===t){l=null;break}if(o=l.sibling,o!==null){o.return=l.return,l=o;break}l=l.return}o=l}Me(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Dr(t,n),i=ct(i),r=r(i),t.flags|=1,Me(e,t,r,n),t.child;case 14:return r=t.type,i=kt(r,t.pendingProps),i=kt(r.type,i),fd(e,t,r,i,n);case 15:return Gm(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:kt(r,i),il(e,t),t.tag=1,Qe(r)?(e=!0,xl(t)):e=!1,Dr(t,n),qm(t,r,i),Za(t,r,i,n),ns(null,t,r,!0,e,n);case 19:return nh(e,t,n);case 22:return Jm(e,t,n)}throw Error(P(156,t.tag))};function xh(e,t){return $d(e,t)}function Tw(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function at(e,t,n,r){return new Tw(e,t,n,r)}function Zs(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Iw(e){if(typeof e=="function")return Zs(e)?1:0;if(e!=null){if(e=e.$$typeof,e===xs)return 11;if(e===ks)return 14}return 2}function kn(e,t){var n=e.alternate;return n===null?(n=at(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function ul(e,t,n,r,i,o){var l=2;if(r=e,typeof e=="function")Zs(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case wr:return Hn(n.children,i,o,t);case ys:l=8,i|=8;break;case Ca:return e=at(12,n,t,i|2),e.elementType=Ca,e.lanes=o,e;case Ea:return e=at(13,n,t,i),e.elementType=Ea,e.lanes=o,e;case Ta:return e=at(19,n,t,i),e.elementType=Ta,e.lanes=o,e;case Pd:return Vl(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Id:l=10;break e;case bd:l=9;break e;case xs:l=11;break e;case ks:l=14;break e;case ln:l=16,r=null;break e}throw Error(P(130,e==null?e:typeof e,""))}return t=at(l,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Hn(e,t,n,r){return e=at(7,e,r,t),e.lanes=n,e}function Vl(e,t,n,r){return e=at(22,e,r,t),e.elementType=Pd,e.lanes=n,e.stateNode={isHidden:!1},e}function wa(e,t,n){return e=at(6,e,null,t),e.lanes=n,e}function va(e,t,n){return t=at(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function bw(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ia(0),this.expirationTimes=ia(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ia(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function ec(e,t,n,r,i,o,l,u,a){return e=new bw(e,t,n,u,a),t===1?(t=1,o===!0&&(t|=8)):t=0,o=at(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Os(o),e}function Pw(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:kr,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function kh(e){if(!e)return vn;e=e._reactInternals;e:{if(Yn(e)!==e||e.tag!==1)throw Error(P(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Qe(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(P(171))}if(e.tag===1){var n=e.type;if(Qe(n))return km(e,n,t)}return t}function wh(e,t,n,r,i,o,l,u,a){return e=ec(n,r,!0,e,i,o,l,u,a),e.context=kh(null),n=e.current,r=Oe(),i=xn(n),o=$t(r,i),o.callback=t!=null?t:null,gn(n,o,i),e.current.lanes=i,qi(e,i,r),Ke(e,r),e}function Hl(e,t,n,r){var i=t.current,o=Oe(),l=xn(i);return n=kh(n),t.context===null?t.context=n:t.pendingContext=n,t=$t(o,l),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=gn(i,t,l),e!==null&&(Ct(e,i,l,o),tl(e,i,l)),l}function zl(e){return e=e.current,e.child?(e.child.tag===5,e.child.stateNode):null}function Cd(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function tc(e,t){Cd(e,t),(e=e.alternate)&&Cd(e,t)}function Lw(){return null}var vh=typeof reportError=="function"?reportError:function(e){console.error(e)};function nc(e){this._internalRoot=e}Wl.prototype.render=nc.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(P(409));Hl(e,t,null,null)};Wl.prototype.unmount=nc.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;qn(function(){Hl(null,e,null,null)}),t[Kt]=null}};function Wl(e){this._internalRoot=e}Wl.prototype.unstable_scheduleHydration=function(e){if(e){var t=Jd();e={blockedOn:null,target:e,priority:t};for(var n=0;n<an.length&&t!==0&&t<an[n].priority;n++);an.splice(n,0,e),n===0&&em(e)}};function rc(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function $l(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Ed(){}function _w(e,t,n,r,i){if(i){if(typeof r=="function"){var o=r;r=function(){var s=zl(l);o.call(s)}}var l=wh(t,r,e,0,null,!1,!1,"",Ed);return e._reactRootContainer=l,e[Kt]=l.current,Bi(e.nodeType===8?e.parentNode:e),qn(),l}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var u=r;r=function(){var s=zl(a);u.call(s)}}var a=ec(e,0,!1,null,null,!1,!1,"",Ed);return e._reactRootContainer=a,e[Kt]=a.current,Bi(e.nodeType===8?e.parentNode:e),qn(function(){Hl(t,a,n,r)}),a}function Ql(e,t,n,r,i){var o=n._reactRootContainer;if(o){var l=o;if(typeof i=="function"){var u=i;i=function(){var a=zl(l);u.call(a)}}Hl(t,l,e,i)}else l=_w(n,t,e,i,r);return zl(l)}Yd=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=wi(t.pendingLanes);n!==0&&(Ss(t,n|1),Ke(t,pe()),(Q&6)===0&&(Hr=pe()+500,En()))}break;case 13:qn(function(){var r=qt(e,1);if(r!==null){var i=Oe();Ct(r,e,1,i)}}),tc(e,1)}};Cs=function(e){if(e.tag===13){var t=qt(e,134217728);if(t!==null){var n=Oe();Ct(t,e,134217728,n)}tc(e,134217728)}};Gd=function(e){if(e.tag===13){var t=xn(e),n=qt(e,t);if(n!==null){var r=Oe();Ct(n,e,t,r)}tc(e,t)}};Jd=function(){return Y};Zd=function(e,t){var n=Y;try{return Y=e,t()}finally{Y=n}};Da=function(e,t,n){switch(t){case"input":if(Pa(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=Ml(r);if(!i)throw Error(P(90));_d(r),Pa(r,i)}}}break;case"textarea":Ad(e,n);break;case"select":t=n.value,t!=null&&zr(e,!!n.multiple,t,!1)}};Bd=Ys;Ud=qn;var zw={usingClientEntryPoint:!1,Events:[Yi,Er,Ml,Od,Fd,Ys]},gi={findFiberByHostInstance:Bn,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Aw={bundleType:gi.bundleType,version:gi.version,rendererPackageName:gi.rendererPackageName,rendererConfig:gi.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Yt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Hd(e),e===null?null:e.stateNode},findFiberByHostInstance:gi.findFiberByHostInstance||Lw,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&(yi=__REACT_DEVTOOLS_GLOBAL_HOOK__,!yi.isDisabled&&yi.supportsFiber))try{Al=yi.inject(Aw),At=yi}catch{}var yi;nt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=zw;nt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!rc(t))throw Error(P(200));return Pw(e,t,null,n)};nt.createRoot=function(e,t){if(!rc(e))throw Error(P(299));var n=!1,r="",i=vh;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=ec(e,1,!1,null,null,n,!1,r,i),e[Kt]=t.current,Bi(e.nodeType===8?e.parentNode:e),new nc(t)};nt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(P(188)):(e=Object.keys(e).join(","),Error(P(268,e)));return e=Hd(t),e=e===null?null:e.stateNode,e};nt.flushSync=function(e){return qn(e)};nt.hydrate=function(e,t,n){if(!$l(t))throw Error(P(200));return Ql(null,e,t,!0,n)};nt.hydrateRoot=function(e,t,n){if(!rc(e))throw Error(P(405));var r=n!=null&&n.hydratedSources||null,i=!1,o="",l=vh;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(l=n.onRecoverableError)),t=wh(t,null,e,1,n!=null?n:null,i,!1,o,l),e[Kt]=t.current,Bi(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Wl(t)};nt.render=function(e,t,n){if(!$l(t))throw Error(P(200));return Ql(null,e,t,!1,n)};nt.unmountComponentAtNode=function(e){if(!$l(e))throw Error(P(40));return e._reactRootContainer?(qn(function(){Ql(null,null,e,!1,function(){e._reactRootContainer=null,e[Kt]=null})}),!0):!1};nt.unstable_batchedUpdates=Ys;nt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!$l(n))throw Error(P(200));if(e==null||e._reactInternals===void 0)throw Error(P(38));return Ql(e,t,n,!1,r)};nt.version="18.3.1-next-f1338f8080-20240426"});var Th=Ve((FE,Eh)=>{"use strict";function Ch(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Ch)}catch(e){console.error(e)}}Ch(),Eh.exports=Sh()});var bh=Ve(ic=>{"use strict";var Ih=Th();ic.createRoot=Ih.createRoot,ic.hydrateRoot=Ih.hydrateRoot;var BE});var $h=Ve(Gl=>{"use strict";var Hw=gt(),Ww=Symbol.for("react.element"),$w=Symbol.for("react.fragment"),Qw=Object.prototype.hasOwnProperty,Kw=Hw.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,qw={key:!0,ref:!0,__self:!0,__source:!0};function Wh(e,t,n){var r,i={},o=null,l=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(l=t.ref);for(r in t)Qw.call(t,r)&&!qw.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:Ww,type:e,key:o,ref:l,props:i,_owner:Kw.current}}Gl.Fragment=$w;Gl.jsx=Wh;Gl.jsxs=Wh});var q=Ve((w2,Qh)=>{"use strict";Qh.exports=$h()});var dg=Ve((zT,pg)=>{"use strict";var ag=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,i0=/\n/g,o0=/^\s*/,l0=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,u0=/^:\s*/,a0=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s0=/^[;\s]*/,c0=/^\s+|\s+$/g,f0=`
9
+ `,sg="/",cg="*",tr="",p0="comment",d0="declaration";function m0(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function i(g){var w=g.match(i0);w&&(n+=w.length);var E=g.lastIndexOf(f0);r=~E?g.length-E:r+g.length}function o(){var g={line:n,column:r};return function(w){return w.position=new l(g),s(),w}}function l(g){this.start=g,this.end={line:n,column:r},this.source=t.source}l.prototype.content=e;function u(g){var w=new Error(t.source+":"+n+":"+r+": "+g);if(w.reason=g,w.filename=t.source,w.line=n,w.column=r,w.source=e,!t.silent)throw w}function a(g){var w=g.exec(e);if(w){var E=w[0];return i(E),e=e.slice(E.length),w}}function s(){a(o0)}function c(g){var w;for(g=g||[];w=f();)w!==!1&&g.push(w);return g}function f(){var g=o();if(!(sg!=e.charAt(0)||cg!=e.charAt(1))){for(var w=2;tr!=e.charAt(w)&&(cg!=e.charAt(w)||sg!=e.charAt(w+1));)++w;if(w+=2,tr===e.charAt(w-1))return u("End of comment missing");var E=e.slice(2,w-2);return r+=2,i(E),e=e.slice(w),r+=2,g({type:p0,comment:E})}}function p(){var g=o(),w=a(l0);if(w){if(f(),!a(u0))return u("property missing ':'");var E=a(a0),m=g({type:d0,property:fg(w[0].replace(ag,tr)),value:E?fg(E[0].replace(ag,tr)):tr});return a(s0),m}}function d(){var g=[];c(g);for(var w;w=p();)w!==!1&&(g.push(w),c(g));return g}return s(),d()}function fg(e){return e?e.replace(c0,tr):tr}pg.exports=m0});var mg=Ve(uo=>{"use strict";var h0=uo&&uo.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(uo,"__esModule",{value:!0});uo.default=y0;var g0=h0(dg());function y0(e,t){let n=null;if(!e||typeof e!="string")return n;let r=(0,g0.default)(e),i=typeof t=="function";return r.forEach(o=>{if(o.type!=="declaration")return;let{property:l,value:u}=o;i?t(l,u,o):u&&(n=n||{},n[l]=u)}),n}});var gg=Ve(iu=>{"use strict";Object.defineProperty(iu,"__esModule",{value:!0});iu.camelCase=void 0;var x0=/^--[a-zA-Z0-9_-]+$/,k0=/-([a-z])/g,w0=/^[^-]+$/,v0=/^-(webkit|moz|ms|o|khtml)-/,S0=/^-(ms)-/,C0=function(e){return!e||w0.test(e)||x0.test(e)},E0=function(e,t){return t.toUpperCase()},hg=function(e,t){return"".concat(t,"-")},T0=function(e,t){return t===void 0&&(t={}),C0(e)?e:(e=e.toLowerCase(),t.reactCompat?e=e.replace(S0,hg):e=e.replace(v0,hg),e.replace(k0,E0))};iu.camelCase=T0});var xg=Ve((hc,yg)=>{"use strict";var I0=hc&&hc.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},b0=I0(mg()),P0=gg();function mc(e,t){var n={};return!e||typeof e!="string"||(0,b0.default)(e,function(r,i){r&&i&&(n[(0,P0.camelCase)(r,t)]=i)}),n}mc.default=mc;yg.exports=mc});var Hy=Ve((u4,Vy)=>{"use strict";var Pu=Object.prototype.hasOwnProperty,jy=Object.prototype.toString,Dy=Object.defineProperty,My=Object.getOwnPropertyDescriptor,Oy=function(t){return typeof Array.isArray=="function"?Array.isArray(t):jy.call(t)==="[object Array]"},Fy=function(t){if(!t||jy.call(t)!=="[object Object]")return!1;var n=Pu.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&Pu.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var i;for(i in t);return typeof i=="undefined"||Pu.call(t,i)},By=function(t,n){Dy&&n.name==="__proto__"?Dy(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},Uy=function(t,n){if(n==="__proto__")if(Pu.call(t,n)){if(My)return My(t,n).value}else return;return t[n]};Vy.exports=function e(){var t,n,r,i,o,l,u=arguments[0],a=1,s=arguments.length,c=!1;for(typeof u=="boolean"&&(c=u,u=arguments[1]||{},a=2),(u==null||typeof u!="object"&&typeof u!="function")&&(u={});a<s;++a)if(t=arguments[a],t!=null)for(n in t)r=Uy(u,n),i=Uy(t,n),u!==i&&(c&&i&&(Fy(i)||(o=Oy(i)))?(o?(o=!1,l=r&&Oy(r)?r:[]):l=r&&Fy(r)?r:{},By(u,{name:n,newValue:e(c,l,i)})):typeof i!="undefined"&&By(u,{name:n,newValue:i}));return u}});var zE={};Bu(zE,{boot:()=>n1,configFromDataset:()=>t1});var Zx=j(bh(),1),e1=j(gt(),1);var dr=j(gt(),1);var rt=class extends Error{constructor(t,n,r){super(t),this.name=new.target.name,this.code=n,this.status=r,Object.setPrototypeOf(this,new.target.prototype)}},Ji=class extends rt{constructor(t="Invalid or missing public key"){super(t,"unauthorized",401)}},Zi=class extends rt{constructor(t="Origin not allowed or widget disabled"){super(t,"forbidden",403)}},eo=class extends rt{constructor(t,n="Rate limited"){super(n,"rate_limited",429),this.retryAfter=t}},to=class extends rt{constructor(t,n="Upstream error"){super(n,"upstream_error",t)}},no=class extends rt{constructor(t="Network request failed",n){super(t,"network_error"),this.cause=n}},ro=class extends rt{constructor(t="Malformed NDJSON line",n){super(t,"parse_error"),this.line=n}};function Nw(e,t){return`${e.baseUrl.replace(/\/+$/,"")}/v1/${encodeURIComponent(e.operatorId)}/${t}`}function Ph(e,t){switch(e){case 401:return new Ji;case 403:return new Zi;case 429:{let n=t!=null?Number(t):void 0;return new eo(Number.isFinite(n)?n:void 0)}default:return new to(e)}}function Rw(e){return e instanceof Error&&e.name==="AbortError"}async function Lh(e,t,n,r){try{return await e.fetch(Nw(e,t),{method:"POST",headers:{"Content-Type":"application/json","X-SS-Public-Key":e.publicKey},body:JSON.stringify(n),signal:r})}catch(i){throw Rw(i)?i:new no("Network request failed",i)}}async function _h(e,t,n){let r=await Lh(e,"chat",t,n);if(!r.ok||r.body==null)throw Ph(r.status,r.headers.get("Retry-After"));return r}async function Kl(e,t,n){let r=await Lh(e,"signals",t,n);if(!r.ok)throw Ph(r.status,r.headers.get("Retry-After"))}function zh(e){let t=e.trim();if(t!=="")try{return JSON.parse(t)}catch{throw new ro("Malformed NDJSON line",e)}}function Ah(){let e="";return{push(t){e+=t;let n=[],r;for(;(r=e.indexOf(`
10
+ `))>=0;){let i=e.slice(0,r);e=e.slice(r+1);let o=zh(i);o!==void 0&&n.push(o)}return n},flush(){let t=e;e="";let n=zh(t);return n===void 0?[]:[n]}}}function Dw(e,t){var n,r,i,o,l,u,a,s;switch(e.type){case"progress":(n=t.onProgress)==null||n.call(t,e.data);break;case"answer":(r=t.onAnswer)==null||r.call(t,e.data);break;case"entity_card":(i=t.onEntityCard)==null||i.call(t,e.data);break;case"action_button":(o=t.onActionButton)==null||o.call(t,e.data);break;case"intent_chip":(l=t.onIntentChip)==null||l.call(t,e.data);break;case"actions_loading":(u=t.onActionsLoading)==null||u.call(t,e.data);break;case"turn_complete":(a=t.onComplete)==null||a.call(t,e.data);break;case"error":(s=t.onError)==null||s.call(t,e.data);break}}async function*Mw(e,t,n){let i=(await _h(e,t,n)).body.getReader(),o=new TextDecoder,l=Ah();try{for(;;){let{done:u,value:a}=await i.read();if(u)break;for(let s of l.push(o.decode(a,{stream:!0})))yield s}for(let u of l.flush())yield u}finally{await i.cancel().catch(()=>{})}}function ql(e,t,n,r){let i=new AbortController,o=r==null?void 0:r.signal;o&&(o.aborted?i.abort():o.addEventListener("abort",()=>i.abort(),{once:!0}));async function*l(){var c;for await(let f of Mw(e,t,i.signal))(c=r==null?void 0:r.tap)==null||c.call(r,f),yield f}let u=l(),a=!1;async function s(){try{for await(let c of u)n&&Dw(c,n)}catch(c){if(n!=null&&n.onError&&c instanceof rt){n.onError(c);return}throw c}}return{[Symbol.asyncIterator](){if(a)throw new Error("chat stream already consumed");return a=!0,u},then(c,f){return a?Promise.resolve().then(c,f):(a=!0,s().then(c,f))},cancel(){i.abort()}}}var Ow={MatchPageView:1,PlayerPageView:2,TeamPageView:3,MarketView:4,SearchQuery:5,SessionDepth:6,TimeOnPage:7,InsightViewed:8,InsightMarketClicked:9,BetPlacedFromInsight:10,InsightScrollDepth:11,ToolCall:12,EntityMention:13,Handoff:14,FollowUpQuery:15,RecommendationDismissed:16},Fw={Match:1,Team:2,Player:3,Competition:4,Market:5,Article:6,Session:7,Query:8,Conversation:9};function Xl(e){let t=Ow[e.signalType],n=Fw[e.entityType];if(t===void 0)throw new Error(`Unknown signalType: ${String(e.signalType)}`);if(n===void 0)throw new Error(`Unknown entityType: ${String(e.entityType)}`);return{signalType:t,entityType:n,entityName:e.entityName,operatorUserId:e.operatorUserId}}var Yl=class{constructor(t,n){this.cfg=t;this.context=n}send(t,n){var o;let r={...this.context,...t.userContext},i={...t,conversationId:(o=t.conversationId)!=null?o:this.conversationId,userContext:Object.keys(r).length>0?r:void 0};return ql(this.cfg,i,n,{tap:l=>{l.type==="turn_complete"&&(this.conversationId=l.data.conversationId)}})}sendSignal(t){var r,i;let n=(i=t.operatorUserId)!=null?i:(r=this.context)==null?void 0:r.operatorUserId;if(!n)throw new Error("operatorUserId is required (set it on conversation() or pass it to sendSignal)");return Kl(this.cfg,Xl({...t,operatorUserId:n}))}};var Bw="https://widget.sensiblestats.com",io=class{constructor(t){var r,i;if(!t.operatorId)throw new Error("operatorId is required");if(!t.publicKey)throw new Error("publicKey is required");let n=(r=t.fetch)!=null?r:globalThis.fetch?globalThis.fetch.bind(globalThis):void 0;if(!n)throw new Error("No fetch implementation available; pass options.fetch");this.cfg={operatorId:t.operatorId,publicKey:t.publicKey,baseUrl:(i=t.baseUrl)!=null?i:Bw,fetch:n}}chat(t,n){return ql(this.cfg,t,n)}async sendSignal(t){await Kl(this.cfg,Xl(t))}conversation(t){return new Yl(this.cfg,t)}};function Nh(e){var t,n,r,i,o,l,u,a,s,c,f;return{theme:(t=e.theme)!=null?t:"auto",accent:e.accent,position:(n=e.position)!=null?n:"right",offset:{x:(i=(r=e.offset)==null?void 0:r.x)!=null?i:20,y:(l=(o=e.offset)==null?void 0:o.y)!=null?l:20},radius:(u=e.radius)!=null?u:16,launcherLabel:(a=e.launcherLabel)!=null?a:"Chat with SensibleStats",greeting:e.greeting,placeholder:(s=e.placeholder)!=null?s:"Ask about a team, player or match\u2026",starters:(c=e.starters)!=null?c:[],injectStyles:(f=e.injectStyles)!=null?f:!0}}function Rh(e){let t={operatorId:e.operatorId,publicKey:e.publicKey};return e.baseUrl!==void 0&&(t.baseUrl=e.baseUrl),t}function Dh(e){return e.userContext&&Object.keys(e.userContext).length>0?e.userContext:void 0}function Mh(e){let t={"--ss-w-offset-x":`${e.offset.x}px`,"--ss-w-offset-y":`${e.offset.y}px`,"--ss-w-radius":`${e.radius}px`};return e.accent&&(t["--ss-w-accent"]=e.accent),{"data-ss-w-theme":e.theme,"data-ss-w-pos":e.position,style:t}}var Ae=j(gt(),1);function ie(e){return typeof e=="string"&&e.length>0?e:void 0}function Uw(e){return typeof e=="number"&&Number.isFinite(e)?String(e):void 0}function jw(e){var n;if(!Array.isArray(e.stats))return[];let t=[];for(let r of e.stats){let i=ie(r.label),o=(n=Uw(r.value))!=null?n:ie(r.value);i!==void 0&&o!==void 0&&t.push({label:i,value:o})}return t}function Oh(e){var r,i,o,l,u,a,s,c;let t=(r=ie(e.entityType))==null?void 0:r.toLowerCase(),n=t==="player"?"player":t==="team"?"team":"generic";return{id:String(e.entityId),kind:n,name:e.canonicalName,image:(u=(l=(o=(i=ie(e.imagePath))!=null?i:ie(e.imageUrl))!=null?o:ie(e.image_url))!=null?l:ie(e.logoUrl))!=null?u:ie(e.logo),sub:(c=(s=(a=ie(e.subtitle))!=null?a:ie(e.teamName))!=null?s:ie(e.leagueName))!=null?c:ie(e.position),stats:jw(e),query:e.canonicalName}}function Fh(e){var i,o,l,u,a,s,c,f;let t=(u=(l=(o=(i=ie(e.actionLabel))!=null?i:ie(e.label))!=null?o:ie(e.text))!=null?l:ie(e.title))!=null?u:"Continue",n=(a=ie(e.actionId))!=null?a:ie(e.id),r=(f=(c=(s=ie(e.actionValue))!=null?s:ie(e.message))!=null?c:ie(e.query))!=null?f:t;return{label:t,actionId:n,message:r}}function Bh(e){var n,r;let t=(r=(n=ie(e.text))!=null?n:ie(e.label))!=null?r:ie(e.title);return t?{text:t}:null}function Uh(e){return{text:e}}function jh(e){return{isOpen:!1,messages:[],isStreaming:!1,status:null,actionsLoading:!1,starters:e,error:null,lastUserInput:null,lastDisplayText:null}}function Gn(e,t){let n=e.messages[e.messages.length-1];return!n||n.role!=="assistant"||n.done?e.messages:[...e.messages.slice(0,-1),t(n)]}function Vw(e,t){switch(t.type){case"progress":return{...e,status:t.data.message};case"answer":return{...e,messages:Gn(e,n=>({...n,text:t.data.text}))};case"entity_card":return t.data.card.isUsed===!1?e:{...e,messages:Gn(e,n=>({...n,cards:[...n.cards,Oh(t.data.card)]}))};case"action_button":return{...e,actionsLoading:!1,messages:Gn(e,n=>({...n,actions:[...n.actions,Fh(t.data.action)]}))};case"intent_chip":{let n=Bh(t.data.intent);return n?{...e,starters:[...e.starters,n]}:e}case"actions_loading":return{...e,actionsLoading:!0,status:t.data.message};case"turn_complete":return{...e,isStreaming:!1,status:null,actionsLoading:!1,messages:Gn(e,n=>({...n,done:!0}))};case"error":return{...e,error:t.data,isStreaming:!1,status:null,actionsLoading:!1,messages:Gn(e,n=>({...n,done:!0}))}}}function Vh(e,t){var n,r;switch(t.kind){case"OPEN":return{...e,isOpen:!0};case"CLOSE":return{...e,isOpen:!1,isStreaming:!1,status:null,actionsLoading:!1};case"USER_SENT":{let i={role:"user",id:t.userId,text:(n=t.displayText)!=null?n:t.input.message},o={role:"assistant",id:t.assistantId,text:"",cards:[],actions:[],done:!1};return{...e,messages:[...e.messages,i,o],isStreaming:!0,status:null,actionsLoading:!1,starters:[],error:null,lastUserInput:t.input,lastDisplayText:(r=t.displayText)!=null?r:null}}case"EVENT":return Vw(e,t.event);case"STREAM_ERROR":return{...e,error:t.error,isStreaming:!1,status:null,actionsLoading:!1,messages:Gn(e,i=>({...i,done:!0}))};case"STOP":return{...e,isStreaming:!1,status:null,actionsLoading:!1,messages:Gn(e,i=>({...i,done:!0}))}}}function Hh(e,t){let n=(0,Ae.useMemo)(()=>jh(t.map(Uh)),[]),[r,i]=(0,Ae.useReducer)(Vh,n),o=(0,Ae.useRef)(0),l=(0,Ae.useRef)(null),u=(0,Ae.useRef)(r);u.current=r;let a=()=>`m${o.current++}`,s=(0,Ae.useCallback)((E,m)=>{var y;(y=l.current)==null||y.cancel(),i({kind:"USER_SENT",input:E,userId:a(),assistantId:a(),displayText:m});let h=e.send(E);l.current=h,(async()=>{try{for await(let C of h)i({kind:"EVENT",event:C})}catch(C){if(C instanceof rt)i({kind:"STREAM_ERROR",error:C});else if((C==null?void 0:C.name)!=="AbortError")throw C}finally{l.current===h&&(l.current=null)}})()},[e]),c=(0,Ae.useCallback)((E,m)=>{let h=E.trim();h&&s({message:h,actionId:m==null?void 0:m.actionId},m==null?void 0:m.displayText)},[s]),f=(0,Ae.useCallback)(()=>{var m;let E=u.current.lastUserInput;E&&s(E,(m=u.current.lastDisplayText)!=null?m:void 0)},[s]),p=(0,Ae.useCallback)(()=>i({kind:"OPEN"}),[]),d=(0,Ae.useCallback)(()=>{var E;(E=l.current)==null||E.cancel(),l.current=null,i({kind:"CLOSE"})},[]),g=(0,Ae.useCallback)(()=>{var E;(E=l.current)==null||E.cancel(),l.current=null,i({kind:"STOP"})},[]),w=(0,Ae.useCallback)(()=>{u.current.isOpen?d():p()},[d,p]);return{state:r,open:p,close:d,stop:g,toggle:w,send:c,retry:f}}var Be=j(q(),1);function Jl({className:e}){return(0,Be.jsx)("svg",{className:e,viewBox:"0 0 100 100",width:"1em",height:"1em","aria-hidden":"true",children:(0,Be.jsxs)("g",{fill:"none",stroke:"#15c917",strokeWidth:"8.5",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,Be.jsx)("circle",{cx:"50",cy:"44",r:"37"}),(0,Be.jsx)("line",{x1:"15",y1:"44",x2:"85",y2:"44"}),(0,Be.jsx)("path",{d:"M36 44 V24 H64 V44"}),(0,Be.jsx)("path",{d:"M36 44 V63 H64 V44"}),(0,Be.jsx)("path",{d:"M46 63 L43 96 L61 61"})]})})}function Kh(){return(0,Be.jsx)("svg",{viewBox:"0 0 24 24",width:"1em",height:"1em","aria-hidden":"true",children:(0,Be.jsx)("path",{fill:"currentColor",d:"M3 20l18-8L3 4v6l12 2-12 2z"})})}function qh(){return(0,Be.jsx)("svg",{viewBox:"0 0 24 24",width:"1em",height:"1em","aria-hidden":"true",children:(0,Be.jsx)("path",{fill:"none",d:"M18 6L6 18M6 6l12 12",stroke:"currentColor",strokeWidth:"2"})})}function Xh(){return(0,Be.jsx)("svg",{viewBox:"0 0 24 24",width:"1em",height:"1em","aria-hidden":"true",children:(0,Be.jsx)("path",{fill:"none",stroke:"currentColor",strokeWidth:"2",d:"M9 6l6 6-6 6"})})}var Gh=j(q(),1);function Yh({text:e}){return(0,Gh.jsx)("div",{className:"ss-w-greeting",role:"note",children:e})}var Qr=j(q(),1);function Jh({label:e,open:t,greeting:n,onToggle:r}){return(0,Qr.jsxs)("div",{className:"ss-w-fab-wrap",children:[!t&&n?(0,Qr.jsx)(Yh,{text:n}):null,(0,Qr.jsx)("button",{type:"button",className:"ss-w-fab","aria-label":e,"aria-expanded":t,onClick:r,children:(0,Qr.jsx)(Jl,{className:"ss-w-fab-mark"})})]})}var vo=j(gt(),1);var Jn=j(q(),1);function Zh({onClose:e}){return(0,Jn.jsxs)("header",{className:"ss-w-header",children:[(0,Jn.jsx)(Jl,{className:"ss-w-header-mark"}),(0,Jn.jsx)("span",{className:"ss-w-header-title",children:"SensibleStats"}),(0,Jn.jsx)("button",{type:"button",className:"ss-w-close","aria-label":"Close chat",onClick:e,children:(0,Jn.jsx)(qh,{})})]})}var Mu=j(gt(),1);function eg(e,t){let n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}var Xw=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Yw=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Gw={};function Zl(e,t){return((t||Gw).jsx?Yw:Xw).test(e)}var Jw=/[ \t\n\f\r]/g;function oc(e){return typeof e=="object"?e.type==="text"?tg(e.value):!1:tg(e)}function tg(e){return e.replace(Jw,"")===""}var Gt=class{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}};Gt.prototype.normal={};Gt.prototype.property={};Gt.prototype.space=void 0;function lc(e,t){let n={},r={};for(let i of e)Object.assign(n,i.property),Object.assign(r,i.normal);return new Gt(n,r,t)}function oo(e){return e.toLowerCase()}var Se=class{constructor(t,n){this.attribute=n,this.property=t}};Se.prototype.attribute="";Se.prototype.booleanish=!1;Se.prototype.boolean=!1;Se.prototype.commaOrSpaceSeparated=!1;Se.prototype.commaSeparated=!1;Se.prototype.defined=!1;Se.prototype.mustUseProperty=!1;Se.prototype.number=!1;Se.prototype.overloadedBoolean=!1;Se.prototype.property="";Se.prototype.spaceSeparated=!1;Se.prototype.space=void 0;var lo={};Bu(lo,{boolean:()=>F,booleanish:()=>ce,commaOrSpaceSeparated:()=>qe,commaSeparated:()=>Jt,number:()=>b,overloadedBoolean:()=>eu,spaceSeparated:()=>X});var Zw=0,F=Zn(),ce=Zn(),eu=Zn(),b=Zn(),X=Zn(),Jt=Zn(),qe=Zn();function Zn(){return 2**++Zw}var uc=Object.keys(lo),er=class extends Se{constructor(t,n,r,i){let o=-1;if(super(t,n),ng(this,"space",i),typeof r=="number")for(;++o<uc.length;){let l=uc[o];ng(this,uc[o],(r&lo[l])===lo[l])}}};er.prototype.defined=!0;function ng(e,t,n){n&&(e[t]=n)}function pt(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let o=new er(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[oo(r)]=r,n[oo(o.attribute)]=r}return new Gt(t,n,e.space)}var ac=pt({properties:{ariaActiveDescendant:null,ariaAtomic:ce,ariaAutoComplete:null,ariaBusy:ce,ariaChecked:ce,ariaColCount:b,ariaColIndex:b,ariaColSpan:b,ariaControls:X,ariaCurrent:null,ariaDescribedBy:X,ariaDetails:null,ariaDisabled:ce,ariaDropEffect:X,ariaErrorMessage:null,ariaExpanded:ce,ariaFlowTo:X,ariaGrabbed:ce,ariaHasPopup:null,ariaHidden:ce,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:X,ariaLevel:b,ariaLive:null,ariaModal:ce,ariaMultiLine:ce,ariaMultiSelectable:ce,ariaOrientation:null,ariaOwns:X,ariaPlaceholder:null,ariaPosInSet:b,ariaPressed:ce,ariaReadOnly:ce,ariaRelevant:null,ariaRequired:ce,ariaRoleDescription:X,ariaRowCount:b,ariaRowIndex:b,ariaRowSpan:b,ariaSelected:ce,ariaSetSize:b,ariaSort:null,ariaValueMax:b,ariaValueMin:b,ariaValueNow:b,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function tu(e,t){return t in e?e[t]:t}function nu(e,t){return tu(e,t.toLowerCase())}var rg=pt({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Jt,acceptCharset:X,accessKey:X,action:null,allow:null,allowFullScreen:F,allowPaymentRequest:F,allowUserMedia:F,alpha:F,alt:null,as:null,async:F,autoCapitalize:null,autoComplete:X,autoFocus:F,autoPlay:F,blocking:X,capture:null,charSet:null,checked:F,cite:null,className:X,closedBy:null,colorSpace:null,cols:b,colSpan:b,command:null,commandFor:null,content:null,contentEditable:ce,controls:F,controlsList:X,coords:b|Jt,crossOrigin:null,data:null,dateTime:null,decoding:null,default:F,defer:F,dir:null,dirName:null,disabled:F,download:eu,draggable:ce,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:F,formTarget:null,headers:X,height:b,hidden:eu,high:b,href:null,hrefLang:null,htmlFor:X,httpEquiv:X,id:null,imageSizes:null,imageSrcSet:null,inert:F,inputMode:null,integrity:null,is:null,isMap:F,itemId:null,itemProp:X,itemRef:X,itemScope:F,itemType:X,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:F,low:b,manifest:null,max:null,maxLength:b,media:null,method:null,min:null,minLength:b,multiple:F,muted:F,name:null,nonce:null,noModule:F,noValidate:F,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:F,optimum:b,pattern:null,ping:X,placeholder:null,playsInline:F,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:F,referrerPolicy:null,rel:X,required:F,reversed:F,rows:b,rowSpan:b,sandbox:X,scope:null,scoped:F,seamless:F,selected:F,shadowRootClonable:F,shadowRootCustomElementRegistry:F,shadowRootDelegatesFocus:F,shadowRootMode:null,shadowRootSerializable:F,shape:null,size:b,sizes:null,slot:null,span:b,spellCheck:ce,src:null,srcDoc:null,srcLang:null,srcSet:null,start:b,step:null,style:null,tabIndex:b,target:null,title:null,translate:null,type:null,typeMustMatch:F,useMap:null,value:ce,width:b,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:X,axis:null,background:null,bgColor:null,border:b,borderColor:null,bottomMargin:b,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:F,declare:F,event:null,face:null,frame:null,frameBorder:null,hSpace:b,leftMargin:b,link:null,longDesc:null,lowSrc:null,marginHeight:b,marginWidth:b,noResize:F,noHref:F,noShade:F,noWrap:F,object:null,profile:null,prompt:null,rev:null,rightMargin:b,rules:null,scheme:null,scrolling:ce,standby:null,summary:null,text:null,topMargin:b,valueType:null,version:null,vAlign:null,vLink:null,vSpace:b,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:F,disablePictureInPicture:F,disableRemotePlayback:F,exportParts:Jt,part:X,prefix:null,property:null,results:b,security:null,unselectable:null},space:"html",transform:nu});var ig=pt({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",maskType:"mask-type",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:qe,accentHeight:b,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:b,amplitude:b,arabicForm:null,ascent:b,attributeName:null,attributeType:null,azimuth:b,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:b,by:null,calcMode:null,capHeight:b,className:X,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:b,diffuseConstant:b,direction:null,display:null,dur:null,divisor:b,dominantBaseline:null,download:F,dx:null,dy:null,edgeMode:null,editable:null,elevation:b,enableBackground:null,end:null,event:null,exponent:b,externalResourcesRequired:null,fill:null,fillOpacity:b,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:Jt,g2:Jt,glyphName:Jt,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:b,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:b,horizOriginX:b,horizOriginY:b,id:null,ideographic:b,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:b,k:b,k1:b,k2:b,k3:b,k4:b,kernelMatrix:qe,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:b,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:b,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:b,overlineThickness:b,paintOrder:null,panose1:null,path:null,pathLength:b,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:X,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:b,pointsAtY:b,pointsAtZ:b,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:qe,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:qe,rev:qe,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:qe,requiredFeatures:qe,requiredFonts:qe,requiredFormats:qe,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:b,specularExponent:b,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:b,strikethroughThickness:b,string:null,stroke:null,strokeDashArray:qe,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:b,strokeOpacity:b,strokeWidth:null,style:null,surfaceScale:b,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:qe,tabIndex:b,tableValues:null,target:null,targetX:b,targetY:b,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:qe,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:b,underlineThickness:b,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:b,values:null,vAlphabetic:b,vMathematical:b,vectorEffect:null,vHanging:b,vIdeographic:b,version:null,vertAdvY:b,vertOriginX:b,vertOriginY:b,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:b,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:tu});var sc=pt({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()}});var cc=pt({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:nu});var fc=pt({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}});var pc={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var e0=/[A-Z]/g,og=/-[a-z]/g,t0=/^data[-\w.:]+$/i;function dc(e,t){let n=oo(t),r=t,i=Se;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&t0.test(t)){if(t.charAt(4)==="-"){let o=t.slice(5).replace(og,r0);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{let o=t.slice(4);if(!og.test(o)){let l=o.replace(e0,n0);l.charAt(0)!=="-"&&(l="-"+l),t="data"+l}}i=er}return new i(r,t)}function n0(e){return"-"+e.toLowerCase()}function r0(e){return e.charAt(1).toUpperCase()}var lg=lc([ac,rg,sc,cc,fc],"html"),ru=lc([ac,ig,sc,cc,fc],"svg");function ug(e){return e.join(" ").trim()}var Sg=j(xg(),1);var ou=kg("end"),Kr=kg("start");function kg(e){return t;function t(n){let 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 gc(e){let t=Kr(e),n=ou(e);if(t&&n)return{start:t,end:n}}function Tn(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?wg(e.position):"start"in e||"end"in e?wg(e):"line"in e||"column"in e?yc(e):""}function yc(e){return vg(e&&e.line)+":"+vg(e&&e.column)}function wg(e){return yc(e&&e.start)+"-"+yc(e&&e.end)}function vg(e){return e&&typeof e=="number"?e:1}var de=class extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",o={},l=!1;if(n&&("line"in n&&"column"in n?o={place:n}:"start"in n&&"end"in n?o={place:n}:"type"in n?o={ancestors:[n],place:n.position}:o={...n}),typeof t=="string"?i=t:!o.cause&&t&&(l=!0,i=t.message,o.cause=t),!o.ruleId&&!o.source&&typeof r=="string"){let a=r.indexOf(":");a===-1?o.ruleId=r:(o.source=r.slice(0,a),o.ruleId=r.slice(a+1))}if(!o.place&&o.ancestors&&o.ancestors){let a=o.ancestors[o.ancestors.length-1];a&&(o.place=a.position)}let u=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=u?u.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=u?u.line:void 0,this.name=Tn(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=l&&o.cause&&typeof o.cause.stack=="string"?o.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}};de.prototype.file="";de.prototype.name="";de.prototype.reason="";de.prototype.message="";de.prototype.stack="";de.prototype.column=void 0;de.prototype.line=void 0;de.prototype.ancestors=void 0;de.prototype.cause=void 0;de.prototype.fatal=void 0;de.prototype.place=void 0;de.prototype.ruleId=void 0;de.prototype.source=void 0;var xc={}.hasOwnProperty,L0=new Map,_0=/[A-Z]/g,z0=new Set(["table","tbody","thead","tfoot","tr"]),A0=new Set(["td","th"]),Cg="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function kc(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");let n=t.filePath||void 0,r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=U0(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=B0(n,t.jsx,t.jsxs)}let i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?ru:lg,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},o=Eg(i,e,void 0);return o&&typeof o!="string"?o:i.create(e,i.Fragment,{children:o||void 0},void 0)}function Eg(e,t,n){if(t.type==="element")return N0(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return R0(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return M0(e,t,n);if(t.type==="mdxjsEsm")return D0(e,t);if(t.type==="root")return O0(e,t,n);if(t.type==="text")return F0(e,t)}function N0(e,t,n){let r=e.schema,i=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=ru,e.schema=i),e.ancestors.push(t);let o=Ig(e,t.tagName,!1),l=j0(e,t),u=vc(e,t);return z0.has(t.tagName)&&(u=u.filter(function(a){return typeof a=="string"?!oc(a):!0})),Tg(e,l,o,t),wc(l,u),e.ancestors.pop(),e.schema=r,e.create(t,o,l,n)}function R0(e,t){if(t.data&&t.data.estree&&e.evaluater){let r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}ao(e,t.position)}function D0(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);ao(e,t.position)}function M0(e,t,n){let r=e.schema,i=r;t.name==="svg"&&r.space==="html"&&(i=ru,e.schema=i),e.ancestors.push(t);let o=t.name===null?e.Fragment:Ig(e,t.name,!0),l=V0(e,t),u=vc(e,t);return Tg(e,l,o,t),wc(l,u),e.ancestors.pop(),e.schema=r,e.create(t,o,l,n)}function O0(e,t,n){let r={};return wc(r,vc(e,t)),e.create(t,e.Fragment,r,n)}function F0(e,t){return t.value}function Tg(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function wc(e,t){if(t.length>0){let n=t.length>1?t:t[0];n&&(e.children=n)}}function B0(e,t,n){return r;function r(i,o,l,u){let s=Array.isArray(l.children)?n:t;return u?s(o,l,u):s(o,l)}}function U0(e,t){return n;function n(r,i,o,l){let u=Array.isArray(o.children),a=Kr(r);return t(i,o,l,u,{columnNumber:a?a.column-1:void 0,fileName:e,lineNumber:a?a.line:void 0},void 0)}}function j0(e,t){let n={},r,i;for(i in t.properties)if(i!=="children"&&xc.call(t.properties,i)){let o=H0(e,i,t.properties[i]);if(o){let[l,u]=o;e.tableCellAlignToStyle&&l==="align"&&typeof u=="string"&&A0.has(t.tagName)?r=u:n[l]=u}}if(r){let o=n.style||(n.style={});o[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function V0(e,t){let n={};for(let r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){let o=r.data.estree.body[0];o.type;let l=o.expression;l.type;let u=l.properties[0];u.type,Object.assign(n,e.evaluater.evaluateExpression(u.argument))}else ao(e,t.position);else{let i=r.name,o;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){let u=r.value.data.estree.body[0];u.type,o=e.evaluater.evaluateExpression(u.expression)}else ao(e,t.position);else o=r.value===null?!0:r.value;n[i]=o}return n}function vc(e,t){let n=[],r=-1,i=e.passKeys?new Map:L0;for(;++r<t.children.length;){let o=t.children[r],l;if(e.passKeys){let a=o.type==="element"?o.tagName:o.type==="mdxJsxFlowElement"||o.type==="mdxJsxTextElement"?o.name:void 0;if(a){let s=i.get(a)||0;l=a+"-"+s,i.set(a,s+1)}}let u=Eg(e,o,l);u!==void 0&&n.push(u)}return n}function H0(e,t,n){let r=dc(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?eg(n):ug(n)),r.property==="style"){let i=typeof n=="object"?n:W0(e,String(n));return e.stylePropertyNameCase==="css"&&(i=$0(i)),["style",i]}return[e.elementAttributeNameCase==="react"&&r.space?pc[r.property]||r.property:r.attribute,n]}}function W0(e,t){try{return(0,Sg.default)(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};let r=n,i=new de("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw i.file=e.filePath||void 0,i.url=Cg+"#cannot-parse-style-attribute",i}}function Ig(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){let i=t.split("."),o=-1,l;for(;++o<i.length;){let u=Zl(i[o])?{type:"Identifier",name:i[o]}:{type:"Literal",value:i[o]};l=l?{type:"MemberExpression",object:l,property:u,computed:!!(o&&u.type==="Literal"),optional:!1}:u}r=l}else r=Zl(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){let i=r.value;return xc.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(r);ao(e)}function ao(e,t){let n=new de("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=Cg+"#cannot-handle-mdx-estrees-without-createevaluater",n}function $0(e){let t={},n;for(n in e)xc.call(e,n)&&(t[Q0(n)]=e[n]);return t}function Q0(e){let t=e.replace(_0,K0);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function K0(e){return"-"+e.toLowerCase()}var so={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]};var Gr=j(q(),1),Zc=j(gt(),1);var q0={};function nr(e,t){let n=t||q0,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Pg(e,r,i)}function Pg(e,t,n){if(X0(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 bg(e.children,t,n)}return Array.isArray(e)?bg(e,t,n):""}function bg(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=Pg(e[i],t,n);return r.join("")}function X0(e){return!!(e&&typeof e=="object")}var Lg=document.createElement("i");function qr(e){let t="&"+e+";";Lg.innerHTML=t;let n=Lg.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function me(e,t,n,r){let i=e.length,o=0,l;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)l=Array.from(r),l.unshift(t,n),e.splice(...l);else for(n&&e.splice(t,n);o<r.length;)l=r.slice(o,o+1e4),l.unshift(t,0),e.splice(...l),o+=1e4,t+=1e4}function Ue(e,t){return e.length>0?(me(e,e.length,0,t),e):t}var _g={}.hasOwnProperty;function lu(e){let t={},n=-1;for(;++n<e.length;)Y0(t,e[n]);return t}function Y0(e,t){let n;for(n in t){let i=(_g.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n],l;if(o)for(l in o){_g.call(i,l)||(i[l]=[]);let u=o[l];G0(i[l],Array.isArray(u)?u:u?[u]:[])}}}function G0(e,t){let n=-1,r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);me(e,0,0,r)}function uu(e,t){let 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?"\uFFFD":String.fromCodePoint(n)}function Ne(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var ke=In(/[A-Za-z]/),fe=In(/[\dA-Za-z]/),zg=In(/[#-'*+\--9=?A-Z^-~]/);function rr(e){return e!==null&&(e<32||e===127)}var co=In(/\d/),Ag=In(/[\dA-Fa-f]/),Ng=In(/[!-/:-@[-`{-~]/);function A(e){return e!==null&&e<-2}function H(e){return e!==null&&(e<0||e===32)}function M(e){return e===-2||e===-1||e===32}var ir=In(/\p{P}|\p{S}/u),Rt=In(/\s/);function In(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function dt(e){let t=[],n=-1,r=0,i=0;for(;++n<e.length;){let o=e.charCodeAt(n),l="";if(o===37&&fe(e.charCodeAt(n+1))&&fe(e.charCodeAt(n+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(l=String.fromCharCode(o));else if(o>55295&&o<57344){let u=e.charCodeAt(n+1);o<56320&&u>56319&&u<57344?(l=String.fromCharCode(o,u),i=1):l="\uFFFD"}else l=String.fromCharCode(o);l&&(t.push(e.slice(r,n),encodeURIComponent(l)),r=n+i+1,l=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function D(e,t,n,r){let i=r?r-1:Number.POSITIVE_INFINITY,o=0;return l;function l(a){return M(a)?(e.enter(n),u(a)):t(a)}function u(a){return M(a)&&o++<i?(e.consume(a),u):(e.exit(n),t(a))}}var Rg={tokenize:J0};function J0(e){let t=e.attempt(this.parser.constructs.contentInitial,r,i),n;return t;function r(u){if(u===null){e.consume(u);return}return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),D(e,t,"linePrefix")}function i(u){return e.enter("paragraph"),o(u)}function o(u){let a=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=a),n=a,l(u)}function l(u){if(u===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(u);return}return A(u)?(e.consume(u),e.exit("chunkText"),o):(e.consume(u),l)}}var Mg={tokenize:Z0},Dg={tokenize:ev};function Z0(e){let t=this,n=[],r=0,i,o,l;return u;function u(y){if(r<n.length){let C=n[r];return t.containerState=C[1],e.attempt(C[0].continuation,a,s)(y)}return s(y)}function a(y){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&h();let C=t.events.length,I=C,v;for(;I--;)if(t.events[I][0]==="exit"&&t.events[I][1].type==="chunkFlow"){v=t.events[I][1].end;break}m(r);let L=C;for(;L<t.events.length;)t.events[L][1].end={...v},L++;return me(t.events,I+1,0,t.events.slice(C)),t.events.length=L,s(y)}return u(y)}function s(y){if(r===n.length){if(!i)return p(y);if(i.currentConstruct&&i.currentConstruct.concrete)return g(y);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Dg,c,f)(y)}function c(y){return i&&h(),m(r),p(y)}function f(y){return t.parser.lazy[t.now().line]=r!==n.length,l=t.now().offset,g(y)}function p(y){return t.containerState={},e.attempt(Dg,d,g)(y)}function d(y){return r++,n.push([t.currentConstruct,t.containerState]),p(y)}function g(y){if(y===null){i&&h(),m(0),e.consume(y);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:o}),w(y)}function w(y){if(y===null){E(e.exit("chunkFlow"),!0),m(0),e.consume(y);return}return A(y)?(e.consume(y),E(e.exit("chunkFlow")),r=0,t.interrupt=void 0,u):(e.consume(y),w)}function E(y,C){let I=t.sliceStream(y);if(C&&I.push(null),y.previous=o,o&&(o.next=y),o=y,i.defineSkip(y.start),i.write(I),t.parser.lazy[y.start.line]){let v=i.events.length;for(;v--;)if(i.events[v][1].start.offset<l&&(!i.events[v][1].end||i.events[v][1].end.offset>l))return;let L=t.events.length,z=L,O,S;for(;z--;)if(t.events[z][0]==="exit"&&t.events[z][1].type==="chunkFlow"){if(O){S=t.events[z][1].end;break}O=!0}for(m(r),v=L;v<t.events.length;)t.events[v][1].end={...S},v++;me(t.events,z+1,0,t.events.slice(L)),t.events.length=v}}function m(y){let C=n.length;for(;C-- >y;){let I=n[C];t.containerState=I[1],I[0].exit.call(t,e)}n.length=y}function h(){i.write([null]),o=void 0,i=void 0,t.containerState._closeFlow=void 0}}function ev(e,t,n){return D(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Zt(e){if(e===null||H(e)||Rt(e))return 1;if(ir(e))return 2}function bn(e,t,n){let r=[],i=-1;for(;++i<e.length;){let o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}var fo={name:"attention",resolveAll:tv,tokenize:nv};function tv(e,t){let n=-1,r,i,o,l,u,a,s,c;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;a=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;let f={...e[r][1].end},p={...e[n][1].start};Og(f,-a),Og(p,a),l={type:a>1?"strongSequence":"emphasisSequence",start:f,end:{...e[r][1].end}},u={type:a>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:p},o={type:a>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},i={type:a>1?"strong":"emphasis",start:{...l.start},end:{...u.end}},e[r][1].end={...l.start},e[n][1].start={...u.end},s=[],e[r][1].end.offset-e[r][1].start.offset&&(s=Ue(s,[["enter",e[r][1],t],["exit",e[r][1],t]])),s=Ue(s,[["enter",i,t],["enter",l,t],["exit",l,t],["enter",o,t]]),s=Ue(s,bn(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),s=Ue(s,[["exit",o,t],["enter",u,t],["exit",u,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(c=2,s=Ue(s,[["enter",e[n][1],t],["exit",e[n][1],t]])):c=0,me(e,r-1,n-r+3,s),n=r+s.length-c-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function nv(e,t){let n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=Zt(r),o;return l;function l(a){return o=a,e.enter("attentionSequence"),u(a)}function u(a){if(a===o)return e.consume(a),u;let s=e.exit("attentionSequence"),c=Zt(a),f=!c||c===2&&i||n.includes(a),p=!i||i===2&&c||n.includes(r);return s._open=!!(o===42?f:f&&(i||!p)),s._close=!!(o===42?p:p&&(c||!f)),t(a)}}function Og(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}var Sc={name:"autolink",tokenize:rv};function rv(e,t,n){let r=0;return i;function i(d){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o}function o(d){return ke(d)?(e.consume(d),l):d===64?n(d):s(d)}function l(d){return d===43||d===45||d===46||fe(d)?(r=1,u(d)):s(d)}function u(d){return d===58?(e.consume(d),r=0,a):(d===43||d===45||d===46||fe(d))&&r++<32?(e.consume(d),u):(r=0,s(d))}function a(d){return d===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.exit("autolink"),t):d===null||d===32||d===60||rr(d)?n(d):(e.consume(d),a)}function s(d){return d===64?(e.consume(d),c):zg(d)?(e.consume(d),s):n(d)}function c(d){return fe(d)?f(d):n(d)}function f(d){return d===46?(e.consume(d),r=0,c):d===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.exit("autolink"),t):p(d)}function p(d){if((d===45||fe(d))&&r++<63){let g=d===45?p:f;return e.consume(d),g}return n(d)}}var Dt={partial:!0,tokenize:iv};function iv(e,t,n){return r;function r(o){return M(o)?D(e,i,"linePrefix")(o):i(o)}function i(o){return o===null||A(o)?t(o):n(o)}}var au={continuation:{tokenize:lv},exit:uv,name:"blockQuote",tokenize:ov};function ov(e,t,n){let r=this;return i;function i(l){if(l===62){let u=r.containerState;return u.open||(e.enter("blockQuote",{_container:!0}),u.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(l),e.exit("blockQuoteMarker"),o}return n(l)}function o(l){return M(l)?(e.enter("blockQuotePrefixWhitespace"),e.consume(l),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(l))}}function lv(e,t,n){let r=this;return i;function i(l){return M(l)?D(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l):o(l)}function o(l){return e.attempt(au,t,n)(l)}}function uv(e){e.exit("blockQuote")}var su={name:"characterEscape",tokenize:av};function av(e,t,n){return r;function r(o){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(o),e.exit("escapeMarker"),i}function i(o){return Ng(o)?(e.enter("characterEscapeValue"),e.consume(o),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(o)}}var cu={name:"characterReference",tokenize:sv};function sv(e,t,n){let r=this,i=0,o,l;return u;function u(f){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),a}function a(f){return f===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(f),e.exit("characterReferenceMarkerNumeric"),s):(e.enter("characterReferenceValue"),o=31,l=fe,c(f))}function s(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,l=Ag,c):(e.enter("characterReferenceValue"),o=7,l=co,c(f))}function c(f){if(f===59&&i){let p=e.exit("characterReferenceValue");return l===fe&&!qr(r.sliceSerialize(p))?n(f):(e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return l(f)&&i++<o?(e.consume(f),c):n(f)}}var Fg={partial:!0,tokenize:fv},fu={concrete:!0,name:"codeFenced",tokenize:cv};function cv(e,t,n){let r=this,i={partial:!0,tokenize:I},o=0,l=0,u;return a;function a(v){return s(v)}function s(v){let L=r.events[r.events.length-1];return o=L&&L[1].type==="linePrefix"?L[2].sliceSerialize(L[1],!0).length:0,u=v,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),c(v)}function c(v){return v===u?(l++,e.consume(v),c):l<3?n(v):(e.exit("codeFencedFenceSequence"),M(v)?D(e,f,"whitespace")(v):f(v))}function f(v){return v===null||A(v)?(e.exit("codeFencedFence"),r.interrupt?t(v):e.check(Fg,w,C)(v)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),p(v))}function p(v){return v===null||A(v)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(v)):M(v)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),D(e,d,"whitespace")(v)):v===96&&v===u?n(v):(e.consume(v),p)}function d(v){return v===null||A(v)?f(v):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),g(v))}function g(v){return v===null||A(v)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(v)):v===96&&v===u?n(v):(e.consume(v),g)}function w(v){return e.attempt(i,C,E)(v)}function E(v){return e.enter("lineEnding"),e.consume(v),e.exit("lineEnding"),m}function m(v){return o>0&&M(v)?D(e,h,"linePrefix",o+1)(v):h(v)}function h(v){return v===null||A(v)?e.check(Fg,w,C)(v):(e.enter("codeFlowValue"),y(v))}function y(v){return v===null||A(v)?(e.exit("codeFlowValue"),h(v)):(e.consume(v),y)}function C(v){return e.exit("codeFenced"),t(v)}function I(v,L,z){let O=0;return S;function S(V){return v.enter("lineEnding"),v.consume(V),v.exit("lineEnding"),G}function G(V){return v.enter("codeFencedFence"),M(V)?D(v,K,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(V):K(V)}function K(V){return V===u?(v.enter("codeFencedFenceSequence"),R(V)):z(V)}function R(V){return V===u?(O++,v.consume(V),R):O>=l?(v.exit("codeFencedFenceSequence"),M(V)?D(v,U,"whitespace")(V):U(V)):z(V)}function U(V){return V===null||A(V)?(v.exit("codeFencedFence"),L(V)):z(V)}}}function fv(e,t,n){let r=this;return i;function i(l){return l===null?n(l):(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),o)}function o(l){return r.parser.lazy[r.now().line]?n(l):t(l)}}var po={name:"codeIndented",tokenize:dv},pv={partial:!0,tokenize:mv};function dv(e,t,n){let r=this;return i;function i(s){return e.enter("codeIndented"),D(e,o,"linePrefix",5)(s)}function o(s){let c=r.events[r.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?l(s):n(s)}function l(s){return s===null?a(s):A(s)?e.attempt(pv,l,a)(s):(e.enter("codeFlowValue"),u(s))}function u(s){return s===null||A(s)?(e.exit("codeFlowValue"),l(s)):(e.consume(s),u)}function a(s){return e.exit("codeIndented"),t(s)}}function mv(e,t,n){let r=this;return i;function i(l){return r.parser.lazy[r.now().line]?n(l):A(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),i):D(e,o,"linePrefix",5)(l)}function o(l){let u=r.events[r.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?t(l):A(l)?i(l):n(l)}}var Cc={name:"codeText",previous:gv,resolve:hv,tokenize:yv};function hv(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 gv(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function yv(e,t,n){let r=this,i=0,o,l;return u;function u(p){return e.enter("codeText"),e.enter("codeTextSequence"),a(p)}function a(p){return p===96?(e.consume(p),i++,a):(e.exit("codeTextSequence"),s(p))}function s(p){return p===null?n(p):p===32?(e.enter("space"),e.consume(p),e.exit("space"),s):p===96?(l=e.enter("codeTextSequence"),o=0,f(p)):A(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),s):(e.enter("codeTextData"),c(p))}function c(p){return p===null||p===32||p===96||A(p)?(e.exit("codeTextData"),s(p)):(e.consume(p),c)}function f(p){return p===96?(e.consume(p),o++,f):o===i?(e.exit("codeTextSequence"),e.exit("codeText"),t(p)):(l.type="codeTextData",c(p))}}var pu=class{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){let r=n==null?Number.POSITIVE_INFINITY:n;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){let i=n||0;this.setCursor(Math.trunc(t));let o=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&mo(this.left,r),o.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),mo(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),mo(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){let n=this.left.splice(t,Number.POSITIVE_INFINITY);mo(this.right,n.reverse())}else{let n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);mo(this.left,n.reverse())}}};function mo(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 du(e){let t={},n=-1,r,i,o,l,u,a,s,c=new pu(e);for(;++n<c.length;){for(;n in t;)n=t[n];if(r=c.get(n),n&&r[1].type==="chunkFlow"&&c.get(n-1)[1].type==="listItemPrefix"&&(a=r[1]._tokenizer.events,o=0,o<a.length&&a[o][1].type==="lineEndingBlank"&&(o+=2),o<a.length&&a[o][1].type==="content"))for(;++o<a.length&&a[o][1].type!=="content";)a[o][1].type==="chunkText"&&(a[o][1]._isInFirstContentOfListItem=!0,o++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,xv(c,n)),n=t[n],s=!0);else if(r[1]._container){for(o=n,i=void 0;o--;)if(l=c.get(o),l[1].type==="lineEnding"||l[1].type==="lineEndingBlank")l[0]==="enter"&&(i&&(c.get(i)[1].type="lineEndingBlank"),l[1].type="lineEnding",i=o);else if(!(l[1].type==="linePrefix"||l[1].type==="listItemIndent"))break;i&&(r[1].end={...c.get(i)[1].start},u=c.slice(i,n),u.unshift(r),c.splice(i,n-i+1,u))}}return me(e,0,Number.POSITIVE_INFINITY,c.slice(0)),!s}function xv(e,t){let n=e.get(t)[1],r=e.get(t)[2],i=t-1,o=[],l=n._tokenizer;l||(l=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(l._contentTypeTextTrailing=!0));let u=l.events,a=[],s={},c,f,p=-1,d=n,g=0,w=0,E=[w];for(;d;){for(;e.get(++i)[1]!==d;);o.push(i),d._tokenizer||(c=r.sliceStream(d),d.next||c.push(null),f&&l.defineSkip(d.start),d._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(c),d._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),f=d,d=d.next}for(d=n;++p<u.length;)u[p][0]==="exit"&&u[p-1][0]==="enter"&&u[p][1].type===u[p-1][1].type&&u[p][1].start.line!==u[p][1].end.line&&(w=p+1,E.push(w),d._tokenizer=void 0,d.previous=void 0,d=d.next);for(l.events=[],d?(d._tokenizer=void 0,d.previous=void 0):E.pop(),p=E.length;p--;){let m=u.slice(E[p],E[p+1]),h=o.pop();a.push([h,h+m.length-1]),e.splice(h,2,m)}for(a.reverse(),p=-1;++p<a.length;)s[g+a[p][0]]=g+a[p][1],g+=a[p][1]-a[p][0]-1;return s}var Ec={resolve:wv,tokenize:vv},kv={partial:!0,tokenize:Sv};function wv(e){return du(e),e}function vv(e,t){let n;return r;function r(u){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(u)}function i(u){return u===null?o(u):A(u)?e.check(kv,l,o)(u):(e.consume(u),i)}function o(u){return e.exit("chunkContent"),e.exit("content"),t(u)}function l(u){return e.consume(u),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function Sv(e,t,n){let r=this;return i;function i(l){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),D(e,o,"linePrefix")}function o(l){if(l===null||A(l))return n(l);let u=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?t(l):e.interrupt(r.parser.constructs.flow,n,t)(l)}}function mu(e,t,n,r,i,o,l,u,a){let s=a||Number.POSITIVE_INFINITY,c=0;return f;function f(m){return m===60?(e.enter(r),e.enter(i),e.enter(o),e.consume(m),e.exit(o),p):m===null||m===32||m===41||rr(m)?n(m):(e.enter(r),e.enter(l),e.enter(u),e.enter("chunkString",{contentType:"string"}),w(m))}function p(m){return m===62?(e.enter(o),e.consume(m),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(u),e.enter("chunkString",{contentType:"string"}),d(m))}function d(m){return m===62?(e.exit("chunkString"),e.exit(u),p(m)):m===null||m===60||A(m)?n(m):(e.consume(m),m===92?g:d)}function g(m){return m===60||m===62||m===92?(e.consume(m),d):d(m)}function w(m){return!c&&(m===null||m===41||H(m))?(e.exit("chunkString"),e.exit(u),e.exit(l),e.exit(r),t(m)):c<s&&m===40?(e.consume(m),c++,w):m===41?(e.consume(m),c--,w):m===null||m===32||m===40||rr(m)?n(m):(e.consume(m),m===92?E:w)}function E(m){return m===40||m===41||m===92?(e.consume(m),w):w(m)}}function hu(e,t,n,r,i,o){let l=this,u=0,a;return s;function s(d){return e.enter(r),e.enter(i),e.consume(d),e.exit(i),e.enter(o),c}function c(d){return u>999||d===null||d===91||d===93&&!a||d===94&&!u&&"_hiddenFootnoteSupport"in l.parser.constructs?n(d):d===93?(e.exit(o),e.enter(i),e.consume(d),e.exit(i),e.exit(r),t):A(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),f(d))}function f(d){return d===null||d===91||d===93||A(d)||u++>999?(e.exit("chunkString"),c(d)):(e.consume(d),a||(a=!M(d)),d===92?p:f)}function p(d){return d===91||d===92||d===93?(e.consume(d),u++,f):f(d)}}function gu(e,t,n,r,i,o){let l;return u;function u(p){return p===34||p===39||p===40?(e.enter(r),e.enter(i),e.consume(p),e.exit(i),l=p===40?41:p,a):n(p)}function a(p){return p===l?(e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):(e.enter(o),s(p))}function s(p){return p===l?(e.exit(o),a(l)):p===null?n(p):A(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),D(e,s,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(p))}function c(p){return p===l||p===null||A(p)?(e.exit("chunkString"),s(p)):(e.consume(p),p===92?f:c)}function f(p){return p===l||p===92?(e.consume(p),c):c(p)}}function or(e,t){let n;return r;function r(i){return A(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):M(i)?D(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}var Tc={name:"definition",tokenize:Ev},Cv={partial:!0,tokenize:Tv};function Ev(e,t,n){let r=this,i;return o;function o(d){return e.enter("definition"),l(d)}function l(d){return hu.call(r,e,u,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(d)}function u(d){return i=Ne(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),d===58?(e.enter("definitionMarker"),e.consume(d),e.exit("definitionMarker"),a):n(d)}function a(d){return H(d)?or(e,s)(d):s(d)}function s(d){return mu(e,c,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(d)}function c(d){return e.attempt(Cv,f,f)(d)}function f(d){return M(d)?D(e,p,"whitespace")(d):p(d)}function p(d){return d===null||A(d)?(e.exit("definition"),r.parser.defined.push(i),t(d)):n(d)}}function Tv(e,t,n){return r;function r(u){return H(u)?or(e,i)(u):n(u)}function i(u){return gu(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(u)}function o(u){return M(u)?D(e,l,"whitespace")(u):l(u)}function l(u){return u===null||A(u)?t(u):n(u)}}var Ic={name:"hardBreakEscape",tokenize:Iv};function Iv(e,t,n){return r;function r(o){return e.enter("hardBreakEscape"),e.consume(o),i}function i(o){return A(o)?(e.exit("hardBreakEscape"),t(o)):n(o)}}var bc={name:"headingAtx",resolve:bv,tokenize:Pv};function bv(e,t){let n=e.length-2,r=3,i,o;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},o={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},me(e,r,n-r+1,[["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t]])),e}function Pv(e,t,n){let r=0;return i;function i(c){return e.enter("atxHeading"),o(c)}function o(c){return e.enter("atxHeadingSequence"),l(c)}function l(c){return c===35&&r++<6?(e.consume(c),l):c===null||H(c)?(e.exit("atxHeadingSequence"),u(c)):n(c)}function u(c){return c===35?(e.enter("atxHeadingSequence"),a(c)):c===null||A(c)?(e.exit("atxHeading"),t(c)):M(c)?D(e,u,"whitespace")(c):(e.enter("atxHeadingText"),s(c))}function a(c){return c===35?(e.consume(c),a):(e.exit("atxHeadingSequence"),u(c))}function s(c){return c===null||c===35||H(c)?(e.exit("atxHeadingText"),u(c)):(e.consume(c),s)}}var Bg=["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"],Pc=["pre","script","style","textarea"];var Lc={concrete:!0,name:"htmlFlow",resolveTo:zv,tokenize:Av},Lv={partial:!0,tokenize:Rv},_v={partial:!0,tokenize:Nv};function zv(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 Av(e,t,n){let r=this,i,o,l,u,a;return s;function s(k){return c(k)}function c(k){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(k),f}function f(k){return k===33?(e.consume(k),p):k===47?(e.consume(k),o=!0,w):k===63?(e.consume(k),i=3,r.interrupt?t:x):ke(k)?(e.consume(k),l=String.fromCharCode(k),E):n(k)}function p(k){return k===45?(e.consume(k),i=2,d):k===91?(e.consume(k),i=5,u=0,g):ke(k)?(e.consume(k),i=4,r.interrupt?t:x):n(k)}function d(k){return k===45?(e.consume(k),r.interrupt?t:x):n(k)}function g(k){let Xe="CDATA[";return k===Xe.charCodeAt(u++)?(e.consume(k),u===Xe.length?r.interrupt?t:K:g):n(k)}function w(k){return ke(k)?(e.consume(k),l=String.fromCharCode(k),E):n(k)}function E(k){if(k===null||k===47||k===62||H(k)){let Xe=k===47,Nn=l.toLowerCase();return!Xe&&!o&&Pc.includes(Nn)?(i=1,r.interrupt?t(k):K(k)):Bg.includes(l.toLowerCase())?(i=6,Xe?(e.consume(k),m):r.interrupt?t(k):K(k)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(k):o?h(k):y(k))}return k===45||fe(k)?(e.consume(k),l+=String.fromCharCode(k),E):n(k)}function m(k){return k===62?(e.consume(k),r.interrupt?t:K):n(k)}function h(k){return M(k)?(e.consume(k),h):S(k)}function y(k){return k===47?(e.consume(k),S):k===58||k===95||ke(k)?(e.consume(k),C):M(k)?(e.consume(k),y):S(k)}function C(k){return k===45||k===46||k===58||k===95||fe(k)?(e.consume(k),C):I(k)}function I(k){return k===61?(e.consume(k),v):M(k)?(e.consume(k),I):y(k)}function v(k){return k===null||k===60||k===61||k===62||k===96?n(k):k===34||k===39?(e.consume(k),a=k,L):M(k)?(e.consume(k),v):z(k)}function L(k){return k===a?(e.consume(k),a=null,O):k===null||A(k)?n(k):(e.consume(k),L)}function z(k){return k===null||k===34||k===39||k===47||k===60||k===61||k===62||k===96||H(k)?I(k):(e.consume(k),z)}function O(k){return k===47||k===62||M(k)?y(k):n(k)}function S(k){return k===62?(e.consume(k),G):n(k)}function G(k){return k===null||A(k)?K(k):M(k)?(e.consume(k),G):n(k)}function K(k){return k===45&&i===2?(e.consume(k),ae):k===60&&i===1?(e.consume(k),ge):k===62&&i===4?(e.consume(k),it):k===63&&i===3?(e.consume(k),x):k===93&&i===5?(e.consume(k),bt):A(k)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(Lv,Ot,R)(k)):k===null||A(k)?(e.exit("htmlFlowData"),R(k)):(e.consume(k),K)}function R(k){return e.check(_v,U,Ot)(k)}function U(k){return e.enter("lineEnding"),e.consume(k),e.exit("lineEnding"),V}function V(k){return k===null||A(k)?R(k):(e.enter("htmlFlowData"),K(k))}function ae(k){return k===45?(e.consume(k),x):K(k)}function ge(k){return k===47?(e.consume(k),l="",mt):K(k)}function mt(k){if(k===62){let Xe=l.toLowerCase();return Pc.includes(Xe)?(e.consume(k),it):K(k)}return ke(k)&&l.length<8?(e.consume(k),l+=String.fromCharCode(k),mt):K(k)}function bt(k){return k===93?(e.consume(k),x):K(k)}function x(k){return k===62?(e.consume(k),it):k===45&&i===2?(e.consume(k),x):K(k)}function it(k){return k===null||A(k)?(e.exit("htmlFlowData"),Ot(k)):(e.consume(k),it)}function Ot(k){return e.exit("htmlFlow"),t(k)}}function Nv(e,t,n){let r=this;return i;function i(l){return A(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),o):n(l)}function o(l){return r.parser.lazy[r.now().line]?n(l):t(l)}}function Rv(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(Dt,t,n)}}var _c={name:"htmlText",tokenize:Dv};function Dv(e,t,n){let r=this,i,o,l;return u;function u(x){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(x),a}function a(x){return x===33?(e.consume(x),s):x===47?(e.consume(x),I):x===63?(e.consume(x),y):ke(x)?(e.consume(x),z):n(x)}function s(x){return x===45?(e.consume(x),c):x===91?(e.consume(x),o=0,g):ke(x)?(e.consume(x),h):n(x)}function c(x){return x===45?(e.consume(x),d):n(x)}function f(x){return x===null?n(x):x===45?(e.consume(x),p):A(x)?(l=f,ge(x)):(e.consume(x),f)}function p(x){return x===45?(e.consume(x),d):f(x)}function d(x){return x===62?ae(x):x===45?p(x):f(x)}function g(x){let it="CDATA[";return x===it.charCodeAt(o++)?(e.consume(x),o===it.length?w:g):n(x)}function w(x){return x===null?n(x):x===93?(e.consume(x),E):A(x)?(l=w,ge(x)):(e.consume(x),w)}function E(x){return x===93?(e.consume(x),m):w(x)}function m(x){return x===62?ae(x):x===93?(e.consume(x),m):w(x)}function h(x){return x===null||x===62?ae(x):A(x)?(l=h,ge(x)):(e.consume(x),h)}function y(x){return x===null?n(x):x===63?(e.consume(x),C):A(x)?(l=y,ge(x)):(e.consume(x),y)}function C(x){return x===62?ae(x):y(x)}function I(x){return ke(x)?(e.consume(x),v):n(x)}function v(x){return x===45||fe(x)?(e.consume(x),v):L(x)}function L(x){return A(x)?(l=L,ge(x)):M(x)?(e.consume(x),L):ae(x)}function z(x){return x===45||fe(x)?(e.consume(x),z):x===47||x===62||H(x)?O(x):n(x)}function O(x){return x===47?(e.consume(x),ae):x===58||x===95||ke(x)?(e.consume(x),S):A(x)?(l=O,ge(x)):M(x)?(e.consume(x),O):ae(x)}function S(x){return x===45||x===46||x===58||x===95||fe(x)?(e.consume(x),S):G(x)}function G(x){return x===61?(e.consume(x),K):A(x)?(l=G,ge(x)):M(x)?(e.consume(x),G):O(x)}function K(x){return x===null||x===60||x===61||x===62||x===96?n(x):x===34||x===39?(e.consume(x),i=x,R):A(x)?(l=K,ge(x)):M(x)?(e.consume(x),K):(e.consume(x),U)}function R(x){return x===i?(e.consume(x),i=void 0,V):x===null?n(x):A(x)?(l=R,ge(x)):(e.consume(x),R)}function U(x){return x===null||x===34||x===39||x===60||x===61||x===96?n(x):x===47||x===62||H(x)?O(x):(e.consume(x),U)}function V(x){return x===47||x===62||H(x)?O(x):n(x)}function ae(x){return x===62?(e.consume(x),e.exit("htmlTextData"),e.exit("htmlText"),t):n(x)}function ge(x){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(x),e.exit("lineEnding"),mt}function mt(x){return M(x)?D(e,bt,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(x):bt(x)}function bt(x){return e.enter("htmlTextData"),l(x)}}var lr={name:"labelEnd",resolveAll:Bv,resolveTo:Uv,tokenize:jv},Mv={tokenize:Vv},Ov={tokenize:Hv},Fv={tokenize:Wv};function Bv(e){let t=-1,n=[];for(;++t<e.length;){let r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){let i=r.type==="labelImage"?4:2;r.type="data",t+=i}}return e.length!==n.length&&me(e,0,e.length,n),e}function Uv(e,t){let n=e.length,r=0,i,o,l,u;for(;n--;)if(i=e[n][1],o){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(l){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(o=n,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(l=n);let a={type:e[o][1].type==="labelLink"?"link":"image",start:{...e[o][1].start},end:{...e[e.length-1][1].end}},s={type:"label",start:{...e[o][1].start},end:{...e[l][1].end}},c={type:"labelText",start:{...e[o+r+2][1].end},end:{...e[l-2][1].start}};return u=[["enter",a,t],["enter",s,t]],u=Ue(u,e.slice(o+1,o+r+3)),u=Ue(u,[["enter",c,t]]),u=Ue(u,bn(t.parser.constructs.insideSpan.null,e.slice(o+r+4,l-3),t)),u=Ue(u,[["exit",c,t],e[l-2],e[l-1],["exit",s,t]]),u=Ue(u,e.slice(l+1)),u=Ue(u,[["exit",a,t]]),me(e,o,e.length,u),e}function jv(e,t,n){let r=this,i=r.events.length,o,l;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){o=r.events[i][1];break}return u;function u(p){return o?o._inactive?f(p):(l=r.parser.defined.includes(Ne(r.sliceSerialize({start:o.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(p),e.exit("labelMarker"),e.exit("labelEnd"),a):n(p)}function a(p){return p===40?e.attempt(Mv,c,l?c:f)(p):p===91?e.attempt(Ov,c,l?s:f)(p):l?c(p):f(p)}function s(p){return e.attempt(Fv,c,f)(p)}function c(p){return t(p)}function f(p){return o._balanced=!0,n(p)}}function Vv(e,t,n){return r;function r(f){return e.enter("resource"),e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),i}function i(f){return H(f)?or(e,o)(f):o(f)}function o(f){return f===41?c(f):mu(e,l,u,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function l(f){return H(f)?or(e,a)(f):c(f)}function u(f){return n(f)}function a(f){return f===34||f===39||f===40?gu(e,s,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):c(f)}function s(f){return H(f)?or(e,c)(f):c(f)}function c(f){return f===41?(e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),e.exit("resource"),t):n(f)}}function Hv(e,t,n){let r=this;return i;function i(u){return hu.call(r,e,o,l,"reference","referenceMarker","referenceString")(u)}function o(u){return r.parser.defined.includes(Ne(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(u):n(u)}function l(u){return n(u)}}function Wv(e,t,n){return r;function r(o){return e.enter("reference"),e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),i}function i(o){return o===93?(e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),e.exit("reference"),t):n(o)}}var zc={name:"labelStartImage",resolveAll:lr.resolveAll,tokenize:$v};function $v(e,t,n){let r=this;return i;function i(u){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(u),e.exit("labelImageMarker"),o}function o(u){return u===91?(e.enter("labelMarker"),e.consume(u),e.exit("labelMarker"),e.exit("labelImage"),l):n(u)}function l(u){return u===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(u):t(u)}}var Ac={name:"labelStartLink",resolveAll:lr.resolveAll,tokenize:Qv};function Qv(e,t,n){let r=this;return i;function i(l){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),e.exit("labelLink"),o}function o(l){return l===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(l):t(l)}}var ho={name:"lineEnding",tokenize:Kv};function Kv(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),D(e,t,"linePrefix")}}var ur={name:"thematicBreak",tokenize:qv};function qv(e,t,n){let r=0,i;return o;function o(s){return e.enter("thematicBreak"),l(s)}function l(s){return i=s,u(s)}function u(s){return s===i?(e.enter("thematicBreakSequence"),a(s)):r>=3&&(s===null||A(s))?(e.exit("thematicBreak"),t(s)):n(s)}function a(s){return s===i?(e.consume(s),r++,a):(e.exit("thematicBreakSequence"),M(s)?D(e,u,"whitespace")(s):u(s))}}var Re={continuation:{tokenize:Jv},exit:eS,name:"list",tokenize:Gv},Xv={partial:!0,tokenize:tS},Yv={partial:!0,tokenize:Zv};function Gv(e,t,n){let r=this,i=r.events[r.events.length-1],o=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,l=0;return u;function u(d){let g=r.containerState.type||(d===42||d===43||d===45?"listUnordered":"listOrdered");if(g==="listUnordered"?!r.containerState.marker||d===r.containerState.marker:co(d)){if(r.containerState.type||(r.containerState.type=g,e.enter(g,{_container:!0})),g==="listUnordered")return e.enter("listItemPrefix"),d===42||d===45?e.check(ur,n,s)(d):s(d);if(!r.interrupt||d===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),a(d)}return n(d)}function a(d){return co(d)&&++l<10?(e.consume(d),a):(!r.interrupt||l<2)&&(r.containerState.marker?d===r.containerState.marker:d===41||d===46)?(e.exit("listItemValue"),s(d)):n(d)}function s(d){return e.enter("listItemMarker"),e.consume(d),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||d,e.check(Dt,r.interrupt?n:c,e.attempt(Xv,p,f))}function c(d){return r.containerState.initialBlankLine=!0,o++,p(d)}function f(d){return M(d)?(e.enter("listItemPrefixWhitespace"),e.consume(d),e.exit("listItemPrefixWhitespace"),p):n(d)}function p(d){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(d)}}function Jv(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(Dt,i,o);function i(u){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,D(e,t,"listItemIndent",r.containerState.size+1)(u)}function o(u){return r.containerState.furtherBlankLines||!M(u)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,l(u)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Yv,t,l)(u))}function l(u){return r.containerState._closeFlow=!0,r.interrupt=void 0,D(e,e.attempt(Re,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u)}}function Zv(e,t,n){let r=this;return D(e,i,"listItemIndent",r.containerState.size+1);function i(o){let l=r.events[r.events.length-1];return l&&l[1].type==="listItemIndent"&&l[2].sliceSerialize(l[1],!0).length===r.containerState.size?t(o):n(o)}}function eS(e){e.exit(this.containerState.type)}function tS(e,t,n){let r=this;return D(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(o){let l=r.events[r.events.length-1];return!M(o)&&l&&l[1].type==="listItemPrefixWhitespace"?t(o):n(o)}}var yu={name:"setextUnderline",resolveTo:nS,tokenize:rS};function nS(e,t){let n=e.length,r,i,o;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),!o&&e[n][1].type==="definition"&&(o=n);let l={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",o?(e.splice(i,0,["enter",l,t]),e.splice(o+1,0,["exit",e[r][1],t]),e[r][1].end={...e[o][1].end}):e[r][1]=l,e.push(["exit",l,t]),e}function rS(e,t,n){let r=this,i;return o;function o(s){let c=r.events.length,f;for(;c--;)if(r.events[c][1].type!=="lineEnding"&&r.events[c][1].type!=="linePrefix"&&r.events[c][1].type!=="content"){f=r.events[c][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(e.enter("setextHeadingLine"),i=s,l(s)):n(s)}function l(s){return e.enter("setextHeadingLineSequence"),u(s)}function u(s){return s===i?(e.consume(s),u):(e.exit("setextHeadingLineSequence"),M(s)?D(e,a,"lineSuffix")(s):a(s))}function a(s){return s===null||A(s)?(e.exit("setextHeadingLine"),t(s)):n(s)}}var Ug={tokenize:iS};function iS(e){let t=this,n=e.attempt(Dt,r,e.attempt(this.parser.constructs.flowInitial,i,D(e,e.attempt(this.parser.constructs.flow,i,e.attempt(Ec,i)),"linePrefix")));return n;function r(o){if(o===null){e.consume(o);return}return e.enter("lineEndingBlank"),e.consume(o),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),t.currentConstruct=void 0,n}}var jg={resolveAll:$g()},Vg=Wg("string"),Hg=Wg("text");function Wg(e){return{resolveAll:$g(e==="text"?oS:void 0),tokenize:t};function t(n){let r=this,i=this.parser.constructs[e],o=n.attempt(i,l,u);return l;function l(c){return s(c)?o(c):u(c)}function u(c){if(c===null){n.consume(c);return}return n.enter("data"),n.consume(c),a}function a(c){return s(c)?(n.exit("data"),o(c)):(n.consume(c),a)}function s(c){if(c===null)return!0;let f=i[c],p=-1;if(f)for(;++p<f.length;){let d=f[p];if(!d.previous||d.previous.call(r,r.previous))return!0}return!1}}}function $g(e){return t;function t(n,r){let i=-1,o;for(;++i<=n.length;)o===void 0?n[i]&&n[i][1].type==="data"&&(o=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==o+2&&(n[o][1].end=n[i-1][1].end,n.splice(o+2,i-o-2),i=o+2),o=void 0);return e?e(n,r):n}}function oS(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){let r=e[n-1][1],i=t.sliceStream(r),o=i.length,l=-1,u=0,a;for(;o--;){let s=i[o];if(typeof s=="string"){for(l=s.length;s.charCodeAt(l-1)===32;)u++,l--;if(l)break;l=-1}else if(s===-2)a=!0,u++;else if(s!==-1){o++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(u=0),u){let s={type:n===e.length||a||u<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:o?l:r.start._bufferIndex+l,_index:r.start._index+o,line:r.end.line,column:r.end.column-u,offset:r.end.offset-u},end:{...r.end}};r.end={...s.start},r.start.offset===r.end.offset?Object.assign(r,s):(e.splice(n,0,["enter",s,t],["exit",s,t]),n+=2)}n++}return e}var Nc={};Bu(Nc,{attentionMarkers:()=>dS,contentInitial:()=>uS,disable:()=>mS,document:()=>lS,flow:()=>sS,flowInitial:()=>aS,insideSpan:()=>pS,string:()=>cS,text:()=>fS});var lS={42:Re,43:Re,45:Re,48:Re,49:Re,50:Re,51:Re,52:Re,53:Re,54:Re,55:Re,56:Re,57:Re,62:au},uS={91:Tc},aS={[-2]:po,[-1]:po,32:po},sS={35:bc,42:ur,45:[yu,ur],60:Lc,61:yu,95:ur,96:fu,126:fu},cS={38:cu,92:su},fS={[-5]:ho,[-4]:ho,[-3]:ho,33:zc,38:cu,42:fo,60:[Sc,_c],91:Ac,92:[Ic,su],93:lr,95:fo,96:Cc},pS={null:[fo,jg]},dS={null:[42,95]},mS={null:[]};function Qg(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0},i={},o=[],l=[],u=[],a=!0,s={attempt:O(L),check:O(z),consume:C,enter:I,exit:v,interrupt:O(z,{interrupt:!0})},c={code:null,containerState:{},defineSkip:m,events:[],now:E,parser:e,previous:null,sliceSerialize:g,sliceStream:w,write:d},f=t.tokenize.call(c,s),p;return t.resolveAll&&o.push(t),c;function d(R){return l=Ue(l,R),h(),l[l.length-1]!==null?[]:(S(t,0),c.events=bn(o,c.events,c),c.events)}function g(R,U){return gS(w(R),U)}function w(R){return hS(l,R)}function E(){let{_bufferIndex:R,_index:U,line:V,column:ae,offset:ge}=r;return{_bufferIndex:R,_index:U,line:V,column:ae,offset:ge}}function m(R){i[R.line]=R.column,K()}function h(){let R;for(;r._index<l.length;){let U=l[r._index];if(typeof U=="string")for(R=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===R&&r._bufferIndex<U.length;)y(U.charCodeAt(r._bufferIndex));else y(U)}}function y(R){a=void 0,p=R,f=f(R)}function C(R){A(R)?(r.line++,r.column=1,r.offset+=R===-3?2:1,K()):R!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===l[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=R,a=!0}function I(R,U){let V=U||{};return V.type=R,V.start=E(),c.events.push(["enter",V,c]),u.push(V),V}function v(R){let U=u.pop();return U.end=E(),c.events.push(["exit",U,c]),U}function L(R,U){S(R,U.from)}function z(R,U){U.restore()}function O(R,U){return V;function V(ae,ge,mt){let bt,x,it,Ot;return Array.isArray(ae)?Xe(ae):"tokenize"in ae?Xe([ae]):k(ae);function k(Ce){return ri;function ri(Ft){let Rn=Ft!==null&&Ce[Ft],mr=Ft!==null&&Ce.null,Fu=[...Array.isArray(Rn)?Rn:Rn?[Rn]:[],...Array.isArray(mr)?mr:mr?[mr]:[]];return Xe(Fu)(Ft)}}function Xe(Ce){return bt=Ce,x=0,Ce.length===0?mt:Nn(Ce[x])}function Nn(Ce){return ri;function ri(Ft){return Ot=G(),it=Ce,Ce.partial||(c.currentConstruct=Ce),Ce.name&&c.parser.constructs.disable.null.includes(Ce.name)?Co(Ft):Ce.tokenize.call(U?Object.assign(Object.create(c),U):c,s,Ou,Co)(Ft)}}function Ou(Ce){return a=!0,R(it,Ot),ge}function Co(Ce){return a=!0,Ot.restore(),++x<bt.length?Nn(bt[x]):mt}}}function S(R,U){R.resolveAll&&!o.includes(R)&&o.push(R),R.resolve&&me(c.events,U,c.events.length-U,R.resolve(c.events.slice(U),c)),R.resolveTo&&(c.events=R.resolveTo(c.events,c))}function G(){let R=E(),U=c.previous,V=c.currentConstruct,ae=c.events.length,ge=Array.from(u);return{from:ae,restore:mt};function mt(){r=R,c.previous=U,c.currentConstruct=V,c.events.length=ae,u=ge,K()}}function K(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function hS(e,t){let n=t.start._index,r=t.start._bufferIndex,i=t.end._index,o=t.end._bufferIndex,l;if(n===i)l=[e[n].slice(r,o)];else{if(l=e.slice(n,i),r>-1){let u=l[0];typeof u=="string"?l[0]=u.slice(r):l.shift()}o>0&&l.push(e[i].slice(0,o))}return l}function gS(e,t){let n=-1,r=[],i;for(;++n<e.length;){let o=e[n],l;if(typeof o=="string")l=o;else switch(o){case-5:{l="\r";break}case-4:{l=`
11
+ `;break}case-3:{l=`\r
12
+ `;break}case-2:{l=t?" ":" ";break}case-1:{if(!t&&i)continue;l=" ";break}default:l=String.fromCharCode(o)}i=o===-2,r.push(l)}return r.join("")}function Rc(e){let r={constructs:lu([Nc,...(e||{}).extensions||[]]),content:i(Rg),defined:[],document:i(Mg),flow:i(Ug),lazy:{},string:i(Vg),text:i(Hg)};return r;function i(o){return l;function l(u){return Qg(r,o,u)}}}function Dc(e){for(;!du(e););return e}var Kg=/[\0\t\n\r]/g;function Mc(){let e=1,t="",n=!0,r;return i;function i(o,l,u){let a=[],s,c,f,p,d;for(o=t+(typeof o=="string"?o.toString():new TextDecoder(l||void 0).decode(o)),f=0,t="",n&&(o.charCodeAt(0)===65279&&f++,n=void 0);f<o.length;){if(Kg.lastIndex=f,s=Kg.exec(o),p=s&&s.index!==void 0?s.index:o.length,d=o.charCodeAt(p),!s){t=o.slice(f);break}if(d===10&&f===p&&r)a.push(-3),r=void 0;else switch(r&&(a.push(-5),r=void 0),f<p&&(a.push(o.slice(f,p)),e+=p-f),d){case 0:{a.push(65533),e++;break}case 9:{for(c=Math.ceil(e/4)*4,a.push(-2);e++<c;)a.push(-1);break}case 10:{a.push(-4),e=1;break}default:r=!0,e=1}f=p+1}return u&&(r&&a.push(-5),t&&a.push(t),a.push(null)),a}}var yS=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function qg(e){return e.replace(yS,xS)}function xS(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){let i=n.charCodeAt(1),o=i===120||i===88;return uu(n.slice(o?2:1),o?16:10)}return qr(n)||e}var Yg={}.hasOwnProperty;function Oc(e,t,n){return t&&typeof t=="object"&&(n=t,t=void 0),kS(n)(Dc(Rc(n).document().write(Mc()(e,t,!0))))}function kS(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o($f),autolinkProtocol:O,autolinkEmail:O,atxHeading:o(Vf),blockQuote:o(Ft),characterEscape:O,characterReference:O,codeFenced:o(Rn),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:o(Rn,l),codeText:o(mr,l),codeTextData:O,data:O,codeFlowValue:O,definition:o(Fu),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:o(r1),hardBreakEscape:o(Hf),hardBreakTrailing:o(Hf),htmlFlow:o(Wf,l),htmlFlowData:O,htmlText:o(Wf,l),htmlTextData:O,image:o(i1),label:l,link:o($f),listItem:o(o1),listItemValue:p,listOrdered:o(Qf,f),listUnordered:o(Qf),paragraph:o(l1),reference:k,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:o(Vf),strong:o(u1),thematicBreak:o(s1)},exit:{atxHeading:a(),atxHeadingSequence:I,autolink:a(),autolinkEmail:ri,autolinkProtocol:Ce,blockQuote:a(),characterEscapeValue:S,characterReferenceMarkerHexadecimal:Nn,characterReferenceMarkerNumeric:Nn,characterReferenceValue:Ou,characterReference:Co,codeFenced:a(E),codeFencedFence:w,codeFencedFenceInfo:d,codeFencedFenceMeta:g,codeFlowValue:S,codeIndented:a(m),codeText:a(V),codeTextData:S,data:S,definition:a(),definitionDestinationString:C,definitionLabelString:h,definitionTitleString:y,emphasis:a(),hardBreakEscape:a(K),hardBreakTrailing:a(K),htmlFlow:a(R),htmlFlowData:S,htmlText:a(U),htmlTextData:S,image:a(ge),label:bt,labelText:mt,lineEnding:G,link:a(ae),listItem:a(),listOrdered:a(),listUnordered:a(),paragraph:a(),referenceString:Xe,resourceDestinationString:x,resourceTitleString:it,resource:Ot,setextHeading:a(z),setextHeadingLineSequence:L,setextHeadingText:v,strong:a(),thematicBreak:a()}};Gg(t,(e||{}).mdastExtensions||[]);let n={};return r;function r(T){let _={type:"root",children:[]},B={stack:[_],tokenStack:[],config:t,enter:u,exit:s,buffer:l,resume:c,data:n},$=[],J=-1;for(;++J<T.length;)if(T[J][1].type==="listOrdered"||T[J][1].type==="listUnordered")if(T[J][0]==="enter")$.push(J);else{let ht=$.pop();J=i(T,ht,J)}for(J=-1;++J<T.length;){let ht=t[T[J][0]];Yg.call(ht,T[J][1].type)&&ht[T[J][1].type].call(Object.assign({sliceSerialize:T[J][2].sliceSerialize},B),T[J][1])}if(B.tokenStack.length>0){let ht=B.tokenStack[B.tokenStack.length-1];(ht[1]||Xg).call(B,void 0,ht[0])}for(_.position={start:Pn(T.length>0?T[0][1].start:{line:1,column:1,offset:0}),end:Pn(T.length>0?T[T.length-2][1].end:{line:1,column:1,offset:0})},J=-1;++J<t.transforms.length;)_=t.transforms[J](_)||_;return _}function i(T,_,B){let $=_-1,J=-1,ht=!1,Dn,Bt,ii,oi;for(;++$<=B;){let Ye=T[$];switch(Ye[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Ye[0]==="enter"?J++:J--,oi=void 0;break}case"lineEndingBlank":{Ye[0]==="enter"&&(Dn&&!oi&&!J&&!ii&&(ii=$),oi=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:oi=void 0}if(!J&&Ye[0]==="enter"&&Ye[1].type==="listItemPrefix"||J===-1&&Ye[0]==="exit"&&(Ye[1].type==="listUnordered"||Ye[1].type==="listOrdered")){if(Dn){let hr=$;for(Bt=void 0;hr--;){let Ut=T[hr];if(Ut[1].type==="lineEnding"||Ut[1].type==="lineEndingBlank"){if(Ut[0]==="exit")continue;Bt&&(T[Bt][1].type="lineEndingBlank",ht=!0),Ut[1].type="lineEnding",Bt=hr}else if(!(Ut[1].type==="linePrefix"||Ut[1].type==="blockQuotePrefix"||Ut[1].type==="blockQuotePrefixWhitespace"||Ut[1].type==="blockQuoteMarker"||Ut[1].type==="listItemIndent"))break}ii&&(!Bt||ii<Bt)&&(Dn._spread=!0),Dn.end=Object.assign({},Bt?T[Bt][1].start:Ye[1].end),T.splice(Bt||$,0,["exit",Dn,Ye[2]]),$++,B++}if(Ye[1].type==="listItemPrefix"){let hr={type:"listItem",_spread:!1,start:Object.assign({},Ye[1].start),end:void 0};Dn=hr,T.splice($,0,["enter",hr,Ye[2]]),$++,B++,ii=void 0,oi=!0}}}return T[_][1]._spread=ht,B}function o(T,_){return B;function B($){u.call(this,T($),$),_&&_.call(this,$)}}function l(){this.stack.push({type:"fragment",children:[]})}function u(T,_,B){this.stack[this.stack.length-1].children.push(T),this.stack.push(T),this.tokenStack.push([_,B||void 0]),T.position={start:Pn(_.start),end:void 0}}function a(T){return _;function _(B){T&&T.call(this,B),s.call(this,B)}}function s(T,_){let B=this.stack.pop(),$=this.tokenStack.pop();if($)$[0].type!==T.type&&(_?_.call(this,T,$[0]):($[1]||Xg).call(this,T,$[0]));else throw new Error("Cannot close `"+T.type+"` ("+Tn({start:T.start,end:T.end})+"): it\u2019s not open");B.position.end=Pn(T.end)}function c(){return nr(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function p(T){if(this.data.expectingFirstListItemValue){let _=this.stack[this.stack.length-2];_.start=Number.parseInt(this.sliceSerialize(T),10),this.data.expectingFirstListItemValue=void 0}}function d(){let T=this.resume(),_=this.stack[this.stack.length-1];_.lang=T}function g(){let T=this.resume(),_=this.stack[this.stack.length-1];_.meta=T}function w(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function E(){let T=this.resume(),_=this.stack[this.stack.length-1];_.value=T.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function m(){let T=this.resume(),_=this.stack[this.stack.length-1];_.value=T.replace(/(\r?\n|\r)$/g,"")}function h(T){let _=this.resume(),B=this.stack[this.stack.length-1];B.label=_,B.identifier=Ne(this.sliceSerialize(T)).toLowerCase()}function y(){let T=this.resume(),_=this.stack[this.stack.length-1];_.title=T}function C(){let T=this.resume(),_=this.stack[this.stack.length-1];_.url=T}function I(T){let _=this.stack[this.stack.length-1];if(!_.depth){let B=this.sliceSerialize(T).length;_.depth=B}}function v(){this.data.setextHeadingSlurpLineEnding=!0}function L(T){let _=this.stack[this.stack.length-1];_.depth=this.sliceSerialize(T).codePointAt(0)===61?1:2}function z(){this.data.setextHeadingSlurpLineEnding=void 0}function O(T){let B=this.stack[this.stack.length-1].children,$=B[B.length-1];(!$||$.type!=="text")&&($=a1(),$.position={start:Pn(T.start),end:void 0},B.push($)),this.stack.push($)}function S(T){let _=this.stack.pop();_.value+=this.sliceSerialize(T),_.position.end=Pn(T.end)}function G(T){let _=this.stack[this.stack.length-1];if(this.data.atHardBreak){let B=_.children[_.children.length-1];B.position.end=Pn(T.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(_.type)&&(O.call(this,T),S.call(this,T))}function K(){this.data.atHardBreak=!0}function R(){let T=this.resume(),_=this.stack[this.stack.length-1];_.value=T}function U(){let T=this.resume(),_=this.stack[this.stack.length-1];_.value=T}function V(){let T=this.resume(),_=this.stack[this.stack.length-1];_.value=T}function ae(){let T=this.stack[this.stack.length-1];if(this.data.inReference){let _=this.data.referenceType||"shortcut";T.type+="Reference",T.referenceType=_,delete T.url,delete T.title}else delete T.identifier,delete T.label;this.data.referenceType=void 0}function ge(){let T=this.stack[this.stack.length-1];if(this.data.inReference){let _=this.data.referenceType||"shortcut";T.type+="Reference",T.referenceType=_,delete T.url,delete T.title}else delete T.identifier,delete T.label;this.data.referenceType=void 0}function mt(T){let _=this.sliceSerialize(T),B=this.stack[this.stack.length-2];B.label=qg(_),B.identifier=Ne(_).toLowerCase()}function bt(){let T=this.stack[this.stack.length-1],_=this.resume(),B=this.stack[this.stack.length-1];if(this.data.inReference=!0,B.type==="link"){let $=T.children;B.children=$}else B.alt=_}function x(){let T=this.resume(),_=this.stack[this.stack.length-1];_.url=T}function it(){let T=this.resume(),_=this.stack[this.stack.length-1];_.title=T}function Ot(){this.data.inReference=void 0}function k(){this.data.referenceType="collapsed"}function Xe(T){let _=this.resume(),B=this.stack[this.stack.length-1];B.label=_,B.identifier=Ne(this.sliceSerialize(T)).toLowerCase(),this.data.referenceType="full"}function Nn(T){this.data.characterReferenceType=T.type}function Ou(T){let _=this.sliceSerialize(T),B=this.data.characterReferenceType,$;B?($=uu(_,B==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):$=qr(_);let J=this.stack[this.stack.length-1];J.value+=$}function Co(T){let _=this.stack.pop();_.position.end=Pn(T.end)}function Ce(T){S.call(this,T);let _=this.stack[this.stack.length-1];_.url=this.sliceSerialize(T)}function ri(T){S.call(this,T);let _=this.stack[this.stack.length-1];_.url="mailto:"+this.sliceSerialize(T)}function Ft(){return{type:"blockquote",children:[]}}function Rn(){return{type:"code",lang:null,meta:null,value:""}}function mr(){return{type:"inlineCode",value:""}}function Fu(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function r1(){return{type:"emphasis",children:[]}}function Vf(){return{type:"heading",depth:0,children:[]}}function Hf(){return{type:"break"}}function Wf(){return{type:"html",value:""}}function i1(){return{type:"image",title:null,url:"",alt:null}}function $f(){return{type:"link",title:null,url:"",children:[]}}function Qf(T){return{type:"list",ordered:T.type==="listOrdered",start:null,spread:T._spread,children:[]}}function o1(T){return{type:"listItem",spread:T._spread,checked:null,children:[]}}function l1(){return{type:"paragraph",children:[]}}function u1(){return{type:"strong",children:[]}}function a1(){return{type:"text",value:""}}function s1(){return{type:"thematicBreak"}}}function Pn(e){return{line:e.line,column:e.column,offset:e.offset}}function Gg(e,t){let n=-1;for(;++n<t.length;){let r=t[n];Array.isArray(r)?Gg(e,r):wS(e,r)}}function wS(e,t){let n;for(n in t)if(Yg.call(t,n))switch(n){case"canContainEols":{let r=t[n];r&&e[n].push(...r);break}case"transforms":{let r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{let r=t[n];r&&Object.assign(e[n],r);break}}}function Xg(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Tn({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Tn({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Tn({start:t.start,end:t.end})+") is still open")}function xu(e){let t=this;t.parser=n;function n(r){return Oc(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function Jg(e,t){let n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function Zg(e,t){let n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
13
+ `}]}function ey(e,t){let n=t.value?t.value+`
14
+ `:"",r={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(r.className=["language-"+i[0]]);let o={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o}function ty(e,t){let n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function ny(e,t){let n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function ry(e,t){let n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),i=dt(r.toLowerCase()),o=e.footnoteOrder.indexOf(r),l,u=e.footnoteCounts.get(r);u===void 0?(u=0,e.footnoteOrder.push(r),l=e.footnoteOrder.length):l=o+1,u+=1,e.footnoteCounts.set(r,u);let a={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(u>1?"-"+u:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(l)}]};e.patch(t,a);let s={type:"element",tagName:"sup",properties:{},children:[a]};return e.patch(t,s),e.applyData(t,s)}function iy(e,t){let n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function oy(e,t){if(e.options.allowDangerousHtml){let n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function ku(e,t){let n=t.referenceType,r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];let i=e.all(t),o=i[0];o&&o.type==="text"?o.value="["+o.value:i.unshift({type:"text",value:"["});let l=i[i.length-1];return l&&l.type==="text"?l.value+=r:i.push({type:"text",value:r}),i}function ly(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return ku(e,t);let i={src:dt(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);let o={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,o),e.applyData(t,o)}function uy(e,t){let n={src:dt(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);let r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function ay(e,t){let n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);let r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function sy(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return ku(e,t);let i={href:dt(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);let o={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)}function cy(e,t){let n={href:dt(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);let r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function fy(e,t,n){let r=e.all(t),i=n?vS(n):py(t),o={},l=[];if(typeof t.checked=="boolean"){let c=r[0],f;c&&c.type==="element"&&c.tagName==="p"?f=c:(f={type:"element",tagName:"p",properties:{},children:[]},r.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let u=-1;for(;++u<r.length;){let c=r[u];(i||u!==0||c.type!=="element"||c.tagName!=="p")&&l.push({type:"text",value:`
15
+ `}),c.type==="element"&&c.tagName==="p"&&!i?l.push(...c.children):l.push(c)}let a=r[r.length-1];a&&(i||a.type!=="element"||a.tagName!=="p")&&l.push({type:"text",value:`
16
+ `});let s={type:"element",tagName:"li",properties:o,children:l};return e.patch(t,s),e.applyData(t,s)}function vS(e){let t=!1;if(e.type==="list"){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r<n.length;)t=py(n[r])}return t}function py(e){let t=e.spread;return t==null?e.children.length>1:t}function dy(e,t){let n={},r=e.all(t),i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i<r.length;){let l=r[i];if(l.type==="element"&&l.tagName==="li"&&l.properties&&Array.isArray(l.properties.className)&&l.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}let o={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,o),e.applyData(t,o)}function my(e,t){let n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function hy(e,t){let n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function gy(e,t){let n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function yy(e,t){let n=e.all(t),r=n.shift(),i=[];if(r){let l={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],l),i.push(l)}if(n.length>0){let l={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},u=Kr(t.children[1]),a=ou(t.children[t.children.length-1]);u&&a&&(l.position={start:u,end:a}),i.push(l)}let o={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,o),e.applyData(t,o)}function xy(e,t,n){let r=n?n.children:void 0,o=(r?r.indexOf(t):1)===0?"th":"td",l=n&&n.type==="table"?n.align:void 0,u=l?l.length:t.children.length,a=-1,s=[];for(;++a<u;){let f=t.children[a],p={},d=l?l[a]:void 0;d&&(p.align=d);let g={type:"element",tagName:o,properties:p,children:[]};f&&(g.children=e.all(f),e.patch(f,g),g=e.applyData(f,g)),s.push(g)}let c={type:"element",tagName:"tr",properties:{},children:e.wrap(s,!0)};return e.patch(t,c),e.applyData(t,c)}function ky(e,t){let n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function vy(e){let t=String(e),n=/\r?\n|\r/g,r=n.exec(t),i=0,o=[];for(;r;)o.push(wy(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(wy(t.slice(i),i>0,!1)),o.join("")}function wy(e,t,n){let r=0,i=e.length;if(t){let o=e.codePointAt(r);for(;o===9||o===32;)r++,o=e.codePointAt(r)}if(n){let o=e.codePointAt(i-1);for(;o===9||o===32;)i--,o=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function Sy(e,t){let n={type:"text",value:vy(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function Cy(e,t){let n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}var Ey={blockquote:Jg,break:Zg,code:ey,delete:ty,emphasis:ny,footnoteReference:ry,heading:iy,html:oy,imageReference:ly,image:uy,inlineCode:ay,linkReference:sy,link:cy,listItem:fy,list:dy,paragraph:my,root:hy,strong:gy,table:yy,tableCell:ky,tableRow:xy,text:Sy,thematicBreak:Cy,toml:wu,yaml:wu,definition:wu,footnoteDefinition:wu};function wu(){}var _y=typeof self=="object"?self:globalThis,Ty=(e,t)=>{switch(e){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw new TypeError("unable to deserialize "+e)}return new _y[e](t)},TS=(e,t)=>{let n=(i,o)=>(e.set(o,i),i),r=i=>{if(e.has(i))return e.get(i);let[o,l]=t[i];switch(o){case 0:case-1:return n(l,i);case 1:{let u=n([],i);for(let a of l)u.push(r(a));return u}case 2:{let u=n({},i);for(let[a,s]of l)u[r(a)]=r(s);return u}case 3:return n(new Date(l),i);case 4:{let{source:u,flags:a}=l;return n(new RegExp(u,a),i)}case 5:{let u=n(new Map,i);for(let[a,s]of l)u.set(r(a),r(s));return u}case 6:{let u=n(new Set,i);for(let a of l)u.add(r(a));return u}case 7:{let{name:u,message:a}=l;return n(typeof _y[u]=="function"?Ty(u,a):new Error(a),i)}case 8:return n(BigInt(l),i);case"BigInt":return n(Object(BigInt(l)),i);case"ArrayBuffer":return n(new Uint8Array(l).buffer,l);case"DataView":{let{buffer:u}=new Uint8Array(l);return n(new DataView(u),l)}}return n(Ty(o,l),i)};return r},Uc=e=>TS(new Map,e)(0);var ar="",{toString:IS}={},{keys:bS}=Object,go=e=>{let t=typeof e;if(t!=="object"||!e)return[0,t];let n=IS.call(e).slice(8,-1);switch(n){case"Array":return[1,ar];case"Object":return[2,ar];case"Date":return[3,ar];case"RegExp":return[4,ar];case"Map":return[5,ar];case"Set":return[6,ar];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:e instanceof Error?[7,e.name||"Error"]:[2,n]},Su=([e,t])=>e===0&&(t==="function"||t==="symbol"),PS=(e,t,n,r)=>{let i=(l,u)=>{let a=r.push(l)-1;return n.set(u,a),a},o=l=>{if(n.has(l))return n.get(l);let[u,a]=go(l);switch(u){case 0:{let c=l;switch(a){case"bigint":u=8,c=l.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+a);c=null;break;case"undefined":return i([-1],l)}return i([u,c],l)}case 1:{if(a){let p=l;return a==="DataView"?p=new Uint8Array(l.buffer):a==="ArrayBuffer"&&(p=new Uint8Array(l)),i([a,[...p]],l)}let c=[],f=i([u,c],l);for(let p of l)c.push(o(p));return f}case 2:{if(a)switch(a){case"BigInt":return i([a,l.toString()],l);case"Boolean":case"Number":case"String":return i([a,l.valueOf()],l)}if(t&&"toJSON"in l)return o(l.toJSON());let c=[],f=i([u,c],l);for(let p of bS(l))(e||!Su(go(l[p])))&&c.push([o(p),o(l[p])]);return f}case 3:return i([u,isNaN(l.getTime())?ar:l.toISOString()],l);case 4:{let{source:c,flags:f}=l;return i([u,{source:c,flags:f}],l)}case 5:{let c=[],f=i([u,c],l);for(let[p,d]of l)(e||!(Su(go(p))||Su(go(d))))&&c.push([o(p),o(d)]);return f}case 6:{let c=[],f=i([u,c],l);for(let p of l)(e||!Su(go(p)))&&c.push(o(p));return f}}let{message:s}=l;return i([u,{name:a,message:s}],l)};return o},jc=(e,{json:t,lossy:n}={})=>{let r=[];return PS(!(t||n),!!t,new Map,r)(e),r};var Xr=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?Uc(jc(e,t)):structuredClone(e):(e,t)=>Uc(jc(e,t));function LS(e,t){let n=[{type:"text",value:"\u21A9"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function _S(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function zy(e){let t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||LS,r=e.options.footnoteBackLabel||_S,i=e.options.footnoteLabel||"Footnotes",o=e.options.footnoteLabelTagName||"h2",l=e.options.footnoteLabelProperties||{className:["sr-only"]},u=[],a=-1;for(;++a<e.footnoteOrder.length;){let s=e.footnoteById.get(e.footnoteOrder[a]);if(!s)continue;let c=e.all(s),f=String(s.identifier).toUpperCase(),p=dt(f.toLowerCase()),d=0,g=[],w=e.footnoteCounts.get(f);for(;w!==void 0&&++d<=w;){g.length>0&&g.push({type:"text",value:" "});let h=typeof n=="string"?n:n(a,d);typeof h=="string"&&(h={type:"text",value:h}),g.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+p+(d>1?"-"+d:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(a,d),className:["data-footnote-backref"]},children:Array.isArray(h)?h:[h]})}let E=c[c.length-1];if(E&&E.type==="element"&&E.tagName==="p"){let h=E.children[E.children.length-1];h&&h.type==="text"?h.value+=" ":E.children.push({type:"text",value:" "}),E.children.push(...g)}else c.push(...g);let m={type:"element",tagName:"li",properties:{id:t+"fn-"+p},children:e.wrap(c,!0)};e.patch(s,m),u.push(m)}if(u.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...Xr(l),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:`
17
+ `},{type:"element",tagName:"ol",properties:{},children:e.wrap(u,!0)},{type:"text",value:`
18
+ `}]}}var Ln=(function(e){if(e==null)return RS;if(typeof e=="function")return Cu(e);if(typeof e=="object")return Array.isArray(e)?zS(e):AS(e);if(typeof e=="string")return NS(e);throw new Error("Expected function, string, or object as test")});function zS(e){let t=[],n=-1;for(;++n<e.length;)t[n]=Ln(e[n]);return Cu(r);function r(...i){let o=-1;for(;++o<t.length;)if(t[o].apply(this,i))return!0;return!1}}function AS(e){let t=e;return Cu(n);function n(r){let i=r,o;for(o in e)if(i[o]!==t[o])return!1;return!0}}function NS(e){return Cu(t);function t(n){return n&&n.type===e}}function Cu(e){return t;function t(n,r,i){return!!(DS(n)&&e.call(this,n,typeof r=="number"?r:void 0,i||void 0))}}function RS(){return!0}function DS(e){return e!==null&&typeof e=="object"&&"type"in e}var Ay=[],Eu=!0,sr=!1,Tu="skip";function yo(e,t,n,r){let i;typeof t=="function"&&typeof n!="function"?(r=n,n=t):i=t;let o=Ln(i),l=r?-1:1;u(e,void 0,[])();function u(a,s,c){let f=a&&typeof a=="object"?a:{};if(typeof f.type=="string"){let d=typeof f.tagName=="string"?f.tagName:typeof f.name=="string"?f.name:void 0;Object.defineProperty(p,"name",{value:"node ("+(a.type+(d?"<"+d+">":""))+")"})}return p;function p(){let d=Ay,g,w,E;if((!t||o(a,s,c[c.length-1]||void 0))&&(d=MS(n(a,c)),d[0]===sr))return d;if("children"in a&&a.children){let m=a;if(m.children&&d[0]!==Tu)for(w=(r?m.children.length:-1)+l,E=c.concat(m);w>-1&&w<m.children.length;){let h=m.children[w];if(g=u(h,w,E)(),g[0]===sr)return g;w=typeof g[1]=="number"?g[1]:w+l}}return d}}}function MS(e){return Array.isArray(e)?e:typeof e=="number"?[Eu,e]:e==null?Ay:[e]}function cr(e,t,n,r){let i,o,l;typeof t=="function"&&typeof n!="function"?(o=void 0,l=t,i=n):(o=t,l=n,i=r),yo(e,o,u,i);function u(a,s){let c=s[s.length-1],f=c?c.children.indexOf(a):void 0;return l(a,f,c)}}var Vc={}.hasOwnProperty,OS={};function Ry(e,t){let n=t||OS,r=new Map,i=new Map,o=new Map,l={...Ey,...n.handlers},u={all:s,applyData:BS,definitionById:r,footnoteById:i,footnoteCounts:o,footnoteOrder:[],handlers:l,one:a,options:n,patch:FS,wrap:jS};return cr(e,function(c){if(c.type==="definition"||c.type==="footnoteDefinition"){let f=c.type==="definition"?r:i,p=String(c.identifier).toUpperCase();f.has(p)||f.set(p,c)}}),u;function a(c,f){let p=c.type,d=u.handlers[p];if(Vc.call(u.handlers,p)&&d)return d(u,c,f);if(u.options.passThrough&&u.options.passThrough.includes(p)){if("children"in c){let{children:w,...E}=c,m=Xr(E);return m.children=u.all(c),m}return Xr(c)}return(u.options.unknownHandler||US)(u,c,f)}function s(c){let f=[];if("children"in c){let p=c.children,d=-1;for(;++d<p.length;){let g=u.one(p[d],c);if(g){if(d&&p[d-1].type==="break"&&(!Array.isArray(g)&&g.type==="text"&&(g.value=Ny(g.value)),!Array.isArray(g)&&g.type==="element")){let w=g.children[0];w&&w.type==="text"&&(w.value=Ny(w.value))}Array.isArray(g)?f.push(...g):f.push(g)}}}return f}}function FS(e,t){e.position&&(t.position=gc(e))}function BS(e,t){let n=t;if(e&&e.data){let r=e.data.hName,i=e.data.hChildren,o=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{let l="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:l}}n.type==="element"&&o&&Object.assign(n.properties,Xr(o)),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}function US(e,t){let n=t.data||{},r="value"in t&&!(Vc.call(n,"hProperties")||Vc.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 jS(e,t){let n=[],r=-1;for(t&&n.push({type:"text",value:`
19
+ `});++r<e.length;)r&&n.push({type:"text",value:`
20
+ `}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
21
+ `}),n}function Ny(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function Iu(e,t){let n=Ry(e,t),r=n.one(e,void 0),i=zy(n),o=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&("children"in o,o.children.push({type:"text",value:`
22
+ `},i)),o}function bu(e,t){return e&&"run"in e?async function(n,r){let i=Iu(n,{file:r,...t});await e.run(i,r)}:function(n,r){return Iu(n,{file:r,...e||t})}}function Hc(e){if(e)throw e}var _u=j(Hy(),1);function xo(e){if(typeof e!="object"||e===null)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Wc(){let e=[],t={run:n,use:r};return t;function n(...i){let o=-1,l=i.pop();if(typeof l!="function")throw new TypeError("Expected function as last argument, not "+l);u(null,...i);function u(a,...s){let c=e[++o],f=-1;if(a){l(a);return}for(;++f<i.length;)(s[f]===null||s[f]===void 0)&&(s[f]=i[f]);i=s,c?Wy(c,u)(...s):l(null,...s)}}function r(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),t}}function Wy(e,t){let n;return r;function r(...l){let u=e.length>l.length,a;u&&l.push(i);try{a=e.apply(this,l)}catch(s){let c=s;if(u&&n)throw c;return i(c)}u||(a&&a.then&&typeof a.then=="function"?a.then(o,i):a instanceof Error?i(a):o(a))}function i(l,...u){n||(n=!0,t(l,...u))}function o(l){i(null,l)}}var Tt={basename:VS,dirname:HS,extname:WS,join:$S,sep:"/"};function VS(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');ko(e);let n=0,r=-1,i=e.length,o;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(o){n=i+1;break}}else r<0&&(o=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let l=-1,u=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(o){n=i+1;break}}else l<0&&(o=!0,l=i+1),u>-1&&(e.codePointAt(i)===t.codePointAt(u--)?u<0&&(r=i):(u=-1,r=l));return n===r?r=l:r<0&&(r=e.length),e.slice(n,r)}function HS(e){if(ko(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 WS(e){ko(e);let t=e.length,n=-1,r=0,i=-1,o=0,l;for(;t--;){let u=e.codePointAt(t);if(u===47){if(l){r=t+1;break}continue}n<0&&(l=!0,n=t+1),u===46?i<0?i=t:o!==1&&(o=1):i>-1&&(o=-1)}return i<0||n<0||o===0||o===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function $S(...e){let t=-1,n;for(;++t<e.length;)ko(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":QS(n)}function QS(e){ko(e);let t=e.codePointAt(0)===47,n=KS(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function KS(e,t){let n="",r=0,i=-1,o=0,l=-1,u,a;for(;++l<=e.length;){if(l<e.length)u=e.codePointAt(l);else{if(u===47)break;u=47}if(u===47){if(!(i===l-1||o===1))if(i!==l-1&&o===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(a=n.lastIndexOf("/"),a!==n.length-1){a<0?(n="",r=0):(n=n.slice(0,a),r=n.length-1-n.lastIndexOf("/")),i=l,o=0;continue}}else if(n.length>0){n="",r=0,i=l,o=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,l):n=e.slice(i+1,l),r=l-i-1;i=l,o=0}else u===46&&o>-1?o++:o=-1}return n}function ko(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}var $y={cwd:qS};function qS(){return"/"}function Yr(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function Qy(e){if(typeof e=="string")e=new URL(e);else if(!Yr(e)){let t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){let t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return XS(e)}function XS(e){if(e.hostname!==""){let r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}let t=e.pathname,n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){let r=t.codePointAt(n+2);if(r===70||r===102){let i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(t)}var $c=["history","path","basename","stem","extname","dirname"],fr=class{constructor(t){let n;t?Yr(t)?n={path:t}:typeof t=="string"||YS(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":$y.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<$c.length;){let o=$c[r];o in n&&n[o]!==void 0&&n[o]!==null&&(this[o]=o==="history"?[...n[o]]:n[o])}let i;for(i in n)$c.includes(i)||(this[i]=n[i])}get basename(){return typeof this.path=="string"?Tt.basename(this.path):void 0}set basename(t){Kc(t,"basename"),Qc(t,"basename"),this.path=Tt.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Tt.dirname(this.path):void 0}set dirname(t){Ky(this.basename,"dirname"),this.path=Tt.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Tt.extname(this.path):void 0}set extname(t){if(Qc(t,"extname"),Ky(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=Tt.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){Yr(t)&&(t=Qy(t)),Kc(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Tt.basename(this.path,this.extname):void 0}set stem(t){Kc(t,"stem"),Qc(t,"stem"),this.path=Tt.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){let i=this.message(t,n,r);throw i.fatal=!0,i}info(t,n,r){let i=this.message(t,n,r);return i.fatal=void 0,i}message(t,n,r){let i=new de(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 Qc(e,t){if(e&&e.includes(Tt.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Tt.sep+"`")}function Kc(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function Ky(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function YS(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}var qy=(function(e){let r=this.constructor.prototype,i=r[e],o=function(){return i.apply(o,arguments)};return Object.setPrototypeOf(o,r),o});var GS={}.hasOwnProperty,Gc=class e extends qy{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=Wc()}copy(){let t=new e,n=-1;for(;++n<this.attachers.length;){let r=this.attachers[n];t.use(...r)}return t.data((0,_u.default)(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(Yc("data",this.frozen),this.namespace[t]=n,this):GS.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Yc("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;let t=this;for(;++this.freezeIndex<this.attachers.length;){let[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);let 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();let n=Lu(t),r=this.parser||this.Parser;return qc("parse",r),r(String(n),n)}process(t,n){let r=this;return this.freeze(),qc("process",this.parser||this.Parser),Xc("process",this.compiler||this.Compiler),n?i(void 0,n):new Promise(i);function i(o,l){let u=Lu(t),a=r.parse(u);r.run(a,u,function(c,f,p){if(c||!f||!p)return s(c);let d=f,g=r.stringify(d,p);ZS(g)?p.value=g:p.result=g,s(c,p)});function s(c,f){c||!f?l(c):o?o(f):n(void 0,f)}}}processSync(t){let n=!1,r;return this.freeze(),qc("processSync",this.parser||this.Parser),Xc("processSync",this.compiler||this.Compiler),this.process(t,i),Yy("processSync","process",n),r;function i(o,l){n=!0,Hc(o),r=l}}run(t,n,r){Xy(t),this.freeze();let i=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?o(void 0,r):new Promise(o);function o(l,u){let a=Lu(n);i.run(t,a,s);function s(c,f,p){let d=f||t;c?u(c):l?l(d):r(void 0,d,p)}}}runSync(t,n){let r=!1,i;return this.run(t,n,o),Yy("runSync","run",r),i;function o(l,u){Hc(l),i=u,r=!0}}stringify(t,n){this.freeze();let r=Lu(n),i=this.compiler||this.Compiler;return Xc("stringify",i),Xy(t),i(t,r)}use(t,...n){let r=this.attachers,i=this.namespace;if(Yc("use",this.frozen),t!=null)if(typeof t=="function")a(t,n);else if(typeof t=="object")Array.isArray(t)?u(t):l(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function o(s){if(typeof s=="function")a(s,[]);else if(typeof s=="object")if(Array.isArray(s)){let[c,...f]=s;a(c,f)}else l(s);else throw new TypeError("Expected usable value, not `"+s+"`")}function l(s){if(!("plugins"in s)&&!("settings"in s))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");u(s.plugins),s.settings&&(i.settings=(0,_u.default)(!0,i.settings,s.settings))}function u(s){let c=-1;if(s!=null)if(Array.isArray(s))for(;++c<s.length;){let f=s[c];o(f)}else throw new TypeError("Expected a list of plugins, not `"+s+"`")}function a(s,c){let f=-1,p=-1;for(;++f<r.length;)if(r[f][0]===s){p=f;break}if(p===-1)r.push([s,...c]);else if(c.length>0){let[d,...g]=c,w=r[p][1];xo(w)&&xo(d)&&(d=(0,_u.default)(!0,w,d)),r[p]=[s,d,...g]}}}},Jc=new Gc().freeze();function qc(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Xc(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Yc(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 Xy(e){if(!xo(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Yy(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Lu(e){return JS(e)?e:new fr(e)}function JS(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function ZS(e){return typeof e=="string"||eC(e)}function eC(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}var tC="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Gy=[],Jy={allowDangerousHtml:!0},nC=/^(https?|ircs?|mailto|xmpp)$/i,rC=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function ef(e){let t=iC(e),n=oC(e);return lC(t.runSync(t.parse(n),n),e)}function iC(e){let t=e.rehypePlugins||Gy,n=e.remarkPlugins||Gy,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Jy}:Jy;return Jc().use(xu).use(n).use(bu,r).use(t)}function oC(e){let t=e.children||"",n=new fr;return typeof t=="string"?n.value=t:(""+t,void 0),n}function lC(e,t){let n=t.allowedElements,r=t.allowElement,i=t.components,o=t.disallowedElements,l=t.skipHtml,u=t.unwrapDisallowed,a=t.urlTransform||Zy;for(let c of rC)Object.hasOwn(t,c.from)&&(""+c.from+(c.to?"use `"+c.to+"` instead":"remove it")+tC+c.id,void 0);return n&&o&&void 0,t.className&&(e={type:"element",tagName:"div",properties:{className:t.className},children:e.type==="root"?e.children:[e]}),cr(e,s),kc(e,{Fragment:Gr.Fragment,components:i,ignoreInvalidStyle:!0,jsx:Gr.jsx,jsxs:Gr.jsxs,passKeys:!0,passNode:!0});function s(c,f,p){if(c.type==="raw"&&p&&typeof f=="number")return l?p.children.splice(f,1):p.children[f]={type:"text",value:c.value},f;if(c.type==="element"){let d;for(d in so)if(Object.hasOwn(so,d)&&Object.hasOwn(c.properties,d)){let g=c.properties[d],w=so[d];(w===null||w.includes(c.tagName))&&(c.properties[d]=a(String(g||""),d,c))}}if(c.type==="element"){let d=n?!n.includes(c.tagName):o?o.includes(c.tagName):!1;if(!d&&r&&typeof f=="number"&&(d=!r(c,f,p)),d&&p&&typeof f=="number")return u&&c.children?p.children.splice(f,1,...c.children):p.children.splice(f,1),f}}}function Zy(e){let t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return t===-1||i!==-1&&t>i||n!==-1&&t>n||r!==-1&&t>r||nC.test(e.slice(0,t))?e:""}function tf(e,t){let n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}function nf(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function rf(e,t,n){let i=Ln((n||{}).ignore||[]),o=uC(t),l=-1;for(;++l<o.length;)yo(e,"text",u);function u(s,c){let f=-1,p;for(;++f<c.length;){let d=c[f],g=p?p.children:void 0;if(i(d,g?g.indexOf(d):void 0,p))return;p=d}if(p)return a(s,c)}function a(s,c){let f=c[c.length-1],p=o[l][0],d=o[l][1],g=0,E=f.children.indexOf(s),m=!1,h=[];p.lastIndex=0;let y=p.exec(s.value);for(;y;){let C=y.index,I={index:y.index,input:y.input,stack:[...c,s]},v=d(...y,I);if(typeof v=="string"&&(v=v.length>0?{type:"text",value:v}:void 0),v===!1?p.lastIndex=C+1:(g!==C&&h.push({type:"text",value:s.value.slice(g,C)}),Array.isArray(v)?h.push(...v):v&&h.push(v),g=C+y[0].length,m=!0),!p.global)break;y=p.exec(s.value)}return m?(g<s.value.length&&h.push({type:"text",value:s.value.slice(g)}),f.children.splice(E,1,...h)):h=[s],E+h.length}}function uC(e){let t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r<n.length;){let i=n[r];t.push([aC(i[0]),sC(i[1])])}return t}function aC(e){return typeof e=="string"?new RegExp(nf(e),"g"):e}function sC(e){return typeof e=="function"?e:function(){return e}}var of="phrasing",lf=["autolink","link","image","label"];function af(){return{transforms:[hC],enter:{literalAutolink:cC,literalAutolinkEmail:uf,literalAutolinkHttp:uf,literalAutolinkWww:uf},exit:{literalAutolink:mC,literalAutolinkEmail:dC,literalAutolinkHttp:fC,literalAutolinkWww:pC}}}function sf(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:of,notInConstruct:lf},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:of,notInConstruct:lf},{character:":",before:"[ps]",after:"\\/",inConstruct:of,notInConstruct:lf}]}}function cC(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function uf(e){this.config.enter.autolinkProtocol.call(this,e)}function fC(e){this.config.exit.autolinkProtocol.call(this,e)}function pC(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function dC(e){this.config.exit.autolinkEmail.call(this,e)}function mC(e){this.exit(e)}function hC(e){rf(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,gC],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,yC]],{ignore:["link","linkReference"]})}function gC(e,t,n,r,i){let o="";if(!ex(i)||(/^w/i.test(t)&&(n=t+n,t="",o="http://"),!xC(n)))return!1;let l=kC(n+r);if(!l[0])return!1;let u={type:"link",title:null,url:o+t+l[0],children:[{type:"text",value:t+l[0]}]};return l[1]?[u,{type:"text",value:l[1]}]:u}function yC(e,t,n,r){return!ex(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function xC(e){let t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function kC(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")"),i=tf(e,"("),o=tf(e,")");for(;r!==-1&&i>o;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),o++;return[e,n]}function ex(e,t){let n=e.input.charCodeAt(e.index-1);return(e.index===0||Rt(n)||ir(n))&&(!t||n!==47)}tx.peek=PC;function wC(){this.buffer()}function vC(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function SC(){this.buffer()}function CC(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function EC(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Ne(this.sliceSerialize(e)).toLowerCase(),n.label=t}function TC(e){this.exit(e)}function IC(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Ne(this.sliceSerialize(e)).toLowerCase(),n.label=t}function bC(e){this.exit(e)}function PC(){return"["}function tx(e,t,n,r){let i=n.createTracker(r),o=i.move("[^"),l=n.enter("footnoteReference"),u=n.enter("reference");return o+=i.move(n.safe(n.associationId(e),{after:"]",before:o})),u(),l(),o+=i.move("]"),o}function cf(){return{enter:{gfmFootnoteCallString:wC,gfmFootnoteCall:vC,gfmFootnoteDefinitionLabelString:SC,gfmFootnoteDefinition:CC},exit:{gfmFootnoteCallString:EC,gfmFootnoteCall:TC,gfmFootnoteDefinitionLabelString:IC,gfmFootnoteDefinition:bC}}}function ff(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:tx},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(r,i,o,l){let u=o.createTracker(l),a=u.move("[^"),s=o.enter("footnoteDefinition"),c=o.enter("label");return a+=u.move(o.safe(o.associationId(r),{before:a,after:"]"})),c(),a+=u.move("]:"),r.children&&r.children.length>0&&(u.shift(4),a+=u.move((t?`
23
+ `:" ")+o.indentLines(o.containerFlow(r,u.current()),t?nx:LC))),s(),a}}function LC(e,t,n){return t===0?e:nx(e,t,n)}function nx(e,t,n){return(n?"":" ")+e}var _C=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];rx.peek=NC;function pf(){return{canContainEols:["delete"],enter:{strikethrough:zC},exit:{strikethrough:AC}}}function df(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:_C}],handlers:{delete:rx}}}function zC(e){this.enter({type:"delete",children:[]},e)}function AC(e){this.exit(e)}function rx(e,t,n,r){let i=n.createTracker(r),o=n.enter("strikethrough"),l=i.move("~~");return l+=n.containerPhrasing(e,{...i.current(),before:l,after:"~"}),l+=i.move("~~"),o(),l}function NC(){return"~"}function RC(e){return e.length}function ox(e,t){let n=t||{},r=(n.align||[]).concat(),i=n.stringLength||RC,o=[],l=[],u=[],a=[],s=0,c=-1;for(;++c<e.length;){let w=[],E=[],m=-1;for(e[c].length>s&&(s=e[c].length);++m<e[c].length;){let h=DC(e[c][m]);if(n.alignDelimiters!==!1){let y=i(h);E[m]=y,(a[m]===void 0||y>a[m])&&(a[m]=y)}w.push(h)}l[c]=w,u[c]=E}let f=-1;if(typeof r=="object"&&"length"in r)for(;++f<s;)o[f]=ix(r[f]);else{let w=ix(r);for(;++f<s;)o[f]=w}f=-1;let p=[],d=[];for(;++f<s;){let w=o[f],E="",m="";w===99?(E=":",m=":"):w===108?E=":":w===114&&(m=":");let h=n.alignDelimiters===!1?1:Math.max(1,a[f]-E.length-m.length),y=E+"-".repeat(h)+m;n.alignDelimiters!==!1&&(h=E.length+h+m.length,h>a[f]&&(a[f]=h),d[f]=h),p[f]=y}l.splice(1,0,p),u.splice(1,0,d),c=-1;let g=[];for(;++c<l.length;){let w=l[c],E=u[c];f=-1;let m=[];for(;++f<s;){let h=w[f]||"",y="",C="";if(n.alignDelimiters!==!1){let I=a[f]-(E[f]||0),v=o[f];v===114?y=" ".repeat(I):v===99?I%2?(y=" ".repeat(I/2+.5),C=" ".repeat(I/2-.5)):(y=" ".repeat(I/2),C=y):C=" ".repeat(I)}n.delimiterStart!==!1&&!f&&m.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&h==="")&&(n.delimiterStart!==!1||f)&&m.push(" "),n.alignDelimiters!==!1&&m.push(y),m.push(h),n.alignDelimiters!==!1&&m.push(C),n.padding!==!1&&m.push(" "),(n.delimiterEnd!==!1||f!==s-1)&&m.push("|")}g.push(n.delimiterEnd===!1?m.join("").replace(/ +$/,""):m.join(""))}return g.join(`
24
+ `)}function DC(e){return e==null?"":String(e)}function ix(e){let 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 lx(e,t,n,r){let i=n.enter("blockquote"),o=n.createTracker(r);o.move("> "),o.shift(2);let l=n.indentLines(n.containerFlow(e,o.current()),MC);return i(),l}function MC(e,t,n){return">"+(n?"":" ")+e}function ax(e,t){return ux(e,t.inConstruct,!0)&&!ux(e,t.notInConstruct,!1)}function ux(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 mf(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;)if(n.unsafe[i].character===`
25
+ `&&ax(n.stack,n.unsafe[i]))return/[ \t]/.test(r.before)?"":" ";return`\\
26
+ `}function sx(e,t){let n=String(e),r=n.indexOf(t),i=r,o=0,l=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===i?++o>l&&(l=o):o=1,i=r+t.length,r=n.indexOf(t,i);return l}function cx(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 fx(e){let t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function px(e,t,n,r){let i=fx(n),o=e.value||"",l=i==="`"?"GraveAccent":"Tilde";if(cx(e,n)){let f=n.enter("codeIndented"),p=n.indentLines(o,OC);return f(),p}let u=n.createTracker(r),a=i.repeat(Math.max(sx(o,i)+1,3)),s=n.enter("codeFenced"),c=u.move(a);if(e.lang){let f=n.enter(`codeFencedLang${l}`);c+=u.move(n.safe(e.lang,{before:c,after:" ",encode:["`"],...u.current()})),f()}if(e.lang&&e.meta){let f=n.enter(`codeFencedMeta${l}`);c+=u.move(" "),c+=u.move(n.safe(e.meta,{before:c,after:`
27
+ `,encode:["`"],...u.current()})),f()}return c+=u.move(`
28
+ `),o&&(c+=u.move(o+`
29
+ `)),c+=u.move(a),s(),c}function OC(e,t,n){return(n?"":" ")+e}function Jr(e){let t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function dx(e,t,n,r){let i=Jr(n),o=i==='"'?"Quote":"Apostrophe",l=n.enter("definition"),u=n.enter("label"),a=n.createTracker(r),s=a.move("[");return s+=a.move(n.safe(n.associationId(e),{before:s,after:"]",...a.current()})),s+=a.move("]: "),u(),!e.url||/[\0- \u007F]/.test(e.url)?(u=n.enter("destinationLiteral"),s+=a.move("<"),s+=a.move(n.safe(e.url,{before:s,after:">",...a.current()})),s+=a.move(">")):(u=n.enter("destinationRaw"),s+=a.move(n.safe(e.url,{before:s,after:e.title?" ":`
30
+ `,...a.current()}))),u(),e.title&&(u=n.enter(`title${o}`),s+=a.move(" "+i),s+=a.move(n.safe(e.title,{before:s,after:i,...a.current()})),s+=a.move(i),u()),l(),s}function mx(e){let t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function _n(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Zr(e,t,n){let r=Zt(e),i=Zt(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}}hf.peek=FC;function hf(e,t,n,r){let i=mx(n),o=n.enter("emphasis"),l=n.createTracker(r),u=l.move(i),a=l.move(n.containerPhrasing(e,{after:i,before:u,...l.current()})),s=a.charCodeAt(0),c=Zr(r.before.charCodeAt(r.before.length-1),s,i);c.inside&&(a=_n(s)+a.slice(1));let f=a.charCodeAt(a.length-1),p=Zr(r.after.charCodeAt(0),f,i);p.inside&&(a=a.slice(0,-1)+_n(f));let d=l.move(i);return o(),n.attentionEncodeSurroundingInfo={after:p.outside,before:c.outside},u+a+d}function FC(e,t,n){return n.options.emphasis||"*"}function hx(e,t){let n=!1;return cr(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,sr}),!!((!e.depth||e.depth<3)&&nr(e)&&(t.options.setext||n))}function gx(e,t,n,r){let i=Math.max(Math.min(6,e.depth||1),1),o=n.createTracker(r);if(hx(e,n)){let c=n.enter("headingSetext"),f=n.enter("phrasing"),p=n.containerPhrasing(e,{...o.current(),before:`
31
+ `,after:`
32
+ `});return f(),c(),p+`
33
+ `+(i===1?"=":"-").repeat(p.length-(Math.max(p.lastIndexOf("\r"),p.lastIndexOf(`
34
+ `))+1))}let l="#".repeat(i),u=n.enter("headingAtx"),a=n.enter("phrasing");o.move(l+" ");let s=n.containerPhrasing(e,{before:"# ",after:`
35
+ `,...o.current()});return/^[\t ]/.test(s)&&(s=_n(s.charCodeAt(0))+s.slice(1)),s=s?l+" "+s:l,n.options.closeAtx&&(s+=" "+l),a(),u(),s}gf.peek=BC;function gf(e){return e.value||""}function BC(){return"<"}yf.peek=UC;function yf(e,t,n,r){let i=Jr(n),o=i==='"'?"Quote":"Apostrophe",l=n.enter("image"),u=n.enter("label"),a=n.createTracker(r),s=a.move("![");return s+=a.move(n.safe(e.alt,{before:s,after:"]",...a.current()})),s+=a.move("]("),u(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(u=n.enter("destinationLiteral"),s+=a.move("<"),s+=a.move(n.safe(e.url,{before:s,after:">",...a.current()})),s+=a.move(">")):(u=n.enter("destinationRaw"),s+=a.move(n.safe(e.url,{before:s,after:e.title?" ":")",...a.current()}))),u(),e.title&&(u=n.enter(`title${o}`),s+=a.move(" "+i),s+=a.move(n.safe(e.title,{before:s,after:i,...a.current()})),s+=a.move(i),u()),s+=a.move(")"),l(),s}function UC(){return"!"}xf.peek=jC;function xf(e,t,n,r){let i=e.referenceType,o=n.enter("imageReference"),l=n.enter("label"),u=n.createTracker(r),a=u.move("!["),s=n.safe(e.alt,{before:a,after:"]",...u.current()});a+=u.move(s+"]["),l();let c=n.stack;n.stack=[],l=n.enter("reference");let f=n.safe(n.associationId(e),{before:a,after:"]",...u.current()});return l(),n.stack=c,o(),i==="full"||!s||s!==f?a+=u.move(f+"]"):i==="shortcut"?a=a.slice(0,-1):a+=u.move("]"),a}function jC(){return"!"}kf.peek=VC;function kf(e,t,n){let r=e.value||"",i="`",o=-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+" ");++o<n.unsafe.length;){let l=n.unsafe[o],u=n.compilePattern(l),a;if(l.atBreak)for(;a=u.exec(r);){let s=a.index;r.charCodeAt(s)===10&&r.charCodeAt(s-1)===13&&s--,r=r.slice(0,s)+" "+r.slice(a.index+1)}}return i+r+i}function VC(){return"`"}function wf(e,t){let n=nr(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))}vf.peek=HC;function vf(e,t,n,r){let i=Jr(n),o=i==='"'?"Quote":"Apostrophe",l=n.createTracker(r),u,a;if(wf(e,n)){let c=n.stack;n.stack=[],u=n.enter("autolink");let f=l.move("<");return f+=l.move(n.containerPhrasing(e,{before:f,after:">",...l.current()})),f+=l.move(">"),u(),n.stack=c,f}u=n.enter("link"),a=n.enter("label");let s=l.move("[");return s+=l.move(n.containerPhrasing(e,{before:s,after:"](",...l.current()})),s+=l.move("]("),a(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(a=n.enter("destinationLiteral"),s+=l.move("<"),s+=l.move(n.safe(e.url,{before:s,after:">",...l.current()})),s+=l.move(">")):(a=n.enter("destinationRaw"),s+=l.move(n.safe(e.url,{before:s,after:e.title?" ":")",...l.current()}))),a(),e.title&&(a=n.enter(`title${o}`),s+=l.move(" "+i),s+=l.move(n.safe(e.title,{before:s,after:i,...l.current()})),s+=l.move(i),a()),s+=l.move(")"),u(),s}function HC(e,t,n){return wf(e,n)?"<":"["}Sf.peek=WC;function Sf(e,t,n,r){let i=e.referenceType,o=n.enter("linkReference"),l=n.enter("label"),u=n.createTracker(r),a=u.move("["),s=n.containerPhrasing(e,{before:a,after:"]",...u.current()});a+=u.move(s+"]["),l();let c=n.stack;n.stack=[],l=n.enter("reference");let f=n.safe(n.associationId(e),{before:a,after:"]",...u.current()});return l(),n.stack=c,o(),i==="full"||!s||s!==f?a+=u.move(f+"]"):i==="shortcut"?a=a.slice(0,-1):a+=u.move("]"),a}function WC(){return"["}function ei(e){let t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function yx(e){let t=ei(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 xx(e){let t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function zu(e){let t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function kx(e,t,n,r){let i=n.enter("list"),o=n.bulletCurrent,l=e.ordered?xx(n):ei(n),u=e.ordered?l==="."?")":".":yx(n),a=t&&n.bulletLastUsed?l===n.bulletLastUsed:!1;if(!e.ordered){let c=e.children?e.children[0]:void 0;if((l==="*"||l==="-")&&c&&(!c.children||!c.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&&(a=!0),zu(n)===l&&c){let f=-1;for(;++f<e.children.length;){let p=e.children[f];if(p&&p.type==="listItem"&&p.children&&p.children[0]&&p.children[0].type==="thematicBreak"){a=!0;break}}}}a&&(l=u),n.bulletCurrent=l;let s=n.containerFlow(e,r);return n.bulletLastUsed=l,n.bulletCurrent=o,i(),s}function wx(e){let 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 vx(e,t,n,r){let i=wx(n),o=n.bulletCurrent||ei(n);t&&t.type==="list"&&t.ordered&&(o=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+o);let l=o.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(l=Math.ceil(l/4)*4);let u=n.createTracker(r);u.move(o+" ".repeat(l-o.length)),u.shift(l);let a=n.enter("listItem"),s=n.indentLines(n.containerFlow(e,u.current()),c);return a(),s;function c(f,p,d){return p?(d?"":" ".repeat(l))+f:(d?o:o+" ".repeat(l-o.length))+f}}function Sx(e,t,n,r){let i=n.enter("paragraph"),o=n.enter("phrasing"),l=n.containerPhrasing(e,r);return o(),i(),l}var Cf=Ln(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function Cx(e,t,n,r){return(e.children.some(function(l){return Cf(l)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function Ex(e){let t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}Ef.peek=$C;function Ef(e,t,n,r){let i=Ex(n),o=n.enter("strong"),l=n.createTracker(r),u=l.move(i+i),a=l.move(n.containerPhrasing(e,{after:i,before:u,...l.current()})),s=a.charCodeAt(0),c=Zr(r.before.charCodeAt(r.before.length-1),s,i);c.inside&&(a=_n(s)+a.slice(1));let f=a.charCodeAt(a.length-1),p=Zr(r.after.charCodeAt(0),f,i);p.inside&&(a=a.slice(0,-1)+_n(f));let d=l.move(i+i);return o(),n.attentionEncodeSurroundingInfo={after:p.outside,before:c.outside},u+a+d}function $C(e,t,n){return n.options.strong||"*"}function Tx(e,t,n,r){return n.safe(e.value,r)}function Ix(e){let 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 bx(e,t,n){let r=(zu(n)+(n.options.ruleSpaces?" ":"")).repeat(Ix(n));return n.options.ruleSpaces?r.slice(0,-1):r}var wo={blockquote:lx,break:mf,code:px,definition:dx,emphasis:hf,hardBreak:mf,heading:gx,html:gf,image:yf,imageReference:xf,inlineCode:kf,link:vf,linkReference:Sf,list:kx,listItem:vx,paragraph:Sx,root:Cx,strong:Ef,text:Tx,thematicBreak:bx};function If(){return{enter:{table:QC,tableData:Px,tableHeader:Px,tableRow:qC},exit:{codeText:XC,table:KC,tableData:Tf,tableHeader:Tf,tableRow:Tf}}}function QC(e){let t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function KC(e){this.exit(e),this.data.inTable=void 0}function qC(e){this.enter({type:"tableRow",children:[]},e)}function Tf(e){this.exit(e)}function Px(e){this.enter({type:"tableCell",children:[]},e)}function XC(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,YC));let n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function YC(e,t){return t==="|"?t:e}function bf(e){let t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,o=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
36
+ `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:p,table:l,tableCell:a,tableRow:u}};function l(d,g,w,E){return s(c(d,w,E),d.align)}function u(d,g,w,E){let m=f(d,w,E),h=s([m]);return h.slice(0,h.indexOf(`
37
+ `))}function a(d,g,w,E){let m=w.enter("tableCell"),h=w.enter("phrasing"),y=w.containerPhrasing(d,{...E,before:o,after:o});return h(),m(),y}function s(d,g){return ox(d,{align:g,alignDelimiters:r,padding:n,stringLength:i})}function c(d,g,w){let E=d.children,m=-1,h=[],y=g.enter("table");for(;++m<E.length;)h[m]=f(E[m],g,w);return y(),h}function f(d,g,w){let E=d.children,m=-1,h=[],y=g.enter("tableRow");for(;++m<E.length;)h[m]=a(E[m],d,g,w);return y(),h}function p(d,g,w){let E=wo.inlineCode(d,g,w);return w.stack.includes("tableCell")&&(E=E.replace(/\|/g,"\\$&")),E}}function Pf(){return{exit:{taskListCheckValueChecked:Lx,taskListCheckValueUnchecked:Lx,paragraph:GC}}}function Lf(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:JC}}}function Lx(e){let t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function GC(e){let t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){let n=this.stack[this.stack.length-1];n.type;let r=n.children[0];if(r&&r.type==="text"){let i=t.children,o=-1,l;for(;++o<i.length;){let u=i[o];if(u.type==="paragraph"){l=u;break}}l===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 JC(e,t,n,r){let i=e.children[0],o=typeof e.checked=="boolean"&&i&&i.type==="paragraph",l="["+(e.checked?"x":" ")+"] ",u=n.createTracker(r);o&&u.move(l);let a=wo.listItem(e,t,n,{...r,...u.current()});return o&&(a=a.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,s)),a;function s(c){return c+l}}function _f(){return[af(),cf(),pf(),If(),Pf()]}function zf(e){return{extensions:[sf(),ff(e),df(),bf(e),Lf()]}}var ZC={tokenize:iE,partial:!0},_x={tokenize:oE,partial:!0},zx={tokenize:lE,partial:!0},Ax={tokenize:uE,partial:!0},eE={tokenize:aE,partial:!0},Nx={name:"wwwAutolink",tokenize:nE,previous:Dx},Rx={name:"protocolAutolink",tokenize:rE,previous:Mx},en={name:"emailAutolink",tokenize:tE,previous:Ox},Mt={};function Nf(){return{text:Mt}}var pr=48;for(;pr<123;)Mt[pr]=en,pr++,pr===58?pr=65:pr===91&&(pr=97);Mt[43]=en;Mt[45]=en;Mt[46]=en;Mt[95]=en;Mt[72]=[en,Rx];Mt[104]=[en,Rx];Mt[87]=[en,Nx];Mt[119]=[en,Nx];function tE(e,t,n){let r=this,i,o;return l;function l(f){return!Af(f)||!Ox.call(r,r.previous)||Rf(r.events)?n(f):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),u(f))}function u(f){return Af(f)?(e.consume(f),u):f===64?(e.consume(f),a):n(f)}function a(f){return f===46?e.check(eE,c,s)(f):f===45||f===95||fe(f)?(o=!0,e.consume(f),a):c(f)}function s(f){return e.consume(f),i=!0,a}function c(f){return o&&i&&ke(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(f)):n(f)}}function nE(e,t,n){let r=this;return i;function i(l){return l!==87&&l!==119||!Dx.call(r,r.previous)||Rf(r.events)?n(l):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(ZC,e.attempt(_x,e.attempt(zx,o),n),n)(l))}function o(l){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(l)}}function rE(e,t,n){let r=this,i="",o=!1;return l;function l(f){return(f===72||f===104)&&Mx.call(r,r.previous)&&!Rf(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(f),e.consume(f),u):n(f)}function u(f){if(ke(f)&&i.length<5)return i+=String.fromCodePoint(f),e.consume(f),u;if(f===58){let p=i.toLowerCase();if(p==="http"||p==="https")return e.consume(f),a}return n(f)}function a(f){return f===47?(e.consume(f),o?s:(o=!0,a)):n(f)}function s(f){return f===null||rr(f)||H(f)||Rt(f)||ir(f)?n(f):e.attempt(_x,e.attempt(zx,c),n)(f)}function c(f){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(f)}}function iE(e,t,n){let r=0;return i;function i(l){return(l===87||l===119)&&r<3?(r++,e.consume(l),i):l===46&&r===3?(e.consume(l),o):n(l)}function o(l){return l===null?n(l):t(l)}}function oE(e,t,n){let r,i,o;return l;function l(s){return s===46||s===95?e.check(Ax,a,u)(s):s===null||H(s)||Rt(s)||s!==45&&ir(s)?a(s):(o=!0,e.consume(s),l)}function u(s){return s===95?r=!0:(i=r,r=void 0),e.consume(s),l}function a(s){return i||r||!o?n(s):t(s)}}function lE(e,t){let n=0,r=0;return i;function i(l){return l===40?(n++,e.consume(l),i):l===41&&r<n?o(l):l===33||l===34||l===38||l===39||l===41||l===42||l===44||l===46||l===58||l===59||l===60||l===63||l===93||l===95||l===126?e.check(Ax,t,o)(l):l===null||H(l)||Rt(l)?t(l):(e.consume(l),i)}function o(l){return l===41&&r++,e.consume(l),i}}function uE(e,t,n){return r;function r(u){return u===33||u===34||u===39||u===41||u===42||u===44||u===46||u===58||u===59||u===63||u===95||u===126?(e.consume(u),r):u===38?(e.consume(u),o):u===93?(e.consume(u),i):u===60||u===null||H(u)||Rt(u)?t(u):n(u)}function i(u){return u===null||u===40||u===91||H(u)||Rt(u)?t(u):r(u)}function o(u){return ke(u)?l(u):n(u)}function l(u){return u===59?(e.consume(u),r):ke(u)?(e.consume(u),l):n(u)}}function aE(e,t,n){return r;function r(o){return e.consume(o),i}function i(o){return fe(o)?n(o):t(o)}}function Dx(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||H(e)}function Mx(e){return!ke(e)}function Ox(e){return!(e===47||Af(e))}function Af(e){return e===43||e===45||e===46||e===95||fe(e)}function Rf(e){let t=e.length,n=!1;for(;t--;){let 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}var sE={tokenize:gE,partial:!0};function Df(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:dE,continuation:{tokenize:mE},exit:hE}},text:{91:{name:"gfmFootnoteCall",tokenize:pE},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:cE,resolveTo:fE}}}}function cE(e,t,n){let r=this,i=r.events.length,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),l;for(;i--;){let a=r.events[i][1];if(a.type==="labelImage"){l=a;break}if(a.type==="gfmFootnoteCall"||a.type==="labelLink"||a.type==="label"||a.type==="image"||a.type==="link")break}return u;function u(a){if(!l||!l._balanced)return n(a);let s=Ne(r.sliceSerialize({start:l.end,end:r.now()}));return s.codePointAt(0)!==94||!o.includes(s.slice(1))?n(a):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(a),e.exit("gfmFootnoteCallLabelMarker"),t(a))}}function fE(e,t){let n=e.length,r;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){r=e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let i={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;let l={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},e[e.length-1][1].start)},u={type:"chunkString",contentType:"string",start:Object.assign({},l.start),end:Object.assign({},l.end)},a=[e[n+1],e[n+2],["enter",i,t],e[n+3],e[n+4],["enter",o,t],["exit",o,t],["enter",l,t],["enter",u,t],["exit",u,t],["exit",l,t],e[e.length-2],e[e.length-1],["exit",i,t]];return e.splice(n,e.length-n+1,...a),e}function pE(e,t,n){let r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),o=0,l;return u;function u(f){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),a}function a(f){return f!==94?n(f):(e.enter("gfmFootnoteCallMarker"),e.consume(f),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",s)}function s(f){if(o>999||f===93&&!l||f===null||f===91||H(f))return n(f);if(f===93){e.exit("chunkString");let p=e.exit("gfmFootnoteCallString");return i.includes(Ne(r.sliceSerialize(p)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(f)}return H(f)||(l=!0),o++,e.consume(f),f===92?c:s}function c(f){return f===91||f===92||f===93?(e.consume(f),o++,s):s(f)}}function dE(e,t,n){let r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),o,l=0,u;return a;function a(g){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionLabelMarker"),s}function s(g){return g===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):n(g)}function c(g){if(l>999||g===93&&!u||g===null||g===91||H(g))return n(g);if(g===93){e.exit("chunkString");let w=e.exit("gfmFootnoteDefinitionLabelString");return o=Ne(r.sliceSerialize(w)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return H(g)||(u=!0),l++,e.consume(g),g===92?f:c}function f(g){return g===91||g===92||g===93?(e.consume(g),l++,c):c(g)}function p(g){return g===58?(e.enter("definitionMarker"),e.consume(g),e.exit("definitionMarker"),i.includes(o)||i.push(o),D(e,d,"gfmFootnoteDefinitionWhitespace")):n(g)}function d(g){return t(g)}}function mE(e,t,n){return e.check(Dt,t,e.attempt(sE,t,n))}function hE(e){e.exit("gfmFootnoteDefinition")}function gE(e,t,n){let r=this;return D(e,i,"gfmFootnoteDefinitionIndent",5);function i(o){let l=r.events[r.events.length-1];return l&&l[1].type==="gfmFootnoteDefinitionIndent"&&l[2].sliceSerialize(l[1],!0).length===4?t(o):n(o)}}function Mf(e){let n=(e||{}).singleTilde,r={name:"strikethrough",tokenize:o,resolveAll:i};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(l,u){let a=-1;for(;++a<l.length;)if(l[a][0]==="enter"&&l[a][1].type==="strikethroughSequenceTemporary"&&l[a][1]._close){let s=a;for(;s--;)if(l[s][0]==="exit"&&l[s][1].type==="strikethroughSequenceTemporary"&&l[s][1]._open&&l[a][1].end.offset-l[a][1].start.offset===l[s][1].end.offset-l[s][1].start.offset){l[a][1].type="strikethroughSequence",l[s][1].type="strikethroughSequence";let c={type:"strikethrough",start:Object.assign({},l[s][1].start),end:Object.assign({},l[a][1].end)},f={type:"strikethroughText",start:Object.assign({},l[s][1].end),end:Object.assign({},l[a][1].start)},p=[["enter",c,u],["enter",l[s][1],u],["exit",l[s][1],u],["enter",f,u]],d=u.parser.constructs.insideSpan.null;d&&me(p,p.length,0,bn(d,l.slice(s+1,a),u)),me(p,p.length,0,[["exit",f,u],["enter",l[a][1],u],["exit",l[a][1],u],["exit",c,u]]),me(l,s-1,a-s+3,p),a=s+p.length-2;break}}for(a=-1;++a<l.length;)l[a][1].type==="strikethroughSequenceTemporary"&&(l[a][1].type="data");return l}function o(l,u,a){let s=this.previous,c=this.events,f=0;return p;function p(g){return s===126&&c[c.length-1][1].type!=="characterEscape"?a(g):(l.enter("strikethroughSequenceTemporary"),d(g))}function d(g){let w=Zt(s);if(g===126)return f>1?a(g):(l.consume(g),f++,d);if(f<2&&!n)return a(g);let E=l.exit("strikethroughSequenceTemporary"),m=Zt(g);return E._open=!m||m===2&&!!w,E._close=!w||w===2&&!!m,u(g)}}}var Au=class{constructor(){this.map=[]}add(t,n,r){yE(this,t,n,r)}consume(t){if(this.map.sort(function(o,l){return o[0]-l[0]}),this.map.length===0)return;let n=this.map.length,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(let o of i)t.push(o);i=r.pop()}this.map.length=0}};function yE(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 Fx(e,t){let n=!1,r=[];for(;t<e.length;){let 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"){let o=r.length-1;r[o]=r[o]==="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 Of(){return{flow:{null:{name:"table",tokenize:xE,resolveAll:kE}}}}function xE(e,t,n){let r=this,i=0,o=0,l;return u;function u(S){let G=r.events.length-1;for(;G>-1;){let U=r.events[G][1].type;if(U==="lineEnding"||U==="linePrefix")G--;else break}let K=G>-1?r.events[G][1].type:null,R=K==="tableHead"||K==="tableRow"?v:a;return R===v&&r.parser.lazy[r.now().line]?n(S):R(S)}function a(S){return e.enter("tableHead"),e.enter("tableRow"),s(S)}function s(S){return S===124||(l=!0,o+=1),c(S)}function c(S){return S===null?n(S):A(S)?o>1?(o=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(S),e.exit("lineEnding"),d):n(S):M(S)?D(e,c,"whitespace")(S):(o+=1,l&&(l=!1,i+=1),S===124?(e.enter("tableCellDivider"),e.consume(S),e.exit("tableCellDivider"),l=!0,c):(e.enter("data"),f(S)))}function f(S){return S===null||S===124||H(S)?(e.exit("data"),c(S)):(e.consume(S),S===92?p:f)}function p(S){return S===92||S===124?(e.consume(S),f):f(S)}function d(S){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(S):(e.enter("tableDelimiterRow"),l=!1,M(S)?D(e,g,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(S):g(S))}function g(S){return S===45||S===58?E(S):S===124?(l=!0,e.enter("tableCellDivider"),e.consume(S),e.exit("tableCellDivider"),w):I(S)}function w(S){return M(S)?D(e,E,"whitespace")(S):E(S)}function E(S){return S===58?(o+=1,l=!0,e.enter("tableDelimiterMarker"),e.consume(S),e.exit("tableDelimiterMarker"),m):S===45?(o+=1,m(S)):S===null||A(S)?C(S):I(S)}function m(S){return S===45?(e.enter("tableDelimiterFiller"),h(S)):I(S)}function h(S){return S===45?(e.consume(S),h):S===58?(l=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(S),e.exit("tableDelimiterMarker"),y):(e.exit("tableDelimiterFiller"),y(S))}function y(S){return M(S)?D(e,C,"whitespace")(S):C(S)}function C(S){return S===124?g(S):S===null||A(S)?!l||i!==o?I(S):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(S)):I(S)}function I(S){return n(S)}function v(S){return e.enter("tableRow"),L(S)}function L(S){return S===124?(e.enter("tableCellDivider"),e.consume(S),e.exit("tableCellDivider"),L):S===null||A(S)?(e.exit("tableRow"),t(S)):M(S)?D(e,L,"whitespace")(S):(e.enter("data"),z(S))}function z(S){return S===null||S===124||H(S)?(e.exit("data"),L(S)):(e.consume(S),S===92?O:z)}function O(S){return S===92||S===124?(e.consume(S),z):z(S)}}function kE(e,t){let n=-1,r=!0,i=0,o=[0,0,0,0],l=[0,0,0,0],u=!1,a=0,s,c,f,p=new Au;for(;++n<e.length;){let d=e[n],g=d[1];d[0]==="enter"?g.type==="tableHead"?(u=!1,a!==0&&(Bx(p,t,a,s,c),c=void 0,a=0),s={type:"table",start:Object.assign({},g.start),end:Object.assign({},g.end)},p.add(n,0,[["enter",s,t]])):g.type==="tableRow"||g.type==="tableDelimiterRow"?(r=!0,f=void 0,o=[0,0,0,0],l=[0,n+1,0,0],u&&(u=!1,c={type:"tableBody",start:Object.assign({},g.start),end:Object.assign({},g.end)},p.add(n,0,[["enter",c,t]])),i=g.type==="tableDelimiterRow"?2:c?3:1):i&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")?(r=!1,l[2]===0&&(o[1]!==0&&(l[0]=l[1],f=Nu(p,t,o,i,void 0,f),o=[0,0,0,0]),l[2]=n)):g.type==="tableCellDivider"&&(r?r=!1:(o[1]!==0&&(l[0]=l[1],f=Nu(p,t,o,i,void 0,f)),o=l,l=[o[1],n,0,0])):g.type==="tableHead"?(u=!0,a=n):g.type==="tableRow"||g.type==="tableDelimiterRow"?(a=n,o[1]!==0?(l[0]=l[1],f=Nu(p,t,o,i,n,f)):l[1]!==0&&(f=Nu(p,t,l,i,n,f)),i=0):i&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")&&(l[3]=n)}for(a!==0&&Bx(p,t,a,s,c),p.consume(t.events),n=-1;++n<t.events.length;){let d=t.events[n];d[0]==="enter"&&d[1].type==="table"&&(d[1]._align=Fx(t.events,n))}return e}function Nu(e,t,n,r,i,o){let l=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",u="tableContent";n[0]!==0&&(o.end=Object.assign({},ti(t.events,n[0])),e.add(n[0],0,[["exit",o,t]]));let a=ti(t.events,n[1]);if(o={type:l,start:Object.assign({},a),end:Object.assign({},a)},e.add(n[1],0,[["enter",o,t]]),n[2]!==0){let s=ti(t.events,n[2]),c=ti(t.events,n[3]),f={type:u,start:Object.assign({},s),end:Object.assign({},c)};if(e.add(n[2],0,[["enter",f,t]]),r!==2){let p=t.events[n[2]],d=t.events[n[3]];if(p[1].end=Object.assign({},d[1].end),p[1].type="chunkText",p[1].contentType="text",n[3]>n[2]+1){let g=n[2]+1,w=n[3]-n[2]-1;e.add(g,w,[])}}e.add(n[3]+1,0,[["exit",f,t]])}return i!==void 0&&(o.end=Object.assign({},ti(t.events,i)),e.add(i,0,[["exit",o,t]]),o=void 0),o}function Bx(e,t,n,r,i){let o=[],l=ti(t.events,n);i&&(i.end=Object.assign({},l),o.push(["exit",i,t])),r.end=Object.assign({},l),o.push(["exit",r,t]),e.add(n+1,0,o)}function ti(e,t){let n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}var wE={name:"tasklistCheck",tokenize:vE};function Ff(){return{text:{91:wE}}}function vE(e,t,n){let r=this;return i;function i(a){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(a):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(a),e.exit("taskListCheckMarker"),o)}function o(a){return H(a)?(e.enter("taskListCheckValueUnchecked"),e.consume(a),e.exit("taskListCheckValueUnchecked"),l):a===88||a===120?(e.enter("taskListCheckValueChecked"),e.consume(a),e.exit("taskListCheckValueChecked"),l):n(a)}function l(a){return a===93?(e.enter("taskListCheckMarker"),e.consume(a),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),u):n(a)}function u(a){return A(a)?t(a):M(a)?e.check({tokenize:SE},t,n)(a):n(a)}}function SE(e,t,n){return D(e,r,"whitespace");function r(i){return i===null?n(i):t(i)}}function Ux(e){return lu([Nf(),Df(),Mf(e),Of(),Ff()])}var CE={};function Ru(e){let t=this,n=e||CE,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),o=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),l=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(Ux(n)),o.push(_f()),l.push(zf(n))}var tn=j(q(),1),EE={a:({children:e,href:t})=>(0,tn.jsx)("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:"ss-w-md-link",children:e}),table:({children:e})=>(0,tn.jsx)("div",{className:"ss-w-table-wrap",children:(0,tn.jsx)("table",{className:"ss-w-md-table",children:e})}),ul:({children:e})=>(0,tn.jsx)("ul",{className:"ss-w-md-ul",children:e}),ol:({children:e})=>(0,tn.jsx)("ol",{className:"ss-w-md-ol",children:e}),code:({children:e})=>(0,tn.jsx)("code",{className:"ss-w-md-code",children:e})};function jx({text:e}){return(0,tn.jsx)("div",{className:"ss-w-md",children:(0,tn.jsx)(ef,{remarkPlugins:[Ru],components:EE,children:e})})}var Hx=j(gt(),1);var je=j(q(),1),Vx=3;function TE(e){return e.split(/\s+/).slice(0,2).map(t=>{var n;return(n=t[0])!=null?n:""}).join("").toUpperCase()}function Wx({cards:e,disabled:t,onSelect:n}){let[r,i]=(0,Hx.useState)(!1);if(e.length===0)return null;let o=r?e:e.slice(0,Vx),l=e.length-Vx;return(0,je.jsxs)("div",{className:"ss-w-cards",children:[o.map(u=>(0,je.jsxs)("button",{type:"button",className:"ss-w-ecard","data-kind":u.kind,disabled:t,onClick:()=>n(u.query),children:[(0,je.jsx)("span",{className:u.kind==="team"?"ss-w-thumb ss-w-team":"ss-w-thumb",style:u.image?{backgroundImage:`url(${u.image})`}:void 0,children:u.image?"":TE(u.name)}),(0,je.jsxs)("span",{className:"ss-w-meta",children:[u.kind!=="generic"?(0,je.jsx)("span",{className:"ss-w-kind",children:u.kind}):null,(0,je.jsx)("span",{className:"ss-w-nm",children:u.name}),u.sub?(0,je.jsx)("span",{className:"ss-w-sub",children:u.sub}):null]}),u.stats.map(a=>(0,je.jsxs)("span",{className:"ss-w-stat",children:[(0,je.jsx)("b",{children:a.value}),(0,je.jsx)("span",{children:a.label})]},a.label)),(0,je.jsx)("span",{className:"ss-w-chev",children:(0,je.jsx)(Xh,{})})]},u.id)),l>0?(0,je.jsx)("button",{type:"button",className:"ss-w-cards-more",disabled:t,onClick:()=>i(u=>!u),children:r?"Show less":`Show ${l} more`}):null]})}var nn=j(q(),1);function Du({actions:e,loading:t,disabled:n,onAct:r}){return e.length===0&&!t?null:(0,nn.jsxs)("div",{className:"ss-w-actions",children:[e.map((i,o)=>(0,nn.jsx)("button",{type:"button",className:"ss-w-abtn",disabled:n,onClick:()=>r(i),children:i.label},`${i.label}-${o}`)),e.length===0&&t?(0,nn.jsxs)(nn.Fragment,{children:[(0,nn.jsx)("span",{className:"ss-w-abtn-shimmer"}),(0,nn.jsx)("span",{className:"ss-w-abtn-shimmer"})]}):null]})}var zn=j(q(),1);function $x({message:e,disabled:t,onAct:n,onSelect:r}){return e.role==="user"?(0,zn.jsx)("div",{className:"ss-w-msg ss-w-user",children:(0,zn.jsx)("div",{className:"ss-w-bubble",children:e.text})}):(0,zn.jsxs)("div",{className:"ss-w-msg ss-w-bot",children:[e.text?(0,zn.jsx)(jx,{text:e.text}):null,(0,zn.jsx)(Wx,{cards:e.cards,disabled:t,onSelect:r}),(0,zn.jsx)(Du,{actions:e.actions,loading:!1,disabled:t,onAct:n})]})}var Bf=j(q(),1);function Qx({chips:e,onPick:t}){return e.length===0?null:(0,Bf.jsx)("div",{className:"ss-w-chips",children:e.map((n,r)=>(0,Bf.jsx)("button",{type:"button",className:"ss-w-chip",onClick:()=>t(n.text),children:n.text},`${n.text}-${r}`))})}var It=j(q(),1);function Kx({controller:e,ui:t}){let{state:n,send:r}=e,i=(0,Mu.useRef)(null);(0,Mu.useEffect)(()=>{var l;(l=i.current)==null||l.scrollIntoView({block:"end"})},[n.messages,n.status]);let o=n.messages.length===0;return(0,It.jsxs)("div",{className:"ss-w-list","aria-live":"polite",children:[n.messages.map(l=>(0,It.jsx)($x,{message:l,disabled:n.isStreaming,onAct:u=>r(u.message,{actionId:u.actionId,displayText:u.label}),onSelect:u=>r(u)},l.id)),n.isStreaming&&n.actionsLoading?(0,It.jsx)(Du,{actions:[],loading:!0,onAct:()=>{}}):null,n.status?(0,It.jsx)("div",{className:"ss-w-status",children:n.status}):null,n.error?(0,It.jsxs)("div",{className:"ss-w-error",role:"alert",children:[(0,It.jsx)("span",{children:"message"in n.error?n.error.message:"Something went wrong."}),(0,It.jsx)("button",{type:"button",className:"ss-w-retry",onClick:()=>e.retry(),children:"Retry"})]}):null,o?(0,It.jsx)(Qx,{chips:n.starters,onPick:l=>r(l)}):null,(0,It.jsx)("div",{ref:i})]})}var qx=j(gt(),1);var An=j(q(),1);function Xx({placeholder:e,streaming:t,onSend:n,onStop:r}){let[i,o]=(0,qx.useState)(""),l=()=>{let a=i.trim();a&&(n(a),o(""))};return(0,An.jsxs)("div",{className:"ss-w-input",children:[(0,An.jsx)("textarea",{className:"ss-w-textarea",rows:1,placeholder:e,value:i,disabled:t,onChange:a=>o(a.target.value),onKeyDown:a=>{a.key==="Enter"&&!a.shiftKey&&(a.preventDefault(),l())}}),t?(0,An.jsx)("button",{type:"button",className:"ss-w-send ss-w-stop","aria-label":"Stop response",onClick:r,children:(0,An.jsx)("span",{className:"ss-w-stop-glyph"})}):(0,An.jsx)("button",{type:"button",className:"ss-w-send","aria-label":"Send message",onClick:l,children:(0,An.jsx)(Kh,{})})]})}var ni=j(q(),1),IE="(max-width: 639px)";function bE(){let[e,t]=(0,vo.useState)(!1);return(0,vo.useEffect)(()=>{if(typeof window=="undefined"||typeof window.matchMedia!="function")return;let n=window.matchMedia(IE),r=()=>t(n.matches);return r(),n.addEventListener("change",r),()=>n.removeEventListener("change",r)},[]),e}function Yx({controller:e,ui:t}){let{state:n,close:r,stop:i,send:o}=e,l=bE();return(0,vo.useEffect)(()=>{let u=a=>{a.key==="Escape"&&r()};return window.addEventListener("keydown",u),()=>window.removeEventListener("keydown",u)},[r]),(0,ni.jsxs)("div",{className:"ss-w-panel",role:"dialog","aria-modal":l,"aria-label":"SensibleStats chat",children:[(0,ni.jsx)(Zh,{onClose:r}),(0,ni.jsx)(Kx,{controller:e,ui:t}),(0,ni.jsx)(Xx,{placeholder:t.placeholder,streaming:n.isStreaming,onSend:u=>o(u),onStop:i})]})}var Gx=`.ss-w-root { all: revert; }
38
+ .ss-w-root, .ss-w-root * { box-sizing: border-box; margin: 0; padding: 0; }
39
+ .ss-w-root {
40
+ --ss-w-accent: #17936a;
41
+ --ss-w-ink: #14181d; --ss-w-faint: #6b7580; --ss-w-line: #e4e8ec;
42
+ --ss-w-panel: #ffffff; --ss-w-bubble: #f3f5f7; --ss-w-nav: #0e1622;
43
+ --ss-w-radius: 16px; --ss-w-offset-x: 20px; --ss-w-offset-y: 20px;
44
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
45
+ font-size: 13px; line-height: 1.5; color: var(--ss-w-ink);
46
+ }
47
+ @media (prefers-color-scheme: dark) {
48
+ .ss-w-root[data-ss-w-theme="auto"] {
49
+ --ss-w-accent: #37c891; --ss-w-ink: #e8edf2; --ss-w-faint: #8b95a1;
50
+ --ss-w-line: #2a3441; --ss-w-panel: #141b24; --ss-w-bubble: #1e2732; --ss-w-nav: #0a0f16;
51
+ }
52
+ }
53
+ .ss-w-root[data-ss-w-theme="dark"] {
54
+ --ss-w-accent: #37c891; --ss-w-ink: #e8edf2; --ss-w-faint: #8b95a1;
55
+ --ss-w-line: #2a3441; --ss-w-panel: #141b24; --ss-w-bubble: #1e2732; --ss-w-nav: #0a0f16;
56
+ }
57
+ .ss-w-root[data-ss-w-theme="light"] {
58
+ --ss-w-accent: #17936a; --ss-w-ink: #14181d; --ss-w-faint: #6b7580;
59
+ --ss-w-line: #e4e8ec; --ss-w-panel: #ffffff; --ss-w-bubble: #f3f5f7; --ss-w-nav: #0e1622;
60
+ }
61
+
62
+ /* launcher */
63
+ .ss-w-fab-wrap { position: fixed; bottom: var(--ss-w-offset-y); z-index: 2147483000; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
64
+ .ss-w-root[data-ss-w-pos="right"] .ss-w-fab-wrap { right: var(--ss-w-offset-x); }
65
+ .ss-w-root[data-ss-w-pos="left"] .ss-w-fab-wrap { left: var(--ss-w-offset-x); align-items: flex-start; }
66
+ .ss-w-fab { width: 56px; height: 56px; border: none; border-radius: 50%; background: var(--ss-w-nav); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.28); }
67
+ .ss-w-fab-mark { font-size: 30px; }
68
+ .ss-w-greeting { max-width: 220px; background: var(--ss-w-panel); color: var(--ss-w-ink); border: 1px solid var(--ss-w-line); border-radius: 12px; padding: 9px 12px; box-shadow: 0 4px 14px rgba(0,0,0,.14); }
69
+
70
+ /* panel */
71
+ .ss-w-panel { position: fixed; bottom: calc(var(--ss-w-offset-y) + 72px); z-index: 2147483000; display: flex; flex-direction: column; width: min(400px, calc(100vw - 40px)); height: min(620px, calc(100vh - 120px)); background: var(--ss-w-panel); border: 1px solid var(--ss-w-line); border-radius: var(--ss-w-radius); overflow: hidden; box-shadow: 0 12px 40px rgba(0,0,0,.24); }
72
+ .ss-w-root[data-ss-w-pos="right"] .ss-w-panel { right: var(--ss-w-offset-x); }
73
+ .ss-w-root[data-ss-w-pos="left"] .ss-w-panel { left: var(--ss-w-offset-x); }
74
+ @media (max-width: 639px) {
75
+ .ss-w-panel { inset: 0; width: 100vw; height: 100vh; border: none; border-radius: 0; }
76
+ }
77
+ .ss-w-header { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--ss-w-line); }
78
+ .ss-w-header-mark { font-size: 18px; }
79
+ .ss-w-header-title { font-weight: 660; }
80
+ .ss-w-close { margin-left: auto; background: none; border: none; color: var(--ss-w-faint); cursor: pointer; font-size: 16px; display: grid; place-items: center; }
81
+
82
+ /* messages */
83
+ .ss-w-list { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
84
+ .ss-w-msg { display: flex; }
85
+ .ss-w-user { justify-content: flex-end; }
86
+ .ss-w-user .ss-w-bubble { background: color-mix(in srgb, var(--ss-w-accent) 14%, var(--ss-w-panel)); border: 1px solid color-mix(in srgb, var(--ss-w-accent) 30%, var(--ss-w-line)); border-radius: 14px; padding: 8px 12px; max-width: 80%; }
87
+ .ss-w-bot { flex-direction: column; gap: 8px; }
88
+ .ss-w-status { font-size: 11px; color: var(--ss-w-faint); font-style: italic; }
89
+ .ss-w-error { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #c0392b; }
90
+ .ss-w-retry { background: none; border: 1px solid currentColor; border-radius: 10px; padding: 2px 8px; cursor: pointer; color: inherit; }
91
+
92
+ /* markdown */
93
+ .ss-w-md { display: flex; flex-direction: column; gap: 8px; }
94
+ .ss-w-md :where(p, ul, ol, table, pre, blockquote, h1, h2, h3, h4) { margin: 0; }
95
+ .ss-w-md > *:first-child { margin-top: 0; }
96
+ .ss-w-md > *:last-child { margin-bottom: 0; }
97
+ .ss-w-md-ul { list-style: disc outside; padding-left: 18px; }
98
+ .ss-w-md-ol { list-style: decimal outside; padding-left: 18px; }
99
+ .ss-w-md-ul li::marker, .ss-w-md-ol li::marker { color: var(--ss-w-accent); }
100
+ .ss-w-md-link { color: var(--ss-w-accent); text-decoration: underline; }
101
+ .ss-w-table-wrap { overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; }
102
+ .ss-w-md-table { border-collapse: collapse; width: max-content; min-width: 100%; font-variant-numeric: tabular-nums; }
103
+ .ss-w-md-table td, .ss-w-md-table th { border: 1px solid var(--ss-w-line); padding: 4px 8px; text-align: left; white-space: nowrap; }
104
+ .ss-w-md-table th { background: color-mix(in srgb, var(--ss-w-accent) 12%, var(--ss-w-panel)); font-weight: 700; }
105
+ .ss-w-md-table tbody tr:nth-child(even) { background: var(--ss-w-bubble); }
106
+ .ss-w-md-code { background: var(--ss-w-bubble); border-radius: 5px; padding: 1px 5px; font-family: ui-monospace, monospace; }
107
+
108
+ /* entity cards */
109
+ .ss-w-cards { display: flex; flex-direction: column; gap: 7px; }
110
+ .ss-w-ecard { display: flex; align-items: center; gap: 11px; width: 100%; background: var(--ss-w-panel); border: 1px solid var(--ss-w-line); border-radius: 12px; padding: 8px 11px; text-align: left; cursor: pointer; }
111
+ .ss-w-thumb { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #fff; background-color: var(--ss-w-nav); background-size: cover; background-position: center; }
112
+ .ss-w-thumb.ss-w-team { border-radius: 10px; }
113
+ .ss-w-ecard[data-kind="player"] .ss-w-thumb { background-color: var(--ss-w-accent); }
114
+ .ss-w-meta { display: flex; flex-direction: column; min-width: 0; }
115
+ .ss-w-kind { font-size: 8.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ss-w-faint); line-height: 1.3; }
116
+ .ss-w-nm { font-weight: 660; }
117
+ .ss-w-sub { font-size: 11px; color: var(--ss-w-faint); }
118
+ .ss-w-stat { margin-left: auto; text-align: center; }
119
+ .ss-w-stat b { display: block; font-variant-numeric: tabular-nums; }
120
+ .ss-w-stat span { font-size: 9px; text-transform: uppercase; color: var(--ss-w-faint); }
121
+ .ss-w-chev { color: var(--ss-w-faint); font-size: 16px; display: grid; place-items: center; }
122
+ .ss-w-cards-more { align-self: flex-start; font-size: 11.5px; font-weight: 560; color: var(--ss-w-accent); background: none; border: none; cursor: pointer; padding: 3px 2px; }
123
+ .ss-w-cards-more:hover:not(:disabled) { text-decoration: underline; }
124
+ .ss-w-ecard:disabled, .ss-w-cards-more:disabled { opacity: .5; cursor: default; }
125
+
126
+ /* action buttons */
127
+ .ss-w-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
128
+ .ss-w-abtn { font-size: 12px; font-weight: 560; color: var(--ss-w-accent); background: var(--ss-w-panel); border: 1px solid var(--ss-w-accent); border-radius: 16px; padding: 6px 12px; cursor: pointer; }
129
+ .ss-w-abtn:disabled { opacity: .5; cursor: default; }
130
+ .ss-w-abtn-shimmer { width: 140px; height: 30px; border-radius: 16px; background: linear-gradient(90deg, var(--ss-w-bubble), var(--ss-w-line), var(--ss-w-bubble)); background-size: 200% 100%; animation: ss-w-shimmer 1.2s infinite; }
131
+ @keyframes ss-w-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
132
+
133
+ /* intent chips */
134
+ .ss-w-chips { display: flex; flex-wrap: wrap; gap: 6px; }
135
+ .ss-w-chip { font-size: 11.5px; font-weight: 550; color: var(--ss-w-ink); background: var(--ss-w-bubble); border: 1px solid var(--ss-w-line); border-radius: 14px; padding: 5px 11px; cursor: pointer; }
136
+
137
+ /* input */
138
+ .ss-w-input { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--ss-w-line); }
139
+ .ss-w-textarea { flex: 1; resize: none; border: 1px solid var(--ss-w-line); border-radius: 12px; padding: 8px 10px; font: inherit; color: inherit; background: var(--ss-w-panel); max-height: 96px; }
140
+ .ss-w-textarea:disabled { opacity: .55; cursor: not-allowed; }
141
+ .ss-w-send { width: 36px; height: 36px; flex: none; border: none; border-radius: 50%; background: var(--ss-w-accent); color: #fff; cursor: pointer; display: grid; place-items: center; font-size: 16px; }
142
+ .ss-w-stop-glyph { width: 11px; height: 11px; background: currentColor; border-radius: 2px; }
143
+
144
+ @media (prefers-reduced-motion: reduce) {
145
+ .ss-w-abtn-shimmer { animation: none; }
146
+ }
147
+ `;var So=j(q(),1);function PE(e){try{if("client"in e&&e.client)return{client:e.client,conversation:e.client.conversation()};let t=e.config,n=new io(Rh(t));return{client:n,conversation:n.conversation(Dh(t))}}catch(t){return console.error("[StatsWidget] failed to initialize:",t instanceof Error?t.message:t),null}}function LE(e){let t=e instanceof ShadowRoot?e:e.head;if(t.querySelector("#ss-w-styles"))return;let n=document.createElement("style");n.id="ss-w-styles",n.textContent=Gx,t.appendChild(n)}function Uf(e){var a;let t="client"in e?e.client:void 0,n=e.config,r=(0,dr.useMemo)(()=>PE(e),[t,n==null?void 0:n.operatorId,n==null?void 0:n.publicKey,n==null?void 0:n.baseUrl]),i=(0,dr.useMemo)(()=>{var s;return Nh((s=e.config)!=null?s:{operatorId:"",publicKey:""})},[e.config]),o=(0,dr.useRef)(null),l=Hh((a=r==null?void 0:r.conversation)!=null?a:_E(),i.starters);if((0,dr.useEffect)(()=>{var c;if(!r||!i.injectStyles)return;let s=(c=o.current)==null?void 0:c.getRootNode();s&&LE(s)},[r,i.injectStyles]),!r)return null;let u=Mh(i);return(0,So.jsxs)("div",{ref:o,className:"ss-w-root","data-ss-w-theme":u["data-ss-w-theme"],"data-ss-w-pos":u["data-ss-w-pos"],style:u.style,children:[l.state.isOpen?(0,So.jsx)(Yx,{controller:l,ui:i}):null,(0,So.jsx)(Jh,{label:i.launcherLabel,open:l.state.isOpen,greeting:i.greeting,onToggle:l.toggle})]})}function _E(){return{send:()=>{throw new Error("widget not initialized")}}}var jf=j(q(),1);function t1(e){var l,u;let t=a=>a!==void 0&&a!==""&&Number.isFinite(Number(a))?Number(a):void 0,n={operatorId:(l=e.operatorId)!=null?l:"",publicKey:(u=e.publicKey)!=null?u:""};e.baseUrl&&(n.baseUrl=e.baseUrl),(e.theme==="light"||e.theme==="dark"||e.theme==="auto")&&(n.theme=e.theme),e.accent&&(n.accent=e.accent),(e.position==="left"||e.position==="right")&&(n.position=e.position);let r=t(e.radius);r!==void 0&&(n.radius=r);let i=t(e.offsetX),o=t(e.offsetY);return(i!==void 0||o!==void 0)&&(n.offset={x:i,y:o}),e.launcherLabel&&(n.launcherLabel=e.launcherLabel),e.greeting&&(n.greeting=e.greeting),e.placeholder&&(n.placeholder=e.placeholder),(e.operatorUserId||e.language)&&(n.userContext={operatorUserId:e.operatorUserId,defaultLanguage:e.language}),n}function n1(e){if(!e)return null;let t=t1(e.dataset);if(!t.operatorId||!t.publicKey)return console.error("[SensibleStatsWidget] data-operator-id and data-public-key are required"),null;let n=document.createElement("div");n.setAttribute("data-ss-w-host",""),document.body.appendChild(n);let r=n.attachShadow({mode:"open"}),i=document.createElement("div");r.appendChild(i);let o=(0,Zx.createRoot)(i);o.render((0,jf.jsx)(e1.StrictMode,{children:(0,jf.jsx)(Uf,{config:t})}));let l=a=>{let s=r.querySelector(".ss-w-fab");s&&s.getAttribute("aria-expanded")!==String(a)&&s.click()},u={open:()=>l(!0),close:()=>l(!1),destroy:()=>{o.unmount(),n.remove(),delete window.SensibleStatsWidget}};return window.SensibleStatsWidget=u,u}var Jx=typeof document!="undefined"?document.currentScript:null;Jx&&n1(Jx);return h1(zE);})();
148
+ /*! Bundled license information:
149
+
150
+ react/cjs/react.production.min.js:
151
+ (**
152
+ * @license React
153
+ * react.production.min.js
154
+ *
155
+ * Copyright (c) Facebook, Inc. and its affiliates.
156
+ *
157
+ * This source code is licensed under the MIT license found in the
158
+ * LICENSE file in the root directory of this source tree.
159
+ *)
160
+
161
+ scheduler/cjs/scheduler.production.min.js:
162
+ (**
163
+ * @license React
164
+ * scheduler.production.min.js
165
+ *
166
+ * Copyright (c) Facebook, Inc. and its affiliates.
167
+ *
168
+ * This source code is licensed under the MIT license found in the
169
+ * LICENSE file in the root directory of this source tree.
170
+ *)
171
+
172
+ react-dom/cjs/react-dom.production.min.js:
173
+ (**
174
+ * @license React
175
+ * react-dom.production.min.js
176
+ *
177
+ * Copyright (c) Facebook, Inc. and its affiliates.
178
+ *
179
+ * This source code is licensed under the MIT license found in the
180
+ * LICENSE file in the root directory of this source tree.
181
+ *)
182
+
183
+ react/cjs/react-jsx-runtime.production.min.js:
184
+ (**
185
+ * @license React
186
+ * react-jsx-runtime.production.min.js
187
+ *
188
+ * Copyright (c) Facebook, Inc. and its affiliates.
189
+ *
190
+ * This source code is licensed under the MIT license found in the
191
+ * LICENSE file in the root directory of this source tree.
192
+ *)
193
+ */
194
+ //# sourceMappingURL=embed.global.js.map