@rizom/brain 0.2.0-alpha.145 → 0.2.0-alpha.146
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/brain.js +853 -1000
- package/dist/entities.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/plugins.d.ts +2 -0
- package/dist/plugins.js +2 -2
- package/dist/plugins.js.map +4 -4
- package/dist/services.js.map +1 -1
- package/dist/site.js +5 -5
- package/dist/site.js.map +4 -4
- package/dist/ui/cms-app.js +506 -0
- package/dist/ui/cms-app.js.map +299 -0
- package/package.json +1 -1
|
@@ -0,0 +1,506 @@
|
|
|
1
|
+
var Vy=Object.create;var{getPrototypeOf:zy,defineProperty:aW,getOwnPropertyNames:jy}=Object;var Ry=Object.prototype.hasOwnProperty;function Oy(H){return this[H]}var Ny,Py,K5=(H,Q,Y)=>{var J=H!=null&&typeof H==="object";if(J){var w=Q?Ny??=new WeakMap:Py??=new WeakMap,U=w.get(H);if(U)return U}Y=H!=null?Vy(zy(H)):{};let F=Q||!H||!H.__esModule?aW(Y,"default",{value:H,enumerable:!0}):Y;for(let B of jy(H))if(!Ry.call(F,B))aW(F,B,{get:Oy.bind(H,B),enumerable:!0});if(J)w.set(H,F);return F};var o5=(H,Q)=>()=>(Q||H((Q={exports:{}}).exports,Q),Q.exports);var My=(H)=>H;function Cy(H,Q){this[H]=My.bind(null,Q)}var M8=(H,Q)=>{for(var Y in Q)aW(H,Y,{get:Q[Y],enumerable:!0,configurable:!0,set:Cy.bind(Q,Y)})};var l=(H,Q)=>()=>(H&&(Q=H(H=0)),Q);var ZP=o5((by)=>{(function(){function H(){if(U1=!1,e){var Q1=by.unstable_now();k1=Q1;var w1=!0;try{H:{Z1=!1,t&&(t=!1,c($1),$1=-1),m=!0;var Y1=p;try{Z:{U(Q1);for(v=Y(C);v!==null&&!(v.expirationTime>Q1&&B());){var I1=v.callback;if(typeof I1==="function"){v.callback=null,p=v.priorityLevel;var y1=I1(v.expirationTime<=Q1);if(Q1=by.unstable_now(),typeof y1==="function"){v.callback=y1,U(Q1),w1=!0;break Z}v===Y(C)&&J(C),U(Q1)}else J(C);v=Y(C)}if(v!==null)w1=!0;else{var b=Y($);b!==null&&V(F,b.startTime-Q1),w1=!1}}break H}finally{v=null,p=Y1,m=!1}w1=void 0}}finally{w1?g1():e=!1}}}function Q(Q1,w1){var Y1=Q1.length;Q1.push(w1);H:for(;0<Y1;){var I1=Y1-1>>>1,y1=Q1[I1];if(0<w(y1,w1))Q1[I1]=w1,Q1[Y1]=y1,Y1=I1;else break H}}function Y(Q1){return Q1.length===0?null:Q1[0]}function J(Q1){if(Q1.length===0)return null;var w1=Q1[0],Y1=Q1.pop();if(Y1!==w1){Q1[0]=Y1;H:for(var I1=0,y1=Q1.length,b=y1>>>1;I1<b;){var j1=2*(I1+1)-1,T1=Q1[j1],y=j1+1,d1=Q1[y];if(0>w(T1,Y1))y<y1&&0>w(d1,T1)?(Q1[I1]=d1,Q1[y]=Y1,I1=y):(Q1[I1]=T1,Q1[j1]=Y1,I1=j1);else if(y<y1&&0>w(d1,Y1))Q1[I1]=d1,Q1[y]=Y1,I1=y;else break H}}return w1}function w(Q1,w1){var Y1=Q1.sortIndex-w1.sortIndex;return Y1!==0?Y1:Q1.id-w1.id}function U(Q1){for(var w1=Y($);w1!==null;){if(w1.callback===null)J($);else if(w1.startTime<=Q1)J($),w1.sortIndex=w1.expirationTime,Q(C,w1);else break;w1=Y($)}}function F(Q1){if(t=!1,U(Q1),!Z1)if(Y(C)!==null)Z1=!0,e||(e=!0,g1());else{var w1=Y($);w1!==null&&V(F,w1.startTime-Q1)}}function B(){return U1?!0:by.unstable_now()-k1<k?!1:!0}function V(Q1,w1){$1=B1(function(){Q1(by.unstable_now())},w1)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),by.unstable_now=void 0,typeof performance==="object"&&typeof performance.now==="function"){var N=performance;by.unstable_now=function(){return N.now()}}else{var R=Date,O=R.now();by.unstable_now=function(){return R.now()-O}}var C=[],$=[],_=1,v=null,p=3,m=!1,Z1=!1,t=!1,U1=!1,B1=typeof setTimeout==="function"?setTimeout:null,c=typeof clearTimeout==="function"?clearTimeout:null,b1=typeof setImmediate<"u"?setImmediate:null,e=!1,$1=-1,k=5,k1=-1;if(typeof b1==="function")var g1=function(){b1(H)};else if(typeof MessageChannel<"u"){var L1=new MessageChannel,h1=L1.port2;L1.port1.onmessage=H,g1=function(){h1.postMessage(null)}}else g1=function(){B1(H,0)};by.unstable_IdlePriority=5,by.unstable_ImmediatePriority=1,by.unstable_LowPriority=4,by.unstable_NormalPriority=3,by.unstable_Profiling=null,by.unstable_UserBlockingPriority=2,by.unstable_cancelCallback=function(Q1){Q1.callback=null},by.unstable_forceFrameRate=function(Q1){0>Q1||125<Q1?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):k=0<Q1?Math.floor(1000/Q1):5},by.unstable_getCurrentPriorityLevel=function(){return p},by.unstable_next=function(Q1){switch(p){case 1:case 2:case 3:var w1=3;break;default:w1=p}var Y1=p;p=w1;try{return Q1()}finally{p=Y1}},by.unstable_requestPaint=function(){U1=!0},by.unstable_runWithPriority=function(Q1,w1){switch(Q1){case 1:case 2:case 3:case 4:case 5:break;default:Q1=3}var Y1=p;p=Q1;try{return w1()}finally{p=Y1}},by.unstable_scheduleCallback=function(Q1,w1,Y1){var I1=by.unstable_now();switch(typeof Y1==="object"&&Y1!==null?(Y1=Y1.delay,Y1=typeof Y1==="number"&&0<Y1?I1+Y1:I1):Y1=I1,Q1){case 1:var y1=-1;break;case 2:y1=250;break;case 5:y1=1073741823;break;case 4:y1=1e4;break;default:y1=5000}return y1=Y1+y1,Q1={id:_++,callback:w1,priorityLevel:Q1,startTime:Y1,expirationTime:y1,sortIndex:-1},Y1>I1?(Q1.sortIndex=Y1,Q($,Q1),Y(C)===null&&Q1===Y($)&&(t?(c($1),$1=-1):t=!0,V(F,Y1-I1))):(Q1.sortIndex=y1,Q(C,Q1),Z1||m||(Z1=!0,e||(e=!0,g1()))),Q1},by.unstable_shouldYield=B,by.unstable_wrapCallback=function(Q1){var w1=p;return function(){var Y1=p;p=w1;try{return Q1.apply(this,arguments)}finally{p=Y1}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var r9=o5(($y,Tq)=>{(function(){function H(h,a){Object.defineProperty(J.prototype,h,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",a[0],a[1])}})}function Q(h){if(h===null||typeof h!=="object")return null;return h=j5&&h[j5]||h["@@iterator"],typeof h==="function"?h:null}function Y(h,a){h=(h=h.constructor)&&(h.displayName||h.name)||"ReactClass";var R1=h+"."+a;G1[R1]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",a,h),G1[R1]=!0)}function J(h,a,R1){this.props=h,this.context=a,this.refs=E5,this.updater=R1||F5}function w(){}function U(h,a,R1){this.props=h,this.context=a,this.refs=E5,this.updater=R1||F5}function F(){}function B(h){return""+h}function V(h){try{B(h);var a=!1}catch(f1){a=!0}if(a){a=console;var R1=a.error,x1=typeof Symbol==="function"&&Symbol.toStringTag&&h[Symbol.toStringTag]||h.constructor.name||"Object";return R1.call(a,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",x1),B(h)}}function N(h){if(h==null)return null;if(typeof h==="function")return h.$$typeof===v3?null:h.displayName||h.name||null;if(typeof h==="string")return h;switch(h){case y1:return"Fragment";case j1:return"Profiler";case b:return"StrictMode";case o1:return"Suspense";case m1:return"SuspenseList";case w0:return"Activity"}if(typeof h==="object")switch(typeof h.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),h.$$typeof){case I1:return"Portal";case y:return h.displayName||"Context";case T1:return(h._context.displayName||"Context")+".Consumer";case d1:var a=h.render;return h=h.displayName,h||(h=a.displayName||a.name||"",h=h!==""?"ForwardRef("+h+")":"ForwardRef"),h;case y0:return a=h.displayName||null,a!==null?a:N(h.type)||"Memo";case Y0:a=h._payload,h=h._init;try{return N(h(a))}catch(R1){}}return null}function R(h){if(h===y1)return"<>";if(typeof h==="object"&&h!==null&&h.$$typeof===Y0)return"<...>";try{var a=N(h);return a?"<"+a+">":"<...>"}catch(R1){return"<...>"}}function O(){var h=_1.A;return h===null?null:h.getOwner()}function C(){return Error("react-stack-top-frame")}function $(h){if(I0.call(h,"key")){var a=Object.getOwnPropertyDescriptor(h,"key").get;if(a&&a.isReactWarning)return!1}return h.key!==void 0}function _(h,a){function R1(){q2||(q2=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",a))}R1.isReactWarning=!0,Object.defineProperty(h,"key",{get:R1,configurable:!0})}function v(){var h=N(this.type);return R6[h]||(R6[h]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),h=this.props.ref,h!==void 0?h:null}function p(h,a,R1,x1,f1,X0){var Q0=R1.ref;return h={$$typeof:Y1,type:h,key:a,props:R1,_owner:x1},(Q0!==void 0?Q0:null)!==null?Object.defineProperty(h,"ref",{enumerable:!1,get:v}):Object.defineProperty(h,"ref",{enumerable:!1,value:null}),h._store={},Object.defineProperty(h._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(h,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(h,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:f1}),Object.defineProperty(h,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:X0}),Object.freeze&&(Object.freeze(h.props),Object.freeze(h)),h}function m(h,a){return a=p(h.type,a,h.props,h._owner,h._debugStack,h._debugTask),h._store&&(a._store.validated=h._store.validated),a}function Z1(h){t(h)?h._store&&(h._store.validated=1):typeof h==="object"&&h!==null&&h.$$typeof===Y0&&(h._payload.status==="fulfilled"?t(h._payload.value)&&h._payload.value._store&&(h._payload.value._store.validated=1):h._store&&(h._store.validated=1))}function t(h){return typeof h==="object"&&h!==null&&h.$$typeof===Y1}function U1(h){var a={"=":"=0",":":"=2"};return"$"+h.replace(/[=:]/g,function(R1){return a[R1]})}function B1(h,a){return typeof h==="object"&&h!==null&&h.key!=null?(V(h.key),U1(""+h.key)):a.toString(36)}function c(h){switch(h.status){case"fulfilled":return h.value;case"rejected":throw h.reason;default:switch(typeof h.status==="string"?h.then(F,F):(h.status="pending",h.then(function(a){h.status==="pending"&&(h.status="fulfilled",h.value=a)},function(a){h.status==="pending"&&(h.status="rejected",h.reason=a)})),h.status){case"fulfilled":return h.value;case"rejected":throw h.reason}}throw h}function b1(h,a,R1,x1,f1){var X0=typeof h;if(X0==="undefined"||X0==="boolean")h=null;var Q0=!1;if(h===null)Q0=!0;else switch(X0){case"bigint":case"string":case"number":Q0=!0;break;case"object":switch(h.$$typeof){case Y1:case I1:Q0=!0;break;case Y0:return Q0=h._init,b1(Q0(h._payload),a,R1,x1,f1)}}if(Q0){Q0=h,f1=f1(Q0);var _0=x1===""?"."+B1(Q0,0):x1;return g0(f1)?(R1="",_0!=null&&(R1=_0.replace(K1,"$&/")+"/"),b1(f1,a,R1,"",function(a5){return a5})):f1!=null&&(t(f1)&&(f1.key!=null&&(Q0&&Q0.key===f1.key||V(f1.key)),R1=m(f1,R1+(f1.key==null||Q0&&Q0.key===f1.key?"":(""+f1.key).replace(K1,"$&/")+"/")+_0),x1!==""&&Q0!=null&&t(Q0)&&Q0.key==null&&Q0._store&&!Q0._store.validated&&(R1._store.validated=2),f1=R1),a.push(f1)),1}if(Q0=0,_0=x1===""?".":x1+":",g0(h))for(var r1=0;r1<h.length;r1++)x1=h[r1],X0=_0+B1(x1,r1),Q0+=b1(x1,a,R1,X0,f1);else if(r1=Q(h),typeof r1==="function")for(r1===h.entries&&(J1||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),J1=!0),h=r1.call(h),r1=0;!(x1=h.next()).done;)x1=x1.value,X0=_0+B1(x1,r1++),Q0+=b1(x1,a,R1,X0,f1);else if(X0==="object"){if(typeof h.then==="function")return b1(c(h),a,R1,x1,f1);throw a=String(h),Error("Objects are not valid as a React child (found: "+(a==="[object Object]"?"object with keys {"+Object.keys(h).join(", ")+"}":a)+"). If you meant to render a collection of children, use an array instead.")}return Q0}function e(h,a,R1){if(h==null)return h;var x1=[],f1=0;return b1(h,x1,"","",function(X0){return a.call(R1,X0,f1++)}),x1}function $1(h){if(h._status===-1){var a=h._ioInfo;a!=null&&(a.start=a.end=performance.now()),a=h._result;var R1=a();if(R1.then(function(f1){if(h._status===0||h._status===-1){h._status=1,h._result=f1;var X0=h._ioInfo;X0!=null&&(X0.end=performance.now()),R1.status===void 0&&(R1.status="fulfilled",R1.value=f1)}},function(f1){if(h._status===0||h._status===-1){h._status=2,h._result=f1;var X0=h._ioInfo;X0!=null&&(X0.end=performance.now()),R1.status===void 0&&(R1.status="rejected",R1.reason=f1)}}),a=h._ioInfo,a!=null){a.value=R1;var x1=R1.displayName;typeof x1==="string"&&(a.name=x1)}h._status===-1&&(h._status=0,h._result=R1)}if(h._status===1)return a=h._result,a===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
2
|
+
|
|
3
|
+
Your code should look like:
|
|
4
|
+
const MyComponent = lazy(() => import('./MyComponent'))
|
|
5
|
+
|
|
6
|
+
Did you accidentally put curly braces around the import?`,a),"default"in a||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
7
|
+
|
|
8
|
+
Your code should look like:
|
|
9
|
+
const MyComponent = lazy(() => import('./MyComponent'))`,a),a.default;throw h._result}function k(){var h=_1.H;return h===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
10
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
11
|
+
2. You might be breaking the Rules of Hooks
|
|
12
|
+
3. You might have more than one copy of React in the same app
|
|
13
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),h}function k1(){_1.asyncTransitions--}function g1(h){if(C0===null)try{var a=("require"+Math.random()).slice(0,7);C0=(Tq&&Tq[a]).call(Tq,"timers").setImmediate}catch(R1){C0=function(x1){J0===!1&&(J0=!0,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var f1=new MessageChannel;f1.port1.onmessage=x1,f1.port2.postMessage(void 0)}}return C0(h)}function L1(h){return 1<h.length&&typeof AggregateError==="function"?AggregateError(h):h[0]}function h1(h,a){a!==q5-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),q5=a}function Q1(h,a,R1){var x1=_1.actQueue;if(x1!==null)if(x1.length!==0)try{w1(x1),g1(function(){return Q1(h,a,R1)});return}catch(f1){_1.thrownErrors.push(f1)}else _1.actQueue=null;0<_1.thrownErrors.length?(x1=L1(_1.thrownErrors),_1.thrownErrors.length=0,R1(x1)):a(h)}function w1(h){if(!k5){k5=!0;var a=0;try{for(;a<h.length;a++){var R1=h[a];do{_1.didUsePromise=!1;var x1=R1(!1);if(x1!==null){if(_1.didUsePromise){h[a]=R1,h.splice(0,a);return}R1=x1}else break}while(1)}h.length=0}catch(f1){h.splice(0,a+1),_1.thrownErrors.push(f1)}finally{k5=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var Y1=Symbol.for("react.transitional.element"),I1=Symbol.for("react.portal"),y1=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),j1=Symbol.for("react.profiler"),T1=Symbol.for("react.consumer"),y=Symbol.for("react.context"),d1=Symbol.for("react.forward_ref"),o1=Symbol.for("react.suspense"),m1=Symbol.for("react.suspense_list"),y0=Symbol.for("react.memo"),Y0=Symbol.for("react.lazy"),w0=Symbol.for("react.activity"),j5=Symbol.iterator,G1={},F5={isMounted:function(){return!1},enqueueForceUpdate:function(h){Y(h,"forceUpdate")},enqueueReplaceState:function(h){Y(h,"replaceState")},enqueueSetState:function(h){Y(h,"setState")}},x5=Object.assign,E5={};Object.freeze(E5),J.prototype.isReactComponent={},J.prototype.setState=function(h,a){if(typeof h!=="object"&&typeof h!=="function"&&h!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,h,a,"setState")},J.prototype.forceUpdate=function(h){this.updater.enqueueForceUpdate(this,h,"forceUpdate")};var t0={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]};for(M2 in t0)t0.hasOwnProperty(M2)&&H(M2,t0[M2]);w.prototype=J.prototype,t0=U.prototype=new w,t0.constructor=U,x5(t0,J.prototype),t0.isPureReactComponent=!0;var g0=Array.isArray,v3=Symbol.for("react.client.reference"),_1={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},I0=Object.prototype.hasOwnProperty,W0=console.createTask?console.createTask:function(){return null};t0={react_stack_bottom_frame:function(h){return h()}};var q2,I5,R6={},O6=t0.react_stack_bottom_frame.bind(t0,C)(),o8=W0(R(C)),J1=!1,K1=/\/+/g,S1=typeof reportError==="function"?reportError:function(h){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var a=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof h==="object"&&h!==null&&typeof h.message==="string"?String(h.message):String(h),error:h});if(!window.dispatchEvent(a))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",h);return}console.error(h)},J0=!1,C0=null,q5=0,Y2=!1,k5=!1,B3=typeof queueMicrotask==="function"?function(h){queueMicrotask(function(){return queueMicrotask(h)})}:g1;t0=Object.freeze({__proto__:null,c:function(h){return k().useMemoCache(h)}});var M2={map:e,forEach:function(h,a,R1){e(h,function(){a.apply(this,arguments)},R1)},count:function(h){var a=0;return e(h,function(){a++}),a},toArray:function(h){return e(h,function(a){return a})||[]},only:function(h){if(!t(h))throw Error("React.Children.only expected to receive a single React element child.");return h}};$y.Activity=w0,$y.Children=M2,$y.Component=J,$y.Fragment=y1,$y.Profiler=j1,$y.PureComponent=U,$y.StrictMode=b,$y.Suspense=o1,$y.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=_1,$y.__COMPILER_RUNTIME=t0,$y.act=function(h){var a=_1.actQueue,R1=q5;q5++;var x1=_1.actQueue=a!==null?a:[],f1=!1;try{var X0=h()}catch(r1){_1.thrownErrors.push(r1)}if(0<_1.thrownErrors.length)throw h1(a,R1),h=L1(_1.thrownErrors),_1.thrownErrors.length=0,h;if(X0!==null&&typeof X0==="object"&&typeof X0.then==="function"){var Q0=X0;return B3(function(){f1||Y2||(Y2=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(r1,a5){f1=!0,Q0.then(function(E2){if(h1(a,R1),R1===0){try{w1(x1),g1(function(){return Q1(E2,r1,a5)})}catch(t8){_1.thrownErrors.push(t8)}if(0<_1.thrownErrors.length){var Q9=L1(_1.thrownErrors);_1.thrownErrors.length=0,a5(Q9)}}else r1(E2)},function(E2){h1(a,R1),0<_1.thrownErrors.length?(E2=L1(_1.thrownErrors),_1.thrownErrors.length=0,a5(E2)):a5(E2)})}}}var _0=X0;if(h1(a,R1),R1===0&&(w1(x1),x1.length!==0&&B3(function(){f1||Y2||(Y2=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),_1.actQueue=null),0<_1.thrownErrors.length)throw h=L1(_1.thrownErrors),_1.thrownErrors.length=0,h;return{then:function(r1,a5){f1=!0,R1===0?(_1.actQueue=x1,g1(function(){return Q1(_0,r1,a5)})):r1(_0)}}},$y.cache=function(h){return function(){return h.apply(null,arguments)}},$y.cacheSignal=function(){return null},$y.captureOwnerStack=function(){var h=_1.getCurrentStack;return h===null?null:h()},$y.cloneElement=function(h,a,R1){if(h===null||h===void 0)throw Error("The argument must be a React element, but you passed "+h+".");var x1=x5({},h.props),f1=h.key,X0=h._owner;if(a!=null){var Q0;H:{if(I0.call(a,"ref")&&(Q0=Object.getOwnPropertyDescriptor(a,"ref").get)&&Q0.isReactWarning){Q0=!1;break H}Q0=a.ref!==void 0}Q0&&(X0=O()),$(a)&&(V(a.key),f1=""+a.key);for(_0 in a)!I0.call(a,_0)||_0==="key"||_0==="__self"||_0==="__source"||_0==="ref"&&a.ref===void 0||(x1[_0]=a[_0])}var _0=arguments.length-2;if(_0===1)x1.children=R1;else if(1<_0){Q0=Array(_0);for(var r1=0;r1<_0;r1++)Q0[r1]=arguments[r1+2];x1.children=Q0}x1=p(h.type,f1,x1,X0,h._debugStack,h._debugTask);for(f1=2;f1<arguments.length;f1++)Z1(arguments[f1]);return x1},$y.createContext=function(h){return h={$$typeof:y,_currentValue:h,_currentValue2:h,_threadCount:0,Provider:null,Consumer:null},h.Provider=h,h.Consumer={$$typeof:T1,_context:h},h._currentRenderer=null,h._currentRenderer2=null,h},$y.createElement=function(h,a,R1){for(var x1=2;x1<arguments.length;x1++)Z1(arguments[x1]);x1={};var f1=null;if(a!=null)for(r1 in I5||!("__self"in a)||"key"in a||(I5=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),$(a)&&(V(a.key),f1=""+a.key),a)I0.call(a,r1)&&r1!=="key"&&r1!=="__self"&&r1!=="__source"&&(x1[r1]=a[r1]);var X0=arguments.length-2;if(X0===1)x1.children=R1;else if(1<X0){for(var Q0=Array(X0),_0=0;_0<X0;_0++)Q0[_0]=arguments[_0+2];Object.freeze&&Object.freeze(Q0),x1.children=Q0}if(h&&h.defaultProps)for(r1 in X0=h.defaultProps,X0)x1[r1]===void 0&&(x1[r1]=X0[r1]);f1&&_(x1,typeof h==="function"?h.displayName||h.name||"Unknown":h);var r1=1e4>_1.recentlyCreatedOwnerStacks++;return p(h,f1,x1,O(),r1?Error("react-stack-top-frame"):O6,r1?W0(R(h)):o8)},$y.createRef=function(){var h={current:null};return Object.seal(h),h},$y.forwardRef=function(h){h!=null&&h.$$typeof===y0?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof h!=="function"?console.error("forwardRef requires a render function but was given %s.",h===null?"null":typeof h):h.length!==0&&h.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",h.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),h!=null&&h.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var a={$$typeof:d1,render:h},R1;return Object.defineProperty(a,"displayName",{enumerable:!1,configurable:!0,get:function(){return R1},set:function(x1){R1=x1,h.name||h.displayName||(Object.defineProperty(h,"name",{value:x1}),h.displayName=x1)}}),a},$y.isValidElement=t,$y.lazy=function(h){h={_status:-1,_result:h};var a={$$typeof:Y0,_payload:h,_init:$1},R1={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return h._ioInfo=R1,a._debugInfo=[{awaited:R1}],a},$y.memo=function(h,a){h==null&&console.error("memo: The first argument must be a component. Instead received: %s",h===null?"null":typeof h),a={$$typeof:y0,type:h,compare:a===void 0?null:a};var R1;return Object.defineProperty(a,"displayName",{enumerable:!1,configurable:!0,get:function(){return R1},set:function(x1){R1=x1,h.name||h.displayName||(Object.defineProperty(h,"name",{value:x1}),h.displayName=x1)}}),a},$y.startTransition=function(h){var a=_1.T,R1={};R1._updatedFibers=new Set,_1.T=R1;try{var x1=h(),f1=_1.S;f1!==null&&f1(R1,x1),typeof x1==="object"&&x1!==null&&typeof x1.then==="function"&&(_1.asyncTransitions++,x1.then(k1,k1),x1.then(F,S1))}catch(X0){S1(X0)}finally{a===null&&R1._updatedFibers&&(h=R1._updatedFibers.size,R1._updatedFibers.clear(),10<h&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),a!==null&&R1.types!==null&&(a.types!==null&&a.types!==R1.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),a.types=R1.types),_1.T=a}},$y.unstable_useCacheRefresh=function(){return k().useCacheRefresh()},$y.use=function(h){return k().use(h)},$y.useActionState=function(h,a,R1){return k().useActionState(h,a,R1)},$y.useCallback=function(h,a){return k().useCallback(h,a)},$y.useContext=function(h){var a=k();return h.$$typeof===T1&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),a.useContext(h)},$y.useDebugValue=function(h,a){return k().useDebugValue(h,a)},$y.useDeferredValue=function(h,a){return k().useDeferredValue(h,a)},$y.useEffect=function(h,a){return h==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),k().useEffect(h,a)},$y.useEffectEvent=function(h){return k().useEffectEvent(h)},$y.useId=function(){return k().useId()},$y.useImperativeHandle=function(h,a,R1){return k().useImperativeHandle(h,a,R1)},$y.useInsertionEffect=function(h,a){return h==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),k().useInsertionEffect(h,a)},$y.useLayoutEffect=function(h,a){return h==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),k().useLayoutEffect(h,a)},$y.useMemo=function(h,a){return k().useMemo(h,a)},$y.useOptimistic=function(h,a){return k().useOptimistic(h,a)},$y.useReducer=function(h,a,R1){return k().useReducer(h,a,R1)},$y.useRef=function(h){return k().useRef(h)},$y.useState=function(h){return k().useState(h)},$y.useSyncExternalStore=function(h,a,R1){return k().useSyncExternalStore(h,a,R1)},$y.useTransition=function(){return k().useTransition()},$y.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var XP=o5((gy)=>{var cW=K5(r9());(function(){function H(){}function Q(R){return""+R}function Y(R,O,C){var $=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{Q($);var _=!1}catch(v){_=!0}return _&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",typeof Symbol==="function"&&Symbol.toStringTag&&$[Symbol.toStringTag]||$.constructor.name||"Object"),Q($)),{$$typeof:V,key:$==null?null:""+$,children:R,containerInfo:O,implementation:C}}function J(R,O){if(R==="font")return"";if(typeof O==="string")return O==="use-credentials"?O:""}function w(R){return R===null?"`null`":R===void 0?"`undefined`":R===""?"an empty string":'something with type "'+typeof R+'"'}function U(R){return R===null?"`null`":R===void 0?"`undefined`":R===""?"an empty string":typeof R==="string"?JSON.stringify(R):typeof R==="number"?"`"+R+"`":'something with type "'+typeof R+'"'}function F(){var R=N.H;return R===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
14
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
15
|
+
2. You might be breaking the Rules of Hooks
|
|
16
|
+
3. You might have more than one copy of React in the same app
|
|
17
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),R}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var B={d:{f:H,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:H,C:H,L:H,m:H,X:H,S:H,M:H},p:0,findDOMNode:null},V=Symbol.for("react.portal"),N=cW.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;typeof Map==="function"&&Map.prototype!=null&&typeof Map.prototype.forEach==="function"&&typeof Set==="function"&&Set.prototype!=null&&typeof Set.prototype.clear==="function"&&typeof Set.prototype.forEach==="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),gy.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=B,gy.createPortal=function(R,O){var C=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!O||O.nodeType!==1&&O.nodeType!==9&&O.nodeType!==11)throw Error("Target container is not a DOM element.");return Y(R,O,null,C)},gy.flushSync=function(R){var O=N.T,C=B.p;try{if(N.T=null,B.p=2,R)return R()}finally{N.T=O,B.p=C,B.d.f()&&console.error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.")}},gy.preconnect=function(R,O){typeof R==="string"&&R?O!=null&&typeof O!=="object"?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",U(O)):O!=null&&typeof O.crossOrigin!=="string"&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",w(O.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",w(R)),typeof R==="string"&&(O?(O=O.crossOrigin,O=typeof O==="string"?O==="use-credentials"?O:"":void 0):O=null,B.d.C(R,O))},gy.prefetchDNS=function(R){if(typeof R!=="string"||!R)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",w(R));else if(1<arguments.length){var O=arguments[1];typeof O==="object"&&O.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",U(O)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",U(O))}typeof R==="string"&&B.d.D(R)},gy.preinit=function(R,O){if(typeof R==="string"&&R?O==null||typeof O!=="object"?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",U(O)):O.as!=="style"&&O.as!=="script"&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',U(O.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",w(R)),typeof R==="string"&&O&&typeof O.as==="string"){var C=O.as,$=J(C,O.crossOrigin),_=typeof O.integrity==="string"?O.integrity:void 0,v=typeof O.fetchPriority==="string"?O.fetchPriority:void 0;C==="style"?B.d.S(R,typeof O.precedence==="string"?O.precedence:void 0,{crossOrigin:$,integrity:_,fetchPriority:v}):C==="script"&&B.d.X(R,{crossOrigin:$,integrity:_,fetchPriority:v,nonce:typeof O.nonce==="string"?O.nonce:void 0})}},gy.preinitModule=function(R,O){var C="";if(typeof R==="string"&&R||(C+=" The `href` argument encountered was "+w(R)+"."),O!==void 0&&typeof O!=="object"?C+=" The `options` argument encountered was "+w(O)+".":O&&("as"in O)&&O.as!=="script"&&(C+=" The `as` option encountered was "+U(O.as)+"."),C)console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",C);else switch(C=O&&typeof O.as==="string"?O.as:"script",C){case"script":break;default:C=U(C),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',C,R)}if(typeof R==="string")if(typeof O==="object"&&O!==null){if(O.as==null||O.as==="script")C=J(O.as,O.crossOrigin),B.d.M(R,{crossOrigin:C,integrity:typeof O.integrity==="string"?O.integrity:void 0,nonce:typeof O.nonce==="string"?O.nonce:void 0})}else O==null&&B.d.M(R)},gy.preload=function(R,O){var C="";if(typeof R==="string"&&R||(C+=" The `href` argument encountered was "+w(R)+"."),O==null||typeof O!=="object"?C+=" The `options` argument encountered was "+w(O)+".":typeof O.as==="string"&&O.as||(C+=" The `as` option encountered was "+w(O.as)+"."),C&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',C),typeof R==="string"&&typeof O==="object"&&O!==null&&typeof O.as==="string"){C=O.as;var $=J(C,O.crossOrigin);B.d.L(R,C,{crossOrigin:$,integrity:typeof O.integrity==="string"?O.integrity:void 0,nonce:typeof O.nonce==="string"?O.nonce:void 0,type:typeof O.type==="string"?O.type:void 0,fetchPriority:typeof O.fetchPriority==="string"?O.fetchPriority:void 0,referrerPolicy:typeof O.referrerPolicy==="string"?O.referrerPolicy:void 0,imageSrcSet:typeof O.imageSrcSet==="string"?O.imageSrcSet:void 0,imageSizes:typeof O.imageSizes==="string"?O.imageSizes:void 0,media:typeof O.media==="string"?O.media:void 0})}},gy.preloadModule=function(R,O){var C="";typeof R==="string"&&R||(C+=" The `href` argument encountered was "+w(R)+"."),O!==void 0&&typeof O!=="object"?C+=" The `options` argument encountered was "+w(O)+".":O&&("as"in O)&&typeof O.as!=="string"&&(C+=" The `as` option encountered was "+w(O.as)+"."),C&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',C),typeof R==="string"&&(O?(C=J(O.as,O.crossOrigin),B.d.m(R,{as:typeof O.as==="string"&&O.as!=="script"?O.as:void 0,crossOrigin:C,integrity:typeof O.integrity==="string"?O.integrity:void 0})):B.d.m(R))},gy.requestFormReset=function(R){B.d.r(R)},gy.unstable_batchedUpdates=function(R,O){return R(O)},gy.useFormState=function(R,O,C){return F().useFormState(R,O,C)},gy.useFormStatus=function(){return F().useHostTransitionStatus()},gy.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var sW=o5((za,QP)=>{var Gy=K5(XP());QP.exports=Gy});var qP=o5((Dy)=>{var x0=K5(ZP()),C8=K5(r9()),nW=K5(sW());(function(){function H(Z,X){for(Z=Z.memoizedState;Z!==null&&0<X;)Z=Z.next,X--;return Z}function Q(Z,X,q,K){if(q>=X.length)return K;var W=X[q],L=g5(Z)?Z.slice():z0({},Z);return L[W]=Q(Z[W],X,q+1,K),L}function Y(Z,X,q){if(X.length!==q.length)console.warn("copyWithRename() expects paths of the same length");else{for(var K=0;K<q.length-1;K++)if(X[K]!==q[K]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return J(Z,X,q,0)}}function J(Z,X,q,K){var W=X[K],L=g5(Z)?Z.slice():z0({},Z);return K+1===X.length?(L[q[K]]=L[W],g5(L)?L.splice(W,1):delete L[W]):L[W]=J(Z[W],X,q,K+1),L}function w(Z,X,q){var K=X[q],W=g5(Z)?Z.slice():z0({},Z);if(q+1===X.length)return g5(W)?W.splice(K,1):delete W[K],W;return W[K]=w(Z[K],X,q+1),W}function U(){return!1}function F(){return null}function B(){console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks")}function V(){console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")}function N(){}function R(){}function O(Z){var X=[];return Z.forEach(function(q){X.push(q)}),X.sort().join(", ")}function C(Z,X,q,K){return new Qx(Z,X,q,K)}function $(Z,X){Z.context===b9&&(Bw(Z.current,2,X,Z,null,null),I7())}function _(Z,X){if(H3!==null){var q=X.staleFamilies;X=X.updatedFamilies,$H(),KV(Z.current,X,q),I7()}}function v(Z){H3=Z}function p(Z){return!(!Z||Z.nodeType!==1&&Z.nodeType!==9&&Z.nodeType!==11)}function m(Z){var X=Z,q=Z;if(Z.alternate)for(;X.return;)X=X.return;else{Z=X;do X=Z,(X.flags&4098)!==0&&(q=X.return),Z=X.return;while(Z)}return X.tag===3?q:null}function Z1(Z){if(Z.tag===13){var X=Z.memoizedState;if(X===null&&(Z=Z.alternate,Z!==null&&(X=Z.memoizedState)),X!==null)return X.dehydrated}return null}function t(Z){if(Z.tag===31){var X=Z.memoizedState;if(X===null&&(Z=Z.alternate,Z!==null&&(X=Z.memoizedState)),X!==null)return X.dehydrated}return null}function U1(Z){if(m(Z)!==Z)throw Error("Unable to find node on an unmounted component.")}function B1(Z){var X=Z.alternate;if(!X){if(X=m(Z),X===null)throw Error("Unable to find node on an unmounted component.");return X!==Z?null:Z}for(var q=Z,K=X;;){var W=q.return;if(W===null)break;var L=W.alternate;if(L===null){if(K=W.return,K!==null){q=K;continue}break}if(W.child===L.child){for(L=W.child;L;){if(L===q)return U1(W),Z;if(L===K)return U1(W),X;L=L.sibling}throw Error("Unable to find node on an unmounted component.")}if(q.return!==K.return)q=W,K=L;else{for(var z=!1,P=W.child;P;){if(P===q){z=!0,q=W,K=L;break}if(P===K){z=!0,K=W,q=L;break}P=P.sibling}if(!z){for(P=L.child;P;){if(P===q){z=!0,q=L,K=W;break}if(P===K){z=!0,K=L,q=W;break}P=P.sibling}if(!z)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(q.alternate!==K)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(q.tag!==3)throw Error("Unable to find node on an unmounted component.");return q.stateNode.current===q?Z:X}function c(Z){var X=Z.tag;if(X===5||X===26||X===27||X===6)return Z;for(Z=Z.child;Z!==null;){if(X=c(Z),X!==null)return X;Z=Z.sibling}return null}function b1(Z){if(Z===null||typeof Z!=="object")return null;return Z=VR&&Z[VR]||Z["@@iterator"],typeof Z==="function"?Z:null}function e(Z){if(Z==null)return null;if(typeof Z==="function")return Z.$$typeof===$E?null:Z.displayName||Z.name||null;if(typeof Z==="string")return Z;switch(Z){case u7:return"Fragment";case Nw:return"Profiler";case xQ:return"StrictMode";case Mw:return"Suspense";case Cw:return"SuspenseList";case bw:return"Activity"}if(typeof Z==="object")switch(typeof Z.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),Z.$$typeof){case m7:return"Portal";case t3:return Z.displayName||"Context";case Pw:return(Z._context.displayName||"Context")+".Consumer";case vH:var X=Z.render;return Z=Z.displayName,Z||(Z=X.displayName||X.name||"",Z=Z!==""?"ForwardRef("+Z+")":"ForwardRef"),Z;case EQ:return X=Z.displayName||null,X!==null?X:e(Z.type)||"Memo";case k2:X=Z._payload,Z=Z._init;try{return e(Z(X))}catch(q){}}return null}function $1(Z){return typeof Z.tag==="number"?k(Z):typeof Z.name==="string"?Z.name:null}function k(Z){var X=Z.type;switch(Z.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(X._context.displayName||"Context")+".Consumer";case 10:return X.displayName||"Context";case 18:return"DehydratedFragment";case 11:return Z=X.render,Z=Z.displayName||Z.name||"",X.displayName||(Z!==""?"ForwardRef("+Z+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return X;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return e(X);case 8:return X===xQ?"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 14:case 15:if(typeof X==="function")return X.displayName||X.name||null;if(typeof X==="string")return X;break;case 29:if(X=Z._debugInfo,X!=null){for(var q=X.length-1;0<=q;q--)if(typeof X[q].name==="string")return X[q].name}if(Z.return!==null)return k(Z.return)}return null}function k1(Z){return{current:Z}}function g1(Z,X){0>h6?console.error("Unexpected pop."):(X!==gw[h6]&&console.error("Unexpected Fiber popped."),Z.current=$w[h6],$w[h6]=null,gw[h6]=null,h6--)}function L1(Z,X,q){h6++,$w[h6]=Z.current,gw[h6]=q,Z.current=X}function h1(Z){return Z===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),Z}function Q1(Z,X){L1(R9,X,Z),L1(SH,Z,Z),L1(j9,null,Z);var q=X.nodeType;switch(q){case 9:case 11:q=q===9?"#document":"#fragment",X=(X=X.documentElement)?(X=X.namespaceURI)?mj(X):l6:l6;break;default:if(q=X.tagName,X=X.namespaceURI)X=mj(X),X=uj(X,q);else switch(q){case"svg":X=N8;break;case"math":X=_q;break;default:X=l6}}q=q.toLowerCase(),q=IB(null,q),q={context:X,ancestorInfo:q},g1(j9,Z),L1(j9,q,Z)}function w1(Z){g1(j9,Z),g1(SH,Z),g1(R9,Z)}function Y1(){return h1(j9.current)}function I1(Z){Z.memoizedState!==null&&L1(IQ,Z,Z);var X=h1(j9.current),q=Z.type,K=uj(X.context,q);q=IB(X.ancestorInfo,q),K={context:K,ancestorInfo:q},X!==K&&(L1(SH,Z,Z),L1(j9,K,Z))}function y1(Z){SH.current===Z&&(g1(j9,Z),g1(SH,Z)),IQ.current===Z&&(g1(IQ,Z),GZ._currentValue=r4)}function b(){}function j1(){if(TH===0){zR=console.log,jR=console.info,RR=console.warn,OR=console.error,NR=console.group,PR=console.groupCollapsed,MR=console.groupEnd;var Z={configurable:!0,enumerable:!0,value:b,writable:!0};Object.defineProperties(console,{info:Z,log:Z,warn:Z,error:Z,group:Z,groupCollapsed:Z,groupEnd:Z})}TH++}function T1(){if(TH--,TH===0){var Z={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:z0({},Z,{value:zR}),info:z0({},Z,{value:jR}),warn:z0({},Z,{value:RR}),error:z0({},Z,{value:OR}),group:z0({},Z,{value:NR}),groupCollapsed:z0({},Z,{value:PR}),groupEnd:z0({},Z,{value:MR})})}0>TH&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function y(Z){var X=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,Z=Z.stack,Error.prepareStackTrace=X,Z.startsWith(`Error: react-stack-top-frame
|
|
18
|
+
`)&&(Z=Z.slice(29)),X=Z.indexOf(`
|
|
19
|
+
`),X!==-1&&(Z=Z.slice(X+1)),X=Z.indexOf("react_stack_bottom_frame"),X!==-1&&(X=Z.lastIndexOf(`
|
|
20
|
+
`,X)),X!==-1)Z=Z.slice(0,X);else return"";return Z}function d1(Z){if(Gw===void 0)try{throw Error()}catch(q){var X=q.stack.trim().match(/\n( *(at )?)/);Gw=X&&X[1]||"",CR=-1<q.stack.indexOf(`
|
|
21
|
+
at`)?" (<anonymous>)":-1<q.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
22
|
+
`+Gw+Z+CR}function o1(Z,X){if(!Z||Dw)return"";var q=hw.get(Z);if(q!==void 0)return q;Dw=!0,q=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var K=null;K=X1.H,X1.H=null,j1();try{var W={DetermineComponentFrameRoot:function(){try{if(X){var T=function(){throw Error()};if(Object.defineProperty(T.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(T,[])}catch(D1){var o=D1}Reflect.construct(Z,[],T)}else{try{T.call()}catch(D1){o=D1}Z.call(T.prototype)}}else{try{throw Error()}catch(D1){o=D1}(T=Z())&&typeof T.catch==="function"&&T.catch(function(){})}}catch(D1){if(D1&&o&&typeof D1.stack==="string")return[D1.stack,o.stack]}return[null,null]}};W.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var L=Object.getOwnPropertyDescriptor(W.DetermineComponentFrameRoot,"name");L&&L.configurable&&Object.defineProperty(W.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var z=W.DetermineComponentFrameRoot(),P=z[0],g=z[1];if(P&&g){var D=P.split(`
|
|
23
|
+
`),i=g.split(`
|
|
24
|
+
`);for(z=L=0;L<D.length&&!D[L].includes("DetermineComponentFrameRoot");)L++;for(;z<i.length&&!i[z].includes("DetermineComponentFrameRoot");)z++;if(L===D.length||z===i.length)for(L=D.length-1,z=i.length-1;1<=L&&0<=z&&D[L]!==i[z];)z--;for(;1<=L&&0<=z;L--,z--)if(D[L]!==i[z]){if(L!==1||z!==1)do if(L--,z--,0>z||D[L]!==i[z]){var d=`
|
|
25
|
+
`+D[L].replace(" at new "," at ");return Z.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",Z.displayName)),typeof Z==="function"&&hw.set(Z,d),d}while(1<=L&&0<=z);break}}}finally{Dw=!1,X1.H=K,T1(),Error.prepareStackTrace=q}return D=(D=Z?Z.displayName||Z.name:"")?d1(D):"",typeof Z==="function"&&hw.set(Z,D),D}function m1(Z,X){switch(Z.tag){case 26:case 27:case 5:return d1(Z.type);case 16:return d1("Lazy");case 13:return Z.child!==X&&X!==null?d1("Suspense Fallback"):d1("Suspense");case 19:return d1("SuspenseList");case 0:case 15:return o1(Z.type,!1);case 11:return o1(Z.type.render,!1);case 1:return o1(Z.type,!0);case 31:return d1("Activity");default:return""}}function y0(Z){try{var X="",q=null;do{X+=m1(Z,q);var K=Z._debugInfo;if(K)for(var W=K.length-1;0<=W;W--){var L=K[W];if(typeof L.name==="string"){var z=X;H:{var{name:P,env:g,debugLocation:D}=L;if(D!=null){var i=y(D),d=i.lastIndexOf(`
|
|
26
|
+
`),T=d===-1?i:i.slice(d+1);if(T.indexOf(P)!==-1){var o=`
|
|
27
|
+
`+T;break H}}o=d1(P+(g?" ["+g+"]":""))}X=z+o}}q=Z,Z=Z.return}while(Z);return X}catch(D1){return`
|
|
28
|
+
Error generating stack: `+D1.message+`
|
|
29
|
+
`+D1.stack}}function Y0(Z){return(Z=Z?Z.displayName||Z.name:"")?d1(Z):""}function w0(){if(f2===null)return null;var Z=f2._debugOwner;return Z!=null?$1(Z):null}function j5(){if(f2===null)return"";var Z=f2;try{var X="";switch(Z.tag===6&&(Z=Z.return),Z.tag){case 26:case 27:case 5:X+=d1(Z.type);break;case 13:X+=d1("Suspense");break;case 19:X+=d1("SuspenseList");break;case 31:X+=d1("Activity");break;case 30:case 0:case 15:case 1:Z._debugOwner||X!==""||(X+=Y0(Z.type));break;case 11:Z._debugOwner||X!==""||(X+=Y0(Z.type.render))}for(;Z;)if(typeof Z.tag==="number"){var q=Z;Z=q._debugOwner;var K=q._debugStack;if(Z&&K){var W=y(K);W!==""&&(X+=`
|
|
30
|
+
`+W)}}else if(Z.debugStack!=null){var L=Z.debugStack;(Z=Z.owner)&&L&&(X+=`
|
|
31
|
+
`+y(L))}else break;var z=X}catch(P){z=`
|
|
32
|
+
Error generating stack: `+P.message+`
|
|
33
|
+
`+P.stack}return z}function G1(Z,X,q,K,W,L,z){var P=f2;F5(Z);try{return Z!==null&&Z._debugTask?Z._debugTask.run(X.bind(null,q,K,W,L,z)):X(q,K,W,L,z)}finally{F5(P)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function F5(Z){X1.getCurrentStack=Z===null?null:j5,e3=!1,f2=Z}function x5(Z){return typeof Symbol==="function"&&Symbol.toStringTag&&Z[Symbol.toStringTag]||Z.constructor.name||"Object"}function E5(Z){try{return t0(Z),!1}catch(X){return!0}}function t0(Z){return""+Z}function g0(Z,X){if(E5(Z))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",X,x5(Z)),t0(Z)}function v3(Z,X){if(E5(Z))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",X,x5(Z)),t0(Z)}function _1(Z){if(E5(Z))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",x5(Z)),t0(Z)}function I0(Z){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var X=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(X.isDisabled)return!0;if(!X.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{f7=X.inject(Z),s5=X}catch(q){console.error("React instrumentation encountered an error: %o.",q)}return X.checkDCE?!0:!1}function W0(Z){if(typeof EE==="function"&&IE(Z),s5&&typeof s5.setStrictMode==="function")try{s5.setStrictMode(f7,Z)}catch(X){H6||(H6=!0,console.error("React instrumentation encountered an error: %o",X))}}function q2(Z){return Z>>>=0,Z===0?32:31-(yE(Z)/vE|0)|0}function I5(Z){var X=Z&42;if(X!==0)return X;switch(Z&-Z){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return Z&261888;case 262144:case 524288:case 1048576:case 2097152:return Z&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return Z&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),Z}}function R6(Z,X,q){var K=Z.pendingLanes;if(K===0)return 0;var W=0,L=Z.suspendedLanes,z=Z.pingedLanes;Z=Z.warmLanes;var P=K&134217727;return P!==0?(K=P&~L,K!==0?W=I5(K):(z&=P,z!==0?W=I5(z):q||(q=P&~Z,q!==0&&(W=I5(q))))):(P=K&~L,P!==0?W=I5(P):z!==0?W=I5(z):q||(q=K&~Z,q!==0&&(W=I5(q)))),W===0?0:X!==0&&X!==W&&(X&L)===0&&(L=W&-W,q=X&-X,L>=q||L===32&&(q&4194048)!==0)?X:W}function O6(Z,X){return(Z.pendingLanes&~(Z.suspendedLanes&~Z.pingedLanes)&X)===0}function o8(Z,X){switch(Z){case 1:case 2:case 4:case 8:case 64:return X+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return X+5000;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function J1(){var Z=SQ;return SQ<<=1,(SQ&62914560)===0&&(SQ=4194304),Z}function K1(Z){for(var X=[],q=0;31>q;q++)X.push(Z);return X}function S1(Z,X){Z.pendingLanes|=X,X!==268435456&&(Z.suspendedLanes=0,Z.pingedLanes=0,Z.warmLanes=0)}function J0(Z,X,q,K,W,L){var z=Z.pendingLanes;Z.pendingLanes=q,Z.suspendedLanes=0,Z.pingedLanes=0,Z.warmLanes=0,Z.expiredLanes&=q,Z.entangledLanes&=q,Z.errorRecoveryDisabledLanes&=q,Z.shellSuspendCounter=0;var{entanglements:P,expirationTimes:g,hiddenUpdates:D}=Z;for(q=z&~q;0<q;){var i=31-K2(q),d=1<<i;P[i]=0,g[i]=-1;var T=D[i];if(T!==null)for(D[i]=null,i=0;i<T.length;i++){var o=T[i];o!==null&&(o.lane&=-536870913)}q&=~d}K!==0&&C0(Z,K,0),L!==0&&W===0&&Z.tag!==0&&(Z.suspendedLanes|=L&~(z&~X))}function C0(Z,X,q){Z.pendingLanes|=X,Z.suspendedLanes&=~X;var K=31-K2(X);Z.entangledLanes|=X,Z.entanglements[K]=Z.entanglements[K]|1073741824|q&261930}function q5(Z,X){var q=Z.entangledLanes|=X;for(Z=Z.entanglements;q;){var K=31-K2(q),W=1<<K;W&X|Z[K]&X&&(Z[K]|=X),q&=~W}}function Y2(Z,X){var q=X&-X;return q=(q&42)!==0?1:k5(q),(q&(Z.suspendedLanes|X))!==0?0:q}function k5(Z){switch(Z){case 2:Z=1;break;case 8:Z=4;break;case 32:Z=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:Z=128;break;case 268435456:Z=134217728;break;default:Z=0}return Z}function B3(Z,X,q){if(Z6)for(Z=Z.pendingUpdatersLaneMap;0<q;){var K=31-K2(q),W=1<<K;Z[K].add(X),q&=~W}}function M2(Z,X){if(Z6)for(var{pendingUpdatersLaneMap:q,memoizedUpdaters:K}=Z;0<X;){var W=31-K2(X);Z=1<<W,W=q[W],0<W.size&&(W.forEach(function(L){var z=L.alternate;z!==null&&K.has(z)||K.add(L)}),W.clear()),X&=~Z}}function h(Z){return Z&=-Z,l2!==0&&l2<Z?O3!==0&&O3<Z?(Z&134217727)!==0?X6:TQ:O3:l2}function a(){var Z=S0.p;if(Z!==0)return Z;return Z=window.event,Z===void 0?X6:KR(Z.type)}function R1(Z,X){var q=S0.p;try{return S0.p=Z,X()}finally{S0.p=q}}function x1(Z){delete Z[r5],delete Z[w2],delete Z[yw],delete Z[SE],delete Z[TE]}function f1(Z){var X=Z[r5];if(X)return X;for(var q=Z.parentNode;q;){if(X=q[N9]||q[r5]){if(q=X.alternate,X.child!==null||q!==null&&q.child!==null)for(Z=aj(Z);Z!==null;){if(q=Z[r5])return q;Z=aj(Z)}return X}Z=q,q=Z.parentNode}return null}function X0(Z){if(Z=Z[r5]||Z[N9]){var X=Z.tag;if(X===5||X===6||X===13||X===31||X===26||X===27||X===3)return Z}return null}function Q0(Z){var X=Z.tag;if(X===5||X===26||X===27||X===6)return Z.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function _0(Z){var X=Z[bR];return X||(X=Z[bR]={hoistableStyles:new Map,hoistableScripts:new Map}),X}function r1(Z){Z[AH]=!0}function a5(Z,X){E2(Z,X),E2(Z+"Capture",X)}function E2(Z,X){C4[Z]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",Z),C4[Z]=X;var q=Z.toLowerCase();vw[q]=Z,Z==="onDoubleClick"&&(vw.ondblclick=Z);for(Z=0;Z<X.length;Z++)$R.add(X[Z])}function Q9(Z,X){AE[X.type]||X.onChange||X.onInput||X.readOnly||X.disabled||X.value==null||(Z==="select"?console.error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`."):console.error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")),X.onChange||X.readOnly||X.disabled||X.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function t8(Z){if(R3.call(GR,Z))return!0;if(R3.call(gR,Z))return!1;if(mE.test(Z))return GR[Z]=!0;return gR[Z]=!0,console.error("Invalid attribute name: `%s`",Z),!1}function RB(Z,X,q){if(t8(X)){if(!Z.hasAttribute(X)){switch(typeof q){case"symbol":case"object":return q;case"function":return q;case"boolean":if(q===!1)return q}return q===void 0?void 0:null}if(Z=Z.getAttribute(X),Z===""&&q===!0)return!0;return g0(q,X),Z===""+q?q:Z}}function CX(Z,X,q){if(t8(X))if(q===null)Z.removeAttribute(X);else{switch(typeof q){case"undefined":case"function":case"symbol":Z.removeAttribute(X);return;case"boolean":var K=X.toLowerCase().slice(0,5);if(K!=="data-"&&K!=="aria-"){Z.removeAttribute(X);return}}g0(q,X),Z.setAttribute(X,""+q)}}function bX(Z,X,q){if(q===null)Z.removeAttribute(X);else{switch(typeof q){case"undefined":case"function":case"symbol":case"boolean":Z.removeAttribute(X);return}g0(q,X),Z.setAttribute(X,""+q)}}function N6(Z,X,q,K){if(K===null)Z.removeAttribute(q);else{switch(typeof K){case"undefined":case"function":case"symbol":case"boolean":Z.removeAttribute(q);return}g0(K,q),Z.setAttributeNS(X,q,""+K)}}function s2(Z){switch(typeof Z){case"bigint":case"boolean":case"number":case"string":case"undefined":return Z;case"object":return _1(Z),Z;default:return""}}function OB(Z){var X=Z.type;return(Z=Z.nodeName)&&Z.toLowerCase()==="input"&&(X==="checkbox"||X==="radio")}function v_(Z,X,q){var K=Object.getOwnPropertyDescriptor(Z.constructor.prototype,X);if(!Z.hasOwnProperty(X)&&typeof K<"u"&&typeof K.get==="function"&&typeof K.set==="function"){var{get:W,set:L}=K;return Object.defineProperty(Z,X,{configurable:!0,get:function(){return W.call(this)},set:function(z){_1(z),q=""+z,L.call(this,z)}}),Object.defineProperty(Z,X,{enumerable:K.enumerable}),{getValue:function(){return q},setValue:function(z){_1(z),q=""+z},stopTracking:function(){Z._valueTracker=null,delete Z[X]}}}}function VJ(Z){if(!Z._valueTracker){var X=OB(Z)?"checked":"value";Z._valueTracker=v_(Z,X,""+Z[X])}}function NB(Z){if(!Z)return!1;var X=Z._valueTracker;if(!X)return!0;var q=X.getValue(),K="";return Z&&(K=OB(Z)?Z.checked?"true":"false":Z.value),Z=K,Z!==q?(X.setValue(Z),!0):!1}function $X(Z){if(Z=Z||(typeof document<"u"?document:void 0),typeof Z>"u")return null;try{return Z.activeElement||Z.body}catch(X){return Z.body}}function n2(Z){return Z.replace(uE,function(X){return"\\"+X.charCodeAt(0).toString(16)+" "})}function PB(Z,X){X.checked===void 0||X.defaultChecked===void 0||hR||(console.error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",w0()||"A component",X.type),hR=!0),X.value===void 0||X.defaultValue===void 0||DR||(console.error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",w0()||"A component",X.type),DR=!0)}function zJ(Z,X,q,K,W,L,z,P){if(Z.name="",z!=null&&typeof z!=="function"&&typeof z!=="symbol"&&typeof z!=="boolean"?(g0(z,"type"),Z.type=z):Z.removeAttribute("type"),X!=null)if(z==="number"){if(X===0&&Z.value===""||Z.value!=X)Z.value=""+s2(X)}else Z.value!==""+s2(X)&&(Z.value=""+s2(X));else z!=="submit"&&z!=="reset"||Z.removeAttribute("value");X!=null?jJ(Z,z,s2(X)):q!=null?jJ(Z,z,s2(q)):K!=null&&Z.removeAttribute("value"),W==null&&L!=null&&(Z.defaultChecked=!!L),W!=null&&(Z.checked=W&&typeof W!=="function"&&typeof W!=="symbol"),P!=null&&typeof P!=="function"&&typeof P!=="symbol"&&typeof P!=="boolean"?(g0(P,"name"),Z.name=""+s2(P)):Z.removeAttribute("name")}function MB(Z,X,q,K,W,L,z,P){if(L!=null&&typeof L!=="function"&&typeof L!=="symbol"&&typeof L!=="boolean"&&(g0(L,"type"),Z.type=L),X!=null||q!=null){if(!(L!=="submit"&&L!=="reset"||X!==void 0&&X!==null)){VJ(Z);return}q=q!=null?""+s2(q):"",X=X!=null?""+s2(X):q,P||X===Z.value||(Z.value=X),Z.defaultValue=X}K=K!=null?K:W,K=typeof K!=="function"&&typeof K!=="symbol"&&!!K,Z.checked=P?Z.checked:!!K,Z.defaultChecked=!!K,z!=null&&typeof z!=="function"&&typeof z!=="symbol"&&typeof z!=="boolean"&&(g0(z,"name"),Z.name=z),VJ(Z)}function jJ(Z,X,q){X==="number"&&$X(Z.ownerDocument)===Z||Z.defaultValue===""+q||(Z.defaultValue=""+q)}function CB(Z,X){X.value==null&&(typeof X.children==="object"&&X.children!==null?C8.Children.forEach(X.children,function(q){q==null||typeof q==="string"||typeof q==="number"||typeof q==="bigint"||xR||(xR=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):X.dangerouslySetInnerHTML==null||ER||(ER=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),X.selected==null||_R||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),_R=!0)}function bB(){var Z=w0();return Z?`
|
|
34
|
+
|
|
35
|
+
Check the render method of \``+Z+"`.":""}function P7(Z,X,q,K){if(Z=Z.options,X){X={};for(var W=0;W<q.length;W++)X["$"+q[W]]=!0;for(q=0;q<Z.length;q++)W=X.hasOwnProperty("$"+Z[q].value),Z[q].selected!==W&&(Z[q].selected=W),W&&K&&(Z[q].defaultSelected=!0)}else{q=""+s2(q),X=null;for(W=0;W<Z.length;W++){if(Z[W].value===q){Z[W].selected=!0,K&&(Z[W].defaultSelected=!0);return}X!==null||Z[W].disabled||(X=Z[W])}X!==null&&(X.selected=!0)}}function $B(Z,X){for(Z=0;Z<yR.length;Z++){var q=yR[Z];if(X[q]!=null){var K=g5(X[q]);X.multiple&&!K?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",q,bB()):!X.multiple&&K&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",q,bB())}}X.value===void 0||X.defaultValue===void 0||IR||(console.error("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components"),IR=!0)}function gB(Z,X){X.value===void 0||X.defaultValue===void 0||vR||(console.error("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components",w0()||"A component"),vR=!0),X.children!=null&&X.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function GB(Z,X,q){if(X!=null&&(X=""+s2(X),X!==Z.value&&(Z.value=X),q==null)){Z.defaultValue!==X&&(Z.defaultValue=X);return}Z.defaultValue=q!=null?""+s2(q):""}function DB(Z,X,q,K){if(X==null){if(K!=null){if(q!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(g5(K)){if(1<K.length)throw Error("<textarea> can only have at most one child.");K=K[0]}q=K}q==null&&(q=""),X=q}q=s2(X),Z.defaultValue=q,K=Z.textContent,K===q&&K!==""&&K!==null&&(Z.value=K),VJ(Z)}function hB(Z,X){return Z.serverProps===void 0&&Z.serverTail.length===0&&Z.children.length===1&&3<Z.distanceFromLeaf&&Z.distanceFromLeaf>15-X?hB(Z.children[0],X):Z}function I2(Z){return" "+" ".repeat(Z)}function M7(Z){return"+ "+" ".repeat(Z)}function K4(Z){return"- "+" ".repeat(Z)}function _B(Z){switch(Z.tag){case 26:case 27:case 5:return Z.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return Z=Z.type,Z.displayName||Z.name||null;case 11:return Z=Z.type.render,Z.displayName||Z.name||null;case 1:return Z=Z.type,Z.displayName||Z.name||null;default:return null}}function e8(Z,X){return SR.test(Z)?(Z=JSON.stringify(Z),Z.length>X-2?8>X?'{"..."}':"{"+Z.slice(0,X-7)+'..."}':"{"+Z+"}"):Z.length>X?5>X?'{"..."}':Z.slice(0,X-3)+"...":Z}function gX(Z,X,q){var K=120-2*q;if(X===null)return M7(q)+e8(Z,K)+`
|
|
36
|
+
`;if(typeof X==="string"){for(var W=0;W<X.length&&W<Z.length&&X.charCodeAt(W)===Z.charCodeAt(W);W++);return W>K-8&&10<W&&(Z="..."+Z.slice(W-8),X="..."+X.slice(W-8)),M7(q)+e8(Z,K)+`
|
|
37
|
+
`+K4(q)+e8(X,K)+`
|
|
38
|
+
`}return I2(q)+e8(Z,K)+`
|
|
39
|
+
`}function RJ(Z){return Object.prototype.toString.call(Z).replace(/^\[object (.*)\]$/,function(X,q){return q})}function HH(Z,X){switch(typeof Z){case"string":return Z=JSON.stringify(Z),Z.length>X?5>X?'"..."':Z.slice(0,X-4)+'..."':Z;case"object":if(Z===null)return"null";if(g5(Z))return"[...]";if(Z.$$typeof===o3)return(X=e(Z.type))?"<"+X+">":"<...>";var q=RJ(Z);if(q==="Object"){q="",X-=2;for(var K in Z)if(Z.hasOwnProperty(K)){var W=JSON.stringify(K);if(W!=='"'+K+'"'&&(K=W),X-=K.length-2,W=HH(Z[K],15>X?X:15),X-=W.length,0>X){q+=q===""?"...":", ...";break}q+=(q===""?"":",")+K+":"+W}return"{"+q+"}"}return q;case"function":return(X=Z.displayName||Z.name)?"function "+X:"function";default:return String(Z)}}function C7(Z,X){return typeof Z!=="string"||SR.test(Z)?"{"+HH(Z,X-2)+"}":Z.length>X-2?5>X?'"..."':'"'+Z.slice(0,X-5)+'..."':'"'+Z+'"'}function OJ(Z,X,q){var K=120-q.length-Z.length,W=[],L;for(L in X)if(X.hasOwnProperty(L)&&L!=="children"){var z=C7(X[L],120-q.length-L.length-1);K-=L.length+z.length+2,W.push(L+"="+z)}return W.length===0?q+"<"+Z+`>
|
|
40
|
+
`:0<K?q+"<"+Z+" "+W.join(" ")+`>
|
|
41
|
+
`:q+"<"+Z+`
|
|
42
|
+
`+q+" "+W.join(`
|
|
43
|
+
`+q+" ")+`
|
|
44
|
+
`+q+`>
|
|
45
|
+
`}function S_(Z,X,q){var K="",W=z0({},X),L;for(L in Z)if(Z.hasOwnProperty(L)){delete W[L];var z=120-2*q-L.length-2,P=HH(Z[L],z);X.hasOwnProperty(L)?(z=HH(X[L],z),K+=M7(q)+L+": "+P+`
|
|
46
|
+
`,K+=K4(q)+L+": "+z+`
|
|
47
|
+
`):K+=M7(q)+L+": "+P+`
|
|
48
|
+
`}for(var g in W)W.hasOwnProperty(g)&&(Z=HH(W[g],120-2*q-g.length-2),K+=K4(q)+g+": "+Z+`
|
|
49
|
+
`);return K}function T_(Z,X,q,K){var W="",L=new Map;for(D in q)q.hasOwnProperty(D)&&L.set(D.toLowerCase(),D);if(L.size===1&&L.has("children"))W+=OJ(Z,X,I2(K));else{for(var z in X)if(X.hasOwnProperty(z)&&z!=="children"){var P=120-2*(K+1)-z.length-1,g=L.get(z.toLowerCase());if(g!==void 0){L.delete(z.toLowerCase());var D=X[z];g=q[g];var i=C7(D,P);P=C7(g,P),typeof D==="object"&&D!==null&&typeof g==="object"&&g!==null&&RJ(D)==="Object"&&RJ(g)==="Object"&&(2<Object.keys(D).length||2<Object.keys(g).length||-1<i.indexOf("...")||-1<P.indexOf("..."))?W+=I2(K+1)+z+`={{
|
|
50
|
+
`+S_(D,g,K+2)+I2(K+1)+`}}
|
|
51
|
+
`:(W+=M7(K+1)+z+"="+i+`
|
|
52
|
+
`,W+=K4(K+1)+z+"="+P+`
|
|
53
|
+
`)}else W+=I2(K+1)+z+"="+C7(X[z],P)+`
|
|
54
|
+
`}L.forEach(function(d){if(d!=="children"){var T=120-2*(K+1)-d.length-1;W+=K4(K+1)+d+"="+C7(q[d],T)+`
|
|
55
|
+
`}}),W=W===""?I2(K)+"<"+Z+`>
|
|
56
|
+
`:I2(K)+"<"+Z+`
|
|
57
|
+
`+W+I2(K)+`>
|
|
58
|
+
`}if(Z=q.children,X=X.children,typeof Z==="string"||typeof Z==="number"||typeof Z==="bigint"){if(L="",typeof X==="string"||typeof X==="number"||typeof X==="bigint")L=""+X;W+=gX(L,""+Z,K+1)}else if(typeof X==="string"||typeof X==="number"||typeof X==="bigint")W=Z==null?W+gX(""+X,null,K+1):W+gX(""+X,void 0,K+1);return W}function xB(Z,X){var q=_B(Z);if(q===null){q="";for(Z=Z.child;Z;)q+=xB(Z,X),Z=Z.sibling;return q}return I2(X)+"<"+q+`>
|
|
59
|
+
`}function NJ(Z,X){var q=hB(Z,X);if(q!==Z&&(Z.children.length!==1||Z.children[0]!==q))return I2(X)+`...
|
|
60
|
+
`+NJ(q,X+1);q="";var K=Z.fiber._debugInfo;if(K)for(var W=0;W<K.length;W++){var L=K[W].name;typeof L==="string"&&(q+=I2(X)+"<"+L+`>
|
|
61
|
+
`,X++)}if(K="",W=Z.fiber.pendingProps,Z.fiber.tag===6)K=gX(W,Z.serverProps,X),X++;else if(L=_B(Z.fiber),L!==null)if(Z.serverProps===void 0){K=X;var z=120-2*K-L.length-2,P="";for(D in W)if(W.hasOwnProperty(D)&&D!=="children"){var g=C7(W[D],15);if(z-=D.length+g.length+2,0>z){P+=" ...";break}P+=" "+D+"="+g}K=I2(K)+"<"+L+P+`>
|
|
62
|
+
`,X++}else Z.serverProps===null?(K=OJ(L,W,M7(X)),X++):typeof Z.serverProps==="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(K=T_(L,W,Z.serverProps,X),X++);var D="";W=Z.fiber.child;for(L=0;W&&L<Z.children.length;)z=Z.children[L],z.fiber===W?(D+=NJ(z,X),L++):D+=xB(W,X),W=W.sibling;W&&0<Z.children.length&&(D+=I2(X)+`...
|
|
63
|
+
`),W=Z.serverTail,Z.serverProps===null&&X--;for(Z=0;Z<W.length;Z++)L=W[Z],D=typeof L==="string"?D+(K4(X)+e8(L,120-2*X)+`
|
|
64
|
+
`):D+OJ(L.type,L.props,K4(X));return q+K+D}function PJ(Z){try{return`
|
|
65
|
+
|
|
66
|
+
`+NJ(Z,0)}catch(X){return""}}function EB(Z,X,q){for(var K=X,W=null,L=0;K;)K===Z&&(L=0),W={fiber:K,children:W!==null?[W]:[],serverProps:K===X?q:K===Z?null:void 0,serverTail:[],distanceFromLeaf:L},L++,K=K.return;return W!==null?PJ(W).replaceAll(/^[+-]/gm,">"):""}function IB(Z,X){var q=z0({},Z||AR),K={tag:X};if(TR.indexOf(X)!==-1&&(q.aTagInScope=null,q.buttonTagInScope=null,q.nobrTagInScope=null),fE.indexOf(X)!==-1&&(q.pTagInButtonScope=null),kE.indexOf(X)!==-1&&X!=="address"&&X!=="div"&&X!=="p"&&(q.listItemTagAutoclosing=null,q.dlItemTagAutoclosing=null),q.current=K,X==="form"&&(q.formTag=K),X==="a"&&(q.aTagInScope=K),X==="button"&&(q.buttonTagInScope=K),X==="nobr"&&(q.nobrTagInScope=K),X==="p"&&(q.pTagInButtonScope=K),X==="li"&&(q.listItemTagAutoclosing=K),X==="dd"||X==="dt")q.dlItemTagAutoclosing=K;return X==="#document"||X==="html"?q.containerTagInScope=null:q.containerTagInScope||(q.containerTagInScope=K),Z!==null||X!=="#document"&&X!=="html"&&X!=="body"?q.implicitRootScope===!0&&(q.implicitRootScope=!1):q.implicitRootScope=!0,q}function yB(Z,X,q){switch(X){case"select":return Z==="hr"||Z==="option"||Z==="optgroup"||Z==="script"||Z==="template"||Z==="#text";case"optgroup":return Z==="option"||Z==="#text";case"option":return Z==="#text";case"tr":return Z==="th"||Z==="td"||Z==="style"||Z==="script"||Z==="template";case"tbody":case"thead":case"tfoot":return Z==="tr"||Z==="style"||Z==="script"||Z==="template";case"colgroup":return Z==="col"||Z==="template";case"table":return Z==="caption"||Z==="colgroup"||Z==="tbody"||Z==="tfoot"||Z==="thead"||Z==="style"||Z==="script"||Z==="template";case"head":return Z==="base"||Z==="basefont"||Z==="bgsound"||Z==="link"||Z==="meta"||Z==="title"||Z==="noscript"||Z==="noframes"||Z==="style"||Z==="script"||Z==="template";case"html":if(q)break;return Z==="head"||Z==="body"||Z==="frameset";case"frameset":return Z==="frame";case"#document":if(!q)return Z==="html"}switch(Z){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return X!=="h1"&&X!=="h2"&&X!=="h3"&&X!=="h4"&&X!=="h5"&&X!=="h6";case"rp":case"rt":return lE.indexOf(X)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return X==null;case"head":return q||X===null;case"html":return q&&X==="#document"||X===null;case"body":return q&&(X==="#document"||X==="html")||X===null}return!0}function A_(Z,X){switch(Z){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return X.pTagInButtonScope;case"form":return X.formTag||X.pTagInButtonScope;case"li":return X.listItemTagAutoclosing;case"dd":case"dt":return X.dlItemTagAutoclosing;case"button":return X.buttonTagInScope;case"a":return X.aTagInScope;case"nobr":return X.nobrTagInScope}return null}function vB(Z,X){for(;Z;){switch(Z.tag){case 5:case 26:case 27:if(Z.type===X)return Z}Z=Z.return}return null}function MJ(Z,X){X=X||AR;var q=X.current;if(X=(q=yB(Z,q&&q.tag,X.implicitRootScope)?null:q)?null:A_(Z,X),X=q||X,!X)return!0;var K=X.tag;if(X=String(!!q)+"|"+Z+"|"+K,AQ[X])return!1;AQ[X]=!0;var W=(X=f2)?vB(X.return,K):null,L=X!==null&&W!==null?EB(W,X,null):"",z="<"+Z+">";return q?(q="",K==="table"&&Z==="tr"&&(q+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),console.error(`In HTML, %s cannot be a child of <%s>.%s
|
|
67
|
+
This will cause a hydration error.%s`,z,K,q,L)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
68
|
+
This will cause a hydration error.%s`,z,K,L),X&&(Z=X.return,W===null||Z===null||W===Z&&Z._debugOwner===X._debugOwner||G1(W,function(){console.error(`<%s> cannot contain a nested %s.
|
|
69
|
+
See this log for the ancestor stack trace.`,K,z)})),!1}function GX(Z,X,q){if(q||yB("#text",X,!1))return!0;if(q="#text|"+X,AQ[q])return!1;AQ[q]=!0;var K=(q=f2)?vB(q,X):null;return q=q!==null&&K!==null?EB(K,q,q.tag!==6?{children:null}:null):"",/\S/.test(Z)?console.error(`In HTML, text nodes cannot be a child of <%s>.
|
|
70
|
+
This will cause a hydration error.%s`,X,q):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
|
|
71
|
+
This will cause a hydration error.%s`,X,q),!1}function ZH(Z,X){if(X){var q=Z.firstChild;if(q&&q===Z.lastChild&&q.nodeType===3){q.nodeValue=X;return}}Z.textContent=X}function m_(Z){return Z.replace(iE,function(X,q){return q.toUpperCase()})}function SB(Z,X,q){var K=X.indexOf("--")===0;K||(-1<X.indexOf("-")?l7.hasOwnProperty(X)&&l7[X]||(l7[X]=!0,console.error("Unsupported style property %s. Did you mean %s?",X,m_(X.replace(rE,"ms-")))):pE.test(X)?l7.hasOwnProperty(X)&&l7[X]||(l7[X]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",X,X.charAt(0).toUpperCase()+X.slice(1))):!kR.test(q)||Tw.hasOwnProperty(q)&&Tw[q]||(Tw[q]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,X,q.replace(kR,""))),typeof q==="number"&&(isNaN(q)?fR||(fR=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",X)):isFinite(q)||lR||(lR=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",X)))),q==null||typeof q==="boolean"||q===""?K?Z.setProperty(X,""):X==="float"?Z.cssFloat="":Z[X]="":K?Z.setProperty(X,q):typeof q!=="number"||q===0||pR.has(X)?X==="float"?Z.cssFloat=q:(v3(q,X),Z[X]=(""+q).trim()):Z[X]=q+"px"}function TB(Z,X,q){if(X!=null&&typeof X!=="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(X&&Object.freeze(X),Z=Z.style,q!=null){if(X){var K={};if(q){for(var W in q)if(q.hasOwnProperty(W)&&!X.hasOwnProperty(W))for(var L=Sw[W]||[W],z=0;z<L.length;z++)K[L[z]]=W}for(var P in X)if(X.hasOwnProperty(P)&&(!q||q[P]!==X[P]))for(W=Sw[P]||[P],L=0;L<W.length;L++)K[W[L]]=P;P={};for(var g in X)for(W=Sw[g]||[g],L=0;L<W.length;L++)P[W[L]]=g;g={};for(var D in K)if(W=K[D],(L=P[D])&&W!==L&&(z=W+","+L,!g[z])){g[z]=!0,z=console;var i=X[W];z.error.call(z,"%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",i==null||typeof i==="boolean"||i===""?"Removing":"Updating",W,L)}}for(var d in q)!q.hasOwnProperty(d)||X!=null&&X.hasOwnProperty(d)||(d.indexOf("--")===0?Z.setProperty(d,""):d==="float"?Z.cssFloat="":Z[d]="");for(var T in X)D=X[T],X.hasOwnProperty(T)&&q[T]!==D&&SB(Z,T,D)}else for(K in X)X.hasOwnProperty(K)&&SB(Z,K,X[K])}function XH(Z){if(Z.indexOf("-")===-1)return!1;switch(Z){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function AB(Z){return dE.get(Z)||Z}function u_(Z,X){if(R3.call(r7,X)&&r7[X])return!0;if(cE.test(X)){if(Z="aria-"+X.slice(4).toLowerCase(),Z=rR.hasOwnProperty(Z)?Z:null,Z==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",X),r7[X]=!0;if(X!==Z)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",X,Z),r7[X]=!0}if(aE.test(X)){if(Z=X.toLowerCase(),Z=rR.hasOwnProperty(Z)?Z:null,Z==null)return r7[X]=!0,!1;X!==Z&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",X,Z),r7[X]=!0)}return!0}function k_(Z,X){var q=[],K;for(K in X)u_(Z,K)||q.push(K);X=q.map(function(W){return"`"+W+"`"}).join(", "),q.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",X,Z):1<q.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",X,Z)}function f_(Z,X,q,K){if(R3.call(W2,X)&&W2[X])return!0;var W=X.toLowerCase();if(W==="onfocusin"||W==="onfocusout")return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),W2[X]=!0;if(typeof q==="function"&&(Z==="form"&&X==="action"||Z==="input"&&X==="formAction"||Z==="button"&&X==="formAction"))return!0;if(K!=null){if(Z=K.possibleRegistrationNames,K.registrationNameDependencies.hasOwnProperty(X))return!0;if(K=Z.hasOwnProperty(W)?Z[W]:null,K!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",X,K),W2[X]=!0;if(dR.test(X))return console.error("Unknown event handler property `%s`. It will be ignored.",X),W2[X]=!0}else if(dR.test(X))return sE.test(X)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",X),W2[X]=!0;if(nE.test(X)||oE.test(X))return!0;if(W==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),W2[X]=!0;if(W==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),W2[X]=!0;if(W==="is"&&q!==null&&q!==void 0&&typeof q!=="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof q),W2[X]=!0;if(typeof q==="number"&&isNaN(q))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",X),W2[X]=!0;if(uQ.hasOwnProperty(W)){if(W=uQ[W],W!==X)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",X,W),W2[X]=!0}else if(X!==W)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",X,W),W2[X]=!0;switch(X){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof q){case"boolean":switch(X){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:if(W=X.toLowerCase().slice(0,5),W==="data-"||W==="aria-")return!0;return q?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',q,X,X,q,X):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',q,X,X,q,X,X,X),W2[X]=!0}case"function":case"symbol":return W2[X]=!0,!1;case"string":if(q==="false"||q==="true"){switch(X){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",q,X,q==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',X,q),W2[X]=!0}}return!0}function l_(Z,X,q){var K=[],W;for(W in X)f_(Z,W,X[W],q)||K.push(W);X=K.map(function(L){return"`"+L+"`"}).join(", "),K.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",X,Z):1<K.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",X,Z)}function QH(Z){return tE.test(""+Z)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":Z}function P6(){}function CJ(Z){return Z=Z.target||Z.srcElement||window,Z.correspondingUseElement&&(Z=Z.correspondingUseElement),Z.nodeType===3?Z.parentNode:Z}function mB(Z){var X=X0(Z);if(X&&(Z=X.stateNode)){var q=Z[w2]||null;H:switch(Z=X.stateNode,X.type){case"input":if(zJ(Z,q.value,q.defaultValue,q.defaultValue,q.checked,q.defaultChecked,q.type,q.name),X=q.name,q.type==="radio"&&X!=null){for(q=Z;q.parentNode;)q=q.parentNode;g0(X,"name"),q=q.querySelectorAll('input[name="'+n2(""+X)+'"][type="radio"]');for(X=0;X<q.length;X++){var K=q[X];if(K!==Z&&K.form===Z.form){var W=K[w2]||null;if(!W)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");zJ(K,W.value,W.defaultValue,W.defaultValue,W.checked,W.defaultChecked,W.type,W.name)}}for(X=0;X<q.length;X++)K=q[X],K.form===Z.form&&NB(K)}break H;case"textarea":GB(Z,q.value,q.defaultValue);break H;case"select":X=q.value,X!=null&&P7(Z,!!q.multiple,X,!1)}}}function uB(Z,X,q){if(Aw)return Z(X,q);Aw=!0;try{var K=Z(X);return K}finally{if(Aw=!1,i7!==null||d7!==null){if(I7(),i7&&(X=i7,Z=d7,d7=i7=null,mB(X),Z))for(X=0;X<Z.length;X++)mB(Z[X])}}}function qH(Z,X){var q=Z.stateNode;if(q===null)return null;var K=q[w2]||null;if(K===null)return null;q=K[X];H:switch(X){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(K=!K.disabled)||(Z=Z.type,K=!(Z==="button"||Z==="input"||Z==="select"||Z==="textarea")),Z=!K;break H;default:Z=!1}if(Z)return null;if(q&&typeof q!=="function")throw Error("Expected `"+X+"` listener to be a function, instead got a value of `"+typeof q+"` type.");return q}function kB(){if(kQ)return kQ;var Z,X=uw,q=X.length,K,W="value"in P9?P9.value:P9.textContent,L=W.length;for(Z=0;Z<q&&X[Z]===W[Z];Z++);var z=q-Z;for(K=1;K<=z&&X[q-K]===W[L-K];K++);return kQ=W.slice(Z,1<K?1-K:void 0)}function DX(Z){var X=Z.keyCode;return"charCode"in Z?(Z=Z.charCode,Z===0&&X===13&&(Z=13)):Z=X,Z===10&&(Z=13),32<=Z||Z===13?Z:0}function hX(){return!0}function fB(){return!1}function C2(Z){function X(q,K,W,L,z){this._reactName=q,this._targetInst=W,this.type=K,this.nativeEvent=L,this.target=z,this.currentTarget=null;for(var P in Z)Z.hasOwnProperty(P)&&(q=Z[P],this[P]=q?q(L):L[P]);return this.isDefaultPrevented=(L.defaultPrevented!=null?L.defaultPrevented:L.returnValue===!1)?hX:fB,this.isPropagationStopped=fB,this}return z0(X.prototype,{preventDefault:function(){this.defaultPrevented=!0;var q=this.nativeEvent;q&&(q.preventDefault?q.preventDefault():typeof q.returnValue!=="unknown"&&(q.returnValue=!1),this.isDefaultPrevented=hX)},stopPropagation:function(){var q=this.nativeEvent;q&&(q.stopPropagation?q.stopPropagation():typeof q.cancelBubble!=="unknown"&&(q.cancelBubble=!0),this.isPropagationStopped=hX)},persist:function(){},isPersistent:hX}),X}function p_(Z){var X=this.nativeEvent;return X.getModifierState?X.getModifierState(Z):(Z=FI[Z])?!!X[Z]:!1}function bJ(){return p_}function lB(Z,X){switch(Z){case"keyup":return bI.indexOf(X.keyCode)!==-1;case"keydown":return X.keyCode!==nR;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function pB(Z){return Z=Z.detail,typeof Z==="object"&&"data"in Z?Z.data:null}function r_(Z,X){switch(Z){case"compositionend":return pB(X);case"keypress":if(X.which!==tR)return null;return HO=!0,eR;case"textInput":return Z=X.data,Z===eR&&HO?null:Z;default:return null}}function i_(Z,X){if(a7)return Z==="compositionend"||!pw&&lB(Z,X)?(Z=kB(),kQ=uw=P9=null,a7=!1,Z):null;switch(Z){case"paste":return null;case"keypress":if(!(X.ctrlKey||X.altKey||X.metaKey)||X.ctrlKey&&X.altKey){if(X.char&&1<X.char.length)return X.char;if(X.which)return String.fromCharCode(X.which)}return null;case"compositionend":return oR&&X.locale!=="ko"?null:X.data;default:return null}}function rB(Z){var X=Z&&Z.nodeName&&Z.nodeName.toLowerCase();return X==="input"?!!gI[Z.type]:X==="textarea"?!0:!1}function d_(Z){if(!Q6)return!1;Z="on"+Z;var X=Z in document;return X||(X=document.createElement("div"),X.setAttribute(Z,"return;"),X=typeof X[Z]==="function"),X}function iB(Z,X,q,K){i7?d7?d7.push(K):d7=[K]:i7=K,X=PQ(X,"onChange"),0<X.length&&(q=new fQ("onChange","change",null,q,K),Z.push({event:q,listeners:X}))}function a_(Z){Dj(Z,0)}function _X(Z){var X=Q0(Z);if(NB(X))return Z}function dB(Z,X){if(Z==="change")return X}function aB(){pH&&(pH.detachEvent("onpropertychange",cB),rH=pH=null)}function cB(Z){if(Z.propertyName==="value"&&_X(rH)){var X=[];iB(X,rH,Z,CJ(Z)),uB(a_,X)}}function c_(Z,X,q){Z==="focusin"?(aB(),pH=X,rH=q,pH.attachEvent("onpropertychange",cB)):Z==="focusout"&&aB()}function s_(Z){if(Z==="selectionchange"||Z==="keyup"||Z==="keydown")return _X(rH)}function n_(Z,X){if(Z==="click")return _X(X)}function o_(Z,X){if(Z==="input"||Z==="change")return _X(X)}function t_(Z,X){return Z===X&&(Z!==0||1/Z===1/X)||Z!==Z&&X!==X}function YH(Z,X){if(L2(Z,X))return!0;if(typeof Z!=="object"||Z===null||typeof X!=="object"||X===null)return!1;var q=Object.keys(Z),K=Object.keys(X);if(q.length!==K.length)return!1;for(K=0;K<q.length;K++){var W=q[K];if(!R3.call(X,W)||!L2(Z[W],X[W]))return!1}return!0}function sB(Z){for(;Z&&Z.firstChild;)Z=Z.firstChild;return Z}function nB(Z,X){var q=sB(Z);Z=0;for(var K;q;){if(q.nodeType===3){if(K=Z+q.textContent.length,Z<=X&&K>=X)return{node:q,offset:X-Z};Z=K}H:{for(;q;){if(q.nextSibling){q=q.nextSibling;break H}q=q.parentNode}q=void 0}q=sB(q)}}function oB(Z,X){return Z&&X?Z===X?!0:Z&&Z.nodeType===3?!1:X&&X.nodeType===3?oB(Z,X.parentNode):("contains"in Z)?Z.contains(X):Z.compareDocumentPosition?!!(Z.compareDocumentPosition(X)&16):!1:!1}function tB(Z){Z=Z!=null&&Z.ownerDocument!=null&&Z.ownerDocument.defaultView!=null?Z.ownerDocument.defaultView:window;for(var X=$X(Z.document);X instanceof Z.HTMLIFrameElement;){try{var q=typeof X.contentWindow.location.href==="string"}catch(K){q=!1}if(q)Z=X.contentWindow;else break;X=$X(Z.document)}return X}function $J(Z){var X=Z&&Z.nodeName&&Z.nodeName.toLowerCase();return X&&(X==="input"&&(Z.type==="text"||Z.type==="search"||Z.type==="tel"||Z.type==="url"||Z.type==="password")||X==="textarea"||Z.contentEditable==="true")}function eB(Z,X,q){var K=q.window===q?q.document:q.nodeType===9?q:q.ownerDocument;iw||c7==null||c7!==$X(K)||(K=c7,("selectionStart"in K)&&$J(K)?K={start:K.selectionStart,end:K.selectionEnd}:(K=(K.ownerDocument&&K.ownerDocument.defaultView||window).getSelection(),K={anchorNode:K.anchorNode,anchorOffset:K.anchorOffset,focusNode:K.focusNode,focusOffset:K.focusOffset}),iH&&YH(iH,K)||(iH=K,K=PQ(rw,"onSelect"),0<K.length&&(X=new fQ("onSelect","select",null,X,q),Z.push({event:X,listeners:K}),X.target=c7)))}function w4(Z,X){var q={};return q[Z.toLowerCase()]=X.toLowerCase(),q["Webkit"+Z]="webkit"+X,q["Moz"+Z]="moz"+X,q}function W4(Z){if(dw[Z])return dw[Z];if(!s7[Z])return Z;var X=s7[Z],q;for(q in X)if(X.hasOwnProperty(q)&&q in XO)return dw[Z]=X[q];return Z}function V3(Z,X){KO.set(Z,X),a5(X,[Z])}function e_(Z){for(var X=pQ,q=0;q<Z.length;q++){var K=Z[q];if(typeof K==="object"&&K!==null)if(g5(K)&&K.length===2&&typeof K[0]==="string"){if(X!==pQ&&X!==ow)return sw;X=ow}else return sw;else{if(typeof K==="function"||typeof K==="string"&&50<K.length||X!==pQ&&X!==nw)return sw;X=nw}}return X}function gJ(Z,X,q,K){for(var W in Z)R3.call(Z,W)&&W[0]!=="_"&&S3(W,Z[W],X,q,K)}function S3(Z,X,q,K,W){switch(typeof X){case"object":if(X===null){X="null";break}else{if(X.$$typeof===o3){var L=e(X.type)||"…",z=X.key;X=X.props;var P=Object.keys(X),g=P.length;if(z==null&&g===0){X="<"+L+" />";break}if(3>K||g===1&&P[0]==="children"&&z==null){X="<"+L+" … />";break}q.push([W+" ".repeat(K)+Z,"<"+L]),z!==null&&S3("key",z,q,K+1,W),Z=!1;for(var D in X)D==="children"?X.children!=null&&(!g5(X.children)||0<X.children.length)&&(Z=!0):R3.call(X,D)&&D[0]!=="_"&&S3(D,X[D],q,K+1,W);q.push(["",Z?">…</"+L+">":"/>"]);return}if(L=Object.prototype.toString.call(X),L=L.slice(8,L.length-1),L==="Array"){if(D=e_(X),D===nw||D===pQ){X=JSON.stringify(X);break}else if(D===ow){q.push([W+" ".repeat(K)+Z,""]);for(Z=0;Z<X.length;Z++)L=X[Z],S3(L[0],L[1],q,K+1,W);return}}if(L==="Promise"){if(X.status==="fulfilled"){if(L=q.length,S3(Z,X.value,q,K,W),q.length>L){q=q[L],q[1]="Promise<"+(q[1]||"Object")+">";return}}else if(X.status==="rejected"&&(L=q.length,S3(Z,X.reason,q,K,W),q.length>L)){q=q[L],q[1]="Rejected Promise<"+q[1]+">";return}q.push([" ".repeat(K)+Z,"Promise"]);return}L==="Object"&&(D=Object.getPrototypeOf(X))&&typeof D.constructor==="function"&&(L=D.constructor.name),q.push([W+" ".repeat(K)+Z,L==="Object"?3>K?"":"…":L]),3>K&&gJ(X,q,K+1,W);return}case"function":X=X.name===""?"() => {}":X.name+"() {}";break;case"string":X=X===II?"…":JSON.stringify(X);break;case"undefined":X="undefined";break;case"boolean":X=X?"true":"false";break;default:X=String(X)}q.push([W+" ".repeat(K)+Z,X])}function HV(Z,X,q,K){var W=!0;for(z in Z)z in X||(q.push([rQ+" ".repeat(K)+z,"…"]),W=!1);for(var L in X)if(L in Z){var z=Z[L],P=X[L];if(z!==P){if(K===0&&L==="children")W=" ".repeat(K)+L,q.push([rQ+W,"…"],[iQ+W,"…"]);else{if(!(3<=K)){if(typeof z==="object"&&typeof P==="object"&&z!==null&&P!==null&&z.$$typeof===P.$$typeof)if(P.$$typeof===o3){if(z.type===P.type&&z.key===P.key){z=e(P.type)||"…",W=" ".repeat(K)+L,z="<"+z+" … />",q.push([rQ+W,z],[iQ+W,z]),W=!1;continue}}else{var g=Object.prototype.toString.call(z),D=Object.prototype.toString.call(P);if(g===D&&(D==="[object Object]"||D==="[object Array]")){g=[LO+" ".repeat(K)+L,D==="[object Array]"?"Array":""],q.push(g),D=q.length,HV(z,P,q,K+1)?D===q.length&&(g[1]="Referentially unequal but deeply equal objects. Consider memoization."):W=!1;continue}}else if(typeof z==="function"&&typeof P==="function"&&z.name===P.name&&z.length===P.length&&(g=Function.prototype.toString.call(z),D=Function.prototype.toString.call(P),g===D)){z=P.name===""?"() => {}":P.name+"() {}",q.push([LO+" ".repeat(K)+L,z+" Referentially unequal function closure. Consider memoization."]);continue}}S3(L,z,q,K,rQ),S3(L,P,q,K,iQ)}W=!1}}else q.push([iQ+" ".repeat(K)+L,"…"]),W=!1;return W}function y2(Z){R0=Z&63?"Blocking":Z&64?"Gesture":Z&4194176?"Transition":Z&62914560?"Suspense":Z&2080374784?"Idle":"Other"}function T3(Z,X,q,K){i0&&(C9.start=X,C9.end=q,_6.color="warning",_6.tooltipText=K,_6.properties=null,(Z=Z._debugTask)?Z.run(performance.measure.bind(performance,K,C9)):performance.measure(K,C9))}function xX(Z,X,q){T3(Z,X,q,"Reconnect")}function EX(Z,X,q,K,W){var L=k(Z);if(L!==null&&i0){var{alternate:z,actualDuration:P}=Z;if(z===null||z.child!==Z.child)for(var g=Z.child;g!==null;g=g.sibling)P-=g.actualDuration;K=0.5>P?K?"tertiary-light":"primary-light":10>P?K?"tertiary":"primary":100>P?K?"tertiary-dark":"primary-dark":"error";var D=Z.memoizedProps;P=Z._debugTask,D!==null&&z!==null&&z.memoizedProps!==D?(g=[yI],D=HV(z.memoizedProps,D,g,0),1<g.length&&(D&&!M9&&(z.lanes&W)===0&&100<Z.actualDuration?(M9=!0,g[0]=vI,_6.color="warning",_6.tooltipText=FO):(_6.color=K,_6.tooltipText=L),_6.properties=g,C9.start=X,C9.end=q,P!=null?P.run(performance.measure.bind(performance,""+L,C9)):performance.measure(""+L,C9))):P!=null?P.run(console.timeStamp.bind(console,L,X,q,t2,void 0,K)):console.timeStamp(L,X,q,t2,void 0,K)}}function GJ(Z,X,q,K){if(i0){var W=k(Z);if(W!==null){for(var L=null,z=[],P=0;P<K.length;P++){var g=K[P];L==null&&g.source!==null&&(L=g.source._debugTask),g=g.value,z.push(["Error",typeof g==="object"&&g!==null&&typeof g.message==="string"?String(g.message):String(g)])}Z.key!==null&&S3("key",Z.key,z,0,""),Z.memoizedProps!==null&&gJ(Z.memoizedProps,z,0,""),L==null&&(L=Z._debugTask),Z={start:X,end:q,detail:{devtools:{color:"error",track:t2,tooltipText:Z.tag===13?"Hydration failed":"Error boundary caught an error",properties:z}}},L?L.run(performance.measure.bind(performance,""+W,Z)):performance.measure(""+W,Z)}}}function A3(Z,X,q,K,W){if(W!==null){if(i0){var L=k(Z);if(L!==null){K=[];for(var z=0;z<W.length;z++){var P=W[z].value;K.push(["Error",typeof P==="object"&&P!==null&&typeof P.message==="string"?String(P.message):String(P)])}Z.key!==null&&S3("key",Z.key,K,0,""),Z.memoizedProps!==null&&gJ(Z.memoizedProps,K,0,""),X={start:X,end:q,detail:{devtools:{color:"error",track:t2,tooltipText:"A lifecycle or effect errored",properties:K}}},(Z=Z._debugTask)?Z.run(performance.measure.bind(performance,""+L,X)):performance.measure(""+L,X)}}}else L=k(Z),L!==null&&i0&&(W=1>K?"secondary-light":100>K?"secondary":500>K?"secondary-dark":"error",(Z=Z._debugTask)?Z.run(console.timeStamp.bind(console,L,X,q,t2,void 0,W)):console.timeStamp(L,X,q,t2,void 0,W))}function Hx(Z,X,q,K){if(i0&&!(X<=Z)){var W=(q&738197653)===q?"tertiary-dark":"primary-dark";q=(q&536870912)===q?"Prepared":(q&201326741)===q?"Hydrated":"Render",K?K.run(console.timeStamp.bind(console,q,Z,X,R0,j0,W)):console.timeStamp(q,Z,X,R0,j0,W)}}function ZV(Z,X,q,K){!i0||X<=Z||(q=(q&738197653)===q?"tertiary-dark":"primary-dark",K?K.run(console.timeStamp.bind(console,"Prewarm",Z,X,R0,j0,q)):console.timeStamp("Prewarm",Z,X,R0,j0,q))}function XV(Z,X,q,K){!i0||X<=Z||(q=(q&738197653)===q?"tertiary-dark":"primary-dark",K?K.run(console.timeStamp.bind(console,"Suspended",Z,X,R0,j0,q)):console.timeStamp("Suspended",Z,X,R0,j0,q))}function Zx(Z,X,q,K,W,L){if(i0&&!(X<=Z)){q=[];for(var z=0;z<K.length;z++){var P=K[z].value;q.push(["Recoverable Error",typeof P==="object"&&P!==null&&typeof P.message==="string"?String(P.message):String(P)])}Z={start:Z,end:X,detail:{devtools:{color:"primary-dark",track:R0,trackGroup:j0,tooltipText:W?"Hydration Failed":"Recovered after Error",properties:q}}},L?L.run(performance.measure.bind(performance,"Recovered",Z)):performance.measure("Recovered",Z)}}function DJ(Z,X,q,K){!i0||X<=Z||(K?K.run(console.timeStamp.bind(console,"Errored",Z,X,R0,j0,"error")):console.timeStamp("Errored",Z,X,R0,j0,"error"))}function Xx(Z,X,q,K){!i0||X<=Z||(K?K.run(console.timeStamp.bind(console,q,Z,X,R0,j0,"secondary-light")):console.timeStamp(q,Z,X,R0,j0,"secondary-light"))}function QV(Z,X,q,K,W){if(i0&&!(X<=Z)){for(var L=[],z=0;z<q.length;z++){var P=q[z].value;L.push(["Error",typeof P==="object"&&P!==null&&typeof P.message==="string"?String(P.message):String(P)])}Z={start:Z,end:X,detail:{devtools:{color:"error",track:R0,trackGroup:j0,tooltipText:K?"Remaining Effects Errored":"Commit Errored",properties:L}}},W?W.run(performance.measure.bind(performance,"Errored",Z)):performance.measure("Errored",Z)}}function JH(Z,X,q){!i0||X<=Z||(q?q.run(console.timeStamp.bind(console,"Animating",Z,X,R0,j0,"secondary-dark")):console.timeStamp("Animating",Z,X,R0,j0,"secondary-dark"))}function IX(){for(var Z=n7,X=tw=n7=0;X<Z;){var q=e2[X];e2[X++]=null;var K=e2[X];e2[X++]=null;var W=e2[X];e2[X++]=null;var L=e2[X];if(e2[X++]=null,K!==null&&W!==null){var z=K.pending;z===null?W.next=W:(W.next=z.next,z.next=W),K.pending=W}L!==0&&qV(q,W,L)}}function yX(Z,X,q,K){e2[n7++]=Z,e2[n7++]=X,e2[n7++]=q,e2[n7++]=K,tw|=K,Z.lanes|=K,Z=Z.alternate,Z!==null&&(Z.lanes|=K)}function hJ(Z,X,q,K){return yX(Z,X,q,K),vX(Z)}function c5(Z,X){return yX(Z,null,null,X),vX(Z)}function qV(Z,X,q){Z.lanes|=q;var K=Z.alternate;K!==null&&(K.lanes|=q);for(var W=!1,L=Z.return;L!==null;)L.childLanes|=q,K=L.alternate,K!==null&&(K.childLanes|=q),L.tag===22&&(Z=L.stateNode,Z===null||Z._visibility&dH||(W=!0)),Z=L,L=L.return;return Z.tag===3?(L=Z.stateNode,W&&X!==null&&(W=31-K2(q),Z=L.hiddenUpdates,K=Z[W],K===null?Z[W]=[X]:K.push(X),X.lane=q|536870912),L):null}function vX(Z){if(NZ>sI)throw m4=NZ=0,PZ=EW=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");m4>nI&&(m4=0,PZ=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),Z.alternate===null&&(Z.flags&4098)!==0&&Pj(Z);for(var X=Z,q=X.return;q!==null;)X.alternate===null&&(X.flags&4098)!==0&&Pj(Z),X=q,q=X.return;return X.tag===3?X.stateNode:null}function L4(Z){if(H3===null)return Z;var X=H3(Z);return X===void 0?Z:X.current}function _J(Z){if(H3===null)return Z;var X=H3(Z);return X===void 0?Z!==null&&Z!==void 0&&typeof Z.render==="function"&&(X=L4(Z.render),Z.render!==X)?(X={$$typeof:vH,render:X},Z.displayName!==void 0&&(X.displayName=Z.displayName),X):Z:X.current}function YV(Z,X){if(H3===null)return!1;var q=Z.elementType;X=X.type;var K=!1,W=typeof X==="object"&&X!==null?X.$$typeof:null;switch(Z.tag){case 1:typeof X==="function"&&(K=!0);break;case 0:typeof X==="function"?K=!0:W===k2&&(K=!0);break;case 11:W===vH?K=!0:W===k2&&(K=!0);break;case 14:case 15:W===EQ?K=!0:W===k2&&(K=!0);break;default:return!1}return K&&(Z=H3(q),Z!==void 0&&Z===H3(X))?!0:!1}function JV(Z){H3!==null&&typeof WeakSet==="function"&&(o7===null&&(o7=new WeakSet),o7.add(Z))}function KV(Z,X,q){do{var K=Z,W=K.alternate,L=K.child,z=K.sibling,P=K.tag;K=K.type;var g=null;switch(P){case 0:case 15:case 1:g=K;break;case 11:g=K.render}if(H3===null)throw Error("Expected resolveFamily to be set during hot reload.");var D=!1;if(K=!1,g!==null&&(g=H3(g),g!==void 0&&(q.has(g)?K=!0:X.has(g)&&(P===1?K=!0:D=!0))),o7!==null&&(o7.has(Z)||W!==null&&o7.has(W))&&(K=!0),K&&(Z._debugNeedsRemount=!0),K||D)W=c5(Z,2),W!==null&&X5(W,Z,2);if(L===null||K||KV(L,X,q),z===null)break;Z=z}while(1)}function Qx(Z,X,q,K){this.tag=Z,this.key=q,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=X,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=K,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,UO||typeof Object.preventExtensions!=="function"||Object.preventExtensions(this)}function xJ(Z){return Z=Z.prototype,!(!Z||!Z.isReactComponent)}function M6(Z,X){var q=Z.alternate;switch(q===null?(q=C(Z.tag,X,Z.key,Z.mode),q.elementType=Z.elementType,q.type=Z.type,q.stateNode=Z.stateNode,q._debugOwner=Z._debugOwner,q._debugStack=Z._debugStack,q._debugTask=Z._debugTask,q._debugHookTypes=Z._debugHookTypes,q.alternate=Z,Z.alternate=q):(q.pendingProps=X,q.type=Z.type,q.flags=0,q.subtreeFlags=0,q.deletions=null,q.actualDuration=-0,q.actualStartTime=-1.1),q.flags=Z.flags&65011712,q.childLanes=Z.childLanes,q.lanes=Z.lanes,q.child=Z.child,q.memoizedProps=Z.memoizedProps,q.memoizedState=Z.memoizedState,q.updateQueue=Z.updateQueue,X=Z.dependencies,q.dependencies=X===null?null:{lanes:X.lanes,firstContext:X.firstContext,_debugThenableState:X._debugThenableState},q.sibling=Z.sibling,q.index=Z.index,q.ref=Z.ref,q.refCleanup=Z.refCleanup,q.selfBaseDuration=Z.selfBaseDuration,q.treeBaseDuration=Z.treeBaseDuration,q._debugInfo=Z._debugInfo,q._debugNeedsRemount=Z._debugNeedsRemount,q.tag){case 0:case 15:q.type=L4(Z.type);break;case 1:q.type=L4(Z.type);break;case 11:q.type=_J(Z.type)}return q}function wV(Z,X){Z.flags&=65011714;var q=Z.alternate;return q===null?(Z.childLanes=0,Z.lanes=X,Z.child=null,Z.subtreeFlags=0,Z.memoizedProps=null,Z.memoizedState=null,Z.updateQueue=null,Z.dependencies=null,Z.stateNode=null,Z.selfBaseDuration=0,Z.treeBaseDuration=0):(Z.childLanes=q.childLanes,Z.lanes=q.lanes,Z.child=q.child,Z.subtreeFlags=0,Z.deletions=null,Z.memoizedProps=q.memoizedProps,Z.memoizedState=q.memoizedState,Z.updateQueue=q.updateQueue,Z.type=q.type,X=q.dependencies,Z.dependencies=X===null?null:{lanes:X.lanes,firstContext:X.firstContext,_debugThenableState:X._debugThenableState},Z.selfBaseDuration=q.selfBaseDuration,Z.treeBaseDuration=q.treeBaseDuration),Z}function EJ(Z,X,q,K,W,L){var z=0,P=Z;if(typeof Z==="function")xJ(Z)&&(z=1),P=L4(P);else if(typeof Z==="string")z=Y1(),z=UE(Z,q,z)?26:Z==="html"||Z==="head"||Z==="body"?27:5;else H:switch(Z){case bw:return X=C(31,q,X,W),X.elementType=bw,X.lanes=L,X;case u7:return F4(q.children,W,L,X);case xQ:z=8,W|=n5,W|=N3;break;case Nw:return Z=q,K=W,typeof Z.id!=="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof Z.id),X=C(12,Z,X,K|L0),X.elementType=Nw,X.lanes=L,X.stateNode={effectDuration:0,passiveEffectDuration:0},X;case Mw:return X=C(13,q,X,W),X.elementType=Mw,X.lanes=L,X;case Cw:return X=C(19,q,X,W),X.elementType=Cw,X.lanes=L,X;default:if(typeof Z==="object"&&Z!==null)switch(Z.$$typeof){case t3:z=10;break H;case Pw:z=9;break H;case vH:z=11,P=_J(P);break H;case EQ:z=14;break H;case k2:z=16,P=null;break H}if(P="",Z===void 0||typeof Z==="object"&&Z!==null&&Object.keys(Z).length===0)P+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";Z===null?q="null":g5(Z)?q="array":Z!==void 0&&Z.$$typeof===o3?(q="<"+(e(Z.type)||"Unknown")+" />",P=" Did you accidentally export a JSX literal instead of a component?"):q=typeof Z,(z=K?$1(K):null)&&(P+=`
|
|
72
|
+
|
|
73
|
+
Check the render method of \``+z+"`."),z=29,q=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(q+"."+P)),P=null}return X=C(z,q,X,W),X.elementType=Z,X.type=P,X.lanes=L,X._debugOwner=K,X}function SX(Z,X,q){return X=EJ(Z.type,Z.key,Z.props,Z._owner,X,q),X._debugOwner=Z._owner,X._debugStack=Z._debugStack,X._debugTask=Z._debugTask,X}function F4(Z,X,q,K){return Z=C(7,Z,K,X),Z.lanes=q,Z}function IJ(Z,X,q){return Z=C(6,Z,null,X),Z.lanes=q,Z}function WV(Z){var X=C(18,null,null,n1);return X.stateNode=Z,X}function yJ(Z,X,q){return X=C(4,Z.children!==null?Z.children:[],Z.key,X),X.lanes=q,X.stateNode={containerInfo:Z.containerInfo,pendingChildren:null,implementation:Z.implementation},X}function v2(Z,X){if(typeof Z==="object"&&Z!==null){var q=ew.get(Z);if(q!==void 0)return q;return X={value:Z,source:X,stack:y0(X)},ew.set(Z,X),X}return{value:Z,source:X,stack:y0(X)}}function C6(Z,X){q9(),t7[e7++]=aH,t7[e7++]=dQ,dQ=Z,aH=X}function LV(Z,X,q){q9(),Z3[X3++]=E6,Z3[X3++]=I6,Z3[X3++]=$4,$4=Z;var K=E6;Z=I6;var W=32-K2(K)-1;K&=~(1<<W),q+=1;var L=32-K2(X)+W;if(30<L){var z=W-W%5;L=(K&(1<<z)-1).toString(32),K>>=z,W-=z,E6=1<<32-K2(X)+W|q<<W|K,I6=L+Z}else E6=1<<L|q<<W|K,I6=Z}function vJ(Z){q9(),Z.return!==null&&(C6(Z,1),LV(Z,1,0))}function SJ(Z){for(;Z===dQ;)dQ=t7[--e7],t7[e7]=null,aH=t7[--e7],t7[e7]=null;for(;Z===$4;)$4=Z3[--X3],Z3[X3]=null,I6=Z3[--X3],Z3[X3]=null,E6=Z3[--X3],Z3[X3]=null}function FV(){return q9(),$4!==null?{id:E6,overflow:I6}:null}function UV(Z,X){q9(),Z3[X3++]=E6,Z3[X3++]=I6,Z3[X3++]=$4,E6=X.id,I6=X.overflow,$4=Z}function q9(){N0||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function U4(Z,X){if(Z.return===null){if(p2===null)p2={fiber:Z,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:X};else{if(p2.fiber!==Z)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");p2.distanceFromLeaf>X&&(p2.distanceFromLeaf=X)}return p2}var q=U4(Z.return,X+1).children;if(0<q.length&&q[q.length-1].fiber===Z)return q=q[q.length-1],q.distanceFromLeaf>X&&(q.distanceFromLeaf=X),q;return X={fiber:Z,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:X},q.push(X),X}function BV(){N0&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function TX(Z,X){q6||(Z=U4(Z,0),Z.serverProps=null,X!==null&&(X=ij(X),Z.serverTail.push(X)))}function Y9(Z){var X=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,q="",K=p2;throw K!==null&&(p2=null,q=PJ(K)),KH(v2(Error("Hydration failed because the server rendered "+(X?"text":"HTML")+` didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
|
|
74
|
+
|
|
75
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
76
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
77
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
78
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
79
|
+
- Invalid HTML tag nesting.
|
|
80
|
+
|
|
81
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
82
|
+
|
|
83
|
+
https://react.dev/link/hydration-mismatch`+q),Z)),HW}function VV(Z){var{stateNode:X,type:q,memoizedProps:K}=Z;switch(X[r5]=Z,X[w2]=K,Zw(q,K),q){case"dialog":b0("cancel",X),b0("close",X);break;case"iframe":case"object":case"embed":b0("load",X);break;case"video":case"audio":for(q=0;q<MZ.length;q++)b0(MZ[q],X);break;case"source":b0("error",X);break;case"img":case"image":case"link":b0("error",X),b0("load",X);break;case"details":b0("toggle",X);break;case"input":Q9("input",K),b0("invalid",X),PB(X,K),MB(X,K.value,K.defaultValue,K.checked,K.defaultChecked,K.type,K.name,!0);break;case"option":CB(X,K);break;case"select":Q9("select",K),b0("invalid",X),$B(X,K);break;case"textarea":Q9("textarea",K),b0("invalid",X),gB(X,K),DB(X,K.value,K.defaultValue,K.children)}q=K.children,typeof q!=="string"&&typeof q!=="number"&&typeof q!=="bigint"||X.textContent===""+q||K.suppressHydrationWarning===!0||Ej(X.textContent,q)?(K.popover!=null&&(b0("beforetoggle",X),b0("toggle",X)),K.onScroll!=null&&b0("scroll",X),K.onScrollEnd!=null&&b0("scrollend",X),K.onClick!=null&&(X.onclick=P6),X=!0):X=!1,X||Y9(Z,!0)}function zV(Z){for(i5=Z.return;i5;)switch(i5.tag){case 5:case 31:case 13:Q3=!1;return;case 27:case 3:Q3=!0;return;default:i5=i5.return}}function b7(Z){if(Z!==i5)return!1;if(!N0)return zV(Z),N0=!0,!1;var X=Z.tag,q;if(q=X!==3&&X!==27){if(q=X===5)q=Z.type,q=!(q!=="form"&&q!=="button")||Jw(Z.type,Z.memoizedProps);q=!q}if(q&&d0){for(q=d0;q;){var K=U4(Z,0),W=ij(q);K.serverTail.push(W),q=W.type==="Suspense"?Lw(q):u2(q.nextSibling)}Y9(Z)}if(zV(Z),X===13){if(Z=Z.memoizedState,Z=Z!==null?Z.dehydrated:null,!Z)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");d0=Lw(Z)}else if(X===31){if(Z=Z.memoizedState,Z=Z!==null?Z.dehydrated:null,!Z)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");d0=Lw(Z)}else X===27?(X=d0,z9(Z.type)?(Z=pW,pW=null,d0=Z):d0=X):d0=i5?u2(Z.stateNode.nextSibling):null;return!0}function B4(){d0=i5=null,q6=N0=!1}function TJ(){var Z=$9;return Z!==null&&(V2===null?V2=Z:V2.push.apply(V2,Z),$9=null),Z}function KH(Z){$9===null?$9=[Z]:$9.push(Z)}function AJ(){var Z=p2;if(Z!==null){p2=null;for(var X=PJ(Z);0<Z.children.length;)Z=Z.children[0];G1(Z.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
|
|
84
|
+
|
|
85
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
86
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
87
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
88
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
89
|
+
- Invalid HTML tag nesting.
|
|
90
|
+
|
|
91
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
92
|
+
|
|
93
|
+
%s%s`,"https://react.dev/link/hydration-mismatch",X)})}}function AX(){H8=aQ=null,Z8=!1}function J9(Z,X,q){L1(ZW,X._currentValue,Z),X._currentValue=q,L1(XW,X._currentRenderer,Z),X._currentRenderer!==void 0&&X._currentRenderer!==null&&X._currentRenderer!==VO&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),X._currentRenderer=VO}function b6(Z,X){Z._currentValue=ZW.current;var q=XW.current;g1(XW,X),Z._currentRenderer=q,g1(ZW,X)}function mJ(Z,X,q){for(;Z!==null;){var K=Z.alternate;if((Z.childLanes&X)!==X?(Z.childLanes|=X,K!==null&&(K.childLanes|=X)):K!==null&&(K.childLanes&X)!==X&&(K.childLanes|=X),Z===q)break;Z=Z.return}Z!==q&&console.error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function uJ(Z,X,q,K){var W=Z.child;W!==null&&(W.return=Z);for(;W!==null;){var L=W.dependencies;if(L!==null){var z=W.child;L=L.firstContext;H:for(;L!==null;){var P=L;L=W;for(var g=0;g<X.length;g++)if(P.context===X[g]){L.lanes|=q,P=L.alternate,P!==null&&(P.lanes|=q),mJ(L.return,q,Z),K||(z=null);break H}L=P.next}}else if(W.tag===18){if(z=W.return,z===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");z.lanes|=q,L=z.alternate,L!==null&&(L.lanes|=q),mJ(z,q,Z),z=null}else z=W.child;if(z!==null)z.return=W;else for(z=W;z!==null;){if(z===Z){z=null;break}if(W=z.sibling,W!==null){W.return=z.return,z=W;break}z=z.return}W=z}}function $7(Z,X,q,K){Z=null;for(var W=X,L=!1;W!==null;){if(!L){if((W.flags&524288)!==0)L=!0;else if((W.flags&262144)!==0)break}if(W.tag===10){var z=W.alternate;if(z===null)throw Error("Should have a current fiber. This is a bug in React.");if(z=z.memoizedProps,z!==null){var P=W.type;L2(W.pendingProps.value,z.value)||(Z!==null?Z.push(P):Z=[P])}}else if(W===IQ.current){if(z=W.alternate,z===null)throw Error("Should have a current fiber. This is a bug in React.");z.memoizedState.memoizedState!==W.memoizedState.memoizedState&&(Z!==null?Z.push(GZ):Z=[GZ])}W=W.return}Z!==null&&uJ(X,Z,q,K),X.flags|=262144}function mX(Z){for(Z=Z.firstContext;Z!==null;){if(!L2(Z.context._currentValue,Z.memoizedValue))return!0;Z=Z.next}return!1}function V4(Z){aQ=Z,H8=null,Z=Z.dependencies,Z!==null&&(Z.firstContext=null)}function n0(Z){return Z8&&console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),jV(aQ,Z)}function uX(Z,X){return aQ===null&&V4(Z),jV(Z,X)}function jV(Z,X){var q=X._currentValue;if(X={context:X,memoizedValue:q,next:null},H8===null){if(Z===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");H8=X,Z.dependencies={lanes:0,firstContext:X,_debugThenableState:null},Z.flags|=524288}else H8=H8.next=X;return q}function kJ(){return{controller:new AI,data:new Map,refCount:0}}function z4(Z){Z.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),Z.refCount++}function wH(Z){Z.refCount--,0>Z.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),Z.refCount===0&&mI(uI,function(){Z.controller.abort()})}function m3(Z,X,q){if((Z&127)!==0)0>Y6&&(Y6=O5(),sH=cQ(X),QW=X,q!=null&&(qW=k(q)),(h0&(D5|d2))!==A5&&(Q5=!0,D9=cH),Z=_H(),X=hH(),Z!==X8||X!==nH?X8=-1.1:X!==null&&(D9=cH),G4=Z,nH=X);else if((Z&4194048)!==0&&0>q3&&(q3=O5(),oH=cQ(X),zO=X,q!=null&&(jO=k(q)),0>S6)){if(Z=_H(),X=hH(),Z!==_9||X!==D4)_9=-1.1;h9=Z,D4=X}}function qx(Z){if(0>Y6){Y6=O5(),sH=Z._debugTask!=null?Z._debugTask:null,(h0&(D5|d2))!==A5&&(D9=cH);var X=_H(),q=hH();X!==X8||q!==nH?X8=-1.1:q!==null&&(D9=cH),G4=X,nH=q}if(0>q3&&(q3=O5(),oH=Z._debugTask!=null?Z._debugTask:null,0>S6)){if(Z=_H(),X=hH(),Z!==_9||X!==D4)_9=-1.1;h9=Z,D4=X}}function $6(){var Z=g4;return g4=0,Z}function kX(Z){var X=g4;return g4=Z,X}function WH(Z){var X=g4;return g4+=Z,X}function fX(){s1=i1=-1.1}function S2(){var Z=i1;return i1=-1.1,Z}function T2(Z){0<=Z&&(i1=Z)}function u3(){var Z=e0;return e0=-0,Z}function k3(Z){0<=Z&&(e0=Z)}function f3(){var Z=o0;return o0=null,Z}function l3(){var Z=Q5;return Q5=!1,Z}function fJ(Z){F2=O5(),0>Z.actualStartTime&&(Z.actualStartTime=F2)}function lJ(Z){if(0<=F2){var X=O5()-F2;Z.actualDuration+=X,Z.selfBaseDuration=X,F2=-1}}function RV(Z){if(0<=F2){var X=O5()-F2;Z.actualDuration+=X,F2=-1}}function p3(){if(0<=F2){var Z=O5(),X=Z-F2;F2=-1,g4+=X,e0+=X,s1=Z}}function OV(Z){o0===null&&(o0=[]),o0.push(Z),v6===null&&(v6=[]),v6.push(Z)}function r3(){F2=O5(),0>i1&&(i1=F2)}function LH(Z){for(var X=Z.child;X;)Z.actualDuration+=X.actualDuration,X=X.sibling}function Yx(Z,X){if(eH===null){var q=eH=[];JW=0,h4=oK(),Q8={status:"pending",value:void 0,then:function(K){q.push(K)}}}return JW++,X.then(NV,NV),X}function NV(){if(--JW===0&&(-1<q3||(S6=-1.1),eH!==null)){Q8!==null&&(Q8.status="fulfilled");var Z=eH;eH=null,h4=0,Q8=null;for(var X=0;X<Z.length;X++)(0,Z[X])()}}function Jx(Z,X){var q=[],K={status:"pending",value:null,reason:null,then:function(W){q.push(W)}};return Z.then(function(){K.status="fulfilled",K.value=X;for(var W=0;W<q.length;W++)(0,q[W])(X)},function(W){K.status="rejected",K.reason=W;for(W=0;W<q.length;W++)(0,q[W])(void 0)}),K}function pJ(){var Z=_4.current;return Z!==null?Z:f0.pooledCache}function lX(Z,X){X===null?L1(_4,_4.current,Z):L1(_4,X.pool,Z)}function PV(){var Z=pJ();return Z===null?null:{parent:R5._currentValue,pool:Z}}function MV(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function CV(Z){return Z=Z.status,Z==="fulfilled"||Z==="rejected"}function bV(Z,X,q){X1.actQueue!==null&&(X1.didUsePromise=!0);var K=Z.thenables;if(q=K[q],q===void 0?K.push(X):q!==X&&(Z.didWarnAboutUncachedPromise||(Z.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),X.then(P6,P6),X=q),X._debugInfo===void 0){Z=performance.now(),K=X.displayName;var W={name:typeof K==="string"?K:"Promise",start:Z,end:Z,value:X};X._debugInfo=[{awaited:W}],X.status!=="fulfilled"&&X.status!=="rejected"&&(Z=function(){W.end=performance.now()},X.then(Z,Z))}switch(X.status){case"fulfilled":return X.value;case"rejected":throw Z=X.reason,gV(Z),Z;default:if(typeof X.status==="string")X.then(P6,P6);else{if(Z=f0,Z!==null&&100<Z.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");Z=X,Z.status="pending",Z.then(function(L){if(X.status==="pending"){var z=X;z.status="fulfilled",z.value=L}},function(L){if(X.status==="pending"){var z=X;z.status="rejected",z.reason=L}})}switch(X.status){case"fulfilled":return X.value;case"rejected":throw Z=X.reason,gV(Z),Z}throw E4=X,JZ=!0,q8}}function K9(Z){try{return pI(Z)}catch(X){if(X!==null&&typeof X==="object"&&typeof X.then==="function")throw E4=X,JZ=!0,q8;throw X}}function $V(){if(E4===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var Z=E4;return E4=null,JZ=!1,Z}function gV(Z){if(Z===q8||Z===Xq)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function f5(Z){var X=F0;return Z!=null&&(F0=X===null?Z:X.concat(Z)),X}function rJ(){var Z=F0;if(Z!=null){for(var X=Z.length-1;0<=X;X--)if(Z[X].name!=null){var q=Z[X].debugTask;if(q!=null)return q}}return null}function pX(Z,X,q){for(var K=Object.keys(Z.props),W=0;W<K.length;W++){var L=K[W];if(L!=="children"&&L!=="key"){X===null&&(X=SX(Z,q.mode,0),X._debugInfo=F0,X.return=q),G1(X,function(z){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",z)},L);break}}}function rX(Z){var X=KZ;return KZ+=1,Y8===null&&(Y8=MV()),bV(Y8,Z,X)}function FH(Z,X){X=X.props.ref,Z.ref=X!==void 0?X:null}function GV(Z,X){if(X.$$typeof===CE)throw Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
94
|
+
- Multiple copies of the "react" package is used.
|
|
95
|
+
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
|
|
96
|
+
- A compiler tries to "inline" JSX instead of using the runtime.`);throw Z=Object.prototype.toString.call(X),Error("Objects are not valid as a React child (found: "+(Z==="[object Object]"?"object with keys {"+Object.keys(X).join(", ")+"}":Z)+"). If you meant to render a collection of children, use an array instead.")}function iX(Z,X){var q=rJ();q!==null?q.run(GV.bind(null,Z,X)):GV(Z,X)}function DV(Z,X){var q=k(Z)||"Component";TO[q]||(TO[q]=!0,X=X.displayName||X.name||"Component",Z.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
97
|
+
root.render(%s)`,X,X,X):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
98
|
+
<%s>{%s}</%s>`,X,X,q,X,q))}function dX(Z,X){var q=rJ();q!==null?q.run(DV.bind(null,Z,X)):DV(Z,X)}function hV(Z,X){var q=k(Z)||"Component";AO[q]||(AO[q]=!0,X=String(X),Z.tag===3?console.error(`Symbols are not valid as a React child.
|
|
99
|
+
root.render(%s)`,X):console.error(`Symbols are not valid as a React child.
|
|
100
|
+
<%s>%s</%s>`,q,X,q))}function aX(Z,X){var q=rJ();q!==null?q.run(hV.bind(null,Z,X)):hV(Z,X)}function _V(Z){function X(S,f){if(Z){var r=S.deletions;r===null?(S.deletions=[f],S.flags|=16):r.push(f)}}function q(S,f){if(!Z)return null;for(;f!==null;)X(S,f),f=f.sibling;return null}function K(S){for(var f=new Map;S!==null;)S.key!==null?f.set(S.key,S):f.set(S.index,S),S=S.sibling;return f}function W(S,f){return S=M6(S,f),S.index=0,S.sibling=null,S}function L(S,f,r){if(S.index=r,!Z)return S.flags|=1048576,f;if(r=S.alternate,r!==null)return r=r.index,r<f?(S.flags|=67108866,f):r;return S.flags|=67108866,f}function z(S){return Z&&S.alternate===null&&(S.flags|=67108866),S}function P(S,f,r,W1){if(f===null||f.tag!==6)return f=IJ(r,S.mode,W1),f.return=S,f._debugOwner=S,f._debugTask=S._debugTask,f._debugInfo=F0,f;return f=W(f,r),f.return=S,f._debugInfo=F0,f}function g(S,f,r,W1){var E1=r.type;if(E1===u7)return f=i(S,f,r.props.children,W1,r.key),pX(r,f,S),f;if(f!==null&&(f.elementType===E1||YV(f,r)||typeof E1==="object"&&E1!==null&&E1.$$typeof===k2&&K9(E1)===f.type))return f=W(f,r.props),FH(f,r),f.return=S,f._debugOwner=r._owner,f._debugInfo=F0,f;return f=SX(r,S.mode,W1),FH(f,r),f.return=S,f._debugInfo=F0,f}function D(S,f,r,W1){if(f===null||f.tag!==4||f.stateNode.containerInfo!==r.containerInfo||f.stateNode.implementation!==r.implementation)return f=yJ(r,S.mode,W1),f.return=S,f._debugInfo=F0,f;return f=W(f,r.children||[]),f.return=S,f._debugInfo=F0,f}function i(S,f,r,W1,E1){if(f===null||f.tag!==7)return f=F4(r,S.mode,W1,E1),f.return=S,f._debugOwner=S,f._debugTask=S._debugTask,f._debugInfo=F0,f;return f=W(f,r),f.return=S,f._debugInfo=F0,f}function d(S,f,r){if(typeof f==="string"&&f!==""||typeof f==="number"||typeof f==="bigint")return f=IJ(""+f,S.mode,r),f.return=S,f._debugOwner=S,f._debugTask=S._debugTask,f._debugInfo=F0,f;if(typeof f==="object"&&f!==null){switch(f.$$typeof){case o3:return r=SX(f,S.mode,r),FH(r,f),r.return=S,S=f5(f._debugInfo),r._debugInfo=F0,F0=S,r;case m7:return f=yJ(f,S.mode,r),f.return=S,f._debugInfo=F0,f;case k2:var W1=f5(f._debugInfo);return f=K9(f),S=d(S,f,r),F0=W1,S}if(g5(f)||b1(f))return r=F4(f,S.mode,r,null),r.return=S,r._debugOwner=S,r._debugTask=S._debugTask,S=f5(f._debugInfo),r._debugInfo=F0,F0=S,r;if(typeof f.then==="function")return W1=f5(f._debugInfo),S=d(S,rX(f),r),F0=W1,S;if(f.$$typeof===t3)return d(S,uX(S,f),r);iX(S,f)}return typeof f==="function"&&dX(S,f),typeof f==="symbol"&&aX(S,f),null}function T(S,f,r,W1){var E1=f!==null?f.key:null;if(typeof r==="string"&&r!==""||typeof r==="number"||typeof r==="bigint")return E1!==null?null:P(S,f,""+r,W1);if(typeof r==="object"&&r!==null){switch(r.$$typeof){case o3:return r.key===E1?(E1=f5(r._debugInfo),S=g(S,f,r,W1),F0=E1,S):null;case m7:return r.key===E1?D(S,f,r,W1):null;case k2:return E1=f5(r._debugInfo),r=K9(r),S=T(S,f,r,W1),F0=E1,S}if(g5(r)||b1(r)){if(E1!==null)return null;return E1=f5(r._debugInfo),S=i(S,f,r,W1,null),F0=E1,S}if(typeof r.then==="function")return E1=f5(r._debugInfo),S=T(S,f,rX(r),W1),F0=E1,S;if(r.$$typeof===t3)return T(S,f,uX(S,r),W1);iX(S,r)}return typeof r==="function"&&dX(S,r),typeof r==="symbol"&&aX(S,r),null}function o(S,f,r,W1,E1){if(typeof W1==="string"&&W1!==""||typeof W1==="number"||typeof W1==="bigint")return S=S.get(r)||null,P(f,S,""+W1,E1);if(typeof W1==="object"&&W1!==null){switch(W1.$$typeof){case o3:return r=S.get(W1.key===null?r:W1.key)||null,S=f5(W1._debugInfo),f=g(f,r,W1,E1),F0=S,f;case m7:return S=S.get(W1.key===null?r:W1.key)||null,D(f,S,W1,E1);case k2:var H0=f5(W1._debugInfo);return W1=K9(W1),f=o(S,f,r,W1,E1),F0=H0,f}if(g5(W1)||b1(W1))return r=S.get(r)||null,S=f5(W1._debugInfo),f=i(f,r,W1,E1,null),F0=S,f;if(typeof W1.then==="function")return H0=f5(W1._debugInfo),f=o(S,f,r,rX(W1),E1),F0=H0,f;if(W1.$$typeof===t3)return o(S,f,r,uX(f,W1),E1);iX(f,W1)}return typeof W1==="function"&&dX(f,W1),typeof W1==="symbol"&&aX(f,W1),null}function D1(S,f,r,W1){if(typeof r!=="object"||r===null)return W1;switch(r.$$typeof){case o3:case m7:R(S,f,r);var E1=r.key;if(typeof E1!=="string")break;if(W1===null){W1=new Set,W1.add(E1);break}if(!W1.has(E1)){W1.add(E1);break}G1(f,function(){console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",E1)});break;case k2:r=K9(r),D1(S,f,r,W1)}return W1}function v1(S,f,r,W1){for(var E1=null,H0=null,p1=null,l1=f,K0=f=0,a0=null;l1!==null&&K0<r.length;K0++){l1.index>K0?(a0=l1,l1=null):a0=l1.sibling;var B5=T(S,l1,r[K0],W1);if(B5===null){l1===null&&(l1=a0);break}E1=D1(S,B5,r[K0],E1),Z&&l1&&B5.alternate===null&&X(S,l1),f=L(B5,f,K0),p1===null?H0=B5:p1.sibling=B5,p1=B5,l1=a0}if(K0===r.length)return q(S,l1),N0&&C6(S,K0),H0;if(l1===null){for(;K0<r.length;K0++)l1=d(S,r[K0],W1),l1!==null&&(E1=D1(S,l1,r[K0],E1),f=L(l1,f,K0),p1===null?H0=l1:p1.sibling=l1,p1=l1);return N0&&C6(S,K0),H0}for(l1=K(l1);K0<r.length;K0++)a0=o(l1,S,K0,r[K0],W1),a0!==null&&(E1=D1(S,a0,r[K0],E1),Z&&a0.alternate!==null&&l1.delete(a0.key===null?K0:a0.key),f=L(a0,f,K0),p1===null?H0=a0:p1.sibling=a0,p1=a0);return Z&&l1.forEach(function(r6){return X(S,r6)}),N0&&C6(S,K0),H0}function r0(S,f,r,W1){if(r==null)throw Error("An iterable object provided no iterator.");for(var E1=null,H0=null,p1=f,l1=f=0,K0=null,a0=null,B5=r.next();p1!==null&&!B5.done;l1++,B5=r.next()){p1.index>l1?(K0=p1,p1=null):K0=p1.sibling;var r6=T(S,p1,B5.value,W1);if(r6===null){p1===null&&(p1=K0);break}a0=D1(S,r6,B5.value,a0),Z&&p1&&r6.alternate===null&&X(S,p1),f=L(r6,f,l1),H0===null?E1=r6:H0.sibling=r6,H0=r6,p1=K0}if(B5.done)return q(S,p1),N0&&C6(S,l1),E1;if(p1===null){for(;!B5.done;l1++,B5=r.next())p1=d(S,B5.value,W1),p1!==null&&(a0=D1(S,p1,B5.value,a0),f=L(p1,f,l1),H0===null?E1=p1:H0.sibling=p1,H0=p1);return N0&&C6(S,l1),E1}for(p1=K(p1);!B5.done;l1++,B5=r.next())K0=o(p1,S,l1,B5.value,W1),K0!==null&&(a0=D1(S,K0,B5.value,a0),Z&&K0.alternate!==null&&p1.delete(K0.key===null?l1:K0.key),f=L(K0,f,l1),H0===null?E1=K0:H0.sibling=K0,H0=K0);return Z&&p1.forEach(function(By){return X(S,By)}),N0&&C6(S,l1),E1}function $0(S,f,r,W1){if(typeof r==="object"&&r!==null&&r.type===u7&&r.key===null&&(pX(r,null,S),r=r.props.children),typeof r==="object"&&r!==null){switch(r.$$typeof){case o3:var E1=f5(r._debugInfo);H:{for(var H0=r.key;f!==null;){if(f.key===H0){if(H0=r.type,H0===u7){if(f.tag===7){q(S,f.sibling),W1=W(f,r.props.children),W1.return=S,W1._debugOwner=r._owner,W1._debugInfo=F0,pX(r,W1,S),S=W1;break H}}else if(f.elementType===H0||YV(f,r)||typeof H0==="object"&&H0!==null&&H0.$$typeof===k2&&K9(H0)===f.type){q(S,f.sibling),W1=W(f,r.props),FH(W1,r),W1.return=S,W1._debugOwner=r._owner,W1._debugInfo=F0,S=W1;break H}q(S,f);break}else X(S,f);f=f.sibling}r.type===u7?(W1=F4(r.props.children,S.mode,W1,r.key),W1.return=S,W1._debugOwner=S,W1._debugTask=S._debugTask,W1._debugInfo=F0,pX(r,W1,S),S=W1):(W1=SX(r,S.mode,W1),FH(W1,r),W1.return=S,W1._debugInfo=F0,S=W1)}return S=z(S),F0=E1,S;case m7:H:{E1=r;for(r=E1.key;f!==null;){if(f.key===r)if(f.tag===4&&f.stateNode.containerInfo===E1.containerInfo&&f.stateNode.implementation===E1.implementation){q(S,f.sibling),W1=W(f,E1.children||[]),W1.return=S,S=W1;break H}else{q(S,f);break}else X(S,f);f=f.sibling}W1=yJ(E1,S.mode,W1),W1.return=S,S=W1}return z(S);case k2:return E1=f5(r._debugInfo),r=K9(r),S=$0(S,f,r,W1),F0=E1,S}if(g5(r))return E1=f5(r._debugInfo),S=v1(S,f,r,W1),F0=E1,S;if(b1(r)){if(E1=f5(r._debugInfo),H0=b1(r),typeof H0!=="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var p1=H0.call(r);if(p1===r){if(S.tag!==0||Object.prototype.toString.call(S.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(p1)!=="[object Generator]")vO||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),vO=!0}else r.entries!==H0||LW||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),LW=!0);return S=r0(S,f,p1,W1),F0=E1,S}if(typeof r.then==="function")return E1=f5(r._debugInfo),S=$0(S,f,rX(r),W1),F0=E1,S;if(r.$$typeof===t3)return $0(S,f,uX(S,r),W1);iX(S,r)}if(typeof r==="string"&&r!==""||typeof r==="number"||typeof r==="bigint")return E1=""+r,f!==null&&f.tag===6?(q(S,f.sibling),W1=W(f,E1),W1.return=S,S=W1):(q(S,f),W1=IJ(E1,S.mode,W1),W1.return=S,W1._debugOwner=S,W1._debugTask=S._debugTask,W1._debugInfo=F0,S=W1),z(S);return typeof r==="function"&&dX(S,r),typeof r==="symbol"&&aX(S,r),q(S,f)}return function(S,f,r,W1){var E1=F0;F0=null;try{KZ=0;var H0=$0(S,f,r,W1);return Y8=null,H0}catch(a0){if(a0===q8||a0===Xq)throw a0;var p1=C(29,a0,null,S.mode);p1.lanes=W1,p1.return=S;var l1=p1._debugInfo=F0;if(p1._debugOwner=S._debugOwner,p1._debugTask=S._debugTask,l1!=null){for(var K0=l1.length-1;0<=K0;K0--)if(typeof l1[K0].stack==="string"){p1._debugOwner=l1[K0],p1._debugTask=l1[K0].debugTask;break}}return p1}finally{F0=E1}}}function xV(Z,X){var q=g5(Z);return Z=!q&&typeof b1(Z)==="function",q||Z?(q=q?"array":"iterable",console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",q,X,q),!1):!0}function iJ(Z){Z.updateQueue={baseState:Z.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function dJ(Z,X){Z=Z.updateQueue,X.updateQueue===Z&&(X.updateQueue={baseState:Z.baseState,firstBaseUpdate:Z.firstBaseUpdate,lastBaseUpdate:Z.lastBaseUpdate,shared:Z.shared,callbacks:null})}function w9(Z){return{lane:Z,tag:uO,payload:null,callback:null,next:null}}function W9(Z,X,q){var K=Z.updateQueue;if(K===null)return null;if(K=K.shared,UW===K&&!lO){var W=k(Z);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
|
|
101
|
+
|
|
102
|
+
Please update the following component: %s`,W),lO=!0}if((h0&D5)!==A5)return W=K.pending,W===null?X.next=X:(X.next=W.next,W.next=X),K.pending=X,X=vX(Z),qV(Z,null,q),X;return yX(Z,K,X,q),vX(Z)}function UH(Z,X,q){if(X=X.updateQueue,X!==null&&(X=X.shared,(q&4194048)!==0)){var K=X.lanes;K&=Z.pendingLanes,q|=K,X.lanes=q,q5(Z,q)}}function cX(Z,X){var{updateQueue:q,alternate:K}=Z;if(K!==null&&(K=K.updateQueue,q===K)){var W=null,L=null;if(q=q.firstBaseUpdate,q!==null){do{var z={lane:q.lane,tag:q.tag,payload:q.payload,callback:null,next:null};L===null?W=L=z:L=L.next=z,q=q.next}while(q!==null);L===null?W=L=X:L=L.next=X}else W=L=X;q={baseState:K.baseState,firstBaseUpdate:W,lastBaseUpdate:L,shared:K.shared,callbacks:K.callbacks},Z.updateQueue=q;return}Z=q.lastBaseUpdate,Z===null?q.firstBaseUpdate=X:Z.next=X,q.lastBaseUpdate=X}function BH(){if(BW){var Z=Q8;if(Z!==null)throw Z}}function VH(Z,X,q,K){BW=!1;var W=Z.updateQueue;x9=!1,UW=W.shared;var{firstBaseUpdate:L,lastBaseUpdate:z}=W,P=W.shared.pending;if(P!==null){W.shared.pending=null;var g=P,D=g.next;g.next=null,z===null?L=D:z.next=D,z=g;var i=Z.alternate;i!==null&&(i=i.updateQueue,P=i.lastBaseUpdate,P!==z&&(P===null?i.firstBaseUpdate=D:P.next=D,i.lastBaseUpdate=g))}if(L!==null){var d=W.baseState;z=0,i=D=g=null,P=L;do{var T=P.lane&-536870913,o=T!==P.lane;if(o?(U0&T)===T:(K&T)===T){T!==0&&T===h4&&(BW=!0),i!==null&&(i=i.next={lane:0,tag:P.tag,payload:P.payload,callback:null,next:null});H:{T=Z;var D1=P,v1=X,r0=q;switch(D1.tag){case kO:if(D1=D1.payload,typeof D1==="function"){Z8=!0;var $0=D1.call(r0,d,v1);if(T.mode&n5){W0(!0);try{D1.call(r0,d,v1)}finally{W0(!1)}}Z8=!1,d=$0;break H}d=D1;break H;case FW:T.flags=T.flags&-65537|128;case uO:if($0=D1.payload,typeof $0==="function"){if(Z8=!0,D1=$0.call(r0,d,v1),T.mode&n5){W0(!0);try{$0.call(r0,d,v1)}finally{W0(!1)}}Z8=!1}else D1=$0;if(D1===null||D1===void 0)break H;d=z0({},d,D1);break H;case fO:x9=!0}}T=P.callback,T!==null&&(Z.flags|=64,o&&(Z.flags|=8192),o=W.callbacks,o===null?W.callbacks=[T]:o.push(T))}else o={lane:T,tag:P.tag,payload:P.payload,callback:P.callback,next:null},i===null?(D=i=o,g=d):i=i.next=o,z|=T;if(P=P.next,P===null)if(P=W.shared.pending,P===null)break;else o=P,P=o.next,o.next=null,W.lastBaseUpdate=o,W.shared.pending=null}while(1);i===null&&(g=d),W.baseState=g,W.firstBaseUpdate=D,W.lastBaseUpdate=i,L===null&&(W.shared.lanes=0),y9|=z,Z.lanes=z,Z.memoizedState=d}UW=null}function EV(Z,X){if(typeof Z!=="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+Z);Z.call(X)}function Kx(Z,X){var q=Z.shared.hiddenCallbacks;if(q!==null)for(Z.shared.hiddenCallbacks=null,Z=0;Z<q.length;Z++)EV(q[Z],X)}function IV(Z,X){var q=Z.callbacks;if(q!==null)for(Z.callbacks=null,Z=0;Z<q.length;Z++)EV(q[Z],X)}function yV(Z,X){var q=w6;L1(qq,q,Z),L1(J8,X,Z),w6=q|X.baseLanes}function aJ(Z){L1(qq,w6,Z),L1(J8,J8.current,Z)}function cJ(Z){w6=qq.current,g1(J8,Z),g1(qq,Z)}function L9(Z){var X=Z.alternate;L1(U5,U5.current&K8,Z),L1(r2,Z,Z),Y3===null&&(X===null||J8.current!==null?Y3=Z:X.memoizedState!==null&&(Y3=Z))}function sJ(Z){L1(U5,U5.current,Z),L1(r2,Z,Z),Y3===null&&(Y3=Z)}function vV(Z){Z.tag===22?(L1(U5,U5.current,Z),L1(r2,Z,Z),Y3===null&&(Y3=Z)):F9(Z)}function F9(Z){L1(U5,U5.current,Z),L1(r2,r2.current,Z)}function A2(Z){g1(r2,Z),Y3===Z&&(Y3=null),g1(U5,Z)}function sX(Z){for(var X=Z;X!==null;){if(X.tag===13){var q=X.memoizedState;if(q!==null&&(q=q.dehydrated,q===null||ww(q)||Ww(q)))return X}else if(X.tag===19&&(X.memoizedProps.revealOrder==="forwards"||X.memoizedProps.revealOrder==="backwards"||X.memoizedProps.revealOrder==="unstable_legacy-backwards"||X.memoizedProps.revealOrder==="together")){if((X.flags&128)!==0)return X}else if(X.child!==null){X.child.return=X,X=X.child;continue}if(X===Z)break;for(;X.sibling===null;){if(X.return===null||X.return===Z)return null;X=X.return}X.sibling.return=X.return,X=X.sibling}return null}function V0(){var Z=H1;K3===null?K3=[Z]:K3.push(Z)}function N1(){var Z=H1;if(K3!==null&&(u6++,K3[u6]!==Z)){var X=k(e1);if(!pO.has(X)&&(pO.add(X),K3!==null)){for(var q="",K=0;K<=u6;K++){var W=K3[K],L=K===u6?Z:W;for(W=K+1+". "+W;30>W.length;)W+=" ";W+=L+`
|
|
103
|
+
`,q+=W}console.error(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks
|
|
104
|
+
|
|
105
|
+
Previous render Next render
|
|
106
|
+
------------------------------------------------------
|
|
107
|
+
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
108
|
+
`,X,q)}}}function g7(Z){Z===void 0||Z===null||g5(Z)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",H1,typeof Z)}function nX(){var Z=k(e1);iO.has(Z)||(iO.add(Z),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",Z))}function Y5(){throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
109
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
110
|
+
2. You might be breaking the Rules of Hooks
|
|
111
|
+
3. You might have more than one copy of React in the same app
|
|
112
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function nJ(Z,X){if(LZ)return!1;if(X===null)return console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",H1),!1;Z.length!==X.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
113
|
+
|
|
114
|
+
Previous: %s
|
|
115
|
+
Incoming: %s`,H1,"["+X.join(", ")+"]","["+Z.join(", ")+"]");for(var q=0;q<X.length&&q<Z.length;q++)if(!L2(Z[q],X[q]))return!1;return!0}function oJ(Z,X,q,K,W,L){if(A6=L,e1=X,K3=Z!==null?Z._debugHookTypes:null,u6=-1,LZ=Z!==null&&Z.type!==X.type,Object.prototype.toString.call(q)==="[object AsyncFunction]"||Object.prototype.toString.call(q)==="[object AsyncGeneratorFunction]")L=k(e1),VW.has(L)||(VW.add(L),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",L===null?"An unknown Component":"<"+L+">"));X.memoizedState=null,X.updateQueue=null,X.lanes=0,X1.H=Z!==null&&Z.memoizedState!==null?jW:K3!==null?dO:zW,y4=L=(X.mode&n5)!==n1;var z=KW(q,K,W);if(y4=!1,W8&&(z=tJ(X,q,K,W)),L){W0(!0);try{z=tJ(X,q,K,W)}finally{W0(!1)}}return SV(Z,X),z}function SV(Z,X){X._debugHookTypes=K3,X.dependencies===null?m6!==null&&(X.dependencies={lanes:0,firstContext:null,_debugThenableState:m6}):X.dependencies._debugThenableState=m6,X1.H=FZ;var q=k0!==null&&k0.next!==null;if(A6=0,K3=H1=N5=k0=e1=null,u6=-1,Z!==null&&(Z.flags&65011712)!==(X.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),Jq=!1,WZ=0,m6=null,q)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");Z===null||P5||(Z=Z.dependencies,Z!==null&&mX(Z)&&(P5=!0)),JZ?(JZ=!1,Z=!0):Z=!1,Z&&(X=k(X)||"Unknown",rO.has(X)||VW.has(X)||(rO.add(X),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function tJ(Z,X,q,K){e1=Z;var W=0;do{if(W8&&(m6=null),WZ=0,W8=!1,W>=iI)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(W+=1,LZ=!1,N5=k0=null,Z.updateQueue!=null){var L=Z.updateQueue;L.lastEffect=null,L.events=null,L.stores=null,L.memoCache!=null&&(L.memoCache.index=0)}u6=-1,X1.H=aO,L=KW(X,q,K)}while(W8);return L}function wx(){var Z=X1.H,X=Z.useState()[0];return X=typeof X.then==="function"?zH(X):X,Z=Z.useState()[0],(k0!==null?k0.memoizedState:null)!==Z&&(e1.flags|=1024),X}function eJ(){var Z=Kq!==0;return Kq=0,Z}function HK(Z,X,q){X.updateQueue=Z.updateQueue,X.flags=(X.mode&N3)!==n1?X.flags&-402655237:X.flags&-2053,Z.lanes&=~q}function ZK(Z){if(Jq){for(Z=Z.memoizedState;Z!==null;){var X=Z.queue;X!==null&&(X.pending=null),Z=Z.next}Jq=!1}A6=0,K3=N5=k0=e1=null,u6=-1,H1=null,W8=!1,WZ=Kq=0,m6=null}function J2(){var Z={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return N5===null?e1.memoizedState=N5=Z:N5=N5.next=Z,N5}function T0(){if(k0===null){var Z=e1.alternate;Z=Z!==null?Z.memoizedState:null}else Z=k0.next;var X=N5===null?e1.memoizedState:N5.next;if(X!==null)N5=X,k0=Z;else{if(Z===null){if(e1.alternate===null)throw Error("Update hook called on initial render. This is likely a bug in React. Please file an issue.");throw Error("Rendered more hooks than during the previous render.")}k0=Z,Z={memoizedState:k0.memoizedState,baseState:k0.baseState,baseQueue:k0.baseQueue,queue:k0.queue,next:null},N5===null?e1.memoizedState=N5=Z:N5=N5.next=Z}return N5}function oX(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function zH(Z){var X=WZ;return WZ+=1,m6===null&&(m6=MV()),Z=bV(m6,Z,X),X=e1,(N5===null?X.memoizedState:N5.next)===null&&(X=X.alternate,X1.H=X!==null&&X.memoizedState!==null?jW:zW),Z}function U9(Z){if(Z!==null&&typeof Z==="object"){if(typeof Z.then==="function")return zH(Z);if(Z.$$typeof===t3)return n0(Z)}throw Error("An unsupported type was passed to use(): "+String(Z))}function j4(Z){var X=null,q=e1.updateQueue;if(q!==null&&(X=q.memoCache),X==null){var K=e1.alternate;K!==null&&(K=K.updateQueue,K!==null&&(K=K.memoCache,K!=null&&(X={data:K.data.map(function(W){return W.slice()}),index:0})))}if(X==null&&(X={data:[],index:0}),q===null&&(q=oX(),e1.updateQueue=q),q.memoCache=X,q=X.data[X.index],q===void 0||LZ)for(q=X.data[X.index]=Array(Z),K=0;K<Z;K++)q[K]=bE;else q.length!==Z&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",q.length,Z);return X.index++,q}function z3(Z,X){return typeof X==="function"?X(Z):X}function XK(Z,X,q){var K=J2();if(q!==void 0){var W=q(X);if(y4){W0(!0);try{q(X)}finally{W0(!1)}}}else W=X;return K.memoizedState=K.baseState=W,Z={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Z,lastRenderedState:W},K.queue=Z,Z=Z.dispatch=Bx.bind(null,e1,Z),[K.memoizedState,Z]}function G7(Z){var X=T0();return QK(X,k0,Z)}function QK(Z,X,q){var K=Z.queue;if(K===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");K.lastRenderedReducer=q;var W=Z.baseQueue,L=K.pending;if(L!==null){if(W!==null){var z=W.next;W.next=L.next,L.next=z}X.baseQueue!==W&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),X.baseQueue=W=L,K.pending=null}if(L=Z.baseState,W===null)Z.memoizedState=L;else{X=W.next;var P=z=null,g=null,D=X,i=!1;do{var d=D.lane&-536870913;if(d!==D.lane?(U0&d)===d:(A6&d)===d){var T=D.revertLane;if(T===0)g!==null&&(g=g.next={lane:0,revertLane:0,gesture:null,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null}),d===h4&&(i=!0);else if((A6&T)===T){D=D.next,T===h4&&(i=!0);continue}else d={lane:0,revertLane:D.revertLane,gesture:null,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null},g===null?(P=g=d,z=L):g=g.next=d,e1.lanes|=T,y9|=T;d=D.action,y4&&q(L,d),L=D.hasEagerState?D.eagerState:q(L,d)}else T={lane:d,revertLane:D.revertLane,gesture:D.gesture,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null},g===null?(P=g=T,z=L):g=g.next=T,e1.lanes|=d,y9|=d;D=D.next}while(D!==null&&D!==X);if(g===null?z=L:g.next=P,!L2(L,Z.memoizedState)&&(P5=!0,i&&(q=Q8,q!==null)))throw q;Z.memoizedState=L,Z.baseState=z,Z.baseQueue=g,K.lastRenderedState=L}return W===null&&(K.lanes=0),[Z.memoizedState,K.dispatch]}function jH(Z){var X=T0(),q=X.queue;if(q===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");q.lastRenderedReducer=Z;var{dispatch:K,pending:W}=q,L=X.memoizedState;if(W!==null){q.pending=null;var z=W=W.next;do L=Z(L,z.action),z=z.next;while(z!==W);L2(L,X.memoizedState)||(P5=!0),X.memoizedState=L,X.baseQueue===null&&(X.baseState=L),q.lastRenderedState=L}return[L,K]}function qK(Z,X,q){var K=e1,W=J2();if(N0){if(q===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var L=q();w8||L===q()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),w8=!0)}else{if(L=X(),w8||(q=X(),L2(L,q)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),w8=!0)),f0===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(U0&127)!==0||TV(K,X,L)}return W.memoizedState=L,q={value:L,getSnapshot:X},W.queue=q,ZQ(mV.bind(null,K,q,Z),[Z]),K.flags|=2048,h7(J3|B2,{destroy:void 0},AV.bind(null,K,q,L,X),null),L}function tX(Z,X,q){var K=e1,W=T0(),L=N0;if(L){if(q===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");q=q()}else if(q=X(),!w8){var z=X();L2(q,z)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),w8=!0)}if(z=!L2((k0||W).memoizedState,q))W.memoizedState=q,P5=!0;W=W.queue;var P=mV.bind(null,K,W,Z);if(b2(2048,B2,P,[Z]),W.getSnapshot!==X||z||N5!==null&&N5.memoizedState.tag&J3){if(K.flags|=2048,h7(J3|B2,{destroy:void 0},AV.bind(null,K,W,q,X),null),f0===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");L||(A6&127)!==0||TV(K,X,q)}return q}function TV(Z,X,q){Z.flags|=16384,Z={getSnapshot:X,value:q},X=e1.updateQueue,X===null?(X=oX(),e1.updateQueue=X,X.stores=[Z]):(q=X.stores,q===null?X.stores=[Z]:q.push(Z))}function AV(Z,X,q,K){X.value=q,X.getSnapshot=K,uV(X)&&kV(Z)}function mV(Z,X,q){return q(function(){uV(X)&&(m3(2,"updateSyncExternalStore()",Z),kV(Z))})}function uV(Z){var X=Z.getSnapshot;Z=Z.value;try{var q=X();return!L2(Z,q)}catch(K){return!0}}function kV(Z){var X=c5(Z,2);X!==null&&X5(X,Z,2)}function YK(Z){var X=J2();if(typeof Z==="function"){var q=Z;if(Z=q(),y4){W0(!0);try{q()}finally{W0(!1)}}}return X.memoizedState=X.baseState=Z,X.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:z3,lastRenderedState:Z},X}function JK(Z){Z=YK(Z);var X=Z.queue,q=Yz.bind(null,e1,X);return X.dispatch=q,[Z.memoizedState,q]}function KK(Z){var X=J2();X.memoizedState=X.baseState=Z;var q={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return X.queue=q,X=MK.bind(null,e1,!0,q),q.dispatch=X,[Z,X]}function fV(Z,X){var q=T0();return lV(q,k0,Z,X)}function lV(Z,X,q,K){return Z.baseState=q,QK(Z,k0,typeof K==="function"?K:z3)}function pV(Z,X){var q=T0();if(k0!==null)return lV(q,k0,Z,X);return q.baseState=Z,[Z,q.queue.dispatch]}function Wx(Z,X,q,K,W){if(KQ(Z))throw Error("Cannot update form state while rendering.");if(Z=X.action,Z!==null){var L={payload:W,action:Z,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(z){L.listeners.push(z)}};X1.T!==null?q(!0):L.isTransition=!1,K(L),q=X.pending,q===null?(L.next=X.pending=L,rV(X,L)):(L.next=q.next,X.pending=q.next=L)}}function rV(Z,X){var{action:q,payload:K}=X,W=Z.state;if(X.isTransition){var L=X1.T,z={};z._updatedFibers=new Set,X1.T=z;try{var P=q(W,K),g=X1.S;g!==null&&g(z,P),iV(Z,X,P)}catch(D){wK(Z,X,D)}finally{L!==null&&z.types!==null&&(L.types!==null&&L.types!==z.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),L.types=z.types),X1.T=L,L===null&&z._updatedFibers&&(Z=z._updatedFibers.size,z._updatedFibers.clear(),10<Z&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{z=q(W,K),iV(Z,X,z)}catch(D){wK(Z,X,D)}}function iV(Z,X,q){q!==null&&typeof q==="object"&&typeof q.then==="function"?(X1.asyncTransitions++,q.then(JQ,JQ),q.then(function(K){dV(Z,X,K)},function(K){return wK(Z,X,K)}),X.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):dV(Z,X,q)}function dV(Z,X,q){X.status="fulfilled",X.value=q,aV(X),Z.state=q,X=Z.pending,X!==null&&(q=X.next,q===X?Z.pending=null:(q=q.next,X.next=q,rV(Z,q)))}function wK(Z,X,q){var K=Z.pending;if(Z.pending=null,K!==null){K=K.next;do X.status="rejected",X.reason=q,aV(X),X=X.next;while(X!==K)}Z.action=null}function aV(Z){Z=Z.listeners;for(var X=0;X<Z.length;X++)(0,Z[X])()}function cV(Z,X){return X}function D7(Z,X){if(N0){var q=f0.formState;if(q!==null){H:{var K=e1;if(N0){if(d0){Z:{var W=d0;for(var L=Q3;W.nodeType!==8;){if(!L){W=null;break Z}if(W=u2(W.nextSibling),W===null){W=null;break Z}}L=W.data,W=L===uW||L===IN?W:null}if(W){d0=u2(W.nextSibling),K=W.data===uW;break H}}Y9(K)}K=!1}K&&(X=q[0])}}return q=J2(),q.memoizedState=q.baseState=X,K={pending:null,lanes:0,dispatch:null,lastRenderedReducer:cV,lastRenderedState:X},q.queue=K,q=Yz.bind(null,e1,K),K.dispatch=q,K=YK(!1),L=MK.bind(null,e1,!1,K.queue),K=J2(),W={state:X,dispatch:null,action:Z,pending:null},K.queue=W,q=Wx.bind(null,e1,W,L,q),W.dispatch=q,K.memoizedState=Z,[X,q,!1]}function eX(Z){var X=T0();return sV(X,k0,Z)}function sV(Z,X,q){if(X=QK(Z,X,cV)[0],Z=G7(z3)[0],typeof X==="object"&&X!==null&&typeof X.then==="function")try{var K=zH(X)}catch(z){if(z===q8)throw Xq;throw z}else K=X;X=T0();var W=X.queue,L=W.dispatch;return q!==X.memoizedState&&(e1.flags|=2048,h7(J3|B2,{destroy:void 0},Lx.bind(null,W,q),null)),[K,L,Z]}function Lx(Z,X){Z.action=X}function HQ(Z){var X=T0(),q=k0;if(q!==null)return sV(X,q,Z);T0(),X=X.memoizedState,q=T0();var K=q.queue.dispatch;return q.memoizedState=Z,[X,K,!1]}function h7(Z,X,q,K){return Z={tag:Z,create:q,deps:K,inst:X,next:null},X=e1.updateQueue,X===null&&(X=oX(),e1.updateQueue=X),q=X.lastEffect,q===null?X.lastEffect=Z.next=Z:(K=q.next,q.next=Z,Z.next=K,X.lastEffect=Z),Z}function WK(Z){var X=J2();return Z={current:Z},X.memoizedState=Z}function R4(Z,X,q,K){var W=J2();e1.flags|=Z,W.memoizedState=h7(J3|X,{destroy:void 0},q,K===void 0?null:K)}function b2(Z,X,q,K){var W=T0();K=K===void 0?null:K;var L=W.memoizedState.inst;k0!==null&&K!==null&&nJ(K,k0.memoizedState.deps)?W.memoizedState=h7(X,L,q,K):(e1.flags|=Z,W.memoizedState=h7(J3|X,L,q,K))}function ZQ(Z,X){(e1.mode&N3)!==n1?R4(276826112,B2,Z,X):R4(8390656,B2,Z,X)}function Fx(Z){e1.flags|=4;var X=e1.updateQueue;if(X===null)X=oX(),e1.updateQueue=X,X.events=[Z];else{var q=X.events;q===null?X.events=[Z]:q.push(Z)}}function LK(Z){var X=J2(),q={impl:Z};return X.memoizedState=q,function(){if((h0&D5)!==A5)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return q.impl.apply(void 0,arguments)}}function XQ(Z){var X=T0().memoizedState;return Fx({ref:X,nextImpl:Z}),function(){if((h0&D5)!==A5)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return X.impl.apply(void 0,arguments)}}function FK(Z,X){var q=4194308;return(e1.mode&N3)!==n1&&(q|=134217728),R4(q,i2,Z,X)}function nV(Z,X){if(typeof X==="function"){Z=Z();var q=X(Z);return function(){typeof q==="function"?q():X(null)}}if(X!==null&&X!==void 0)return X.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(X).join(", ")+"}"),Z=Z(),X.current=Z,function(){X.current=null}}function UK(Z,X,q){typeof X!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",X!==null?typeof X:"null"),q=q!==null&&q!==void 0?q.concat([Z]):null;var K=4194308;(e1.mode&N3)!==n1&&(K|=134217728),R4(K,i2,nV.bind(null,X,Z),q)}function QQ(Z,X,q){typeof X!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",X!==null?typeof X:"null"),q=q!==null&&q!==void 0?q.concat([Z]):null,b2(4,i2,nV.bind(null,X,Z),q)}function BK(Z,X){return J2().memoizedState=[Z,X===void 0?null:X],Z}function qQ(Z,X){var q=T0();X=X===void 0?null:X;var K=q.memoizedState;if(X!==null&&nJ(X,K[1]))return K[0];return q.memoizedState=[Z,X],Z}function VK(Z,X){var q=J2();X=X===void 0?null:X;var K=Z();if(y4){W0(!0);try{Z()}finally{W0(!1)}}return q.memoizedState=[K,X],K}function YQ(Z,X){var q=T0();X=X===void 0?null:X;var K=q.memoizedState;if(X!==null&&nJ(X,K[1]))return K[0];if(K=Z(),y4){W0(!0);try{Z()}finally{W0(!1)}}return q.memoizedState=[K,X],K}function zK(Z,X){var q=J2();return jK(q,Z,X)}function oV(Z,X){var q=T0();return eV(q,k0.memoizedState,Z,X)}function tV(Z,X){var q=T0();return k0===null?jK(q,Z,X):eV(q,k0.memoizedState,Z,X)}function jK(Z,X,q){if(q===void 0||(A6&1073741824)!==0&&(U0&261930)===0)return Z.memoizedState=X;return Z.memoizedState=q,Z=Hj(),e1.lanes|=Z,y9|=Z,q}function eV(Z,X,q,K){if(L2(q,X))return q;if(J8.current!==null)return Z=jK(Z,q,K),L2(Z,X)||(P5=!0),Z;if((A6&42)===0||(A6&1073741824)!==0&&(U0&261930)===0)return P5=!0,Z.memoizedState=q;return Z=Hj(),e1.lanes|=Z,y9|=Z,X}function JQ(){X1.asyncTransitions--}function Hz(Z,X,q,K,W){var L=S0.p;S0.p=L!==0&&L<O3?L:O3;var z=X1.T,P={};P._updatedFibers=new Set,X1.T=P,MK(Z,!1,X,q);try{var g=W(),D=X1.S;if(D!==null&&D(P,g),g!==null&&typeof g==="object"&&typeof g.then==="function"){X1.asyncTransitions++,g.then(JQ,JQ);var i=Jx(g,K);RH(Z,X,i,m2(Z))}else RH(Z,X,K,m2(Z))}catch(d){RH(Z,X,{then:function(){},status:"rejected",reason:d},m2(Z))}finally{S0.p=L,z!==null&&P.types!==null&&(z.types!==null&&z.types!==P.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),z.types=P.types),X1.T=z,z===null&&P._updatedFibers&&(Z=P._updatedFibers.size,P._updatedFibers.clear(),10<Z&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function RK(Z,X,q,K){if(Z.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var W=Zz(Z).queue;qx(Z),Hz(Z,W,X,r4,q===null?N:function(){return Xz(Z),q(K)})}function Zz(Z){var X=Z.memoizedState;if(X!==null)return X;X={memoizedState:r4,baseState:r4,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:z3,lastRenderedState:r4},next:null};var q={};return X.next={memoizedState:q,baseState:q,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:z3,lastRenderedState:q},next:null},Z.memoizedState=X,Z=Z.alternate,Z!==null&&(Z.memoizedState=X),X}function Xz(Z){X1.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var X=Zz(Z);X.next===null&&(X=Z.alternate.memoizedState),RH(Z,X.next.queue,{},m2(Z))}function OK(){var Z=YK(!1);return Z=Hz.bind(null,e1,Z.queue,!0,!1),J2().memoizedState=Z,[!1,Z]}function Qz(){var Z=G7(z3)[0],X=T0().memoizedState;return[typeof Z==="boolean"?Z:zH(Z),X]}function qz(){var Z=jH(z3)[0],X=T0().memoizedState;return[typeof Z==="boolean"?Z:zH(Z),X]}function O4(){return n0(GZ)}function NK(){var Z=J2(),X=f0.identifierPrefix;if(N0){var q=I6,K=E6;q=(K&~(1<<32-K2(K)-1)).toString(32)+q,X="_"+X+"R_"+q,q=Kq++,0<q&&(X+="H"+q.toString(32)),X+="_"}else q=rI++,X="_"+X+"r_"+q.toString(32)+"_";return Z.memoizedState=X}function PK(){return J2().memoizedState=Ux.bind(null,e1)}function Ux(Z,X){for(var q=Z.return;q!==null;){switch(q.tag){case 24:case 3:var K=m2(q),W=w9(K),L=W9(q,W,K);L!==null&&(m3(K,"refresh()",Z),X5(L,q,K),UH(L,q,K)),Z=kJ(),X!==null&&X!==void 0&&L!==null&&console.error("The seed argument is not enabled outside experimental channels."),W.payload={cache:Z};return}q=q.return}}function Bx(Z,X,q){var K=arguments;typeof K[3]==="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),K=m2(Z);var W={lane:K,revertLane:0,gesture:null,action:q,hasEagerState:!1,eagerState:null,next:null};KQ(Z)?Jz(X,W):(W=hJ(Z,X,W,K),W!==null&&(m3(K,"dispatch()",Z),X5(W,Z,K),Kz(W,X,K)))}function Yz(Z,X,q){var K=arguments;typeof K[3]==="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),K=m2(Z),RH(Z,X,q,K)&&m3(K,"setState()",Z)}function RH(Z,X,q,K){var W={lane:K,revertLane:0,gesture:null,action:q,hasEagerState:!1,eagerState:null,next:null};if(KQ(Z))Jz(X,W);else{var L=Z.alternate;if(Z.lanes===0&&(L===null||L.lanes===0)&&(L=X.lastRenderedReducer,L!==null)){var z=X1.H;X1.H=M3;try{var P=X.lastRenderedState,g=L(P,q);if(W.hasEagerState=!0,W.eagerState=g,L2(g,P))return yX(Z,X,W,0),f0===null&&IX(),!1}catch(D){}finally{X1.H=z}}if(q=hJ(Z,X,W,K),q!==null)return X5(q,Z,K),Kz(q,X,K),!0}return!1}function MK(Z,X,q,K){if(X1.T===null&&h4===0&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),K={lane:2,revertLane:oK(),gesture:null,action:K,hasEagerState:!1,eagerState:null,next:null},KQ(Z)){if(X)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else X=hJ(Z,q,K,2),X!==null&&(m3(2,"setOptimistic()",Z),X5(X,Z,2))}function KQ(Z){var X=Z.alternate;return Z===e1||X!==null&&X===e1}function Jz(Z,X){W8=Jq=!0;var q=Z.pending;q===null?X.next=X:(X.next=q.next,q.next=X),Z.pending=X}function Kz(Z,X,q){if((q&4194048)!==0){var K=X.lanes;K&=Z.pendingLanes,q|=K,X.lanes=q,q5(Z,q)}}function CK(Z){if(Z!==null&&typeof Z!=="function"){var X=String(Z);qN.has(X)||(qN.add(X),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",Z))}}function bK(Z,X,q,K){var W=Z.memoizedState,L=q(K,W);if(Z.mode&n5){W0(!0);try{L=q(K,W)}finally{W0(!1)}}L===void 0&&(X=e(X)||"Component",HN.has(X)||(HN.add(X),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",X))),W=L===null||L===void 0?W:z0({},W,L),Z.memoizedState=W,Z.lanes===0&&(Z.updateQueue.baseState=W)}function wz(Z,X,q,K,W,L,z){var P=Z.stateNode;if(typeof P.shouldComponentUpdate==="function"){if(q=P.shouldComponentUpdate(K,L,z),Z.mode&n5){W0(!0);try{q=P.shouldComponentUpdate(K,L,z)}finally{W0(!1)}}return q===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",e(X)||"Component"),q}return X.prototype&&X.prototype.isPureReactComponent?!YH(q,K)||!YH(W,L):!0}function Wz(Z,X,q,K){var W=X.state;typeof X.componentWillReceiveProps==="function"&&X.componentWillReceiveProps(q,K),typeof X.UNSAFE_componentWillReceiveProps==="function"&&X.UNSAFE_componentWillReceiveProps(q,K),X.state!==W&&(Z=k(Z)||"Component",sO.has(Z)||(sO.add(Z),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Z)),RW.enqueueReplaceState(X,X.state,null))}function N4(Z,X){var q=X;if("ref"in X){q={};for(var K in X)K!=="ref"&&(q[K]=X[K])}if(Z=Z.defaultProps){q===X&&(q=z0({},q));for(var W in Z)q[W]===void 0&&(q[W]=Z[W])}return q}function Lz(Z){cw(Z),console.warn(`%s
|
|
116
|
+
|
|
117
|
+
%s
|
|
118
|
+
`,L8?"An error occurred in the <"+L8+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
119
|
+
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function Fz(Z){var X=L8?"The above error occurred in the <"+L8+"> component.":"The above error occurred in one of your React components.",q="React will try to recreate this component tree from scratch using the error boundary you provided, "+((OW||"Anonymous")+".");if(typeof Z==="object"&&Z!==null&&typeof Z.environmentName==="string"){var K=Z.environmentName;Z=[`%o
|
|
120
|
+
|
|
121
|
+
%s
|
|
122
|
+
|
|
123
|
+
%s
|
|
124
|
+
`,Z,X,q].slice(0),typeof Z[0]==="string"?Z.splice(0,1,kN+" "+Z[0],fN,Iq+K+Iq,lN):Z.splice(0,0,kN,fN,Iq+K+Iq,lN),Z.unshift(console),K=Fy.apply(console.error,Z),K()}else console.error(`%o
|
|
125
|
+
|
|
126
|
+
%s
|
|
127
|
+
|
|
128
|
+
%s
|
|
129
|
+
`,Z,X,q)}function Uz(Z){cw(Z)}function wQ(Z,X){try{L8=X.source?k(X.source):null,OW=null;var q=X.value;if(X1.actQueue!==null)X1.thrownErrors.push(q);else{var K=Z.onUncaughtError;K(q,{componentStack:X.stack})}}catch(W){setTimeout(function(){throw W})}}function Bz(Z,X,q){try{L8=q.source?k(q.source):null,OW=k(X);var K=Z.onCaughtError;K(q.value,{componentStack:q.stack,errorBoundary:X.tag===1?X.stateNode:null})}catch(W){setTimeout(function(){throw W})}}function $K(Z,X,q){return q=w9(q),q.tag=FW,q.payload={element:null},q.callback=function(){G1(X.source,wQ,Z,X)},q}function gK(Z){return Z=w9(Z),Z.tag=FW,Z}function GK(Z,X,q,K){var W=q.type.getDerivedStateFromError;if(typeof W==="function"){var L=K.value;Z.payload=function(){return W(L)},Z.callback=function(){JV(q),G1(K.source,Bz,X,q,K)}}var z=q.stateNode;z!==null&&typeof z.componentDidCatch==="function"&&(Z.callback=function(){JV(q),G1(K.source,Bz,X,q,K),typeof W!=="function"&&(S9===null?S9=new Set([this]):S9.add(this)),kI(this,K),typeof W==="function"||(q.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",k(q)||"Unknown")})}function Vx(Z,X,q,K,W){if(q.flags|=32768,Z6&&gH(Z,W),K!==null&&typeof K==="object"&&typeof K.then==="function"){if(X=q.alternate,X!==null&&$7(X,q,W,!0),N0&&(q6=!0),q=r2.current,q!==null){switch(q.tag){case 31:case 13:return Y3===null?RQ():q.alternate===null&&H5===f6&&(H5=Lq),q.flags&=-257,q.flags|=65536,q.lanes=W,K===Qq?q.flags|=16384:(X=q.updateQueue,X===null?q.updateQueue=new Set([K]):X.add(K),aK(Z,K,W)),!1;case 22:return q.flags|=65536,K===Qq?q.flags|=16384:(X=q.updateQueue,X===null?(X={transitions:null,markerInstances:null,retryQueue:new Set([K])},q.updateQueue=X):(q=X.retryQueue,q===null?X.retryQueue=new Set([K]):q.add(K)),aK(Z,K,W)),!1}throw Error("Unexpected Suspense handler tag ("+q.tag+"). This is a bug in React.")}return aK(Z,K,W),RQ(),!1}if(N0)return q6=!0,X=r2.current,X!==null?((X.flags&65536)===0&&(X.flags|=256),X.flags|=65536,X.lanes=W,K!==HW&&KH(v2(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:K}),q))):(K!==HW&&KH(v2(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:K}),q)),Z=Z.current.alternate,Z.flags|=65536,W&=-W,Z.lanes|=W,K=v2(K,q),W=$K(Z.stateNode,K,W),cX(Z,W),H5!==E9&&(H5=v4)),!1;var L=v2(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:K}),q);if(RZ===null?RZ=[L]:RZ.push(L),H5!==E9&&(H5=v4),X===null)return!0;K=v2(K,q),q=X;do{switch(q.tag){case 3:return q.flags|=65536,Z=W&-W,q.lanes|=Z,Z=$K(q.stateNode,K,Z),cX(q,Z),!1;case 1:if(X=q.type,L=q.stateNode,(q.flags&128)===0&&(typeof X.getDerivedStateFromError==="function"||L!==null&&typeof L.componentDidCatch==="function"&&(S9===null||!S9.has(L))))return q.flags|=65536,W&=-W,q.lanes|=W,W=gK(W),GK(W,Z,q,K),cX(q,W),!1}q=q.return}while(q!==null);return!1}function l5(Z,X,q,K){X.child=Z===null?mO(X,null,q,K):I4(X,Z.child,q,K)}function Vz(Z,X,q,K,W){q=q.render;var L=X.ref;if("ref"in K){var z={};for(var P in K)P!=="ref"&&(z[P]=K[P])}else z=K;if(V4(X),K=oJ(Z,X,q,z,L,W),P=eJ(),Z!==null&&!P5)return HK(Z,X,W),g6(Z,X,W);return N0&&P&&vJ(X),X.flags|=1,l5(Z,X,K,W),X.child}function zz(Z,X,q,K,W){if(Z===null){var L=q.type;if(typeof L==="function"&&!xJ(L)&&L.defaultProps===void 0&&q.compare===null)return q=L4(L),X.tag=15,X.type=q,hK(X,L),jz(Z,X,q,K,W);return Z=EJ(q.type,null,K,X,X.mode,W),Z.ref=X.ref,Z.return=X,X.child=Z}if(L=Z.child,!vK(Z,W)){var z=L.memoizedProps;if(q=q.compare,q=q!==null?q:YH,q(z,K)&&Z.ref===X.ref)return g6(Z,X,W)}return X.flags|=1,Z=M6(L,K),Z.ref=X.ref,Z.return=X,X.child=Z}function jz(Z,X,q,K,W){if(Z!==null){var L=Z.memoizedProps;if(YH(L,K)&&Z.ref===X.ref&&X.type===Z.type)if(P5=!1,X.pendingProps=K=L,vK(Z,W))(Z.flags&131072)!==0&&(P5=!0);else return X.lanes=Z.lanes,g6(Z,X,W)}return DK(Z,X,q,K,W)}function Rz(Z,X,q,K){var W=K.children,L=Z!==null?Z.memoizedState:null;if(Z===null&&X.stateNode===null&&(X.stateNode={_visibility:dH,_pendingMarkers:null,_retryCache:null,_transitions:null}),K.mode==="hidden"){if((X.flags&128)!==0){if(L=L!==null?L.baseLanes|q:q,Z!==null){K=X.child=Z.child;for(W=0;K!==null;)W=W|K.lanes|K.childLanes,K=K.sibling;K=W&~L}else K=0,X.child=null;return Oz(Z,X,L,q,K)}if((q&536870912)!==0)X.memoizedState={baseLanes:0,cachePool:null},Z!==null&&lX(X,L!==null?L.cachePool:null),L!==null?yV(X,L):aJ(X),vV(X);else return K=X.lanes=536870912,Oz(Z,X,L!==null?L.baseLanes|q:q,q,K)}else L!==null?(lX(X,L.cachePool),yV(X,L),F9(X),X.memoizedState=null):(Z!==null&&lX(X,null),aJ(X),F9(X));return l5(Z,X,W,q),X.child}function OH(Z,X){return Z!==null&&Z.tag===22||X.stateNode!==null||(X.stateNode={_visibility:dH,_pendingMarkers:null,_retryCache:null,_transitions:null}),X.sibling}function Oz(Z,X,q,K,W){var L=pJ();return L=L===null?null:{parent:R5._currentValue,pool:L},X.memoizedState={baseLanes:q,cachePool:L},Z!==null&&lX(X,null),aJ(X),vV(X),Z!==null&&$7(Z,X,K,!0),X.childLanes=W,null}function WQ(Z,X){var q=X.hidden;return q!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
|
|
130
|
+
- <Activity %s>
|
|
131
|
+
+ <Activity %s>`,q===!0?"hidden":q===!1?"hidden={false}":"hidden={...}",q?'mode="hidden"':'mode="visible"'),X=FQ({mode:X.mode,children:X.children},Z.mode),X.ref=Z.ref,Z.child=X,X.return=Z,X}function Nz(Z,X,q){return I4(X,Z.child,null,q),Z=WQ(X,X.pendingProps),Z.flags|=2,A2(X),X.memoizedState=null,Z}function zx(Z,X,q){var K=X.pendingProps,W=(X.flags&128)!==0;if(X.flags&=-129,Z===null){if(N0){if(K.mode==="hidden")return Z=WQ(X,K),X.lanes=536870912,OH(null,Z);if(sJ(X),(Z=d0)?(q=rj(Z,Q3),q=q!==null&&q.data===k4?q:null,q!==null&&(K={dehydrated:q,treeContext:FV(),retryLane:536870912,hydrationErrors:null},X.memoizedState=K,K=WV(q),K.return=X,X.child=K,i5=X,d0=null)):q=null,q===null)throw TX(X,Z),Y9(X);return X.lanes=536870912,null}return WQ(X,K)}var L=Z.memoizedState;if(L!==null){var z=L.dehydrated;if(sJ(X),W)if(X.flags&256)X.flags&=-257,X=Nz(Z,X,q);else if(X.memoizedState!==null)X.child=Z.child,X.flags|=128,X=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(BV(),(q&536870912)!==0&&jQ(X),P5||$7(Z,X,q,!1),W=(q&Z.childLanes)!==0,P5||W){if(K=f0,K!==null&&(z=Y2(K,q),z!==0&&z!==L.retryLane))throw L.retryLane=z,c5(Z,z),X5(K,Z,z),NW;RQ(),X=Nz(Z,X,q)}else Z=L.treeContext,d0=u2(z.nextSibling),i5=X,N0=!0,$9=null,q6=!1,p2=null,Q3=!1,Z!==null&&UV(X,Z),X=WQ(X,K),X.flags|=4096;return X}return L=Z.child,K={mode:K.mode,children:K.children},(q&536870912)!==0&&(q&Z.lanes)!==0&&jQ(X),Z=M6(L,K),Z.ref=X.ref,X.child=Z,Z.return=X,Z}function LQ(Z,X){var q=X.ref;if(q===null)Z!==null&&Z.ref!==null&&(X.flags|=4194816);else{if(typeof q!=="function"&&typeof q!=="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");if(Z===null||Z.ref!==q)X.flags|=4194816}}function DK(Z,X,q,K,W){if(q.prototype&&typeof q.prototype.render==="function"){var L=e(q)||"Unknown";YN[L]||(console.error("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",L,L),YN[L]=!0)}if(X.mode&n5&&P3.recordLegacyContextWarning(X,null),Z===null&&(hK(X,X.type),q.contextTypes&&(L=e(q)||"Unknown",KN[L]||(KN[L]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",L)))),V4(X),q=oJ(Z,X,q,K,void 0,W),K=eJ(),Z!==null&&!P5)return HK(Z,X,W),g6(Z,X,W);return N0&&K&&vJ(X),X.flags|=1,l5(Z,X,q,W),X.child}function Pz(Z,X,q,K,W,L){if(V4(X),u6=-1,LZ=Z!==null&&Z.type!==X.type,X.updateQueue=null,q=tJ(X,K,q,W),SV(Z,X),K=eJ(),Z!==null&&!P5)return HK(Z,X,L),g6(Z,X,L);return N0&&K&&vJ(X),X.flags|=1,l5(Z,X,q,L),X.child}function Mz(Z,X,q,K,W){switch(F(X)){case!1:var L=X.stateNode,z=new X.type(X.memoizedProps,L.context).state;L.updater.enqueueSetState(L,z,null);break;case!0:X.flags|=128,X.flags|=65536,L=Error("Simulated error coming from DevTools");var P=W&-W;if(X.lanes|=P,z=f0,z===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");P=gK(P),GK(P,z,X,v2(L,X)),cX(X,P)}if(V4(X),X.stateNode===null){if(z=b9,L=q.contextType,"contextType"in q&&L!==null&&(L===void 0||L.$$typeof!==t3)&&!QN.has(q)&&(QN.add(q),P=L===void 0?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof L!=="object"?" However, it is set to a "+typeof L+".":L.$$typeof===Pw?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(L).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",e(q)||"Component",P)),typeof L==="object"&&L!==null&&(z=n0(L)),L=new q(K,z),X.mode&n5){W0(!0);try{L=new q(K,z)}finally{W0(!1)}}if(z=X.memoizedState=L.state!==null&&L.state!==void 0?L.state:null,L.updater=RW,X.stateNode=L,L._reactInternals=X,L._reactInternalInstance=cO,typeof q.getDerivedStateFromProps==="function"&&z===null&&(z=e(q)||"Component",nO.has(z)||(nO.add(z),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",z,L.state===null?"null":"undefined",z))),typeof q.getDerivedStateFromProps==="function"||typeof L.getSnapshotBeforeUpdate==="function"){var g=P=z=null;if(typeof L.componentWillMount==="function"&&L.componentWillMount.__suppressDeprecationWarning!==!0?z="componentWillMount":typeof L.UNSAFE_componentWillMount==="function"&&(z="UNSAFE_componentWillMount"),typeof L.componentWillReceiveProps==="function"&&L.componentWillReceiveProps.__suppressDeprecationWarning!==!0?P="componentWillReceiveProps":typeof L.UNSAFE_componentWillReceiveProps==="function"&&(P="UNSAFE_componentWillReceiveProps"),typeof L.componentWillUpdate==="function"&&L.componentWillUpdate.__suppressDeprecationWarning!==!0?g="componentWillUpdate":typeof L.UNSAFE_componentWillUpdate==="function"&&(g="UNSAFE_componentWillUpdate"),z!==null||P!==null||g!==null){L=e(q)||"Component";var D=typeof q.getDerivedStateFromProps==="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";tO.has(L)||(tO.add(L),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
132
|
+
|
|
133
|
+
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
134
|
+
|
|
135
|
+
The above lifecycles should be removed. Learn more about this warning here:
|
|
136
|
+
https://react.dev/link/unsafe-component-lifecycles`,L,D,z!==null?`
|
|
137
|
+
`+z:"",P!==null?`
|
|
138
|
+
`+P:"",g!==null?`
|
|
139
|
+
`+g:""))}}L=X.stateNode,z=e(q)||"Component",L.render||(q.prototype&&typeof q.prototype.render==="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",z):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",z)),!L.getInitialState||L.getInitialState.isReactClassApproved||L.state||console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",z),L.getDefaultProps&&!L.getDefaultProps.isReactClassApproved&&console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",z),L.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",z),q.childContextTypes&&!XN.has(q)&&(XN.add(q),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",z)),q.contextTypes&&!ZN.has(q)&&(ZN.add(q),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",z)),typeof L.componentShouldUpdate==="function"&&console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",z),q.prototype&&q.prototype.isPureReactComponent&&typeof L.shouldComponentUpdate<"u"&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",e(q)||"A pure component"),typeof L.componentDidUnmount==="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",z),typeof L.componentDidReceiveProps==="function"&&console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",z),typeof L.componentWillRecieveProps==="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",z),typeof L.UNSAFE_componentWillRecieveProps==="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",z),P=L.props!==K,L.props!==void 0&&P&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",z),L.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",z,z),typeof L.getSnapshotBeforeUpdate!=="function"||typeof L.componentDidUpdate==="function"||oO.has(q)||(oO.add(q),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",e(q))),typeof L.getDerivedStateFromProps==="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",z),typeof L.getDerivedStateFromError==="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",z),typeof q.getSnapshotBeforeUpdate==="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",z),(P=L.state)&&(typeof P!=="object"||g5(P))&&console.error("%s.state: must be set to an object or null",z),typeof L.getChildContext==="function"&&typeof q.childContextTypes!=="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",z),L=X.stateNode,L.props=K,L.state=X.memoizedState,L.refs={},iJ(X),z=q.contextType,L.context=typeof z==="object"&&z!==null?n0(z):b9,L.state===K&&(z=e(q)||"Component",eO.has(z)||(eO.add(z),console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",z))),X.mode&n5&&P3.recordLegacyContextWarning(X,L),P3.recordUnsafeLifecycleWarnings(X,L),L.state=X.memoizedState,z=q.getDerivedStateFromProps,typeof z==="function"&&(bK(X,q,z,K),L.state=X.memoizedState),typeof q.getDerivedStateFromProps==="function"||typeof L.getSnapshotBeforeUpdate==="function"||typeof L.UNSAFE_componentWillMount!=="function"&&typeof L.componentWillMount!=="function"||(z=L.state,typeof L.componentWillMount==="function"&&L.componentWillMount(),typeof L.UNSAFE_componentWillMount==="function"&&L.UNSAFE_componentWillMount(),z!==L.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",k(X)||"Component"),RW.enqueueReplaceState(L,L.state,null)),VH(X,K,L,W),BH(),L.state=X.memoizedState),typeof L.componentDidMount==="function"&&(X.flags|=4194308),(X.mode&N3)!==n1&&(X.flags|=134217728),L=!0}else if(Z===null){L=X.stateNode;var i=X.memoizedProps;P=N4(q,i),L.props=P;var d=L.context;g=q.contextType,z=b9,typeof g==="object"&&g!==null&&(z=n0(g)),D=q.getDerivedStateFromProps,g=typeof D==="function"||typeof L.getSnapshotBeforeUpdate==="function",i=X.pendingProps!==i,g||typeof L.UNSAFE_componentWillReceiveProps!=="function"&&typeof L.componentWillReceiveProps!=="function"||(i||d!==z)&&Wz(X,L,K,z),x9=!1;var T=X.memoizedState;L.state=T,VH(X,K,L,W),BH(),d=X.memoizedState,i||T!==d||x9?(typeof D==="function"&&(bK(X,q,D,K),d=X.memoizedState),(P=x9||wz(X,q,P,K,T,d,z))?(g||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"&&(X.flags|=4194308),(X.mode&N3)!==n1&&(X.flags|=134217728)):(typeof L.componentDidMount==="function"&&(X.flags|=4194308),(X.mode&N3)!==n1&&(X.flags|=134217728),X.memoizedProps=K,X.memoizedState=d),L.props=K,L.state=d,L.context=z,L=P):(typeof L.componentDidMount==="function"&&(X.flags|=4194308),(X.mode&N3)!==n1&&(X.flags|=134217728),L=!1)}else{L=X.stateNode,dJ(Z,X),z=X.memoizedProps,g=N4(q,z),L.props=g,D=X.pendingProps,T=L.context,d=q.contextType,P=b9,typeof d==="object"&&d!==null&&(P=n0(d)),i=q.getDerivedStateFromProps,(d=typeof i==="function"||typeof L.getSnapshotBeforeUpdate==="function")||typeof L.UNSAFE_componentWillReceiveProps!=="function"&&typeof L.componentWillReceiveProps!=="function"||(z!==D||T!==P)&&Wz(X,L,K,P),x9=!1,T=X.memoizedState,L.state=T,VH(X,K,L,W),BH();var o=X.memoizedState;z!==D||T!==o||x9||Z!==null&&Z.dependencies!==null&&mX(Z.dependencies)?(typeof i==="function"&&(bK(X,q,i,K),o=X.memoizedState),(g=x9||wz(X,q,g,K,T,o,P)||Z!==null&&Z.dependencies!==null&&mX(Z.dependencies))?(d||typeof L.UNSAFE_componentWillUpdate!=="function"&&typeof L.componentWillUpdate!=="function"||(typeof L.componentWillUpdate==="function"&&L.componentWillUpdate(K,o,P),typeof L.UNSAFE_componentWillUpdate==="function"&&L.UNSAFE_componentWillUpdate(K,o,P)),typeof L.componentDidUpdate==="function"&&(X.flags|=4),typeof L.getSnapshotBeforeUpdate==="function"&&(X.flags|=1024)):(typeof L.componentDidUpdate!=="function"||z===Z.memoizedProps&&T===Z.memoizedState||(X.flags|=4),typeof L.getSnapshotBeforeUpdate!=="function"||z===Z.memoizedProps&&T===Z.memoizedState||(X.flags|=1024),X.memoizedProps=K,X.memoizedState=o),L.props=K,L.state=o,L.context=P,L=g):(typeof L.componentDidUpdate!=="function"||z===Z.memoizedProps&&T===Z.memoizedState||(X.flags|=4),typeof L.getSnapshotBeforeUpdate!=="function"||z===Z.memoizedProps&&T===Z.memoizedState||(X.flags|=1024),L=!1)}if(P=L,LQ(Z,X),z=(X.flags&128)!==0,P||z){if(P=X.stateNode,F5(X),z&&typeof q.getDerivedStateFromError!=="function")q=null,F2=-1;else if(q=$O(P),X.mode&n5){W0(!0);try{$O(P)}finally{W0(!1)}}X.flags|=1,Z!==null&&z?(X.child=I4(X,Z.child,null,W),X.child=I4(X,null,q,W)):l5(Z,X,q,W),X.memoizedState=P.state,Z=X.child}else Z=g6(Z,X,W);return W=X.stateNode,L&&W.props!==K&&(F8||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",k(X)||"a component"),F8=!0),Z}function Cz(Z,X,q,K){return B4(),X.flags|=256,l5(Z,X,q,K),X.child}function hK(Z,X){X&&X.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
140
|
+
%s.childContextTypes = ...`,X.displayName||X.name||"Component"),typeof X.getDerivedStateFromProps==="function"&&(Z=e(X)||"Unknown",wN[Z]||(console.error("%s: Function components do not support getDerivedStateFromProps.",Z),wN[Z]=!0)),typeof X.contextType==="object"&&X.contextType!==null&&(X=e(X)||"Unknown",JN[X]||(console.error("%s: Function components do not support contextType.",X),JN[X]=!0))}function _K(Z){return{baseLanes:Z,cachePool:PV()}}function xK(Z,X,q){return Z=Z!==null?Z.childLanes&~q:0,X&&(Z|=h2),Z}function bz(Z,X,q){var K,W=X.pendingProps;U(X)&&(X.flags|=128);var L=!1,z=(X.flags&128)!==0;if((K=z)||(K=Z!==null&&Z.memoizedState===null?!1:(U5.current&wZ)!==0),K&&(L=!0,X.flags&=-129),K=(X.flags&32)!==0,X.flags&=-33,Z===null){if(N0){if(L?L9(X):F9(X),(Z=d0)?(q=rj(Z,Q3),q=q!==null&&q.data!==k4?q:null,q!==null&&(K={dehydrated:q,treeContext:FV(),retryLane:536870912,hydrationErrors:null},X.memoizedState=K,K=WV(q),K.return=X,X.child=K,i5=X,d0=null)):q=null,q===null)throw TX(X,Z),Y9(X);return Ww(q)?X.lanes=32:X.lanes=536870912,null}var P=W.children;if(W=W.fallback,L){F9(X);var g=X.mode;return P=FQ({mode:"hidden",children:P},g),W=F4(W,g,q,null),P.return=X,W.return=X,P.sibling=W,X.child=P,W=X.child,W.memoizedState=_K(q),W.childLanes=xK(Z,K,q),X.memoizedState=PW,OH(null,W)}return L9(X),EK(X,P)}var D=Z.memoizedState;if(D!==null){var i=D.dehydrated;if(i!==null){if(z)X.flags&256?(L9(X),X.flags&=-257,X=IK(Z,X,q)):X.memoizedState!==null?(F9(X),X.child=Z.child,X.flags|=128,X=null):(F9(X),P=W.fallback,g=X.mode,W=FQ({mode:"visible",children:W.children},g),P=F4(P,g,q,null),P.flags|=2,W.return=X,P.return=X,W.sibling=P,X.child=W,I4(X,Z.child,null,q),W=X.child,W.memoizedState=_K(q),W.childLanes=xK(Z,K,q),X.memoizedState=PW,X=OH(null,W));else if(L9(X),BV(),(q&536870912)!==0&&jQ(X),Ww(i)){if(K=i.nextSibling&&i.nextSibling.dataset,K){P=K.dgst;var d=K.msg;g=K.stck;var T=K.cstck}L=d,K=P,W=g,i=T,P=L,g=i,P=P?Error(P):Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),P.stack=W||"",P.digest=K,K=g===void 0?null:g,W={value:P,source:null,stack:K},typeof K==="string"&&ew.set(P,W),KH(W),X=IK(Z,X,q)}else if(P5||$7(Z,X,q,!1),K=(q&Z.childLanes)!==0,P5||K){if(K=f0,K!==null&&(W=Y2(K,q),W!==0&&W!==D.retryLane))throw D.retryLane=W,c5(Z,W),X5(K,Z,W),NW;ww(i)||RQ(),X=IK(Z,X,q)}else ww(i)?(X.flags|=192,X.child=Z.child,X=null):(Z=D.treeContext,d0=u2(i.nextSibling),i5=X,N0=!0,$9=null,q6=!1,p2=null,Q3=!1,Z!==null&&UV(X,Z),X=EK(X,W.children),X.flags|=4096);return X}}if(L)return F9(X),P=W.fallback,g=X.mode,T=Z.child,i=T.sibling,W=M6(T,{mode:"hidden",children:W.children}),W.subtreeFlags=T.subtreeFlags&65011712,i!==null?P=M6(i,P):(P=F4(P,g,q,null),P.flags|=2),P.return=X,W.return=X,W.sibling=P,X.child=W,OH(null,W),W=X.child,P=Z.child.memoizedState,P===null?P=_K(q):(g=P.cachePool,g!==null?(T=R5._currentValue,g=g.parent!==T?{parent:T,pool:T}:g):g=PV(),P={baseLanes:P.baseLanes|q,cachePool:g}),W.memoizedState=P,W.childLanes=xK(Z,K,q),X.memoizedState=PW,OH(Z.child,W);return D!==null&&(q&62914560)===q&&(q&Z.lanes)!==0&&jQ(X),L9(X),q=Z.child,Z=q.sibling,q=M6(q,{mode:"visible",children:W.children}),q.return=X,q.sibling=null,Z!==null&&(K=X.deletions,K===null?(X.deletions=[Z],X.flags|=16):K.push(Z)),X.child=q,X.memoizedState=null,q}function EK(Z,X){return X=FQ({mode:"visible",children:X},Z.mode),X.return=Z,Z.child=X}function FQ(Z,X){return Z=C(22,Z,null,X),Z.lanes=0,Z}function IK(Z,X,q){return I4(X,Z.child,null,q),Z=EK(X,X.pendingProps.children),Z.flags|=2,X.memoizedState=null,Z}function $z(Z,X,q){Z.lanes|=X;var K=Z.alternate;K!==null&&(K.lanes|=X),mJ(Z.return,X,q)}function yK(Z,X,q,K,W,L){var z=Z.memoizedState;z===null?Z.memoizedState={isBackwards:X,rendering:null,renderingStartTime:0,last:K,tail:q,tailMode:W,treeForkCount:L}:(z.isBackwards=X,z.rendering=null,z.renderingStartTime=0,z.last=K,z.tail=q,z.tailMode=W,z.treeForkCount=L)}function gz(Z,X,q){var K=X.pendingProps,W=K.revealOrder,L=K.tail,z=K.children,P=U5.current;if((K=(P&wZ)!==0)?(P=P&K8|wZ,X.flags|=128):P&=K8,L1(U5,P,X),P=W==null?"null":W,W!=="forwards"&&W!=="unstable_legacy-backwards"&&W!=="together"&&W!=="independent"&&!WN[P])if(WN[P]=!0,W==null)console.error('The default for the <SuspenseList revealOrder="..."> prop is changing. To be future compatible you must explictly specify either "independent" (the current default), "together", "forwards" or "legacy_unstable-backwards".');else if(W==="backwards")console.error('The rendering order of <SuspenseList revealOrder="backwards"> is changing. To be future compatible you must specify revealOrder="legacy_unstable-backwards" instead.');else if(typeof W==="string")switch(W.toLowerCase()){case"together":case"forwards":case"backwards":case"independent":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',W,W.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',W,W.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',W)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',W);if(P=L==null?"null":L,!Wq[P])if(L==null){if(W==="forwards"||W==="backwards"||W==="unstable_legacy-backwards")Wq[P]=!0,console.error('The default for the <SuspenseList tail="..."> prop is changing. To be future compatible you must explictly specify either "visible" (the current default), "collapsed" or "hidden".')}else L!=="visible"&&L!=="collapsed"&&L!=="hidden"?(Wq[P]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',L)):W!=="forwards"&&W!=="backwards"&&W!=="unstable_legacy-backwards"&&(Wq[P]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',L));H:if((W==="forwards"||W==="backwards"||W==="unstable_legacy-backwards")&&z!==void 0&&z!==null&&z!==!1)if(g5(z)){for(P=0;P<z.length;P++)if(!xV(z[P],P))break H}else if(P=b1(z),typeof P==="function"){if(P=P.call(z))for(var g=P.next(),D=0;!g.done;g=P.next()){if(!xV(g.value,D))break H;D++}}else console.error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',W);if(l5(Z,X,z,q),N0?(q9(),z=aH):z=0,!K&&Z!==null&&(Z.flags&128)!==0)H:for(Z=X.child;Z!==null;){if(Z.tag===13)Z.memoizedState!==null&&$z(Z,q,X);else if(Z.tag===19)$z(Z,q,X);else if(Z.child!==null){Z.child.return=Z,Z=Z.child;continue}if(Z===X)break H;for(;Z.sibling===null;){if(Z.return===null||Z.return===X)break H;Z=Z.return}Z.sibling.return=Z.return,Z=Z.sibling}switch(W){case"forwards":q=X.child;for(W=null;q!==null;)Z=q.alternate,Z!==null&&sX(Z)===null&&(W=q),q=q.sibling;q=W,q===null?(W=X.child,X.child=null):(W=q.sibling,q.sibling=null),yK(X,!1,W,q,L,z);break;case"backwards":case"unstable_legacy-backwards":q=null,W=X.child;for(X.child=null;W!==null;){if(Z=W.alternate,Z!==null&&sX(Z)===null){X.child=W;break}Z=W.sibling,W.sibling=q,q=W,W=Z}yK(X,!0,q,null,L,z);break;case"together":yK(X,!1,null,null,void 0,z);break;default:X.memoizedState=null}return X.child}function g6(Z,X,q){if(Z!==null&&(X.dependencies=Z.dependencies),F2=-1,y9|=X.lanes,(q&X.childLanes)===0)if(Z!==null){if($7(Z,X,q,!1),(q&X.childLanes)===0)return null}else return null;if(Z!==null&&X.child!==Z.child)throw Error("Resuming work not yet implemented.");if(X.child!==null){Z=X.child,q=M6(Z,Z.pendingProps),X.child=q;for(q.return=X;Z.sibling!==null;)Z=Z.sibling,q=q.sibling=M6(Z,Z.pendingProps),q.return=X;q.sibling=null}return X.child}function vK(Z,X){if((Z.lanes&X)!==0)return!0;return Z=Z.dependencies,Z!==null&&mX(Z)?!0:!1}function jx(Z,X,q){switch(X.tag){case 3:Q1(X,X.stateNode.containerInfo),J9(X,R5,Z.memoizedState.cache),B4();break;case 27:case 5:I1(X);break;case 4:Q1(X,X.stateNode.containerInfo);break;case 10:J9(X,X.type,X.memoizedProps.value);break;case 12:(q&X.childLanes)!==0&&(X.flags|=4),X.flags|=2048;var K=X.stateNode;K.effectDuration=-0,K.passiveEffectDuration=-0;break;case 31:if(X.memoizedState!==null)return X.flags|=128,sJ(X),null;break;case 13:if(K=X.memoizedState,K!==null){if(K.dehydrated!==null)return L9(X),X.flags|=128,null;if((q&X.child.childLanes)!==0)return bz(Z,X,q);return L9(X),Z=g6(Z,X,q),Z!==null?Z.sibling:null}L9(X);break;case 19:var W=(Z.flags&128)!==0;if(K=(q&X.childLanes)!==0,K||($7(Z,X,q,!1),K=(q&X.childLanes)!==0),W){if(K)return gz(Z,X,q);X.flags|=128}if(W=X.memoizedState,W!==null&&(W.rendering=null,W.tail=null,W.lastEffect=null),L1(U5,U5.current,X),K)break;else return null;case 22:return X.lanes=0,Rz(Z,X,q,X.pendingProps);case 24:J9(X,R5,Z.memoizedState.cache)}return g6(Z,X,q)}function SK(Z,X,q){if(X._debugNeedsRemount&&Z!==null){q=EJ(X.type,X.key,X.pendingProps,X._debugOwner||null,X.mode,X.lanes),q._debugStack=X._debugStack,q._debugTask=X._debugTask;var K=X.return;if(K===null)throw Error("Cannot swap the root fiber.");if(Z.alternate=null,X.alternate=null,q.index=X.index,q.sibling=X.sibling,q.return=X.return,q.ref=X.ref,q._debugInfo=X._debugInfo,X===K.child)K.child=q;else{var W=K.child;if(W===null)throw Error("Expected parent to have a child.");for(;W.sibling!==X;)if(W=W.sibling,W===null)throw Error("Expected to find the previous sibling.");W.sibling=q}return X=K.deletions,X===null?(K.deletions=[Z],K.flags|=16):X.push(Z),q.flags|=2,q}if(Z!==null)if(Z.memoizedProps!==X.pendingProps||X.type!==Z.type)P5=!0;else{if(!vK(Z,q)&&(X.flags&128)===0)return P5=!1,jx(Z,X,q);P5=(Z.flags&131072)!==0?!0:!1}else{if(P5=!1,K=N0)q9(),K=(X.flags&1048576)!==0;K&&(K=X.index,q9(),LV(X,aH,K))}switch(X.lanes=0,X.tag){case 16:H:if(K=X.pendingProps,Z=K9(X.elementType),X.type=Z,typeof Z==="function")xJ(Z)?(K=N4(Z,K),X.tag=1,X.type=Z=L4(Z),X=Mz(null,X,Z,K,q)):(X.tag=0,hK(X,Z),X.type=Z=L4(Z),X=DK(null,X,Z,K,q));else{if(Z!==void 0&&Z!==null){if(W=Z.$$typeof,W===vH){X.tag=11,X.type=Z=_J(Z),X=Vz(null,X,Z,K,q);break H}else if(W===EQ){X.tag=14,X=zz(null,X,Z,K,q);break H}}throw X="",Z!==null&&typeof Z==="object"&&Z.$$typeof===k2&&(X=" Did you wrap a component in React.lazy() more than once?"),q=e(Z)||Z,Error("Element type is invalid. Received a promise that resolves to: "+q+". Lazy element type must resolve to a class or function."+X)}return X;case 0:return DK(Z,X,X.type,X.pendingProps,q);case 1:return K=X.type,W=N4(K,X.pendingProps),Mz(Z,X,K,W,q);case 3:H:{if(Q1(X,X.stateNode.containerInfo),Z===null)throw Error("Should have a current fiber. This is a bug in React.");K=X.pendingProps;var L=X.memoizedState;W=L.element,dJ(Z,X),VH(X,K,null,q);var z=X.memoizedState;if(K=z.cache,J9(X,R5,K),K!==L.cache&&uJ(X,[R5],q,!0),BH(),K=z.element,L.isDehydrated)if(L={element:K,isDehydrated:!1,cache:z.cache},X.updateQueue.baseState=L,X.memoizedState=L,X.flags&256){X=Cz(Z,X,K,q);break H}else if(K!==W){W=v2(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),X),KH(W),X=Cz(Z,X,K,q);break H}else{switch(Z=X.stateNode.containerInfo,Z.nodeType){case 9:Z=Z.body;break;default:Z=Z.nodeName==="HTML"?Z.ownerDocument.body:Z}d0=u2(Z.firstChild),i5=X,N0=!0,$9=null,q6=!1,p2=null,Q3=!0,q=mO(X,null,K,q);for(X.child=q;q;)q.flags=q.flags&-3|4096,q=q.sibling}else{if(B4(),K===W){X=g6(Z,X,q);break H}l5(Z,X,K,q)}X=X.child}return X;case 26:return LQ(Z,X),Z===null?(q=nj(X.type,null,X.pendingProps,null))?X.memoizedState=q:N0||(q=X.type,Z=X.pendingProps,K=h1(R9.current),K=MQ(K).createElement(q),K[r5]=X,K[w2]=Z,p5(K,q,Z),r1(K),X.stateNode=K):X.memoizedState=nj(X.type,Z.memoizedProps,X.pendingProps,Z.memoizedState),null;case 27:return I1(X),Z===null&&N0&&(K=h1(R9.current),W=Y1(),K=X.stateNode=cj(X.type,X.pendingProps,K,W,!1),q6||(W=Tj(K,X.type,X.pendingProps,W),W!==null&&(U4(X,0).serverProps=W)),i5=X,Q3=!0,W=d0,z9(X.type)?(pW=W,d0=u2(K.firstChild)):d0=W),l5(Z,X,X.pendingProps.children,q),LQ(Z,X),Z===null&&(X.flags|=4194304),X.child;case 5:return Z===null&&N0&&(L=Y1(),K=MJ(X.type,L.ancestorInfo),W=d0,(z=!W)||(z=qE(W,X.type,X.pendingProps,Q3),z!==null?(X.stateNode=z,q6||(L=Tj(z,X.type,X.pendingProps,L),L!==null&&(U4(X,0).serverProps=L)),i5=X,d0=u2(z.firstChild),Q3=!1,L=!0):L=!1,z=!L),z&&(K&&TX(X,W),Y9(X))),I1(X),W=X.type,L=X.pendingProps,z=Z!==null?Z.memoizedProps:null,K=L.children,Jw(W,L)?K=null:z!==null&&Jw(W,z)&&(X.flags|=32),X.memoizedState!==null&&(W=oJ(Z,X,wx,null,null,q),GZ._currentValue=W),LQ(Z,X),l5(Z,X,K,q),X.child;case 6:return Z===null&&N0&&(q=X.pendingProps,Z=Y1(),K=Z.ancestorInfo.current,q=K!=null?GX(q,K.tag,Z.ancestorInfo.implicitRootScope):!0,Z=d0,(K=!Z)||(K=YE(Z,X.pendingProps,Q3),K!==null?(X.stateNode=K,i5=X,d0=null,K=!0):K=!1,K=!K),K&&(q&&TX(X,Z),Y9(X))),null;case 13:return bz(Z,X,q);case 4:return Q1(X,X.stateNode.containerInfo),K=X.pendingProps,Z===null?X.child=I4(X,null,K,q):l5(Z,X,K,q),X.child;case 11:return Vz(Z,X,X.type,X.pendingProps,q);case 7:return l5(Z,X,X.pendingProps,q),X.child;case 8:return l5(Z,X,X.pendingProps.children,q),X.child;case 12:return X.flags|=4,X.flags|=2048,K=X.stateNode,K.effectDuration=-0,K.passiveEffectDuration=-0,l5(Z,X,X.pendingProps.children,q),X.child;case 10:return K=X.type,W=X.pendingProps,L=W.value,"value"in W||LN||(LN=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),J9(X,K,L),l5(Z,X,W.children,q),X.child;case 9:return W=X.type._context,K=X.pendingProps.children,typeof K!=="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),V4(X),W=n0(W),K=KW(K,W,void 0),X.flags|=1,l5(Z,X,K,q),X.child;case 14:return zz(Z,X,X.type,X.pendingProps,q);case 15:return jz(Z,X,X.type,X.pendingProps,q);case 19:return gz(Z,X,q);case 31:return zx(Z,X,q);case 22:return Rz(Z,X,q,X.pendingProps);case 24:return V4(X),K=n0(R5),Z===null?(W=pJ(),W===null&&(W=f0,L=kJ(),W.pooledCache=L,z4(L),L!==null&&(W.pooledCacheLanes|=q),W=L),X.memoizedState={parent:K,cache:W},iJ(X),J9(X,R5,W)):((Z.lanes&q)!==0&&(dJ(Z,X),VH(X,null,null,q),BH()),W=Z.memoizedState,L=X.memoizedState,W.parent!==K?(W={parent:K,cache:K},X.memoizedState=W,X.lanes===0&&(X.memoizedState=X.updateQueue.baseState=W),J9(X,R5,K)):(K=L.cache,J9(X,R5,K),K!==W.cache&&uJ(X,[R5],q,!0))),l5(Z,X,X.pendingProps.children,q),X.child;case 29:throw X.pendingProps}throw Error("Unknown unit of work tag ("+X.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function G6(Z){Z.flags|=4}function TK(Z,X,q,K,W){if(X=(Z.mode&TI)!==n1)X=!1;if(X){if(Z.flags|=16777216,(W&335544128)===W)if(Z.stateNode.complete)Z.flags|=8192;else if(qj())Z.flags|=8192;else throw E4=Qq,WW}else Z.flags&=-16777217}function Gz(Z,X){if(X.type!=="stylesheet"||(X.state.loading&w3)!==p4)Z.flags&=-16777217;else if(Z.flags|=16777216,!ZR(X))if(qj())Z.flags|=8192;else throw E4=Qq,WW}function UQ(Z,X){X!==null&&(Z.flags|=4),Z.flags&16384&&(X=Z.tag!==22?J1():536870912,Z.lanes|=X,A4|=X)}function NH(Z,X){if(!N0)switch(Z.tailMode){case"hidden":X=Z.tail;for(var q=null;X!==null;)X.alternate!==null&&(q=X),X=X.sibling;q===null?Z.tail=null:q.sibling=null;break;case"collapsed":q=Z.tail;for(var K=null;q!==null;)q.alternate!==null&&(K=q),q=q.sibling;K===null?X||Z.tail===null?Z.tail=null:Z.tail.sibling=null:K.sibling=null}}function p0(Z){var X=Z.alternate!==null&&Z.alternate.child===Z.child,q=0,K=0;if(X)if((Z.mode&L0)!==n1){for(var{selfBaseDuration:W,child:L}=Z;L!==null;)q|=L.lanes|L.childLanes,K|=L.subtreeFlags&65011712,K|=L.flags&65011712,W+=L.treeBaseDuration,L=L.sibling;Z.treeBaseDuration=W}else for(W=Z.child;W!==null;)q|=W.lanes|W.childLanes,K|=W.subtreeFlags&65011712,K|=W.flags&65011712,W.return=Z,W=W.sibling;else if((Z.mode&L0)!==n1){W=Z.actualDuration,L=Z.selfBaseDuration;for(var z=Z.child;z!==null;)q|=z.lanes|z.childLanes,K|=z.subtreeFlags,K|=z.flags,W+=z.actualDuration,L+=z.treeBaseDuration,z=z.sibling;Z.actualDuration=W,Z.treeBaseDuration=L}else for(W=Z.child;W!==null;)q|=W.lanes|W.childLanes,K|=W.subtreeFlags,K|=W.flags,W.return=Z,W=W.sibling;return Z.subtreeFlags|=K,Z.childLanes=q,X}function Rx(Z,X,q){var K=X.pendingProps;switch(SJ(X),X.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return p0(X),null;case 1:return p0(X),null;case 3:if(q=X.stateNode,K=null,Z!==null&&(K=Z.memoizedState.cache),X.memoizedState.cache!==K&&(X.flags|=2048),b6(R5,X),w1(X),q.pendingContext&&(q.context=q.pendingContext,q.pendingContext=null),Z===null||Z.child===null)b7(X)?(AJ(),G6(X)):Z===null||Z.memoizedState.isDehydrated&&(X.flags&256)===0||(X.flags|=1024,TJ());return p0(X),null;case 26:var{type:W,memoizedState:L}=X;return Z===null?(G6(X),L!==null?(p0(X),Gz(X,L)):(p0(X),TK(X,W,null,K,q))):L?L!==Z.memoizedState?(G6(X),p0(X),Gz(X,L)):(p0(X),X.flags&=-16777217):(Z=Z.memoizedProps,Z!==K&&G6(X),p0(X),TK(X,W,Z,K,q)),null;case 27:if(y1(X),q=h1(R9.current),W=X.type,Z!==null&&X.stateNode!=null)Z.memoizedProps!==K&&G6(X);else{if(!K){if(X.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return p0(X),null}Z=Y1(),b7(X)?VV(X,Z):(Z=cj(W,K,q,Z,!0),X.stateNode=Z,G6(X))}return p0(X),null;case 5:if(y1(X),W=X.type,Z!==null&&X.stateNode!=null)Z.memoizedProps!==K&&G6(X);else{if(!K){if(X.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return p0(X),null}var z=Y1();if(b7(X))VV(X,z);else{switch(L=h1(R9.current),MJ(W,z.ancestorInfo),z=z.context,L=MQ(L),z){case N8:L=L.createElementNS(p7,W);break;case _q:L=L.createElementNS(mQ,W);break;default:switch(W){case"svg":L=L.createElementNS(p7,W);break;case"math":L=L.createElementNS(mQ,W);break;case"script":L=L.createElement("div"),L.innerHTML="<script></script>",L=L.removeChild(L.firstChild);break;case"select":L=typeof K.is==="string"?L.createElement("select",{is:K.is}):L.createElement("select"),K.multiple?L.multiple=!0:K.size&&(L.size=K.size);break;default:L=typeof K.is==="string"?L.createElement(W,{is:K.is}):L.createElement(W),W.indexOf("-")===-1&&(W!==W.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",W),Object.prototype.toString.call(L)!=="[object HTMLUnknownElement]"||R3.call(vN,W)||(vN[W]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",W)))}}L[r5]=X,L[w2]=K;H:for(z=X.child;z!==null;){if(z.tag===5||z.tag===6)L.appendChild(z.stateNode);else if(z.tag!==4&&z.tag!==27&&z.child!==null){z.child.return=z,z=z.child;continue}if(z===X)break H;for(;z.sibling===null;){if(z.return===null||z.return===X)break H;z=z.return}z.sibling.return=z.return,z=z.sibling}X.stateNode=L;H:switch(p5(L,W,K),W){case"button":case"input":case"select":case"textarea":K=!!K.autoFocus;break H;case"img":K=!0;break H;default:K=!1}K&&G6(X)}}return p0(X),TK(X,X.type,Z===null?null:Z.memoizedProps,X.pendingProps,q),null;case 6:if(Z&&X.stateNode!=null)Z.memoizedProps!==K&&G6(X);else{if(typeof K!=="string"&&X.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(Z=h1(R9.current),q=Y1(),b7(X)){if(Z=X.stateNode,q=X.memoizedProps,W=!q6,K=null,L=i5,L!==null)switch(L.tag){case 3:W&&(W=dj(Z,q,K),W!==null&&(U4(X,0).serverProps=W));break;case 27:case 5:K=L.memoizedProps,W&&(W=dj(Z,q,K),W!==null&&(U4(X,0).serverProps=W))}Z[r5]=X,Z=Z.nodeValue===q||K!==null&&K.suppressHydrationWarning===!0||Ej(Z.nodeValue,q)?!0:!1,Z||Y9(X,!0)}else W=q.ancestorInfo.current,W!=null&&GX(K,W.tag,q.ancestorInfo.implicitRootScope),Z=MQ(Z).createTextNode(K),Z[r5]=X,X.stateNode=Z}return p0(X),null;case 31:if(q=X.memoizedState,Z===null||Z.memoizedState!==null){if(K=b7(X),q!==null){if(Z===null){if(!K)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(Z=X.memoizedState,Z=Z!==null?Z.dehydrated:null,!Z)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");Z[r5]=X,p0(X),(X.mode&L0)!==n1&&q!==null&&(Z=X.child,Z!==null&&(X.treeBaseDuration-=Z.treeBaseDuration))}else AJ(),B4(),(X.flags&128)===0&&(q=X.memoizedState=null),X.flags|=4,p0(X),(X.mode&L0)!==n1&&q!==null&&(Z=X.child,Z!==null&&(X.treeBaseDuration-=Z.treeBaseDuration));Z=!1}else q=TJ(),Z!==null&&Z.memoizedState!==null&&(Z.memoizedState.hydrationErrors=q),Z=!0;if(!Z){if(X.flags&256)return A2(X),X;return A2(X),null}if((X.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return p0(X),null;case 13:if(K=X.memoizedState,Z===null||Z.memoizedState!==null&&Z.memoizedState.dehydrated!==null){if(W=K,L=b7(X),W!==null&&W.dehydrated!==null){if(Z===null){if(!L)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(L=X.memoizedState,L=L!==null?L.dehydrated:null,!L)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");L[r5]=X,p0(X),(X.mode&L0)!==n1&&W!==null&&(W=X.child,W!==null&&(X.treeBaseDuration-=W.treeBaseDuration))}else AJ(),B4(),(X.flags&128)===0&&(W=X.memoizedState=null),X.flags|=4,p0(X),(X.mode&L0)!==n1&&W!==null&&(W=X.child,W!==null&&(X.treeBaseDuration-=W.treeBaseDuration));W=!1}else W=TJ(),Z!==null&&Z.memoizedState!==null&&(Z.memoizedState.hydrationErrors=W),W=!0;if(!W){if(X.flags&256)return A2(X),X;return A2(X),null}}if(A2(X),(X.flags&128)!==0)return X.lanes=q,(X.mode&L0)!==n1&&LH(X),X;return q=K!==null,Z=Z!==null&&Z.memoizedState!==null,q&&(K=X.child,W=null,K.alternate!==null&&K.alternate.memoizedState!==null&&K.alternate.memoizedState.cachePool!==null&&(W=K.alternate.memoizedState.cachePool.pool),L=null,K.memoizedState!==null&&K.memoizedState.cachePool!==null&&(L=K.memoizedState.cachePool.pool),L!==W&&(K.flags|=2048)),q!==Z&&q&&(X.child.flags|=8192),UQ(X,X.updateQueue),p0(X),(X.mode&L0)!==n1&&q&&(Z=X.child,Z!==null&&(X.treeBaseDuration-=Z.treeBaseDuration)),null;case 4:return w1(X),Z===null&&eK(X.stateNode.containerInfo),p0(X),null;case 10:return b6(X.type,X),p0(X),null;case 19:if(g1(U5,X),K=X.memoizedState,K===null)return p0(X),null;if(W=(X.flags&128)!==0,L=K.rendering,L===null)if(W)NH(K,!1);else{if(H5!==f6||Z!==null&&(Z.flags&128)!==0)for(Z=X.child;Z!==null;){if(L=sX(Z),L!==null){X.flags|=128,NH(K,!1),Z=L.updateQueue,X.updateQueue=Z,UQ(X,Z),X.subtreeFlags=0,Z=q;for(q=X.child;q!==null;)wV(q,Z),q=q.sibling;return L1(U5,U5.current&K8|wZ,X),N0&&C6(X,K.treeForkCount),X.child}Z=Z.sibling}K.tail!==null&&v5()>jq&&(X.flags|=128,W=!0,NH(K,!1),X.lanes=4194304)}else{if(!W)if(Z=sX(L),Z!==null){if(X.flags|=128,W=!0,Z=Z.updateQueue,X.updateQueue=Z,UQ(X,Z),NH(K,!0),K.tail===null&&K.tailMode==="hidden"&&!L.alternate&&!N0)return p0(X),null}else 2*v5()-K.renderingStartTime>jq&&q!==536870912&&(X.flags|=128,W=!0,NH(K,!1),X.lanes=4194304);K.isBackwards?(L.sibling=X.child,X.child=L):(Z=K.last,Z!==null?Z.sibling=L:X.child=L,K.last=L)}if(K.tail!==null)return Z=K.tail,K.rendering=Z,K.tail=Z.sibling,K.renderingStartTime=v5(),Z.sibling=null,q=U5.current,q=W?q&K8|wZ:q&K8,L1(U5,q,X),N0&&C6(X,K.treeForkCount),Z;return p0(X),null;case 22:case 23:return A2(X),cJ(X),K=X.memoizedState!==null,Z!==null?Z.memoizedState!==null!==K&&(X.flags|=8192):K&&(X.flags|=8192),K?(q&536870912)!==0&&(X.flags&128)===0&&(p0(X),X.subtreeFlags&6&&(X.flags|=8192)):p0(X),q=X.updateQueue,q!==null&&UQ(X,q.retryQueue),q=null,Z!==null&&Z.memoizedState!==null&&Z.memoizedState.cachePool!==null&&(q=Z.memoizedState.cachePool.pool),K=null,X.memoizedState!==null&&X.memoizedState.cachePool!==null&&(K=X.memoizedState.cachePool.pool),K!==q&&(X.flags|=2048),Z!==null&&g1(_4,X),null;case 24:return q=null,Z!==null&&(q=Z.memoizedState.cache),X.memoizedState.cache!==q&&(X.flags|=2048),b6(R5,X),p0(X),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+X.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Ox(Z,X){switch(SJ(X),X.tag){case 1:return Z=X.flags,Z&65536?(X.flags=Z&-65537|128,(X.mode&L0)!==n1&&LH(X),X):null;case 3:return b6(R5,X),w1(X),Z=X.flags,(Z&65536)!==0&&(Z&128)===0?(X.flags=Z&-65537|128,X):null;case 26:case 27:case 5:return y1(X),null;case 31:if(X.memoizedState!==null){if(A2(X),X.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");B4()}return Z=X.flags,Z&65536?(X.flags=Z&-65537|128,(X.mode&L0)!==n1&&LH(X),X):null;case 13:if(A2(X),Z=X.memoizedState,Z!==null&&Z.dehydrated!==null){if(X.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");B4()}return Z=X.flags,Z&65536?(X.flags=Z&-65537|128,(X.mode&L0)!==n1&&LH(X),X):null;case 19:return g1(U5,X),null;case 4:return w1(X),null;case 10:return b6(X.type,X),null;case 22:case 23:return A2(X),cJ(X),Z!==null&&g1(_4,X),Z=X.flags,Z&65536?(X.flags=Z&-65537|128,(X.mode&L0)!==n1&&LH(X),X):null;case 24:return b6(R5,X),null;case 25:return null;default:return null}}function Dz(Z,X){switch(SJ(X),X.tag){case 3:b6(R5,X),w1(X);break;case 26:case 27:case 5:y1(X);break;case 4:w1(X);break;case 31:X.memoizedState!==null&&A2(X);break;case 13:A2(X);break;case 19:g1(U5,X);break;case 10:b6(X.type,X);break;case 22:case 23:A2(X),cJ(X),Z!==null&&g1(_4,X);break;case 24:b6(R5,X)}}function i3(Z){return(Z.mode&L0)!==n1}function hz(Z,X){i3(Z)?(r3(),PH(X,Z),p3()):PH(X,Z)}function AK(Z,X,q){i3(Z)?(r3(),_7(q,Z,X),p3()):_7(q,Z,X)}function PH(Z,X){try{var q=X.updateQueue,K=q!==null?q.lastEffect:null;if(K!==null){var W=K.next;q=W;do{if((q.tag&Z)===Z&&(K=void 0,(Z&U2)!==Yq&&(j8=!0),K=G1(X,fI,q),(Z&U2)!==Yq&&(j8=!1),K!==void 0&&typeof K!=="function")){var L=void 0;L=(q.tag&i2)!==0?"useLayoutEffect":(q.tag&U2)!==0?"useInsertionEffect":"useEffect";var z=void 0;z=K===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof K.then==="function"?`
|
|
141
|
+
|
|
142
|
+
It looks like you wrote `+L+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
143
|
+
|
|
144
|
+
`+L+`(() => {
|
|
145
|
+
async function fetchData() {
|
|
146
|
+
// You can await here
|
|
147
|
+
const response = await MyAPI.getData(someId);
|
|
148
|
+
// ...
|
|
149
|
+
}
|
|
150
|
+
fetchData();
|
|
151
|
+
}, [someId]); // Or [] if effect doesn't need props or state
|
|
152
|
+
|
|
153
|
+
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+K,G1(X,function(P,g){console.error("%s must not return anything besides a function, which is used for clean-up.%s",P,g)},L,z)}q=q.next}while(q!==W)}}catch(P){v0(X,X.return,P)}}function _7(Z,X,q){try{var K=X.updateQueue,W=K!==null?K.lastEffect:null;if(W!==null){var L=W.next;K=L;do{if((K.tag&Z)===Z){var z=K.inst,P=z.destroy;P!==void 0&&(z.destroy=void 0,(Z&U2)!==Yq&&(j8=!0),W=X,G1(W,lI,W,q,P),(Z&U2)!==Yq&&(j8=!1))}K=K.next}while(K!==L)}}catch(g){v0(X,X.return,g)}}function _z(Z,X){i3(Z)?(r3(),PH(X,Z),p3()):PH(X,Z)}function mK(Z,X,q){i3(Z)?(r3(),_7(q,Z,X),p3()):_7(q,Z,X)}function xz(Z){var X=Z.updateQueue;if(X!==null){var q=Z.stateNode;Z.type.defaultProps||"ref"in Z.memoizedProps||F8||(q.props!==Z.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",k(Z)||"instance"),q.state!==Z.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",k(Z)||"instance"));try{G1(Z,IV,X,q)}catch(K){v0(Z,Z.return,K)}}}function Nx(Z,X,q){return Z.getSnapshotBeforeUpdate(X,q)}function Px(Z,X){var{memoizedProps:q,memoizedState:K}=X;X=Z.stateNode,Z.type.defaultProps||"ref"in Z.memoizedProps||F8||(X.props!==Z.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",k(Z)||"instance"),X.state!==Z.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",k(Z)||"instance"));try{var W=N4(Z.type,q),L=G1(Z,Nx,X,W,K);q=FN,L!==void 0||q.has(Z.type)||(q.add(Z.type),G1(Z,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",k(Z))})),X.__reactInternalSnapshotBeforeUpdate=L}catch(z){v0(Z,Z.return,z)}}function Ez(Z,X,q){q.props=N4(Z.type,Z.memoizedProps),q.state=Z.memoizedState,i3(Z)?(r3(),G1(Z,xO,Z,X,q),p3()):G1(Z,xO,Z,X,q)}function Mx(Z){var X=Z.ref;if(X!==null){switch(Z.tag){case 26:case 27:case 5:var q=Z.stateNode;break;case 30:q=Z.stateNode;break;default:q=Z.stateNode}if(typeof X==="function")if(i3(Z))try{r3(),Z.refCleanup=X(q)}finally{p3()}else Z.refCleanup=X(q);else typeof X==="string"?console.error("String refs are no longer supported."):X.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",k(Z)),X.current=q}}function MH(Z,X){try{G1(Z,Mx,Z)}catch(q){v0(Z,X,q)}}function d3(Z,X){var{ref:q,refCleanup:K}=Z;if(q!==null)if(typeof K==="function")try{if(i3(Z))try{r3(),G1(Z,K)}finally{p3(Z)}else G1(Z,K)}catch(W){v0(Z,X,W)}finally{Z.refCleanup=null,Z=Z.alternate,Z!=null&&(Z.refCleanup=null)}else if(typeof q==="function")try{if(i3(Z))try{r3(),G1(Z,q,null)}finally{p3(Z)}else G1(Z,q,null)}catch(W){v0(Z,X,W)}else q.current=null}function Iz(Z,X,q,K){var W=Z.memoizedProps,L=W.id,z=W.onCommit;W=W.onRender,X=X===null?"mount":"update",eQ&&(X="nested-update"),typeof W==="function"&&W(L,X,Z.actualDuration,Z.treeBaseDuration,Z.actualStartTime,q),typeof z==="function"&&z(L,X,K,q)}function Cx(Z,X,q,K){var W=Z.memoizedProps;Z=W.id,W=W.onPostCommit,X=X===null?"mount":"update",eQ&&(X="nested-update"),typeof W==="function"&&W(Z,X,K,q)}function yz(Z){var{type:X,memoizedProps:q,stateNode:K}=Z;try{G1(Z,dx,K,X,q,Z)}catch(W){v0(Z,Z.return,W)}}function uK(Z,X,q){try{G1(Z,cx,Z.stateNode,Z.type,q,X,Z)}catch(K){v0(Z,Z.return,K)}}function vz(Z){return Z.tag===5||Z.tag===3||Z.tag===26||Z.tag===27&&z9(Z.type)||Z.tag===4}function kK(Z){H:for(;;){for(;Z.sibling===null;){if(Z.return===null||vz(Z.return))return null;Z=Z.return}Z.sibling.return=Z.return;for(Z=Z.sibling;Z.tag!==5&&Z.tag!==6&&Z.tag!==18;){if(Z.tag===27&&z9(Z.type))continue H;if(Z.flags&2)continue H;if(Z.child===null||Z.tag===4)continue H;else Z.child.return=Z,Z=Z.child}if(!(Z.flags&2))return Z.stateNode}}function fK(Z,X,q){var K=Z.tag;if(K===5||K===6)Z=Z.stateNode,X?(fj(q),(q.nodeType===9?q.body:q.nodeName==="HTML"?q.ownerDocument.body:q).insertBefore(Z,X)):(fj(q),X=q.nodeType===9?q.body:q.nodeName==="HTML"?q.ownerDocument.body:q,X.appendChild(Z),q=q._reactRootContainer,q!==null&&q!==void 0||X.onclick!==null||(X.onclick=P6));else if(K!==4&&(K===27&&z9(Z.type)&&(q=Z.stateNode,X=null),Z=Z.child,Z!==null))for(fK(Z,X,q),Z=Z.sibling;Z!==null;)fK(Z,X,q),Z=Z.sibling}function BQ(Z,X,q){var K=Z.tag;if(K===5||K===6)Z=Z.stateNode,X?q.insertBefore(Z,X):q.appendChild(Z);else if(K!==4&&(K===27&&z9(Z.type)&&(q=Z.stateNode),Z=Z.child,Z!==null))for(BQ(Z,X,q),Z=Z.sibling;Z!==null;)BQ(Z,X,q),Z=Z.sibling}function bx(Z){for(var X,q=Z.return;q!==null;){if(vz(q)){X=q;break}q=q.return}if(X==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(X.tag){case 27:X=X.stateNode,q=kK(Z),BQ(Z,q,X);break;case 5:q=X.stateNode,X.flags&32&&(kj(q),X.flags&=-33),X=kK(Z),BQ(Z,X,q);break;case 3:case 4:X=X.stateNode.containerInfo,q=kK(Z),fK(Z,q,X);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function Sz(Z){var{stateNode:X,memoizedProps:q}=Z;try{G1(Z,LE,Z.type,q,X,Z)}catch(K){v0(Z,Z.return,K)}}function Tz(Z,X){return X.tag===31?(X=X.memoizedState,Z.memoizedState!==null&&X===null):X.tag===13?(Z=Z.memoizedState,X=X.memoizedState,Z!==null&&Z.dehydrated!==null&&(X===null||X.dehydrated===null)):X.tag===3?Z.memoizedState.isDehydrated&&(X.flags&256)===0:!1}function $x(Z,X){if(Z=Z.containerInfo,kW=yq,Z=tB(Z),$J(Z)){if("selectionStart"in Z)var q={start:Z.selectionStart,end:Z.selectionEnd};else H:{q=(q=Z.ownerDocument)&&q.defaultView||window;var K=q.getSelection&&q.getSelection();if(K&&K.rangeCount!==0){q=K.anchorNode;var{anchorOffset:W,focusNode:L}=K;K=K.focusOffset;try{q.nodeType,L.nodeType}catch(D1){q=null;break H}var z=0,P=-1,g=-1,D=0,i=0,d=Z,T=null;Z:for(;;){for(var o;;){if(d!==q||W!==0&&d.nodeType!==3||(P=z+W),d!==L||K!==0&&d.nodeType!==3||(g=z+K),d.nodeType===3&&(z+=d.nodeValue.length),(o=d.firstChild)===null)break;T=d,d=o}for(;;){if(d===Z)break Z;if(T===q&&++D===W&&(P=z),T===L&&++i===K&&(g=z),(o=d.nextSibling)!==null)break;d=T,T=d.parentNode}d=o}q=P===-1||g===-1?null:{start:P,end:g}}else q=null}q=q||{start:0,end:0}}else q=null;fW={focusedElem:Z,selectionRange:q},yq=!1;for(T5=X;T5!==null;)if(X=T5,Z=X.child,(X.subtreeFlags&1028)!==0&&Z!==null)Z.return=X,T5=Z;else for(;T5!==null;){switch(Z=X=T5,q=Z.alternate,W=Z.flags,Z.tag){case 0:if((W&4)!==0&&(Z=Z.updateQueue,Z=Z!==null?Z.events:null,Z!==null))for(q=0;q<Z.length;q++)W=Z[q],W.ref.impl=W.nextImpl;break;case 11:case 15:break;case 1:(W&1024)!==0&&q!==null&&Px(Z,q);break;case 3:if((W&1024)!==0){if(Z=Z.stateNode.containerInfo,q=Z.nodeType,q===9)Kw(Z);else if(q===1)switch(Z.nodeName){case"HEAD":case"HTML":case"BODY":Kw(Z);break;default:Z.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((W&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(Z=X.sibling,Z!==null){Z.return=X.return,T5=Z;break}T5=X.return}}function Az(Z,X,q){var K=S2(),W=u3(),L=f3(),z=l3(),P=q.flags;switch(q.tag){case 0:case 11:case 15:a3(Z,q),P&4&&hz(q,i2|J3);break;case 1:if(a3(Z,q),P&4)if(Z=q.stateNode,X===null)q.type.defaultProps||"ref"in q.memoizedProps||F8||(Z.props!==q.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",k(q)||"instance"),Z.state!==q.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",k(q)||"instance")),i3(q)?(r3(),G1(q,wW,q,Z),p3()):G1(q,wW,q,Z);else{var g=N4(q.type,X.memoizedProps);X=X.memoizedState,q.type.defaultProps||"ref"in q.memoizedProps||F8||(Z.props!==q.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",k(q)||"instance"),Z.state!==q.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",k(q)||"instance")),i3(q)?(r3(),G1(q,DO,q,Z,g,X,Z.__reactInternalSnapshotBeforeUpdate),p3()):G1(q,DO,q,Z,g,X,Z.__reactInternalSnapshotBeforeUpdate)}P&64&&xz(q),P&512&&MH(q,q.return);break;case 3:if(X=$6(),a3(Z,q),P&64&&(P=q.updateQueue,P!==null)){if(g=null,q.child!==null)switch(q.child.tag){case 27:case 5:g=q.child.stateNode;break;case 1:g=q.child.stateNode}try{G1(q,IV,P,g)}catch(i){v0(q,q.return,i)}}Z.effectDuration+=kX(X);break;case 27:X===null&&P&4&&Sz(q);case 26:case 5:if(a3(Z,q),X===null){if(P&4)yz(q);else if(P&64){Z=q.type,X=q.memoizedProps,g=q.stateNode;try{G1(q,ax,g,Z,X,q)}catch(i){v0(q,q.return,i)}}}P&512&&MH(q,q.return);break;case 12:if(P&4){P=$6(),a3(Z,q),Z=q.stateNode,Z.effectDuration+=WH(P);try{G1(q,Iz,q,X,g9,Z.effectDuration)}catch(i){v0(q,q.return,i)}}else a3(Z,q);break;case 31:a3(Z,q),P&4&&kz(Z,q);break;case 13:a3(Z,q),P&4&&fz(Z,q),P&64&&(Z=q.memoizedState,Z!==null&&(Z=Z.dehydrated,Z!==null&&(P=yx.bind(null,q),JE(Z,P))));break;case 22:if(P=q.memoizedState!==null||k6,!P){X=X!==null&&X.memoizedState!==null||M5,g=k6;var D=M5;k6=P,(M5=X)&&!D?(c3(Z,q,(q.subtreeFlags&8772)!==0),(q.mode&L0)!==n1&&0<=i1&&0<=s1&&0.05<s1-i1&&xX(q,i1,s1)):a3(Z,q),k6=g,M5=D}break;case 30:break;default:a3(Z,q)}(q.mode&L0)!==n1&&0<=i1&&0<=s1&&((Q5||0.05<e0)&&A3(q,i1,s1,e0,o0),q.alternate===null&&q.return!==null&&q.return.alternate!==null&&0.05<s1-i1&&(Tz(q.return.alternate,q.return)||T3(q,i1,s1,"Mount"))),T2(K),k3(W),o0=L,Q5=z}function mz(Z){var X=Z.alternate;X!==null&&(Z.alternate=null,mz(X)),Z.child=null,Z.deletions=null,Z.sibling=null,Z.tag===5&&(X=Z.stateNode,X!==null&&x1(X)),Z.stateNode=null,Z._debugOwner=null,Z.return=null,Z.dependencies=null,Z.memoizedProps=null,Z.memoizedState=null,Z.pendingProps=null,Z.stateNode=null,Z.updateQueue=null}function D6(Z,X,q){for(q=q.child;q!==null;)uz(Z,X,q),q=q.sibling}function uz(Z,X,q){if(s5&&typeof s5.onCommitFiberUnmount==="function")try{s5.onCommitFiberUnmount(f7,q)}catch(D){H6||(H6=!0,console.error("React instrumentation encountered an error: %o",D))}var K=S2(),W=u3(),L=f3(),z=l3();switch(q.tag){case 26:M5||d3(q,X),D6(Z,X,q),q.memoizedState?q.memoizedState.count--:q.stateNode&&(Z=q.stateNode,Z.parentNode.removeChild(Z));break;case 27:M5||d3(q,X);var P=C5,g=G2;z9(q.type)&&(C5=q.stateNode,G2=!1),D6(Z,X,q),G1(q,xH,q.stateNode),C5=P,G2=g;break;case 5:M5||d3(q,X);case 6:if(P=C5,g=G2,C5=null,D6(Z,X,q),C5=P,G2=g,C5!==null)if(G2)try{G1(q,ox,C5,q.stateNode)}catch(D){v0(q,X,D)}else try{G1(q,nx,C5,q.stateNode)}catch(D){v0(q,X,D)}break;case 18:C5!==null&&(G2?(Z=C5,lj(Z.nodeType===9?Z.body:Z.nodeName==="HTML"?Z.ownerDocument.body:Z,q.stateNode),A7(Z)):lj(C5,q.stateNode));break;case 4:P=C5,g=G2,C5=q.stateNode.containerInfo,G2=!0,D6(Z,X,q),C5=P,G2=g;break;case 0:case 11:case 14:case 15:_7(U2,q,X),M5||AK(q,X,i2),D6(Z,X,q);break;case 1:M5||(d3(q,X),P=q.stateNode,typeof P.componentWillUnmount==="function"&&Ez(q,X,P)),D6(Z,X,q);break;case 21:D6(Z,X,q);break;case 22:M5=(P=M5)||q.memoizedState!==null,D6(Z,X,q),M5=P;break;default:D6(Z,X,q)}(q.mode&L0)!==n1&&0<=i1&&0<=s1&&(Q5||0.05<e0)&&A3(q,i1,s1,e0,o0),T2(K),k3(W),o0=L,Q5=z}function kz(Z,X){if(X.memoizedState===null&&(Z=X.alternate,Z!==null&&(Z=Z.memoizedState,Z!==null))){Z=Z.dehydrated;try{G1(X,wE,Z)}catch(q){v0(X,X.return,q)}}}function fz(Z,X){if(X.memoizedState===null&&(Z=X.alternate,Z!==null&&(Z=Z.memoizedState,Z!==null&&(Z=Z.dehydrated,Z!==null))))try{G1(X,WE,Z)}catch(q){v0(X,X.return,q)}}function gx(Z){switch(Z.tag){case 31:case 13:case 19:var X=Z.stateNode;return X===null&&(X=Z.stateNode=new UN),X;case 22:return Z=Z.stateNode,X=Z._retryCache,X===null&&(X=Z._retryCache=new UN),X;default:throw Error("Unexpected Suspense handler tag ("+Z.tag+"). This is a bug in React.")}}function VQ(Z,X){var q=gx(Z);X.forEach(function(K){if(!q.has(K)){if(q.add(K),Z6)if(U8!==null&&B8!==null)gH(B8,U8);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var W=vx.bind(null,Z,K);K.then(W,W)}})}function $2(Z,X){var q=X.deletions;if(q!==null)for(var K=0;K<q.length;K++){var W=Z,L=X,z=q[K],P=S2(),g=L;H:for(;g!==null;){switch(g.tag){case 27:if(z9(g.type)){C5=g.stateNode,G2=!1;break H}break;case 5:C5=g.stateNode,G2=!1;break H;case 3:case 4:C5=g.stateNode.containerInfo,G2=!0;break H}g=g.return}if(C5===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");uz(W,L,z),C5=null,G2=!1,(z.mode&L0)!==n1&&0<=i1&&0<=s1&&0.05<s1-i1&&T3(z,i1,s1,"Unmount"),T2(P),W=z,L=W.alternate,L!==null&&(L.return=null),W.return=null}if(X.subtreeFlags&13886)for(X=X.child;X!==null;)lz(X,Z),X=X.sibling}function lz(Z,X){var q=S2(),K=u3(),W=f3(),L=l3(),z=Z.alternate,P=Z.flags;switch(Z.tag){case 0:case 11:case 14:case 15:$2(X,Z),g2(Z),P&4&&(_7(U2|J3,Z,Z.return),PH(U2|J3,Z),AK(Z,Z.return,i2|J3));break;case 1:if($2(X,Z),g2(Z),P&512&&(M5||z===null||d3(z,z.return)),P&64&&k6&&(P=Z.updateQueue,P!==null&&(z=P.callbacks,z!==null))){var g=P.shared.hiddenCallbacks;P.shared.hiddenCallbacks=g===null?z:g.concat(z)}break;case 26:if(g=C3,$2(X,Z),g2(Z),P&512&&(M5||z===null||d3(z,z.return)),P&4){var D=z!==null?z.memoizedState:null;if(P=Z.memoizedState,z===null)if(P===null)if(Z.stateNode===null){H:{P=Z.type,z=Z.memoizedProps,g=g.ownerDocument||g;Z:switch(P){case"title":if(D=g.getElementsByTagName("title")[0],!D||D[AH]||D[r5]||D.namespaceURI===p7||D.hasAttribute("itemprop"))D=g.createElement(P),g.head.insertBefore(D,g.querySelector("head > title"));p5(D,P,z),D[r5]=Z,r1(D),P=D;break H;case"link":var i=ej("link","href",g).get(P+(z.href||""));if(i){for(var d=0;d<i.length;d++)if(D=i[d],D.getAttribute("href")===(z.href==null||z.href===""?null:z.href)&&D.getAttribute("rel")===(z.rel==null?null:z.rel)&&D.getAttribute("title")===(z.title==null?null:z.title)&&D.getAttribute("crossorigin")===(z.crossOrigin==null?null:z.crossOrigin)){i.splice(d,1);break Z}}D=g.createElement(P),p5(D,P,z),g.head.appendChild(D);break;case"meta":if(i=ej("meta","content",g).get(P+(z.content||""))){for(d=0;d<i.length;d++)if(D=i[d],g0(z.content,"content"),D.getAttribute("content")===(z.content==null?null:""+z.content)&&D.getAttribute("name")===(z.name==null?null:z.name)&&D.getAttribute("property")===(z.property==null?null:z.property)&&D.getAttribute("http-equiv")===(z.httpEquiv==null?null:z.httpEquiv)&&D.getAttribute("charset")===(z.charSet==null?null:z.charSet)){i.splice(d,1);break Z}}D=g.createElement(P),p5(D,P,z),g.head.appendChild(D);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+P+'". This is a bug in React.')}D[r5]=Z,r1(D),P=D}Z.stateNode=P}else HR(g,Z.type,Z.stateNode);else Z.stateNode=tj(g,P,Z.memoizedProps);else D!==P?(D===null?z.stateNode!==null&&(z=z.stateNode,z.parentNode.removeChild(z)):D.count--,P===null?HR(g,Z.type,Z.stateNode):tj(g,P,Z.memoizedProps)):P===null&&Z.stateNode!==null&&uK(Z,Z.memoizedProps,z.memoizedProps)}break;case 27:$2(X,Z),g2(Z),P&512&&(M5||z===null||d3(z,z.return)),z!==null&&P&4&&uK(Z,Z.memoizedProps,z.memoizedProps);break;case 5:if($2(X,Z),g2(Z),P&512&&(M5||z===null||d3(z,z.return)),Z.flags&32){g=Z.stateNode;try{G1(Z,kj,g)}catch(v1){v0(Z,Z.return,v1)}}P&4&&Z.stateNode!=null&&(g=Z.memoizedProps,uK(Z,g,z!==null?z.memoizedProps:g)),P&1024&&(MW=!0,Z.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if($2(X,Z),g2(Z),P&4){if(Z.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");P=Z.memoizedProps,z=z!==null?z.memoizedProps:P,g=Z.stateNode;try{G1(Z,sx,g,z,P)}catch(v1){v0(Z,Z.return,v1)}}break;case 3:if(g=$6(),xq=null,D=C3,C3=CQ(X.containerInfo),$2(X,Z),C3=D,g2(Z),P&4&&z!==null&&z.memoizedState.isDehydrated)try{G1(Z,KE,X.containerInfo)}catch(v1){v0(Z,Z.return,v1)}MW&&(MW=!1,pz(Z)),X.effectDuration+=kX(g);break;case 4:P=C3,C3=CQ(Z.stateNode.containerInfo),$2(X,Z),g2(Z),C3=P;break;case 12:P=$6(),$2(X,Z),g2(Z),Z.stateNode.effectDuration+=WH(P);break;case 31:$2(X,Z),g2(Z),P&4&&(P=Z.updateQueue,P!==null&&(Z.updateQueue=null,VQ(Z,P)));break;case 13:$2(X,Z),g2(Z),Z.child.flags&8192&&Z.memoizedState!==null!==(z!==null&&z.memoizedState!==null)&&(zq=v5()),P&4&&(P=Z.updateQueue,P!==null&&(Z.updateQueue=null,VQ(Z,P)));break;case 22:g=Z.memoizedState!==null;var T=z!==null&&z.memoizedState!==null,o=k6,D1=M5;if(k6=o||g,M5=D1||T,$2(X,Z),M5=D1,k6=o,T&&!g&&!o&&!D1&&(Z.mode&L0)!==n1&&0<=i1&&0<=s1&&0.05<s1-i1&&xX(Z,i1,s1),g2(Z),P&8192)H:for(X=Z.stateNode,X._visibility=g?X._visibility&~dH:X._visibility|dH,!g||z===null||T||k6||M5||(P4(Z),(Z.mode&L0)!==n1&&0<=i1&&0<=s1&&0.05<s1-i1&&T3(Z,i1,s1,"Disconnect")),z=null,X=Z;;){if(X.tag===5||X.tag===26){if(z===null){T=z=X;try{D=T.stateNode,g?G1(T,ex,D):G1(T,XE,T.stateNode,T.memoizedProps)}catch(v1){v0(T,T.return,v1)}}}else if(X.tag===6){if(z===null){T=X;try{i=T.stateNode,g?G1(T,HE,i):G1(T,QE,i,T.memoizedProps)}catch(v1){v0(T,T.return,v1)}}}else if(X.tag===18){if(z===null){T=X;try{d=T.stateNode,g?G1(T,tx,d):G1(T,ZE,T.stateNode)}catch(v1){v0(T,T.return,v1)}}}else if((X.tag!==22&&X.tag!==23||X.memoizedState===null||X===Z)&&X.child!==null){X.child.return=X,X=X.child;continue}if(X===Z)break H;for(;X.sibling===null;){if(X.return===null||X.return===Z)break H;z===X&&(z=null),X=X.return}z===X&&(z=null),X.sibling.return=X.return,X=X.sibling}P&4&&(P=Z.updateQueue,P!==null&&(z=P.retryQueue,z!==null&&(P.retryQueue=null,VQ(Z,z))));break;case 19:$2(X,Z),g2(Z),P&4&&(P=Z.updateQueue,P!==null&&(Z.updateQueue=null,VQ(Z,P)));break;case 30:break;case 21:break;default:$2(X,Z),g2(Z)}(Z.mode&L0)!==n1&&0<=i1&&0<=s1&&((Q5||0.05<e0)&&A3(Z,i1,s1,e0,o0),Z.alternate===null&&Z.return!==null&&Z.return.alternate!==null&&0.05<s1-i1&&(Tz(Z.return.alternate,Z.return)||T3(Z,i1,s1,"Mount"))),T2(q),k3(K),o0=W,Q5=L}function g2(Z){var X=Z.flags;if(X&2){try{G1(Z,bx,Z)}catch(q){v0(Z,Z.return,q)}Z.flags&=-3}X&4096&&(Z.flags&=-4097)}function pz(Z){if(Z.subtreeFlags&1024)for(Z=Z.child;Z!==null;){var X=Z;pz(X),X.tag===5&&X.flags&1024&&X.stateNode.reset(),Z=Z.sibling}}function a3(Z,X){if(X.subtreeFlags&8772)for(X=X.child;X!==null;)Az(Z,X.alternate,X),X=X.sibling}function rz(Z){var X=S2(),q=u3(),K=f3(),W=l3();switch(Z.tag){case 0:case 11:case 14:case 15:AK(Z,Z.return,i2),P4(Z);break;case 1:d3(Z,Z.return);var L=Z.stateNode;typeof L.componentWillUnmount==="function"&&Ez(Z,Z.return,L),P4(Z);break;case 27:G1(Z,xH,Z.stateNode);case 26:case 5:d3(Z,Z.return),P4(Z);break;case 22:Z.memoizedState===null&&P4(Z);break;case 30:P4(Z);break;default:P4(Z)}(Z.mode&L0)!==n1&&0<=i1&&0<=s1&&(Q5||0.05<e0)&&A3(Z,i1,s1,e0,o0),T2(X),k3(q),o0=K,Q5=W}function P4(Z){for(Z=Z.child;Z!==null;)rz(Z),Z=Z.sibling}function iz(Z,X,q,K){var W=S2(),L=u3(),z=f3(),P=l3(),g=q.flags;switch(q.tag){case 0:case 11:case 15:c3(Z,q,K),hz(q,i2);break;case 1:if(c3(Z,q,K),X=q.stateNode,typeof X.componentDidMount==="function"&&G1(q,wW,q,X),X=q.updateQueue,X!==null){Z=q.stateNode;try{G1(q,Kx,X,Z)}catch(D){v0(q,q.return,D)}}K&&g&64&&xz(q),MH(q,q.return);break;case 27:Sz(q);case 26:case 5:c3(Z,q,K),K&&X===null&&g&4&&yz(q),MH(q,q.return);break;case 12:if(K&&g&4){g=$6(),c3(Z,q,K),K=q.stateNode,K.effectDuration+=WH(g);try{G1(q,Iz,q,X,g9,K.effectDuration)}catch(D){v0(q,q.return,D)}}else c3(Z,q,K);break;case 31:c3(Z,q,K),K&&g&4&&kz(Z,q);break;case 13:c3(Z,q,K),K&&g&4&&fz(Z,q);break;case 22:q.memoizedState===null&&c3(Z,q,K),MH(q,q.return);break;case 30:break;default:c3(Z,q,K)}(q.mode&L0)!==n1&&0<=i1&&0<=s1&&(Q5||0.05<e0)&&A3(q,i1,s1,e0,o0),T2(W),k3(L),o0=z,Q5=P}function c3(Z,X,q){q=q&&(X.subtreeFlags&8772)!==0;for(X=X.child;X!==null;)iz(Z,X.alternate,X,q),X=X.sibling}function lK(Z,X){var q=null;Z!==null&&Z.memoizedState!==null&&Z.memoizedState.cachePool!==null&&(q=Z.memoizedState.cachePool.pool),Z=null,X.memoizedState!==null&&X.memoizedState.cachePool!==null&&(Z=X.memoizedState.cachePool.pool),Z!==q&&(Z!=null&&z4(Z),q!=null&&wH(q))}function pK(Z,X){Z=null,X.alternate!==null&&(Z=X.alternate.memoizedState.cache),X=X.memoizedState.cache,X!==Z&&(z4(X),Z!=null&&wH(Z))}function j3(Z,X,q,K,W){if(X.subtreeFlags&10256||X.actualDuration!==0&&(X.alternate===null||X.alternate.child!==X.child))for(X=X.child;X!==null;){var L=X.sibling;dz(Z,X,q,K,L!==null?L.actualStartTime:W),X=L}}function dz(Z,X,q,K,W){var L=S2(),z=u3(),P=f3(),g=l3(),D=M9,i=X.flags;switch(X.tag){case 0:case 11:case 15:(X.mode&L0)!==n1&&0<X.actualStartTime&&(X.flags&1)!==0&&EX(X,X.actualStartTime,W,G5,q),j3(Z,X,q,K,W),i&2048&&_z(X,B2|J3);break;case 1:(X.mode&L0)!==n1&&0<X.actualStartTime&&((X.flags&128)!==0?GJ(X,X.actualStartTime,W,[]):(X.flags&1)!==0&&EX(X,X.actualStartTime,W,G5,q)),j3(Z,X,q,K,W);break;case 3:var d=$6(),T=G5;G5=X.alternate!==null&&X.alternate.memoizedState.isDehydrated&&(X.flags&256)===0,j3(Z,X,q,K,W),G5=T,i&2048&&(q=null,X.alternate!==null&&(q=X.alternate.memoizedState.cache),K=X.memoizedState.cache,K!==q&&(z4(K),q!=null&&wH(q))),Z.passiveEffectDuration+=kX(d);break;case 12:if(i&2048){i=$6(),j3(Z,X,q,K,W),Z=X.stateNode,Z.passiveEffectDuration+=WH(i);try{G1(X,Cx,X,X.alternate,g9,Z.passiveEffectDuration)}catch(o){v0(X,X.return,o)}}else j3(Z,X,q,K,W);break;case 31:i=G5,d=X.alternate!==null?X.alternate.memoizedState:null,T=X.memoizedState,d!==null&&T===null?(T=X.deletions,T!==null&&0<T.length&&T[0].tag===18?(G5=!1,d=d.hydrationErrors,d!==null&&GJ(X,X.actualStartTime,W,d)):G5=!0):G5=!1,j3(Z,X,q,K,W),G5=i;break;case 13:i=G5,d=X.alternate!==null?X.alternate.memoizedState:null,T=X.memoizedState,d===null||d.dehydrated===null||T!==null&&T.dehydrated!==null?G5=!1:(T=X.deletions,T!==null&&0<T.length&&T[0].tag===18?(G5=!1,d=d.hydrationErrors,d!==null&&GJ(X,X.actualStartTime,W,d)):G5=!0),j3(Z,X,q,K,W),G5=i;break;case 23:break;case 22:T=X.stateNode,d=X.alternate,X.memoizedState!==null?T._visibility&x6?j3(Z,X,q,K,W):CH(Z,X,q,K,W):T._visibility&x6?j3(Z,X,q,K,W):(T._visibility|=x6,x7(Z,X,q,K,(X.subtreeFlags&10256)!==0||X.actualDuration!==0&&(X.alternate===null||X.alternate.child!==X.child),W),(X.mode&L0)===n1||G5||(Z=X.actualStartTime,0<=Z&&0.05<W-Z&&xX(X,Z,W),0<=i1&&0<=s1&&0.05<s1-i1&&xX(X,i1,s1))),i&2048&&lK(d,X);break;case 24:j3(Z,X,q,K,W),i&2048&&pK(X.alternate,X);break;default:j3(Z,X,q,K,W)}if((X.mode&L0)!==n1){if(Z=!G5&&X.alternate===null&&X.return!==null&&X.return.alternate!==null)q=X.actualStartTime,0<=q&&0.05<W-q&&T3(X,q,W,"Mount");0<=i1&&0<=s1&&((Q5||0.05<e0)&&A3(X,i1,s1,e0,o0),Z&&0.05<s1-i1&&T3(X,i1,s1,"Mount"))}T2(L),k3(z),o0=P,Q5=g,M9=D}function x7(Z,X,q,K,W,L){W=W&&((X.subtreeFlags&10256)!==0||X.actualDuration!==0&&(X.alternate===null||X.alternate.child!==X.child));for(X=X.child;X!==null;){var z=X.sibling;az(Z,X,q,K,W,z!==null?z.actualStartTime:L),X=z}}function az(Z,X,q,K,W,L){var z=S2(),P=u3(),g=f3(),D=l3(),i=M9;W&&(X.mode&L0)!==n1&&0<X.actualStartTime&&(X.flags&1)!==0&&EX(X,X.actualStartTime,L,G5,q);var d=X.flags;switch(X.tag){case 0:case 11:case 15:x7(Z,X,q,K,W,L),_z(X,B2);break;case 23:break;case 22:var T=X.stateNode;X.memoizedState!==null?T._visibility&x6?x7(Z,X,q,K,W,L):CH(Z,X,q,K,L):(T._visibility|=x6,x7(Z,X,q,K,W,L)),W&&d&2048&&lK(X.alternate,X);break;case 24:x7(Z,X,q,K,W,L),W&&d&2048&&pK(X.alternate,X);break;default:x7(Z,X,q,K,W,L)}(X.mode&L0)!==n1&&0<=i1&&0<=s1&&(Q5||0.05<e0)&&A3(X,i1,s1,e0,o0),T2(z),k3(P),o0=g,Q5=D,M9=i}function CH(Z,X,q,K,W){if(X.subtreeFlags&10256||X.actualDuration!==0&&(X.alternate===null||X.alternate.child!==X.child))for(var L=X.child;L!==null;){X=L.sibling;var z=Z,P=q,g=K,D=X!==null?X.actualStartTime:W,i=M9;(L.mode&L0)!==n1&&0<L.actualStartTime&&(L.flags&1)!==0&&EX(L,L.actualStartTime,D,G5,P);var d=L.flags;switch(L.tag){case 22:CH(z,L,P,g,D),d&2048&&lK(L.alternate,L);break;case 24:CH(z,L,P,g,D),d&2048&&pK(L.alternate,L);break;default:CH(z,L,P,g,D)}M9=i,L=X}}function E7(Z,X,q){if(Z.subtreeFlags&UZ)for(Z=Z.child;Z!==null;)cz(Z,X,q),Z=Z.sibling}function cz(Z,X,q){switch(Z.tag){case 26:E7(Z,X,q),Z.flags&UZ&&Z.memoizedState!==null&&BE(q,C3,Z.memoizedState,Z.memoizedProps);break;case 5:E7(Z,X,q);break;case 3:case 4:var K=C3;C3=CQ(Z.stateNode.containerInfo),E7(Z,X,q),C3=K;break;case 22:Z.memoizedState===null&&(K=Z.alternate,K!==null&&K.memoizedState!==null?(K=UZ,UZ=16777216,E7(Z,X,q),UZ=K):E7(Z,X,q));break;default:E7(Z,X,q)}}function sz(Z){var X=Z.alternate;if(X!==null&&(Z=X.child,Z!==null)){X.child=null;do X=Z.sibling,Z.sibling=null,Z=X;while(Z!==null)}}function bH(Z){var X=Z.deletions;if((Z.flags&16)!==0){if(X!==null)for(var q=0;q<X.length;q++){var K=X[q],W=S2();T5=K,tz(K,Z),(K.mode&L0)!==n1&&0<=i1&&0<=s1&&0.05<s1-i1&&T3(K,i1,s1,"Unmount"),T2(W)}sz(Z)}if(Z.subtreeFlags&10256)for(Z=Z.child;Z!==null;)nz(Z),Z=Z.sibling}function nz(Z){var X=S2(),q=u3(),K=f3(),W=l3();switch(Z.tag){case 0:case 11:case 15:bH(Z),Z.flags&2048&&mK(Z,Z.return,B2|J3);break;case 3:var L=$6();bH(Z),Z.stateNode.passiveEffectDuration+=kX(L);break;case 12:L=$6(),bH(Z),Z.stateNode.passiveEffectDuration+=WH(L);break;case 22:L=Z.stateNode,Z.memoizedState!==null&&L._visibility&x6&&(Z.return===null||Z.return.tag!==13)?(L._visibility&=~x6,zQ(Z),(Z.mode&L0)!==n1&&0<=i1&&0<=s1&&0.05<s1-i1&&T3(Z,i1,s1,"Disconnect")):bH(Z);break;default:bH(Z)}(Z.mode&L0)!==n1&&0<=i1&&0<=s1&&(Q5||0.05<e0)&&A3(Z,i1,s1,e0,o0),T2(X),k3(q),Q5=W,o0=K}function zQ(Z){var X=Z.deletions;if((Z.flags&16)!==0){if(X!==null)for(var q=0;q<X.length;q++){var K=X[q],W=S2();T5=K,tz(K,Z),(K.mode&L0)!==n1&&0<=i1&&0<=s1&&0.05<s1-i1&&T3(K,i1,s1,"Unmount"),T2(W)}sz(Z)}for(Z=Z.child;Z!==null;)oz(Z),Z=Z.sibling}function oz(Z){var X=S2(),q=u3(),K=f3(),W=l3();switch(Z.tag){case 0:case 11:case 15:mK(Z,Z.return,B2),zQ(Z);break;case 22:var L=Z.stateNode;L._visibility&x6&&(L._visibility&=~x6,zQ(Z));break;default:zQ(Z)}(Z.mode&L0)!==n1&&0<=i1&&0<=s1&&(Q5||0.05<e0)&&A3(Z,i1,s1,e0,o0),T2(X),k3(q),Q5=W,o0=K}function tz(Z,X){for(;T5!==null;){var q=T5,K=q,W=X,L=S2(),z=u3(),P=f3(),g=l3();switch(K.tag){case 0:case 11:case 15:mK(K,W,B2);break;case 23:case 22:K.memoizedState!==null&&K.memoizedState.cachePool!==null&&(W=K.memoizedState.cachePool.pool,W!=null&&z4(W));break;case 24:wH(K.memoizedState.cache)}if((K.mode&L0)!==n1&&0<=i1&&0<=s1&&(Q5||0.05<e0)&&A3(K,i1,s1,e0,o0),T2(L),k3(z),Q5=g,o0=P,K=q.child,K!==null)K.return=q,T5=K;else H:for(q=Z;T5!==null;){if(K=T5,L=K.sibling,z=K.return,mz(K),K===q){T5=null;break H}if(L!==null){L.return=z,T5=L;break H}T5=z}}}function Gx(){aI.forEach(function(Z){return Z()})}function ez(){var Z=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return Z||X1.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),Z}function m2(Z){if((h0&D5)!==A5&&U0!==0)return U0&-U0;var X=X1.T;return X!==null?(X._updatedFibers||(X._updatedFibers=new Set),X._updatedFibers.add(Z),oK()):a()}function Hj(){if(h2===0)if((U0&536870912)===0||N0){var Z=vQ;vQ<<=1,(vQ&3932160)===0&&(vQ=262144),h2=Z}else h2=536870912;return Z=r2.current,Z!==null&&(Z.flags|=32),h2}function X5(Z,X,q){if(j8&&console.error("useInsertionEffect must not schedule updates."),IW&&(Nq=!0),Z===f0&&(A0===S4||A0===T4)||Z.cancelPendingCommit!==null)y7(Z,0),B9(Z,U0,h2,!1);if(S1(Z,q),(h0&D5)!==A5&&Z===f0){if(e3)switch(X.tag){case 0:case 11:case 15:Z=B0&&k(B0)||"Unknown",DN.has(Z)||(DN.add(Z),X=k(X)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",X,Z,Z));break;case 1:GN||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),GN=!0)}}else Z6&&B3(Z,X,q),Tx(X),Z===f0&&((h0&D5)===A5&&(v9|=q),H5===E9&&B9(Z,U0,h2,!1)),s3(Z)}function Zj(Z,X,q){if((h0&(D5|d2))!==A5)throw Error("Should not already be working.");if(U0!==0&&B0!==null){var K=B0,W=v5();switch(NO){case zZ:case S4:var L=tH;i0&&((K=K._debugTask)?K.run(console.timeStamp.bind(console,"Suspended",L,W,t2,void 0,"primary-light")):console.timeStamp("Suspended",L,W,t2,void 0,"primary-light"));break;case T4:L=tH,i0&&((K=K._debugTask)?K.run(console.timeStamp.bind(console,"Action",L,W,t2,void 0,"primary-light")):console.timeStamp("Action",L,W,t2,void 0,"primary-light"));break;default:i0&&(K=W-tH,3>K||console.timeStamp("Blocked",tH,W,t2,void 0,5>K?"primary-light":10>K?"primary":100>K?"primary-dark":"error"))}}L=(q=!q&&(X&127)===0&&(X&Z.expiredLanes)===0||O6(Z,X))?hx(Z,X):iK(Z,X,!0);var z=q;do{if(L===f6){V8&&!q&&B9(Z,X,0,!1),X=A0,tH=O5(),NO=X;break}else{if(K=v5(),W=Z.current.alternate,z&&!Dx(W)){y2(X),W=S5,L=K,!i0||L<=W||(J5?J5.run(console.timeStamp.bind(console,"Teared Render",W,L,R0,j0,"error")):console.timeStamp("Teared Render",W,L,R0,j0,"error")),M4(X,K),L=iK(Z,X,!1),z=!1;continue}if(L===v4){if(z=X,Z.errorRecoveryDisabledLanes&z)var P=0;else P=Z.pendingLanes&-536870913,P=P!==0?P:P&536870912?536870912:0;if(P!==0){y2(X),DJ(S5,K,X,J5),M4(X,K),X=P;H:{K=Z,L=z,z=RZ;var g=K.current.memoizedState.isDehydrated;if(g&&(y7(K,P).flags|=256),P=iK(K,P,!1),P!==v4){if($W&&!g){K.errorRecoveryDisabledLanes|=L,v9|=L,L=E9;break H}K=V2,V2=z,K!==null&&(V2===null?V2=K:V2.push.apply(V2,K))}L=P}if(z=!1,L!==v4)continue;else K=v5()}}if(L===VZ){y2(X),DJ(S5,K,X,J5),M4(X,K),y7(Z,0),B9(Z,X,0,!0);break}H:{switch(q=Z,L){case f6:case VZ:throw Error("Root did not complete. This is a bug in React.");case E9:if((X&4194048)!==X)break;case Fq:y2(X),ZV(S5,K,X,J5),M4(X,K),W=X,(W&127)!==0?nQ=K:(W&4194048)!==0&&(oQ=K),B9(q,X,h2,!I9);break H;case v4:V2=null;break;case Lq:case BN:break;default:throw Error("Unknown root exit status.")}if(X1.actQueue!==null)dK(q,W,X,V2,OZ,Vq,h2,v9,A4,L,null,null,S5,K);else{if((X&62914560)===X&&(z=zq+jN-v5(),10<z)){if(B9(q,X,h2,!I9),R6(q,0,!0)!==0)break H;b3=X,q.timeoutHandle=SN(Xj.bind(null,q,W,V2,OZ,Vq,X,h2,v9,A4,I9,L,"Throttled",S5,K),z);break H}Xj(q,W,V2,OZ,Vq,X,h2,v9,A4,I9,L,null,S5,K)}}}break}while(1);s3(Z)}function Xj(Z,X,q,K,W,L,z,P,g,D,i,d,T,o){Z.timeoutHandle=l4;var D1=X.subtreeFlags,v1=null;if(D1&8192||(D1&16785408)===16785408){if(v1={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:P6},cz(X,L,v1),D1=(L&62914560)===L?zq-v5():(L&4194048)===L?zN-v5():0,D1=VE(v1,D1),D1!==null){b3=L,Z.cancelPendingCommit=D1(dK.bind(null,Z,X,L,q,K,W,z,P,g,i,v1,v1.waitingForViewTransition?"Waiting for the previous Animation":0<v1.count?0<v1.imgCount?"Suspended on CSS and Images":"Suspended on CSS":v1.imgCount===1?"Suspended on an Image":0<v1.imgCount?"Suspended on Images":null,T,o)),B9(Z,L,z,!D);return}}dK(Z,X,L,q,K,W,z,P,g,i,v1,d,T,o)}function Dx(Z){for(var X=Z;;){var q=X.tag;if((q===0||q===11||q===15)&&X.flags&16384&&(q=X.updateQueue,q!==null&&(q=q.stores,q!==null)))for(var K=0;K<q.length;K++){var W=q[K],L=W.getSnapshot;W=W.value;try{if(!L2(L(),W))return!1}catch(z){return!1}}if(q=X.child,X.subtreeFlags&16384&&q!==null)q.return=X,X=q;else{if(X===Z)break;for(;X.sibling===null;){if(X.return===null||X.return===Z)return!0;X=X.return}X.sibling.return=X.return,X=X.sibling}}return!0}function B9(Z,X,q,K){X&=~gW,X&=~v9,Z.suspendedLanes|=X,Z.pingedLanes&=~X,K&&(Z.warmLanes|=X),K=Z.expirationTimes;for(var W=X;0<W;){var L=31-K2(W),z=1<<L;K[L]=-1,W&=~z}q!==0&&C0(Z,q,X)}function I7(){return(h0&(D5|d2))===A5?(GH(0,!1),!1):!0}function rK(){if(B0!==null){if(A0===D2)var Z=B0.return;else Z=B0,AX(),ZK(Z),Y8=null,KZ=0,Z=B0;for(;Z!==null;)Dz(Z.alternate,Z),Z=Z.return;B0=null}}function M4(Z,X){(Z&127)!==0&&(G9=X),(Z&4194048)!==0&&(J6=X),(Z&62914560)!==0&&(RO=X),(Z&2080374784)!==0&&(OO=X)}function y7(Z,X){i0&&(console.timeStamp("Blocking Track",0.003,0.003,"Blocking",j0,"primary-light"),console.timeStamp("Transition Track",0.003,0.003,"Transition",j0,"primary-light"),console.timeStamp("Suspense Track",0.003,0.003,"Suspense",j0,"primary-light"),console.timeStamp("Idle Track",0.003,0.003,"Idle",j0,"primary-light"));var q=S5;if(S5=O5(),U0!==0&&0<q){if(y2(U0),H5===Lq||H5===E9)ZV(q,S5,X,J5);else{var K=S5,W=J5;if(i0&&!(K<=q)){var L=(X&738197653)===X?"tertiary-dark":"primary-dark",z=(X&536870912)===X?"Prewarm":(X&201326741)===X?"Interrupted Hydration":"Interrupted Render";W?W.run(console.timeStamp.bind(console,z,q,K,R0,j0,L)):console.timeStamp(z,q,K,R0,j0,L)}}M4(U0,S5)}if(q=J5,J5=null,(X&127)!==0){J5=sH,W=0<=Y6&&Y6<G9?G9:Y6,K=0<=G4&&G4<G9?G9:G4,L=0<=K?K:0<=W?W:S5,0<=nQ?(y2(2),XV(nQ,L,X,q)):(tQ&127)!==0&&(y2(2),JH(G9,L,T6)),q=W;var P=K,g=nH,D=0<X8,i=D9===cH,d=D9===sQ;if(W=S5,K=sH,L=QW,z=qW,i0){if(R0="Blocking",0<q?q>W&&(q=W):q=W,0<P?P>q&&(P=q):P=q,g!==null&&q>P){var T=D?"secondary-light":"warning";K?K.run(console.timeStamp.bind(console,D?"Consecutive":"Event: "+g,P,q,R0,j0,T)):console.timeStamp(D?"Consecutive":"Event: "+g,P,q,R0,j0,T)}W>q&&(P=i?"error":(X&738197653)===X?"tertiary-light":"primary-light",i=d?"Promise Resolved":i?"Cascading Update":5<W-q?"Update Blocked":"Update",d=[],z!=null&&d.push(["Component name",z]),L!=null&&d.push(["Method name",L]),q={start:q,end:W,detail:{devtools:{properties:d,track:R0,trackGroup:j0,color:P}}},K?K.run(performance.measure.bind(performance,i,q)):performance.measure(i,q))}Y6=-1.1,D9=0,qW=QW=null,nQ=-1.1,X8=G4,G4=-1.1,G9=O5()}if((X&4194048)!==0&&(J5=oH,W=0<=S6&&S6<J6?J6:S6,q=0<=q3&&q3<J6?J6:q3,K=0<=h9&&h9<J6?J6:h9,L=0<=K?K:0<=q?q:S5,0<=oQ?(y2(256),XV(oQ,L,X,J5)):(tQ&4194048)!==0&&(y2(256),JH(J6,L,T6)),d=K,P=D4,g=0<_9,D=YW===sQ,L=S5,K=oH,z=zO,i=jO,i0&&(R0="Transition",0<q?q>L&&(q=L):q=L,0<W?W>q&&(W=q):W=q,0<d?d>W&&(d=W):d=W,W>d&&P!==null&&(T=g?"secondary-light":"warning",K?K.run(console.timeStamp.bind(console,g?"Consecutive":"Event: "+P,d,W,R0,j0,T)):console.timeStamp(g?"Consecutive":"Event: "+P,d,W,R0,j0,T)),q>W&&(K?K.run(console.timeStamp.bind(console,"Action",W,q,R0,j0,"primary-dark")):console.timeStamp("Action",W,q,R0,j0,"primary-dark")),L>q&&(W=D?"Promise Resolved":5<L-q?"Update Blocked":"Update",d=[],i!=null&&d.push(["Component name",i]),z!=null&&d.push(["Method name",z]),q={start:q,end:L,detail:{devtools:{properties:d,track:R0,trackGroup:j0,color:"primary-light"}}},K?K.run(performance.measure.bind(performance,W,q)):performance.measure(W,q))),q3=S6=-1.1,YW=0,oQ=-1.1,_9=h9,h9=-1.1,J6=O5()),(X&62914560)!==0&&(tQ&62914560)!==0&&(y2(4194304),JH(RO,S5,T6)),(X&2080374784)!==0&&(tQ&2080374784)!==0&&(y2(268435456),JH(OO,S5,T6)),q=Z.timeoutHandle,q!==l4&&(Z.timeoutHandle=l4,Jy(q)),q=Z.cancelPendingCommit,q!==null&&(Z.cancelPendingCommit=null,q()),b3=0,rK(),f0=Z,B0=q=M6(Z.current,null),U0=X,A0=D2,a2=null,I9=!1,V8=O6(Z,X),$W=!1,H5=f6,A4=h2=gW=v9=y9=0,V2=RZ=null,Vq=!1,(X&8)!==0&&(X|=X&32),K=Z.entangledLanes,K!==0)for(Z=Z.entanglements,K&=X;0<K;)W=31-K2(K),L=1<<W,X|=Z[W],K&=~L;return w6=X,IX(),Z=WO(),1000<Z-wO&&(X1.recentlyCreatedOwnerStacks=0,wO=Z),P3.discardPendingWarnings(),q}function Qj(Z,X){e1=null,X1.H=FZ,X1.getCurrentStack=null,e3=!1,f2=null,X===q8||X===Xq?(X=$V(),A0=zZ):X===WW?(X=$V(),A0=VN):A0=X===NW?bW:X!==null&&typeof X==="object"&&typeof X.then==="function"?jZ:Uq,a2=X;var q=B0;q===null?(H5=VZ,wQ(Z,v2(X,Z.current))):q.mode&L0&&lJ(q)}function qj(){var Z=r2.current;return Z===null?!0:(U0&4194048)===U0?Y3===null?!0:!1:(U0&62914560)===U0||(U0&536870912)!==0?Z===Y3:!1}function Yj(){var Z=X1.H;return X1.H=FZ,Z===null?FZ:Z}function Jj(){var Z=X1.A;return X1.A=dI,Z}function jQ(Z){J5===null&&(J5=Z._debugTask==null?null:Z._debugTask)}function RQ(){H5=E9,I9||(U0&4194048)!==U0&&r2.current!==null||(V8=!0),(y9&134217727)===0&&(v9&134217727)===0||f0===null||B9(f0,U0,h2,!1)}function iK(Z,X,q){var K=h0;h0|=D5;var W=Yj(),L=Jj();if(f0!==Z||U0!==X){if(Z6){var z=Z.memoizedUpdaters;0<z.size&&(gH(Z,U0),z.clear()),M2(Z,X)}OZ=null,y7(Z,X)}X=!1,z=H5;H:do try{if(A0!==D2&&B0!==null){var P=B0,g=a2;switch(A0){case bW:rK(),z=Fq;break H;case zZ:case S4:case T4:case jZ:r2.current===null&&(X=!0);var D=A0;if(A0=D2,a2=null,v7(Z,P,g,D),q&&V8){z=f6;break H}break;default:D=A0,A0=D2,a2=null,v7(Z,P,g,D)}}Kj(),z=H5;break}catch(i){Qj(Z,i)}while(1);return X&&Z.shellSuspendCounter++,AX(),h0=K,X1.H=W,X1.A=L,B0===null&&(f0=null,U0=0,IX()),z}function Kj(){for(;B0!==null;)wj(B0)}function hx(Z,X){var q=h0;h0|=D5;var K=Yj(),W=Jj();if(f0!==Z||U0!==X){if(Z6){var L=Z.memoizedUpdaters;0<L.size&&(gH(Z,U0),L.clear()),M2(Z,X)}OZ=null,jq=v5()+RN,y7(Z,X)}else V8=O6(Z,X);H:do try{if(A0!==D2&&B0!==null)Z:switch(X=B0,L=a2,A0){case Uq:A0=D2,a2=null,v7(Z,X,L,Uq);break;case S4:case T4:if(CV(L)){A0=D2,a2=null,Wj(X);break}X=function(){A0!==S4&&A0!==T4||f0!==Z||(A0=Bq),s3(Z)},L.then(X,X);break H;case zZ:A0=Bq;break H;case VN:A0=CW;break H;case Bq:CV(L)?(A0=D2,a2=null,Wj(X)):(A0=D2,a2=null,v7(Z,X,L,Bq));break;case CW:var z=null;switch(B0.tag){case 26:z=B0.memoizedState;case 5:case 27:var P=B0;if(z?ZR(z):P.stateNode.complete){A0=D2,a2=null;var g=P.sibling;if(g!==null)B0=g;else{var D=P.return;D!==null?(B0=D,OQ(D)):B0=null}break Z}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}A0=D2,a2=null,v7(Z,X,L,CW);break;case jZ:A0=D2,a2=null,v7(Z,X,L,jZ);break;case bW:rK(),H5=Fq;break H;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}X1.actQueue!==null?Kj():_x();break}catch(i){Qj(Z,i)}while(1);if(AX(),X1.H=K,X1.A=W,h0=q,B0!==null)return f6;return f0=null,U0=0,IX(),H5}function _x(){for(;B0!==null&&!DE();)wj(B0)}function wj(Z){var X=Z.alternate;(Z.mode&L0)!==n1?(fJ(Z),X=G1(Z,SK,X,Z,w6),lJ(Z)):X=G1(Z,SK,X,Z,w6),Z.memoizedProps=Z.pendingProps,X===null?OQ(Z):B0=X}function Wj(Z){var X=G1(Z,xx,Z);Z.memoizedProps=Z.pendingProps,X===null?OQ(Z):B0=X}function xx(Z){var X=Z.alternate,q=(Z.mode&L0)!==n1;switch(q&&fJ(Z),Z.tag){case 15:case 0:X=Pz(X,Z,Z.pendingProps,Z.type,void 0,U0);break;case 11:X=Pz(X,Z,Z.pendingProps,Z.type.render,Z.ref,U0);break;case 5:ZK(Z);default:Dz(X,Z),Z=B0=wV(Z,w6),X=SK(X,Z,w6)}return q&&lJ(Z),X}function v7(Z,X,q,K){AX(),ZK(X),Y8=null,KZ=0;var W=X.return;try{if(Vx(Z,W,X,q,U0)){H5=VZ,wQ(Z,v2(q,Z.current)),B0=null;return}}catch(L){if(W!==null)throw B0=W,L;H5=VZ,wQ(Z,v2(q,Z.current)),B0=null;return}if(X.flags&32768){if(N0||K===Uq)Z=!0;else if(V8||(U0&536870912)!==0)Z=!1;else if(I9=Z=!0,K===S4||K===T4||K===zZ||K===jZ)K=r2.current,K!==null&&K.tag===13&&(K.flags|=16384);Lj(X,Z)}else OQ(X)}function OQ(Z){var X=Z;do{if((X.flags&32768)!==0){Lj(X,I9);return}var q=X.alternate;if(Z=X.return,fJ(X),q=G1(X,Rx,q,X,w6),(X.mode&L0)!==n1&&RV(X),q!==null){B0=q;return}if(X=X.sibling,X!==null){B0=X;return}B0=X=Z}while(X!==null);H5===f6&&(H5=BN)}function Lj(Z,X){do{var q=Ox(Z.alternate,Z);if(q!==null){q.flags&=32767,B0=q;return}if((Z.mode&L0)!==n1){RV(Z),q=Z.actualDuration;for(var K=Z.child;K!==null;)q+=K.actualDuration,K=K.sibling;Z.actualDuration=q}if(q=Z.return,q!==null&&(q.flags|=32768,q.subtreeFlags=0,q.deletions=null),!X&&(Z=Z.sibling,Z!==null)){B0=Z;return}B0=Z=q}while(Z!==null);H5=Fq,B0=null}function dK(Z,X,q,K,W,L,z,P,g,D,i,d,T,o){Z.cancelPendingCommit=null;do $H();while(b5!==T9);if(P3.flushLegacyContextWarning(),P3.flushPendingUnsafeLifecycleWarnings(),(h0&(D5|d2))!==A5)throw Error("Should not already be working.");if(y2(q),D===v4?DJ(T,o,q,J5):K!==null?Zx(T,o,q,K,X!==null&&X.alternate!==null&&X.alternate.memoizedState.isDehydrated&&(X.flags&256)!==0,J5):Hx(T,o,q,J5),X!==null){if(q===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),X===Z.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(L=X.lanes|X.childLanes,L|=tw,J0(Z,q,L,z,P,g),Z===f0&&(B0=f0=null,U0=0),z8=X,A9=Z,b3=q,hW=L,xW=W,bN=K,_W=o,$N=d,$3=Rq,gN=null,X.actualDuration!==0||(X.subtreeFlags&10256)!==0||(X.flags&10256)!==0?(Z.callbackNode=null,Z.callbackPriority=0,Sx(k7,function(){return $Z=window.event,$3===Rq&&($3=DW),zj(),null})):(Z.callbackNode=null,Z.callbackPriority=0),v6=null,g9=O5(),d!==null&&Xx(o,g9,d,J5),K=(X.flags&13878)!==0,(X.subtreeFlags&13878)!==0||K){K=X1.T,X1.T=null,W=S0.p,S0.p=l2,z=h0,h0|=d2;try{$x(Z,X,q)}finally{h0=z,S0.p=W,X1.T=K}}b5=NN,Fj(),Uj(),Bj()}}function Fj(){if(b5===NN){b5=T9;var Z=A9,X=z8,q=b3,K=(X.flags&13878)!==0;if((X.subtreeFlags&13878)!==0||K){K=X1.T,X1.T=null;var W=S0.p;S0.p=l2;var L=h0;h0|=d2;try{U8=q,B8=Z,fX(),lz(X,Z),B8=U8=null,q=fW;var z=tB(Z.containerInfo),P=q.focusedElem,g=q.selectionRange;if(z!==P&&P&&P.ownerDocument&&oB(P.ownerDocument.documentElement,P)){if(g!==null&&$J(P)){var{start:D,end:i}=g;if(i===void 0&&(i=D),"selectionStart"in P)P.selectionStart=D,P.selectionEnd=Math.min(i,P.value.length);else{var d=P.ownerDocument||document,T=d&&d.defaultView||window;if(T.getSelection){var o=T.getSelection(),D1=P.textContent.length,v1=Math.min(g.start,D1),r0=g.end===void 0?v1:Math.min(g.end,D1);!o.extend&&v1>r0&&(z=r0,r0=v1,v1=z);var $0=nB(P,v1),S=nB(P,r0);if($0&&S&&(o.rangeCount!==1||o.anchorNode!==$0.node||o.anchorOffset!==$0.offset||o.focusNode!==S.node||o.focusOffset!==S.offset)){var f=d.createRange();f.setStart($0.node,$0.offset),o.removeAllRanges(),v1>r0?(o.addRange(f),o.extend(S.node,S.offset)):(f.setEnd(S.node,S.offset),o.addRange(f))}}}}d=[];for(o=P;o=o.parentNode;)o.nodeType===1&&d.push({element:o,left:o.scrollLeft,top:o.scrollTop});typeof P.focus==="function"&&P.focus();for(P=0;P<d.length;P++){var r=d[P];r.element.scrollLeft=r.left,r.element.scrollTop=r.top}}yq=!!kW,fW=kW=null}finally{h0=L,S0.p=W,X1.T=K}}Z.current=X,b5=PN}}function Uj(){if(b5===PN){b5=T9;var Z=gN;if(Z!==null){g9=O5();var X=y6,q=g9;!i0||q<=X||(T6?T6.run(console.timeStamp.bind(console,Z,X,q,R0,j0,"secondary-light")):console.timeStamp(Z,X,q,R0,j0,"secondary-light"))}Z=A9,X=z8,q=b3;var K=(X.flags&8772)!==0;if((X.subtreeFlags&8772)!==0||K){K=X1.T,X1.T=null;var W=S0.p;S0.p=l2;var L=h0;h0|=d2;try{U8=q,B8=Z,fX(),Az(Z,X.alternate,X),B8=U8=null}finally{h0=L,S0.p=W,X1.T=K}}Z=_W,X=$N,y6=O5(),Z=X===null?Z:g9,X=y6,q=$3===GW,K=J5,v6!==null?QV(Z,X,v6,!1,K):!i0||X<=Z||(K?K.run(console.timeStamp.bind(console,q?"Commit Interrupted View Transition":"Commit",Z,X,R0,j0,q?"error":"secondary-dark")):console.timeStamp(q?"Commit Interrupted View Transition":"Commit",Z,X,R0,j0,q?"error":"secondary-dark")),b5=MN}}function Bj(){if(b5===CN||b5===MN){if(b5===CN){var Z=y6;y6=O5();var X=y6,q=$3===GW;!i0||X<=Z||(T6?T6.run(console.timeStamp.bind(console,q?"Interrupted View Transition":"Starting Animation",Z,X,R0,j0,q?"error":"secondary-light")):console.timeStamp(q?"Interrupted View Transition":"Starting Animation",Z,X,R0,j0,q?" error":"secondary-light")),$3!==GW&&($3=ON)}b5=T9,hE(),Z=A9;var K=z8;X=b3,q=bN;var W=K.actualDuration!==0||(K.subtreeFlags&10256)!==0||(K.flags&10256)!==0;W?b5=Oq:(b5=T9,z8=A9=null,Vj(Z,Z.pendingLanes),m4=0,PZ=null);var L=Z.pendingLanes;if(L===0&&(S9=null),W||Nj(Z),L=h(X),K=K.stateNode,s5&&typeof s5.onCommitFiberRoot==="function")try{var z=(K.current.flags&128)===128;switch(L){case l2:var P=xw;break;case O3:P=Ew;break;case X6:P=k7;break;case TQ:P=Iw;break;default:P=k7}s5.onCommitFiberRoot(f7,K,P,z)}catch(d){H6||(H6=!0,console.error("React instrumentation encountered an error: %o",d))}if(Z6&&Z.memoizedUpdaters.clear(),Gx(),q!==null){z=X1.T,P=S0.p,S0.p=l2,X1.T=null;try{var g=Z.onRecoverableError;for(K=0;K<q.length;K++){var D=q[K],i=Ex(D.stack);G1(D.source,g,D.value,i)}}finally{X1.T=z,S0.p=P}}(b3&3)!==0&&$H(),s3(Z),L=Z.pendingLanes,(X&261930)!==0&&(L&42)!==0?(Hq=!0,Z===EW?NZ++:(NZ=0,EW=Z)):NZ=0,W||M4(X,y6),GH(0,!1)}}function Ex(Z){return Z={componentStack:Z},Object.defineProperty(Z,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),Z}function Vj(Z,X){(Z.pooledCacheLanes&=X)===0&&(X=Z.pooledCache,X!=null&&(Z.pooledCache=null,wH(X)))}function $H(){return Fj(),Uj(),Bj(),zj()}function zj(){if(b5!==Oq)return!1;var Z=A9,X=hW;hW=0;var q=h(b3),K=X6===0||X6>q?X6:q;q=X1.T;var W=S0.p;try{S0.p=K,X1.T=null;var L=xW;xW=null,K=A9;var z=b3;if(b5=T9,z8=A9=null,b3=0,(h0&(D5|d2))!==A5)throw Error("Cannot flush passive effects while already rendering.");y2(z),IW=!0,Nq=!1;var P=0;if(v6=null,P=v5(),$3===ON)JH(y6,P,T6);else{var g=y6,D=P,i=$3===DW;!i0||D<=g||(J5?J5.run(console.timeStamp.bind(console,i?"Waiting for Paint":"Waiting",g,D,R0,j0,"secondary-light")):console.timeStamp(i?"Waiting for Paint":"Waiting",g,D,R0,j0,"secondary-light"))}g=h0,h0|=d2;var d=K.current;fX(),nz(d);var T=K.current;d=_W,fX(),dz(K,T,z,L,d),Nj(K),h0=g;var o=v5();if(T=P,d=J5,v6!==null?QV(T,o,v6,!0,d):!i0||o<=T||(d?d.run(console.timeStamp.bind(console,"Remaining Effects",T,o,R0,j0,"secondary-dark")):console.timeStamp("Remaining Effects",T,o,R0,j0,"secondary-dark")),M4(z,o),GH(0,!1),Nq?K===PZ?m4++:(m4=0,PZ=K):m4=0,Nq=IW=!1,s5&&typeof s5.onPostCommitFiberRoot==="function")try{s5.onPostCommitFiberRoot(f7,K)}catch(v1){H6||(H6=!0,console.error("React instrumentation encountered an error: %o",v1))}var D1=K.current.stateNode;return D1.effectDuration=0,D1.passiveEffectDuration=0,!0}finally{S0.p=W,X1.T=q,Vj(Z,X)}}function jj(Z,X,q){X=v2(q,X),OV(X),X=$K(Z.stateNode,X,2),Z=W9(Z,X,2),Z!==null&&(S1(Z,2),s3(Z))}function v0(Z,X,q){if(j8=!1,Z.tag===3)jj(Z,Z,q);else{for(;X!==null;){if(X.tag===3){jj(X,Z,q);return}if(X.tag===1){var K=X.stateNode;if(typeof X.type.getDerivedStateFromError==="function"||typeof K.componentDidCatch==="function"&&(S9===null||!S9.has(K))){Z=v2(q,Z),OV(Z),q=gK(2),K=W9(X,q,2),K!==null&&(GK(q,K,X,Z),S1(K,2),s3(K));return}}X=X.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
154
|
+
|
|
155
|
+
Error message:
|
|
156
|
+
|
|
157
|
+
%s`,q)}}function aK(Z,X,q){var K=Z.pingCache;if(K===null){K=Z.pingCache=new cI;var W=new Set;K.set(X,W)}else W=K.get(X),W===void 0&&(W=new Set,K.set(X,W));W.has(q)||($W=!0,W.add(q),K=Ix.bind(null,Z,X,q),Z6&&gH(Z,q),X.then(K,K))}function Ix(Z,X,q){var K=Z.pingCache;K!==null&&K.delete(X),Z.pingedLanes|=Z.suspendedLanes&q,Z.warmLanes&=~q,(q&127)!==0?0>Y6&&(G9=Y6=O5(),sH=cQ("Promise Resolved"),D9=sQ):(q&4194048)!==0&&0>q3&&(J6=q3=O5(),oH=cQ("Promise Resolved"),YW=sQ),ez()&&X1.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
158
|
+
|
|
159
|
+
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
160
|
+
|
|
161
|
+
act(() => {
|
|
162
|
+
/* finish loading suspended data */
|
|
163
|
+
});
|
|
164
|
+
/* assert on the output */
|
|
165
|
+
|
|
166
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),f0===Z&&(U0&q)===q&&(H5===E9||H5===Lq&&(U0&62914560)===U0&&v5()-zq<jN?(h0&D5)===A5&&y7(Z,0):gW|=q,A4===U0&&(A4=0)),s3(Z)}function Rj(Z,X){X===0&&(X=J1()),Z=c5(Z,X),Z!==null&&(S1(Z,X),s3(Z))}function yx(Z){var X=Z.memoizedState,q=0;X!==null&&(q=X.retryLane),Rj(Z,q)}function vx(Z,X){var q=0;switch(Z.tag){case 31:case 13:var{stateNode:K,memoizedState:W}=Z;W!==null&&(q=W.retryLane);break;case 19:K=Z.stateNode;break;case 22:K=Z.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}K!==null&&K.delete(X),Rj(Z,q)}function cK(Z,X,q){if((X.subtreeFlags&67117056)!==0)for(X=X.child;X!==null;){var K=Z,W=X,L=W.type===xQ;L=q||L,W.tag!==22?W.flags&67108864?L&&G1(W,Oj,K,W):cK(K,W,L):W.memoizedState===null&&(L&&W.flags&8192?G1(W,Oj,K,W):W.subtreeFlags&67108864&&G1(W,cK,K,W,L)),X=X.sibling}}function Oj(Z,X){W0(!0);try{rz(X),oz(X),iz(Z,X.alternate,X,!1),az(Z,X,0,null,!1,0)}finally{W0(!1)}}function Nj(Z){var X=!0;Z.current.mode&(n5|N3)||(X=!1),cK(Z,Z.current,X)}function Pj(Z){if((h0&D5)===A5){var X=Z.tag;if(X===3||X===1||X===0||X===11||X===14||X===15){if(X=k(Z)||"ReactComponent",Pq!==null){if(Pq.has(X))return;Pq.add(X)}else Pq=new Set([X]);G1(Z,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously tries to update the component. Move this work to useEffect instead.")})}}}function gH(Z,X){Z6&&Z.memoizedUpdaters.forEach(function(q){B3(Z,q,X)})}function Sx(Z,X){var q=X1.actQueue;return q!==null?(q.push(X),oI):_w(Z,X)}function Tx(Z){ez()&&X1.actQueue===null&&G1(Z,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
|
|
167
|
+
|
|
168
|
+
When testing, code that causes React state updates should be wrapped into act(...):
|
|
169
|
+
|
|
170
|
+
act(() => {
|
|
171
|
+
/* fire events that update state */
|
|
172
|
+
});
|
|
173
|
+
/* assert on the output */
|
|
174
|
+
|
|
175
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,k(Z))})}function s3(Z){Z!==R8&&Z.next===null&&(R8===null?Mq=R8=Z:R8=R8.next=Z),Cq=!0,X1.actQueue!==null?vW||(vW=!0,$j()):yW||(yW=!0,$j())}function GH(Z,X){if(!SW&&Cq){SW=!0;do{var q=!1;for(var K=Mq;K!==null;){if(!X)if(Z!==0){var W=K.pendingLanes;if(W===0)var L=0;else{var{suspendedLanes:z,pingedLanes:P}=K;L=(1<<31-K2(42|Z)+1)-1,L&=W&~(z&~P),L=L&201326741?L&201326741|1:L?L|2:0}L!==0&&(q=!0,bj(K,L))}else L=U0,L=R6(K,K===f0?L:0,K.cancelPendingCommit!==null||K.timeoutHandle!==l4),(L&3)===0||O6(K,L)||(q=!0,bj(K,L));K=K.next}}while(q);SW=!1}}function Ax(){$Z=window.event,sK()}function sK(){Cq=vW=yW=!1;var Z=0;m9!==0&&rx()&&(Z=m9);for(var X=v5(),q=null,K=Mq;K!==null;){var W=K.next,L=Mj(K,X);if(L===0)K.next=null,q===null?Mq=W:q.next=W,W===null&&(R8=q);else if(q=K,Z!==0||(L&3)!==0)Cq=!0;K=W}b5!==T9&&b5!==Oq||GH(Z,!1),m9!==0&&(m9=0)}function Mj(Z,X){for(var{suspendedLanes:q,pingedLanes:K,expirationTimes:W}=Z,L=Z.pendingLanes&-62914561;0<L;){var z=31-K2(L),P=1<<z,g=W[z];if(g===-1){if((P&q)===0||(P&K)!==0)W[z]=o8(P,X)}else g<=X&&(Z.expiredLanes|=P);L&=~P}if(X=f0,q=U0,q=R6(Z,Z===X?q:0,Z.cancelPendingCommit!==null||Z.timeoutHandle!==l4),K=Z.callbackNode,q===0||Z===X&&(A0===S4||A0===T4)||Z.cancelPendingCommit!==null)return K!==null&&nK(K),Z.callbackNode=null,Z.callbackPriority=0;if((q&3)===0||O6(Z,q)){if(X=q&-q,X!==Z.callbackPriority||X1.actQueue!==null&&K!==TW)nK(K);else return X;switch(h(q)){case l2:case O3:q=Ew;break;case X6:q=k7;break;case TQ:q=Iw;break;default:q=k7}return K=Cj.bind(null,Z),X1.actQueue!==null?(X1.actQueue.push(K),q=TW):q=_w(q,K),Z.callbackPriority=X,Z.callbackNode=q,X}return K!==null&&nK(K),Z.callbackPriority=2,Z.callbackNode=null,2}function Cj(Z,X){if(Hq=eQ=!1,$Z=window.event,b5!==T9&&b5!==Oq)return Z.callbackNode=null,Z.callbackPriority=0,null;var q=Z.callbackNode;if($3===Rq&&($3=DW),$H()&&Z.callbackNode!==q)return null;var K=U0;if(K=R6(Z,Z===f0?K:0,Z.cancelPendingCommit!==null||Z.timeoutHandle!==l4),K===0)return null;return Zj(Z,K,X),Mj(Z,v5()),Z.callbackNode!=null&&Z.callbackNode===q?Cj.bind(null,Z):null}function bj(Z,X){if($H())return null;eQ=Hq,Hq=!1,Zj(Z,X,!0)}function nK(Z){Z!==TW&&Z!==null&&GE(Z)}function $j(){X1.actQueue!==null&&X1.actQueue.push(function(){return sK(),null}),Ky(function(){(h0&(D5|d2))!==A5?_w(xw,Ax):sK()})}function oK(){if(m9===0){var Z=h4;Z===0&&(Z=yQ,yQ<<=1,(yQ&261888)===0&&(yQ=256)),m9=Z}return m9}function gj(Z){if(Z==null||typeof Z==="symbol"||typeof Z==="boolean")return null;if(typeof Z==="function")return Z;return g0(Z,"action"),QH(""+Z)}function Gj(Z,X){var q=X.ownerDocument.createElement("input");return q.name=X.name,q.value=X.value,Z.id&&q.setAttribute("form",Z.id),X.parentNode.insertBefore(q,X),Z=new FormData(Z),q.parentNode.removeChild(q),Z}function mx(Z,X,q,K,W){if(X==="submit"&&q&&q.stateNode===W){var L=gj((W[w2]||null).action),z=K.submitter;z&&(X=(X=z[w2]||null)?gj(X.formAction):z.getAttribute("formAction"),X!==null&&(L=X,z=null));var P=new fQ("action","action",null,K,W);Z.push({event:P,listeners:[{instance:null,listener:function(){if(K.defaultPrevented){if(m9!==0){var g=z?Gj(W,z):new FormData(W),D={pending:!0,data:g,method:W.method,action:L};Object.freeze(D),RK(q,D,null,g)}}else typeof L==="function"&&(P.preventDefault(),g=z?Gj(W,z):new FormData(W),D={pending:!0,data:g,method:W.method,action:L},Object.freeze(D),RK(q,D,L,g))},currentTarget:W}]})}}function NQ(Z,X,q){Z.currentTarget=q;try{X(Z)}catch(K){cw(K)}Z.currentTarget=null}function Dj(Z,X){X=(X&4)!==0;for(var q=0;q<Z.length;q++){var K=Z[q];H:{var W=void 0,L=K.event;if(K=K.listeners,X)for(var z=K.length-1;0<=z;z--){var P=K[z],g=P.instance,D=P.currentTarget;if(P=P.listener,g!==W&&L.isPropagationStopped())break H;g!==null?G1(g,NQ,L,P,D):NQ(L,P,D),W=g}else for(z=0;z<K.length;z++){if(P=K[z],g=P.instance,D=P.currentTarget,P=P.listener,g!==W&&L.isPropagationStopped())break H;g!==null?G1(g,NQ,L,P,D):NQ(L,P,D),W=g}}}}function b0(Z,X){AW.has(Z)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',Z);var q=X[yw];q===void 0&&(q=X[yw]=new Set);var K=Z+"__bubble";q.has(K)||(hj(X,Z,2,!1),q.add(K))}function tK(Z,X,q){AW.has(Z)&&!X&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',Z);var K=0;X&&(K|=4),hj(q,Z,K,X)}function eK(Z){if(!Z[bq]){Z[bq]=!0,$R.forEach(function(q){q!=="selectionchange"&&(AW.has(q)||tK(q,!1,Z),tK(q,!0,Z))});var X=Z.nodeType===9?Z:Z.ownerDocument;X===null||X[bq]||(X[bq]=!0,tK("selectionchange",!1,X))}}function hj(Z,X,q,K){switch(KR(X)){case l2:var W=OE;break;case O3:W=NE;break;default:W=zw}q=W.bind(null,X,q,Z),W=void 0,!mw||X!=="touchstart"&&X!=="touchmove"&&X!=="wheel"||(W=!0),K?W!==void 0?Z.addEventListener(X,q,{capture:!0,passive:W}):Z.addEventListener(X,q,!0):W!==void 0?Z.addEventListener(X,q,{passive:W}):Z.addEventListener(X,q,!1)}function Hw(Z,X,q,K,W){var L=K;if((X&1)===0&&(X&2)===0&&K!==null)H:for(;;){if(K===null)return;var z=K.tag;if(z===3||z===4){var P=K.stateNode.containerInfo;if(P===W)break;if(z===4)for(z=K.return;z!==null;){var g=z.tag;if((g===3||g===4)&&z.stateNode.containerInfo===W)return;z=z.return}for(;P!==null;){if(z=f1(P),z===null)return;if(g=z.tag,g===5||g===6||g===26||g===27){K=L=z;continue H}P=P.parentNode}}K=K.return}uB(function(){var D=L,i=CJ(q),d=[];H:{var T=KO.get(Z);if(T!==void 0){var o=fQ,D1=Z;switch(Z){case"keypress":if(DX(q)===0)break H;case"keydown":case"keyup":o=BI;break;case"focusin":D1="focus",o=lw;break;case"focusout":D1="blur",o=lw;break;case"beforeblur":case"afterblur":o=lw;break;case"click":if(q.button===2)break H;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":o=aR;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":o=ZI;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":o=jI;break;case QO:case qO:case YO:o=qI;break;case JO:o=OI;break;case"scroll":case"scrollend":o=eE;break;case"wheel":o=PI;break;case"copy":case"cut":case"paste":o=JI;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":o=sR;break;case"toggle":case"beforetoggle":o=CI}var v1=(X&4)!==0,r0=!v1&&(Z==="scroll"||Z==="scrollend"),$0=v1?T!==null?T+"Capture":null:T;v1=[];for(var S=D,f;S!==null;){var r=S;if(f=r.stateNode,r=r.tag,r!==5&&r!==26&&r!==27||f===null||$0===null||(r=qH(S,$0),r!=null&&v1.push(DH(S,r,f))),r0)break;S=S.return}0<v1.length&&(T=new o(T,D1,null,q,i),d.push({event:T,listeners:v1}))}}if((X&7)===0){H:{if(T=Z==="mouseover"||Z==="pointerover",o=Z==="mouseout"||Z==="pointerout",T&&q!==mH&&(D1=q.relatedTarget||q.fromElement)&&(f1(D1)||D1[N9]))break H;if(o||T){if(T=i.window===i?i:(T=i.ownerDocument)?T.defaultView||T.parentWindow:window,o){if(D1=q.relatedTarget||q.toElement,o=D,D1=D1?f1(D1):null,D1!==null&&(r0=m(D1),v1=D1.tag,D1!==r0||v1!==5&&v1!==27&&v1!==6))D1=null}else o=null,D1=D;if(o!==D1){if(v1=aR,r="onMouseLeave",$0="onMouseEnter",S="mouse",Z==="pointerout"||Z==="pointerover")v1=sR,r="onPointerLeave",$0="onPointerEnter",S="pointer";if(r0=o==null?T:Q0(o),f=D1==null?T:Q0(D1),T=new v1(r,S+"leave",o,q,i),T.target=r0,T.relatedTarget=f,r=null,f1(i)===D&&(v1=new v1($0,S+"enter",D1,q,i),v1.target=f,v1.relatedTarget=r0,r=v1),r0=r,o&&D1)Z:{v1=ux,$0=o,S=D1,f=0;for(r=$0;r;r=v1(r))f++;r=0;for(var W1=S;W1;W1=v1(W1))r++;for(;0<f-r;)$0=v1($0),f--;for(;0<r-f;)S=v1(S),r--;for(;f--;){if($0===S||S!==null&&$0===S.alternate){v1=$0;break Z}$0=v1($0),S=v1(S)}v1=null}else v1=null;o!==null&&_j(d,T,o,v1,!1),D1!==null&&r0!==null&&_j(d,r0,D1,v1,!0)}}}H:{if(T=D?Q0(D):window,o=T.nodeName&&T.nodeName.toLowerCase(),o==="select"||o==="input"&&T.type==="file")var E1=dB;else if(rB(T))if(ZO)E1=o_;else{E1=s_;var H0=c_}else o=T.nodeName,!o||o.toLowerCase()!=="input"||T.type!=="checkbox"&&T.type!=="radio"?D&&XH(D.elementType)&&(E1=dB):E1=n_;if(E1&&(E1=E1(Z,D))){iB(d,E1,q,i);break H}H0&&H0(Z,T,D),Z==="focusout"&&D&&T.type==="number"&&D.memoizedProps.value!=null&&jJ(T,"number",T.value)}switch(H0=D?Q0(D):window,Z){case"focusin":if(rB(H0)||H0.contentEditable==="true")c7=H0,rw=D,iH=null;break;case"focusout":iH=rw=c7=null;break;case"mousedown":iw=!0;break;case"contextmenu":case"mouseup":case"dragend":iw=!1,eB(d,q,i);break;case"selectionchange":if(GI)break;case"keydown":case"keyup":eB(d,q,i)}var p1;if(pw)H:{switch(Z){case"compositionstart":var l1="onCompositionStart";break H;case"compositionend":l1="onCompositionEnd";break H;case"compositionupdate":l1="onCompositionUpdate";break H}l1=void 0}else a7?lB(Z,q)&&(l1="onCompositionEnd"):Z==="keydown"&&q.keyCode===nR&&(l1="onCompositionStart");if(l1&&(oR&&q.locale!=="ko"&&(a7||l1!=="onCompositionStart"?l1==="onCompositionEnd"&&a7&&(p1=kB()):(P9=i,uw=("value"in P9)?P9.value:P9.textContent,a7=!0)),H0=PQ(D,l1),0<H0.length&&(l1=new cR(l1,Z,null,q,i),d.push({event:l1,listeners:H0}),p1?l1.data=p1:(p1=pB(q),p1!==null&&(l1.data=p1)))),p1=$I?r_(Z,q):i_(Z,q))l1=PQ(D,"onBeforeInput"),0<l1.length&&(H0=new wI("onBeforeInput","beforeinput",null,q,i),d.push({event:H0,listeners:l1}),H0.data=p1);mx(d,Z,D,q,i)}Dj(d,X)})}function DH(Z,X,q){return{instance:Z,listener:X,currentTarget:q}}function PQ(Z,X){for(var q=X+"Capture",K=[];Z!==null;){var W=Z,L=W.stateNode;if(W=W.tag,W!==5&&W!==26&&W!==27||L===null||(W=qH(Z,q),W!=null&&K.unshift(DH(Z,W,L)),W=qH(Z,X),W!=null&&K.push(DH(Z,W,L))),Z.tag===3)return K;Z=Z.return}return[]}function ux(Z){if(Z===null)return null;do Z=Z.return;while(Z&&Z.tag!==5&&Z.tag!==27);return Z?Z:null}function _j(Z,X,q,K,W){for(var L=X._reactName,z=[];q!==null&&q!==K;){var P=q,g=P.alternate,D=P.stateNode;if(P=P.tag,g!==null&&g===K)break;P!==5&&P!==26&&P!==27||D===null||(g=D,W?(D=qH(q,L),D!=null&&z.unshift(DH(q,D,g))):W||(D=qH(q,L),D!=null&&z.push(DH(q,D,g)))),q=q.return}z.length!==0&&Z.push({event:X,listeners:z})}function Zw(Z,X){k_(Z,X),Z!=="input"&&Z!=="textarea"&&Z!=="select"||X==null||X.value!==null||iR||(iR=!0,Z==="select"&&X.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",Z):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",Z));var q={registrationNameDependencies:C4,possibleRegistrationNames:vw};XH(Z)||typeof X.is==="string"||l_(Z,X,q),X.contentEditable&&!X.suppressContentEditableWarning&&X.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function y5(Z,X,q,K){X!==q&&(q=V9(q),V9(X)!==q&&(K[Z]=X))}function kx(Z,X,q){X.forEach(function(K){q[Ij(K)]=K==="style"?Qw(Z):Z.getAttribute(K)})}function n3(Z,X){X===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",Z,Z,Z):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",Z,typeof X)}function xj(Z,X){return Z=Z.namespaceURI===mQ||Z.namespaceURI===p7?Z.ownerDocument.createElementNS(Z.namespaceURI,Z.tagName):Z.ownerDocument.createElement(Z.tagName),Z.innerHTML=X,Z.innerHTML}function V9(Z){return E5(Z)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",x5(Z)),t0(Z)),(typeof Z==="string"?Z:""+Z).replace(tI,`
|
|
176
|
+
`).replace(eI,"")}function Ej(Z,X){return X=V9(X),V9(Z)===X?!0:!1}function u0(Z,X,q,K,W,L){switch(q){case"children":if(typeof K==="string")GX(K,X,!1),X==="body"||X==="textarea"&&K===""||ZH(Z,K);else if(typeof K==="number"||typeof K==="bigint")GX(""+K,X,!1),X!=="body"&&ZH(Z,""+K);break;case"className":bX(Z,"class",K);break;case"tabIndex":bX(Z,"tabindex",K);break;case"dir":case"role":case"viewBox":case"width":case"height":bX(Z,q,K);break;case"style":TB(Z,K,L);break;case"data":if(X!=="object"){bX(Z,"data",K);break}case"src":case"href":if(K===""&&(X!=="a"||q!=="href")){q==="src"?console.error('An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',q,q):console.error('An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',q,q),Z.removeAttribute(q);break}if(K==null||typeof K==="function"||typeof K==="symbol"||typeof K==="boolean"){Z.removeAttribute(q);break}g0(K,q),K=QH(""+K),Z.setAttribute(q,K);break;case"action":case"formAction":if(K!=null&&(X==="form"?q==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof K==="function"&&(W.encType==null&&W.method==null||Gq||(Gq=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),W.target==null||gq||(gq=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):X==="input"||X==="button"?q==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):X!=="input"||W.type==="submit"||W.type==="image"||$q?X!=="button"||W.type==null||W.type==="submit"||$q?typeof K==="function"&&(W.name==null||xN||(xN=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),W.formEncType==null&&W.formMethod==null||Gq||(Gq=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),W.formTarget==null||gq||(gq=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))):($q=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):($q=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):q==="action"?console.error("You can only pass the action prop to <form>."):console.error("You can only pass the formAction prop to <input> or <button>.")),typeof K==="function"){Z.setAttribute(q,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof L==="function"&&(q==="formAction"?(X!=="input"&&u0(Z,X,"name",W.name,W,null),u0(Z,X,"formEncType",W.formEncType,W,null),u0(Z,X,"formMethod",W.formMethod,W,null),u0(Z,X,"formTarget",W.formTarget,W,null)):(u0(Z,X,"encType",W.encType,W,null),u0(Z,X,"method",W.method,W,null),u0(Z,X,"target",W.target,W,null)));if(K==null||typeof K==="symbol"||typeof K==="boolean"){Z.removeAttribute(q);break}g0(K,q),K=QH(""+K),Z.setAttribute(q,K);break;case"onClick":K!=null&&(typeof K!=="function"&&n3(q,K),Z.onclick=P6);break;case"onScroll":K!=null&&(typeof K!=="function"&&n3(q,K),b0("scroll",Z));break;case"onScrollEnd":K!=null&&(typeof K!=="function"&&n3(q,K),b0("scrollend",Z));break;case"dangerouslySetInnerHTML":if(K!=null){if(typeof K!=="object"||!("__html"in K))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(q=K.__html,q!=null){if(W.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");Z.innerHTML=q}}break;case"multiple":Z.multiple=K&&typeof K!=="function"&&typeof K!=="symbol";break;case"muted":Z.muted=K&&typeof K!=="function"&&typeof K!=="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(K==null||typeof K==="function"||typeof K==="boolean"||typeof K==="symbol"){Z.removeAttribute("xlink:href");break}g0(K,q),q=QH(""+K),Z.setAttributeNS(u4,"xlink:href",q);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":K!=null&&typeof K!=="function"&&typeof K!=="symbol"?(g0(K,q),Z.setAttribute(q,""+K)):Z.removeAttribute(q);break;case"inert":K!==""||Dq[q]||(Dq[q]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",q));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":K&&typeof K!=="function"&&typeof K!=="symbol"?Z.setAttribute(q,""):Z.removeAttribute(q);break;case"capture":case"download":K===!0?Z.setAttribute(q,""):K!==!1&&K!=null&&typeof K!=="function"&&typeof K!=="symbol"?(g0(K,q),Z.setAttribute(q,K)):Z.removeAttribute(q);break;case"cols":case"rows":case"size":case"span":K!=null&&typeof K!=="function"&&typeof K!=="symbol"&&!isNaN(K)&&1<=K?(g0(K,q),Z.setAttribute(q,K)):Z.removeAttribute(q);break;case"rowSpan":case"start":K==null||typeof K==="function"||typeof K==="symbol"||isNaN(K)?Z.removeAttribute(q):(g0(K,q),Z.setAttribute(q,K));break;case"popover":b0("beforetoggle",Z),b0("toggle",Z),CX(Z,"popover",K);break;case"xlinkActuate":N6(Z,u4,"xlink:actuate",K);break;case"xlinkArcrole":N6(Z,u4,"xlink:arcrole",K);break;case"xlinkRole":N6(Z,u4,"xlink:role",K);break;case"xlinkShow":N6(Z,u4,"xlink:show",K);break;case"xlinkTitle":N6(Z,u4,"xlink:title",K);break;case"xlinkType":N6(Z,u4,"xlink:type",K);break;case"xmlBase":N6(Z,mW,"xml:base",K);break;case"xmlLang":N6(Z,mW,"xml:lang",K);break;case"xmlSpace":N6(Z,mW,"xml:space",K);break;case"is":L!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),CX(Z,"is",K);break;case"innerText":case"textContent":break;case"popoverTarget":EN||K==null||typeof K!=="object"||(EN=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",K));default:!(2<q.length)||q[0]!=="o"&&q[0]!=="O"||q[1]!=="n"&&q[1]!=="N"?(q=AB(q),CX(Z,q,K)):C4.hasOwnProperty(q)&&K!=null&&typeof K!=="function"&&n3(q,K)}}function Xw(Z,X,q,K,W,L){switch(q){case"style":TB(Z,K,L);break;case"dangerouslySetInnerHTML":if(K!=null){if(typeof K!=="object"||!("__html"in K))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(q=K.__html,q!=null){if(W.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");Z.innerHTML=q}}break;case"children":typeof K==="string"?ZH(Z,K):(typeof K==="number"||typeof K==="bigint")&&ZH(Z,""+K);break;case"onScroll":K!=null&&(typeof K!=="function"&&n3(q,K),b0("scroll",Z));break;case"onScrollEnd":K!=null&&(typeof K!=="function"&&n3(q,K),b0("scrollend",Z));break;case"onClick":K!=null&&(typeof K!=="function"&&n3(q,K),Z.onclick=P6);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(C4.hasOwnProperty(q))K!=null&&typeof K!=="function"&&n3(q,K);else H:{if(q[0]==="o"&&q[1]==="n"&&(W=q.endsWith("Capture"),X=q.slice(2,W?q.length-7:void 0),L=Z[w2]||null,L=L!=null?L[q]:null,typeof L==="function"&&Z.removeEventListener(X,L,W),typeof K==="function")){typeof L!=="function"&&L!==null&&(q in Z?Z[q]=null:Z.hasAttribute(q)&&Z.removeAttribute(q)),Z.addEventListener(X,K,W);break H}q in Z?Z[q]=K:K===!0?Z.setAttribute(q,""):CX(Z,q,K)}}}function p5(Z,X,q){switch(Zw(X,q),X){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":b0("error",Z),b0("load",Z);var K=!1,W=!1,L;for(L in q)if(q.hasOwnProperty(L)){var z=q[L];if(z!=null)switch(L){case"src":K=!0;break;case"srcSet":W=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(X+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:u0(Z,X,L,z,q,null)}}W&&u0(Z,X,"srcSet",q.srcSet,q,null),K&&u0(Z,X,"src",q.src,q,null);return;case"input":Q9("input",q),b0("invalid",Z);var P=L=z=W=null,g=null,D=null;for(K in q)if(q.hasOwnProperty(K)){var i=q[K];if(i!=null)switch(K){case"name":W=i;break;case"type":z=i;break;case"checked":g=i;break;case"defaultChecked":D=i;break;case"value":L=i;break;case"defaultValue":P=i;break;case"children":case"dangerouslySetInnerHTML":if(i!=null)throw Error(X+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:u0(Z,X,K,i,q,null)}}PB(Z,q),MB(Z,L,P,g,D,z,W,!1);return;case"select":Q9("select",q),b0("invalid",Z),K=z=L=null;for(W in q)if(q.hasOwnProperty(W)&&(P=q[W],P!=null))switch(W){case"value":L=P;break;case"defaultValue":z=P;break;case"multiple":K=P;default:u0(Z,X,W,P,q,null)}$B(Z,q),X=L,q=z,Z.multiple=!!K,X!=null?P7(Z,!!K,X,!1):q!=null&&P7(Z,!!K,q,!0);return;case"textarea":Q9("textarea",q),b0("invalid",Z),L=W=K=null;for(z in q)if(q.hasOwnProperty(z)&&(P=q[z],P!=null))switch(z){case"value":K=P;break;case"defaultValue":W=P;break;case"children":L=P;break;case"dangerouslySetInnerHTML":if(P!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:u0(Z,X,z,P,q,null)}gB(Z,q),DB(Z,K,W,L);return;case"option":CB(Z,q);for(g in q)if(q.hasOwnProperty(g)&&(K=q[g],K!=null))switch(g){case"selected":Z.selected=K&&typeof K!=="function"&&typeof K!=="symbol";break;default:u0(Z,X,g,K,q,null)}return;case"dialog":b0("beforetoggle",Z),b0("toggle",Z),b0("cancel",Z),b0("close",Z);break;case"iframe":case"object":b0("load",Z);break;case"video":case"audio":for(K=0;K<MZ.length;K++)b0(MZ[K],Z);break;case"image":b0("error",Z),b0("load",Z);break;case"details":b0("toggle",Z);break;case"embed":case"source":case"link":b0("error",Z),b0("load",Z);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(D in q)if(q.hasOwnProperty(D)&&(K=q[D],K!=null))switch(D){case"children":case"dangerouslySetInnerHTML":throw Error(X+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:u0(Z,X,D,K,q,null)}return;default:if(XH(X)){for(i in q)q.hasOwnProperty(i)&&(K=q[i],K!==void 0&&Xw(Z,X,i,K,q,void 0));return}}for(P in q)q.hasOwnProperty(P)&&(K=q[P],K!=null&&u0(Z,X,P,K,q,null))}function fx(Z,X,q,K){switch(Zw(X,K),X){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var W=null,L=null,z=null,P=null,g=null,D=null,i=null;for(o in q){var d=q[o];if(q.hasOwnProperty(o)&&d!=null)switch(o){case"checked":break;case"value":break;case"defaultValue":g=d;default:K.hasOwnProperty(o)||u0(Z,X,o,null,K,d)}}for(var T in K){var o=K[T];if(d=q[T],K.hasOwnProperty(T)&&(o!=null||d!=null))switch(T){case"type":L=o;break;case"name":W=o;break;case"checked":D=o;break;case"defaultChecked":i=o;break;case"value":z=o;break;case"defaultValue":P=o;break;case"children":case"dangerouslySetInnerHTML":if(o!=null)throw Error(X+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:o!==d&&u0(Z,X,T,o,K,d)}}X=q.type==="checkbox"||q.type==="radio"?q.checked!=null:q.value!=null,K=K.type==="checkbox"||K.type==="radio"?K.checked!=null:K.value!=null,X||!K||_N||(console.error("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),_N=!0),!X||K||hN||(console.error("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),hN=!0),zJ(Z,z,P,g,D,i,L,W);return;case"select":o=z=P=T=null;for(L in q)if(g=q[L],q.hasOwnProperty(L)&&g!=null)switch(L){case"value":break;case"multiple":o=g;default:K.hasOwnProperty(L)||u0(Z,X,L,null,K,g)}for(W in K)if(L=K[W],g=q[W],K.hasOwnProperty(W)&&(L!=null||g!=null))switch(W){case"value":T=L;break;case"defaultValue":P=L;break;case"multiple":z=L;default:L!==g&&u0(Z,X,W,L,K,g)}K=P,X=z,q=o,T!=null?P7(Z,!!X,T,!1):!!q!==!!X&&(K!=null?P7(Z,!!X,K,!0):P7(Z,!!X,X?[]:"",!1));return;case"textarea":o=T=null;for(P in q)if(W=q[P],q.hasOwnProperty(P)&&W!=null&&!K.hasOwnProperty(P))switch(P){case"value":break;case"children":break;default:u0(Z,X,P,null,K,W)}for(z in K)if(W=K[z],L=q[z],K.hasOwnProperty(z)&&(W!=null||L!=null))switch(z){case"value":T=W;break;case"defaultValue":o=W;break;case"children":break;case"dangerouslySetInnerHTML":if(W!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:W!==L&&u0(Z,X,z,W,K,L)}GB(Z,T,o);return;case"option":for(var D1 in q)if(T=q[D1],q.hasOwnProperty(D1)&&T!=null&&!K.hasOwnProperty(D1))switch(D1){case"selected":Z.selected=!1;break;default:u0(Z,X,D1,null,K,T)}for(g in K)if(T=K[g],o=q[g],K.hasOwnProperty(g)&&T!==o&&(T!=null||o!=null))switch(g){case"selected":Z.selected=T&&typeof T!=="function"&&typeof T!=="symbol";break;default:u0(Z,X,g,T,K,o)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var v1 in q)T=q[v1],q.hasOwnProperty(v1)&&T!=null&&!K.hasOwnProperty(v1)&&u0(Z,X,v1,null,K,T);for(D in K)if(T=K[D],o=q[D],K.hasOwnProperty(D)&&T!==o&&(T!=null||o!=null))switch(D){case"children":case"dangerouslySetInnerHTML":if(T!=null)throw Error(X+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:u0(Z,X,D,T,K,o)}return;default:if(XH(X)){for(var r0 in q)T=q[r0],q.hasOwnProperty(r0)&&T!==void 0&&!K.hasOwnProperty(r0)&&Xw(Z,X,r0,void 0,K,T);for(i in K)T=K[i],o=q[i],!K.hasOwnProperty(i)||T===o||T===void 0&&o===void 0||Xw(Z,X,i,T,K,o);return}}for(var $0 in q)T=q[$0],q.hasOwnProperty($0)&&T!=null&&!K.hasOwnProperty($0)&&u0(Z,X,$0,null,K,T);for(d in K)T=K[d],o=q[d],!K.hasOwnProperty(d)||T===o||T==null&&o==null||u0(Z,X,d,T,K,o)}function Ij(Z){switch(Z){case"class":return"className";case"for":return"htmlFor";default:return Z}}function Qw(Z){var X={};Z=Z.style;for(var q=0;q<Z.length;q++){var K=Z[q];X[K]=Z.getPropertyValue(K)}return X}function yj(Z,X,q){if(X!=null&&typeof X!=="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var K,W=K="",L;for(L in X)if(X.hasOwnProperty(L)){var z=X[L];z!=null&&typeof z!=="boolean"&&z!==""&&(L.indexOf("--")===0?(v3(z,L),K+=W+L+":"+(""+z).trim()):typeof z!=="number"||z===0||pR.has(L)?(v3(z,L),K+=W+L.replace(mR,"-$1").toLowerCase().replace(uR,"-ms-")+":"+(""+z).trim()):K+=W+L.replace(mR,"-$1").toLowerCase().replace(uR,"-ms-")+":"+z+"px",W=";")}K=K||null,X=Z.getAttribute("style"),X!==K&&(K=V9(K),V9(X)!==K&&(q.style=Qw(Z)))}}function o2(Z,X,q,K,W,L){if(W.delete(q),Z=Z.getAttribute(q),Z===null)switch(typeof K){case"undefined":case"function":case"symbol":case"boolean":return}else if(K!=null)switch(typeof K){case"function":case"symbol":case"boolean":break;default:if(g0(K,X),Z===""+K)return}y5(X,Z,K,L)}function vj(Z,X,q,K,W,L){if(W.delete(q),Z=Z.getAttribute(q),Z===null){switch(typeof K){case"function":case"symbol":return}if(!K)return}else switch(typeof K){case"function":case"symbol":break;default:if(K)return}y5(X,Z,K,L)}function qw(Z,X,q,K,W,L){if(W.delete(q),Z=Z.getAttribute(q),Z===null)switch(typeof K){case"undefined":case"function":case"symbol":return}else if(K!=null)switch(typeof K){case"function":case"symbol":break;default:if(g0(K,q),Z===""+K)return}y5(X,Z,K,L)}function Sj(Z,X,q,K,W,L){if(W.delete(q),Z=Z.getAttribute(q),Z===null)switch(typeof K){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(K))return}else if(K!=null)switch(typeof K){case"function":case"symbol":case"boolean":break;default:if(!isNaN(K)&&(g0(K,X),Z===""+K))return}y5(X,Z,K,L)}function Yw(Z,X,q,K,W,L){if(W.delete(q),Z=Z.getAttribute(q),Z===null)switch(typeof K){case"undefined":case"function":case"symbol":case"boolean":return}else if(K!=null)switch(typeof K){case"function":case"symbol":case"boolean":break;default:if(g0(K,X),q=QH(""+K),Z===q)return}y5(X,Z,K,L)}function Tj(Z,X,q,K){for(var W={},L=new Set,z=Z.attributes,P=0;P<z.length;P++)switch(z[P].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:L.add(z[P].name)}if(XH(X)){for(var g in q)if(q.hasOwnProperty(g)){var D=q[g];if(D!=null){if(C4.hasOwnProperty(g))typeof D!=="function"&&n3(g,D);else if(q.suppressHydrationWarning!==!0)switch(g){case"children":typeof D!=="string"&&typeof D!=="number"||y5("children",Z.textContent,D,W);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":z=Z.innerHTML,D=D?D.__html:void 0,D!=null&&(D=xj(Z,D),y5(g,z,D,W));continue;case"style":L.delete(g),yj(Z,D,W);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":L.delete(g.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",g);continue;case"className":L.delete("class"),z=RB(Z,"class",D),y5("className",z,D,W);continue;default:K.context===l6&&X!=="svg"&&X!=="math"?L.delete(g.toLowerCase()):L.delete(g),z=RB(Z,g,D),y5(g,z,D,W)}}}}else for(D in q)if(q.hasOwnProperty(D)&&(g=q[D],g!=null)){if(C4.hasOwnProperty(D))typeof g!=="function"&&n3(D,g);else if(q.suppressHydrationWarning!==!0)switch(D){case"children":typeof g!=="string"&&typeof g!=="number"||y5("children",Z.textContent,g,W);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":z=Z.innerHTML,g=g?g.__html:void 0,g!=null&&(g=xj(Z,g),z!==g&&(W[D]={__html:z}));continue;case"className":o2(Z,D,"class",g,L,W);continue;case"tabIndex":o2(Z,D,"tabindex",g,L,W);continue;case"style":L.delete(D),yj(Z,g,W);continue;case"multiple":L.delete(D),y5(D,Z.multiple,g,W);continue;case"muted":L.delete(D),y5(D,Z.muted,g,W);continue;case"autoFocus":L.delete("autofocus"),y5(D,Z.autofocus,g,W);continue;case"data":if(X!=="object"){L.delete(D),z=Z.getAttribute("data"),y5(D,z,g,W);continue}case"src":case"href":if(!(g!==""||X==="a"&&D==="href"||X==="object"&&D==="data")){D==="src"?console.error('An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',D,D):console.error('An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',D,D);continue}Yw(Z,D,D,g,L,W);continue;case"action":case"formAction":if(z=Z.getAttribute(D),typeof g==="function"){L.delete(D.toLowerCase()),D==="formAction"?(L.delete("name"),L.delete("formenctype"),L.delete("formmethod"),L.delete("formtarget")):(L.delete("enctype"),L.delete("method"),L.delete("target"));continue}else if(z===Hy){L.delete(D.toLowerCase()),y5(D,"function",g,W);continue}Yw(Z,D,D.toLowerCase(),g,L,W);continue;case"xlinkHref":Yw(Z,D,"xlink:href",g,L,W);continue;case"contentEditable":qw(Z,D,"contenteditable",g,L,W);continue;case"spellCheck":qw(Z,D,"spellcheck",g,L,W);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":qw(Z,D,D,g,L,W);continue;case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":vj(Z,D,D.toLowerCase(),g,L,W);continue;case"capture":case"download":H:{P=Z;var i=z=D,d=W;if(L.delete(i),P=P.getAttribute(i),P===null)switch(typeof g){case"undefined":case"function":case"symbol":break H;default:if(g===!1)break H}else if(g!=null)switch(typeof g){case"function":case"symbol":break;case"boolean":if(g===!0&&P==="")break H;break;default:if(g0(g,z),P===""+g)break H}y5(z,P,g,d)}continue;case"cols":case"rows":case"size":case"span":H:{if(P=Z,i=z=D,d=W,L.delete(i),P=P.getAttribute(i),P===null)switch(typeof g){case"undefined":case"function":case"symbol":case"boolean":break H;default:if(isNaN(g)||1>g)break H}else if(g!=null)switch(typeof g){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(g)||1>g)&&(g0(g,z),P===""+g))break H}y5(z,P,g,d)}continue;case"rowSpan":Sj(Z,D,"rowspan",g,L,W);continue;case"start":Sj(Z,D,D,g,L,W);continue;case"xHeight":o2(Z,D,"x-height",g,L,W);continue;case"xlinkActuate":o2(Z,D,"xlink:actuate",g,L,W);continue;case"xlinkArcrole":o2(Z,D,"xlink:arcrole",g,L,W);continue;case"xlinkRole":o2(Z,D,"xlink:role",g,L,W);continue;case"xlinkShow":o2(Z,D,"xlink:show",g,L,W);continue;case"xlinkTitle":o2(Z,D,"xlink:title",g,L,W);continue;case"xlinkType":o2(Z,D,"xlink:type",g,L,W);continue;case"xmlBase":o2(Z,D,"xml:base",g,L,W);continue;case"xmlLang":o2(Z,D,"xml:lang",g,L,W);continue;case"xmlSpace":o2(Z,D,"xml:space",g,L,W);continue;case"inert":g!==""||Dq[D]||(Dq[D]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",D)),vj(Z,D,D,g,L,W);continue;default:if(!(2<D.length)||D[0]!=="o"&&D[0]!=="O"||D[1]!=="n"&&D[1]!=="N"){P=AB(D),z=!1,K.context===l6&&X!=="svg"&&X!=="math"?L.delete(P.toLowerCase()):(i=D.toLowerCase(),i=uQ.hasOwnProperty(i)?uQ[i]||null:null,i!==null&&i!==D&&(z=!0,L.delete(i)),L.delete(P));H:if(i=Z,d=P,P=g,t8(d))if(i.hasAttribute(d))i=i.getAttribute(d),g0(P,d),P=i===""+P?P:i;else{switch(typeof P){case"function":case"symbol":break H;case"boolean":if(i=d.toLowerCase().slice(0,5),i!=="data-"&&i!=="aria-")break H}P=P===void 0?void 0:null}else P=void 0;z||y5(D,P,g,W)}}}return 0<L.size&&q.suppressHydrationWarning!==!0&&kx(Z,L,W),Object.keys(W).length===0?null:W}function lx(Z,X){switch(Z.length){case 0:return"";case 1:return Z[0];case 2:return Z[0]+" "+X+" "+Z[1];default:return Z.slice(0,-1).join(", ")+", "+X+" "+Z[Z.length-1]}}function Aj(Z){switch(Z){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function px(){if(typeof performance.getEntriesByType==="function"){for(var Z=0,X=0,q=performance.getEntriesByType("resource"),K=0;K<q.length;K++){var W=q[K],L=W.transferSize,z=W.initiatorType,P=W.duration;if(L&&P&&Aj(z)){z=0,P=W.responseEnd;for(K+=1;K<q.length;K++){var g=q[K],D=g.startTime;if(D>P)break;var{transferSize:i,initiatorType:d}=g;i&&Aj(d)&&(g=g.responseEnd,z+=i*(g<P?1:(P-D)/(g-D)))}if(--K,X+=8*(L+z)/(W.duration/1000),Z++,10<Z)break}}if(0<Z)return X/Z/1e6}return navigator.connection&&(Z=navigator.connection.downlink,typeof Z==="number")?Z:5}function MQ(Z){return Z.nodeType===9?Z:Z.ownerDocument}function mj(Z){switch(Z){case p7:return N8;case mQ:return _q;default:return l6}}function uj(Z,X){if(Z===l6)switch(X){case"svg":return N8;case"math":return _q;default:return l6}return Z===N8&&X==="foreignObject"?l6:Z}function Jw(Z,X){return Z==="textarea"||Z==="noscript"||typeof X.children==="string"||typeof X.children==="number"||typeof X.children==="bigint"||typeof X.dangerouslySetInnerHTML==="object"&&X.dangerouslySetInnerHTML!==null&&X.dangerouslySetInnerHTML.__html!=null}function rx(){var Z=window.event;if(Z&&Z.type==="popstate"){if(Z===lW)return!1;return lW=Z,!0}return lW=null,!1}function hH(){var Z=window.event;return Z&&Z!==$Z?Z.type:null}function _H(){var Z=window.event;return Z&&Z!==$Z?Z.timeStamp:-1.1}function ix(Z){setTimeout(function(){throw Z})}function dx(Z,X,q){switch(X){case"button":case"input":case"select":case"textarea":q.autoFocus&&Z.focus();break;case"img":q.src?Z.src=q.src:q.srcSet&&(Z.srcset=q.srcSet)}}function ax(){}function cx(Z,X,q,K){fx(Z,X,q,K),Z[w2]=K}function kj(Z){ZH(Z,"")}function sx(Z,X,q){Z.nodeValue=q}function fj(Z){if(!Z.__reactWarnedAboutChildrenConflict){var X=Z[w2]||null;if(X!==null){var q=X0(Z);q!==null&&(typeof X.children==="string"||typeof X.children==="number"?(Z.__reactWarnedAboutChildrenConflict=!0,G1(q,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})):X.dangerouslySetInnerHTML!=null&&(Z.__reactWarnedAboutChildrenConflict=!0,G1(q,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "dangerouslySetInnerHTML" using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})))}}}function z9(Z){return Z==="head"}function nx(Z,X){Z.removeChild(X)}function ox(Z,X){(Z.nodeType===9?Z.body:Z.nodeName==="HTML"?Z.ownerDocument.body:Z).removeChild(X)}function lj(Z,X){var q=X,K=0;do{var W=q.nextSibling;if(Z.removeChild(q),W&&W.nodeType===8)if(q=W.data,q===bZ||q===hq){if(K===0){Z.removeChild(W),A7(X);return}K--}else if(q===CZ||q===u9||q===f4||q===O8||q===k4)K++;else if(q===Xy)xH(Z.ownerDocument.documentElement);else if(q===qy){q=Z.ownerDocument.head,xH(q);for(var L=q.firstChild;L;){var{nextSibling:z,nodeName:P}=L;L[AH]||P==="SCRIPT"||P==="STYLE"||P==="LINK"&&L.rel.toLowerCase()==="stylesheet"||q.removeChild(L),L=z}}else q===Qy&&xH(Z.ownerDocument.body);q=W}while(q);A7(X)}function pj(Z,X){var q=Z;Z=0;do{var K=q.nextSibling;if(q.nodeType===1?X?(q._stashedDisplay=q.style.display,q.style.display="none"):(q.style.display=q._stashedDisplay||"",q.getAttribute("style")===""&&q.removeAttribute("style")):q.nodeType===3&&(X?(q._stashedText=q.nodeValue,q.nodeValue=""):q.nodeValue=q._stashedText||""),K&&K.nodeType===8)if(q=K.data,q===bZ)if(Z===0)break;else Z--;else q!==CZ&&q!==u9&&q!==f4&&q!==O8||Z++;q=K}while(q)}function tx(Z){pj(Z,!0)}function ex(Z){Z=Z.style,typeof Z.setProperty==="function"?Z.setProperty("display","none","important"):Z.display="none"}function HE(Z){Z.nodeValue=""}function ZE(Z){pj(Z,!1)}function XE(Z,X){X=X[Yy],X=X!==void 0&&X!==null&&X.hasOwnProperty("display")?X.display:null,Z.style.display=X==null||typeof X==="boolean"?"":(""+X).trim()}function QE(Z,X){Z.nodeValue=X}function Kw(Z){var X=Z.firstChild;X&&X.nodeType===10&&(X=X.nextSibling);for(;X;){var q=X;switch(X=X.nextSibling,q.nodeName){case"HTML":case"HEAD":case"BODY":Kw(q),x1(q);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(q.rel.toLowerCase()==="stylesheet")continue}Z.removeChild(q)}}function qE(Z,X,q,K){for(;Z.nodeType===1;){var W=q;if(Z.nodeName.toLowerCase()!==X.toLowerCase()){if(!K&&(Z.nodeName!=="INPUT"||Z.type!=="hidden"))break}else if(!K)if(X==="input"&&Z.type==="hidden"){g0(W.name,"name");var L=W.name==null?null:""+W.name;if(W.type==="hidden"&&Z.getAttribute("name")===L)return Z}else return Z;else if(!Z[AH])switch(X){case"meta":if(!Z.hasAttribute("itemprop"))break;return Z;case"link":if(L=Z.getAttribute("rel"),L==="stylesheet"&&Z.hasAttribute("data-precedence"))break;else if(L!==W.rel||Z.getAttribute("href")!==(W.href==null||W.href===""?null:W.href)||Z.getAttribute("crossorigin")!==(W.crossOrigin==null?null:W.crossOrigin)||Z.getAttribute("title")!==(W.title==null?null:W.title))break;return Z;case"style":if(Z.hasAttribute("data-precedence"))break;return Z;case"script":if(L=Z.getAttribute("src"),(L!==(W.src==null?null:W.src)||Z.getAttribute("type")!==(W.type==null?null:W.type)||Z.getAttribute("crossorigin")!==(W.crossOrigin==null?null:W.crossOrigin))&&L&&Z.hasAttribute("async")&&!Z.hasAttribute("itemprop"))break;return Z;default:return Z}if(Z=u2(Z.nextSibling),Z===null)break}return null}function YE(Z,X,q){if(X==="")return null;for(;Z.nodeType!==3;){if((Z.nodeType!==1||Z.nodeName!=="INPUT"||Z.type!=="hidden")&&!q)return null;if(Z=u2(Z.nextSibling),Z===null)return null}return Z}function rj(Z,X){for(;Z.nodeType!==8;){if((Z.nodeType!==1||Z.nodeName!=="INPUT"||Z.type!=="hidden")&&!X)return null;if(Z=u2(Z.nextSibling),Z===null)return null}return Z}function ww(Z){return Z.data===u9||Z.data===f4}function Ww(Z){return Z.data===O8||Z.data===u9&&Z.ownerDocument.readyState!==yN}function JE(Z,X){var q=Z.ownerDocument;if(Z.data===f4)Z._reactRetry=X;else if(Z.data!==u9||q.readyState!==yN)X();else{var K=function(){X(),q.removeEventListener("DOMContentLoaded",K)};q.addEventListener("DOMContentLoaded",K),Z._reactRetry=K}}function u2(Z){for(;Z!=null;Z=Z.nextSibling){var X=Z.nodeType;if(X===1||X===3)break;if(X===8){if(X=Z.data,X===CZ||X===O8||X===u9||X===f4||X===k4||X===uW||X===IN)break;if(X===bZ||X===hq)return null}}return Z}function ij(Z){if(Z.nodeType===1){for(var X=Z.nodeName.toLowerCase(),q={},K=Z.attributes,W=0;W<K.length;W++){var L=K[W];q[Ij(L.name)]=L.name.toLowerCase()==="style"?Qw(Z):L.value}return{type:X,props:q}}return Z.nodeType===8?Z.data===k4?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:Z.nodeValue}function dj(Z,X,q){return q===null||q[Zy]!==!0?(Z.nodeValue===X?Z=null:(X=V9(X),Z=V9(Z.nodeValue)===X?null:Z.nodeValue),Z):null}function Lw(Z){Z=Z.nextSibling;for(var X=0;Z;){if(Z.nodeType===8){var q=Z.data;if(q===bZ||q===hq){if(X===0)return u2(Z.nextSibling);X--}else q!==CZ&&q!==O8&&q!==u9&&q!==f4&&q!==k4||X++}Z=Z.nextSibling}return null}function aj(Z){Z=Z.previousSibling;for(var X=0;Z;){if(Z.nodeType===8){var q=Z.data;if(q===CZ||q===O8||q===u9||q===f4||q===k4){if(X===0)return Z;X--}else q!==bZ&&q!==hq||X++}Z=Z.previousSibling}return null}function KE(Z){A7(Z)}function wE(Z){A7(Z)}function WE(Z){A7(Z)}function cj(Z,X,q,K,W){switch(W&&MJ(Z,K.ancestorInfo),X=MQ(q),Z){case"html":if(Z=X.documentElement,!Z)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return Z;case"head":if(Z=X.head,!Z)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return Z;case"body":if(Z=X.body,!Z)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return Z;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function LE(Z,X,q,K){if(!q[N9]&&X0(q)){var W=q.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",W,W,W)}switch(Z){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(W=q.attributes;W.length;)q.removeAttributeNode(W[0]);p5(q,Z,X),q[r5]=K,q[w2]=X}function xH(Z){for(var X=Z.attributes;X.length;)Z.removeAttributeNode(X[0]);x1(Z)}function CQ(Z){return typeof Z.getRootNode==="function"?Z.getRootNode():Z.nodeType===9?Z:Z.ownerDocument}function sj(Z,X,q){var K=P8;if(K&&typeof X==="string"&&X){var W=n2(X);W='link[rel="'+Z+'"][href="'+W+'"]',typeof q==="string"&&(W+='[crossorigin="'+q+'"]'),uN.has(W)||(uN.add(W),Z={rel:Z,crossOrigin:q,href:X},K.querySelector(W)===null&&(X=K.createElement("link"),p5(X,"link",Z),r1(X),K.head.appendChild(X)))}}function nj(Z,X,q,K){var W=(W=R9.current)?CQ(W):null;if(!W)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(Z){case"meta":case"title":return null;case"style":return typeof q.precedence==="string"&&typeof q.href==="string"?(q=S7(q.href),X=_0(W).hoistableStyles,K=X.get(q),K||(K={type:"style",instance:null,count:0,state:null},X.set(q,K)),K):{type:"void",instance:null,count:0,state:null};case"link":if(q.rel==="stylesheet"&&typeof q.href==="string"&&typeof q.precedence==="string"){Z=S7(q.href);var L=_0(W).hoistableStyles,z=L.get(Z);if(!z&&(W=W.ownerDocument||W,z={type:"stylesheet",instance:null,count:0,state:{loading:p4,preload:null}},L.set(Z,z),(L=W.querySelector(EH(Z)))&&!L._p&&(z.instance=L,z.state.loading=gZ|w3),!W3.has(Z))){var P={rel:"preload",as:"style",href:q.href,crossOrigin:q.crossOrigin,integrity:q.integrity,media:q.media,hrefLang:q.hrefLang,referrerPolicy:q.referrerPolicy};W3.set(Z,P),L||FE(W,Z,P,z.state)}if(X&&K===null)throw q=`
|
|
177
|
+
|
|
178
|
+
- `+bQ(X)+`
|
|
179
|
+
+ `+bQ(q),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+q);return z}if(X&&K!==null)throw q=`
|
|
180
|
+
|
|
181
|
+
- `+bQ(X)+`
|
|
182
|
+
+ `+bQ(q),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+q);return null;case"script":return X=q.async,q=q.src,typeof q==="string"&&X&&typeof X!=="function"&&typeof X!=="symbol"?(q=T7(q),X=_0(W).hoistableScripts,K=X.get(q),K||(K={type:"script",instance:null,count:0,state:null},X.set(q,K)),K):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+Z+'". this is a bug in React.')}}function bQ(Z){var X=0,q="<link";return typeof Z.rel==="string"?(X++,q+=' rel="'+Z.rel+'"'):R3.call(Z,"rel")&&(X++,q+=' rel="'+(Z.rel===null?"null":"invalid type "+typeof Z.rel)+'"'),typeof Z.href==="string"?(X++,q+=' href="'+Z.href+'"'):R3.call(Z,"href")&&(X++,q+=' href="'+(Z.href===null?"null":"invalid type "+typeof Z.href)+'"'),typeof Z.precedence==="string"?(X++,q+=' precedence="'+Z.precedence+'"'):R3.call(Z,"precedence")&&(X++,q+=" precedence={"+(Z.precedence===null?"null":"invalid type "+typeof Z.precedence)+"}"),Object.getOwnPropertyNames(Z).length>X&&(q+=" ..."),q+" />"}function S7(Z){return'href="'+n2(Z)+'"'}function EH(Z){return'link[rel="stylesheet"]['+Z+"]"}function oj(Z){return z0({},Z,{"data-precedence":Z.precedence,precedence:null})}function FE(Z,X,q,K){Z.querySelector('link[rel="preload"][as="style"]['+X+"]")?K.loading=gZ:(X=Z.createElement("link"),K.preload=X,X.addEventListener("load",function(){return K.loading|=gZ}),X.addEventListener("error",function(){return K.loading|=AN}),p5(X,"link",q),r1(X),Z.head.appendChild(X))}function T7(Z){return'[src="'+n2(Z)+'"]'}function IH(Z){return"script[async]"+Z}function tj(Z,X,q){if(X.count++,X.instance===null)switch(X.type){case"style":var K=Z.querySelector('style[data-href~="'+n2(q.href)+'"]');if(K)return X.instance=K,r1(K),K;var W=z0({},q,{"data-href":q.href,"data-precedence":q.precedence,href:null,precedence:null});return K=(Z.ownerDocument||Z).createElement("style"),r1(K),p5(K,"style",W),$Q(K,q.precedence,Z),X.instance=K;case"stylesheet":W=S7(q.href);var L=Z.querySelector(EH(W));if(L)return X.state.loading|=w3,X.instance=L,r1(L),L;K=oj(q),(W=W3.get(W))&&Fw(K,W),L=(Z.ownerDocument||Z).createElement("link"),r1(L);var z=L;return z._p=new Promise(function(P,g){z.onload=P,z.onerror=g}),p5(L,"link",K),X.state.loading|=w3,$Q(L,q.precedence,Z),X.instance=L;case"script":if(L=T7(q.src),W=Z.querySelector(IH(L)))return X.instance=W,r1(W),W;if(K=q,W=W3.get(L))K=z0({},q),Uw(K,W);return Z=Z.ownerDocument||Z,W=Z.createElement("script"),r1(W),p5(W,"link",K),Z.head.appendChild(W),X.instance=W;case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+X.type+'". this is a bug in React.')}else X.type==="stylesheet"&&(X.state.loading&w3)===p4&&(K=X.instance,X.state.loading|=w3,$Q(K,q.precedence,Z));return X.instance}function $Q(Z,X,q){for(var K=q.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),W=K.length?K[K.length-1]:null,L=W,z=0;z<K.length;z++){var P=K[z];if(P.dataset.precedence===X)L=P;else if(L!==W)break}L?L.parentNode.insertBefore(Z,L.nextSibling):(X=q.nodeType===9?q.head:q,X.insertBefore(Z,X.firstChild))}function Fw(Z,X){Z.crossOrigin==null&&(Z.crossOrigin=X.crossOrigin),Z.referrerPolicy==null&&(Z.referrerPolicy=X.referrerPolicy),Z.title==null&&(Z.title=X.title)}function Uw(Z,X){Z.crossOrigin==null&&(Z.crossOrigin=X.crossOrigin),Z.referrerPolicy==null&&(Z.referrerPolicy=X.referrerPolicy),Z.integrity==null&&(Z.integrity=X.integrity)}function ej(Z,X,q){if(xq===null){var K=new Map,W=xq=new Map;W.set(q,K)}else W=xq,K=W.get(q),K||(K=new Map,W.set(q,K));if(K.has(Z))return K;K.set(Z,null),q=q.getElementsByTagName(Z);for(W=0;W<q.length;W++){var L=q[W];if(!(L[AH]||L[r5]||Z==="link"&&L.getAttribute("rel")==="stylesheet")&&L.namespaceURI!==p7){var z=L.getAttribute(X)||"";z=Z+z;var P=K.get(z);P?P.push(L):K.set(z,[L])}}return K}function HR(Z,X,q){Z=Z.ownerDocument||Z,Z.head.insertBefore(q,X==="title"?Z.querySelector("head > title"):null)}function UE(Z,X,q){var K=!q.ancestorInfo.containerTagInScope;if(q.context===N8||X.itemProp!=null)return!K||X.itemProp==null||Z!=="meta"&&Z!=="title"&&Z!=="style"&&Z!=="link"&&Z!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",Z,Z),!1;switch(Z){case"meta":case"title":return!0;case"style":if(typeof X.precedence!=="string"||typeof X.href!=="string"||X.href===""){K&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof X.rel!=="string"||typeof X.href!=="string"||X.href===""||X.onLoad||X.onError){if(X.rel==="stylesheet"&&typeof X.precedence==="string"){Z=X.href;var{onError:W,disabled:L}=X;q=[],X.onLoad&&q.push("`onLoad`"),W&&q.push("`onError`"),L!=null&&q.push("`disabled`"),W=lx(q,"and"),W+=q.length===1?" prop":" props",L=q.length===1?"an "+W:"the "+W,q.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',Z,L,W)}K&&(typeof X.rel!=="string"||typeof X.href!=="string"||X.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(X.onError||X.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}switch(X.rel){case"stylesheet":return Z=X.precedence,X=X.disabled,typeof Z!=="string"&&K&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof Z==="string"&&X==null;default:return!0}case"script":if(Z=X.async&&typeof X.async!=="function"&&typeof X.async!=="symbol",!Z||X.onLoad||X.onError||!X.src||typeof X.src!=="string"){K&&(Z?X.onLoad||X.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":K&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",Z)}return!1}function ZR(Z){return Z.type==="stylesheet"&&(Z.state.loading&mN)===p4?!1:!0}function BE(Z,X,q,K){if(q.type==="stylesheet"&&(typeof K.media!=="string"||matchMedia(K.media).matches!==!1)&&(q.state.loading&w3)===p4){if(q.instance===null){var W=S7(K.href),L=X.querySelector(EH(W));if(L){X=L._p,X!==null&&typeof X==="object"&&typeof X.then==="function"&&(Z.count++,Z=gQ.bind(Z),X.then(Z,Z)),q.state.loading|=w3,q.instance=L,r1(L);return}L=X.ownerDocument||X,K=oj(K),(W=W3.get(W))&&Fw(K,W),L=L.createElement("link"),r1(L);var z=L;z._p=new Promise(function(P,g){z.onload=P,z.onerror=g}),p5(L,"link",K),q.instance=L}Z.stylesheets===null&&(Z.stylesheets=new Map),Z.stylesheets.set(q,X),(X=q.state.preload)&&(q.state.loading&mN)===p4&&(Z.count++,q=gQ.bind(Z),X.addEventListener("load",q),X.addEventListener("error",q))}}function VE(Z,X){return Z.stylesheets&&Z.count===0&&GQ(Z,Z.stylesheets),0<Z.count||0<Z.imgCount?function(q){var K=setTimeout(function(){if(Z.stylesheets&&GQ(Z,Z.stylesheets),Z.unsuspend){var L=Z.unsuspend;Z.unsuspend=null,L()}},wy+X);0<Z.imgBytes&&rW===0&&(rW=125*px()*Ly);var W=setTimeout(function(){if(Z.waitingForImages=!1,Z.count===0&&(Z.stylesheets&&GQ(Z,Z.stylesheets),Z.unsuspend)){var L=Z.unsuspend;Z.unsuspend=null,L()}},(Z.imgBytes>rW?50:Wy)+X);return Z.unsuspend=q,function(){Z.unsuspend=null,clearTimeout(K),clearTimeout(W)}}:null}function gQ(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)GQ(this,this.stylesheets);else if(this.unsuspend){var Z=this.unsuspend;this.unsuspend=null,Z()}}}function GQ(Z,X){Z.stylesheets=null,Z.unsuspend!==null&&(Z.count++,Eq=new Map,X.forEach(zE,Z),Eq=null,gQ.call(Z))}function zE(Z,X){if(!(X.state.loading&w3)){var q=Eq.get(Z);if(q)var K=q.get(iW);else{q=new Map,Eq.set(Z,q);for(var W=Z.querySelectorAll("link[data-precedence],style[data-precedence]"),L=0;L<W.length;L++){var z=W[L];if(z.nodeName==="LINK"||z.getAttribute("media")!=="not all")q.set(z.dataset.precedence,z),K=z}K&&q.set(iW,K)}W=X.instance,z=W.getAttribute("data-precedence"),L=q.get(z)||K,L===K&&q.set(iW,W),q.set(z,W),this.count++,K=gQ.bind(this),W.addEventListener("load",K),W.addEventListener("error",K),L?L.parentNode.insertBefore(W,L.nextSibling):(Z=Z.nodeType===9?Z.head:Z,Z.insertBefore(W,Z.firstChild)),X.state.loading|=w3}}function jE(Z,X,q,K,W,L,z,P,g){this.tag=1,this.containerInfo=Z,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=l4,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=K1(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=K1(0),this.hiddenUpdates=K1(null),this.identifierPrefix=K,this.onUncaughtError=W,this.onCaughtError=L,this.onRecoverableError=z,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=g,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,Z=this.pendingUpdatersLaneMap=[];for(X=0;31>X;X++)Z.push(new Set);this._debugRootType=q?"hydrateRoot()":"createRoot()"}function XR(Z,X,q,K,W,L,z,P,g,D,i,d){return Z=new jE(Z,X,q,z,g,D,i,d,P),X=SI,L===!0&&(X|=n5|N3),X|=L0,L=C(3,null,null,X),Z.current=L,L.stateNode=Z,X=kJ(),z4(X),Z.pooledCache=X,z4(X),L.memoizedState={element:K,isDehydrated:q,cache:X},iJ(L),Z}function QR(Z){if(!Z)return b9;return Z=b9,Z}function Bw(Z,X,q,K,W,L){if(s5&&typeof s5.onScheduleFiberRoot==="function")try{s5.onScheduleFiberRoot(f7,K,q)}catch(z){H6||(H6=!0,console.error("React instrumentation encountered an error: %o",z))}W=QR(W),K.context===null?K.context=W:K.pendingContext=W,e3&&f2!==null&&!pN&&(pN=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
|
|
183
|
+
|
|
184
|
+
Check the render method of %s.`,k(f2)||"Unknown")),K=w9(X),K.payload={element:q},L=L===void 0?null:L,L!==null&&(typeof L!=="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",L),K.callback=L),q=W9(Z,K,X),q!==null&&(m3(X,"root.render()",null),X5(q,Z,X),UH(q,Z,X))}function qR(Z,X){if(Z=Z.memoizedState,Z!==null&&Z.dehydrated!==null){var q=Z.retryLane;Z.retryLane=q!==0&&q<X?q:X}}function Vw(Z,X){qR(Z,X),(Z=Z.alternate)&&qR(Z,X)}function YR(Z){if(Z.tag===13||Z.tag===31){var X=c5(Z,67108864);X!==null&&X5(X,Z,67108864),Vw(Z,67108864)}}function JR(Z){if(Z.tag===13||Z.tag===31){var X=m2(Z);X=k5(X);var q=c5(Z,X);q!==null&&X5(q,Z,X),Vw(Z,X)}}function RE(){return f2}function OE(Z,X,q,K){var W=X1.T;X1.T=null;var L=S0.p;try{S0.p=l2,zw(Z,X,q,K)}finally{S0.p=L,X1.T=W}}function NE(Z,X,q,K){var W=X1.T;X1.T=null;var L=S0.p;try{S0.p=O3,zw(Z,X,q,K)}finally{S0.p=L,X1.T=W}}function zw(Z,X,q,K){if(yq){var W=jw(K);if(W===null)Hw(Z,X,K,vq,q),wR(Z,K);else if(PE(W,Z,X,q,K))K.stopPropagation();else if(wR(Z,K),X&4&&-1<Uy.indexOf(Z)){for(;W!==null;){var L=X0(W);if(L!==null)switch(L.tag){case 3:if(L=L.stateNode,L.current.memoizedState.isDehydrated){var z=I5(L.pendingLanes);if(z!==0){var P=L;P.pendingLanes|=2;for(P.entangledLanes|=2;z;){var g=1<<31-K2(z);P.entanglements[1]|=g,z&=~g}s3(L),(h0&(D5|d2))===A5&&(jq=v5()+RN,GH(0,!1))}}break;case 31:case 13:P=c5(L,2),P!==null&&X5(P,L,2),I7(),Vw(L,2)}if(L=jw(K),L===null&&Hw(Z,X,K,vq,q),L===W)break;W=L}W!==null&&K.stopPropagation()}else Hw(Z,X,K,null,q)}}function jw(Z){return Z=CJ(Z),Rw(Z)}function Rw(Z){if(vq=null,Z=f1(Z),Z!==null){var X=m(Z);if(X===null)Z=null;else{var q=X.tag;if(q===13){if(Z=Z1(X),Z!==null)return Z;Z=null}else if(q===31){if(Z=t(X),Z!==null)return Z;Z=null}else if(q===3){if(X.stateNode.current.memoizedState.isDehydrated)return X.tag===3?X.stateNode.containerInfo:null;Z=null}else X!==Z&&(Z=null)}}return vq=Z,null}function KR(Z){switch(Z){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return l2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return O3;case"message":switch(_E()){case xw:return l2;case Ew:return O3;case k7:case xE:return X6;case Iw:return TQ;default:return X6}default:return X6}}function wR(Z,X){switch(Z){case"focusin":case"focusout":k9=null;break;case"dragenter":case"dragleave":f9=null;break;case"mouseover":case"mouseout":l9=null;break;case"pointerover":case"pointerout":DZ.delete(X.pointerId);break;case"gotpointercapture":case"lostpointercapture":hZ.delete(X.pointerId)}}function yH(Z,X,q,K,W,L){if(Z===null||Z.nativeEvent!==L)return Z={blockedOn:X,domEventName:q,eventSystemFlags:K,nativeEvent:L,targetContainers:[W]},X!==null&&(X=X0(X),X!==null&&YR(X)),Z;return Z.eventSystemFlags|=K,X=Z.targetContainers,W!==null&&X.indexOf(W)===-1&&X.push(W),Z}function PE(Z,X,q,K,W){switch(X){case"focusin":return k9=yH(k9,Z,X,q,K,W),!0;case"dragenter":return f9=yH(f9,Z,X,q,K,W),!0;case"mouseover":return l9=yH(l9,Z,X,q,K,W),!0;case"pointerover":var L=W.pointerId;return DZ.set(L,yH(DZ.get(L)||null,Z,X,q,K,W)),!0;case"gotpointercapture":return L=W.pointerId,hZ.set(L,yH(hZ.get(L)||null,Z,X,q,K,W)),!0}return!1}function WR(Z){var X=f1(Z.target);if(X!==null){var q=m(X);if(q!==null){if(X=q.tag,X===13){if(X=Z1(q),X!==null){Z.blockedOn=X,R1(Z.priority,function(){JR(q)});return}}else if(X===31){if(X=t(q),X!==null){Z.blockedOn=X,R1(Z.priority,function(){JR(q)});return}}else if(X===3&&q.stateNode.current.memoizedState.isDehydrated){Z.blockedOn=q.tag===3?q.stateNode.containerInfo:null;return}}}Z.blockedOn=null}function DQ(Z){if(Z.blockedOn!==null)return!1;for(var X=Z.targetContainers;0<X.length;){var q=jw(Z.nativeEvent);if(q===null){q=Z.nativeEvent;var K=new q.constructor(q.type,q),W=K;mH!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),mH=W,q.target.dispatchEvent(K),mH===null&&console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),mH=null}else return X=X0(q),X!==null&&YR(X),Z.blockedOn=q,!1;X.shift()}return!0}function LR(Z,X,q){DQ(Z)&&q.delete(X)}function ME(){dW=!1,k9!==null&&DQ(k9)&&(k9=null),f9!==null&&DQ(f9)&&(f9=null),l9!==null&&DQ(l9)&&(l9=null),DZ.forEach(LR),hZ.forEach(LR)}function hQ(Z,X){Z.blockedOn===X&&(Z.blockedOn=null,dW||(dW=!0,x0.unstable_scheduleCallback(x0.unstable_NormalPriority,ME)))}function FR(Z){Sq!==Z&&(Sq=Z,x0.unstable_scheduleCallback(x0.unstable_NormalPriority,function(){Sq===Z&&(Sq=null);for(var X=0;X<Z.length;X+=3){var q=Z[X],K=Z[X+1],W=Z[X+2];if(typeof K!=="function")if(Rw(K||q)===null)continue;else break;var L=X0(q);L!==null&&(Z.splice(X,3),X-=3,q={pending:!0,data:W,method:q.method,action:K},Object.freeze(q),RK(L,q,K,W))}}))}function A7(Z){function X(g){return hQ(g,Z)}k9!==null&&hQ(k9,Z),f9!==null&&hQ(f9,Z),l9!==null&&hQ(l9,Z),DZ.forEach(X),hZ.forEach(X);for(var q=0;q<p9.length;q++){var K=p9[q];K.blockedOn===Z&&(K.blockedOn=null)}for(;0<p9.length&&(q=p9[0],q.blockedOn===null);)WR(q),q.blockedOn===null&&p9.shift();if(q=(Z.ownerDocument||Z).$$reactFormReplay,q!=null)for(K=0;K<q.length;K+=3){var W=q[K],L=q[K+1],z=W[w2]||null;if(typeof L==="function")z||FR(q);else if(z){var P=null;if(L&&L.hasAttribute("formAction")){if(W=L,z=L[w2]||null)P=z.formAction;else if(Rw(W)!==null)continue}else P=z.action;typeof P==="function"?q[K+1]=P:(q.splice(K,3),K-=3),FR(q)}}}function UR(){function Z(L){L.canIntercept&&L.info==="react-transition"&&L.intercept({handler:function(){return new Promise(function(z){return W=z})},focusReset:"manual",scroll:"manual"})}function X(){W!==null&&(W(),W=null),K||setTimeout(q,20)}function q(){if(!K&&!navigation.transition){var L=navigation.currentEntry;L&&L.url!=null&&navigation.navigate(L.url,{state:L.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation==="object"){var K=!1,W=null;return navigation.addEventListener("navigate",Z),navigation.addEventListener("navigatesuccess",X),navigation.addEventListener("navigateerror",X),setTimeout(q,100),function(){K=!0,navigation.removeEventListener("navigate",Z),navigation.removeEventListener("navigatesuccess",X),navigation.removeEventListener("navigateerror",X),W!==null&&(W(),W=null)}}}function Ow(Z){this._internalRoot=Z}function _Q(Z){this._internalRoot=Z}function BR(Z){Z[N9]&&(Z._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var z0=Object.assign,CE=Symbol.for("react.element"),o3=Symbol.for("react.transitional.element"),m7=Symbol.for("react.portal"),u7=Symbol.for("react.fragment"),xQ=Symbol.for("react.strict_mode"),Nw=Symbol.for("react.profiler"),Pw=Symbol.for("react.consumer"),t3=Symbol.for("react.context"),vH=Symbol.for("react.forward_ref"),Mw=Symbol.for("react.suspense"),Cw=Symbol.for("react.suspense_list"),EQ=Symbol.for("react.memo"),k2=Symbol.for("react.lazy"),bw=Symbol.for("react.activity"),bE=Symbol.for("react.memo_cache_sentinel"),VR=Symbol.iterator,$E=Symbol.for("react.client.reference"),g5=Array.isArray,X1=C8.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,S0=nW.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,gE=Object.freeze({pending:!1,data:null,method:null,action:null}),$w=[],gw=[],h6=-1,j9=k1(null),SH=k1(null),R9=k1(null),IQ=k1(null),TH=0,zR,jR,RR,OR,NR,PR,MR;b.__reactDisabledLog=!0;var Gw,CR,Dw=!1,hw=new(typeof WeakMap==="function"?WeakMap:Map),f2=null,e3=!1,R3=Object.prototype.hasOwnProperty,_w=x0.unstable_scheduleCallback,GE=x0.unstable_cancelCallback,DE=x0.unstable_shouldYield,hE=x0.unstable_requestPaint,v5=x0.unstable_now,_E=x0.unstable_getCurrentPriorityLevel,xw=x0.unstable_ImmediatePriority,Ew=x0.unstable_UserBlockingPriority,k7=x0.unstable_NormalPriority,xE=x0.unstable_LowPriority,Iw=x0.unstable_IdlePriority,EE=x0.log,IE=x0.unstable_setDisableYieldValue,f7=null,s5=null,H6=!1,Z6=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",K2=Math.clz32?Math.clz32:q2,yE=Math.log,vE=Math.LN2,yQ=256,vQ=262144,SQ=4194304,l2=2,O3=8,X6=32,TQ=268435456,O9=Math.random().toString(36).slice(2),r5="__reactFiber$"+O9,w2="__reactProps$"+O9,N9="__reactContainer$"+O9,yw="__reactEvents$"+O9,SE="__reactListeners$"+O9,TE="__reactHandles$"+O9,bR="__reactResources$"+O9,AH="__reactMarker$"+O9,$R=new Set,C4={},vw={},AE={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},mE=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),gR={},GR={},uE=/[\n"\\]/g,DR=!1,hR=!1,_R=!1,xR=!1,ER=!1,IR=!1,yR=["value","defaultValue"],vR=!1,SR=/["'&<>\n\t]|^\s|\s$/,kE="address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(" "),TR="applet caption html table td th marquee object template foreignObject desc title".split(" "),fE=TR.concat(["button"]),lE="dd dt li option optgroup p rp rt".split(" "),AR={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},AQ={},Sw={animation:"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "),background:"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "),backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "),borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:"fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight".split(" "),fontVariant:"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "),gap:["columnGap","rowGap"],grid:"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "),gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:"maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(" "),maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},mR=/([A-Z])/g,uR=/^ms-/,pE=/^(?:webkit|moz|o)[A-Z]/,rE=/^-ms-/,iE=/-(.)/g,kR=/;\s*$/,l7={},Tw={},fR=!1,lR=!1,pR=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),mQ="http://www.w3.org/1998/Math/MathML",p7="http://www.w3.org/2000/svg",dE=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),uQ={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",fetchpriority:"fetchPriority",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",inert:"inert",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",transformorigin:"transformOrigin","transform-origin":"transformOrigin",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},rR={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},r7={},aE=RegExp("^(aria)-[: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]*$"),cE=RegExp("^(aria)[A-Z][: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]*$"),iR=!1,W2={},dR=/^on./,sE=/^on[^A-Z]/,nE=RegExp("^(aria)-[: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]*$"),oE=RegExp("^(aria)[A-Z][: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]*$"),tE=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i,mH=null,i7=null,d7=null,Aw=!1,Q6=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),mw=!1;if(Q6)try{var uH={};Object.defineProperty(uH,"passive",{get:function(){mw=!0}}),window.addEventListener("test",uH,uH),window.removeEventListener("test",uH,uH)}catch(Z){mw=!1}var P9=null,uw=null,kQ=null,b4={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(Z){return Z.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},fQ=C2(b4),kH=z0({},b4,{view:0,detail:0}),eE=C2(kH),kw,fw,fH,lQ=z0({},kH,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:bJ,button:0,buttons:0,relatedTarget:function(Z){return Z.relatedTarget===void 0?Z.fromElement===Z.srcElement?Z.toElement:Z.fromElement:Z.relatedTarget},movementX:function(Z){if("movementX"in Z)return Z.movementX;return Z!==fH&&(fH&&Z.type==="mousemove"?(kw=Z.screenX-fH.screenX,fw=Z.screenY-fH.screenY):fw=kw=0,fH=Z),kw},movementY:function(Z){return"movementY"in Z?Z.movementY:fw}}),aR=C2(lQ),HI=z0({},lQ,{dataTransfer:0}),ZI=C2(HI),XI=z0({},kH,{relatedTarget:0}),lw=C2(XI),QI=z0({},b4,{animationName:0,elapsedTime:0,pseudoElement:0}),qI=C2(QI),YI=z0({},b4,{clipboardData:function(Z){return"clipboardData"in Z?Z.clipboardData:window.clipboardData}}),JI=C2(YI),KI=z0({},b4,{data:0}),cR=C2(KI),wI=cR,WI={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},LI={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"},FI={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},UI=z0({},kH,{key:function(Z){if(Z.key){var X=WI[Z.key]||Z.key;if(X!=="Unidentified")return X}return Z.type==="keypress"?(Z=DX(Z),Z===13?"Enter":String.fromCharCode(Z)):Z.type==="keydown"||Z.type==="keyup"?LI[Z.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:bJ,charCode:function(Z){return Z.type==="keypress"?DX(Z):0},keyCode:function(Z){return Z.type==="keydown"||Z.type==="keyup"?Z.keyCode:0},which:function(Z){return Z.type==="keypress"?DX(Z):Z.type==="keydown"||Z.type==="keyup"?Z.keyCode:0}}),BI=C2(UI),VI=z0({},lQ,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),sR=C2(VI),zI=z0({},kH,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:bJ}),jI=C2(zI),RI=z0({},b4,{propertyName:0,elapsedTime:0,pseudoElement:0}),OI=C2(RI),NI=z0({},lQ,{deltaX:function(Z){return"deltaX"in Z?Z.deltaX:("wheelDeltaX"in Z)?-Z.wheelDeltaX:0},deltaY:function(Z){return"deltaY"in Z?Z.deltaY:("wheelDeltaY"in Z)?-Z.wheelDeltaY:("wheelDelta"in Z)?-Z.wheelDelta:0},deltaZ:0,deltaMode:0}),PI=C2(NI),MI=z0({},b4,{newState:0,oldState:0}),CI=C2(MI),bI=[9,13,27,32],nR=229,pw=Q6&&"CompositionEvent"in window,lH=null;Q6&&"documentMode"in document&&(lH=document.documentMode);var $I=Q6&&"TextEvent"in window&&!lH,oR=Q6&&(!pw||lH&&8<lH&&11>=lH),tR=32,eR=String.fromCharCode(tR),HO=!1,a7=!1,gI={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},pH=null,rH=null,ZO=!1;Q6&&(ZO=d_("input")&&(!document.documentMode||9<document.documentMode));var L2=typeof Object.is==="function"?Object.is:t_,GI=Q6&&"documentMode"in document&&11>=document.documentMode,c7=null,rw=null,iH=null,iw=!1,s7={animationend:w4("Animation","AnimationEnd"),animationiteration:w4("Animation","AnimationIteration"),animationstart:w4("Animation","AnimationStart"),transitionrun:w4("Transition","TransitionRun"),transitionstart:w4("Transition","TransitionStart"),transitioncancel:w4("Transition","TransitionCancel"),transitionend:w4("Transition","TransitionEnd")},dw={},XO={};Q6&&(XO=document.createElement("div").style,("AnimationEvent"in window)||(delete s7.animationend.animation,delete s7.animationiteration.animation,delete s7.animationstart.animation),("TransitionEvent"in window)||delete s7.transitionend.transition);var QO=W4("animationend"),qO=W4("animationiteration"),YO=W4("animationstart"),DI=W4("transitionrun"),hI=W4("transitionstart"),_I=W4("transitioncancel"),JO=W4("transitionend"),KO=new Map,aw="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");aw.push("scrollEnd");var wO=0;if(typeof performance==="object"&&typeof performance.now==="function")var xI=performance,WO=function(){return xI.now()};else{var EI=Date;WO=function(){return EI.now()}}var cw=typeof reportError==="function"?reportError:function(Z){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var X=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof Z==="object"&&Z!==null&&typeof Z.message==="string"?String(Z.message):String(Z),error:Z});if(!window.dispatchEvent(X))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",Z);return}console.error(Z)},II="This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.",pQ=0,sw=1,nw=2,ow=3,rQ="– ",iQ="+ ",LO=" ",i0=typeof console<"u"&&typeof console.timeStamp==="function"&&typeof performance<"u"&&typeof performance.measure==="function",t2="Components ⚛",j0="Scheduler ⚛",R0="Blocking",M9=!1,_6={color:"primary",properties:null,tooltipText:"",track:t2},C9={start:-0,end:-0,detail:{devtools:_6}},yI=["Changed Props",""],FO="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",vI=["Changed Props",FO],dH=1,x6=2,e2=[],n7=0,tw=0,b9={};Object.freeze(b9);var H3=null,o7=null,n1=0,SI=1,L0=2,n5=8,N3=16,TI=32,UO=!1;try{var BO=Object.preventExtensions({})}catch(Z){UO=!0}var ew=new WeakMap,t7=[],e7=0,dQ=null,aH=0,Z3=[],X3=0,$4=null,E6=1,I6="",i5=null,d0=null,N0=!1,q6=!1,p2=null,$9=null,Q3=!1,HW=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),ZW=k1(null),XW=k1(null),VO={},aQ=null,H8=null,Z8=!1,AI=typeof AbortController<"u"?AbortController:function(){var Z=[],X=this.signal={aborted:!1,addEventListener:function(q,K){Z.push(K)}};this.abort=function(){X.aborted=!0,Z.forEach(function(q){return q()})}},mI=x0.unstable_scheduleCallback,uI=x0.unstable_NormalPriority,R5={$$typeof:t3,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},O5=x0.unstable_now,cQ=console.createTask?console.createTask:function(){return null},cH=1,sQ=2,S5=-0,g9=-0,y6=-0,v6=null,F2=-1.1,g4=-0,e0=-0,i1=-1.1,s1=-1.1,o0=null,Q5=!1,G9=-0,Y6=-1.1,sH=null,D9=0,QW=null,qW=null,G4=-1.1,nH=null,X8=-1.1,nQ=-1.1,J6=-0,S6=-1.1,q3=-1.1,YW=0,oH=null,zO=null,jO=null,h9=-1.1,D4=null,_9=-1.1,oQ=-1.1,RO=-0,OO=-0,tQ=0,T6=null,NO=0,tH=-1.1,eQ=!1,Hq=!1,eH=null,JW=0,h4=0,Q8=null,PO=X1.S;X1.S=function(Z,X){if(zN=v5(),typeof X==="object"&&X!==null&&typeof X.then==="function"){if(0>S6&&0>q3){S6=O5();var q=_H(),K=hH();if(q!==_9||K!==D4)_9=-1.1;h9=q,D4=K}Yx(Z,X)}PO!==null&&PO(Z,X)};var _4=k1(null),P3={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},HZ=[],ZZ=[],XZ=[],QZ=[],qZ=[],YZ=[],x4=new Set;P3.recordUnsafeLifecycleWarnings=function(Z,X){x4.has(Z.type)||(typeof X.componentWillMount==="function"&&X.componentWillMount.__suppressDeprecationWarning!==!0&&HZ.push(Z),Z.mode&n5&&typeof X.UNSAFE_componentWillMount==="function"&&ZZ.push(Z),typeof X.componentWillReceiveProps==="function"&&X.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&XZ.push(Z),Z.mode&n5&&typeof X.UNSAFE_componentWillReceiveProps==="function"&&QZ.push(Z),typeof X.componentWillUpdate==="function"&&X.componentWillUpdate.__suppressDeprecationWarning!==!0&&qZ.push(Z),Z.mode&n5&&typeof X.UNSAFE_componentWillUpdate==="function"&&YZ.push(Z))},P3.flushPendingUnsafeLifecycleWarnings=function(){var Z=new Set;0<HZ.length&&(HZ.forEach(function(P){Z.add(k(P)||"Component"),x4.add(P.type)}),HZ=[]);var X=new Set;0<ZZ.length&&(ZZ.forEach(function(P){X.add(k(P)||"Component"),x4.add(P.type)}),ZZ=[]);var q=new Set;0<XZ.length&&(XZ.forEach(function(P){q.add(k(P)||"Component"),x4.add(P.type)}),XZ=[]);var K=new Set;0<QZ.length&&(QZ.forEach(function(P){K.add(k(P)||"Component"),x4.add(P.type)}),QZ=[]);var W=new Set;0<qZ.length&&(qZ.forEach(function(P){W.add(k(P)||"Component"),x4.add(P.type)}),qZ=[]);var L=new Set;if(0<YZ.length&&(YZ.forEach(function(P){L.add(k(P)||"Component"),x4.add(P.type)}),YZ=[]),0<X.size){var z=O(X);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
185
|
+
|
|
186
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
187
|
+
|
|
188
|
+
Please update the following components: %s`,z)}0<K.size&&(z=O(K),console.error(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
189
|
+
|
|
190
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
191
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
|
|
192
|
+
|
|
193
|
+
Please update the following components: %s`,z)),0<L.size&&(z=O(L),console.error(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
194
|
+
|
|
195
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
196
|
+
|
|
197
|
+
Please update the following components: %s`,z)),0<Z.size&&(z=O(Z),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
198
|
+
|
|
199
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
200
|
+
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
201
|
+
|
|
202
|
+
Please update the following components: %s`,z)),0<q.size&&(z=O(q),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
203
|
+
|
|
204
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
205
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
|
|
206
|
+
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
207
|
+
|
|
208
|
+
Please update the following components: %s`,z)),0<W.size&&(z=O(W),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
209
|
+
|
|
210
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
211
|
+
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
212
|
+
|
|
213
|
+
Please update the following components: %s`,z))};var Zq=new Map,MO=new Set;P3.recordLegacyContextWarning=function(Z,X){var q=null;for(var K=Z;K!==null;)K.mode&n5&&(q=K),K=K.return;q===null?console.error("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue."):!MO.has(Z.type)&&(K=Zq.get(q),Z.type.contextTypes!=null||Z.type.childContextTypes!=null||X!==null&&typeof X.getChildContext==="function")&&(K===void 0&&(K=[],Zq.set(q,K)),K.push(Z))},P3.flushLegacyContextWarning=function(){Zq.forEach(function(Z){if(Z.length!==0){var X=Z[0],q=new Set;Z.forEach(function(W){q.add(k(W)||"Component"),MO.add(W.type)});var K=O(q);G1(X,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
|
|
214
|
+
|
|
215
|
+
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
216
|
+
|
|
217
|
+
Please update the following components: %s
|
|
218
|
+
|
|
219
|
+
Learn more about this warning here: https://react.dev/link/legacy-context`,K)})}})},P3.discardPendingWarnings=function(){HZ=[],ZZ=[],XZ=[],QZ=[],qZ=[],YZ=[],Zq=new Map};var CO={react_stack_bottom_frame:function(Z,X,q){var K=e3;e3=!0;try{return Z(X,q)}finally{e3=K}}},KW=CO.react_stack_bottom_frame.bind(CO),bO={react_stack_bottom_frame:function(Z){var X=e3;e3=!0;try{return Z.render()}finally{e3=X}}},$O=bO.react_stack_bottom_frame.bind(bO),gO={react_stack_bottom_frame:function(Z,X){try{X.componentDidMount()}catch(q){v0(Z,Z.return,q)}}},wW=gO.react_stack_bottom_frame.bind(gO),GO={react_stack_bottom_frame:function(Z,X,q,K,W){try{X.componentDidUpdate(q,K,W)}catch(L){v0(Z,Z.return,L)}}},DO=GO.react_stack_bottom_frame.bind(GO),hO={react_stack_bottom_frame:function(Z,X){var q=X.stack;Z.componentDidCatch(X.value,{componentStack:q!==null?q:""})}},kI=hO.react_stack_bottom_frame.bind(hO),_O={react_stack_bottom_frame:function(Z,X,q){try{q.componentWillUnmount()}catch(K){v0(Z,X,K)}}},xO=_O.react_stack_bottom_frame.bind(_O),EO={react_stack_bottom_frame:function(Z){var X=Z.create;return Z=Z.inst,X=X(),Z.destroy=X}},fI=EO.react_stack_bottom_frame.bind(EO),IO={react_stack_bottom_frame:function(Z,X,q){try{q()}catch(K){v0(Z,X,K)}}},lI=IO.react_stack_bottom_frame.bind(IO),yO={react_stack_bottom_frame:function(Z){var X=Z._init;return X(Z._payload)}},pI=yO.react_stack_bottom_frame.bind(yO),q8=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),WW=Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),Xq=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),Qq={then:function(){console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.')}},E4=null,JZ=!1,Y8=null,KZ=0,F0=null,LW,vO=LW=!1,SO={},TO={},AO={};R=function(Z,X,q){if(q!==null&&typeof q==="object"&&q._store&&(!q._store.validated&&q.key==null||q._store.validated===2)){if(typeof q._store!=="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");q._store.validated=1;var K=k(Z),W=K||"null";if(!SO[W]){SO[W]=!0,q=q._owner,Z=Z._debugOwner;var L="";Z&&typeof Z.tag==="number"&&(W=k(Z))&&(L=`
|
|
220
|
+
|
|
221
|
+
Check the render method of \``+W+"`."),L||K&&(L=`
|
|
222
|
+
|
|
223
|
+
Check the top-level render call using <`+K+">.");var z="";q!=null&&Z!==q&&(K=null,typeof q.tag==="number"?K=k(q):typeof q.name==="string"&&(K=q.name),K&&(z=" It was passed a child from "+K+".")),G1(X,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',L,z)})}}};var I4=_V(!0),mO=_V(!1),uO=0,kO=1,fO=2,FW=3,x9=!1,lO=!1,UW=null,BW=!1,J8=k1(null),qq=k1(0),r2=k1(null),Y3=null,K8=1,wZ=2,U5=k1(0),Yq=0,J3=1,U2=2,i2=4,B2=8,w8,pO=new Set,rO=new Set,VW=new Set,iO=new Set,A6=0,e1=null,k0=null,N5=null,Jq=!1,W8=!1,y4=!1,Kq=0,WZ=0,m6=null,rI=0,iI=25,H1=null,K3=null,u6=-1,LZ=!1,FZ={readContext:n0,use:U9,useCallback:Y5,useContext:Y5,useEffect:Y5,useImperativeHandle:Y5,useLayoutEffect:Y5,useInsertionEffect:Y5,useMemo:Y5,useReducer:Y5,useRef:Y5,useState:Y5,useDebugValue:Y5,useDeferredValue:Y5,useTransition:Y5,useSyncExternalStore:Y5,useId:Y5,useHostTransitionStatus:Y5,useFormState:Y5,useActionState:Y5,useOptimistic:Y5,useMemoCache:Y5,useCacheRefresh:Y5};FZ.useEffectEvent=Y5;var zW=null,dO=null,jW=null,aO=null,K6=null,M3=null,wq=null;zW={readContext:function(Z){return n0(Z)},use:U9,useCallback:function(Z,X){return H1="useCallback",V0(),g7(X),BK(Z,X)},useContext:function(Z){return H1="useContext",V0(),n0(Z)},useEffect:function(Z,X){return H1="useEffect",V0(),g7(X),ZQ(Z,X)},useImperativeHandle:function(Z,X,q){return H1="useImperativeHandle",V0(),g7(q),UK(Z,X,q)},useInsertionEffect:function(Z,X){H1="useInsertionEffect",V0(),g7(X),R4(4,U2,Z,X)},useLayoutEffect:function(Z,X){return H1="useLayoutEffect",V0(),g7(X),FK(Z,X)},useMemo:function(Z,X){H1="useMemo",V0(),g7(X);var q=X1.H;X1.H=K6;try{return VK(Z,X)}finally{X1.H=q}},useReducer:function(Z,X,q){H1="useReducer",V0();var K=X1.H;X1.H=K6;try{return XK(Z,X,q)}finally{X1.H=K}},useRef:function(Z){return H1="useRef",V0(),WK(Z)},useState:function(Z){H1="useState",V0();var X=X1.H;X1.H=K6;try{return JK(Z)}finally{X1.H=X}},useDebugValue:function(){H1="useDebugValue",V0()},useDeferredValue:function(Z,X){return H1="useDeferredValue",V0(),zK(Z,X)},useTransition:function(){return H1="useTransition",V0(),OK()},useSyncExternalStore:function(Z,X,q){return H1="useSyncExternalStore",V0(),qK(Z,X,q)},useId:function(){return H1="useId",V0(),NK()},useFormState:function(Z,X){return H1="useFormState",V0(),nX(),D7(Z,X)},useActionState:function(Z,X){return H1="useActionState",V0(),D7(Z,X)},useOptimistic:function(Z){return H1="useOptimistic",V0(),KK(Z)},useHostTransitionStatus:O4,useMemoCache:j4,useCacheRefresh:function(){return H1="useCacheRefresh",V0(),PK()},useEffectEvent:function(Z){return H1="useEffectEvent",V0(),LK(Z)}},dO={readContext:function(Z){return n0(Z)},use:U9,useCallback:function(Z,X){return H1="useCallback",N1(),BK(Z,X)},useContext:function(Z){return H1="useContext",N1(),n0(Z)},useEffect:function(Z,X){return H1="useEffect",N1(),ZQ(Z,X)},useImperativeHandle:function(Z,X,q){return H1="useImperativeHandle",N1(),UK(Z,X,q)},useInsertionEffect:function(Z,X){H1="useInsertionEffect",N1(),R4(4,U2,Z,X)},useLayoutEffect:function(Z,X){return H1="useLayoutEffect",N1(),FK(Z,X)},useMemo:function(Z,X){H1="useMemo",N1();var q=X1.H;X1.H=K6;try{return VK(Z,X)}finally{X1.H=q}},useReducer:function(Z,X,q){H1="useReducer",N1();var K=X1.H;X1.H=K6;try{return XK(Z,X,q)}finally{X1.H=K}},useRef:function(Z){return H1="useRef",N1(),WK(Z)},useState:function(Z){H1="useState",N1();var X=X1.H;X1.H=K6;try{return JK(Z)}finally{X1.H=X}},useDebugValue:function(){H1="useDebugValue",N1()},useDeferredValue:function(Z,X){return H1="useDeferredValue",N1(),zK(Z,X)},useTransition:function(){return H1="useTransition",N1(),OK()},useSyncExternalStore:function(Z,X,q){return H1="useSyncExternalStore",N1(),qK(Z,X,q)},useId:function(){return H1="useId",N1(),NK()},useActionState:function(Z,X){return H1="useActionState",N1(),D7(Z,X)},useFormState:function(Z,X){return H1="useFormState",N1(),nX(),D7(Z,X)},useOptimistic:function(Z){return H1="useOptimistic",N1(),KK(Z)},useHostTransitionStatus:O4,useMemoCache:j4,useCacheRefresh:function(){return H1="useCacheRefresh",N1(),PK()},useEffectEvent:function(Z){return H1="useEffectEvent",N1(),LK(Z)}},jW={readContext:function(Z){return n0(Z)},use:U9,useCallback:function(Z,X){return H1="useCallback",N1(),qQ(Z,X)},useContext:function(Z){return H1="useContext",N1(),n0(Z)},useEffect:function(Z,X){H1="useEffect",N1(),b2(2048,B2,Z,X)},useImperativeHandle:function(Z,X,q){return H1="useImperativeHandle",N1(),QQ(Z,X,q)},useInsertionEffect:function(Z,X){return H1="useInsertionEffect",N1(),b2(4,U2,Z,X)},useLayoutEffect:function(Z,X){return H1="useLayoutEffect",N1(),b2(4,i2,Z,X)},useMemo:function(Z,X){H1="useMemo",N1();var q=X1.H;X1.H=M3;try{return YQ(Z,X)}finally{X1.H=q}},useReducer:function(Z,X,q){H1="useReducer",N1();var K=X1.H;X1.H=M3;try{return G7(Z,X,q)}finally{X1.H=K}},useRef:function(){return H1="useRef",N1(),T0().memoizedState},useState:function(){H1="useState",N1();var Z=X1.H;X1.H=M3;try{return G7(z3)}finally{X1.H=Z}},useDebugValue:function(){H1="useDebugValue",N1()},useDeferredValue:function(Z,X){return H1="useDeferredValue",N1(),oV(Z,X)},useTransition:function(){return H1="useTransition",N1(),Qz()},useSyncExternalStore:function(Z,X,q){return H1="useSyncExternalStore",N1(),tX(Z,X,q)},useId:function(){return H1="useId",N1(),T0().memoizedState},useFormState:function(Z){return H1="useFormState",N1(),nX(),eX(Z)},useActionState:function(Z){return H1="useActionState",N1(),eX(Z)},useOptimistic:function(Z,X){return H1="useOptimistic",N1(),fV(Z,X)},useHostTransitionStatus:O4,useMemoCache:j4,useCacheRefresh:function(){return H1="useCacheRefresh",N1(),T0().memoizedState},useEffectEvent:function(Z){return H1="useEffectEvent",N1(),XQ(Z)}},aO={readContext:function(Z){return n0(Z)},use:U9,useCallback:function(Z,X){return H1="useCallback",N1(),qQ(Z,X)},useContext:function(Z){return H1="useContext",N1(),n0(Z)},useEffect:function(Z,X){H1="useEffect",N1(),b2(2048,B2,Z,X)},useImperativeHandle:function(Z,X,q){return H1="useImperativeHandle",N1(),QQ(Z,X,q)},useInsertionEffect:function(Z,X){return H1="useInsertionEffect",N1(),b2(4,U2,Z,X)},useLayoutEffect:function(Z,X){return H1="useLayoutEffect",N1(),b2(4,i2,Z,X)},useMemo:function(Z,X){H1="useMemo",N1();var q=X1.H;X1.H=wq;try{return YQ(Z,X)}finally{X1.H=q}},useReducer:function(Z,X,q){H1="useReducer",N1();var K=X1.H;X1.H=wq;try{return jH(Z,X,q)}finally{X1.H=K}},useRef:function(){return H1="useRef",N1(),T0().memoizedState},useState:function(){H1="useState",N1();var Z=X1.H;X1.H=wq;try{return jH(z3)}finally{X1.H=Z}},useDebugValue:function(){H1="useDebugValue",N1()},useDeferredValue:function(Z,X){return H1="useDeferredValue",N1(),tV(Z,X)},useTransition:function(){return H1="useTransition",N1(),qz()},useSyncExternalStore:function(Z,X,q){return H1="useSyncExternalStore",N1(),tX(Z,X,q)},useId:function(){return H1="useId",N1(),T0().memoizedState},useFormState:function(Z){return H1="useFormState",N1(),nX(),HQ(Z)},useActionState:function(Z){return H1="useActionState",N1(),HQ(Z)},useOptimistic:function(Z,X){return H1="useOptimistic",N1(),pV(Z,X)},useHostTransitionStatus:O4,useMemoCache:j4,useCacheRefresh:function(){return H1="useCacheRefresh",N1(),T0().memoizedState},useEffectEvent:function(Z){return H1="useEffectEvent",N1(),XQ(Z)}},K6={readContext:function(Z){return V(),n0(Z)},use:function(Z){return B(),U9(Z)},useCallback:function(Z,X){return H1="useCallback",B(),V0(),BK(Z,X)},useContext:function(Z){return H1="useContext",B(),V0(),n0(Z)},useEffect:function(Z,X){return H1="useEffect",B(),V0(),ZQ(Z,X)},useImperativeHandle:function(Z,X,q){return H1="useImperativeHandle",B(),V0(),UK(Z,X,q)},useInsertionEffect:function(Z,X){H1="useInsertionEffect",B(),V0(),R4(4,U2,Z,X)},useLayoutEffect:function(Z,X){return H1="useLayoutEffect",B(),V0(),FK(Z,X)},useMemo:function(Z,X){H1="useMemo",B(),V0();var q=X1.H;X1.H=K6;try{return VK(Z,X)}finally{X1.H=q}},useReducer:function(Z,X,q){H1="useReducer",B(),V0();var K=X1.H;X1.H=K6;try{return XK(Z,X,q)}finally{X1.H=K}},useRef:function(Z){return H1="useRef",B(),V0(),WK(Z)},useState:function(Z){H1="useState",B(),V0();var X=X1.H;X1.H=K6;try{return JK(Z)}finally{X1.H=X}},useDebugValue:function(){H1="useDebugValue",B(),V0()},useDeferredValue:function(Z,X){return H1="useDeferredValue",B(),V0(),zK(Z,X)},useTransition:function(){return H1="useTransition",B(),V0(),OK()},useSyncExternalStore:function(Z,X,q){return H1="useSyncExternalStore",B(),V0(),qK(Z,X,q)},useId:function(){return H1="useId",B(),V0(),NK()},useFormState:function(Z,X){return H1="useFormState",B(),V0(),D7(Z,X)},useActionState:function(Z,X){return H1="useActionState",B(),V0(),D7(Z,X)},useOptimistic:function(Z){return H1="useOptimistic",B(),V0(),KK(Z)},useMemoCache:function(Z){return B(),j4(Z)},useHostTransitionStatus:O4,useCacheRefresh:function(){return H1="useCacheRefresh",V0(),PK()},useEffectEvent:function(Z){return H1="useEffectEvent",B(),V0(),LK(Z)}},M3={readContext:function(Z){return V(),n0(Z)},use:function(Z){return B(),U9(Z)},useCallback:function(Z,X){return H1="useCallback",B(),N1(),qQ(Z,X)},useContext:function(Z){return H1="useContext",B(),N1(),n0(Z)},useEffect:function(Z,X){H1="useEffect",B(),N1(),b2(2048,B2,Z,X)},useImperativeHandle:function(Z,X,q){return H1="useImperativeHandle",B(),N1(),QQ(Z,X,q)},useInsertionEffect:function(Z,X){return H1="useInsertionEffect",B(),N1(),b2(4,U2,Z,X)},useLayoutEffect:function(Z,X){return H1="useLayoutEffect",B(),N1(),b2(4,i2,Z,X)},useMemo:function(Z,X){H1="useMemo",B(),N1();var q=X1.H;X1.H=M3;try{return YQ(Z,X)}finally{X1.H=q}},useReducer:function(Z,X,q){H1="useReducer",B(),N1();var K=X1.H;X1.H=M3;try{return G7(Z,X,q)}finally{X1.H=K}},useRef:function(){return H1="useRef",B(),N1(),T0().memoizedState},useState:function(){H1="useState",B(),N1();var Z=X1.H;X1.H=M3;try{return G7(z3)}finally{X1.H=Z}},useDebugValue:function(){H1="useDebugValue",B(),N1()},useDeferredValue:function(Z,X){return H1="useDeferredValue",B(),N1(),oV(Z,X)},useTransition:function(){return H1="useTransition",B(),N1(),Qz()},useSyncExternalStore:function(Z,X,q){return H1="useSyncExternalStore",B(),N1(),tX(Z,X,q)},useId:function(){return H1="useId",B(),N1(),T0().memoizedState},useFormState:function(Z){return H1="useFormState",B(),N1(),eX(Z)},useActionState:function(Z){return H1="useActionState",B(),N1(),eX(Z)},useOptimistic:function(Z,X){return H1="useOptimistic",B(),N1(),fV(Z,X)},useMemoCache:function(Z){return B(),j4(Z)},useHostTransitionStatus:O4,useCacheRefresh:function(){return H1="useCacheRefresh",N1(),T0().memoizedState},useEffectEvent:function(Z){return H1="useEffectEvent",B(),N1(),XQ(Z)}},wq={readContext:function(Z){return V(),n0(Z)},use:function(Z){return B(),U9(Z)},useCallback:function(Z,X){return H1="useCallback",B(),N1(),qQ(Z,X)},useContext:function(Z){return H1="useContext",B(),N1(),n0(Z)},useEffect:function(Z,X){H1="useEffect",B(),N1(),b2(2048,B2,Z,X)},useImperativeHandle:function(Z,X,q){return H1="useImperativeHandle",B(),N1(),QQ(Z,X,q)},useInsertionEffect:function(Z,X){return H1="useInsertionEffect",B(),N1(),b2(4,U2,Z,X)},useLayoutEffect:function(Z,X){return H1="useLayoutEffect",B(),N1(),b2(4,i2,Z,X)},useMemo:function(Z,X){H1="useMemo",B(),N1();var q=X1.H;X1.H=M3;try{return YQ(Z,X)}finally{X1.H=q}},useReducer:function(Z,X,q){H1="useReducer",B(),N1();var K=X1.H;X1.H=M3;try{return jH(Z,X,q)}finally{X1.H=K}},useRef:function(){return H1="useRef",B(),N1(),T0().memoizedState},useState:function(){H1="useState",B(),N1();var Z=X1.H;X1.H=M3;try{return jH(z3)}finally{X1.H=Z}},useDebugValue:function(){H1="useDebugValue",B(),N1()},useDeferredValue:function(Z,X){return H1="useDeferredValue",B(),N1(),tV(Z,X)},useTransition:function(){return H1="useTransition",B(),N1(),qz()},useSyncExternalStore:function(Z,X,q){return H1="useSyncExternalStore",B(),N1(),tX(Z,X,q)},useId:function(){return H1="useId",B(),N1(),T0().memoizedState},useFormState:function(Z){return H1="useFormState",B(),N1(),HQ(Z)},useActionState:function(Z){return H1="useActionState",B(),N1(),HQ(Z)},useOptimistic:function(Z,X){return H1="useOptimistic",B(),N1(),pV(Z,X)},useMemoCache:function(Z){return B(),j4(Z)},useHostTransitionStatus:O4,useCacheRefresh:function(){return H1="useCacheRefresh",N1(),T0().memoizedState},useEffectEvent:function(Z){return H1="useEffectEvent",B(),N1(),XQ(Z)}};var cO={},sO=new Set,nO=new Set,oO=new Set,tO=new Set,eO=new Set,HN=new Set,ZN=new Set,XN=new Set,QN=new Set,qN=new Set;Object.freeze(cO);var RW={enqueueSetState:function(Z,X,q){Z=Z._reactInternals;var K=m2(Z),W=w9(K);W.payload=X,q!==void 0&&q!==null&&(CK(q),W.callback=q),X=W9(Z,W,K),X!==null&&(m3(K,"this.setState()",Z),X5(X,Z,K),UH(X,Z,K))},enqueueReplaceState:function(Z,X,q){Z=Z._reactInternals;var K=m2(Z),W=w9(K);W.tag=kO,W.payload=X,q!==void 0&&q!==null&&(CK(q),W.callback=q),X=W9(Z,W,K),X!==null&&(m3(K,"this.replaceState()",Z),X5(X,Z,K),UH(X,Z,K))},enqueueForceUpdate:function(Z,X){Z=Z._reactInternals;var q=m2(Z),K=w9(q);K.tag=fO,X!==void 0&&X!==null&&(CK(X),K.callback=X),X=W9(Z,K,q),X!==null&&(m3(q,"this.forceUpdate()",Z),X5(X,Z,q),UH(X,Z,q))}},L8=null,OW=null,NW=Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."),P5=!1,YN={},JN={},KN={},wN={},F8=!1,WN={},Wq={},PW={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},LN=!1,FN=null;FN=new Set;var k6=!1,M5=!1,MW=!1,UN=typeof WeakSet==="function"?WeakSet:Set,T5=null,U8=null,B8=null,C5=null,G2=!1,C3=null,G5=!1,UZ=8192,dI={getCacheForType:function(Z){var X=n0(R5),q=X.data.get(Z);return q===void 0&&(q=Z(),X.data.set(Z,q)),q},cacheSignal:function(){return n0(R5).controller.signal},getOwner:function(){return f2}};if(typeof Symbol==="function"&&Symbol.for){var BZ=Symbol.for;BZ("selector.component"),BZ("selector.has_pseudo_class"),BZ("selector.role"),BZ("selector.test_id"),BZ("selector.text")}var aI=[],cI=typeof WeakMap==="function"?WeakMap:Map,A5=0,D5=2,d2=4,f6=0,VZ=1,v4=2,Lq=3,E9=4,Fq=6,BN=5,h0=A5,f0=null,B0=null,U0=0,D2=0,Uq=1,S4=2,zZ=3,VN=4,CW=5,jZ=6,Bq=7,bW=8,T4=9,A0=D2,a2=null,I9=!1,V8=!1,$W=!1,w6=0,H5=f6,y9=0,v9=0,gW=0,h2=0,A4=0,RZ=null,V2=null,Vq=!1,zq=0,zN=0,jN=300,jq=1/0,RN=500,OZ=null,J5=null,S9=null,Rq=0,GW=1,DW=2,ON=3,T9=0,NN=1,PN=2,MN=3,CN=4,Oq=5,b5=0,A9=null,z8=null,b3=0,hW=0,_W=-0,xW=null,bN=null,$N=null,$3=Rq,gN=null,sI=50,NZ=0,EW=null,IW=!1,Nq=!1,nI=50,m4=0,PZ=null,j8=!1,Pq=null,GN=!1,DN=new Set,oI={},Mq=null,R8=null,yW=!1,vW=!1,Cq=!1,SW=!1,m9=0,TW={};(function(){for(var Z=0;Z<aw.length;Z++){var X=aw[Z],q=X.toLowerCase();X=X[0].toUpperCase()+X.slice(1),V3(q,"on"+X)}V3(QO,"onAnimationEnd"),V3(qO,"onAnimationIteration"),V3(YO,"onAnimationStart"),V3("dblclick","onDoubleClick"),V3("focusin","onFocus"),V3("focusout","onBlur"),V3(DI,"onTransitionRun"),V3(hI,"onTransitionStart"),V3(_I,"onTransitionCancel"),V3(JO,"onTransitionEnd")})(),E2("onMouseEnter",["mouseout","mouseover"]),E2("onMouseLeave",["mouseout","mouseover"]),E2("onPointerEnter",["pointerout","pointerover"]),E2("onPointerLeave",["pointerout","pointerover"]),a5("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),a5("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),a5("onBeforeInput",["compositionend","keypress","textInput","paste"]),a5("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),a5("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),a5("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var MZ="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(" "),AW=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(MZ)),bq="_reactListening"+Math.random().toString(36).slice(2),hN=!1,_N=!1,$q=!1,xN=!1,gq=!1,Gq=!1,EN=!1,Dq={},tI=/\r\n?/g,eI=/\u0000|\uFFFD/g,u4="http://www.w3.org/1999/xlink",mW="http://www.w3.org/XML/1998/namespace",Hy="javascript:throw new Error('React form unexpectedly submitted.')",Zy="suppressHydrationWarning",k4="&",hq="/&",CZ="$",bZ="/$",u9="$?",f4="$~",O8="$!",Xy="html",Qy="body",qy="head",uW="F!",IN="F",yN="loading",Yy="style",l6=0,N8=1,_q=2,kW=null,fW=null,vN={dialog:!0,webview:!0},lW=null,$Z=void 0,SN=typeof setTimeout==="function"?setTimeout:void 0,Jy=typeof clearTimeout==="function"?clearTimeout:void 0,l4=-1,TN=typeof Promise==="function"?Promise:void 0,Ky=typeof queueMicrotask==="function"?queueMicrotask:typeof TN<"u"?function(Z){return TN.resolve(null).then(Z).catch(ix)}:SN,pW=null,p4=0,gZ=1,AN=2,mN=3,w3=4,W3=new Map,uN=new Set,p6=S0.d;S0.d={f:function(){var Z=p6.f(),X=I7();return Z||X},r:function(Z){var X=X0(Z);X!==null&&X.tag===5&&X.type==="form"?Xz(X):p6.r(Z)},D:function(Z){p6.D(Z),sj("dns-prefetch",Z,null)},C:function(Z,X){p6.C(Z,X),sj("preconnect",Z,X)},L:function(Z,X,q){p6.L(Z,X,q);var K=P8;if(K&&Z&&X){var W='link[rel="preload"][as="'+n2(X)+'"]';X==="image"?q&&q.imageSrcSet?(W+='[imagesrcset="'+n2(q.imageSrcSet)+'"]',typeof q.imageSizes==="string"&&(W+='[imagesizes="'+n2(q.imageSizes)+'"]')):W+='[href="'+n2(Z)+'"]':W+='[href="'+n2(Z)+'"]';var L=W;switch(X){case"style":L=S7(Z);break;case"script":L=T7(Z)}W3.has(L)||(Z=z0({rel:"preload",href:X==="image"&&q&&q.imageSrcSet?void 0:Z,as:X},q),W3.set(L,Z),K.querySelector(W)!==null||X==="style"&&K.querySelector(EH(L))||X==="script"&&K.querySelector(IH(L))||(X=K.createElement("link"),p5(X,"link",Z),r1(X),K.head.appendChild(X)))}},m:function(Z,X){p6.m(Z,X);var q=P8;if(q&&Z){var K=X&&typeof X.as==="string"?X.as:"script",W='link[rel="modulepreload"][as="'+n2(K)+'"][href="'+n2(Z)+'"]',L=W;switch(K){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":L=T7(Z)}if(!W3.has(L)&&(Z=z0({rel:"modulepreload",href:Z},X),W3.set(L,Z),q.querySelector(W)===null)){switch(K){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(q.querySelector(IH(L)))return}K=q.createElement("link"),p5(K,"link",Z),r1(K),q.head.appendChild(K)}}},X:function(Z,X){p6.X(Z,X);var q=P8;if(q&&Z){var K=_0(q).hoistableScripts,W=T7(Z),L=K.get(W);L||(L=q.querySelector(IH(W)),L||(Z=z0({src:Z,async:!0},X),(X=W3.get(W))&&Uw(Z,X),L=q.createElement("script"),r1(L),p5(L,"link",Z),q.head.appendChild(L)),L={type:"script",instance:L,count:1,state:null},K.set(W,L))}},S:function(Z,X,q){p6.S(Z,X,q);var K=P8;if(K&&Z){var W=_0(K).hoistableStyles,L=S7(Z);X=X||"default";var z=W.get(L);if(!z){var P={loading:p4,preload:null};if(z=K.querySelector(EH(L)))P.loading=gZ|w3;else{Z=z0({rel:"stylesheet",href:Z,"data-precedence":X},q),(q=W3.get(L))&&Fw(Z,q);var g=z=K.createElement("link");r1(g),p5(g,"link",Z),g._p=new Promise(function(D,i){g.onload=D,g.onerror=i}),g.addEventListener("load",function(){P.loading|=gZ}),g.addEventListener("error",function(){P.loading|=AN}),P.loading|=w3,$Q(z,X,K)}z={type:"stylesheet",instance:z,count:1,state:P},W.set(L,z)}}},M:function(Z,X){p6.M(Z,X);var q=P8;if(q&&Z){var K=_0(q).hoistableScripts,W=T7(Z),L=K.get(W);L||(L=q.querySelector(IH(W)),L||(Z=z0({src:Z,async:!0,type:"module"},X),(X=W3.get(W))&&Uw(Z,X),L=q.createElement("script"),r1(L),p5(L,"link",Z),q.head.appendChild(L)),L={type:"script",instance:L,count:1,state:null},K.set(W,L))}}};var P8=typeof document>"u"?null:document,xq=null,wy=60000,Wy=800,Ly=500,rW=0,iW=null,Eq=null,r4=gE,GZ={$$typeof:t3,Provider:null,Consumer:null,_currentValue:r4,_currentValue2:r4,_threadCount:0},kN="%c%s%c",fN="background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",lN="",Iq=" ",Fy=Function.prototype.bind,pN=!1,rN=null,iN=null,dN=null,aN=null,cN=null,sN=null,nN=null,oN=null,tN=null,eN=null;rN=function(Z,X,q,K){X=H(Z,X),X!==null&&(q=Q(X.memoizedState,q,0,K),X.memoizedState=q,X.baseState=q,Z.memoizedProps=z0({},Z.memoizedProps),q=c5(Z,2),q!==null&&X5(q,Z,2))},iN=function(Z,X,q){X=H(Z,X),X!==null&&(q=w(X.memoizedState,q,0),X.memoizedState=q,X.baseState=q,Z.memoizedProps=z0({},Z.memoizedProps),q=c5(Z,2),q!==null&&X5(q,Z,2))},dN=function(Z,X,q,K){X=H(Z,X),X!==null&&(q=Y(X.memoizedState,q,K),X.memoizedState=q,X.baseState=q,Z.memoizedProps=z0({},Z.memoizedProps),q=c5(Z,2),q!==null&&X5(q,Z,2))},aN=function(Z,X,q){Z.pendingProps=Q(Z.memoizedProps,X,0,q),Z.alternate&&(Z.alternate.pendingProps=Z.pendingProps),X=c5(Z,2),X!==null&&X5(X,Z,2)},cN=function(Z,X){Z.pendingProps=w(Z.memoizedProps,X,0),Z.alternate&&(Z.alternate.pendingProps=Z.pendingProps),X=c5(Z,2),X!==null&&X5(X,Z,2)},sN=function(Z,X,q){Z.pendingProps=Y(Z.memoizedProps,X,q),Z.alternate&&(Z.alternate.pendingProps=Z.pendingProps),X=c5(Z,2),X!==null&&X5(X,Z,2)},nN=function(Z){var X=c5(Z,2);X!==null&&X5(X,Z,2)},oN=function(Z){var X=J1(),q=c5(Z,X);q!==null&&X5(q,Z,X)},tN=function(Z){F=Z},eN=function(Z){U=Z};var yq=!0,vq=null,dW=!1,k9=null,f9=null,l9=null,DZ=new Map,hZ=new Map,p9=[],Uy="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" "),Sq=null;if(_Q.prototype.render=Ow.prototype.render=function(Z){var X=this._internalRoot;if(X===null)throw Error("Cannot update an unmounted root.");var q=arguments;typeof q[1]==="function"?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):p(q[1])?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof q[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),q=Z;var K=X.current,W=m2(K);Bw(K,W,q,X,null,null)},_Q.prototype.unmount=Ow.prototype.unmount=function(){var Z=arguments;if(typeof Z[0]==="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),Z=this._internalRoot,Z!==null){this._internalRoot=null;var X=Z.containerInfo;(h0&(D5|d2))!==A5&&console.error("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),Bw(Z.current,2,null,Z,null,null),I7(),X[N9]=null}},_Q.prototype.unstable_scheduleHydration=function(Z){if(Z){var X=a();Z={blockedOn:null,target:Z,priority:X};for(var q=0;q<p9.length&&X!==0&&X<p9[q].priority;q++);p9.splice(q,0,Z),q===0&&WR(Z)}},function(){var Z=C8.version;if(Z!=="19.2.7")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
224
|
+
- react: `+(Z+`
|
|
225
|
+
- react-dom: 19.2.7
|
|
226
|
+
Learn more: https://react.dev/warnings/version-mismatch`))}(),typeof Map==="function"&&Map.prototype!=null&&typeof Map.prototype.forEach==="function"&&typeof Set==="function"&&Set.prototype!=null&&typeof Set.prototype.clear==="function"&&typeof Set.prototype.forEach==="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"),S0.findDOMNode=function(Z){var X=Z._reactInternals;if(X===void 0){if(typeof Z.render==="function")throw Error("Unable to find node on an unmounted component.");throw Z=Object.keys(Z).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+Z)}return Z=B1(X),Z=Z!==null?c(Z):null,Z=Z===null?null:Z.stateNode,Z},!function(){var Z={bundleType:1,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:X1,reconcilerVersion:"19.2.7"};return Z.overrideHookState=rN,Z.overrideHookStateDeletePath=iN,Z.overrideHookStateRenamePath=dN,Z.overrideProps=aN,Z.overridePropsDeletePath=cN,Z.overridePropsRenamePath=sN,Z.scheduleUpdate=nN,Z.scheduleRetry=oN,Z.setErrorHandler=tN,Z.setSuspenseHandler=eN,Z.scheduleRefresh=_,Z.scheduleRoot=$,Z.setRefreshHandler=v,Z.getCurrentFiber=RE,I0(Z)}()&&Q6&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var HP=window.location.protocol;/^(https?|file):$/.test(HP)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(HP==="file:"?`
|
|
227
|
+
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}Dy.createRoot=function(Z,X){if(!p(Z))throw Error("Target container is not a DOM element.");BR(Z);var q=!1,K="",W=Lz,L=Fz,z=Uz;return X!==null&&X!==void 0&&(X.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof X==="object"&&X!==null&&X.$$typeof===o3&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
228
|
+
|
|
229
|
+
let root = createRoot(domContainer);
|
|
230
|
+
root.render(<App />);`),X.unstable_strictMode===!0&&(q=!0),X.identifierPrefix!==void 0&&(K=X.identifierPrefix),X.onUncaughtError!==void 0&&(W=X.onUncaughtError),X.onCaughtError!==void 0&&(L=X.onCaughtError),X.onRecoverableError!==void 0&&(z=X.onRecoverableError)),X=XR(Z,1,!1,null,null,q,K,null,W,L,z,UR),Z[N9]=X.current,eK(Z),new Ow(X)},Dy.hydrateRoot=function(Z,X,q){if(!p(Z))throw Error("Target container is not a DOM element.");BR(Z),X===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var K=!1,W="",L=Lz,z=Fz,P=Uz,g=null;return q!==null&&q!==void 0&&(q.unstable_strictMode===!0&&(K=!0),q.identifierPrefix!==void 0&&(W=q.identifierPrefix),q.onUncaughtError!==void 0&&(L=q.onUncaughtError),q.onCaughtError!==void 0&&(z=q.onCaughtError),q.onRecoverableError!==void 0&&(P=q.onRecoverableError),q.formState!==void 0&&(g=q.formState)),X=XR(Z,1,!0,X,q!=null?q:null,K,W,g,L,z,P,UR),X.context=QR(null),q=X.current,K=m2(q),K=k5(K),W=w9(K),W.callback=null,W9(q,W,K),m3(K,"hydrateRoot()",null),q=K,X.current.lanes=q,S1(X,q),s3(X),Z[N9]=X.current,eK(Z),new _Q(X)},Dy.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var JP=o5((ba,YP)=>{var hy=K5(qP());YP.exports=hy});function _y(H){let Q=[],Y=-1;while(++Y<H.length)Q[Y]=i9(H[Y]);return Aq(J);function J(...w){let U=-1;while(++U<Q.length)if(Q[U].apply(this,w))return!0;return!1}}function xy(H){let Q=H;return Aq(Y);function Y(J){let w=J,U;for(U in H)if(w[U]!==Q[U])return!1;return!0}}function Ey(H){return Aq(Q);function Q(Y){return Y&&Y.type===H}}function Aq(H){return Q;function Q(Y,J,w){return Boolean(yy(Y)&&H.call(this,Y,typeof J==="number"?J:void 0,w||void 0))}}function Iy(){return!0}function yy(H){return H!==null&&typeof H==="object"&&"type"in H}var i9=function(H){if(H===null||H===void 0)return Iy;if(typeof H==="function")return Aq(H);if(typeof H==="object")return Array.isArray(H)?_y(H):xy(H);if(typeof H==="string")return Ey(H);throw Error("Expected function, string, or object as test")};var mq=()=>{};function KP(H){return H}function a4(H,Q,Y,J){let w;if(typeof Q==="function"&&typeof Y!=="function")J=Y,Y=Q;else w=Q;let U=i9(w),F=J?-1:1;B(H,void 0,[])();function B(V,N,R){let O=V&&typeof V==="object"?V:{};if(typeof O.type==="string"){let $=typeof O.tagName==="string"?O.tagName:typeof O.name==="string"?O.name:void 0;Object.defineProperty(C,"name",{value:"node ("+KP(V.type+($?"<"+$+">":""))+")"})}return C;function C(){let $=wP,_,v,p;if(!Q||U(V,N,R[R.length-1]||void 0)){if($=vy(Y(V,R)),$[0]===d4)return $}if("children"in V&&V.children){let m=V;if(m.children&&$[0]!==g3){v=(J?m.children.length:-1)+F,p=R.concat(m);while(v>-1&&v<m.children.length){let Z1=m.children[v];if(_=B(Z1,v,p)(),_[0]===d4)return _;v=typeof _[1]==="number"?_[1]:v+F}}}return $}}}function vy(H){if(Array.isArray(H))return H;if(typeof H==="number")return[i6,H];return H===null||H===void 0?wP:[H]}var wP,i6=!0,d4=!1,g3="skip";var WP=l(()=>{mq();wP=[]});var _Z=l(()=>{WP()});function t5(H,Q,Y,J){let w,U,F;if(typeof Q==="function"&&typeof Y!=="function")U=void 0,F=Q,w=Y;else U=Q,F=Y,w=J;a4(H,U,B,w);function B(V,N){let R=N[N.length-1],O=R?R.children.indexOf(V):void 0;return F(V,O,R)}}var LP=l(()=>{_Z();_Z()});var b8=l(()=>{LP()});function BP({defaultOrigin:H="",allowedLinkPrefixes:Q=[],allowedImagePrefixes:Y=[],allowDataImages:J=!1,allowedProtocols:w=[],blockedImageClass:U="inline-block bg-gray-200 dark:bg-gray-700 text-gray-600 dark:text-gray-400 px-3 py-1 rounded text-sm",blockedLinkClass:F="text-gray-500",linkBlockPolicy:B=$8.indicator,imageBlockPolicy:V=$8.indicator}){let N=Q.length&&!Q.every((O)=>O==="*"),R=Y.length&&!Y.every((O)=>O==="*");if(!H&&(N||R))throw Error("defaultOrigin is required when allowedLinkPrefixes or allowedImagePrefixes are provided");return(O)=>{let C=ky(H,Q,Y,J,w,U,F,B,V);VP(O),t5(O,C)}}function FP(H,Q){if(typeof H!=="string")return null;try{return new URL(H)}catch{if(Q)try{return new URL(H,Q)}catch{return null}if(H.startsWith("/")||H.startsWith("./")||H.startsWith("../"))try{return new URL(H,"http://example.com")}catch{return null}return null}}function Sy(H){if(typeof H!=="string")return!1;return H.startsWith("/")||H.startsWith("./")||H.startsWith("../")}function UP(H,Q,Y,J=!1,w=!1,U=[]){if(!H)return null;if(typeof H==="string"&&H.startsWith("#")&&!w)try{if(new URL(H,"http://example.com").hash===H)return H}catch{}if(typeof H==="string"&&H.startsWith("data:")){if(w&&J&&H.startsWith("data:image/"))return H;return null}if(typeof H==="string"&&H.startsWith("blob:")){try{if(new URL(H).protocol==="blob:"&&H.length>5){let R=H.substring(5);if(R&&R.length>0&&R!=="invalid")return H}}catch{return null}return null}let F=FP(H,Y);if(!F)return null;if(Ay.has(F.protocol))return null;if(!(Ty.has(F.protocol)||U.includes(F.protocol)||U.includes("*")))return null;if(F.protocol==="mailto:"||!F.protocol.match(/^https?:$/))return F.href;let V=Sy(H);if(F&&Q.some((N)=>{let R=FP(N,Y);if(!R)return!1;if(R.origin!==F.origin)return!1;return F.href.startsWith(R.href)})){if(V)return F.pathname+F.search+F.hash;return F.href}if(Q.includes("*")){if(F.protocol!=="https:"&&F.protocol!=="http:")return null;if(V)return F.pathname+F.search+F.hash;return F.href}return null}function VP(H){if("children"in H&&Array.isArray(H.children)){H.children=H.children.filter((Q)=>Q!=null);for(let Q of H.children)VP(Q)}}function my(H,Q,Y){if(Q===$8.remove)return{type:"remove"};if(Q===$8.textOnly)return{type:"replace",element:{type:"element",tagName:"span",properties:{},children:[...H.children]}};return{type:"replace",element:{type:"element",tagName:"span",properties:{title:"Blocked URL: "+String(H.properties.href),class:Y},children:[...H.children,{type:"text",value:" [blocked]"}]}}}function uy(H,Q,Y){if(Q===$8.remove)return{type:"remove"};if(Q===$8.textOnly){let J=String(H.properties.alt||"");if(!J)return{type:"remove"};return{type:"replace",element:{type:"element",tagName:"span",properties:{},children:[{type:"text",value:J}]}}}return{type:"replace",element:{type:"element",tagName:"span",properties:{class:Y},children:[{type:"text",value:"[Image blocked: "+String(H.properties.alt||"No description")+"]"}]}}}var $8,Ty,Ay,oW,ky=(H,Q,Y,J,w,U,F,B,V)=>{let N=(R,O,C)=>{if(R.type!=="element"||R[oW])return i6;if(R.tagName==="a"){let $=UP(R.properties.href,Q,H,!1,!1,w);if($===null){if(R[oW]=!0,t5(R,N),C&&typeof O==="number"){let _=my(R,B,F);if(_.type==="remove")return C.children.splice(O,1),[g3,O];C.children[O]=_.element}return g3}else return R.properties.href=$,R.properties.target="_blank",R.properties.rel="noopener noreferrer",i6}if(R.tagName==="img"){let $=UP(R.properties.src,Y,H,J,!0,w);if($===null){if(R[oW]=!0,t5(R,N),C&&typeof O==="number"){let _=uy(R,V,U);if(_.type==="remove")return C.children.splice(O,1),[g3,O];C.children[O]=_.element}return g3}else return R.properties.src=$,i6}return i6};return N};var zP=l(()=>{b8();$8={indicator:"indicator",textOnly:"text-only",remove:"remove"};Ty=new Set(["https:","http:","irc:","ircs:","mailto:","xmpp:","blob:"]),Ay=new Set(["javascript:","data:","file:","vbscript:"]);oW=Symbol("node-seen")});var uq=-1,g8=0,c4=1,G8=2,xZ=3,EZ=4,IZ=5,yZ=6,kq=7,fq=8;var fy,jP=(H,Q)=>{switch(H){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw TypeError("unable to deserialize "+H)}return new fy[H](Q)},ly=(H,Q)=>{let Y=(w,U)=>{return H.set(U,w),w},J=(w)=>{if(H.has(w))return H.get(w);let[U,F]=Q[w];switch(U){case g8:case uq:return Y(F,w);case c4:{let B=Y([],w);for(let V of F)B.push(J(V));return B}case G8:{let B=Y({},w);for(let[V,N]of F)B[J(V)]=J(N);return B}case xZ:return Y(new Date(F),w);case EZ:{let{source:B,flags:V}=F;return Y(new RegExp(B,V),w)}case IZ:{let B=Y(new Map,w);for(let[V,N]of F)B.set(J(V),J(N));return B}case yZ:{let B=Y(new Set,w);for(let V of F)B.add(J(V));return B}case kq:{let{name:B,message:V}=F;return Y(jP(B,V),w)}case fq:return Y(BigInt(F),w);case"BigInt":return Y(Object(BigInt(F)),w);case"ArrayBuffer":return Y(new Uint8Array(F).buffer,F);case"DataView":{let{buffer:B}=new Uint8Array(F);return Y(new DataView(B),F)}}return Y(jP(U,F),w)};return J},tW=(H)=>ly(new Map,H)(0);var RP=l(()=>{fy=typeof self==="object"?self:globalThis});var s4="",py,ry,vZ=(H)=>{let Q=typeof H;if(Q!=="object"||!H)return[g8,Q];let Y=py.call(H).slice(8,-1);switch(Y){case"Array":return[c4,s4];case"Object":return[G8,s4];case"Date":return[xZ,s4];case"RegExp":return[EZ,s4];case"Map":return[IZ,s4];case"Set":return[yZ,s4];case"DataView":return[c4,Y]}if(Y.includes("Array"))return[c4,Y];if(Y.includes("Error"))return[kq,Y];return[G8,Y]},lq=([H,Q])=>H===g8&&(Q==="function"||Q==="symbol"),iy=(H,Q,Y,J)=>{let w=(F,B)=>{let V=J.push(F)-1;return Y.set(B,V),V},U=(F)=>{if(Y.has(F))return Y.get(F);let[B,V]=vZ(F);switch(B){case g8:{let R=F;switch(V){case"bigint":B=fq,R=F.toString();break;case"function":case"symbol":if(H)throw TypeError("unable to serialize "+V);R=null;break;case"undefined":return w([uq],F)}return w([B,R],F)}case c4:{if(V){let C=F;if(V==="DataView")C=new Uint8Array(F.buffer);else if(V==="ArrayBuffer")C=new Uint8Array(F);return w([V,[...C]],F)}let R=[],O=w([B,R],F);for(let C of F)R.push(U(C));return O}case G8:{if(V)switch(V){case"BigInt":return w([V,F.toString()],F);case"Boolean":case"Number":case"String":return w([V,F.valueOf()],F)}if(Q&&"toJSON"in F)return U(F.toJSON());let R=[],O=w([B,R],F);for(let C of ry(F))if(H||!lq(vZ(F[C])))R.push([U(C),U(F[C])]);return O}case xZ:return w([B,isNaN(F.getTime())?s4:F.toISOString()],F);case EZ:{let{source:R,flags:O}=F;return w([B,{source:R,flags:O}],F)}case IZ:{let R=[],O=w([B,R],F);for(let[C,$]of F)if(H||!(lq(vZ(C))||lq(vZ($))))R.push([U(C),U($)]);return O}case yZ:{let R=[],O=w([B,R],F);for(let C of F)if(H||!lq(vZ(C)))R.push(U(C));return O}}let{message:N}=F;return w([B,{name:V,message:N}],F)};return U},eW=(H,{json:Q,lossy:Y}={})=>{let J=[];return iy(!(Q||Y),!!Q,new Map,J)(H),J};var OP=l(()=>{({toString:py}={}),{keys:ry}=Object});var G3;var SZ=l(()=>{RP();OP();G3=typeof structuredClone==="function"?(H,Q)=>Q&&(("json"in Q)||("lossy"in Q))?tW(eW(H,Q)):structuredClone(H):(H,Q)=>tW(eW(H,Q))});var NP=()=>{};function I(H,Q){dy(Boolean(H),!1,!0,"ok","Expected value to be truthy",Q)}function dy(H,Q,Y,J,w,U){if(!H)throw U instanceof Error?U:new PP(U||w,Q,Y,J,!U)}var PP;var q0=l(()=>{NP();PP=class PP extends Error{name="Assertion";code="ERR_ASSERTION";constructor(H,Q,Y,J,w){super(H);if(Error.captureStackTrace)Error.captureStackTrace(this,this.constructor);this.actual=Q,this.expected=Y,this.generated=w,this.operator=J}}});class d9{constructor(H,Q,Y){if(this.normal=Q,this.property=H,Y)this.space=Y}}var HL=l(()=>{d9.prototype.normal={};d9.prototype.property={};d9.prototype.space=void 0});function ZL(H,Q){let Y={},J={};for(let w of H)Object.assign(Y,w.property),Object.assign(J,w.normal);return new d9(Y,J,Q)}var MP=l(()=>{HL()});function d6(H){return H.toLowerCase()}class d5{constructor(H,Q){this.attribute=Q,this.property=H}}var XL=l(()=>{d5.prototype.attribute="";d5.prototype.booleanish=!1;d5.prototype.boolean=!1;d5.prototype.commaOrSpaceSeparated=!1;d5.prototype.commaSeparated=!1;d5.prototype.defined=!1;d5.prototype.mustUseProperty=!1;d5.prototype.number=!1;d5.prototype.overloadedBoolean=!1;d5.prototype.property="";d5.prototype.spaceSeparated=!1;d5.prototype.space=void 0});var TZ={};M8(TZ,{spaceSeparated:()=>m0,overloadedBoolean:()=>pq,number:()=>M1,commaSeparated:()=>a6,commaOrSpaceSeparated:()=>_2,booleanish:()=>w5,boolean:()=>Z0});function n4(){return 2**++ay}var ay=0,Z0,w5,pq,M1,m0,a6,_2;var AZ=l(()=>{Z0=n4(),w5=n4(),pq=n4(),M1=n4(),m0=n4(),a6=n4(),_2=n4()});function CP(H,Q,Y){if(Y)H[Q]=Y}var QL,D8;var qL=l(()=>{XL();AZ();QL=Object.keys(TZ);D8=class D8 extends d5{constructor(H,Q,Y,J){let w=-1;super(H,Q);if(CP(this,"space",J),typeof Y==="number")while(++w<QL.length){let U=QL[w];CP(this,QL[w],(Y&TZ[U])===TZ[U])}}};D8.prototype.defined=!0});function L3(H){let Q={},Y={};for(let[J,w]of Object.entries(H.properties)){let U=new D8(J,H.transform(H.attributes||{},J),w,H.space);if(H.mustUseProperty&&H.mustUseProperty.includes(J))U.mustUseProperty=!0;Q[J]=U,Y[d6(J)]=J,Y[d6(U.attribute)]=J}return new d9(Q,Y,H.space)}var o4=l(()=>{qL();HL()});var YL;var bP=l(()=>{o4();AZ();YL=L3({properties:{ariaActiveDescendant:null,ariaAtomic:w5,ariaAutoComplete:null,ariaBusy:w5,ariaChecked:w5,ariaColCount:M1,ariaColIndex:M1,ariaColSpan:M1,ariaControls:m0,ariaCurrent:null,ariaDescribedBy:m0,ariaDetails:null,ariaDisabled:w5,ariaDropEffect:m0,ariaErrorMessage:null,ariaExpanded:w5,ariaFlowTo:m0,ariaGrabbed:w5,ariaHasPopup:null,ariaHidden:w5,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:m0,ariaLevel:M1,ariaLive:null,ariaModal:w5,ariaMultiLine:w5,ariaMultiSelectable:w5,ariaOrientation:null,ariaOwns:m0,ariaPlaceholder:null,ariaPosInSet:M1,ariaPressed:w5,ariaReadOnly:w5,ariaRelevant:null,ariaRequired:w5,ariaRoleDescription:m0,ariaRowCount:M1,ariaRowIndex:M1,ariaRowSpan:M1,ariaSelected:w5,ariaSetSize:M1,ariaSort:null,ariaValueMax:M1,ariaValueMin:M1,ariaValueNow:M1,ariaValueText:null,role:null},transform(H,Q){return Q==="role"?Q:"aria-"+Q.slice(4).toLowerCase()}})});function rq(H,Q){return Q in H?H[Q]:Q}function iq(H,Q){return rq(H,Q.toLowerCase())}var JL=()=>{};var $P;var gP=l(()=>{JL();o4();AZ();$P=L3({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:a6,acceptCharset:m0,accessKey:m0,action:null,allow:null,allowFullScreen:Z0,allowPaymentRequest:Z0,allowUserMedia:Z0,alpha:Z0,alt:null,as:null,async:Z0,autoCapitalize:null,autoComplete:m0,autoFocus:Z0,autoPlay:Z0,blocking:m0,capture:null,charSet:null,checked:Z0,cite:null,className:m0,closedBy:null,colorSpace:null,cols:M1,colSpan:M1,command:null,commandFor:null,content:null,contentEditable:w5,controls:Z0,controlsList:m0,coords:M1|a6,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Z0,defer:Z0,dir:null,dirName:null,disabled:Z0,download:pq,draggable:w5,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Z0,formTarget:null,headers:m0,height:M1,hidden:pq,high:M1,href:null,hrefLang:null,htmlFor:m0,httpEquiv:m0,id:null,imageSizes:null,imageSrcSet:null,inert:Z0,inputMode:null,integrity:null,is:null,isMap:Z0,itemId:null,itemProp:m0,itemRef:m0,itemScope:Z0,itemType:m0,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Z0,low:M1,manifest:null,max:null,maxLength:M1,media:null,method:null,min:null,minLength:M1,multiple:Z0,muted:Z0,name:null,nonce:null,noModule:Z0,noValidate:Z0,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:Z0,optimum:M1,pattern:null,ping:m0,placeholder:null,playsInline:Z0,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Z0,referrerPolicy:null,rel:m0,required:Z0,reversed:Z0,rows:M1,rowSpan:M1,sandbox:m0,scope:null,scoped:Z0,seamless:Z0,selected:Z0,shadowRootClonable:Z0,shadowRootCustomElementRegistry:Z0,shadowRootDelegatesFocus:Z0,shadowRootMode:null,shadowRootSerializable:Z0,shape:null,size:M1,sizes:null,slot:null,span:M1,spellCheck:w5,src:null,srcDoc:null,srcLang:null,srcSet:null,start:M1,step:null,style:null,tabIndex:M1,target:null,title:null,translate:null,type:null,typeMustMatch:Z0,useMap:null,value:w5,width:M1,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:m0,axis:null,background:null,bgColor:null,border:M1,borderColor:null,bottomMargin:M1,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Z0,declare:Z0,event:null,face:null,frame:null,frameBorder:null,hSpace:M1,leftMargin:M1,link:null,longDesc:null,lowSrc:null,marginHeight:M1,marginWidth:M1,noResize:Z0,noHref:Z0,noShade:Z0,noWrap:Z0,object:null,profile:null,prompt:null,rev:null,rightMargin:M1,rules:null,scheme:null,scrolling:w5,standby:null,summary:null,text:null,topMargin:M1,valueType:null,version:null,vAlign:null,vLink:null,vSpace:M1,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:Z0,disablePictureInPicture:Z0,disableRemotePlayback:Z0,exportParts:a6,part:m0,prefix:null,property:null,results:M1,security:null,unselectable:null},space:"html",transform:iq})});var GP;var DP=l(()=>{o4();AZ();GP=L3({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:_2,accentHeight:M1,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:M1,amplitude:M1,arabicForm:null,ascent:M1,attributeName:null,attributeType:null,azimuth:M1,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:M1,by:null,calcMode:null,capHeight:M1,className:m0,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:M1,diffuseConstant:M1,direction:null,display:null,dur:null,divisor:M1,dominantBaseline:null,download:Z0,dx:null,dy:null,edgeMode:null,editable:null,elevation:M1,enableBackground:null,end:null,event:null,exponent:M1,externalResourcesRequired:null,fill:null,fillOpacity:M1,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:a6,g2:a6,glyphName:a6,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:M1,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:M1,horizOriginX:M1,horizOriginY:M1,id:null,ideographic:M1,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:M1,k:M1,k1:M1,k2:M1,k3:M1,k4:M1,kernelMatrix:_2,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:M1,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:M1,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:M1,overlineThickness:M1,paintOrder:null,panose1:null,path:null,pathLength:M1,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:m0,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:M1,pointsAtY:M1,pointsAtZ:M1,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:_2,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:_2,rev:_2,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:_2,requiredFeatures:_2,requiredFonts:_2,requiredFormats:_2,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:M1,specularExponent:M1,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:M1,strikethroughThickness:M1,string:null,stroke:null,strokeDashArray:_2,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:M1,strokeOpacity:M1,strokeWidth:null,style:null,surfaceScale:M1,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:_2,tabIndex:M1,tableValues:null,target:null,targetX:M1,targetY:M1,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:_2,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:M1,underlineThickness:M1,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:M1,values:null,vAlphabetic:M1,vMathematical:M1,vectorEffect:null,vHanging:M1,vIdeographic:M1,version:null,vertAdvY:M1,vertOriginX:M1,vertOriginY:M1,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:M1,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:rq})});var KL;var hP=l(()=>{o4();KL=L3({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(H,Q){return"xlink:"+Q.slice(5).toLowerCase()}})});var wL;var _P=l(()=>{o4();JL();wL=L3({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:iq})});var WL;var xP=l(()=>{o4();WL=L3({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(H,Q){return"xml:"+Q.slice(3).toLowerCase()}})});var LL;var EP=l(()=>{LL={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"}});function c6(H,Q){let Y=d6(Q),J=Q,w=d5;if(Y in H.normal)return H.property[H.normal[Y]];if(Y.length>4&&Y.slice(0,4)==="data"&&sy.test(Q)){if(Q.charAt(4)==="-"){let U=Q.slice(5).replace(IP,oy);J="data"+U.charAt(0).toUpperCase()+U.slice(1)}else{let U=Q.slice(4);if(!IP.test(U)){let F=U.replace(cy,ny);if(F.charAt(0)!=="-")F="-"+F;Q="data"+F}}w=D8}return new w(J,Q)}function ny(H){return"-"+H.toLowerCase()}function oy(H){return H.charAt(1).toUpperCase()}var cy,IP,sy;var yP=l(()=>{qL();XL();cy=/[A-Z]/g,IP=/-[a-z]/g,sy=/^data[-\w.:]+$/i});var s6,F3;var h8=l(()=>{MP();bP();gP();DP();hP();_P();xP();EP();yP();s6=ZL([YL,$P,KL,wL,WL],"html"),F3=ZL([YL,GP,KL,wL,WL],"svg")});function FL(H){let Q=[],Y=String(H||""),J=Y.indexOf(","),w=0,U=!1;while(!U){if(J===-1)J=Y.length,U=!0;let F=Y.slice(w,J).trim();if(F||!U)Q.push(F);w=J+1,J=Y.indexOf(",",w)}return Q}function dq(H,Q){let Y=Q||{};return(H[H.length-1]===""?[...H,""]:H).join((Y.padRight?" ":"")+","+(Y.padLeft===!1?"":" ")).trim()}function UL(H,Q){let Y=H||"",J={},w=0,U,F;while(w<Y.length){vP.lastIndex=w;let B=vP.exec(Y),V=Y.slice(w,B?B.index:Y.length);if(V){if(!U)F=V;else if(U==="#")J.id=V;else if(Array.isArray(J.className))J.className.push(V);else J.className=[V];w+=V.length}if(B)U=B[0],w++}return{type:"element",tagName:F||Q||"div",properties:J,children:[]}}var vP;var SP=l(()=>{vP=/[#.]/g});var TP=l(()=>{SP()});function BL(H){let Q=String(H||"").trim();return Q?Q.split(/[ \t\n\r\f]+/g):[]}function aq(H){return H.join(" ").trim()}function zL(H,Q,Y){let J=Y?Zv(Y):void 0;function w(U,F,...B){let V;if(U===null||U===void 0){V={type:"root",children:[]};let N=F;B.unshift(N)}else{V=UL(U,Q);let N=V.tagName.toLowerCase(),R=J?J.get(N):void 0;if(V.tagName=R||N,ty(F))B.unshift(F);else for(let[O,C]of Object.entries(F))ey(H,V.properties,O,C)}for(let N of B)VL(V.children,N);if(V.type==="element"&&V.tagName==="template")V.content={type:"root",children:V.children},V.children=[];return V}return w}function ty(H){if(H===null||typeof H!=="object"||Array.isArray(H))return!0;if(typeof H.type!=="string")return!1;let Q=H,Y=Object.keys(H);for(let J of Y){let w=Q[J];if(w&&typeof w==="object"){if(!Array.isArray(w))return!0;let U=w;for(let F of U)if(typeof F!=="number"&&typeof F!=="string")return!0}}if("children"in H&&Array.isArray(H.children))return!0;return!1}function ey(H,Q,Y,J){let w=c6(H,Y),U;if(J===null||J===void 0)return;if(typeof J==="number"){if(Number.isNaN(J))return;U=J}else if(typeof J==="boolean")U=J;else if(typeof J==="string")if(w.spaceSeparated)U=BL(J);else if(w.commaSeparated)U=FL(J);else if(w.commaOrSpaceSeparated)U=BL(FL(J).join(" "));else U=AP(w,w.property,J);else if(Array.isArray(J))U=[...J];else U=w.property==="style"?Hv(J):String(J);if(Array.isArray(U)){let F=[];for(let B of U)F.push(AP(w,w.property,B));U=F}if(w.property==="className"&&Array.isArray(Q.className))U=Q.className.concat(U);Q[w.property]=U}function VL(H,Q){if(Q===null||Q===void 0);else if(typeof Q==="number"||typeof Q==="string")H.push({type:"text",value:String(Q)});else if(Array.isArray(Q))for(let Y of Q)VL(H,Y);else if(typeof Q==="object"&&"type"in Q)if(Q.type==="root")VL(H,Q.children);else H.push(Q);else throw Error("Expected node, nodes, or string, got `"+Q+"`")}function AP(H,Q,Y){if(typeof Y==="string"){if(H.number&&Y&&!Number.isNaN(Number(Y)))return Number(Y);if((H.boolean||H.overloadedBoolean)&&(Y===""||d6(Y)===d6(Q)))return!0}return Y}function Hv(H){let Q=[];for(let[Y,J]of Object.entries(H))Q.push([Y,J].join(": "));return Q.join("; ")}function Zv(H){let Q=new Map;for(let Y of H)Q.set(Y.toLowerCase(),Y);return Q}var mP=l(()=>{TP();h8()});var uP;var kP=l(()=>{uP=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]});var jL,RL;var fP=l(()=>{h8();mP();kP();jL=zL(s6,"div"),RL=zL(F3,"g",uP)});var lP=l(()=>{fP()});function OL(H){let Q=String(H),Y=[];return{toOffset:w,toPoint:J};function J(U){if(typeof U==="number"&&U>-1&&U<=Q.length){let F=0;while(!0){let B=Y[F];if(B===void 0){let V=pP(Q,Y[F-1]);B=V===-1?Q.length+1:V+1,Y[F]=B}if(B>U)return{line:F+1,column:U-(F>0?Y[F-1]:0)+1,offset:U};F++}}}function w(U){if(U&&typeof U.line==="number"&&typeof U.column==="number"&&!Number.isNaN(U.line)&&!Number.isNaN(U.column)){while(Y.length<U.line){let B=Y[Y.length-1],V=pP(Q,B),N=V===-1?Q.length+1:V+1;if(B===N)break;Y.push(N)}let F=(U.line>1?Y[U.line-2]:0)+U.column-1;if(F<Y[U.line-1])return F}}}function pP(H,Q){let Y=H.indexOf("\r",Q),J=H.indexOf(`
|
|
231
|
+
`,Q);if(J===-1)return Y;if(Y===-1||Y+1===J)return J;return Y<J?Y:J}var rP=()=>{};var W6;var cq=l(()=>{W6={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}});function NL(H,Q){let Y=Q||{};return PL({file:Y.file||void 0,location:!1,schema:Y.space==="svg"?F3:s6,verbose:Y.verbose||!1},H)}function PL(H,Q){let Y;switch(Q.nodeName){case"#comment":{let J=Q;return Y={type:"comment",value:J.data},sq(H,J,Y),Y}case"#document":case"#document-fragment":{let J=Q,w="mode"in J?J.mode==="quirks"||J.mode==="limited-quirks":!1;if(Y={type:"root",children:aP(H,Q.childNodes),data:{quirksMode:w}},H.file&&H.location){let U=String(H.file),F=OL(U),B=F.toPoint(0),V=F.toPoint(U.length);I(B,"expected `start`"),I(V,"expected `end`"),Y.position={start:B,end:V}}return Y}case"#documentType":{let J=Q;return Y={type:"doctype"},sq(H,J,Y),Y}case"#text":{let J=Q;return Y={type:"text",value:J.value},sq(H,J,Y),Y}default:return Y=Qv(H,Q),Y}}function aP(H,Q){let Y=-1,J=[];while(++Y<Q.length){let w=PL(H,Q[Y]);J.push(w)}return J}function Qv(H,Q){let Y=H.schema;H.schema=Q.namespaceURI===W6.svg?F3:s6;let J=-1,w={};while(++J<Q.attrs.length){let B=Q.attrs[J],V=(B.prefix?B.prefix+":":"")+B.name;if(!dP.call(Xv,V))w[V]=B.value}let F=(H.schema.space==="svg"?RL:jL)(Q.tagName,w,aP(H,Q.childNodes));if(sq(H,Q,F),F.tagName==="template"){let B=Q,V=B.sourceCodeLocation,N=V&&V.startTag&&_8(V.startTag),R=V&&V.endTag&&_8(V.endTag),O=PL(H,B.content);if(N&&R&&H.file)O.position={start:N.end,end:R.start};F.content=O}return H.schema=Y,F}function sq(H,Q,Y){if("sourceCodeLocation"in Q&&Q.sourceCodeLocation&&H.file){let J=qv(H,Y,Q.sourceCodeLocation);if(J)H.location=!0,Y.position=J}}function qv(H,Q,Y){let J=_8(Y);if(Q.type==="element"){let w=Q.children[Q.children.length-1];if(J&&!Y.endTag&&w&&w.position&&w.position.end)J.end=Object.assign({},w.position.end);if(H.verbose){let U={},F;if(Y.attrs){for(F in Y.attrs)if(dP.call(Y.attrs,F))U[c6(H.schema,F).property]=_8(Y.attrs[F])}I(Y.startTag,"a start tag should exist");let B=_8(Y.startTag),V=Y.endTag?_8(Y.endTag):void 0,N={opening:B};if(V)N.closing=V;N.properties=U,Q.data={position:N}}}return J}function _8(H){let Q=iP({line:H.startLine,column:H.startCol,offset:H.startOffset}),Y=iP({line:H.endLine,column:H.endCol,offset:H.endOffset});return Q||Y?{start:Q,end:Y}:void 0}function iP(H){return H.line&&H.column?H:void 0}var dP,Xv;var cP=l(()=>{q0();lP();h8();rP();cq();dP={}.hasOwnProperty,Xv=Object.prototype});var sP=l(()=>{cP()});function nq(H,Q){let Y=Q||{};function J(w,...U){let{invalid:F,handlers:B}=J;if(w&&nP.call(w,H)){let V=String(w[H]);F=nP.call(B,V)?B[V]:J.unknown}if(F)return F.call(this,w,...U)}return J.handlers=Y.handlers||{},J.invalid=Y.invalid,J.unknown=Y.unknown,J}var nP;var ML=l(()=>{nP={}.hasOwnProperty});function CL(H,Q){let J=(Q||Yv).space;return oP(H,J==="svg"?F3:s6)}function Kv(H,Q){let Y={nodeName:"#document",mode:(H.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return Y.childNodes=bL(H.children,Y,Q),x8(H,Y),Y}function wv(H,Q){let Y={nodeName:"#document-fragment",childNodes:[]};return Y.childNodes=bL(H.children,Y,Q),x8(H,Y),Y}function Wv(H){let Q={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return x8(H,Q),Q}function Lv(H){let Q={nodeName:"#text",value:H.value,parentNode:null};return x8(H,Q),Q}function Fv(H){let Q={nodeName:"#comment",data:H.value,parentNode:null};return x8(H,Q),Q}function Uv(H,Q){let Y=Q,J=Y;if(H.type==="element"&&H.tagName.toLowerCase()==="svg"&&Y.space==="html")J=F3;let w=[],U;if(H.properties){for(U in H.properties)if(U!=="children"&&Jv.call(H.properties,U)){let V=Bv(J,U,H.properties[U]);if(V)w.push(V)}}let F=J.space;I(F);let B={nodeName:H.tagName,tagName:H.tagName,attrs:w,namespaceURI:W6[F],childNodes:[],parentNode:null};if(B.childNodes=bL(H.children,B,J),x8(H,B),H.tagName==="template"&&H.content)B.content=wv(H.content,J);return B}function Bv(H,Q,Y){let J=c6(H,Q);if(Y===!1||Y===null||Y===void 0||typeof Y==="number"&&Number.isNaN(Y)||!Y&&J.boolean)return;if(Array.isArray(Y))Y=J.commaSeparated?dq(Y):aq(Y);let w={name:J.attribute,value:Y===!0?"":String(Y)};if(J.space&&J.space!=="html"&&J.space!=="svg"){let U=w.name.indexOf(":");if(U<0)w.prefix="";else w.name=w.name.slice(U+1),w.prefix=J.attribute.slice(0,U);w.namespace=W6[J.space]}return w}function bL(H,Q,Y){let J=-1,w=[];if(H)while(++J<H.length){let U=oP(H[J],Y);U.parentNode=Q,w.push(U)}return w}function x8(H,Q){let Y=H.position;if(Y&&Y.start&&Y.end)I(typeof Y.start.offset==="number"),I(typeof Y.end.offset==="number"),Q.sourceCodeLocation={startLine:Y.start.line,startCol:Y.start.column,startOffset:Y.start.offset,endLine:Y.end.line,endCol:Y.end.column,endOffset:Y.end.offset}}var Yv,Jv,oP;var tP=l(()=>{q0();h8();cq();ML();Yv={},Jv={}.hasOwnProperty,oP=nq("type",{handlers:{root:Kv,element:Uv,text:Lv,comment:Fv,doctype:Wv}})});var eP=l(()=>{tP()});var HM;var ZM=l(()=>{HM=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"]});function oq(H){return H>=55296&&H<=57343}function XM(H){return H>=56320&&H<=57343}function QM(H,Q){return(H-55296)*1024+9216+Q}function tq(H){return H!==32&&H!==10&&H!==13&&H!==9&&H!==12&&H>=1&&H<=31||H>=127&&H<=159}function eq(H){return H>=64976&&H<=65007||Vv.has(H)}var Vv,c0="�",x,z2;var HY=l(()=>{Vv=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]);(function(H){H[H.EOF=-1]="EOF",H[H.NULL=0]="NULL",H[H.TABULATION=9]="TABULATION",H[H.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",H[H.LINE_FEED=10]="LINE_FEED",H[H.FORM_FEED=12]="FORM_FEED",H[H.SPACE=32]="SPACE",H[H.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",H[H.QUOTATION_MARK=34]="QUOTATION_MARK",H[H.AMPERSAND=38]="AMPERSAND",H[H.APOSTROPHE=39]="APOSTROPHE",H[H.HYPHEN_MINUS=45]="HYPHEN_MINUS",H[H.SOLIDUS=47]="SOLIDUS",H[H.DIGIT_0=48]="DIGIT_0",H[H.DIGIT_9=57]="DIGIT_9",H[H.SEMICOLON=59]="SEMICOLON",H[H.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",H[H.EQUALS_SIGN=61]="EQUALS_SIGN",H[H.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",H[H.QUESTION_MARK=63]="QUESTION_MARK",H[H.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",H[H.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",H[H.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",H[H.GRAVE_ACCENT=96]="GRAVE_ACCENT",H[H.LATIN_SMALL_A=97]="LATIN_SMALL_A",H[H.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(x||(x={}));z2={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"}});var q1;var mZ=l(()=>{(function(H){H.controlCharacterInInputStream="control-character-in-input-stream",H.noncharacterInInputStream="noncharacter-in-input-stream",H.surrogateInInputStream="surrogate-in-input-stream",H.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",H.endTagWithAttributes="end-tag-with-attributes",H.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",H.unexpectedSolidusInTag="unexpected-solidus-in-tag",H.unexpectedNullCharacter="unexpected-null-character",H.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",H.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",H.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",H.missingEndTagName="missing-end-tag-name",H.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",H.unknownNamedCharacterReference="unknown-named-character-reference",H.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",H.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",H.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",H.eofBeforeTagName="eof-before-tag-name",H.eofInTag="eof-in-tag",H.missingAttributeValue="missing-attribute-value",H.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",H.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",H.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",H.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",H.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",H.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",H.missingDoctypePublicIdentifier="missing-doctype-public-identifier",H.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",H.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",H.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",H.cdataInHtmlContent="cdata-in-html-content",H.incorrectlyOpenedComment="incorrectly-opened-comment",H.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",H.eofInDoctype="eof-in-doctype",H.nestedComment="nested-comment",H.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",H.eofInComment="eof-in-comment",H.incorrectlyClosedComment="incorrectly-closed-comment",H.eofInCdata="eof-in-cdata",H.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",H.nullCharacterReference="null-character-reference",H.surrogateCharacterReference="surrogate-character-reference",H.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",H.controlCharacterReference="control-character-reference",H.noncharacterCharacterReference="noncharacter-character-reference",H.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",H.missingDoctypeName="missing-doctype-name",H.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",H.duplicateAttribute="duplicate-attribute",H.nonConformingDoctype="non-conforming-doctype",H.missingDoctype="missing-doctype",H.misplacedDoctype="misplaced-doctype",H.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",H.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",H.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",H.openElementsLeftAfterEof="open-elements-left-after-eof",H.abandonedHeadElementChild="abandoned-head-element-child",H.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",H.nestedNoscriptInHead="nested-noscript-in-head",H.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(q1||(q1={}))});class $L{constructor(H){this.handler=H,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=jv,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(H,Q){let{line:Y,col:J,offset:w}=this,U=J+Q,F=w+Q;return{code:H,startLine:Y,endLine:Y,startCol:U,endCol:U,startOffset:F,endOffset:F}}_err(H){if(this.handler.onParseError&&this.lastErrOffset!==this.offset)this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(H,0))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(H){if(this.pos!==this.html.length-1){let Q=this.html.charCodeAt(this.pos+1);if(XM(Q))return this.pos++,this._addGap(),QM(H,Q)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,x.EOF;return this._err(q1.surrogateInInputStream),H}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){if(this.willDropParsedChunk())this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0}write(H,Q){if(this.html.length>0)this.html+=H;else this.html=H;this.endOfChunkHit=!1,this.lastChunkWritten=Q}insertHtmlAtCurrentPos(H){this.html=this.html.substring(0,this.pos+1)+H+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(H,Q){if(this.pos+H.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(Q)return this.html.startsWith(H,this.pos);for(let Y=0;Y<H.length;Y++)if((this.html.charCodeAt(this.pos+Y)|32)!==H.charCodeAt(Y))return!1;return!0}peek(H){let Q=this.pos+H;if(Q>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,x.EOF;let Y=this.html.charCodeAt(Q);return Y===x.CARRIAGE_RETURN?x.LINE_FEED:Y}advance(){if(this.pos++,this.isEol)this.isEol=!1,this.line++,this.lineStartPos=this.pos;if(this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,x.EOF;let H=this.html.charCodeAt(this.pos);if(H===x.CARRIAGE_RETURN)return this.isEol=!0,this.skipNextNewLine=!0,x.LINE_FEED;if(H===x.LINE_FEED){if(this.isEol=!0,this.skipNextNewLine)return this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()}if(this.skipNextNewLine=!1,oq(H))H=this._processSurrogate(H);if(!(this.handler.onParseError===null||H>31&&H<127||H===x.LINE_FEED||H===x.CARRIAGE_RETURN||H>159&&H<64976))this._checkForProblematicCharacters(H);return H}_checkForProblematicCharacters(H){if(tq(H))this._err(q1.controlCharacterInInputStream);else if(eq(H))this._err(q1.noncharacterInInputStream)}retreat(H){this.pos-=H;while(this.pos<this.lastGapPos)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var jv=65536;var qM=l(()=>{HY();mZ()});var a9={};M8(a9,{getTokenAttr:()=>uZ,TokenType:()=>G0});function uZ(H,Q){for(let Y=H.attrs.length-1;Y>=0;Y--)if(H.attrs[Y].name===Q)return H.attrs[Y].value;return null}var G0;var ZY=l(()=>{(function(H){H[H.CHARACTER=0]="CHARACTER",H[H.NULL_CHARACTER=1]="NULL_CHARACTER",H[H.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",H[H.START_TAG=3]="START_TAG",H[H.END_TAG=4]="END_TAG",H[H.COMMENT=5]="COMMENT",H[H.DOCTYPE=6]="DOCTYPE",H[H.EOF=7]="EOF",H[H.HIBERNATION=8]="HIBERNATION"})(G0||(G0={}))});var gL;var YM=l(()=>{gL=new Uint16Array("ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\x00\x00\x00\x00\x00\x00ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀\uD835\uDD04rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀\uD835\uDD38plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀\uD835\uDC9Cign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀\uD835\uDD05pf;쀀\uD835\uDD39eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀\uD835\uDC9EpĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀\uD835\uDD07Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\x00\x00\x00͔͂\x00Ѕf;쀀\uD835\uDD3Bƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\x00\x00ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\x00\x00ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\x00ц\x00ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\x00ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀\uD835\uDC9Frok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀\uD835\uDD08rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\x00\x00ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀\uD835\uDD3Csilon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀\uD835\uDD09lledɓ֗\x00\x00֣mallSquare;旼erySmallSquare;斪Ͱֺ\x00ֿ\x00\x00ׄf;쀀\uD835\uDD3DAll;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀\uD835\uDD0A;拙pf;쀀\uD835\uDD3Eeater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀\uD835\uDCA2;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\x00ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\x00ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀\uD835\uDD40a;䎙cr;愐ilde;䄨ǫޚ\x00ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀\uD835\uDD0Dpf;쀀\uD835\uDD41ǣ߇\x00ߌr;쀀\uD835\uDCA5rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀\uD835\uDD0Epf;쀀\uD835\uDD42cr;쀀\uD835\uDCA6րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\x00ࣃbleBracket;柦nǔࣈ\x00࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀\uD835\uDD0FĀ;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀\uD835\uDD43erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀\uD835\uDD10nusPlus;戓pf;쀀\uD835\uDD44cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀\uD835\uDD11ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀\uD835\uDCA9ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀\uD835\uDD12rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀\uD835\uDD46enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀\uD835\uDCAAash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀\uD835\uDD13i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀\uD835\uDCAB;䎨ȀUfos༑༖༛༟OT耻\"䀢r;쀀\uD835\uDD14pf;愚cr;쀀\uD835\uDCACBEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\x00စbleBracket;柧nǔည\x00နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀\uD835\uDD16ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀\uD835\uDD4Aɲᅭ\x00\x00ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀\uD835\uDCAEar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀\uD835\uDD17ĀeiቻDzኀ\x00ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀\uD835\uDD4BipleDot;惛Āctዖዛr;쀀\uD835\uDCAFrok;䅦ૡዷጎጚጦ\x00ጬጱ\x00\x00\x00\x00\x00ጸጽ፷ᎅ\x00ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\x00y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀\uD835\uDD18rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀\uD835\uDD4CЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀\uD835\uDCB0ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀\uD835\uDD19pf;쀀\uD835\uDD4Dcr;쀀\uD835\uDCB1dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀\uD835\uDD1Apf;쀀\uD835\uDD4Ecr;쀀\uD835\uDCB2Ȁfiosᓋᓐᓒᓘr;쀀\uD835\uDD1B;䎞pf;쀀\uD835\uDD4Fcr;쀀\uD835\uDCB3ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀\uD835\uDD1Cpf;쀀\uD835\uDD50cr;쀀\uD835\uDCB4ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\x00ᕛoWidtèa;䎖r;愨pf;愤cr;쀀\uD835\uDCB5ᖃᖊᖐ\x00ᖰᖶᖿ\x00\x00\x00\x00ᗆᗛᗫᙟ᙭\x00ᚕ᚛ᚲᚹ\x00ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀\uD835\uDD1Erave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\x00\x00ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀\uD835\uDD52;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀\uD835\uDCB6;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀\uD835\uDD1Fgcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\x00\x00ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\x00ᠳƲᠯ\x00ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀\uD835\uDD53Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀\uD835\uDCB7mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\x00᧨ᨑᨕᨲ\x00ᨷᩐ\x00\x00᪴\x00\x00᫁\x00\x00ᬡᬮ᭒\x00᯽\x00ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\x00᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀\uD835\uDD20ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\x00\x00᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\x00ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\x00\x00aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\x00ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀\uD835\uDD54oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀\uD835\uDCB8Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\x00\x00᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\x00\x00ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀\uD835\uDD21arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\x00\x00ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀\uD835\uDD55ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\x00\x00ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀\uD835\uDCB9;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀\uD835\uDD22ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀\uD835\uDD56ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\x00\x00ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\x00ᾞ\x00ᾡᾧ\x00\x00ῆῌ\x00ΐ\x00ῦῪ \x00 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\x00\x00᾽g;耀ffig;耀ffl;쀀\uD835\uDD23lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\x00ῳf;쀀\uD835\uDD57ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\x00⁐β•‥‧\x00耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\x00‶;慔;慖ʴ‾⁁\x00\x00⁃耻¾䂾;慗;慜5;慘ƶ⁌\x00⁎;慚;慝8;慞l;恄wn;挢cr;쀀\uD835\uDCBBࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀\uD835\uDD24Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀\uD835\uDD58Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\x00proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀\uD835\uDD25sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀\uD835\uDD59bar;怕ƀclt≯≴≸r;쀀\uD835\uDCBDasè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\x00⊪\x00⊸⋅⋎\x00⋕⋳\x00\x00⋸⌢⍧⍢⍿\x00⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀\uD835\uDD26rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀\uD835\uDD5Aa;䎹uest耻¿䂿Āci⎊⎏r;쀀\uD835\uDCBEnʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\x00⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀\uD835\uDD27ath;䈷pf;쀀\uD835\uDD5Bǣ⏬\x00⏱r;쀀\uD835\uDCBFrcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀\uD835\uDD28reen;䄸cy;䑅cy;䑜pf;쀀\uD835\uDD5Ccr;쀀\uD835\uDCC0ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\x00⒪\x00⒱\x00\x00\x00\x00\x00⒵Ⓔ\x00ⓆⓈⓍ\x00⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀\uD835\uDD29Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀\uD835\uDD5Dus;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀\uD835\uDCC1mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀\uD835\uDD2Ao;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀\uD835\uDD5EĀct⣸⣽r;쀀\uD835\uDCC2pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\x00⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\x00⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀\uD835\uDD2BȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀\uD835\uDD5F膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀\uD835\uDCC3ortɭ⬅\x00\x00⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00ⴭ\x00ⴸⵈⵠⵥⶄᬇ\x00\x00ⶍⶫ\x00ⷈⷎ\x00ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀\uD835\uDD2Cͯ\x00\x00\x00ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀\uD835\uDD60ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\x00\x00⺀⺝\x00⺢⺹\x00\x00⻋ຜ\x00⼓\x00\x00⼫⾼\x00⿈rȀ;astЃ脀¶;l䂶leìЃɩ\x00\x00m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀\uD835\uDD2Dƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀\uD835\uDD61nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀\uD835\uDCC5;䏈ncsp;怈̀fiopsu⋢⿱r;쀀\uD835\uDD2Epf;쀀\uD835\uDD62rime;恗cr;쀀\uD835\uDCC6ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀\uD835\uDD2FĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀\uD835\uDD63us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀\uD835\uDCC7Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\x00㍺㎤\x00\x00㏬㏰\x00㐨㑈㑚㒭㒱㓊㓱\x00㘖\x00\x00㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\x00㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀\uD835\uDD30Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\x00\x00㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀\uD835\uDD64aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀\uD835\uDCC8tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\x00㙾㛂\x00\x00\x00\x00\x00㛛㜃\x00㜉㝬\x00\x00\x00㞇ɲ㙖\x00\x00㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀\uD835\uDD31Ȁeiko㚆㚝㚵㚼Dz㚋\x00㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀\uD835\uDD65rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀\uD835\uDCC9;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\x00㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀\uD835\uDD32rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\x00\x00㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀\uD835\uDD66̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\x00\x00㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀\uD835\uDCCAƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀\uD835\uDD33tré㦮suĀbp㧯㧱»ജ»൙pf;쀀\uD835\uDD67roðtré㦴Ācu㨆㨋r;쀀\uD835\uDCCBĀbp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀\uD835\uDD34pf;쀀\uD835\uDD68Ā;eᑹ㩦atèᑹcr;쀀\uD835\uDCCCૣណ㪇\x00㪋\x00㪐㪛\x00\x00㪝㪨㪫㪯\x00\x00㫃㫎\x00㫘ៜtré៑r;쀀\uD835\uDD35ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀\uD835\uDD69imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀\uD835\uDCCDĀpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀\uD835\uDD36cy;䑗pf;쀀\uD835\uDD6Acr;쀀\uD835\uDCCEĀcm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀\uD835\uDD37cy;䐶grarr;懝pf;쀀\uD835\uDD6Bcr;쀀\uD835\uDCCFĀjn㮅㮇;怍j;怌".split("").map((H)=>H.charCodeAt(0)))});function JM(H){var Q;if(H>=55296&&H<=57343||H>1114111)return 65533;return(Q=Rv.get(H))!==null&&Q!==void 0?Q:H}var GL,Rv,Ov;var KM=l(()=>{Rv=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Ov=(GL=String.fromCodePoint)!==null&&GL!==void 0?GL:function(H){let Q="";if(H>65535)H-=65536,Q+=String.fromCharCode(H>>>10&1023|55296),H=56320|H&1023;return Q+=String.fromCharCode(H),Q}});function DL(H){return H>=u5.ZERO&&H<=u5.NINE}function Pv(H){return H>=u5.UPPER_A&&H<=u5.UPPER_F||H>=u5.LOWER_A&&H<=u5.LOWER_F}function Mv(H){return H>=u5.UPPER_A&&H<=u5.UPPER_Z||H>=u5.LOWER_A&&H<=u5.LOWER_Z||DL(H)}function Cv(H){return H===u5.EQUALS||Mv(H)}class hL{constructor(H,Q,Y){this.decodeTree=H,this.emitCodePoint=Q,this.errors=Y,this.state=m5.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=L6.Strict}startEntity(H){this.decodeMode=H,this.state=m5.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(H,Q){switch(this.state){case m5.EntityStart:{if(H.charCodeAt(Q)===u5.NUM)return this.state=m5.NumericStart,this.consumed+=1,this.stateNumericStart(H,Q+1);return this.state=m5.NamedEntity,this.stateNamedEntity(H,Q)}case m5.NumericStart:return this.stateNumericStart(H,Q);case m5.NumericDecimal:return this.stateNumericDecimal(H,Q);case m5.NumericHex:return this.stateNumericHex(H,Q);case m5.NamedEntity:return this.stateNamedEntity(H,Q)}}stateNumericStart(H,Q){if(Q>=H.length)return-1;if((H.charCodeAt(Q)|Nv)===u5.LOWER_X)return this.state=m5.NumericHex,this.consumed+=1,this.stateNumericHex(H,Q+1);return this.state=m5.NumericDecimal,this.stateNumericDecimal(H,Q)}addToNumericResult(H,Q,Y,J){if(Q!==Y){let w=Y-Q;this.result=this.result*Math.pow(J,w)+Number.parseInt(H.substr(Q,w),J),this.consumed+=w}}stateNumericHex(H,Q){let Y=Q;while(Q<H.length){let J=H.charCodeAt(Q);if(DL(J)||Pv(J))Q+=1;else return this.addToNumericResult(H,Y,Q,16),this.emitNumericEntity(J,3)}return this.addToNumericResult(H,Y,Q,16),-1}stateNumericDecimal(H,Q){let Y=Q;while(Q<H.length){let J=H.charCodeAt(Q);if(DL(J))Q+=1;else return this.addToNumericResult(H,Y,Q,10),this.emitNumericEntity(J,2)}return this.addToNumericResult(H,Y,Q,10),-1}emitNumericEntity(H,Q){var Y;if(this.consumed<=Q)return(Y=this.errors)===null||Y===void 0||Y.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(H===u5.SEMI)this.consumed+=1;else if(this.decodeMode===L6.Strict)return 0;if(this.emitCodePoint(JM(this.result),this.consumed),this.errors){if(H!==u5.SEMI)this.errors.missingSemicolonAfterCharacterReference();this.errors.validateNumericCharacterReference(this.result)}return this.consumed}stateNamedEntity(H,Q){let{decodeTree:Y}=this,J=Y[this.treeIndex],w=(J&c9.VALUE_LENGTH)>>14;for(;Q<H.length;Q++,this.excess++){let U=H.charCodeAt(Q);if(this.treeIndex=bv(Y,J,this.treeIndex+Math.max(1,w),U),this.treeIndex<0)return this.result===0||this.decodeMode===L6.Attribute&&(w===0||Cv(U))?0:this.emitNotTerminatedNamedEntity();if(J=Y[this.treeIndex],w=(J&c9.VALUE_LENGTH)>>14,w!==0){if(U===u5.SEMI)return this.emitNamedEntityData(this.treeIndex,w,this.consumed+this.excess);if(this.decodeMode!==L6.Strict)this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0}}return-1}emitNotTerminatedNamedEntity(){var H;let{result:Q,decodeTree:Y}=this,J=(Y[Q]&c9.VALUE_LENGTH)>>14;return this.emitNamedEntityData(Q,J,this.consumed),(H=this.errors)===null||H===void 0||H.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(H,Q,Y){let{decodeTree:J}=this;if(this.emitCodePoint(Q===1?J[H]&~c9.VALUE_LENGTH:J[H+1],Y),Q===3)this.emitCodePoint(J[H+2],Y);return Y}end(){var H;switch(this.state){case m5.NamedEntity:return this.result!==0&&(this.decodeMode!==L6.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case m5.NumericDecimal:return this.emitNumericEntity(0,2);case m5.NumericHex:return this.emitNumericEntity(0,3);case m5.NumericStart:return(H=this.errors)===null||H===void 0||H.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case m5.EntityStart:return 0}}}function bv(H,Q,Y,J){let w=(Q&c9.BRANCH_LENGTH)>>7,U=Q&c9.JUMP_TABLE;if(w===0)return U!==0&&J===U?Y:-1;if(U){let V=J-U;return V<0||V>=w?-1:H[Y+V]-1}let F=Y,B=F+w-1;while(F<=B){let V=F+B>>>1,N=H[V];if(N<J)F=V+1;else if(N>J)B=V-1;else return H[V+w]}return-1}var u5,Nv=32,c9,m5,L6;var wM=l(()=>{KM();YM();(function(H){H[H.NUM=35]="NUM",H[H.SEMI=59]="SEMI",H[H.EQUALS=61]="EQUALS",H[H.ZERO=48]="ZERO",H[H.NINE=57]="NINE",H[H.LOWER_A=97]="LOWER_A",H[H.LOWER_F=102]="LOWER_F",H[H.LOWER_X=120]="LOWER_X",H[H.LOWER_Z=122]="LOWER_Z",H[H.UPPER_A=65]="UPPER_A",H[H.UPPER_F=70]="UPPER_F",H[H.UPPER_Z=90]="UPPER_Z"})(u5||(u5={}));(function(H){H[H.VALUE_LENGTH=49152]="VALUE_LENGTH",H[H.BRANCH_LENGTH=16256]="BRANCH_LENGTH",H[H.JUMP_TABLE=127]="JUMP_TABLE"})(c9||(c9={}));(function(H){H[H.EntityStart=0]="EntityStart",H[H.NumericStart=1]="NumericStart",H[H.NumericDecimal=2]="NumericDecimal",H[H.NumericHex=3]="NumericHex",H[H.NamedEntity=4]="NamedEntity"})(m5||(m5={}));(function(H){H[H.Legacy=0]="Legacy",H[H.Strict=1]="Strict",H[H.Attribute=2]="Attribute"})(L6||(L6={}))});var kZ={};M8(kZ,{hasUnescapedText:()=>WM,getTagID:()=>s9,TAG_NAMES:()=>n,TAG_ID:()=>j,SPECIAL_ELEMENTS:()=>_L,NUMBERED_HEADERS:()=>E8,NS:()=>z1,DOCUMENT_MODE:()=>e5,ATTRS:()=>F6});function s9(H){var Q;return(Q=$v.get(H))!==null&&Q!==void 0?Q:j.UNKNOWN}function WM(H,Q){return gv.has(H)||Q&&H===n.NOSCRIPT}var z1,F6,e5,n,j,$v,P1,_L,E8,gv;var n6=l(()=>{(function(H){H.HTML="http://www.w3.org/1999/xhtml",H.MATHML="http://www.w3.org/1998/Math/MathML",H.SVG="http://www.w3.org/2000/svg",H.XLINK="http://www.w3.org/1999/xlink",H.XML="http://www.w3.org/XML/1998/namespace",H.XMLNS="http://www.w3.org/2000/xmlns/"})(z1||(z1={}));(function(H){H.TYPE="type",H.ACTION="action",H.ENCODING="encoding",H.PROMPT="prompt",H.NAME="name",H.COLOR="color",H.FACE="face",H.SIZE="size"})(F6||(F6={}));(function(H){H.NO_QUIRKS="no-quirks",H.QUIRKS="quirks",H.LIMITED_QUIRKS="limited-quirks"})(e5||(e5={}));(function(H){H.A="a",H.ADDRESS="address",H.ANNOTATION_XML="annotation-xml",H.APPLET="applet",H.AREA="area",H.ARTICLE="article",H.ASIDE="aside",H.B="b",H.BASE="base",H.BASEFONT="basefont",H.BGSOUND="bgsound",H.BIG="big",H.BLOCKQUOTE="blockquote",H.BODY="body",H.BR="br",H.BUTTON="button",H.CAPTION="caption",H.CENTER="center",H.CODE="code",H.COL="col",H.COLGROUP="colgroup",H.DD="dd",H.DESC="desc",H.DETAILS="details",H.DIALOG="dialog",H.DIR="dir",H.DIV="div",H.DL="dl",H.DT="dt",H.EM="em",H.EMBED="embed",H.FIELDSET="fieldset",H.FIGCAPTION="figcaption",H.FIGURE="figure",H.FONT="font",H.FOOTER="footer",H.FOREIGN_OBJECT="foreignObject",H.FORM="form",H.FRAME="frame",H.FRAMESET="frameset",H.H1="h1",H.H2="h2",H.H3="h3",H.H4="h4",H.H5="h5",H.H6="h6",H.HEAD="head",H.HEADER="header",H.HGROUP="hgroup",H.HR="hr",H.HTML="html",H.I="i",H.IMG="img",H.IMAGE="image",H.INPUT="input",H.IFRAME="iframe",H.KEYGEN="keygen",H.LABEL="label",H.LI="li",H.LINK="link",H.LISTING="listing",H.MAIN="main",H.MALIGNMARK="malignmark",H.MARQUEE="marquee",H.MATH="math",H.MENU="menu",H.META="meta",H.MGLYPH="mglyph",H.MI="mi",H.MO="mo",H.MN="mn",H.MS="ms",H.MTEXT="mtext",H.NAV="nav",H.NOBR="nobr",H.NOFRAMES="noframes",H.NOEMBED="noembed",H.NOSCRIPT="noscript",H.OBJECT="object",H.OL="ol",H.OPTGROUP="optgroup",H.OPTION="option",H.P="p",H.PARAM="param",H.PLAINTEXT="plaintext",H.PRE="pre",H.RB="rb",H.RP="rp",H.RT="rt",H.RTC="rtc",H.RUBY="ruby",H.S="s",H.SCRIPT="script",H.SEARCH="search",H.SECTION="section",H.SELECT="select",H.SOURCE="source",H.SMALL="small",H.SPAN="span",H.STRIKE="strike",H.STRONG="strong",H.STYLE="style",H.SUB="sub",H.SUMMARY="summary",H.SUP="sup",H.TABLE="table",H.TBODY="tbody",H.TEMPLATE="template",H.TEXTAREA="textarea",H.TFOOT="tfoot",H.TD="td",H.TH="th",H.THEAD="thead",H.TITLE="title",H.TR="tr",H.TRACK="track",H.TT="tt",H.U="u",H.UL="ul",H.SVG="svg",H.VAR="var",H.WBR="wbr",H.XMP="xmp"})(n||(n={}));(function(H){H[H.UNKNOWN=0]="UNKNOWN",H[H.A=1]="A",H[H.ADDRESS=2]="ADDRESS",H[H.ANNOTATION_XML=3]="ANNOTATION_XML",H[H.APPLET=4]="APPLET",H[H.AREA=5]="AREA",H[H.ARTICLE=6]="ARTICLE",H[H.ASIDE=7]="ASIDE",H[H.B=8]="B",H[H.BASE=9]="BASE",H[H.BASEFONT=10]="BASEFONT",H[H.BGSOUND=11]="BGSOUND",H[H.BIG=12]="BIG",H[H.BLOCKQUOTE=13]="BLOCKQUOTE",H[H.BODY=14]="BODY",H[H.BR=15]="BR",H[H.BUTTON=16]="BUTTON",H[H.CAPTION=17]="CAPTION",H[H.CENTER=18]="CENTER",H[H.CODE=19]="CODE",H[H.COL=20]="COL",H[H.COLGROUP=21]="COLGROUP",H[H.DD=22]="DD",H[H.DESC=23]="DESC",H[H.DETAILS=24]="DETAILS",H[H.DIALOG=25]="DIALOG",H[H.DIR=26]="DIR",H[H.DIV=27]="DIV",H[H.DL=28]="DL",H[H.DT=29]="DT",H[H.EM=30]="EM",H[H.EMBED=31]="EMBED",H[H.FIELDSET=32]="FIELDSET",H[H.FIGCAPTION=33]="FIGCAPTION",H[H.FIGURE=34]="FIGURE",H[H.FONT=35]="FONT",H[H.FOOTER=36]="FOOTER",H[H.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",H[H.FORM=38]="FORM",H[H.FRAME=39]="FRAME",H[H.FRAMESET=40]="FRAMESET",H[H.H1=41]="H1",H[H.H2=42]="H2",H[H.H3=43]="H3",H[H.H4=44]="H4",H[H.H5=45]="H5",H[H.H6=46]="H6",H[H.HEAD=47]="HEAD",H[H.HEADER=48]="HEADER",H[H.HGROUP=49]="HGROUP",H[H.HR=50]="HR",H[H.HTML=51]="HTML",H[H.I=52]="I",H[H.IMG=53]="IMG",H[H.IMAGE=54]="IMAGE",H[H.INPUT=55]="INPUT",H[H.IFRAME=56]="IFRAME",H[H.KEYGEN=57]="KEYGEN",H[H.LABEL=58]="LABEL",H[H.LI=59]="LI",H[H.LINK=60]="LINK",H[H.LISTING=61]="LISTING",H[H.MAIN=62]="MAIN",H[H.MALIGNMARK=63]="MALIGNMARK",H[H.MARQUEE=64]="MARQUEE",H[H.MATH=65]="MATH",H[H.MENU=66]="MENU",H[H.META=67]="META",H[H.MGLYPH=68]="MGLYPH",H[H.MI=69]="MI",H[H.MO=70]="MO",H[H.MN=71]="MN",H[H.MS=72]="MS",H[H.MTEXT=73]="MTEXT",H[H.NAV=74]="NAV",H[H.NOBR=75]="NOBR",H[H.NOFRAMES=76]="NOFRAMES",H[H.NOEMBED=77]="NOEMBED",H[H.NOSCRIPT=78]="NOSCRIPT",H[H.OBJECT=79]="OBJECT",H[H.OL=80]="OL",H[H.OPTGROUP=81]="OPTGROUP",H[H.OPTION=82]="OPTION",H[H.P=83]="P",H[H.PARAM=84]="PARAM",H[H.PLAINTEXT=85]="PLAINTEXT",H[H.PRE=86]="PRE",H[H.RB=87]="RB",H[H.RP=88]="RP",H[H.RT=89]="RT",H[H.RTC=90]="RTC",H[H.RUBY=91]="RUBY",H[H.S=92]="S",H[H.SCRIPT=93]="SCRIPT",H[H.SEARCH=94]="SEARCH",H[H.SECTION=95]="SECTION",H[H.SELECT=96]="SELECT",H[H.SOURCE=97]="SOURCE",H[H.SMALL=98]="SMALL",H[H.SPAN=99]="SPAN",H[H.STRIKE=100]="STRIKE",H[H.STRONG=101]="STRONG",H[H.STYLE=102]="STYLE",H[H.SUB=103]="SUB",H[H.SUMMARY=104]="SUMMARY",H[H.SUP=105]="SUP",H[H.TABLE=106]="TABLE",H[H.TBODY=107]="TBODY",H[H.TEMPLATE=108]="TEMPLATE",H[H.TEXTAREA=109]="TEXTAREA",H[H.TFOOT=110]="TFOOT",H[H.TD=111]="TD",H[H.TH=112]="TH",H[H.THEAD=113]="THEAD",H[H.TITLE=114]="TITLE",H[H.TR=115]="TR",H[H.TRACK=116]="TRACK",H[H.TT=117]="TT",H[H.U=118]="U",H[H.UL=119]="UL",H[H.SVG=120]="SVG",H[H.VAR=121]="VAR",H[H.WBR=122]="WBR",H[H.XMP=123]="XMP"})(j||(j={}));$v=new Map([[n.A,j.A],[n.ADDRESS,j.ADDRESS],[n.ANNOTATION_XML,j.ANNOTATION_XML],[n.APPLET,j.APPLET],[n.AREA,j.AREA],[n.ARTICLE,j.ARTICLE],[n.ASIDE,j.ASIDE],[n.B,j.B],[n.BASE,j.BASE],[n.BASEFONT,j.BASEFONT],[n.BGSOUND,j.BGSOUND],[n.BIG,j.BIG],[n.BLOCKQUOTE,j.BLOCKQUOTE],[n.BODY,j.BODY],[n.BR,j.BR],[n.BUTTON,j.BUTTON],[n.CAPTION,j.CAPTION],[n.CENTER,j.CENTER],[n.CODE,j.CODE],[n.COL,j.COL],[n.COLGROUP,j.COLGROUP],[n.DD,j.DD],[n.DESC,j.DESC],[n.DETAILS,j.DETAILS],[n.DIALOG,j.DIALOG],[n.DIR,j.DIR],[n.DIV,j.DIV],[n.DL,j.DL],[n.DT,j.DT],[n.EM,j.EM],[n.EMBED,j.EMBED],[n.FIELDSET,j.FIELDSET],[n.FIGCAPTION,j.FIGCAPTION],[n.FIGURE,j.FIGURE],[n.FONT,j.FONT],[n.FOOTER,j.FOOTER],[n.FOREIGN_OBJECT,j.FOREIGN_OBJECT],[n.FORM,j.FORM],[n.FRAME,j.FRAME],[n.FRAMESET,j.FRAMESET],[n.H1,j.H1],[n.H2,j.H2],[n.H3,j.H3],[n.H4,j.H4],[n.H5,j.H5],[n.H6,j.H6],[n.HEAD,j.HEAD],[n.HEADER,j.HEADER],[n.HGROUP,j.HGROUP],[n.HR,j.HR],[n.HTML,j.HTML],[n.I,j.I],[n.IMG,j.IMG],[n.IMAGE,j.IMAGE],[n.INPUT,j.INPUT],[n.IFRAME,j.IFRAME],[n.KEYGEN,j.KEYGEN],[n.LABEL,j.LABEL],[n.LI,j.LI],[n.LINK,j.LINK],[n.LISTING,j.LISTING],[n.MAIN,j.MAIN],[n.MALIGNMARK,j.MALIGNMARK],[n.MARQUEE,j.MARQUEE],[n.MATH,j.MATH],[n.MENU,j.MENU],[n.META,j.META],[n.MGLYPH,j.MGLYPH],[n.MI,j.MI],[n.MO,j.MO],[n.MN,j.MN],[n.MS,j.MS],[n.MTEXT,j.MTEXT],[n.NAV,j.NAV],[n.NOBR,j.NOBR],[n.NOFRAMES,j.NOFRAMES],[n.NOEMBED,j.NOEMBED],[n.NOSCRIPT,j.NOSCRIPT],[n.OBJECT,j.OBJECT],[n.OL,j.OL],[n.OPTGROUP,j.OPTGROUP],[n.OPTION,j.OPTION],[n.P,j.P],[n.PARAM,j.PARAM],[n.PLAINTEXT,j.PLAINTEXT],[n.PRE,j.PRE],[n.RB,j.RB],[n.RP,j.RP],[n.RT,j.RT],[n.RTC,j.RTC],[n.RUBY,j.RUBY],[n.S,j.S],[n.SCRIPT,j.SCRIPT],[n.SEARCH,j.SEARCH],[n.SECTION,j.SECTION],[n.SELECT,j.SELECT],[n.SOURCE,j.SOURCE],[n.SMALL,j.SMALL],[n.SPAN,j.SPAN],[n.STRIKE,j.STRIKE],[n.STRONG,j.STRONG],[n.STYLE,j.STYLE],[n.SUB,j.SUB],[n.SUMMARY,j.SUMMARY],[n.SUP,j.SUP],[n.TABLE,j.TABLE],[n.TBODY,j.TBODY],[n.TEMPLATE,j.TEMPLATE],[n.TEXTAREA,j.TEXTAREA],[n.TFOOT,j.TFOOT],[n.TD,j.TD],[n.TH,j.TH],[n.THEAD,j.THEAD],[n.TITLE,j.TITLE],[n.TR,j.TR],[n.TRACK,j.TRACK],[n.TT,j.TT],[n.U,j.U],[n.UL,j.UL],[n.SVG,j.SVG],[n.VAR,j.VAR],[n.WBR,j.WBR],[n.XMP,j.XMP]]);P1=j,_L={[z1.HTML]:new Set([P1.ADDRESS,P1.APPLET,P1.AREA,P1.ARTICLE,P1.ASIDE,P1.BASE,P1.BASEFONT,P1.BGSOUND,P1.BLOCKQUOTE,P1.BODY,P1.BR,P1.BUTTON,P1.CAPTION,P1.CENTER,P1.COL,P1.COLGROUP,P1.DD,P1.DETAILS,P1.DIR,P1.DIV,P1.DL,P1.DT,P1.EMBED,P1.FIELDSET,P1.FIGCAPTION,P1.FIGURE,P1.FOOTER,P1.FORM,P1.FRAME,P1.FRAMESET,P1.H1,P1.H2,P1.H3,P1.H4,P1.H5,P1.H6,P1.HEAD,P1.HEADER,P1.HGROUP,P1.HR,P1.HTML,P1.IFRAME,P1.IMG,P1.INPUT,P1.LI,P1.LINK,P1.LISTING,P1.MAIN,P1.MARQUEE,P1.MENU,P1.META,P1.NAV,P1.NOEMBED,P1.NOFRAMES,P1.NOSCRIPT,P1.OBJECT,P1.OL,P1.P,P1.PARAM,P1.PLAINTEXT,P1.PRE,P1.SCRIPT,P1.SECTION,P1.SELECT,P1.SOURCE,P1.STYLE,P1.SUMMARY,P1.TABLE,P1.TBODY,P1.TD,P1.TEMPLATE,P1.TEXTAREA,P1.TFOOT,P1.TH,P1.THEAD,P1.TITLE,P1.TR,P1.TRACK,P1.UL,P1.WBR,P1.XMP]),[z1.MATHML]:new Set([P1.MI,P1.MO,P1.MN,P1.MS,P1.MTEXT,P1.ANNOTATION_XML]),[z1.SVG]:new Set([P1.TITLE,P1.FOREIGN_OBJECT,P1.DESC]),[z1.XLINK]:new Set,[z1.XML]:new Set,[z1.XMLNS]:new Set},E8=new Set([P1.H1,P1.H2,P1.H3,P1.H4,P1.H5,P1.H6]),gv=new Set([n.STYLE,n.SCRIPT,n.XMP,n.IFRAME,n.NOEMBED,n.NOFRAMES,n.PLAINTEXT])});function Gv(H){return H>=x.DIGIT_0&&H<=x.DIGIT_9}function fZ(H){return H>=x.LATIN_CAPITAL_A&&H<=x.LATIN_CAPITAL_Z}function Dv(H){return H>=x.LATIN_SMALL_A&&H<=x.LATIN_SMALL_Z}function n9(H){return Dv(H)||fZ(H)}function LM(H){return n9(H)||Gv(H)}function XY(H){return H+32}function UM(H){return H===x.SPACE||H===x.LINE_FEED||H===x.TABULATION||H===x.FORM_FEED}function FM(H){return UM(H)||H===x.SOLIDUS||H===x.GREATER_THAN_SIGN}function hv(H){if(H===x.NULL)return q1.nullCharacterReference;else if(H>1114111)return q1.characterReferenceOutsideUnicodeRange;else if(oq(H))return q1.surrogateCharacterReference;else if(eq(H))return q1.noncharacterCharacterReference;else if(tq(H)||H===x.CARRIAGE_RETURN)return q1.controlCharacterReference;return null}class QY{constructor(H,Q){this.options=H,this.handler=Q,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=E.DATA,this.returnState=E.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new $L(Q),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new hL(gL,(Y,J)=>{this.preprocessor.pos=this.entityStartPos+J-1,this._flushCodePointConsumedAsCharacterReference(Y)},Q.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(q1.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:(Y)=>{this._err(q1.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+Y)},validateNumericCharacterReference:(Y)=>{let J=hv(Y);if(J)this._err(J,1)}}:void 0)}_err(H,Q=0){var Y,J;(J=(Y=this.handler).onParseError)===null||J===void 0||J.call(Y,this.preprocessor.getError(H,Q))}getCurrentLocation(H){if(!this.options.sourceCodeLocationInfo)return null;return{startLine:this.preprocessor.line,startCol:this.preprocessor.col-H,startOffset:this.preprocessor.offset-H,endLine:-1,endCol:-1,endOffset:-1}}_runParsingLoop(){if(this.inLoop)return;this.inLoop=!0;while(this.active&&!this.paused){this.consumedAfterSnapshot=0;let H=this._consume();if(!this._ensureHibernation())this._callState(H)}this.inLoop=!1}pause(){this.paused=!0}resume(H){if(!this.paused)throw Error("Parser was already resumed");if(this.paused=!1,this.inLoop)return;if(this._runParsingLoop(),!this.paused)H===null||H===void 0||H()}write(H,Q,Y){if(this.active=!0,this.preprocessor.write(H,Q),this._runParsingLoop(),!this.paused)Y===null||Y===void 0||Y()}insertHtmlAtCurrentPos(H){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(H),this._runParsingLoop()}_ensureHibernation(){if(this.preprocessor.endOfChunkHit)return this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0;return!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(H){this.consumedAfterSnapshot+=H;for(let Q=0;Q<H;Q++)this.preprocessor.advance()}_consumeSequenceIfMatch(H,Q){if(this.preprocessor.startsWith(H,Q))return this._advanceBy(H.length-1),!0;return!1}_createStartTagToken(){this.currentToken={type:G0.START_TAG,tagName:"",tagID:j.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:G0.END_TAG,tagName:"",tagID:j.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(H){this.currentToken={type:G0.COMMENT,data:"",location:this.getCurrentLocation(H)}}_createDoctypeToken(H){this.currentToken={type:G0.DOCTYPE,name:H,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(H,Q){this.currentCharacterToken={type:H,chars:Q,location:this.currentLocation}}_createAttr(H){this.currentAttr={name:H,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var H,Q;let Y=this.currentToken;if(uZ(Y,this.currentAttr.name)===null){if(Y.attrs.push(this.currentAttr),Y.location&&this.currentLocation){let J=(H=(Q=Y.location).attrs)!==null&&H!==void 0?H:Q.attrs=Object.create(null);J[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(q1.duplicateAttribute)}_leaveAttrValue(){if(this.currentLocation)this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset}prepareToken(H){if(this._emitCurrentCharacterToken(H.location),this.currentToken=null,H.location)H.location.endLine=this.preprocessor.line,H.location.endCol=this.preprocessor.col+1,H.location.endOffset=this.preprocessor.offset+1;this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){let H=this.currentToken;if(this.prepareToken(H),H.tagID=s9(H.tagName),H.type===G0.START_TAG)this.lastStartTagName=H.tagName,this.handler.onStartTag(H);else{if(H.attrs.length>0)this._err(q1.endTagWithAttributes);if(H.selfClosing)this._err(q1.endTagWithTrailingSolidus);this.handler.onEndTag(H)}this.preprocessor.dropParsedChunk()}emitCurrentComment(H){this.prepareToken(H),this.handler.onComment(H),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(H){this.prepareToken(H),this.handler.onDoctype(H),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(H){if(this.currentCharacterToken){if(H&&this.currentCharacterToken.location)this.currentCharacterToken.location.endLine=H.startLine,this.currentCharacterToken.location.endCol=H.startCol,this.currentCharacterToken.location.endOffset=H.startOffset;switch(this.currentCharacterToken.type){case G0.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case G0.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case G0.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){let H=this.getCurrentLocation(0);if(H)H.endLine=H.startLine,H.endCol=H.startCol,H.endOffset=H.startOffset;this._emitCurrentCharacterToken(H),this.handler.onEof({type:G0.EOF,location:H}),this.active=!1}_appendCharToCurrentCharacterToken(H,Q){if(this.currentCharacterToken)if(this.currentCharacterToken.type===H){this.currentCharacterToken.chars+=Q;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(H,Q)}_emitCodePoint(H){let Q=UM(H)?G0.WHITESPACE_CHARACTER:H===x.NULL?G0.NULL_CHARACTER:G0.CHARACTER;this._appendCharToCurrentCharacterToken(Q,String.fromCodePoint(H))}_emitChars(H){this._appendCharToCurrentCharacterToken(G0.CHARACTER,H)}_startCharacterReference(){this.returnState=this.state,this.state=E.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?L6.Attribute:L6.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===E.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===E.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===E.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(H){if(this._isCharacterReferenceInAttribute())this.currentAttr.value+=String.fromCodePoint(H);else this._emitCodePoint(H)}_callState(H){switch(this.state){case E.DATA:{this._stateData(H);break}case E.RCDATA:{this._stateRcdata(H);break}case E.RAWTEXT:{this._stateRawtext(H);break}case E.SCRIPT_DATA:{this._stateScriptData(H);break}case E.PLAINTEXT:{this._statePlaintext(H);break}case E.TAG_OPEN:{this._stateTagOpen(H);break}case E.END_TAG_OPEN:{this._stateEndTagOpen(H);break}case E.TAG_NAME:{this._stateTagName(H);break}case E.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(H);break}case E.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(H);break}case E.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(H);break}case E.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(H);break}case E.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(H);break}case E.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(H);break}case E.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(H);break}case E.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(H);break}case E.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(H);break}case E.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(H);break}case E.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(H);break}case E.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(H);break}case E.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(H);break}case E.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(H);break}case E.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(H);break}case E.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(H);break}case E.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(H);break}case E.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(H);break}case E.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(H);break}case E.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(H);break}case E.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(H);break}case E.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(H);break}case E.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(H);break}case E.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(H);break}case E.ATTRIBUTE_NAME:{this._stateAttributeName(H);break}case E.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(H);break}case E.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(H);break}case E.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(H);break}case E.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(H);break}case E.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(H);break}case E.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(H);break}case E.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(H);break}case E.BOGUS_COMMENT:{this._stateBogusComment(H);break}case E.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(H);break}case E.COMMENT_START:{this._stateCommentStart(H);break}case E.COMMENT_START_DASH:{this._stateCommentStartDash(H);break}case E.COMMENT:{this._stateComment(H);break}case E.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(H);break}case E.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(H);break}case E.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(H);break}case E.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(H);break}case E.COMMENT_END_DASH:{this._stateCommentEndDash(H);break}case E.COMMENT_END:{this._stateCommentEnd(H);break}case E.COMMENT_END_BANG:{this._stateCommentEndBang(H);break}case E.DOCTYPE:{this._stateDoctype(H);break}case E.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(H);break}case E.DOCTYPE_NAME:{this._stateDoctypeName(H);break}case E.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(H);break}case E.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(H);break}case E.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(H);break}case E.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(H);break}case E.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(H);break}case E.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(H);break}case E.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(H);break}case E.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(H);break}case E.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(H);break}case E.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(H);break}case E.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(H);break}case E.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(H);break}case E.BOGUS_DOCTYPE:{this._stateBogusDoctype(H);break}case E.CDATA_SECTION:{this._stateCdataSection(H);break}case E.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(H);break}case E.CDATA_SECTION_END:{this._stateCdataSectionEnd(H);break}case E.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case E.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(H);break}default:throw Error("Unknown state")}}_stateData(H){switch(H){case x.LESS_THAN_SIGN:{this.state=E.TAG_OPEN;break}case x.AMPERSAND:{this._startCharacterReference();break}case x.NULL:{this._err(q1.unexpectedNullCharacter),this._emitCodePoint(H);break}case x.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(H)}}_stateRcdata(H){switch(H){case x.AMPERSAND:{this._startCharacterReference();break}case x.LESS_THAN_SIGN:{this.state=E.RCDATA_LESS_THAN_SIGN;break}case x.NULL:{this._err(q1.unexpectedNullCharacter),this._emitChars(c0);break}case x.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(H)}}_stateRawtext(H){switch(H){case x.LESS_THAN_SIGN:{this.state=E.RAWTEXT_LESS_THAN_SIGN;break}case x.NULL:{this._err(q1.unexpectedNullCharacter),this._emitChars(c0);break}case x.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(H)}}_stateScriptData(H){switch(H){case x.LESS_THAN_SIGN:{this.state=E.SCRIPT_DATA_LESS_THAN_SIGN;break}case x.NULL:{this._err(q1.unexpectedNullCharacter),this._emitChars(c0);break}case x.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(H)}}_statePlaintext(H){switch(H){case x.NULL:{this._err(q1.unexpectedNullCharacter),this._emitChars(c0);break}case x.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(H)}}_stateTagOpen(H){if(n9(H))this._createStartTagToken(),this.state=E.TAG_NAME,this._stateTagName(H);else switch(H){case x.EXCLAMATION_MARK:{this.state=E.MARKUP_DECLARATION_OPEN;break}case x.SOLIDUS:{this.state=E.END_TAG_OPEN;break}case x.QUESTION_MARK:{this._err(q1.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=E.BOGUS_COMMENT,this._stateBogusComment(H);break}case x.EOF:{this._err(q1.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(q1.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=E.DATA,this._stateData(H)}}_stateEndTagOpen(H){if(n9(H))this._createEndTagToken(),this.state=E.TAG_NAME,this._stateTagName(H);else switch(H){case x.GREATER_THAN_SIGN:{this._err(q1.missingEndTagName),this.state=E.DATA;break}case x.EOF:{this._err(q1.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(q1.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=E.BOGUS_COMMENT,this._stateBogusComment(H)}}_stateTagName(H){let Q=this.currentToken;switch(H){case x.SPACE:case x.LINE_FEED:case x.TABULATION:case x.FORM_FEED:{this.state=E.BEFORE_ATTRIBUTE_NAME;break}case x.SOLIDUS:{this.state=E.SELF_CLOSING_START_TAG;break}case x.GREATER_THAN_SIGN:{this.state=E.DATA,this.emitCurrentTagToken();break}case x.NULL:{this._err(q1.unexpectedNullCharacter),Q.tagName+=c0;break}case x.EOF:{this._err(q1.eofInTag),this._emitEOFToken();break}default:Q.tagName+=String.fromCodePoint(fZ(H)?XY(H):H)}}_stateRcdataLessThanSign(H){if(H===x.SOLIDUS)this.state=E.RCDATA_END_TAG_OPEN;else this._emitChars("<"),this.state=E.RCDATA,this._stateRcdata(H)}_stateRcdataEndTagOpen(H){if(n9(H))this.state=E.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(H);else this._emitChars("</"),this.state=E.RCDATA,this._stateRcdata(H)}handleSpecialEndTag(H){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();let Q=this.currentToken;switch(Q.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case x.SPACE:case x.LINE_FEED:case x.TABULATION:case x.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=E.BEFORE_ATTRIBUTE_NAME,!1;case x.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=E.SELF_CLOSING_START_TAG,!1;case x.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=E.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(H){if(this.handleSpecialEndTag(H))this._emitChars("</"),this.state=E.RCDATA,this._stateRcdata(H)}_stateRawtextLessThanSign(H){if(H===x.SOLIDUS)this.state=E.RAWTEXT_END_TAG_OPEN;else this._emitChars("<"),this.state=E.RAWTEXT,this._stateRawtext(H)}_stateRawtextEndTagOpen(H){if(n9(H))this.state=E.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(H);else this._emitChars("</"),this.state=E.RAWTEXT,this._stateRawtext(H)}_stateRawtextEndTagName(H){if(this.handleSpecialEndTag(H))this._emitChars("</"),this.state=E.RAWTEXT,this._stateRawtext(H)}_stateScriptDataLessThanSign(H){switch(H){case x.SOLIDUS:{this.state=E.SCRIPT_DATA_END_TAG_OPEN;break}case x.EXCLAMATION_MARK:{this.state=E.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=E.SCRIPT_DATA,this._stateScriptData(H)}}_stateScriptDataEndTagOpen(H){if(n9(H))this.state=E.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(H);else this._emitChars("</"),this.state=E.SCRIPT_DATA,this._stateScriptData(H)}_stateScriptDataEndTagName(H){if(this.handleSpecialEndTag(H))this._emitChars("</"),this.state=E.SCRIPT_DATA,this._stateScriptData(H)}_stateScriptDataEscapeStart(H){if(H===x.HYPHEN_MINUS)this.state=E.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-");else this.state=E.SCRIPT_DATA,this._stateScriptData(H)}_stateScriptDataEscapeStartDash(H){if(H===x.HYPHEN_MINUS)this.state=E.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");else this.state=E.SCRIPT_DATA,this._stateScriptData(H)}_stateScriptDataEscaped(H){switch(H){case x.HYPHEN_MINUS:{this.state=E.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case x.LESS_THAN_SIGN:{this.state=E.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case x.NULL:{this._err(q1.unexpectedNullCharacter),this._emitChars(c0);break}case x.EOF:{this._err(q1.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(H)}}_stateScriptDataEscapedDash(H){switch(H){case x.HYPHEN_MINUS:{this.state=E.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case x.LESS_THAN_SIGN:{this.state=E.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case x.NULL:{this._err(q1.unexpectedNullCharacter),this.state=E.SCRIPT_DATA_ESCAPED,this._emitChars(c0);break}case x.EOF:{this._err(q1.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=E.SCRIPT_DATA_ESCAPED,this._emitCodePoint(H)}}_stateScriptDataEscapedDashDash(H){switch(H){case x.HYPHEN_MINUS:{this._emitChars("-");break}case x.LESS_THAN_SIGN:{this.state=E.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case x.GREATER_THAN_SIGN:{this.state=E.SCRIPT_DATA,this._emitChars(">");break}case x.NULL:{this._err(q1.unexpectedNullCharacter),this.state=E.SCRIPT_DATA_ESCAPED,this._emitChars(c0);break}case x.EOF:{this._err(q1.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=E.SCRIPT_DATA_ESCAPED,this._emitCodePoint(H)}}_stateScriptDataEscapedLessThanSign(H){if(H===x.SOLIDUS)this.state=E.SCRIPT_DATA_ESCAPED_END_TAG_OPEN;else if(n9(H))this._emitChars("<"),this.state=E.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(H);else this._emitChars("<"),this.state=E.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(H)}_stateScriptDataEscapedEndTagOpen(H){if(n9(H))this.state=E.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(H);else this._emitChars("</"),this.state=E.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(H)}_stateScriptDataEscapedEndTagName(H){if(this.handleSpecialEndTag(H))this._emitChars("</"),this.state=E.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(H)}_stateScriptDataDoubleEscapeStart(H){if(this.preprocessor.startsWith(z2.SCRIPT,!1)&&FM(this.preprocessor.peek(z2.SCRIPT.length))){this._emitCodePoint(H);for(let Q=0;Q<z2.SCRIPT.length;Q++)this._emitCodePoint(this._consume());this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED}else if(!this._ensureHibernation())this.state=E.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(H)}_stateScriptDataDoubleEscaped(H){switch(H){case x.HYPHEN_MINUS:{this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case x.LESS_THAN_SIGN:{this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case x.NULL:{this._err(q1.unexpectedNullCharacter),this._emitChars(c0);break}case x.EOF:{this._err(q1.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(H)}}_stateScriptDataDoubleEscapedDash(H){switch(H){case x.HYPHEN_MINUS:{this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case x.LESS_THAN_SIGN:{this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case x.NULL:{this._err(q1.unexpectedNullCharacter),this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(c0);break}case x.EOF:{this._err(q1.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(H)}}_stateScriptDataDoubleEscapedDashDash(H){switch(H){case x.HYPHEN_MINUS:{this._emitChars("-");break}case x.LESS_THAN_SIGN:{this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case x.GREATER_THAN_SIGN:{this.state=E.SCRIPT_DATA,this._emitChars(">");break}case x.NULL:{this._err(q1.unexpectedNullCharacter),this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(c0);break}case x.EOF:{this._err(q1.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(H)}}_stateScriptDataDoubleEscapedLessThanSign(H){if(H===x.SOLIDUS)this.state=E.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/");else this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(H)}_stateScriptDataDoubleEscapeEnd(H){if(this.preprocessor.startsWith(z2.SCRIPT,!1)&&FM(this.preprocessor.peek(z2.SCRIPT.length))){this._emitCodePoint(H);for(let Q=0;Q<z2.SCRIPT.length;Q++)this._emitCodePoint(this._consume());this.state=E.SCRIPT_DATA_ESCAPED}else if(!this._ensureHibernation())this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(H)}_stateBeforeAttributeName(H){switch(H){case x.SPACE:case x.LINE_FEED:case x.TABULATION:case x.FORM_FEED:break;case x.SOLIDUS:case x.GREATER_THAN_SIGN:case x.EOF:{this.state=E.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(H);break}case x.EQUALS_SIGN:{this._err(q1.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=E.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=E.ATTRIBUTE_NAME,this._stateAttributeName(H)}}_stateAttributeName(H){switch(H){case x.SPACE:case x.LINE_FEED:case x.TABULATION:case x.FORM_FEED:case x.SOLIDUS:case x.GREATER_THAN_SIGN:case x.EOF:{this._leaveAttrName(),this.state=E.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(H);break}case x.EQUALS_SIGN:{this._leaveAttrName(),this.state=E.BEFORE_ATTRIBUTE_VALUE;break}case x.QUOTATION_MARK:case x.APOSTROPHE:case x.LESS_THAN_SIGN:{this._err(q1.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(H);break}case x.NULL:{this._err(q1.unexpectedNullCharacter),this.currentAttr.name+=c0;break}default:this.currentAttr.name+=String.fromCodePoint(fZ(H)?XY(H):H)}}_stateAfterAttributeName(H){switch(H){case x.SPACE:case x.LINE_FEED:case x.TABULATION:case x.FORM_FEED:break;case x.SOLIDUS:{this.state=E.SELF_CLOSING_START_TAG;break}case x.EQUALS_SIGN:{this.state=E.BEFORE_ATTRIBUTE_VALUE;break}case x.GREATER_THAN_SIGN:{this.state=E.DATA,this.emitCurrentTagToken();break}case x.EOF:{this._err(q1.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=E.ATTRIBUTE_NAME,this._stateAttributeName(H)}}_stateBeforeAttributeValue(H){switch(H){case x.SPACE:case x.LINE_FEED:case x.TABULATION:case x.FORM_FEED:break;case x.QUOTATION_MARK:{this.state=E.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case x.APOSTROPHE:{this.state=E.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case x.GREATER_THAN_SIGN:{this._err(q1.missingAttributeValue),this.state=E.DATA,this.emitCurrentTagToken();break}default:this.state=E.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(H)}}_stateAttributeValueDoubleQuoted(H){switch(H){case x.QUOTATION_MARK:{this.state=E.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case x.AMPERSAND:{this._startCharacterReference();break}case x.NULL:{this._err(q1.unexpectedNullCharacter),this.currentAttr.value+=c0;break}case x.EOF:{this._err(q1.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(H)}}_stateAttributeValueSingleQuoted(H){switch(H){case x.APOSTROPHE:{this.state=E.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case x.AMPERSAND:{this._startCharacterReference();break}case x.NULL:{this._err(q1.unexpectedNullCharacter),this.currentAttr.value+=c0;break}case x.EOF:{this._err(q1.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(H)}}_stateAttributeValueUnquoted(H){switch(H){case x.SPACE:case x.LINE_FEED:case x.TABULATION:case x.FORM_FEED:{this._leaveAttrValue(),this.state=E.BEFORE_ATTRIBUTE_NAME;break}case x.AMPERSAND:{this._startCharacterReference();break}case x.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=E.DATA,this.emitCurrentTagToken();break}case x.NULL:{this._err(q1.unexpectedNullCharacter),this.currentAttr.value+=c0;break}case x.QUOTATION_MARK:case x.APOSTROPHE:case x.LESS_THAN_SIGN:case x.EQUALS_SIGN:case x.GRAVE_ACCENT:{this._err(q1.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(H);break}case x.EOF:{this._err(q1.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(H)}}_stateAfterAttributeValueQuoted(H){switch(H){case x.SPACE:case x.LINE_FEED:case x.TABULATION:case x.FORM_FEED:{this._leaveAttrValue(),this.state=E.BEFORE_ATTRIBUTE_NAME;break}case x.SOLIDUS:{this._leaveAttrValue(),this.state=E.SELF_CLOSING_START_TAG;break}case x.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=E.DATA,this.emitCurrentTagToken();break}case x.EOF:{this._err(q1.eofInTag),this._emitEOFToken();break}default:this._err(q1.missingWhitespaceBetweenAttributes),this.state=E.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(H)}}_stateSelfClosingStartTag(H){switch(H){case x.GREATER_THAN_SIGN:{let Q=this.currentToken;Q.selfClosing=!0,this.state=E.DATA,this.emitCurrentTagToken();break}case x.EOF:{this._err(q1.eofInTag),this._emitEOFToken();break}default:this._err(q1.unexpectedSolidusInTag),this.state=E.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(H)}}_stateBogusComment(H){let Q=this.currentToken;switch(H){case x.GREATER_THAN_SIGN:{this.state=E.DATA,this.emitCurrentComment(Q);break}case x.EOF:{this.emitCurrentComment(Q),this._emitEOFToken();break}case x.NULL:{this._err(q1.unexpectedNullCharacter),Q.data+=c0;break}default:Q.data+=String.fromCodePoint(H)}}_stateMarkupDeclarationOpen(H){if(this._consumeSequenceIfMatch(z2.DASH_DASH,!0))this._createCommentToken(z2.DASH_DASH.length+1),this.state=E.COMMENT_START;else if(this._consumeSequenceIfMatch(z2.DOCTYPE,!1))this.currentLocation=this.getCurrentLocation(z2.DOCTYPE.length+1),this.state=E.DOCTYPE;else if(this._consumeSequenceIfMatch(z2.CDATA_START,!0))if(this.inForeignNode)this.state=E.CDATA_SECTION;else this._err(q1.cdataInHtmlContent),this._createCommentToken(z2.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=E.BOGUS_COMMENT;else if(!this._ensureHibernation())this._err(q1.incorrectlyOpenedComment),this._createCommentToken(2),this.state=E.BOGUS_COMMENT,this._stateBogusComment(H)}_stateCommentStart(H){switch(H){case x.HYPHEN_MINUS:{this.state=E.COMMENT_START_DASH;break}case x.GREATER_THAN_SIGN:{this._err(q1.abruptClosingOfEmptyComment),this.state=E.DATA;let Q=this.currentToken;this.emitCurrentComment(Q);break}default:this.state=E.COMMENT,this._stateComment(H)}}_stateCommentStartDash(H){let Q=this.currentToken;switch(H){case x.HYPHEN_MINUS:{this.state=E.COMMENT_END;break}case x.GREATER_THAN_SIGN:{this._err(q1.abruptClosingOfEmptyComment),this.state=E.DATA,this.emitCurrentComment(Q);break}case x.EOF:{this._err(q1.eofInComment),this.emitCurrentComment(Q),this._emitEOFToken();break}default:Q.data+="-",this.state=E.COMMENT,this._stateComment(H)}}_stateComment(H){let Q=this.currentToken;switch(H){case x.HYPHEN_MINUS:{this.state=E.COMMENT_END_DASH;break}case x.LESS_THAN_SIGN:{Q.data+="<",this.state=E.COMMENT_LESS_THAN_SIGN;break}case x.NULL:{this._err(q1.unexpectedNullCharacter),Q.data+=c0;break}case x.EOF:{this._err(q1.eofInComment),this.emitCurrentComment(Q),this._emitEOFToken();break}default:Q.data+=String.fromCodePoint(H)}}_stateCommentLessThanSign(H){let Q=this.currentToken;switch(H){case x.EXCLAMATION_MARK:{Q.data+="!",this.state=E.COMMENT_LESS_THAN_SIGN_BANG;break}case x.LESS_THAN_SIGN:{Q.data+="<";break}default:this.state=E.COMMENT,this._stateComment(H)}}_stateCommentLessThanSignBang(H){if(H===x.HYPHEN_MINUS)this.state=E.COMMENT_LESS_THAN_SIGN_BANG_DASH;else this.state=E.COMMENT,this._stateComment(H)}_stateCommentLessThanSignBangDash(H){if(H===x.HYPHEN_MINUS)this.state=E.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH;else this.state=E.COMMENT_END_DASH,this._stateCommentEndDash(H)}_stateCommentLessThanSignBangDashDash(H){if(H!==x.GREATER_THAN_SIGN&&H!==x.EOF)this._err(q1.nestedComment);this.state=E.COMMENT_END,this._stateCommentEnd(H)}_stateCommentEndDash(H){let Q=this.currentToken;switch(H){case x.HYPHEN_MINUS:{this.state=E.COMMENT_END;break}case x.EOF:{this._err(q1.eofInComment),this.emitCurrentComment(Q),this._emitEOFToken();break}default:Q.data+="-",this.state=E.COMMENT,this._stateComment(H)}}_stateCommentEnd(H){let Q=this.currentToken;switch(H){case x.GREATER_THAN_SIGN:{this.state=E.DATA,this.emitCurrentComment(Q);break}case x.EXCLAMATION_MARK:{this.state=E.COMMENT_END_BANG;break}case x.HYPHEN_MINUS:{Q.data+="-";break}case x.EOF:{this._err(q1.eofInComment),this.emitCurrentComment(Q),this._emitEOFToken();break}default:Q.data+="--",this.state=E.COMMENT,this._stateComment(H)}}_stateCommentEndBang(H){let Q=this.currentToken;switch(H){case x.HYPHEN_MINUS:{Q.data+="--!",this.state=E.COMMENT_END_DASH;break}case x.GREATER_THAN_SIGN:{this._err(q1.incorrectlyClosedComment),this.state=E.DATA,this.emitCurrentComment(Q);break}case x.EOF:{this._err(q1.eofInComment),this.emitCurrentComment(Q),this._emitEOFToken();break}default:Q.data+="--!",this.state=E.COMMENT,this._stateComment(H)}}_stateDoctype(H){switch(H){case x.SPACE:case x.LINE_FEED:case x.TABULATION:case x.FORM_FEED:{this.state=E.BEFORE_DOCTYPE_NAME;break}case x.GREATER_THAN_SIGN:{this.state=E.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(H);break}case x.EOF:{this._err(q1.eofInDoctype),this._createDoctypeToken(null);let Q=this.currentToken;Q.forceQuirks=!0,this.emitCurrentDoctype(Q),this._emitEOFToken();break}default:this._err(q1.missingWhitespaceBeforeDoctypeName),this.state=E.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(H)}}_stateBeforeDoctypeName(H){if(fZ(H))this._createDoctypeToken(String.fromCharCode(XY(H))),this.state=E.DOCTYPE_NAME;else switch(H){case x.SPACE:case x.LINE_FEED:case x.TABULATION:case x.FORM_FEED:break;case x.NULL:{this._err(q1.unexpectedNullCharacter),this._createDoctypeToken(c0),this.state=E.DOCTYPE_NAME;break}case x.GREATER_THAN_SIGN:{this._err(q1.missingDoctypeName),this._createDoctypeToken(null);let Q=this.currentToken;Q.forceQuirks=!0,this.emitCurrentDoctype(Q),this.state=E.DATA;break}case x.EOF:{this._err(q1.eofInDoctype),this._createDoctypeToken(null);let Q=this.currentToken;Q.forceQuirks=!0,this.emitCurrentDoctype(Q),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(H)),this.state=E.DOCTYPE_NAME}}_stateDoctypeName(H){let Q=this.currentToken;switch(H){case x.SPACE:case x.LINE_FEED:case x.TABULATION:case x.FORM_FEED:{this.state=E.AFTER_DOCTYPE_NAME;break}case x.GREATER_THAN_SIGN:{this.state=E.DATA,this.emitCurrentDoctype(Q);break}case x.NULL:{this._err(q1.unexpectedNullCharacter),Q.name+=c0;break}case x.EOF:{this._err(q1.eofInDoctype),Q.forceQuirks=!0,this.emitCurrentDoctype(Q),this._emitEOFToken();break}default:Q.name+=String.fromCodePoint(fZ(H)?XY(H):H)}}_stateAfterDoctypeName(H){let Q=this.currentToken;switch(H){case x.SPACE:case x.LINE_FEED:case x.TABULATION:case x.FORM_FEED:break;case x.GREATER_THAN_SIGN:{this.state=E.DATA,this.emitCurrentDoctype(Q);break}case x.EOF:{this._err(q1.eofInDoctype),Q.forceQuirks=!0,this.emitCurrentDoctype(Q),this._emitEOFToken();break}default:if(this._consumeSequenceIfMatch(z2.PUBLIC,!1))this.state=E.AFTER_DOCTYPE_PUBLIC_KEYWORD;else if(this._consumeSequenceIfMatch(z2.SYSTEM,!1))this.state=E.AFTER_DOCTYPE_SYSTEM_KEYWORD;else if(!this._ensureHibernation())this._err(q1.invalidCharacterSequenceAfterDoctypeName),Q.forceQuirks=!0,this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(H)}}_stateAfterDoctypePublicKeyword(H){let Q=this.currentToken;switch(H){case x.SPACE:case x.LINE_FEED:case x.TABULATION:case x.FORM_FEED:{this.state=E.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case x.QUOTATION_MARK:{this._err(q1.missingWhitespaceAfterDoctypePublicKeyword),Q.publicId="",this.state=E.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case x.APOSTROPHE:{this._err(q1.missingWhitespaceAfterDoctypePublicKeyword),Q.publicId="",this.state=E.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case x.GREATER_THAN_SIGN:{this._err(q1.missingDoctypePublicIdentifier),Q.forceQuirks=!0,this.state=E.DATA,this.emitCurrentDoctype(Q);break}case x.EOF:{this._err(q1.eofInDoctype),Q.forceQuirks=!0,this.emitCurrentDoctype(Q),this._emitEOFToken();break}default:this._err(q1.missingQuoteBeforeDoctypePublicIdentifier),Q.forceQuirks=!0,this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(H)}}_stateBeforeDoctypePublicIdentifier(H){let Q=this.currentToken;switch(H){case x.SPACE:case x.LINE_FEED:case x.TABULATION:case x.FORM_FEED:break;case x.QUOTATION_MARK:{Q.publicId="",this.state=E.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case x.APOSTROPHE:{Q.publicId="",this.state=E.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case x.GREATER_THAN_SIGN:{this._err(q1.missingDoctypePublicIdentifier),Q.forceQuirks=!0,this.state=E.DATA,this.emitCurrentDoctype(Q);break}case x.EOF:{this._err(q1.eofInDoctype),Q.forceQuirks=!0,this.emitCurrentDoctype(Q),this._emitEOFToken();break}default:this._err(q1.missingQuoteBeforeDoctypePublicIdentifier),Q.forceQuirks=!0,this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(H)}}_stateDoctypePublicIdentifierDoubleQuoted(H){let Q=this.currentToken;switch(H){case x.QUOTATION_MARK:{this.state=E.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case x.NULL:{this._err(q1.unexpectedNullCharacter),Q.publicId+=c0;break}case x.GREATER_THAN_SIGN:{this._err(q1.abruptDoctypePublicIdentifier),Q.forceQuirks=!0,this.emitCurrentDoctype(Q),this.state=E.DATA;break}case x.EOF:{this._err(q1.eofInDoctype),Q.forceQuirks=!0,this.emitCurrentDoctype(Q),this._emitEOFToken();break}default:Q.publicId+=String.fromCodePoint(H)}}_stateDoctypePublicIdentifierSingleQuoted(H){let Q=this.currentToken;switch(H){case x.APOSTROPHE:{this.state=E.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case x.NULL:{this._err(q1.unexpectedNullCharacter),Q.publicId+=c0;break}case x.GREATER_THAN_SIGN:{this._err(q1.abruptDoctypePublicIdentifier),Q.forceQuirks=!0,this.emitCurrentDoctype(Q),this.state=E.DATA;break}case x.EOF:{this._err(q1.eofInDoctype),Q.forceQuirks=!0,this.emitCurrentDoctype(Q),this._emitEOFToken();break}default:Q.publicId+=String.fromCodePoint(H)}}_stateAfterDoctypePublicIdentifier(H){let Q=this.currentToken;switch(H){case x.SPACE:case x.LINE_FEED:case x.TABULATION:case x.FORM_FEED:{this.state=E.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case x.GREATER_THAN_SIGN:{this.state=E.DATA,this.emitCurrentDoctype(Q);break}case x.QUOTATION_MARK:{this._err(q1.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),Q.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case x.APOSTROPHE:{this._err(q1.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),Q.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case x.EOF:{this._err(q1.eofInDoctype),Q.forceQuirks=!0,this.emitCurrentDoctype(Q),this._emitEOFToken();break}default:this._err(q1.missingQuoteBeforeDoctypeSystemIdentifier),Q.forceQuirks=!0,this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(H)}}_stateBetweenDoctypePublicAndSystemIdentifiers(H){let Q=this.currentToken;switch(H){case x.SPACE:case x.LINE_FEED:case x.TABULATION:case x.FORM_FEED:break;case x.GREATER_THAN_SIGN:{this.emitCurrentDoctype(Q),this.state=E.DATA;break}case x.QUOTATION_MARK:{Q.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case x.APOSTROPHE:{Q.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case x.EOF:{this._err(q1.eofInDoctype),Q.forceQuirks=!0,this.emitCurrentDoctype(Q),this._emitEOFToken();break}default:this._err(q1.missingQuoteBeforeDoctypeSystemIdentifier),Q.forceQuirks=!0,this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(H)}}_stateAfterDoctypeSystemKeyword(H){let Q=this.currentToken;switch(H){case x.SPACE:case x.LINE_FEED:case x.TABULATION:case x.FORM_FEED:{this.state=E.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case x.QUOTATION_MARK:{this._err(q1.missingWhitespaceAfterDoctypeSystemKeyword),Q.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case x.APOSTROPHE:{this._err(q1.missingWhitespaceAfterDoctypeSystemKeyword),Q.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case x.GREATER_THAN_SIGN:{this._err(q1.missingDoctypeSystemIdentifier),Q.forceQuirks=!0,this.state=E.DATA,this.emitCurrentDoctype(Q);break}case x.EOF:{this._err(q1.eofInDoctype),Q.forceQuirks=!0,this.emitCurrentDoctype(Q),this._emitEOFToken();break}default:this._err(q1.missingQuoteBeforeDoctypeSystemIdentifier),Q.forceQuirks=!0,this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(H)}}_stateBeforeDoctypeSystemIdentifier(H){let Q=this.currentToken;switch(H){case x.SPACE:case x.LINE_FEED:case x.TABULATION:case x.FORM_FEED:break;case x.QUOTATION_MARK:{Q.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case x.APOSTROPHE:{Q.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case x.GREATER_THAN_SIGN:{this._err(q1.missingDoctypeSystemIdentifier),Q.forceQuirks=!0,this.state=E.DATA,this.emitCurrentDoctype(Q);break}case x.EOF:{this._err(q1.eofInDoctype),Q.forceQuirks=!0,this.emitCurrentDoctype(Q),this._emitEOFToken();break}default:this._err(q1.missingQuoteBeforeDoctypeSystemIdentifier),Q.forceQuirks=!0,this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(H)}}_stateDoctypeSystemIdentifierDoubleQuoted(H){let Q=this.currentToken;switch(H){case x.QUOTATION_MARK:{this.state=E.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case x.NULL:{this._err(q1.unexpectedNullCharacter),Q.systemId+=c0;break}case x.GREATER_THAN_SIGN:{this._err(q1.abruptDoctypeSystemIdentifier),Q.forceQuirks=!0,this.emitCurrentDoctype(Q),this.state=E.DATA;break}case x.EOF:{this._err(q1.eofInDoctype),Q.forceQuirks=!0,this.emitCurrentDoctype(Q),this._emitEOFToken();break}default:Q.systemId+=String.fromCodePoint(H)}}_stateDoctypeSystemIdentifierSingleQuoted(H){let Q=this.currentToken;switch(H){case x.APOSTROPHE:{this.state=E.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case x.NULL:{this._err(q1.unexpectedNullCharacter),Q.systemId+=c0;break}case x.GREATER_THAN_SIGN:{this._err(q1.abruptDoctypeSystemIdentifier),Q.forceQuirks=!0,this.emitCurrentDoctype(Q),this.state=E.DATA;break}case x.EOF:{this._err(q1.eofInDoctype),Q.forceQuirks=!0,this.emitCurrentDoctype(Q),this._emitEOFToken();break}default:Q.systemId+=String.fromCodePoint(H)}}_stateAfterDoctypeSystemIdentifier(H){let Q=this.currentToken;switch(H){case x.SPACE:case x.LINE_FEED:case x.TABULATION:case x.FORM_FEED:break;case x.GREATER_THAN_SIGN:{this.emitCurrentDoctype(Q),this.state=E.DATA;break}case x.EOF:{this._err(q1.eofInDoctype),Q.forceQuirks=!0,this.emitCurrentDoctype(Q),this._emitEOFToken();break}default:this._err(q1.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(H)}}_stateBogusDoctype(H){let Q=this.currentToken;switch(H){case x.GREATER_THAN_SIGN:{this.emitCurrentDoctype(Q),this.state=E.DATA;break}case x.NULL:{this._err(q1.unexpectedNullCharacter);break}case x.EOF:{this.emitCurrentDoctype(Q),this._emitEOFToken();break}default:}}_stateCdataSection(H){switch(H){case x.RIGHT_SQUARE_BRACKET:{this.state=E.CDATA_SECTION_BRACKET;break}case x.EOF:{this._err(q1.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(H)}}_stateCdataSectionBracket(H){if(H===x.RIGHT_SQUARE_BRACKET)this.state=E.CDATA_SECTION_END;else this._emitChars("]"),this.state=E.CDATA_SECTION,this._stateCdataSection(H)}_stateCdataSectionEnd(H){switch(H){case x.GREATER_THAN_SIGN:{this.state=E.DATA;break}case x.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=E.CDATA_SECTION,this._stateCdataSection(H)}}_stateCharacterReference(){let H=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(H<0)if(this.preprocessor.lastChunkWritten)H=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}if(H===0)this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(x.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&LM(this.preprocessor.peek(1))?E.AMBIGUOUS_AMPERSAND:this.returnState;else this.state=this.returnState}_stateAmbiguousAmpersand(H){if(LM(H))this._flushCodePointConsumedAsCharacterReference(H);else{if(H===x.SEMICOLON)this._err(q1.unknownNamedCharacterReference);this.state=this.returnState,this._callState(H)}}}var E,Z5;var xL=l(()=>{qM();HY();ZY();wM();mZ();n6();(function(H){H[H.DATA=0]="DATA",H[H.RCDATA=1]="RCDATA",H[H.RAWTEXT=2]="RAWTEXT",H[H.SCRIPT_DATA=3]="SCRIPT_DATA",H[H.PLAINTEXT=4]="PLAINTEXT",H[H.TAG_OPEN=5]="TAG_OPEN",H[H.END_TAG_OPEN=6]="END_TAG_OPEN",H[H.TAG_NAME=7]="TAG_NAME",H[H.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",H[H.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",H[H.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",H[H.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",H[H.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",H[H.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",H[H.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",H[H.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",H[H.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",H[H.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",H[H.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",H[H.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",H[H.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",H[H.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",H[H.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",H[H.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",H[H.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",H[H.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",H[H.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",H[H.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",H[H.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",H[H.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",H[H.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",H[H.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",H[H.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",H[H.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",H[H.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",H[H.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",H[H.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",H[H.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",H[H.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",H[H.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",H[H.BOGUS_COMMENT=40]="BOGUS_COMMENT",H[H.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",H[H.COMMENT_START=42]="COMMENT_START",H[H.COMMENT_START_DASH=43]="COMMENT_START_DASH",H[H.COMMENT=44]="COMMENT",H[H.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",H[H.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",H[H.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",H[H.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",H[H.COMMENT_END_DASH=49]="COMMENT_END_DASH",H[H.COMMENT_END=50]="COMMENT_END",H[H.COMMENT_END_BANG=51]="COMMENT_END_BANG",H[H.DOCTYPE=52]="DOCTYPE",H[H.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",H[H.DOCTYPE_NAME=54]="DOCTYPE_NAME",H[H.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",H[H.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",H[H.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",H[H.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",H[H.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",H[H.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",H[H.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",H[H.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",H[H.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",H[H.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",H[H.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",H[H.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",H[H.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",H[H.CDATA_SECTION=68]="CDATA_SECTION",H[H.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",H[H.CDATA_SECTION_END=70]="CDATA_SECTION_END",H[H.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",H[H.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(E||(E={}));Z5={DATA:E.DATA,RCDATA:E.RCDATA,RAWTEXT:E.RAWTEXT,SCRIPT_DATA:E.SCRIPT_DATA,PLAINTEXT:E.PLAINTEXT,CDATA_SECTION:E.CDATA_SECTION}});class EL{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(H,Q,Y){this.treeAdapter=Q,this.handler=Y,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=j.UNKNOWN,this.current=H}_indexOf(H){return this.items.lastIndexOf(H,this.stackTop)}_isInTemplate(){return this.currentTagId===j.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===z1.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(H,Q){if(this.stackTop++,this.items[this.stackTop]=H,this.current=H,this.tagIDs[this.stackTop]=Q,this.currentTagId=Q,this._isInTemplate())this.tmplCount++;this.handler.onItemPush(H,Q,!0)}pop(){let H=this.current;if(this.tmplCount>0&&this._isInTemplate())this.tmplCount--;this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(H,!0)}replace(H,Q){let Y=this._indexOf(H);if(this.items[Y]=Q,Y===this.stackTop)this.current=Q}insertAfter(H,Q,Y){let J=this._indexOf(H)+1;if(this.items.splice(J,0,Q),this.tagIDs.splice(J,0,Y),this.stackTop++,J===this.stackTop)this._updateCurrentElement();if(this.current&&this.currentTagId!==void 0)this.handler.onItemPush(this.current,this.currentTagId,J===this.stackTop)}popUntilTagNamePopped(H){let Q=this.stackTop+1;do Q=this.tagIDs.lastIndexOf(H,Q-1);while(Q>0&&this.treeAdapter.getNamespaceURI(this.items[Q])!==z1.HTML);this.shortenToLength(Math.max(Q,0))}shortenToLength(H){while(this.stackTop>=H){let Q=this.current;if(this.tmplCount>0&&this._isInTemplate())this.tmplCount-=1;this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(Q,this.stackTop<H)}}popUntilElementPopped(H){let Q=this._indexOf(H);this.shortenToLength(Math.max(Q,0))}popUntilPopped(H,Q){let Y=this._indexOfTagNames(H,Q);this.shortenToLength(Math.max(Y,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(E8,z1.HTML)}popUntilTableCellPopped(){this.popUntilPopped(vv,z1.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(H,Q){for(let Y=this.stackTop;Y>=0;Y--)if(H.has(this.tagIDs[Y])&&this.treeAdapter.getNamespaceURI(this.items[Y])===Q)return Y;return-1}clearBackTo(H,Q){let Y=this._indexOfTagNames(H,Q);this.shortenToLength(Y+1)}clearBackToTableContext(){this.clearBackTo(yv,z1.HTML)}clearBackToTableBodyContext(){this.clearBackTo(Iv,z1.HTML)}clearBackToTableRowContext(){this.clearBackTo(Ev,z1.HTML)}remove(H){let Q=this._indexOf(H);if(Q>=0)if(Q===this.stackTop)this.pop();else this.items.splice(Q,1),this.tagIDs.splice(Q,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(H,!1)}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===j.BODY?this.items[1]:null}contains(H){return this._indexOf(H)>-1}getCommonAncestor(H){let Q=this._indexOf(H)-1;return Q>=0?this.items[Q]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===j.HTML}hasInDynamicScope(H,Q){for(let Y=this.stackTop;Y>=0;Y--){let J=this.tagIDs[Y];switch(this.treeAdapter.getNamespaceURI(this.items[Y])){case z1.HTML:{if(J===H)return!0;if(Q.has(J))return!1;break}case z1.SVG:{if(zM.has(J))return!1;break}case z1.MATHML:{if(VM.has(J))return!1;break}}}return!0}hasInScope(H){return this.hasInDynamicScope(H,qY)}hasInListItemScope(H){return this.hasInDynamicScope(H,_v)}hasInButtonScope(H){return this.hasInDynamicScope(H,xv)}hasNumberedHeaderInScope(){for(let H=this.stackTop;H>=0;H--){let Q=this.tagIDs[H];switch(this.treeAdapter.getNamespaceURI(this.items[H])){case z1.HTML:{if(E8.has(Q))return!0;if(qY.has(Q))return!1;break}case z1.SVG:{if(zM.has(Q))return!1;break}case z1.MATHML:{if(VM.has(Q))return!1;break}}}return!0}hasInTableScope(H){for(let Q=this.stackTop;Q>=0;Q--){if(this.treeAdapter.getNamespaceURI(this.items[Q])!==z1.HTML)continue;switch(this.tagIDs[Q]){case H:return!0;case j.TABLE:case j.HTML:return!1}}return!0}hasTableBodyContextInTableScope(){for(let H=this.stackTop;H>=0;H--){if(this.treeAdapter.getNamespaceURI(this.items[H])!==z1.HTML)continue;switch(this.tagIDs[H]){case j.TBODY:case j.THEAD:case j.TFOOT:return!0;case j.TABLE:case j.HTML:return!1}}return!0}hasInSelectScope(H){for(let Q=this.stackTop;Q>=0;Q--){if(this.treeAdapter.getNamespaceURI(this.items[Q])!==z1.HTML)continue;switch(this.tagIDs[Q]){case H:return!0;case j.OPTION:case j.OPTGROUP:break;default:return!1}}return!0}generateImpliedEndTags(){while(this.currentTagId!==void 0&&jM.has(this.currentTagId))this.pop()}generateImpliedEndTagsThoroughly(){while(this.currentTagId!==void 0&&BM.has(this.currentTagId))this.pop()}generateImpliedEndTagsWithExclusion(H){while(this.currentTagId!==void 0&&this.currentTagId!==H&&BM.has(this.currentTagId))this.pop()}}var jM,BM,qY,_v,xv,VM,zM,Ev,Iv,yv,vv;var RM=l(()=>{n6();jM=new Set([j.DD,j.DT,j.LI,j.OPTGROUP,j.OPTION,j.P,j.RB,j.RP,j.RT,j.RTC]),BM=new Set([...jM,j.CAPTION,j.COLGROUP,j.TBODY,j.TD,j.TFOOT,j.TH,j.THEAD,j.TR]),qY=new Set([j.APPLET,j.CAPTION,j.HTML,j.MARQUEE,j.OBJECT,j.TABLE,j.TD,j.TEMPLATE,j.TH]),_v=new Set([...qY,j.OL,j.UL]),xv=new Set([...qY,j.BUTTON]),VM=new Set([j.ANNOTATION_XML,j.MI,j.MN,j.MO,j.MS,j.MTEXT]),zM=new Set([j.DESC,j.FOREIGN_OBJECT,j.TITLE]),Ev=new Set([j.TR,j.TEMPLATE,j.HTML]),Iv=new Set([j.TBODY,j.TFOOT,j.THEAD,j.TEMPLATE,j.HTML]),yv=new Set([j.TABLE,j.TEMPLATE,j.HTML]),vv=new Set([j.TD,j.TH])});class IL{constructor(H){this.treeAdapter=H,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(H,Q){let Y=[],J=Q.length,w=this.treeAdapter.getTagName(H),U=this.treeAdapter.getNamespaceURI(H);for(let F=0;F<this.entries.length;F++){let B=this.entries[F];if(B.type===D3.Marker)break;let{element:V}=B;if(this.treeAdapter.getTagName(V)===w&&this.treeAdapter.getNamespaceURI(V)===U){let N=this.treeAdapter.getAttrList(V);if(N.length===J)Y.push({idx:F,attrs:N})}}return Y}_ensureNoahArkCondition(H){if(this.entries.length<3)return;let Q=this.treeAdapter.getAttrList(H),Y=this._getNoahArkConditionCandidates(H,Q);if(Y.length<3)return;let J=new Map(Q.map((U)=>[U.name,U.value])),w=0;for(let U=0;U<Y.length;U++){let F=Y[U];if(F.attrs.every((B)=>J.get(B.name)===B.value)){if(w+=1,w>=3)this.entries.splice(F.idx,1)}}}insertMarker(){this.entries.unshift(OM)}pushElement(H,Q){this._ensureNoahArkCondition(H),this.entries.unshift({type:D3.Element,element:H,token:Q})}insertElementAfterBookmark(H,Q){let Y=this.entries.indexOf(this.bookmark);this.entries.splice(Y,0,{type:D3.Element,element:H,token:Q})}removeEntry(H){let Q=this.entries.indexOf(H);if(Q!==-1)this.entries.splice(Q,1)}clearToLastMarker(){let H=this.entries.indexOf(OM);if(H===-1)this.entries.length=0;else this.entries.splice(0,H+1)}getElementEntryInScopeWithTagName(H){let Q=this.entries.find((Y)=>Y.type===D3.Marker||this.treeAdapter.getTagName(Y.element)===H);return Q&&Q.type===D3.Element?Q:null}getElementEntry(H){return this.entries.find((Q)=>Q.type===D3.Element&&Q.element===H)}}var D3,OM;var NM=l(()=>{(function(H){H[H.Marker=0]="Marker",H[H.Element=1]="Element"})(D3||(D3={}));OM={type:D3.Marker}});var h3;var YY=l(()=>{n6();h3={createDocument(){return{nodeName:"#document",mode:e5.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(H,Q,Y){return{nodeName:H,tagName:H,attrs:Y,namespaceURI:Q,childNodes:[],parentNode:null}},createCommentNode(H){return{nodeName:"#comment",data:H,parentNode:null}},createTextNode(H){return{nodeName:"#text",value:H,parentNode:null}},appendChild(H,Q){H.childNodes.push(Q),Q.parentNode=H},insertBefore(H,Q,Y){let J=H.childNodes.indexOf(Y);H.childNodes.splice(J,0,Q),Q.parentNode=H},setTemplateContent(H,Q){H.content=Q},getTemplateContent(H){return H.content},setDocumentType(H,Q,Y,J){let w=H.childNodes.find((U)=>U.nodeName==="#documentType");if(w)w.name=Q,w.publicId=Y,w.systemId=J;else{let U={nodeName:"#documentType",name:Q,publicId:Y,systemId:J,parentNode:null};h3.appendChild(H,U)}},setDocumentMode(H,Q){H.mode=Q},getDocumentMode(H){return H.mode},detachNode(H){if(H.parentNode){let Q=H.parentNode.childNodes.indexOf(H);H.parentNode.childNodes.splice(Q,1),H.parentNode=null}},insertText(H,Q){if(H.childNodes.length>0){let Y=H.childNodes[H.childNodes.length-1];if(h3.isTextNode(Y)){Y.value+=Q;return}}h3.appendChild(H,h3.createTextNode(Q))},insertTextBefore(H,Q,Y){let J=H.childNodes[H.childNodes.indexOf(Y)-1];if(J&&h3.isTextNode(J))J.value+=Q;else h3.insertBefore(H,h3.createTextNode(Q),Y)},adoptAttributes(H,Q){let Y=new Set(H.attrs.map((J)=>J.name));for(let J=0;J<Q.length;J++)if(!Y.has(Q[J].name))H.attrs.push(Q[J])},getFirstChild(H){return H.childNodes[0]},getChildNodes(H){return H.childNodes},getParentNode(H){return H.parentNode},getAttrList(H){return H.attrs},getTagName(H){return H.tagName},getNamespaceURI(H){return H.namespaceURI},getTextNodeContent(H){return H.value},getCommentNodeContent(H){return H.data},getDocumentTypeNodeName(H){return H.name},getDocumentTypeNodePublicId(H){return H.publicId},getDocumentTypeNodeSystemId(H){return H.systemId},isTextNode(H){return H.nodeName==="#text"},isCommentNode(H){return H.nodeName==="#comment"},isDocumentTypeNode(H){return H.nodeName==="#documentType"},isElementNode(H){return Object.prototype.hasOwnProperty.call(H,"tagName")},setNodeSourceCodeLocation(H,Q){H.sourceCodeLocation=Q},getNodeSourceCodeLocation(H){return H.sourceCodeLocation},updateNodeSourceCodeLocation(H,Q){H.sourceCodeLocation={...H.sourceCodeLocation,...Q}}}});function PM(H,Q){return Q.some((Y)=>H.startsWith(Y))}function $M(H){return H.name===MM&&H.publicId===null&&(H.systemId===null||H.systemId===Sv)}function gM(H){if(H.name!==MM)return e5.QUIRKS;let{systemId:Q}=H;if(Q&&Q.toLowerCase()===Tv)return e5.QUIRKS;let{publicId:Y}=H;if(Y!==null){if(Y=Y.toLowerCase(),mv.has(Y))return e5.QUIRKS;let J=Q===null?Av:CM;if(PM(Y,J))return e5.QUIRKS;if(J=Q===null?bM:uv,PM(Y,J))return e5.LIMITED_QUIRKS}return e5.NO_QUIRKS}var MM="html",Sv="about:legacy-compat",Tv="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",CM,Av,mv,bM,uv;var GM=l(()=>{n6();CM=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],Av=[...CM,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],mv=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),bM=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],uv=[...bM,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]});function hM(H){let Q=H.tagID;return Q===j.FONT&&H.attrs.some(({name:J})=>J===F6.COLOR||J===F6.SIZE||J===F6.FACE)||dv.has(Q)}function yL(H){for(let Q=0;Q<H.attrs.length;Q++)if(H.attrs[Q].name===fv){H.attrs[Q].name=lv;break}}function vL(H){for(let Q=0;Q<H.attrs.length;Q++){let Y=pv.get(H.attrs[Q].name);if(Y!=null)H.attrs[Q].name=Y}}function JY(H){for(let Q=0;Q<H.attrs.length;Q++){let Y=rv.get(H.attrs[Q].name);if(Y)H.attrs[Q].prefix=Y.prefix,H.attrs[Q].name=Y.name,H.attrs[Q].namespace=Y.namespace}}function _M(H){let Q=iv.get(H.tagName);if(Q!=null)H.tagName=Q,H.tagID=s9(H.tagName)}function av(H,Q){return Q===z1.MATHML&&(H===j.MI||H===j.MO||H===j.MN||H===j.MS||H===j.MTEXT)}function cv(H,Q,Y){if(Q===z1.MATHML&&H===j.ANNOTATION_XML){for(let J=0;J<Y.length;J++)if(Y[J].name===F6.ENCODING){let w=Y[J].value.toLowerCase();return w===DM.TEXT_HTML||w===DM.APPLICATION_XML}}return Q===z1.SVG&&(H===j.FOREIGN_OBJECT||H===j.DESC||H===j.TITLE)}function xM(H,Q,Y,J){return(!J||J===z1.HTML)&&cv(H,Q,Y)||(!J||J===z1.MATHML)&&av(H,Q)}var DM,fv="definitionurl",lv="definitionURL",pv,rv,iv,dv;var SL=l(()=>{n6();DM={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},pv=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map((H)=>[H.toLowerCase(),H])),rv=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:z1.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:z1.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:z1.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:z1.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:z1.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:z1.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:z1.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:z1.XML}],["xml:space",{prefix:"xml",name:"space",namespace:z1.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:z1.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:z1.XMLNS}]]),iv=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map((H)=>[H.toLowerCase(),H])),dv=new Set([j.B,j.BIG,j.BLOCKQUOTE,j.BODY,j.BR,j.CENTER,j.CODE,j.DD,j.DIV,j.DL,j.DT,j.EM,j.EMBED,j.H1,j.H2,j.H3,j.H4,j.H5,j.H6,j.HEAD,j.HR,j.I,j.IMG,j.LI,j.LISTING,j.MENU,j.META,j.NOBR,j.OL,j.P,j.PRE,j.RUBY,j.S,j.SMALL,j.SPAN,j.STRONG,j.STRIKE,j.SUB,j.SUP,j.TABLE,j.TT,j.U,j.UL,j.VAR])});class y8{constructor(H,Q,Y=null,J=null){if(this.fragmentContext=Y,this.scriptHandler=J,this.currentToken=null,this.stopped=!1,this.insertionMode=A.INITIAL,this.originalInsertionMode=A.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...IM,...H},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError)this.options.sourceCodeLocationInfo=!0;this.document=Q!==null&&Q!==void 0?Q:this.treeAdapter.createDocument(),this.tokenizer=new QY(this.options,this),this.activeFormattingElements=new IL(this.treeAdapter),this.fragmentContextID=Y?s9(this.treeAdapter.getTagName(Y)):j.UNKNOWN,this._setContextModes(Y!==null&&Y!==void 0?Y:this.document,this.fragmentContextID),this.openElements=new EL(this.document,this.treeAdapter,this)}static parse(H,Q){let Y=new this(Q);return Y.tokenizer.write(H,!0),Y.document}static getFragmentParser(H,Q){let Y={...IM,...Q};H!==null&&H!==void 0||(H=Y.treeAdapter.createElement(n.TEMPLATE,z1.HTML,[]));let J=Y.treeAdapter.createElement("documentmock",z1.HTML,[]),w=new this(Y,J,H);if(w.fragmentContextID===j.TEMPLATE)w.tmplInsertionModeStack.unshift(A.IN_TEMPLATE);return w._initTokenizerForFragmentParsing(),w._insertFakeRootElement(),w._resetInsertionMode(),w._findFormInFragmentContext(),w}getFragment(){let H=this.treeAdapter.getFirstChild(this.document),Q=this.treeAdapter.createDocumentFragment();return this._adoptNodes(H,Q),Q}_err(H,Q,Y){var J;if(!this.onParseError)return;let w=(J=H.location)!==null&&J!==void 0?J:tv,U={code:Q,startLine:w.startLine,startCol:w.startCol,startOffset:w.startOffset,endLine:Y?w.startLine:w.endLine,endCol:Y?w.startCol:w.endCol,endOffset:Y?w.startOffset:w.endOffset};this.onParseError(U)}onItemPush(H,Q,Y){var J,w;if((w=(J=this.treeAdapter).onItemPush)===null||w===void 0||w.call(J,H),Y&&this.openElements.stackTop>0)this._setContextModes(H,Q)}onItemPop(H,Q){var Y,J;if(this.options.sourceCodeLocationInfo)this._setEndLocation(H,this.currentToken);if((J=(Y=this.treeAdapter).onItemPop)===null||J===void 0||J.call(Y,H,this.openElements.current),Q){let w,U;if(this.openElements.stackTop===0&&this.fragmentContext)w=this.fragmentContext,U=this.fragmentContextID;else({current:w,currentTagId:U}=this.openElements);this._setContextModes(w,U)}}_setContextModes(H,Q){let Y=H===this.document||H&&this.treeAdapter.getNamespaceURI(H)===z1.HTML;this.currentNotInHTML=!Y,this.tokenizer.inForeignNode=!Y&&H!==void 0&&Q!==void 0&&!this._isIntegrationPoint(Q,H)}_switchToTextParsing(H,Q){this._insertElement(H,z1.HTML),this.tokenizer.state=Q,this.originalInsertionMode=this.insertionMode,this.insertionMode=A.TEXT}switchToPlaintextParsing(){this.insertionMode=A.TEXT,this.originalInsertionMode=A.IN_BODY,this.tokenizer.state=Z5.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let H=this.fragmentContext;while(H){if(this.treeAdapter.getTagName(H)===n.FORM){this.formElement=H;break}H=this.treeAdapter.getParentNode(H)}}_initTokenizerForFragmentParsing(){if(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==z1.HTML)return;switch(this.fragmentContextID){case j.TITLE:case j.TEXTAREA:{this.tokenizer.state=Z5.RCDATA;break}case j.STYLE:case j.XMP:case j.IFRAME:case j.NOEMBED:case j.NOFRAMES:case j.NOSCRIPT:{this.tokenizer.state=Z5.RAWTEXT;break}case j.SCRIPT:{this.tokenizer.state=Z5.SCRIPT_DATA;break}case j.PLAINTEXT:{this.tokenizer.state=Z5.PLAINTEXT;break}default:}}_setDocumentType(H){let Q=H.name||"",Y=H.publicId||"",J=H.systemId||"";if(this.treeAdapter.setDocumentType(this.document,Q,Y,J),H.location){let U=this.treeAdapter.getChildNodes(this.document).find((F)=>this.treeAdapter.isDocumentTypeNode(F));if(U)this.treeAdapter.setNodeSourceCodeLocation(U,H.location)}}_attachElementToTree(H,Q){if(this.options.sourceCodeLocationInfo){let Y=Q&&{...Q,startTag:Q};this.treeAdapter.setNodeSourceCodeLocation(H,Y)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(H);else{let Y=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(Y!==null&&Y!==void 0?Y:this.document,H)}}_appendElement(H,Q){let Y=this.treeAdapter.createElement(H.tagName,Q,H.attrs);this._attachElementToTree(Y,H.location)}_insertElement(H,Q){let Y=this.treeAdapter.createElement(H.tagName,Q,H.attrs);this._attachElementToTree(Y,H.location),this.openElements.push(Y,H.tagID)}_insertFakeElement(H,Q){let Y=this.treeAdapter.createElement(H,z1.HTML,[]);this._attachElementToTree(Y,null),this.openElements.push(Y,Q)}_insertTemplate(H){let Q=this.treeAdapter.createElement(H.tagName,z1.HTML,H.attrs),Y=this.treeAdapter.createDocumentFragment();if(this.treeAdapter.setTemplateContent(Q,Y),this._attachElementToTree(Q,H.location),this.openElements.push(Q,H.tagID),this.options.sourceCodeLocationInfo)this.treeAdapter.setNodeSourceCodeLocation(Y,null)}_insertFakeRootElement(){let H=this.treeAdapter.createElement(n.HTML,z1.HTML,[]);if(this.options.sourceCodeLocationInfo)this.treeAdapter.setNodeSourceCodeLocation(H,null);this.treeAdapter.appendChild(this.openElements.current,H),this.openElements.push(H,j.HTML)}_appendCommentNode(H,Q){let Y=this.treeAdapter.createCommentNode(H.data);if(this.treeAdapter.appendChild(Q,Y),this.options.sourceCodeLocationInfo)this.treeAdapter.setNodeSourceCodeLocation(Y,H.location)}_insertCharacters(H){let Q,Y;if(this._shouldFosterParentOnInsertion())if({parent:Q,beforeElement:Y}=this._findFosterParentingLocation(),Y)this.treeAdapter.insertTextBefore(Q,H.chars,Y);else this.treeAdapter.insertText(Q,H.chars);else Q=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(Q,H.chars);if(!H.location)return;let J=this.treeAdapter.getChildNodes(Q),w=Y?J.lastIndexOf(Y):J.length,U=J[w-1];if(this.treeAdapter.getNodeSourceCodeLocation(U)){let{endLine:B,endCol:V,endOffset:N}=H.location;this.treeAdapter.updateNodeSourceCodeLocation(U,{endLine:B,endCol:V,endOffset:N})}else if(this.options.sourceCodeLocationInfo)this.treeAdapter.setNodeSourceCodeLocation(U,H.location)}_adoptNodes(H,Q){for(let Y=this.treeAdapter.getFirstChild(H);Y;Y=this.treeAdapter.getFirstChild(H))this.treeAdapter.detachNode(Y),this.treeAdapter.appendChild(Q,Y)}_setEndLocation(H,Q){if(this.treeAdapter.getNodeSourceCodeLocation(H)&&Q.location){let Y=Q.location,J=this.treeAdapter.getTagName(H),w=Q.type===G0.END_TAG&&J===Q.tagName?{endTag:{...Y},endLine:Y.endLine,endCol:Y.endCol,endOffset:Y.endOffset}:{endLine:Y.startLine,endCol:Y.startCol,endOffset:Y.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(H,w)}}shouldProcessStartTagTokenInForeignContent(H){if(!this.currentNotInHTML)return!1;let Q,Y;if(this.openElements.stackTop===0&&this.fragmentContext)Q=this.fragmentContext,Y=this.fragmentContextID;else({current:Q,currentTagId:Y}=this.openElements);if(H.tagID===j.SVG&&this.treeAdapter.getTagName(Q)===n.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(Q)===z1.MATHML)return!1;return this.tokenizer.inForeignNode||(H.tagID===j.MGLYPH||H.tagID===j.MALIGNMARK)&&Y!==void 0&&!this._isIntegrationPoint(Y,Q,z1.HTML)}_processToken(H){switch(H.type){case G0.CHARACTER:{this.onCharacter(H);break}case G0.NULL_CHARACTER:{this.onNullCharacter(H);break}case G0.COMMENT:{this.onComment(H);break}case G0.DOCTYPE:{this.onDoctype(H);break}case G0.START_TAG:{this._processStartTag(H);break}case G0.END_TAG:{this.onEndTag(H);break}case G0.EOF:{this.onEof(H);break}case G0.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(H);break}}}_isIntegrationPoint(H,Q,Y){let J=this.treeAdapter.getNamespaceURI(Q),w=this.treeAdapter.getAttrList(Q);return xM(H,J,w,Y)}_reconstructActiveFormattingElements(){let H=this.activeFormattingElements.entries.length;if(H){let Q=this.activeFormattingElements.entries.findIndex((J)=>J.type===D3.Marker||this.openElements.contains(J.element)),Y=Q===-1?H-1:Q-1;for(let J=Y;J>=0;J--){let w=this.activeFormattingElements.entries[J];this._insertElement(w.token,this.treeAdapter.getNamespaceURI(w.element)),w.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=A.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(j.P),this.openElements.popUntilTagNamePopped(j.P)}_resetInsertionMode(){for(let H=this.openElements.stackTop;H>=0;H--)switch(H===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[H]){case j.TR:{this.insertionMode=A.IN_ROW;return}case j.TBODY:case j.THEAD:case j.TFOOT:{this.insertionMode=A.IN_TABLE_BODY;return}case j.CAPTION:{this.insertionMode=A.IN_CAPTION;return}case j.COLGROUP:{this.insertionMode=A.IN_COLUMN_GROUP;return}case j.TABLE:{this.insertionMode=A.IN_TABLE;return}case j.BODY:{this.insertionMode=A.IN_BODY;return}case j.FRAMESET:{this.insertionMode=A.IN_FRAMESET;return}case j.SELECT:{this._resetInsertionModeForSelect(H);return}case j.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case j.HTML:{this.insertionMode=this.headElement?A.AFTER_HEAD:A.BEFORE_HEAD;return}case j.TD:case j.TH:{if(H>0){this.insertionMode=A.IN_CELL;return}break}case j.HEAD:{if(H>0){this.insertionMode=A.IN_HEAD;return}break}}this.insertionMode=A.IN_BODY}_resetInsertionModeForSelect(H){if(H>0)for(let Q=H-1;Q>0;Q--){let Y=this.openElements.tagIDs[Q];if(Y===j.TEMPLATE)break;else if(Y===j.TABLE){this.insertionMode=A.IN_SELECT_IN_TABLE;return}}this.insertionMode=A.IN_SELECT}_isElementCausesFosterParenting(H){return SM.has(H)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let H=this.openElements.stackTop;H>=0;H--){let Q=this.openElements.items[H];switch(this.openElements.tagIDs[H]){case j.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(Q)===z1.HTML)return{parent:this.treeAdapter.getTemplateContent(Q),beforeElement:null};break}case j.TABLE:{let Y=this.treeAdapter.getParentNode(Q);if(Y)return{parent:Y,beforeElement:Q};return{parent:this.openElements.items[H-1],beforeElement:null}}default:}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(H){let Q=this._findFosterParentingLocation();if(Q.beforeElement)this.treeAdapter.insertBefore(Q.parent,H,Q.beforeElement);else this.treeAdapter.appendChild(Q.parent,H)}_isSpecialElement(H,Q){let Y=this.treeAdapter.getNamespaceURI(H);return _L[Y].has(Q)}onCharacter(H){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){hT(this,H);return}switch(this.insertionMode){case A.INITIAL:{lZ(this,H);break}case A.BEFORE_HTML:{rZ(this,H);break}case A.BEFORE_HEAD:{iZ(this,H);break}case A.IN_HEAD:{dZ(this,H);break}case A.IN_HEAD_NO_SCRIPT:{aZ(this,H);break}case A.AFTER_HEAD:{cZ(this,H);break}case A.IN_BODY:case A.IN_CAPTION:case A.IN_CELL:case A.IN_TEMPLATE:{AM(this,H);break}case A.TEXT:case A.IN_SELECT:case A.IN_SELECT_IN_TABLE:{this._insertCharacters(H);break}case A.IN_TABLE:case A.IN_TABLE_BODY:case A.IN_ROW:{TL(this,H);break}case A.IN_TABLE_TEXT:{pM(this,H);break}case A.IN_COLUMN_GROUP:{wY(this,H);break}case A.AFTER_BODY:{WY(this,H);break}case A.AFTER_AFTER_BODY:{KY(this,H);break}default:}}onNullCharacter(H){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){DT(this,H);return}switch(this.insertionMode){case A.INITIAL:{lZ(this,H);break}case A.BEFORE_HTML:{rZ(this,H);break}case A.BEFORE_HEAD:{iZ(this,H);break}case A.IN_HEAD:{dZ(this,H);break}case A.IN_HEAD_NO_SCRIPT:{aZ(this,H);break}case A.AFTER_HEAD:{cZ(this,H);break}case A.TEXT:{this._insertCharacters(H);break}case A.IN_TABLE:case A.IN_TABLE_BODY:case A.IN_ROW:{TL(this,H);break}case A.IN_COLUMN_GROUP:{wY(this,H);break}case A.AFTER_BODY:{WY(this,H);break}case A.AFTER_AFTER_BODY:{KY(this,H);break}default:}}onComment(H){if(this.skipNextNewLine=!1,this.currentNotInHTML){AL(this,H);return}switch(this.insertionMode){case A.INITIAL:case A.BEFORE_HTML:case A.BEFORE_HEAD:case A.IN_HEAD:case A.IN_HEAD_NO_SCRIPT:case A.AFTER_HEAD:case A.IN_BODY:case A.IN_TABLE:case A.IN_CAPTION:case A.IN_COLUMN_GROUP:case A.IN_TABLE_BODY:case A.IN_ROW:case A.IN_CELL:case A.IN_SELECT:case A.IN_SELECT_IN_TABLE:case A.IN_TEMPLATE:case A.IN_FRAMESET:case A.AFTER_FRAMESET:{AL(this,H);break}case A.IN_TABLE_TEXT:{pZ(this,H);break}case A.AFTER_BODY:{YS(this,H);break}case A.AFTER_AFTER_BODY:case A.AFTER_AFTER_FRAMESET:{JS(this,H);break}default:}}onDoctype(H){switch(this.skipNextNewLine=!1,this.insertionMode){case A.INITIAL:{KS(this,H);break}case A.BEFORE_HEAD:case A.IN_HEAD:case A.IN_HEAD_NO_SCRIPT:case A.AFTER_HEAD:{this._err(H,q1.misplacedDoctype);break}case A.IN_TABLE_TEXT:{pZ(this,H);break}default:}}onStartTag(H){if(this.skipNextNewLine=!1,this.currentToken=H,this._processStartTag(H),H.selfClosing&&!H.ackSelfClosing)this._err(H,q1.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(H){if(this.shouldProcessStartTagTokenInForeignContent(H))_T(this,H);else this._startTagOutsideForeignContent(H)}_startTagOutsideForeignContent(H){switch(this.insertionMode){case A.INITIAL:{lZ(this,H);break}case A.BEFORE_HTML:{wS(this,H);break}case A.BEFORE_HEAD:{LS(this,H);break}case A.IN_HEAD:{_3(this,H);break}case A.IN_HEAD_NO_SCRIPT:{BS(this,H);break}case A.AFTER_HEAD:{zS(this,H);break}case A.IN_BODY:{H2(this,H);break}case A.IN_TABLE:{I8(this,H);break}case A.IN_TABLE_TEXT:{pZ(this,H);break}case A.IN_CAPTION:{FT(this,H);break}case A.IN_COLUMN_GROUP:{fL(this,H);break}case A.IN_TABLE_BODY:{UY(this,H);break}case A.IN_ROW:{BY(this,H);break}case A.IN_CELL:{VT(this,H);break}case A.IN_SELECT:{dM(this,H);break}case A.IN_SELECT_IN_TABLE:{jT(this,H);break}case A.IN_TEMPLATE:{OT(this,H);break}case A.AFTER_BODY:{PT(this,H);break}case A.IN_FRAMESET:{MT(this,H);break}case A.AFTER_FRAMESET:{bT(this,H);break}case A.AFTER_AFTER_BODY:{gT(this,H);break}case A.AFTER_AFTER_FRAMESET:{GT(this,H);break}default:}}onEndTag(H){if(this.skipNextNewLine=!1,this.currentToken=H,this.currentNotInHTML)xT(this,H);else this._endTagOutsideForeignContent(H)}_endTagOutsideForeignContent(H){switch(this.insertionMode){case A.INITIAL:{lZ(this,H);break}case A.BEFORE_HTML:{WS(this,H);break}case A.BEFORE_HEAD:{FS(this,H);break}case A.IN_HEAD:{US(this,H);break}case A.IN_HEAD_NO_SCRIPT:{VS(this,H);break}case A.AFTER_HEAD:{jS(this,H);break}case A.IN_BODY:{FY(this,H);break}case A.TEXT:{ZT(this,H);break}case A.IN_TABLE:{sZ(this,H);break}case A.IN_TABLE_TEXT:{pZ(this,H);break}case A.IN_CAPTION:{UT(this,H);break}case A.IN_COLUMN_GROUP:{BT(this,H);break}case A.IN_TABLE_BODY:{mL(this,H);break}case A.IN_ROW:{iM(this,H);break}case A.IN_CELL:{zT(this,H);break}case A.IN_SELECT:{aM(this,H);break}case A.IN_SELECT_IN_TABLE:{RT(this,H);break}case A.IN_TEMPLATE:{NT(this,H);break}case A.AFTER_BODY:{sM(this,H);break}case A.IN_FRAMESET:{CT(this,H);break}case A.AFTER_FRAMESET:{$T(this,H);break}case A.AFTER_AFTER_BODY:{KY(this,H);break}default:}}onEof(H){switch(this.insertionMode){case A.INITIAL:{lZ(this,H);break}case A.BEFORE_HTML:{rZ(this,H);break}case A.BEFORE_HEAD:{iZ(this,H);break}case A.IN_HEAD:{dZ(this,H);break}case A.IN_HEAD_NO_SCRIPT:{aZ(this,H);break}case A.AFTER_HEAD:{cZ(this,H);break}case A.IN_BODY:case A.IN_TABLE:case A.IN_CAPTION:case A.IN_COLUMN_GROUP:case A.IN_TABLE_BODY:case A.IN_ROW:case A.IN_CELL:case A.IN_SELECT:case A.IN_SELECT_IN_TABLE:{fM(this,H);break}case A.TEXT:{XT(this,H);break}case A.IN_TABLE_TEXT:{pZ(this,H);break}case A.IN_TEMPLATE:{cM(this,H);break}case A.AFTER_BODY:case A.IN_FRAMESET:case A.AFTER_FRAMESET:case A.AFTER_AFTER_BODY:case A.AFTER_AFTER_FRAMESET:{kL(this,H);break}default:}}onWhitespaceCharacter(H){if(this.skipNextNewLine){if(this.skipNextNewLine=!1,H.chars.charCodeAt(0)===x.LINE_FEED){if(H.chars.length===1)return;H.chars=H.chars.substr(1)}}if(this.tokenizer.inForeignNode){this._insertCharacters(H);return}switch(this.insertionMode){case A.IN_HEAD:case A.IN_HEAD_NO_SCRIPT:case A.AFTER_HEAD:case A.TEXT:case A.IN_COLUMN_GROUP:case A.IN_SELECT:case A.IN_SELECT_IN_TABLE:case A.IN_FRAMESET:case A.AFTER_FRAMESET:{this._insertCharacters(H);break}case A.IN_BODY:case A.IN_CAPTION:case A.IN_CELL:case A.IN_TEMPLATE:case A.AFTER_BODY:case A.AFTER_AFTER_BODY:case A.AFTER_AFTER_FRAMESET:{TM(this,H);break}case A.IN_TABLE:case A.IN_TABLE_BODY:case A.IN_ROW:{TL(this,H);break}case A.IN_TABLE_TEXT:{lM(this,H);break}default:}}}function ev(H,Q){let Y=H.activeFormattingElements.getElementEntryInScopeWithTagName(Q.tagName);if(Y){if(!H.openElements.contains(Y.element))H.activeFormattingElements.removeEntry(Y),Y=null;else if(!H.openElements.hasInScope(Q.tagID))Y=null}else kM(H,Q);return Y}function HS(H,Q){let Y=null,J=H.openElements.stackTop;for(;J>=0;J--){let w=H.openElements.items[J];if(w===Q.element)break;if(H._isSpecialElement(w,H.openElements.tagIDs[J]))Y=w}if(!Y)H.openElements.shortenToLength(Math.max(J,0)),H.activeFormattingElements.removeEntry(Q);return Y}function ZS(H,Q,Y){let J=Q,w=H.openElements.getCommonAncestor(Q);for(let U=0,F=w;F!==Y;U++,F=w){w=H.openElements.getCommonAncestor(F);let B=H.activeFormattingElements.getElementEntry(F),V=B&&U>=ov;if(!B||V){if(V)H.activeFormattingElements.removeEntry(B);H.openElements.remove(F)}else{if(F=XS(H,B),J===Q)H.activeFormattingElements.bookmark=B;H.treeAdapter.detachNode(J),H.treeAdapter.appendChild(F,J),J=F}}return J}function XS(H,Q){let Y=H.treeAdapter.getNamespaceURI(Q.element),J=H.treeAdapter.createElement(Q.token.tagName,Y,Q.token.attrs);return H.openElements.replace(Q.element,J),Q.element=J,J}function QS(H,Q,Y){let J=H.treeAdapter.getTagName(Q),w=s9(J);if(H._isElementCausesFosterParenting(w))H._fosterParentElement(Y);else{let U=H.treeAdapter.getNamespaceURI(Q);if(w===j.TEMPLATE&&U===z1.HTML)Q=H.treeAdapter.getTemplateContent(Q);H.treeAdapter.appendChild(Q,Y)}}function qS(H,Q,Y){let J=H.treeAdapter.getNamespaceURI(Y.element),{token:w}=Y,U=H.treeAdapter.createElement(w.tagName,J,w.attrs);H._adoptNodes(Q,U),H.treeAdapter.appendChild(Q,U),H.activeFormattingElements.insertElementAfterBookmark(U,w),H.activeFormattingElements.removeEntry(Y),H.openElements.remove(Y.element),H.openElements.insertAfter(Q,U,w.tagID)}function uL(H,Q){for(let Y=0;Y<nv;Y++){let J=ev(H,Q);if(!J)break;let w=HS(H,J);if(!w)break;H.activeFormattingElements.bookmark=J;let U=ZS(H,w,J.element),F=H.openElements.getCommonAncestor(J.element);if(H.treeAdapter.detachNode(U),F)QS(H,F,U);qS(H,w,J)}}function AL(H,Q){H._appendCommentNode(Q,H.openElements.currentTmplContentOrNode)}function YS(H,Q){H._appendCommentNode(Q,H.openElements.items[0])}function JS(H,Q){H._appendCommentNode(Q,H.document)}function kL(H,Q){if(H.stopped=!0,Q.location){let Y=H.fragmentContext?0:2;for(let J=H.openElements.stackTop;J>=Y;J--)H._setEndLocation(H.openElements.items[J],Q);if(!H.fragmentContext&&H.openElements.stackTop>=0){let J=H.openElements.items[0],w=H.treeAdapter.getNodeSourceCodeLocation(J);if(w&&!w.endTag){if(H._setEndLocation(J,Q),H.openElements.stackTop>=1){let U=H.openElements.items[1],F=H.treeAdapter.getNodeSourceCodeLocation(U);if(F&&!F.endTag)H._setEndLocation(U,Q)}}}}}function KS(H,Q){H._setDocumentType(Q);let Y=Q.forceQuirks?e5.QUIRKS:gM(Q);if(!$M(Q))H._err(Q,q1.nonConformingDoctype);H.treeAdapter.setDocumentMode(H.document,Y),H.insertionMode=A.BEFORE_HTML}function lZ(H,Q){H._err(Q,q1.missingDoctype,!0),H.treeAdapter.setDocumentMode(H.document,e5.QUIRKS),H.insertionMode=A.BEFORE_HTML,H._processToken(Q)}function wS(H,Q){if(Q.tagID===j.HTML)H._insertElement(Q,z1.HTML),H.insertionMode=A.BEFORE_HEAD;else rZ(H,Q)}function WS(H,Q){let Y=Q.tagID;if(Y===j.HTML||Y===j.HEAD||Y===j.BODY||Y===j.BR)rZ(H,Q)}function rZ(H,Q){H._insertFakeRootElement(),H.insertionMode=A.BEFORE_HEAD,H._processToken(Q)}function LS(H,Q){switch(Q.tagID){case j.HTML:{H2(H,Q);break}case j.HEAD:{H._insertElement(Q,z1.HTML),H.headElement=H.openElements.current,H.insertionMode=A.IN_HEAD;break}default:iZ(H,Q)}}function FS(H,Q){let Y=Q.tagID;if(Y===j.HEAD||Y===j.BODY||Y===j.HTML||Y===j.BR)iZ(H,Q);else H._err(Q,q1.endTagWithoutMatchingOpenElement)}function iZ(H,Q){H._insertFakeElement(n.HEAD,j.HEAD),H.headElement=H.openElements.current,H.insertionMode=A.IN_HEAD,H._processToken(Q)}function _3(H,Q){switch(Q.tagID){case j.HTML:{H2(H,Q);break}case j.BASE:case j.BASEFONT:case j.BGSOUND:case j.LINK:case j.META:{H._appendElement(Q,z1.HTML),Q.ackSelfClosing=!0;break}case j.TITLE:{H._switchToTextParsing(Q,Z5.RCDATA);break}case j.NOSCRIPT:{if(H.options.scriptingEnabled)H._switchToTextParsing(Q,Z5.RAWTEXT);else H._insertElement(Q,z1.HTML),H.insertionMode=A.IN_HEAD_NO_SCRIPT;break}case j.NOFRAMES:case j.STYLE:{H._switchToTextParsing(Q,Z5.RAWTEXT);break}case j.SCRIPT:{H._switchToTextParsing(Q,Z5.SCRIPT_DATA);break}case j.TEMPLATE:{H._insertTemplate(Q),H.activeFormattingElements.insertMarker(),H.framesetOk=!1,H.insertionMode=A.IN_TEMPLATE,H.tmplInsertionModeStack.unshift(A.IN_TEMPLATE);break}case j.HEAD:{H._err(Q,q1.misplacedStartTagForHeadElement);break}default:dZ(H,Q)}}function US(H,Q){switch(Q.tagID){case j.HEAD:{H.openElements.pop(),H.insertionMode=A.AFTER_HEAD;break}case j.BODY:case j.BR:case j.HTML:{dZ(H,Q);break}case j.TEMPLATE:{t4(H,Q);break}default:H._err(Q,q1.endTagWithoutMatchingOpenElement)}}function t4(H,Q){if(H.openElements.tmplCount>0){if(H.openElements.generateImpliedEndTagsThoroughly(),H.openElements.currentTagId!==j.TEMPLATE)H._err(Q,q1.closingOfElementWithOpenChildElements);H.openElements.popUntilTagNamePopped(j.TEMPLATE),H.activeFormattingElements.clearToLastMarker(),H.tmplInsertionModeStack.shift(),H._resetInsertionMode()}else H._err(Q,q1.endTagWithoutMatchingOpenElement)}function dZ(H,Q){H.openElements.pop(),H.insertionMode=A.AFTER_HEAD,H._processToken(Q)}function BS(H,Q){switch(Q.tagID){case j.HTML:{H2(H,Q);break}case j.BASEFONT:case j.BGSOUND:case j.HEAD:case j.LINK:case j.META:case j.NOFRAMES:case j.STYLE:{_3(H,Q);break}case j.NOSCRIPT:{H._err(Q,q1.nestedNoscriptInHead);break}default:aZ(H,Q)}}function VS(H,Q){switch(Q.tagID){case j.NOSCRIPT:{H.openElements.pop(),H.insertionMode=A.IN_HEAD;break}case j.BR:{aZ(H,Q);break}default:H._err(Q,q1.endTagWithoutMatchingOpenElement)}}function aZ(H,Q){let Y=Q.type===G0.EOF?q1.openElementsLeftAfterEof:q1.disallowedContentInNoscriptInHead;H._err(Q,Y),H.openElements.pop(),H.insertionMode=A.IN_HEAD,H._processToken(Q)}function zS(H,Q){switch(Q.tagID){case j.HTML:{H2(H,Q);break}case j.BODY:{H._insertElement(Q,z1.HTML),H.framesetOk=!1,H.insertionMode=A.IN_BODY;break}case j.FRAMESET:{H._insertElement(Q,z1.HTML),H.insertionMode=A.IN_FRAMESET;break}case j.BASE:case j.BASEFONT:case j.BGSOUND:case j.LINK:case j.META:case j.NOFRAMES:case j.SCRIPT:case j.STYLE:case j.TEMPLATE:case j.TITLE:{H._err(Q,q1.abandonedHeadElementChild),H.openElements.push(H.headElement,j.HEAD),_3(H,Q),H.openElements.remove(H.headElement);break}case j.HEAD:{H._err(Q,q1.misplacedStartTagForHeadElement);break}default:cZ(H,Q)}}function jS(H,Q){switch(Q.tagID){case j.BODY:case j.HTML:case j.BR:{cZ(H,Q);break}case j.TEMPLATE:{t4(H,Q);break}default:H._err(Q,q1.endTagWithoutMatchingOpenElement)}}function cZ(H,Q){H._insertFakeElement(n.BODY,j.BODY),H.insertionMode=A.IN_BODY,LY(H,Q)}function LY(H,Q){switch(Q.type){case G0.CHARACTER:{AM(H,Q);break}case G0.WHITESPACE_CHARACTER:{TM(H,Q);break}case G0.COMMENT:{AL(H,Q);break}case G0.START_TAG:{H2(H,Q);break}case G0.END_TAG:{FY(H,Q);break}case G0.EOF:{fM(H,Q);break}default:}}function TM(H,Q){H._reconstructActiveFormattingElements(),H._insertCharacters(Q)}function AM(H,Q){H._reconstructActiveFormattingElements(),H._insertCharacters(Q),H.framesetOk=!1}function RS(H,Q){if(H.openElements.tmplCount===0)H.treeAdapter.adoptAttributes(H.openElements.items[0],Q.attrs)}function OS(H,Q){let Y=H.openElements.tryPeekProperlyNestedBodyElement();if(Y&&H.openElements.tmplCount===0)H.framesetOk=!1,H.treeAdapter.adoptAttributes(Y,Q.attrs)}function NS(H,Q){let Y=H.openElements.tryPeekProperlyNestedBodyElement();if(H.framesetOk&&Y)H.treeAdapter.detachNode(Y),H.openElements.popAllUpToHtmlElement(),H._insertElement(Q,z1.HTML),H.insertionMode=A.IN_FRAMESET}function PS(H,Q){if(H.openElements.hasInButtonScope(j.P))H._closePElement();H._insertElement(Q,z1.HTML)}function MS(H,Q){if(H.openElements.hasInButtonScope(j.P))H._closePElement();if(H.openElements.currentTagId!==void 0&&E8.has(H.openElements.currentTagId))H.openElements.pop();H._insertElement(Q,z1.HTML)}function CS(H,Q){if(H.openElements.hasInButtonScope(j.P))H._closePElement();H._insertElement(Q,z1.HTML),H.skipNextNewLine=!0,H.framesetOk=!1}function bS(H,Q){let Y=H.openElements.tmplCount>0;if(!H.formElement||Y){if(H.openElements.hasInButtonScope(j.P))H._closePElement();if(H._insertElement(Q,z1.HTML),!Y)H.formElement=H.openElements.current}}function $S(H,Q){H.framesetOk=!1;let Y=Q.tagID;for(let J=H.openElements.stackTop;J>=0;J--){let w=H.openElements.tagIDs[J];if(Y===j.LI&&w===j.LI||(Y===j.DD||Y===j.DT)&&(w===j.DD||w===j.DT)){H.openElements.generateImpliedEndTagsWithExclusion(w),H.openElements.popUntilTagNamePopped(w);break}if(w!==j.ADDRESS&&w!==j.DIV&&w!==j.P&&H._isSpecialElement(H.openElements.items[J],w))break}if(H.openElements.hasInButtonScope(j.P))H._closePElement();H._insertElement(Q,z1.HTML)}function gS(H,Q){if(H.openElements.hasInButtonScope(j.P))H._closePElement();H._insertElement(Q,z1.HTML),H.tokenizer.state=Z5.PLAINTEXT}function GS(H,Q){if(H.openElements.hasInScope(j.BUTTON))H.openElements.generateImpliedEndTags(),H.openElements.popUntilTagNamePopped(j.BUTTON);H._reconstructActiveFormattingElements(),H._insertElement(Q,z1.HTML),H.framesetOk=!1}function DS(H,Q){let Y=H.activeFormattingElements.getElementEntryInScopeWithTagName(n.A);if(Y)uL(H,Q),H.openElements.remove(Y.element),H.activeFormattingElements.removeEntry(Y);H._reconstructActiveFormattingElements(),H._insertElement(Q,z1.HTML),H.activeFormattingElements.pushElement(H.openElements.current,Q)}function hS(H,Q){H._reconstructActiveFormattingElements(),H._insertElement(Q,z1.HTML),H.activeFormattingElements.pushElement(H.openElements.current,Q)}function _S(H,Q){if(H._reconstructActiveFormattingElements(),H.openElements.hasInScope(j.NOBR))uL(H,Q),H._reconstructActiveFormattingElements();H._insertElement(Q,z1.HTML),H.activeFormattingElements.pushElement(H.openElements.current,Q)}function xS(H,Q){H._reconstructActiveFormattingElements(),H._insertElement(Q,z1.HTML),H.activeFormattingElements.insertMarker(),H.framesetOk=!1}function ES(H,Q){if(H.treeAdapter.getDocumentMode(H.document)!==e5.QUIRKS&&H.openElements.hasInButtonScope(j.P))H._closePElement();H._insertElement(Q,z1.HTML),H.framesetOk=!1,H.insertionMode=A.IN_TABLE}function mM(H,Q){H._reconstructActiveFormattingElements(),H._appendElement(Q,z1.HTML),H.framesetOk=!1,Q.ackSelfClosing=!0}function uM(H){let Q=uZ(H,F6.TYPE);return Q!=null&&Q.toLowerCase()===sv}function IS(H,Q){if(H._reconstructActiveFormattingElements(),H._appendElement(Q,z1.HTML),!uM(Q))H.framesetOk=!1;Q.ackSelfClosing=!0}function yS(H,Q){H._appendElement(Q,z1.HTML),Q.ackSelfClosing=!0}function vS(H,Q){if(H.openElements.hasInButtonScope(j.P))H._closePElement();H._appendElement(Q,z1.HTML),H.framesetOk=!1,Q.ackSelfClosing=!0}function SS(H,Q){Q.tagName=n.IMG,Q.tagID=j.IMG,mM(H,Q)}function TS(H,Q){H._insertElement(Q,z1.HTML),H.skipNextNewLine=!0,H.tokenizer.state=Z5.RCDATA,H.originalInsertionMode=H.insertionMode,H.framesetOk=!1,H.insertionMode=A.TEXT}function AS(H,Q){if(H.openElements.hasInButtonScope(j.P))H._closePElement();H._reconstructActiveFormattingElements(),H.framesetOk=!1,H._switchToTextParsing(Q,Z5.RAWTEXT)}function mS(H,Q){H.framesetOk=!1,H._switchToTextParsing(Q,Z5.RAWTEXT)}function yM(H,Q){H._switchToTextParsing(Q,Z5.RAWTEXT)}function uS(H,Q){H._reconstructActiveFormattingElements(),H._insertElement(Q,z1.HTML),H.framesetOk=!1,H.insertionMode=H.insertionMode===A.IN_TABLE||H.insertionMode===A.IN_CAPTION||H.insertionMode===A.IN_TABLE_BODY||H.insertionMode===A.IN_ROW||H.insertionMode===A.IN_CELL?A.IN_SELECT_IN_TABLE:A.IN_SELECT}function kS(H,Q){if(H.openElements.currentTagId===j.OPTION)H.openElements.pop();H._reconstructActiveFormattingElements(),H._insertElement(Q,z1.HTML)}function fS(H,Q){if(H.openElements.hasInScope(j.RUBY))H.openElements.generateImpliedEndTags();H._insertElement(Q,z1.HTML)}function lS(H,Q){if(H.openElements.hasInScope(j.RUBY))H.openElements.generateImpliedEndTagsWithExclusion(j.RTC);H._insertElement(Q,z1.HTML)}function pS(H,Q){if(H._reconstructActiveFormattingElements(),yL(Q),JY(Q),Q.selfClosing)H._appendElement(Q,z1.MATHML);else H._insertElement(Q,z1.MATHML);Q.ackSelfClosing=!0}function rS(H,Q){if(H._reconstructActiveFormattingElements(),vL(Q),JY(Q),Q.selfClosing)H._appendElement(Q,z1.SVG);else H._insertElement(Q,z1.SVG);Q.ackSelfClosing=!0}function vM(H,Q){H._reconstructActiveFormattingElements(),H._insertElement(Q,z1.HTML)}function H2(H,Q){switch(Q.tagID){case j.I:case j.S:case j.B:case j.U:case j.EM:case j.TT:case j.BIG:case j.CODE:case j.FONT:case j.SMALL:case j.STRIKE:case j.STRONG:{hS(H,Q);break}case j.A:{DS(H,Q);break}case j.H1:case j.H2:case j.H3:case j.H4:case j.H5:case j.H6:{MS(H,Q);break}case j.P:case j.DL:case j.OL:case j.UL:case j.DIV:case j.DIR:case j.NAV:case j.MAIN:case j.MENU:case j.ASIDE:case j.CENTER:case j.FIGURE:case j.FOOTER:case j.HEADER:case j.HGROUP:case j.DIALOG:case j.DETAILS:case j.ADDRESS:case j.ARTICLE:case j.SEARCH:case j.SECTION:case j.SUMMARY:case j.FIELDSET:case j.BLOCKQUOTE:case j.FIGCAPTION:{PS(H,Q);break}case j.LI:case j.DD:case j.DT:{$S(H,Q);break}case j.BR:case j.IMG:case j.WBR:case j.AREA:case j.EMBED:case j.KEYGEN:{mM(H,Q);break}case j.HR:{vS(H,Q);break}case j.RB:case j.RTC:{fS(H,Q);break}case j.RT:case j.RP:{lS(H,Q);break}case j.PRE:case j.LISTING:{CS(H,Q);break}case j.XMP:{AS(H,Q);break}case j.SVG:{rS(H,Q);break}case j.HTML:{RS(H,Q);break}case j.BASE:case j.LINK:case j.META:case j.STYLE:case j.TITLE:case j.SCRIPT:case j.BGSOUND:case j.BASEFONT:case j.TEMPLATE:{_3(H,Q);break}case j.BODY:{OS(H,Q);break}case j.FORM:{bS(H,Q);break}case j.NOBR:{_S(H,Q);break}case j.MATH:{pS(H,Q);break}case j.TABLE:{ES(H,Q);break}case j.INPUT:{IS(H,Q);break}case j.PARAM:case j.TRACK:case j.SOURCE:{yS(H,Q);break}case j.IMAGE:{SS(H,Q);break}case j.BUTTON:{GS(H,Q);break}case j.APPLET:case j.OBJECT:case j.MARQUEE:{xS(H,Q);break}case j.IFRAME:{mS(H,Q);break}case j.SELECT:{uS(H,Q);break}case j.OPTION:case j.OPTGROUP:{kS(H,Q);break}case j.NOEMBED:case j.NOFRAMES:{yM(H,Q);break}case j.FRAMESET:{NS(H,Q);break}case j.TEXTAREA:{TS(H,Q);break}case j.NOSCRIPT:{if(H.options.scriptingEnabled)yM(H,Q);else vM(H,Q);break}case j.PLAINTEXT:{gS(H,Q);break}case j.COL:case j.TH:case j.TD:case j.TR:case j.HEAD:case j.FRAME:case j.TBODY:case j.TFOOT:case j.THEAD:case j.CAPTION:case j.COLGROUP:break;default:vM(H,Q)}}function iS(H,Q){if(H.openElements.hasInScope(j.BODY)){if(H.insertionMode=A.AFTER_BODY,H.options.sourceCodeLocationInfo){let Y=H.openElements.tryPeekProperlyNestedBodyElement();if(Y)H._setEndLocation(Y,Q)}}}function dS(H,Q){if(H.openElements.hasInScope(j.BODY))H.insertionMode=A.AFTER_BODY,sM(H,Q)}function aS(H,Q){let Y=Q.tagID;if(H.openElements.hasInScope(Y))H.openElements.generateImpliedEndTags(),H.openElements.popUntilTagNamePopped(Y)}function cS(H){let Q=H.openElements.tmplCount>0,{formElement:Y}=H;if(!Q)H.formElement=null;if((Y||Q)&&H.openElements.hasInScope(j.FORM)){if(H.openElements.generateImpliedEndTags(),Q)H.openElements.popUntilTagNamePopped(j.FORM);else if(Y)H.openElements.remove(Y)}}function sS(H){if(!H.openElements.hasInButtonScope(j.P))H._insertFakeElement(n.P,j.P);H._closePElement()}function nS(H){if(H.openElements.hasInListItemScope(j.LI))H.openElements.generateImpliedEndTagsWithExclusion(j.LI),H.openElements.popUntilTagNamePopped(j.LI)}function oS(H,Q){let Y=Q.tagID;if(H.openElements.hasInScope(Y))H.openElements.generateImpliedEndTagsWithExclusion(Y),H.openElements.popUntilTagNamePopped(Y)}function tS(H){if(H.openElements.hasNumberedHeaderInScope())H.openElements.generateImpliedEndTags(),H.openElements.popUntilNumberedHeaderPopped()}function eS(H,Q){let Y=Q.tagID;if(H.openElements.hasInScope(Y))H.openElements.generateImpliedEndTags(),H.openElements.popUntilTagNamePopped(Y),H.activeFormattingElements.clearToLastMarker()}function HT(H){H._reconstructActiveFormattingElements(),H._insertFakeElement(n.BR,j.BR),H.openElements.pop(),H.framesetOk=!1}function kM(H,Q){let{tagName:Y,tagID:J}=Q;for(let w=H.openElements.stackTop;w>0;w--){let U=H.openElements.items[w],F=H.openElements.tagIDs[w];if(J===F&&(J!==j.UNKNOWN||H.treeAdapter.getTagName(U)===Y)){if(H.openElements.generateImpliedEndTagsWithExclusion(J),H.openElements.stackTop>=w)H.openElements.shortenToLength(w);break}if(H._isSpecialElement(U,F))break}}function FY(H,Q){switch(Q.tagID){case j.A:case j.B:case j.I:case j.S:case j.U:case j.EM:case j.TT:case j.BIG:case j.CODE:case j.FONT:case j.NOBR:case j.SMALL:case j.STRIKE:case j.STRONG:{uL(H,Q);break}case j.P:{sS(H);break}case j.DL:case j.UL:case j.OL:case j.DIR:case j.DIV:case j.NAV:case j.PRE:case j.MAIN:case j.MENU:case j.ASIDE:case j.BUTTON:case j.CENTER:case j.FIGURE:case j.FOOTER:case j.HEADER:case j.HGROUP:case j.DIALOG:case j.ADDRESS:case j.ARTICLE:case j.DETAILS:case j.SEARCH:case j.SECTION:case j.SUMMARY:case j.LISTING:case j.FIELDSET:case j.BLOCKQUOTE:case j.FIGCAPTION:{aS(H,Q);break}case j.LI:{nS(H);break}case j.DD:case j.DT:{oS(H,Q);break}case j.H1:case j.H2:case j.H3:case j.H4:case j.H5:case j.H6:{tS(H);break}case j.BR:{HT(H);break}case j.BODY:{iS(H,Q);break}case j.HTML:{dS(H,Q);break}case j.FORM:{cS(H);break}case j.APPLET:case j.OBJECT:case j.MARQUEE:{eS(H,Q);break}case j.TEMPLATE:{t4(H,Q);break}default:kM(H,Q)}}function fM(H,Q){if(H.tmplInsertionModeStack.length>0)cM(H,Q);else kL(H,Q)}function ZT(H,Q){var Y;if(Q.tagID===j.SCRIPT)(Y=H.scriptHandler)===null||Y===void 0||Y.call(H,H.openElements.current);H.openElements.pop(),H.insertionMode=H.originalInsertionMode}function XT(H,Q){H._err(Q,q1.eofInElementThatCanContainOnlyText),H.openElements.pop(),H.insertionMode=H.originalInsertionMode,H.onEof(Q)}function TL(H,Q){if(H.openElements.currentTagId!==void 0&&SM.has(H.openElements.currentTagId))switch(H.pendingCharacterTokens.length=0,H.hasNonWhitespacePendingCharacterToken=!1,H.originalInsertionMode=H.insertionMode,H.insertionMode=A.IN_TABLE_TEXT,Q.type){case G0.CHARACTER:{pM(H,Q);break}case G0.WHITESPACE_CHARACTER:{lM(H,Q);break}}else nZ(H,Q)}function QT(H,Q){H.openElements.clearBackToTableContext(),H.activeFormattingElements.insertMarker(),H._insertElement(Q,z1.HTML),H.insertionMode=A.IN_CAPTION}function qT(H,Q){H.openElements.clearBackToTableContext(),H._insertElement(Q,z1.HTML),H.insertionMode=A.IN_COLUMN_GROUP}function YT(H,Q){H.openElements.clearBackToTableContext(),H._insertFakeElement(n.COLGROUP,j.COLGROUP),H.insertionMode=A.IN_COLUMN_GROUP,fL(H,Q)}function JT(H,Q){H.openElements.clearBackToTableContext(),H._insertElement(Q,z1.HTML),H.insertionMode=A.IN_TABLE_BODY}function KT(H,Q){H.openElements.clearBackToTableContext(),H._insertFakeElement(n.TBODY,j.TBODY),H.insertionMode=A.IN_TABLE_BODY,UY(H,Q)}function wT(H,Q){if(H.openElements.hasInTableScope(j.TABLE))H.openElements.popUntilTagNamePopped(j.TABLE),H._resetInsertionMode(),H._processStartTag(Q)}function WT(H,Q){if(uM(Q))H._appendElement(Q,z1.HTML);else nZ(H,Q);Q.ackSelfClosing=!0}function LT(H,Q){if(!H.formElement&&H.openElements.tmplCount===0)H._insertElement(Q,z1.HTML),H.formElement=H.openElements.current,H.openElements.pop()}function I8(H,Q){switch(Q.tagID){case j.TD:case j.TH:case j.TR:{KT(H,Q);break}case j.STYLE:case j.SCRIPT:case j.TEMPLATE:{_3(H,Q);break}case j.COL:{YT(H,Q);break}case j.FORM:{LT(H,Q);break}case j.TABLE:{wT(H,Q);break}case j.TBODY:case j.TFOOT:case j.THEAD:{JT(H,Q);break}case j.INPUT:{WT(H,Q);break}case j.CAPTION:{QT(H,Q);break}case j.COLGROUP:{qT(H,Q);break}default:nZ(H,Q)}}function sZ(H,Q){switch(Q.tagID){case j.TABLE:{if(H.openElements.hasInTableScope(j.TABLE))H.openElements.popUntilTagNamePopped(j.TABLE),H._resetInsertionMode();break}case j.TEMPLATE:{t4(H,Q);break}case j.BODY:case j.CAPTION:case j.COL:case j.COLGROUP:case j.HTML:case j.TBODY:case j.TD:case j.TFOOT:case j.TH:case j.THEAD:case j.TR:break;default:nZ(H,Q)}}function nZ(H,Q){let Y=H.fosterParentingEnabled;H.fosterParentingEnabled=!0,LY(H,Q),H.fosterParentingEnabled=Y}function lM(H,Q){H.pendingCharacterTokens.push(Q)}function pM(H,Q){H.pendingCharacterTokens.push(Q),H.hasNonWhitespacePendingCharacterToken=!0}function pZ(H,Q){let Y=0;if(H.hasNonWhitespacePendingCharacterToken)for(;Y<H.pendingCharacterTokens.length;Y++)nZ(H,H.pendingCharacterTokens[Y]);else for(;Y<H.pendingCharacterTokens.length;Y++)H._insertCharacters(H.pendingCharacterTokens[Y]);H.insertionMode=H.originalInsertionMode,H._processToken(Q)}function FT(H,Q){let Y=Q.tagID;if(rM.has(Y)){if(H.openElements.hasInTableScope(j.CAPTION))H.openElements.generateImpliedEndTags(),H.openElements.popUntilTagNamePopped(j.CAPTION),H.activeFormattingElements.clearToLastMarker(),H.insertionMode=A.IN_TABLE,I8(H,Q)}else H2(H,Q)}function UT(H,Q){let Y=Q.tagID;switch(Y){case j.CAPTION:case j.TABLE:{if(H.openElements.hasInTableScope(j.CAPTION)){if(H.openElements.generateImpliedEndTags(),H.openElements.popUntilTagNamePopped(j.CAPTION),H.activeFormattingElements.clearToLastMarker(),H.insertionMode=A.IN_TABLE,Y===j.TABLE)sZ(H,Q)}break}case j.BODY:case j.COL:case j.COLGROUP:case j.HTML:case j.TBODY:case j.TD:case j.TFOOT:case j.TH:case j.THEAD:case j.TR:break;default:FY(H,Q)}}function fL(H,Q){switch(Q.tagID){case j.HTML:{H2(H,Q);break}case j.COL:{H._appendElement(Q,z1.HTML),Q.ackSelfClosing=!0;break}case j.TEMPLATE:{_3(H,Q);break}default:wY(H,Q)}}function BT(H,Q){switch(Q.tagID){case j.COLGROUP:{if(H.openElements.currentTagId===j.COLGROUP)H.openElements.pop(),H.insertionMode=A.IN_TABLE;break}case j.TEMPLATE:{t4(H,Q);break}case j.COL:break;default:wY(H,Q)}}function wY(H,Q){if(H.openElements.currentTagId===j.COLGROUP)H.openElements.pop(),H.insertionMode=A.IN_TABLE,H._processToken(Q)}function UY(H,Q){switch(Q.tagID){case j.TR:{H.openElements.clearBackToTableBodyContext(),H._insertElement(Q,z1.HTML),H.insertionMode=A.IN_ROW;break}case j.TH:case j.TD:{H.openElements.clearBackToTableBodyContext(),H._insertFakeElement(n.TR,j.TR),H.insertionMode=A.IN_ROW,BY(H,Q);break}case j.CAPTION:case j.COL:case j.COLGROUP:case j.TBODY:case j.TFOOT:case j.THEAD:{if(H.openElements.hasTableBodyContextInTableScope())H.openElements.clearBackToTableBodyContext(),H.openElements.pop(),H.insertionMode=A.IN_TABLE,I8(H,Q);break}default:I8(H,Q)}}function mL(H,Q){let Y=Q.tagID;switch(Q.tagID){case j.TBODY:case j.TFOOT:case j.THEAD:{if(H.openElements.hasInTableScope(Y))H.openElements.clearBackToTableBodyContext(),H.openElements.pop(),H.insertionMode=A.IN_TABLE;break}case j.TABLE:{if(H.openElements.hasTableBodyContextInTableScope())H.openElements.clearBackToTableBodyContext(),H.openElements.pop(),H.insertionMode=A.IN_TABLE,sZ(H,Q);break}case j.BODY:case j.CAPTION:case j.COL:case j.COLGROUP:case j.HTML:case j.TD:case j.TH:case j.TR:break;default:sZ(H,Q)}}function BY(H,Q){switch(Q.tagID){case j.TH:case j.TD:{H.openElements.clearBackToTableRowContext(),H._insertElement(Q,z1.HTML),H.insertionMode=A.IN_CELL,H.activeFormattingElements.insertMarker();break}case j.CAPTION:case j.COL:case j.COLGROUP:case j.TBODY:case j.TFOOT:case j.THEAD:case j.TR:{if(H.openElements.hasInTableScope(j.TR))H.openElements.clearBackToTableRowContext(),H.openElements.pop(),H.insertionMode=A.IN_TABLE_BODY,UY(H,Q);break}default:I8(H,Q)}}function iM(H,Q){switch(Q.tagID){case j.TR:{if(H.openElements.hasInTableScope(j.TR))H.openElements.clearBackToTableRowContext(),H.openElements.pop(),H.insertionMode=A.IN_TABLE_BODY;break}case j.TABLE:{if(H.openElements.hasInTableScope(j.TR))H.openElements.clearBackToTableRowContext(),H.openElements.pop(),H.insertionMode=A.IN_TABLE_BODY,mL(H,Q);break}case j.TBODY:case j.TFOOT:case j.THEAD:{if(H.openElements.hasInTableScope(Q.tagID)||H.openElements.hasInTableScope(j.TR))H.openElements.clearBackToTableRowContext(),H.openElements.pop(),H.insertionMode=A.IN_TABLE_BODY,mL(H,Q);break}case j.BODY:case j.CAPTION:case j.COL:case j.COLGROUP:case j.HTML:case j.TD:case j.TH:break;default:sZ(H,Q)}}function VT(H,Q){let Y=Q.tagID;if(rM.has(Y)){if(H.openElements.hasInTableScope(j.TD)||H.openElements.hasInTableScope(j.TH))H._closeTableCell(),BY(H,Q)}else H2(H,Q)}function zT(H,Q){let Y=Q.tagID;switch(Y){case j.TD:case j.TH:{if(H.openElements.hasInTableScope(Y))H.openElements.generateImpliedEndTags(),H.openElements.popUntilTagNamePopped(Y),H.activeFormattingElements.clearToLastMarker(),H.insertionMode=A.IN_ROW;break}case j.TABLE:case j.TBODY:case j.TFOOT:case j.THEAD:case j.TR:{if(H.openElements.hasInTableScope(Y))H._closeTableCell(),iM(H,Q);break}case j.BODY:case j.CAPTION:case j.COL:case j.COLGROUP:case j.HTML:break;default:FY(H,Q)}}function dM(H,Q){switch(Q.tagID){case j.HTML:{H2(H,Q);break}case j.OPTION:{if(H.openElements.currentTagId===j.OPTION)H.openElements.pop();H._insertElement(Q,z1.HTML);break}case j.OPTGROUP:{if(H.openElements.currentTagId===j.OPTION)H.openElements.pop();if(H.openElements.currentTagId===j.OPTGROUP)H.openElements.pop();H._insertElement(Q,z1.HTML);break}case j.HR:{if(H.openElements.currentTagId===j.OPTION)H.openElements.pop();if(H.openElements.currentTagId===j.OPTGROUP)H.openElements.pop();H._appendElement(Q,z1.HTML),Q.ackSelfClosing=!0;break}case j.INPUT:case j.KEYGEN:case j.TEXTAREA:case j.SELECT:{if(H.openElements.hasInSelectScope(j.SELECT)){if(H.openElements.popUntilTagNamePopped(j.SELECT),H._resetInsertionMode(),Q.tagID!==j.SELECT)H._processStartTag(Q)}break}case j.SCRIPT:case j.TEMPLATE:{_3(H,Q);break}default:}}function aM(H,Q){switch(Q.tagID){case j.OPTGROUP:{if(H.openElements.stackTop>0&&H.openElements.currentTagId===j.OPTION&&H.openElements.tagIDs[H.openElements.stackTop-1]===j.OPTGROUP)H.openElements.pop();if(H.openElements.currentTagId===j.OPTGROUP)H.openElements.pop();break}case j.OPTION:{if(H.openElements.currentTagId===j.OPTION)H.openElements.pop();break}case j.SELECT:{if(H.openElements.hasInSelectScope(j.SELECT))H.openElements.popUntilTagNamePopped(j.SELECT),H._resetInsertionMode();break}case j.TEMPLATE:{t4(H,Q);break}default:}}function jT(H,Q){let Y=Q.tagID;if(Y===j.CAPTION||Y===j.TABLE||Y===j.TBODY||Y===j.TFOOT||Y===j.THEAD||Y===j.TR||Y===j.TD||Y===j.TH)H.openElements.popUntilTagNamePopped(j.SELECT),H._resetInsertionMode(),H._processStartTag(Q);else dM(H,Q)}function RT(H,Q){let Y=Q.tagID;if(Y===j.CAPTION||Y===j.TABLE||Y===j.TBODY||Y===j.TFOOT||Y===j.THEAD||Y===j.TR||Y===j.TD||Y===j.TH){if(H.openElements.hasInTableScope(Y))H.openElements.popUntilTagNamePopped(j.SELECT),H._resetInsertionMode(),H.onEndTag(Q)}else aM(H,Q)}function OT(H,Q){switch(Q.tagID){case j.BASE:case j.BASEFONT:case j.BGSOUND:case j.LINK:case j.META:case j.NOFRAMES:case j.SCRIPT:case j.STYLE:case j.TEMPLATE:case j.TITLE:{_3(H,Q);break}case j.CAPTION:case j.COLGROUP:case j.TBODY:case j.TFOOT:case j.THEAD:{H.tmplInsertionModeStack[0]=A.IN_TABLE,H.insertionMode=A.IN_TABLE,I8(H,Q);break}case j.COL:{H.tmplInsertionModeStack[0]=A.IN_COLUMN_GROUP,H.insertionMode=A.IN_COLUMN_GROUP,fL(H,Q);break}case j.TR:{H.tmplInsertionModeStack[0]=A.IN_TABLE_BODY,H.insertionMode=A.IN_TABLE_BODY,UY(H,Q);break}case j.TD:case j.TH:{H.tmplInsertionModeStack[0]=A.IN_ROW,H.insertionMode=A.IN_ROW,BY(H,Q);break}default:H.tmplInsertionModeStack[0]=A.IN_BODY,H.insertionMode=A.IN_BODY,H2(H,Q)}}function NT(H,Q){if(Q.tagID===j.TEMPLATE)t4(H,Q)}function cM(H,Q){if(H.openElements.tmplCount>0)H.openElements.popUntilTagNamePopped(j.TEMPLATE),H.activeFormattingElements.clearToLastMarker(),H.tmplInsertionModeStack.shift(),H._resetInsertionMode(),H.onEof(Q);else kL(H,Q)}function PT(H,Q){if(Q.tagID===j.HTML)H2(H,Q);else WY(H,Q)}function sM(H,Q){var Y;if(Q.tagID===j.HTML){if(!H.fragmentContext)H.insertionMode=A.AFTER_AFTER_BODY;if(H.options.sourceCodeLocationInfo&&H.openElements.tagIDs[0]===j.HTML){H._setEndLocation(H.openElements.items[0],Q);let J=H.openElements.items[1];if(J&&!((Y=H.treeAdapter.getNodeSourceCodeLocation(J))===null||Y===void 0?void 0:Y.endTag))H._setEndLocation(J,Q)}}else WY(H,Q)}function WY(H,Q){H.insertionMode=A.IN_BODY,LY(H,Q)}function MT(H,Q){switch(Q.tagID){case j.HTML:{H2(H,Q);break}case j.FRAMESET:{H._insertElement(Q,z1.HTML);break}case j.FRAME:{H._appendElement(Q,z1.HTML),Q.ackSelfClosing=!0;break}case j.NOFRAMES:{_3(H,Q);break}default:}}function CT(H,Q){if(Q.tagID===j.FRAMESET&&!H.openElements.isRootHtmlElementCurrent()){if(H.openElements.pop(),!H.fragmentContext&&H.openElements.currentTagId!==j.FRAMESET)H.insertionMode=A.AFTER_FRAMESET}}function bT(H,Q){switch(Q.tagID){case j.HTML:{H2(H,Q);break}case j.NOFRAMES:{_3(H,Q);break}default:}}function $T(H,Q){if(Q.tagID===j.HTML)H.insertionMode=A.AFTER_AFTER_FRAMESET}function gT(H,Q){if(Q.tagID===j.HTML)H2(H,Q);else KY(H,Q)}function KY(H,Q){H.insertionMode=A.IN_BODY,LY(H,Q)}function GT(H,Q){switch(Q.tagID){case j.HTML:{H2(H,Q);break}case j.NOFRAMES:{_3(H,Q);break}default:}}function DT(H,Q){Q.chars=c0,H._insertCharacters(Q)}function hT(H,Q){H._insertCharacters(Q),H.framesetOk=!1}function nM(H){while(H.treeAdapter.getNamespaceURI(H.openElements.current)!==z1.HTML&&H.openElements.currentTagId!==void 0&&!H._isIntegrationPoint(H.openElements.currentTagId,H.openElements.current))H.openElements.pop()}function _T(H,Q){if(hM(Q))nM(H),H._startTagOutsideForeignContent(Q);else{let Y=H._getAdjustedCurrentElement(),J=H.treeAdapter.getNamespaceURI(Y);if(J===z1.MATHML)yL(Q);else if(J===z1.SVG)_M(Q),vL(Q);if(JY(Q),Q.selfClosing)H._appendElement(Q,J);else H._insertElement(Q,J);Q.ackSelfClosing=!0}}function xT(H,Q){if(Q.tagID===j.P||Q.tagID===j.BR){nM(H),H._endTagOutsideForeignContent(Q);return}for(let Y=H.openElements.stackTop;Y>0;Y--){let J=H.openElements.items[Y];if(H.treeAdapter.getNamespaceURI(J)===z1.HTML){H._endTagOutsideForeignContent(Q);break}let w=H.treeAdapter.getTagName(J);if(w.toLowerCase()===Q.tagName){Q.tagName=w,H.openElements.shortenToLength(Y);break}}}var sv="hidden",nv=8,ov=3,A,tv,SM,IM,rM;var lL=l(()=>{xL();RM();NM();YY();GM();SL();mZ();HY();n6();ZY();(function(H){H[H.INITIAL=0]="INITIAL",H[H.BEFORE_HTML=1]="BEFORE_HTML",H[H.BEFORE_HEAD=2]="BEFORE_HEAD",H[H.IN_HEAD=3]="IN_HEAD",H[H.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",H[H.AFTER_HEAD=5]="AFTER_HEAD",H[H.IN_BODY=6]="IN_BODY",H[H.TEXT=7]="TEXT",H[H.IN_TABLE=8]="IN_TABLE",H[H.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",H[H.IN_CAPTION=10]="IN_CAPTION",H[H.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",H[H.IN_TABLE_BODY=12]="IN_TABLE_BODY",H[H.IN_ROW=13]="IN_ROW",H[H.IN_CELL=14]="IN_CELL",H[H.IN_SELECT=15]="IN_SELECT",H[H.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",H[H.IN_TEMPLATE=17]="IN_TEMPLATE",H[H.AFTER_BODY=18]="AFTER_BODY",H[H.IN_FRAMESET=19]="IN_FRAMESET",H[H.AFTER_FRAMESET=20]="AFTER_FRAMESET",H[H.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",H[H.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(A||(A={}));tv={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},SM=new Set([j.TABLE,j.TBODY,j.TFOOT,j.THEAD,j.TR]),IM={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:h3,onParseError:null};rM=new Set([j.CAPTION,j.COL,j.COLGROUP,j.TBODY,j.TD,j.TFOOT,j.TH,j.THEAD,j.TR])});var Un;var oM=l(()=>{n6();YY();Un=new Set([n.AREA,n.BASE,n.BASEFONT,n.BGSOUND,n.BR,n.COL,n.EMBED,n.FRAME,n.HR,n.IMG,n.INPUT,n.KEYGEN,n.LINK,n.META,n.PARAM,n.SOURCE,n.TRACK,n.WBR])});var tM=l(()=>{lL();YY();lL();oM();mZ();SL();n6();ZY();xL()});function eM(H){return Q;function Q(Y){let J=Y&&Y.position&&Y.position[H]||{};if(typeof J.line==="number"&&J.line>0&&typeof J.column==="number"&&J.column>0)return{line:J.line,column:J.column,offset:typeof J.offset==="number"&&J.offset>-1?J.offset:void 0}}}function oZ(H){let Q=x2(H),Y=e4(H);if(Q&&Y)return{start:Q,end:Y}}var e4,x2;var HC=l(()=>{e4=eM("end"),x2=eM("start")});var v8=l(()=>{HC()});function VY(H,Q){let Y=lT(H),J=nq("type",{handlers:{root:yT,element:vT,text:ST,comment:QC,doctype:TT,raw:mT},unknown:uT}),w={parser:Y?new y8(ZC):y8.getFragmentParser(void 0,ZC),handle(B){J(B,w)},stitches:!1,options:Q||{}};J(H,w),S8(w,x2());let U=Y?w.parser.document:w.parser.getFragment(),F=NL(U,{file:w.options.file});if(w.stitches)t5(F,"comment",function(B,V,N){let R=B;if(R.value.stitch&&N&&V!==void 0){let O=N.children;return O[V]=R.value.stitch,V}});if(F.type==="root"&&F.children.length===1&&F.children[0].type===H.type)return F.children[0];return F}function XC(H,Q){let Y=-1;if(H)while(++Y<H.length)Q.handle(H[Y])}function yT(H,Q){XC(H.children,Q)}function vT(H,Q){kT(H,Q),XC(H.children,Q),fT(H,Q)}function ST(H,Q){if(Q.parser.tokenizer.state>4)Q.parser.tokenizer.state=0;let Y={type:a9.TokenType.CHARACTER,chars:H.value,location:tZ(H)};S8(Q,x2(H)),Q.parser.currentToken=Y,Q.parser._processToken(Q.parser.currentToken)}function TT(H,Q){let Y={type:a9.TokenType.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:tZ(H)};S8(Q,x2(H)),Q.parser.currentToken=Y,Q.parser._processToken(Q.parser.currentToken)}function AT(H,Q){Q.stitches=!0;let Y=pT(H);if("children"in H&&"children"in Y){let J=VY({type:"root",children:H.children},Q.options);Y.children=J.children}QC({type:"comment",value:{stitch:Y}},Q)}function QC(H,Q){let Y=H.value,J={type:a9.TokenType.COMMENT,data:Y,location:tZ(H)};S8(Q,x2(H)),Q.parser.currentToken=J,Q.parser._processToken(Q.parser.currentToken)}function mT(H,Q){if(Q.parser.tokenizer.preprocessor.html="",Q.parser.tokenizer.preprocessor.pos=-1,Q.parser.tokenizer.preprocessor.lastGapPos=-2,Q.parser.tokenizer.preprocessor.gapStack=[],Q.parser.tokenizer.preprocessor.skipNextNewLine=!1,Q.parser.tokenizer.preprocessor.lastChunkWritten=!1,Q.parser.tokenizer.preprocessor.endOfChunkHit=!1,Q.parser.tokenizer.preprocessor.isEol=!1,qC(Q,x2(H)),Q.parser.tokenizer.write(Q.options.tagfilter?H.value.replace(ET,"<$1$2"):H.value,!1),Q.parser.tokenizer._runParsingLoop(),Q.parser.tokenizer.state===72||Q.parser.tokenizer.state===78){Q.parser.tokenizer.preprocessor.lastChunkWritten=!0;let Y=Q.parser.tokenizer._consume();Q.parser.tokenizer._callState(Y)}}function uT(H,Q){let Y=H;if(Q.options.passThrough&&Q.options.passThrough.includes(Y.type))AT(Y,Q);else{let J="";if(IT.has(Y.type))J=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax";throw Error("Cannot compile `"+Y.type+"` node"+J)}}function S8(H,Q){qC(H,Q);let Y=H.parser.tokenizer.currentCharacterToken;if(Y&&Y.location)Y.location.endLine=H.parser.tokenizer.preprocessor.line,Y.location.endCol=H.parser.tokenizer.preprocessor.col+1,Y.location.endOffset=H.parser.tokenizer.preprocessor.offset+1,H.parser.currentToken=Y,H.parser._processToken(H.parser.currentToken);H.parser.tokenizer.paused=!1,H.parser.tokenizer.inLoop=!1,H.parser.tokenizer.active=!1,H.parser.tokenizer.returnState=Z5.DATA,H.parser.tokenizer.charRefCode=-1,H.parser.tokenizer.consumedAfterSnapshot=-1,H.parser.tokenizer.currentLocation=null,H.parser.tokenizer.currentCharacterToken=null,H.parser.tokenizer.currentToken=null,H.parser.tokenizer.currentAttr={name:"",value:""}}function qC(H,Q){if(Q&&Q.offset!==void 0){let Y={startLine:Q.line,startCol:Q.column,startOffset:Q.offset,endLine:-1,endCol:-1,endOffset:-1};H.parser.tokenizer.preprocessor.lineStartPos=-Q.column+1,H.parser.tokenizer.preprocessor.droppedBufferSize=Q.offset,H.parser.tokenizer.preprocessor.line=Q.line,H.parser.tokenizer.currentLocation=Y}}function kT(H,Q){let Y=H.tagName.toLowerCase();if(Q.parser.tokenizer.state===Z5.PLAINTEXT)return;S8(Q,x2(H));let J=Q.parser.openElements.current,w="namespaceURI"in J?J.namespaceURI:W6.html;if(w===W6.html&&Y==="svg")w=W6.svg;let U=CL({...H,children:[]},{space:w===W6.svg?"svg":"html"}),F={type:a9.TokenType.START_TAG,tagName:Y,tagID:kZ.getTagID(Y),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in U?U.attrs:[],location:tZ(H)};Q.parser.currentToken=F,Q.parser._processToken(Q.parser.currentToken),Q.parser.tokenizer.lastStartTagName=Y}function fT(H,Q){let Y=H.tagName.toLowerCase();if(!Q.parser.tokenizer.inForeignNode&&HM.includes(Y))return;if(Q.parser.tokenizer.state===Z5.PLAINTEXT)return;S8(Q,e4(H));let J={type:a9.TokenType.END_TAG,tagName:Y,tagID:kZ.getTagID(Y),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:tZ(H)};if(Q.parser.currentToken=J,Q.parser._processToken(Q.parser.currentToken),Y===Q.parser.tokenizer.lastStartTagName&&(Q.parser.tokenizer.state===Z5.RCDATA||Q.parser.tokenizer.state===Z5.RAWTEXT||Q.parser.tokenizer.state===Z5.SCRIPT_DATA))Q.parser.tokenizer.state=Z5.DATA}function lT(H){let Q=H.type==="root"?H.children[0]:H;return Boolean(Q&&(Q.type==="doctype"||Q.type==="element"&&Q.tagName.toLowerCase()==="html"))}function tZ(H){let Q=x2(H)||{line:void 0,column:void 0,offset:void 0},Y=e4(H)||{line:void 0,column:void 0,offset:void 0};return{startLine:Q.line,startCol:Q.column,startOffset:Q.offset,endLine:Y.line,endCol:Y.column,endOffset:Y.offset}}function pT(H){return"children"in H?G3({...H,children:[]}):G3(H)}var ET,IT,ZC;var YC=l(()=>{SZ();sP();eP();ZM();tM();v8();b8();cq();ML();ET=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,IT=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),ZC={sourceCodeLocationInfo:!0,scriptingEnabled:!1}});var JC=l(()=>{YC()});function T8(H){return function(Q,Y){return VY(Q,{...H,file:Y})}}var KC=l(()=>{JC()});var wC=l(()=>{KC()});var H7,x3;var pL=l(()=>{H7=["ariaDescribedBy","ariaLabel","ariaLabelledBy"],x3={ancestors:{tbody:["table"],td:["table"],th:["table"],thead:["table"],tfoot:["table"],tr:["table"]},attributes:{a:[...H7,"dataFootnoteBackref","dataFootnoteRef",["className","data-footnote-backref"],"href"],blockquote:["cite"],code:[["className",/^language-./]],del:["cite"],div:["itemScope","itemType"],dl:[...H7],h2:[["className","sr-only"]],img:[...H7,"longDesc","src"],input:[["disabled",!0],["type","checkbox"]],ins:["cite"],li:[["className","task-list-item"]],ol:[...H7,["className","contains-task-list"]],q:["cite"],section:["dataFootnotes",["className","footnotes"]],source:["srcSet"],summary:[...H7],table:[...H7],ul:[...H7,["className","contains-task-list"]],"*":["abbr","accept","acceptCharset","accessKey","action","align","alt","axis","border","cellPadding","cellSpacing","char","charOff","charSet","checked","clear","colSpan","color","cols","compact","coords","dateTime","dir","encType","frame","hSpace","headers","height","hrefLang","htmlFor","id","isMap","itemProp","label","lang","maxLength","media","method","multiple","name","noHref","noShade","noWrap","open","prompt","readOnly","rev","rowSpan","rows","rules","scope","selected","shape","size","span","start","summary","tabIndex","title","useMap","vAlign","value","width"]},clobber:["ariaDescribedBy","ariaLabelledBy","id","name"],clobberPrefix:"user-content-",protocols:{cite:["http","https"],href:["http","https","irc","ircs","mailto","xmpp"],longDesc:["http","https"],src:["http","https"]},required:{input:{disabled:!0,type:"checkbox"}},strip:["script"],tagNames:["a","b","blockquote","br","code","dd","del","details","div","dl","dt","em","h1","h2","h3","h4","h5","h6","hr","i","img","input","ins","kbd","li","ol","p","picture","pre","q","rp","rt","ruby","s","samp","section","source","span","strike","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","tr","tt","ul","var"]}});function rL(H,Q){let Y={type:"root",children:[]},J={schema:Q?{...x3,...Q}:x3,stack:[]},w=FC(J,H);if(w)if(Array.isArray(w))if(w.length===1)Y=w[0];else Y.children=w;else Y=w;return Y}function FC(H,Q){if(Q&&typeof Q==="object"){let Y=Q;switch(typeof Y.type==="string"?Y.type:""){case"comment":return rT(H,Y);case"doctype":return iT(H,Y);case"element":return dT(H,Y);case"root":return aT(H,Y);case"text":return cT(H,Y);default:}}}function rT(H,Q){if(H.schema.allowComments){let Y=typeof Q.value==="string"?Q.value:"",J=Y.indexOf("-->"),U={type:"comment",value:J<0?Y:Y.slice(0,J)};return eZ(U,Q),U}}function iT(H,Q){if(H.schema.allowDoctypes){let Y={type:"doctype"};return eZ(Y,Q),Y}}function dT(H,Q){let Y=typeof Q.tagName==="string"?Q.tagName:"";H.stack.push(Y);let J=UC(H,Q.children),w=sT(H,Q.properties);H.stack.pop();let U=!1;if(Y&&Y!=="*"&&(!H.schema.tagNames||H.schema.tagNames.includes(Y))){if(U=!0,H.schema.ancestors&&o9.call(H.schema.ancestors,Y)){let B=H.schema.ancestors[Y],V=-1;U=!1;while(++V<B.length)if(H.stack.includes(B[V]))U=!0}}if(!U)return H.schema.strip&&!H.schema.strip.includes(Y)?J:void 0;let F={type:"element",tagName:Y,properties:w,children:J};return eZ(F,Q),F}function aT(H,Q){let J={type:"root",children:UC(H,Q.children)};return eZ(J,Q),J}function cT(H,Q){let J={type:"text",value:typeof Q.value==="string"?Q.value:""};return eZ(J,Q),J}function UC(H,Q){let Y=[];if(Array.isArray(Q)){let J=Q,w=-1;while(++w<J.length){let U=FC(H,J[w]);if(U)if(Array.isArray(U))Y.push(...U);else Y.push(U)}}return Y}function sT(H,Q){let Y=H.stack[H.stack.length-1],J=H.schema.attributes,w=H.schema.required,U=J&&o9.call(J,Y)?J[Y]:void 0,F=J&&o9.call(J,"*")?J["*"]:void 0,B=Q&&typeof Q==="object"?Q:{},V={},N;for(N in B)if(o9.call(B,N)){let R=B[N],O=WC(H,LC(U,N),N,R);if(O===null||O===void 0)O=WC(H,LC(F,N),N,R);if(O!==null&&O!==void 0)V[N]=O}if(w&&o9.call(w,Y)){let R=w[Y];for(N in R)if(o9.call(R,N)&&!o9.call(V,N))V[N]=R[N]}return V}function WC(H,Q,Y,J){return Q?Array.isArray(J)?nT(H,Q,Y,J):BC(H,Q,Y,J):void 0}function nT(H,Q,Y,J){let w=-1,U=[];while(++w<J.length){let F=BC(H,Q,Y,J[w]);if(typeof F==="number"||typeof F==="string")U.push(F)}return U}function BC(H,Q,Y,J){if(typeof J!=="boolean"&&typeof J!=="number"&&typeof J!=="string")return;if(!oT(H,Y,J))return;if(typeof Q==="object"&&Q.length>1){let w=!1,U=0;while(++U<Q.length){let F=Q[U];if(F&&typeof F==="object"&&"flags"in F){if(F.test(String(J))){w=!0;break}}else if(F===J){w=!0;break}}if(!w)return}return H.schema.clobber&&H.schema.clobberPrefix&&H.schema.clobber.includes(Y)?H.schema.clobberPrefix+J:J}function oT(H,Q,Y){let J=H.schema.protocols&&o9.call(H.schema.protocols,Q)?H.schema.protocols[Q]:void 0;if(!J||J.length===0)return!0;let w=String(Y),U=w.indexOf(":"),F=w.indexOf("?"),B=w.indexOf("#"),V=w.indexOf("/");if(U<0||V>-1&&U>V||F>-1&&U>F||B>-1&&U>B)return!0;let N=-1;while(++N<J.length){let R=J[N];if(U===R.length&&w.slice(0,R.length)===R)return!0}return!1}function eZ(H,Q){let Y=oZ(Q);if(Q.data)H.data=G3(Q.data);if(Y)H.position=Y}function LC(H,Q){let Y,J=-1;if(H)while(++J<H.length){let w=H[J],U=typeof w==="string"?w:w[0];if(U===Q)return w;if(U==="data*")Y=w}if(Q.length>4&&Q.slice(0,4).toLowerCase()==="data")return Y}var o9;var VC=l(()=>{SZ();v8();pL();o9={}.hasOwnProperty});var iL=l(()=>{VC();pL()});function HX(H){return function(Q){return rL(Q,H)}}var zC=l(()=>{iL()});var jC=l(()=>{iL();zC()});function dL(H,Q){let Y=String(H);if(typeof Q!=="string")throw TypeError("Expected character");let J=0,w=Y.indexOf(Q);while(w!==-1)J++,w=Y.indexOf(Q,w+Q.length);return J}var M;var RC=l(()=>{M={carriageReturn:-5,lineFeed:-4,carriageReturnLineFeed:-3,horizontalTab:-2,virtualSpace:-1,eof:null,nul:0,soh:1,stx:2,etx:3,eot:4,enq:5,ack:6,bel:7,bs:8,ht:9,lf:10,vt:11,ff:12,cr:13,so:14,si:15,dle:16,dc1:17,dc2:18,dc3:19,dc4:20,nak:21,syn:22,etb:23,can:24,em:25,sub:26,esc:27,fs:28,gs:29,rs:30,us:31,space:32,exclamationMark:33,quotationMark:34,numberSign:35,dollarSign:36,percentSign:37,ampersand:38,apostrophe:39,leftParenthesis:40,rightParenthesis:41,asterisk:42,plusSign:43,comma:44,dash:45,dot:46,slash:47,digit0:48,digit1:49,digit2:50,digit3:51,digit4:52,digit5:53,digit6:54,digit7:55,digit8:56,digit9:57,colon:58,semicolon:59,lessThan:60,equalsTo:61,greaterThan:62,questionMark:63,atSign:64,uppercaseA:65,uppercaseB:66,uppercaseC:67,uppercaseD:68,uppercaseE:69,uppercaseF:70,uppercaseG:71,uppercaseH:72,uppercaseI:73,uppercaseJ:74,uppercaseK:75,uppercaseL:76,uppercaseM:77,uppercaseN:78,uppercaseO:79,uppercaseP:80,uppercaseQ:81,uppercaseR:82,uppercaseS:83,uppercaseT:84,uppercaseU:85,uppercaseV:86,uppercaseW:87,uppercaseX:88,uppercaseY:89,uppercaseZ:90,leftSquareBracket:91,backslash:92,rightSquareBracket:93,caret:94,underscore:95,graveAccent:96,lowercaseA:97,lowercaseB:98,lowercaseC:99,lowercaseD:100,lowercaseE:101,lowercaseF:102,lowercaseG:103,lowercaseH:104,lowercaseI:105,lowercaseJ:106,lowercaseK:107,lowercaseL:108,lowercaseM:109,lowercaseN:110,lowercaseO:111,lowercaseP:112,lowercaseQ:113,lowercaseR:114,lowercaseS:115,lowercaseT:116,lowercaseU:117,lowercaseV:118,lowercaseW:119,lowercaseX:120,lowercaseY:121,lowercaseZ:122,leftCurlyBrace:123,verticalBar:124,rightCurlyBrace:125,tilde:126,del:127,byteOrderMarker:65279,replacementCharacter:65533}});var V1;var OC=l(()=>{V1={attentionSideAfter:2,attentionSideBefore:1,atxHeadingOpeningFenceSizeMax:6,autolinkDomainSizeMax:63,autolinkSchemeSizeMax:32,cdataOpeningString:"CDATA[",characterGroupPunctuation:2,characterGroupWhitespace:1,characterReferenceDecimalSizeMax:7,characterReferenceHexadecimalSizeMax:6,characterReferenceNamedSizeMax:31,codeFencedSequenceSizeMin:3,contentTypeContent:"content",contentTypeDocument:"document",contentTypeFlow:"flow",contentTypeString:"string",contentTypeText:"text",hardBreakPrefixSizeMin:2,htmlBasic:6,htmlCdata:5,htmlComment:2,htmlComplete:7,htmlDeclaration:4,htmlInstruction:3,htmlRawSizeMax:8,htmlRaw:1,linkResourceDestinationBalanceMax:32,linkReferenceSizeMax:999,listItemValueSizeMax:10,numericBaseDecimal:10,numericBaseHexadecimal:16,tabSize:4,thematicBreakMarkerCountMin:3,v8MaxSafeChunkSize:1e4}});var G;var NC=l(()=>{G={data:"data",whitespace:"whitespace",lineEnding:"lineEnding",lineEndingBlank:"lineEndingBlank",linePrefix:"linePrefix",lineSuffix:"lineSuffix",atxHeading:"atxHeading",atxHeadingSequence:"atxHeadingSequence",atxHeadingText:"atxHeadingText",autolink:"autolink",autolinkEmail:"autolinkEmail",autolinkMarker:"autolinkMarker",autolinkProtocol:"autolinkProtocol",characterEscape:"characterEscape",characterEscapeValue:"characterEscapeValue",characterReference:"characterReference",characterReferenceMarker:"characterReferenceMarker",characterReferenceMarkerNumeric:"characterReferenceMarkerNumeric",characterReferenceMarkerHexadecimal:"characterReferenceMarkerHexadecimal",characterReferenceValue:"characterReferenceValue",codeFenced:"codeFenced",codeFencedFence:"codeFencedFence",codeFencedFenceSequence:"codeFencedFenceSequence",codeFencedFenceInfo:"codeFencedFenceInfo",codeFencedFenceMeta:"codeFencedFenceMeta",codeFlowValue:"codeFlowValue",codeIndented:"codeIndented",codeText:"codeText",codeTextData:"codeTextData",codeTextPadding:"codeTextPadding",codeTextSequence:"codeTextSequence",content:"content",definition:"definition",definitionDestination:"definitionDestination",definitionDestinationLiteral:"definitionDestinationLiteral",definitionDestinationLiteralMarker:"definitionDestinationLiteralMarker",definitionDestinationRaw:"definitionDestinationRaw",definitionDestinationString:"definitionDestinationString",definitionLabel:"definitionLabel",definitionLabelMarker:"definitionLabelMarker",definitionLabelString:"definitionLabelString",definitionMarker:"definitionMarker",definitionTitle:"definitionTitle",definitionTitleMarker:"definitionTitleMarker",definitionTitleString:"definitionTitleString",emphasis:"emphasis",emphasisSequence:"emphasisSequence",emphasisText:"emphasisText",escapeMarker:"escapeMarker",hardBreakEscape:"hardBreakEscape",hardBreakTrailing:"hardBreakTrailing",htmlFlow:"htmlFlow",htmlFlowData:"htmlFlowData",htmlText:"htmlText",htmlTextData:"htmlTextData",image:"image",label:"label",labelText:"labelText",labelLink:"labelLink",labelImage:"labelImage",labelMarker:"labelMarker",labelImageMarker:"labelImageMarker",labelEnd:"labelEnd",link:"link",paragraph:"paragraph",reference:"reference",referenceMarker:"referenceMarker",referenceString:"referenceString",resource:"resource",resourceDestination:"resourceDestination",resourceDestinationLiteral:"resourceDestinationLiteral",resourceDestinationLiteralMarker:"resourceDestinationLiteralMarker",resourceDestinationRaw:"resourceDestinationRaw",resourceDestinationString:"resourceDestinationString",resourceMarker:"resourceMarker",resourceTitle:"resourceTitle",resourceTitleMarker:"resourceTitleMarker",resourceTitleString:"resourceTitleString",setextHeading:"setextHeading",setextHeadingText:"setextHeadingText",setextHeadingLine:"setextHeadingLine",setextHeadingLineSequence:"setextHeadingLineSequence",strong:"strong",strongSequence:"strongSequence",strongText:"strongText",thematicBreak:"thematicBreak",thematicBreakSequence:"thematicBreakSequence",blockQuote:"blockQuote",blockQuotePrefix:"blockQuotePrefix",blockQuoteMarker:"blockQuoteMarker",blockQuotePrefixWhitespace:"blockQuotePrefixWhitespace",listOrdered:"listOrdered",listUnordered:"listUnordered",listItemIndent:"listItemIndent",listItemMarker:"listItemMarker",listItemPrefix:"listItemPrefix",listItemPrefixWhitespace:"listItemPrefixWhitespace",listItemValue:"listItemValue",chunkDocument:"chunkDocument",chunkContent:"chunkContent",chunkFlow:"chunkFlow",chunkText:"chunkText",chunkString:"chunkString"}});var j2;var PC=l(()=>{j2={ht:"\t",lf:`
|
|
232
|
+
`,cr:"\r",space:" ",exclamationMark:"!",quotationMark:'"',numberSign:"#",dollarSign:"$",percentSign:"%",ampersand:"&",apostrophe:"'",leftParenthesis:"(",rightParenthesis:")",asterisk:"*",plusSign:"+",comma:",",dash:"-",dot:".",slash:"/",digit0:"0",digit1:"1",digit2:"2",digit3:"3",digit4:"4",digit5:"5",digit6:"6",digit7:"7",digit8:"8",digit9:"9",colon:":",semicolon:";",lessThan:"<",equalsTo:"=",greaterThan:">",questionMark:"?",atSign:"@",uppercaseA:"A",uppercaseB:"B",uppercaseC:"C",uppercaseD:"D",uppercaseE:"E",uppercaseF:"F",uppercaseG:"G",uppercaseH:"H",uppercaseI:"I",uppercaseJ:"J",uppercaseK:"K",uppercaseL:"L",uppercaseM:"M",uppercaseN:"N",uppercaseO:"O",uppercaseP:"P",uppercaseQ:"Q",uppercaseR:"R",uppercaseS:"S",uppercaseT:"T",uppercaseU:"U",uppercaseV:"V",uppercaseW:"W",uppercaseX:"X",uppercaseY:"Y",uppercaseZ:"Z",leftSquareBracket:"[",backslash:"\\",rightSquareBracket:"]",caret:"^",underscore:"_",graveAccent:"`",lowercaseA:"a",lowercaseB:"b",lowercaseC:"c",lowercaseD:"d",lowercaseE:"e",lowercaseF:"f",lowercaseG:"g",lowercaseH:"h",lowercaseI:"i",lowercaseJ:"j",lowercaseK:"k",lowercaseL:"l",lowercaseM:"m",lowercaseN:"n",lowercaseO:"o",lowercaseP:"p",lowercaseQ:"q",lowercaseR:"r",lowercaseS:"s",lowercaseT:"t",lowercaseU:"u",lowercaseV:"v",lowercaseW:"w",lowercaseX:"x",lowercaseY:"y",lowercaseZ:"z",leftCurlyBrace:"{",verticalBar:"|",rightCurlyBrace:"}",tilde:"~",replacementCharacter:"�"}});var t1=l(()=>{RC();OC();NC();PC()});function Z7(H){return H!==null&&(H<M.space||H===M.del)}function C1(H){return H!==null&&H<M.horizontalTab}function P0(H){return H!==null&&(H<M.nul||H===M.space)}function a1(H){return H===M.horizontalTab||H===M.virtualSpace||H===M.space}function t9(H){return Q;function Q(Y){return Y!==null&&Y>-1&&H.test(String.fromCharCode(Y))}}var h5,W5,MC,ZX,CC,bC,X7,U6;var D0=l(()=>{t1();h5=t9(/[A-Za-z]/),W5=t9(/[\dA-Za-z]/),MC=t9(/[#-'*+\--9=?A-Z^-~]/);ZX=t9(/\d/),CC=t9(/[\dA-Fa-f]/),bC=t9(/[!-/:-@[-`{-~]/);X7=t9(/\p{P}|\p{S}/u),U6=t9(/\s/)});function aL(H){if(typeof H!=="string")throw TypeError("Expected a string");return H.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function cL(H,Q,Y){let w=i9((Y||{}).ignore||[]),U=tT(Q),F=-1;while(++F<U.length)a4(H,"text",B);function B(N,R){let O=-1,C;while(++O<R.length){let $=R[O],_=C?C.children:void 0;if(w($,_?_.indexOf($):void 0,C))return;C=$}if(C)return V(N,R)}function V(N,R){let O=R[R.length-1],C=U[F][0],$=U[F][1],_=0,p=O.children.indexOf(N),m=!1,Z1=[];C.lastIndex=0;let t=C.exec(N.value);while(t){let U1=t.index,B1={index:t.index,input:t.input,stack:[...R,N]},c=$(...t,B1);if(typeof c==="string")c=c.length>0?{type:"text",value:c}:void 0;if(c===!1)C.lastIndex=U1+1;else{if(_!==U1)Z1.push({type:"text",value:N.value.slice(_,U1)});if(Array.isArray(c))Z1.push(...c);else if(c)Z1.push(c);_=U1+t[0].length,m=!0}if(!C.global)break;t=C.exec(N.value)}if(m){if(_<N.value.length)Z1.push({type:"text",value:N.value.slice(_)});O.children.splice(p,1,...Z1)}else Z1=[N];return p+Z1.length}}function tT(H){let Q=[];if(!Array.isArray(H))throw TypeError("Expected find and replace tuple or list of tuples");let Y=!H[0]||Array.isArray(H[0])?H:[H],J=-1;while(++J<Y.length){let w=Y[J];Q.push([eT(w[0]),HA(w[1])])}return Q}function eT(H){return typeof H==="string"?new RegExp(aL(H),"g"):H}function HA(H){return typeof H==="function"?H:function(){return H}}var $C=l(()=>{_Z();mq()});var gC=l(()=>{$C()});function tL(){return{transforms:[JA],enter:{literalAutolink:ZA,literalAutolinkEmail:oL,literalAutolinkHttp:oL,literalAutolinkWww:oL},exit:{literalAutolink:YA,literalAutolinkEmail:qA,literalAutolinkHttp:XA,literalAutolinkWww:QA}}}function eL(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:sL,notInConstruct:nL},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:sL,notInConstruct:nL},{character:":",before:"[ps]",after:"\\/",inConstruct:sL,notInConstruct:nL}]}}function ZA(H){this.enter({type:"link",title:null,url:"",children:[]},H)}function oL(H){this.config.enter.autolinkProtocol.call(this,H)}function XA(H){this.config.exit.autolinkProtocol.call(this,H)}function QA(H){this.config.exit.data.call(this,H);let Q=this.stack[this.stack.length-1];I(Q.type==="link"),Q.url="http://"+this.sliceSerialize(H)}function qA(H){this.config.exit.autolinkEmail.call(this,H)}function YA(H){this.exit(H)}function JA(H){cL(H,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,KA],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,wA]],{ignore:["link","linkReference"]})}function KA(H,Q,Y,J,w){let U="";if(!GC(w))return!1;if(/^w/i.test(Q))Y=Q+Y,Q="",U="http://";if(!WA(Y))return!1;let F=LA(Y+J);if(!F[0])return!1;let B={type:"link",title:null,url:U+Q+F[0],children:[{type:"text",value:Q+F[0]}]};if(F[1])return[B,{type:"text",value:F[1]}];return B}function wA(H,Q,Y,J){if(!GC(J,!0)||/[-\d_]$/.test(Y))return!1;return{type:"link",title:null,url:"mailto:"+Q+"@"+Y,children:[{type:"text",value:Q+"@"+Y}]}}function WA(H){let Q=H.split(".");if(Q.length<2||Q[Q.length-1]&&(/_/.test(Q[Q.length-1])||!/[a-zA-Z\d]/.test(Q[Q.length-1]))||Q[Q.length-2]&&(/_/.test(Q[Q.length-2])||!/[a-zA-Z\d]/.test(Q[Q.length-2])))return!1;return!0}function LA(H){let Q=/[!"&'),.:;<>?\]}]+$/.exec(H);if(!Q)return[H,void 0];H=H.slice(0,Q.index);let Y=Q[0],J=Y.indexOf(")"),w=dL(H,"("),U=dL(H,")");while(J!==-1&&w>U)H+=Y.slice(0,J+1),Y=Y.slice(J+1),J=Y.indexOf(")"),U++;return[H,Y]}function GC(H,Q){let Y=H.input.charCodeAt(H.index-1);return(H.index===0||U6(Y)||X7(Y))&&(!Q||Y!==47)}var sL="phrasing",nL;var DC=l(()=>{q0();D0();gC();nL=["autolink","link","image","label"]});var hC=l(()=>{DC()});function Z2(H){return H.replace(/[\t\n\r ]+/g,j2.space).replace(/^ | $/g,"").toLowerCase().toUpperCase()}var A8=l(()=>{t1()});function FA(){this.buffer()}function UA(H){this.enter({type:"footnoteReference",identifier:"",label:""},H)}function BA(){this.buffer()}function VA(H){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},H)}function zA(H){let Q=this.resume(),Y=this.stack[this.stack.length-1];I(Y.type==="footnoteReference"),Y.identifier=Z2(this.sliceSerialize(H)).toLowerCase(),Y.label=Q}function jA(H){this.exit(H)}function RA(H){let Q=this.resume(),Y=this.stack[this.stack.length-1];I(Y.type==="footnoteDefinition"),Y.identifier=Z2(this.sliceSerialize(H)).toLowerCase(),Y.label=Q}function OA(H){this.exit(H)}function NA(){return"["}function _C(H,Q,Y,J){let w=Y.createTracker(J),U=w.move("[^"),F=Y.enter("footnoteReference"),B=Y.enter("reference");return U+=w.move(Y.safe(Y.associationId(H),{after:"]",before:U})),B(),F(),U+=w.move("]"),U}function HF(){return{enter:{gfmFootnoteCallString:FA,gfmFootnoteCall:UA,gfmFootnoteDefinitionLabelString:BA,gfmFootnoteDefinition:VA},exit:{gfmFootnoteCallString:zA,gfmFootnoteCall:jA,gfmFootnoteDefinitionLabelString:RA,gfmFootnoteDefinition:OA}}}function ZF(H){let Q=!1;if(H&&H.firstLineBlank)Q=!0;return{handlers:{footnoteDefinition:Y,footnoteReference:_C},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function Y(J,w,U,F){let B=U.createTracker(F),V=B.move("[^"),N=U.enter("footnoteDefinition"),R=U.enter("label");if(V+=B.move(U.safe(U.associationId(J),{before:V,after:"]"})),R(),V+=B.move("]:"),J.children&&J.children.length>0)B.shift(4),V+=B.move((Q?`
|
|
233
|
+
`:" ")+U.indentLines(U.containerFlow(J,B.current()),Q?xC:PA));return N(),V}}function PA(H,Q,Y){return Q===0?H:xC(H,Q,Y)}function xC(H,Q,Y){return(Y?"":" ")+H}var EC=l(()=>{q0();A8();_C.peek=NA});var IC=l(()=>{EC()});function XF(){return{canContainEols:["delete"],enter:{strikethrough:CA},exit:{strikethrough:bA}}}function QF(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:MA}],handlers:{delete:yC}}}function CA(H){this.enter({type:"delete",children:[]},H)}function bA(H){this.exit(H)}function yC(H,Q,Y,J){let w=Y.createTracker(J),U=Y.enter("strikethrough"),F=w.move("~~");return F+=Y.containerPhrasing(H,{...w.current(),before:F,after:"~"}),F+=w.move("~~"),U(),F}function $A(){return"~"}var MA;var vC=l(()=>{MA=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];yC.peek=$A});var SC=l(()=>{vC()});function gA(H){return H.length}function AC(H,Q){let Y=Q||{},J=(Y.align||[]).concat(),w=Y.stringLength||gA,U=[],F=[],B=[],V=[],N=0,R=-1;while(++R<H.length){let v=[],p=[],m=-1;if(H[R].length>N)N=H[R].length;while(++m<H[R].length){let Z1=GA(H[R][m]);if(Y.alignDelimiters!==!1){let t=w(Z1);if(p[m]=t,V[m]===void 0||t>V[m])V[m]=t}v.push(Z1)}F[R]=v,B[R]=p}let O=-1;if(typeof J==="object"&&"length"in J)while(++O<N)U[O]=TC(J[O]);else{let v=TC(J);while(++O<N)U[O]=v}O=-1;let C=[],$=[];while(++O<N){let v=U[O],p="",m="";if(v===99)p=":",m=":";else if(v===108)p=":";else if(v===114)m=":";let Z1=Y.alignDelimiters===!1?1:Math.max(1,V[O]-p.length-m.length),t=p+"-".repeat(Z1)+m;if(Y.alignDelimiters!==!1){if(Z1=p.length+Z1+m.length,Z1>V[O])V[O]=Z1;$[O]=Z1}C[O]=t}F.splice(1,0,C),B.splice(1,0,$),R=-1;let _=[];while(++R<F.length){let v=F[R],p=B[R];O=-1;let m=[];while(++O<N){let Z1=v[O]||"",t="",U1="";if(Y.alignDelimiters!==!1){let B1=V[O]-(p[O]||0),c=U[O];if(c===114)t=" ".repeat(B1);else if(c===99)if(B1%2)t=" ".repeat(B1/2+0.5),U1=" ".repeat(B1/2-0.5);else t=" ".repeat(B1/2),U1=t;else U1=" ".repeat(B1)}if(Y.delimiterStart!==!1&&!O)m.push("|");if(Y.padding!==!1&&!(Y.alignDelimiters===!1&&Z1==="")&&(Y.delimiterStart!==!1||O))m.push(" ");if(Y.alignDelimiters!==!1)m.push(t);if(m.push(Z1),Y.alignDelimiters!==!1)m.push(U1);if(Y.padding!==!1)m.push(" ");if(Y.delimiterEnd!==!1||O!==N-1)m.push("|")}_.push(Y.delimiterEnd===!1?m.join("").replace(/ +$/,""):m.join(""))}return _.join(`
|
|
234
|
+
`)}function GA(H){return H===null||H===void 0?"":String(H)}function TC(H){let Q=typeof H==="string"?H.codePointAt(0):0;return Q===67||Q===99?99:Q===76||Q===108?108:Q===82||Q===114?114:0}function mC(H,Q,Y,J){let w=Y.enter("blockquote"),U=Y.createTracker(J);U.move("> "),U.shift(2);let F=Y.indentLines(Y.containerFlow(H,U.current()),DA);return w(),F}function DA(H,Q,Y){return">"+(Y?"":" ")+H}function kC(H,Q){return uC(H,Q.inConstruct,!0)&&!uC(H,Q.notInConstruct,!1)}function uC(H,Q,Y){if(typeof Q==="string")Q=[Q];if(!Q||Q.length===0)return Y;let J=-1;while(++J<Q.length)if(H.includes(Q[J]))return!0;return!1}function qF(H,Q,Y,J){let w=-1;while(++w<Y.unsafe.length)if(Y.unsafe[w].character===`
|
|
235
|
+
`&&kC(Y.stack,Y.unsafe[w]))return/[ \t]/.test(J.before)?"":" ";return"\\\n"}var fC=()=>{};function lC(H,Q){let Y=String(H),J=Y.indexOf(Q),w=J,U=0,F=0;if(typeof Q!=="string")throw TypeError("Expected substring");while(J!==-1){if(J===w){if(++U>F)F=U}else U=1;w=J+Q.length,J=Y.indexOf(Q,w)}return F}function pC(H,Q){return Boolean(Q.options.fences===!1&&H.value&&!H.lang&&/[^ \r\n]/.test(H.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(H.value))}function rC(H){let Q=H.options.fence||"`";if(Q!=="`"&&Q!=="~")throw Error("Cannot serialize code with `"+Q+"` for `options.fence`, expected `` ` `` or `~`");return Q}function iC(H,Q,Y,J){let w=rC(Y),U=H.value||"",F=w==="`"?"GraveAccent":"Tilde";if(pC(H,Y)){let O=Y.enter("codeIndented"),C=Y.indentLines(U,hA);return O(),C}let B=Y.createTracker(J),V=w.repeat(Math.max(lC(U,w)+1,3)),N=Y.enter("codeFenced"),R=B.move(V);if(H.lang){let O=Y.enter(`codeFencedLang${F}`);R+=B.move(Y.safe(H.lang,{before:R,after:" ",encode:["`"],...B.current()})),O()}if(H.lang&&H.meta){let O=Y.enter(`codeFencedMeta${F}`);R+=B.move(" "),R+=B.move(Y.safe(H.meta,{before:R,after:`
|
|
236
|
+
`,encode:["`"],...B.current()})),O()}if(R+=B.move(`
|
|
237
|
+
`),U)R+=B.move(U+`
|
|
238
|
+
`);return R+=B.move(V),N(),R}function hA(H,Q,Y){return(Y?"":" ")+H}var dC=()=>{};function m8(H){let Q=H.options.quote||'"';if(Q!=='"'&&Q!=="'")throw Error("Cannot serialize title with `"+Q+"` for `options.quote`, expected `\"`, or `'`");return Q}function aC(H,Q,Y,J){let w=m8(Y),U=w==='"'?"Quote":"Apostrophe",F=Y.enter("definition"),B=Y.enter("label"),V=Y.createTracker(J),N=V.move("[");if(N+=V.move(Y.safe(Y.associationId(H),{before:N,after:"]",...V.current()})),N+=V.move("]: "),B(),!H.url||/[\0- \u007F]/.test(H.url))B=Y.enter("destinationLiteral"),N+=V.move("<"),N+=V.move(Y.safe(H.url,{before:N,after:">",...V.current()})),N+=V.move(">");else B=Y.enter("destinationRaw"),N+=V.move(Y.safe(H.url,{before:N,after:H.title?" ":`
|
|
239
|
+
`,...V.current()}));if(B(),H.title)B=Y.enter(`title${U}`),N+=V.move(" "+w),N+=V.move(Y.safe(H.title,{before:N,after:w,...V.current()})),N+=V.move(w),B();return F(),N}var cC=()=>{};function sC(H){let Q=H.options.emphasis||"*";if(Q!=="*"&&Q!=="_")throw Error("Cannot serialize emphasis with `"+Q+"` for `options.emphasis`, expected `*`, or `_`");return Q}function e9(H){return"&#x"+H.toString(16).toUpperCase()+";"}function o6(H){if(H===M.eof||P0(H)||U6(H))return V1.characterGroupWhitespace;if(X7(H))return V1.characterGroupPunctuation}var zY=l(()=>{D0();t1()});function u8(H,Q,Y){let J=o6(H),w=o6(Q);if(J===void 0)return w===void 0?Y==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:w===1?{inside:!0,outside:!0}:{inside:!1,outside:!0};if(J===1)return w===void 0?{inside:!1,outside:!1}:w===1?{inside:!0,outside:!0}:{inside:!1,outside:!1};return w===void 0?{inside:!1,outside:!1}:w===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}var YF=l(()=>{zY()});function JF(H,Q,Y,J){let w=sC(Y),U=Y.enter("emphasis"),F=Y.createTracker(J),B=F.move(w),V=F.move(Y.containerPhrasing(H,{after:w,before:B,...F.current()})),N=V.charCodeAt(0),R=u8(J.before.charCodeAt(J.before.length-1),N,w);if(R.inside)V=e9(N)+V.slice(1);let O=V.charCodeAt(V.length-1),C=u8(J.after.charCodeAt(0),O,w);if(C.inside)V=V.slice(0,-1)+e9(O);let $=F.move(w);return U(),Y.attentionEncodeSurroundingInfo={after:C.outside,before:R.outside},B+V+$}function _A(H,Q,Y){return Y.options.emphasis||"*"}var nC=l(()=>{YF();JF.peek=_A});function Q7(H,Q){let Y=Q||xA,J=typeof Y.includeImageAlt==="boolean"?Y.includeImageAlt:!0,w=typeof Y.includeHtml==="boolean"?Y.includeHtml:!0;return tC(H,J,w)}function tC(H,Q,Y){if(EA(H)){if("value"in H)return H.type==="html"&&!Y?"":H.value;if(Q&&"alt"in H&&H.alt)return H.alt;if("children"in H)return oC(H.children,Q,Y)}if(Array.isArray(H))return oC(H,Q,Y);return""}function oC(H,Q,Y){let J=[],w=-1;while(++w<H.length)J[w]=tC(H[w],Q,Y);return J.join("")}function EA(H){return Boolean(H&&typeof H==="object")}var xA;var eC=l(()=>{xA={}});var jY=l(()=>{eC()});function Hb(H,Q){let Y=!1;return t5(H,function(J){if("value"in J&&/\r?\n|\r/.test(J.value)||J.type==="break")return Y=!0,d4}),Boolean((!H.depth||H.depth<3)&&Q7(H)&&(Q.options.setext||Y))}var Zb=l(()=>{b8();jY()});function Xb(H,Q,Y,J){let w=Math.max(Math.min(6,H.depth||1),1),U=Y.createTracker(J);if(Hb(H,Y)){let R=Y.enter("headingSetext"),O=Y.enter("phrasing"),C=Y.containerPhrasing(H,{...U.current(),before:`
|
|
240
|
+
`,after:`
|
|
241
|
+
`});return O(),R(),C+`
|
|
242
|
+
`+(w===1?"=":"-").repeat(C.length-(Math.max(C.lastIndexOf("\r"),C.lastIndexOf(`
|
|
243
|
+
`))+1))}let F="#".repeat(w),B=Y.enter("headingAtx"),V=Y.enter("phrasing");U.move(F+" ");let N=Y.containerPhrasing(H,{before:"# ",after:`
|
|
244
|
+
`,...U.current()});if(/^[\t ]/.test(N))N=e9(N.charCodeAt(0))+N.slice(1);if(N=N?F+" "+N:F,Y.options.closeAtx)N+=" "+F;return V(),B(),N}var Qb=l(()=>{Zb()});function KF(H){return H.value||""}function IA(){return"<"}var qb=l(()=>{KF.peek=IA});function wF(H,Q,Y,J){let w=m8(Y),U=w==='"'?"Quote":"Apostrophe",F=Y.enter("image"),B=Y.enter("label"),V=Y.createTracker(J),N=V.move("![");if(N+=V.move(Y.safe(H.alt,{before:N,after:"]",...V.current()})),N+=V.move("]("),B(),!H.url&&H.title||/[\0- \u007F]/.test(H.url))B=Y.enter("destinationLiteral"),N+=V.move("<"),N+=V.move(Y.safe(H.url,{before:N,after:">",...V.current()})),N+=V.move(">");else B=Y.enter("destinationRaw"),N+=V.move(Y.safe(H.url,{before:N,after:H.title?" ":")",...V.current()}));if(B(),H.title)B=Y.enter(`title${U}`),N+=V.move(" "+w),N+=V.move(Y.safe(H.title,{before:N,after:w,...V.current()})),N+=V.move(w),B();return N+=V.move(")"),F(),N}function yA(){return"!"}var Yb=l(()=>{wF.peek=yA});function WF(H,Q,Y,J){let w=H.referenceType,U=Y.enter("imageReference"),F=Y.enter("label"),B=Y.createTracker(J),V=B.move("!["),N=Y.safe(H.alt,{before:V,after:"]",...B.current()});V+=B.move(N+"]["),F();let R=Y.stack;Y.stack=[],F=Y.enter("reference");let O=Y.safe(Y.associationId(H),{before:V,after:"]",...B.current()});if(F(),Y.stack=R,U(),w==="full"||!N||N!==O)V+=B.move(O+"]");else if(w==="shortcut")V=V.slice(0,-1);else V+=B.move("]");return V}function vA(){return"!"}var Jb=l(()=>{WF.peek=vA});function LF(H,Q,Y){let J=H.value||"",w="`",U=-1;while(new RegExp("(^|[^`])"+w+"([^`]|$)").test(J))w+="`";if(/[^ \r\n]/.test(J)&&(/^[ \r\n]/.test(J)&&/[ \r\n]$/.test(J)||/^`|`$/.test(J)))J=" "+J+" ";while(++U<Y.unsafe.length){let F=Y.unsafe[U],B=Y.compilePattern(F),V;if(!F.atBreak)continue;while(V=B.exec(J)){let N=V.index;if(J.charCodeAt(N)===10&&J.charCodeAt(N-1)===13)N--;J=J.slice(0,N)+" "+J.slice(V.index+1)}}return w+J+w}function SA(){return"`"}var Kb=l(()=>{LF.peek=SA});function FF(H,Q){let Y=Q7(H);return Boolean(!Q.options.resourceLink&&H.url&&!H.title&&H.children&&H.children.length===1&&H.children[0].type==="text"&&(Y===H.url||"mailto:"+Y===H.url)&&/^[a-z][a-z+.-]+:/i.test(H.url)&&!/[\0- <>\u007F]/.test(H.url))}var wb=l(()=>{jY()});function UF(H,Q,Y,J){let w=m8(Y),U=w==='"'?"Quote":"Apostrophe",F=Y.createTracker(J),B,V;if(FF(H,Y)){let R=Y.stack;Y.stack=[],B=Y.enter("autolink");let O=F.move("<");return O+=F.move(Y.containerPhrasing(H,{before:O,after:">",...F.current()})),O+=F.move(">"),B(),Y.stack=R,O}B=Y.enter("link"),V=Y.enter("label");let N=F.move("[");if(N+=F.move(Y.containerPhrasing(H,{before:N,after:"](",...F.current()})),N+=F.move("]("),V(),!H.url&&H.title||/[\0- \u007F]/.test(H.url))V=Y.enter("destinationLiteral"),N+=F.move("<"),N+=F.move(Y.safe(H.url,{before:N,after:">",...F.current()})),N+=F.move(">");else V=Y.enter("destinationRaw"),N+=F.move(Y.safe(H.url,{before:N,after:H.title?" ":")",...F.current()}));if(V(),H.title)V=Y.enter(`title${U}`),N+=F.move(" "+w),N+=F.move(Y.safe(H.title,{before:N,after:w,...F.current()})),N+=F.move(w),V();return N+=F.move(")"),B(),N}function TA(H,Q,Y){return FF(H,Y)?"<":"["}var Wb=l(()=>{wb();UF.peek=TA});function BF(H,Q,Y,J){let w=H.referenceType,U=Y.enter("linkReference"),F=Y.enter("label"),B=Y.createTracker(J),V=B.move("["),N=Y.containerPhrasing(H,{before:V,after:"]",...B.current()});V+=B.move(N+"]["),F();let R=Y.stack;Y.stack=[],F=Y.enter("reference");let O=Y.safe(Y.associationId(H),{before:V,after:"]",...B.current()});if(F(),Y.stack=R,U(),w==="full"||!N||N!==O)V+=B.move(O+"]");else if(w==="shortcut")V=V.slice(0,-1);else V+=B.move("]");return V}function AA(){return"["}var Lb=l(()=>{BF.peek=AA});function k8(H){let Q=H.options.bullet||"*";if(Q!=="*"&&Q!=="+"&&Q!=="-")throw Error("Cannot serialize items with `"+Q+"` for `options.bullet`, expected `*`, `+`, or `-`");return Q}function Fb(H){let Q=k8(H),Y=H.options.bulletOther;if(!Y)return Q==="*"?"-":"*";if(Y!=="*"&&Y!=="+"&&Y!=="-")throw Error("Cannot serialize items with `"+Y+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(Y===Q)throw Error("Expected `bullet` (`"+Q+"`) and `bulletOther` (`"+Y+"`) to be different");return Y}var Ub=()=>{};function Bb(H){let Q=H.options.bulletOrdered||".";if(Q!=="."&&Q!==")")throw Error("Cannot serialize items with `"+Q+"` for `options.bulletOrdered`, expected `.` or `)`");return Q}function RY(H){let Q=H.options.rule||"*";if(Q!=="*"&&Q!=="-"&&Q!=="_")throw Error("Cannot serialize rules with `"+Q+"` for `options.rule`, expected `*`, `-`, or `_`");return Q}function Vb(H,Q,Y,J){let w=Y.enter("list"),U=Y.bulletCurrent,F=H.ordered?Bb(Y):k8(Y),B=H.ordered?F==="."?")":".":Fb(Y),V=Q&&Y.bulletLastUsed?F===Y.bulletLastUsed:!1;if(!H.ordered){let R=H.children?H.children[0]:void 0;if((F==="*"||F==="-")&&R&&(!R.children||!R.children[0])&&Y.stack[Y.stack.length-1]==="list"&&Y.stack[Y.stack.length-2]==="listItem"&&Y.stack[Y.stack.length-3]==="list"&&Y.stack[Y.stack.length-4]==="listItem"&&Y.indexStack[Y.indexStack.length-1]===0&&Y.indexStack[Y.indexStack.length-2]===0&&Y.indexStack[Y.indexStack.length-3]===0)V=!0;if(RY(Y)===F&&R){let O=-1;while(++O<H.children.length){let C=H.children[O];if(C&&C.type==="listItem"&&C.children&&C.children[0]&&C.children[0].type==="thematicBreak"){V=!0;break}}}}if(V)F=B;Y.bulletCurrent=F;let N=Y.containerFlow(H,J);return Y.bulletLastUsed=F,Y.bulletCurrent=U,w(),N}var zb=l(()=>{Ub()});function jb(H){let Q=H.options.listItemIndent||"one";if(Q!=="tab"&&Q!=="one"&&Q!=="mixed")throw Error("Cannot serialize items with `"+Q+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return Q}function Rb(H,Q,Y,J){let w=jb(Y),U=Y.bulletCurrent||k8(Y);if(Q&&Q.type==="list"&&Q.ordered)U=(typeof Q.start==="number"&&Q.start>-1?Q.start:1)+(Y.options.incrementListMarker===!1?0:Q.children.indexOf(H))+U;let F=U.length+1;if(w==="tab"||w==="mixed"&&(Q&&Q.type==="list"&&Q.spread||H.spread))F=Math.ceil(F/4)*4;let B=Y.createTracker(J);B.move(U+" ".repeat(F-U.length)),B.shift(F);let V=Y.enter("listItem"),N=Y.indentLines(Y.containerFlow(H,B.current()),R);return V(),N;function R(O,C,$){if(C)return($?"":" ".repeat(F))+O;return($?U:U+" ".repeat(F-U.length))+O}}var Ob=()=>{};function Nb(H,Q,Y,J){let w=Y.enter("paragraph"),U=Y.enter("phrasing"),F=Y.containerPhrasing(H,J);return U(),w(),F}var VF;var Pb=l(()=>{mq();VF=i9(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"])});var Mb=l(()=>{Pb()});function Cb(H,Q,Y,J){return(H.children.some(function(F){return VF(F)})?Y.containerPhrasing:Y.containerFlow).call(Y,H,J)}var bb=l(()=>{Mb()});function $b(H){let Q=H.options.strong||"*";if(Q!=="*"&&Q!=="_")throw Error("Cannot serialize strong with `"+Q+"` for `options.strong`, expected `*`, or `_`");return Q}function zF(H,Q,Y,J){let w=$b(Y),U=Y.enter("strong"),F=Y.createTracker(J),B=F.move(w+w),V=F.move(Y.containerPhrasing(H,{after:w,before:B,...F.current()})),N=V.charCodeAt(0),R=u8(J.before.charCodeAt(J.before.length-1),N,w);if(R.inside)V=e9(N)+V.slice(1);let O=V.charCodeAt(V.length-1),C=u8(J.after.charCodeAt(0),O,w);if(C.inside)V=V.slice(0,-1)+e9(O);let $=F.move(w+w);return U(),Y.attentionEncodeSurroundingInfo={after:C.outside,before:R.outside},B+V+$}function mA(H,Q,Y){return Y.options.strong||"*"}var gb=l(()=>{YF();zF.peek=mA});function Gb(H,Q,Y,J){return Y.safe(H.value,J)}function Db(H){let Q=H.options.ruleRepetition||3;if(Q<3)throw Error("Cannot serialize rules with repetition `"+Q+"` for `options.ruleRepetition`, expected `3` or more");return Q}function hb(H,Q,Y){let J=(RY(Y)+(Y.options.ruleSpaces?" ":"")).repeat(Db(Y));return Y.options.ruleSpaces?J.slice(0,-1):J}var _b=()=>{};var XX;var xb=l(()=>{fC();dC();cC();nC();Qb();qb();Yb();Jb();Kb();Wb();Lb();zb();Ob();bb();gb();_b();XX={blockquote:mC,break:qF,code:iC,definition:aC,emphasis:JF,hardBreak:qF,heading:Xb,html:KF,image:wF,imageReference:WF,inlineCode:LF,link:UF,linkReference:BF,list:Vb,listItem:Rb,paragraph:Nb,root:Cb,strong:zF,text:Gb,thematicBreak:hb}});var jF=l(()=>{xb()});function OF(){return{enter:{table:uA,tableData:Eb,tableHeader:Eb,tableRow:fA},exit:{codeText:lA,table:kA,tableData:RF,tableHeader:RF,tableRow:RF}}}function uA(H){let Q=H._align;I(Q,"expected `_align` on table"),this.enter({type:"table",align:Q.map(function(Y){return Y==="none"?null:Y}),children:[]},H),this.data.inTable=!0}function kA(H){this.exit(H),this.data.inTable=void 0}function fA(H){this.enter({type:"tableRow",children:[]},H)}function RF(H){this.exit(H)}function Eb(H){this.enter({type:"tableCell",children:[]},H)}function lA(H){let Q=this.resume();if(this.data.inTable)Q=Q.replace(/\\([\\|])/g,pA);let Y=this.stack[this.stack.length-1];I(Y.type==="inlineCode"),Y.value=Q,this.exit(H)}function pA(H,Q){return Q==="|"?Q:H}function NF(H){let Q=H||{},Y=Q.tableCellPadding,J=Q.tablePipeAlign,w=Q.stringLength,U=Y?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
|
|
245
|
+
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:C,table:F,tableCell:V,tableRow:B}};function F($,_,v,p){return N(R($,v,p),$.align)}function B($,_,v,p){let m=O($,v,p),Z1=N([m]);return Z1.slice(0,Z1.indexOf(`
|
|
246
|
+
`))}function V($,_,v,p){let m=v.enter("tableCell"),Z1=v.enter("phrasing"),t=v.containerPhrasing($,{...p,before:U,after:U});return Z1(),m(),t}function N($,_){return AC($,{align:_,alignDelimiters:J,padding:Y,stringLength:w})}function R($,_,v){let p=$.children,m=-1,Z1=[],t=_.enter("table");while(++m<p.length)Z1[m]=O(p[m],_,v);return t(),Z1}function O($,_,v){let p=$.children,m=-1,Z1=[],t=_.enter("tableRow");while(++m<p.length)Z1[m]=V(p[m],$,_,v);return t(),Z1}function C($,_,v){let p=XX.inlineCode($,_,v);if(v.stack.includes("tableCell"))p=p.replace(/\|/g,"\\$&");return p}}var Ib=l(()=>{q0();jF()});var yb=l(()=>{Ib()});function PF(){return{exit:{taskListCheckValueChecked:vb,taskListCheckValueUnchecked:vb,paragraph:rA}}}function MF(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:iA}}}function vb(H){let Q=this.stack[this.stack.length-2];I(Q.type==="listItem"),Q.checked=H.type==="taskListCheckValueChecked"}function rA(H){let Q=this.stack[this.stack.length-2];if(Q&&Q.type==="listItem"&&typeof Q.checked==="boolean"){let Y=this.stack[this.stack.length-1];I(Y.type==="paragraph");let J=Y.children[0];if(J&&J.type==="text"){let w=Q.children,U=-1,F;while(++U<w.length){let B=w[U];if(B.type==="paragraph"){F=B;break}}if(F===Y){if(J.value=J.value.slice(1),J.value.length===0)Y.children.shift();else if(Y.position&&J.position&&typeof J.position.start.offset==="number")J.position.start.column++,J.position.start.offset++,Y.position.start=Object.assign({},J.position.start)}}}this.exit(H)}function iA(H,Q,Y,J){let w=H.children[0],U=typeof H.checked==="boolean"&&w&&w.type==="paragraph",F="["+(H.checked?"x":" ")+"] ",B=Y.createTracker(J);if(U)B.move(F);let V=XX.listItem(H,Q,Y,{...J,...B.current()});if(U)V=V.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,N);return V;function N(R){return R+F}}var Sb=l(()=>{q0();jF()});var Tb=l(()=>{Sb()});function CF(){return[tL(),HF(),XF(),OF(),PF()]}function bF(H){return{extensions:[eL(),ZF(H),QF(),NF(H),MF()]}}var Ab=l(()=>{hC();IC();SC();yb();Tb()});var mb=l(()=>{Ab()});function V5(H,Q,Y,J){let w=H.length,U=0,F;if(Q<0)Q=-Q>w?0:w+Q;else Q=Q>w?w:Q;if(Y=Y>0?Y:0,J.length<V1.v8MaxSafeChunkSize)F=Array.from(J),F.unshift(Q,Y),H.splice(...F);else{if(Y)H.splice(Q,Y);while(U<J.length)F=J.slice(U,U+V1.v8MaxSafeChunkSize),F.unshift(Q,0),H.splice(...F),U+=V1.v8MaxSafeChunkSize,Q+=V1.v8MaxSafeChunkSize}}function R2(H,Q){if(H.length>0)return V5(H,H.length,0,Q),H;return Q}var t6=l(()=>{t1()});function OY(H){let Q={},Y=-1;while(++Y<H.length)dA(Q,H[Y]);return Q}function dA(H,Q){let Y;for(Y in Q){let w=(ub.call(H,Y)?H[Y]:void 0)||(H[Y]={}),U=Q[Y],F;if(U)for(F in U){if(!ub.call(w,F))w[F]=[];let B=U[F];aA(w[F],Array.isArray(B)?B:B?[B]:[])}}}function aA(H,Q){let Y=-1,J=[];while(++Y<Q.length)(Q[Y].add==="after"?H:J).push(Q[Y]);V5(H,0,0,J)}var ub;var $F=l(()=>{t6();ub={}.hasOwnProperty});function GF(){return{text:B6}}function nA(H,Q,Y){let J=this,w,U;return F;function F(O){if(!gF(O)||!ab.call(J,J.previous)||DF(J.events))return Y(O);return H.enter("literalAutolink"),H.enter("literalAutolinkEmail"),B(O)}function B(O){if(gF(O))return H.consume(O),B;if(O===M.atSign)return H.consume(O),V;return Y(O)}function V(O){if(O===M.dot)return H.check(sA,R,N)(O);if(O===M.dash||O===M.underscore||W5(O))return U=!0,H.consume(O),V;return R(O)}function N(O){return H.consume(O),w=!0,V}function R(O){if(U&&w&&h5(J.previous))return H.exit("literalAutolinkEmail"),H.exit("literalAutolink"),Q(O);return Y(O)}}function oA(H,Q,Y){let J=this;return w;function w(F){if(F!==M.uppercaseW&&F!==M.lowercaseW||!ib.call(J,J.previous)||DF(J.events))return Y(F);return H.enter("literalAutolink"),H.enter("literalAutolinkWww"),H.check(cA,H.attempt(kb,H.attempt(fb,U),Y),Y)(F)}function U(F){return H.exit("literalAutolinkWww"),H.exit("literalAutolink"),Q(F)}}function tA(H,Q,Y){let J=this,w="",U=!1;return F;function F(O){if((O===M.uppercaseH||O===M.lowercaseH)&&db.call(J,J.previous)&&!DF(J.events))return H.enter("literalAutolink"),H.enter("literalAutolinkHttp"),w+=String.fromCodePoint(O),H.consume(O),B;return Y(O)}function B(O){if(h5(O)&&w.length<5)return w+=String.fromCodePoint(O),H.consume(O),B;if(O===M.colon){let C=w.toLowerCase();if(C==="http"||C==="https")return H.consume(O),V}return Y(O)}function V(O){if(O===M.slash){if(H.consume(O),U)return N;return U=!0,V}return Y(O)}function N(O){return O===M.eof||Z7(O)||P0(O)||U6(O)||X7(O)?Y(O):H.attempt(kb,H.attempt(fb,R),Y)(O)}function R(O){return H.exit("literalAutolinkHttp"),H.exit("literalAutolink"),Q(O)}}function eA(H,Q,Y){let J=0;return w;function w(F){if((F===M.uppercaseW||F===M.lowercaseW)&&J<3)return J++,H.consume(F),w;if(F===M.dot&&J===3)return H.consume(F),U;return Y(F)}function U(F){return F===M.eof?Y(F):Q(F)}}function Hm(H,Q,Y){let J,w,U;return F;function F(N){if(N===M.dot||N===M.underscore)return H.check(lb,V,B)(N);if(N===M.eof||P0(N)||U6(N)||N!==M.dash&&X7(N))return V(N);return U=!0,H.consume(N),F}function B(N){if(N===M.underscore)J=!0;else w=J,J=void 0;return H.consume(N),F}function V(N){if(w||J||!U)return Y(N);return Q(N)}}function Zm(H,Q){let Y=0,J=0;return w;function w(F){if(F===M.leftParenthesis)return Y++,H.consume(F),w;if(F===M.rightParenthesis&&J<Y)return U(F);if(F===M.exclamationMark||F===M.quotationMark||F===M.ampersand||F===M.apostrophe||F===M.rightParenthesis||F===M.asterisk||F===M.comma||F===M.dot||F===M.colon||F===M.semicolon||F===M.lessThan||F===M.questionMark||F===M.rightSquareBracket||F===M.underscore||F===M.tilde)return H.check(lb,Q,U)(F);if(F===M.eof||P0(F)||U6(F))return Q(F);return H.consume(F),w}function U(F){if(F===M.rightParenthesis)J++;return H.consume(F),w}}function Xm(H,Q,Y){return J;function J(B){if(B===M.exclamationMark||B===M.quotationMark||B===M.apostrophe||B===M.rightParenthesis||B===M.asterisk||B===M.comma||B===M.dot||B===M.colon||B===M.semicolon||B===M.questionMark||B===M.underscore||B===M.tilde)return H.consume(B),J;if(B===M.ampersand)return H.consume(B),U;if(B===M.rightSquareBracket)return H.consume(B),w;if(B===M.lessThan||B===M.eof||P0(B)||U6(B))return Q(B);return Y(B)}function w(B){if(B===M.eof||B===M.leftParenthesis||B===M.leftSquareBracket||P0(B)||U6(B))return Q(B);return J(B)}function U(B){return h5(B)?F(B):Y(B)}function F(B){if(B===M.semicolon)return H.consume(B),J;if(h5(B))return H.consume(B),F;return Y(B)}}function Qm(H,Q,Y){return J;function J(U){return H.consume(U),w}function w(U){return W5(U)?Y(U):Q(U)}}function ib(H){return H===M.eof||H===M.leftParenthesis||H===M.asterisk||H===M.underscore||H===M.leftSquareBracket||H===M.rightSquareBracket||H===M.tilde||P0(H)}function db(H){return!h5(H)}function ab(H){return!(H===M.slash||gF(H))}function gF(H){return H===M.plusSign||H===M.dash||H===M.dot||H===M.underscore||W5(H)}function DF(H){let Q=H.length,Y=!1;while(Q--){let J=H[Q][1];if((J.type==="labelLink"||J.type==="labelImage")&&!J._balanced){Y=!0;break}if(J._gfmAutolinkLiteralWalkedInto){Y=!1;break}}if(H.length>0&&!Y)H[H.length-1][1]._gfmAutolinkLiteralWalkedInto=!0;return Y}var cA,kb,fb,lb,sA,pb,rb,e6,B6,q7;var cb=l(()=>{D0();t1();cA={tokenize:eA,partial:!0},kb={tokenize:Hm,partial:!0},fb={tokenize:Zm,partial:!0},lb={tokenize:Xm,partial:!0},sA={tokenize:Qm,partial:!0},pb={name:"wwwAutolink",tokenize:oA,previous:ib},rb={name:"protocolAutolink",tokenize:tA,previous:db},e6={name:"emailAutolink",tokenize:nA,previous:ab},B6={};q7=M.digit0;while(q7<M.leftCurlyBrace)if(B6[q7]=e6,q7++,q7===M.colon)q7=M.uppercaseA;else if(q7===M.leftSquareBracket)q7=M.lowercaseA;B6[M.plusSign]=e6;B6[M.dash]=e6;B6[M.dot]=e6;B6[M.underscore]=e6;B6[M.uppercaseH]=[e6,rb];B6[M.lowercaseH]=[e6,rb];B6[M.uppercaseW]=[e6,pb];B6[M.lowercaseW]=[e6,pb]});function U3(H){let Q=[],Y=-1,J=0,w=0;while(++Y<H.length){let U=H.charCodeAt(Y),F="";if(U===M.percentSign&&W5(H.charCodeAt(Y+1))&&W5(H.charCodeAt(Y+2)))w=2;else if(U<128){if(!/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(U)))F=String.fromCharCode(U)}else if(U>55295&&U<57344){let B=H.charCodeAt(Y+1);if(U<56320&&B>56319&&B<57344)F=String.fromCharCode(U,B),w=1;else F=j2.replacementCharacter}else F=String.fromCharCode(U);if(F)Q.push(H.slice(J,Y),encodeURIComponent(F)),J=Y+w+1,F="";if(w)Y+=w,w=0}return Q.join("")+H.slice(J)}var Y7=l(()=>{D0();t1()});var sb=l(()=>{cb()});function H4(H,Q,Y){let J=[],w=-1;while(++w<H.length){let U=H[w].resolveAll;if(U&&!J.includes(U))Q=U(Q,Y),J.push(U)}return Q}function qm(H,Q){let Y=-1,J,w,U,F,B,V,N,R;while(++Y<H.length)if(H[Y][0]==="enter"&&H[Y][1].type==="attentionSequence"&&H[Y][1]._close){J=Y;while(J--)if(H[J][0]==="exit"&&H[J][1].type==="attentionSequence"&&H[J][1]._open&&Q.sliceSerialize(H[J][1]).charCodeAt(0)===Q.sliceSerialize(H[Y][1]).charCodeAt(0)){if((H[J][1]._close||H[Y][1]._open)&&(H[Y][1].end.offset-H[Y][1].start.offset)%3&&!((H[J][1].end.offset-H[J][1].start.offset+H[Y][1].end.offset-H[Y][1].start.offset)%3))continue;V=H[J][1].end.offset-H[J][1].start.offset>1&&H[Y][1].end.offset-H[Y][1].start.offset>1?2:1;let O={...H[J][1].end},C={...H[Y][1].start};if(nb(O,-V),nb(C,V),F={type:V>1?G.strongSequence:G.emphasisSequence,start:O,end:{...H[J][1].end}},B={type:V>1?G.strongSequence:G.emphasisSequence,start:{...H[Y][1].start},end:C},U={type:V>1?G.strongText:G.emphasisText,start:{...H[J][1].end},end:{...H[Y][1].start}},w={type:V>1?G.strong:G.emphasis,start:{...F.start},end:{...B.end}},H[J][1].end={...F.start},H[Y][1].start={...B.end},N=[],H[J][1].end.offset-H[J][1].start.offset)N=R2(N,[["enter",H[J][1],Q],["exit",H[J][1],Q]]);if(N=R2(N,[["enter",w,Q],["enter",F,Q],["exit",F,Q],["enter",U,Q]]),I(Q.parser.constructs.insideSpan.null,"expected `insideSpan` to be populated"),N=R2(N,H4(Q.parser.constructs.insideSpan.null,H.slice(J+1,Y),Q)),N=R2(N,[["exit",U,Q],["enter",B,Q],["exit",B,Q],["exit",w,Q]]),H[Y][1].end.offset-H[Y][1].start.offset)R=2,N=R2(N,[["enter",H[Y][1],Q],["exit",H[Y][1],Q]]);else R=0;V5(H,J-1,Y-J+3,N),Y=J+N.length-R-2;break}}Y=-1;while(++Y<H.length)if(H[Y][1].type==="attentionSequence")H[Y][1].type="data";return H}function Ym(H,Q){let Y=this.parser.constructs.attentionMarkers.null,J=this.previous,w=o6(J),U;return F;function F(V){return I(V===M.asterisk||V===M.underscore,"expected asterisk or underscore"),U=V,H.enter("attentionSequence"),B(V)}function B(V){if(V===U)return H.consume(V),B;let N=H.exit("attentionSequence"),R=o6(V);I(Y,"expected `attentionMarkers` to be populated");let O=!R||R===V1.characterGroupPunctuation&&w||Y.includes(V),C=!w||w===V1.characterGroupPunctuation&&R||Y.includes(J);return N._open=Boolean(U===M.asterisk?O:O&&(w||!C)),N._close=Boolean(U===M.asterisk?C:C&&(R||!O)),Q(V)}}function nb(H,Q){H.column+=Q,H.offset+=Q,H._bufferIndex+=Q}var QX;var ob=l(()=>{q0();t6();zY();t1();QX={name:"attention",resolveAll:qm,tokenize:Ym}});function Jm(H,Q,Y){let J=0;return w;function w($){return I($===M.lessThan,"expected `<`"),H.enter(G.autolink),H.enter(G.autolinkMarker),H.consume($),H.exit(G.autolinkMarker),H.enter(G.autolinkProtocol),U}function U($){if(h5($))return H.consume($),F;if($===M.atSign)return Y($);return N($)}function F($){if($===M.plusSign||$===M.dash||$===M.dot||W5($))return J=1,B($);return N($)}function B($){if($===M.colon)return H.consume($),J=0,V;if(($===M.plusSign||$===M.dash||$===M.dot||W5($))&&J++<V1.autolinkSchemeSizeMax)return H.consume($),B;return J=0,N($)}function V($){if($===M.greaterThan)return H.exit(G.autolinkProtocol),H.enter(G.autolinkMarker),H.consume($),H.exit(G.autolinkMarker),H.exit(G.autolink),Q;if($===M.eof||$===M.space||$===M.lessThan||Z7($))return Y($);return H.consume($),V}function N($){if($===M.atSign)return H.consume($),R;if(MC($))return H.consume($),N;return Y($)}function R($){return W5($)?O($):Y($)}function O($){if($===M.dot)return H.consume($),J=0,R;if($===M.greaterThan)return H.exit(G.autolinkProtocol).type=G.autolinkEmail,H.enter(G.autolinkMarker),H.consume($),H.exit(G.autolinkMarker),H.exit(G.autolink),Q;return C($)}function C($){if(($===M.dash||W5($))&&J++<V1.autolinkDomainSizeMax){let _=$===M.dash?C:O;return H.consume($),_}return Y($)}}var hF;var tb=l(()=>{q0();D0();t1();hF={name:"autolink",tokenize:Jm}});function c1(H,Q,Y,J){let w=J?J-1:Number.POSITIVE_INFINITY,U=0;return F;function F(V){if(a1(V))return H.enter(Y),B(V);return Q(V)}function B(V){if(a1(V)&&U++<w)return H.consume(V),B;return H.exit(Y),Q(V)}}var z5=l(()=>{D0()});function Km(H,Q,Y){return J;function J(U){return a1(U)?c1(H,w,G.linePrefix)(U):w(U)}function w(U){return U===M.eof||C1(U)?Q(U):Y(U)}}var V6;var NY=l(()=>{z5();D0();t1();V6={partial:!0,tokenize:Km}});function wm(H,Q,Y){let J=this;return w;function w(F){if(F===M.greaterThan){let B=J.containerState;if(I(B,"expected `containerState` to be defined in container"),!B.open)H.enter(G.blockQuote,{_container:!0}),B.open=!0;return H.enter(G.blockQuotePrefix),H.enter(G.blockQuoteMarker),H.consume(F),H.exit(G.blockQuoteMarker),U}return Y(F)}function U(F){if(a1(F))return H.enter(G.blockQuotePrefixWhitespace),H.consume(F),H.exit(G.blockQuotePrefixWhitespace),H.exit(G.blockQuotePrefix),Q;return H.exit(G.blockQuotePrefix),Q(F)}}function Wm(H,Q,Y){let J=this;return w;function w(F){if(a1(F))return I(J.parser.constructs.disable.null,"expected `disable.null` to be populated"),c1(H,U,G.linePrefix,J.parser.constructs.disable.null.includes("codeIndented")?void 0:V1.tabSize)(F);return U(F)}function U(F){return H.attempt(PY,Q,Y)(F)}}function Lm(H){H.exit(G.blockQuote)}var PY;var eb=l(()=>{q0();z5();D0();t1();PY={continuation:{tokenize:Wm},exit:Lm,name:"blockQuote",tokenize:wm}});function Fm(H,Q,Y){return J;function J(U){return I(U===M.backslash,"expected `\\`"),H.enter(G.characterEscape),H.enter(G.escapeMarker),H.consume(U),H.exit(G.escapeMarker),w}function w(U){if(bC(U))return H.enter(G.characterEscapeValue),H.consume(U),H.exit(G.characterEscapeValue),H.exit(G.characterEscape),Q;return Y(U)}}var MY;var H$=l(()=>{q0();D0();t1();MY={name:"characterEscape",tokenize:Fm}});function f8(H){let Q="&"+H+";";Z$.innerHTML=Q;let Y=Z$.textContent;if(Y.charCodeAt(Y.length-1)===59&&H!=="semi")return!1;return Y===Q?!1:Y}var Z$;var CY=l(()=>{Z$=document.createElement("i")});function Um(H,Q,Y){let J=this,w=0,U,F;return B;function B(O){return I(O===M.ampersand,"expected `&`"),H.enter(G.characterReference),H.enter(G.characterReferenceMarker),H.consume(O),H.exit(G.characterReferenceMarker),V}function V(O){if(O===M.numberSign)return H.enter(G.characterReferenceMarkerNumeric),H.consume(O),H.exit(G.characterReferenceMarkerNumeric),N;return H.enter(G.characterReferenceValue),U=V1.characterReferenceNamedSizeMax,F=W5,R(O)}function N(O){if(O===M.uppercaseX||O===M.lowercaseX)return H.enter(G.characterReferenceMarkerHexadecimal),H.consume(O),H.exit(G.characterReferenceMarkerHexadecimal),H.enter(G.characterReferenceValue),U=V1.characterReferenceHexadecimalSizeMax,F=CC,R;return H.enter(G.characterReferenceValue),U=V1.characterReferenceDecimalSizeMax,F=ZX,R(O)}function R(O){if(O===M.semicolon&&w){let C=H.exit(G.characterReferenceValue);if(F===W5&&!f8(J.sliceSerialize(C)))return Y(O);return H.enter(G.characterReferenceMarker),H.consume(O),H.exit(G.characterReferenceMarker),H.exit(G.characterReference),Q}if(F(O)&&w++<U)return H.consume(O),R;return Y(O)}}var bY;var X$=l(()=>{q0();CY();D0();t1();bY={name:"characterReference",tokenize:Um}});function Bm(H,Q,Y){let J=this,w={partial:!0,tokenize:B1},U=0,F=0,B;return V;function V(c){return N(c)}function N(c){I(c===M.graveAccent||c===M.tilde,"expected `` ` `` or `~`");let b1=J.events[J.events.length-1];return U=b1&&b1[1].type===G.linePrefix?b1[2].sliceSerialize(b1[1],!0).length:0,B=c,H.enter(G.codeFenced),H.enter(G.codeFencedFence),H.enter(G.codeFencedFenceSequence),R(c)}function R(c){if(c===B)return F++,H.consume(c),R;if(F<V1.codeFencedSequenceSizeMin)return Y(c);return H.exit(G.codeFencedFenceSequence),a1(c)?c1(H,O,G.whitespace)(c):O(c)}function O(c){if(c===M.eof||C1(c))return H.exit(G.codeFencedFence),J.interrupt?Q(c):H.check(Q$,v,U1)(c);return H.enter(G.codeFencedFenceInfo),H.enter(G.chunkString,{contentType:V1.contentTypeString}),C(c)}function C(c){if(c===M.eof||C1(c))return H.exit(G.chunkString),H.exit(G.codeFencedFenceInfo),O(c);if(a1(c))return H.exit(G.chunkString),H.exit(G.codeFencedFenceInfo),c1(H,$,G.whitespace)(c);if(c===M.graveAccent&&c===B)return Y(c);return H.consume(c),C}function $(c){if(c===M.eof||C1(c))return O(c);return H.enter(G.codeFencedFenceMeta),H.enter(G.chunkString,{contentType:V1.contentTypeString}),_(c)}function _(c){if(c===M.eof||C1(c))return H.exit(G.chunkString),H.exit(G.codeFencedFenceMeta),O(c);if(c===M.graveAccent&&c===B)return Y(c);return H.consume(c),_}function v(c){return I(C1(c),"expected eol"),H.attempt(w,U1,p)(c)}function p(c){return I(C1(c),"expected eol"),H.enter(G.lineEnding),H.consume(c),H.exit(G.lineEnding),m}function m(c){return U>0&&a1(c)?c1(H,Z1,G.linePrefix,U+1)(c):Z1(c)}function Z1(c){if(c===M.eof||C1(c))return H.check(Q$,v,U1)(c);return H.enter(G.codeFlowValue),t(c)}function t(c){if(c===M.eof||C1(c))return H.exit(G.codeFlowValue),Z1(c);return H.consume(c),t}function U1(c){return H.exit(G.codeFenced),Q(c)}function B1(c,b1,e){let $1=0;return k;function k(Q1){return I(C1(Q1),"expected eol"),c.enter(G.lineEnding),c.consume(Q1),c.exit(G.lineEnding),k1}function k1(Q1){return I(J.parser.constructs.disable.null,"expected `disable.null` to be populated"),c.enter(G.codeFencedFence),a1(Q1)?c1(c,g1,G.linePrefix,J.parser.constructs.disable.null.includes("codeIndented")?void 0:V1.tabSize)(Q1):g1(Q1)}function g1(Q1){if(Q1===B)return c.enter(G.codeFencedFenceSequence),L1(Q1);return e(Q1)}function L1(Q1){if(Q1===B)return $1++,c.consume(Q1),L1;if($1>=F)return c.exit(G.codeFencedFenceSequence),a1(Q1)?c1(c,h1,G.whitespace)(Q1):h1(Q1);return e(Q1)}function h1(Q1){if(Q1===M.eof||C1(Q1))return c.exit(G.codeFencedFence),b1(Q1);return e(Q1)}}}function Vm(H,Q,Y){let J=this;return w;function w(F){if(F===M.eof)return Y(F);return I(C1(F),"expected eol"),H.enter(G.lineEnding),H.consume(F),H.exit(G.lineEnding),U}function U(F){return J.parser.lazy[J.now().line]?Y(F):Q(F)}}var Q$,$Y;var q$=l(()=>{q0();z5();D0();t1();Q$={partial:!0,tokenize:Vm},$Y={concrete:!0,name:"codeFenced",tokenize:Bm}});function jm(H,Q,Y){let J=this;return w;function w(N){return I(a1(N)),H.enter(G.codeIndented),c1(H,U,G.linePrefix,V1.tabSize+1)(N)}function U(N){let R=J.events[J.events.length-1];return R&&R[1].type===G.linePrefix&&R[2].sliceSerialize(R[1],!0).length>=V1.tabSize?F(N):Y(N)}function F(N){if(N===M.eof)return V(N);if(C1(N))return H.attempt(zm,F,V)(N);return H.enter(G.codeFlowValue),B(N)}function B(N){if(N===M.eof||C1(N))return H.exit(G.codeFlowValue),F(N);return H.consume(N),B}function V(N){return H.exit(G.codeIndented),Q(N)}}function Rm(H,Q,Y){let J=this;return w;function w(F){if(J.parser.lazy[J.now().line])return Y(F);if(C1(F))return H.enter(G.lineEnding),H.consume(F),H.exit(G.lineEnding),w;return c1(H,U,G.linePrefix,V1.tabSize+1)(F)}function U(F){let B=J.events[J.events.length-1];return B&&B[1].type===G.linePrefix&&B[2].sliceSerialize(B[1],!0).length>=V1.tabSize?Q(F):C1(F)?w(F):Y(F)}}var qX,zm;var Y$=l(()=>{q0();z5();D0();t1();qX={name:"codeIndented",tokenize:jm},zm={partial:!0,tokenize:Rm}});function Om(H){let Q=H.length-4,Y=3,J,w;if((H[Y][1].type===G.lineEnding||H[Y][1].type==="space")&&(H[Q][1].type===G.lineEnding||H[Q][1].type==="space")){J=Y;while(++J<Q)if(H[J][1].type===G.codeTextData){H[Y][1].type=G.codeTextPadding,H[Q][1].type=G.codeTextPadding,Y+=2,Q-=2;break}}J=Y-1,Q++;while(++J<=Q)if(w===void 0){if(J!==Q&&H[J][1].type!==G.lineEnding)w=J}else if(J===Q||H[J][1].type===G.lineEnding){if(H[w][1].type=G.codeTextData,J!==w+2)H[w][1].end=H[J-1][1].end,H.splice(w+2,J-w-2),Q-=J-w-2,J=w+2;w=void 0}return H}function J$(H){return H!==M.graveAccent||this.events[this.events.length-1][1].type===G.characterEscape}function Nm(H,Q,Y){let J=this,w=0,U,F;return B;function B(C){return I(C===M.graveAccent,"expected `` ` ``"),I(J$.call(J,J.previous),"expected correct previous"),H.enter(G.codeText),H.enter(G.codeTextSequence),V(C)}function V(C){if(C===M.graveAccent)return H.consume(C),w++,V;return H.exit(G.codeTextSequence),N(C)}function N(C){if(C===M.eof)return Y(C);if(C===M.space)return H.enter("space"),H.consume(C),H.exit("space"),N;if(C===M.graveAccent)return F=H.enter(G.codeTextSequence),U=0,O(C);if(C1(C))return H.enter(G.lineEnding),H.consume(C),H.exit(G.lineEnding),N;return H.enter(G.codeTextData),R(C)}function R(C){if(C===M.eof||C===M.space||C===M.graveAccent||C1(C))return H.exit(G.codeTextData),N(C);return H.consume(C),R}function O(C){if(C===M.graveAccent)return H.consume(C),U++,O;if(U===w)return H.exit(G.codeTextSequence),H.exit(G.codeText),Q(C);return F.type=G.codeTextData,R(C)}}var _F;var K$=l(()=>{q0();D0();t1();_F={name:"codeText",previous:J$,resolve:Om,tokenize:Nm}});class xF{constructor(H){this.left=H?[...H]:[],this.right=[]}get(H){if(H<0||H>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+H+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");if(H<this.left.length)return this.left[H];return this.right[this.right.length-H+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(H,Q){let Y=Q===null||Q===void 0?Number.POSITIVE_INFINITY:Q;if(Y<this.left.length)return this.left.slice(H,Y);if(H>this.left.length)return this.right.slice(this.right.length-Y+this.left.length,this.right.length-H+this.left.length).reverse();return this.left.slice(H).concat(this.right.slice(this.right.length-Y+this.left.length).reverse())}splice(H,Q,Y){let J=Q||0;this.setCursor(Math.trunc(H));let w=this.right.splice(this.right.length-J,Number.POSITIVE_INFINITY);if(Y)YX(this.left,Y);return w.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(H){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(H)}pushMany(H){this.setCursor(Number.POSITIVE_INFINITY),YX(this.left,H)}unshift(H){this.setCursor(0),this.right.push(H)}unshiftMany(H){this.setCursor(0),YX(this.right,H.reverse())}setCursor(H){if(H===this.left.length||H>this.left.length&&this.right.length===0||H<0&&this.left.length===0)return;if(H<this.left.length){let Q=this.left.splice(H,Number.POSITIVE_INFINITY);YX(this.right,Q.reverse())}else{let Q=this.right.splice(this.left.length+this.right.length-H,Number.POSITIVE_INFINITY);YX(this.left,Q.reverse())}}}function YX(H,Q){let Y=0;if(Q.length<V1.v8MaxSafeChunkSize)H.push(...Q);else while(Y<Q.length)H.push(...Q.slice(Y,Y+V1.v8MaxSafeChunkSize)),Y+=V1.v8MaxSafeChunkSize}var w$=l(()=>{t1()});function gY(H){let Q={},Y=-1,J,w,U,F,B,V,N,R=new xF(H);while(++Y<R.length){while(Y in Q)Y=Q[Y];if(J=R.get(Y),Y&&J[1].type===G.chunkFlow&&R.get(Y-1)[1].type===G.listItemPrefix){if(I(J[1]._tokenizer,"expected `_tokenizer` on subtokens"),V=J[1]._tokenizer.events,U=0,U<V.length&&V[U][1].type===G.lineEndingBlank)U+=2;if(U<V.length&&V[U][1].type===G.content)while(++U<V.length){if(V[U][1].type===G.content)break;if(V[U][1].type===G.chunkText)V[U][1]._isInFirstContentOfListItem=!0,U++}}if(J[0]==="enter"){if(J[1].contentType)Object.assign(Q,Pm(R,Y)),Y=Q[Y],N=!0}else if(J[1]._container){U=Y,w=void 0;while(U--)if(F=R.get(U),F[1].type===G.lineEnding||F[1].type===G.lineEndingBlank){if(F[0]==="enter"){if(w)R.get(w)[1].type=G.lineEndingBlank;F[1].type=G.lineEnding,w=U}}else if(F[1].type===G.linePrefix||F[1].type===G.listItemIndent);else break;if(w)J[1].end={...R.get(w)[1].start},B=R.slice(w,Y),B.unshift(J),R.splice(w,Y-w+1,B)}}return V5(H,0,Number.POSITIVE_INFINITY,R.slice(0)),!N}function Pm(H,Q){let Y=H.get(Q)[1],J=H.get(Q)[2],w=Q-1,U=[];I(Y.contentType,"expected `contentType` on subtokens");let F=Y._tokenizer;if(!F){if(F=J.parser[Y.contentType](Y.start),Y._contentTypeTextTrailing)F._contentTypeTextTrailing=!0}let B=F.events,V=[],N={},R,O,C=-1,$=Y,_=0,v=0,p=[v];while($){while(H.get(++w)[1]!==$);if(I(!O||$.previous===O,"expected previous to match"),I(!O||O.next===$,"expected next to match"),U.push(w),!$._tokenizer){if(R=J.sliceStream($),!$.next)R.push(M.eof);if(O)F.defineSkip($.start);if($._isInFirstContentOfListItem)F._gfmTasklistFirstContentOfListItem=!0;if(F.write(R),$._isInFirstContentOfListItem)F._gfmTasklistFirstContentOfListItem=void 0}O=$,$=$.next}$=Y;while(++C<B.length)if(B[C][0]==="exit"&&B[C-1][0]==="enter"&&B[C][1].type===B[C-1][1].type&&B[C][1].start.line!==B[C][1].end.line)I($,"expected a current token"),v=C+1,p.push(v),$._tokenizer=void 0,$.previous=void 0,$=$.next;if(F.events=[],$)$._tokenizer=void 0,$.previous=void 0,I(!$.next,"expected no next token");else p.pop();C=p.length;while(C--){let m=B.slice(p[C],p[C+1]),Z1=U.pop();I(Z1!==void 0,"expected a start position when splicing"),V.push([Z1,Z1+m.length-1]),H.splice(Z1,2,m)}V.reverse(),C=-1;while(++C<V.length)N[_+V[C][0]]=_+V[C][1],_+=V[C][1]-V[C][0]-1;return N}var EF=l(()=>{q0();t6();t1();w$()});function Cm(H){return gY(H),H}function bm(H,Q){let Y;return J;function J(B){return I(B!==M.eof&&!C1(B),"expected no eof or eol"),H.enter(G.content),Y=H.enter(G.chunkContent,{contentType:V1.contentTypeContent}),w(B)}function w(B){if(B===M.eof)return U(B);if(C1(B))return H.check(Mm,F,U)(B);return H.consume(B),w}function U(B){return H.exit(G.chunkContent),H.exit(G.content),Q(B)}function F(B){return I(C1(B),"expected eol"),H.consume(B),H.exit(G.chunkContent),I(Y,"expected previous token"),Y.next=H.enter(G.chunkContent,{contentType:V1.contentTypeContent,previous:Y}),Y=Y.next,w}}function $m(H,Q,Y){let J=this;return w;function w(F){return I(C1(F),"expected a line ending"),H.exit(G.chunkContent),H.enter(G.lineEnding),H.consume(F),H.exit(G.lineEnding),c1(H,U,G.linePrefix)}function U(F){if(F===M.eof||C1(F))return Y(F);I(J.parser.constructs.disable.null,"expected `disable.null` to be populated");let B=J.events[J.events.length-1];if(!J.parser.constructs.disable.null.includes("codeIndented")&&B&&B[1].type===G.linePrefix&&B[2].sliceSerialize(B[1],!0).length>=V1.tabSize)return Q(F);return H.interrupt(J.parser.constructs.flow,Y,Q)(F)}}var IF,Mm;var W$=l(()=>{q0();z5();D0();EF();t1();IF={resolve:Cm,tokenize:bm},Mm={partial:!0,tokenize:$m}});function GY(H,Q,Y,J,w,U,F,B,V){let N=V||Number.POSITIVE_INFINITY,R=0;return O;function O(m){if(m===M.lessThan)return H.enter(J),H.enter(w),H.enter(U),H.consume(m),H.exit(U),C;if(m===M.eof||m===M.space||m===M.rightParenthesis||Z7(m))return Y(m);return H.enter(J),H.enter(F),H.enter(B),H.enter(G.chunkString,{contentType:V1.contentTypeString}),v(m)}function C(m){if(m===M.greaterThan)return H.enter(U),H.consume(m),H.exit(U),H.exit(w),H.exit(J),Q;return H.enter(B),H.enter(G.chunkString,{contentType:V1.contentTypeString}),$(m)}function $(m){if(m===M.greaterThan)return H.exit(G.chunkString),H.exit(B),C(m);if(m===M.eof||m===M.lessThan||C1(m))return Y(m);return H.consume(m),m===M.backslash?_:$}function _(m){if(m===M.lessThan||m===M.greaterThan||m===M.backslash)return H.consume(m),$;return $(m)}function v(m){if(!R&&(m===M.eof||m===M.rightParenthesis||P0(m)))return H.exit(G.chunkString),H.exit(B),H.exit(F),H.exit(J),Q(m);if(R<N&&m===M.leftParenthesis)return H.consume(m),R++,v;if(m===M.rightParenthesis)return H.consume(m),R--,v;if(m===M.eof||m===M.space||m===M.leftParenthesis||Z7(m))return Y(m);return H.consume(m),m===M.backslash?p:v}function p(m){if(m===M.leftParenthesis||m===M.rightParenthesis||m===M.backslash)return H.consume(m),v;return v(m)}}var yF=l(()=>{D0();t1()});function DY(H,Q,Y,J,w,U){let F=this,B=0,V;return N;function N($){return I($===M.leftSquareBracket,"expected `[`"),H.enter(J),H.enter(w),H.consume($),H.exit(w),H.enter(U),R}function R($){if(B>V1.linkReferenceSizeMax||$===M.eof||$===M.leftSquareBracket||$===M.rightSquareBracket&&!V||$===M.caret&&!B&&"_hiddenFootnoteSupport"in F.parser.constructs)return Y($);if($===M.rightSquareBracket)return H.exit(U),H.enter(w),H.consume($),H.exit(w),H.exit(J),Q;if(C1($))return H.enter(G.lineEnding),H.consume($),H.exit(G.lineEnding),R;return H.enter(G.chunkString,{contentType:V1.contentTypeString}),O($)}function O($){if($===M.eof||$===M.leftSquareBracket||$===M.rightSquareBracket||C1($)||B++>V1.linkReferenceSizeMax)return H.exit(G.chunkString),R($);if(H.consume($),!V)V=!a1($);return $===M.backslash?C:O}function C($){if($===M.leftSquareBracket||$===M.backslash||$===M.rightSquareBracket)return H.consume($),B++,O;return O($)}}var vF=l(()=>{q0();D0();t1()});function hY(H,Q,Y,J,w,U){let F;return B;function B(C){if(C===M.quotationMark||C===M.apostrophe||C===M.leftParenthesis)return H.enter(J),H.enter(w),H.consume(C),H.exit(w),F=C===M.leftParenthesis?M.rightParenthesis:C,V;return Y(C)}function V(C){if(C===F)return H.enter(w),H.consume(C),H.exit(w),H.exit(J),Q;return H.enter(U),N(C)}function N(C){if(C===F)return H.exit(U),V(F);if(C===M.eof)return Y(C);if(C1(C))return H.enter(G.lineEnding),H.consume(C),H.exit(G.lineEnding),c1(H,N,G.linePrefix);return H.enter(G.chunkString,{contentType:V1.contentTypeString}),R(C)}function R(C){if(C===F||C===M.eof||C1(C))return H.exit(G.chunkString),N(C);return H.consume(C),C===M.backslash?O:R}function O(C){if(C===F||C===M.backslash)return H.consume(C),R;return R(C)}}var SF=l(()=>{z5();D0();t1()});function J7(H,Q){let Y;return J;function J(w){if(C1(w))return H.enter(G.lineEnding),H.consume(w),H.exit(G.lineEnding),Y=!0,J;if(a1(w))return c1(H,J,Y?G.linePrefix:G.lineSuffix)(w);return Q(w)}}var TF=l(()=>{z5();D0();t1()});function Gm(H,Q,Y){let J=this,w;return U;function U($){return H.enter(G.definition),F($)}function F($){return I($===M.leftSquareBracket,"expected `[`"),DY.call(J,H,B,Y,G.definitionLabel,G.definitionLabelMarker,G.definitionLabelString)($)}function B($){if(w=Z2(J.sliceSerialize(J.events[J.events.length-1][1]).slice(1,-1)),$===M.colon)return H.enter(G.definitionMarker),H.consume($),H.exit(G.definitionMarker),V;return Y($)}function V($){return P0($)?J7(H,N)($):N($)}function N($){return GY(H,R,Y,G.definitionDestination,G.definitionDestinationLiteral,G.definitionDestinationLiteralMarker,G.definitionDestinationRaw,G.definitionDestinationString)($)}function R($){return H.attempt(gm,O,O)($)}function O($){return a1($)?c1(H,C,G.whitespace)($):C($)}function C($){if($===M.eof||C1($))return H.exit(G.definition),J.parser.defined.push(w),Q($);return Y($)}}function Dm(H,Q,Y){return J;function J(B){return P0(B)?J7(H,w)(B):Y(B)}function w(B){return hY(H,U,Y,G.definitionTitle,G.definitionTitleMarker,G.definitionTitleString)(B)}function U(B){return a1(B)?c1(H,F,G.whitespace)(B):F(B)}function F(B){return B===M.eof||C1(B)?Q(B):Y(B)}}var AF,gm;var L$=l(()=>{q0();yF();vF();z5();SF();TF();D0();A8();t1();AF={name:"definition",tokenize:Gm},gm={partial:!0,tokenize:Dm}});function hm(H,Q,Y){return J;function J(U){return I(U===M.backslash,"expected `\\`"),H.enter(G.hardBreakEscape),H.consume(U),w}function w(U){if(C1(U))return H.exit(G.hardBreakEscape),Q(U);return Y(U)}}var mF;var F$=l(()=>{q0();D0();t1();mF={name:"hardBreakEscape",tokenize:hm}});function _m(H,Q){let Y=H.length-2,J=3,w,U;if(H[J][1].type===G.whitespace)J+=2;if(Y-2>J&&H[Y][1].type===G.whitespace)Y-=2;if(H[Y][1].type===G.atxHeadingSequence&&(J===Y-1||Y-4>J&&H[Y-2][1].type===G.whitespace))Y-=J+1===Y?2:4;if(Y>J)w={type:G.atxHeadingText,start:H[J][1].start,end:H[Y][1].end},U={type:G.chunkText,start:H[J][1].start,end:H[Y][1].end,contentType:V1.contentTypeText},V5(H,J,Y-J+1,[["enter",w,Q],["enter",U,Q],["exit",U,Q],["exit",w,Q]]);return H}function xm(H,Q,Y){let J=0;return w;function w(R){return H.enter(G.atxHeading),U(R)}function U(R){return I(R===M.numberSign,"expected `#`"),H.enter(G.atxHeadingSequence),F(R)}function F(R){if(R===M.numberSign&&J++<V1.atxHeadingOpeningFenceSizeMax)return H.consume(R),F;if(R===M.eof||P0(R))return H.exit(G.atxHeadingSequence),B(R);return Y(R)}function B(R){if(R===M.numberSign)return H.enter(G.atxHeadingSequence),V(R);if(R===M.eof||C1(R))return H.exit(G.atxHeading),Q(R);if(a1(R))return c1(H,B,G.whitespace)(R);return H.enter(G.atxHeadingText),N(R)}function V(R){if(R===M.numberSign)return H.consume(R),V;return H.exit(G.atxHeadingSequence),B(R)}function N(R){if(R===M.eof||R===M.numberSign||P0(R))return H.exit(G.atxHeadingText),B(R);return H.consume(R),N}}var uF;var U$=l(()=>{q0();z5();D0();t6();t1();uF={name:"headingAtx",resolve:_m,tokenize:xm}});var B$,kF;var V$=l(()=>{B$=["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"],kF=["pre","script","style","textarea"]});function ym(H){let Q=H.length;while(Q--)if(H[Q][0]==="enter"&&H[Q][1].type===G.htmlFlow)break;if(Q>1&&H[Q-2][1].type===G.linePrefix)H[Q][1].start=H[Q-2][1].start,H[Q+1][1].start=H[Q-2][1].start,H.splice(Q-2,2);return H}function vm(H,Q,Y){let J=this,w,U,F,B,V;return N;function N(y){return R(y)}function R(y){return I(y===M.lessThan,"expected `<`"),H.enter(G.htmlFlow),H.enter(G.htmlFlowData),H.consume(y),O}function O(y){if(y===M.exclamationMark)return H.consume(y),C;if(y===M.slash)return H.consume(y),U=!0,v;if(y===M.questionMark)return H.consume(y),w=V1.htmlInstruction,J.interrupt?Q:b;if(h5(y))return I(y!==null),H.consume(y),F=String.fromCharCode(y),p;return Y(y)}function C(y){if(y===M.dash)return H.consume(y),w=V1.htmlComment,$;if(y===M.leftSquareBracket)return H.consume(y),w=V1.htmlCdata,B=0,_;if(h5(y))return H.consume(y),w=V1.htmlDeclaration,J.interrupt?Q:b;return Y(y)}function $(y){if(y===M.dash)return H.consume(y),J.interrupt?Q:b;return Y(y)}function _(y){let d1=V1.cdataOpeningString;if(y===d1.charCodeAt(B++)){if(H.consume(y),B===d1.length)return J.interrupt?Q:g1;return _}return Y(y)}function v(y){if(h5(y))return I(y!==null),H.consume(y),F=String.fromCharCode(y),p;return Y(y)}function p(y){if(y===M.eof||y===M.slash||y===M.greaterThan||P0(y)){let d1=y===M.slash,o1=F.toLowerCase();if(!d1&&!U&&kF.includes(o1))return w=V1.htmlRaw,J.interrupt?Q(y):g1(y);if(B$.includes(F.toLowerCase())){if(w=V1.htmlBasic,d1)return H.consume(y),m;return J.interrupt?Q(y):g1(y)}return w=V1.htmlComplete,J.interrupt&&!J.parser.lazy[J.now().line]?Y(y):U?Z1(y):t(y)}if(y===M.dash||W5(y))return H.consume(y),F+=String.fromCharCode(y),p;return Y(y)}function m(y){if(y===M.greaterThan)return H.consume(y),J.interrupt?Q:g1;return Y(y)}function Z1(y){if(a1(y))return H.consume(y),Z1;return k(y)}function t(y){if(y===M.slash)return H.consume(y),k;if(y===M.colon||y===M.underscore||h5(y))return H.consume(y),U1;if(a1(y))return H.consume(y),t;return k(y)}function U1(y){if(y===M.dash||y===M.dot||y===M.colon||y===M.underscore||W5(y))return H.consume(y),U1;return B1(y)}function B1(y){if(y===M.equalsTo)return H.consume(y),c;if(a1(y))return H.consume(y),B1;return t(y)}function c(y){if(y===M.eof||y===M.lessThan||y===M.equalsTo||y===M.greaterThan||y===M.graveAccent)return Y(y);if(y===M.quotationMark||y===M.apostrophe)return H.consume(y),V=y,b1;if(a1(y))return H.consume(y),c;return e(y)}function b1(y){if(y===V)return H.consume(y),V=null,$1;if(y===M.eof||C1(y))return Y(y);return H.consume(y),b1}function e(y){if(y===M.eof||y===M.quotationMark||y===M.apostrophe||y===M.slash||y===M.lessThan||y===M.equalsTo||y===M.greaterThan||y===M.graveAccent||P0(y))return B1(y);return H.consume(y),e}function $1(y){if(y===M.slash||y===M.greaterThan||a1(y))return t(y);return Y(y)}function k(y){if(y===M.greaterThan)return H.consume(y),k1;return Y(y)}function k1(y){if(y===M.eof||C1(y))return g1(y);if(a1(y))return H.consume(y),k1;return Y(y)}function g1(y){if(y===M.dash&&w===V1.htmlComment)return H.consume(y),w1;if(y===M.lessThan&&w===V1.htmlRaw)return H.consume(y),Y1;if(y===M.greaterThan&&w===V1.htmlDeclaration)return H.consume(y),j1;if(y===M.questionMark&&w===V1.htmlInstruction)return H.consume(y),b;if(y===M.rightSquareBracket&&w===V1.htmlCdata)return H.consume(y),y1;if(C1(y)&&(w===V1.htmlBasic||w===V1.htmlComplete))return H.exit(G.htmlFlowData),H.check(Em,T1,L1)(y);if(y===M.eof||C1(y))return H.exit(G.htmlFlowData),L1(y);return H.consume(y),g1}function L1(y){return H.check(Im,h1,T1)(y)}function h1(y){return I(C1(y)),H.enter(G.lineEnding),H.consume(y),H.exit(G.lineEnding),Q1}function Q1(y){if(y===M.eof||C1(y))return L1(y);return H.enter(G.htmlFlowData),g1(y)}function w1(y){if(y===M.dash)return H.consume(y),b;return g1(y)}function Y1(y){if(y===M.slash)return H.consume(y),F="",I1;return g1(y)}function I1(y){if(y===M.greaterThan){let d1=F.toLowerCase();if(kF.includes(d1))return H.consume(y),j1;return g1(y)}if(h5(y)&&F.length<V1.htmlRawSizeMax)return I(y!==null),H.consume(y),F+=String.fromCharCode(y),I1;return g1(y)}function y1(y){if(y===M.rightSquareBracket)return H.consume(y),b;return g1(y)}function b(y){if(y===M.greaterThan)return H.consume(y),j1;if(y===M.dash&&w===V1.htmlComment)return H.consume(y),b;return g1(y)}function j1(y){if(y===M.eof||C1(y))return H.exit(G.htmlFlowData),T1(y);return H.consume(y),j1}function T1(y){return H.exit(G.htmlFlow),Q(y)}}function Sm(H,Q,Y){let J=this;return w;function w(F){if(C1(F))return H.enter(G.lineEnding),H.consume(F),H.exit(G.lineEnding),U;return Y(F)}function U(F){return J.parser.lazy[J.now().line]?Y(F):Q(F)}}function Tm(H,Q,Y){return J;function J(w){return I(C1(w),"expected a line ending"),H.enter(G.lineEnding),H.consume(w),H.exit(G.lineEnding),H.attempt(V6,Q,Y)}}var fF,Em,Im;var z$=l(()=>{q0();D0();V$();t1();NY();fF={concrete:!0,name:"htmlFlow",resolveTo:ym,tokenize:vm},Em={partial:!0,tokenize:Tm},Im={partial:!0,tokenize:Sm}});function Am(H,Q,Y){let J=this,w,U,F;return B;function B(b){return I(b===M.lessThan,"expected `<`"),H.enter(G.htmlText),H.enter(G.htmlTextData),H.consume(b),V}function V(b){if(b===M.exclamationMark)return H.consume(b),N;if(b===M.slash)return H.consume(b),B1;if(b===M.questionMark)return H.consume(b),t;if(h5(b))return H.consume(b),e;return Y(b)}function N(b){if(b===M.dash)return H.consume(b),R;if(b===M.leftSquareBracket)return H.consume(b),U=0,_;if(h5(b))return H.consume(b),Z1;return Y(b)}function R(b){if(b===M.dash)return H.consume(b),$;return Y(b)}function O(b){if(b===M.eof)return Y(b);if(b===M.dash)return H.consume(b),C;if(C1(b))return F=O,Y1(b);return H.consume(b),O}function C(b){if(b===M.dash)return H.consume(b),$;return O(b)}function $(b){return b===M.greaterThan?w1(b):b===M.dash?C(b):O(b)}function _(b){let j1=V1.cdataOpeningString;if(b===j1.charCodeAt(U++))return H.consume(b),U===j1.length?v:_;return Y(b)}function v(b){if(b===M.eof)return Y(b);if(b===M.rightSquareBracket)return H.consume(b),p;if(C1(b))return F=v,Y1(b);return H.consume(b),v}function p(b){if(b===M.rightSquareBracket)return H.consume(b),m;return v(b)}function m(b){if(b===M.greaterThan)return w1(b);if(b===M.rightSquareBracket)return H.consume(b),m;return v(b)}function Z1(b){if(b===M.eof||b===M.greaterThan)return w1(b);if(C1(b))return F=Z1,Y1(b);return H.consume(b),Z1}function t(b){if(b===M.eof)return Y(b);if(b===M.questionMark)return H.consume(b),U1;if(C1(b))return F=t,Y1(b);return H.consume(b),t}function U1(b){return b===M.greaterThan?w1(b):t(b)}function B1(b){if(h5(b))return H.consume(b),c;return Y(b)}function c(b){if(b===M.dash||W5(b))return H.consume(b),c;return b1(b)}function b1(b){if(C1(b))return F=b1,Y1(b);if(a1(b))return H.consume(b),b1;return w1(b)}function e(b){if(b===M.dash||W5(b))return H.consume(b),e;if(b===M.slash||b===M.greaterThan||P0(b))return $1(b);return Y(b)}function $1(b){if(b===M.slash)return H.consume(b),w1;if(b===M.colon||b===M.underscore||h5(b))return H.consume(b),k;if(C1(b))return F=$1,Y1(b);if(a1(b))return H.consume(b),$1;return w1(b)}function k(b){if(b===M.dash||b===M.dot||b===M.colon||b===M.underscore||W5(b))return H.consume(b),k;return k1(b)}function k1(b){if(b===M.equalsTo)return H.consume(b),g1;if(C1(b))return F=k1,Y1(b);if(a1(b))return H.consume(b),k1;return $1(b)}function g1(b){if(b===M.eof||b===M.lessThan||b===M.equalsTo||b===M.greaterThan||b===M.graveAccent)return Y(b);if(b===M.quotationMark||b===M.apostrophe)return H.consume(b),w=b,L1;if(C1(b))return F=g1,Y1(b);if(a1(b))return H.consume(b),g1;return H.consume(b),h1}function L1(b){if(b===w)return H.consume(b),w=void 0,Q1;if(b===M.eof)return Y(b);if(C1(b))return F=L1,Y1(b);return H.consume(b),L1}function h1(b){if(b===M.eof||b===M.quotationMark||b===M.apostrophe||b===M.lessThan||b===M.equalsTo||b===M.graveAccent)return Y(b);if(b===M.slash||b===M.greaterThan||P0(b))return $1(b);return H.consume(b),h1}function Q1(b){if(b===M.slash||b===M.greaterThan||P0(b))return $1(b);return Y(b)}function w1(b){if(b===M.greaterThan)return H.consume(b),H.exit(G.htmlTextData),H.exit(G.htmlText),Q;return Y(b)}function Y1(b){return I(F,"expected return state"),I(C1(b),"expected eol"),H.exit(G.htmlTextData),H.enter(G.lineEnding),H.consume(b),H.exit(G.lineEnding),I1}function I1(b){return I(J.parser.constructs.disable.null,"expected `disable.null` to be populated"),a1(b)?c1(H,y1,G.linePrefix,J.parser.constructs.disable.null.includes("codeIndented")?void 0:V1.tabSize)(b):y1(b)}function y1(b){return H.enter(G.htmlTextData),F(b)}}var lF;var j$=l(()=>{q0();z5();D0();t1();lF={name:"htmlText",tokenize:Am}});function fm(H){let Q=-1,Y=[];while(++Q<H.length){let J=H[Q][1];if(Y.push(H[Q]),J.type===G.labelImage||J.type===G.labelLink||J.type===G.labelEnd){let w=J.type===G.labelImage?4:2;J.type=G.data,Q+=w}}if(H.length!==Y.length)V5(H,0,H.length,Y);return H}function lm(H,Q){let Y=H.length,J=0,w,U,F,B;while(Y--)if(w=H[Y][1],U){if(w.type===G.link||w.type===G.labelLink&&w._inactive)break;if(H[Y][0]==="enter"&&w.type===G.labelLink)w._inactive=!0}else if(F){if(H[Y][0]==="enter"&&(w.type===G.labelImage||w.type===G.labelLink)&&!w._balanced){if(U=Y,w.type!==G.labelLink){J=2;break}}}else if(w.type===G.labelEnd)F=Y;I(U!==void 0,"`open` is supposed to be found"),I(F!==void 0,"`close` is supposed to be found");let V={type:H[U][1].type===G.labelLink?G.link:G.image,start:{...H[U][1].start},end:{...H[H.length-1][1].end}},N={type:G.label,start:{...H[U][1].start},end:{...H[F][1].end}},R={type:G.labelText,start:{...H[U+J+2][1].end},end:{...H[F-2][1].start}};return B=[["enter",V,Q],["enter",N,Q]],B=R2(B,H.slice(U+1,U+J+3)),B=R2(B,[["enter",R,Q]]),I(Q.parser.constructs.insideSpan.null,"expected `insideSpan.null` to be populated"),B=R2(B,H4(Q.parser.constructs.insideSpan.null,H.slice(U+J+4,F-3),Q)),B=R2(B,[["exit",R,Q],H[F-2],H[F-1],["exit",N,Q]]),B=R2(B,H.slice(F+1)),B=R2(B,[["exit",V,Q]]),V5(H,U,H.length,B),H}function pm(H,Q,Y){let J=this,w=J.events.length,U,F;while(w--)if((J.events[w][1].type===G.labelImage||J.events[w][1].type===G.labelLink)&&!J.events[w][1]._balanced){U=J.events[w][1];break}return B;function B(C){if(I(C===M.rightSquareBracket,"expected `]`"),!U)return Y(C);if(U._inactive)return O(C);return F=J.parser.defined.includes(Z2(J.sliceSerialize({start:U.end,end:J.now()}))),H.enter(G.labelEnd),H.enter(G.labelMarker),H.consume(C),H.exit(G.labelMarker),H.exit(G.labelEnd),V}function V(C){if(C===M.leftParenthesis)return H.attempt(mm,R,F?R:O)(C);if(C===M.leftSquareBracket)return H.attempt(um,R,F?N:O)(C);return F?R(C):O(C)}function N(C){return H.attempt(km,R,O)(C)}function R(C){return Q(C)}function O(C){return U._balanced=!0,Y(C)}}function rm(H,Q,Y){return J;function J(O){return I(O===M.leftParenthesis,"expected left paren"),H.enter(G.resource),H.enter(G.resourceMarker),H.consume(O),H.exit(G.resourceMarker),w}function w(O){return P0(O)?J7(H,U)(O):U(O)}function U(O){if(O===M.rightParenthesis)return R(O);return GY(H,F,B,G.resourceDestination,G.resourceDestinationLiteral,G.resourceDestinationLiteralMarker,G.resourceDestinationRaw,G.resourceDestinationString,V1.linkResourceDestinationBalanceMax)(O)}function F(O){return P0(O)?J7(H,V)(O):R(O)}function B(O){return Y(O)}function V(O){if(O===M.quotationMark||O===M.apostrophe||O===M.leftParenthesis)return hY(H,N,Y,G.resourceTitle,G.resourceTitleMarker,G.resourceTitleString)(O);return R(O)}function N(O){return P0(O)?J7(H,R)(O):R(O)}function R(O){if(O===M.rightParenthesis)return H.enter(G.resourceMarker),H.consume(O),H.exit(G.resourceMarker),H.exit(G.resource),Q;return Y(O)}}function im(H,Q,Y){let J=this;return w;function w(B){return I(B===M.leftSquareBracket,"expected left bracket"),DY.call(J,H,U,F,G.reference,G.referenceMarker,G.referenceString)(B)}function U(B){return J.parser.defined.includes(Z2(J.sliceSerialize(J.events[J.events.length-1][1]).slice(1,-1)))?Q(B):Y(B)}function F(B){return Y(B)}}function dm(H,Q,Y){return J;function J(U){return I(U===M.leftSquareBracket,"expected left bracket"),H.enter(G.reference),H.enter(G.referenceMarker),H.consume(U),H.exit(G.referenceMarker),w}function w(U){if(U===M.rightSquareBracket)return H.enter(G.referenceMarker),H.consume(U),H.exit(G.referenceMarker),H.exit(G.reference),Q;return Y(U)}}var K7,mm,um,km;var _Y=l(()=>{q0();yF();vF();SF();TF();D0();t6();A8();t1();K7={name:"labelEnd",resolveAll:fm,resolveTo:lm,tokenize:pm},mm={tokenize:rm},um={tokenize:im},km={tokenize:dm}});function am(H,Q,Y){let J=this;return w;function w(B){return I(B===M.exclamationMark,"expected `!`"),H.enter(G.labelImage),H.enter(G.labelImageMarker),H.consume(B),H.exit(G.labelImageMarker),U}function U(B){if(B===M.leftSquareBracket)return H.enter(G.labelMarker),H.consume(B),H.exit(G.labelMarker),H.exit(G.labelImage),F;return Y(B)}function F(B){return B===M.caret&&"_hiddenFootnoteSupport"in J.parser.constructs?Y(B):Q(B)}}var pF;var R$=l(()=>{q0();t1();_Y();pF={name:"labelStartImage",resolveAll:K7.resolveAll,tokenize:am}});function cm(H,Q,Y){let J=this;return w;function w(F){return I(F===M.leftSquareBracket,"expected `[`"),H.enter(G.labelLink),H.enter(G.labelMarker),H.consume(F),H.exit(G.labelMarker),H.exit(G.labelLink),U}function U(F){return F===M.caret&&"_hiddenFootnoteSupport"in J.parser.constructs?Y(F):Q(F)}}var rF;var O$=l(()=>{q0();t1();_Y();rF={name:"labelStartLink",resolveAll:K7.resolveAll,tokenize:cm}});function sm(H,Q){return Y;function Y(J){return I(C1(J),"expected eol"),H.enter(G.lineEnding),H.consume(J),H.exit(G.lineEnding),c1(H,Q,G.linePrefix)}}var JX;var N$=l(()=>{q0();z5();D0();t1();JX={name:"lineEnding",tokenize:sm}});function nm(H,Q,Y){let J=0,w;return U;function U(N){return H.enter(G.thematicBreak),F(N)}function F(N){return I(N===M.asterisk||N===M.dash||N===M.underscore,"expected `*`, `-`, or `_`"),w=N,B(N)}function B(N){if(N===w)return H.enter(G.thematicBreakSequence),V(N);if(J>=V1.thematicBreakMarkerCountMin&&(N===M.eof||C1(N)))return H.exit(G.thematicBreak),Q(N);return Y(N)}function V(N){if(N===w)return H.consume(N),J++,V;return H.exit(G.thematicBreakSequence),a1(N)?c1(H,B,G.whitespace)(N):B(N)}}var w7;var iF=l(()=>{q0();z5();D0();t1();w7={name:"thematicBreak",tokenize:nm}});function em(H,Q,Y){let J=this,w=J.events[J.events.length-1],U=w&&w[1].type===G.linePrefix?w[2].sliceSerialize(w[1],!0).length:0,F=0;return B;function B($){I(J.containerState,"expected state");let _=J.containerState.type||($===M.asterisk||$===M.plusSign||$===M.dash?G.listUnordered:G.listOrdered);if(_===G.listUnordered?!J.containerState.marker||$===J.containerState.marker:ZX($)){if(!J.containerState.type)J.containerState.type=_,H.enter(_,{_container:!0});if(_===G.listUnordered)return H.enter(G.listItemPrefix),$===M.asterisk||$===M.dash?H.check(w7,Y,N)($):N($);if(!J.interrupt||$===M.digit1)return H.enter(G.listItemPrefix),H.enter(G.listItemValue),V($)}return Y($)}function V($){if(I(J.containerState,"expected state"),ZX($)&&++F<V1.listItemValueSizeMax)return H.consume($),V;if((!J.interrupt||F<2)&&(J.containerState.marker?$===J.containerState.marker:$===M.rightParenthesis||$===M.dot))return H.exit(G.listItemValue),N($);return Y($)}function N($){return I(J.containerState,"expected state"),I($!==M.eof,"eof (`null`) is not a marker"),H.enter(G.listItemMarker),H.consume($),H.exit(G.listItemMarker),J.containerState.marker=J.containerState.marker||$,H.check(V6,J.interrupt?Y:R,H.attempt(om,C,O))}function R($){return I(J.containerState,"expected state"),J.containerState.initialBlankLine=!0,U++,C($)}function O($){if(a1($))return H.enter(G.listItemPrefixWhitespace),H.consume($),H.exit(G.listItemPrefixWhitespace),C;return Y($)}function C($){return I(J.containerState,"expected state"),J.containerState.size=U+J.sliceSerialize(H.exit(G.listItemPrefix),!0).length,Q($)}}function Hu(H,Q,Y){let J=this;return I(J.containerState,"expected state"),J.containerState._closeFlow=void 0,H.check(V6,w,U);function w(B){return I(J.containerState,"expected state"),I(typeof J.containerState.size==="number","expected size"),J.containerState.furtherBlankLines=J.containerState.furtherBlankLines||J.containerState.initialBlankLine,c1(H,Q,G.listItemIndent,J.containerState.size+1)(B)}function U(B){if(I(J.containerState,"expected state"),J.containerState.furtherBlankLines||!a1(B))return J.containerState.furtherBlankLines=void 0,J.containerState.initialBlankLine=void 0,F(B);return J.containerState.furtherBlankLines=void 0,J.containerState.initialBlankLine=void 0,H.attempt(tm,Q,F)(B)}function F(B){return I(J.containerState,"expected state"),J.containerState._closeFlow=!0,J.interrupt=void 0,I(J.parser.constructs.disable.null,"expected `disable.null` to be populated"),c1(H,H.attempt(X2,Q,Y),G.linePrefix,J.parser.constructs.disable.null.includes("codeIndented")?void 0:V1.tabSize)(B)}}function Zu(H,Q,Y){let J=this;return I(J.containerState,"expected state"),I(typeof J.containerState.size==="number","expected size"),c1(H,w,G.listItemIndent,J.containerState.size+1);function w(U){I(J.containerState,"expected state");let F=J.events[J.events.length-1];return F&&F[1].type===G.listItemIndent&&F[2].sliceSerialize(F[1],!0).length===J.containerState.size?Q(U):Y(U)}}function Xu(H){I(this.containerState,"expected state"),I(typeof this.containerState.type==="string","expected type"),H.exit(this.containerState.type)}function Qu(H,Q,Y){let J=this;return I(J.parser.constructs.disable.null,"expected `disable.null` to be populated"),c1(H,w,G.listItemPrefixWhitespace,J.parser.constructs.disable.null.includes("codeIndented")?void 0:V1.tabSize+1);function w(U){let F=J.events[J.events.length-1];return!a1(U)&&F&&F[1].type===G.listItemPrefixWhitespace?Q(U):Y(U)}}var X2,om,tm;var P$=l(()=>{q0();z5();D0();t1();NY();iF();X2={continuation:{tokenize:Hu},exit:Xu,name:"list",tokenize:em},om={partial:!0,tokenize:Qu},tm={partial:!0,tokenize:Zu}});function qu(H,Q){let Y=H.length,J,w,U;while(Y--)if(H[Y][0]==="enter"){if(H[Y][1].type===G.content){J=Y;break}if(H[Y][1].type===G.paragraph)w=Y}else{if(H[Y][1].type===G.content)H.splice(Y,1);if(!U&&H[Y][1].type===G.definition)U=Y}I(w!==void 0,"expected a `text` index to be found"),I(J!==void 0,"expected a `text` index to be found"),I(H[J][2]===Q,"enter context should be same"),I(H[H.length-1][2]===Q,"enter context should be same");let F={type:G.setextHeading,start:{...H[J][1].start},end:{...H[H.length-1][1].end}};if(H[w][1].type=G.setextHeadingText,U)H.splice(w,0,["enter",F,Q]),H.splice(U+1,0,["exit",H[J][1],Q]),H[J][1].end={...H[U][1].end};else H[J][1]=F;return H.push(["exit",F,Q]),H}function Yu(H,Q,Y){let J=this,w;return U;function U(N){let R=J.events.length,O;I(N===M.dash||N===M.equalsTo,"expected `=` or `-`");while(R--)if(J.events[R][1].type!==G.lineEnding&&J.events[R][1].type!==G.linePrefix&&J.events[R][1].type!==G.content){O=J.events[R][1].type===G.paragraph;break}if(!J.parser.lazy[J.now().line]&&(J.interrupt||O))return H.enter(G.setextHeadingLine),w=N,F(N);return Y(N)}function F(N){return H.enter(G.setextHeadingLineSequence),B(N)}function B(N){if(N===w)return H.consume(N),B;return H.exit(G.setextHeadingLineSequence),a1(N)?c1(H,V,G.lineSuffix)(N):V(N)}function V(N){if(N===M.eof||C1(N))return H.exit(G.setextHeadingLine),Q(N);return Y(N)}}var xY;var M$=l(()=>{q0();z5();D0();t1();xY={name:"setextUnderline",resolveTo:qu,tokenize:Yu}});var EY=l(()=>{ob();tb();NY();eb();H$();X$();q$();Y$();K$();W$();L$();F$();U$();z$();j$();_Y();R$();O$();N$();P$();M$();iF()});function dF(){return{document:{[M.leftSquareBracket]:{name:"gfmFootnoteDefinition",tokenize:Lu,continuation:{tokenize:Fu},exit:Uu}},text:{[M.leftSquareBracket]:{name:"gfmFootnoteCall",tokenize:Wu},[M.rightSquareBracket]:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:Ku,resolveTo:wu}}}}function Ku(H,Q,Y){let J=this,w=J.events.length,U=J.parser.gfmFootnotes||(J.parser.gfmFootnotes=[]),F;while(w--){let V=J.events[w][1];if(V.type===G.labelImage){F=V;break}if(V.type==="gfmFootnoteCall"||V.type===G.labelLink||V.type===G.label||V.type===G.image||V.type===G.link)break}return B;function B(V){if(I(V===M.rightSquareBracket,"expected `]`"),!F||!F._balanced)return Y(V);let N=Z2(J.sliceSerialize({start:F.end,end:J.now()}));if(N.codePointAt(0)!==M.caret||!U.includes(N.slice(1)))return Y(V);return H.enter("gfmFootnoteCallLabelMarker"),H.consume(V),H.exit("gfmFootnoteCallLabelMarker"),Q(V)}}function wu(H,Q){let Y=H.length,J;while(Y--)if(H[Y][1].type===G.labelImage&&H[Y][0]==="enter"){J=H[Y][1];break}I(J,"expected `labelStart` to resolve"),H[Y+1][1].type=G.data,H[Y+3][1].type="gfmFootnoteCallLabelMarker";let w={type:"gfmFootnoteCall",start:Object.assign({},H[Y+3][1].start),end:Object.assign({},H[H.length-1][1].end)},U={type:"gfmFootnoteCallMarker",start:Object.assign({},H[Y+3][1].end),end:Object.assign({},H[Y+3][1].end)};U.end.column++,U.end.offset++,U.end._bufferIndex++;let F={type:"gfmFootnoteCallString",start:Object.assign({},U.end),end:Object.assign({},H[H.length-1][1].start)},B={type:G.chunkString,contentType:"string",start:Object.assign({},F.start),end:Object.assign({},F.end)},V=[H[Y+1],H[Y+2],["enter",w,Q],H[Y+3],H[Y+4],["enter",U,Q],["exit",U,Q],["enter",F,Q],["enter",B,Q],["exit",B,Q],["exit",F,Q],H[H.length-2],H[H.length-1],["exit",w,Q]];return H.splice(Y,H.length-Y+1,...V),H}function Wu(H,Q,Y){let J=this,w=J.parser.gfmFootnotes||(J.parser.gfmFootnotes=[]),U=0,F;return B;function B(O){return I(O===M.leftSquareBracket,"expected `[`"),H.enter("gfmFootnoteCall"),H.enter("gfmFootnoteCallLabelMarker"),H.consume(O),H.exit("gfmFootnoteCallLabelMarker"),V}function V(O){if(O!==M.caret)return Y(O);return H.enter("gfmFootnoteCallMarker"),H.consume(O),H.exit("gfmFootnoteCallMarker"),H.enter("gfmFootnoteCallString"),H.enter("chunkString").contentType="string",N}function N(O){if(U>V1.linkReferenceSizeMax||O===M.rightSquareBracket&&!F||O===M.eof||O===M.leftSquareBracket||P0(O))return Y(O);if(O===M.rightSquareBracket){H.exit("chunkString");let C=H.exit("gfmFootnoteCallString");if(!w.includes(Z2(J.sliceSerialize(C))))return Y(O);return H.enter("gfmFootnoteCallLabelMarker"),H.consume(O),H.exit("gfmFootnoteCallLabelMarker"),H.exit("gfmFootnoteCall"),Q}if(!P0(O))F=!0;return U++,H.consume(O),O===M.backslash?R:N}function R(O){if(O===M.leftSquareBracket||O===M.backslash||O===M.rightSquareBracket)return H.consume(O),U++,N;return N(O)}}function Lu(H,Q,Y){let J=this,w=J.parser.gfmFootnotes||(J.parser.gfmFootnotes=[]),U,F=0,B;return V;function V(_){return I(_===M.leftSquareBracket,"expected `[`"),H.enter("gfmFootnoteDefinition")._container=!0,H.enter("gfmFootnoteDefinitionLabel"),H.enter("gfmFootnoteDefinitionLabelMarker"),H.consume(_),H.exit("gfmFootnoteDefinitionLabelMarker"),N}function N(_){if(_===M.caret)return H.enter("gfmFootnoteDefinitionMarker"),H.consume(_),H.exit("gfmFootnoteDefinitionMarker"),H.enter("gfmFootnoteDefinitionLabelString"),H.enter("chunkString").contentType="string",R;return Y(_)}function R(_){if(F>V1.linkReferenceSizeMax||_===M.rightSquareBracket&&!B||_===M.eof||_===M.leftSquareBracket||P0(_))return Y(_);if(_===M.rightSquareBracket){H.exit("chunkString");let v=H.exit("gfmFootnoteDefinitionLabelString");return U=Z2(J.sliceSerialize(v)),H.enter("gfmFootnoteDefinitionLabelMarker"),H.consume(_),H.exit("gfmFootnoteDefinitionLabelMarker"),H.exit("gfmFootnoteDefinitionLabel"),C}if(!P0(_))B=!0;return F++,H.consume(_),_===M.backslash?O:R}function O(_){if(_===M.leftSquareBracket||_===M.backslash||_===M.rightSquareBracket)return H.consume(_),F++,R;return R(_)}function C(_){if(_===M.colon){if(H.enter("definitionMarker"),H.consume(_),H.exit("definitionMarker"),!w.includes(U))w.push(U);return c1(H,$,"gfmFootnoteDefinitionWhitespace")}return Y(_)}function $(_){return Q(_)}}function Fu(H,Q,Y){return H.check(V6,Q,H.attempt(Ju,Q,Y))}function Uu(H){H.exit("gfmFootnoteDefinition")}function Bu(H,Q,Y){let J=this;return c1(H,w,"gfmFootnoteDefinitionIndent",V1.tabSize+1);function w(U){let F=J.events[J.events.length-1];return F&&F[1].type==="gfmFootnoteDefinitionIndent"&&F[2].sliceSerialize(F[1],!0).length===V1.tabSize?Q(U):Y(U)}}var Ju;var C$=l(()=>{q0();EY();z5();D0();A8();t1();Ju={tokenize:Bu,partial:!0}});var b$=l(()=>{C$()});function aF(H){let Y=(H||{}).singleTilde,J={name:"strikethrough",tokenize:U,resolveAll:w};if(Y===null||Y===void 0)Y=!0;return{text:{[M.tilde]:J},insideSpan:{null:[J]},attentionMarkers:{null:[M.tilde]}};function w(F,B){let V=-1;while(++V<F.length)if(F[V][0]==="enter"&&F[V][1].type==="strikethroughSequenceTemporary"&&F[V][1]._close){let N=V;while(N--)if(F[N][0]==="exit"&&F[N][1].type==="strikethroughSequenceTemporary"&&F[N][1]._open&&F[V][1].end.offset-F[V][1].start.offset===F[N][1].end.offset-F[N][1].start.offset){F[V][1].type="strikethroughSequence",F[N][1].type="strikethroughSequence";let R={type:"strikethrough",start:Object.assign({},F[N][1].start),end:Object.assign({},F[V][1].end)},O={type:"strikethroughText",start:Object.assign({},F[N][1].end),end:Object.assign({},F[V][1].start)},C=[["enter",R,B],["enter",F[N][1],B],["exit",F[N][1],B],["enter",O,B]],$=B.parser.constructs.insideSpan.null;if($)V5(C,C.length,0,H4($,F.slice(N+1,V),B));V5(C,C.length,0,[["exit",O,B],["enter",F[V][1],B],["exit",F[V][1],B],["exit",R,B]]),V5(F,N-1,V-N+3,C),V=N+C.length-2;break}}V=-1;while(++V<F.length)if(F[V][1].type==="strikethroughSequenceTemporary")F[V][1].type=G.data;return F}function U(F,B,V){let N=this.previous,R=this.events,O=0;return C;function C(_){if(I(_===M.tilde,"expected `~`"),N===M.tilde&&R[R.length-1][1].type!==G.characterEscape)return V(_);return F.enter("strikethroughSequenceTemporary"),$(_)}function $(_){let v=o6(N);if(_===M.tilde){if(O>1)return V(_);return F.consume(_),O++,$}if(O<2&&!Y)return V(_);let p=F.exit("strikethroughSequenceTemporary"),m=o6(_);return p._open=!m||m===V1.attentionSideAfter&&Boolean(v),p._close=!v||v===V1.attentionSideAfter&&Boolean(m),B(_)}}}var $$=l(()=>{q0();t6();zY();t1()});var g$=l(()=>{$$()});class cF{constructor(){this.map=[]}add(H,Q,Y){Vu(this,H,Q,Y)}consume(H){if(this.map.sort(function(w,U){return w[0]-U[0]}),this.map.length===0)return;let Q=this.map.length,Y=[];while(Q>0)Q-=1,Y.push(H.slice(this.map[Q][0]+this.map[Q][1]),this.map[Q][2]),H.length=this.map[Q][0];Y.push(H.slice()),H.length=0;let J=Y.pop();while(J){for(let w of J)H.push(w);J=Y.pop()}this.map.length=0}}function Vu(H,Q,Y,J){let w=0;if(Y===0&&J.length===0)return;while(w<H.map.length){if(H.map[w][0]===Q){H.map[w][1]+=Y,H.map[w][2].push(...J);return}w+=1}H.map.push([Q,Y,J])}function G$(H,Q){I(H[Q][1].type==="table","expected table");let Y=!1,J=[];while(Q<H.length){let w=H[Q];if(Y){if(w[0]==="enter"){if(w[1].type==="tableContent")J.push(H[Q+1][1].type==="tableDelimiterMarker"?"left":"none")}else if(w[1].type==="tableContent"){if(H[Q-1][1].type==="tableDelimiterMarker"){let U=J.length-1;J[U]=J[U]==="left"?"center":"right"}}else if(w[1].type==="tableDelimiterRow")break}else if(w[0]==="enter"&&w[1].type==="tableDelimiterRow")Y=!0;Q+=1}return J}var D$=l(()=>{q0()});function sF(){return{flow:{null:{name:"table",tokenize:zu,resolveAll:ju}}}}function zu(H,Q,Y){let J=this,w=0,U=0,F;return B;function B(k){let k1=J.events.length-1;while(k1>-1){let h1=J.events[k1][1].type;if(h1===G.lineEnding||h1===G.linePrefix)k1--;else break}let g1=k1>-1?J.events[k1][1].type:null,L1=g1==="tableHead"||g1==="tableRow"?c:V;if(L1===c&&J.parser.lazy[J.now().line])return Y(k);return L1(k)}function V(k){return H.enter("tableHead"),H.enter("tableRow"),N(k)}function N(k){if(k===M.verticalBar)return R(k);return F=!0,U+=1,R(k)}function R(k){if(k===M.eof)return Y(k);if(C1(k)){if(U>1)return U=0,J.interrupt=!0,H.exit("tableRow"),H.enter(G.lineEnding),H.consume(k),H.exit(G.lineEnding),$;return Y(k)}if(a1(k))return c1(H,R,G.whitespace)(k);if(U+=1,F)F=!1,w+=1;if(k===M.verticalBar)return H.enter("tableCellDivider"),H.consume(k),H.exit("tableCellDivider"),F=!0,R;return H.enter(G.data),O(k)}function O(k){if(k===M.eof||k===M.verticalBar||P0(k))return H.exit(G.data),R(k);return H.consume(k),k===M.backslash?C:O}function C(k){if(k===M.backslash||k===M.verticalBar)return H.consume(k),O;return O(k)}function $(k){if(J.interrupt=!1,J.parser.lazy[J.now().line])return Y(k);if(H.enter("tableDelimiterRow"),F=!1,a1(k))return I(J.parser.constructs.disable.null,"expected `disabled.null`"),c1(H,_,G.linePrefix,J.parser.constructs.disable.null.includes("codeIndented")?void 0:V1.tabSize)(k);return _(k)}function _(k){if(k===M.dash||k===M.colon)return p(k);if(k===M.verticalBar)return F=!0,H.enter("tableCellDivider"),H.consume(k),H.exit("tableCellDivider"),v;return B1(k)}function v(k){if(a1(k))return c1(H,p,G.whitespace)(k);return p(k)}function p(k){if(k===M.colon)return U+=1,F=!0,H.enter("tableDelimiterMarker"),H.consume(k),H.exit("tableDelimiterMarker"),m;if(k===M.dash)return U+=1,m(k);if(k===M.eof||C1(k))return U1(k);return B1(k)}function m(k){if(k===M.dash)return H.enter("tableDelimiterFiller"),Z1(k);return B1(k)}function Z1(k){if(k===M.dash)return H.consume(k),Z1;if(k===M.colon)return F=!0,H.exit("tableDelimiterFiller"),H.enter("tableDelimiterMarker"),H.consume(k),H.exit("tableDelimiterMarker"),t;return H.exit("tableDelimiterFiller"),t(k)}function t(k){if(a1(k))return c1(H,U1,G.whitespace)(k);return U1(k)}function U1(k){if(k===M.verticalBar)return _(k);if(k===M.eof||C1(k)){if(!F||w!==U)return B1(k);return H.exit("tableDelimiterRow"),H.exit("tableHead"),Q(k)}return B1(k)}function B1(k){return Y(k)}function c(k){return H.enter("tableRow"),b1(k)}function b1(k){if(k===M.verticalBar)return H.enter("tableCellDivider"),H.consume(k),H.exit("tableCellDivider"),b1;if(k===M.eof||C1(k))return H.exit("tableRow"),Q(k);if(a1(k))return c1(H,b1,G.whitespace)(k);return H.enter(G.data),e(k)}function e(k){if(k===M.eof||k===M.verticalBar||P0(k))return H.exit(G.data),b1(k);return H.consume(k),k===M.backslash?$1:e}function $1(k){if(k===M.backslash||k===M.verticalBar)return H.consume(k),e;return e(k)}}function ju(H,Q){let Y=-1,J=!0,w=0,U=[0,0,0,0],F=[0,0,0,0],B=!1,V=0,N,R,O,C=new cF;while(++Y<H.length){let $=H[Y],_=$[1];if($[0]==="enter"){if(_.type==="tableHead"){if(B=!1,V!==0)I(N,"there should be a table opening"),h$(C,Q,V,N,R),R=void 0,V=0;N={type:"table",start:Object.assign({},_.start),end:Object.assign({},_.end)},C.add(Y,0,[["enter",N,Q]])}else if(_.type==="tableRow"||_.type==="tableDelimiterRow"){if(J=!0,O=void 0,U=[0,0,0,0],F=[0,Y+1,0,0],B)B=!1,R={type:"tableBody",start:Object.assign({},_.start),end:Object.assign({},_.end)},C.add(Y,0,[["enter",R,Q]]);w=_.type==="tableDelimiterRow"?2:R?3:1}else if(w&&(_.type===G.data||_.type==="tableDelimiterMarker"||_.type==="tableDelimiterFiller")){if(J=!1,F[2]===0){if(U[1]!==0)F[0]=F[1],O=IY(C,Q,U,w,void 0,O),U=[0,0,0,0];F[2]=Y}}else if(_.type==="tableCellDivider")if(J)J=!1;else{if(U[1]!==0)F[0]=F[1],O=IY(C,Q,U,w,void 0,O);U=F,F=[U[1],Y,0,0]}}else if(_.type==="tableHead")B=!0,V=Y;else if(_.type==="tableRow"||_.type==="tableDelimiterRow"){if(V=Y,U[1]!==0)F[0]=F[1],O=IY(C,Q,U,w,Y,O);else if(F[1]!==0)O=IY(C,Q,F,w,Y,O);w=0}else if(w&&(_.type===G.data||_.type==="tableDelimiterMarker"||_.type==="tableDelimiterFiller"))F[3]=Y}if(V!==0)I(N,"expected table opening"),h$(C,Q,V,N,R);C.consume(Q.events),Y=-1;while(++Y<Q.events.length){let $=Q.events[Y];if($[0]==="enter"&&$[1].type==="table")$[1]._align=G$(Q.events,Y)}return H}function IY(H,Q,Y,J,w,U){let F=J===1?"tableHeader":J===2?"tableDelimiter":"tableData",B="tableContent";if(Y[0]!==0)I(U,"expected previous cell enter"),U.end=Object.assign({},l8(Q.events,Y[0])),H.add(Y[0],0,[["exit",U,Q]]);let V=l8(Q.events,Y[1]);if(U={type:F,start:Object.assign({},V),end:Object.assign({},V)},H.add(Y[1],0,[["enter",U,Q]]),Y[2]!==0){let N=l8(Q.events,Y[2]),R=l8(Q.events,Y[3]),O={type:"tableContent",start:Object.assign({},N),end:Object.assign({},R)};if(H.add(Y[2],0,[["enter",O,Q]]),I(Y[3]!==0),J!==2){let C=Q.events[Y[2]],$=Q.events[Y[3]];if(C[1].end=Object.assign({},$[1].end),C[1].type=G.chunkText,C[1].contentType=V1.contentTypeText,Y[3]>Y[2]+1){let _=Y[2]+1,v=Y[3]-Y[2]-1;H.add(_,v,[])}}H.add(Y[3]+1,0,[["exit",O,Q]])}if(w!==void 0)U.end=Object.assign({},l8(Q.events,w)),H.add(w,0,[["exit",U,Q]]),U=void 0;return U}function h$(H,Q,Y,J,w){let U=[],F=l8(Q.events,Y);if(w)w.end=Object.assign({},F),U.push(["exit",w,Q]);J.end=Object.assign({},F),U.push(["exit",J,Q]),H.add(Y+1,0,U)}function l8(H,Q){let Y=H[Q],J=Y[0]==="enter"?"start":"end";return Y[1][J]}var _$=l(()=>{q0();z5();D0();t1();D$()});var x$=l(()=>{_$()});function nF(){return{text:{[M.leftSquareBracket]:Ru}}}function Ou(H,Q,Y){let J=this;return w;function w(V){if(I(V===M.leftSquareBracket,"expected `[`"),J.previous!==M.eof||!J._gfmTasklistFirstContentOfListItem)return Y(V);return H.enter("taskListCheck"),H.enter("taskListCheckMarker"),H.consume(V),H.exit("taskListCheckMarker"),U}function U(V){if(P0(V))return H.enter("taskListCheckValueUnchecked"),H.consume(V),H.exit("taskListCheckValueUnchecked"),F;if(V===M.uppercaseX||V===M.lowercaseX)return H.enter("taskListCheckValueChecked"),H.consume(V),H.exit("taskListCheckValueChecked"),F;return Y(V)}function F(V){if(V===M.rightSquareBracket)return H.enter("taskListCheckMarker"),H.consume(V),H.exit("taskListCheckMarker"),H.exit("taskListCheck"),B;return Y(V)}function B(V){if(C1(V))return Q(V);if(a1(V))return H.check({tokenize:Nu},Q,Y)(V);return Y(V)}}function Nu(H,Q,Y){return c1(H,J,G.whitespace);function J(w){return w===M.eof?Y(w):Q(w)}}var Ru;var E$=l(()=>{q0();z5();D0();t1();Ru={name:"tasklistCheck",tokenize:Ou}});var I$=l(()=>{E$()});function y$(H){return OY([GF(),dF(),aF(H),sF(),nF()])}var v$=l(()=>{$F();sb();b$();g$();x$();I$()});function yY(H){let Q=this,Y=H||Pu,J=Q.data(),w=J.micromarkExtensions||(J.micromarkExtensions=[]),U=J.fromMarkdownExtensions||(J.fromMarkdownExtensions=[]),F=J.toMarkdownExtensions||(J.toMarkdownExtensions=[]);w.push(y$(Y)),U.push(CF()),F.push(bF(Y))}var Pu;var S$=l(()=>{mb();v$();Pu={}});var T$=l(()=>{S$()});var Mu,Cu,bu,A$,$u,gu,m$=(H,Q,Y)=>(Q in H)?Mu(H,Q,{enumerable:!0,configurable:!0,writable:!0,value:Y}):H[Q]=Y,l$=(H,Q)=>{for(var Y in Q||(Q={}))$u.call(Q,Y)&&m$(H,Y,Q[Y]);if(A$)for(var Y of A$(Q))gu.call(Q,Y)&&m$(H,Y,Q[Y]);return H},p$=(H,Q)=>Cu(H,bu(Q)),N2=(H,Q)=>{let Y=!1,J=!1;for(let w=0;w<Q;w+=1){if(H[w]==="\\"&&w+1<H.length&&H[w+1]==="`"){w+=1;continue}if(H.substring(w,w+3)==="```"){J=!J,w+=2;continue}!J&&H[w]==="`"&&(Y=!Y)}return Y||J},Gu=(H,Q)=>{let Y=H.substring(Q,Q+3)==="```",J=Q>0&&H.substring(Q-1,Q+2)==="```",w=Q>1&&H.substring(Q-2,Q+1)==="```";return Y||J||w},Du=(H)=>{let Q=0;for(let Y=0;Y<H.length;Y+=1){if(H[Y]==="\\"&&Y+1<H.length&&H[Y+1]==="`"){Y+=1;continue}H[Y]==="`"&&!Gu(H,Y)&&(Q+=1)}return Q},Z4=(H,Q)=>{let Y=!1,J=!1,w=-1;for(let U=0;U<H.length;U+=1){if(H[U]==="\\"&&U+1<H.length&&H[U+1]==="`"){U+=1;continue}if(H.substring(U,U+3)==="```"){J=!J,U+=2;continue}if(!J&&H[U]==="`")if(Y){if(w<Q&&Q<U)return!0;Y=!1,w=-1}else Y=!0,w=U}return!1},hu,_u=(H)=>!H||typeof H!="string"||!H.includes(">")?H:H.replace(hu,(Q,Y,J,w)=>N2(H,w)?Q:`${Y}\\>${J}`),xu,Eu,Iu,yu,vu,Su,Tu,W7,r$,Au,mu,uu,ku,fu,u$,X4=(H)=>{if(!H)return!1;let Q=H.charCodeAt(0);return Q>=48&&Q<=57||Q>=65&&Q<=90||Q>=97&&Q<=122||Q===95?!0:Au.test(H)},lu=(H,Q)=>{let Y=1;for(let J=Q-1;J>=0;J-=1)if(H[J]==="]")Y+=1;else if(H[J]==="["&&(Y-=1,Y===0))return J;return-1},i$=(H,Q)=>{let Y=1;for(let J=Q+1;J<H.length;J+=1)if(H[J]==="[")Y+=1;else if(H[J]==="]"&&(Y-=1,Y===0))return J;return-1},vY=(H,Q)=>{let Y=!1,J=!1;for(let w=0;w<H.length&&w<Q;w+=1){if(H[w]==="\\"&&H[w+1]==="$"){w+=1;continue}H[w]==="$"&&(H[w+1]==="$"?(J=!J,w+=1,Y=!1):J||(Y=!Y))}return Y||J},pu=(H,Q)=>{for(let Y=Q;Y<H.length;Y+=1){if(H[Y]===")")return!0;if(H[Y]===`
|
|
247
|
+
`)return!1}return!1},d$=(H,Q)=>{for(let Y=Q-1;Y>=0;Y-=1){if(H[Y]===")")return!1;if(H[Y]==="(")return Y>0&&H[Y-1]==="]"?pu(H,Q):!1;if(H[Y]===`
|
|
248
|
+
`)return!1}return!1},ru=(H,Q)=>{for(let Y=Q-1;Y>=0;Y-=1){if(H[Y]===">")return!1;if(H[Y]==="<"){let J=Y+1<H.length?H[Y+1]:"";return J>="a"&&J<="z"||J>="A"&&J<="Z"||J==="/"}if(H[Y]===`
|
|
249
|
+
`)return!1}return!1},tF=(H,Q,Y)=>{let J=0;for(let V=Q-1;V>=0;V-=1)if(H[V]===`
|
|
250
|
+
`){J=V+1;break}let w=H.length;for(let V=Q;V<H.length;V+=1)if(H[V]===`
|
|
251
|
+
`){w=V;break}let U=H.substring(J,w),F=0,B=!1;for(let V of U)if(V===Y)F+=1;else if(V!==" "&&V!=="\t"){B=!0;break}return F>=3&&!B},iu=(H,Q,Y,J)=>Y==="\\"||H.includes("$")&&vY(H,Q)?!0:Y!=="*"&&J==="*"?(Q<H.length-2?H[Q+2]:"")!=="*":!!(Y==="*"||Y&&J&&X4(Y)&&X4(J)||(!Y||Y===" "||Y==="\t"||Y===`
|
|
252
|
+
`)&&(!J||J===" "||J==="\t"||J===`
|
|
253
|
+
`)),a$=(H)=>{let Q=0,Y=!1,J=H.length;for(let w=0;w<J;w+=1){if(H[w]==="`"&&w+2<J&&H[w+1]==="`"&&H[w+2]==="`"){Y=!Y,w+=2;continue}if(Y||H[w]!=="*")continue;let U=w>0?H[w-1]:"",F=w<J-1?H[w+1]:"";iu(H,w,U,F)||(Q+=1)}return Q},du=(H,Q,Y,J)=>!!(Y==="\\"||H.includes("$")&&vY(H,Q)||d$(H,Q)||ru(H,Q)||Y==="_"||J==="_"||Y&&J&&X4(Y)&&X4(J)),au=(H)=>{let Q=0,Y=!1,J=H.length;for(let w=0;w<J;w+=1){if(H[w]==="`"&&w+2<J&&H[w+1]==="`"&&H[w+2]==="`"){Y=!Y,w+=2;continue}if(Y||H[w]!=="_")continue;let U=w>0?H[w-1]:"",F=w<J-1?H[w+1]:"";du(H,w,U,F)||(Q+=1)}return Q},cu=(H)=>{let Q=0,Y=0,J=!1;for(let w=0;w<H.length;w+=1){if(H[w]==="`"&&w+2<H.length&&H[w+1]==="`"&&H[w+2]==="`"){Y>=3&&(Q+=Math.floor(Y/3)),Y=0,J=!J,w+=2;continue}J||(H[w]==="*"?Y+=1:(Y>=3&&(Q+=Math.floor(Y/3)),Y=0))}return Y>=3&&(Q+=Math.floor(Y/3)),Q},eF=(H)=>{let Q=0,Y=!1;for(let J=0;J<H.length;J+=1){if(H[J]==="`"&&J+2<H.length&&H[J+1]==="`"&&H[J+2]==="`"){Y=!Y,J+=2;continue}Y||H[J]==="*"&&J+1<H.length&&H[J+1]==="*"&&(Q+=1,J+=1)}return Q},k$=(H)=>{let Q=0,Y=!1;for(let J=0;J<H.length;J+=1){if(H[J]==="`"&&J+2<H.length&&H[J+1]==="`"&&H[J+2]==="`"){Y=!Y,J+=2;continue}Y||H[J]==="_"&&J+1<H.length&&H[J+1]==="_"&&(Q+=1,J+=1)}return Q},su=(H,Q,Y)=>{if(!Q||W7.test(Q))return!0;let J=H.substring(0,Y).lastIndexOf(`
|
|
254
|
+
`),w=J===-1?0:J+1,U=H.substring(w,Y);return r$.test(U)&&Q.includes(`
|
|
255
|
+
`)?!0:tF(H,Y,"*")},nu=(H)=>{let Q=H.match(xu);if(!Q)return H;let Y=Q[2],J=H.lastIndexOf(Q[1]);return N2(H,J)||Z4(H,J)||su(H,Y,J)?H:eF(H)%2===1?Y.endsWith("*")?`${H}*`:`${H}**`:H},ou=(H,Q,Y)=>{if(!Q||W7.test(Q))return!0;let J=H.substring(0,Y).lastIndexOf(`
|
|
256
|
+
`),w=J===-1?0:J+1,U=H.substring(w,Y);return r$.test(U)&&Q.includes(`
|
|
257
|
+
`)?!0:tF(H,Y,"_")},tu=(H)=>{let Q=H.match(Eu);if(!Q){let w=H.match(ku);if(w){let U=H.lastIndexOf(w[1]);if(!(N2(H,U)||Z4(H,U))&&k$(H)%2===1)return`${H}_`}return H}let Y=Q[2],J=H.lastIndexOf(Q[1]);return N2(H,J)||Z4(H,J)||ou(H,Y,J)?H:k$(H)%2===1?`${H}__`:H},eu=(H)=>{let Q=!1;for(let Y=0;Y<H.length;Y+=1){if(H[Y]==="`"&&Y+2<H.length&&H[Y+1]==="`"&&H[Y+2]==="`"){Q=!Q,Y+=2;continue}if(!Q&&H[Y]==="*"&&H[Y-1]!=="*"&&H[Y+1]!=="*"&&H[Y-1]!=="\\"&&!vY(H,Y)){let J=Y>0?H[Y-1]:"",w=Y<H.length-1?H[Y+1]:"";if((!J||J===" "||J==="\t"||J===`
|
|
258
|
+
`)&&(!w||w===" "||w==="\t"||w===`
|
|
259
|
+
`)||J&&w&&X4(J)&&X4(w))continue;return Y}}return-1},Hk=(H)=>{if(!H.match(yu))return H;let Q=eu(H);if(Q===-1||N2(H,Q)||Z4(H,Q))return H;let Y=H.substring(Q+1);return!Y||W7.test(Y)?H:a$(H)%2===1?`${H}*`:H},c$=(H)=>{let Q=!1;for(let Y=0;Y<H.length;Y+=1){if(H[Y]==="`"&&Y+2<H.length&&H[Y+1]==="`"&&H[Y+2]==="`"){Q=!Q,Y+=2;continue}if(!Q&&H[Y]==="_"&&H[Y-1]!=="_"&&H[Y+1]!=="_"&&H[Y-1]!=="\\"&&!vY(H,Y)&&!d$(H,Y)){let J=Y>0?H[Y-1]:"",w=Y<H.length-1?H[Y+1]:"";if(J&&w&&X4(J)&&X4(w))continue;return Y}}return-1},Zk=(H)=>{let Q=H.length;for(;Q>0&&H[Q-1]===`
|
|
260
|
+
`;)Q-=1;if(Q<H.length){let Y=H.slice(0,Q),J=H.slice(Q);return`${Y}_${J}`}return`${H}_`},Xk=(H)=>{if(!H.endsWith("**"))return null;let Q=H.slice(0,-2);if(eF(Q)%2!==1)return null;let Y=Q.indexOf("**"),J=c$(Q);return Y!==-1&&J!==-1&&Y<J?`${Q}_**`:null},Qk=(H)=>{if(!H.match(vu))return H;let Q=c$(H);if(Q===-1)return H;let Y=H.substring(Q+1);if(!Y||W7.test(Y)||N2(H,Q)||Z4(H,Q))return H;if(au(H)%2===1){let J=Xk(H);return J!==null?J:Zk(H)}return H},qk=(H)=>{let Q=eF(H),Y=a$(H);return Q%2===0&&Y%2===0},Yk=(H,Q,Y)=>!Q||W7.test(Q)||N2(H,Y)||Z4(H,Y)?!0:tF(H,Y,"*"),Jk=(H)=>{if(uu.test(H))return H;let Q=H.match(Iu);if(!Q)return H;let Y=Q[2],J=H.lastIndexOf(Q[1]);return Yk(H,Y,J)?H:cu(H)%2===1?qk(H)?H:`${H}***`:H},Kk,wk=(H)=>{let Q=H.match(Kk);return!Q||Q.index===void 0||N2(H,Q.index)?H:H.substring(0,Q.index).trimEnd()},Wk=(H)=>!H.match(mu)||H.includes(`
|
|
261
|
+
`)?null:H.endsWith("``")&&!H.endsWith("```")?`${H}\``:H,Lk=(H)=>(H.match(/```/g)||[]).length%2===1,Fk=(H)=>{let Q=Wk(H);if(Q!==null)return Q;let Y=H.match(Su);if(Y&&!Lk(H)){let J=Y[2];if(!J||W7.test(J))return H;if(Du(H)%2===1)return`${H}\``}return H},s$=(H,Q)=>Q>=2&&H.substring(Q-2,Q+1)==="```"||Q>=1&&H.substring(Q-1,Q+2)==="```"||Q<=H.length-3&&H.substring(Q,Q+3)==="```",Uk=(H)=>{let Q=0,Y=!1;for(let J=0;J<H.length-1;J+=1)H[J]==="`"&&!s$(H,J)&&(Y=!Y),!Y&&H[J]==="$"&&H[J+1]==="$"&&(Q+=1,J+=1);return Q},Bk=(H)=>{let Q=0,Y=!1;for(let J=0;J<H.length;J+=1){if(H[J]==="\\"){J+=1;continue}if(H[J]==="`"&&!s$(H,J)){Y=!Y;continue}!Y&&H[J]==="$"&&(J+1<H.length&&H[J+1]==="$"?J+=1:Q+=1)}return Q},Vk=(H)=>{if(H.endsWith("$")&&!H.endsWith("$$"))return`${H}$`;let Q=H.indexOf("$$");return Q!==-1&&H.indexOf(`
|
|
262
|
+
`,Q)!==-1&&!H.endsWith(`
|
|
263
|
+
`)?`${H}
|
|
264
|
+
$$`:`${H}$$`},zk=(H)=>Uk(H)%2===0?H:Vk(H),jk=(H)=>Bk(H)%2===1?`${H}$`:H,Rk=(H,Q,Y)=>{if(H.substring(Q+2).includes(")"))return null;let J=lu(H,Q);if(J===-1||N2(H,J))return null;let w=J>0&&H[J-1]==="!",U=w?J-1:J,F=H.substring(0,U);if(w)return F;let B=H.substring(J+1,Q);return Y==="text-only"?`${F}${B}`:`${F}[${B}](streamdown:incomplete-link)`},f$=(H,Q)=>{for(let Y=0;Y<Q;Y++)if(H[Y]==="["&&!N2(H,Y)){if(Y>0&&H[Y-1]==="!")continue;let J=i$(H,Y);if(J===-1)return Y;if(J+1<H.length&&H[J+1]==="("){let w=H.indexOf(")",J+2);w!==-1&&(Y=w)}}return Q},Ok=(H,Q,Y)=>{let J=Q>0&&H[Q-1]==="!",w=J?Q-1:Q;if(!H.substring(Q+1).includes("]")){let U=H.substring(0,w);if(J)return U;if(Y==="text-only"){let F=f$(H,Q);return H.substring(0,F)+H.substring(F+1)}return`${H}](streamdown:incomplete-link)`}if(i$(H,Q)===-1){let U=H.substring(0,w);if(J)return U;if(Y==="text-only"){let F=f$(H,Q);return H.substring(0,F)+H.substring(F+1)}return`${H}](streamdown:incomplete-link)`}return null},n$=(H,Q="protocol")=>{let Y=H.lastIndexOf("](");if(Y!==-1&&!N2(H,Y)){let J=Rk(H,Y,Q);if(J!==null)return J}for(let J=H.length-1;J>=0;J-=1)if(H[J]==="["&&!N2(H,J)){let w=Ok(H,J,Q);if(w!==null)return w}return H},Nk,Pk,Mk,Ck,bk=(H)=>{if(!H||typeof H!="string")return H;let Q=H.lastIndexOf(`
|
|
265
|
+
`);if(Q===-1)return H;let Y=H.substring(Q+1),J=H.substring(0,Q),w=Y.trim();if(Nk.test(w)&&!Y.match(Pk)){let U=J.split(`
|
|
266
|
+
`).at(-1);if(U&&U.trim().length>0)return`${H}`}if(Mk.test(w)&&!Y.match(Ck)){let U=J.split(`
|
|
267
|
+
`).at(-1);if(U&&U.trim().length>0)return`${H}`}return H},$k,gk=(H)=>!H||typeof H!="string"||!H.includes("~")?H:H.replace($k,(Q,Y)=>N2(H,Y)?Q:"\\~"),Gk=(H)=>{var Q,Y;let J=H.match(Tu);if(J){let w=J[2];if(!w||W7.test(w))return H;let U=H.lastIndexOf(J[1]);if(N2(H,U)||Z4(H,U))return H;if(((Q=H.match(u$))==null?void 0:Q.length)%2===1)return`${H}~~`}else{let w=H.match(fu);if(w){let U=H.lastIndexOf(w[0].slice(0,2));if(N2(H,U)||Z4(H,U))return H;if(((Y=H.match(u$))==null?void 0:Y.length)%2===1)return`${H}~`}}return H},oF=(H)=>H!==!1,Dk=(H)=>H===!0,O2,hk,_k=(H)=>{var Q;let Y=(Q=H==null?void 0:H.linkMode)!=null?Q:"protocol";return hk.filter(({handler:J,optionKey:w})=>J.name==="links"?oF(H==null?void 0:H.links)||oF(H==null?void 0:H.images):J.name==="inlineKatex"?Dk(H==null?void 0:H.inlineKatex):oF(H==null?void 0:H[w])).map(({handler:J,earlyReturn:w})=>J.name==="links"?{handler:p$(l$({},J),{handle:(U)=>n$(U,Y)}),earlyReturn:Y==="protocol"?w:void 0}:{handler:J,earlyReturn:w})},xk=(H,Q)=>{var Y;if(!H||typeof H!="string")return H;let J=H.endsWith(" ")&&!H.endsWith(" ")?H.slice(0,-1):H,w=_k(Q),U=((Y=Q==null?void 0:Q.handlers)!=null?Y:[]).map((B)=>{var V;return{handler:p$(l$({},B),{priority:(V=B.priority)!=null?V:O2.DEFAULT}),earlyReturn:void 0}}),F=[...w,...U].sort((B,V)=>{var N,R;return((N=B.handler.priority)!=null?N:0)-((R=V.handler.priority)!=null?R:0)});for(let{handler:B,earlyReturn:V}of F)if(J=B.handle(J),V!=null&&V(J))return J;return J},o$;var t$=l(()=>{Mu=Object.defineProperty,Cu=Object.defineProperties,bu=Object.getOwnPropertyDescriptors,A$=Object.getOwnPropertySymbols,$u=Object.prototype.hasOwnProperty,gu=Object.prototype.propertyIsEnumerable,hu=/^(\s*(?:[-*+]|\d+[.)]) +)>(=?\s*[$]?\d)/gm,xu=/(\*\*)([^*]*\*?)$/,Eu=/(__)([^_]*?)$/,Iu=/(\*\*\*)([^*]*?)$/,yu=/(\*)([^*]*?)$/,vu=/(_)([^_]*?)$/,Su=/(`)([^`]*?)$/,Tu=/(~~)([^~]*?)$/,W7=/^[\s_~*`]*$/,r$=/^[\s]*[-*+][\s]+$/,Au=/[\p{L}\p{N}_]/u,mu=/^```[^`\n]*```?$/,uu=/^\*{4,}$/,ku=/(__)([^_]+)_$/,fu=/(~~)([^~]+)~$/,u$=/~~/g,Kk=/<[a-zA-Z/][^>]*$/,Nk=/^-{1,2}$/,Pk=/^[\s]*-{1,2}[\s]+$/,Mk=/^={1,2}$/,Ck=/^[\s]*={1,2}[\s]+$/,$k=new RegExp("(?<=[\\p{L}\\p{N}_])~(?!~)(?=[\\p{L}\\p{N}_])","gu"),O2={SINGLE_TILDE:0,COMPARISON_OPERATORS:5,HTML_TAGS:10,SETEXT_HEADINGS:15,LINKS:20,BOLD_ITALIC:30,BOLD:35,ITALIC_DOUBLE_UNDERSCORE:40,ITALIC_SINGLE_ASTERISK:41,ITALIC_SINGLE_UNDERSCORE:42,INLINE_CODE:50,STRIKETHROUGH:60,KATEX:70,INLINE_KATEX:75,DEFAULT:100},hk=[{handler:{name:"singleTilde",handle:gk,priority:O2.SINGLE_TILDE},optionKey:"singleTilde"},{handler:{name:"comparisonOperators",handle:_u,priority:O2.COMPARISON_OPERATORS},optionKey:"comparisonOperators"},{handler:{name:"htmlTags",handle:wk,priority:O2.HTML_TAGS},optionKey:"htmlTags"},{handler:{name:"setextHeadings",handle:bk,priority:O2.SETEXT_HEADINGS},optionKey:"setextHeadings"},{handler:{name:"links",handle:n$,priority:O2.LINKS},optionKey:"links",earlyReturn:(H)=>H.endsWith("](streamdown:incomplete-link)")},{handler:{name:"boldItalic",handle:Jk,priority:O2.BOLD_ITALIC},optionKey:"boldItalic"},{handler:{name:"bold",handle:nu,priority:O2.BOLD},optionKey:"bold"},{handler:{name:"italicDoubleUnderscore",handle:tu,priority:O2.ITALIC_DOUBLE_UNDERSCORE},optionKey:"italic"},{handler:{name:"italicSingleAsterisk",handle:Hk,priority:O2.ITALIC_SINGLE_ASTERISK},optionKey:"italic"},{handler:{name:"italicSingleUnderscore",handle:Qk,priority:O2.ITALIC_SINGLE_UNDERSCORE},optionKey:"italic"},{handler:{name:"inlineCode",handle:Fk,priority:O2.INLINE_CODE},optionKey:"inlineCode"},{handler:{name:"strikethrough",handle:Gk,priority:O2.STRIKETHROUGH},optionKey:"strikethrough"},{handler:{name:"katex",handle:zk,priority:O2.KATEX},optionKey:"katex"},{handler:{name:"inlineKatex",handle:jk,priority:O2.INLINE_KATEX},optionKey:"inlineKatex"}],o$=xk});function e$(H){var Q,Y,J="";if(typeof H=="string"||typeof H=="number")J+=H;else if(typeof H=="object")if(Array.isArray(H)){var w=H.length;for(Q=0;Q<w;Q++)H[Q]&&(Y=e$(H[Q]))&&(J&&(J+=" "),J+=Y)}else for(Y in H)H[Y]&&(J&&(J+=" "),J+=Y);return J}function HU(){for(var H,Q,Y=0,J="",w=arguments.length;Y<w;Y++)(H=arguments[Y])&&(Q=e$(H))&&(J&&(J+=" "),J+=Q);return J}var Hg=()=>{};var Ek=(H,Q)=>{let Y=Array(H.length+Q.length);for(let J=0;J<H.length;J++)Y[J]=H[J];for(let J=0;J<Q.length;J++)Y[H.length+J]=Q[J];return Y},Ik=(H,Q)=>({classGroupId:H,validator:Q}),Jg=(H=new Map,Q=null,Y)=>({nextPart:H,validators:Q,classGroupId:Y}),Zg,yk=(H)=>{let Q=Sk(H),{conflictingClassGroups:Y,conflictingClassGroupModifiers:J}=H;return{getClassGroupId:(F)=>{if(F.startsWith("[")&&F.endsWith("]"))return vk(F);let B=F.split("-"),V=B[0]===""&&B.length>1?1:0;return Kg(B,V,Q)},getConflictingClassGroupIds:(F,B)=>{if(B){let V=J[F],N=Y[F];if(V){if(N)return Ek(N,V);return V}return N||Zg}return Y[F]||Zg}}},Kg=(H,Q,Y)=>{if(H.length-Q===0)return Y.classGroupId;let w=H[Q],U=Y.nextPart.get(w);if(U){let N=Kg(H,Q+1,U);if(N)return N}let F=Y.validators;if(F===null)return;let B=Q===0?H.join("-"):H.slice(Q).join("-"),V=F.length;for(let N=0;N<V;N++){let R=F[N];if(R.validator(B))return R.classGroupId}return},vk=(H)=>H.slice(1,-1).indexOf(":")===-1?void 0:(()=>{let Q=H.slice(1,-1),Y=Q.indexOf(":"),J=Q.slice(0,Y);return J?"arbitrary.."+J:void 0})(),Sk=(H)=>{let{theme:Q,classGroups:Y}=H;return Tk(Y,Q)},Tk=(H,Q)=>{let Y=Jg();for(let J in H){let w=H[J];XU(w,Y,J,Q)}return Y},XU=(H,Q,Y,J)=>{let w=H.length;for(let U=0;U<w;U++){let F=H[U];Ak(F,Q,Y,J)}},Ak=(H,Q,Y,J)=>{if(typeof H==="string"){mk(H,Q,Y);return}if(typeof H==="function"){uk(H,Q,Y,J);return}kk(H,Q,Y,J)},mk=(H,Q,Y)=>{let J=H===""?Q:wg(Q,H);J.classGroupId=Y},uk=(H,Q,Y,J)=>{if(fk(H)){XU(H(J),Q,Y,J);return}if(Q.validators===null)Q.validators=[];Q.validators.push(Ik(Y,H))},kk=(H,Q,Y,J)=>{let w=Object.entries(H),U=w.length;for(let F=0;F<U;F++){let[B,V]=w[F];XU(V,wg(Q,B),Y,J)}},wg=(H,Q)=>{let Y=H,J=Q.split("-"),w=J.length;for(let U=0;U<w;U++){let F=J[U],B=Y.nextPart.get(F);if(!B)B=Jg(),Y.nextPart.set(F,B);Y=B}return Y},fk=(H)=>("isThemeGetter"in H)&&H.isThemeGetter===!0,lk=(H)=>{if(H<1)return{get:()=>{return},set:()=>{}};let Q=0,Y=Object.create(null),J=Object.create(null),w=(U,F)=>{if(Y[U]=F,Q++,Q>H)Q=0,J=Y,Y=Object.create(null)};return{get(U){let F=Y[U];if(F!==void 0)return F;if((F=J[U])!==void 0)return w(U,F),F},set(U,F){if(U in Y)Y[U]=F;else w(U,F)}}},pk,Xg=(H,Q,Y,J,w)=>({modifiers:H,hasImportantModifier:Q,baseClassName:Y,maybePostfixModifierPosition:J,isExternal:w}),rk=(H)=>{let{prefix:Q,experimentalParseClassName:Y}=H,J=(w)=>{let U=[],F=0,B=0,V=0,N,R=w.length;for(let v=0;v<R;v++){let p=w[v];if(F===0&&B===0){if(p===":"){U.push(w.slice(V,v)),V=v+1;continue}if(p==="/"){N=v;continue}}if(p==="[")F++;else if(p==="]")F--;else if(p==="(")B++;else if(p===")")B--}let O=U.length===0?w:w.slice(V),C=O,$=!1;if(O.endsWith("!"))C=O.slice(0,-1),$=!0;else if(O.startsWith("!"))C=O.slice(1),$=!0;let _=N&&N>V?N-V:void 0;return Xg(U,$,C,_)};if(Q){let w=Q+":",U=J;J=(F)=>F.startsWith(w)?U(F.slice(w.length)):Xg(pk,!1,F,void 0,!0)}if(Y){let w=J;J=(U)=>Y({className:U,parseClassName:w})}return J},ik=(H)=>{let Q=new Map;return H.orderSensitiveModifiers.forEach((Y,J)=>{Q.set(Y,1e6+J)}),(Y)=>{let J=[],w=[];for(let U=0;U<Y.length;U++){let F=Y[U],B=F[0]==="[",V=Q.has(F);if(B||V){if(w.length>0)w.sort(),J.push(...w),w=[];J.push(F)}else w.push(F)}if(w.length>0)w.sort(),J.push(...w);return J}},dk=(H)=>({cache:lk(H.cacheSize),parseClassName:rk(H),sortModifiers:ik(H),postfixLookupClassGroupIds:ak(H),...yk(H)}),ak=(H)=>{let Q=Object.create(null),Y=H.postfixLookupClassGroups;if(Y)for(let J=0;J<Y.length;J++)Q[Y[J]]=!0;return Q},ck,sk=(H,Q)=>{let{parseClassName:Y,getClassGroupId:J,getConflictingClassGroupIds:w,sortModifiers:U,postfixLookupClassGroupIds:F}=Q,B=[],V=H.trim().split(ck),N="";for(let R=V.length-1;R>=0;R-=1){let O=V[R],{isExternal:C,modifiers:$,hasImportantModifier:_,baseClassName:v,maybePostfixModifierPosition:p}=Y(O);if(C){N=O+(N.length>0?" "+N:N);continue}let m=!!p,Z1;if(m){let b1=v.substring(0,p);Z1=J(b1);let e=Z1&&F[Z1]?J(v):void 0;if(e&&e!==Z1)Z1=e,m=!1}else Z1=J(v);if(!Z1){if(!m){N=O+(N.length>0?" "+N:N);continue}if(Z1=J(v),!Z1){N=O+(N.length>0?" "+N:N);continue}m=!1}let t=$.length===0?"":$.length===1?$[0]:U($).join(":"),U1=_?t+"!":t,B1=U1+Z1;if(B.indexOf(B1)>-1)continue;B.push(B1);let c=w(Z1,m);for(let b1=0;b1<c.length;++b1){let e=c[b1];B.push(U1+e)}N=O+(N.length>0?" "+N:N)}return N},nk=(...H)=>{let Q=0,Y,J,w="";while(Q<H.length)if(Y=H[Q++]){if(J=Wg(Y))w&&(w+=" "),w+=J}return w},Wg=(H)=>{if(typeof H==="string")return H;let Q,Y="";for(let J=0;J<H.length;J++)if(H[J]){if(Q=Wg(H[J]))Y&&(Y+=" "),Y+=Q}return Y},ok=(H,...Q)=>{let Y,J,w,U,F=(V)=>{let N=Q.reduce((R,O)=>O(R),H());return Y=dk(N),J=Y.cache.get,w=Y.cache.set,U=B,B(V)},B=(V)=>{let N=J(V);if(N)return N;let R=sk(V,Y);return w(V,R),R};return U=F,(...V)=>U(nk(...V))},tk,_5=(H)=>{let Q=(Y)=>Y[H]||tk;return Q.isThemeGetter=!0,Q},Lg,Fg,ek,Hf,Zf,Xf,Qf,qf,Q4=(H)=>ek.test(H),O0=(H)=>!!H&&!Number.isNaN(Number(H)),z6=(H)=>!!H&&Number.isInteger(Number(H)),ZU=(H)=>H.endsWith("%")&&O0(H.slice(0,-1)),H9=(H)=>Hf.test(H),Ug=()=>!0,Yf=(H)=>Zf.test(H)&&!Xf.test(H),QU=()=>!1,Jf=(H)=>Qf.test(H),Kf=(H)=>qf.test(H),wf=(H)=>!A1(H)&&!u1(H),Wf=(H)=>H.startsWith("@container")&&(H[10]==="/"&&H[11]!==void 0||H[11]==="s"&&H[16]!==void 0&&H.startsWith("-size/",10)||H[11]==="n"&&H[18]!==void 0&&H.startsWith("-normal/",10)),Lf=(H)=>q4(H,zg,QU),A1=(H)=>Lg.test(H),L7=(H)=>q4(H,jg,Yf),Qg=(H)=>q4(H,Of,O0),Ff=(H)=>q4(H,Og,Ug),Uf=(H)=>q4(H,Rg,QU),qg=(H)=>q4(H,Bg,QU),Bf=(H)=>q4(H,Vg,Kf),SY=(H)=>q4(H,Ng,Jf),u1=(H)=>Fg.test(H),KX=(H)=>F7(H,jg),Vf=(H)=>F7(H,Rg),Yg=(H)=>F7(H,Bg),zf=(H)=>F7(H,zg),jf=(H)=>F7(H,Vg),TY=(H)=>F7(H,Ng,!0),Rf=(H)=>F7(H,Og,!0),q4=(H,Q,Y)=>{let J=Lg.exec(H);if(J){if(J[1])return Q(J[1]);return Y(J[2])}return!1},F7=(H,Q,Y=!1)=>{let J=Fg.exec(H);if(J){if(J[1])return Q(J[1]);return Y}return!1},Bg=(H)=>H==="position"||H==="percentage",Vg=(H)=>H==="image"||H==="url",zg=(H)=>H==="length"||H==="size"||H==="bg-size",jg=(H)=>H==="length",Of=(H)=>H==="number",Rg=(H)=>H==="family-name",Og=(H)=>H==="number"||H==="weight",Ng=(H)=>H==="shadow",Nf=()=>{let H=_5("color"),Q=_5("font"),Y=_5("text"),J=_5("font-weight"),w=_5("tracking"),U=_5("leading"),F=_5("breakpoint"),B=_5("container"),V=_5("spacing"),N=_5("radius"),R=_5("shadow"),O=_5("inset-shadow"),C=_5("text-shadow"),$=_5("drop-shadow"),_=_5("blur"),v=_5("perspective"),p=_5("aspect"),m=_5("ease"),Z1=_5("animate"),t=()=>["auto","avoid","all","avoid-page","page","left","right","column"],U1=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],B1=()=>[...U1(),u1,A1],c=()=>["auto","hidden","clip","visible","scroll"],b1=()=>["auto","contain","none"],e=()=>[u1,A1,V],$1=()=>[Q4,"full","auto",...e()],k=()=>[z6,"none","subgrid",u1,A1],k1=()=>["auto",{span:["full",z6,u1,A1]},z6,u1,A1],g1=()=>[z6,"auto",u1,A1],L1=()=>["auto","min","max","fr",u1,A1],h1=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Q1=()=>["start","end","center","stretch","center-safe","end-safe"],w1=()=>["auto",...e()],Y1=()=>[Q4,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...e()],I1=()=>[Q4,"screen","full","dvw","lvw","svw","min","max","fit",...e()],y1=()=>[Q4,"screen","full","lh","dvh","lvh","svh","min","max","fit",...e()],b=()=>[H,u1,A1],j1=()=>[...U1(),Yg,qg,{position:[u1,A1]}],T1=()=>["no-repeat",{repeat:["","x","y","space","round"]}],y=()=>["auto","cover","contain",zf,Lf,{size:[u1,A1]}],d1=()=>[ZU,KX,L7],o1=()=>["","none","full",N,u1,A1],m1=()=>["",O0,KX,L7],y0=()=>["solid","dashed","dotted","double"],Y0=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],w0=()=>[O0,ZU,Yg,qg],j5=()=>["","none",_,u1,A1],G1=()=>["none",O0,u1,A1],F5=()=>["none",O0,u1,A1],x5=()=>[O0,u1,A1],E5=()=>[Q4,"full",...e()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[H9],breakpoint:[H9],color:[Ug],container:[H9],"drop-shadow":[H9],ease:["in","out","in-out"],font:[wf],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[H9],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[H9],shadow:[H9],spacing:["px",O0],text:[H9],"text-shadow":[H9],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Q4,A1,u1,p]}],container:["container"],"container-type":[{"@container":["","normal","size",u1,A1]}],"container-named":[Wf],columns:[{columns:[O0,A1,u1,B]}],"break-after":[{"break-after":t()}],"break-before":[{"break-before":t()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:B1()}],overflow:[{overflow:c()}],"overflow-x":[{"overflow-x":c()}],"overflow-y":[{"overflow-y":c()}],overscroll:[{overscroll:b1()}],"overscroll-x":[{"overscroll-x":b1()}],"overscroll-y":[{"overscroll-y":b1()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:$1()}],"inset-x":[{"inset-x":$1()}],"inset-y":[{"inset-y":$1()}],start:[{"inset-s":$1(),start:$1()}],end:[{"inset-e":$1(),end:$1()}],"inset-bs":[{"inset-bs":$1()}],"inset-be":[{"inset-be":$1()}],top:[{top:$1()}],right:[{right:$1()}],bottom:[{bottom:$1()}],left:[{left:$1()}],visibility:["visible","invisible","collapse"],z:[{z:[z6,"auto",u1,A1]}],basis:[{basis:[Q4,"full","auto",B,...e()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[O0,Q4,"auto","initial","none",A1]}],grow:[{grow:["",O0,u1,A1]}],shrink:[{shrink:["",O0,u1,A1]}],order:[{order:[z6,"first","last","none",u1,A1]}],"grid-cols":[{"grid-cols":k()}],"col-start-end":[{col:k1()}],"col-start":[{"col-start":g1()}],"col-end":[{"col-end":g1()}],"grid-rows":[{"grid-rows":k()}],"row-start-end":[{row:k1()}],"row-start":[{"row-start":g1()}],"row-end":[{"row-end":g1()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":L1()}],"auto-rows":[{"auto-rows":L1()}],gap:[{gap:e()}],"gap-x":[{"gap-x":e()}],"gap-y":[{"gap-y":e()}],"justify-content":[{justify:[...h1(),"normal"]}],"justify-items":[{"justify-items":[...Q1(),"normal"]}],"justify-self":[{"justify-self":["auto",...Q1()]}],"align-content":[{content:["normal",...h1()]}],"align-items":[{items:[...Q1(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Q1(),{baseline:["","last"]}]}],"place-content":[{"place-content":h1()}],"place-items":[{"place-items":[...Q1(),"baseline"]}],"place-self":[{"place-self":["auto",...Q1()]}],p:[{p:e()}],px:[{px:e()}],py:[{py:e()}],ps:[{ps:e()}],pe:[{pe:e()}],pbs:[{pbs:e()}],pbe:[{pbe:e()}],pt:[{pt:e()}],pr:[{pr:e()}],pb:[{pb:e()}],pl:[{pl:e()}],m:[{m:w1()}],mx:[{mx:w1()}],my:[{my:w1()}],ms:[{ms:w1()}],me:[{me:w1()}],mbs:[{mbs:w1()}],mbe:[{mbe:w1()}],mt:[{mt:w1()}],mr:[{mr:w1()}],mb:[{mb:w1()}],ml:[{ml:w1()}],"space-x":[{"space-x":e()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":e()}],"space-y-reverse":["space-y-reverse"],size:[{size:Y1()}],"inline-size":[{inline:["auto",...I1()]}],"min-inline-size":[{"min-inline":["auto",...I1()]}],"max-inline-size":[{"max-inline":["none",...I1()]}],"block-size":[{block:["auto",...y1()]}],"min-block-size":[{"min-block":["auto",...y1()]}],"max-block-size":[{"max-block":["none",...y1()]}],w:[{w:[B,"screen",...Y1()]}],"min-w":[{"min-w":[B,"screen","none",...Y1()]}],"max-w":[{"max-w":[B,"screen","none","prose",{screen:[F]},...Y1()]}],h:[{h:["screen","lh",...Y1()]}],"min-h":[{"min-h":["screen","lh","none",...Y1()]}],"max-h":[{"max-h":["screen","lh",...Y1()]}],"font-size":[{text:["base",Y,KX,L7]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[J,Rf,Ff]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ZU,A1]}],"font-family":[{font:[Vf,Uf,Q]}],"font-features":[{"font-features":[A1]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[w,u1,A1]}],"line-clamp":[{"line-clamp":[O0,"none",u1,Qg]}],leading:[{leading:[U,...e()]}],"list-image":[{"list-image":["none",u1,A1]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",u1,A1]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:b()}],"text-color":[{text:b()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...y0(),"wavy"]}],"text-decoration-thickness":[{decoration:[O0,"from-font","auto",u1,L7]}],"text-decoration-color":[{decoration:b()}],"underline-offset":[{"underline-offset":[O0,"auto",u1,A1]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:e()}],"tab-size":[{tab:[z6,u1,A1]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",u1,A1]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",u1,A1]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:j1()}],"bg-repeat":[{bg:T1()}],"bg-size":[{bg:y()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},z6,u1,A1],radial:["",u1,A1],conic:[z6,u1,A1]},jf,Bf]}],"bg-color":[{bg:b()}],"gradient-from-pos":[{from:d1()}],"gradient-via-pos":[{via:d1()}],"gradient-to-pos":[{to:d1()}],"gradient-from":[{from:b()}],"gradient-via":[{via:b()}],"gradient-to":[{to:b()}],rounded:[{rounded:o1()}],"rounded-s":[{"rounded-s":o1()}],"rounded-e":[{"rounded-e":o1()}],"rounded-t":[{"rounded-t":o1()}],"rounded-r":[{"rounded-r":o1()}],"rounded-b":[{"rounded-b":o1()}],"rounded-l":[{"rounded-l":o1()}],"rounded-ss":[{"rounded-ss":o1()}],"rounded-se":[{"rounded-se":o1()}],"rounded-ee":[{"rounded-ee":o1()}],"rounded-es":[{"rounded-es":o1()}],"rounded-tl":[{"rounded-tl":o1()}],"rounded-tr":[{"rounded-tr":o1()}],"rounded-br":[{"rounded-br":o1()}],"rounded-bl":[{"rounded-bl":o1()}],"border-w":[{border:m1()}],"border-w-x":[{"border-x":m1()}],"border-w-y":[{"border-y":m1()}],"border-w-s":[{"border-s":m1()}],"border-w-e":[{"border-e":m1()}],"border-w-bs":[{"border-bs":m1()}],"border-w-be":[{"border-be":m1()}],"border-w-t":[{"border-t":m1()}],"border-w-r":[{"border-r":m1()}],"border-w-b":[{"border-b":m1()}],"border-w-l":[{"border-l":m1()}],"divide-x":[{"divide-x":m1()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":m1()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...y0(),"hidden","none"]}],"divide-style":[{divide:[...y0(),"hidden","none"]}],"border-color":[{border:b()}],"border-color-x":[{"border-x":b()}],"border-color-y":[{"border-y":b()}],"border-color-s":[{"border-s":b()}],"border-color-e":[{"border-e":b()}],"border-color-bs":[{"border-bs":b()}],"border-color-be":[{"border-be":b()}],"border-color-t":[{"border-t":b()}],"border-color-r":[{"border-r":b()}],"border-color-b":[{"border-b":b()}],"border-color-l":[{"border-l":b()}],"divide-color":[{divide:b()}],"outline-style":[{outline:[...y0(),"none","hidden"]}],"outline-offset":[{"outline-offset":[O0,u1,A1]}],"outline-w":[{outline:["",O0,KX,L7]}],"outline-color":[{outline:b()}],shadow:[{shadow:["","none",R,TY,SY]}],"shadow-color":[{shadow:b()}],"inset-shadow":[{"inset-shadow":["none",O,TY,SY]}],"inset-shadow-color":[{"inset-shadow":b()}],"ring-w":[{ring:m1()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:b()}],"ring-offset-w":[{"ring-offset":[O0,L7]}],"ring-offset-color":[{"ring-offset":b()}],"inset-ring-w":[{"inset-ring":m1()}],"inset-ring-color":[{"inset-ring":b()}],"text-shadow":[{"text-shadow":["none",C,TY,SY]}],"text-shadow-color":[{"text-shadow":b()}],opacity:[{opacity:[O0,u1,A1]}],"mix-blend":[{"mix-blend":[...Y0(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Y0()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[O0]}],"mask-image-linear-from-pos":[{"mask-linear-from":w0()}],"mask-image-linear-to-pos":[{"mask-linear-to":w0()}],"mask-image-linear-from-color":[{"mask-linear-from":b()}],"mask-image-linear-to-color":[{"mask-linear-to":b()}],"mask-image-t-from-pos":[{"mask-t-from":w0()}],"mask-image-t-to-pos":[{"mask-t-to":w0()}],"mask-image-t-from-color":[{"mask-t-from":b()}],"mask-image-t-to-color":[{"mask-t-to":b()}],"mask-image-r-from-pos":[{"mask-r-from":w0()}],"mask-image-r-to-pos":[{"mask-r-to":w0()}],"mask-image-r-from-color":[{"mask-r-from":b()}],"mask-image-r-to-color":[{"mask-r-to":b()}],"mask-image-b-from-pos":[{"mask-b-from":w0()}],"mask-image-b-to-pos":[{"mask-b-to":w0()}],"mask-image-b-from-color":[{"mask-b-from":b()}],"mask-image-b-to-color":[{"mask-b-to":b()}],"mask-image-l-from-pos":[{"mask-l-from":w0()}],"mask-image-l-to-pos":[{"mask-l-to":w0()}],"mask-image-l-from-color":[{"mask-l-from":b()}],"mask-image-l-to-color":[{"mask-l-to":b()}],"mask-image-x-from-pos":[{"mask-x-from":w0()}],"mask-image-x-to-pos":[{"mask-x-to":w0()}],"mask-image-x-from-color":[{"mask-x-from":b()}],"mask-image-x-to-color":[{"mask-x-to":b()}],"mask-image-y-from-pos":[{"mask-y-from":w0()}],"mask-image-y-to-pos":[{"mask-y-to":w0()}],"mask-image-y-from-color":[{"mask-y-from":b()}],"mask-image-y-to-color":[{"mask-y-to":b()}],"mask-image-radial":[{"mask-radial":[u1,A1]}],"mask-image-radial-from-pos":[{"mask-radial-from":w0()}],"mask-image-radial-to-pos":[{"mask-radial-to":w0()}],"mask-image-radial-from-color":[{"mask-radial-from":b()}],"mask-image-radial-to-color":[{"mask-radial-to":b()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":U1()}],"mask-image-conic-pos":[{"mask-conic":[O0]}],"mask-image-conic-from-pos":[{"mask-conic-from":w0()}],"mask-image-conic-to-pos":[{"mask-conic-to":w0()}],"mask-image-conic-from-color":[{"mask-conic-from":b()}],"mask-image-conic-to-color":[{"mask-conic-to":b()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:j1()}],"mask-repeat":[{mask:T1()}],"mask-size":[{mask:y()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",u1,A1]}],filter:[{filter:["","none",u1,A1]}],blur:[{blur:j5()}],brightness:[{brightness:[O0,u1,A1]}],contrast:[{contrast:[O0,u1,A1]}],"drop-shadow":[{"drop-shadow":["","none",$,TY,SY]}],"drop-shadow-color":[{"drop-shadow":b()}],grayscale:[{grayscale:["",O0,u1,A1]}],"hue-rotate":[{"hue-rotate":[O0,u1,A1]}],invert:[{invert:["",O0,u1,A1]}],saturate:[{saturate:[O0,u1,A1]}],sepia:[{sepia:["",O0,u1,A1]}],"backdrop-filter":[{"backdrop-filter":["","none",u1,A1]}],"backdrop-blur":[{"backdrop-blur":j5()}],"backdrop-brightness":[{"backdrop-brightness":[O0,u1,A1]}],"backdrop-contrast":[{"backdrop-contrast":[O0,u1,A1]}],"backdrop-grayscale":[{"backdrop-grayscale":["",O0,u1,A1]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[O0,u1,A1]}],"backdrop-invert":[{"backdrop-invert":["",O0,u1,A1]}],"backdrop-opacity":[{"backdrop-opacity":[O0,u1,A1]}],"backdrop-saturate":[{"backdrop-saturate":[O0,u1,A1]}],"backdrop-sepia":[{"backdrop-sepia":["",O0,u1,A1]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":e()}],"border-spacing-x":[{"border-spacing-x":e()}],"border-spacing-y":[{"border-spacing-y":e()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",u1,A1]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[O0,"initial",u1,A1]}],ease:[{ease:["linear","initial",m,u1,A1]}],delay:[{delay:[O0,u1,A1]}],animate:[{animate:["none",Z1,u1,A1]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[v,u1,A1]}],"perspective-origin":[{"perspective-origin":B1()}],rotate:[{rotate:G1()}],"rotate-x":[{"rotate-x":G1()}],"rotate-y":[{"rotate-y":G1()}],"rotate-z":[{"rotate-z":G1()}],scale:[{scale:F5()}],"scale-x":[{"scale-x":F5()}],"scale-y":[{"scale-y":F5()}],"scale-z":[{"scale-z":F5()}],"scale-3d":["scale-3d"],skew:[{skew:x5()}],"skew-x":[{"skew-x":x5()}],"skew-y":[{"skew-y":x5()}],transform:[{transform:[u1,A1,"","none","gpu","cpu"]}],"transform-origin":[{origin:B1()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:E5()}],"translate-x":[{"translate-x":E5()}],"translate-y":[{"translate-y":E5()}],"translate-z":[{"translate-z":E5()}],"translate-none":["translate-none"],zoom:[{zoom:[z6,u1,A1]}],accent:[{accent:b()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:b()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",u1,A1]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":b()}],"scrollbar-track-color":[{"scrollbar-track":b()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":e()}],"scroll-mx":[{"scroll-mx":e()}],"scroll-my":[{"scroll-my":e()}],"scroll-ms":[{"scroll-ms":e()}],"scroll-me":[{"scroll-me":e()}],"scroll-mbs":[{"scroll-mbs":e()}],"scroll-mbe":[{"scroll-mbe":e()}],"scroll-mt":[{"scroll-mt":e()}],"scroll-mr":[{"scroll-mr":e()}],"scroll-mb":[{"scroll-mb":e()}],"scroll-ml":[{"scroll-ml":e()}],"scroll-p":[{"scroll-p":e()}],"scroll-px":[{"scroll-px":e()}],"scroll-py":[{"scroll-py":e()}],"scroll-ps":[{"scroll-ps":e()}],"scroll-pe":[{"scroll-pe":e()}],"scroll-pbs":[{"scroll-pbs":e()}],"scroll-pbe":[{"scroll-pbe":e()}],"scroll-pt":[{"scroll-pt":e()}],"scroll-pr":[{"scroll-pr":e()}],"scroll-pb":[{"scroll-pb":e()}],"scroll-pl":[{"scroll-pl":e()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",u1,A1]}],fill:[{fill:["none",...b()]}],"stroke-w":[{stroke:[O0,KX,L7,Qg]}],stroke:[{stroke:["none",...b()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},qU;var Pg=l(()=>{Zg=[],pk=[],ck=/\s+/,tk=[],Lg=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Fg=/^\((?:(\w[\w-]*):)?(.+)\)$/i,ek=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Hf=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Zf=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Xf=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Qf=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,qf=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,qU=ok(Nf)});var YU=o5((Pf)=>{var U7=K5(r9());(function(){function H(b){if(b==null)return null;if(typeof b==="function")return b.$$typeof===k?null:b.displayName||b.name||null;if(typeof b==="string")return b;switch(b){case v:return"Fragment";case m:return"Profiler";case p:return"StrictMode";case B1:return"Suspense";case c:return"SuspenseList";case $1:return"Activity"}if(typeof b==="object")switch(typeof b.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),b.$$typeof){case _:return"Portal";case t:return b.displayName||"Context";case Z1:return(b._context.displayName||"Context")+".Consumer";case U1:var j1=b.render;return b=b.displayName,b||(b=j1.displayName||j1.name||"",b=b!==""?"ForwardRef("+b+")":"ForwardRef"),b;case b1:return j1=b.displayName||null,j1!==null?j1:H(b.type)||"Memo";case e:j1=b._payload,b=b._init;try{return H(b(j1))}catch(T1){}}return null}function Q(b){return""+b}function Y(b){try{Q(b);var j1=!1}catch(d1){j1=!0}if(j1){j1=console;var T1=j1.error,y=typeof Symbol==="function"&&Symbol.toStringTag&&b[Symbol.toStringTag]||b.constructor.name||"Object";return T1.call(j1,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",y),Q(b)}}function J(b){if(b===v)return"<>";if(typeof b==="object"&&b!==null&&b.$$typeof===e)return"<...>";try{var j1=H(b);return j1?"<"+j1+">":"<...>"}catch(T1){return"<...>"}}function w(){var b=k1.A;return b===null?null:b.getOwner()}function U(){return Error("react-stack-top-frame")}function F(b){if(g1.call(b,"key")){var j1=Object.getOwnPropertyDescriptor(b,"key").get;if(j1&&j1.isReactWarning)return!1}return b.key!==void 0}function B(b,j1){function T1(){Q1||(Q1=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",j1))}T1.isReactWarning=!0,Object.defineProperty(b,"key",{get:T1,configurable:!0})}function V(){var b=H(this.type);return w1[b]||(w1[b]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),b=this.props.ref,b!==void 0?b:null}function N(b,j1,T1,y,d1,o1){var m1=T1.ref;return b={$$typeof:$,type:b,key:j1,props:T1,_owner:y},(m1!==void 0?m1:null)!==null?Object.defineProperty(b,"ref",{enumerable:!1,get:V}):Object.defineProperty(b,"ref",{enumerable:!1,value:null}),b._store={},Object.defineProperty(b._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(b,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(b,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:d1}),Object.defineProperty(b,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:o1}),Object.freeze&&(Object.freeze(b.props),Object.freeze(b)),b}function R(b,j1,T1,y,d1,o1){var m1=j1.children;if(m1!==void 0)if(y)if(L1(m1)){for(y=0;y<m1.length;y++)O(m1[y]);Object.freeze&&Object.freeze(m1)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else O(m1);if(g1.call(j1,"key")){m1=H(b);var y0=Object.keys(j1).filter(function(w0){return w0!=="key"});y=0<y0.length?"{key: someKey, "+y0.join(": ..., ")+": ...}":"{key: someKey}",y1[m1+y]||(y0=0<y0.length?"{"+y0.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
268
|
+
let props = %s;
|
|
269
|
+
<%s {...props} />
|
|
270
|
+
React keys must be passed directly to JSX without using spread:
|
|
271
|
+
let props = %s;
|
|
272
|
+
<%s key={someKey} {...props} />`,y,m1,y0,m1),y1[m1+y]=!0)}if(m1=null,T1!==void 0&&(Y(T1),m1=""+T1),F(j1)&&(Y(j1.key),m1=""+j1.key),"key"in j1){T1={};for(var Y0 in j1)Y0!=="key"&&(T1[Y0]=j1[Y0])}else T1=j1;return m1&&B(T1,typeof b==="function"?b.displayName||b.name||"Unknown":b),N(b,m1,T1,w(),d1,o1)}function O(b){C(b)?b._store&&(b._store.validated=1):typeof b==="object"&&b!==null&&b.$$typeof===e&&(b._payload.status==="fulfilled"?C(b._payload.value)&&b._payload.value._store&&(b._payload.value._store.validated=1):b._store&&(b._store.validated=1))}function C(b){return typeof b==="object"&&b!==null&&b.$$typeof===$}var $=Symbol.for("react.transitional.element"),_=Symbol.for("react.portal"),v=Symbol.for("react.fragment"),p=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),Z1=Symbol.for("react.consumer"),t=Symbol.for("react.context"),U1=Symbol.for("react.forward_ref"),B1=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),b1=Symbol.for("react.memo"),e=Symbol.for("react.lazy"),$1=Symbol.for("react.activity"),k=Symbol.for("react.client.reference"),k1=U7.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,g1=Object.prototype.hasOwnProperty,L1=Array.isArray,h1=console.createTask?console.createTask:function(){return null};U7={react_stack_bottom_frame:function(b){return b()}};var Q1,w1={},Y1=U7.react_stack_bottom_frame.bind(U7,U)(),I1=h1(J(U)),y1={};Pf.Fragment=v,Pf.jsx=function(b,j1,T1){var y=1e4>k1.recentlyCreatedOwnerStacks++;return R(b,j1,T1,!1,y?Error("react-stack-top-frame"):Y1,y?h1(J(b)):I1)},Pf.jsxs=function(b,j1,T1){var y=1e4>k1.recentlyCreatedOwnerStacks++;return R(b,j1,T1,!0,y?Error("react-stack-top-frame"):Y1,y?h1(J(b)):I1)}})()});function AY(H,Q){return((Q||bf).jsx?Cf:Mf).test(H)}var Mf,Cf,bf;var Mg=l(()=>{Mf=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Cf=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,bf={}});var Cg=l(()=>{Mg()});function JU(H){return typeof H==="object"?H.type==="text"?bg(H.value):!1:bg(H)}function bg(H){return H.replace($f,"")===""}var $f;var $g=l(()=>{$f=/[ \t\n\f\r]/g});var gg=l(()=>{$g()});var Eg=o5((y31,xg)=>{var Gg=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,gf=/\n/g,Gf=/^\s*/,Df=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,hf=/^:\s*/,_f=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,xf=/^[;\s]*/,Ef=/^\s+|\s+$/g,If=`
|
|
273
|
+
`,Dg="/",hg="*",B7="",yf="comment",vf="declaration";function Sf(H,Q){if(typeof H!=="string")throw TypeError("First argument must be a string");if(!H)return[];Q=Q||{};var Y=1,J=1;function w(_){var v=_.match(gf);if(v)Y+=v.length;var p=_.lastIndexOf(If);J=~p?_.length-p:J+_.length}function U(){var _={line:Y,column:J};return function(v){return v.position=new F(_),N(),v}}function F(_){this.start=_,this.end={line:Y,column:J},this.source=Q.source}F.prototype.content=H;function B(_){var v=Error(Q.source+":"+Y+":"+J+": "+_);if(v.reason=_,v.filename=Q.source,v.line=Y,v.column=J,v.source=H,Q.silent);else throw v}function V(_){var v=_.exec(H);if(!v)return;var p=v[0];return w(p),H=H.slice(p.length),v}function N(){V(Gf)}function R(_){var v;_=_||[];while(v=O())if(v!==!1)_.push(v);return _}function O(){var _=U();if(Dg!=H.charAt(0)||hg!=H.charAt(1))return;var v=2;while(B7!=H.charAt(v)&&(hg!=H.charAt(v)||Dg!=H.charAt(v+1)))++v;if(v+=2,B7===H.charAt(v-1))return B("End of comment missing");var p=H.slice(2,v-2);return J+=2,w(p),H=H.slice(v),J+=2,_({type:yf,comment:p})}function C(){var _=U(),v=V(Df);if(!v)return;if(O(),!V(hf))return B("property missing ':'");var p=V(_f),m=_({type:vf,property:_g(v[0].replace(Gg,B7)),value:p?_g(p[0].replace(Gg,B7)):B7});return V(xf),m}function $(){var _=[];R(_);var v;while(v=C())if(v!==!1)_.push(v),R(_);return _}return N(),$()}function _g(H){return H?H.replace(Ef,B7):B7}xg.exports=Sf});var Ig=o5((wX)=>{var Tf=wX&&wX.__importDefault||function(H){return H&&H.__esModule?H:{default:H}};Object.defineProperty(wX,"__esModule",{value:!0});wX.default=mf;var Af=Tf(Eg());function mf(H,Q){let Y=null;if(!H||typeof H!=="string")return Y;let J=(0,Af.default)(H),w=typeof Q==="function";return J.forEach((U)=>{if(U.type!=="declaration")return;let{property:F,value:B}=U;if(w)Q(F,B,U);else if(B)Y=Y||{},Y[F]=B}),Y}});var Tg=o5((vg)=>{Object.defineProperty(vg,"__esModule",{value:!0});vg.camelCase=void 0;var uf=/^--[a-zA-Z0-9_-]+$/,kf=/-([a-z])/g,ff=/^[^-]+$/,lf=/^-(webkit|moz|ms|o|khtml)-/,pf=/^-(ms)-/,rf=function(H){return!H||ff.test(H)||uf.test(H)},df=function(H,Q){return Q.toUpperCase()},yg=function(H,Q){return"".concat(Q,"-")},af=function(H,Q){if(Q===void 0)Q={};if(rf(H))return H;if(H=H.toLowerCase(),Q.reactCompat)H=H.replace(pf,yg);else H=H.replace(lf,yg);return H.replace(kf,df)};vg.camelCase=af});var mg=o5((wU,Ag)=>{var cf=wU&&wU.__importDefault||function(H){return H&&H.__esModule?H:{default:H}},sf=cf(Ig()),nf=Tg();function KU(H,Q){var Y={};if(!H||typeof H!=="string")return Y;return(0,sf.default)(H,function(J,w){if(J&&w)Y[(0,nf.camelCase)(J,Q)]=w}),Y}KU.default=KU;Ag.exports=KU});function Y4(H){if(!H||typeof H!=="object")return"";if("position"in H||"type"in H)return ug(H.position);if("start"in H||"end"in H)return ug(H);if("line"in H||"column"in H)return WU(H);return""}function WU(H){return kg(H&&H.line)+":"+kg(H&&H.column)}function ug(H){return WU(H&&H.start)+"-"+WU(H&&H.end)}function kg(H){return H&&typeof H==="number"?H:1}var LU=()=>{};var $5;var fg=l(()=>{LU();$5=class $5 extends Error{constructor(H,Q,Y){super();if(typeof Q==="string")Y=Q,Q=void 0;let J="",w={},U=!1;if(Q)if("line"in Q&&"column"in Q)w={place:Q};else if("start"in Q&&"end"in Q)w={place:Q};else if("type"in Q)w={ancestors:[Q],place:Q.position};else w={...Q};if(typeof H==="string")J=H;else if(!w.cause&&H)U=!0,J=H.message,w.cause=H;if(!w.ruleId&&!w.source&&typeof Y==="string"){let B=Y.indexOf(":");if(B===-1)w.ruleId=Y;else w.source=Y.slice(0,B),w.ruleId=Y.slice(B+1)}if(!w.place&&w.ancestors&&w.ancestors){let B=w.ancestors[w.ancestors.length-1];if(B)w.place=B.position}let F=w.place&&"start"in w.place?w.place.start:w.place;this.ancestors=w.ancestors||void 0,this.cause=w.cause||void 0,this.column=F?F.column:void 0,this.fatal=void 0,this.file="",this.message=J,this.line=F?F.line:void 0,this.name=Y4(w.place)||"1:1",this.place=w.place||void 0,this.reason=this.message,this.ruleId=w.ruleId||void 0,this.source=w.source||void 0,this.stack=U&&w.cause&&typeof w.cause.stack==="string"?w.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}};$5.prototype.file="";$5.prototype.name="";$5.prototype.reason="";$5.prototype.message="";$5.prototype.stack="";$5.prototype.column=void 0;$5.prototype.line=void 0;$5.prototype.ancestors=void 0;$5.prototype.cause=void 0;$5.prototype.fatal=void 0;$5.prototype.place=void 0;$5.prototype.ruleId=void 0;$5.prototype.source=void 0});var FU=l(()=>{fg()});function BU(H,Q){if(!Q||Q.Fragment===void 0)throw TypeError("Expected `Fragment` in options");let Y=Q.filePath||void 0,J;if(Q.development){if(typeof Q.jsxDEV!=="function")throw TypeError("Expected `jsxDEV` in options when `development: true`");J=wl(Y,Q.jsxDEV)}else{if(typeof Q.jsx!=="function")throw TypeError("Expected `jsx` in production options");if(typeof Q.jsxs!=="function")throw TypeError("Expected `jsxs` in production options");J=Kl(Y,Q.jsx,Q.jsxs)}let w={Fragment:Q.Fragment,ancestors:[],components:Q.components||{},create:J,elementAttributeNameCase:Q.elementAttributeNameCase||"react",evaluater:Q.createEvaluater?Q.createEvaluater():void 0,filePath:Y,ignoreInvalidStyle:Q.ignoreInvalidStyle||!1,passKeys:Q.passKeys!==!1,passNode:Q.passNode||!1,schema:Q.space==="svg"?F3:s6,stylePropertyNameCase:Q.stylePropertyNameCase||"dom",tableCellAlignToStyle:Q.tableCellAlignToStyle!==!1},U=rg(w,H,void 0);if(U&&typeof U!=="string")return U;return w.create(H,w.Fragment,{children:U||void 0},void 0)}function rg(H,Q,Y){if(Q.type==="element")return Zl(H,Q,Y);if(Q.type==="mdxFlowExpression"||Q.type==="mdxTextExpression")return Xl(H,Q);if(Q.type==="mdxJsxFlowElement"||Q.type==="mdxJsxTextElement")return ql(H,Q,Y);if(Q.type==="mdxjsEsm")return Ql(H,Q);if(Q.type==="root")return Yl(H,Q,Y);if(Q.type==="text")return Jl(H,Q)}function Zl(H,Q,Y){let J=H.schema,w=J;if(Q.tagName.toLowerCase()==="svg"&&J.space==="html")w=F3,H.schema=w;H.ancestors.push(Q);let U=dg(H,Q.tagName,!1),F=Wl(H,Q),B=zU(H,Q);if(ef.has(Q.tagName))B=B.filter(function(V){return typeof V==="string"?!JU(V):!0});return ig(H,F,U,Q),VU(F,B),H.ancestors.pop(),H.schema=J,H.create(Q,U,F,Y)}function Xl(H,Q){if(Q.data&&Q.data.estree&&H.evaluater){let J=Q.data.estree.body[0];return I(J.type==="ExpressionStatement"),H.evaluater.evaluateExpression(J.expression)}WX(H,Q.position)}function Ql(H,Q){if(Q.data&&Q.data.estree&&H.evaluater)return H.evaluater.evaluateProgram(Q.data.estree);WX(H,Q.position)}function ql(H,Q,Y){let J=H.schema,w=J;if(Q.name==="svg"&&J.space==="html")w=F3,H.schema=w;H.ancestors.push(Q);let U=Q.name===null?H.Fragment:dg(H,Q.name,!0),F=Ll(H,Q),B=zU(H,Q);return ig(H,F,U,Q),VU(F,B),H.ancestors.pop(),H.schema=J,H.create(Q,U,F,Y)}function Yl(H,Q,Y){let J={};return VU(J,zU(H,Q)),H.create(Q,H.Fragment,J,Y)}function Jl(H,Q){return Q.value}function ig(H,Q,Y,J){if(typeof Y!=="string"&&Y!==H.Fragment&&H.passNode)Q.node=J}function VU(H,Q){if(Q.length>0){let Y=Q.length>1?Q:Q[0];if(Y)H.children=Y}}function Kl(H,Q,Y){return J;function J(w,U,F,B){let N=Array.isArray(F.children)?Y:Q;return B?N(U,F,B):N(U,F)}}function wl(H,Q){return Y;function Y(J,w,U,F){let B=Array.isArray(U.children),V=x2(J);return Q(w,U,F,B,{columnNumber:V?V.column-1:void 0,fileName:H,lineNumber:V?V.line:void 0},void 0)}}function Wl(H,Q){let Y={},J,w;for(w in Q.properties)if(w!=="children"&&UU.call(Q.properties,w)){let U=Fl(H,w,Q.properties[w]);if(U){let[F,B]=U;if(H.tableCellAlignToStyle&&F==="align"&&typeof B==="string"&&Hl.has(Q.tagName))J=B;else Y[F]=B}}if(J){let U=Y.style||(Y.style={});U[H.stylePropertyNameCase==="css"?"text-align":"textAlign"]=J}return Y}function Ll(H,Q){let Y={};for(let J of Q.attributes)if(J.type==="mdxJsxExpressionAttribute")if(J.data&&J.data.estree&&H.evaluater){let U=J.data.estree.body[0];I(U.type==="ExpressionStatement");let F=U.expression;I(F.type==="ObjectExpression");let B=F.properties[0];I(B.type==="SpreadElement"),Object.assign(Y,H.evaluater.evaluateExpression(B.argument))}else WX(H,Q.position);else{let w=J.name,U;if(J.value&&typeof J.value==="object")if(J.value.data&&J.value.data.estree&&H.evaluater){let B=J.value.data.estree.body[0];I(B.type==="ExpressionStatement"),U=H.evaluater.evaluateExpression(B.expression)}else WX(H,Q.position);else U=J.value===null?!0:J.value;Y[w]=U}return Y}function zU(H,Q){let Y=[],J=-1,w=H.passKeys?new Map:of;while(++J<Q.children.length){let U=Q.children[J],F;if(H.passKeys){let V=U.type==="element"?U.tagName:U.type==="mdxJsxFlowElement"||U.type==="mdxJsxTextElement"?U.name:void 0;if(V){let N=w.get(V)||0;F=V+"-"+N,w.set(V,N+1)}}let B=rg(H,U,F);if(B!==void 0)Y.push(B)}return Y}function Fl(H,Q,Y){let J=c6(H.schema,Q);if(Y===null||Y===void 0||typeof Y==="number"&&Number.isNaN(Y))return;if(Array.isArray(Y))Y=J.commaSeparated?dq(Y):aq(Y);if(J.property==="style"){let w=typeof Y==="object"?Y:Ul(H,String(Y));if(H.stylePropertyNameCase==="css")w=Bl(w);return["style",w]}return[H.elementAttributeNameCase==="react"&&J.space?LL[J.property]||J.property:J.attribute,Y]}function Ul(H,Q){try{return lg.default(Q,{reactCompat:!0})}catch(Y){if(H.ignoreInvalidStyle)return{};let J=Y,w=new $5("Cannot parse `style` attribute",{ancestors:H.ancestors,cause:J,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw w.file=H.filePath||void 0,w.url=pg+"#cannot-parse-style-attribute",w}}function dg(H,Q,Y){let J;if(!Y)J={type:"Literal",value:Q};else if(Q.includes(".")){let w=Q.split("."),U=-1,F;while(++U<w.length){let B=AY(w[U])?{type:"Identifier",name:w[U]}:{type:"Literal",value:w[U]};F=F?{type:"MemberExpression",object:F,property:B,computed:Boolean(U&&B.type==="Literal"),optional:!1}:B}I(F,"always a result"),J=F}else J=AY(Q)&&!/^[a-z]/.test(Q)?{type:"Identifier",name:Q}:{type:"Literal",value:Q};if(J.type==="Literal"){let w=J.value;return UU.call(H.components,w)?H.components[w]:w}if(H.evaluater)return H.evaluater.evaluateExpression(J);WX(H)}function WX(H,Q){let Y=new $5("Cannot handle MDX estrees without `createEvaluater`",{ancestors:H.ancestors,place:Q,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw Y.file=H.filePath||void 0,Y.url=pg+"#cannot-handle-mdx-estrees-without-createevaluater",Y}function Bl(H){let Q={},Y;for(Y in H)if(UU.call(H,Y))Q[Vl(Y)]=H[Y];return Q}function Vl(H){let Q=H.replace(tf,zl);if(Q.slice(0,3)==="ms-")Q="-"+Q;return Q}function zl(H){return"-"+H.toLowerCase()}var lg,UU,of,tf,ef,Hl,pg="https://github.com/syntax-tree/hast-util-to-jsx-runtime";var ag=l(()=>{q0();Cg();gg();h8();v8();FU();lg=K5(mg(),1),UU={}.hasOwnProperty,of=new Map,tf=/[A-Z]/g,ef=new Set(["table","tbody","thead","tfoot","tr"]),Hl=new Set(["td","th"])});var cg=l(()=>{ag()});var LX;var sg=l(()=>{LX={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 ng=l(()=>{sg()});function mY(H,Q){let Y=Number.parseInt(H,Q);if(Y<M.ht||Y===M.vt||Y>M.cr&&Y<M.space||Y>M.tilde&&Y<160||Y>55295&&Y<57344||Y>64975&&Y<65008||(Y&65535)===65535||(Y&65535)===65534||Y>1114111)return j2.replacementCharacter;return String.fromCodePoint(Y)}var jU=l(()=>{t1()});function jl(H){let Q=H.attempt(this.parser.constructs.contentInitial,J,w),Y;return Q;function J(B){if(I(B===M.eof||C1(B),"expected eol or eof"),B===M.eof){H.consume(B);return}return H.enter(G.lineEnding),H.consume(B),H.exit(G.lineEnding),c1(H,Q,G.linePrefix)}function w(B){return I(B!==M.eof&&!C1(B),"expected anything other than a line ending or EOF"),H.enter(G.paragraph),U(B)}function U(B){let V=H.enter(G.chunkText,{contentType:V1.contentTypeText,previous:Y});if(Y)Y.next=V;return Y=V,F(B)}function F(B){if(B===M.eof){H.exit(G.chunkText),H.exit(G.paragraph),H.consume(B);return}if(C1(B))return H.consume(B),H.exit(G.chunkText),U;return H.consume(B),F}}var og;var tg=l(()=>{q0();z5();D0();t1();og={tokenize:jl}});function Rl(H){let Q=this,Y=[],J=0,w,U,F;return B;function B(t){if(J<Y.length){let U1=Y[J];return Q.containerState=U1[1],I(U1[0].continuation,"expected `continuation` to be defined on container construct"),H.attempt(U1[0].continuation,V,N)(t)}return N(t)}function V(t){if(I(Q.containerState,"expected `containerState` to be defined after continuation"),J++,Q.containerState._closeFlow){if(Q.containerState._closeFlow=void 0,w)Z1();let U1=Q.events.length,B1=U1,c;while(B1--)if(Q.events[B1][0]==="exit"&&Q.events[B1][1].type===G.chunkFlow){c=Q.events[B1][1].end;break}I(c,"could not find previous flow chunk"),m(J);let b1=U1;while(b1<Q.events.length)Q.events[b1][1].end={...c},b1++;return V5(Q.events,B1+1,0,Q.events.slice(U1)),Q.events.length=b1,N(t)}return B(t)}function N(t){if(J===Y.length){if(!w)return C(t);if(w.currentConstruct&&w.currentConstruct.concrete)return _(t);Q.interrupt=Boolean(w.currentConstruct&&!w._gfmTableDynamicInterruptHack)}return Q.containerState={},H.check(eg,R,O)(t)}function R(t){if(w)Z1();return m(J),C(t)}function O(t){return Q.parser.lazy[Q.now().line]=J!==Y.length,F=Q.now().offset,_(t)}function C(t){return Q.containerState={},H.attempt(eg,$,_)(t)}function $(t){return I(Q.currentConstruct,"expected `currentConstruct` to be defined on tokenizer"),I(Q.containerState,"expected `containerState` to be defined on tokenizer"),J++,Y.push([Q.currentConstruct,Q.containerState]),C(t)}function _(t){if(t===M.eof){if(w)Z1();m(0),H.consume(t);return}return w=w||Q.parser.flow(Q.now()),H.enter(G.chunkFlow,{_tokenizer:w,contentType:V1.contentTypeFlow,previous:U}),v(t)}function v(t){if(t===M.eof){p(H.exit(G.chunkFlow),!0),m(0),H.consume(t);return}if(C1(t))return H.consume(t),p(H.exit(G.chunkFlow)),J=0,Q.interrupt=void 0,B;return H.consume(t),v}function p(t,U1){I(w,"expected `childFlow` to be defined when continuing");let B1=Q.sliceStream(t);if(U1)B1.push(null);if(t.previous=U,U)U.next=t;if(U=t,w.defineSkip(t.start),w.write(B1),Q.parser.lazy[t.start.line]){let c=w.events.length;while(c--)if(w.events[c][1].start.offset<F&&(!w.events[c][1].end||w.events[c][1].end.offset>F))return;let b1=Q.events.length,e=b1,$1,k;while(e--)if(Q.events[e][0]==="exit"&&Q.events[e][1].type===G.chunkFlow){if($1){k=Q.events[e][1].end;break}$1=!0}I(k,"could not find previous flow chunk"),m(J),c=b1;while(c<Q.events.length)Q.events[c][1].end={...k},c++;V5(Q.events,e+1,0,Q.events.slice(b1)),Q.events.length=c}}function m(t){let U1=Y.length;while(U1-- >t){let B1=Y[U1];Q.containerState=B1[1],I(B1[0].exit,"expected `exit` to be defined on container construct"),B1[0].exit.call(Q,H)}Y.length=t}function Z1(){I(Q.containerState,"expected `containerState` to be defined when closing flow"),I(w,"expected `childFlow` to be defined when closing it"),w.write([M.eof]),U=void 0,w=void 0,Q.containerState._closeFlow=void 0}}function Ol(H,Q,Y){return I(this.parser.constructs.disable.null,"expected `disable.null` to be populated"),c1(H,H.attempt(this.parser.constructs.document,Q,Y),G.linePrefix,this.parser.constructs.disable.null.includes("codeIndented")?void 0:V1.tabSize)}var HG,eg;var ZG=l(()=>{q0();z5();D0();t6();t1();HG={tokenize:Rl},eg={tokenize:Ol}});function Nl(H){let Q=this,Y=H.attempt(V6,J,H.attempt(this.parser.constructs.flowInitial,w,c1(H,H.attempt(this.parser.constructs.flow,w,H.attempt(IF,w)),G.linePrefix)));return Y;function J(U){if(I(U===M.eof||C1(U),"expected eol or eof"),U===M.eof){H.consume(U);return}return H.enter(G.lineEndingBlank),H.consume(U),H.exit(G.lineEndingBlank),Q.currentConstruct=void 0,Y}function w(U){if(I(U===M.eof||C1(U),"expected eol or eof"),U===M.eof){H.consume(U);return}return H.enter(G.lineEnding),H.consume(U),H.exit(G.lineEnding),Q.currentConstruct=void 0,Y}}var XG;var QG=l(()=>{q0();EY();z5();D0();t1();XG={tokenize:Nl}});function KG(H){return{resolveAll:wG(H==="text"?Pl:void 0),tokenize:Q};function Q(Y){let J=this,w=this.parser.constructs[H],U=Y.attempt(w,F,B);return F;function F(R){return N(R)?U(R):B(R)}function B(R){if(R===M.eof){Y.consume(R);return}return Y.enter(G.data),Y.consume(R),V}function V(R){if(N(R))return Y.exit(G.data),U(R);return Y.consume(R),V}function N(R){if(R===M.eof)return!0;let O=w[R],C=-1;if(O){I(Array.isArray(O),"expected `disable.null` to be populated");while(++C<O.length){let $=O[C];if(!$.previous||$.previous.call(J,J.previous))return!0}}return!1}}}function wG(H){return Q;function Q(Y,J){let w=-1,U;while(++w<=Y.length)if(U===void 0){if(Y[w]&&Y[w][1].type===G.data)U=w,w++}else if(!Y[w]||Y[w][1].type!==G.data){if(w!==U+2)Y[U][1].end=Y[w-1][1].end,Y.splice(U+2,w-U-2),w=U+2;U=void 0}return H?H(Y,J):Y}}function Pl(H,Q){let Y=0;while(++Y<=H.length)if((Y===H.length||H[Y][1].type===G.lineEnding)&&H[Y-1][1].type===G.data){let J=H[Y-1][1],w=Q.sliceStream(J),U=w.length,F=-1,B=0,V;while(U--){let N=w[U];if(typeof N==="string"){F=N.length;while(N.charCodeAt(F-1)===M.space)B++,F--;if(F)break;F=-1}else if(N===M.horizontalTab)V=!0,B++;else if(N===M.virtualSpace);else{U++;break}}if(Q._contentTypeTextTrailing&&Y===H.length)B=0;if(B){let N={type:Y===H.length||V||B<V1.hardBreakPrefixSizeMin?G.lineSuffix:G.hardBreakTrailing,start:{_bufferIndex:U?F:J.start._bufferIndex+F,_index:J.start._index+U,line:J.end.line,column:J.end.column-B,offset:J.end.offset-B},end:{...J.end}};if(J.end={...N.start},J.start.offset===J.end.offset)Object.assign(J,N);else H.splice(Y,0,["enter",N,Q],["exit",N,Q]),Y+=2}Y++}return H}var qG,YG,JG;var RU=l(()=>{q0();t1();qG={resolveAll:wG()},YG=KG("string"),JG=KG("text")});var OU={};M8(OU,{text:()=>Gl,string:()=>gl,insideSpan:()=>Dl,flowInitial:()=>bl,flow:()=>$l,document:()=>Ml,disable:()=>_l,contentInitial:()=>Cl,attentionMarkers:()=>hl});var Ml,Cl,bl,$l,gl,Gl,Dl,hl,_l;var WG=l(()=>{EY();t1();RU();Ml={[M.asterisk]:X2,[M.plusSign]:X2,[M.dash]:X2,[M.digit0]:X2,[M.digit1]:X2,[M.digit2]:X2,[M.digit3]:X2,[M.digit4]:X2,[M.digit5]:X2,[M.digit6]:X2,[M.digit7]:X2,[M.digit8]:X2,[M.digit9]:X2,[M.greaterThan]:PY},Cl={[M.leftSquareBracket]:AF},bl={[M.horizontalTab]:qX,[M.virtualSpace]:qX,[M.space]:qX},$l={[M.numberSign]:uF,[M.asterisk]:w7,[M.dash]:[xY,w7],[M.lessThan]:fF,[M.equalsTo]:xY,[M.underscore]:w7,[M.graveAccent]:$Y,[M.tilde]:$Y},gl={[M.ampersand]:bY,[M.backslash]:MY},Gl={[M.carriageReturn]:JX,[M.lineFeed]:JX,[M.carriageReturnLineFeed]:JX,[M.exclamationMark]:pF,[M.ampersand]:bY,[M.asterisk]:QX,[M.lessThan]:[hF,lF],[M.leftSquareBracket]:rF,[M.backslash]:[mF,MY],[M.rightSquareBracket]:K7,[M.underscore]:QX,[M.graveAccent]:_F},Dl={null:[QX,qG]},hl={null:[M.asterisk,M.underscore]},_l={null:[]}});var FG=o5((h61,LG)=>{var p8=1000,r8=p8*60,i8=r8*60,V7=i8*24,xl=V7*7,El=V7*365.25;LG.exports=function(H,Q){Q=Q||{};var Y=typeof H;if(Y==="string"&&H.length>0)return Il(H);else if(Y==="number"&&isFinite(H))return Q.long?vl(H):yl(H);throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(H))};function Il(H){if(H=String(H),H.length>100)return;var Q=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(H);if(!Q)return;var Y=parseFloat(Q[1]),J=(Q[2]||"ms").toLowerCase();switch(J){case"years":case"year":case"yrs":case"yr":case"y":return Y*El;case"weeks":case"week":case"w":return Y*xl;case"days":case"day":case"d":return Y*V7;case"hours":case"hour":case"hrs":case"hr":case"h":return Y*i8;case"minutes":case"minute":case"mins":case"min":case"m":return Y*r8;case"seconds":case"second":case"secs":case"sec":case"s":return Y*p8;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return Y;default:return}}function yl(H){var Q=Math.abs(H);if(Q>=V7)return Math.round(H/V7)+"d";if(Q>=i8)return Math.round(H/i8)+"h";if(Q>=r8)return Math.round(H/r8)+"m";if(Q>=p8)return Math.round(H/p8)+"s";return H+"ms"}function vl(H){var Q=Math.abs(H);if(Q>=V7)return uY(H,Q,V7,"day");if(Q>=i8)return uY(H,Q,i8,"hour");if(Q>=r8)return uY(H,Q,r8,"minute");if(Q>=p8)return uY(H,Q,p8,"second");return H+" ms"}function uY(H,Q,Y,J){var w=Q>=Y*1.5;return Math.round(H/Y)+" "+J+(w?"s":"")}});var BG=o5((_61,UG)=>{function Sl(H){Y.debug=Y,Y.default=Y,Y.coerce=V,Y.disable=F,Y.enable=w,Y.enabled=B,Y.humanize=FG(),Y.destroy=N,Object.keys(H).forEach((R)=>{Y[R]=H[R]}),Y.names=[],Y.skips=[],Y.formatters={};function Q(R){let O=0;for(let C=0;C<R.length;C++)O=(O<<5)-O+R.charCodeAt(C),O|=0;return Y.colors[Math.abs(O)%Y.colors.length]}Y.selectColor=Q;function Y(R){let O,C=null,$,_;function v(...p){if(!v.enabled)return;let m=v,Z1=Number(new Date),t=Z1-(O||Z1);if(m.diff=t,m.prev=O,m.curr=Z1,O=Z1,p[0]=Y.coerce(p[0]),typeof p[0]!=="string")p.unshift("%O");let U1=0;p[0]=p[0].replace(/%([a-zA-Z%])/g,(c,b1)=>{if(c==="%%")return"%";U1++;let e=Y.formatters[b1];if(typeof e==="function"){let $1=p[U1];c=e.call(m,$1),p.splice(U1,1),U1--}return c}),Y.formatArgs.call(m,p),(m.log||Y.log).apply(m,p)}if(v.namespace=R,v.useColors=Y.useColors(),v.color=Y.selectColor(R),v.extend=J,v.destroy=Y.destroy,Object.defineProperty(v,"enabled",{enumerable:!0,configurable:!1,get:()=>{if(C!==null)return C;if($!==Y.namespaces)$=Y.namespaces,_=Y.enabled(R);return _},set:(p)=>{C=p}}),typeof Y.init==="function")Y.init(v);return v}function J(R,O){let C=Y(this.namespace+(typeof O>"u"?":":O)+R);return C.log=this.log,C}function w(R){Y.save(R),Y.namespaces=R,Y.names=[],Y.skips=[];let O=(typeof R==="string"?R:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let C of O)if(C[0]==="-")Y.skips.push(C.slice(1));else Y.names.push(C)}function U(R,O){let C=0,$=0,_=-1,v=0;while(C<R.length)if($<O.length&&(O[$]===R[C]||O[$]==="*"))if(O[$]==="*")_=$,v=C,$++;else C++,$++;else if(_!==-1)$=_+1,v++,C=v;else return!1;while($<O.length&&O[$]==="*")$++;return $===O.length}function F(){let R=[...Y.names,...Y.skips.map((O)=>"-"+O)].join(",");return Y.enable(""),R}function B(R){for(let O of Y.skips)if(U(R,O))return!1;for(let O of Y.names)if(U(R,O))return!0;return!1}function V(R){if(R instanceof Error)return R.stack||R.message;return R}function N(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return Y.enable(Y.load()),Y}UG.exports=Sl});var zG=o5((VG,kY)=>{VG.formatArgs=Al;VG.save=ml;VG.load=ul;VG.useColors=Tl;VG.storage=kl();VG.destroy=(()=>{let H=!1;return()=>{if(!H)H=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}})();VG.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function Tl(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let H;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(H=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(H[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function Al(H){if(H[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+H[0]+(this.useColors?"%c ":" ")+"+"+kY.exports.humanize(this.diff),!this.useColors)return;let Q="color: "+this.color;H.splice(1,0,Q,"color: inherit");let Y=0,J=0;H[0].replace(/%[a-zA-Z%]/g,(w)=>{if(w==="%%")return;if(Y++,w==="%c")J=Y}),H.splice(J,0,Q)}VG.log=console.debug||console.log||(()=>{});function ml(H){try{if(H)VG.storage.setItem("debug",H);else VG.storage.removeItem("debug")}catch(Q){}}function ul(){let H;try{H=VG.storage.getItem("debug")||VG.storage.getItem("DEBUG")}catch(Q){}if(!H&&typeof process<"u"&&"env"in process)H=process.env.DEBUG;return H}function kl(){try{return localStorage}catch(H){}}kY.exports=BG()(VG);var{formatters:fl}=kY.exports;fl.j=function(H){try{return JSON.stringify(H)}catch(Q){return"[UnexpectedJSONParseError]: "+Q.message}}});function RG(H,Q,Y){let J={_bufferIndex:-1,_index:0,line:Y&&Y.line||1,column:Y&&Y.column||1,offset:Y&&Y.offset||0},w={},U=[],F=[],B=[],V=!0,N={attempt:$1(b1),check:$1(e),consume:U1,enter:B1,exit:c,interrupt:$1(e,{interrupt:!0})},R={code:M.eof,containerState:{},defineSkip:m,events:[],now:p,parser:H,previous:M.eof,sliceSerialize:_,sliceStream:v,write:$},O=Q.tokenize.call(R,N),C;if(Q.resolveAll)U.push(Q);return R;function $(L1){if(F=R2(F,L1),Z1(),F[F.length-1]!==M.eof)return[];return k(Q,0),R.events=H4(U,R.events,R),R.events}function _(L1,h1){return nl(v(L1),h1)}function v(L1){return sl(F,L1)}function p(){let{_bufferIndex:L1,_index:h1,line:Q1,column:w1,offset:Y1}=J;return{_bufferIndex:L1,_index:h1,line:Q1,column:w1,offset:Y1}}function m(L1){w[L1.line]=L1.column,g1(),z7("position: define skip: `%j`",J)}function Z1(){let L1;while(J._index<F.length){let h1=F[J._index];if(typeof h1==="string"){if(L1=J._index,J._bufferIndex<0)J._bufferIndex=0;while(J._index===L1&&J._bufferIndex<h1.length)t(h1.charCodeAt(J._bufferIndex))}else t(h1)}}function t(L1){I(V===!0,"expected character to be consumed"),V=void 0,z7("main: passing `%s` to %s",L1,O&&O.name),C=L1,I(typeof O==="function","expected state"),O=O(L1)}function U1(L1){if(I(L1===C,"expected given code to equal expected code"),z7("consume: `%s`",L1),I(V===void 0,"expected code to not have been consumed: this might be because `return x(code)` instead of `return x` was used"),I(L1===null?R.events.length===0||R.events[R.events.length-1][0]==="exit":R.events[R.events.length-1][0]==="enter","expected last token to be open"),C1(L1))J.line++,J.column=1,J.offset+=L1===M.carriageReturnLineFeed?2:1,g1(),z7("position: after eol: `%j`",J);else if(L1!==M.virtualSpace)J.column++,J.offset++;if(J._bufferIndex<0)J._index++;else if(J._bufferIndex++,J._bufferIndex===F[J._index].length)J._bufferIndex=-1,J._index++;R.previous=L1,V=!0}function B1(L1,h1){let Q1=h1||{};return Q1.type=L1,Q1.start=p(),I(typeof L1==="string","expected string type"),I(L1.length>0,"expected non-empty string"),z7("enter: `%s`",L1),R.events.push(["enter",Q1,R]),B.push(Q1),Q1}function c(L1){I(typeof L1==="string","expected string type"),I(L1.length>0,"expected non-empty string");let h1=B.pop();return I(h1,"cannot close w/o open tokens"),h1.end=p(),I(L1===h1.type,"expected exit token to match current token"),I(!(h1.start._index===h1.end._index&&h1.start._bufferIndex===h1.end._bufferIndex),"expected non-empty token (`"+L1+"`)"),z7("exit: `%s`",h1.type),R.events.push(["exit",h1,R]),h1}function b1(L1,h1){k(L1,h1.from)}function e(L1,h1){h1.restore()}function $1(L1,h1){return Q1;function Q1(w1,Y1,I1){let y1,b,j1,T1;return Array.isArray(w1)?d1(w1):("tokenize"in w1)?d1([w1]):y(w1);function y(Y0){return w0;function w0(j5){let G1=j5!==null&&Y0[j5],F5=j5!==null&&Y0.null,x5=[...Array.isArray(G1)?G1:G1?[G1]:[],...Array.isArray(F5)?F5:F5?[F5]:[]];return d1(x5)(j5)}}function d1(Y0){if(y1=Y0,b=0,Y0.length===0)return I(I1,"expected `bogusState` to be given"),I1;return o1(Y0[b])}function o1(Y0){return w0;function w0(j5){if(T1=k1(),j1=Y0,!Y0.partial)R.currentConstruct=Y0;if(I(R.parser.constructs.disable.null,"expected `disable.null` to be populated"),Y0.name&&R.parser.constructs.disable.null.includes(Y0.name))return y0(j5);return Y0.tokenize.call(h1?Object.assign(Object.create(R),h1):R,N,m1,y0)(j5)}}function m1(Y0){return I(Y0===C,"expected code"),V=!0,L1(j1,T1),Y1}function y0(Y0){if(I(Y0===C,"expected code"),V=!0,T1.restore(),++b<y1.length)return o1(y1[b]);return I1}}}function k(L1,h1){if(L1.resolveAll&&!U.includes(L1))U.push(L1);if(L1.resolve)V5(R.events,h1,R.events.length-h1,L1.resolve(R.events.slice(h1),R));if(L1.resolveTo)R.events=L1.resolveTo(R.events,R);I(L1.partial||R.events.length===0||R.events[R.events.length-1][0]==="exit","expected last token to end")}function k1(){let L1=p(),h1=R.previous,Q1=R.currentConstruct,w1=R.events.length,Y1=Array.from(B);return{from:w1,restore:I1};function I1(){J=L1,R.previous=h1,R.currentConstruct=Q1,R.events.length=w1,B=Y1,g1(),z7("position: restore: `%j`",J)}}function g1(){if(J.line in w&&J.column<2)J.column=w[J.line],J.offset+=w[J.line]-1}}function sl(H,Q){let Y=Q.start._index,J=Q.start._bufferIndex,w=Q.end._index,U=Q.end._bufferIndex,F;if(Y===w)I(U>-1,"expected non-negative end buffer index"),I(J>-1,"expected non-negative start buffer index"),F=[H[Y].slice(J,U)];else{if(F=H.slice(Y,w),J>-1){let B=F[0];if(typeof B==="string")F[0]=B.slice(J);else I(J===0,"expected `startBufferIndex` to be `0`"),F.shift()}if(U>0)F.push(H[w].slice(0,U))}return F}function nl(H,Q){let Y=-1,J=[],w;while(++Y<H.length){let U=H[Y],F;if(typeof U==="string")F=U;else switch(U){case M.carriageReturn:{F=j2.cr;break}case M.lineFeed:{F=j2.lf;break}case M.carriageReturnLineFeed:{F=j2.cr+j2.lf;break}case M.horizontalTab:{F=Q?j2.space:j2.ht;break}case M.virtualSpace:{if(!Q&&w)continue;F=j2.space;break}default:I(typeof U==="number","expected number"),F=String.fromCharCode(U)}w=U===M.horizontalTab,J.push(F)}return J.join("")}var jG,z7;var OG=l(()=>{q0();D0();t6();t1();jG=K5(zG(),1),z7=jG.default("micromark")});function NU(H){let J={constructs:OY([OU,...(H||{}).extensions||[]]),content:w(og),defined:[],document:w(HG),flow:w(XG),lazy:{},string:w(YG),text:w(JG)};return J;function w(U){return F;function F(B){return RG(J,U,B)}}}var NG=l(()=>{$F();tg();ZG();QG();RU();WG();OG()});function PU(H){while(!gY(H));return H}var PG=l(()=>{EF()});function MU(){let H=1,Q="",Y=!0,J;return w;function w(U,F,B){let V=[],N,R,O,C,$;if(U=Q+(typeof U==="string"?U.toString():new TextDecoder(F||void 0).decode(U)),O=0,Q="",Y){if(U.charCodeAt(0)===M.byteOrderMarker)O++;Y=void 0}while(O<U.length){if(MG.lastIndex=O,N=MG.exec(U),C=N&&N.index!==void 0?N.index:U.length,$=U.charCodeAt(C),!N){Q=U.slice(O);break}if($===M.lf&&O===C&&J)V.push(M.carriageReturnLineFeed),J=void 0;else{if(J)V.push(M.carriageReturn),J=void 0;if(O<C)V.push(U.slice(O,C)),H+=C-O;switch($){case M.nul:{V.push(M.replacementCharacter),H++;break}case M.ht:{R=Math.ceil(H/V1.tabSize)*V1.tabSize,V.push(M.horizontalTab);while(H++<R)V.push(M.virtualSpace);break}case M.lf:{V.push(M.lineFeed),H=1;break}default:J=!0,H=1}}O=C+1}if(B){if(J)V.push(M.carriageReturn);if(Q)V.push(Q);V.push(M.eof)}return V}}var MG;var CG=l(()=>{t1();MG=/[\0\t\n\r]/g});var bG=l(()=>{NG();PG();CG()});function $G(H){return H.replace(ol,tl)}function tl(H,Q,Y){if(Q)return Q;if(Y.charCodeAt(0)===M.numberSign){let w=Y.charCodeAt(1),U=w===M.lowercaseX||w===M.uppercaseX;return mY(Y.slice(U?2:1),U?V1.numericBaseHexadecimal:V1.numericBaseDecimal)}return f8(Y)||H}var ol;var gG=l(()=>{CY();jU();t1();ol=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi});function CU(H,Q,Y){if(Q&&typeof Q==="object")Y=Q,Q=void 0;return el(Y)(PU(NU(Y).document().write(MU()(H,Q,!0))))}function el(H){let Q={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:U(I0),autolinkProtocol:$1,autolinkEmail:$1,atxHeading:U(t0),blockQuote:U(j5),characterEscape:$1,characterReference:$1,codeFenced:U(G1),codeFencedFenceInfo:F,codeFencedFenceMeta:F,codeIndented:U(G1,F),codeText:U(F5,F),codeTextData:$1,data:$1,codeFlowValue:$1,definition:U(x5),definitionDestinationString:F,definitionLabelString:F,definitionTitleString:F,emphasis:U(E5),hardBreakEscape:U(g0),hardBreakTrailing:U(g0),htmlFlow:U(v3,F),htmlFlowData:$1,htmlText:U(v3,F),htmlTextData:$1,image:U(_1),label:F,link:U(I0),listItem:U(q2),listItemValue:C,listOrdered:U(W0,O),listUnordered:U(W0),paragraph:U(I5),reference:y,referenceString:F,resourceDestinationString:F,resourceTitleString:F,setextHeading:U(t0),strong:U(R6),thematicBreak:U(o8)},exit:{atxHeading:V(),atxHeadingSequence:B1,autolink:V(),autolinkEmail:w0,autolinkProtocol:Y0,blockQuote:V(),characterEscapeValue:k,characterReferenceMarkerHexadecimal:o1,characterReferenceMarkerNumeric:o1,characterReferenceValue:m1,characterReference:y0,codeFenced:V(p),codeFencedFence:v,codeFencedFenceInfo:$,codeFencedFenceMeta:_,codeFlowValue:k,codeIndented:V(m),codeText:V(Q1),codeTextData:k,data:k,definition:V(),definitionDestinationString:U1,definitionLabelString:Z1,definitionTitleString:t,emphasis:V(),hardBreakEscape:V(g1),hardBreakTrailing:V(g1),htmlFlow:V(L1),htmlFlowData:k,htmlText:V(h1),htmlTextData:k,image:V(Y1),label:y1,labelText:I1,lineEnding:k1,link:V(w1),listItem:V(),listOrdered:V(),listUnordered:V(),paragraph:V(),referenceString:d1,resourceDestinationString:b,resourceTitleString:j1,resource:T1,setextHeading:V(e),setextHeadingLineSequence:b1,setextHeadingText:c,strong:V(),thematicBreak:V()}};hG(Q,(H||{}).mdastExtensions||[]);let Y={};return J;function J(J1){let K1={type:"root",children:[]},S1={stack:[K1],tokenStack:[],config:Q,enter:B,exit:N,buffer:F,resume:R,data:Y},J0=[],C0=-1;while(++C0<J1.length)if(J1[C0][1].type===G.listOrdered||J1[C0][1].type===G.listUnordered)if(J1[C0][0]==="enter")J0.push(C0);else{let q5=J0.pop();I(typeof q5==="number","expected list to be open"),C0=w(J1,q5,C0)}C0=-1;while(++C0<J1.length){let q5=Q[J1[C0][0]];if(DG.call(q5,J1[C0][1].type))q5[J1[C0][1].type].call(Object.assign({sliceSerialize:J1[C0][2].sliceSerialize},S1),J1[C0][1])}if(S1.tokenStack.length>0){let q5=S1.tokenStack[S1.tokenStack.length-1];(q5[1]||GG).call(S1,void 0,q5[0])}K1.position={start:J4(J1.length>0?J1[0][1].start:{line:1,column:1,offset:0}),end:J4(J1.length>0?J1[J1.length-2][1].end:{line:1,column:1,offset:0})},C0=-1;while(++C0<Q.transforms.length)K1=Q.transforms[C0](K1)||K1;return K1}function w(J1,K1,S1){let J0=K1-1,C0=-1,q5=!1,Y2,k5,B3,M2;while(++J0<=S1){let h=J1[J0];switch(h[1].type){case G.listUnordered:case G.listOrdered:case G.blockQuote:{if(h[0]==="enter")C0++;else C0--;M2=void 0;break}case G.lineEndingBlank:{if(h[0]==="enter"){if(Y2&&!M2&&!C0&&!B3)B3=J0;M2=void 0}break}case G.linePrefix:case G.listItemValue:case G.listItemMarker:case G.listItemPrefix:case G.listItemPrefixWhitespace:break;default:M2=void 0}if(!C0&&h[0]==="enter"&&h[1].type===G.listItemPrefix||C0===-1&&h[0]==="exit"&&(h[1].type===G.listUnordered||h[1].type===G.listOrdered)){if(Y2){let a=J0;k5=void 0;while(a--){let R1=J1[a];if(R1[1].type===G.lineEnding||R1[1].type===G.lineEndingBlank){if(R1[0]==="exit")continue;if(k5)J1[k5][1].type=G.lineEndingBlank,q5=!0;R1[1].type=G.lineEnding,k5=a}else if(R1[1].type===G.linePrefix||R1[1].type===G.blockQuotePrefix||R1[1].type===G.blockQuotePrefixWhitespace||R1[1].type===G.blockQuoteMarker||R1[1].type===G.listItemIndent);else break}if(B3&&(!k5||B3<k5))Y2._spread=!0;Y2.end=Object.assign({},k5?J1[k5][1].start:h[1].end),J1.splice(k5||J0,0,["exit",Y2,h[2]]),J0++,S1++}if(h[1].type===G.listItemPrefix){let a={type:"listItem",_spread:!1,start:Object.assign({},h[1].start),end:void 0};Y2=a,J1.splice(J0,0,["enter",a,h[2]]),J0++,S1++,B3=void 0,M2=!0}}}return J1[K1][1]._spread=q5,S1}function U(J1,K1){return S1;function S1(J0){if(B.call(this,J1(J0),J0),K1)K1.call(this,J0)}}function F(){this.stack.push({type:"fragment",children:[]})}function B(J1,K1,S1){let J0=this.stack[this.stack.length-1];I(J0,"expected `parent`"),I("children"in J0,"expected `parent`"),J0.children.push(J1),this.stack.push(J1),this.tokenStack.push([K1,S1||void 0]),J1.position={start:J4(K1.start),end:void 0}}function V(J1){return K1;function K1(S1){if(J1)J1.call(this,S1);N.call(this,S1)}}function N(J1,K1){let S1=this.stack.pop();I(S1,"expected `node`");let J0=this.tokenStack.pop();if(!J0)throw Error("Cannot close `"+J1.type+"` ("+Y4({start:J1.start,end:J1.end})+"): it’s not open");else if(J0[0].type!==J1.type)if(K1)K1.call(this,J1,J0[0]);else(J0[1]||GG).call(this,J1,J0[0]);I(S1.type!=="fragment","unexpected fragment `exit`ed"),I(S1.position,"expected `position` to be defined"),S1.position.end=J4(J1.end)}function R(){return Q7(this.stack.pop())}function O(){this.data.expectingFirstListItemValue=!0}function C(J1){if(this.data.expectingFirstListItemValue){let K1=this.stack[this.stack.length-2];I(K1,"expected nodes on stack"),I(K1.type==="list","expected list on stack"),K1.start=Number.parseInt(this.sliceSerialize(J1),V1.numericBaseDecimal),this.data.expectingFirstListItemValue=void 0}}function $(){let J1=this.resume(),K1=this.stack[this.stack.length-1];I(K1,"expected node on stack"),I(K1.type==="code","expected code on stack"),K1.lang=J1}function _(){let J1=this.resume(),K1=this.stack[this.stack.length-1];I(K1,"expected node on stack"),I(K1.type==="code","expected code on stack"),K1.meta=J1}function v(){if(this.data.flowCodeInside)return;this.buffer(),this.data.flowCodeInside=!0}function p(){let J1=this.resume(),K1=this.stack[this.stack.length-1];I(K1,"expected node on stack"),I(K1.type==="code","expected code on stack"),K1.value=J1.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function m(){let J1=this.resume(),K1=this.stack[this.stack.length-1];I(K1,"expected node on stack"),I(K1.type==="code","expected code on stack"),K1.value=J1.replace(/(\r?\n|\r)$/g,"")}function Z1(J1){let K1=this.resume(),S1=this.stack[this.stack.length-1];I(S1,"expected node on stack"),I(S1.type==="definition","expected definition on stack"),S1.label=K1,S1.identifier=Z2(this.sliceSerialize(J1)).toLowerCase()}function t(){let J1=this.resume(),K1=this.stack[this.stack.length-1];I(K1,"expected node on stack"),I(K1.type==="definition","expected definition on stack"),K1.title=J1}function U1(){let J1=this.resume(),K1=this.stack[this.stack.length-1];I(K1,"expected node on stack"),I(K1.type==="definition","expected definition on stack"),K1.url=J1}function B1(J1){let K1=this.stack[this.stack.length-1];if(I(K1,"expected node on stack"),I(K1.type==="heading","expected heading on stack"),!K1.depth){let S1=this.sliceSerialize(J1).length;I(S1===1||S1===2||S1===3||S1===4||S1===5||S1===6,"expected `depth` between `1` and `6`"),K1.depth=S1}}function c(){this.data.setextHeadingSlurpLineEnding=!0}function b1(J1){let K1=this.stack[this.stack.length-1];I(K1,"expected node on stack"),I(K1.type==="heading","expected heading on stack"),K1.depth=this.sliceSerialize(J1).codePointAt(0)===M.equalsTo?1:2}function e(){this.data.setextHeadingSlurpLineEnding=void 0}function $1(J1){let K1=this.stack[this.stack.length-1];I(K1,"expected node on stack"),I("children"in K1,"expected parent on stack");let S1=K1.children,J0=S1[S1.length-1];if(!J0||J0.type!=="text")J0=O6(),J0.position={start:J4(J1.start),end:void 0},S1.push(J0);this.stack.push(J0)}function k(J1){let K1=this.stack.pop();I(K1,"expected a `node` to be on the stack"),I("value"in K1,"expected a `literal` to be on the stack"),I(K1.position,"expected `node` to have an open position"),K1.value+=this.sliceSerialize(J1),K1.position.end=J4(J1.end)}function k1(J1){let K1=this.stack[this.stack.length-1];if(I(K1,"expected `node`"),this.data.atHardBreak){I("children"in K1,"expected `parent`");let S1=K1.children[K1.children.length-1];I(S1.position,"expected tail to have a starting position"),S1.position.end=J4(J1.end),this.data.atHardBreak=void 0;return}if(!this.data.setextHeadingSlurpLineEnding&&Q.canContainEols.includes(K1.type))$1.call(this,J1),k.call(this,J1)}function g1(){this.data.atHardBreak=!0}function L1(){let J1=this.resume(),K1=this.stack[this.stack.length-1];I(K1,"expected node on stack"),I(K1.type==="html","expected html on stack"),K1.value=J1}function h1(){let J1=this.resume(),K1=this.stack[this.stack.length-1];I(K1,"expected node on stack"),I(K1.type==="html","expected html on stack"),K1.value=J1}function Q1(){let J1=this.resume(),K1=this.stack[this.stack.length-1];I(K1,"expected node on stack"),I(K1.type==="inlineCode","expected inline code on stack"),K1.value=J1}function w1(){let J1=this.stack[this.stack.length-1];if(I(J1,"expected node on stack"),I(J1.type==="link","expected link on stack"),this.data.inReference){let K1=this.data.referenceType||"shortcut";J1.type+="Reference",J1.referenceType=K1,delete J1.url,delete J1.title}else delete J1.identifier,delete J1.label;this.data.referenceType=void 0}function Y1(){let J1=this.stack[this.stack.length-1];if(I(J1,"expected node on stack"),I(J1.type==="image","expected image on stack"),this.data.inReference){let K1=this.data.referenceType||"shortcut";J1.type+="Reference",J1.referenceType=K1,delete J1.url,delete J1.title}else delete J1.identifier,delete J1.label;this.data.referenceType=void 0}function I1(J1){let K1=this.sliceSerialize(J1),S1=this.stack[this.stack.length-2];I(S1,"expected ancestor on stack"),I(S1.type==="image"||S1.type==="link","expected image or link on stack"),S1.label=$G(K1),S1.identifier=Z2(K1).toLowerCase()}function y1(){let J1=this.stack[this.stack.length-1];I(J1,"expected node on stack"),I(J1.type==="fragment","expected fragment on stack");let K1=this.resume(),S1=this.stack[this.stack.length-1];if(I(S1,"expected node on stack"),I(S1.type==="image"||S1.type==="link","expected image or link on stack"),this.data.inReference=!0,S1.type==="link"){let J0=J1.children;S1.children=J0}else S1.alt=K1}function b(){let J1=this.resume(),K1=this.stack[this.stack.length-1];I(K1,"expected node on stack"),I(K1.type==="image"||K1.type==="link","expected image or link on stack"),K1.url=J1}function j1(){let J1=this.resume(),K1=this.stack[this.stack.length-1];I(K1,"expected node on stack"),I(K1.type==="image"||K1.type==="link","expected image or link on stack"),K1.title=J1}function T1(){this.data.inReference=void 0}function y(){this.data.referenceType="collapsed"}function d1(J1){let K1=this.resume(),S1=this.stack[this.stack.length-1];I(S1,"expected node on stack"),I(S1.type==="image"||S1.type==="link","expected image reference or link reference on stack"),S1.label=K1,S1.identifier=Z2(this.sliceSerialize(J1)).toLowerCase(),this.data.referenceType="full"}function o1(J1){I(J1.type==="characterReferenceMarkerNumeric"||J1.type==="characterReferenceMarkerHexadecimal"),this.data.characterReferenceType=J1.type}function m1(J1){let K1=this.sliceSerialize(J1),S1=this.data.characterReferenceType,J0;if(S1)J0=mY(K1,S1===G.characterReferenceMarkerNumeric?V1.numericBaseDecimal:V1.numericBaseHexadecimal),this.data.characterReferenceType=void 0;else{let q5=f8(K1);I(q5!==!1,"expected reference to decode"),J0=q5}let C0=this.stack[this.stack.length-1];I(C0,"expected `node`"),I("value"in C0,"expected `node.value`"),C0.value+=J0}function y0(J1){let K1=this.stack.pop();I(K1,"expected `node`"),I(K1.position,"expected `node.position`"),K1.position.end=J4(J1.end)}function Y0(J1){k.call(this,J1);let K1=this.stack[this.stack.length-1];I(K1,"expected node on stack"),I(K1.type==="link","expected link on stack"),K1.url=this.sliceSerialize(J1)}function w0(J1){k.call(this,J1);let K1=this.stack[this.stack.length-1];I(K1,"expected node on stack"),I(K1.type==="link","expected link on stack"),K1.url="mailto:"+this.sliceSerialize(J1)}function j5(){return{type:"blockquote",children:[]}}function G1(){return{type:"code",lang:null,meta:null,value:""}}function F5(){return{type:"inlineCode",value:""}}function x5(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function E5(){return{type:"emphasis",children:[]}}function t0(){return{type:"heading",depth:0,children:[]}}function g0(){return{type:"break"}}function v3(){return{type:"html",value:""}}function _1(){return{type:"image",title:null,url:"",alt:null}}function I0(){return{type:"link",title:null,url:"",children:[]}}function W0(J1){return{type:"list",ordered:J1.type==="listOrdered",start:null,spread:J1._spread,children:[]}}function q2(J1){return{type:"listItem",spread:J1._spread,checked:null,children:[]}}function I5(){return{type:"paragraph",children:[]}}function R6(){return{type:"strong",children:[]}}function O6(){return{type:"text",value:""}}function o8(){return{type:"thematicBreak"}}}function J4(H){return{line:H.line,column:H.column,offset:H.offset}}function hG(H,Q){let Y=-1;while(++Y<Q.length){let J=Q[Y];if(Array.isArray(J))hG(H,J);else Hp(H,J)}}function Hp(H,Q){let Y;for(Y in Q)if(DG.call(Q,Y))switch(Y){case"canContainEols":{let J=Q[Y];if(J)H[Y].push(...J);break}case"transforms":{let J=Q[Y];if(J)H[Y].push(...J);break}case"enter":case"exit":{let J=Q[Y];if(J)Object.assign(H[Y],J);break}}}function GG(H,Q){if(H)throw Error("Cannot close `"+H.type+"` ("+Y4({start:H.start,end:H.end})+"): a different token (`"+Q.type+"`, "+Y4({start:Q.start,end:Q.end})+") is open");else throw Error("Cannot close document, a token (`"+Q.type+"`, "+Y4({start:Q.start,end:Q.end})+") is still open")}var DG;var _G=l(()=>{q0();jY();bG();jU();gG();A8();t1();CY();LU();DG={}.hasOwnProperty});var xG=l(()=>{_G()});function fY(H){let Q=this;Q.parser=Y;function Y(J){return CU(J,{...Q.data("settings"),...H,extensions:Q.data("micromarkExtensions")||[],mdastExtensions:Q.data("fromMarkdownExtensions")||[]})}}var EG=l(()=>{xG()});var IG=l(()=>{EG()});function Zp(H,Q){let Y=[{type:"text",value:"↩"}];if(Q>1)Y.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(Q)}]});return Y}function Xp(H,Q){return"Back to reference "+(H+1)+(Q>1?"-"+Q:"")}function yG(H){let Q=typeof H.options.clobberPrefix==="string"?H.options.clobberPrefix:"user-content-",Y=H.options.footnoteBackContent||Zp,J=H.options.footnoteBackLabel||Xp,w=H.options.footnoteLabel||"Footnotes",U=H.options.footnoteLabelTagName||"h2",F=H.options.footnoteLabelProperties||{className:["sr-only"]},B=[],V=-1;while(++V<H.footnoteOrder.length){let N=H.footnoteById.get(H.footnoteOrder[V]);if(!N)continue;let R=H.all(N),O=String(N.identifier).toUpperCase(),C=U3(O.toLowerCase()),$=0,_=[],v=H.footnoteCounts.get(O);while(v!==void 0&&++$<=v){if(_.length>0)_.push({type:"text",value:" "});let Z1=typeof Y==="string"?Y:Y(V,$);if(typeof Z1==="string")Z1={type:"text",value:Z1};_.push({type:"element",tagName:"a",properties:{href:"#"+Q+"fnref-"+C+($>1?"-"+$:""),dataFootnoteBackref:"",ariaLabel:typeof J==="string"?J:J(V,$),className:["data-footnote-backref"]},children:Array.isArray(Z1)?Z1:[Z1]})}let p=R[R.length-1];if(p&&p.type==="element"&&p.tagName==="p"){let Z1=p.children[p.children.length-1];if(Z1&&Z1.type==="text")Z1.value+=" ";else p.children.push({type:"text",value:" "});p.children.push(..._)}else R.push(..._);let m={type:"element",tagName:"li",properties:{id:Q+"fn-"+C},children:H.wrap(R,!0)};H.patch(N,m),B.push(m)}if(B.length===0)return;return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:U,properties:{...G3(F),id:"footnote-label"},children:[{type:"text",value:w}]},{type:"text",value:`
|
|
274
|
+
`},{type:"element",tagName:"ol",properties:{},children:H.wrap(B,!0)},{type:"text",value:`
|
|
275
|
+
`}]}}var vG=l(()=>{SZ();Y7()});function SG(H,Q){let Y={type:"element",tagName:"blockquote",properties:{},children:H.wrap(H.all(Q),!0)};return H.patch(Q,Y),H.applyData(Q,Y)}function TG(H,Q){let Y={type:"element",tagName:"br",properties:{},children:[]};return H.patch(Q,Y),[H.applyData(Q,Y),{type:"text",value:`
|
|
276
|
+
`}]}function AG(H,Q){let Y=Q.value?Q.value+`
|
|
277
|
+
`:"",J={},w=Q.lang?Q.lang.split(/\s+/):[];if(w.length>0)J.className=["language-"+w[0]];let U={type:"element",tagName:"code",properties:J,children:[{type:"text",value:Y}]};if(Q.meta)U.data={meta:Q.meta};return H.patch(Q,U),U=H.applyData(Q,U),U={type:"element",tagName:"pre",properties:{},children:[U]},H.patch(Q,U),U}function mG(H,Q){let Y={type:"element",tagName:"del",properties:{},children:H.all(Q)};return H.patch(Q,Y),H.applyData(Q,Y)}function uG(H,Q){let Y={type:"element",tagName:"em",properties:{},children:H.all(Q)};return H.patch(Q,Y),H.applyData(Q,Y)}function kG(H,Q){let Y=typeof H.options.clobberPrefix==="string"?H.options.clobberPrefix:"user-content-",J=String(Q.identifier).toUpperCase(),w=U3(J.toLowerCase()),U=H.footnoteOrder.indexOf(J),F,B=H.footnoteCounts.get(J);if(B===void 0)B=0,H.footnoteOrder.push(J),F=H.footnoteOrder.length;else F=U+1;B+=1,H.footnoteCounts.set(J,B);let V={type:"element",tagName:"a",properties:{href:"#"+Y+"fn-"+w,id:Y+"fnref-"+w+(B>1?"-"+B:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(F)}]};H.patch(Q,V);let N={type:"element",tagName:"sup",properties:{},children:[V]};return H.patch(Q,N),H.applyData(Q,N)}var fG=l(()=>{Y7()});function lG(H,Q){let Y={type:"element",tagName:"h"+Q.depth,properties:{},children:H.all(Q)};return H.patch(Q,Y),H.applyData(Q,Y)}function pG(H,Q){if(H.options.allowDangerousHtml){let Y={type:"raw",value:Q.value};return H.patch(Q,Y),H.applyData(Q,Y)}return}function lY(H,Q){let Y=Q.referenceType,J="]";if(Y==="collapsed")J+="[]";else if(Y==="full")J+="["+(Q.label||Q.identifier)+"]";if(Q.type==="imageReference")return[{type:"text",value:"!["+Q.alt+J}];let w=H.all(Q),U=w[0];if(U&&U.type==="text")U.value="["+U.value;else w.unshift({type:"text",value:"["});let F=w[w.length-1];if(F&&F.type==="text")F.value+=J;else w.push({type:"text",value:J});return w}function rG(H,Q){let Y=String(Q.identifier).toUpperCase(),J=H.definitionById.get(Y);if(!J)return lY(H,Q);let w={src:U3(J.url||""),alt:Q.alt};if(J.title!==null&&J.title!==void 0)w.title=J.title;let U={type:"element",tagName:"img",properties:w,children:[]};return H.patch(Q,U),H.applyData(Q,U)}var iG=l(()=>{Y7()});function dG(H,Q){let Y={src:U3(Q.url)};if(Q.alt!==null&&Q.alt!==void 0)Y.alt=Q.alt;if(Q.title!==null&&Q.title!==void 0)Y.title=Q.title;let J={type:"element",tagName:"img",properties:Y,children:[]};return H.patch(Q,J),H.applyData(Q,J)}var aG=l(()=>{Y7()});function cG(H,Q){let Y={type:"text",value:Q.value.replace(/\r?\n|\r/g," ")};H.patch(Q,Y);let J={type:"element",tagName:"code",properties:{},children:[Y]};return H.patch(Q,J),H.applyData(Q,J)}function sG(H,Q){let Y=String(Q.identifier).toUpperCase(),J=H.definitionById.get(Y);if(!J)return lY(H,Q);let w={href:U3(J.url||"")};if(J.title!==null&&J.title!==void 0)w.title=J.title;let U={type:"element",tagName:"a",properties:w,children:H.all(Q)};return H.patch(Q,U),H.applyData(Q,U)}var nG=l(()=>{Y7()});function oG(H,Q){let Y={href:U3(Q.url)};if(Q.title!==null&&Q.title!==void 0)Y.title=Q.title;let J={type:"element",tagName:"a",properties:Y,children:H.all(Q)};return H.patch(Q,J),H.applyData(Q,J)}var tG=l(()=>{Y7()});function eG(H,Q,Y){let J=H.all(Q),w=Y?Qp(Y):HD(Q),U={},F=[];if(typeof Q.checked==="boolean"){let R=J[0],O;if(R&&R.type==="element"&&R.tagName==="p")O=R;else O={type:"element",tagName:"p",properties:{},children:[]},J.unshift(O);if(O.children.length>0)O.children.unshift({type:"text",value:" "});O.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:Q.checked,disabled:!0},children:[]}),U.className=["task-list-item"]}let B=-1;while(++B<J.length){let R=J[B];if(w||B!==0||R.type!=="element"||R.tagName!=="p")F.push({type:"text",value:`
|
|
278
|
+
`});if(R.type==="element"&&R.tagName==="p"&&!w)F.push(...R.children);else F.push(R)}let V=J[J.length-1];if(V&&(w||V.type!=="element"||V.tagName!=="p"))F.push({type:"text",value:`
|
|
279
|
+
`});let N={type:"element",tagName:"li",properties:U,children:F};return H.patch(Q,N),H.applyData(Q,N)}function Qp(H){let Q=!1;if(H.type==="list"){Q=H.spread||!1;let Y=H.children,J=-1;while(!Q&&++J<Y.length)Q=HD(Y[J])}return Q}function HD(H){let Q=H.spread;return Q===null||Q===void 0?H.children.length>1:Q}function ZD(H,Q){let Y={},J=H.all(Q),w=-1;if(typeof Q.start==="number"&&Q.start!==1)Y.start=Q.start;while(++w<J.length){let F=J[w];if(F.type==="element"&&F.tagName==="li"&&F.properties&&Array.isArray(F.properties.className)&&F.properties.className.includes("task-list-item")){Y.className=["contains-task-list"];break}}let U={type:"element",tagName:Q.ordered?"ol":"ul",properties:Y,children:H.wrap(J,!0)};return H.patch(Q,U),H.applyData(Q,U)}function XD(H,Q){let Y={type:"element",tagName:"p",properties:{},children:H.all(Q)};return H.patch(Q,Y),H.applyData(Q,Y)}function QD(H,Q){let Y={type:"root",children:H.wrap(H.all(Q))};return H.patch(Q,Y),H.applyData(Q,Y)}function qD(H,Q){let Y={type:"element",tagName:"strong",properties:{},children:H.all(Q)};return H.patch(Q,Y),H.applyData(Q,Y)}function YD(H,Q){let Y=H.all(Q),J=Y.shift(),w=[];if(J){let F={type:"element",tagName:"thead",properties:{},children:H.wrap([J],!0)};H.patch(Q.children[0],F),w.push(F)}if(Y.length>0){let F={type:"element",tagName:"tbody",properties:{},children:H.wrap(Y,!0)},B=x2(Q.children[1]),V=e4(Q.children[Q.children.length-1]);if(B&&V)F.position={start:B,end:V};w.push(F)}let U={type:"element",tagName:"table",properties:{},children:H.wrap(w,!0)};return H.patch(Q,U),H.applyData(Q,U)}var JD=l(()=>{v8()});function KD(H,Q,Y){let J=Y?Y.children:void 0,U=(J?J.indexOf(Q):1)===0?"th":"td",F=Y&&Y.type==="table"?Y.align:void 0,B=F?F.length:Q.children.length,V=-1,N=[];while(++V<B){let O=Q.children[V],C={},$=F?F[V]:void 0;if($)C.align=$;let _={type:"element",tagName:U,properties:C,children:[]};if(O)_.children=H.all(O),H.patch(O,_),_=H.applyData(O,_);N.push(_)}let R={type:"element",tagName:"tr",properties:{},children:H.wrap(N,!0)};return H.patch(Q,R),H.applyData(Q,R)}function wD(H,Q){let Y={type:"element",tagName:"td",properties:{},children:H.all(Q)};return H.patch(Q,Y),H.applyData(Q,Y)}function LD(H){let Q=String(H),Y=/\r?\n|\r/g,J=Y.exec(Q),w=0,U=[];while(J)U.push(WD(Q.slice(w,J.index),w>0,!0),J[0]),w=J.index+J[0].length,J=Y.exec(Q);return U.push(WD(Q.slice(w),w>0,!1)),U.join("")}function WD(H,Q,Y){let J=0,w=H.length;if(Q){let U=H.codePointAt(J);while(U===9||U===32)J++,U=H.codePointAt(J)}if(Y){let U=H.codePointAt(w-1);while(U===9||U===32)w--,U=H.codePointAt(w-1)}return w>J?H.slice(J,w):""}function FD(H,Q){let Y={type:"text",value:LD(String(Q.value))};return H.patch(Q,Y),H.applyData(Q,Y)}var UD=()=>{};function BD(H,Q){let Y={type:"element",tagName:"hr",properties:{},children:[]};return H.patch(Q,Y),H.applyData(Q,Y)}function pY(){return}var VD;var zD=l(()=>{fG();iG();aG();nG();tG();JD();UD();VD={blockquote:SG,break:TG,code:AG,delete:mG,emphasis:uG,footnoteReference:kG,heading:lG,html:pG,imageReference:rG,image:dG,inlineCode:cG,linkReference:sG,link:oG,listItem:eG,list:ZD,paragraph:XD,root:QD,strong:qD,table:YD,tableCell:wD,tableRow:KD,text:FD,thematicBreak:BD,toml:pY,yaml:pY,definition:pY,footnoteDefinition:pY}});function RD(H,Q){let Y=Q||qp,J=new Map,w=new Map,U=new Map,F={...VD,...Y.handlers},B={all:N,applyData:Jp,definitionById:J,footnoteById:w,footnoteCounts:U,footnoteOrder:[],handlers:F,one:V,options:Y,patch:Yp,wrap:wp};return t5(H,function(R){if(R.type==="definition"||R.type==="footnoteDefinition"){let O=R.type==="definition"?J:w,C=String(R.identifier).toUpperCase();if(!O.has(C))O.set(C,R)}}),B;function V(R,O){let C=R.type,$=B.handlers[C];if(bU.call(B.handlers,C)&&$)return $(B,R,O);if(B.options.passThrough&&B.options.passThrough.includes(C)){if("children"in R){let{children:v,...p}=R,m=G3(p);return m.children=B.all(R),m}return G3(R)}return(B.options.unknownHandler||Kp)(B,R,O)}function N(R){let O=[];if("children"in R){let C=R.children,$=-1;while(++$<C.length){let _=B.one(C[$],R);if(_){if($&&C[$-1].type==="break"){if(!Array.isArray(_)&&_.type==="text")_.value=jD(_.value);if(!Array.isArray(_)&&_.type==="element"){let v=_.children[0];if(v&&v.type==="text")v.value=jD(v.value)}}if(Array.isArray(_))O.push(..._);else O.push(_)}}}return O}}function Yp(H,Q){if(H.position)Q.position=oZ(H)}function Jp(H,Q){let Y=Q;if(H&&H.data){let J=H.data.hName,w=H.data.hChildren,U=H.data.hProperties;if(typeof J==="string")if(Y.type==="element")Y.tagName=J;else{let F="children"in Y?Y.children:[Y];Y={type:"element",tagName:J,properties:{},children:F}}if(Y.type==="element"&&U)Object.assign(Y.properties,G3(U));if("children"in Y&&Y.children&&w!==null&&w!==void 0)Y.children=w}return Y}function Kp(H,Q){let Y=Q.data||{},J="value"in Q&&!(bU.call(Y,"hProperties")||bU.call(Y,"hChildren"))?{type:"text",value:Q.value}:{type:"element",tagName:"div",properties:{},children:H.all(Q)};return H.patch(Q,J),H.applyData(Q,J)}function wp(H,Q){let Y=[],J=-1;if(Q)Y.push({type:"text",value:`
|
|
280
|
+
`});while(++J<H.length){if(J)Y.push({type:"text",value:`
|
|
281
|
+
`});Y.push(H[J])}if(Q&&H.length>0)Y.push({type:"text",value:`
|
|
282
|
+
`});return Y}function jD(H){let Q=0,Y=H.charCodeAt(Q);while(Y===9||Y===32)Q++,Y=H.charCodeAt(Q);return H.slice(Q)}var bU,qp;var OD=l(()=>{SZ();b8();v8();zD();bU={}.hasOwnProperty,qp={}});function rY(H,Q){let Y=RD(H,Q),J=Y.one(H,void 0),w=yG(Y),U=Array.isArray(J)?{type:"root",children:J}:J||{type:"root",children:[]};if(w)I("children"in U),U.children.push({type:"text",value:`
|
|
283
|
+
`},w);return U}var ND=l(()=>{q0();vG();OD()});var PD=l(()=>{ND()});function iY(H,Q){if(H&&"run"in H)return async function(Y,J){let w=rY(Y,{file:J,...Q});await H.run(w,J)};return function(Y,J){return rY(Y,{file:J,...H||Q})}}var MD=l(()=>{PD()});var CD=l(()=>{MD()});function $U(H){if(H)throw H}var ED=o5((n41,xD)=>{var dY=Object.prototype.hasOwnProperty,_D=Object.prototype.toString,bD=Object.defineProperty,$D=Object.getOwnPropertyDescriptor,gD=function(Q){if(typeof Array.isArray==="function")return Array.isArray(Q);return _D.call(Q)==="[object Array]"},GD=function(Q){if(!Q||_D.call(Q)!=="[object Object]")return!1;var Y=dY.call(Q,"constructor"),J=Q.constructor&&Q.constructor.prototype&&dY.call(Q.constructor.prototype,"isPrototypeOf");if(Q.constructor&&!Y&&!J)return!1;var w;for(w in Q);return typeof w>"u"||dY.call(Q,w)},DD=function(Q,Y){if(bD&&Y.name==="__proto__")bD(Q,Y.name,{enumerable:!0,configurable:!0,value:Y.newValue,writable:!0});else Q[Y.name]=Y.newValue},hD=function(Q,Y){if(Y==="__proto__"){if(!dY.call(Q,Y))return;else if($D)return $D(Q,Y).value}return Q[Y]};xD.exports=function H(){var Q,Y,J,w,U,F,B=arguments[0],V=1,N=arguments.length,R=!1;if(typeof B==="boolean")R=B,B=arguments[1]||{},V=2;if(B==null||typeof B!=="object"&&typeof B!=="function")B={};for(;V<N;++V)if(Q=arguments[V],Q!=null){for(Y in Q)if(J=hD(B,Y),w=hD(Q,Y),B!==w){if(R&&w&&(GD(w)||(U=gD(w)))){if(U)U=!1,F=J&&gD(J)?J:[];else F=J&&GD(J)?J:{};DD(B,{name:Y,newValue:H(R,F,w)})}else if(typeof w<"u")DD(B,{name:Y,newValue:w})}}return B}});function UX(H){if(typeof H!=="object"||H===null)return!1;let Q=Object.getPrototypeOf(H);return(Q===null||Q===Object.prototype||Object.getPrototypeOf(Q)===null)&&!(Symbol.toStringTag in H)&&!(Symbol.iterator in H)}function gU(){let H=[],Q={run:Y,use:J};return Q;function Y(...w){let U=-1,F=w.pop();if(typeof F!=="function")throw TypeError("Expected function as last argument, not "+F);B(null,...w);function B(V,...N){let R=H[++U],O=-1;if(V){F(V);return}while(++O<w.length)if(N[O]===null||N[O]===void 0)N[O]=w[O];if(w=N,R)ID(R,B)(...N);else F(null,...N)}}function J(w){if(typeof w!=="function")throw TypeError("Expected `middelware` to be a function, not "+w);return H.push(w),Q}}function ID(H,Q){let Y;return J;function J(...F){let B=H.length>F.length,V;if(B)F.push(w);try{V=H.apply(this,F)}catch(N){let R=N;if(B&&Y)throw R;return w(R)}if(!B)if(V&&V.then&&typeof V.then==="function")V.then(U,w);else if(V instanceof Error)w(V);else U(V)}function w(F,...B){if(!Y)Y=!0,Q(F,...B)}function U(F){w(null,F)}}var yD=()=>{};function Wp(H,Q){if(Q!==void 0&&typeof Q!=="string")throw TypeError('"ext" argument must be a string');BX(H);let Y=0,J=-1,w=H.length,U;if(Q===void 0||Q.length===0||Q.length>H.length){while(w--)if(H.codePointAt(w)===47){if(U){Y=w+1;break}}else if(J<0)U=!0,J=w+1;return J<0?"":H.slice(Y,J)}if(Q===H)return"";let F=-1,B=Q.length-1;while(w--)if(H.codePointAt(w)===47){if(U){Y=w+1;break}}else{if(F<0)U=!0,F=w+1;if(B>-1)if(H.codePointAt(w)===Q.codePointAt(B--)){if(B<0)J=w}else B=-1,J=F}if(Y===J)J=F;else if(J<0)J=H.length;return H.slice(Y,J)}function Lp(H){if(BX(H),H.length===0)return".";let Q=-1,Y=H.length,J;while(--Y)if(H.codePointAt(Y)===47){if(J){Q=Y;break}}else if(!J)J=!0;return Q<0?H.codePointAt(0)===47?"/":".":Q===1&&H.codePointAt(0)===47?"//":H.slice(0,Q)}function Fp(H){BX(H);let Q=H.length,Y=-1,J=0,w=-1,U=0,F;while(Q--){let B=H.codePointAt(Q);if(B===47){if(F){J=Q+1;break}continue}if(Y<0)F=!0,Y=Q+1;if(B===46){if(w<0)w=Q;else if(U!==1)U=1}else if(w>-1)U=-1}if(w<0||Y<0||U===0||U===1&&w===Y-1&&w===J+1)return"";return H.slice(w,Y)}function Up(...H){let Q=-1,Y;while(++Q<H.length)if(BX(H[Q]),H[Q])Y=Y===void 0?H[Q]:Y+"/"+H[Q];return Y===void 0?".":Bp(Y)}function Bp(H){BX(H);let Q=H.codePointAt(0)===47,Y=Vp(H,!Q);if(Y.length===0&&!Q)Y=".";if(Y.length>0&&H.codePointAt(H.length-1)===47)Y+="/";return Q?"/"+Y:Y}function Vp(H,Q){let Y="",J=0,w=-1,U=0,F=-1,B,V;while(++F<=H.length){if(F<H.length)B=H.codePointAt(F);else if(B===47)break;else B=47;if(B===47){if(w===F-1||U===1);else if(w!==F-1&&U===2){if(Y.length<2||J!==2||Y.codePointAt(Y.length-1)!==46||Y.codePointAt(Y.length-2)!==46){if(Y.length>2){if(V=Y.lastIndexOf("/"),V!==Y.length-1){if(V<0)Y="",J=0;else Y=Y.slice(0,V),J=Y.length-1-Y.lastIndexOf("/");w=F,U=0;continue}}else if(Y.length>0){Y="",J=0,w=F,U=0;continue}}if(Q)Y=Y.length>0?Y+"/..":"..",J=2}else{if(Y.length>0)Y+="/"+H.slice(w+1,F);else Y=H.slice(w+1,F);J=F-w-1}w=F,U=0}else if(B===46&&U>-1)U++;else U=-1}return Y}function BX(H){if(typeof H!=="string")throw TypeError("Path must be a string. Received "+JSON.stringify(H))}var E3;var vD=l(()=>{E3={basename:Wp,dirname:Lp,extname:Fp,join:Up,sep:"/"}});function zp(){return"/"}var SD;var TD=l(()=>{SD={cwd:zp}});function d8(H){return Boolean(H!==null&&typeof H==="object"&&"href"in H&&H.href&&"protocol"in H&&H.protocol&&H.auth===void 0)}function AD(H){if(typeof H==="string")H=new URL(H);else if(!d8(H)){let Q=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+H+"`");throw Q.code="ERR_INVALID_ARG_TYPE",Q}if(H.protocol!=="file:"){let Q=TypeError("The URL must be of scheme file");throw Q.code="ERR_INVALID_URL_SCHEME",Q}return jp(H)}function jp(H){if(H.hostname!==""){let J=TypeError('File URL host must be "localhost" or empty on darwin');throw J.code="ERR_INVALID_FILE_URL_HOST",J}let Q=H.pathname,Y=-1;while(++Y<Q.length)if(Q.codePointAt(Y)===37&&Q.codePointAt(Y+1)===50){let J=Q.codePointAt(Y+2);if(J===70||J===102){let w=TypeError("File URL path must not include encoded / characters");throw w.code="ERR_INVALID_FILE_URL_PATH",w}}return decodeURIComponent(Q)}var mD=()=>{};class aY{constructor(H){let Q;if(!H)Q={};else if(d8(H))Q={path:H};else if(typeof H==="string"||Rp(H))Q={value:H};else Q=H;this.cwd="cwd"in Q?"":SD.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let Y=-1;while(++Y<GU.length){let w=GU[Y];if(w in Q&&Q[w]!==void 0&&Q[w]!==null)this[w]=w==="history"?[...Q[w]]:Q[w]}let J;for(J in Q)if(!GU.includes(J))this[J]=Q[J]}get basename(){return typeof this.path==="string"?E3.basename(this.path):void 0}set basename(H){hU(H,"basename"),DU(H,"basename"),this.path=E3.join(this.dirname||"",H)}get dirname(){return typeof this.path==="string"?E3.dirname(this.path):void 0}set dirname(H){uD(this.basename,"dirname"),this.path=E3.join(H||"",this.basename)}get extname(){return typeof this.path==="string"?E3.extname(this.path):void 0}set extname(H){if(DU(H,"extname"),uD(this.dirname,"extname"),H){if(H.codePointAt(0)!==46)throw Error("`extname` must start with `.`");if(H.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=E3.join(this.dirname,this.stem+(H||""))}get path(){return this.history[this.history.length-1]}set path(H){if(d8(H))H=AD(H);if(hU(H,"path"),this.path!==H)this.history.push(H)}get stem(){return typeof this.path==="string"?E3.basename(this.path,this.extname):void 0}set stem(H){hU(H,"stem"),DU(H,"stem"),this.path=E3.join(this.dirname||"",H+(this.extname||""))}fail(H,Q,Y){let J=this.message(H,Q,Y);throw J.fatal=!0,J}info(H,Q,Y){let J=this.message(H,Q,Y);return J.fatal=void 0,J}message(H,Q,Y){let J=new $5(H,Q,Y);if(this.path)J.name=this.path+":"+J.name,J.file=this.path;return J.fatal=!1,this.messages.push(J),J}toString(H){if(this.value===void 0)return"";if(typeof this.value==="string")return this.value;return new TextDecoder(H||void 0).decode(this.value)}}function DU(H,Q){if(H&&H.includes(E3.sep))throw Error("`"+Q+"` cannot be a path: did not expect `"+E3.sep+"`")}function hU(H,Q){if(!H)throw Error("`"+Q+"` cannot be empty")}function uD(H,Q){if(!H)throw Error("Setting `"+Q+"` requires `path` to be set too")}function Rp(H){return Boolean(H&&typeof H==="object"&&"byteLength"in H&&"byteOffset"in H)}var GU;var kD=l(()=>{FU();vD();TD();mD();GU=["history","path","basename","stem","extname","dirname"]});var fD=l(()=>{kD()});var lD=function(H){let J=this.constructor.prototype,w=J[H],U=function(){return w.apply(U,arguments)};return Object.setPrototypeOf(U,J),U};function _U(H,Q){if(typeof Q!=="function")throw TypeError("Cannot `"+H+"` without `parser`")}function xU(H,Q){if(typeof Q!=="function")throw TypeError("Cannot `"+H+"` without `compiler`")}function EU(H,Q){if(Q)throw Error("Cannot call `"+H+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function pD(H){if(!UX(H)||typeof H.type!=="string")throw TypeError("Expected node, got `"+H+"`")}function rD(H,Q,Y){if(!Y)throw Error("`"+H+"` finished async. Use `"+Q+"` instead")}function cY(H){return Np(H)?H:new aY(H)}function Np(H){return Boolean(H&&typeof H==="object"&&"message"in H&&"messages"in H)}function Pp(H){return typeof H==="string"||Mp(H)}function Mp(H){return Boolean(H&&typeof H==="object"&&"byteLength"in H&&"byteOffset"in H)}var sY,Op,IU,yU;var iD=l(()=>{q0();yD();fD();sY=K5(ED(),1),Op={}.hasOwnProperty;IU=class IU extends lD{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=gU()}copy(){let H=new IU,Q=-1;while(++Q<this.attachers.length){let Y=this.attachers[Q];H.use(...Y)}return H.data(sY.default(!0,{},this.namespace)),H}data(H,Q){if(typeof H==="string"){if(arguments.length===2)return EU("data",this.frozen),this.namespace[H]=Q,this;return Op.call(this.namespace,H)&&this.namespace[H]||void 0}if(H)return EU("data",this.frozen),this.namespace=H,this;return this.namespace}freeze(){if(this.frozen)return this;let H=this;while(++this.freezeIndex<this.attachers.length){let[Q,...Y]=this.attachers[this.freezeIndex];if(Y[0]===!1)continue;if(Y[0]===!0)Y[0]=void 0;let J=Q.call(H,...Y);if(typeof J==="function")this.transformers.use(J)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(H){this.freeze();let Q=cY(H),Y=this.parser||this.Parser;return _U("parse",Y),Y(String(Q),Q)}process(H,Q){let Y=this;return this.freeze(),_U("process",this.parser||this.Parser),xU("process",this.compiler||this.Compiler),Q?J(void 0,Q):new Promise(J);function J(w,U){let F=cY(H),B=Y.parse(F);Y.run(B,F,function(N,R,O){if(N||!R||!O)return V(N);let C=R,$=Y.stringify(C,O);if(Pp($))O.value=$;else O.result=$;V(N,O)});function V(N,R){if(N||!R)U(N);else if(w)w(R);else I(Q,"`done` is defined if `resolve` is not"),Q(void 0,R)}}}processSync(H){let Q=!1,Y;return this.freeze(),_U("processSync",this.parser||this.Parser),xU("processSync",this.compiler||this.Compiler),this.process(H,J),rD("processSync","process",Q),I(Y,"we either bailed on an error or have a tree"),Y;function J(w,U){Q=!0,$U(w),Y=U}}run(H,Q,Y){pD(H),this.freeze();let J=this.transformers;if(!Y&&typeof Q==="function")Y=Q,Q=void 0;return Y?w(void 0,Y):new Promise(w);function w(U,F){I(typeof Q!=="function","`file` can’t be a `done` anymore, we checked");let B=cY(Q);J.run(H,B,V);function V(N,R,O){let C=R||H;if(N)F(N);else if(U)U(C);else I(Y,"`done` is defined if `resolve` is not"),Y(void 0,C,O)}}}runSync(H,Q){let Y=!1,J;return this.run(H,Q,w),rD("runSync","run",Y),I(J,"we either bailed on an error or have a tree"),J;function w(U,F){$U(U),J=F,Y=!0}}stringify(H,Q){this.freeze();let Y=cY(Q),J=this.compiler||this.Compiler;return xU("stringify",J),pD(H),J(H,Y)}use(H,...Q){let Y=this.attachers,J=this.namespace;if(EU("use",this.frozen),H===null||H===void 0);else if(typeof H==="function")B(H,Q);else if(typeof H==="object")if(Array.isArray(H))F(H);else U(H);else throw TypeError("Expected usable value, not `"+H+"`");return this;function w(V){if(typeof V==="function")B(V,[]);else if(typeof V==="object")if(Array.isArray(V)){let[N,...R]=V;B(N,R)}else U(V);else throw TypeError("Expected usable value, not `"+V+"`")}function U(V){if(!("plugins"in V)&&!("settings"in V))throw 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");if(F(V.plugins),V.settings)J.settings=sY.default(!0,J.settings,V.settings)}function F(V){let N=-1;if(V===null||V===void 0);else if(Array.isArray(V))while(++N<V.length){let R=V[N];w(R)}else throw TypeError("Expected a list of plugins, not `"+V+"`")}function B(V,N){let R=-1,O=-1;while(++R<Y.length)if(Y[R][0]===V){O=R;break}if(O===-1)Y.push([V,...N]);else if(N.length>0){let[C,...$]=N,_=Y[O][1];if(UX(_)&&UX(C))C=sY.default(!0,_,C);Y[O]=[V,C,...$]}}}};yU=new IU().freeze()});var dD=l(()=>{iD()});function SU(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}function eD(H){O7=H}function E0(H,Q=""){let Y=typeof H=="string"?H:H.source,J={replace:(w,U)=>{let F=typeof U=="string"?U:U.source;return F=F.replace(P2.caret,"$1"),Y=Y.replace(w,F),J},getRegex:()=>new RegExp(Y,Q)};return J}function j6(H,Q){if(Q){if(P2.escapeTest.test(H))return H.replace(P2.escapeReplace,sD)}else if(P2.escapeTestNoEncode.test(H))return H.replace(P2.escapeReplaceNoEncode,sD);return H}function nD(H){try{H=encodeURI(H).replace(P2.percentDecode,"%")}catch{return null}return H}function oD(H,Q){let Y=H.replace(P2.findPipe,(U,F,B)=>{let V=!1,N=F;for(;--N>=0&&B[N]==="\\";)V=!V;return V?"|":" |"}),J=Y.split(P2.splitPipe),w=0;if(J[0].trim()||J.shift(),J.length>0&&!J.at(-1)?.trim()&&J.pop(),Q)if(J.length>Q)J.splice(Q);else for(;J.length<Q;)J.push("");for(;w<J.length;w++)J[w]=J[w].trim().replace(P2.slashPipe,"|");return J}function zX(H,Q,Y){let J=H.length;if(J===0)return"";let w=0;for(;w<J;){let U=H.charAt(J-w-1);if(U===Q&&!Y)w++;else if(U!==Q&&Y)w++;else break}return H.slice(0,J-w)}function Yr(H,Q){if(H.indexOf(Q[1])===-1)return-1;let Y=0;for(let J=0;J<H.length;J++)if(H[J]==="\\")J++;else if(H[J]===Q[0])Y++;else if(H[J]===Q[1]&&(Y--,Y<0))return J;return Y>0?-2:-1}function Jr(H,Q=0){let Y=Q,J="";for(let w of H)if(w==="\t"){let U=4-Y%4;J+=" ".repeat(U),Y+=U}else J+=w,Y++;return J}function tD(H,Q,Y,J,w){let U=Q.href,F=Q.title||null,B=H[1].replace(w.other.outputLinkReplace,"$1");J.state.inLink=!0;let V={type:H[0].charAt(0)==="!"?"image":"link",raw:Y,href:U,title:F,text:B,tokens:J.inlineTokens(B)};return J.state.inLink=!1,V}function Kr(H,Q,Y){let J=H.match(Y.other.indentCodeCompensation);if(J===null)return Q;let w=J[1];return Q.split(`
|
|
284
|
+
`).map((U)=>{let F=U.match(Y.other.beginningSpace);if(F===null)return U;let[B]=F;return B.length>=w.length?U.slice(w.length):U}).join(`
|
|
285
|
+
`)}function l0(H,Q){return R7.parse(H,Q)}var O7,j7,Cp,P2,bp,$p,gp,RX,Gp,TU,Hh,Zh,Dp,AU,hp,mU,_p,xp,HJ="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|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",uU,Ep,Xh,Ip,kU,aD,yp,vp,Sp,Tp,Qh,Ap,a8,ZJ,fU,mp,qh,up,kp,fp,Yh,lp,pp,Jh="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",rp,ip,dp,ap,cp="^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)",sp,np,op,tp,ep,oY,Hr,Kh,wh,Zr,cD,lU,Xr,vU,Qr,nY,VX,qr,sD=(H)=>qr[H],tY=class{options;rules;lexer;constructor(H){this.options=H||O7}space(H){let Q=this.rules.block.newline.exec(H);if(Q&&Q[0].length>0)return{type:"space",raw:Q[0]}}code(H){let Q=this.rules.block.code.exec(H);if(Q){let Y=Q[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:Q[0],codeBlockStyle:"indented",text:this.options.pedantic?Y:zX(Y,`
|
|
286
|
+
`)}}}fences(H){let Q=this.rules.block.fences.exec(H);if(Q){let Y=Q[0],J=Kr(Y,Q[3]||"",this.rules);return{type:"code",raw:Y,lang:Q[2]?Q[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):Q[2],text:J}}}heading(H){let Q=this.rules.block.heading.exec(H);if(Q){let Y=Q[2].trim();if(this.rules.other.endingHash.test(Y)){let J=zX(Y,"#");(this.options.pedantic||!J||this.rules.other.endingSpaceChar.test(J))&&(Y=J.trim())}return{type:"heading",raw:Q[0],depth:Q[1].length,text:Y,tokens:this.lexer.inline(Y)}}}hr(H){let Q=this.rules.block.hr.exec(H);if(Q)return{type:"hr",raw:zX(Q[0],`
|
|
287
|
+
`)}}blockquote(H){let Q=this.rules.block.blockquote.exec(H);if(Q){let Y=zX(Q[0],`
|
|
288
|
+
`).split(`
|
|
289
|
+
`),J="",w="",U=[];for(;Y.length>0;){let F=!1,B=[],V;for(V=0;V<Y.length;V++)if(this.rules.other.blockquoteStart.test(Y[V]))B.push(Y[V]),F=!0;else if(!F)B.push(Y[V]);else break;Y=Y.slice(V);let N=B.join(`
|
|
290
|
+
`),R=N.replace(this.rules.other.blockquoteSetextReplace,`
|
|
291
|
+
$1`).replace(this.rules.other.blockquoteSetextReplace2,"");J=J?`${J}
|
|
292
|
+
${N}`:N,w=w?`${w}
|
|
293
|
+
${R}`:R;let O=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(R,U,!0),this.lexer.state.top=O,Y.length===0)break;let C=U.at(-1);if(C?.type==="code")break;if(C?.type==="blockquote"){let $=C,_=$.raw+`
|
|
294
|
+
`+Y.join(`
|
|
295
|
+
`),v=this.blockquote(_);U[U.length-1]=v,J=J.substring(0,J.length-$.raw.length)+v.raw,w=w.substring(0,w.length-$.text.length)+v.text;break}else if(C?.type==="list"){let $=C,_=$.raw+`
|
|
296
|
+
`+Y.join(`
|
|
297
|
+
`),v=this.list(_);U[U.length-1]=v,J=J.substring(0,J.length-C.raw.length)+v.raw,w=w.substring(0,w.length-$.raw.length)+v.raw,Y=_.substring(U.at(-1).raw.length).split(`
|
|
298
|
+
`);continue}}return{type:"blockquote",raw:J,tokens:U,text:w}}}list(H){let Q=this.rules.block.list.exec(H);if(Q){let Y=Q[1].trim(),J=Y.length>1,w={type:"list",raw:"",ordered:J,start:J?+Y.slice(0,-1):"",loose:!1,items:[]};Y=J?`\\d{1,9}\\${Y.slice(-1)}`:`\\${Y}`,this.options.pedantic&&(Y=J?Y:"[*+-]");let U=this.rules.other.listItemRegex(Y),F=!1;for(;H;){let V=!1,N="",R="";if(!(Q=U.exec(H))||this.rules.block.hr.test(H))break;N=Q[0],H=H.substring(N.length);let O=Jr(Q[2].split(`
|
|
299
|
+
`,1)[0],Q[1].length),C=H.split(`
|
|
300
|
+
`,1)[0],$=!O.trim(),_=0;if(this.options.pedantic?(_=2,R=O.trimStart()):$?_=Q[1].length+1:(_=O.search(this.rules.other.nonSpaceChar),_=_>4?1:_,R=O.slice(_),_+=Q[1].length),$&&this.rules.other.blankLine.test(C)&&(N+=C+`
|
|
301
|
+
`,H=H.substring(C.length+1),V=!0),!V){let v=this.rules.other.nextBulletRegex(_),p=this.rules.other.hrRegex(_),m=this.rules.other.fencesBeginRegex(_),Z1=this.rules.other.headingBeginRegex(_),t=this.rules.other.htmlBeginRegex(_),U1=this.rules.other.blockquoteBeginRegex(_);for(;H;){let B1=H.split(`
|
|
302
|
+
`,1)[0],c;if(C=B1,this.options.pedantic?(C=C.replace(this.rules.other.listReplaceNesting," "),c=C):c=C.replace(this.rules.other.tabCharGlobal," "),m.test(C)||Z1.test(C)||t.test(C)||U1.test(C)||v.test(C)||p.test(C))break;if(c.search(this.rules.other.nonSpaceChar)>=_||!C.trim())R+=`
|
|
303
|
+
`+c.slice(_);else{if($||O.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||m.test(O)||Z1.test(O)||p.test(O))break;R+=`
|
|
304
|
+
`+C}$=!C.trim(),N+=B1+`
|
|
305
|
+
`,H=H.substring(B1.length+1),O=c.slice(_)}}w.loose||(F?w.loose=!0:this.rules.other.doubleBlankLine.test(N)&&(F=!0)),w.items.push({type:"list_item",raw:N,task:!!this.options.gfm&&this.rules.other.listIsTask.test(R),loose:!1,text:R,tokens:[]}),w.raw+=N}let B=w.items.at(-1);if(B)B.raw=B.raw.trimEnd(),B.text=B.text.trimEnd();else return;w.raw=w.raw.trimEnd();for(let V of w.items){if(this.lexer.state.top=!1,V.tokens=this.lexer.blockTokens(V.text,[]),V.task){if(V.text=V.text.replace(this.rules.other.listReplaceTask,""),V.tokens[0]?.type==="text"||V.tokens[0]?.type==="paragraph"){V.tokens[0].raw=V.tokens[0].raw.replace(this.rules.other.listReplaceTask,""),V.tokens[0].text=V.tokens[0].text.replace(this.rules.other.listReplaceTask,"");for(let R=this.lexer.inlineQueue.length-1;R>=0;R--)if(this.rules.other.listIsTask.test(this.lexer.inlineQueue[R].src)){this.lexer.inlineQueue[R].src=this.lexer.inlineQueue[R].src.replace(this.rules.other.listReplaceTask,"");break}}let N=this.rules.other.listTaskCheckbox.exec(V.raw);if(N){let R={type:"checkbox",raw:N[0]+" ",checked:N[0]!=="[ ]"};V.checked=R.checked,w.loose?V.tokens[0]&&["paragraph","text"].includes(V.tokens[0].type)&&"tokens"in V.tokens[0]&&V.tokens[0].tokens?(V.tokens[0].raw=R.raw+V.tokens[0].raw,V.tokens[0].text=R.raw+V.tokens[0].text,V.tokens[0].tokens.unshift(R)):V.tokens.unshift({type:"paragraph",raw:R.raw,text:R.raw,tokens:[R]}):V.tokens.unshift(R)}}if(!w.loose){let N=V.tokens.filter((O)=>O.type==="space"),R=N.length>0&&N.some((O)=>this.rules.other.anyLine.test(O.raw));w.loose=R}}if(w.loose)for(let V of w.items){V.loose=!0;for(let N of V.tokens)N.type==="text"&&(N.type="paragraph")}return w}}html(H){let Q=this.rules.block.html.exec(H);if(Q)return{type:"html",block:!0,raw:Q[0],pre:Q[1]==="pre"||Q[1]==="script"||Q[1]==="style",text:Q[0]}}def(H){let Q=this.rules.block.def.exec(H);if(Q){let Y=Q[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),J=Q[2]?Q[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",w=Q[3]?Q[3].substring(1,Q[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):Q[3];return{type:"def",tag:Y,raw:Q[0],href:J,title:w}}}table(H){let Q=this.rules.block.table.exec(H);if(!Q||!this.rules.other.tableDelimiter.test(Q[2]))return;let Y=oD(Q[1]),J=Q[2].replace(this.rules.other.tableAlignChars,"").split("|"),w=Q[3]?.trim()?Q[3].replace(this.rules.other.tableRowBlankLine,"").split(`
|
|
306
|
+
`):[],U={type:"table",raw:Q[0],header:[],align:[],rows:[]};if(Y.length===J.length){for(let F of J)this.rules.other.tableAlignRight.test(F)?U.align.push("right"):this.rules.other.tableAlignCenter.test(F)?U.align.push("center"):this.rules.other.tableAlignLeft.test(F)?U.align.push("left"):U.align.push(null);for(let F=0;F<Y.length;F++)U.header.push({text:Y[F],tokens:this.lexer.inline(Y[F]),header:!0,align:U.align[F]});for(let F of w)U.rows.push(oD(F,U.header.length).map((B,V)=>({text:B,tokens:this.lexer.inline(B),header:!1,align:U.align[V]})));return U}}lheading(H){let Q=this.rules.block.lheading.exec(H);if(Q){let Y=Q[1].trim();return{type:"heading",raw:Q[0],depth:Q[2].charAt(0)==="="?1:2,text:Y,tokens:this.lexer.inline(Y)}}}paragraph(H){let Q=this.rules.block.paragraph.exec(H);if(Q){let Y=Q[1].charAt(Q[1].length-1)===`
|
|
307
|
+
`?Q[1].slice(0,-1):Q[1];return{type:"paragraph",raw:Q[0],text:Y,tokens:this.lexer.inline(Y)}}}text(H){let Q=this.rules.block.text.exec(H);if(Q)return{type:"text",raw:Q[0],text:Q[0],tokens:this.lexer.inline(Q[0])}}escape(H){let Q=this.rules.inline.escape.exec(H);if(Q)return{type:"escape",raw:Q[0],text:Q[1]}}tag(H){let Q=this.rules.inline.tag.exec(H);if(Q)return!this.lexer.state.inLink&&this.rules.other.startATag.test(Q[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(Q[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(Q[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(Q[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:Q[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:Q[0]}}link(H){let Q=this.rules.inline.link.exec(H);if(Q){let Y=Q[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(Y)){if(!this.rules.other.endAngleBracket.test(Y))return;let U=zX(Y.slice(0,-1),"\\");if((Y.length-U.length)%2===0)return}else{let U=Yr(Q[2],"()");if(U===-2)return;if(U>-1){let F=(Q[0].indexOf("!")===0?5:4)+Q[1].length+U;Q[2]=Q[2].substring(0,U),Q[0]=Q[0].substring(0,F).trim(),Q[3]=""}}let J=Q[2],w="";if(this.options.pedantic){let U=this.rules.other.pedanticHrefTitle.exec(J);U&&(J=U[1],w=U[3])}else w=Q[3]?Q[3].slice(1,-1):"";return J=J.trim(),this.rules.other.startAngleBracket.test(J)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(Y)?J=J.slice(1):J=J.slice(1,-1)),tD(Q,{href:J&&J.replace(this.rules.inline.anyPunctuation,"$1"),title:w&&w.replace(this.rules.inline.anyPunctuation,"$1")},Q[0],this.lexer,this.rules)}}reflink(H,Q){let Y;if((Y=this.rules.inline.reflink.exec(H))||(Y=this.rules.inline.nolink.exec(H))){let J=(Y[2]||Y[1]).replace(this.rules.other.multipleSpaceGlobal," "),w=Q[J.toLowerCase()];if(!w){let U=Y[0].charAt(0);return{type:"text",raw:U,text:U}}return tD(Y,w,Y[0],this.lexer,this.rules)}}emStrong(H,Q,Y=""){let J=this.rules.inline.emStrongLDelim.exec(H);if(!J||!J[1]&&!J[2]&&!J[3]&&!J[4]||J[4]&&Y.match(this.rules.other.unicodeAlphaNumeric))return;if(!(J[1]||J[3])||!Y||this.rules.inline.punctuation.exec(Y)){let w=[...J[0]].length-1,U,F,B=w,V=0,N=J[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(N.lastIndex=0,Q=Q.slice(-1*H.length+w);(J=N.exec(Q))!==null;){if(U=J[1]||J[2]||J[3]||J[4]||J[5]||J[6],!U)continue;if(F=[...U].length,J[3]||J[4]){B+=F;continue}else if((J[5]||J[6])&&w%3&&!((w+F)%3)){V+=F;continue}if(B-=F,B>0)continue;F=Math.min(F,F+B+V);let R=[...J[0]][0].length,O=H.slice(0,w+J.index+R+F);if(Math.min(w,F)%2){let $=O.slice(1,-1);return{type:"em",raw:O,text:$,tokens:this.lexer.inlineTokens($)}}let C=O.slice(2,-2);return{type:"strong",raw:O,text:C,tokens:this.lexer.inlineTokens(C)}}}}codespan(H){let Q=this.rules.inline.code.exec(H);if(Q){let Y=Q[2].replace(this.rules.other.newLineCharGlobal," "),J=this.rules.other.nonSpaceChar.test(Y),w=this.rules.other.startingSpaceChar.test(Y)&&this.rules.other.endingSpaceChar.test(Y);return J&&w&&(Y=Y.substring(1,Y.length-1)),{type:"codespan",raw:Q[0],text:Y}}}br(H){let Q=this.rules.inline.br.exec(H);if(Q)return{type:"br",raw:Q[0]}}del(H,Q,Y=""){let J=this.rules.inline.delLDelim.exec(H);if(!J)return;if(!J[1]||!Y||this.rules.inline.punctuation.exec(Y)){let w=[...J[0]].length-1,U,F,B=w,V=this.rules.inline.delRDelim;for(V.lastIndex=0,Q=Q.slice(-1*H.length+w);(J=V.exec(Q))!==null;){if(U=J[1]||J[2]||J[3]||J[4]||J[5]||J[6],!U||(F=[...U].length,F!==w))continue;if(J[3]||J[4]){B+=F;continue}if(B-=F,B>0)continue;F=Math.min(F,F+B);let N=[...J[0]][0].length,R=H.slice(0,w+J.index+N+F),O=R.slice(w,-w);return{type:"del",raw:R,text:O,tokens:this.lexer.inlineTokens(O)}}}}autolink(H){let Q=this.rules.inline.autolink.exec(H);if(Q){let Y,J;return Q[2]==="@"?(Y=Q[1],J="mailto:"+Y):(Y=Q[1],J=Y),{type:"link",raw:Q[0],text:Y,href:J,tokens:[{type:"text",raw:Y,text:Y}]}}}url(H){let Q;if(Q=this.rules.inline.url.exec(H)){let Y,J;if(Q[2]==="@")Y=Q[0],J="mailto:"+Y;else{let w;do w=Q[0],Q[0]=this.rules.inline._backpedal.exec(Q[0])?.[0]??"";while(w!==Q[0]);Y=Q[0],Q[1]==="www."?J="http://"+Q[0]:J=Q[0]}return{type:"link",raw:Q[0],text:Y,href:J,tokens:[{type:"text",raw:Y,text:Y}]}}}inlineText(H){let Q=this.rules.inline.text.exec(H);if(Q){let Y=this.lexer.state.inRawBlock;return{type:"text",raw:Q[0],text:Q[0],escaped:Y}}}},c2=class H{tokens;options;state;inlineQueue;tokenizer;constructor(Q){this.tokens=[],this.tokens.links=Object.create(null),this.options=Q||O7,this.options.tokenizer=this.options.tokenizer||new tY,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let Y={other:P2,block:nY.normal,inline:VX.normal};this.options.pedantic?(Y.block=nY.pedantic,Y.inline=VX.pedantic):this.options.gfm&&(Y.block=nY.gfm,this.options.breaks?Y.inline=VX.breaks:Y.inline=VX.gfm),this.tokenizer.rules=Y}static get rules(){return{block:nY,inline:VX}}static lex(Q,Y){return new H(Y).lex(Q)}static lexInline(Q,Y){return new H(Y).inlineTokens(Q)}lex(Q){Q=Q.replace(P2.carriageReturn,`
|
|
308
|
+
`),this.blockTokens(Q,this.tokens);for(let Y=0;Y<this.inlineQueue.length;Y++){let J=this.inlineQueue[Y];this.inlineTokens(J.src,J.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(Q,Y=[],J=!1){for(this.tokenizer.lexer=this,this.options.pedantic&&(Q=Q.replace(P2.tabCharGlobal," ").replace(P2.spaceLine,""));Q;){let w;if(this.options.extensions?.block?.some((F)=>(w=F.call({lexer:this},Q,Y))?(Q=Q.substring(w.raw.length),Y.push(w),!0):!1))continue;if(w=this.tokenizer.space(Q)){Q=Q.substring(w.raw.length);let F=Y.at(-1);w.raw.length===1&&F!==void 0?F.raw+=`
|
|
309
|
+
`:Y.push(w);continue}if(w=this.tokenizer.code(Q)){Q=Q.substring(w.raw.length);let F=Y.at(-1);F?.type==="paragraph"||F?.type==="text"?(F.raw+=(F.raw.endsWith(`
|
|
310
|
+
`)?"":`
|
|
311
|
+
`)+w.raw,F.text+=`
|
|
312
|
+
`+w.text,this.inlineQueue.at(-1).src=F.text):Y.push(w);continue}if(w=this.tokenizer.fences(Q)){Q=Q.substring(w.raw.length),Y.push(w);continue}if(w=this.tokenizer.heading(Q)){Q=Q.substring(w.raw.length),Y.push(w);continue}if(w=this.tokenizer.hr(Q)){Q=Q.substring(w.raw.length),Y.push(w);continue}if(w=this.tokenizer.blockquote(Q)){Q=Q.substring(w.raw.length),Y.push(w);continue}if(w=this.tokenizer.list(Q)){Q=Q.substring(w.raw.length),Y.push(w);continue}if(w=this.tokenizer.html(Q)){Q=Q.substring(w.raw.length),Y.push(w);continue}if(w=this.tokenizer.def(Q)){Q=Q.substring(w.raw.length);let F=Y.at(-1);F?.type==="paragraph"||F?.type==="text"?(F.raw+=(F.raw.endsWith(`
|
|
313
|
+
`)?"":`
|
|
314
|
+
`)+w.raw,F.text+=`
|
|
315
|
+
`+w.raw,this.inlineQueue.at(-1).src=F.text):this.tokens.links[w.tag]||(this.tokens.links[w.tag]={href:w.href,title:w.title},Y.push(w));continue}if(w=this.tokenizer.table(Q)){Q=Q.substring(w.raw.length),Y.push(w);continue}if(w=this.tokenizer.lheading(Q)){Q=Q.substring(w.raw.length),Y.push(w);continue}let U=Q;if(this.options.extensions?.startBlock){let F=1/0,B=Q.slice(1),V;this.options.extensions.startBlock.forEach((N)=>{V=N.call({lexer:this},B),typeof V=="number"&&V>=0&&(F=Math.min(F,V))}),F<1/0&&F>=0&&(U=Q.substring(0,F+1))}if(this.state.top&&(w=this.tokenizer.paragraph(U))){let F=Y.at(-1);J&&F?.type==="paragraph"?(F.raw+=(F.raw.endsWith(`
|
|
316
|
+
`)?"":`
|
|
317
|
+
`)+w.raw,F.text+=`
|
|
318
|
+
`+w.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=F.text):Y.push(w),J=U.length!==Q.length,Q=Q.substring(w.raw.length);continue}if(w=this.tokenizer.text(Q)){Q=Q.substring(w.raw.length);let F=Y.at(-1);F?.type==="text"?(F.raw+=(F.raw.endsWith(`
|
|
319
|
+
`)?"":`
|
|
320
|
+
`)+w.raw,F.text+=`
|
|
321
|
+
`+w.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=F.text):Y.push(w);continue}if(Q){let F="Infinite loop on byte: "+Q.charCodeAt(0);if(this.options.silent){console.error(F);break}else throw Error(F)}}return this.state.top=!0,Y}inline(Q,Y=[]){return this.inlineQueue.push({src:Q,tokens:Y}),Y}inlineTokens(Q,Y=[]){this.tokenizer.lexer=this;let J=Q,w=null;if(this.tokens.links){let V=Object.keys(this.tokens.links);if(V.length>0)for(;(w=this.tokenizer.rules.inline.reflinkSearch.exec(J))!==null;)V.includes(w[0].slice(w[0].lastIndexOf("[")+1,-1))&&(J=J.slice(0,w.index)+"["+"a".repeat(w[0].length-2)+"]"+J.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(w=this.tokenizer.rules.inline.anyPunctuation.exec(J))!==null;)J=J.slice(0,w.index)+"++"+J.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let U;for(;(w=this.tokenizer.rules.inline.blockSkip.exec(J))!==null;)U=w[2]?w[2].length:0,J=J.slice(0,w.index+U)+"["+"a".repeat(w[0].length-U-2)+"]"+J.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);J=this.options.hooks?.emStrongMask?.call({lexer:this},J)??J;let F=!1,B="";for(;Q;){F||(B=""),F=!1;let V;if(this.options.extensions?.inline?.some((R)=>(V=R.call({lexer:this},Q,Y))?(Q=Q.substring(V.raw.length),Y.push(V),!0):!1))continue;if(V=this.tokenizer.escape(Q)){Q=Q.substring(V.raw.length),Y.push(V);continue}if(V=this.tokenizer.tag(Q)){Q=Q.substring(V.raw.length),Y.push(V);continue}if(V=this.tokenizer.link(Q)){Q=Q.substring(V.raw.length),Y.push(V);continue}if(V=this.tokenizer.reflink(Q,this.tokens.links)){Q=Q.substring(V.raw.length);let R=Y.at(-1);V.type==="text"&&R?.type==="text"?(R.raw+=V.raw,R.text+=V.text):Y.push(V);continue}if(V=this.tokenizer.emStrong(Q,J,B)){Q=Q.substring(V.raw.length),Y.push(V);continue}if(V=this.tokenizer.codespan(Q)){Q=Q.substring(V.raw.length),Y.push(V);continue}if(V=this.tokenizer.br(Q)){Q=Q.substring(V.raw.length),Y.push(V);continue}if(V=this.tokenizer.del(Q,J,B)){Q=Q.substring(V.raw.length),Y.push(V);continue}if(V=this.tokenizer.autolink(Q)){Q=Q.substring(V.raw.length),Y.push(V);continue}if(!this.state.inLink&&(V=this.tokenizer.url(Q))){Q=Q.substring(V.raw.length),Y.push(V);continue}let N=Q;if(this.options.extensions?.startInline){let R=1/0,O=Q.slice(1),C;this.options.extensions.startInline.forEach(($)=>{C=$.call({lexer:this},O),typeof C=="number"&&C>=0&&(R=Math.min(R,C))}),R<1/0&&R>=0&&(N=Q.substring(0,R+1))}if(V=this.tokenizer.inlineText(N)){Q=Q.substring(V.raw.length),V.raw.slice(-1)!=="_"&&(B=V.raw.slice(-1)),F=!0;let R=Y.at(-1);R?.type==="text"?(R.raw+=V.raw,R.text+=V.text):Y.push(V);continue}if(Q){let R="Infinite loop on byte: "+Q.charCodeAt(0);if(this.options.silent){console.error(R);break}else throw Error(R)}}return Y}},eY=class{options;parser;constructor(H){this.options=H||O7}space(H){return""}code({text:H,lang:Q,escaped:Y}){let J=(Q||"").match(P2.notSpaceStart)?.[0],w=H.replace(P2.endingNewline,"")+`
|
|
322
|
+
`;return J?'<pre><code class="language-'+j6(J)+'">'+(Y?w:j6(w,!0))+`</code></pre>
|
|
323
|
+
`:"<pre><code>"+(Y?w:j6(w,!0))+`</code></pre>
|
|
324
|
+
`}blockquote({tokens:H}){return`<blockquote>
|
|
325
|
+
${this.parser.parse(H)}</blockquote>
|
|
326
|
+
`}html({text:H}){return H}def(H){return""}heading({tokens:H,depth:Q}){return`<h${Q}>${this.parser.parseInline(H)}</h${Q}>
|
|
327
|
+
`}hr(H){return`<hr>
|
|
328
|
+
`}list(H){let{ordered:Q,start:Y}=H,J="";for(let F=0;F<H.items.length;F++){let B=H.items[F];J+=this.listitem(B)}let w=Q?"ol":"ul",U=Q&&Y!==1?' start="'+Y+'"':"";return"<"+w+U+`>
|
|
329
|
+
`+J+"</"+w+`>
|
|
330
|
+
`}listitem(H){return`<li>${this.parser.parse(H.tokens)}</li>
|
|
331
|
+
`}checkbox({checked:H}){return"<input "+(H?'checked="" ':"")+'disabled="" type="checkbox"> '}paragraph({tokens:H}){return`<p>${this.parser.parseInline(H)}</p>
|
|
332
|
+
`}table(H){let Q="",Y="";for(let w=0;w<H.header.length;w++)Y+=this.tablecell(H.header[w]);Q+=this.tablerow({text:Y});let J="";for(let w=0;w<H.rows.length;w++){let U=H.rows[w];Y="";for(let F=0;F<U.length;F++)Y+=this.tablecell(U[F]);J+=this.tablerow({text:Y})}return J&&(J=`<tbody>${J}</tbody>`),`<table>
|
|
333
|
+
<thead>
|
|
334
|
+
`+Q+`</thead>
|
|
335
|
+
`+J+`</table>
|
|
336
|
+
`}tablerow({text:H}){return`<tr>
|
|
337
|
+
${H}</tr>
|
|
338
|
+
`}tablecell(H){let Q=this.parser.parseInline(H.tokens),Y=H.header?"th":"td";return(H.align?`<${Y} align="${H.align}">`:`<${Y}>`)+Q+`</${Y}>
|
|
339
|
+
`}strong({tokens:H}){return`<strong>${this.parser.parseInline(H)}</strong>`}em({tokens:H}){return`<em>${this.parser.parseInline(H)}</em>`}codespan({text:H}){return`<code>${j6(H,!0)}</code>`}br(H){return"<br>"}del({tokens:H}){return`<del>${this.parser.parseInline(H)}</del>`}link({href:H,title:Q,tokens:Y}){let J=this.parser.parseInline(Y),w=nD(H);if(w===null)return J;H=w;let U='<a href="'+H+'"';return Q&&(U+=' title="'+j6(Q)+'"'),U+=">"+J+"</a>",U}image({href:H,title:Q,text:Y,tokens:J}){J&&(Y=this.parser.parseInline(J,this.parser.textRenderer));let w=nD(H);if(w===null)return j6(Y);H=w;let U=`<img src="${H}" alt="${j6(Y)}"`;return Q&&(U+=` title="${j6(Q)}"`),U+=">",U}text(H){return"tokens"in H&&H.tokens?this.parser.parseInline(H.tokens):("escaped"in H)&&H.escaped?H.text:j6(H.text)}},pU=class{strong({text:H}){return H}em({text:H}){return H}codespan({text:H}){return H}del({text:H}){return H}html({text:H}){return H}text({text:H}){return H}link({text:H}){return""+H}image({text:H}){return""+H}br(){return""}checkbox({raw:H}){return H}},I3=class H{options;renderer;textRenderer;constructor(Q){this.options=Q||O7,this.options.renderer=this.options.renderer||new eY,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new pU}static parse(Q,Y){return new H(Y).parse(Q)}static parseInline(Q,Y){return new H(Y).parseInline(Q)}parse(Q){this.renderer.parser=this;let Y="";for(let J=0;J<Q.length;J++){let w=Q[J];if(this.options.extensions?.renderers?.[w.type]){let F=w,B=this.options.extensions.renderers[F.type].call({parser:this},F);if(B!==!1||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(F.type)){Y+=B||"";continue}}let U=w;switch(U.type){case"space":{Y+=this.renderer.space(U);break}case"hr":{Y+=this.renderer.hr(U);break}case"heading":{Y+=this.renderer.heading(U);break}case"code":{Y+=this.renderer.code(U);break}case"table":{Y+=this.renderer.table(U);break}case"blockquote":{Y+=this.renderer.blockquote(U);break}case"list":{Y+=this.renderer.list(U);break}case"checkbox":{Y+=this.renderer.checkbox(U);break}case"html":{Y+=this.renderer.html(U);break}case"def":{Y+=this.renderer.def(U);break}case"paragraph":{Y+=this.renderer.paragraph(U);break}case"text":{Y+=this.renderer.text(U);break}default:{let F='Token with "'+U.type+'" type was not found.';if(this.options.silent)return console.error(F),"";throw Error(F)}}}return Y}parseInline(Q,Y=this.renderer){this.renderer.parser=this;let J="";for(let w=0;w<Q.length;w++){let U=Q[w];if(this.options.extensions?.renderers?.[U.type]){let B=this.options.extensions.renderers[U.type].call({parser:this},U);if(B!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(U.type)){J+=B||"";continue}}let F=U;switch(F.type){case"escape":{J+=Y.text(F);break}case"html":{J+=Y.html(F);break}case"link":{J+=Y.link(F);break}case"image":{J+=Y.image(F);break}case"checkbox":{J+=Y.checkbox(F);break}case"strong":{J+=Y.strong(F);break}case"em":{J+=Y.em(F);break}case"codespan":{J+=Y.codespan(F);break}case"br":{J+=Y.br(F);break}case"del":{J+=Y.del(F);break}case"text":{J+=Y.text(F);break}default:{let B='Token with "'+F.type+'" type was not found.';if(this.options.silent)return console.error(B),"";throw Error(B)}}}return J}},jX,wr=class{defaults=SU();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=I3;Renderer=eY;TextRenderer=pU;Lexer=c2;Tokenizer=tY;Hooks=jX;constructor(...H){this.use(...H)}walkTokens(H,Q){let Y=[];for(let J of H)switch(Y=Y.concat(Q.call(this,J)),J.type){case"table":{let w=J;for(let U of w.header)Y=Y.concat(this.walkTokens(U.tokens,Q));for(let U of w.rows)for(let F of U)Y=Y.concat(this.walkTokens(F.tokens,Q));break}case"list":{let w=J;Y=Y.concat(this.walkTokens(w.items,Q));break}default:{let w=J;this.defaults.extensions?.childTokens?.[w.type]?this.defaults.extensions.childTokens[w.type].forEach((U)=>{let F=w[U].flat(1/0);Y=Y.concat(this.walkTokens(F,Q))}):w.tokens&&(Y=Y.concat(this.walkTokens(w.tokens,Q)))}}return Y}use(...H){let Q=this.defaults.extensions||{renderers:{},childTokens:{}};return H.forEach((Y)=>{let J={...Y};if(J.async=this.defaults.async||J.async||!1,Y.extensions&&(Y.extensions.forEach((w)=>{if(!w.name)throw Error("extension name required");if("renderer"in w){let U=Q.renderers[w.name];U?Q.renderers[w.name]=function(...F){let B=w.renderer.apply(this,F);return B===!1&&(B=U.apply(this,F)),B}:Q.renderers[w.name]=w.renderer}if("tokenizer"in w){if(!w.level||w.level!=="block"&&w.level!=="inline")throw Error("extension level must be 'block' or 'inline'");let U=Q[w.level];U?U.unshift(w.tokenizer):Q[w.level]=[w.tokenizer],w.start&&(w.level==="block"?Q.startBlock?Q.startBlock.push(w.start):Q.startBlock=[w.start]:w.level==="inline"&&(Q.startInline?Q.startInline.push(w.start):Q.startInline=[w.start]))}"childTokens"in w&&w.childTokens&&(Q.childTokens[w.name]=w.childTokens)}),J.extensions=Q),Y.renderer){let w=this.defaults.renderer||new eY(this.defaults);for(let U in Y.renderer){if(!(U in w))throw Error(`renderer '${U}' does not exist`);if(["options","parser"].includes(U))continue;let F=U,B=Y.renderer[F],V=w[F];w[F]=(...N)=>{let R=B.apply(w,N);return R===!1&&(R=V.apply(w,N)),R||""}}J.renderer=w}if(Y.tokenizer){let w=this.defaults.tokenizer||new tY(this.defaults);for(let U in Y.tokenizer){if(!(U in w))throw Error(`tokenizer '${U}' does not exist`);if(["options","rules","lexer"].includes(U))continue;let F=U,B=Y.tokenizer[F],V=w[F];w[F]=(...N)=>{let R=B.apply(w,N);return R===!1&&(R=V.apply(w,N)),R}}J.tokenizer=w}if(Y.hooks){let w=this.defaults.hooks||new jX;for(let U in Y.hooks){if(!(U in w))throw Error(`hook '${U}' does not exist`);if(["options","block"].includes(U))continue;let F=U,B=Y.hooks[F],V=w[F];jX.passThroughHooks.has(U)?w[F]=(N)=>{if(this.defaults.async&&jX.passThroughHooksRespectAsync.has(U))return(async()=>{let O=await B.call(w,N);return V.call(w,O)})();let R=B.call(w,N);return V.call(w,R)}:w[F]=(...N)=>{if(this.defaults.async)return(async()=>{let O=await B.apply(w,N);return O===!1&&(O=await V.apply(w,N)),O})();let R=B.apply(w,N);return R===!1&&(R=V.apply(w,N)),R}}J.hooks=w}if(Y.walkTokens){let w=this.defaults.walkTokens,U=Y.walkTokens;J.walkTokens=function(F){let B=[];return B.push(U.call(this,F)),w&&(B=B.concat(w.call(this,F))),B}}this.defaults={...this.defaults,...J}}),this}setOptions(H){return this.defaults={...this.defaults,...H},this}lexer(H,Q){return c2.lex(H,Q??this.defaults)}parser(H,Q){return I3.parse(H,Q??this.defaults)}parseMarkdown(H){return(Q,Y)=>{let J={...Y},w={...this.defaults,...J},U=this.onError(!!w.silent,!!w.async);if(this.defaults.async===!0&&J.async===!1)return U(Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof Q>"u"||Q===null)return U(Error("marked(): input parameter is undefined or null"));if(typeof Q!="string")return U(Error("marked(): input parameter is of type "+Object.prototype.toString.call(Q)+", string expected"));if(w.hooks&&(w.hooks.options=w,w.hooks.block=H),w.async)return(async()=>{let F=w.hooks?await w.hooks.preprocess(Q):Q,B=await(w.hooks?await w.hooks.provideLexer(H):H?c2.lex:c2.lexInline)(F,w),V=w.hooks?await w.hooks.processAllTokens(B):B;w.walkTokens&&await Promise.all(this.walkTokens(V,w.walkTokens));let N=await(w.hooks?await w.hooks.provideParser(H):H?I3.parse:I3.parseInline)(V,w);return w.hooks?await w.hooks.postprocess(N):N})().catch(U);try{w.hooks&&(Q=w.hooks.preprocess(Q));let F=(w.hooks?w.hooks.provideLexer(H):H?c2.lex:c2.lexInline)(Q,w);w.hooks&&(F=w.hooks.processAllTokens(F)),w.walkTokens&&this.walkTokens(F,w.walkTokens);let B=(w.hooks?w.hooks.provideParser(H):H?I3.parse:I3.parseInline)(F,w);return w.hooks&&(B=w.hooks.postprocess(B)),B}catch(F){return U(F)}}}onError(H,Q){return(Y)=>{if(Y.message+=`
|
|
340
|
+
Please report this to https://github.com/markedjs/marked.`,H){let J="<p>An error occurred:</p><pre>"+j6(Y.message+"",!0)+"</pre>";return Q?Promise.resolve(J):J}if(Q)return Promise.reject(Y);throw Y}}},R7,$71,g71,G71,D71,h71,_71,x71;var Wh=l(()=>{O7=SU();j7={exec:()=>null};Cp=(()=>{try{return!!new RegExp("(?<=1)(?<!1)")}catch{return!1}})(),P2={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:(H)=>new RegExp(`^( {0,3}${H})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:(H)=>new RegExp(`^ {0,${Math.min(3,H-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:(H)=>new RegExp(`^ {0,${Math.min(3,H-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:(H)=>new RegExp(`^ {0,${Math.min(3,H-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:(H)=>new RegExp(`^ {0,${Math.min(3,H-1)}}#`),htmlBeginRegex:(H)=>new RegExp(`^ {0,${Math.min(3,H-1)}}<(?:[a-z].*>|!--)`,"i"),blockquoteBeginRegex:(H)=>new RegExp(`^ {0,${Math.min(3,H-1)}}>`)},bp=/^(?:[ \t]*(?:\n|$))+/,$p=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,gp=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,RX=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Gp=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,TU=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,Hh=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Zh=E0(Hh).replace(/bull/g,TU).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),Dp=E0(Hh).replace(/bull/g,TU).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),AU=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,hp=/^[^\n]+/,mU=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,_p=E0(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",mU).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),xp=E0(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,TU).getRegex(),uU=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Ep=E0("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$))","i").replace("comment",uU).replace("tag",HJ).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Xh=E0(AU).replace("hr",RX).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",HJ).getRegex(),Ip=E0(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Xh).getRegex(),kU={blockquote:Ip,code:$p,def:_p,fences:gp,heading:Gp,hr:RX,html:Ep,lheading:Zh,list:xp,newline:bp,paragraph:Xh,table:j7,text:hp},aD=E0("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",RX).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3}\t)[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",HJ).getRegex(),yp={...kU,lheading:Dp,table:aD,paragraph:E0(AU).replace("hr",RX).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",aD).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",HJ).getRegex()},vp={...kU,html:E0(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",uU).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:j7,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:E0(AU).replace("hr",RX).replace("heading",` *#{1,6} *[^
|
|
341
|
+
]`).replace("lheading",Zh).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Sp=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Tp=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Qh=/^( {2,}|\\)\n(?!\s*$)/,Ap=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,a8=/[\p{P}\p{S}]/u,ZJ=/[\s\p{P}\p{S}]/u,fU=/[^\s\p{P}\p{S}]/u,mp=E0(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,ZJ).getRegex(),qh=/(?!~)[\p{P}\p{S}]/u,up=/(?!~)[\s\p{P}\p{S}]/u,kp=/(?:[^\s\p{P}\p{S}]|~)/u,fp=E0(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",Cp?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),Yh=/^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/,lp=E0(Yh,"u").replace(/punct/g,a8).getRegex(),pp=E0(Yh,"u").replace(/punct/g,qh).getRegex(),rp=E0(Jh,"gu").replace(/notPunctSpace/g,fU).replace(/punctSpace/g,ZJ).replace(/punct/g,a8).getRegex(),ip=E0(Jh,"gu").replace(/notPunctSpace/g,kp).replace(/punctSpace/g,up).replace(/punct/g,qh).getRegex(),dp=E0("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,fU).replace(/punctSpace/g,ZJ).replace(/punct/g,a8).getRegex(),ap=E0(/^~~?(?:((?!~)punct)|[^\s~])/,"u").replace(/punct/g,a8).getRegex(),sp=E0(cp,"gu").replace(/notPunctSpace/g,fU).replace(/punctSpace/g,ZJ).replace(/punct/g,a8).getRegex(),np=E0(/\\(punct)/,"gu").replace(/punct/g,a8).getRegex(),op=E0(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),tp=E0(uU).replace("(?:-->|$)","-->").getRegex(),ep=E0("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",tp).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),oY=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/,Hr=E0(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label",oY).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Kh=E0(/^!?\[(label)\]\[(ref)\]/).replace("label",oY).replace("ref",mU).getRegex(),wh=E0(/^!?\[(ref)\](?:\[\])?/).replace("ref",mU).getRegex(),Zr=E0("reflink|nolink(?!\\()","g").replace("reflink",Kh).replace("nolink",wh).getRegex(),cD=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,lU={_backpedal:j7,anyPunctuation:np,autolink:op,blockSkip:fp,br:Qh,code:Tp,del:j7,delLDelim:j7,delRDelim:j7,emStrongLDelim:lp,emStrongRDelimAst:rp,emStrongRDelimUnd:dp,escape:Sp,link:Hr,nolink:wh,punctuation:mp,reflink:Kh,reflinkSearch:Zr,tag:ep,text:Ap,url:j7},Xr={...lU,link:E0(/^!?\[(label)\]\((.*?)\)/).replace("label",oY).getRegex(),reflink:E0(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",oY).getRegex()},vU={...lU,emStrongRDelimAst:ip,emStrongLDelim:pp,delLDelim:ap,delRDelim:sp,url:E0(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",cD).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:E0(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",cD).getRegex()},Qr={...vU,br:E0(Qh).replace("{2,}","*").getRegex(),text:E0(vU.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},nY={normal:kU,gfm:yp,pedantic:vp},VX={normal:lU,gfm:vU,breaks:Qr,pedantic:Xr},qr={"&":"&","<":"<",">":">",'"':""","'":"'"};jX=class{options;block;constructor(H){this.options=H||O7}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"]);static passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(H){return H}postprocess(H){return H}processAllTokens(H){return H}emStrongMask(H){return H}provideLexer(H=this.block){return H?c2.lex:c2.lexInline}provideParser(H=this.block){return H?I3.parse:I3.parseInline}},R7=new wr;l0.options=l0.setOptions=function(H){return R7.setOptions(H),l0.defaults=R7.defaults,eD(l0.defaults),l0};l0.getDefaults=SU;l0.defaults=O7;l0.use=function(...H){return R7.use(...H),l0.defaults=R7.defaults,eD(l0.defaults),l0};l0.walkTokens=function(H,Q){return R7.walkTokens(H,Q)};l0.parseInline=R7.parseInline;l0.Parser=I3;l0.parser=I3.parse;l0.Renderer=eY;l0.TextRenderer=pU;l0.Lexer=c2;l0.lexer=c2.lex;l0.Tokenizer=tY;l0.Hooks=jX;l0.parse=l0;$71=l0.options,g71=l0.setOptions,G71=l0.use,D71=l0.walkTokens,h71=l0.parseInline,_71=I3.parse,x71=c2.lex});var Fh={};M8(Fh,{HighlightedCodeBlockBody:()=>Wr});var c8,Lh,Wr=({code:H,language:Q,raw:Y,className:J,startLine:w,lineNumbers:U,...F})=>{let{shikiTheme:B}=c8.useContext(Q2),V=Bh(),[N,R]=c8.useState(Y);return c8.useEffect(()=>{if(!V){R(Y);return}let O=V.highlight({code:H,language:Q,themes:B},(C)=>{R(C)});O&&R(O)},[H,Q,B,V,Y]),Lh.jsx(rU,{className:J,language:Q,lineNumbers:U,result:N,startLine:w,...F})};var Uh=l(()=>{XJ();c8=K5(r9(),1),Lh=K5(YU(),1)});var Vh={};M8(Vh,{Mermaid:()=>iU});var zh=l(()=>{XJ()});function Br(H={}){let{immediate:Q=!1,debounceDelay:Y=Lr,rootMargin:J=Fr,idleTimeout:w=Ur}=H,[U,F]=s.useState(!1),B=s.useRef(null),V=s.useRef(null),N=s.useRef(null),R=s.useMemo(()=>($)=>{let _=Date.now();return window.setTimeout(()=>{$({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-_))})},1)},[]),O=s.useMemo(()=>typeof window<"u"&&window.requestIdleCallback?($,_)=>window.requestIdleCallback($,_):R,[R]),C=s.useMemo(()=>typeof window<"u"&&window.cancelIdleCallback?($)=>window.cancelIdleCallback($):($)=>{clearTimeout($)},[]);return s.useEffect(()=>{if(Q){F(!0);return}let $=B.current;if(!$)return;V.current&&(clearTimeout(V.current),V.current=null),N.current&&(C(N.current),N.current=null);let _=()=>{V.current&&(clearTimeout(V.current),V.current=null),N.current&&(C(N.current),N.current=null)},v=(t)=>{N.current=O((U1)=>{U1.timeRemaining()>0||U1.didTimeout?(F(!0),t.disconnect()):N.current=O(()=>{F(!0),t.disconnect()},{timeout:w/2})},{timeout:w})},p=(t)=>{_(),V.current=window.setTimeout(()=>{var U1,B1;let c=t.takeRecords();(c.length===0||(B1=(U1=c.at(-1))==null?void 0:U1.isIntersecting)!=null&&B1)&&v(t)},Y)},m=(t,U1)=>{t.isIntersecting?p(U1):_()},Z1=new IntersectionObserver((t)=>{for(let U1 of t)m(U1,Z1)},{rootMargin:J,threshold:0});return Z1.observe($),()=>{V.current&&clearTimeout(V.current),N.current&&C(N.current),Z1.disconnect()}},[Q,Y,J,w,C,O]),{shouldRender:U,containerRef:B}}function KJ(H){var Q,Y,J,w,U;let F={animation:(Q=H==null?void 0:H.animation)!=null?Q:"fadeIn",duration:(Y=H==null?void 0:H.duration)!=null?Y:150,easing:(J=H==null?void 0:H.easing)!=null?J:"ease",sep:(w=H==null?void 0:H.sep)!=null?w:"word",stagger:(U=H==null?void 0:H.stagger)!=null?U:40},B={prevContentLength:0,lastRenderCharCount:0},V=Cr++,N=()=>(R)=>{let O={count:0,newIndex:0};a4(R,"text",(C,$)=>Mr(C,$,F,B,O)),B.lastRenderCharCount=O.count,B.prevContentLength=0};return Object.defineProperty(N,"name",{value:`rehypeAnimate$${V}`}),{name:"animate",type:"animate",rehypePlugin:N,setPrevContentLength(R){B.prevContentLength=R},getLastRenderCharCount(){let R=B.lastRenderCharCount;return B.lastRenderCharCount=0,R}}}function LJ(H,Q){if(!(H!=null&&H.position||Q!=null&&Q.position))return!0;if(!(H!=null&&H.position&&(Q!=null&&Q.position)))return!1;let Y=H.position.start,J=Q.position.start,w=H.position.end,U=Q.position.end;return(Y==null?void 0:Y.line)===(J==null?void 0:J.line)&&(Y==null?void 0:Y.column)===(J==null?void 0:J.column)&&(w==null?void 0:w.line)===(U==null?void 0:U.line)&&(w==null?void 0:w.column)===(U==null?void 0:U.column)}function L5(H,Q){return H.className===Q.className&&LJ(H.node,Q.node)}function eU(H){let Q=H.replace(/^#{1,6}\s+/gm,"").replace(/(\*{1,3}|_{1,3})/g,"").replace(/`[^`]*`/g,"").replace(/\[([^\]]*)\]\([^)]*\)/g,"$1").replace(/^[\s>*\-+\d.]+/gm,"");for(let Y of Q){if(Xi.test(Y))return"rtl";if(Qi.test(Y))return"ltr"}return"ltr"}var s,u,HB,Lr=300,Fr="300px",Ur=500,Ih,Vr,zr,jr=(H)=>typeof H=="object"&&H!==null&&("type"in H)&&H.type==="element",Rr=(H)=>H.some((Q)=>jr(Q)&&zr.has(Q.tagName)),Or=(H)=>{let Q=[],Y="",J=!1;for(let w of H){let U=Ih.test(w);U!==J&&Y&&(Q.push(Y),Y=""),Y+=w,J=U}return Y&&Q.push(Y),Q},Nr=(H)=>{let Q=[],Y="";for(let J of H)Ih.test(J)?Y+=J:(Y&&(Q.push(Y),Y=""),Q.push(J));return Y&&Q.push(Y),Q},Pr=(H,Q,Y,J,w,U)=>{let F=`--sd-animation:sd-${Q};--sd-duration:${w?0:Y}ms;--sd-easing:${J}`;return U&&(F+=`;--sd-delay:${U}ms`),{type:"element",tagName:"span",properties:{"data-sd-animate":!0,style:F},children:[{type:"text",value:H}]}},Mr=(H,Q,Y,J,w)=>{let U=Q.at(-1);if(!(U&&("children"in U)))return;if(Rr(Q))return g3;let F=U,B=F.children.indexOf(H);if(B===-1)return;let V=H.value;if(!V.trim()){w.count+=V.length;return}let N=Y.sep==="char"?Nr(V):Or(V),R=J.prevContentLength,O=N.map((C)=>{let $=w.count;if(w.count+=C.length,Vr.test(C))return{type:"text",value:C};let _=R>0&&$<R,v=_?0:w.newIndex++*Y.stagger;return Pr(C,Y.animation,Y.duration,Y.easing,_,v)});return F.children.splice(B,1,...O),B+O.length},Cr=0,yh,vh=()=>s.useContext(yh),ZB=(...H)=>qU(HU(H)),br=(H,Q)=>{if(!H||!Q)return Q;let Y=`${H}:`;return Q.split(/\s+/).filter(Boolean).map((J)=>J.startsWith(Y)?J:`${H}:${J}`).join(" ")},$r=(H)=>H?(...Q)=>br(H,qU(HU(Q))):ZB,s8=(H,Q,Y)=>{let J=typeof Q=="string"&&Y.startsWith("text/csv")?"\uFEFF":"",w=typeof Q=="string"?new Blob([J+Q],{type:Y}):Q,U=URL.createObjectURL(w),F=document.createElement("a");F.href=U,F.download=H,document.body.appendChild(F),F.click(),document.body.removeChild(F),URL.revokeObjectURL(U)},aU,M0=()=>s.useContext(aU),gr,Gr=(H)=>{let Q={};for(let Y of H.split(";")){let J=Y.indexOf(":");if(J>0){let w=Y.slice(0,J).trim(),U=Y.slice(J+1).trim();w&&U&&(Q[w]=U)}}return Q},rU,Sh=({className:H,language:Q,style:Y,isIncomplete:J,...w})=>{let U=M0();return u.jsx("div",{className:U("my-4 flex w-full flex-col gap-2 rounded-xl border border-border bg-sidebar p-2",H),"data-incomplete":J||void 0,"data-language":Q,"data-streamdown":"code-block",style:{contentVisibility:"auto",containIntrinsicSize:"auto 200px",...Y},...w})},Th,Ah=()=>s.useContext(Th),mh=({language:H})=>{let Q=M0();return u.jsx("div",{className:Q("flex h-8 items-center text-muted-foreground text-xs"),"data-language":H,"data-streamdown":"code-block-header",children:u.jsx("span",{className:Q("ml-1 font-mono lowercase"),children:H})})},Dr=(H)=>{let Q=H.length;for(;Q>0&&H[Q-1]===`
|
|
342
|
+
`;)Q--;return H.slice(0,Q)},hr,uh=({code:H,language:Q,className:Y,children:J,isIncomplete:w=!1,startLine:U,lineNumbers:F,...B})=>{let V=M0(),N=s.useMemo(()=>Dr(H),[H]),R=s.useMemo(()=>({bg:"transparent",fg:"inherit",tokens:N.split(`
|
|
343
|
+
`).map((O)=>[{content:O,color:"inherit",bgColor:"transparent",htmlStyle:{},offset:0}])}),[N]);return u.jsx(Th.Provider,{value:{code:H},children:u.jsxs(Sh,{isIncomplete:w,language:Q,children:[u.jsx(mh,{language:Q}),J?u.jsx("div",{className:V("pointer-events-none sticky top-2 z-10 -mt-10 flex h-8 items-center justify-end"),children:u.jsx("div",{className:V("pointer-events-auto flex shrink-0 items-center gap-2 rounded-md border border-sidebar bg-sidebar/80 px-1.5 py-1 supports-[backdrop-filter]:bg-sidebar/70 supports-[backdrop-filter]:backdrop-blur"),"data-streamdown":"code-block-actions",children:J})}):null,u.jsx(s.Suspense,{fallback:u.jsx(rU,{className:Y,language:Q,lineNumbers:F,result:R,startLine:U,...B}),children:u.jsx(hr,{className:Y,code:N,language:Q,lineNumbers:F,raw:R,startLine:U,...B})})]})})},_r=(H)=>u.jsx("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...H,children:u.jsx("path",{clipRule:"evenodd",d:"M15.5607 3.99999L15.0303 4.53032L6.23744 13.3232C5.55403 14.0066 4.44599 14.0066 3.76257 13.3232L4.2929 12.7929L3.76257 13.3232L0.969676 10.5303L0.439346 9.99999L1.50001 8.93933L2.03034 9.46966L4.82323 12.2626C4.92086 12.3602 5.07915 12.3602 5.17678 12.2626L13.9697 3.46966L14.5 2.93933L15.5607 3.99999Z",fill:"currentColor",fillRule:"evenodd"})}),xr=(H)=>u.jsx("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...H,children:u.jsx("path",{clipRule:"evenodd",d:"M2.75 0.5C1.7835 0.5 1 1.2835 1 2.25V9.75C1 10.7165 1.7835 11.5 2.75 11.5H3.75H4.5V10H3.75H2.75C2.61193 10 2.5 9.88807 2.5 9.75V2.25C2.5 2.11193 2.61193 2 2.75 2H8.25C8.38807 2 8.5 2.11193 8.5 2.25V3H10V2.25C10 1.2835 9.2165 0.5 8.25 0.5H2.75ZM7.75 4.5C6.7835 4.5 6 5.2835 6 6.25V13.75C6 14.7165 6.7835 15.5 7.75 15.5H13.25C14.2165 15.5 15 14.7165 15 13.75V6.25C15 5.2835 14.2165 4.5 13.25 4.5H7.75ZM7.5 6.25C7.5 6.11193 7.61193 6 7.75 6H13.25C13.3881 6 13.5 6.11193 13.5 6.25V13.75C13.5 13.8881 13.3881 14 13.25 14H7.75C7.61193 14 7.5 13.8881 7.5 13.75V6.25Z",fill:"currentColor",fillRule:"evenodd"})}),Er=(H)=>u.jsx("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...H,children:u.jsx("path",{clipRule:"evenodd",d:"M8.75 1V1.75V8.68934L10.7197 6.71967L11.25 6.18934L12.3107 7.25L11.7803 7.78033L8.70711 10.8536C8.31658 11.2441 7.68342 11.2441 7.29289 10.8536L4.21967 7.78033L3.68934 7.25L4.75 6.18934L5.28033 6.71967L7.25 8.68934V1.75V1H8.75ZM13.5 9.25V13.5H2.5V9.25V8.5H1V9.25V14C1 14.5523 1.44771 15 2 15H14C14.5523 15 15 14.5523 15 14V9.25V8.5H13.5V9.25Z",fill:"currentColor",fillRule:"evenodd"})}),Ir=(H)=>u.jsxs("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...H,children:[u.jsx("path",{d:"M8 0V4",stroke:"currentColor",strokeWidth:"1.5"}),u.jsx("path",{d:"M8 16V12",opacity:"0.5",stroke:"currentColor",strokeWidth:"1.5"}),u.jsx("path",{d:"M3.29773 1.52783L5.64887 4.7639",opacity:"0.9",stroke:"currentColor",strokeWidth:"1.5"}),u.jsx("path",{d:"M12.7023 1.52783L10.3511 4.7639",opacity:"0.1",stroke:"currentColor",strokeWidth:"1.5"}),u.jsx("path",{d:"M12.7023 14.472L10.3511 11.236",opacity:"0.4",stroke:"currentColor",strokeWidth:"1.5"}),u.jsx("path",{d:"M3.29773 14.472L5.64887 11.236",opacity:"0.6",stroke:"currentColor",strokeWidth:"1.5"}),u.jsx("path",{d:"M15.6085 5.52783L11.8043 6.7639",opacity:"0.2",stroke:"currentColor",strokeWidth:"1.5"}),u.jsx("path",{d:"M0.391602 10.472L4.19583 9.23598",opacity:"0.7",stroke:"currentColor",strokeWidth:"1.5"}),u.jsx("path",{d:"M15.6085 10.4722L11.8043 9.2361",opacity:"0.3",stroke:"currentColor",strokeWidth:"1.5"}),u.jsx("path",{d:"M0.391602 5.52783L4.19583 6.7639",opacity:"0.8",stroke:"currentColor",strokeWidth:"1.5"})]}),yr=(H)=>u.jsx("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...H,children:u.jsx("path",{clipRule:"evenodd",d:"M1 5.25V6H2.5V5.25V2.5H5.25H6V1H5.25H2C1.44772 1 1 1.44772 1 2V5.25ZM5.25 14.9994H6V13.4994H5.25H2.5V10.7494V9.99939H1V10.7494V13.9994C1 14.5517 1.44772 14.9994 2 14.9994H5.25ZM15 10V10.75V14C15 14.5523 14.5523 15 14 15H10.75H10V13.5H10.75H13.5V10.75V10H15ZM10.75 1H10V2.5H10.75H13.5V5.25V6H15V5.25V2C15 1.44772 14.5523 1 14 1H10.75Z",fill:"currentColor",fillRule:"evenodd"})}),vr=(H)=>u.jsx("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...H,children:u.jsx("path",{clipRule:"evenodd",d:"M13.5 8C13.5 4.96643 11.0257 2.5 7.96452 2.5C5.42843 2.5 3.29365 4.19393 2.63724 6.5H5.25H6V8H5.25H0.75C0.335787 8 0 7.66421 0 7.25V2.75V2H1.5V2.75V5.23347C2.57851 2.74164 5.06835 1 7.96452 1C11.8461 1 15 4.13001 15 8C15 11.87 11.8461 15 7.96452 15C5.62368 15 3.54872 13.8617 2.27046 12.1122L1.828 11.5066L3.03915 10.6217L3.48161 11.2273C4.48831 12.6051 6.12055 13.5 7.96452 13.5C11.0257 13.5 13.5 11.0336 13.5 8Z",fill:"currentColor",fillRule:"evenodd"})}),Sr=(H)=>u.jsx("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...H,children:u.jsx("path",{clipRule:"evenodd",d:"M12.4697 13.5303L13 14.0607L14.0607 13L13.5303 12.4697L9.06065 7.99999L13.5303 3.53032L14.0607 2.99999L13 1.93933L12.4697 2.46966L7.99999 6.93933L3.53032 2.46966L2.99999 1.93933L1.93933 2.99999L2.46966 3.53032L6.93933 7.99999L2.46966 12.4697L1.93933 13L2.99999 14.0607L3.53032 13.5303L7.99999 9.06065L12.4697 13.5303Z",fill:"currentColor",fillRule:"evenodd"})}),Tr=(H)=>u.jsx("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...H,children:u.jsx("path",{clipRule:"evenodd",d:"M13.5 10.25V13.25C13.5 13.3881 13.3881 13.5 13.25 13.5H2.75C2.61193 13.5 2.5 13.3881 2.5 13.25L2.5 2.75C2.5 2.61193 2.61193 2.5 2.75 2.5H5.75H6.5V1H5.75H2.75C1.7835 1 1 1.7835 1 2.75V13.25C1 14.2165 1.7835 15 2.75 15H13.25C14.2165 15 15 14.2165 15 13.25V10.25V9.5H13.5V10.25ZM9 1H9.75H14.2495C14.6637 1 14.9995 1.33579 14.9995 1.75V6.25V7H13.4995V6.25V3.56066L8.53033 8.52978L8 9.06011L6.93934 7.99945L7.46967 7.46912L12.4388 2.5H9.75H9V1Z",fill:"currentColor",fillRule:"evenodd"})}),Ar=(H)=>u.jsx("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...H,children:u.jsx("path",{clipRule:"evenodd",d:"M1.5 6.5C1.5 3.73858 3.73858 1.5 6.5 1.5C9.26142 1.5 11.5 3.73858 11.5 6.5C11.5 9.26142 9.26142 11.5 6.5 11.5C3.73858 11.5 1.5 9.26142 1.5 6.5ZM6.5 0C2.91015 0 0 2.91015 0 6.5C0 10.0899 2.91015 13 6.5 13C8.02469 13 9.42677 12.475 10.5353 11.596L13.9697 15.0303L14.5 15.5607L15.5607 14.5L15.0303 13.9697L11.596 10.5353C12.475 9.42677 13 8.02469 13 6.5C13 2.91015 10.0899 0 6.5 0ZM4.125 5.875H4.75H5.875V4.75V4.125H7.125V4.75V5.875H8.25H8.875V7.125H8.25H7.125V8.25V8.875H5.875V8.25V7.125H4.75H4.125V5.875Z",fill:"currentColor",fillRule:"evenodd"})}),mr=(H)=>u.jsx("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...H,children:u.jsx("path",{clipRule:"evenodd",d:"M1.5 6.5C1.5 3.73858 3.73858 1.5 6.5 1.5C9.26142 1.5 11.5 3.73858 11.5 6.5C11.5 9.26142 9.26142 11.5 6.5 11.5C3.73858 11.5 1.5 9.26142 1.5 6.5ZM6.5 0C2.91015 0 0 2.91015 0 6.5C0 10.0899 2.91015 13 6.5 13C8.02469 13 9.42677 12.475 10.5353 11.596L13.9697 15.0303L14.5 15.5607L15.5607 14.5L15.0303 13.9697L11.596 10.5353C12.475 9.42677 13 8.02469 13 6.5C13 2.91015 10.0899 0 6.5 0ZM4.125 5.875H4.75H8.25H8.875V7.125H8.25H4.75H4.125V5.875Z",fill:"currentColor",fillRule:"evenodd"})}),OX,kh,ur=(H,Q)=>{if(H===Q)return!0;if(!(H&&Q))return H===Q;let Y=Object.keys(H),J=Object.keys(Q);return Y.length!==J.length?!1:Y.every((w)=>H[w]===Q[w])},jh=({icons:H,children:Q})=>{let Y=s.useRef(H),J=s.useRef(H?{...OX,...H}:OX);ur(Y.current,H)||(Y.current=H,J.current=H?{...OX,...H}:OX);let w=J.current;return u.jsx(kh.Provider,{value:w,children:Q})},y3=()=>s.useContext(kh),XB,cU,Z9=()=>s.useContext(cU),sU=({onCopy:H,onError:Q,timeout:Y=2000,children:J,className:w,code:U,...F})=>{let B=M0(),[V,N]=s.useState(!1),R=s.useRef(0),{code:O}=Ah(),{isAnimating:C}=s.useContext(Q2),$=Z9(),_=U!=null?U:O,v=async()=>{var Z1;if(typeof window>"u"||!((Z1=navigator==null?void 0:navigator.clipboard)!=null&&Z1.writeText)){Q==null||Q(Error("Clipboard API not available"));return}try{V||(await navigator.clipboard.writeText(_),N(!0),H==null||H(),R.current=window.setTimeout(()=>N(!1),Y))}catch(t){Q==null||Q(t)}};s.useEffect(()=>()=>{window.clearTimeout(R.current)},[]);let p=y3(),m=V?p.CheckIcon:p.CopyIcon;return u.jsx("button",{className:B("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",w),"data-streamdown":"code-block-copy-button",disabled:C,onClick:v,title:$.copyCode,type:"button",...F,children:J!=null?J:u.jsx(m,{size:14})})},Rh,fh=({onDownload:H,onError:Q,language:Y,children:J,className:w,code:U,...F})=>{let B=M0(),{code:V}=Ah(),{isAnimating:N}=s.useContext(Q2),R=Z9(),O=y3(),C=U!=null?U:V,$=`file.${Y&&Y in Rh?Rh[Y]:"txt"}`,_="text/plain",v=()=>{try{s8($,C,_),H==null||H()}catch(p){Q==null||Q(p)}};return u.jsx("button",{className:B("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",w),"data-streamdown":"code-block-download-button",disabled:N,onClick:v,title:R.downloadFile,type:"button",...F,children:J!=null?J:u.jsx(O.DownloadIcon,{size:14})})},nU=()=>{let{Loader2Icon:H}=y3(),Q=M0();return u.jsxs("div",{className:Q("w-full divide-y divide-border overflow-hidden rounded-xl border border-border"),children:[u.jsx("div",{className:Q("h-[46px] w-full bg-muted/80")}),u.jsx("div",{className:Q("flex w-full items-center justify-center p-4"),children:u.jsx(H,{className:Q("size-4 animate-spin")})})]})},kr,fr=({node:H,className:Q,src:Y,alt:J,onLoad:w,onError:U,...F})=>{let{DownloadIcon:B}=y3(),V=M0(),N=s.useRef(null),[R,O]=s.useState(!1),[C,$]=s.useState(!1),_=Z9(),v=F.width!=null||F.height!=null,p=(R||v)&&!C,m=C&&!v;s.useEffect(()=>{let B1=N.current;if(B1!=null&&B1.complete){let c=B1.naturalWidth>0;O(c),$(!c)}},[]);let Z1=s.useCallback((B1)=>{O(!0),$(!1),w==null||w(B1)},[w]),t=s.useCallback((B1)=>{O(!1),$(!0),U==null||U(B1)},[U]),U1=async()=>{if(Y)try{let B1=await(await fetch(Y)).blob(),c=new URL(Y,window.location.origin).pathname.split("/").pop()||"",b1=c.split(".").pop(),e=c.includes(".")&&b1!==void 0&&b1.length<=4,$1="";if(e)$1=c;else{let k=B1.type,k1="png";k.includes("jpeg")||k.includes("jpg")?k1="jpg":k.includes("png")?k1="png":k.includes("svg")?k1="svg":k.includes("gif")?k1="gif":k.includes("webp")&&(k1="webp"),$1=`${(J||c||"image").replace(kr,"")}.${k1}`}s8($1,B1,B1.type)}catch(B1){window.open(Y,"_blank")}};return Y?u.jsxs("div",{className:V("group relative my-4 inline-block"),"data-streamdown":"image-wrapper",children:[u.jsx("img",{alt:J,className:V("max-w-full rounded-lg",m&&"hidden",Q),"data-streamdown":"image",onError:t,onLoad:Z1,ref:N,src:Y,...F}),m&&u.jsx("span",{className:V("text-muted-foreground text-xs italic"),"data-streamdown":"image-fallback",children:_.imageNotAvailable}),u.jsx("div",{className:V("pointer-events-none absolute inset-0 hidden rounded-lg bg-black/10 group-hover:block")}),p&&u.jsx("button",{className:V("absolute right-2 bottom-2 flex h-8 w-8 cursor-pointer items-center justify-center rounded-md border border-border bg-background/90 shadow-sm backdrop-blur-sm transition-all duration-200 hover:bg-background","opacity-0 group-hover:opacity-100"),onClick:U1,title:_.downloadImage,type:"button",children:u.jsx(B,{size:14})})]}):null},NX=0,QB=()=>{NX+=1,NX===1&&(document.body.style.overflow="hidden")},qB=()=>{NX=Math.max(0,NX-1),NX===0&&(document.body.style.overflow="")},lr=({url:H,isOpen:Q,onClose:Y,onConfirm:J})=>{let{CheckIcon:w,CopyIcon:U,ExternalLinkIcon:F,XIcon:B}=y3(),V=M0(),[N,R]=s.useState(!1),O=Z9(),C=s.useCallback(async()=>{try{await navigator.clipboard.writeText(H),R(!0),setTimeout(()=>R(!1),2000)}catch(_){}},[H]),$=s.useCallback(()=>{J(),Y()},[J,Y]);return s.useEffect(()=>{if(Q){QB();let _=(v)=>{v.key==="Escape"&&Y()};return document.addEventListener("keydown",_),()=>{document.removeEventListener("keydown",_),qB()}}},[Q,Y]),Q?u.jsx("div",{className:V("fixed inset-0 z-50 flex items-center justify-center bg-background/50 backdrop-blur-sm"),"data-streamdown":"link-safety-modal",onClick:Y,onKeyDown:(_)=>{_.key==="Escape"&&Y()},role:"button",tabIndex:0,children:u.jsxs("div",{className:V("relative mx-4 flex w-full max-w-md flex-col gap-4 rounded-xl border bg-background p-6 shadow-lg"),onClick:(_)=>_.stopPropagation(),onKeyDown:(_)=>_.stopPropagation(),role:"presentation",children:[u.jsx("button",{className:V("absolute top-4 right-4 rounded-md p-1 text-muted-foreground transition-all hover:bg-muted hover:text-foreground"),onClick:Y,title:O.close,type:"button",children:u.jsx(B,{size:16})}),u.jsxs("div",{className:V("flex flex-col gap-2"),children:[u.jsxs("div",{className:V("flex items-center gap-2 font-semibold text-lg"),children:[u.jsx(F,{size:20}),u.jsx("span",{children:O.openExternalLink})]}),u.jsx("p",{className:V("text-muted-foreground text-sm"),children:O.externalLinkWarning})]}),u.jsx("div",{className:V("break-all rounded-md bg-muted p-3 font-mono text-sm",H.length>100&&"max-h-32 overflow-y-auto"),children:H}),u.jsxs("div",{className:V("flex gap-2"),children:[u.jsx("button",{className:V("flex flex-1 items-center justify-center gap-2 rounded-md border bg-background px-4 py-2 font-medium text-sm transition-all hover:bg-muted"),onClick:C,type:"button",children:N?u.jsxs(u.Fragment,{children:[u.jsx(w,{size:14}),u.jsx("span",{children:O.copied})]}):u.jsxs(u.Fragment,{children:[u.jsx(U,{size:14}),u.jsx("span",{children:O.copyLink})]})}),u.jsxs("button",{className:V("flex flex-1 items-center justify-center gap-2 rounded-md bg-primary px-4 py-2 font-medium text-primary-foreground text-sm transition-all hover:bg-primary/90"),onClick:$,type:"button",children:[u.jsx(F,{size:14}),u.jsx("span",{children:O.openLink})]})]})]})}):null},oU,YB=()=>s.useContext(oU),Bh=()=>{var H;let Q=YB();return(H=Q==null?void 0:Q.code)!=null?H:null},JB=()=>{var H;let Q=YB();return(H=Q==null?void 0:Q.mermaid)!=null?H:null},pr=(H)=>{var Q;let Y=YB();return Y!=null&&Y.renderers&&H&&(Q=Y.renderers.find((J)=>Array.isArray(J.language)?J.language.includes(H):J.language===H))!=null?Q:null},rr=(H,Q)=>{var Y;let J=(Y=void 0)!=null?Y:5;return new Promise((w,U)=>{let F="data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(H))),B=new Image;B.crossOrigin="anonymous",B.onload=()=>{let V=document.createElement("canvas"),N=B.width*J,R=B.height*J;V.width=N,V.height=R;let O=V.getContext("2d");if(!O){U(Error("Failed to create 2D canvas context for PNG export"));return}O.drawImage(B,0,0,N,R),V.toBlob((C)=>{if(!C){U(Error("Failed to create PNG blob"));return}w(C)},"image/png")},B.onerror=()=>U(Error("Failed to load SVG image")),B.src=F})},ir=({chart:H,children:Q,className:Y,onDownload:J,config:w,onError:U})=>{let F=M0(),[B,V]=s.useState(!1),N=s.useRef(null),{isAnimating:R}=s.useContext(Q2),O=y3(),C=JB(),$=Z9(),_=async(v)=>{try{if(v==="mmd"){s8("diagram.mmd",H,"text/plain"),V(!1),J==null||J(v);return}if(!C){U==null||U(Error("Mermaid plugin not available"));return}let p=C.getMermaid(w),m=H.split("").reduce((U1,B1)=>(U1<<5)-U1+B1.charCodeAt(0)|0,0),Z1=`mermaid-${Math.abs(m)}-${Date.now()}-${Math.random().toString(36).substring(2,9)}`,{svg:t}=await p.render(Z1,H);if(!t){U==null||U(Error("SVG not found. Please wait for the diagram to render."));return}if(v==="svg"){s8("diagram.svg",t,"image/svg+xml"),V(!1),J==null||J(v);return}if(v==="png"){let U1=await rr(t);s8("diagram.png",U1,"image/png"),J==null||J(v),V(!1);return}}catch(p){U==null||U(p)}};return s.useEffect(()=>{let v=(p)=>{let m=p.composedPath();N.current&&!m.includes(N.current)&&V(!1)};return document.addEventListener("mousedown",v),()=>{document.removeEventListener("mousedown",v)}},[]),u.jsxs("div",{className:F("relative"),ref:N,children:[u.jsx("button",{className:F("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",Y),disabled:R,onClick:()=>V(!B),title:$.downloadDiagram,type:"button",children:Q!=null?Q:u.jsx(O.DownloadIcon,{size:14})}),B?u.jsxs("div",{className:F("absolute top-full right-0 z-10 mt-1 min-w-[120px] overflow-hidden rounded-md border border-border bg-background shadow-lg"),children:[u.jsx("button",{className:F("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>_("svg"),title:$.downloadDiagramAsSvg,type:"button",children:$.mermaidFormatSvg}),u.jsx("button",{className:F("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>_("png"),title:$.downloadDiagramAsPng,type:"button",children:$.mermaidFormatPng}),u.jsx("button",{className:F("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>_("mmd"),title:$.downloadDiagramAsMmd,type:"button",children:$.mermaidFormatMmd})]}):null]})},dr=({chart:H,config:Q,onFullscreen:Y,onExit:J,className:w,...U})=>{let{Maximize2Icon:F,XIcon:B}=y3(),V=M0(),[N,R]=s.useState(!1),{isAnimating:O,controls:C}=s.useContext(Q2),$=Z9(),_=(()=>{if(typeof C=="boolean")return C;let p=C.mermaid;return p===!1?!1:p===!0||p===void 0?!0:p.panZoom!==!1})(),v=()=>{R(!N)};return s.useEffect(()=>{if(N){QB();let p=(m)=>{m.key==="Escape"&&R(!1)};return document.addEventListener("keydown",p),()=>{document.removeEventListener("keydown",p),qB()}}},[N]),s.useEffect(()=>{N?Y==null||Y():J&&J()},[N,Y,J]),u.jsxs(u.Fragment,{children:[u.jsx("button",{className:V("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",w),disabled:O,onClick:v,title:$.viewFullscreen,type:"button",...U,children:u.jsx(F,{size:14})}),N?HB.createPortal(u.jsxs("div",{className:V("fixed inset-0 z-50 flex items-center justify-center bg-background/95 backdrop-blur-sm"),onClick:v,onKeyDown:(p)=>{p.key==="Escape"&&v()},role:"button",tabIndex:0,children:[u.jsx("button",{className:V("absolute top-4 right-4 z-10 rounded-md p-2 text-muted-foreground transition-all hover:bg-muted hover:text-foreground"),onClick:v,title:$.exitFullscreen,type:"button",children:u.jsx(B,{size:20})}),u.jsx("div",{className:V("flex size-full items-center justify-center p-4"),onClick:(p)=>p.stopPropagation(),onKeyDown:(p)=>p.stopPropagation(),role:"presentation",children:u.jsx(iU,{chart:H,className:V("size-full [&_svg]:h-auto [&_svg]:w-auto"),config:Q,fullscreen:!0,showControls:_})})]}),document.body):null]})},KB=(H)=>{var Q,Y;let J=[],w=[],U=H.querySelectorAll("thead th");for(let B of U)J.push(((Q=B.textContent)==null?void 0:Q.trim())||"");let F=H.querySelectorAll("tbody tr");for(let B of F){let V=[],N=B.querySelectorAll("td");for(let R of N)V.push(((Y=R.textContent)==null?void 0:Y.trim())||"");w.push(V)}return{headers:J,rows:w}},wB=(H)=>{let{headers:Q,rows:Y}=H,J=(B)=>{let V=!1,N=!1;for(let R of B){if(R==='"'){V=!0,N=!0;break}(R===","||R===`
|
|
344
|
+
`)&&(V=!0)}return V?N?`"${B.replace(/"/g,'""')}"`:`"${B}"`:B},w=Q.length>0?Y.length+1:Y.length,U=Array(w),F=0;Q.length>0&&(U[F]=Q.map(J).join(","),F+=1);for(let B of Y)U[F]=B.map(J).join(","),F+=1;return U.join(`
|
|
345
|
+
`)},lh=(H)=>{let{headers:Q,rows:Y}=H,J=(B)=>{let V=!1;for(let R of B)if(R==="\t"||R===`
|
|
346
|
+
`||R==="\r"){V=!0;break}if(!V)return B;let N=[];for(let R of B)R==="\t"?N.push("\\t"):R===`
|
|
347
|
+
`?N.push("\\n"):R==="\r"?N.push("\\r"):N.push(R);return N.join("")},w=Q.length>0?Y.length+1:Y.length,U=Array(w),F=0;Q.length>0&&(U[F]=Q.map(J).join("\t"),F+=1);for(let B of Y)U[F]=B.map(J).join("\t"),F+=1;return U.join(`
|
|
348
|
+
`)},YJ=(H)=>{let Q=!1;for(let J of H)if(J==="\\"||J==="|"){Q=!0;break}if(!Q)return H;let Y=[];for(let J of H)J==="\\"?Y.push("\\\\"):J==="|"?Y.push("\\|"):Y.push(J);return Y.join("")},wJ=(H)=>{let{headers:Q,rows:Y}=H;if(Q.length===0)return"";let J=Array(Y.length+2),w=0,U=Q.map((B)=>YJ(B));J[w]=`| ${U.join(" | ")} |`,w+=1;let F=Array(Q.length);for(let B=0;B<Q.length;B+=1)F[B]="---";J[w]=`| ${F.join(" | ")} |`,w+=1;for(let B of Y)if(B.length<Q.length){let V=Array(Q.length);for(let N=0;N<Q.length;N+=1)V[N]=N<B.length?YJ(B[N]):"";J[w]=`| ${V.join(" | ")} |`,w+=1}else{let V=B.map((N)=>YJ(N));J[w]=`| ${V.join(" | ")} |`,w+=1}return J.join(`
|
|
349
|
+
`)},WB=({children:H,className:Q,onCopy:Y,onError:J,timeout:w=2000})=>{let U=M0(),[F,B]=s.useState(!1),[V,N]=s.useState(!1),R=s.useRef(null),O=s.useRef(0),{isAnimating:C}=s.useContext(Q2),$=Z9(),_=async(m)=>{var Z1,t;if(typeof window>"u"||!((Z1=navigator==null?void 0:navigator.clipboard)!=null&&Z1.write)){J==null||J(Error("Clipboard API not available"));return}try{let U1=(t=R.current)==null?void 0:t.closest('[data-streamdown="table-wrapper"]'),B1=U1==null?void 0:U1.querySelector("table");if(!B1){J==null||J(Error("Table not found"));return}let c=KB(B1),b1=({csv:wB,tsv:lh,md:wJ}[m]||wJ)(c),e=new ClipboardItem({"text/plain":new Blob([b1],{type:"text/plain"}),"text/html":new Blob([B1.outerHTML],{type:"text/html"})});await navigator.clipboard.write([e]),N(!0),B(!1),Y==null||Y(m),O.current=window.setTimeout(()=>N(!1),w)}catch(U1){J==null||J(U1)}};s.useEffect(()=>{let m=(Z1)=>{let t=Z1.composedPath();R.current&&!t.includes(R.current)&&B(!1)};return document.addEventListener("mousedown",m),()=>{document.removeEventListener("mousedown",m),window.clearTimeout(O.current)}},[]);let v=y3(),p=V?v.CheckIcon:v.CopyIcon;return u.jsxs("div",{className:U("relative"),ref:R,children:[u.jsx("button",{className:U("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",Q),disabled:C,onClick:()=>B(!F),title:$.copyTable,type:"button",children:H!=null?H:u.jsx(p,{height:14,width:14})}),F?u.jsxs("div",{className:U("absolute top-full right-0 z-20 mt-1 min-w-[120px] overflow-hidden rounded-md border border-border bg-background shadow-lg"),children:[u.jsx("button",{className:U("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>_("md"),title:$.copyTableAsMarkdown,type:"button",children:$.tableFormatMarkdown}),u.jsx("button",{className:U("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>_("csv"),title:$.copyTableAsCsv,type:"button",children:$.tableFormatCsv}),u.jsx("button",{className:U("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>_("tsv"),title:$.copyTableAsTsv,type:"button",children:$.tableFormatTsv})]}):null]})},LB=({children:H,className:Q,onDownload:Y,onError:J})=>{let w=M0(),[U,F]=s.useState(!1),B=s.useRef(null),{isAnimating:V}=s.useContext(Q2),N=Z9(),R=y3(),O=(C)=>{var $;try{let _=($=B.current)==null?void 0:$.closest('[data-streamdown="table-wrapper"]'),v=_==null?void 0:_.querySelector("table");if(!v){J==null||J(Error("Table not found"));return}let p=KB(v),m=C==="csv"?wB(p):wJ(p);s8(`table.${C==="csv"?"csv":"md"}`,m,C==="csv"?"text/csv":"text/markdown"),F(!1),Y==null||Y(C)}catch(_){J==null||J(_)}};return s.useEffect(()=>{let C=($)=>{let _=$.composedPath();B.current&&!_.includes(B.current)&&F(!1)};return document.addEventListener("mousedown",C),()=>{document.removeEventListener("mousedown",C)}},[]),u.jsxs("div",{className:w("relative"),ref:B,children:[u.jsx("button",{className:w("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",Q),disabled:V,onClick:()=>F(!U),title:N.downloadTable,type:"button",children:H!=null?H:u.jsx(R.DownloadIcon,{size:14})}),U?u.jsxs("div",{className:w("absolute top-full right-0 z-20 mt-1 min-w-[120px] overflow-hidden rounded-md border border-border bg-background shadow-lg"),children:[u.jsx("button",{className:w("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>O("csv"),title:N.downloadTableAsCsv,type:"button",children:N.tableFormatCsv}),u.jsx("button",{className:w("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>O("markdown"),title:N.downloadTableAsMarkdown,type:"button",children:N.tableFormatMarkdown})]}):null]})},ar=({children:H,className:Q,showCopy:Y=!0,showDownload:J=!0})=>{let{Maximize2Icon:w,XIcon:U}=y3(),F=M0(),[B,V]=s.useState(!1),{isAnimating:N}=s.useContext(Q2),R=Z9(),O=()=>{V(!0)},C=()=>{V(!1)};return s.useEffect(()=>{if(B){QB();let $=(_)=>{_.key==="Escape"&&V(!1)};return document.addEventListener("keydown",$),()=>{document.removeEventListener("keydown",$),qB()}}},[B]),u.jsxs(u.Fragment,{children:[u.jsx("button",{className:F("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",Q),disabled:N,onClick:O,title:R.viewFullscreen,type:"button",children:u.jsx(w,{size:14})}),B?HB.createPortal(u.jsx("div",{"aria-label":R.viewFullscreen,"aria-modal":"true",className:F("fixed inset-0 z-50 flex flex-col bg-background"),"data-streamdown":"table-fullscreen",onClick:C,onKeyDown:($)=>{$.key==="Escape"&&C()},role:"dialog",children:u.jsxs("div",{className:F("flex h-full flex-col"),onClick:($)=>$.stopPropagation(),onKeyDown:($)=>$.stopPropagation(),role:"presentation",children:[u.jsxs("div",{className:F("flex items-center justify-end gap-1 p-4"),children:[Y?u.jsx(WB,{}):null,J?u.jsx(LB,{}):null,u.jsx("button",{className:F("rounded-md p-1 text-muted-foreground transition-all hover:bg-muted hover:text-foreground"),onClick:C,title:R.exitFullscreen,type:"button",children:u.jsx(U,{size:20})})]}),u.jsx("div",{className:F("flex-1 overflow-auto p-4 pt-0 [&_thead]:sticky [&_thead]:top-0 [&_thead]:z-10"),children:u.jsx("table",{className:F("w-full border-collapse border border-border"),"data-streamdown":"table",children:H})})]})}),document.body):null]})},cr=({children:H,className:Q,showControls:Y,showCopy:J=!0,showDownload:w=!0,showFullscreen:U=!0,...F})=>{let B=M0(),V=Y&&J,N=Y&&w,R=Y&&U,O=V||N||R;return u.jsxs("div",{className:B("my-4 flex flex-col gap-2 rounded-lg border border-border bg-sidebar p-2"),"data-streamdown":"table-wrapper",children:[O?u.jsxs("div",{className:B("flex items-center justify-end gap-1"),children:[V?u.jsx(WB,{}):null,N?u.jsx(LB,{}):null,R?u.jsx(ar,{showCopy:V,showDownload:N,children:H}):null]}):null,u.jsx("div",{className:B("border-collapse overflow-x-auto overflow-y-auto rounded-md border border-border bg-background"),children:u.jsx("table",{className:B("w-full divide-y divide-border",Q),"data-streamdown":"table",...F,children:H})})]})},sr,nr,or,tr,tU=(H,Q)=>typeof H=="boolean"?H:H[Q]!==!1,dU=(H,Q)=>{if(typeof H=="boolean")return H;let Y=H.table;return Y===!1?!1:Y===!0||Y===void 0?!0:Y[Q]!==!1},Oh=(H,Q)=>{if(typeof H=="boolean")return H;let Y=H.code;return Y===!1?!1:Y===!0||Y===void 0?!0:Y[Q]!==!1},QJ=(H,Q)=>{if(typeof H=="boolean")return H;let Y=H.mermaid;return Y===!1?!1:Y===!0||Y===void 0?!0:Y[Q]!==!1},FB,ph,rh,ih,dh,er=({children:H,className:Q,href:Y,node:J,...w})=>{let U=M0(),{linkSafety:F}=s.useContext(Q2),[B,V]=s.useState(!1),N=Y==="streamdown:incomplete-link",R=s.useCallback(async(_)=>{if(!(!(F!=null&&F.enabled&&Y)||N)){if(_.preventDefault(),F.onLinkCheck&&await F.onLinkCheck(Y)){window.open(Y,"_blank","noreferrer");return}V(!0)}},[F,Y,N]),O=s.useCallback(()=>{Y&&window.open(Y,"_blank","noreferrer")},[Y]),C=s.useCallback(()=>{V(!1)},[]),$={url:Y!=null?Y:"",isOpen:B,onClose:C,onConfirm:O};return F!=null&&F.enabled&&Y?u.jsxs(u.Fragment,{children:[u.jsx("button",{className:U("wrap-anywhere appearance-none text-left font-medium text-primary underline",Q),"data-incomplete":N,"data-streamdown":"link",onClick:R,type:"button",children:H}),F.renderModal?F.renderModal($):u.jsx(lr,{...$})]}):u.jsx("a",{className:U("wrap-anywhere font-medium text-primary underline",Q),"data-incomplete":N,"data-streamdown":"link",href:Y,rel:"noreferrer",target:"_blank",...w,children:H})},ah,ch,sh,nh,oh,th,eh,H_,Z_,X_,Q_,q_,Y_,J_,K_,w_,W_,Hi=({node:H,className:Q,children:Y,...J})=>{var w,U;let F=M0(),B=!("data-block"in J),{mermaid:V,controls:N,lineNumbers:R}=s.useContext(Q2),O=JB(),C=vh(),$=Q==null?void 0:Q.match(tr),_=(w=$==null?void 0:$.at(1))!=null?w:"",v=pr(_);if(B)return u.jsx("code",{className:F("rounded bg-muted px-1.5 py-0.5 font-mono text-sm",Q),"data-streamdown":"inline-code",...J,children:Y});let p=(U=H==null?void 0:H.properties)==null?void 0:U.metastring,m=p==null?void 0:p.match(sr),Z1=m?Number.parseInt(m[1],10):void 0,t=Z1!==void 0&&Z1>=1?Z1:void 0,U1=!(p?nr.test(p):!1)&&R!==!1,B1="";if(s.isValidElement(Y)&&Y.props&&typeof Y.props=="object"&&"children"in Y.props&&typeof Y.props.children=="string"?B1=Y.props.children:typeof Y=="string"&&(B1=Y),v){let $1=v.component;return u.jsx(s.Suspense,{fallback:u.jsx(nU,{}),children:u.jsx($1,{code:B1,isIncomplete:C,language:_,meta:p})})}if(_==="mermaid"&&O){let $1=tU(N,"mermaid"),k=QJ(N,"download"),k1=QJ(N,"copy"),g1=QJ(N,"fullscreen"),L1=QJ(N,"panZoom"),h1=$1&&(k||k1||g1);return u.jsx(s.Suspense,{fallback:u.jsx(nU,{}),children:u.jsxs("div",{className:F("group relative my-4 flex w-full flex-col gap-2 rounded-xl border border-border bg-sidebar p-2",Q),"data-streamdown":"mermaid-block",children:[u.jsx("div",{className:F("flex h-8 items-center text-muted-foreground text-xs"),children:u.jsx("span",{className:F("ml-1 font-mono lowercase"),children:"mermaid"})}),h1?u.jsx("div",{className:F("pointer-events-none sticky top-2 z-10 -mt-10 flex h-8 items-center justify-end"),children:u.jsxs("div",{className:F("pointer-events-auto flex shrink-0 items-center gap-2 rounded-md border border-sidebar bg-sidebar/80 px-1.5 py-1 supports-[backdrop-filter]:bg-sidebar/70 supports-[backdrop-filter]:backdrop-blur"),"data-streamdown":"mermaid-block-actions",children:[k?u.jsx(ir,{chart:B1,config:V==null?void 0:V.config}):null,k1?u.jsx(sU,{code:B1}):null,g1?u.jsx(dr,{chart:B1,config:V==null?void 0:V.config}):null]})}):null,u.jsx("div",{className:F("rounded-md border border-border bg-background"),children:u.jsx(or,{chart:B1,config:V==null?void 0:V.config,showControls:L1})})]})})}let c=tU(N,"code"),b1=Oh(N,"download"),e=Oh(N,"copy");return u.jsx(uh,{className:Q,code:B1,isIncomplete:C,language:_,lineNumbers:U1,startLine:t,children:c?u.jsxs(u.Fragment,{children:[b1?u.jsx(fh,{code:B1,language:_}):null,e?u.jsx(sU,{}):null]}):null})},L_,F_,U_,Zi,Xi,Qi,qi,Yi,Nh=(H)=>{let Q=H.split(`
|
|
350
|
+
`),Y=null,J=0;for(let w of Q){let U=qi.exec(w);if(Y===null){if(U){let F=U[1];Y=F[0],J=F.length}}else if(U){let F=U[1],B=F[0],V=F.length;B===Y&&V>=J&&(Y=null,J=0)}}return Y!==null},Ji=(H)=>{let Q=H.split(`
|
|
351
|
+
`);for(let Y of Q){let J=Y.trim();if(J.length>0&&J.includes("|")&&Yi.test(J))return!0}return!1},Ki=()=>(H)=>{t5(H,"html",(Q,Y,J)=>{!J||typeof Y!="number"||(J.children[Y]={type:"text",value:Q.value})})},Ph,Mh,qJ,wi=class{constructor(){this.cache=new Map,this.keyCache=new WeakMap,this.maxSize=100}generateCacheKey(H){let Q=this.keyCache.get(H);if(Q)return Q;let{rehypePlugins:Y,remarkPlugins:J,remarkRehypeOptions:w}=H;if(!(Y||J||w)){let R="default";return this.keyCache.set(H,R),R}let U=(R)=>{if(!R||R.length===0)return"";let O="";for(let C=0;C<R.length;C+=1){let $=R[C];if(C>0&&(O+=","),Array.isArray($)){let[_,v]=$;if(typeof _=="function"){let p=qJ.get(_);p||(p=_.name,qJ.set(_,p)),O+=p}else O+=String(_);O+=":",O+=JSON.stringify(v)}else if(typeof $=="function"){let _=qJ.get($);_||(_=$.name,qJ.set($,_)),O+=_}else O+=String($)}return O},F=U(Y),B=U(J),V=w?JSON.stringify(w):"",N=`${B}::${F}::${V}`;return this.keyCache.set(H,N),N}get(H){let Q=this.generateCacheKey(H),Y=this.cache.get(Q);return Y&&(this.cache.delete(Q),this.cache.set(Q,Y)),Y}set(H,Q){let Y=this.generateCacheKey(H);if(this.cache.size>=this.maxSize){let J=this.cache.keys().next().value;J&&this.cache.delete(J)}this.cache.set(Y,Q)}clear(){this.cache.clear()}},Ch,B_=(H)=>{let Q=Wi(H),Y=H.children||"",J=Q.runSync(Q.parse(Y),Y);return zi(J,H)},Wi=(H)=>{let Q=Ch.get(H);if(Q)return Q;let Y=Fi(H);return Ch.set(H,Y),Y},Li=(H)=>H.some((Q)=>Array.isArray(Q)?Q[0]===T8:Q===T8),Fi=(H)=>{let Q=H.rehypePlugins||Ph,Y=H.remarkPlugins||Ph,J=Li(Q)?Y:[...Y,Ki],w=H.remarkRehypeOptions?{...Mh,...H.remarkRehypeOptions}:Mh;return yU().use(fY).use(J).use(iY,w).use(Q)},V_=(H)=>H,Ui=(H,Q,Y,J)=>{Y?H.children.splice(Q,1):H.children[Q]={type:"text",value:J}},Bi=(H,Q)=>{var Y;for(let J in LX)if(Object.hasOwn(LX,J)&&Object.hasOwn(H.properties,J)){let w=H.properties[J],U=LX[J];(U===null||U.includes(H.tagName))&&(H.properties[J]=(Y=Q(String(w||""),J,H))!=null?Y:void 0)}},Vi=(H,Q,Y,J,w,U)=>{let F=!1;return J?F=!J.includes(H.tagName):w&&(F=w.includes(H.tagName)),!F&&U&&typeof Q=="number"&&(F=!U(H,Q,Y)),F},zi=(H,Q)=>{let{allowElement:Y,allowedElements:J,disallowedElements:w,skipHtml:U,unwrapDisallowed:F,urlTransform:B}=Q;if(Y||J||w||U||B){let V=B||V_;t5(H,(N,R,O)=>{if(N.type==="raw"&&O&&typeof R=="number")return Ui(O,R,U,N.value),R;if(N.type==="element"&&(Bi(N,V),Vi(N,R,O,J,w,Y)&&O&&typeof R=="number"))return F&&N.children?O.children.splice(R,1,...N.children):O.children.splice(R,1),R})}return BU(H,{Fragment:u.Fragment,components:Q.components,ignoreInvalidStyle:!0,jsx:u.jsx,jsxs:u.jsxs,passKeys:!0,passNode:!0})},ji,Ri,Oi,Ni,bh,$h,Pi=(H)=>{let Q=H.toLowerCase(),Y=bh.get(Q);if(Y)return Y;let J=new RegExp(`<${Q}(?=[\\s>/])[^>]*>`,"gi");return bh.set(Q,J),J},Mi=(H)=>{let Q=H.toLowerCase(),Y=$h.get(Q);if(Y)return Y;let J=new RegExp(`</${Q}(?=[\\s>])[^>]*>`,"gi");return $h.set(Q,J),J},gh=(H,Q)=>{if(Ni.has(Q.toLowerCase()))return 0;let Y=H.match(Pi(Q));if(!Y)return 0;let J=0;for(let w of Y)w.trimEnd().endsWith("/>")||(J+=1);return J},Gh=(H,Q)=>{let Y=H.match(Mi(Q));return Y?Y.length:0},Ci=(H)=>{let Q=0;for(let Y=0;Y<H.length-1;Y+=1)H[Y]==="$"&&H[Y+1]==="$"&&(Q+=1,Y+=1);return Q},z_=(H)=>{let Q=ji.test(H),Y=Ri.test(H);if(Q||Y)return[H];let J=c2.lex(H,{gfm:!0}),w=[],U=[],F=!1;for(let B of J){let V=B.raw,N=w.length;if(U.length>0){w[N-1]+=V;let R=U.at(-1),O=gh(V,R),C=Gh(V,R);for(let $=0;$<O;$+=1)U.push(R);for(let $=0;$<C;$+=1)U.length>0&&U.at(-1)===R&&U.pop();continue}if(B.type==="html"&&B.block){let R=V.match(Oi);if(R){let O=R[1],C=gh(V,O),$=Gh(V,O);C>$&&U.push(O)}}if(N>0&&!F){let R=w[N-1];if(Ci(R)%2===1){w[N-1]=R+V;continue}}w.push(V),B.type!=="space"&&(F=B.type==="code")}return w},bi=(H,Q)=>{if(!Q.length)return H;let Y=H;for(let J of Q){let w=new RegExp(`(<${J}(?=[\\s>/])[^>]*>)([\\s\\S]*?)(</${J}\\s*>)`,"gi");Y=Y.replace(w,(U,F,B,V)=>{if(!B.includes(`
|
|
352
|
+
|
|
353
|
+
`))return F+B+V;let N=B.replace(/\n\n/g,`
|
|
354
|
+
<!---->
|
|
355
|
+
`),R=(N.startsWith(`
|
|
356
|
+
`)?"":`
|
|
357
|
+
`)+N+(N.endsWith(`
|
|
358
|
+
`)?"":`
|
|
359
|
+
`);return`${F}${R}${V}
|
|
360
|
+
|
|
361
|
+
`})}return Y},$i,gi=(H)=>H.replace($i,"\\$1"),Gi=(H,Q)=>{if(!Q.length)return H;let Y=H;for(let J of Q){let w=new RegExp(`(<${J}(?=[\\s>/])[^>]*>)([\\s\\S]*?)(</${J}\\s*>)`,"gi");Y=Y.replace(w,(U,F,B,V)=>{let N=gi(B).replace(/\n\n/g," ");return F+N+V})}return Y},j_=(H)=>H.type==="text"?H.value:("children"in H)&&Array.isArray(H.children)?H.children.map(j_).join(""):"",Di=(H)=>(Q)=>{if(!H||H.length===0)return;let Y=new Set(H.map((J)=>J.toLowerCase()));t5(Q,"element",(J)=>{if(Y.has(J.tagName.toLowerCase())){let w=j_(J);J.children=w?[{type:"text",value:w}]:[]}})},hi=()=>(H)=>{t5(H,"code",(Q)=>{var Y,J;Q.meta&&(Q.data=(Y=Q.data)!=null?Y:{},Q.data.hProperties={...(J=Q.data.hProperties)!=null?J:{},metastring:Q.meta})})},_i,xi,R_=(H)=>typeof H!="string"||H.length===0||!_i.test(H)?H:H.replace(xi,"$1"),Dh,hh,_h,xh,JJ,WJ,O_,Eh,Ei,Ii,N_,P_,yi,Q2,UB,FJ,vi=({children:H,className:Q,minZoom:Y=0.5,maxZoom:J=3,zoomStep:w=0.1,showControls:U=!0,initialZoom:F=1,fullscreen:B=!1})=>{let{RotateCcwIcon:V,ZoomInIcon:N,ZoomOutIcon:R}=y3(),O=M0(),C=s.useRef(null),$=s.useRef(null),[_,v]=s.useState(F),[p,m]=s.useState({x:0,y:0}),[Z1,t]=s.useState(!1),[U1,B1]=s.useState({x:0,y:0}),[c,b1]=s.useState({x:0,y:0}),e=s.useCallback((w1)=>{v((Y1)=>Math.max(Y,Math.min(J,Y1+w1)))},[Y,J]),$1=s.useCallback(()=>{e(w)},[e,w]),k=s.useCallback(()=>{e(-w)},[e,w]),k1=s.useCallback(()=>{v(F),m({x:0,y:0})},[F]),g1=s.useCallback((w1)=>{w1.preventDefault();let Y1=w1.deltaY>0?-w:w;e(Y1)},[e,w]),L1=s.useCallback((w1)=>{if(w1.button!==0||w1.isPrimary===!1)return;t(!0),B1({x:w1.clientX,y:w1.clientY}),b1(p);let Y1=w1.currentTarget;Y1 instanceof HTMLElement&&Y1.setPointerCapture(w1.pointerId)},[p]),h1=s.useCallback((w1)=>{if(!Z1)return;w1.preventDefault();let Y1=w1.clientX-U1.x,I1=w1.clientY-U1.y;m({x:c.x+Y1,y:c.y+I1})},[Z1,U1,c]),Q1=s.useCallback((w1)=>{t(!1);let Y1=w1.currentTarget;Y1 instanceof HTMLElement&&Y1.releasePointerCapture(w1.pointerId)},[]);return s.useEffect(()=>{let w1=C.current;if(w1)return w1.addEventListener("wheel",g1,{passive:!1}),()=>{w1.removeEventListener("wheel",g1)}},[g1]),s.useEffect(()=>{let w1=$.current;if(w1&&Z1)return document.body.style.userSelect="none",w1.addEventListener("pointermove",h1,{passive:!1}),w1.addEventListener("pointerup",Q1),w1.addEventListener("pointercancel",Q1),()=>{document.body.style.userSelect="",w1.removeEventListener("pointermove",h1),w1.removeEventListener("pointerup",Q1),w1.removeEventListener("pointercancel",Q1)}},[Z1,h1,Q1]),u.jsxs("div",{className:O("relative flex flex-col",B?"h-full w-full":"min-h-28 w-full",Q),ref:C,style:{cursor:Z1?"grabbing":"grab"},children:[U?u.jsxs("div",{className:O("absolute z-10 flex flex-col gap-1 rounded-md border border-border bg-background/80 p-1 supports-[backdrop-filter]:bg-background/70 supports-[backdrop-filter]:backdrop-blur-sm",B?"bottom-4 left-4":"bottom-2 left-2"),children:[u.jsx("button",{className:O("flex items-center justify-center rounded p-1.5 text-muted-foreground transition-colors hover:bg-muted hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50"),disabled:_>=J,onClick:$1,title:"Zoom in",type:"button",children:u.jsx(N,{size:16})}),u.jsx("button",{className:O("flex items-center justify-center rounded p-1.5 text-muted-foreground transition-colors hover:bg-muted hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50"),disabled:_<=Y,onClick:k,title:"Zoom out",type:"button",children:u.jsx(R,{size:16})}),u.jsx("button",{className:O("flex items-center justify-center rounded p-1.5 text-muted-foreground transition-colors hover:bg-muted hover:text-foreground"),onClick:k1,title:"Reset zoom and pan",type:"button",children:u.jsx(V,{size:16})})]}):null,u.jsx("div",{className:O("flex-1 origin-center transition-transform duration-150 ease-out",B?"flex h-full w-full items-center justify-center":"flex w-full items-center justify-center"),onPointerDown:L1,ref:$,role:"application",style:{transform:`translate(${p.x}px, ${p.y}px) scale(${_})`,transformOrigin:"center center",touchAction:"none",willChange:"transform"},children:H})]})},iU=({chart:H,className:Q,config:Y,fullscreen:J=!1,showControls:w=!0})=>{let U=M0(),[F,B]=s.useState(null),[V,N]=s.useState(!1),[R,O]=s.useState(""),[C,$]=s.useState(""),[_,v]=s.useState(0),{mermaid:p}=s.useContext(Q2),m=JB(),Z1=p==null?void 0:p.errorComponent,{shouldRender:t,containerRef:U1}=Br({immediate:J});if(s.useEffect(()=>{if(!t)return;if(!m){B("Mermaid plugin not available. Please add the mermaid plugin to enable diagram rendering.");return}(async()=>{try{B(null),N(!0);let c=m.getMermaid(Y),b1=H.split("").reduce((k,k1)=>(k<<5)-k+k1.charCodeAt(0)|0,0),e=`mermaid-${Math.abs(b1)}-${Date.now()}-${Math.random().toString(36).substring(2,9)}`,{svg:$1}=await c.render(e,H);O($1),$($1)}catch(c){if(!(C||R)){let b1=c instanceof Error?c.message:"Failed to render Mermaid chart";B(b1)}}finally{N(!1)}})()},[H,Y,_,t,m]),!(t||R||C))return u.jsx("div",{className:U("my-4 min-h-[200px]",Q),ref:U1});if(V&&!R&&!C)return u.jsx("div",{className:U("my-4 flex justify-center p-4",Q),ref:U1,children:u.jsxs("div",{className:U("flex items-center space-x-2 text-muted-foreground"),children:[u.jsx("div",{className:U("h-4 w-4 animate-spin rounded-full border-current border-b-2")}),u.jsx("span",{className:U("text-sm"),children:"Loading diagram..."})]})});if(F&&!R&&!C)return Z1?u.jsx("div",{ref:U1,children:u.jsx(Z1,{chart:H,error:F,retry:()=>v((b1)=>b1+1)})}):u.jsxs("div",{className:U("rounded-md bg-red-50 p-4",Q),ref:U1,children:[u.jsxs("p",{className:U("font-mono text-red-700 text-sm"),children:["Mermaid Error: ",F]}),u.jsxs("details",{className:U("mt-2"),children:[u.jsx("summary",{className:U("cursor-pointer text-red-600 text-xs"),children:"Show Code"}),u.jsx("pre",{className:U("mt-2 overflow-x-auto rounded bg-red-100 p-2 text-red-800 text-xs"),children:H})]})]});let B1=R||C;return u.jsx("div",{className:U("size-full",Q),"data-streamdown":"mermaid",ref:U1,children:u.jsx(vi,{className:U(J?"size-full overflow-hidden":"overflow-hidden",Q),fullscreen:J,maxZoom:3,minZoom:0.5,showControls:w,zoomStep:0.1,children:u.jsx("div",{"aria-label":"Mermaid chart",className:U("flex justify-center",J?"size-full items-center":null),dangerouslySetInnerHTML:{__html:B1},role:"img"})})})};var XJ=l(()=>{zP();wC();jC();T$();t$();_Z();Hg();Pg();cg();ng();IG();CD();dD();b8();Wh();s=K5(r9(),1),u=K5(YU(),1),HB=K5(sW(),1);Ih=/\s/,Vr=/^\s+$/,zr=new Set(["code","pre","svg","math","annotation"]);KJ();yh=s.createContext(!1),aU=s.createContext(ZB),gr=ZB("block","before:content-[counter(line)]","before:inline-block","before:[counter-increment:line]","before:w-6","before:mr-4","before:text-[13px]","before:text-right","before:text-muted-foreground/50","before:font-mono","before:select-none"),rU=s.memo(({children:H,result:Q,language:Y,className:J,startLine:w,lineNumbers:U=!0,...F})=>{let B=M0(),V=s.useMemo(()=>B(gr),[B]),N=s.useMemo(()=>{let R={};return Q.bg&&(R["--sdm-bg"]=Q.bg),Q.fg&&(R["--sdm-fg"]=Q.fg),Q.rootStyle&&Object.assign(R,Gr(Q.rootStyle)),R},[Q.bg,Q.fg,Q.rootStyle]);return u.jsx("div",{className:B(J,"overflow-x-auto rounded-md border border-border bg-background p-4 text-sm"),"data-language":Y,"data-streamdown":"code-block-body",...F,children:u.jsx("pre",{className:B(J,"bg-[var(--sdm-bg,inherit]","dark:bg-[var(--shiki-dark-bg,var(--sdm-bg,inherit)]"),style:N,children:u.jsx("code",{className:U?B("[counter-increment:line_0] [counter-reset:line]"):void 0,style:U&&w&&w>1?{counterReset:`line ${w-1}`}:void 0,children:Q.tokens.map((R,O)=>u.jsx("span",{className:U?V:void 0,children:R.length===0||R.length===1&&R[0].content===""?`
|
|
362
|
+
`:R.map((C,$)=>{let _={},v=!!C.bgColor;if(C.color&&(_["--sdm-c"]=C.color),C.bgColor&&(_["--sdm-tbg"]=C.bgColor),C.htmlStyle)for(let[p,m]of Object.entries(C.htmlStyle))p==="color"?_["--sdm-c"]=m:p==="background-color"?(_["--sdm-tbg"]=m,v=!0):_[p]=m;return u.jsx("span",{className:B("text-[var(--sdm-c,inherit)]","dark:text-[var(--shiki-dark,var(--sdm-c,inherit))]",v&&"bg-[var(--sdm-tbg)]",v&&"dark:bg-[var(--shiki-dark-bg,var(--sdm-tbg))]"),style:_,...C.htmlAttrs,children:C.content},$)})},O))})})})},(H,Q)=>H.result===Q.result&&H.language===Q.language&&H.className===Q.className&&H.startLine===Q.startLine&&H.lineNumbers===Q.lineNumbers),Th=s.createContext({code:""}),hr=s.lazy(()=>Promise.resolve().then(() => (Uh(),Fh)).then((H)=>({default:H.HighlightedCodeBlockBody}))),OX={CheckIcon:_r,CopyIcon:xr,DownloadIcon:Er,ExternalLinkIcon:Tr,Loader2Icon:Ir,Maximize2Icon:yr,RotateCcwIcon:vr,XIcon:Sr,ZoomInIcon:Ar,ZoomOutIcon:mr},kh=s.createContext(OX),XB={copyCode:"Copy Code",downloadFile:"Download file",downloadDiagram:"Download diagram",downloadDiagramAsSvg:"Download diagram as SVG",downloadDiagramAsPng:"Download diagram as PNG",downloadDiagramAsMmd:"Download diagram as MMD",viewFullscreen:"View fullscreen",exitFullscreen:"Exit fullscreen",mermaidFormatSvg:"SVG",mermaidFormatPng:"PNG",mermaidFormatMmd:"MMD",copyTable:"Copy table",copyTableAsMarkdown:"Copy table as Markdown",copyTableAsCsv:"Copy table as CSV",copyTableAsTsv:"Copy table as TSV",downloadTable:"Download table",downloadTableAsCsv:"Download table as CSV",downloadTableAsMarkdown:"Download table as Markdown",tableFormatMarkdown:"Markdown",tableFormatCsv:"CSV",tableFormatTsv:"TSV",imageNotAvailable:"Image not available",downloadImage:"Download image",openExternalLink:"Open external link?",externalLinkWarning:"You're about to visit an external website.",close:"Close",copyLink:"Copy link",copied:"Copied",openLink:"Open link"},cU=s.createContext(XB),Rh={"1c":"1c","1c-query":"1cq",abap:"abap","actionscript-3":"as",ada:"ada",adoc:"adoc","angular-html":"html","angular-ts":"ts",apache:"conf",apex:"cls",apl:"apl",applescript:"applescript",ara:"ara",asciidoc:"adoc",asm:"asm",astro:"astro",awk:"awk",ballerina:"bal",bash:"sh",bat:"bat",batch:"bat",be:"be",beancount:"beancount",berry:"berry",bibtex:"bib",bicep:"bicep",blade:"blade.php",bsl:"bsl",c:"c","c#":"cs","c++":"cpp",cadence:"cdc",cairo:"cairo",cdc:"cdc",clarity:"clar",clj:"clj",clojure:"clj","closure-templates":"soy",cmake:"cmake",cmd:"cmd",cobol:"cob",codeowners:"CODEOWNERS",codeql:"ql",coffee:"coffee",coffeescript:"coffee","common-lisp":"lisp",console:"sh",coq:"v",cpp:"cpp",cql:"cql",crystal:"cr",cs:"cs",csharp:"cs",css:"css",csv:"csv",cue:"cue",cypher:"cql",d:"d",dart:"dart",dax:"dax",desktop:"desktop",diff:"diff",docker:"dockerfile",dockerfile:"dockerfile",dotenv:"env","dream-maker":"dm",edge:"edge",elisp:"el",elixir:"ex",elm:"elm","emacs-lisp":"el",erb:"erb",erl:"erl",erlang:"erl",f:"f","f#":"fs",f03:"f03",f08:"f08",f18:"f18",f77:"f77",f90:"f90",f95:"f95",fennel:"fnl",fish:"fish",fluent:"ftl",for:"for","fortran-fixed-form":"f","fortran-free-form":"f90",fs:"fs",fsharp:"fs",fsl:"fsl",ftl:"ftl",gdresource:"tres",gdscript:"gd",gdshader:"gdshader",genie:"gs",gherkin:"feature","git-commit":"gitcommit","git-rebase":"gitrebase",gjs:"js",gleam:"gleam","glimmer-js":"js","glimmer-ts":"ts",glsl:"glsl",gnuplot:"plt",go:"go",gql:"gql",graphql:"graphql",groovy:"groovy",gts:"gts",hack:"hack",haml:"haml",handlebars:"hbs",haskell:"hs",haxe:"hx",hbs:"hbs",hcl:"hcl",hjson:"hjson",hlsl:"hlsl",hs:"hs",html:"html","html-derivative":"html",http:"http",hxml:"hxml",hy:"hy",imba:"imba",ini:"ini",jade:"jade",java:"java",javascript:"js",jinja:"jinja",jison:"jison",jl:"jl",js:"js",json:"json",json5:"json5",jsonc:"jsonc",jsonl:"jsonl",jsonnet:"jsonnet",jssm:"jssm",jsx:"jsx",julia:"jl",kotlin:"kt",kql:"kql",kt:"kt",kts:"kts",kusto:"kql",latex:"tex",lean:"lean",lean4:"lean",less:"less",liquid:"liquid",lisp:"lisp",lit:"lit",llvm:"ll",log:"log",logo:"logo",lua:"lua",luau:"luau",make:"mak",makefile:"mak",markdown:"md",marko:"marko",matlab:"m",md:"md",mdc:"mdc",mdx:"mdx",mediawiki:"wiki",mermaid:"mmd",mips:"s",mipsasm:"s",mmd:"mmd",mojo:"mojo",move:"move",nar:"nar",narrat:"narrat",nextflow:"nf",nf:"nf",nginx:"conf",nim:"nim",nix:"nix",nu:"nu",nushell:"nu",objc:"m","objective-c":"m","objective-cpp":"mm",ocaml:"ml",pascal:"pas",perl:"pl",perl6:"p6",php:"php",plsql:"pls",po:"po",polar:"polar",postcss:"pcss",pot:"pot",potx:"potx",powerquery:"pq",powershell:"ps1",prisma:"prisma",prolog:"pl",properties:"properties",proto:"proto",protobuf:"proto",ps:"ps",ps1:"ps1",pug:"pug",puppet:"pp",purescript:"purs",py:"py",python:"py",ql:"ql",qml:"qml",qmldir:"qmldir",qss:"qss",r:"r",racket:"rkt",raku:"raku",razor:"cshtml",rb:"rb",reg:"reg",regex:"regex",regexp:"regexp",rel:"rel",riscv:"s",rs:"rs",rst:"rst",ruby:"rb",rust:"rs",sas:"sas",sass:"sass",scala:"scala",scheme:"scm",scss:"scss",sdbl:"sdbl",sh:"sh",shader:"shader",shaderlab:"shader",shell:"sh",shellscript:"sh",shellsession:"sh",smalltalk:"st",solidity:"sol",soy:"soy",sparql:"rq",spl:"spl",splunk:"spl",sql:"sql","ssh-config":"config",stata:"do",styl:"styl",stylus:"styl",svelte:"svelte",swift:"swift","system-verilog":"sv",systemd:"service",talon:"talon",talonscript:"talon",tasl:"tasl",tcl:"tcl",templ:"templ",terraform:"tf",tex:"tex",tf:"tf",tfvars:"tfvars",toml:"toml",ts:"ts","ts-tags":"ts",tsp:"tsp",tsv:"tsv",tsx:"tsx",turtle:"ttl",twig:"twig",typ:"typ",typescript:"ts",typespec:"tsp",typst:"typ",v:"v",vala:"vala",vb:"vb",verilog:"v",vhdl:"vhdl",vim:"vim",viml:"vim",vimscript:"vim",vue:"vue","vue-html":"html","vue-vine":"vine",vy:"vy",vyper:"vy",wasm:"wasm",wenyan:"wy",wgsl:"wgsl",wiki:"wiki",wikitext:"wiki",wit:"wit",wl:"wl",wolfram:"wl",xml:"xml",xsl:"xsl",yaml:"yaml",yml:"yml",zenscript:"zs",zig:"zig",zsh:"zsh",文言:"wy"},kr=/\.[^/.]+$/,oU=s.createContext(null),sr=/startLine=(\d+)/,nr=/\bnoLineNumbers\b/,or=s.lazy(()=>Promise.resolve().then(() => (zh(),Vh)).then((H)=>({default:H.Mermaid}))),tr=/language-([^\s]+)/;FB=s.memo(({children:H,className:Q,node:Y,...J})=>{let w=M0();return u.jsx("ol",{className:w("list-inside list-decimal whitespace-normal [li_&]:pl-6",Q),"data-streamdown":"ordered-list",...J,children:H})},(H,Q)=>L5(H,Q));FB.displayName="MarkdownOl";ph=s.memo(({children:H,className:Q,node:Y,...J})=>{let w=M0();return u.jsx("li",{className:w("py-1 [&>p]:inline",Q),"data-streamdown":"list-item",...J,children:H})},(H,Q)=>H.className===Q.className&&LJ(H.node,Q.node));ph.displayName="MarkdownLi";rh=s.memo(({children:H,className:Q,node:Y,...J})=>{let w=M0();return u.jsx("ul",{className:w("list-inside list-disc whitespace-normal [li_&]:pl-6",Q),"data-streamdown":"unordered-list",...J,children:H})},(H,Q)=>L5(H,Q));rh.displayName="MarkdownUl";ih=s.memo(({className:H,node:Q,...Y})=>{let J=M0();return u.jsx("hr",{className:J("my-6 border-border",H),"data-streamdown":"horizontal-rule",...Y})},(H,Q)=>L5(H,Q));ih.displayName="MarkdownHr";dh=s.memo(({children:H,className:Q,node:Y,...J})=>{let w=M0();return u.jsx("span",{className:w("font-semibold",Q),"data-streamdown":"strong",...J,children:H})},(H,Q)=>L5(H,Q));dh.displayName="MarkdownStrong";ah=s.memo(er,(H,Q)=>L5(H,Q)&&H.href===Q.href);ah.displayName="MarkdownA";ch=s.memo(({children:H,className:Q,node:Y,...J})=>{let w=M0();return u.jsx("h1",{className:w("mt-6 mb-2 font-semibold text-3xl",Q),"data-streamdown":"heading-1",...J,children:H})},(H,Q)=>L5(H,Q));ch.displayName="MarkdownH1";sh=s.memo(({children:H,className:Q,node:Y,...J})=>{let w=M0();return u.jsx("h2",{className:w("mt-6 mb-2 font-semibold text-2xl",Q),"data-streamdown":"heading-2",...J,children:H})},(H,Q)=>L5(H,Q));sh.displayName="MarkdownH2";nh=s.memo(({children:H,className:Q,node:Y,...J})=>{let w=M0();return u.jsx("h3",{className:w("mt-6 mb-2 font-semibold text-xl",Q),"data-streamdown":"heading-3",...J,children:H})},(H,Q)=>L5(H,Q));nh.displayName="MarkdownH3";oh=s.memo(({children:H,className:Q,node:Y,...J})=>{let w=M0();return u.jsx("h4",{className:w("mt-6 mb-2 font-semibold text-lg",Q),"data-streamdown":"heading-4",...J,children:H})},(H,Q)=>L5(H,Q));oh.displayName="MarkdownH4";th=s.memo(({children:H,className:Q,node:Y,...J})=>{let w=M0();return u.jsx("h5",{className:w("mt-6 mb-2 font-semibold text-base",Q),"data-streamdown":"heading-5",...J,children:H})},(H,Q)=>L5(H,Q));th.displayName="MarkdownH5";eh=s.memo(({children:H,className:Q,node:Y,...J})=>{let w=M0();return u.jsx("h6",{className:w("mt-6 mb-2 font-semibold text-sm",Q),"data-streamdown":"heading-6",...J,children:H})},(H,Q)=>L5(H,Q));eh.displayName="MarkdownH6";H_=s.memo(({children:H,className:Q,node:Y,...J})=>{let{controls:w}=s.useContext(Q2),U=tU(w,"table"),F=dU(w,"copy"),B=dU(w,"download"),V=dU(w,"fullscreen");return u.jsx(cr,{className:Q,showControls:U,showCopy:F,showDownload:B,showFullscreen:V,...J,children:H})},(H,Q)=>L5(H,Q));H_.displayName="MarkdownTable";Z_=s.memo(({children:H,className:Q,node:Y,...J})=>{let w=M0();return u.jsx("thead",{className:w("bg-muted/80",Q),"data-streamdown":"table-header",...J,children:H})},(H,Q)=>L5(H,Q));Z_.displayName="MarkdownThead";X_=s.memo(({children:H,className:Q,node:Y,...J})=>{let w=M0();return u.jsx("tbody",{className:w("divide-y divide-border",Q),"data-streamdown":"table-body",...J,children:H})},(H,Q)=>L5(H,Q));X_.displayName="MarkdownTbody";Q_=s.memo(({children:H,className:Q,node:Y,...J})=>{let w=M0();return u.jsx("tr",{className:w("border-border",Q),"data-streamdown":"table-row",...J,children:H})},(H,Q)=>L5(H,Q));Q_.displayName="MarkdownTr";q_=s.memo(({children:H,className:Q,node:Y,...J})=>{let w=M0();return u.jsx("th",{className:w("whitespace-nowrap px-4 py-2 text-left font-semibold text-sm",Q),"data-streamdown":"table-header-cell",...J,children:H})},(H,Q)=>L5(H,Q));q_.displayName="MarkdownTh";Y_=s.memo(({children:H,className:Q,node:Y,...J})=>{let w=M0();return u.jsx("td",{className:w("px-4 py-2 text-sm",Q),"data-streamdown":"table-cell",...J,children:H})},(H,Q)=>L5(H,Q));Y_.displayName="MarkdownTd";J_=s.memo(({children:H,className:Q,node:Y,...J})=>{let w=M0();return u.jsx("blockquote",{className:w("my-4 border-muted-foreground/30 border-l-4 pl-4 text-muted-foreground italic",Q),"data-streamdown":"blockquote",...J,children:H})},(H,Q)=>L5(H,Q));J_.displayName="MarkdownBlockquote";K_=s.memo(({children:H,className:Q,node:Y,...J})=>{let w=M0();return u.jsx("sup",{className:w("text-sm",Q),"data-streamdown":"superscript",...J,children:H})},(H,Q)=>L5(H,Q));K_.displayName="MarkdownSup";w_=s.memo(({children:H,className:Q,node:Y,...J})=>{let w=M0();return u.jsx("sub",{className:w("text-sm",Q),"data-streamdown":"subscript",...J,children:H})},(H,Q)=>L5(H,Q));w_.displayName="MarkdownSub";W_=s.memo(({children:H,className:Q,node:Y,...J})=>{if("data-footnotes"in J){let w=(F)=>{var B,V;if(!s.isValidElement(F))return!1;let N=Array.isArray(F.props.children)?F.props.children:[F.props.children],R=!1,O=!1;for(let C of N)if(C){if(typeof C=="string")C.trim()!==""&&(R=!0);else if(s.isValidElement(C))if(((B=C.props)==null?void 0:B["data-footnote-backref"])!==void 0)O=!0;else{let $=Array.isArray(C.props.children)?C.props.children:[C.props.children];for(let _ of $){if(typeof _=="string"&&_.trim()!==""){R=!0;break}if(s.isValidElement(_)&&((V=_.props)==null?void 0:V["data-footnote-backref"])===void 0){R=!0;break}}}}return O&&!R},U=Array.isArray(H)?H.map((F)=>{if(!s.isValidElement(F))return F;if(F.type===FB){let B=(Array.isArray(F.props.children)?F.props.children:[F.props.children]).filter((V)=>!w(V));return B.length===0?null:{...F,props:{...F.props,children:B}}}return F}):H;return(Array.isArray(U)?U.some((F)=>F!==null):U!==null)?u.jsx("section",{className:Q,...J,children:U}):null}return u.jsx("section",{className:Q,...J,children:H})},(H,Q)=>L5(H,Q));W_.displayName="MarkdownSection";L_=s.memo(Hi,(H,Q)=>H.className===Q.className&&LJ(H.node,Q.node));L_.displayName="MarkdownCode";F_=s.memo(fr,(H,Q)=>H.className===Q.className&&LJ(H.node,Q.node));F_.displayName="MarkdownImg";U_=s.memo(({children:H,node:Q,...Y})=>{let J=(Array.isArray(H)?H:[H]).filter((w)=>w!=null&&w!=="");if(J.length===1&&s.isValidElement(J[0])){let w=J[0].props.node,U=w==null?void 0:w.tagName;if(U==="img")return u.jsx(u.Fragment,{children:H});if(U==="code"&&"data-block"in J[0].props)return u.jsx(u.Fragment,{children:H})}return u.jsx("p",{...Y,children:H})},(H,Q)=>L5(H,Q));U_.displayName="MarkdownParagraph";Zi={ol:FB,li:ph,ul:rh,hr:ih,strong:dh,a:ah,h1:ch,h2:sh,h3:nh,h4:oh,h5:th,h6:eh,table:H_,thead:Z_,tbody:X_,tr:Q_,th:q_,td:Y_,blockquote:J_,code:L_,img:F_,pre:({children:H})=>s.isValidElement(H)?s.cloneElement(H,{"data-block":"true"}):H,sup:K_,sub:w_,p:U_,section:W_},Xi=/[\u0590-\u08FF\uFB1D-\uFDFF\uFE70-\uFEFF]/,Qi=/\p{L}/u;qi=/^[ \t]{0,3}(`{3,}|~{3,})/,Yi=/^\|?[ \t]*:?-{1,}:?[ \t]*(\|[ \t]*:?-{1,}:?[ \t]*)*\|?$/,Ph=[],Mh={allowDangerousHtml:!0},qJ=new WeakMap,Ch=new wi,ji=/\[\^[\w-]{1,200}\](?!:)/,Ri=/\[\^[\w-]{1,200}\]:/,Oi=/<(\w+)[\s>]/,Ni=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]),bh=new Map,$h=new Map,$i=/([\\`*_~[\]|])/g,_i=/^[ \t]*<[\w!/?-]/,xi=/(^|\n)[ \t]{4,}(?=<[\w!/?-])/g,JJ={...x3,protocols:{...x3.protocols,href:[...(hh=(Dh=x3.protocols)==null?void 0:Dh.href)!=null?hh:[],"tel"]},attributes:{...x3.attributes,code:[...(xh=(_h=x3.attributes)==null?void 0:_h.code)!=null?xh:[],"metastring"]}},WJ={raw:T8,sanitize:[HX,JJ],harden:[BP,{allowedImagePrefixes:["*"],allowedLinkPrefixes:["*"],allowedProtocols:["*"],defaultOrigin:void 0,allowDataImages:!0}]},O_={gfm:[yY,{}],codeMeta:hi},Eh=Object.values(WJ),Ei=Object.values(O_),Ii={block:" ▋",circle:" ●"},N_=["github-light","github-dark"],P_={enabled:!0},yi={shikiTheme:N_,controls:!0,isAnimating:!1,lineNumbers:!0,mode:"streaming",mermaid:void 0,linkSafety:P_},Q2=s.createContext(yi),UB=s.memo(({content:H,shouldParseIncompleteMarkdown:Q,shouldNormalizeHtmlIndentation:Y,index:J,isIncomplete:w,dir:U,animatePlugin:F,...B})=>{if(F){let R=F.getLastRenderCharCount();F.setPrevContentLength(R)}let V=typeof H=="string"&&Y?R_(H):H,N=u.jsx(B_,{...B,children:V});return u.jsx(yh.Provider,{value:w,children:U?u.jsx("div",{dir:U,style:{display:"contents"},children:N}):N})},(H,Q)=>{if(H.content!==Q.content||H.shouldNormalizeHtmlIndentation!==Q.shouldNormalizeHtmlIndentation||H.index!==Q.index||H.isIncomplete!==Q.isIncomplete||H.dir!==Q.dir)return!1;if(H.components!==Q.components){let Y=Object.keys(H.components||{}),J=Object.keys(Q.components||{});if(Y.length!==J.length||Y.some((w)=>{var U,F;return((U=H.components)==null?void 0:U[w])!==((F=Q.components)==null?void 0:F[w])}))return!1}return!(H.rehypePlugins!==Q.rehypePlugins||H.remarkPlugins!==Q.remarkPlugins)});UB.displayName="Block";FJ=s.memo(({children:H,mode:Q="streaming",dir:Y,parseIncompleteMarkdown:J=!0,normalizeHtmlIndentation:w=!1,components:U,rehypePlugins:F=Eh,remarkPlugins:B=Ei,className:V,shikiTheme:N=N_,mermaid:R,controls:O=!0,isAnimating:C=!1,animated:$,BlockComponent:_=UB,parseMarkdownIntoBlocksFn:v=z_,caret:p,plugins:m,remend:Z1,linkSafety:t=P_,lineNumbers:U1=!0,allowedTags:B1,literalTagContent:c,translations:b1,icons:e,prefix:$1,onAnimationStart:k,onAnimationEnd:k1,...g1})=>{let L1=s.useId(),[h1,Q1]=s.useTransition(),w1=s.useMemo(()=>$r($1),[$1]),Y1=s.useRef(null),I1=s.useRef(k),y1=s.useRef(k1);I1.current=k,y1.current=k1,s.useEffect(()=>{var _1,I0,W0;if(Q==="static")return;let q2=Y1.current;if(Y1.current=C,q2===null){C&&((_1=I1.current)==null||_1.call(I1));return}C&&!q2?(I0=I1.current)==null||I0.call(I1):!C&&q2&&((W0=y1.current)==null||W0.call(y1))},[C,Q]);let b=s.useMemo(()=>B1?Object.keys(B1):[],[B1]),j1=s.useMemo(()=>{if(typeof H!="string")return"";let _1=Q==="streaming"&&J?o$(H,Z1):H;return c&&c.length>0&&(_1=Gi(_1,c)),b.length>0&&(_1=bi(_1,b)),_1},[H,Q,J,Z1,b,c]),T1=s.useMemo(()=>v(j1),[j1,v]),[y,d1]=s.useState(T1);s.useEffect(()=>{Q==="streaming"&&!w0?Q1(()=>{d1(T1)}):d1(T1)},[T1,Q]);let o1=Q==="streaming"?y:T1,m1=s.useMemo(()=>Y==="auto"?o1.map(eU):void 0,[o1,Y]),y0=s.useMemo(()=>o1.map((_1,I0)=>`${L1}-${I0}`),[o1.length,L1]),Y0=s.useMemo(()=>$===!0?"true":$?JSON.stringify($):"",[$]),w0=s.useMemo(()=>Y0?Y0==="true"?KJ():KJ($):null,[Y0]),j5=s.useMemo(()=>{var _1,I0;return{shikiTheme:(I0=(_1=m==null?void 0:m.code)==null?void 0:_1.getThemes())!=null?I0:N,controls:O,isAnimating:C,lineNumbers:U1,mode:Q,mermaid:R,linkSafety:t}},[N,O,C,U1,Q,R,t,m==null?void 0:m.code]),G1=s.useMemo(()=>b1?JSON.stringify(b1):"",[b1]),F5=s.useMemo(()=>({...XB,...b1}),[G1]),x5=s.useMemo(()=>{let{inlineCode:_1,...I0}=U!=null?U:{},W0={...Zi,...I0};if(_1){let q2=W0.code;W0.code=(I5)=>("data-block"in I5)?q2?s.createElement(q2,I5):null:s.createElement(_1,I5)}return W0},[U]),E5=s.useMemo(()=>{let _1=[];return m!=null&&m.cjk&&(_1=[..._1,...m.cjk.remarkPluginsBefore]),_1=[..._1,...B],m!=null&&m.cjk&&(_1=[..._1,...m.cjk.remarkPluginsAfter]),m!=null&&m.math&&(_1=[..._1,m.math.remarkPlugin]),_1},[B,m==null?void 0:m.math,m==null?void 0:m.cjk]),t0=s.useMemo(()=>{var _1;let I0=F;if(B1&&Object.keys(B1).length>0&&F===Eh){let W0={...JJ,tagNames:[...(_1=JJ.tagNames)!=null?_1:[],...Object.keys(B1)],attributes:{...JJ.attributes,...B1}};I0=[WJ.raw,[HX,W0],WJ.harden]}return c&&c.length>0&&(I0=[...I0,[Di,c]]),m!=null&&m.math&&(I0=[...I0,m.math.rehypePlugin]),w0&&C&&(I0=[...I0,w0.rehypePlugin]),I0},[F,m==null?void 0:m.math,w0,C,B1,c]),g0=s.useMemo(()=>{if(!C||o1.length===0)return!1;let _1=o1.at(-1);return Nh(_1)||Ji(_1)},[C,o1]),v3=s.useMemo(()=>p&&C&&!g0?{"--streamdown-caret":`"${Ii[p]}"`}:void 0,[p,C,g0]);return Q==="static"?u.jsx(cU.Provider,{value:F5,children:u.jsx(oU.Provider,{value:m!=null?m:null,children:u.jsx(Q2.Provider,{value:j5,children:u.jsx(jh,{icons:e,children:u.jsx(aU.Provider,{value:w1,children:u.jsx("div",{className:w1("space-y-4 whitespace-normal [&>*:first-child]:mt-0 [&>*:last-child]:mb-0",V),dir:Y==="auto"?eU(j1):Y,children:u.jsx(B_,{components:x5,rehypePlugins:t0,remarkPlugins:E5,...g1,children:j1})})})})})})}):u.jsx(cU.Provider,{value:F5,children:u.jsx(oU.Provider,{value:m!=null?m:null,children:u.jsx(Q2.Provider,{value:j5,children:u.jsx(jh,{icons:e,children:u.jsx(aU.Provider,{value:w1,children:u.jsxs("div",{className:w1("space-y-4 whitespace-normal [&>*:first-child]:mt-0 [&>*:last-child]:mb-0",p&&!g0?"[&>*:last-child]:after:inline [&>*:last-child]:after:align-baseline [&>*:last-child]:after:content-[var(--streamdown-caret)]":null,V),style:v3,children:[o1.length===0&&p&&C&&u.jsx("span",{}),o1.map((_1,I0)=>{var W0;let q2=I0===o1.length-1,I5=C&&q2&&Nh(_1);return u.jsx(_,{animatePlugin:w0,components:x5,content:_1,dir:(W0=m1==null?void 0:m1[I0])!=null?W0:Y!=="auto"?Y:void 0,index:I0,isIncomplete:I5,rehypePlugins:t0,remarkPlugins:E5,shouldNormalizeHtmlIndentation:w,shouldParseIncompleteMarkdown:J,...g1},y0[I0])})]})})})})})})},(H,Q)=>H.children===Q.children&&H.shikiTheme===Q.shikiTheme&&H.isAnimating===Q.isAnimating&&H.animated===Q.animated&&H.mode===Q.mode&&H.plugins===Q.plugins&&H.className===Q.className&&H.linkSafety===Q.linkSafety&&H.lineNumbers===Q.lineNumbers&&H.normalizeHtmlIndentation===Q.normalizeHtmlIndentation&&H.literalTagContent===Q.literalTagContent&&JSON.stringify(H.translations)===JSON.stringify(Q.translations)&&H.prefix===Q.prefix&&H.dir===Q.dir);FJ.displayName="Streamdown"});var MX=o5((Si)=>{var N7=K5(r9());(function(){function H(b){if(b==null)return null;if(typeof b==="function")return b.$$typeof===k?null:b.displayName||b.name||null;if(typeof b==="string")return b;switch(b){case v:return"Fragment";case m:return"Profiler";case p:return"StrictMode";case B1:return"Suspense";case c:return"SuspenseList";case $1:return"Activity"}if(typeof b==="object")switch(typeof b.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),b.$$typeof){case _:return"Portal";case t:return b.displayName||"Context";case Z1:return(b._context.displayName||"Context")+".Consumer";case U1:var j1=b.render;return b=b.displayName,b||(b=j1.displayName||j1.name||"",b=b!==""?"ForwardRef("+b+")":"ForwardRef"),b;case b1:return j1=b.displayName||null,j1!==null?j1:H(b.type)||"Memo";case e:j1=b._payload,b=b._init;try{return H(b(j1))}catch(T1){}}return null}function Q(b){return""+b}function Y(b){try{Q(b);var j1=!1}catch(d1){j1=!0}if(j1){j1=console;var T1=j1.error,y=typeof Symbol==="function"&&Symbol.toStringTag&&b[Symbol.toStringTag]||b.constructor.name||"Object";return T1.call(j1,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",y),Q(b)}}function J(b){if(b===v)return"<>";if(typeof b==="object"&&b!==null&&b.$$typeof===e)return"<...>";try{var j1=H(b);return j1?"<"+j1+">":"<...>"}catch(T1){return"<...>"}}function w(){var b=k1.A;return b===null?null:b.getOwner()}function U(){return Error("react-stack-top-frame")}function F(b){if(g1.call(b,"key")){var j1=Object.getOwnPropertyDescriptor(b,"key").get;if(j1&&j1.isReactWarning)return!1}return b.key!==void 0}function B(b,j1){function T1(){Q1||(Q1=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",j1))}T1.isReactWarning=!0,Object.defineProperty(b,"key",{get:T1,configurable:!0})}function V(){var b=H(this.type);return w1[b]||(w1[b]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),b=this.props.ref,b!==void 0?b:null}function N(b,j1,T1,y,d1,o1){var m1=T1.ref;return b={$$typeof:$,type:b,key:j1,props:T1,_owner:y},(m1!==void 0?m1:null)!==null?Object.defineProperty(b,"ref",{enumerable:!1,get:V}):Object.defineProperty(b,"ref",{enumerable:!1,value:null}),b._store={},Object.defineProperty(b._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(b,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(b,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:d1}),Object.defineProperty(b,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:o1}),Object.freeze&&(Object.freeze(b.props),Object.freeze(b)),b}function R(b,j1,T1,y,d1,o1){var m1=j1.children;if(m1!==void 0)if(y)if(L1(m1)){for(y=0;y<m1.length;y++)O(m1[y]);Object.freeze&&Object.freeze(m1)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else O(m1);if(g1.call(j1,"key")){m1=H(b);var y0=Object.keys(j1).filter(function(w0){return w0!=="key"});y=0<y0.length?"{key: someKey, "+y0.join(": ..., ")+": ...}":"{key: someKey}",y1[m1+y]||(y0=0<y0.length?"{"+y0.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
363
|
+
let props = %s;
|
|
364
|
+
<%s {...props} />
|
|
365
|
+
React keys must be passed directly to JSX without using spread:
|
|
366
|
+
let props = %s;
|
|
367
|
+
<%s key={someKey} {...props} />`,y,m1,y0,m1),y1[m1+y]=!0)}if(m1=null,T1!==void 0&&(Y(T1),m1=""+T1),F(j1)&&(Y(j1.key),m1=""+j1.key),"key"in j1){T1={};for(var Y0 in j1)Y0!=="key"&&(T1[Y0]=j1[Y0])}else T1=j1;return m1&&B(T1,typeof b==="function"?b.displayName||b.name||"Unknown":b),N(b,m1,T1,w(),d1,o1)}function O(b){C(b)?b._store&&(b._store.validated=1):typeof b==="object"&&b!==null&&b.$$typeof===e&&(b._payload.status==="fulfilled"?C(b._payload.value)&&b._payload.value._store&&(b._payload.value._store.validated=1):b._store&&(b._store.validated=1))}function C(b){return typeof b==="object"&&b!==null&&b.$$typeof===$}var $=Symbol.for("react.transitional.element"),_=Symbol.for("react.portal"),v=Symbol.for("react.fragment"),p=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),Z1=Symbol.for("react.consumer"),t=Symbol.for("react.context"),U1=Symbol.for("react.forward_ref"),B1=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),b1=Symbol.for("react.memo"),e=Symbol.for("react.lazy"),$1=Symbol.for("react.activity"),k=Symbol.for("react.client.reference"),k1=N7.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,g1=Object.prototype.hasOwnProperty,L1=Array.isArray,h1=console.createTask?console.createTask:function(){return null};N7={react_stack_bottom_frame:function(b){return b()}};var Q1,w1={},Y1=N7.react_stack_bottom_frame.bind(N7,U)(),I1=h1(J(U)),y1={};Si.Fragment=v,Si.jsxDEV=function(b,j1,T1,y){var d1=1e4>k1.recentlyCreatedOwnerStacks++;return R(b,j1,T1,y,d1?Error("react-stack-top-frame"):Y1,d1?h1(J(b)):I1)}})()});var I_=K5(JP(),1);var s0=K5(r9(),1);XJ();class PX extends Error{status;issues;constructor(H,Q,Y=[]){super(Q);this.status=H,this.issues=Y}}async function X9(H,Q){let Y=await fetch(H,Q),J=await Y.json().catch(()=>{return});if(!Y.ok){let w=J??{};throw new PX(Y.status,w.error??Y.statusText,w.issues??[])}return J}async function M_(){let{types:H}=await X9("/cms/api/types");return H}async function C_(H){return X9(`/cms/api/schema?type=${encodeURIComponent(H)}`)}async function UJ(H){let{entities:Q}=await X9(`/cms/api/entities?type=${encodeURIComponent(H)}`);return Q}async function BB(H,Q){let{entity:Y}=await X9(`/cms/api/entities?type=${encodeURIComponent(H)}&id=${encodeURIComponent(Q)}`);return Y}async function b_(H){return X9("/cms/api/entities",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(H)})}async function $_(H){return X9("/cms/api/entities",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(H)})}async function g_(H){let Q=new FormData;return Q.set("file",H),X9("/cms/api/upload",{method:"POST",body:Q})}async function VB(){return X9("/cms/api/sync-status")}async function G_(H,Q){return X9(`/cms/api/entities?type=${encodeURIComponent(H)}&id=${encodeURIComponent(Q)}`,{method:"DELETE"})}var F1=K5(MX(),1);function D_(H){let Q=H.frontmatter.title;return typeof Q==="string"&&Q.length>0?Q:H.id}function h_(H){let Q={};for(let Y of H)if(Y.default!==void 0)Q[Y.name]=Y.default;return Q}function Ti(H,Q,Y){let J={...H};if(Y==="")return delete J[Q.name],J;if(Q.widget==="boolean")return J[Q.name]=Y===!0,J;if(Q.widget==="number")return J[Q.name]=Number(Y),J;return J[Q.name]=Y,J}function Ai(H){let Q=new Date(H);if(Number.isNaN(Q.getTime()))return"";return Q.toLocaleDateString(void 0,{day:"numeric",month:"short",year:"numeric"})}var mi=["source","split","preview"],ui={source:"Source",split:"Split",preview:"Preview"};function ki(H){let{value:Q,mode:Y,onChange:J,onModeChange:w}=H,U=Y!=="preview",F=Y!=="source";return F1.jsxDEV("div",{className:"body-editor",children:[F1.jsxDEV("header",{className:"body-toolbar",children:[F1.jsxDEV("span",{className:"seg body-modes",children:mi.map((B)=>F1.jsxDEV("button",{type:"button",className:B===Y?"mode mode-active":"mode",onClick:()=>w(B),children:ui[B]},B,!1,void 0,this))},void 0,!1,void 0,this),F1.jsxDEV("span",{className:"doc-meta",children:"markdown · edits the literal bytes"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),F1.jsxDEV("div",{className:U&&F?"body-panes split":"body-panes",children:[U&&F1.jsxDEV("textarea",{className:"body-source",value:Q,spellCheck:!1,onChange:(B)=>J(B.currentTarget.value)},void 0,!1,void 0,this),F&&F1.jsxDEV("div",{className:"body-preview",children:F1.jsxDEV(FJ,{children:Q},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function fi(H){return F1.jsxDEV("nav",{className:"types rail-group",children:[F1.jsxDEV("div",{className:"rail-title",children:"Collections"},void 0,!1,void 0,this),F1.jsxDEV("ul",{children:H.types.map((Q)=>F1.jsxDEV("li",{children:F1.jsxDEV("button",{type:"button",className:Q.entityType===H.active?"type active":"type",onClick:()=>H.onSelect(Q.entityType),children:[Q.label,Q.isSingleton?F1.jsxDEV("span",{className:"singleton-mark",children:"solo"},void 0,!1,void 0,this):F1.jsxDEV("span",{className:"count",children:Q.count},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},Q.entityType,!1,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function li(H){let{state:Q,onReload:Y}=H;if(Q.kind==="saved")return Q.noop?F1.jsxDEV("p",{className:"status status-ok",children:"No changes — already saved."},void 0,!1,void 0,this):F1.jsxDEV("p",{className:"status status-ok",children:"Saved through the entity service."},void 0,!1,void 0,this);if(Q.kind==="conflict")return F1.jsxDEV("p",{className:"status status-error",children:[Q.message," ",F1.jsxDEV("button",{type:"button",className:"reload",onClick:Y,children:"Reload entry"},void 0,!1,void 0,this)]},void 0,!0,void 0,this);if(Q.kind==="error")return F1.jsxDEV("p",{className:"status status-error",children:Q.message},void 0,!1,void 0,this);return null}function __(H){let{save:Q,git:Y,baselineCommit:J}=H,w=Y?.lastCommit?Y.lastCommit.slice(0,7):null;if(Q.kind==="saving")return{db:"active",exported:"pending",committed:"pending",commitRef:w};if(Q.kind!=="saved")return{db:"pending",exported:"pending",committed:"pending",commitRef:w};if(Q.noop)return{db:"done",exported:"done",committed:"done",commitRef:w};if(!Y)return{db:"done",exported:"done",committed:"pending",commitRef:w};if(Y.hasChanges)return{db:"done",exported:"done",committed:"active",commitRef:w};if(Y.lastCommit!==J)return{db:"done",exported:"done",committed:"done",commitRef:w};return{db:"done",exported:"active",committed:"pending",commitRef:w}}function zB(H){let Q=H.state==="pending"?"station":`station ${H.state}`;return F1.jsxDEV("span",{className:Q,children:[F1.jsxDEV("span",{className:"dot"},void 0,!1,void 0,this),H.label]},void 0,!0,void 0,this)}function x_(H){return F1.jsxDEV("span",{className:H.flowing?"track flowing":"track",children:F1.jsxDEV("span",{className:"flow"},void 0,!1,void 0,this)},void 0,!1,void 0,this)}function pi(H){let{view:Q,gitConfigured:Y}=H;return F1.jsxDEV("span",{className:"stations-wrap",children:[F1.jsxDEV("span",{className:"stations",children:[F1.jsxDEV(zB,{state:Q.db,label:"entity db"},void 0,!1,void 0,this),F1.jsxDEV(x_,{flowing:Q.db==="done"&&Q.exported==="active"},void 0,!1,void 0,this),F1.jsxDEV(zB,{state:Q.exported,label:"exported to file"},void 0,!1,void 0,this),Y?F1.jsxDEV(F1.Fragment,{children:[F1.jsxDEV(x_,{flowing:Q.exported==="done"&&Q.committed==="active"},void 0,!1,void 0,this),F1.jsxDEV(zB,{state:Q.committed,label:"committed"},void 0,!1,void 0,this)]},void 0,!0,void 0,this):F1.jsxDEV("span",{className:"station no-git",children:"no git remote"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Q.commitRef&&F1.jsxDEV("span",{className:"commit-ref",children:["last write ",F1.jsxDEV("b",{children:Q.commitRef},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function ri(H){let{descriptor:Q,value:Y,onChange:J}=H,[w,U]=s0.useState({kind:"idle"}),F=typeof Y==="string"&&Y.length>0?Y:null;return F1.jsxDEV("div",{className:"field field-image",children:[F1.jsxDEV("span",{className:"field-label",children:[Q.label,F1.jsxDEV("em",{className:"kind",children:"image entity"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),F&&F1.jsxDEV("p",{className:"image-ref",children:[F1.jsxDEV("code",{children:F},void 0,!1,void 0,this),F1.jsxDEV("button",{type:"button",onClick:()=>J(""),children:"Clear"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),F1.jsxDEV("input",{type:"file",accept:"image/*",onChange:(B)=>{let V=B.currentTarget.files?.[0];if(!V)return;U({kind:"uploading"}),g_(V).then((N)=>{U({kind:"idle"}),J(N.entityId)}).catch((N)=>U({kind:"error",message:N instanceof Error?N.message:String(N)}))}},void 0,!1,void 0,this),w.kind==="uploading"&&F1.jsxDEV("p",{className:"status",children:"Uploading…"},void 0,!1,void 0,this),w.kind==="error"&&F1.jsxDEV("p",{className:"status status-error",children:w.message},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function ii(H){let{descriptor:Q,value:Y,onChange:J}=H,w=Q.required!==!1,U=typeof Y==="string"||typeof Y==="number"?String(Y):"",F=F1.jsxDEV("span",{className:"field-label",children:[Q.label,w?F1.jsxDEV("em",{className:"req",children:"required"},void 0,!1,void 0,this):F1.jsxDEV("em",{className:"kind",children:Q.widget},void 0,!1,void 0,this)]},void 0,!0,void 0,this);if(Q.widget==="image")return F1.jsxDEV(ri,{descriptor:Q,value:Y,onChange:J},void 0,!1,void 0,this);if(Q.widget==="boolean")return F1.jsxDEV("label",{className:"field field-inline",children:[F1.jsxDEV("span",{className:"field-label",children:Q.label},void 0,!1,void 0,this),F1.jsxDEV("input",{type:"checkbox",checked:Y===!0,onChange:(B)=>J(B.currentTarget.checked)},void 0,!1,void 0,this)]},void 0,!0,void 0,this);if(Q.widget==="select")return F1.jsxDEV("label",{className:"field",children:[F,F1.jsxDEV("select",{value:U,required:w,onChange:(B)=>J(B.currentTarget.value),children:[F1.jsxDEV("option",{value:"",children:"—"},void 0,!1,void 0,this),(Q.options??[]).map((B)=>F1.jsxDEV("option",{value:B,children:B},B,!1,void 0,this))]},void 0,!0,void 0,this)]},void 0,!0,void 0,this);if(Q.widget==="text")return F1.jsxDEV("label",{className:"field",children:[F,F1.jsxDEV("textarea",{value:U,required:w,rows:4,onChange:(B)=>J(B.currentTarget.value)},void 0,!1,void 0,this)]},void 0,!0,void 0,this);if(Q.widget==="list"||Q.widget==="object")return F1.jsxDEV("label",{className:"field",children:[F1.jsxDEV("span",{className:"field-label",children:[Q.label,F1.jsxDEV("em",{className:"kind",children:"read-only"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),F1.jsxDEV("textarea",{value:JSON.stringify(Y??null,null,2),disabled:!0,rows:4},void 0,!1,void 0,this)]},void 0,!0,void 0,this);return F1.jsxDEV("label",{className:"field",children:[F,F1.jsxDEV("input",{type:Q.widget==="number"?"number":"text",value:U,required:w,onChange:(B)=>J(B.currentTarget.value)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function E_(){let[H,Q]=s0.useState(null),[Y,J]=s0.useState(null),[w,U]=s0.useState(null),[F,B]=s0.useState(null),[V,N]=s0.useState({kind:"browse"}),[R,O]=s0.useState({}),[C,$]=s0.useState(""),[_,v]=s0.useState("split"),[p,m]=s0.useState({kind:"idle"}),[Z1,t]=s0.useState(null),[U1,B1]=s0.useState(null),[c,b1]=s0.useState(null),e=s0.useRef(0),$1=H?.find((Y1)=>Y1.entityType===Y);s0.useEffect(()=>{M_().then((Y1)=>{Q(Y1);let I1=Y1.find((y1)=>!y1.isSingleton)??Y1[0];J(I1?I1.entityType:null)}).catch((Y1)=>t(n8(Y1))),VB().then(B1).catch(()=>B1(null))},[]),s0.useEffect(()=>{if(p.kind!=="saved"||!U1?.git)return;if(__({save:p,git:U1.git,baselineCommit:c}).committed==="done")return;if(Date.now()-e.current>20000)return;let I1=window.setTimeout(()=>{VB().then(B1).catch(()=>{})},900);return()=>window.clearTimeout(I1)},[p,U1,c]),s0.useEffect(()=>{if(!Y)return;N({kind:"browse"}),m({kind:"idle"}),B(null),U(null),Promise.all([C_(Y),UJ(Y)]).then(([Y1,I1])=>{if(U(Y1),B(I1),Y1.isSingleton){let y1=I1[0];if(y1)return BB(Y,y1.id).then((b)=>{N({kind:"edit",entity:b}),O(b.frontmatter),$(b.body)});N({kind:"create"}),O(h_(Y1.fields)),$("")}return}).catch((Y1)=>t(n8(Y1)))},[Y]);let k=s0.useCallback((Y1,I1={kind:"idle"})=>{if(!Y)return;BB(Y,Y1).then((y1)=>{N({kind:"edit",entity:y1}),O(y1.frontmatter),$(y1.body),m(I1)}).catch((y1)=>t(n8(y1)))},[Y]),k1=s0.useCallback(()=>{if(!w)return;m({kind:"idle"}),N({kind:"create"}),O(h_(w.fields)),$("")},[w]),g1=s0.useCallback(()=>{N({kind:"browse"}),m({kind:"idle"})},[]),L1=s0.useCallback(()=>{if(!Y||V.kind==="browse"||!w)return;e.current=Date.now(),b1(U1?.git?.lastCommit??null),m({kind:"saving"});let Y1=w.hasBody?{body:C}:{};(V.kind==="create"?$_({entityType:Y,frontmatter:R,...Y1}):b_({entityType:Y,id:V.entity.id,frontmatter:R,baseContentHash:V.entity.contentHash,...Y1})).then(async(y1)=>{B(await UJ(Y));let b="skipped"in y1&&y1.skipped===!0;k(y1.entityId,{kind:"saved",noop:b})}).catch((y1)=>m(y1 instanceof PX&&y1.status===409?{kind:"conflict",message:n8(y1)}:{kind:"error",message:n8(y1)}))},[Y,V,R,C,w,k,U1]),h1=s0.useCallback(()=>{if(!Y||V.kind!=="edit")return;let{id:Y1}=V.entity;if(!window.confirm(`Delete ${Y1}? The exported file is removed too.`))return;G_(Y,Y1).then(async()=>{N({kind:"browse"}),B(await UJ(Y))}).catch((I1)=>m({kind:"error",message:n8(I1)}))},[Y,V]);if(Z1)return F1.jsxDEV("div",{className:"studio",children:[F1.jsxDEV("style",{children:BJ},void 0,!1,void 0,this),F1.jsxDEV("p",{className:"status status-error boot-status",children:Z1},void 0,!1,void 0,this)]},void 0,!0,void 0,this);if(!H||Y&&(!w||!F))return F1.jsxDEV("div",{className:"studio",children:[F1.jsxDEV("style",{children:BJ},void 0,!1,void 0,this),F1.jsxDEV("p",{className:"status boot-status",children:"Loading…"},void 0,!1,void 0,this)]},void 0,!0,void 0,this);if(!Y||!w)return F1.jsxDEV("div",{className:"studio",children:[F1.jsxDEV("style",{children:BJ},void 0,!1,void 0,this),F1.jsxDEV("p",{className:"status boot-status",children:"No editable entity types are registered."},void 0,!1,void 0,this)]},void 0,!0,void 0,this);let Q1=V.kind!=="browse",w1=V.kind==="edit"?D_(V.entity):V.kind==="create"?`New ${$1?.label??Y}`:$1?.label??Y;return F1.jsxDEV("div",{className:"studio",children:[F1.jsxDEV("style",{children:BJ},void 0,!1,void 0,this),F1.jsxDEV("header",{className:"appbar",children:[F1.jsxDEV("span",{className:"brandmark",children:[F1.jsxDEV("span",{className:"pulse"},void 0,!1,void 0,this),"content ",F1.jsxDEV("b",{children:"studio"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),F1.jsxDEV("span",{className:"crumb",children:[$1?.label??Y,Q1&&F1.jsxDEV(F1.Fragment,{children:[" / ",F1.jsxDEV("strong",{children:w1},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),F1.jsxDEV("span",{className:"spacer"},void 0,!1,void 0,this),F1.jsxDEV("span",{className:"session-chip",children:"operator session"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),F1.jsxDEV("div",{className:"studio-body",children:[F1.jsxDEV("aside",{className:"rail",children:F1.jsxDEV(fi,{types:H,active:Y,onSelect:J},void 0,!1,void 0,this)},void 0,!1,void 0,this),!Q1?F1.jsxDEV("main",{className:"listing",children:[F1.jsxDEV("div",{className:"listing-head",children:[F1.jsxDEV("h3",{children:$1?.label??Y},void 0,!1,void 0,this),F1.jsxDEV("span",{className:"meta",children:[F?.length??0," ",F?.length===1?"entry":"entries"]},void 0,!0,void 0,this),F1.jsxDEV("button",{type:"button",className:"btn",onClick:k1,children:"New entry"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),(F??[]).map((Y1,I1)=>F1.jsxDEV("button",{type:"button",className:"row",onClick:()=>k(Y1.id),children:[F1.jsxDEV("span",{className:"idx",children:String(I1+1).padStart(2,"0")},void 0,!1,void 0,this),F1.jsxDEV("span",{className:"title",children:[D_(Y1),F1.jsxDEV("small",{children:Y1.id},void 0,!1,void 0,this)]},void 0,!0,void 0,this),F1.jsxDEV("span",{className:"updated",children:Ai(Y1.updated)},void 0,!1,void 0,this)]},Y1.id,!0,void 0,this)),F?.length===0&&F1.jsxDEV("p",{className:"status listing-empty",children:"Nothing here yet — start the first entry."},void 0,!1,void 0,this)]},void 0,!0,void 0,this):F1.jsxDEV("form",{className:"editor",onSubmit:(Y1)=>{Y1.preventDefault(),L1()},children:[F1.jsxDEV("aside",{className:"colophon",children:[F1.jsxDEV("div",{className:"form-title",children:[F1.jsxDEV("span",{children:"Colophon"},void 0,!1,void 0,this),F1.jsxDEV("span",{children:w.format==="raw"?"raw":"frontmatter"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),!w.isSingleton&&F1.jsxDEV("button",{type:"button",className:"backlink",onClick:g1,children:["← All ",$1?.label??Y]},void 0,!0,void 0,this),w.fields.map((Y1)=>F1.jsxDEV(ii,{descriptor:Y1,value:R[Y1.name],onChange:(I1)=>O((y1)=>Ti(y1,Y1,I1))},Y1.name,!1,void 0,this)),w.fields.length===0&&F1.jsxDEV("p",{className:"status",children:"This type is raw markdown — the whole document is the body."},void 0,!1,void 0,this)]},void 0,!0,void 0,this),F1.jsxDEV("section",{className:"manuscript",children:w.hasBody?F1.jsxDEV(ki,{value:C,mode:_,onChange:$,onModeChange:v},void 0,!1,void 0,this):F1.jsxDEV("p",{className:"status manuscript-empty",children:"This type has no body — its fields are the whole record."},void 0,!1,void 0,this)},void 0,!1,void 0,this),F1.jsxDEV("footer",{className:"pipeline",children:[F1.jsxDEV("button",{type:"submit",className:"save-btn",disabled:p.kind==="saving",children:p.kind==="saving"?"Saving…":"Save"},void 0,!1,void 0,this),U1?.directorySync&&F1.jsxDEV(pi,{view:__({save:p,git:U1.git,baselineCommit:c}),gitConfigured:U1.git!==null},void 0,!1,void 0,this),F1.jsxDEV(li,{state:U1?.directorySync&&p.kind==="saved"&&!p.noop?{kind:"idle"}:p,onReload:()=>{if(V.kind==="edit")k(V.entity.id)}},void 0,!1,void 0,this),F1.jsxDEV("span",{className:"spacer"},void 0,!1,void 0,this),V.kind==="edit"&&!w.isSingleton&&F1.jsxDEV("button",{type:"button",className:"btn danger",onClick:h1,children:"Delete"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function n8(H){if(H instanceof PX&&H.issues.length>0)return H.issues.map((Q)=>`${Q.path.join(".")}: ${Q.message}`).join("; ");return H instanceof Error?H.message:String(H)}var BJ=`
|
|
368
|
+
.studio { display: flex; flex-direction: column; min-height: 100vh; }
|
|
369
|
+
.boot-status { padding: 48px; }
|
|
370
|
+
.spacer { flex: 1; }
|
|
371
|
+
|
|
372
|
+
/* ── appbar ── */
|
|
373
|
+
.appbar { display: flex; align-items: center; gap: 18px; padding: 0 20px; height: 52px; border-bottom: var(--hairline); background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent); }
|
|
374
|
+
.brandmark { display: flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-60); white-space: nowrap; }
|
|
375
|
+
.brandmark b { color: var(--ink); font-weight: 500; }
|
|
376
|
+
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--vermilion); animation: pulse 2.4s ease-in-out infinite; }
|
|
377
|
+
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(196,74,29,0.45); } 55% { box-shadow: 0 0 0 6px rgba(196,74,29,0); } }
|
|
378
|
+
.crumb { font-size: 13px; color: var(--ink-60); }
|
|
379
|
+
.crumb strong { color: var(--ink); font-weight: 500; }
|
|
380
|
+
.session-chip { display: flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11px; color: var(--verdigris); background: var(--verdigris-soft); border-radius: 99px; padding: 5px 12px; white-space: nowrap; }
|
|
381
|
+
.session-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--verdigris); }
|
|
382
|
+
|
|
383
|
+
/* ── frame ── */
|
|
384
|
+
.studio-body { flex: 1; display: grid; grid-template-columns: 232px 1fr; align-items: stretch; }
|
|
385
|
+
|
|
386
|
+
/* ── rail ── */
|
|
387
|
+
.rail { border-right: var(--hairline); padding: 22px 0 26px; background: linear-gradient(to right, transparent 60%, rgba(33,29,24,0.025)), var(--paper-deep); }
|
|
388
|
+
.rail-title { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-40); padding: 0 20px 8px; }
|
|
389
|
+
.rail ul { list-style: none; }
|
|
390
|
+
.rail .type { display: flex; align-items: baseline; gap: 8px; width: 100%; padding: 6px 20px; border: 0; border-left: 2px solid transparent; background: none; text-align: left; color: var(--ink-60); font-family: var(--ui); font-size: 13.5px; cursor: pointer; transition: background .12s ease; }
|
|
391
|
+
.rail .type:hover { background: rgba(255,255,255,0.55); color: var(--ink); }
|
|
392
|
+
.rail .type.active { color: var(--ink); font-weight: 500; border-left-color: var(--vermilion); background: rgba(255,255,255,0.75); }
|
|
393
|
+
.rail .count { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--ink-40); }
|
|
394
|
+
.rail .singleton-mark { margin-left: auto; font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; color: var(--amber); }
|
|
395
|
+
|
|
396
|
+
/* ── listing ── */
|
|
397
|
+
.listing { padding: 26px 30px 34px; }
|
|
398
|
+
.listing-head { display: flex; align-items: flex-end; gap: 16px; padding-bottom: 16px; border-bottom: 2px solid var(--ink); }
|
|
399
|
+
.listing-head h3 { font-family: var(--display); font-variation-settings: "SOFT" 70, "opsz" 60; font-weight: 580; font-size: 34px; line-height: 1; letter-spacing: -0.01em; }
|
|
400
|
+
.listing-head .meta { font-family: var(--mono); font-size: 11.5px; color: var(--ink-40); padding-bottom: 5px; }
|
|
401
|
+
.listing-head .btn { margin-left: auto; margin-bottom: 2px; }
|
|
402
|
+
.listing-empty { padding: 22px 4px; }
|
|
403
|
+
.row { display: grid; grid-template-columns: 44px 1fr 150px; gap: 18px; align-items: baseline; width: 100%; padding: 15px 4px 14px; border: 0; border-bottom: var(--hairline); background: none; text-align: left; cursor: pointer; transition: background .12s ease; font-family: var(--ui); }
|
|
404
|
+
.row:hover { background: rgba(255,255,255,0.65); }
|
|
405
|
+
.row .idx { font-family: var(--mono); font-size: 11px; color: var(--ink-40); }
|
|
406
|
+
.row .title { font-family: var(--display); font-variation-settings: "SOFT" 50, "opsz" 30; font-weight: 520; font-size: 17.5px; letter-spacing: -0.005em; color: var(--ink); }
|
|
407
|
+
.row:hover .title { color: var(--vermilion-deep); }
|
|
408
|
+
.row .title small { display: block; font-family: var(--mono); font-size: 11px; font-weight: 400; color: var(--ink-40); margin-top: 3px; letter-spacing: 0; }
|
|
409
|
+
.row .updated { font-size: 12.5px; color: var(--ink-60); }
|
|
410
|
+
|
|
411
|
+
/* ── buttons ── */
|
|
412
|
+
.btn { font-family: var(--ui); font-size: 13px; font-weight: 500; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); border-radius: 7px; padding: 8px 16px; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease; }
|
|
413
|
+
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 10px -4px rgba(33,29,24,0.5); }
|
|
414
|
+
.btn.danger { background: transparent; color: var(--vermilion-deep); border-color: rgba(196,74,29,0.4); }
|
|
415
|
+
.btn.danger:hover { background: rgba(196,74,29,0.07); box-shadow: none; transform: none; }
|
|
416
|
+
|
|
417
|
+
/* ── editor ── */
|
|
418
|
+
.editor { display: grid; grid-template-columns: 330px 1fr; grid-template-rows: 1fr auto; min-height: 0; }
|
|
419
|
+
.colophon { border-right: var(--hairline); background: var(--paper-deep); padding: 26px 26px 60px; }
|
|
420
|
+
.form-title { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-40); display: flex; justify-content: space-between; padding-bottom: 18px; }
|
|
421
|
+
.form-title span:last-child { color: var(--vermilion); }
|
|
422
|
+
.backlink { display: block; width: 100%; border: 0; background: none; text-align: left; font-family: var(--mono); font-size: 11.5px; color: var(--ink-60); padding: 0 0 14px; cursor: pointer; }
|
|
423
|
+
.backlink:hover { color: var(--vermilion-deep); }
|
|
424
|
+
|
|
425
|
+
/* ── fields ── */
|
|
426
|
+
.field { display: block; padding: 14px 0 16px; border-top: var(--hairline); }
|
|
427
|
+
.field-label { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; font-weight: 500; letter-spacing: 0.02em; color: var(--ink-60); margin-bottom: 7px; }
|
|
428
|
+
.field-label .req, .field-label em.req { font-family: var(--mono); font-style: normal; font-size: 10px; color: var(--vermilion); }
|
|
429
|
+
.field-label .kind, .field-label em.kind { font-family: var(--mono); font-style: normal; font-size: 10px; color: var(--ink-40); font-weight: 400; }
|
|
430
|
+
.field input[type="text"], .field input[type="number"], .field select, .field textarea { width: 100%; font-family: var(--ui); font-size: 14px; color: var(--ink); background: rgba(255,255,255,0.72); border: 1px solid var(--ink-15); border-radius: 6px; padding: 8px 11px; outline: none; transition: border-color .15s ease, box-shadow .15s ease; }
|
|
431
|
+
.field textarea { resize: vertical; line-height: 1.5; }
|
|
432
|
+
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--vermilion); box-shadow: 0 0 0 3px rgba(196,74,29,0.13); }
|
|
433
|
+
.field textarea[disabled] { font-family: var(--mono); font-size: 11.5px; color: var(--ink-40); }
|
|
434
|
+
.field-inline { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
|
|
435
|
+
.field-inline .field-label { margin-bottom: 0; }
|
|
436
|
+
.field-inline input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--verdigris); }
|
|
437
|
+
.field-image .image-ref { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; }
|
|
438
|
+
.field-image .image-ref code { font-family: var(--mono); font-size: 11px; background: rgba(255,255,255,0.8); border: 1px solid var(--ink-15); padding: 3px 8px; border-radius: 4px; overflow-wrap: anywhere; }
|
|
439
|
+
.field-image .image-ref button { font-family: var(--ui); font-size: 12px; border: 1px solid var(--ink-15); background: none; color: var(--ink-60); border-radius: 5px; padding: 3px 9px; cursor: pointer; }
|
|
440
|
+
.field-image .image-ref button:hover { color: var(--vermilion-deep); border-color: rgba(196,74,29,0.4); }
|
|
441
|
+
.field-image input[type="file"] { width: 100%; font-family: var(--mono); font-size: 11px; color: var(--ink-40); border: 1px dashed var(--ink-15); border-radius: 8px; background: rgba(255,255,255,0.5); padding: 12px 11px; }
|
|
442
|
+
|
|
443
|
+
/* ── manuscript / body editor ── */
|
|
444
|
+
.manuscript { display: flex; flex-direction: column; min-width: 0; }
|
|
445
|
+
.manuscript-empty { padding: 30px 34px; }
|
|
446
|
+
.body-editor { display: flex; flex-direction: column; flex: 1; min-height: 0; }
|
|
447
|
+
.body-toolbar { display: flex; align-items: center; gap: 4px; padding: 12px 26px; border-bottom: var(--hairline); }
|
|
448
|
+
.doc-meta { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--ink-40); }
|
|
449
|
+
.seg { display: inline-flex; border: var(--hairline); border-radius: 7px; overflow: hidden; background: rgba(255,255,255,0.5); }
|
|
450
|
+
.seg .mode { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; border: none; background: transparent; color: var(--ink-40); padding: 6px 14px; cursor: pointer; }
|
|
451
|
+
.seg .mode-active { background: var(--ink); color: var(--paper); }
|
|
452
|
+
.body-panes { display: grid; flex: 1; min-height: 420px; }
|
|
453
|
+
.body-panes.split { grid-template-columns: 1fr 1fr; }
|
|
454
|
+
.body-source { font-family: var(--mono); font-size: 13px; line-height: 1.75; color: var(--ink); background: none; border: 0; border-right: var(--hairline); outline: none; padding: 30px 34px; resize: none; min-height: 420px; }
|
|
455
|
+
.body-panes:not(.split) .body-source { border-right: 0; }
|
|
456
|
+
.body-preview { padding: 30px 34px; overflow-wrap: anywhere; }
|
|
457
|
+
.body-preview h1, .body-preview h2, .body-preview h3 { font-family: var(--display); font-variation-settings: "SOFT" 70, "opsz" 90; font-weight: 580; letter-spacing: -0.01em; line-height: 1.12; margin: 0 0 18px; }
|
|
458
|
+
.body-preview h1 { font-size: 30px; }
|
|
459
|
+
.body-preview h2 { font-size: 23px; margin-top: 26px; }
|
|
460
|
+
.body-preview h3 { font-size: 18px; margin-top: 22px; }
|
|
461
|
+
.body-preview p { font-size: 15px; line-height: 1.72; color: var(--ink); margin-bottom: 14px; max-width: 62ch; }
|
|
462
|
+
.body-preview p em { font-family: var(--display); font-style: italic; }
|
|
463
|
+
.body-preview blockquote { border-left: 2px solid var(--vermilion); padding: 2px 0 2px 18px; margin: 18px 0; color: var(--ink-60); font-family: var(--display); font-style: italic; font-size: 16.5px; }
|
|
464
|
+
.body-preview ul, .body-preview ol { padding-left: 22px; margin-bottom: 14px; }
|
|
465
|
+
.body-preview li { font-size: 15px; line-height: 1.72; }
|
|
466
|
+
.body-preview code { font-family: var(--mono); font-size: 12.5px; background: rgba(33,29,24,0.06); padding: 1px 5px; border-radius: 4px; }
|
|
467
|
+
.body-preview pre { background: var(--ink); color: var(--paper); border-radius: 8px; padding: 14px 16px; margin-bottom: 16px; overflow-x: auto; }
|
|
468
|
+
.body-preview pre code { background: none; color: inherit; }
|
|
469
|
+
|
|
470
|
+
/* ── pipeline (action bar) ── */
|
|
471
|
+
.pipeline { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; border-top: 2px solid var(--ink); background: var(--ink); color: var(--paper); padding: 0 20px; min-height: 58px; }
|
|
472
|
+
.save-btn { font-family: var(--ui); font-weight: 600; font-size: 13.5px; background: var(--vermilion); color: #fff; border: none; border-radius: 7px; padding: 9px 22px; cursor: pointer; transition: transform .12s ease, background .15s ease; }
|
|
473
|
+
.save-btn:hover { background: var(--vermilion-deep); transform: translateY(-1px); }
|
|
474
|
+
.save-btn[disabled] { opacity: .6; transform: none; }
|
|
475
|
+
.pipeline .btn.danger { border-color: rgba(244,239,230,0.3); color: rgba(244,239,230,0.75); }
|
|
476
|
+
.pipeline .btn.danger:hover { background: rgba(196,74,29,0.25); color: #fff; }
|
|
477
|
+
.pipeline .status { font-family: var(--mono); font-size: 11.5px; }
|
|
478
|
+
.pipeline .status-ok { color: #9fd0be; }
|
|
479
|
+
.pipeline .status-error { color: #f0b39e; }
|
|
480
|
+
.pipeline .reload { font-family: var(--ui); font-size: 12px; border: 1px solid rgba(244,239,230,0.4); background: none; color: var(--paper); border-radius: 5px; padding: 3px 10px; cursor: pointer; margin-left: 6px; }
|
|
481
|
+
.pipeline .reload:hover { border-color: var(--paper); }
|
|
482
|
+
|
|
483
|
+
/* ── instrument strip: entity db → exported to file → committed ── */
|
|
484
|
+
.stations-wrap { display: flex; align-items: center; min-width: 0; }
|
|
485
|
+
.stations { display: flex; align-items: center; margin-left: 14px; }
|
|
486
|
+
.station { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: rgba(244,239,230,0.45); white-space: nowrap; }
|
|
487
|
+
.station .dot { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid rgba(244,239,230,0.35); transition: all .2s ease; }
|
|
488
|
+
.station.done { color: rgba(244,239,230,0.95); }
|
|
489
|
+
.station.done .dot { background: var(--verdigris); border-color: var(--verdigris); box-shadow: 0 0 10px rgba(61,107,92,0.7); }
|
|
490
|
+
.station.active { color: #fff; }
|
|
491
|
+
.station.active .dot { border-color: var(--amber); background: var(--amber); animation: pulse 1.2s ease-in-out infinite; }
|
|
492
|
+
.station.no-git { font-style: italic; margin-left: 28px; }
|
|
493
|
+
.track { height: 1px; width: 64px; background: rgba(244,239,230,0.22); margin: 0 14px; position: relative; overflow: hidden; display: inline-block; }
|
|
494
|
+
.track .flow { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--verdigris) 50%, transparent); transform: translateX(-100%); }
|
|
495
|
+
.track.flowing .flow { animation: flow 0.9s ease-in-out infinite; }
|
|
496
|
+
@keyframes flow { to { transform: translateX(100%); } }
|
|
497
|
+
.commit-ref { font-family: var(--mono); font-size: 11px; color: rgba(244,239,230,0.55); margin-left: 22px; white-space: nowrap; }
|
|
498
|
+
.commit-ref b { color: var(--paper); font-weight: 500; }
|
|
499
|
+
|
|
500
|
+
/* ── status ── */
|
|
501
|
+
.status { color: var(--ink-60); font-size: 13px; }
|
|
502
|
+
.status-error { color: var(--vermilion-deep); }
|
|
503
|
+
.status-ok { color: var(--verdigris); }
|
|
504
|
+
`;var y_=K5(MX(),1),jB=document.querySelector("[data-cms-root]");if(jB)jB.textContent="",I_.createRoot(jB).render(y_.jsxDEV(E_,{},void 0,!1,void 0,this));
|
|
505
|
+
|
|
506
|
+
//# debugId=DDA59E756A79083364756E2164756E21
|