@appchy/jarvis 0.1.49 → 0.1.50
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/bin.js +345 -132
- package/dist/bin.js.map +1 -1
- package/dist/ui/app.js +102 -0
- package/dist/ui/index.html +22 -0
- package/harness/presets/appchy/PRESET.md +4 -2
- package/package.json +11 -2
package/dist/ui/app.js
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
var XV=Object.create;var x5=Object.defineProperty;var ZV=Object.getOwnPropertyDescriptor;var JV=Object.getOwnPropertyNames;var tw=Object.getPrototypeOf,ew=Object.prototype.hasOwnProperty;var mt=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),H5=(t,e)=>{for(var r in e)x5(t,r,{get:e[r],enumerable:!0})},rw=(t,e,r,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of JV(e))!ew.call(t,i)&&i!==r&&x5(t,i,{get:()=>e[i],enumerable:!(a=ZV(e,i))||a.enumerable});return t};var P=(t,e,r)=>(r=t!=null?XV(tw(t)):{},rw(e||!t||!t.__esModule?x5(r,"default",{value:t,enumerable:!0}):r,t));var Ts=mt(f1=>{"use strict";var i4=Symbol.for("react.element"),aw=Symbol.for("react.portal"),iw=Symbol.for("react.fragment"),nw=Symbol.for("react.strict_mode"),lw=Symbol.for("react.profiler"),ow=Symbol.for("react.provider"),cw=Symbol.for("react.context"),hw=Symbol.for("react.forward_ref"),dw=Symbol.for("react.suspense"),sw=Symbol.for("react.memo"),vw=Symbol.for("react.lazy"),bs=Symbol.iterator;function pw(t){return t===null||typeof t!="object"?null:(t=bs&&t[bs]||t["@@iterator"],typeof t=="function"?t:null)}var Cs={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ss=Object.assign,Bs={};function c0(t,e,r){this.props=t,this.context=e,this.refs=Bs,this.updater=r||Cs}c0.prototype.isReactComponent={};c0.prototype.setState=function(t,e){if(typeof t!="object"&&typeof t!="function"&&t!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")};c0.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function ks(){}ks.prototype=c0.prototype;function w5(t,e,r){this.props=t,this.context=e,this.refs=Bs,this.updater=r||Cs}var b5=w5.prototype=new ks;b5.constructor=w5;Ss(b5,c0.prototype);b5.isPureReactComponent=!0;var ys=Array.isArray,Os=Object.prototype.hasOwnProperty,y5={current:null},As={key:!0,ref:!0,__self:!0,__source:!0};function _s(t,e,r){var a,i={},n=null,l=null;if(e!=null)for(a in e.ref!==void 0&&(l=e.ref),e.key!==void 0&&(n=""+e.key),e)Os.call(e,a)&&!As.hasOwnProperty(a)&&(i[a]=e[a]);var o=arguments.length-2;if(o===1)i.children=r;else if(1<o){for(var c=Array(o),h=0;h<o;h++)c[h]=arguments[h+2];i.children=c}if(t&&t.defaultProps)for(a in o=t.defaultProps,o)i[a]===void 0&&(i[a]=o[a]);return{$$typeof:i4,type:t,key:n,ref:l,props:i,_owner:y5.current}}function uw(t,e){return{$$typeof:i4,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}function L5(t){return typeof t=="object"&&t!==null&&t.$$typeof===i4}function gw(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(r){return e[r]})}var Ls=/\/+/g;function V5(t,e){return typeof t=="object"&&t!==null&&t.key!=null?gw(""+t.key):e.toString(36)}function Ei(t,e,r,a,i){var n=typeof t;(n==="undefined"||n==="boolean")&&(t=null);var l=!1;if(t===null)l=!0;else switch(n){case"string":case"number":l=!0;break;case"object":switch(t.$$typeof){case i4:case aw:l=!0}}if(l)return l=t,i=i(l),t=a===""?"."+V5(l,0):a,ys(i)?(r="",t!=null&&(r=t.replace(Ls,"$&/")+"/"),Ei(i,e,r,"",function(h){return h})):i!=null&&(L5(i)&&(i=uw(i,r+(!i.key||l&&l.key===i.key?"":(""+i.key).replace(Ls,"$&/")+"/")+t)),e.push(i)),1;if(l=0,a=a===""?".":a+":",ys(t))for(var o=0;o<t.length;o++){n=t[o];var c=a+V5(n,o);l+=Ei(n,e,r,c,i)}else if(c=pw(t),typeof c=="function")for(t=c.call(t),o=0;!(n=t.next()).done;)n=n.value,c=a+V5(n,o++),l+=Ei(n,e,r,c,i);else if(n==="object")throw e=String(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.");return l}function _i(t,e,r){if(t==null)return t;var a=[],i=0;return Ei(t,a,"","",function(n){return e.call(r,n,i++)}),a}function mw(t){if(t._status===-1){var e=t._result;e=e(),e.then(function(r){(t._status===0||t._status===-1)&&(t._status=1,t._result=r)},function(r){(t._status===0||t._status===-1)&&(t._status=2,t._result=r)}),t._status===-1&&(t._status=0,t._result=e)}if(t._status===1)return t._result.default;throw t._result}var Dt={current:null},Ti={transition:null},fw={ReactCurrentDispatcher:Dt,ReactCurrentBatchConfig:Ti,ReactCurrentOwner:y5};function Es(){throw Error("act(...) is not supported in production builds of React.")}f1.Children={map:_i,forEach:function(t,e,r){_i(t,function(){e.apply(this,arguments)},r)},count:function(t){var e=0;return _i(t,function(){e++}),e},toArray:function(t){return _i(t,function(e){return e})||[]},only:function(t){if(!L5(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};f1.Component=c0;f1.Fragment=iw;f1.Profiler=lw;f1.PureComponent=w5;f1.StrictMode=nw;f1.Suspense=dw;f1.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=fw;f1.act=Es;f1.cloneElement=function(t,e,r){if(t==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var a=Ss({},t.props),i=t.key,n=t.ref,l=t._owner;if(e!=null){if(e.ref!==void 0&&(n=e.ref,l=y5.current),e.key!==void 0&&(i=""+e.key),t.type&&t.type.defaultProps)var o=t.type.defaultProps;for(c in e)Os.call(e,c)&&!As.hasOwnProperty(c)&&(a[c]=e[c]===void 0&&o!==void 0?o[c]:e[c])}var c=arguments.length-2;if(c===1)a.children=r;else if(1<c){o=Array(c);for(var h=0;h<c;h++)o[h]=arguments[h+2];a.children=o}return{$$typeof:i4,type:t.type,key:i,ref:n,props:a,_owner:l}};f1.createContext=function(t){return t={$$typeof:cw,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},t.Provider={$$typeof:ow,_context:t},t.Consumer=t};f1.createElement=_s;f1.createFactory=function(t){var e=_s.bind(null,t);return e.type=t,e};f1.createRef=function(){return{current:null}};f1.forwardRef=function(t){return{$$typeof:hw,render:t}};f1.isValidElement=L5;f1.lazy=function(t){return{$$typeof:vw,_payload:{_status:-1,_result:t},_init:mw}};f1.memo=function(t,e){return{$$typeof:sw,type:t,compare:e===void 0?null:e}};f1.startTransition=function(t){var e=Ti.transition;Ti.transition={};try{t()}finally{Ti.transition=e}};f1.unstable_act=Es;f1.useCallback=function(t,e){return Dt.current.useCallback(t,e)};f1.useContext=function(t){return Dt.current.useContext(t)};f1.useDebugValue=function(){};f1.useDeferredValue=function(t){return Dt.current.useDeferredValue(t)};f1.useEffect=function(t,e){return Dt.current.useEffect(t,e)};f1.useId=function(){return Dt.current.useId()};f1.useImperativeHandle=function(t,e,r){return Dt.current.useImperativeHandle(t,e,r)};f1.useInsertionEffect=function(t,e){return Dt.current.useInsertionEffect(t,e)};f1.useLayoutEffect=function(t,e){return Dt.current.useLayoutEffect(t,e)};f1.useMemo=function(t,e){return Dt.current.useMemo(t,e)};f1.useReducer=function(t,e,r){return Dt.current.useReducer(t,e,r)};f1.useRef=function(t){return Dt.current.useRef(t)};f1.useState=function(t){return Dt.current.useState(t)};f1.useSyncExternalStore=function(t,e,r){return Dt.current.useSyncExternalStore(t,e,r)};f1.useTransition=function(){return Dt.current.useTransition()};f1.version="18.3.1"});var c1=mt((MT,Rs)=>{"use strict";Rs.exports=Ts()});var js=mt(E1=>{"use strict";function k5(t,e){var r=t.length;t.push(e);t:for(;0<r;){var a=r-1>>>1,i=t[a];if(0<Ri(i,e))t[a]=e,t[r]=i,r=a;else break t}}function R2(t){return t.length===0?null:t[0]}function Ii(t){if(t.length===0)return null;var e=t[0],r=t.pop();if(r!==e){t[0]=r;t:for(var a=0,i=t.length,n=i>>>1;a<n;){var l=2*(a+1)-1,o=t[l],c=l+1,h=t[c];if(0>Ri(o,r))c<i&&0>Ri(h,o)?(t[a]=h,t[c]=r,a=c):(t[a]=o,t[l]=r,a=l);else if(c<i&&0>Ri(h,r))t[a]=h,t[c]=r,a=c;else break t}}return e}function Ri(t,e){var r=t.sortIndex-e.sortIndex;return r!==0?r:t.id-e.id}typeof performance=="object"&&typeof performance.now=="function"?(Ps=performance,E1.unstable_now=function(){return Ps.now()}):(C5=Date,Is=C5.now(),E1.unstable_now=function(){return C5.now()-Is});var Ps,C5,Is,K2=[],Ae=[],zw=1,H2=null,At=3,Ni=!1,zr=!1,l4=!1,Fs=typeof setTimeout=="function"?setTimeout:null,Ws=typeof clearTimeout=="function"?clearTimeout:null,Ns=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function O5(t){for(var e=R2(Ae);e!==null;){if(e.callback===null)Ii(Ae);else if(e.startTime<=t)Ii(Ae),e.sortIndex=e.expirationTime,k5(K2,e);else break;e=R2(Ae)}}function A5(t){if(l4=!1,O5(t),!zr)if(R2(K2)!==null)zr=!0,E5(_5);else{var e=R2(Ae);e!==null&&T5(A5,e.startTime-t)}}function _5(t,e){zr=!1,l4&&(l4=!1,Ws(o4),o4=-1),Ni=!0;var r=At;try{for(O5(e),H2=R2(K2);H2!==null&&(!(H2.expirationTime>e)||t&&!$s());){var a=H2.callback;if(typeof a=="function"){H2.callback=null,At=H2.priorityLevel;var i=a(H2.expirationTime<=e);e=E1.unstable_now(),typeof i=="function"?H2.callback=i:H2===R2(K2)&&Ii(K2),O5(e)}else Ii(K2);H2=R2(K2)}if(H2!==null)var n=!0;else{var l=R2(Ae);l!==null&&T5(A5,l.startTime-e),n=!1}return n}finally{H2=null,At=r,Ni=!1}}var Di=!1,Pi=null,o4=-1,Us=5,Gs=-1;function $s(){return!(E1.unstable_now()-Gs<Us)}function S5(){if(Pi!==null){var t=E1.unstable_now();Gs=t;var e=!0;try{e=Pi(!0,t)}finally{e?n4():(Di=!1,Pi=null)}}else Di=!1}var n4;typeof Ns=="function"?n4=function(){Ns(S5)}:typeof MessageChannel<"u"?(B5=new MessageChannel,Ds=B5.port2,B5.port1.onmessage=S5,n4=function(){Ds.postMessage(null)}):n4=function(){Fs(S5,0)};var B5,Ds;function E5(t){Pi=t,Di||(Di=!0,n4())}function T5(t,e){o4=Fs(function(){t(E1.unstable_now())},e)}E1.unstable_IdlePriority=5;E1.unstable_ImmediatePriority=1;E1.unstable_LowPriority=4;E1.unstable_NormalPriority=3;E1.unstable_Profiling=null;E1.unstable_UserBlockingPriority=2;E1.unstable_cancelCallback=function(t){t.callback=null};E1.unstable_continueExecution=function(){zr||Ni||(zr=!0,E5(_5))};E1.unstable_forceFrameRate=function(t){0>t||125<t?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Us=0<t?Math.floor(1e3/t):5};E1.unstable_getCurrentPriorityLevel=function(){return At};E1.unstable_getFirstCallbackNode=function(){return R2(K2)};E1.unstable_next=function(t){switch(At){case 1:case 2:case 3:var e=3;break;default:e=At}var r=At;At=e;try{return t()}finally{At=r}};E1.unstable_pauseExecution=function(){};E1.unstable_requestPaint=function(){};E1.unstable_runWithPriority=function(t,e){switch(t){case 1:case 2:case 3:case 4:case 5:break;default:t=3}var r=At;At=t;try{return e()}finally{At=r}};E1.unstable_scheduleCallback=function(t,e,r){var a=E1.unstable_now();switch(typeof r=="object"&&r!==null?(r=r.delay,r=typeof r=="number"&&0<r?a+r:a):r=a,t){case 1:var i=-1;break;case 2:i=250;break;case 5:i=1073741823;break;case 4:i=1e4;break;default:i=5e3}return i=r+i,t={id:zw++,callback:e,priorityLevel:t,startTime:r,expirationTime:i,sortIndex:-1},r>a?(t.sortIndex=r,k5(Ae,t),R2(K2)===null&&t===R2(Ae)&&(l4?(Ws(o4),o4=-1):l4=!0,T5(A5,r-a))):(t.sortIndex=i,k5(K2,t),zr||Ni||(zr=!0,E5(_5))),t};E1.unstable_shouldYield=$s;E1.unstable_wrapCallback=function(t){var e=At;return function(){var r=At;At=e;try{return t.apply(this,arguments)}finally{At=r}}}});var qs=mt((HT,Ks)=>{"use strict";Ks.exports=js()});var Z8=mt(g2=>{"use strict";var Mw=c1(),p2=qs();function N(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=1;r<arguments.length;r++)e+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var ev=new Set,B4={};function Or(t,e){B0(t,e),B0(t+"Capture",e)}function B0(t,e){for(B4[t]=e,t=0;t<e.length;t++)ev.add(e[t])}var me=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ic=Object.prototype.hasOwnProperty,xw=/^[: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]*$/,Ys={},Qs={};function Hw(t){return ic.call(Qs,t)?!0:ic.call(Ys,t)?!1:xw.test(t)?Qs[t]=!0:(Ys[t]=!0,!1)}function Vw(t,e,r,a){if(r!==null&&r.type===0)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return a?!1:r!==null?!r.acceptsBooleans:(t=t.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-");default:return!1}}function ww(t,e,r,a){if(e===null||typeof e>"u"||Vw(t,e,r,a))return!0;if(a)return!1;if(r!==null)switch(r.type){case 3:return!e;case 4:return e===!1;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}function Ut(t,e,r,a,i,n,l){this.acceptsBooleans=e===2||e===3||e===4,this.attributeName=a,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=t,this.type=e,this.sanitizeURL=n,this.removeEmptyString=l}var kt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){kt[t]=new Ut(t,0,!1,t,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var e=t[0];kt[e]=new Ut(e,1,!1,t[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(t){kt[t]=new Ut(t,2,!1,t.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){kt[t]=new Ut(t,2,!1,t,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(t){kt[t]=new Ut(t,3,!1,t.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(t){kt[t]=new Ut(t,3,!0,t,null,!1,!1)});["capture","download"].forEach(function(t){kt[t]=new Ut(t,4,!1,t,null,!1,!1)});["cols","rows","size","span"].forEach(function(t){kt[t]=new Ut(t,6,!1,t,null,!1,!1)});["rowSpan","start"].forEach(function(t){kt[t]=new Ut(t,5,!1,t.toLowerCase(),null,!1,!1)});var Qc=/[\-:]([a-z])/g;function Xc(t){return t[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(t){var e=t.replace(Qc,Xc);kt[e]=new Ut(e,1,!1,t,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var e=t.replace(Qc,Xc);kt[e]=new Ut(e,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(t){var e=t.replace(Qc,Xc);kt[e]=new Ut(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(t){kt[t]=new Ut(t,1,!1,t.toLowerCase(),null,!1,!1)});kt.xlinkHref=new Ut("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(t){kt[t]=new Ut(t,1,!1,t.toLowerCase(),null,!0,!0)});function Zc(t,e,r,a){var i=kt.hasOwnProperty(e)?kt[e]:null;(i!==null?i.type!==0:a||!(2<e.length)||e[0]!=="o"&&e[0]!=="O"||e[1]!=="n"&&e[1]!=="N")&&(ww(e,r,i,a)&&(r=null),a||i===null?Hw(e)&&(r===null?t.removeAttribute(e):t.setAttribute(e,""+r)):i.mustUseProperty?t[i.propertyName]=r===null?i.type===3?!1:"":r:(e=i.attributeName,a=i.attributeNamespace,r===null?t.removeAttribute(e):(i=i.type,r=i===3||i===4&&r===!0?"":""+r,a?t.setAttributeNS(a,e,r):t.setAttribute(e,r))))}var xe=Mw.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Fi=Symbol.for("react.element"),s0=Symbol.for("react.portal"),v0=Symbol.for("react.fragment"),Jc=Symbol.for("react.strict_mode"),nc=Symbol.for("react.profiler"),rv=Symbol.for("react.provider"),av=Symbol.for("react.context"),th=Symbol.for("react.forward_ref"),lc=Symbol.for("react.suspense"),oc=Symbol.for("react.suspense_list"),eh=Symbol.for("react.memo"),Ee=Symbol.for("react.lazy"),iv=Symbol.for("react.offscreen"),Xs=Symbol.iterator;function c4(t){return t===null||typeof t!="object"?null:(t=Xs&&t[Xs]||t["@@iterator"],typeof t=="function"?t:null)}var G1=Object.assign,R5;function m4(t){if(R5===void 0)try{throw Error()}catch(r){var e=r.stack.trim().match(/\n( *(at )?)/);R5=e&&e[1]||""}return`
|
|
2
|
+
`+R5+t}var P5=!1;function I5(t,e){if(!t||P5)return"";P5=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(e)if(e=function(){throw Error()},Object.defineProperty(e.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(e,[])}catch(h){var a=h}Reflect.construct(t,[],e)}else{try{e.call()}catch(h){a=h}t.call(e.prototype)}else{try{throw Error()}catch(h){a=h}t()}}catch(h){if(h&&a&&typeof h.stack=="string"){for(var i=h.stack.split(`
|
|
3
|
+
`),n=a.stack.split(`
|
|
4
|
+
`),l=i.length-1,o=n.length-1;1<=l&&0<=o&&i[l]!==n[o];)o--;for(;1<=l&&0<=o;l--,o--)if(i[l]!==n[o]){if(l!==1||o!==1)do if(l--,o--,0>o||i[l]!==n[o]){var c=`
|
|
5
|
+
`+i[l].replace(" at new "," at ");return t.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",t.displayName)),c}while(1<=l&&0<=o);break}}}finally{P5=!1,Error.prepareStackTrace=r}return(t=t?t.displayName||t.name:"")?m4(t):""}function bw(t){switch(t.tag){case 5:return m4(t.type);case 16:return m4("Lazy");case 13:return m4("Suspense");case 19:return m4("SuspenseList");case 0:case 2:case 15:return t=I5(t.type,!1),t;case 11:return t=I5(t.type.render,!1),t;case 1:return t=I5(t.type,!0),t;default:return""}}function cc(t){if(t==null)return null;if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case v0:return"Fragment";case s0:return"Portal";case nc:return"Profiler";case Jc:return"StrictMode";case lc:return"Suspense";case oc:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case av:return(t.displayName||"Context")+".Consumer";case rv:return(t._context.displayName||"Context")+".Provider";case th:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case eh:return e=t.displayName||null,e!==null?e:cc(t.type)||"Memo";case Ee:e=t._payload,t=t._init;try{return cc(t(e))}catch{}}return null}function yw(t){var e=t.type;switch(t.tag){case 24:return"Cache";case 9:return(e.displayName||"Context")+".Consumer";case 10:return(e._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return t=e.render,t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return cc(e);case 8:return e===Jc?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e}return null}function qe(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function nv(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function Lw(t){var e=nv(t)?"checked":"value",r=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),a=""+t[e];if(!t.hasOwnProperty(e)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var i=r.get,n=r.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return i.call(this)},set:function(l){a=""+l,n.call(this,l)}}),Object.defineProperty(t,e,{enumerable:r.enumerable}),{getValue:function(){return a},setValue:function(l){a=""+l},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function Wi(t){t._valueTracker||(t._valueTracker=Lw(t))}function lv(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var r=e.getValue(),a="";return t&&(a=nv(t)?t.checked?"true":"false":t.value),t=a,t!==r?(e.setValue(t),!0):!1}function fn(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function hc(t,e){var r=e.checked;return G1({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??t._wrapperState.initialChecked})}function Zs(t,e){var r=e.defaultValue==null?"":e.defaultValue,a=e.checked!=null?e.checked:e.defaultChecked;r=qe(e.value!=null?e.value:r),t._wrapperState={initialChecked:a,initialValue:r,controlled:e.type==="checkbox"||e.type==="radio"?e.checked!=null:e.value!=null}}function ov(t,e){e=e.checked,e!=null&&Zc(t,"checked",e,!1)}function dc(t,e){ov(t,e);var r=qe(e.value),a=e.type;if(r!=null)a==="number"?(r===0&&t.value===""||t.value!=r)&&(t.value=""+r):t.value!==""+r&&(t.value=""+r);else if(a==="submit"||a==="reset"){t.removeAttribute("value");return}e.hasOwnProperty("value")?sc(t,e.type,r):e.hasOwnProperty("defaultValue")&&sc(t,e.type,qe(e.defaultValue)),e.checked==null&&e.defaultChecked!=null&&(t.defaultChecked=!!e.defaultChecked)}function Js(t,e,r){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var a=e.type;if(!(a!=="submit"&&a!=="reset"||e.value!==void 0&&e.value!==null))return;e=""+t._wrapperState.initialValue,r||e===t.value||(t.value=e),t.defaultValue=e}r=t.name,r!==""&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,r!==""&&(t.name=r)}function sc(t,e,r){(e!=="number"||fn(t.ownerDocument)!==t)&&(r==null?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+r&&(t.defaultValue=""+r))}var f4=Array.isArray;function w0(t,e,r,a){if(t=t.options,e){e={};for(var i=0;i<r.length;i++)e["$"+r[i]]=!0;for(r=0;r<t.length;r++)i=e.hasOwnProperty("$"+t[r].value),t[r].selected!==i&&(t[r].selected=i),i&&a&&(t[r].defaultSelected=!0)}else{for(r=""+qe(r),e=null,i=0;i<t.length;i++){if(t[i].value===r){t[i].selected=!0,a&&(t[i].defaultSelected=!0);return}e!==null||t[i].disabled||(e=t[i])}e!==null&&(e.selected=!0)}}function vc(t,e){if(e.dangerouslySetInnerHTML!=null)throw Error(N(91));return G1({},e,{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue})}function t6(t,e){var r=e.value;if(r==null){if(r=e.children,e=e.defaultValue,r!=null){if(e!=null)throw Error(N(92));if(f4(r)){if(1<r.length)throw Error(N(93));r=r[0]}e=r}e==null&&(e=""),r=e}t._wrapperState={initialValue:qe(r)}}function cv(t,e){var r=qe(e.value),a=qe(e.defaultValue);r!=null&&(r=""+r,r!==t.value&&(t.value=r),e.defaultValue==null&&t.defaultValue!==r&&(t.defaultValue=r)),a!=null&&(t.defaultValue=""+a)}function e6(t){var e=t.textContent;e===t._wrapperState.initialValue&&e!==""&&e!==null&&(t.value=e)}function hv(t){switch(t){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function pc(t,e){return t==null||t==="http://www.w3.org/1999/xhtml"?hv(e):t==="http://www.w3.org/2000/svg"&&e==="foreignObject"?"http://www.w3.org/1999/xhtml":t}var Ui,dv=(function(t){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(e,r,a,i){MSApp.execUnsafeLocalFunction(function(){return t(e,r,a,i)})}:t})(function(t,e){if(t.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in t)t.innerHTML=e;else{for(Ui=Ui||document.createElement("div"),Ui.innerHTML="<svg>"+e.valueOf().toString()+"</svg>",e=Ui.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}});function k4(t,e){if(e){var r=t.firstChild;if(r&&r===t.lastChild&&r.nodeType===3){r.nodeValue=e;return}}t.textContent=e}var x4={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Cw=["Webkit","ms","Moz","O"];Object.keys(x4).forEach(function(t){Cw.forEach(function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),x4[e]=x4[t]})});function sv(t,e,r){return e==null||typeof e=="boolean"||e===""?"":r||typeof e!="number"||e===0||x4.hasOwnProperty(t)&&x4[t]?(""+e).trim():e+"px"}function vv(t,e){t=t.style;for(var r in e)if(e.hasOwnProperty(r)){var a=r.indexOf("--")===0,i=sv(r,e[r],a);r==="float"&&(r="cssFloat"),a?t.setProperty(r,i):t[r]=i}}var Sw=G1({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function uc(t,e){if(e){if(Sw[t]&&(e.children!=null||e.dangerouslySetInnerHTML!=null))throw Error(N(137,t));if(e.dangerouslySetInnerHTML!=null){if(e.children!=null)throw Error(N(60));if(typeof e.dangerouslySetInnerHTML!="object"||!("__html"in e.dangerouslySetInnerHTML))throw Error(N(61))}if(e.style!=null&&typeof e.style!="object")throw Error(N(62))}}function gc(t,e){if(t.indexOf("-")===-1)return typeof e.is=="string";switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var mc=null;function rh(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var fc=null,b0=null,y0=null;function r6(t){if(t=q4(t)){if(typeof fc!="function")throw Error(N(280));var e=t.stateNode;e&&(e=$n(e),fc(t.stateNode,t.type,e))}}function pv(t){b0?y0?y0.push(t):y0=[t]:b0=t}function uv(){if(b0){var t=b0,e=y0;if(y0=b0=null,r6(t),e)for(t=0;t<e.length;t++)r6(e[t])}}function gv(t,e){return t(e)}function mv(){}var N5=!1;function fv(t,e,r){if(N5)return t(e,r);N5=!0;try{return gv(t,e,r)}finally{N5=!1,(b0!==null||y0!==null)&&(mv(),uv())}}function O4(t,e){var r=t.stateNode;if(r===null)return null;var a=$n(r);if(a===null)return null;r=a[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(t=t.type,a=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!a;break t;default:t=!1}if(t)return null;if(r&&typeof r!="function")throw Error(N(231,e,typeof r));return r}var zc=!1;if(me)try{h0={},Object.defineProperty(h0,"passive",{get:function(){zc=!0}}),window.addEventListener("test",h0,h0),window.removeEventListener("test",h0,h0)}catch{zc=!1}var h0;function Bw(t,e,r,a,i,n,l,o,c){var h=Array.prototype.slice.call(arguments,3);try{e.apply(r,h)}catch(d){this.onError(d)}}var H4=!1,zn=null,Mn=!1,Mc=null,kw={onError:function(t){H4=!0,zn=t}};function Ow(t,e,r,a,i,n,l,o,c){H4=!1,zn=null,Bw.apply(kw,arguments)}function Aw(t,e,r,a,i,n,l,o,c){if(Ow.apply(this,arguments),H4){if(H4){var h=zn;H4=!1,zn=null}else throw Error(N(198));Mn||(Mn=!0,Mc=h)}}function Ar(t){var e=t,r=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(r=e.return),t=e.return;while(t)}return e.tag===3?r:null}function zv(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function a6(t){if(Ar(t)!==t)throw Error(N(188))}function _w(t){var e=t.alternate;if(!e){if(e=Ar(t),e===null)throw Error(N(188));return e!==t?null:t}for(var r=t,a=e;;){var i=r.return;if(i===null)break;var n=i.alternate;if(n===null){if(a=i.return,a!==null){r=a;continue}break}if(i.child===n.child){for(n=i.child;n;){if(n===r)return a6(i),t;if(n===a)return a6(i),e;n=n.sibling}throw Error(N(188))}if(r.return!==a.return)r=i,a=n;else{for(var l=!1,o=i.child;o;){if(o===r){l=!0,r=i,a=n;break}if(o===a){l=!0,a=i,r=n;break}o=o.sibling}if(!l){for(o=n.child;o;){if(o===r){l=!0,r=n,a=i;break}if(o===a){l=!0,a=n,r=i;break}o=o.sibling}if(!l)throw Error(N(189))}}if(r.alternate!==a)throw Error(N(190))}if(r.tag!==3)throw Error(N(188));return r.stateNode.current===r?t:e}function Mv(t){return t=_w(t),t!==null?xv(t):null}function xv(t){if(t.tag===5||t.tag===6)return t;for(t=t.child;t!==null;){var e=xv(t);if(e!==null)return e;t=t.sibling}return null}var Hv=p2.unstable_scheduleCallback,i6=p2.unstable_cancelCallback,Ew=p2.unstable_shouldYield,Tw=p2.unstable_requestPaint,Z1=p2.unstable_now,Rw=p2.unstable_getCurrentPriorityLevel,ah=p2.unstable_ImmediatePriority,Vv=p2.unstable_UserBlockingPriority,xn=p2.unstable_NormalPriority,Pw=p2.unstable_LowPriority,wv=p2.unstable_IdlePriority,Fn=null,X2=null;function Iw(t){if(X2&&typeof X2.onCommitFiberRoot=="function")try{X2.onCommitFiberRoot(Fn,t,void 0,(t.current.flags&128)===128)}catch{}}var F2=Math.clz32?Math.clz32:Fw,Nw=Math.log,Dw=Math.LN2;function Fw(t){return t>>>=0,t===0?32:31-(Nw(t)/Dw|0)|0}var Gi=64,$i=4194304;function z4(t){switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return t&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return t}}function Hn(t,e){var r=t.pendingLanes;if(r===0)return 0;var a=0,i=t.suspendedLanes,n=t.pingedLanes,l=r&268435455;if(l!==0){var o=l&~i;o!==0?a=z4(o):(n&=l,n!==0&&(a=z4(n)))}else l=r&~i,l!==0?a=z4(l):n!==0&&(a=z4(n));if(a===0)return 0;if(e!==0&&e!==a&&(e&i)===0&&(i=a&-a,n=e&-e,i>=n||i===16&&(n&4194240)!==0))return e;if((a&4)!==0&&(a|=r&16),e=t.entangledLanes,e!==0)for(t=t.entanglements,e&=a;0<e;)r=31-F2(e),i=1<<r,a|=t[r],e&=~i;return a}function Ww(t,e){switch(t){case 1:case 2:case 4:return e+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Uw(t,e){for(var r=t.suspendedLanes,a=t.pingedLanes,i=t.expirationTimes,n=t.pendingLanes;0<n;){var l=31-F2(n),o=1<<l,c=i[l];c===-1?((o&r)===0||(o&a)!==0)&&(i[l]=Ww(o,e)):c<=e&&(t.expiredLanes|=o),n&=~o}}function xc(t){return t=t.pendingLanes&-1073741825,t!==0?t:t&1073741824?1073741824:0}function bv(){var t=Gi;return Gi<<=1,(Gi&4194240)===0&&(Gi=64),t}function D5(t){for(var e=[],r=0;31>r;r++)e.push(t);return e}function j4(t,e,r){t.pendingLanes|=e,e!==536870912&&(t.suspendedLanes=0,t.pingedLanes=0),t=t.eventTimes,e=31-F2(e),t[e]=r}function Gw(t,e){var r=t.pendingLanes&~e;t.pendingLanes=e,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=e,t.mutableReadLanes&=e,t.entangledLanes&=e,e=t.entanglements;var a=t.eventTimes;for(t=t.expirationTimes;0<r;){var i=31-F2(r),n=1<<i;e[i]=0,a[i]=-1,t[i]=-1,r&=~n}}function ih(t,e){var r=t.entangledLanes|=e;for(t=t.entanglements;r;){var a=31-F2(r),i=1<<a;i&e|t[a]&e&&(t[a]|=e),r&=~i}}var C1=0;function yv(t){return t&=-t,1<t?4<t?(t&268435455)!==0?16:536870912:4:1}var Lv,nh,Cv,Sv,Bv,Hc=!1,ji=[],De=null,Fe=null,We=null,A4=new Map,_4=new Map,Re=[],$w="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function n6(t,e){switch(t){case"focusin":case"focusout":De=null;break;case"dragenter":case"dragleave":Fe=null;break;case"mouseover":case"mouseout":We=null;break;case"pointerover":case"pointerout":A4.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":_4.delete(e.pointerId)}}function h4(t,e,r,a,i,n){return t===null||t.nativeEvent!==n?(t={blockedOn:e,domEventName:r,eventSystemFlags:a,nativeEvent:n,targetContainers:[i]},e!==null&&(e=q4(e),e!==null&&nh(e)),t):(t.eventSystemFlags|=a,e=t.targetContainers,i!==null&&e.indexOf(i)===-1&&e.push(i),t)}function jw(t,e,r,a,i){switch(e){case"focusin":return De=h4(De,t,e,r,a,i),!0;case"dragenter":return Fe=h4(Fe,t,e,r,a,i),!0;case"mouseover":return We=h4(We,t,e,r,a,i),!0;case"pointerover":var n=i.pointerId;return A4.set(n,h4(A4.get(n)||null,t,e,r,a,i)),!0;case"gotpointercapture":return n=i.pointerId,_4.set(n,h4(_4.get(n)||null,t,e,r,a,i)),!0}return!1}function kv(t){var e=Hr(t.target);if(e!==null){var r=Ar(e);if(r!==null){if(e=r.tag,e===13){if(e=zv(r),e!==null){t.blockedOn=e,Bv(t.priority,function(){Cv(r)});return}}else if(e===3&&r.stateNode.current.memoizedState.isDehydrated){t.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}t.blockedOn=null}function on(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var r=Vc(t.domEventName,t.eventSystemFlags,e[0],t.nativeEvent);if(r===null){r=t.nativeEvent;var a=new r.constructor(r.type,r);mc=a,r.target.dispatchEvent(a),mc=null}else return e=q4(r),e!==null&&nh(e),t.blockedOn=r,!1;e.shift()}return!0}function l6(t,e,r){on(t)&&r.delete(e)}function Kw(){Hc=!1,De!==null&&on(De)&&(De=null),Fe!==null&&on(Fe)&&(Fe=null),We!==null&&on(We)&&(We=null),A4.forEach(l6),_4.forEach(l6)}function d4(t,e){t.blockedOn===e&&(t.blockedOn=null,Hc||(Hc=!0,p2.unstable_scheduleCallback(p2.unstable_NormalPriority,Kw)))}function E4(t){function e(i){return d4(i,t)}if(0<ji.length){d4(ji[0],t);for(var r=1;r<ji.length;r++){var a=ji[r];a.blockedOn===t&&(a.blockedOn=null)}}for(De!==null&&d4(De,t),Fe!==null&&d4(Fe,t),We!==null&&d4(We,t),A4.forEach(e),_4.forEach(e),r=0;r<Re.length;r++)a=Re[r],a.blockedOn===t&&(a.blockedOn=null);for(;0<Re.length&&(r=Re[0],r.blockedOn===null);)kv(r),r.blockedOn===null&&Re.shift()}var L0=xe.ReactCurrentBatchConfig,Vn=!0;function qw(t,e,r,a){var i=C1,n=L0.transition;L0.transition=null;try{C1=1,lh(t,e,r,a)}finally{C1=i,L0.transition=n}}function Yw(t,e,r,a){var i=C1,n=L0.transition;L0.transition=null;try{C1=4,lh(t,e,r,a)}finally{C1=i,L0.transition=n}}function lh(t,e,r,a){if(Vn){var i=Vc(t,e,r,a);if(i===null)K5(t,e,a,wn,r),n6(t,a);else if(jw(i,t,e,r,a))a.stopPropagation();else if(n6(t,a),e&4&&-1<$w.indexOf(t)){for(;i!==null;){var n=q4(i);if(n!==null&&Lv(n),n=Vc(t,e,r,a),n===null&&K5(t,e,a,wn,r),n===i)break;i=n}i!==null&&a.stopPropagation()}else K5(t,e,a,null,r)}}var wn=null;function Vc(t,e,r,a){if(wn=null,t=rh(a),t=Hr(t),t!==null)if(e=Ar(t),e===null)t=null;else if(r=e.tag,r===13){if(t=zv(e),t!==null)return t;t=null}else if(r===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null);return wn=t,null}function Ov(t){switch(t){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Rw()){case ah:return 1;case Vv:return 4;case xn:case Pw:return 16;case wv:return 536870912;default:return 16}default:return 16}}var Ie=null,oh=null,cn=null;function Av(){if(cn)return cn;var t,e=oh,r=e.length,a,i="value"in Ie?Ie.value:Ie.textContent,n=i.length;for(t=0;t<r&&e[t]===i[t];t++);var l=r-t;for(a=1;a<=l&&e[r-a]===i[n-a];a++);return cn=i.slice(t,1<a?1-a:void 0)}function hn(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function Ki(){return!0}function o6(){return!1}function u2(t){function e(r,a,i,n,l){this._reactName=r,this._targetInst=i,this.type=a,this.nativeEvent=n,this.target=l,this.currentTarget=null;for(var o in t)t.hasOwnProperty(o)&&(r=t[o],this[o]=r?r(n):n[o]);return this.isDefaultPrevented=(n.defaultPrevented!=null?n.defaultPrevented:n.returnValue===!1)?Ki:o6,this.isPropagationStopped=o6,this}return G1(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=Ki)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=Ki)},persist:function(){},isPersistent:Ki}),e}var R0={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ch=u2(R0),K4=G1({},R0,{view:0,detail:0}),Qw=u2(K4),F5,W5,s4,Wn=G1({},K4,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:hh,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==s4&&(s4&&t.type==="mousemove"?(F5=t.screenX-s4.screenX,W5=t.screenY-s4.screenY):W5=F5=0,s4=t),F5)},movementY:function(t){return"movementY"in t?t.movementY:W5}}),c6=u2(Wn),Xw=G1({},Wn,{dataTransfer:0}),Zw=u2(Xw),Jw=G1({},K4,{relatedTarget:0}),U5=u2(Jw),tb=G1({},R0,{animationName:0,elapsedTime:0,pseudoElement:0}),eb=u2(tb),rb=G1({},R0,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),ab=u2(rb),ib=G1({},R0,{data:0}),h6=u2(ib),nb={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},lb={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"},ob={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function cb(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=ob[t])?!!e[t]:!1}function hh(){return cb}var hb=G1({},K4,{key:function(t){if(t.key){var e=nb[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=hn(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?lb[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:hh,charCode:function(t){return t.type==="keypress"?hn(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?hn(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),db=u2(hb),sb=G1({},Wn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),d6=u2(sb),vb=G1({},K4,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:hh}),pb=u2(vb),ub=G1({},R0,{propertyName:0,elapsedTime:0,pseudoElement:0}),gb=u2(ub),mb=G1({},Wn,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),fb=u2(mb),zb=[9,13,27,32],dh=me&&"CompositionEvent"in window,V4=null;me&&"documentMode"in document&&(V4=document.documentMode);var Mb=me&&"TextEvent"in window&&!V4,_v=me&&(!dh||V4&&8<V4&&11>=V4),s6=" ",v6=!1;function Ev(t,e){switch(t){case"keyup":return zb.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Tv(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var p0=!1;function xb(t,e){switch(t){case"compositionend":return Tv(e);case"keypress":return e.which!==32?null:(v6=!0,s6);case"textInput":return t=e.data,t===s6&&v6?null:t;default:return null}}function Hb(t,e){if(p0)return t==="compositionend"||!dh&&Ev(t,e)?(t=Av(),cn=oh=Ie=null,p0=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return _v&&e.locale!=="ko"?null:e.data;default:return null}}var Vb={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function p6(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!Vb[t.type]:e==="textarea"}function Rv(t,e,r,a){pv(a),e=bn(e,"onChange"),0<e.length&&(r=new ch("onChange","change",null,r,a),t.push({event:r,listeners:e}))}var w4=null,T4=null;function wb(t){Kv(t,0)}function Un(t){var e=m0(t);if(lv(e))return t}function bb(t,e){if(t==="change")return e}var Pv=!1;me&&(me?(Yi="oninput"in document,Yi||(G5=document.createElement("div"),G5.setAttribute("oninput","return;"),Yi=typeof G5.oninput=="function"),qi=Yi):qi=!1,Pv=qi&&(!document.documentMode||9<document.documentMode));var qi,Yi,G5;function u6(){w4&&(w4.detachEvent("onpropertychange",Iv),T4=w4=null)}function Iv(t){if(t.propertyName==="value"&&Un(T4)){var e=[];Rv(e,T4,t,rh(t)),fv(wb,e)}}function yb(t,e,r){t==="focusin"?(u6(),w4=e,T4=r,w4.attachEvent("onpropertychange",Iv)):t==="focusout"&&u6()}function Lb(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Un(T4)}function Cb(t,e){if(t==="click")return Un(e)}function Sb(t,e){if(t==="input"||t==="change")return Un(e)}function Bb(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var U2=typeof Object.is=="function"?Object.is:Bb;function R4(t,e){if(U2(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var r=Object.keys(t),a=Object.keys(e);if(r.length!==a.length)return!1;for(a=0;a<r.length;a++){var i=r[a];if(!ic.call(e,i)||!U2(t[i],e[i]))return!1}return!0}function g6(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function m6(t,e){var r=g6(t);t=0;for(var a;r;){if(r.nodeType===3){if(a=t+r.textContent.length,t<=e&&a>=e)return{node:r,offset:e-t};t=a}t:{for(;r;){if(r.nextSibling){r=r.nextSibling;break t}r=r.parentNode}r=void 0}r=g6(r)}}function Nv(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Nv(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Dv(){for(var t=window,e=fn();e instanceof t.HTMLIFrameElement;){try{var r=typeof e.contentWindow.location.href=="string"}catch{r=!1}if(r)t=e.contentWindow;else break;e=fn(t.document)}return e}function sh(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}function kb(t){var e=Dv(),r=t.focusedElem,a=t.selectionRange;if(e!==r&&r&&r.ownerDocument&&Nv(r.ownerDocument.documentElement,r)){if(a!==null&&sh(r)){if(e=a.start,t=a.end,t===void 0&&(t=e),"selectionStart"in r)r.selectionStart=e,r.selectionEnd=Math.min(t,r.value.length);else if(t=(e=r.ownerDocument||document)&&e.defaultView||window,t.getSelection){t=t.getSelection();var i=r.textContent.length,n=Math.min(a.start,i);a=a.end===void 0?n:Math.min(a.end,i),!t.extend&&n>a&&(i=a,a=n,n=i),i=m6(r,n);var l=m6(r,a);i&&l&&(t.rangeCount!==1||t.anchorNode!==i.node||t.anchorOffset!==i.offset||t.focusNode!==l.node||t.focusOffset!==l.offset)&&(e=e.createRange(),e.setStart(i.node,i.offset),t.removeAllRanges(),n>a?(t.addRange(e),t.extend(l.node,l.offset)):(e.setEnd(l.node,l.offset),t.addRange(e)))}}for(e=[],t=r;t=t.parentNode;)t.nodeType===1&&e.push({element:t,left:t.scrollLeft,top:t.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r<e.length;r++)t=e[r],t.element.scrollLeft=t.left,t.element.scrollTop=t.top}}var Ob=me&&"documentMode"in document&&11>=document.documentMode,u0=null,wc=null,b4=null,bc=!1;function f6(t,e,r){var a=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;bc||u0==null||u0!==fn(a)||(a=u0,"selectionStart"in a&&sh(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),b4&&R4(b4,a)||(b4=a,a=bn(wc,"onSelect"),0<a.length&&(e=new ch("onSelect","select",null,e,r),t.push({event:e,listeners:a}),e.target=u0)))}function Qi(t,e){var r={};return r[t.toLowerCase()]=e.toLowerCase(),r["Webkit"+t]="webkit"+e,r["Moz"+t]="moz"+e,r}var g0={animationend:Qi("Animation","AnimationEnd"),animationiteration:Qi("Animation","AnimationIteration"),animationstart:Qi("Animation","AnimationStart"),transitionend:Qi("Transition","TransitionEnd")},$5={},Fv={};me&&(Fv=document.createElement("div").style,"AnimationEvent"in window||(delete g0.animationend.animation,delete g0.animationiteration.animation,delete g0.animationstart.animation),"TransitionEvent"in window||delete g0.transitionend.transition);function Gn(t){if($5[t])return $5[t];if(!g0[t])return t;var e=g0[t],r;for(r in e)if(e.hasOwnProperty(r)&&r in Fv)return $5[t]=e[r];return t}var Wv=Gn("animationend"),Uv=Gn("animationiteration"),Gv=Gn("animationstart"),$v=Gn("transitionend"),jv=new Map,z6="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Qe(t,e){jv.set(t,e),Or(e,[t])}for(Xi=0;Xi<z6.length;Xi++)Zi=z6[Xi],M6=Zi.toLowerCase(),x6=Zi[0].toUpperCase()+Zi.slice(1),Qe(M6,"on"+x6);var Zi,M6,x6,Xi;Qe(Wv,"onAnimationEnd");Qe(Uv,"onAnimationIteration");Qe(Gv,"onAnimationStart");Qe("dblclick","onDoubleClick");Qe("focusin","onFocus");Qe("focusout","onBlur");Qe($v,"onTransitionEnd");B0("onMouseEnter",["mouseout","mouseover"]);B0("onMouseLeave",["mouseout","mouseover"]);B0("onPointerEnter",["pointerout","pointerover"]);B0("onPointerLeave",["pointerout","pointerover"]);Or("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Or("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Or("onBeforeInput",["compositionend","keypress","textInput","paste"]);Or("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Or("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Or("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var M4="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(" "),Ab=new Set("cancel close invalid load scroll toggle".split(" ").concat(M4));function H6(t,e,r){var a=t.type||"unknown-event";t.currentTarget=r,Aw(a,e,void 0,t),t.currentTarget=null}function Kv(t,e){e=(e&4)!==0;for(var r=0;r<t.length;r++){var a=t[r],i=a.event;a=a.listeners;t:{var n=void 0;if(e)for(var l=a.length-1;0<=l;l--){var o=a[l],c=o.instance,h=o.currentTarget;if(o=o.listener,c!==n&&i.isPropagationStopped())break t;H6(i,o,h),n=c}else for(l=0;l<a.length;l++){if(o=a[l],c=o.instance,h=o.currentTarget,o=o.listener,c!==n&&i.isPropagationStopped())break t;H6(i,o,h),n=c}}}if(Mn)throw t=Mc,Mn=!1,Mc=null,t}function P1(t,e){var r=e[Bc];r===void 0&&(r=e[Bc]=new Set);var a=t+"__bubble";r.has(a)||(qv(e,t,2,!1),r.add(a))}function j5(t,e,r){var a=0;e&&(a|=4),qv(r,t,a,e)}var Ji="_reactListening"+Math.random().toString(36).slice(2);function P4(t){if(!t[Ji]){t[Ji]=!0,ev.forEach(function(r){r!=="selectionchange"&&(Ab.has(r)||j5(r,!1,t),j5(r,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[Ji]||(e[Ji]=!0,j5("selectionchange",!1,e))}}function qv(t,e,r,a){switch(Ov(e)){case 1:var i=qw;break;case 4:i=Yw;break;default:i=lh}r=i.bind(null,e,r,t),i=void 0,!zc||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(i=!0),a?i!==void 0?t.addEventListener(e,r,{capture:!0,passive:i}):t.addEventListener(e,r,!0):i!==void 0?t.addEventListener(e,r,{passive:i}):t.addEventListener(e,r,!1)}function K5(t,e,r,a,i){var n=a;if((e&1)===0&&(e&2)===0&&a!==null)t:for(;;){if(a===null)return;var l=a.tag;if(l===3||l===4){var o=a.stateNode.containerInfo;if(o===i||o.nodeType===8&&o.parentNode===i)break;if(l===4)for(l=a.return;l!==null;){var c=l.tag;if((c===3||c===4)&&(c=l.stateNode.containerInfo,c===i||c.nodeType===8&&c.parentNode===i))return;l=l.return}for(;o!==null;){if(l=Hr(o),l===null)return;if(c=l.tag,c===5||c===6){a=n=l;continue t}o=o.parentNode}}a=a.return}fv(function(){var h=n,d=rh(r),s=[];t:{var v=jv.get(t);if(v!==void 0){var p=ch,g=t;switch(t){case"keypress":if(hn(r)===0)break t;case"keydown":case"keyup":p=db;break;case"focusin":g="focus",p=U5;break;case"focusout":g="blur",p=U5;break;case"beforeblur":case"afterblur":p=U5;break;case"click":if(r.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":p=c6;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=Zw;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=pb;break;case Wv:case Uv:case Gv:p=eb;break;case $v:p=gb;break;case"scroll":p=Qw;break;case"wheel":p=fb;break;case"copy":case"cut":case"paste":p=ab;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=d6}var f=(e&4)!==0,V=!f&&t==="scroll",u=f?v!==null?v+"Capture":null:v;f=[];for(var m=h,z;m!==null;){z=m;var y=z.stateNode;if(z.tag===5&&y!==null&&(z=y,u!==null&&(y=O4(m,u),y!=null&&f.push(I4(m,y,z)))),V)break;m=m.return}0<f.length&&(v=new p(v,g,null,r,d),s.push({event:v,listeners:f}))}}if((e&7)===0){t:{if(v=t==="mouseover"||t==="pointerover",p=t==="mouseout"||t==="pointerout",v&&r!==mc&&(g=r.relatedTarget||r.fromElement)&&(Hr(g)||g[fe]))break t;if((p||v)&&(v=d.window===d?d:(v=d.ownerDocument)?v.defaultView||v.parentWindow:window,p?(g=r.relatedTarget||r.toElement,p=h,g=g?Hr(g):null,g!==null&&(V=Ar(g),g!==V||g.tag!==5&&g.tag!==6)&&(g=null)):(p=null,g=h),p!==g)){if(f=c6,y="onMouseLeave",u="onMouseEnter",m="mouse",(t==="pointerout"||t==="pointerover")&&(f=d6,y="onPointerLeave",u="onPointerEnter",m="pointer"),V=p==null?v:m0(p),z=g==null?v:m0(g),v=new f(y,m+"leave",p,r,d),v.target=V,v.relatedTarget=z,y=null,Hr(d)===h&&(f=new f(u,m+"enter",g,r,d),f.target=z,f.relatedTarget=V,y=f),V=y,p&&g)e:{for(f=p,u=g,m=0,z=f;z;z=d0(z))m++;for(z=0,y=u;y;y=d0(y))z++;for(;0<m-z;)f=d0(f),m--;for(;0<z-m;)u=d0(u),z--;for(;m--;){if(f===u||u!==null&&f===u.alternate)break e;f=d0(f),u=d0(u)}f=null}else f=null;p!==null&&V6(s,v,p,f,!1),g!==null&&V!==null&&V6(s,V,g,f,!0)}}t:{if(v=h?m0(h):window,p=v.nodeName&&v.nodeName.toLowerCase(),p==="select"||p==="input"&&v.type==="file")var b=bb;else if(p6(v))if(Pv)b=Sb;else{b=Lb;var x=yb}else(p=v.nodeName)&&p.toLowerCase()==="input"&&(v.type==="checkbox"||v.type==="radio")&&(b=Cb);if(b&&(b=b(t,h))){Rv(s,b,r,d);break t}x&&x(t,v,h),t==="focusout"&&(x=v._wrapperState)&&x.controlled&&v.type==="number"&&sc(v,"number",v.value)}switch(x=h?m0(h):window,t){case"focusin":(p6(x)||x.contentEditable==="true")&&(u0=x,wc=h,b4=null);break;case"focusout":b4=wc=u0=null;break;case"mousedown":bc=!0;break;case"contextmenu":case"mouseup":case"dragend":bc=!1,f6(s,r,d);break;case"selectionchange":if(Ob)break;case"keydown":case"keyup":f6(s,r,d)}var S;if(dh)t:{switch(t){case"compositionstart":var C="onCompositionStart";break t;case"compositionend":C="onCompositionEnd";break t;case"compositionupdate":C="onCompositionUpdate";break t}C=void 0}else p0?Ev(t,r)&&(C="onCompositionEnd"):t==="keydown"&&r.keyCode===229&&(C="onCompositionStart");C&&(_v&&r.locale!=="ko"&&(p0||C!=="onCompositionStart"?C==="onCompositionEnd"&&p0&&(S=Av()):(Ie=d,oh="value"in Ie?Ie.value:Ie.textContent,p0=!0)),x=bn(h,C),0<x.length&&(C=new h6(C,t,null,r,d),s.push({event:C,listeners:x}),S?C.data=S:(S=Tv(r),S!==null&&(C.data=S)))),(S=Mb?xb(t,r):Hb(t,r))&&(h=bn(h,"onBeforeInput"),0<h.length&&(d=new h6("onBeforeInput","beforeinput",null,r,d),s.push({event:d,listeners:h}),d.data=S))}Kv(s,e)})}function I4(t,e,r){return{instance:t,listener:e,currentTarget:r}}function bn(t,e){for(var r=e+"Capture",a=[];t!==null;){var i=t,n=i.stateNode;i.tag===5&&n!==null&&(i=n,n=O4(t,r),n!=null&&a.unshift(I4(t,n,i)),n=O4(t,e),n!=null&&a.push(I4(t,n,i))),t=t.return}return a}function d0(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5);return t||null}function V6(t,e,r,a,i){for(var n=e._reactName,l=[];r!==null&&r!==a;){var o=r,c=o.alternate,h=o.stateNode;if(c!==null&&c===a)break;o.tag===5&&h!==null&&(o=h,i?(c=O4(r,n),c!=null&&l.unshift(I4(r,c,o))):i||(c=O4(r,n),c!=null&&l.push(I4(r,c,o)))),r=r.return}l.length!==0&&t.push({event:e,listeners:l})}var _b=/\r\n?/g,Eb=/\u0000|\uFFFD/g;function w6(t){return(typeof t=="string"?t:""+t).replace(_b,`
|
|
6
|
+
`).replace(Eb,"")}function tn(t,e,r){if(e=w6(e),w6(t)!==e&&r)throw Error(N(425))}function yn(){}var yc=null,Lc=null;function Cc(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var Sc=typeof setTimeout=="function"?setTimeout:void 0,Tb=typeof clearTimeout=="function"?clearTimeout:void 0,b6=typeof Promise=="function"?Promise:void 0,Rb=typeof queueMicrotask=="function"?queueMicrotask:typeof b6<"u"?function(t){return b6.resolve(null).then(t).catch(Pb)}:Sc;function Pb(t){setTimeout(function(){throw t})}function q5(t,e){var r=e,a=0;do{var i=r.nextSibling;if(t.removeChild(r),i&&i.nodeType===8)if(r=i.data,r==="/$"){if(a===0){t.removeChild(i),E4(e);return}a--}else r!=="$"&&r!=="$?"&&r!=="$!"||a++;r=i}while(r);E4(e)}function Ue(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?")break;if(e==="/$")return null}}return t}function y6(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var r=t.data;if(r==="$"||r==="$!"||r==="$?"){if(e===0)return t;e--}else r==="/$"&&e++}t=t.previousSibling}return null}var P0=Math.random().toString(36).slice(2),Q2="__reactFiber$"+P0,N4="__reactProps$"+P0,fe="__reactContainer$"+P0,Bc="__reactEvents$"+P0,Ib="__reactListeners$"+P0,Nb="__reactHandles$"+P0;function Hr(t){var e=t[Q2];if(e)return e;for(var r=t.parentNode;r;){if(e=r[fe]||r[Q2]){if(r=e.alternate,e.child!==null||r!==null&&r.child!==null)for(t=y6(t);t!==null;){if(r=t[Q2])return r;t=y6(t)}return e}t=r,r=t.parentNode}return null}function q4(t){return t=t[Q2]||t[fe],!t||t.tag!==5&&t.tag!==6&&t.tag!==13&&t.tag!==3?null:t}function m0(t){if(t.tag===5||t.tag===6)return t.stateNode;throw Error(N(33))}function $n(t){return t[N4]||null}var kc=[],f0=-1;function Xe(t){return{current:t}}function I1(t){0>f0||(t.current=kc[f0],kc[f0]=null,f0--)}function T1(t,e){f0++,kc[f0]=t.current,t.current=e}var Ye={},Rt=Xe(Ye),Zt=Xe(!1),Lr=Ye;function k0(t,e){var r=t.type.contextTypes;if(!r)return Ye;var a=t.stateNode;if(a&&a.__reactInternalMemoizedUnmaskedChildContext===e)return a.__reactInternalMemoizedMaskedChildContext;var i={},n;for(n in r)i[n]=e[n];return a&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=i),i}function Jt(t){return t=t.childContextTypes,t!=null}function Ln(){I1(Zt),I1(Rt)}function L6(t,e,r){if(Rt.current!==Ye)throw Error(N(168));T1(Rt,e),T1(Zt,r)}function Yv(t,e,r){var a=t.stateNode;if(e=e.childContextTypes,typeof a.getChildContext!="function")return r;a=a.getChildContext();for(var i in a)if(!(i in e))throw Error(N(108,yw(t)||"Unknown",i));return G1({},r,a)}function Cn(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||Ye,Lr=Rt.current,T1(Rt,t),T1(Zt,Zt.current),!0}function C6(t,e,r){var a=t.stateNode;if(!a)throw Error(N(169));r?(t=Yv(t,e,Lr),a.__reactInternalMemoizedMergedChildContext=t,I1(Zt),I1(Rt),T1(Rt,t)):I1(Zt),T1(Zt,r)}var ve=null,jn=!1,Y5=!1;function Qv(t){ve===null?ve=[t]:ve.push(t)}function Db(t){jn=!0,Qv(t)}function Ze(){if(!Y5&&ve!==null){Y5=!0;var t=0,e=C1;try{var r=ve;for(C1=1;t<r.length;t++){var a=r[t];do a=a(!0);while(a!==null)}ve=null,jn=!1}catch(i){throw ve!==null&&(ve=ve.slice(t+1)),Hv(ah,Ze),i}finally{C1=e,Y5=!1}}return null}var z0=[],M0=0,Sn=null,Bn=0,V2=[],w2=0,Cr=null,pe=1,ue="";function Mr(t,e){z0[M0++]=Bn,z0[M0++]=Sn,Sn=t,Bn=e}function Xv(t,e,r){V2[w2++]=pe,V2[w2++]=ue,V2[w2++]=Cr,Cr=t;var a=pe;t=ue;var i=32-F2(a)-1;a&=~(1<<i),r+=1;var n=32-F2(e)+i;if(30<n){var l=i-i%5;n=(a&(1<<l)-1).toString(32),a>>=l,i-=l,pe=1<<32-F2(e)+i|r<<i|a,ue=n+t}else pe=1<<n|r<<i|a,ue=t}function vh(t){t.return!==null&&(Mr(t,1),Xv(t,1,0))}function ph(t){for(;t===Sn;)Sn=z0[--M0],z0[M0]=null,Bn=z0[--M0],z0[M0]=null;for(;t===Cr;)Cr=V2[--w2],V2[w2]=null,ue=V2[--w2],V2[w2]=null,pe=V2[--w2],V2[w2]=null}var v2=null,s2=null,D1=!1,D2=null;function Zv(t,e){var r=b2(5,null,null,0);r.elementType="DELETED",r.stateNode=e,r.return=t,e=t.deletions,e===null?(t.deletions=[r],t.flags|=16):e.push(r)}function S6(t,e){switch(t.tag){case 5:var r=t.type;return e=e.nodeType!==1||r.toLowerCase()!==e.nodeName.toLowerCase()?null:e,e!==null?(t.stateNode=e,v2=t,s2=Ue(e.firstChild),!0):!1;case 6:return e=t.pendingProps===""||e.nodeType!==3?null:e,e!==null?(t.stateNode=e,v2=t,s2=null,!0):!1;case 13:return e=e.nodeType!==8?null:e,e!==null?(r=Cr!==null?{id:pe,overflow:ue}:null,t.memoizedState={dehydrated:e,treeContext:r,retryLane:1073741824},r=b2(18,null,null,0),r.stateNode=e,r.return=t,t.child=r,v2=t,s2=null,!0):!1;default:return!1}}function Oc(t){return(t.mode&1)!==0&&(t.flags&128)===0}function Ac(t){if(D1){var e=s2;if(e){var r=e;if(!S6(t,e)){if(Oc(t))throw Error(N(418));e=Ue(r.nextSibling);var a=v2;e&&S6(t,e)?Zv(a,r):(t.flags=t.flags&-4097|2,D1=!1,v2=t)}}else{if(Oc(t))throw Error(N(418));t.flags=t.flags&-4097|2,D1=!1,v2=t}}}function B6(t){for(t=t.return;t!==null&&t.tag!==5&&t.tag!==3&&t.tag!==13;)t=t.return;v2=t}function en(t){if(t!==v2)return!1;if(!D1)return B6(t),D1=!0,!1;var e;if((e=t.tag!==3)&&!(e=t.tag!==5)&&(e=t.type,e=e!=="head"&&e!=="body"&&!Cc(t.type,t.memoizedProps)),e&&(e=s2)){if(Oc(t))throw Jv(),Error(N(418));for(;e;)Zv(t,e),e=Ue(e.nextSibling)}if(B6(t),t.tag===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(N(317));t:{for(t=t.nextSibling,e=0;t;){if(t.nodeType===8){var r=t.data;if(r==="/$"){if(e===0){s2=Ue(t.nextSibling);break t}e--}else r!=="$"&&r!=="$!"&&r!=="$?"||e++}t=t.nextSibling}s2=null}}else s2=v2?Ue(t.stateNode.nextSibling):null;return!0}function Jv(){for(var t=s2;t;)t=Ue(t.nextSibling)}function O0(){s2=v2=null,D1=!1}function uh(t){D2===null?D2=[t]:D2.push(t)}var Fb=xe.ReactCurrentBatchConfig;function v4(t,e,r){if(t=r.ref,t!==null&&typeof t!="function"&&typeof t!="object"){if(r._owner){if(r=r._owner,r){if(r.tag!==1)throw Error(N(309));var a=r.stateNode}if(!a)throw Error(N(147,t));var i=a,n=""+t;return e!==null&&e.ref!==null&&typeof e.ref=="function"&&e.ref._stringRef===n?e.ref:(e=function(l){var o=i.refs;l===null?delete o[n]:o[n]=l},e._stringRef=n,e)}if(typeof t!="string")throw Error(N(284));if(!r._owner)throw Error(N(290,t))}return t}function rn(t,e){throw t=Object.prototype.toString.call(e),Error(N(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t))}function k6(t){var e=t._init;return e(t._payload)}function t8(t){function e(u,m){if(t){var z=u.deletions;z===null?(u.deletions=[m],u.flags|=16):z.push(m)}}function r(u,m){if(!t)return null;for(;m!==null;)e(u,m),m=m.sibling;return null}function a(u,m){for(u=new Map;m!==null;)m.key!==null?u.set(m.key,m):u.set(m.index,m),m=m.sibling;return u}function i(u,m){return u=Ke(u,m),u.index=0,u.sibling=null,u}function n(u,m,z){return u.index=z,t?(z=u.alternate,z!==null?(z=z.index,z<m?(u.flags|=2,m):z):(u.flags|=2,m)):(u.flags|=1048576,m)}function l(u){return t&&u.alternate===null&&(u.flags|=2),u}function o(u,m,z,y){return m===null||m.tag!==6?(m=rc(z,u.mode,y),m.return=u,m):(m=i(m,z),m.return=u,m)}function c(u,m,z,y){var b=z.type;return b===v0?d(u,m,z.props.children,y,z.key):m!==null&&(m.elementType===b||typeof b=="object"&&b!==null&&b.$$typeof===Ee&&k6(b)===m.type)?(y=i(m,z.props),y.ref=v4(u,m,z),y.return=u,y):(y=mn(z.type,z.key,z.props,null,u.mode,y),y.ref=v4(u,m,z),y.return=u,y)}function h(u,m,z,y){return m===null||m.tag!==4||m.stateNode.containerInfo!==z.containerInfo||m.stateNode.implementation!==z.implementation?(m=ac(z,u.mode,y),m.return=u,m):(m=i(m,z.children||[]),m.return=u,m)}function d(u,m,z,y,b){return m===null||m.tag!==7?(m=yr(z,u.mode,y,b),m.return=u,m):(m=i(m,z),m.return=u,m)}function s(u,m,z){if(typeof m=="string"&&m!==""||typeof m=="number")return m=rc(""+m,u.mode,z),m.return=u,m;if(typeof m=="object"&&m!==null){switch(m.$$typeof){case Fi:return z=mn(m.type,m.key,m.props,null,u.mode,z),z.ref=v4(u,null,m),z.return=u,z;case s0:return m=ac(m,u.mode,z),m.return=u,m;case Ee:var y=m._init;return s(u,y(m._payload),z)}if(f4(m)||c4(m))return m=yr(m,u.mode,z,null),m.return=u,m;rn(u,m)}return null}function v(u,m,z,y){var b=m!==null?m.key:null;if(typeof z=="string"&&z!==""||typeof z=="number")return b!==null?null:o(u,m,""+z,y);if(typeof z=="object"&&z!==null){switch(z.$$typeof){case Fi:return z.key===b?c(u,m,z,y):null;case s0:return z.key===b?h(u,m,z,y):null;case Ee:return b=z._init,v(u,m,b(z._payload),y)}if(f4(z)||c4(z))return b!==null?null:d(u,m,z,y,null);rn(u,z)}return null}function p(u,m,z,y,b){if(typeof y=="string"&&y!==""||typeof y=="number")return u=u.get(z)||null,o(m,u,""+y,b);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case Fi:return u=u.get(y.key===null?z:y.key)||null,c(m,u,y,b);case s0:return u=u.get(y.key===null?z:y.key)||null,h(m,u,y,b);case Ee:var x=y._init;return p(u,m,z,x(y._payload),b)}if(f4(y)||c4(y))return u=u.get(z)||null,d(m,u,y,b,null);rn(m,y)}return null}function g(u,m,z,y){for(var b=null,x=null,S=m,C=m=0,O=null;S!==null&&C<z.length;C++){S.index>C?(O=S,S=null):O=S.sibling;var w=v(u,S,z[C],y);if(w===null){S===null&&(S=O);break}t&&S&&w.alternate===null&&e(u,S),m=n(w,m,C),x===null?b=w:x.sibling=w,x=w,S=O}if(C===z.length)return r(u,S),D1&&Mr(u,C),b;if(S===null){for(;C<z.length;C++)S=s(u,z[C],y),S!==null&&(m=n(S,m,C),x===null?b=S:x.sibling=S,x=S);return D1&&Mr(u,C),b}for(S=a(u,S);C<z.length;C++)O=p(S,u,C,z[C],y),O!==null&&(t&&O.alternate!==null&&S.delete(O.key===null?C:O.key),m=n(O,m,C),x===null?b=O:x.sibling=O,x=O);return t&&S.forEach(function(Y){return e(u,Y)}),D1&&Mr(u,C),b}function f(u,m,z,y){var b=c4(z);if(typeof b!="function")throw Error(N(150));if(z=b.call(z),z==null)throw Error(N(151));for(var x=b=null,S=m,C=m=0,O=null,w=z.next();S!==null&&!w.done;C++,w=z.next()){S.index>C?(O=S,S=null):O=S.sibling;var Y=v(u,S,w.value,y);if(Y===null){S===null&&(S=O);break}t&&S&&Y.alternate===null&&e(u,S),m=n(Y,m,C),x===null?b=Y:x.sibling=Y,x=Y,S=O}if(w.done)return r(u,S),D1&&Mr(u,C),b;if(S===null){for(;!w.done;C++,w=z.next())w=s(u,w.value,y),w!==null&&(m=n(w,m,C),x===null?b=w:x.sibling=w,x=w);return D1&&Mr(u,C),b}for(S=a(u,S);!w.done;C++,w=z.next())w=p(S,u,C,w.value,y),w!==null&&(t&&w.alternate!==null&&S.delete(w.key===null?C:w.key),m=n(w,m,C),x===null?b=w:x.sibling=w,x=w);return t&&S.forEach(function(W){return e(u,W)}),D1&&Mr(u,C),b}function V(u,m,z,y){if(typeof z=="object"&&z!==null&&z.type===v0&&z.key===null&&(z=z.props.children),typeof z=="object"&&z!==null){switch(z.$$typeof){case Fi:t:{for(var b=z.key,x=m;x!==null;){if(x.key===b){if(b=z.type,b===v0){if(x.tag===7){r(u,x.sibling),m=i(x,z.props.children),m.return=u,u=m;break t}}else if(x.elementType===b||typeof b=="object"&&b!==null&&b.$$typeof===Ee&&k6(b)===x.type){r(u,x.sibling),m=i(x,z.props),m.ref=v4(u,x,z),m.return=u,u=m;break t}r(u,x);break}else e(u,x);x=x.sibling}z.type===v0?(m=yr(z.props.children,u.mode,y,z.key),m.return=u,u=m):(y=mn(z.type,z.key,z.props,null,u.mode,y),y.ref=v4(u,m,z),y.return=u,u=y)}return l(u);case s0:t:{for(x=z.key;m!==null;){if(m.key===x)if(m.tag===4&&m.stateNode.containerInfo===z.containerInfo&&m.stateNode.implementation===z.implementation){r(u,m.sibling),m=i(m,z.children||[]),m.return=u,u=m;break t}else{r(u,m);break}else e(u,m);m=m.sibling}m=ac(z,u.mode,y),m.return=u,u=m}return l(u);case Ee:return x=z._init,V(u,m,x(z._payload),y)}if(f4(z))return g(u,m,z,y);if(c4(z))return f(u,m,z,y);rn(u,z)}return typeof z=="string"&&z!==""||typeof z=="number"?(z=""+z,m!==null&&m.tag===6?(r(u,m.sibling),m=i(m,z),m.return=u,u=m):(r(u,m),m=rc(z,u.mode,y),m.return=u,u=m),l(u)):r(u,m)}return V}var A0=t8(!0),e8=t8(!1),kn=Xe(null),On=null,x0=null,gh=null;function mh(){gh=x0=On=null}function fh(t){var e=kn.current;I1(kn),t._currentValue=e}function _c(t,e,r){for(;t!==null;){var a=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,a!==null&&(a.childLanes|=e)):a!==null&&(a.childLanes&e)!==e&&(a.childLanes|=e),t===r)break;t=t.return}}function C0(t,e){On=t,gh=x0=null,t=t.dependencies,t!==null&&t.firstContext!==null&&((t.lanes&e)!==0&&(Xt=!0),t.firstContext=null)}function L2(t){var e=t._currentValue;if(gh!==t)if(t={context:t,memoizedValue:e,next:null},x0===null){if(On===null)throw Error(N(308));x0=t,On.dependencies={lanes:0,firstContext:t}}else x0=x0.next=t;return e}var Vr=null;function zh(t){Vr===null?Vr=[t]:Vr.push(t)}function r8(t,e,r,a){var i=e.interleaved;return i===null?(r.next=r,zh(e)):(r.next=i.next,i.next=r),e.interleaved=r,ze(t,a)}function ze(t,e){t.lanes|=e;var r=t.alternate;for(r!==null&&(r.lanes|=e),r=t,t=t.return;t!==null;)t.childLanes|=e,r=t.alternate,r!==null&&(r.childLanes|=e),r=t,t=t.return;return r.tag===3?r.stateNode:null}var Te=!1;function Mh(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function a8(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,effects:t.effects})}function ge(t,e){return{eventTime:t,lane:e,tag:0,payload:null,callback:null,next:null}}function Ge(t,e,r){var a=t.updateQueue;if(a===null)return null;if(a=a.shared,(V1&2)!==0){var i=a.pending;return i===null?e.next=e:(e.next=i.next,i.next=e),a.pending=e,ze(t,r)}return i=a.interleaved,i===null?(e.next=e,zh(a)):(e.next=i.next,i.next=e),a.interleaved=e,ze(t,r)}function dn(t,e,r){if(e=e.updateQueue,e!==null&&(e=e.shared,(r&4194240)!==0)){var a=e.lanes;a&=t.pendingLanes,r|=a,e.lanes=r,ih(t,r)}}function O6(t,e){var r=t.updateQueue,a=t.alternate;if(a!==null&&(a=a.updateQueue,r===a)){var i=null,n=null;if(r=r.firstBaseUpdate,r!==null){do{var l={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};n===null?i=n=l:n=n.next=l,r=r.next}while(r!==null);n===null?i=n=e:n=n.next=e}else i=n=e;r={baseState:a.baseState,firstBaseUpdate:i,lastBaseUpdate:n,shared:a.shared,effects:a.effects},t.updateQueue=r;return}t=r.lastBaseUpdate,t===null?r.firstBaseUpdate=e:t.next=e,r.lastBaseUpdate=e}function An(t,e,r,a){var i=t.updateQueue;Te=!1;var n=i.firstBaseUpdate,l=i.lastBaseUpdate,o=i.shared.pending;if(o!==null){i.shared.pending=null;var c=o,h=c.next;c.next=null,l===null?n=h:l.next=h,l=c;var d=t.alternate;d!==null&&(d=d.updateQueue,o=d.lastBaseUpdate,o!==l&&(o===null?d.firstBaseUpdate=h:o.next=h,d.lastBaseUpdate=c))}if(n!==null){var s=i.baseState;l=0,d=h=c=null,o=n;do{var v=o.lane,p=o.eventTime;if((a&v)===v){d!==null&&(d=d.next={eventTime:p,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});t:{var g=t,f=o;switch(v=e,p=r,f.tag){case 1:if(g=f.payload,typeof g=="function"){s=g.call(p,s,v);break t}s=g;break t;case 3:g.flags=g.flags&-65537|128;case 0:if(g=f.payload,v=typeof g=="function"?g.call(p,s,v):g,v==null)break t;s=G1({},s,v);break t;case 2:Te=!0}}o.callback!==null&&o.lane!==0&&(t.flags|=64,v=i.effects,v===null?i.effects=[o]:v.push(o))}else p={eventTime:p,lane:v,tag:o.tag,payload:o.payload,callback:o.callback,next:null},d===null?(h=d=p,c=s):d=d.next=p,l|=v;if(o=o.next,o===null){if(o=i.shared.pending,o===null)break;v=o,o=v.next,v.next=null,i.lastBaseUpdate=v,i.shared.pending=null}}while(!0);if(d===null&&(c=s),i.baseState=c,i.firstBaseUpdate=h,i.lastBaseUpdate=d,e=i.shared.interleaved,e!==null){i=e;do l|=i.lane,i=i.next;while(i!==e)}else n===null&&(i.shared.lanes=0);Br|=l,t.lanes=l,t.memoizedState=s}}function A6(t,e,r){if(t=e.effects,e.effects=null,t!==null)for(e=0;e<t.length;e++){var a=t[e],i=a.callback;if(i!==null){if(a.callback=null,a=r,typeof i!="function")throw Error(N(191,i));i.call(a)}}}var Y4={},Z2=Xe(Y4),D4=Xe(Y4),F4=Xe(Y4);function wr(t){if(t===Y4)throw Error(N(174));return t}function xh(t,e){switch(T1(F4,e),T1(D4,t),T1(Z2,Y4),t=e.nodeType,t){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:pc(null,"");break;default:t=t===8?e.parentNode:e,e=t.namespaceURI||null,t=t.tagName,e=pc(e,t)}I1(Z2),T1(Z2,e)}function _0(){I1(Z2),I1(D4),I1(F4)}function i8(t){wr(F4.current);var e=wr(Z2.current),r=pc(e,t.type);e!==r&&(T1(D4,t),T1(Z2,r))}function Hh(t){D4.current===t&&(I1(Z2),I1(D4))}var W1=Xe(0);function _n(t){for(var e=t;e!==null;){if(e.tag===13){var r=e.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var Q5=[];function Vh(){for(var t=0;t<Q5.length;t++)Q5[t]._workInProgressVersionPrimary=null;Q5.length=0}var sn=xe.ReactCurrentDispatcher,X5=xe.ReactCurrentBatchConfig,Sr=0,U1=null,dt=null,ft=null,En=!1,y4=!1,W4=0,Wb=0;function _t(){throw Error(N(321))}function wh(t,e){if(e===null)return!1;for(var r=0;r<e.length&&r<t.length;r++)if(!U2(t[r],e[r]))return!1;return!0}function bh(t,e,r,a,i,n){if(Sr=n,U1=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,sn.current=t===null||t.memoizedState===null?jb:Kb,t=r(a,i),y4){n=0;do{if(y4=!1,W4=0,25<=n)throw Error(N(301));n+=1,ft=dt=null,e.updateQueue=null,sn.current=qb,t=r(a,i)}while(y4)}if(sn.current=Tn,e=dt!==null&&dt.next!==null,Sr=0,ft=dt=U1=null,En=!1,e)throw Error(N(300));return t}function yh(){var t=W4!==0;return W4=0,t}function Y2(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ft===null?U1.memoizedState=ft=t:ft=ft.next=t,ft}function C2(){if(dt===null){var t=U1.alternate;t=t!==null?t.memoizedState:null}else t=dt.next;var e=ft===null?U1.memoizedState:ft.next;if(e!==null)ft=e,dt=t;else{if(t===null)throw Error(N(310));dt=t,t={memoizedState:dt.memoizedState,baseState:dt.baseState,baseQueue:dt.baseQueue,queue:dt.queue,next:null},ft===null?U1.memoizedState=ft=t:ft=ft.next=t}return ft}function U4(t,e){return typeof e=="function"?e(t):e}function Z5(t){var e=C2(),r=e.queue;if(r===null)throw Error(N(311));r.lastRenderedReducer=t;var a=dt,i=a.baseQueue,n=r.pending;if(n!==null){if(i!==null){var l=i.next;i.next=n.next,n.next=l}a.baseQueue=i=n,r.pending=null}if(i!==null){n=i.next,a=a.baseState;var o=l=null,c=null,h=n;do{var d=h.lane;if((Sr&d)===d)c!==null&&(c=c.next={lane:0,action:h.action,hasEagerState:h.hasEagerState,eagerState:h.eagerState,next:null}),a=h.hasEagerState?h.eagerState:t(a,h.action);else{var s={lane:d,action:h.action,hasEagerState:h.hasEagerState,eagerState:h.eagerState,next:null};c===null?(o=c=s,l=a):c=c.next=s,U1.lanes|=d,Br|=d}h=h.next}while(h!==null&&h!==n);c===null?l=a:c.next=o,U2(a,e.memoizedState)||(Xt=!0),e.memoizedState=a,e.baseState=l,e.baseQueue=c,r.lastRenderedState=a}if(t=r.interleaved,t!==null){i=t;do n=i.lane,U1.lanes|=n,Br|=n,i=i.next;while(i!==t)}else i===null&&(r.lanes=0);return[e.memoizedState,r.dispatch]}function J5(t){var e=C2(),r=e.queue;if(r===null)throw Error(N(311));r.lastRenderedReducer=t;var a=r.dispatch,i=r.pending,n=e.memoizedState;if(i!==null){r.pending=null;var l=i=i.next;do n=t(n,l.action),l=l.next;while(l!==i);U2(n,e.memoizedState)||(Xt=!0),e.memoizedState=n,e.baseQueue===null&&(e.baseState=n),r.lastRenderedState=n}return[n,a]}function n8(){}function l8(t,e){var r=U1,a=C2(),i=e(),n=!U2(a.memoizedState,i);if(n&&(a.memoizedState=i,Xt=!0),a=a.queue,Lh(h8.bind(null,r,a,t),[t]),a.getSnapshot!==e||n||ft!==null&&ft.memoizedState.tag&1){if(r.flags|=2048,G4(9,c8.bind(null,r,a,i,e),void 0,null),zt===null)throw Error(N(349));(Sr&30)!==0||o8(r,e,i)}return i}function o8(t,e,r){t.flags|=16384,t={getSnapshot:e,value:r},e=U1.updateQueue,e===null?(e={lastEffect:null,stores:null},U1.updateQueue=e,e.stores=[t]):(r=e.stores,r===null?e.stores=[t]:r.push(t))}function c8(t,e,r,a){e.value=r,e.getSnapshot=a,d8(e)&&s8(t)}function h8(t,e,r){return r(function(){d8(e)&&s8(t)})}function d8(t){var e=t.getSnapshot;t=t.value;try{var r=e();return!U2(t,r)}catch{return!0}}function s8(t){var e=ze(t,1);e!==null&&W2(e,t,1,-1)}function _6(t){var e=Y2();return typeof t=="function"&&(t=t()),e.memoizedState=e.baseState=t,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:U4,lastRenderedState:t},e.queue=t,t=t.dispatch=$b.bind(null,U1,t),[e.memoizedState,t]}function G4(t,e,r,a){return t={tag:t,create:e,destroy:r,deps:a,next:null},e=U1.updateQueue,e===null?(e={lastEffect:null,stores:null},U1.updateQueue=e,e.lastEffect=t.next=t):(r=e.lastEffect,r===null?e.lastEffect=t.next=t:(a=r.next,r.next=t,t.next=a,e.lastEffect=t)),t}function v8(){return C2().memoizedState}function vn(t,e,r,a){var i=Y2();U1.flags|=t,i.memoizedState=G4(1|e,r,void 0,a===void 0?null:a)}function Kn(t,e,r,a){var i=C2();a=a===void 0?null:a;var n=void 0;if(dt!==null){var l=dt.memoizedState;if(n=l.destroy,a!==null&&wh(a,l.deps)){i.memoizedState=G4(e,r,n,a);return}}U1.flags|=t,i.memoizedState=G4(1|e,r,n,a)}function E6(t,e){return vn(8390656,8,t,e)}function Lh(t,e){return Kn(2048,8,t,e)}function p8(t,e){return Kn(4,2,t,e)}function u8(t,e){return Kn(4,4,t,e)}function g8(t,e){if(typeof e=="function")return t=t(),e(t),function(){e(null)};if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function m8(t,e,r){return r=r!=null?r.concat([t]):null,Kn(4,4,g8.bind(null,e,t),r)}function Ch(){}function f8(t,e){var r=C2();e=e===void 0?null:e;var a=r.memoizedState;return a!==null&&e!==null&&wh(e,a[1])?a[0]:(r.memoizedState=[t,e],t)}function z8(t,e){var r=C2();e=e===void 0?null:e;var a=r.memoizedState;return a!==null&&e!==null&&wh(e,a[1])?a[0]:(t=t(),r.memoizedState=[t,e],t)}function M8(t,e,r){return(Sr&21)===0?(t.baseState&&(t.baseState=!1,Xt=!0),t.memoizedState=r):(U2(r,e)||(r=bv(),U1.lanes|=r,Br|=r,t.baseState=!0),e)}function Ub(t,e){var r=C1;C1=r!==0&&4>r?r:4,t(!0);var a=X5.transition;X5.transition={};try{t(!1),e()}finally{C1=r,X5.transition=a}}function x8(){return C2().memoizedState}function Gb(t,e,r){var a=je(t);if(r={lane:a,action:r,hasEagerState:!1,eagerState:null,next:null},H8(t))V8(e,r);else if(r=r8(t,e,r,a),r!==null){var i=Wt();W2(r,t,a,i),w8(r,e,a)}}function $b(t,e,r){var a=je(t),i={lane:a,action:r,hasEagerState:!1,eagerState:null,next:null};if(H8(t))V8(e,i);else{var n=t.alternate;if(t.lanes===0&&(n===null||n.lanes===0)&&(n=e.lastRenderedReducer,n!==null))try{var l=e.lastRenderedState,o=n(l,r);if(i.hasEagerState=!0,i.eagerState=o,U2(o,l)){var c=e.interleaved;c===null?(i.next=i,zh(e)):(i.next=c.next,c.next=i),e.interleaved=i;return}}catch{}r=r8(t,e,i,a),r!==null&&(i=Wt(),W2(r,t,a,i),w8(r,e,a))}}function H8(t){var e=t.alternate;return t===U1||e!==null&&e===U1}function V8(t,e){y4=En=!0;var r=t.pending;r===null?e.next=e:(e.next=r.next,r.next=e),t.pending=e}function w8(t,e,r){if((r&4194240)!==0){var a=e.lanes;a&=t.pendingLanes,r|=a,e.lanes=r,ih(t,r)}}var Tn={readContext:L2,useCallback:_t,useContext:_t,useEffect:_t,useImperativeHandle:_t,useInsertionEffect:_t,useLayoutEffect:_t,useMemo:_t,useReducer:_t,useRef:_t,useState:_t,useDebugValue:_t,useDeferredValue:_t,useTransition:_t,useMutableSource:_t,useSyncExternalStore:_t,useId:_t,unstable_isNewReconciler:!1},jb={readContext:L2,useCallback:function(t,e){return Y2().memoizedState=[t,e===void 0?null:e],t},useContext:L2,useEffect:E6,useImperativeHandle:function(t,e,r){return r=r!=null?r.concat([t]):null,vn(4194308,4,g8.bind(null,e,t),r)},useLayoutEffect:function(t,e){return vn(4194308,4,t,e)},useInsertionEffect:function(t,e){return vn(4,2,t,e)},useMemo:function(t,e){var r=Y2();return e=e===void 0?null:e,t=t(),r.memoizedState=[t,e],t},useReducer:function(t,e,r){var a=Y2();return e=r!==void 0?r(e):e,a.memoizedState=a.baseState=e,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:e},a.queue=t,t=t.dispatch=Gb.bind(null,U1,t),[a.memoizedState,t]},useRef:function(t){var e=Y2();return t={current:t},e.memoizedState=t},useState:_6,useDebugValue:Ch,useDeferredValue:function(t){return Y2().memoizedState=t},useTransition:function(){var t=_6(!1),e=t[0];return t=Ub.bind(null,t[1]),Y2().memoizedState=t,[e,t]},useMutableSource:function(){},useSyncExternalStore:function(t,e,r){var a=U1,i=Y2();if(D1){if(r===void 0)throw Error(N(407));r=r()}else{if(r=e(),zt===null)throw Error(N(349));(Sr&30)!==0||o8(a,e,r)}i.memoizedState=r;var n={value:r,getSnapshot:e};return i.queue=n,E6(h8.bind(null,a,n,t),[t]),a.flags|=2048,G4(9,c8.bind(null,a,n,r,e),void 0,null),r},useId:function(){var t=Y2(),e=zt.identifierPrefix;if(D1){var r=ue,a=pe;r=(a&~(1<<32-F2(a)-1)).toString(32)+r,e=":"+e+"R"+r,r=W4++,0<r&&(e+="H"+r.toString(32)),e+=":"}else r=Wb++,e=":"+e+"r"+r.toString(32)+":";return t.memoizedState=e},unstable_isNewReconciler:!1},Kb={readContext:L2,useCallback:f8,useContext:L2,useEffect:Lh,useImperativeHandle:m8,useInsertionEffect:p8,useLayoutEffect:u8,useMemo:z8,useReducer:Z5,useRef:v8,useState:function(){return Z5(U4)},useDebugValue:Ch,useDeferredValue:function(t){var e=C2();return M8(e,dt.memoizedState,t)},useTransition:function(){var t=Z5(U4)[0],e=C2().memoizedState;return[t,e]},useMutableSource:n8,useSyncExternalStore:l8,useId:x8,unstable_isNewReconciler:!1},qb={readContext:L2,useCallback:f8,useContext:L2,useEffect:Lh,useImperativeHandle:m8,useInsertionEffect:p8,useLayoutEffect:u8,useMemo:z8,useReducer:J5,useRef:v8,useState:function(){return J5(U4)},useDebugValue:Ch,useDeferredValue:function(t){var e=C2();return dt===null?e.memoizedState=t:M8(e,dt.memoizedState,t)},useTransition:function(){var t=J5(U4)[0],e=C2().memoizedState;return[t,e]},useMutableSource:n8,useSyncExternalStore:l8,useId:x8,unstable_isNewReconciler:!1};function I2(t,e){if(t&&t.defaultProps){e=G1({},e),t=t.defaultProps;for(var r in t)e[r]===void 0&&(e[r]=t[r]);return e}return e}function Ec(t,e,r,a){e=t.memoizedState,r=r(a,e),r=r==null?e:G1({},e,r),t.memoizedState=r,t.lanes===0&&(t.updateQueue.baseState=r)}var qn={isMounted:function(t){return(t=t._reactInternals)?Ar(t)===t:!1},enqueueSetState:function(t,e,r){t=t._reactInternals;var a=Wt(),i=je(t),n=ge(a,i);n.payload=e,r!=null&&(n.callback=r),e=Ge(t,n,i),e!==null&&(W2(e,t,i,a),dn(e,t,i))},enqueueReplaceState:function(t,e,r){t=t._reactInternals;var a=Wt(),i=je(t),n=ge(a,i);n.tag=1,n.payload=e,r!=null&&(n.callback=r),e=Ge(t,n,i),e!==null&&(W2(e,t,i,a),dn(e,t,i))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var r=Wt(),a=je(t),i=ge(r,a);i.tag=2,e!=null&&(i.callback=e),e=Ge(t,i,a),e!==null&&(W2(e,t,a,r),dn(e,t,a))}};function T6(t,e,r,a,i,n,l){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(a,n,l):e.prototype&&e.prototype.isPureReactComponent?!R4(r,a)||!R4(i,n):!0}function b8(t,e,r){var a=!1,i=Ye,n=e.contextType;return typeof n=="object"&&n!==null?n=L2(n):(i=Jt(e)?Lr:Rt.current,a=e.contextTypes,n=(a=a!=null)?k0(t,i):Ye),e=new e(r,n),t.memoizedState=e.state!==null&&e.state!==void 0?e.state:null,e.updater=qn,t.stateNode=e,e._reactInternals=t,a&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=i,t.__reactInternalMemoizedMaskedChildContext=n),e}function R6(t,e,r,a){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(r,a),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(r,a),e.state!==t&&qn.enqueueReplaceState(e,e.state,null)}function Tc(t,e,r,a){var i=t.stateNode;i.props=r,i.state=t.memoizedState,i.refs={},Mh(t);var n=e.contextType;typeof n=="object"&&n!==null?i.context=L2(n):(n=Jt(e)?Lr:Rt.current,i.context=k0(t,n)),i.state=t.memoizedState,n=e.getDerivedStateFromProps,typeof n=="function"&&(Ec(t,e,n,r),i.state=t.memoizedState),typeof e.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(e=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),e!==i.state&&qn.enqueueReplaceState(i,i.state,null),An(t,r,i,a),i.state=t.memoizedState),typeof i.componentDidMount=="function"&&(t.flags|=4194308)}function E0(t,e){try{var r="",a=e;do r+=bw(a),a=a.return;while(a);var i=r}catch(n){i=`
|
|
7
|
+
Error generating stack: `+n.message+`
|
|
8
|
+
`+n.stack}return{value:t,source:e,stack:i,digest:null}}function tc(t,e,r){return{value:t,source:null,stack:r??null,digest:e??null}}function Rc(t,e){try{console.error(e.value)}catch(r){setTimeout(function(){throw r})}}var Yb=typeof WeakMap=="function"?WeakMap:Map;function y8(t,e,r){r=ge(-1,r),r.tag=3,r.payload={element:null};var a=e.value;return r.callback=function(){Pn||(Pn=!0,jc=a),Rc(t,e)},r}function L8(t,e,r){r=ge(-1,r),r.tag=3;var a=t.type.getDerivedStateFromError;if(typeof a=="function"){var i=e.value;r.payload=function(){return a(i)},r.callback=function(){Rc(t,e)}}var n=t.stateNode;return n!==null&&typeof n.componentDidCatch=="function"&&(r.callback=function(){Rc(t,e),typeof a!="function"&&($e===null?$e=new Set([this]):$e.add(this));var l=e.stack;this.componentDidCatch(e.value,{componentStack:l!==null?l:""})}),r}function P6(t,e,r){var a=t.pingCache;if(a===null){a=t.pingCache=new Yb;var i=new Set;a.set(e,i)}else i=a.get(e),i===void 0&&(i=new Set,a.set(e,i));i.has(r)||(i.add(r),t=hy.bind(null,t,e,r),e.then(t,t))}function I6(t){do{var e;if((e=t.tag===13)&&(e=t.memoizedState,e=e!==null?e.dehydrated!==null:!0),e)return t;t=t.return}while(t!==null);return null}function N6(t,e,r,a,i){return(t.mode&1)===0?(t===e?t.flags|=65536:(t.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(e=ge(-1,1),e.tag=2,Ge(r,e,1))),r.lanes|=1),t):(t.flags|=65536,t.lanes=i,t)}var Qb=xe.ReactCurrentOwner,Xt=!1;function Ft(t,e,r,a){e.child=t===null?e8(e,null,r,a):A0(e,t.child,r,a)}function D6(t,e,r,a,i){r=r.render;var n=e.ref;return C0(e,i),a=bh(t,e,r,a,n,i),r=yh(),t!==null&&!Xt?(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~i,Me(t,e,i)):(D1&&r&&vh(e),e.flags|=1,Ft(t,e,a,i),e.child)}function F6(t,e,r,a,i){if(t===null){var n=r.type;return typeof n=="function"&&!Th(n)&&n.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(e.tag=15,e.type=n,C8(t,e,n,a,i)):(t=mn(r.type,null,a,e,e.mode,i),t.ref=e.ref,t.return=e,e.child=t)}if(n=t.child,(t.lanes&i)===0){var l=n.memoizedProps;if(r=r.compare,r=r!==null?r:R4,r(l,a)&&t.ref===e.ref)return Me(t,e,i)}return e.flags|=1,t=Ke(n,a),t.ref=e.ref,t.return=e,e.child=t}function C8(t,e,r,a,i){if(t!==null){var n=t.memoizedProps;if(R4(n,a)&&t.ref===e.ref)if(Xt=!1,e.pendingProps=a=n,(t.lanes&i)!==0)(t.flags&131072)!==0&&(Xt=!0);else return e.lanes=t.lanes,Me(t,e,i)}return Pc(t,e,r,a,i)}function S8(t,e,r){var a=e.pendingProps,i=a.children,n=t!==null?t.memoizedState:null;if(a.mode==="hidden")if((e.mode&1)===0)e.memoizedState={baseLanes:0,cachePool:null,transitions:null},T1(V0,d2),d2|=r;else{if((r&1073741824)===0)return t=n!==null?n.baseLanes|r:r,e.lanes=e.childLanes=1073741824,e.memoizedState={baseLanes:t,cachePool:null,transitions:null},e.updateQueue=null,T1(V0,d2),d2|=t,null;e.memoizedState={baseLanes:0,cachePool:null,transitions:null},a=n!==null?n.baseLanes:r,T1(V0,d2),d2|=a}else n!==null?(a=n.baseLanes|r,e.memoizedState=null):a=r,T1(V0,d2),d2|=a;return Ft(t,e,i,r),e.child}function B8(t,e){var r=e.ref;(t===null&&r!==null||t!==null&&t.ref!==r)&&(e.flags|=512,e.flags|=2097152)}function Pc(t,e,r,a,i){var n=Jt(r)?Lr:Rt.current;return n=k0(e,n),C0(e,i),r=bh(t,e,r,a,n,i),a=yh(),t!==null&&!Xt?(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~i,Me(t,e,i)):(D1&&a&&vh(e),e.flags|=1,Ft(t,e,r,i),e.child)}function W6(t,e,r,a,i){if(Jt(r)){var n=!0;Cn(e)}else n=!1;if(C0(e,i),e.stateNode===null)pn(t,e),b8(e,r,a),Tc(e,r,a,i),a=!0;else if(t===null){var l=e.stateNode,o=e.memoizedProps;l.props=o;var c=l.context,h=r.contextType;typeof h=="object"&&h!==null?h=L2(h):(h=Jt(r)?Lr:Rt.current,h=k0(e,h));var d=r.getDerivedStateFromProps,s=typeof d=="function"||typeof l.getSnapshotBeforeUpdate=="function";s||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(o!==a||c!==h)&&R6(e,l,a,h),Te=!1;var v=e.memoizedState;l.state=v,An(e,a,l,i),c=e.memoizedState,o!==a||v!==c||Zt.current||Te?(typeof d=="function"&&(Ec(e,r,d,a),c=e.memoizedState),(o=Te||T6(e,r,o,a,v,c,h))?(s||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"&&(e.flags|=4194308)):(typeof l.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=a,e.memoizedState=c),l.props=a,l.state=c,l.context=h,a=o):(typeof l.componentDidMount=="function"&&(e.flags|=4194308),a=!1)}else{l=e.stateNode,a8(t,e),o=e.memoizedProps,h=e.type===e.elementType?o:I2(e.type,o),l.props=h,s=e.pendingProps,v=l.context,c=r.contextType,typeof c=="object"&&c!==null?c=L2(c):(c=Jt(r)?Lr:Rt.current,c=k0(e,c));var p=r.getDerivedStateFromProps;(d=typeof p=="function"||typeof l.getSnapshotBeforeUpdate=="function")||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(o!==s||v!==c)&&R6(e,l,a,c),Te=!1,v=e.memoizedState,l.state=v,An(e,a,l,i);var g=e.memoizedState;o!==s||v!==g||Zt.current||Te?(typeof p=="function"&&(Ec(e,r,p,a),g=e.memoizedState),(h=Te||T6(e,r,h,a,v,g,c)||!1)?(d||typeof l.UNSAFE_componentWillUpdate!="function"&&typeof l.componentWillUpdate!="function"||(typeof l.componentWillUpdate=="function"&&l.componentWillUpdate(a,g,c),typeof l.UNSAFE_componentWillUpdate=="function"&&l.UNSAFE_componentWillUpdate(a,g,c)),typeof l.componentDidUpdate=="function"&&(e.flags|=4),typeof l.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof l.componentDidUpdate!="function"||o===t.memoizedProps&&v===t.memoizedState||(e.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||o===t.memoizedProps&&v===t.memoizedState||(e.flags|=1024),e.memoizedProps=a,e.memoizedState=g),l.props=a,l.state=g,l.context=c,a=h):(typeof l.componentDidUpdate!="function"||o===t.memoizedProps&&v===t.memoizedState||(e.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||o===t.memoizedProps&&v===t.memoizedState||(e.flags|=1024),a=!1)}return Ic(t,e,r,a,n,i)}function Ic(t,e,r,a,i,n){B8(t,e);var l=(e.flags&128)!==0;if(!a&&!l)return i&&C6(e,r,!1),Me(t,e,n);a=e.stateNode,Qb.current=e;var o=l&&typeof r.getDerivedStateFromError!="function"?null:a.render();return e.flags|=1,t!==null&&l?(e.child=A0(e,t.child,null,n),e.child=A0(e,null,o,n)):Ft(t,e,o,n),e.memoizedState=a.state,i&&C6(e,r,!0),e.child}function k8(t){var e=t.stateNode;e.pendingContext?L6(t,e.pendingContext,e.pendingContext!==e.context):e.context&&L6(t,e.context,!1),xh(t,e.containerInfo)}function U6(t,e,r,a,i){return O0(),uh(i),e.flags|=256,Ft(t,e,r,a),e.child}var Nc={dehydrated:null,treeContext:null,retryLane:0};function Dc(t){return{baseLanes:t,cachePool:null,transitions:null}}function O8(t,e,r){var a=e.pendingProps,i=W1.current,n=!1,l=(e.flags&128)!==0,o;if((o=l)||(o=t!==null&&t.memoizedState===null?!1:(i&2)!==0),o?(n=!0,e.flags&=-129):(t===null||t.memoizedState!==null)&&(i|=1),T1(W1,i&1),t===null)return Ac(e),t=e.memoizedState,t!==null&&(t=t.dehydrated,t!==null)?((e.mode&1)===0?e.lanes=1:t.data==="$!"?e.lanes=8:e.lanes=1073741824,null):(l=a.children,t=a.fallback,n?(a=e.mode,n=e.child,l={mode:"hidden",children:l},(a&1)===0&&n!==null?(n.childLanes=0,n.pendingProps=l):n=Xn(l,a,0,null),t=yr(t,a,r,null),n.return=e,t.return=e,n.sibling=t,e.child=n,e.child.memoizedState=Dc(r),e.memoizedState=Nc,t):Sh(e,l));if(i=t.memoizedState,i!==null&&(o=i.dehydrated,o!==null))return Xb(t,e,l,a,o,i,r);if(n){n=a.fallback,l=e.mode,i=t.child,o=i.sibling;var c={mode:"hidden",children:a.children};return(l&1)===0&&e.child!==i?(a=e.child,a.childLanes=0,a.pendingProps=c,e.deletions=null):(a=Ke(i,c),a.subtreeFlags=i.subtreeFlags&14680064),o!==null?n=Ke(o,n):(n=yr(n,l,r,null),n.flags|=2),n.return=e,a.return=e,a.sibling=n,e.child=a,a=n,n=e.child,l=t.child.memoizedState,l=l===null?Dc(r):{baseLanes:l.baseLanes|r,cachePool:null,transitions:l.transitions},n.memoizedState=l,n.childLanes=t.childLanes&~r,e.memoizedState=Nc,a}return n=t.child,t=n.sibling,a=Ke(n,{mode:"visible",children:a.children}),(e.mode&1)===0&&(a.lanes=r),a.return=e,a.sibling=null,t!==null&&(r=e.deletions,r===null?(e.deletions=[t],e.flags|=16):r.push(t)),e.child=a,e.memoizedState=null,a}function Sh(t,e){return e=Xn({mode:"visible",children:e},t.mode,0,null),e.return=t,t.child=e}function an(t,e,r,a){return a!==null&&uh(a),A0(e,t.child,null,r),t=Sh(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function Xb(t,e,r,a,i,n,l){if(r)return e.flags&256?(e.flags&=-257,a=tc(Error(N(422))),an(t,e,l,a)):e.memoizedState!==null?(e.child=t.child,e.flags|=128,null):(n=a.fallback,i=e.mode,a=Xn({mode:"visible",children:a.children},i,0,null),n=yr(n,i,l,null),n.flags|=2,a.return=e,n.return=e,a.sibling=n,e.child=a,(e.mode&1)!==0&&A0(e,t.child,null,l),e.child.memoizedState=Dc(l),e.memoizedState=Nc,n);if((e.mode&1)===0)return an(t,e,l,null);if(i.data==="$!"){if(a=i.nextSibling&&i.nextSibling.dataset,a)var o=a.dgst;return a=o,n=Error(N(419)),a=tc(n,a,void 0),an(t,e,l,a)}if(o=(l&t.childLanes)!==0,Xt||o){if(a=zt,a!==null){switch(l&-l){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=(i&(a.suspendedLanes|l))!==0?0:i,i!==0&&i!==n.retryLane&&(n.retryLane=i,ze(t,i),W2(a,t,i,-1))}return Eh(),a=tc(Error(N(421))),an(t,e,l,a)}return i.data==="$?"?(e.flags|=128,e.child=t.child,e=dy.bind(null,t),i._reactRetry=e,null):(t=n.treeContext,s2=Ue(i.nextSibling),v2=e,D1=!0,D2=null,t!==null&&(V2[w2++]=pe,V2[w2++]=ue,V2[w2++]=Cr,pe=t.id,ue=t.overflow,Cr=e),e=Sh(e,a.children),e.flags|=4096,e)}function G6(t,e,r){t.lanes|=e;var a=t.alternate;a!==null&&(a.lanes|=e),_c(t.return,e,r)}function ec(t,e,r,a,i){var n=t.memoizedState;n===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:a,tail:r,tailMode:i}:(n.isBackwards=e,n.rendering=null,n.renderingStartTime=0,n.last=a,n.tail=r,n.tailMode=i)}function A8(t,e,r){var a=e.pendingProps,i=a.revealOrder,n=a.tail;if(Ft(t,e,a.children,r),a=W1.current,(a&2)!==0)a=a&1|2,e.flags|=128;else{if(t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&G6(t,r,e);else if(t.tag===19)G6(t,r,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}a&=1}if(T1(W1,a),(e.mode&1)===0)e.memoizedState=null;else switch(i){case"forwards":for(r=e.child,i=null;r!==null;)t=r.alternate,t!==null&&_n(t)===null&&(i=r),r=r.sibling;r=i,r===null?(i=e.child,e.child=null):(i=r.sibling,r.sibling=null),ec(e,!1,i,r,n);break;case"backwards":for(r=null,i=e.child,e.child=null;i!==null;){if(t=i.alternate,t!==null&&_n(t)===null){e.child=i;break}t=i.sibling,i.sibling=r,r=i,i=t}ec(e,!0,r,null,n);break;case"together":ec(e,!1,null,null,void 0);break;default:e.memoizedState=null}return e.child}function pn(t,e){(e.mode&1)===0&&t!==null&&(t.alternate=null,e.alternate=null,e.flags|=2)}function Me(t,e,r){if(t!==null&&(e.dependencies=t.dependencies),Br|=e.lanes,(r&e.childLanes)===0)return null;if(t!==null&&e.child!==t.child)throw Error(N(153));if(e.child!==null){for(t=e.child,r=Ke(t,t.pendingProps),e.child=r,r.return=e;t.sibling!==null;)t=t.sibling,r=r.sibling=Ke(t,t.pendingProps),r.return=e;r.sibling=null}return e.child}function Zb(t,e,r){switch(e.tag){case 3:k8(e),O0();break;case 5:i8(e);break;case 1:Jt(e.type)&&Cn(e);break;case 4:xh(e,e.stateNode.containerInfo);break;case 10:var a=e.type._context,i=e.memoizedProps.value;T1(kn,a._currentValue),a._currentValue=i;break;case 13:if(a=e.memoizedState,a!==null)return a.dehydrated!==null?(T1(W1,W1.current&1),e.flags|=128,null):(r&e.child.childLanes)!==0?O8(t,e,r):(T1(W1,W1.current&1),t=Me(t,e,r),t!==null?t.sibling:null);T1(W1,W1.current&1);break;case 19:if(a=(r&e.childLanes)!==0,(t.flags&128)!==0){if(a)return A8(t,e,r);e.flags|=128}if(i=e.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),T1(W1,W1.current),a)break;return null;case 22:case 23:return e.lanes=0,S8(t,e,r)}return Me(t,e,r)}var _8,Fc,E8,T8;_8=function(t,e){for(var r=e.child;r!==null;){if(r.tag===5||r.tag===6)t.appendChild(r.stateNode);else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===e)break;for(;r.sibling===null;){if(r.return===null||r.return===e)return;r=r.return}r.sibling.return=r.return,r=r.sibling}};Fc=function(){};E8=function(t,e,r,a){var i=t.memoizedProps;if(i!==a){t=e.stateNode,wr(Z2.current);var n=null;switch(r){case"input":i=hc(t,i),a=hc(t,a),n=[];break;case"select":i=G1({},i,{value:void 0}),a=G1({},a,{value:void 0}),n=[];break;case"textarea":i=vc(t,i),a=vc(t,a),n=[];break;default:typeof i.onClick!="function"&&typeof a.onClick=="function"&&(t.onclick=yn)}uc(r,a);var l;r=null;for(h in i)if(!a.hasOwnProperty(h)&&i.hasOwnProperty(h)&&i[h]!=null)if(h==="style"){var o=i[h];for(l in o)o.hasOwnProperty(l)&&(r||(r={}),r[l]="")}else h!=="dangerouslySetInnerHTML"&&h!=="children"&&h!=="suppressContentEditableWarning"&&h!=="suppressHydrationWarning"&&h!=="autoFocus"&&(B4.hasOwnProperty(h)?n||(n=[]):(n=n||[]).push(h,null));for(h in a){var c=a[h];if(o=i?.[h],a.hasOwnProperty(h)&&c!==o&&(c!=null||o!=null))if(h==="style")if(o){for(l in o)!o.hasOwnProperty(l)||c&&c.hasOwnProperty(l)||(r||(r={}),r[l]="");for(l in c)c.hasOwnProperty(l)&&o[l]!==c[l]&&(r||(r={}),r[l]=c[l])}else r||(n||(n=[]),n.push(h,r)),r=c;else h==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,o=o?o.__html:void 0,c!=null&&o!==c&&(n=n||[]).push(h,c)):h==="children"?typeof c!="string"&&typeof c!="number"||(n=n||[]).push(h,""+c):h!=="suppressContentEditableWarning"&&h!=="suppressHydrationWarning"&&(B4.hasOwnProperty(h)?(c!=null&&h==="onScroll"&&P1("scroll",t),n||o===c||(n=[])):(n=n||[]).push(h,c))}r&&(n=n||[]).push("style",r);var h=n;(e.updateQueue=h)&&(e.flags|=4)}};T8=function(t,e,r,a){r!==a&&(e.flags|=4)};function p4(t,e){if(!D1)switch(t.tailMode){case"hidden":e=t.tail;for(var r=null;e!==null;)e.alternate!==null&&(r=e),e=e.sibling;r===null?t.tail=null:r.sibling=null;break;case"collapsed":r=t.tail;for(var a=null;r!==null;)r.alternate!==null&&(a=r),r=r.sibling;a===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:a.sibling=null}}function Et(t){var e=t.alternate!==null&&t.alternate.child===t.child,r=0,a=0;if(e)for(var i=t.child;i!==null;)r|=i.lanes|i.childLanes,a|=i.subtreeFlags&14680064,a|=i.flags&14680064,i.return=t,i=i.sibling;else for(i=t.child;i!==null;)r|=i.lanes|i.childLanes,a|=i.subtreeFlags,a|=i.flags,i.return=t,i=i.sibling;return t.subtreeFlags|=a,t.childLanes=r,e}function Jb(t,e,r){var a=e.pendingProps;switch(ph(e),e.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Et(e),null;case 1:return Jt(e.type)&&Ln(),Et(e),null;case 3:return a=e.stateNode,_0(),I1(Zt),I1(Rt),Vh(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(t===null||t.child===null)&&(en(e)?e.flags|=4:t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,D2!==null&&(Yc(D2),D2=null))),Fc(t,e),Et(e),null;case 5:Hh(e);var i=wr(F4.current);if(r=e.type,t!==null&&e.stateNode!=null)E8(t,e,r,a,i),t.ref!==e.ref&&(e.flags|=512,e.flags|=2097152);else{if(!a){if(e.stateNode===null)throw Error(N(166));return Et(e),null}if(t=wr(Z2.current),en(e)){a=e.stateNode,r=e.type;var n=e.memoizedProps;switch(a[Q2]=e,a[N4]=n,t=(e.mode&1)!==0,r){case"dialog":P1("cancel",a),P1("close",a);break;case"iframe":case"object":case"embed":P1("load",a);break;case"video":case"audio":for(i=0;i<M4.length;i++)P1(M4[i],a);break;case"source":P1("error",a);break;case"img":case"image":case"link":P1("error",a),P1("load",a);break;case"details":P1("toggle",a);break;case"input":Zs(a,n),P1("invalid",a);break;case"select":a._wrapperState={wasMultiple:!!n.multiple},P1("invalid",a);break;case"textarea":t6(a,n),P1("invalid",a)}uc(r,n),i=null;for(var l in n)if(n.hasOwnProperty(l)){var o=n[l];l==="children"?typeof o=="string"?a.textContent!==o&&(n.suppressHydrationWarning!==!0&&tn(a.textContent,o,t),i=["children",o]):typeof o=="number"&&a.textContent!==""+o&&(n.suppressHydrationWarning!==!0&&tn(a.textContent,o,t),i=["children",""+o]):B4.hasOwnProperty(l)&&o!=null&&l==="onScroll"&&P1("scroll",a)}switch(r){case"input":Wi(a),Js(a,n,!0);break;case"textarea":Wi(a),e6(a);break;case"select":case"option":break;default:typeof n.onClick=="function"&&(a.onclick=yn)}a=i,e.updateQueue=a,a!==null&&(e.flags|=4)}else{l=i.nodeType===9?i:i.ownerDocument,t==="http://www.w3.org/1999/xhtml"&&(t=hv(r)),t==="http://www.w3.org/1999/xhtml"?r==="script"?(t=l.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild)):typeof a.is=="string"?t=l.createElement(r,{is:a.is}):(t=l.createElement(r),r==="select"&&(l=t,a.multiple?l.multiple=!0:a.size&&(l.size=a.size))):t=l.createElementNS(t,r),t[Q2]=e,t[N4]=a,_8(t,e,!1,!1),e.stateNode=t;t:{switch(l=gc(r,a),r){case"dialog":P1("cancel",t),P1("close",t),i=a;break;case"iframe":case"object":case"embed":P1("load",t),i=a;break;case"video":case"audio":for(i=0;i<M4.length;i++)P1(M4[i],t);i=a;break;case"source":P1("error",t),i=a;break;case"img":case"image":case"link":P1("error",t),P1("load",t),i=a;break;case"details":P1("toggle",t),i=a;break;case"input":Zs(t,a),i=hc(t,a),P1("invalid",t);break;case"option":i=a;break;case"select":t._wrapperState={wasMultiple:!!a.multiple},i=G1({},a,{value:void 0}),P1("invalid",t);break;case"textarea":t6(t,a),i=vc(t,a),P1("invalid",t);break;default:i=a}uc(r,i),o=i;for(n in o)if(o.hasOwnProperty(n)){var c=o[n];n==="style"?vv(t,c):n==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,c!=null&&dv(t,c)):n==="children"?typeof c=="string"?(r!=="textarea"||c!=="")&&k4(t,c):typeof c=="number"&&k4(t,""+c):n!=="suppressContentEditableWarning"&&n!=="suppressHydrationWarning"&&n!=="autoFocus"&&(B4.hasOwnProperty(n)?c!=null&&n==="onScroll"&&P1("scroll",t):c!=null&&Zc(t,n,c,l))}switch(r){case"input":Wi(t),Js(t,a,!1);break;case"textarea":Wi(t),e6(t);break;case"option":a.value!=null&&t.setAttribute("value",""+qe(a.value));break;case"select":t.multiple=!!a.multiple,n=a.value,n!=null?w0(t,!!a.multiple,n,!1):a.defaultValue!=null&&w0(t,!!a.multiple,a.defaultValue,!0);break;default:typeof i.onClick=="function"&&(t.onclick=yn)}switch(r){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break t;case"img":a=!0;break t;default:a=!1}}a&&(e.flags|=4)}e.ref!==null&&(e.flags|=512,e.flags|=2097152)}return Et(e),null;case 6:if(t&&e.stateNode!=null)T8(t,e,t.memoizedProps,a);else{if(typeof a!="string"&&e.stateNode===null)throw Error(N(166));if(r=wr(F4.current),wr(Z2.current),en(e)){if(a=e.stateNode,r=e.memoizedProps,a[Q2]=e,(n=a.nodeValue!==r)&&(t=v2,t!==null))switch(t.tag){case 3:tn(a.nodeValue,r,(t.mode&1)!==0);break;case 5:t.memoizedProps.suppressHydrationWarning!==!0&&tn(a.nodeValue,r,(t.mode&1)!==0)}n&&(e.flags|=4)}else a=(r.nodeType===9?r:r.ownerDocument).createTextNode(a),a[Q2]=e,e.stateNode=a}return Et(e),null;case 13:if(I1(W1),a=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(D1&&s2!==null&&(e.mode&1)!==0&&(e.flags&128)===0)Jv(),O0(),e.flags|=98560,n=!1;else if(n=en(e),a!==null&&a.dehydrated!==null){if(t===null){if(!n)throw Error(N(318));if(n=e.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(N(317));n[Q2]=e}else O0(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Et(e),n=!1}else D2!==null&&(Yc(D2),D2=null),n=!0;if(!n)return e.flags&65536?e:null}return(e.flags&128)!==0?(e.lanes=r,e):(a=a!==null,a!==(t!==null&&t.memoizedState!==null)&&a&&(e.child.flags|=8192,(e.mode&1)!==0&&(t===null||(W1.current&1)!==0?st===0&&(st=3):Eh())),e.updateQueue!==null&&(e.flags|=4),Et(e),null);case 4:return _0(),Fc(t,e),t===null&&P4(e.stateNode.containerInfo),Et(e),null;case 10:return fh(e.type._context),Et(e),null;case 17:return Jt(e.type)&&Ln(),Et(e),null;case 19:if(I1(W1),n=e.memoizedState,n===null)return Et(e),null;if(a=(e.flags&128)!==0,l=n.rendering,l===null)if(a)p4(n,!1);else{if(st!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(l=_n(t),l!==null){for(e.flags|=128,p4(n,!1),a=l.updateQueue,a!==null&&(e.updateQueue=a,e.flags|=4),e.subtreeFlags=0,a=r,r=e.child;r!==null;)n=r,t=a,n.flags&=14680066,l=n.alternate,l===null?(n.childLanes=0,n.lanes=t,n.child=null,n.subtreeFlags=0,n.memoizedProps=null,n.memoizedState=null,n.updateQueue=null,n.dependencies=null,n.stateNode=null):(n.childLanes=l.childLanes,n.lanes=l.lanes,n.child=l.child,n.subtreeFlags=0,n.deletions=null,n.memoizedProps=l.memoizedProps,n.memoizedState=l.memoizedState,n.updateQueue=l.updateQueue,n.type=l.type,t=l.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),r=r.sibling;return T1(W1,W1.current&1|2),e.child}t=t.sibling}n.tail!==null&&Z1()>T0&&(e.flags|=128,a=!0,p4(n,!1),e.lanes=4194304)}else{if(!a)if(t=_n(l),t!==null){if(e.flags|=128,a=!0,r=t.updateQueue,r!==null&&(e.updateQueue=r,e.flags|=4),p4(n,!0),n.tail===null&&n.tailMode==="hidden"&&!l.alternate&&!D1)return Et(e),null}else 2*Z1()-n.renderingStartTime>T0&&r!==1073741824&&(e.flags|=128,a=!0,p4(n,!1),e.lanes=4194304);n.isBackwards?(l.sibling=e.child,e.child=l):(r=n.last,r!==null?r.sibling=l:e.child=l,n.last=l)}return n.tail!==null?(e=n.tail,n.rendering=e,n.tail=e.sibling,n.renderingStartTime=Z1(),e.sibling=null,r=W1.current,T1(W1,a?r&1|2:r&1),e):(Et(e),null);case 22:case 23:return _h(),a=e.memoizedState!==null,t!==null&&t.memoizedState!==null!==a&&(e.flags|=8192),a&&(e.mode&1)!==0?(d2&1073741824)!==0&&(Et(e),e.subtreeFlags&6&&(e.flags|=8192)):Et(e),null;case 24:return null;case 25:return null}throw Error(N(156,e.tag))}function ty(t,e){switch(ph(e),e.tag){case 1:return Jt(e.type)&&Ln(),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return _0(),I1(Zt),I1(Rt),Vh(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 5:return Hh(e),null;case 13:if(I1(W1),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(N(340));O0()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return I1(W1),null;case 4:return _0(),null;case 10:return fh(e.type._context),null;case 22:case 23:return _h(),null;case 24:return null;default:return null}}var nn=!1,Tt=!1,ey=typeof WeakSet=="function"?WeakSet:Set,Q=null;function H0(t,e){var r=t.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(a){K1(t,e,a)}else r.current=null}function Wc(t,e,r){try{r()}catch(a){K1(t,e,a)}}var $6=!1;function ry(t,e){if(yc=Vn,t=Dv(),sh(t)){if("selectionStart"in t)var r={start:t.selectionStart,end:t.selectionEnd};else t:{r=(r=t.ownerDocument)&&r.defaultView||window;var a=r.getSelection&&r.getSelection();if(a&&a.rangeCount!==0){r=a.anchorNode;var i=a.anchorOffset,n=a.focusNode;a=a.focusOffset;try{r.nodeType,n.nodeType}catch{r=null;break t}var l=0,o=-1,c=-1,h=0,d=0,s=t,v=null;e:for(;;){for(var p;s!==r||i!==0&&s.nodeType!==3||(o=l+i),s!==n||a!==0&&s.nodeType!==3||(c=l+a),s.nodeType===3&&(l+=s.nodeValue.length),(p=s.firstChild)!==null;)v=s,s=p;for(;;){if(s===t)break e;if(v===r&&++h===i&&(o=l),v===n&&++d===a&&(c=l),(p=s.nextSibling)!==null)break;s=v,v=s.parentNode}s=p}r=o===-1||c===-1?null:{start:o,end:c}}else r=null}r=r||{start:0,end:0}}else r=null;for(Lc={focusedElem:t,selectionRange:r},Vn=!1,Q=e;Q!==null;)if(e=Q,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,Q=t;else for(;Q!==null;){e=Q;try{var g=e.alternate;if((e.flags&1024)!==0)switch(e.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var f=g.memoizedProps,V=g.memoizedState,u=e.stateNode,m=u.getSnapshotBeforeUpdate(e.elementType===e.type?f:I2(e.type,f),V);u.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var z=e.stateNode.containerInfo;z.nodeType===1?z.textContent="":z.nodeType===9&&z.documentElement&&z.removeChild(z.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(N(163))}}catch(y){K1(e,e.return,y)}if(t=e.sibling,t!==null){t.return=e.return,Q=t;break}Q=e.return}return g=$6,$6=!1,g}function L4(t,e,r){var a=e.updateQueue;if(a=a!==null?a.lastEffect:null,a!==null){var i=a=a.next;do{if((i.tag&t)===t){var n=i.destroy;i.destroy=void 0,n!==void 0&&Wc(e,r,n)}i=i.next}while(i!==a)}}function Yn(t,e){if(e=e.updateQueue,e=e!==null?e.lastEffect:null,e!==null){var r=e=e.next;do{if((r.tag&t)===t){var a=r.create;r.destroy=a()}r=r.next}while(r!==e)}}function Uc(t){var e=t.ref;if(e!==null){var r=t.stateNode;t.tag,t=r,typeof e=="function"?e(t):e.current=t}}function R8(t){var e=t.alternate;e!==null&&(t.alternate=null,R8(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&(delete e[Q2],delete e[N4],delete e[Bc],delete e[Ib],delete e[Nb])),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function P8(t){return t.tag===5||t.tag===3||t.tag===4}function j6(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||P8(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Gc(t,e,r){var a=t.tag;if(a===5||a===6)t=t.stateNode,e?r.nodeType===8?r.parentNode.insertBefore(t,e):r.insertBefore(t,e):(r.nodeType===8?(e=r.parentNode,e.insertBefore(t,r)):(e=r,e.appendChild(t)),r=r._reactRootContainer,r!=null||e.onclick!==null||(e.onclick=yn));else if(a!==4&&(t=t.child,t!==null))for(Gc(t,e,r),t=t.sibling;t!==null;)Gc(t,e,r),t=t.sibling}function $c(t,e,r){var a=t.tag;if(a===5||a===6)t=t.stateNode,e?r.insertBefore(t,e):r.appendChild(t);else if(a!==4&&(t=t.child,t!==null))for($c(t,e,r),t=t.sibling;t!==null;)$c(t,e,r),t=t.sibling}var St=null,N2=!1;function _e(t,e,r){for(r=r.child;r!==null;)I8(t,e,r),r=r.sibling}function I8(t,e,r){if(X2&&typeof X2.onCommitFiberUnmount=="function")try{X2.onCommitFiberUnmount(Fn,r)}catch{}switch(r.tag){case 5:Tt||H0(r,e);case 6:var a=St,i=N2;St=null,_e(t,e,r),St=a,N2=i,St!==null&&(N2?(t=St,r=r.stateNode,t.nodeType===8?t.parentNode.removeChild(r):t.removeChild(r)):St.removeChild(r.stateNode));break;case 18:St!==null&&(N2?(t=St,r=r.stateNode,t.nodeType===8?q5(t.parentNode,r):t.nodeType===1&&q5(t,r),E4(t)):q5(St,r.stateNode));break;case 4:a=St,i=N2,St=r.stateNode.containerInfo,N2=!0,_e(t,e,r),St=a,N2=i;break;case 0:case 11:case 14:case 15:if(!Tt&&(a=r.updateQueue,a!==null&&(a=a.lastEffect,a!==null))){i=a=a.next;do{var n=i,l=n.destroy;n=n.tag,l!==void 0&&((n&2)!==0||(n&4)!==0)&&Wc(r,e,l),i=i.next}while(i!==a)}_e(t,e,r);break;case 1:if(!Tt&&(H0(r,e),a=r.stateNode,typeof a.componentWillUnmount=="function"))try{a.props=r.memoizedProps,a.state=r.memoizedState,a.componentWillUnmount()}catch(o){K1(r,e,o)}_e(t,e,r);break;case 21:_e(t,e,r);break;case 22:r.mode&1?(Tt=(a=Tt)||r.memoizedState!==null,_e(t,e,r),Tt=a):_e(t,e,r);break;default:_e(t,e,r)}}function K6(t){var e=t.updateQueue;if(e!==null){t.updateQueue=null;var r=t.stateNode;r===null&&(r=t.stateNode=new ey),e.forEach(function(a){var i=sy.bind(null,t,a);r.has(a)||(r.add(a),a.then(i,i))})}}function P2(t,e){var r=e.deletions;if(r!==null)for(var a=0;a<r.length;a++){var i=r[a];try{var n=t,l=e,o=l;t:for(;o!==null;){switch(o.tag){case 5:St=o.stateNode,N2=!1;break t;case 3:St=o.stateNode.containerInfo,N2=!0;break t;case 4:St=o.stateNode.containerInfo,N2=!0;break t}o=o.return}if(St===null)throw Error(N(160));I8(n,l,i),St=null,N2=!1;var c=i.alternate;c!==null&&(c.return=null),i.return=null}catch(h){K1(i,e,h)}}if(e.subtreeFlags&12854)for(e=e.child;e!==null;)N8(e,t),e=e.sibling}function N8(t,e){var r=t.alternate,a=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:if(P2(e,t),q2(t),a&4){try{L4(3,t,t.return),Yn(3,t)}catch(f){K1(t,t.return,f)}try{L4(5,t,t.return)}catch(f){K1(t,t.return,f)}}break;case 1:P2(e,t),q2(t),a&512&&r!==null&&H0(r,r.return);break;case 5:if(P2(e,t),q2(t),a&512&&r!==null&&H0(r,r.return),t.flags&32){var i=t.stateNode;try{k4(i,"")}catch(f){K1(t,t.return,f)}}if(a&4&&(i=t.stateNode,i!=null)){var n=t.memoizedProps,l=r!==null?r.memoizedProps:n,o=t.type,c=t.updateQueue;if(t.updateQueue=null,c!==null)try{o==="input"&&n.type==="radio"&&n.name!=null&&ov(i,n),gc(o,l);var h=gc(o,n);for(l=0;l<c.length;l+=2){var d=c[l],s=c[l+1];d==="style"?vv(i,s):d==="dangerouslySetInnerHTML"?dv(i,s):d==="children"?k4(i,s):Zc(i,d,s,h)}switch(o){case"input":dc(i,n);break;case"textarea":cv(i,n);break;case"select":var v=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!n.multiple;var p=n.value;p!=null?w0(i,!!n.multiple,p,!1):v!==!!n.multiple&&(n.defaultValue!=null?w0(i,!!n.multiple,n.defaultValue,!0):w0(i,!!n.multiple,n.multiple?[]:"",!1))}i[N4]=n}catch(f){K1(t,t.return,f)}}break;case 6:if(P2(e,t),q2(t),a&4){if(t.stateNode===null)throw Error(N(162));i=t.stateNode,n=t.memoizedProps;try{i.nodeValue=n}catch(f){K1(t,t.return,f)}}break;case 3:if(P2(e,t),q2(t),a&4&&r!==null&&r.memoizedState.isDehydrated)try{E4(e.containerInfo)}catch(f){K1(t,t.return,f)}break;case 4:P2(e,t),q2(t);break;case 13:P2(e,t),q2(t),i=t.child,i.flags&8192&&(n=i.memoizedState!==null,i.stateNode.isHidden=n,!n||i.alternate!==null&&i.alternate.memoizedState!==null||(Oh=Z1())),a&4&&K6(t);break;case 22:if(d=r!==null&&r.memoizedState!==null,t.mode&1?(Tt=(h=Tt)||d,P2(e,t),Tt=h):P2(e,t),q2(t),a&8192){if(h=t.memoizedState!==null,(t.stateNode.isHidden=h)&&!d&&(t.mode&1)!==0)for(Q=t,d=t.child;d!==null;){for(s=Q=d;Q!==null;){switch(v=Q,p=v.child,v.tag){case 0:case 11:case 14:case 15:L4(4,v,v.return);break;case 1:H0(v,v.return);var g=v.stateNode;if(typeof g.componentWillUnmount=="function"){a=v,r=v.return;try{e=a,g.props=e.memoizedProps,g.state=e.memoizedState,g.componentWillUnmount()}catch(f){K1(a,r,f)}}break;case 5:H0(v,v.return);break;case 22:if(v.memoizedState!==null){Y6(s);continue}}p!==null?(p.return=v,Q=p):Y6(s)}d=d.sibling}t:for(d=null,s=t;;){if(s.tag===5){if(d===null){d=s;try{i=s.stateNode,h?(n=i.style,typeof n.setProperty=="function"?n.setProperty("display","none","important"):n.display="none"):(o=s.stateNode,c=s.memoizedProps.style,l=c!=null&&c.hasOwnProperty("display")?c.display:null,o.style.display=sv("display",l))}catch(f){K1(t,t.return,f)}}}else if(s.tag===6){if(d===null)try{s.stateNode.nodeValue=h?"":s.memoizedProps}catch(f){K1(t,t.return,f)}}else if((s.tag!==22&&s.tag!==23||s.memoizedState===null||s===t)&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break t;for(;s.sibling===null;){if(s.return===null||s.return===t)break t;d===s&&(d=null),s=s.return}d===s&&(d=null),s.sibling.return=s.return,s=s.sibling}}break;case 19:P2(e,t),q2(t),a&4&&K6(t);break;case 21:break;default:P2(e,t),q2(t)}}function q2(t){var e=t.flags;if(e&2){try{t:{for(var r=t.return;r!==null;){if(P8(r)){var a=r;break t}r=r.return}throw Error(N(160))}switch(a.tag){case 5:var i=a.stateNode;a.flags&32&&(k4(i,""),a.flags&=-33);var n=j6(t);$c(t,n,i);break;case 3:case 4:var l=a.stateNode.containerInfo,o=j6(t);Gc(t,o,l);break;default:throw Error(N(161))}}catch(c){K1(t,t.return,c)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function ay(t,e,r){Q=t,D8(t,e,r)}function D8(t,e,r){for(var a=(t.mode&1)!==0;Q!==null;){var i=Q,n=i.child;if(i.tag===22&&a){var l=i.memoizedState!==null||nn;if(!l){var o=i.alternate,c=o!==null&&o.memoizedState!==null||Tt;o=nn;var h=Tt;if(nn=l,(Tt=c)&&!h)for(Q=i;Q!==null;)l=Q,c=l.child,l.tag===22&&l.memoizedState!==null?Q6(i):c!==null?(c.return=l,Q=c):Q6(i);for(;n!==null;)Q=n,D8(n,e,r),n=n.sibling;Q=i,nn=o,Tt=h}q6(t,e,r)}else(i.subtreeFlags&8772)!==0&&n!==null?(n.return=i,Q=n):q6(t,e,r)}}function q6(t){for(;Q!==null;){var e=Q;if((e.flags&8772)!==0){var r=e.alternate;try{if((e.flags&8772)!==0)switch(e.tag){case 0:case 11:case 15:Tt||Yn(5,e);break;case 1:var a=e.stateNode;if(e.flags&4&&!Tt)if(r===null)a.componentDidMount();else{var i=e.elementType===e.type?r.memoizedProps:I2(e.type,r.memoizedProps);a.componentDidUpdate(i,r.memoizedState,a.__reactInternalSnapshotBeforeUpdate)}var n=e.updateQueue;n!==null&&A6(e,n,a);break;case 3:var l=e.updateQueue;if(l!==null){if(r=null,e.child!==null)switch(e.child.tag){case 5:r=e.child.stateNode;break;case 1:r=e.child.stateNode}A6(e,l,r)}break;case 5:var o=e.stateNode;if(r===null&&e.flags&4){r=o;var c=e.memoizedProps;switch(e.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&r.focus();break;case"img":c.src&&(r.src=c.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(e.memoizedState===null){var h=e.alternate;if(h!==null){var d=h.memoizedState;if(d!==null){var s=d.dehydrated;s!==null&&E4(s)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(N(163))}Tt||e.flags&512&&Uc(e)}catch(v){K1(e,e.return,v)}}if(e===t){Q=null;break}if(r=e.sibling,r!==null){r.return=e.return,Q=r;break}Q=e.return}}function Y6(t){for(;Q!==null;){var e=Q;if(e===t){Q=null;break}var r=e.sibling;if(r!==null){r.return=e.return,Q=r;break}Q=e.return}}function Q6(t){for(;Q!==null;){var e=Q;try{switch(e.tag){case 0:case 11:case 15:var r=e.return;try{Yn(4,e)}catch(c){K1(e,r,c)}break;case 1:var a=e.stateNode;if(typeof a.componentDidMount=="function"){var i=e.return;try{a.componentDidMount()}catch(c){K1(e,i,c)}}var n=e.return;try{Uc(e)}catch(c){K1(e,n,c)}break;case 5:var l=e.return;try{Uc(e)}catch(c){K1(e,l,c)}}}catch(c){K1(e,e.return,c)}if(e===t){Q=null;break}var o=e.sibling;if(o!==null){o.return=e.return,Q=o;break}Q=e.return}}var iy=Math.ceil,Rn=xe.ReactCurrentDispatcher,Bh=xe.ReactCurrentOwner,y2=xe.ReactCurrentBatchConfig,V1=0,zt=null,it=null,Bt=0,d2=0,V0=Xe(0),st=0,$4=null,Br=0,Qn=0,kh=0,C4=null,Qt=null,Oh=0,T0=1/0,se=null,Pn=!1,jc=null,$e=null,ln=!1,Ne=null,In=0,S4=0,Kc=null,un=-1,gn=0;function Wt(){return(V1&6)!==0?Z1():un!==-1?un:un=Z1()}function je(t){return(t.mode&1)===0?1:(V1&2)!==0&&Bt!==0?Bt&-Bt:Fb.transition!==null?(gn===0&&(gn=bv()),gn):(t=C1,t!==0||(t=window.event,t=t===void 0?16:Ov(t.type)),t)}function W2(t,e,r,a){if(50<S4)throw S4=0,Kc=null,Error(N(185));j4(t,r,a),((V1&2)===0||t!==zt)&&(t===zt&&((V1&2)===0&&(Qn|=r),st===4&&Pe(t,Bt)),t2(t,a),r===1&&V1===0&&(e.mode&1)===0&&(T0=Z1()+500,jn&&Ze()))}function t2(t,e){var r=t.callbackNode;Uw(t,e);var a=Hn(t,t===zt?Bt:0);if(a===0)r!==null&&i6(r),t.callbackNode=null,t.callbackPriority=0;else if(e=a&-a,t.callbackPriority!==e){if(r!=null&&i6(r),e===1)t.tag===0?Db(X6.bind(null,t)):Qv(X6.bind(null,t)),Rb(function(){(V1&6)===0&&Ze()}),r=null;else{switch(yv(a)){case 1:r=ah;break;case 4:r=Vv;break;case 16:r=xn;break;case 536870912:r=wv;break;default:r=xn}r=q8(r,F8.bind(null,t))}t.callbackPriority=e,t.callbackNode=r}}function F8(t,e){if(un=-1,gn=0,(V1&6)!==0)throw Error(N(327));var r=t.callbackNode;if(S0()&&t.callbackNode!==r)return null;var a=Hn(t,t===zt?Bt:0);if(a===0)return null;if((a&30)!==0||(a&t.expiredLanes)!==0||e)e=Nn(t,a);else{e=a;var i=V1;V1|=2;var n=U8();(zt!==t||Bt!==e)&&(se=null,T0=Z1()+500,br(t,e));do try{oy();break}catch(o){W8(t,o)}while(!0);mh(),Rn.current=n,V1=i,it!==null?e=0:(zt=null,Bt=0,e=st)}if(e!==0){if(e===2&&(i=xc(t),i!==0&&(a=i,e=qc(t,i))),e===1)throw r=$4,br(t,0),Pe(t,a),t2(t,Z1()),r;if(e===6)Pe(t,a);else{if(i=t.current.alternate,(a&30)===0&&!ny(i)&&(e=Nn(t,a),e===2&&(n=xc(t),n!==0&&(a=n,e=qc(t,n))),e===1))throw r=$4,br(t,0),Pe(t,a),t2(t,Z1()),r;switch(t.finishedWork=i,t.finishedLanes=a,e){case 0:case 1:throw Error(N(345));case 2:xr(t,Qt,se);break;case 3:if(Pe(t,a),(a&130023424)===a&&(e=Oh+500-Z1(),10<e)){if(Hn(t,0)!==0)break;if(i=t.suspendedLanes,(i&a)!==a){Wt(),t.pingedLanes|=t.suspendedLanes&i;break}t.timeoutHandle=Sc(xr.bind(null,t,Qt,se),e);break}xr(t,Qt,se);break;case 4:if(Pe(t,a),(a&4194240)===a)break;for(e=t.eventTimes,i=-1;0<a;){var l=31-F2(a);n=1<<l,l=e[l],l>i&&(i=l),a&=~n}if(a=i,a=Z1()-a,a=(120>a?120:480>a?480:1080>a?1080:1920>a?1920:3e3>a?3e3:4320>a?4320:1960*iy(a/1960))-a,10<a){t.timeoutHandle=Sc(xr.bind(null,t,Qt,se),a);break}xr(t,Qt,se);break;case 5:xr(t,Qt,se);break;default:throw Error(N(329))}}}return t2(t,Z1()),t.callbackNode===r?F8.bind(null,t):null}function qc(t,e){var r=C4;return t.current.memoizedState.isDehydrated&&(br(t,e).flags|=256),t=Nn(t,e),t!==2&&(e=Qt,Qt=r,e!==null&&Yc(e)),t}function Yc(t){Qt===null?Qt=t:Qt.push.apply(Qt,t)}function ny(t){for(var e=t;;){if(e.flags&16384){var r=e.updateQueue;if(r!==null&&(r=r.stores,r!==null))for(var a=0;a<r.length;a++){var i=r[a],n=i.getSnapshot;i=i.value;try{if(!U2(n(),i))return!1}catch{return!1}}}if(r=e.child,e.subtreeFlags&16384&&r!==null)r.return=e,e=r;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function Pe(t,e){for(e&=~kh,e&=~Qn,t.suspendedLanes|=e,t.pingedLanes&=~e,t=t.expirationTimes;0<e;){var r=31-F2(e),a=1<<r;t[r]=-1,e&=~a}}function X6(t){if((V1&6)!==0)throw Error(N(327));S0();var e=Hn(t,0);if((e&1)===0)return t2(t,Z1()),null;var r=Nn(t,e);if(t.tag!==0&&r===2){var a=xc(t);a!==0&&(e=a,r=qc(t,a))}if(r===1)throw r=$4,br(t,0),Pe(t,e),t2(t,Z1()),r;if(r===6)throw Error(N(345));return t.finishedWork=t.current.alternate,t.finishedLanes=e,xr(t,Qt,se),t2(t,Z1()),null}function Ah(t,e){var r=V1;V1|=1;try{return t(e)}finally{V1=r,V1===0&&(T0=Z1()+500,jn&&Ze())}}function kr(t){Ne!==null&&Ne.tag===0&&(V1&6)===0&&S0();var e=V1;V1|=1;var r=y2.transition,a=C1;try{if(y2.transition=null,C1=1,t)return t()}finally{C1=a,y2.transition=r,V1=e,(V1&6)===0&&Ze()}}function _h(){d2=V0.current,I1(V0)}function br(t,e){t.finishedWork=null,t.finishedLanes=0;var r=t.timeoutHandle;if(r!==-1&&(t.timeoutHandle=-1,Tb(r)),it!==null)for(r=it.return;r!==null;){var a=r;switch(ph(a),a.tag){case 1:a=a.type.childContextTypes,a!=null&&Ln();break;case 3:_0(),I1(Zt),I1(Rt),Vh();break;case 5:Hh(a);break;case 4:_0();break;case 13:I1(W1);break;case 19:I1(W1);break;case 10:fh(a.type._context);break;case 22:case 23:_h()}r=r.return}if(zt=t,it=t=Ke(t.current,null),Bt=d2=e,st=0,$4=null,kh=Qn=Br=0,Qt=C4=null,Vr!==null){for(e=0;e<Vr.length;e++)if(r=Vr[e],a=r.interleaved,a!==null){r.interleaved=null;var i=a.next,n=r.pending;if(n!==null){var l=n.next;n.next=i,a.next=l}r.pending=a}Vr=null}return t}function W8(t,e){do{var r=it;try{if(mh(),sn.current=Tn,En){for(var a=U1.memoizedState;a!==null;){var i=a.queue;i!==null&&(i.pending=null),a=a.next}En=!1}if(Sr=0,ft=dt=U1=null,y4=!1,W4=0,Bh.current=null,r===null||r.return===null){st=1,$4=e,it=null;break}t:{var n=t,l=r.return,o=r,c=e;if(e=Bt,o.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){var h=c,d=o,s=d.tag;if((d.mode&1)===0&&(s===0||s===11||s===15)){var v=d.alternate;v?(d.updateQueue=v.updateQueue,d.memoizedState=v.memoizedState,d.lanes=v.lanes):(d.updateQueue=null,d.memoizedState=null)}var p=I6(l);if(p!==null){p.flags&=-257,N6(p,l,o,n,e),p.mode&1&&P6(n,h,e),e=p,c=h;var g=e.updateQueue;if(g===null){var f=new Set;f.add(c),e.updateQueue=f}else g.add(c);break t}else{if((e&1)===0){P6(n,h,e),Eh();break t}c=Error(N(426))}}else if(D1&&o.mode&1){var V=I6(l);if(V!==null){(V.flags&65536)===0&&(V.flags|=256),N6(V,l,o,n,e),uh(E0(c,o));break t}}n=c=E0(c,o),st!==4&&(st=2),C4===null?C4=[n]:C4.push(n),n=l;do{switch(n.tag){case 3:n.flags|=65536,e&=-e,n.lanes|=e;var u=y8(n,c,e);O6(n,u);break t;case 1:o=c;var m=n.type,z=n.stateNode;if((n.flags&128)===0&&(typeof m.getDerivedStateFromError=="function"||z!==null&&typeof z.componentDidCatch=="function"&&($e===null||!$e.has(z)))){n.flags|=65536,e&=-e,n.lanes|=e;var y=L8(n,o,e);O6(n,y);break t}}n=n.return}while(n!==null)}$8(r)}catch(b){e=b,it===r&&r!==null&&(it=r=r.return);continue}break}while(!0)}function U8(){var t=Rn.current;return Rn.current=Tn,t===null?Tn:t}function Eh(){(st===0||st===3||st===2)&&(st=4),zt===null||(Br&268435455)===0&&(Qn&268435455)===0||Pe(zt,Bt)}function Nn(t,e){var r=V1;V1|=2;var a=U8();(zt!==t||Bt!==e)&&(se=null,br(t,e));do try{ly();break}catch(i){W8(t,i)}while(!0);if(mh(),V1=r,Rn.current=a,it!==null)throw Error(N(261));return zt=null,Bt=0,st}function ly(){for(;it!==null;)G8(it)}function oy(){for(;it!==null&&!Ew();)G8(it)}function G8(t){var e=K8(t.alternate,t,d2);t.memoizedProps=t.pendingProps,e===null?$8(t):it=e,Bh.current=null}function $8(t){var e=t;do{var r=e.alternate;if(t=e.return,(e.flags&32768)===0){if(r=Jb(r,e,d2),r!==null){it=r;return}}else{if(r=ty(r,e),r!==null){r.flags&=32767,it=r;return}if(t!==null)t.flags|=32768,t.subtreeFlags=0,t.deletions=null;else{st=6,it=null;return}}if(e=e.sibling,e!==null){it=e;return}it=e=t}while(e!==null);st===0&&(st=5)}function xr(t,e,r){var a=C1,i=y2.transition;try{y2.transition=null,C1=1,cy(t,e,r,a)}finally{y2.transition=i,C1=a}return null}function cy(t,e,r,a){do S0();while(Ne!==null);if((V1&6)!==0)throw Error(N(327));r=t.finishedWork;var i=t.finishedLanes;if(r===null)return null;if(t.finishedWork=null,t.finishedLanes=0,r===t.current)throw Error(N(177));t.callbackNode=null,t.callbackPriority=0;var n=r.lanes|r.childLanes;if(Gw(t,n),t===zt&&(it=zt=null,Bt=0),(r.subtreeFlags&2064)===0&&(r.flags&2064)===0||ln||(ln=!0,q8(xn,function(){return S0(),null})),n=(r.flags&15990)!==0,(r.subtreeFlags&15990)!==0||n){n=y2.transition,y2.transition=null;var l=C1;C1=1;var o=V1;V1|=4,Bh.current=null,ry(t,r),N8(r,t),kb(Lc),Vn=!!yc,Lc=yc=null,t.current=r,ay(r,t,i),Tw(),V1=o,C1=l,y2.transition=n}else t.current=r;if(ln&&(ln=!1,Ne=t,In=i),n=t.pendingLanes,n===0&&($e=null),Iw(r.stateNode,a),t2(t,Z1()),e!==null)for(a=t.onRecoverableError,r=0;r<e.length;r++)i=e[r],a(i.value,{componentStack:i.stack,digest:i.digest});if(Pn)throw Pn=!1,t=jc,jc=null,t;return(In&1)!==0&&t.tag!==0&&S0(),n=t.pendingLanes,(n&1)!==0?t===Kc?S4++:(S4=0,Kc=t):S4=0,Ze(),null}function S0(){if(Ne!==null){var t=yv(In),e=y2.transition,r=C1;try{if(y2.transition=null,C1=16>t?16:t,Ne===null)var a=!1;else{if(t=Ne,Ne=null,In=0,(V1&6)!==0)throw Error(N(331));var i=V1;for(V1|=4,Q=t.current;Q!==null;){var n=Q,l=n.child;if((Q.flags&16)!==0){var o=n.deletions;if(o!==null){for(var c=0;c<o.length;c++){var h=o[c];for(Q=h;Q!==null;){var d=Q;switch(d.tag){case 0:case 11:case 15:L4(8,d,n)}var s=d.child;if(s!==null)s.return=d,Q=s;else for(;Q!==null;){d=Q;var v=d.sibling,p=d.return;if(R8(d),d===h){Q=null;break}if(v!==null){v.return=p,Q=v;break}Q=p}}}var g=n.alternate;if(g!==null){var f=g.child;if(f!==null){g.child=null;do{var V=f.sibling;f.sibling=null,f=V}while(f!==null)}}Q=n}}if((n.subtreeFlags&2064)!==0&&l!==null)l.return=n,Q=l;else t:for(;Q!==null;){if(n=Q,(n.flags&2048)!==0)switch(n.tag){case 0:case 11:case 15:L4(9,n,n.return)}var u=n.sibling;if(u!==null){u.return=n.return,Q=u;break t}Q=n.return}}var m=t.current;for(Q=m;Q!==null;){l=Q;var z=l.child;if((l.subtreeFlags&2064)!==0&&z!==null)z.return=l,Q=z;else t:for(l=m;Q!==null;){if(o=Q,(o.flags&2048)!==0)try{switch(o.tag){case 0:case 11:case 15:Yn(9,o)}}catch(b){K1(o,o.return,b)}if(o===l){Q=null;break t}var y=o.sibling;if(y!==null){y.return=o.return,Q=y;break t}Q=o.return}}if(V1=i,Ze(),X2&&typeof X2.onPostCommitFiberRoot=="function")try{X2.onPostCommitFiberRoot(Fn,t)}catch{}a=!0}return a}finally{C1=r,y2.transition=e}}return!1}function Z6(t,e,r){e=E0(r,e),e=y8(t,e,1),t=Ge(t,e,1),e=Wt(),t!==null&&(j4(t,1,e),t2(t,e))}function K1(t,e,r){if(t.tag===3)Z6(t,t,r);else for(;e!==null;){if(e.tag===3){Z6(e,t,r);break}else if(e.tag===1){var a=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&($e===null||!$e.has(a))){t=E0(r,t),t=L8(e,t,1),e=Ge(e,t,1),t=Wt(),e!==null&&(j4(e,1,t),t2(e,t));break}}e=e.return}}function hy(t,e,r){var a=t.pingCache;a!==null&&a.delete(e),e=Wt(),t.pingedLanes|=t.suspendedLanes&r,zt===t&&(Bt&r)===r&&(st===4||st===3&&(Bt&130023424)===Bt&&500>Z1()-Oh?br(t,0):kh|=r),t2(t,e)}function j8(t,e){e===0&&((t.mode&1)===0?e=1:(e=$i,$i<<=1,($i&130023424)===0&&($i=4194304)));var r=Wt();t=ze(t,e),t!==null&&(j4(t,e,r),t2(t,r))}function dy(t){var e=t.memoizedState,r=0;e!==null&&(r=e.retryLane),j8(t,r)}function sy(t,e){var r=0;switch(t.tag){case 13:var a=t.stateNode,i=t.memoizedState;i!==null&&(r=i.retryLane);break;case 19:a=t.stateNode;break;default:throw Error(N(314))}a!==null&&a.delete(e),j8(t,r)}var K8;K8=function(t,e,r){if(t!==null)if(t.memoizedProps!==e.pendingProps||Zt.current)Xt=!0;else{if((t.lanes&r)===0&&(e.flags&128)===0)return Xt=!1,Zb(t,e,r);Xt=(t.flags&131072)!==0}else Xt=!1,D1&&(e.flags&1048576)!==0&&Xv(e,Bn,e.index);switch(e.lanes=0,e.tag){case 2:var a=e.type;pn(t,e),t=e.pendingProps;var i=k0(e,Rt.current);C0(e,r),i=bh(null,e,a,t,i,r);var n=yh();return e.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(e.tag=1,e.memoizedState=null,e.updateQueue=null,Jt(a)?(n=!0,Cn(e)):n=!1,e.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Mh(e),i.updater=qn,e.stateNode=i,i._reactInternals=e,Tc(e,a,t,r),e=Ic(null,e,a,!0,n,r)):(e.tag=0,D1&&n&&vh(e),Ft(null,e,i,r),e=e.child),e;case 16:a=e.elementType;t:{switch(pn(t,e),t=e.pendingProps,i=a._init,a=i(a._payload),e.type=a,i=e.tag=py(a),t=I2(a,t),i){case 0:e=Pc(null,e,a,t,r);break t;case 1:e=W6(null,e,a,t,r);break t;case 11:e=D6(null,e,a,t,r);break t;case 14:e=F6(null,e,a,I2(a.type,t),r);break t}throw Error(N(306,a,""))}return e;case 0:return a=e.type,i=e.pendingProps,i=e.elementType===a?i:I2(a,i),Pc(t,e,a,i,r);case 1:return a=e.type,i=e.pendingProps,i=e.elementType===a?i:I2(a,i),W6(t,e,a,i,r);case 3:t:{if(k8(e),t===null)throw Error(N(387));a=e.pendingProps,n=e.memoizedState,i=n.element,a8(t,e),An(e,a,null,r);var l=e.memoizedState;if(a=l.element,n.isDehydrated)if(n={element:a,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},e.updateQueue.baseState=n,e.memoizedState=n,e.flags&256){i=E0(Error(N(423)),e),e=U6(t,e,a,r,i);break t}else if(a!==i){i=E0(Error(N(424)),e),e=U6(t,e,a,r,i);break t}else for(s2=Ue(e.stateNode.containerInfo.firstChild),v2=e,D1=!0,D2=null,r=e8(e,null,a,r),e.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(O0(),a===i){e=Me(t,e,r);break t}Ft(t,e,a,r)}e=e.child}return e;case 5:return i8(e),t===null&&Ac(e),a=e.type,i=e.pendingProps,n=t!==null?t.memoizedProps:null,l=i.children,Cc(a,i)?l=null:n!==null&&Cc(a,n)&&(e.flags|=32),B8(t,e),Ft(t,e,l,r),e.child;case 6:return t===null&&Ac(e),null;case 13:return O8(t,e,r);case 4:return xh(e,e.stateNode.containerInfo),a=e.pendingProps,t===null?e.child=A0(e,null,a,r):Ft(t,e,a,r),e.child;case 11:return a=e.type,i=e.pendingProps,i=e.elementType===a?i:I2(a,i),D6(t,e,a,i,r);case 7:return Ft(t,e,e.pendingProps,r),e.child;case 8:return Ft(t,e,e.pendingProps.children,r),e.child;case 12:return Ft(t,e,e.pendingProps.children,r),e.child;case 10:t:{if(a=e.type._context,i=e.pendingProps,n=e.memoizedProps,l=i.value,T1(kn,a._currentValue),a._currentValue=l,n!==null)if(U2(n.value,l)){if(n.children===i.children&&!Zt.current){e=Me(t,e,r);break t}}else for(n=e.child,n!==null&&(n.return=e);n!==null;){var o=n.dependencies;if(o!==null){l=n.child;for(var c=o.firstContext;c!==null;){if(c.context===a){if(n.tag===1){c=ge(-1,r&-r),c.tag=2;var h=n.updateQueue;if(h!==null){h=h.shared;var d=h.pending;d===null?c.next=c:(c.next=d.next,d.next=c),h.pending=c}}n.lanes|=r,c=n.alternate,c!==null&&(c.lanes|=r),_c(n.return,r,e),o.lanes|=r;break}c=c.next}}else if(n.tag===10)l=n.type===e.type?null:n.child;else if(n.tag===18){if(l=n.return,l===null)throw Error(N(341));l.lanes|=r,o=l.alternate,o!==null&&(o.lanes|=r),_c(l,r,e),l=n.sibling}else l=n.child;if(l!==null)l.return=n;else for(l=n;l!==null;){if(l===e){l=null;break}if(n=l.sibling,n!==null){n.return=l.return,l=n;break}l=l.return}n=l}Ft(t,e,i.children,r),e=e.child}return e;case 9:return i=e.type,a=e.pendingProps.children,C0(e,r),i=L2(i),a=a(i),e.flags|=1,Ft(t,e,a,r),e.child;case 14:return a=e.type,i=I2(a,e.pendingProps),i=I2(a.type,i),F6(t,e,a,i,r);case 15:return C8(t,e,e.type,e.pendingProps,r);case 17:return a=e.type,i=e.pendingProps,i=e.elementType===a?i:I2(a,i),pn(t,e),e.tag=1,Jt(a)?(t=!0,Cn(e)):t=!1,C0(e,r),b8(e,a,i),Tc(e,a,i,r),Ic(null,e,a,!0,t,r);case 19:return A8(t,e,r);case 22:return S8(t,e,r)}throw Error(N(156,e.tag))};function q8(t,e){return Hv(t,e)}function vy(t,e,r,a){this.tag=t,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function b2(t,e,r,a){return new vy(t,e,r,a)}function Th(t){return t=t.prototype,!(!t||!t.isReactComponent)}function py(t){if(typeof t=="function")return Th(t)?1:0;if(t!=null){if(t=t.$$typeof,t===th)return 11;if(t===eh)return 14}return 2}function Ke(t,e){var r=t.alternate;return r===null?(r=b2(t.tag,e,t.key,t.mode),r.elementType=t.elementType,r.type=t.type,r.stateNode=t.stateNode,r.alternate=t,t.alternate=r):(r.pendingProps=e,r.type=t.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=t.flags&14680064,r.childLanes=t.childLanes,r.lanes=t.lanes,r.child=t.child,r.memoizedProps=t.memoizedProps,r.memoizedState=t.memoizedState,r.updateQueue=t.updateQueue,e=t.dependencies,r.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},r.sibling=t.sibling,r.index=t.index,r.ref=t.ref,r}function mn(t,e,r,a,i,n){var l=2;if(a=t,typeof t=="function")Th(t)&&(l=1);else if(typeof t=="string")l=5;else t:switch(t){case v0:return yr(r.children,i,n,e);case Jc:l=8,i|=8;break;case nc:return t=b2(12,r,e,i|2),t.elementType=nc,t.lanes=n,t;case lc:return t=b2(13,r,e,i),t.elementType=lc,t.lanes=n,t;case oc:return t=b2(19,r,e,i),t.elementType=oc,t.lanes=n,t;case iv:return Xn(r,i,n,e);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case rv:l=10;break t;case av:l=9;break t;case th:l=11;break t;case eh:l=14;break t;case Ee:l=16,a=null;break t}throw Error(N(130,t==null?t:typeof t,""))}return e=b2(l,r,e,i),e.elementType=t,e.type=a,e.lanes=n,e}function yr(t,e,r,a){return t=b2(7,t,a,e),t.lanes=r,t}function Xn(t,e,r,a){return t=b2(22,t,a,e),t.elementType=iv,t.lanes=r,t.stateNode={isHidden:!1},t}function rc(t,e,r){return t=b2(6,t,null,e),t.lanes=r,t}function ac(t,e,r){return e=b2(4,t.children!==null?t.children:[],t.key,e),e.lanes=r,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function uy(t,e,r,a,i){this.tag=e,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=D5(0),this.expirationTimes=D5(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=D5(0),this.identifierPrefix=a,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Rh(t,e,r,a,i,n,l,o,c){return t=new uy(t,e,r,o,c),e===1?(e=1,n===!0&&(e|=8)):e=0,n=b2(3,null,null,e),t.current=n,n.stateNode=t,n.memoizedState={element:a,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},Mh(n),t}function gy(t,e,r){var a=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:s0,key:a==null?null:""+a,children:t,containerInfo:e,implementation:r}}function Y8(t){if(!t)return Ye;t=t._reactInternals;t:{if(Ar(t)!==t||t.tag!==1)throw Error(N(170));var e=t;do{switch(e.tag){case 3:e=e.stateNode.context;break t;case 1:if(Jt(e.type)){e=e.stateNode.__reactInternalMemoizedMergedChildContext;break t}}e=e.return}while(e!==null);throw Error(N(171))}if(t.tag===1){var r=t.type;if(Jt(r))return Yv(t,r,e)}return e}function Q8(t,e,r,a,i,n,l,o,c){return t=Rh(r,a,!0,t,i,n,l,o,c),t.context=Y8(null),r=t.current,a=Wt(),i=je(r),n=ge(a,i),n.callback=e??null,Ge(r,n,i),t.current.lanes=i,j4(t,i,a),t2(t,a),t}function Zn(t,e,r,a){var i=e.current,n=Wt(),l=je(i);return r=Y8(r),e.context===null?e.context=r:e.pendingContext=r,e=ge(n,l),e.payload={element:t},a=a===void 0?null:a,a!==null&&(e.callback=a),t=Ge(i,e,l),t!==null&&(W2(t,i,l,n),dn(t,i,l)),l}function Dn(t){return t=t.current,t.child?(t.child.tag===5,t.child.stateNode):null}function J6(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var r=t.retryLane;t.retryLane=r!==0&&r<e?r:e}}function Ph(t,e){J6(t,e),(t=t.alternate)&&J6(t,e)}function my(){return null}var X8=typeof reportError=="function"?reportError:function(t){console.error(t)};function Ih(t){this._internalRoot=t}Jn.prototype.render=Ih.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(N(409));Zn(t,e,null,null)};Jn.prototype.unmount=Ih.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;kr(function(){Zn(null,t,null,null)}),e[fe]=null}};function Jn(t){this._internalRoot=t}Jn.prototype.unstable_scheduleHydration=function(t){if(t){var e=Sv();t={blockedOn:null,target:t,priority:e};for(var r=0;r<Re.length&&e!==0&&e<Re[r].priority;r++);Re.splice(r,0,t),r===0&&kv(t)}};function Nh(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function tl(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11&&(t.nodeType!==8||t.nodeValue!==" react-mount-point-unstable "))}function tv(){}function fy(t,e,r,a,i){if(i){if(typeof a=="function"){var n=a;a=function(){var h=Dn(l);n.call(h)}}var l=Q8(e,a,t,0,null,!1,!1,"",tv);return t._reactRootContainer=l,t[fe]=l.current,P4(t.nodeType===8?t.parentNode:t),kr(),l}for(;i=t.lastChild;)t.removeChild(i);if(typeof a=="function"){var o=a;a=function(){var h=Dn(c);o.call(h)}}var c=Rh(t,0,!1,null,null,!1,!1,"",tv);return t._reactRootContainer=c,t[fe]=c.current,P4(t.nodeType===8?t.parentNode:t),kr(function(){Zn(e,c,r,a)}),c}function el(t,e,r,a,i){var n=r._reactRootContainer;if(n){var l=n;if(typeof i=="function"){var o=i;i=function(){var c=Dn(l);o.call(c)}}Zn(e,l,t,i)}else l=fy(r,e,t,i,a);return Dn(l)}Lv=function(t){switch(t.tag){case 3:var e=t.stateNode;if(e.current.memoizedState.isDehydrated){var r=z4(e.pendingLanes);r!==0&&(ih(e,r|1),t2(e,Z1()),(V1&6)===0&&(T0=Z1()+500,Ze()))}break;case 13:kr(function(){var a=ze(t,1);if(a!==null){var i=Wt();W2(a,t,1,i)}}),Ph(t,1)}};nh=function(t){if(t.tag===13){var e=ze(t,134217728);if(e!==null){var r=Wt();W2(e,t,134217728,r)}Ph(t,134217728)}};Cv=function(t){if(t.tag===13){var e=je(t),r=ze(t,e);if(r!==null){var a=Wt();W2(r,t,e,a)}Ph(t,e)}};Sv=function(){return C1};Bv=function(t,e){var r=C1;try{return C1=t,e()}finally{C1=r}};fc=function(t,e,r){switch(e){case"input":if(dc(t,r),e=r.name,r.type==="radio"&&e!=null){for(r=t;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+e)+'][type="radio"]'),e=0;e<r.length;e++){var a=r[e];if(a!==t&&a.form===t.form){var i=$n(a);if(!i)throw Error(N(90));lv(a),dc(a,i)}}}break;case"textarea":cv(t,r);break;case"select":e=r.value,e!=null&&w0(t,!!r.multiple,e,!1)}};gv=Ah;mv=kr;var zy={usingClientEntryPoint:!1,Events:[q4,m0,$n,pv,uv,Ah]},u4={findFiberByHostInstance:Hr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},My={bundleType:u4.bundleType,version:u4.version,rendererPackageName:u4.rendererPackageName,rendererConfig:u4.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:xe.ReactCurrentDispatcher,findHostInstanceByFiber:function(t){return t=Mv(t),t===null?null:t.stateNode},findFiberByHostInstance:u4.findFiberByHostInstance||my,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(g4=__REACT_DEVTOOLS_GLOBAL_HOOK__,!g4.isDisabled&&g4.supportsFiber))try{Fn=g4.inject(My),X2=g4}catch{}var g4;g2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=zy;g2.createPortal=function(t,e){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Nh(e))throw Error(N(200));return gy(t,e,null,r)};g2.createRoot=function(t,e){if(!Nh(t))throw Error(N(299));var r=!1,a="",i=X8;return e!=null&&(e.unstable_strictMode===!0&&(r=!0),e.identifierPrefix!==void 0&&(a=e.identifierPrefix),e.onRecoverableError!==void 0&&(i=e.onRecoverableError)),e=Rh(t,1,!1,null,null,r,!1,a,i),t[fe]=e.current,P4(t.nodeType===8?t.parentNode:t),new Ih(e)};g2.findDOMNode=function(t){if(t==null)return null;if(t.nodeType===1)return t;var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(N(188)):(t=Object.keys(t).join(","),Error(N(268,t)));return t=Mv(e),t=t===null?null:t.stateNode,t};g2.flushSync=function(t){return kr(t)};g2.hydrate=function(t,e,r){if(!tl(e))throw Error(N(200));return el(null,t,e,!0,r)};g2.hydrateRoot=function(t,e,r){if(!Nh(t))throw Error(N(405));var a=r!=null&&r.hydratedSources||null,i=!1,n="",l=X8;if(r!=null&&(r.unstable_strictMode===!0&&(i=!0),r.identifierPrefix!==void 0&&(n=r.identifierPrefix),r.onRecoverableError!==void 0&&(l=r.onRecoverableError)),e=Q8(e,null,t,1,r??null,i,!1,n,l),t[fe]=e.current,P4(t),a)for(t=0;t<a.length;t++)r=a[t],i=r._getVersion,i=i(r._source),e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[r,i]:e.mutableSourceEagerHydrationData.push(r,i);return new Jn(e)};g2.render=function(t,e,r){if(!tl(e))throw Error(N(200));return el(null,t,e,!1,r)};g2.unmountComponentAtNode=function(t){if(!tl(t))throw Error(N(40));return t._reactRootContainer?(kr(function(){el(null,null,t,!1,function(){t._reactRootContainer=null,t[fe]=null})}),!0):!1};g2.unstable_batchedUpdates=Ah;g2.unstable_renderSubtreeIntoContainer=function(t,e,r,a){if(!tl(r))throw Error(N(200));if(t==null||t._reactInternals===void 0)throw Error(N(38));return el(t,e,r,!1,a)};g2.version="18.3.1-next-f1338f8080-20240426"});var e7=mt((wT,t7)=>{"use strict";function J8(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(J8)}catch(t){console.error(t)}}J8(),t7.exports=Z8()});var a7=mt(Dh=>{"use strict";var r7=e7();Dh.createRoot=r7.createRoot,Dh.hydrateRoot=r7.hydrateRoot;var bT});var n7=mt(rl=>{"use strict";var xy=c1(),Hy=Symbol.for("react.element"),Vy=Symbol.for("react.fragment"),wy=Object.prototype.hasOwnProperty,by=xy.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,yy={key:!0,ref:!0,__self:!0,__source:!0};function i7(t,e,r){var a,i={},n=null,l=null;r!==void 0&&(n=""+r),e.key!==void 0&&(n=""+e.key),e.ref!==void 0&&(l=e.ref);for(a in e)wy.call(e,a)&&!yy.hasOwnProperty(a)&&(i[a]=e[a]);if(t&&t.defaultProps)for(a in e=t.defaultProps,e)i[a]===void 0&&(i[a]=e[a]);return{$$typeof:Hy,type:t,key:n,ref:l,props:i,_owner:by.current}}rl.Fragment=Vy;rl.jsx=i7;rl.jsxs=i7});var n1=mt((CT,l7)=>{"use strict";l7.exports=n7()});var O7=mt(S1=>{"use strict";var Mt=typeof Symbol=="function"&&Symbol.for,Gh=Mt?Symbol.for("react.element"):60103,$h=Mt?Symbol.for("react.portal"):60106,sl=Mt?Symbol.for("react.fragment"):60107,vl=Mt?Symbol.for("react.strict_mode"):60108,pl=Mt?Symbol.for("react.profiler"):60114,ul=Mt?Symbol.for("react.provider"):60109,gl=Mt?Symbol.for("react.context"):60110,jh=Mt?Symbol.for("react.async_mode"):60111,ml=Mt?Symbol.for("react.concurrent_mode"):60111,fl=Mt?Symbol.for("react.forward_ref"):60112,zl=Mt?Symbol.for("react.suspense"):60113,Iy=Mt?Symbol.for("react.suspense_list"):60120,Ml=Mt?Symbol.for("react.memo"):60115,xl=Mt?Symbol.for("react.lazy"):60116,Ny=Mt?Symbol.for("react.block"):60121,Dy=Mt?Symbol.for("react.fundamental"):60117,Fy=Mt?Symbol.for("react.responder"):60118,Wy=Mt?Symbol.for("react.scope"):60119;function m2(t){if(typeof t=="object"&&t!==null){var e=t.$$typeof;switch(e){case Gh:switch(t=t.type,t){case jh:case ml:case sl:case pl:case vl:case zl:return t;default:switch(t=t&&t.$$typeof,t){case gl:case fl:case xl:case Ml:case ul:return t;default:return e}}case $h:return e}}}function k7(t){return m2(t)===ml}S1.AsyncMode=jh;S1.ConcurrentMode=ml;S1.ContextConsumer=gl;S1.ContextProvider=ul;S1.Element=Gh;S1.ForwardRef=fl;S1.Fragment=sl;S1.Lazy=xl;S1.Memo=Ml;S1.Portal=$h;S1.Profiler=pl;S1.StrictMode=vl;S1.Suspense=zl;S1.isAsyncMode=function(t){return k7(t)||m2(t)===jh};S1.isConcurrentMode=k7;S1.isContextConsumer=function(t){return m2(t)===gl};S1.isContextProvider=function(t){return m2(t)===ul};S1.isElement=function(t){return typeof t=="object"&&t!==null&&t.$$typeof===Gh};S1.isForwardRef=function(t){return m2(t)===fl};S1.isFragment=function(t){return m2(t)===sl};S1.isLazy=function(t){return m2(t)===xl};S1.isMemo=function(t){return m2(t)===Ml};S1.isPortal=function(t){return m2(t)===$h};S1.isProfiler=function(t){return m2(t)===pl};S1.isStrictMode=function(t){return m2(t)===vl};S1.isSuspense=function(t){return m2(t)===zl};S1.isValidElementType=function(t){return typeof t=="string"||typeof t=="function"||t===sl||t===ml||t===pl||t===vl||t===zl||t===Iy||typeof t=="object"&&t!==null&&(t.$$typeof===xl||t.$$typeof===Ml||t.$$typeof===ul||t.$$typeof===gl||t.$$typeof===fl||t.$$typeof===Dy||t.$$typeof===Fy||t.$$typeof===Wy||t.$$typeof===Ny)};S1.typeOf=m2});var _7=mt((JT,A7)=>{"use strict";A7.exports=O7()});var D7=mt((tR,N7)=>{"use strict";var Kh=_7(),Uy={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Gy={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},$y={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},P7={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},qh={};qh[Kh.ForwardRef]=$y;qh[Kh.Memo]=P7;function E7(t){return Kh.isMemo(t)?P7:qh[t.$$typeof]||Uy}var jy=Object.defineProperty,Ky=Object.getOwnPropertyNames,T7=Object.getOwnPropertySymbols,qy=Object.getOwnPropertyDescriptor,Yy=Object.getPrototypeOf,R7=Object.prototype;function I7(t,e,r){if(typeof e!="string"){if(R7){var a=Yy(e);a&&a!==R7&&I7(t,a,r)}var i=Ky(e);T7&&(i=i.concat(T7(e)));for(var n=E7(t),l=E7(e),o=0;o<i.length;++o){var c=i[o];if(!Gy[c]&&!(r&&r[c])&&!(l&&l[c])&&!(n&&n[c])){var h=qy(e,c);try{jy(t,c,h)}catch{}}}}return t}N7.exports=I7});var zz=mt((f01,fz)=>{"use strict";var pz=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,kS=/\n/g,OS=/^\s*/,AS=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,_S=/^:\s*/,ES=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,TS=/^[;\s]*/,RS=/^\s+|\s+$/g,PS=`
|
|
9
|
+
`,uz="/",gz="*",Kr="",IS="comment",NS="declaration";function DS(t,e){if(typeof t!="string")throw new TypeError("First argument must be a string");if(!t)return[];e=e||{};var r=1,a=1;function i(g){var f=g.match(kS);f&&(r+=f.length);var V=g.lastIndexOf(PS);a=~V?g.length-V:a+g.length}function n(){var g={line:r,column:a};return function(f){return f.position=new l(g),h(),f}}function l(g){this.start=g,this.end={line:r,column:a},this.source=e.source}l.prototype.content=t;function o(g){var f=new Error(e.source+":"+r+":"+a+": "+g);if(f.reason=g,f.filename=e.source,f.line=r,f.column=a,f.source=t,!e.silent)throw f}function c(g){var f=g.exec(t);if(f){var V=f[0];return i(V),t=t.slice(V.length),f}}function h(){c(OS)}function d(g){var f;for(g=g||[];f=s();)f!==!1&&g.push(f);return g}function s(){var g=n();if(!(uz!=t.charAt(0)||gz!=t.charAt(1))){for(var f=2;Kr!=t.charAt(f)&&(gz!=t.charAt(f)||uz!=t.charAt(f+1));)++f;if(f+=2,Kr===t.charAt(f-1))return o("End of comment missing");var V=t.slice(2,f-2);return a+=2,i(V),t=t.slice(f),a+=2,g({type:IS,comment:V})}}function v(){var g=n(),f=c(AS);if(f){if(s(),!c(_S))return o("property missing ':'");var V=c(ES),u=g({type:NS,property:mz(f[0].replace(pz,Kr)),value:V?mz(V[0].replace(pz,Kr)):Kr});return c(TS),u}}function p(){var g=[];d(g);for(var f;f=v();)f!==!1&&(g.push(f),d(g));return g}return h(),p()}function mz(t){return t?t.replace(RS,Kr):Kr}fz.exports=DS});var Mz=mt(mi=>{"use strict";var FS=mi&&mi.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(mi,"__esModule",{value:!0});mi.default=US;var WS=FS(zz());function US(t,e){let r=null;if(!t||typeof t!="string")return r;let a=(0,WS.default)(t),i=typeof e=="function";return a.forEach(n=>{if(n.type!=="declaration")return;let{property:l,value:o}=n;i?e(l,o,n):o&&(r=r||{},r[l]=o)}),r}});var Hz=mt(go=>{"use strict";Object.defineProperty(go,"__esModule",{value:!0});go.camelCase=void 0;var GS=/^--[a-zA-Z0-9_-]+$/,$S=/-([a-z])/g,jS=/^[^-]+$/,KS=/^-(webkit|moz|ms|o|khtml)-/,qS=/^-(ms)-/,YS=function(t){return!t||jS.test(t)||GS.test(t)},QS=function(t,e){return e.toUpperCase()},xz=function(t,e){return"".concat(e,"-")},XS=function(t,e){return e===void 0&&(e={}),YS(t)?t:(t=t.toLowerCase(),e.reactCompat?t=t.replace(qS,xz):t=t.replace(KS,xz),t.replace($S,QS))};go.camelCase=XS});var wz=mt((pd,Vz)=>{"use strict";var ZS=pd&&pd.__importDefault||function(t){return t&&t.__esModule?t:{default:t}},JS=ZS(Mz()),tB=Hz();function vd(t,e){var r={};return!t||typeof t!="string"||(0,JS.default)(t,function(a,i){a&&i&&(r[(0,tB.camelCase)(a,e)]=i)}),r}vd.default=vd;Vz.exports=vd});var qM=mt((Kl1,KM)=>{"use strict";var No=Object.prototype.hasOwnProperty,jM=Object.prototype.toString,DM=Object.defineProperty,FM=Object.getOwnPropertyDescriptor,WM=function(e){return typeof Array.isArray=="function"?Array.isArray(e):jM.call(e)==="[object Array]"},UM=function(e){if(!e||jM.call(e)!=="[object Object]")return!1;var r=No.call(e,"constructor"),a=e.constructor&&e.constructor.prototype&&No.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!r&&!a)return!1;var i;for(i in e);return typeof i>"u"||No.call(e,i)},GM=function(e,r){DM&&r.name==="__proto__"?DM(e,r.name,{enumerable:!0,configurable:!0,value:r.newValue,writable:!0}):e[r.name]=r.newValue},$M=function(e,r){if(r==="__proto__")if(No.call(e,r)){if(FM)return FM(e,r).value}else return;return e[r]};KM.exports=function t(){var e,r,a,i,n,l,o=arguments[0],c=1,h=arguments.length,d=!1;for(typeof o=="boolean"&&(d=o,o=arguments[1]||{},c=2),(o==null||typeof o!="object"&&typeof o!="function")&&(o={});c<h;++c)if(e=arguments[c],e!=null)for(r in e)a=$M(o,r),i=$M(e,r),o!==i&&(d&&i&&(UM(i)||(n=WM(i)))?(n?(n=!1,l=a&&WM(a)?a:[]):l=a&&UM(a)?a:{},GM(o,{name:r,newValue:t(d,l,i)})):typeof i<"u"&&GM(o,{name:r,newValue:i}));return o}});var IH=mt((vc1,PH)=>{"use strict";function yH(t){return t instanceof Map?t.clear=t.delete=t.set=function(){throw new Error("map is read-only")}:t instanceof Set&&(t.add=t.clear=t.delete=function(){throw new Error("set is read-only")}),Object.freeze(t),Object.getOwnPropertyNames(t).forEach(e=>{let r=t[e],a=typeof r;(a==="object"||a==="function")&&!Object.isFrozen(r)&&yH(r)}),t}var Xo=class{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}};function LH(t){return t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function ur(t,...e){let r=Object.create(null);for(let a in t)r[a]=t[a];return e.forEach(function(a){for(let i in a)r[i]=a[i]}),r}var SA="</span>",MH=t=>!!t.scope,BA=(t,{prefix:e})=>{if(t.startsWith("language:"))return t.replace("language:","language-");if(t.includes(".")){let r=t.split(".");return[`${e}${r.shift()}`,...r.map((a,i)=>`${a}${"_".repeat(i+1)}`)].join(" ")}return`${e}${t}`},l9=class{constructor(e,r){this.buffer="",this.classPrefix=r.classPrefix,e.walk(this)}addText(e){this.buffer+=LH(e)}openNode(e){if(!MH(e))return;let r=BA(e.scope,{prefix:this.classPrefix});this.span(r)}closeNode(e){MH(e)&&(this.buffer+=SA)}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}},xH=(t={})=>{let e={children:[]};return Object.assign(e,t),e},o9=class t{constructor(){this.rootNode=xH(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){let r=xH({scope:e});this.add(r),this.stack.push(r)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,r){return typeof r=="string"?e.addText(r):r.children&&(e.openNode(r),r.children.forEach(a=>this._walk(e,a)),e.closeNode(r)),e}static _collapse(e){typeof e!="string"&&e.children&&(e.children.every(r=>typeof r=="string")?e.children=[e.children.join("")]:e.children.forEach(r=>{t._collapse(r)}))}},c9=class extends o9{constructor(e){super(),this.options=e}addText(e){e!==""&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,r){let a=e.root;r&&(a.scope=`language:${r}`),this.add(a)}toHTML(){return new l9(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}};function Bi(t){return t?typeof t=="string"?t:t.source:null}function CH(t){return i0("(?=",t,")")}function kA(t){return i0("(?:",t,")*")}function OA(t){return i0("(?:",t,")?")}function i0(...t){return t.map(r=>Bi(r)).join("")}function AA(t){let e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function d9(...t){return"("+(AA(t).capture?"":"?:")+t.map(a=>Bi(a)).join("|")+")"}function SH(t){return new RegExp(t.toString()+"|").exec("").length-1}function _A(t,e){let r=t&&t.exec(e);return r&&r.index===0}var EA=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function s9(t,{joinWith:e}){let r=0;return t.map(a=>{r+=1;let i=r,n=Bi(a),l="";for(;n.length>0;){let o=EA.exec(n);if(!o){l+=n;break}l+=n.substring(0,o.index),n=n.substring(o.index+o[0].length),o[0][0]==="\\"&&o[1]?l+="\\"+String(Number(o[1])+i):(l+=o[0],o[0]==="("&&r++)}return l}).map(a=>`(${a})`).join(e)}var TA=/\b\B/,BH="[a-zA-Z]\\w*",v9="[a-zA-Z_]\\w*",kH="\\b\\d+(\\.\\d+)?",OH="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",AH="\\b(0b[01]+)",RA="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",PA=(t={})=>{let e=/^#![ ]*\//;return t.binary&&(t.begin=i0(e,/.*\b/,t.binary,/\b.*/)),ur({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(r,a)=>{r.index!==0&&a.ignoreMatch()}},t)},ki={begin:"\\\\[\\s\\S]",relevance:0},IA={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[ki]},NA={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[ki]},DA={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},Jo=function(t,e,r={}){let a=ur({scope:"comment",begin:t,end:e,contains:[]},r);a.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});let i=d9("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return a.contains.push({begin:i0(/[ ]+/,"(",i,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),a},FA=Jo("//","$"),WA=Jo("/\\*","\\*/"),UA=Jo("#","$"),GA={scope:"number",begin:kH,relevance:0},$A={scope:"number",begin:OH,relevance:0},jA={scope:"number",begin:AH,relevance:0},KA={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[ki,{begin:/\[/,end:/\]/,relevance:0,contains:[ki]}]},qA={scope:"title",begin:BH,relevance:0},YA={scope:"title",begin:v9,relevance:0},QA={begin:"\\.\\s*"+v9,relevance:0},XA=function(t){return Object.assign(t,{"on:begin":(e,r)=>{r.data._beginMatch=e[1]},"on:end":(e,r)=>{r.data._beginMatch!==e[1]&&r.ignoreMatch()}})},Qo=Object.freeze({__proto__:null,APOS_STRING_MODE:IA,BACKSLASH_ESCAPE:ki,BINARY_NUMBER_MODE:jA,BINARY_NUMBER_RE:AH,COMMENT:Jo,C_BLOCK_COMMENT_MODE:WA,C_LINE_COMMENT_MODE:FA,C_NUMBER_MODE:$A,C_NUMBER_RE:OH,END_SAME_AS_BEGIN:XA,HASH_COMMENT_MODE:UA,IDENT_RE:BH,MATCH_NOTHING_RE:TA,METHOD_GUARD:QA,NUMBER_MODE:GA,NUMBER_RE:kH,PHRASAL_WORDS_MODE:DA,QUOTE_STRING_MODE:NA,REGEXP_MODE:KA,RE_STARTERS_RE:RA,SHEBANG:PA,TITLE_MODE:qA,UNDERSCORE_IDENT_RE:v9,UNDERSCORE_TITLE_MODE:YA});function ZA(t,e){t.input[t.index-1]==="."&&e.ignoreMatch()}function JA(t,e){t.className!==void 0&&(t.scope=t.className,delete t.className)}function t_(t,e){e&&t.beginKeywords&&(t.begin="\\b("+t.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",t.__beforeBegin=ZA,t.keywords=t.keywords||t.beginKeywords,delete t.beginKeywords,t.relevance===void 0&&(t.relevance=0))}function e_(t,e){Array.isArray(t.illegal)&&(t.illegal=d9(...t.illegal))}function r_(t,e){if(t.match){if(t.begin||t.end)throw new Error("begin & end are not supported with match");t.begin=t.match,delete t.match}}function a_(t,e){t.relevance===void 0&&(t.relevance=1)}var i_=(t,e)=>{if(!t.beforeMatch)return;if(t.starts)throw new Error("beforeMatch cannot be used with starts");let r=Object.assign({},t);Object.keys(t).forEach(a=>{delete t[a]}),t.keywords=r.keywords,t.begin=i0(r.beforeMatch,CH(r.begin)),t.starts={relevance:0,contains:[Object.assign(r,{endsParent:!0})]},t.relevance=0,delete r.beforeMatch},n_=["of","and","for","in","not","or","if","then","parent","list","value"],l_="keyword";function _H(t,e,r=l_){let a=Object.create(null);return typeof t=="string"?i(r,t.split(" ")):Array.isArray(t)?i(r,t):Object.keys(t).forEach(function(n){Object.assign(a,_H(t[n],e,n))}),a;function i(n,l){e&&(l=l.map(o=>o.toLowerCase())),l.forEach(function(o){let c=o.split("|");a[c[0]]=[n,o_(c[0],c[1])]})}}function o_(t,e){return e?Number(e):c_(t)?0:1}function c_(t){return n_.includes(t.toLowerCase())}var HH={},a0=t=>{console.error(t)},VH=(t,...e)=>{console.log(`WARN: ${t}`,...e)},Ga=(t,e)=>{HH[`${t}/${e}`]||(console.log(`Deprecated as of ${t}. ${e}`),HH[`${t}/${e}`]=!0)},Zo=new Error;function EH(t,e,{key:r}){let a=0,i=t[r],n={},l={};for(let o=1;o<=e.length;o++)l[o+a]=i[o],n[o+a]=!0,a+=SH(e[o-1]);t[r]=l,t[r]._emit=n,t[r]._multi=!0}function h_(t){if(Array.isArray(t.begin)){if(t.skip||t.excludeBegin||t.returnBegin)throw a0("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),Zo;if(typeof t.beginScope!="object"||t.beginScope===null)throw a0("beginScope must be object"),Zo;EH(t,t.begin,{key:"beginScope"}),t.begin=s9(t.begin,{joinWith:""})}}function d_(t){if(Array.isArray(t.end)){if(t.skip||t.excludeEnd||t.returnEnd)throw a0("skip, excludeEnd, returnEnd not compatible with endScope: {}"),Zo;if(typeof t.endScope!="object"||t.endScope===null)throw a0("endScope must be object"),Zo;EH(t,t.end,{key:"endScope"}),t.end=s9(t.end,{joinWith:""})}}function s_(t){t.scope&&typeof t.scope=="object"&&t.scope!==null&&(t.beginScope=t.scope,delete t.scope)}function v_(t){s_(t),typeof t.beginScope=="string"&&(t.beginScope={_wrap:t.beginScope}),typeof t.endScope=="string"&&(t.endScope={_wrap:t.endScope}),h_(t),d_(t)}function p_(t){function e(l,o){return new RegExp(Bi(l),"m"+(t.case_insensitive?"i":"")+(t.unicodeRegex?"u":"")+(o?"g":""))}class r{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(o,c){c.position=this.position++,this.matchIndexes[this.matchAt]=c,this.regexes.push([c,o]),this.matchAt+=SH(o)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);let o=this.regexes.map(c=>c[1]);this.matcherRe=e(s9(o,{joinWith:"|"}),!0),this.lastIndex=0}exec(o){this.matcherRe.lastIndex=this.lastIndex;let c=this.matcherRe.exec(o);if(!c)return null;let h=c.findIndex((s,v)=>v>0&&s!==void 0),d=this.matchIndexes[h];return c.splice(0,h),Object.assign(c,d)}}class a{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(o){if(this.multiRegexes[o])return this.multiRegexes[o];let c=new r;return this.rules.slice(o).forEach(([h,d])=>c.addRule(h,d)),c.compile(),this.multiRegexes[o]=c,c}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(o,c){this.rules.push([o,c]),c.type==="begin"&&this.count++}exec(o){let c=this.getMatcher(this.regexIndex);c.lastIndex=this.lastIndex;let h=c.exec(o);if(this.resumingScanAtSamePosition()&&!(h&&h.index===this.lastIndex)){let d=this.getMatcher(0);d.lastIndex=this.lastIndex+1,h=d.exec(o)}return h&&(this.regexIndex+=h.position+1,this.regexIndex===this.count&&this.considerAll()),h}}function i(l){let o=new a;return l.contains.forEach(c=>o.addRule(c.begin,{rule:c,type:"begin"})),l.terminatorEnd&&o.addRule(l.terminatorEnd,{type:"end"}),l.illegal&&o.addRule(l.illegal,{type:"illegal"}),o}function n(l,o){let c=l;if(l.isCompiled)return c;[JA,r_,v_,i_].forEach(d=>d(l,o)),t.compilerExtensions.forEach(d=>d(l,o)),l.__beforeBegin=null,[t_,e_,a_].forEach(d=>d(l,o)),l.isCompiled=!0;let h=null;return typeof l.keywords=="object"&&l.keywords.$pattern&&(l.keywords=Object.assign({},l.keywords),h=l.keywords.$pattern,delete l.keywords.$pattern),h=h||/\w+/,l.keywords&&(l.keywords=_H(l.keywords,t.case_insensitive)),c.keywordPatternRe=e(h,!0),o&&(l.begin||(l.begin=/\B|\b/),c.beginRe=e(c.begin),!l.end&&!l.endsWithParent&&(l.end=/\B|\b/),l.end&&(c.endRe=e(c.end)),c.terminatorEnd=Bi(c.end)||"",l.endsWithParent&&o.terminatorEnd&&(c.terminatorEnd+=(l.end?"|":"")+o.terminatorEnd)),l.illegal&&(c.illegalRe=e(l.illegal)),l.contains||(l.contains=[]),l.contains=[].concat(...l.contains.map(function(d){return u_(d==="self"?l:d)})),l.contains.forEach(function(d){n(d,c)}),l.starts&&n(l.starts,o),c.matcher=i(c),c}if(t.compilerExtensions||(t.compilerExtensions=[]),t.contains&&t.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return t.classNameAliases=ur(t.classNameAliases||{}),n(t)}function TH(t){return t?t.endsWithParent||TH(t.starts):!1}function u_(t){return t.variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(e){return ur(t,{variants:null},e)})),t.cachedVariants?t.cachedVariants:TH(t)?ur(t,{starts:t.starts?ur(t.starts):null}):Object.isFrozen(t)?ur(t):t}var g_="11.11.1",h9=class extends Error{constructor(e,r){super(e),this.name="HTMLInjectionError",this.html=r}},n9=LH,wH=ur,bH=Symbol("nomatch"),m_=7,RH=function(t){let e=Object.create(null),r=Object.create(null),a=[],i=!0,n="Could not find the language '{}', did you forget to load/include a language module?",l={disableAutodetect:!0,name:"Plain text",contains:[]},o={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:c9};function c(B){return o.noHighlightRe.test(B)}function h(B){let R=B.className+" ";R+=B.parentNode?B.parentNode.className:"";let F=o.languageDetectRe.exec(R);if(F){let J=C(F[1]);return J||(VH(n.replace("{}",F[1])),VH("Falling back to no-highlight mode for this block.",B)),J?F[1]:"no-highlight"}return R.split(/\s+/).find(J=>c(J)||C(J))}function d(B,R,F){let J="",H="";typeof R=="object"?(J=B,F=R.ignoreIllegals,H=R.language):(Ga("10.7.0","highlight(lang, code, ...args) has been deprecated."),Ga("10.7.0",`Please use highlight(code, options) instead.
|
|
10
|
+
https://github.com/highlightjs/highlight.js/issues/2277`),H=B,J=R),F===void 0&&(F=!0);let h1={code:J,language:H};G("before:highlight",h1);let p1=h1.result?h1.result:s(h1.language,h1.code,F);return p1.code=h1.code,G("after:highlight",p1),p1}function s(B,R,F,J){let H=Object.create(null);function h1(L,k){return L.keywords[k]}function p1(){if(!a1.keywords){j1.addText(b1);return}let L=0;a1.keywordPatternRe.lastIndex=0;let k=a1.keywordPatternRe.exec(b1),U="";for(;k;){U+=b1.substring(L,k.index);let X=_1.case_insensitive?k[0].toLowerCase():k[0],s1=h1(a1,X);if(s1){let[X1,he]=s1;if(j1.addText(U),U="",H[X]=(H[X]||0)+1,H[X]<=m_&&(ce+=he),X1.startsWith("_"))U+=k[0];else{let T2=_1.classNameAliases[X1]||X1;d1(k[0],T2)}}else U+=k[0];L=a1.keywordPatternRe.lastIndex,k=a1.keywordPatternRe.exec(b1)}U+=b1.substring(L),j1.addText(U)}function M(){if(b1==="")return;let L=null;if(typeof a1.subLanguage=="string"){if(!e[a1.subLanguage]){j1.addText(b1);return}L=s(a1.subLanguage,b1,!0,j2[a1.subLanguage]),j2[a1.subLanguage]=L._top}else L=p(b1,a1.subLanguage.length?a1.subLanguage:null);a1.relevance>0&&(ce+=L.relevance),j1.__addSublanguage(L._emitter,L.language)}function t1(){a1.subLanguage!=null?M():p1(),b1=""}function d1(L,k){L!==""&&(j1.startScope(k),j1.addText(L),j1.endScope())}function F1(L,k){let U=1,X=k.length-1;for(;U<=X;){if(!L._emit[U]){U++;continue}let s1=_1.classNameAliases[L[U]]||L[U],X1=k[U];s1?d1(X1,s1):(b1=X1,p1(),b1=""),U++}}function gt(L,k){return L.scope&&typeof L.scope=="string"&&j1.openNode(_1.classNameAliases[L.scope]||L.scope),L.beginScope&&(L.beginScope._wrap?(d1(b1,_1.classNameAliases[L.beginScope._wrap]||L.beginScope._wrap),b1=""):L.beginScope._multi&&(F1(L.beginScope,k),b1="")),a1=Object.create(L,{parent:{value:a1}}),a1}function _(L,k,U){let X=_A(L.endRe,U);if(X){if(L["on:end"]){let s1=new Xo(L);L["on:end"](k,s1),s1.isMatchIgnored&&(X=!1)}if(X){for(;L.endsParent&&L.parent;)L=L.parent;return L}}if(L.endsWithParent)return _(L.parent,k,U)}function T(L){return a1.matcher.regexIndex===0?(b1+=L[0],1):(e4=!0,0)}function r1(L){let k=L[0],U=L.rule,X=new Xo(U),s1=[U.__beforeBegin,U["on:begin"]];for(let X1 of s1)if(X1&&(X1(L,X),X.isMatchIgnored))return T(k);return U.skip?b1+=k:(U.excludeBegin&&(b1+=k),t1(),!U.returnBegin&&!U.excludeBegin&&(b1=k)),gt(U,L),U.returnBegin?0:k.length}function o1(L){let k=L[0],U=R.substring(L.index),X=_(a1,L,U);if(!X)return bH;let s1=a1;a1.endScope&&a1.endScope._wrap?(t1(),d1(k,a1.endScope._wrap)):a1.endScope&&a1.endScope._multi?(t1(),F1(a1.endScope,L)):s1.skip?b1+=k:(s1.returnEnd||s1.excludeEnd||(b1+=k),t1(),s1.excludeEnd&&(b1=k));do a1.scope&&j1.closeNode(),!a1.skip&&!a1.subLanguage&&(ce+=a1.relevance),a1=a1.parent;while(a1!==X.parent);return X.starts&>(X.starts,L),s1.returnEnd?0:k.length}function z1(){let L=[];for(let k=a1;k!==_1;k=k.parent)k.scope&&L.unshift(k.scope);L.forEach(k=>j1.openNode(k))}let L1={};function ht(L,k){let U=k&&k[0];if(b1+=L,U==null)return t1(),0;if(L1.type==="begin"&&k.type==="end"&&L1.index===k.index&&U===""){if(b1+=R.slice(k.index,k.index+1),!i){let X=new Error(`0 width match regex (${B})`);throw X.languageName=B,X.badRule=L1.rule,X}return 1}if(L1=k,k.type==="begin")return r1(k);if(k.type==="illegal"&&!F){let X=new Error('Illegal lexeme "'+U+'" for mode "'+(a1.scope||"<unnamed>")+'"');throw X.mode=a1,X}else if(k.type==="end"){let X=o1(k);if(X!==bH)return X}if(k.type==="illegal"&&U==="")return b1+=`
|
|
11
|
+
`,1;if(t4>1e5&&t4>k.index*3)throw new Error("potential infinite loop, way more iterations than matches");return b1+=U,U.length}let _1=C(B);if(!_1)throw a0(n.replace("{}",B)),new Error('Unknown language: "'+B+'"');let M1=p_(_1),o2="",a1=J||M1,j2={},j1=new o.__emitter(o);z1();let b1="",ce=0,c2=0,t4=0,e4=!1;try{if(_1.__emitTokens)_1.__emitTokens(R,j1);else{for(a1.matcher.considerAll();;){t4++,e4?e4=!1:a1.matcher.considerAll(),a1.matcher.lastIndex=c2;let L=a1.matcher.exec(R);if(!L)break;let k=R.substring(c2,L.index),U=ht(k,L);c2=L.index+U}ht(R.substring(c2))}return j1.finalize(),o2=j1.toHTML(),{language:B,value:o2,relevance:ce,illegal:!1,_emitter:j1,_top:a1}}catch(L){if(L.message&&L.message.includes("Illegal"))return{language:B,value:n9(R),illegal:!0,relevance:0,_illegalBy:{message:L.message,index:c2,context:R.slice(c2-100,c2+100),mode:L.mode,resultSoFar:o2},_emitter:j1};if(i)return{language:B,value:n9(R),illegal:!1,relevance:0,errorRaised:L,_emitter:j1,_top:a1};throw L}}function v(B){let R={value:n9(B),illegal:!1,relevance:0,_top:l,_emitter:new o.__emitter(o)};return R._emitter.addText(B),R}function p(B,R){R=R||o.languages||Object.keys(e);let F=v(B),J=R.filter(C).filter(w).map(t1=>s(t1,B,!1));J.unshift(F);let H=J.sort((t1,d1)=>{if(t1.relevance!==d1.relevance)return d1.relevance-t1.relevance;if(t1.language&&d1.language){if(C(t1.language).supersetOf===d1.language)return 1;if(C(d1.language).supersetOf===t1.language)return-1}return 0}),[h1,p1]=H,M=h1;return M.secondBest=p1,M}function g(B,R,F){let J=R&&r[R]||F;B.classList.add("hljs"),B.classList.add(`language-${J}`)}function f(B){let R=null,F=h(B);if(c(F))return;if(G("before:highlightElement",{el:B,language:F}),B.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",B);return}if(B.children.length>0&&(o.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(B)),o.throwUnescapedHTML))throw new h9("One of your code blocks includes unescaped HTML.",B.innerHTML);R=B;let J=R.textContent,H=F?d(J,{language:F,ignoreIllegals:!0}):p(J);B.innerHTML=H.value,B.dataset.highlighted="yes",g(B,F,H.language),B.result={language:H.language,re:H.relevance,relevance:H.relevance},H.secondBest&&(B.secondBest={language:H.secondBest.language,relevance:H.secondBest.relevance}),G("after:highlightElement",{el:B,result:H,text:J})}function V(B){o=wH(o,B)}let u=()=>{y(),Ga("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function m(){y(),Ga("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let z=!1;function y(){function B(){y()}if(document.readyState==="loading"){z||window.addEventListener("DOMContentLoaded",B,!1),z=!0;return}document.querySelectorAll(o.cssSelector).forEach(f)}function b(B,R){let F=null;try{F=R(t)}catch(J){if(a0("Language definition for '{}' could not be registered.".replace("{}",B)),i)a0(J);else throw J;F=l}F.name||(F.name=B),e[B]=F,F.rawDefinition=R.bind(null,t),F.aliases&&O(F.aliases,{languageName:B})}function x(B){delete e[B];for(let R of Object.keys(r))r[R]===B&&delete r[R]}function S(){return Object.keys(e)}function C(B){return B=(B||"").toLowerCase(),e[B]||e[r[B]]}function O(B,{languageName:R}){typeof B=="string"&&(B=[B]),B.forEach(F=>{r[F.toLowerCase()]=R})}function w(B){let R=C(B);return R&&!R.disableAutodetect}function Y(B){B["before:highlightBlock"]&&!B["before:highlightElement"]&&(B["before:highlightElement"]=R=>{B["before:highlightBlock"](Object.assign({block:R.el},R))}),B["after:highlightBlock"]&&!B["after:highlightElement"]&&(B["after:highlightElement"]=R=>{B["after:highlightBlock"](Object.assign({block:R.el},R))})}function W(B){Y(B),a.push(B)}function E(B){let R=a.indexOf(B);R!==-1&&a.splice(R,1)}function G(B,R){let F=B;a.forEach(function(J){J[F]&&J[F](R)})}function j(B){return Ga("10.7.0","highlightBlock will be removed entirely in v12.0"),Ga("10.7.0","Please use highlightElement now."),f(B)}Object.assign(t,{highlight:d,highlightAuto:p,highlightAll:y,highlightElement:f,highlightBlock:j,configure:V,initHighlighting:u,initHighlightingOnLoad:m,registerLanguage:b,unregisterLanguage:x,listLanguages:S,getLanguage:C,registerAliases:O,autoDetection:w,inherit:wH,addPlugin:W,removePlugin:E}),t.debugMode=function(){i=!1},t.safeMode=function(){i=!0},t.versionString=g_,t.regex={concat:i0,lookahead:CH,either:d9,optional:OA,anyNumberOfTimes:kA};for(let B in Qo)typeof Qo[B]=="object"&&yH(Qo[B]);return Object.assign(t,Qo),t},$a=RH({});$a.newInstance=()=>RH({});PH.exports=$a;$a.HighlightJS=$a;$a.default=$a});var YV=P(c1(),1),QV=P(a7(),1);var re=P(n1(),1);function al(t){var e=Object.create(null);return function(r){return e[r]===void 0&&(e[r]=t(r)),e[r]}}var Ly=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,o7=al(function(t){return Ly.test(t)||t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)<91});var B2=P(c1()),Hl=P(c1());var Cy=!1;function Sy(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}function By(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),t.nonce!==void 0&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}var c7=(function(){function t(r){var a=this;this._insertTag=function(i){var n;a.tags.length===0?a.insertionPoint?n=a.insertionPoint.nextSibling:a.prepend?n=a.container.firstChild:n=a.before:n=a.tags[a.tags.length-1].nextSibling,a.container.insertBefore(i,n),a.tags.push(i)},this.isSpeedy=r.speedy===void 0?!Cy:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(a){a.forEach(this._insertTag)},e.insert=function(a){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(By(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var n=Sy(i);try{n.insertRule(a,n.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(a));this.ctr++},e.flush=function(){this.tags.forEach(function(a){var i;return(i=a.parentNode)==null?void 0:i.removeChild(a)}),this.tags=[],this.ctr=0},t})();var Ot="-ms-",Q4="-moz-",w1="-webkit-",il="comm",I0="rule",N0="decl";var h7="@import";var nl="@keyframes";var d7="@layer";var s7=Math.abs,_r=String.fromCharCode,v7=Object.assign;function p7(t,e){return J1(t,0)^45?(((e<<2^J1(t,0))<<2^J1(t,1))<<2^J1(t,2))<<2^J1(t,3):0}function ll(t){return t.trim()}function Fh(t,e){return(t=e.exec(t))?t[0]:t}function x1(t,e,r){return t.replace(e,r)}function X4(t,e){return t.indexOf(e)}function J1(t,e){return t.charCodeAt(e)|0}function Je(t,e,r){return t.slice(e,r)}function Gt(t){return t.length}function D0(t){return t.length}function F0(t,e){return e.push(t),t}function Wh(t,e){return t.map(e).join("")}var ol=1,W0=1,u7=0,$t=0,nt=0,G0="";function Z4(t,e,r,a,i,n,l){return{value:t,root:e,parent:r,type:a,props:i,children:n,line:ol,column:W0,length:l,return:""}}function $0(t,e){return v7(Z4("",null,null,"",null,null,0),t,{length:-t.length},e)}function g7(){return nt}function m7(){return nt=$t>0?J1(G0,--$t):0,W0--,nt===10&&(W0=1,ol--),nt}function jt(){return nt=$t<u7?J1(G0,$t++):0,W0++,nt===10&&(W0=1,ol++),nt}function S2(){return J1(G0,$t)}function J4(){return $t}function j0(t,e){return Je(G0,t,e)}function U0(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function cl(t){return ol=W0=1,u7=Gt(G0=t),$t=0,[]}function hl(t){return G0="",t}function K0(t){return ll(j0($t-1,Uh(t===91?t+2:t===40?t+1:t)))}function f7(t){for(;(nt=S2())&&nt<33;)jt();return U0(t)>2||U0(nt)>3?"":" "}function z7(t,e){for(;--e&&jt()&&!(nt<48||nt>102||nt>57&&nt<65||nt>70&&nt<97););return j0(t,J4()+(e<6&&S2()==32&&jt()==32))}function Uh(t){for(;jt();)switch(nt){case t:return $t;case 34:case 39:t!==34&&t!==39&&Uh(nt);break;case 40:t===41&&Uh(t);break;case 92:jt();break}return $t}function M7(t,e){for(;jt()&&t+nt!==57;)if(t+nt===84&&S2()===47)break;return"/*"+j0(e,$t-1)+"*"+_r(t===47?t:jt())}function x7(t){for(;!U0(S2());)jt();return j0(t,$t)}function w7(t){return hl(dl("",null,null,null,[""],t=cl(t),0,[0],t))}function dl(t,e,r,a,i,n,l,o,c){for(var h=0,d=0,s=l,v=0,p=0,g=0,f=1,V=1,u=1,m=0,z="",y=i,b=n,x=a,S=z;V;)switch(g=m,m=jt()){case 40:if(g!=108&&J1(S,s-1)==58){X4(S+=x1(K0(m),"&","&\f"),"&\f")!=-1&&(u=-1);break}case 34:case 39:case 91:S+=K0(m);break;case 9:case 10:case 13:case 32:S+=f7(g);break;case 92:S+=z7(J4()-1,7);continue;case 47:switch(S2()){case 42:case 47:F0(ky(M7(jt(),J4()),e,r),c);break;default:S+="/"}break;case 123*f:o[h++]=Gt(S)*u;case 125*f:case 59:case 0:switch(m){case 0:case 125:V=0;case 59+d:u==-1&&(S=x1(S,/\f/g,"")),p>0&&Gt(S)-s&&F0(p>32?V7(S+";",a,r,s-1):V7(x1(S," ","")+";",a,r,s-2),c);break;case 59:S+=";";default:if(F0(x=H7(S,e,r,h,d,i,o,z,y=[],b=[],s),n),m===123)if(d===0)dl(S,e,x,x,y,n,s,o,b);else switch(v===99&&J1(S,3)===110?100:v){case 100:case 108:case 109:case 115:dl(t,x,x,a&&F0(H7(t,x,x,0,0,i,o,z,i,y=[],s),b),i,b,s,o,a?y:b);break;default:dl(S,x,x,x,[""],b,0,o,b)}}h=d=p=0,f=u=1,z=S="",s=l;break;case 58:s=1+Gt(S),p=g;default:if(f<1){if(m==123)--f;else if(m==125&&f++==0&&m7()==125)continue}switch(S+=_r(m),m*f){case 38:u=d>0?1:(S+="\f",-1);break;case 44:o[h++]=(Gt(S)-1)*u,u=1;break;case 64:S2()===45&&(S+=K0(jt())),v=S2(),d=s=Gt(z=S+=x7(J4())),m++;break;case 45:g===45&&Gt(S)==2&&(f=0)}}return n}function H7(t,e,r,a,i,n,l,o,c,h,d){for(var s=i-1,v=i===0?n:[""],p=D0(v),g=0,f=0,V=0;g<a;++g)for(var u=0,m=Je(t,s+1,s=s7(f=l[g])),z=t;u<p;++u)(z=ll(f>0?v[u]+" "+m:x1(m,/&\f/g,v[u])))&&(c[V++]=z);return Z4(t,e,r,i===0?I0:o,c,h,d)}function ky(t,e,r){return Z4(t,e,r,il,_r(g7()),Je(t,2,-2),0)}function V7(t,e,r,a){return Z4(t,e,r,N0,Je(t,0,a),Je(t,a+1,-1),a)}function Er(t,e){for(var r="",a=D0(t),i=0;i<a;i++)r+=e(t[i],i,t,e)||"";return r}function b7(t,e,r,a){switch(t.type){case d7:if(t.children.length)break;case h7:case N0:return t.return=t.return||t.value;case il:return"";case nl:return t.return=t.value+"{"+Er(t.children,a)+"}";case I0:t.value=t.props.join(",")}return Gt(r=Er(t.children,a))?t.return=t.value+"{"+r+"}":""}function y7(t){var e=D0(t);return function(r,a,i,n){for(var l="",o=0;o<e;o++)l+=t[o](r,a,i,n)||"";return l}}function L7(t){return function(e){e.root||(e=e.return)&&t(e)}}var Oy=function(e,r,a){for(var i=0,n=0;i=n,n=S2(),i===38&&n===12&&(r[a]=1),!U0(n);)jt();return j0(e,$t)},Ay=function(e,r){var a=-1,i=44;do switch(U0(i)){case 0:i===38&&S2()===12&&(r[a]=1),e[a]+=Oy($t-1,r,a);break;case 2:e[a]+=K0(i);break;case 4:if(i===44){e[++a]=S2()===58?"&\f":"",r[a]=e[a].length;break}default:e[a]+=_r(i)}while(i=jt());return e},_y=function(e,r){return hl(Ay(cl(e),r))},C7=new WeakMap,Ey=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var r=e.value,a=e.parent,i=e.column===a.column&&e.line===a.line;a.type!=="rule";)if(a=a.parent,!a)return;if(!(e.props.length===1&&r.charCodeAt(0)!==58&&!C7.get(a))&&!i){C7.set(e,!0);for(var n=[],l=_y(r,n),o=a.props,c=0,h=0;c<l.length;c++)for(var d=0;d<o.length;d++,h++)e.props[h]=n[c]?l[c].replace(/&\f/g,o[d]):o[d]+" "+l[c]}}},Ty=function(e){if(e.type==="decl"){var r=e.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(e.return="",e.value="")}};function S7(t,e){switch(p7(t,e)){case 5103:return w1+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return w1+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return w1+t+Q4+t+Ot+t+t;case 6828:case 4268:return w1+t+Ot+t+t;case 6165:return w1+t+Ot+"flex-"+t+t;case 5187:return w1+t+x1(t,/(\w+).+(:[^]+)/,w1+"box-$1$2"+Ot+"flex-$1$2")+t;case 5443:return w1+t+Ot+"flex-item-"+x1(t,/flex-|-self/,"")+t;case 4675:return w1+t+Ot+"flex-line-pack"+x1(t,/align-content|flex-|-self/,"")+t;case 5548:return w1+t+Ot+x1(t,"shrink","negative")+t;case 5292:return w1+t+Ot+x1(t,"basis","preferred-size")+t;case 6060:return w1+"box-"+x1(t,"-grow","")+w1+t+Ot+x1(t,"grow","positive")+t;case 4554:return w1+x1(t,/([^-])(transform)/g,"$1"+w1+"$2")+t;case 6187:return x1(x1(x1(t,/(zoom-|grab)/,w1+"$1"),/(image-set)/,w1+"$1"),t,"")+t;case 5495:case 3959:return x1(t,/(image-set\([^]*)/,w1+"$1$`$1");case 4968:return x1(x1(t,/(.+:)(flex-)?(.*)/,w1+"box-pack:$3"+Ot+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+w1+t+t;case 4095:case 3583:case 4068:case 2532:return x1(t,/(.+)-inline(.+)/,w1+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Gt(t)-1-e>6)switch(J1(t,e+1)){case 109:if(J1(t,e+4)!==45)break;case 102:return x1(t,/(.+:)(.+)-([^]+)/,"$1"+w1+"$2-$3$1"+Q4+(J1(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~X4(t,"stretch")?S7(x1(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(J1(t,e+1)!==115)break;case 6444:switch(J1(t,Gt(t)-3-(~X4(t,"!important")&&10))){case 107:return x1(t,":",":"+w1)+t;case 101:return x1(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+w1+(J1(t,14)===45?"inline-":"")+"box$3$1"+w1+"$2$3$1"+Ot+"$2box$3")+t}break;case 5936:switch(J1(t,e+11)){case 114:return w1+t+Ot+x1(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return w1+t+Ot+x1(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return w1+t+Ot+x1(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return w1+t+Ot+t+t}return t}var Ry=function(e,r,a,i){if(e.length>-1&&!e.return)switch(e.type){case N0:e.return=S7(e.value,e.length);break;case nl:return Er([$0(e,{value:x1(e.value,"@","@"+w1)})],i);case I0:if(e.length)return Wh(e.props,function(n){switch(Fh(n,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Er([$0(e,{props:[x1(n,/:(read-\w+)/,":"+Q4+"$1")]})],i);case"::placeholder":return Er([$0(e,{props:[x1(n,/:(plac\w+)/,":"+w1+"input-$1")]}),$0(e,{props:[x1(n,/:(plac\w+)/,":"+Q4+"$1")]}),$0(e,{props:[x1(n,/:(plac\w+)/,Ot+"input-$1")]})],i)}return""})}},Py=[Ry],B7=function(e){var r=e.key;if(r==="css"){var a=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(a,function(f){var V=f.getAttribute("data-emotion");V.indexOf(" ")!==-1&&(document.head.appendChild(f),f.setAttribute("data-s",""))})}var i=e.stylisPlugins||Py,n={},l,o=[];l=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(f){for(var V=f.getAttribute("data-emotion").split(" "),u=1;u<V.length;u++)n[V[u]]=!0;o.push(f)});var c,h=[Ey,Ty];{var d,s=[b7,L7(function(f){d.insert(f)})],v=y7(h.concat(i,s)),p=function(V){return Er(w7(V),v)};c=function(V,u,m,z){d=m,p(V?V+"{"+u.styles+"}":u.styles),z&&(g.inserted[u.name]=!0)}}var g={key:r,sheet:new c7({key:r,container:l,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:n,registered:{},insert:c};return g.sheet.hydrate(o),g};var Qy=!0;function ti(t,e,r){var a="";return r.split(" ").forEach(function(i){t[i]!==void 0?e.push(t[i]+";"):i&&(a+=i+" ")}),a}var q0=function(e,r,a){var i=e.key+"-"+r.name;(a===!1||Qy===!1)&&e.registered[i]===void 0&&(e.registered[i]=r.styles)},Y0=function(e,r,a){q0(e,r,a);var i=e.key+"-"+r.name;if(e.inserted[r.name]===void 0){var n=r;do e.insert(r===n?"."+i:"",n,e.sheet,!0),n=n.next;while(n!==void 0)}};function F7(t){for(var e=0,r,a=0,i=t.length;i>=4;++a,i-=4)r=t.charCodeAt(a)&255|(t.charCodeAt(++a)&255)<<8|(t.charCodeAt(++a)&255)<<16|(t.charCodeAt(++a)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,e=(r&65535)*1540483477+((r>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(i){case 3:e^=(t.charCodeAt(a+2)&255)<<16;case 2:e^=(t.charCodeAt(a+1)&255)<<8;case 1:e^=t.charCodeAt(a)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var W7={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var Xy=!1,Zy=/[A-Z]|^ms/g,Jy=/_EMO_([^_]+?)_([^]*?)_EMO_/g,j7=function(e){return e.charCodeAt(1)===45},U7=function(e){return e!=null&&typeof e!="boolean"},Yh=al(function(t){return j7(t)?t:t.replace(Zy,"-$&").toLowerCase()}),G7=function(e,r){switch(e){case"animation":case"animationName":if(typeof r=="string")return r.replace(Jy,function(a,i,n){return J2={name:i,styles:n,next:J2},i})}return W7[e]!==1&&!j7(e)&&typeof r=="number"&&r!==0?r+"px":r},tL="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function ei(t,e,r){if(r==null)return"";var a=r;if(a.__emotion_styles!==void 0)return a;switch(typeof r){case"boolean":return"";case"object":{var i=r;if(i.anim===1)return J2={name:i.name,styles:i.styles,next:J2},i.name;var n=r;if(n.styles!==void 0){var l=n.next;if(l!==void 0)for(;l!==void 0;)J2={name:l.name,styles:l.styles,next:J2},l=l.next;var o=n.styles+";";return o}return eL(t,e,r)}case"function":{if(t!==void 0){var c=J2,h=r(t);return J2=c,ei(t,e,h)}break}}var d=r;if(e==null)return d;var s=e[d];return s!==void 0?s:d}function eL(t,e,r){var a="";if(Array.isArray(r))for(var i=0;i<r.length;i++)a+=ei(t,e,r[i])+";";else for(var n in r){var l=r[n];if(typeof l!="object"){var o=l;e!=null&&e[o]!==void 0?a+=n+"{"+e[o]+"}":U7(o)&&(a+=Yh(n)+":"+G7(n,o)+";")}else{if(n==="NO_COMPONENT_SELECTOR"&&Xy)throw new Error(tL);if(Array.isArray(l)&&typeof l[0]=="string"&&(e==null||e[l[0]]===void 0))for(var c=0;c<l.length;c++)U7(l[c])&&(a+=Yh(n)+":"+G7(n,l[c])+";");else{var h=ei(t,e,l);switch(n){case"animation":case"animationName":{a+=Yh(n)+":"+h+";";break}default:a+=n+"{"+h+"}"}}}}return a}var $7=/label:\s*([^\s;{]+)\s*(;|$)/g,J2;function Q0(t,e,r){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var a=!0,i="";J2=void 0;var n=t[0];if(n==null||n.raw===void 0)a=!1,i+=ei(r,e,n);else{var l=n;i+=l[0]}for(var o=1;o<t.length;o++)if(i+=ei(r,e,t[o]),a){var c=n;i+=c[o]}$7.lastIndex=0;for(var h="",d;(d=$7.exec(i))!==null;)h+="-"+d[1];var s=F7(i)+h;return{name:s,styles:i,next:J2}}var ri=P(c1()),rL=function(e){return e()},K7=ri.useInsertionEffect?ri.useInsertionEffect:!1,ai=K7||rL,Qh=K7||ri.useLayoutEffect;var q7=!1,Y7=B2.createContext(typeof HTMLElement<"u"?B7({key:"css"}):null),aL=Y7.Provider;var X0=function(e){return(0,Hl.forwardRef)(function(r,a){var i=(0,Hl.useContext)(Y7);return e(r,i,a)})},Z0=B2.createContext({});var Vl={}.hasOwnProperty,Xh="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Q7=function(e,r){var a={};for(var i in r)Vl.call(r,i)&&(a[i]=r[i]);return a[Xh]=e,a},iL=function(e){var r=e.cache,a=e.serialized,i=e.isStringTag;return q0(r,a,i),ai(function(){return Y0(r,a,i)}),null},nL=X0(function(t,e,r){var a=t.css;typeof a=="string"&&e.registered[a]!==void 0&&(a=e.registered[a]);var i=t[Xh],n=[a],l="";typeof t.className=="string"?l=ti(e.registered,n,t.className):t.className!=null&&(l=t.className+" ");var o=Q0(n,void 0,B2.useContext(Z0));l+=e.key+"-"+o.name;var c={};for(var h in t)Vl.call(t,h)&&h!=="css"&&h!==Xh&&!q7&&(c[h]=t[h]);return c.className=l,r&&(c.ref=r),B2.createElement(B2.Fragment,null,B2.createElement(iL,{cache:e,serialized:o,isStringTag:typeof i=="string"}),B2.createElement(i,c))}),X7=nL;var tr=P(c1());var BR=P(D7()),Z7=function(e,r){var a=arguments;if(r==null||!Vl.call(r,"css"))return tr.createElement.apply(void 0,a);var i=a.length,n=new Array(i);n[0]=X7,n[1]=Q7(e,r);for(var l=2;l<i;l++)n[l]=a[l];return tr.createElement.apply(null,n)};(function(t){var e;e||(e=t.JSX||(t.JSX={}))})(Z7||(Z7={}));var Zh=X0(function(t,e){var r=t.styles,a=Q0([r],void 0,tr.useContext(Z0)),i=tr.useRef();return Qh(function(){var n=e.key+"-global",l=new e.sheet.constructor({key:n,nonce:e.sheet.nonce,container:e.sheet.container,speedy:e.sheet.isSpeedy}),o=!1,c=document.querySelector('style[data-emotion="'+n+" "+a.name+'"]');return e.sheet.tags.length&&(l.before=e.sheet.tags[0]),c!==null&&(o=!0,c.setAttribute("data-emotion",n),l.hydrate([c])),i.current=[l,o],function(){l.flush()}},[e]),Qh(function(){var n=i.current,l=n[0],o=n[1];if(o){n[1]=!1;return}if(a.next!==void 0&&Y0(e,a.next,!0),l.tags.length){var c=l.tags[l.tags.length-1].nextElementSibling;l.before=c,l.flush()}e.insert("",a,l,!1)},[e,a.name]),null});var f2=P(c1(),1);function J7(...t){return function(...r){t.forEach(a=>a?.(...r))}}var lL=(...t)=>t.map(e=>e?.trim?.()).filter(Boolean).join(" "),oL=/^on[A-Z]/;function Tr(...t){let e={};for(let r of t){for(let a in e){if(oL.test(a)&&typeof e[a]=="function"&&typeof r[a]=="function"){e[a]=J7(e[a],r[a]);continue}if(a==="className"||a==="class"){e[a]=lL(e[a],r[a]);continue}if(a==="style"){e[a]=Object.assign({},e[a]??{},r[a]??{});continue}e[a]=r[a]!==void 0?r[a]:e[a]}for(let a in r)e[a]===void 0&&(e[a]=r[a])}return e}var tp=P(c1(),1),cL=parseInt(tp.version.split(".")[0],10),hL=cL>=19;function Jh(t,e){if(t!=null){if(typeof t=="function")return t(e);try{t.current=e}catch{throw new Error(`Cannot assign value '${e}' to ref '${t}'`)}}}function ep(...t){let e=t.filter(r=>r!=null);if(hL){let r=new Map;return a=>(e.forEach(i=>{let n=Jh(i,a);n&&r.set(i,n)}),()=>{e.forEach(i=>{let n=r.get(i);n&&typeof n=="function"?n():Jh(i,null)}),r.clear()})}else return r=>{e.forEach(a=>{Jh(a,r)})}}function te(t){let e=Object.assign({},t);for(let r in e)e[r]===void 0&&delete e[r];return e}var $1=t=>t!=null&&typeof t=="object"&&!Array.isArray(t);var xt=t=>typeof t=="string",J0=t=>typeof t=="function";var Kt=(...t)=>{let e=[];for(let r=0;r<t.length;r++){let a=t[r];if(!xt(a))continue;let i=a.trim();i&&e.push(i)}return e.join(" ")};function rp(t){return t.default||t}var ap=P(c1(),1);function ip(t){let e=ap.version;return!xt(e)||e.startsWith("18.")?t?.ref:t?.props?.ref}var ta=(...t)=>{let e=t.reduce((r,a)=>(a?.forEach(i=>r.add(i)),r),new Set([]));return Array.from(e)};var ii=P(n1(),1);var wl=P(c1(),1);function dL(t,e){return`${t} returned \`undefined\`. Seems you forgot to wrap component within ${e}`}function er(t={}){let{name:e,strict:r=!0,hookName:a="useContext",providerName:i="Provider",errorMessage:n,defaultValue:l}=t,o=(0,wl.createContext)(l);o.displayName=e;function c(){let h=(0,wl.useContext)(o);if(!h&&r){let d=new Error(n??dL(a,i));throw d.name="ContextError",Error.captureStackTrace?.(d,c),d}return h}return[o.Provider,c,o]}var[sL,He]=er({name:"ChakraContext",strict:!0,providerName:"<ChakraProvider />"});function t3(t){let{value:e,children:r}=t;return(0,ii.jsxs)(sL,{value:e,children:[!e._config.disableLayers&&(0,ii.jsx)(Zh,{styles:e.layers.atRule}),(0,ii.jsx)(Zh,{styles:e._global}),r]})}var bl=P(c1(),1);var vL=(t,e)=>{let r={},a={},i=Object.keys(t);for(let n of i)e(n)?a[n]=t[n]:r[n]=t[n];return[a,r]},ee=(t,e)=>{let r=J0(e)?e:a=>e.includes(a);return vL(t,r)};var pL=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function np(t){return typeof t=="string"&&pL.has(t)}function lp(t,e,r){let{css:a,isValidProperty:i}=He(),{children:n,...l}=t,o=(0,bl.useMemo)(()=>{let[v,p]=ee(l,m=>r(m,e.variantKeys)),[g,f]=ee(p,e.variantKeys),[V,u]=ee(f,i);return{forwardedProps:v,variantProps:g,styleProps:V,elementProps:u}},[e.variantKeys,r,l,i]),{css:c,...h}=o.styleProps,d=(0,bl.useMemo)(()=>{let v={...o.variantProps},p=e.variantKeys.includes("colorPalette"),g=e.variantKeys.includes("orientation");return p||(v.colorPalette=l.colorPalette),g||(v.orientation=l.orientation),e(v)},[e,o.variantProps,l.colorPalette,l.orientation]);return{styles:(0,bl.useMemo)(()=>a(d,...uL(c),h),[a,d,c,h]),props:{...o.forwardedProps,...o.elementProps,children:n}}}var uL=t=>(Array.isArray(t)?t:[t]).filter(Boolean).flat();var gL=rp(o7),mL=gL,fL=t=>t!=="theme",zL=(t,e,r)=>{let a;if(e){let i=e.shouldForwardProp;a=t.__emotion_forwardProp&&i?n=>t.__emotion_forwardProp(n)&&i(n):i}return typeof a!="function"&&r&&(a=t.__emotion_forwardProp),a},ML=typeof document<"u",op=({cache:t,serialized:e,isStringTag:r})=>{q0(t,e,r);let a=ai(()=>Y0(t,e,r));if(!ML&&a!==void 0){let i=e.name,n=e.next;for(;n!==void 0;)i=Kt(i,n.name),n=n.next;return(0,re.jsx)("style",{"data-emotion":Kt(t.key,i),dangerouslySetInnerHTML:{__html:a},nonce:t.sheet.nonce})}return null},cp={path:["d"],text:["x","y"],circle:["cx","cy","r"],rect:["width","height","x","y","rx","ry"],ellipse:["cx","cy","rx","ry"],g:["transform"],stop:["offset","stopOpacity"]},xL=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),HL=(t,e={},r={})=>{if(xL(cp,t)){r.forwardProps||(r.forwardProps=[]);let h=cp[t];r.forwardProps=ta([...r.forwardProps,...h])}let a=t.__emotion_real===t,i=a&&t.__emotion_base||t,n,l;r!==void 0&&(n=r.label,l=r.target);let o=[],c=X0((h,d,s)=>{let{cva:v,isValidProperty:p}=He(),g=e.__cva__?e:v(e),f=t.__emotion_cva&&!t.__emotion_cva.__cva__?v(t.__emotion_cva):t.__emotion_cva,V=wL(f,g),u=B=>(R,F)=>B.includes(R)?!0:!F?.includes(R)&&!p(R);!r.shouldForwardProp&&r.forwardProps&&(r.shouldForwardProp=u(r.forwardProps));let m=(B,R)=>{let F=typeof t=="string"&&t.charCodeAt(0)>96?mL:fL,J=!R?.includes(B)&&!p(B);return F(B)&&J},z=zL(t,r,a)||m,y=f2.useMemo(()=>Object.assign({},r.defaultProps,te(h)),[h]),{props:b,styles:x}=lp(y,V,z),S="",C=[x],O=b;if(b.theme==null){O={};for(let B in b)O[B]=b[B];O.theme=f2.useContext(Z0)}typeof b.className=="string"?S=ti(d.registered,C,b.className):b.className!=null&&(S=Kt(S,b.className));let w=Q0(o.concat(C),d.registered,O);w.styles&&(S=Kt(S,`${d.key}-${w.name}`)),l!==void 0&&(S=Kt(S,l));let Y=!z("as"),W=Y&&b.as||i,E={};for(let B in b)if(!(Y&&B==="as")){if(np(B)){let R=B.replace("html","").toLowerCase();E[R]=b[B];continue}z(B)&&(E[B]=b[B])}let G=S.trim();G?E.className=G:Reflect.deleteProperty(E,"className"),E.ref=s;let j=r.forwardAsChild||r.forwardProps?.includes("asChild");if(b.asChild&&!j){let B=f2.isValidElement(b.children)?f2.Children.only(b.children):f2.Children.toArray(b.children).find(f2.isValidElement);if(!B)throw new Error("[chakra-ui > factory] No valid child found");W=B.type,E.children=null,Reflect.deleteProperty(E,"asChild"),E=Tr(E,B.props),E.ref=ep(s,ip(B))}return E.as&&j?(E.as=void 0,(0,re.jsxs)(f2.Fragment,{children:[(0,re.jsx)(op,{cache:d,serialized:w,isStringTag:typeof W=="string"}),(0,re.jsx)(W,{asChild:!0,...E,children:(0,re.jsx)(b.as,{children:E.children})})]})):(0,re.jsxs)(f2.Fragment,{children:[(0,re.jsx)(op,{cache:d,serialized:w,isStringTag:typeof W=="string"}),(0,re.jsx)(W,{...E})]})});return c.displayName=n!==void 0?n:`chakra(${typeof i=="string"?i:i.displayName||i.name||"Component"})`,c.__emotion_real=c,c.__emotion_base=i,c.__emotion_forwardProp=r.shouldForwardProp,c.__emotion_cva=e,Object.defineProperty(c,"toString",{value(){return`.${l}`}}),c},e3=HL.bind(),r3=new Map,VL=new Proxy(e3,{apply(t,e,r){return e3(...r)},get(t,e){return r3.has(e)||r3.set(e,e3(e)),r3.get(e)}}),e2=VL,wL=(t,e)=>t&&!e?t:!t&&e?e:t.merge(e);var v1=e2("div");v1.displayName="Box";var up=P(n1(),1),ni=P(c1(),1);function ea(t){if(typeof t!="string")return t.displayName||t.name}function ra(t){return t&&t.charAt(0).toUpperCase()+t.slice(1)}function a3(t,e){return t+ra(e)}function hp(t,e){if(e)return t+ra(e)}var dp=Object.freeze({}),sp=Object.freeze({});var vp=P(c1(),1);function pp(t){let{key:e,recipe:r}=t,a=He();return(0,vp.useMemo)(()=>r?a.cva(r):e!=null?a.getRecipeFn(e):a.cva({}),[e,r,a])}function rr(t){let{key:e,recipe:r}=t,a=ra(e||r.className||"Component"),[i,n]=er({strict:!1,name:`${a}PropsContext`,providerName:`${a}PropsContext`});function l(h){let{unstyled:d,...s}=h,v=pp({key:e,recipe:s.recipe||r}),[p,g]=(0,ni.useMemo)(()=>v.splitVariantProps(s),[v,s]);return{styles:d?dp:v(p),className:v.className,props:g}}let o=(h,d)=>{let{displayName:s,...v}=d??{},p=e2(h,{},v),g=(0,ni.forwardRef)((f,V)=>{let u=n(),m=(0,ni.useMemo)(()=>Tr(u,f),[f,u]),{styles:z,className:y,props:b}=l(m);return(0,up.jsx)(p,{...b,ref:V,css:[z,m.css],className:Kt(y,m.className)})});return g.displayName=s??a??ea(h),g};function c(){return i}return{withContext:o,PropsProvider:i,withPropsProvider:c,usePropsContext:n,useRecipeResult:l}}var yl=t=>typeof t=="string",gp=t=>typeof t=="function";var mp=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var bL=Function.prototype.toString,SP=bL.call(Object);var fp=(...t)=>(...e)=>{t.forEach(function(r){r?.(...e)})};var Ll=P(c1(),1);function yL(t,e){return`${t} returned \`undefined\`. Seems you forgot to wrap component within ${e}`}function aa(t={}){let{name:e,strict:r=!0,hookName:a="useContext",providerName:i="Provider",errorMessage:n,defaultValue:l}=t,o=(0,Ll.createContext)(l);o.displayName=e;function c(){let h=(0,Ll.useContext)(o);if(!h&&r){let d=new Error(n??yL(a,i));throw d.name="ContextError",mp(Error,"captureStackTrace")&&gp(Error.captureStackTrace)&&Error.captureStackTrace(d,c),d}return h}return[o.Provider,c,o]}var[EP,zp]=aa({name:"EnvironmentContext",hookName:"useEnvironmentContext",providerName:"<EnvironmentProvider />",strict:!1,defaultValue:{getRootNode:()=>document,getDocument:()=>document,getWindow:()=>window}});function ia(...t){return e=>{let r=[];for(let a of t)if(typeof a=="function"){let i=a(e);typeof i=="function"&&r.push(i)}else a&&(a.current=e);if(r.length)return()=>{for(let a of r)a()}}}var k2=P(c1(),1);var LL=(...t)=>t.map(e=>e?.trim?.()).filter(Boolean).join(" "),CL=/((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g,Mp=t=>{let e={},r;for(;r=CL.exec(t);)e[r[1]]=r[2];return e},SL=(t,e)=>{if(yl(t)){if(yl(e))return`${t};${e}`;t=Mp(t)}else yl(e)&&(e=Mp(e));return Object.assign({},t??{},e??{})};function tt(...t){let e={};for(let r of t){if(!r)continue;for(let i in e){if(i.startsWith("on")&&typeof e[i]=="function"&&typeof r[i]=="function"){e[i]=fp(r[i],e[i]);continue}if(i==="className"||i==="class"){e[i]=LL(e[i],r[i]);continue}if(i==="style"){e[i]=SL(e[i],r[i]);continue}e[i]=r[i]!==void 0?r[i]:e[i]}for(let i in r)e[i]===void 0&&(e[i]=r[i]);let a=Object.getOwnPropertySymbols(r);for(let i of a)e[i]=r[i]}return e}var li=t=>typeof t=="object"&&t!==null;var z2=t=>t?"":void 0,i3=t=>t?"true":void 0;var BL=1,kL=9,OL=11;var AL=t=>li(t)&&t.nodeType===BL&&typeof t.nodeName=="string",xp=t=>li(t)&&t.nodeType===kL,_L=t=>li(t)&&t===t.window;var EL=t=>li(t)&&t.nodeType!==void 0,TL=t=>EL(t)&&t.nodeType===OL&&"host"in t;function Hp(t){return xp(t)?t:_L(t)?t.document:t?.ownerDocument??document}function oi(t){return TL(t)?oi(t.host):xp(t)?t.defaultView??window:AL(t)?t.ownerDocument?.defaultView??window:window}var n3=new WeakMap;function Vp(t){return n3.has(t)||n3.set(t,oi(t).getComputedStyle(t)),n3.get(t)}function RL(t){let e=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?t.ref:(e=Object.getOwnPropertyDescriptor(t,"ref")?.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var l3=t=>{let e=(0,k2.memo)((0,k2.forwardRef)((r,a)=>{let{asChild:i,children:n,...l}=r;if(!i)return(0,k2.createElement)(t,{...l,ref:a},n);if(!(0,k2.isValidElement)(n))return null;let o=k2.Children.only(n),c=RL(o);return(0,k2.cloneElement)(o,{...tt(l,o.props),ref:a?ia(a,c):c})}));return e.displayName=t.displayName||t.name,e},PL=()=>{let t=new Map;return new Proxy(l3,{apply(e,r,a){return l3(a[0])},get(e,r){let a=r;return t.has(a)||t.set(a,l3(a)),t.get(a)}})},Ht=PL();var wp=Object.defineProperty,bp=(t,e)=>{let r={};for(var a in t)wp(r,a,{get:t[a],enumerable:!0});return e||wp(r,Symbol.toStringTag,{value:"Module"}),r};var{withContext:IL,PropsProvider:BI}=rr({key:"heading"}),o3=IL("h2");var Cl=()=>(t,e)=>e.reduce((r,a)=>{let[i,n]=r,l=a;return n[l]!==void 0&&(i[l]=n[l]),delete n[l],[i,n]},[{},{...t}]);var NL=P(c1(),1);var{withContext:DL,PropsProvider:II}=rr({key:"text"}),u1=DL("p");var D=(t,e=[])=>({parts:(...r)=>{if(FL(e))return D(t,r);throw new Error("createAnatomy().parts(...) should only be called once. Did you mean to use .extendWith(...) ?")},extendWith:(...r)=>D(t,[...e,...r]),omit:(...r)=>D(t,e.filter(a=>!r.includes(a))),rename:r=>D(r,e),keys:()=>e,build:()=>[...new Set(e)].reduce((r,a)=>Object.assign(r,{[a]:{selector:[`&[data-scope="${na(t)}"][data-part="${na(a)}"]`,`& [data-scope="${na(t)}"][data-part="${na(a)}"]`].join(", "),attrs:{"data-scope":na(t),"data-part":na(a)}}}),{})}),na=t=>t.replace(/([A-Z])([A-Z])/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),FL=t=>t.length===0;var la=D("accordion").parts("root","item","itemTrigger","itemContent","itemIndicator"),GI=la.build();var oa=D("avatar").parts("root","image","fallback"),ZI=oa.build();var Sl=D("carousel").parts("root","itemGroup","item","control","nextTrigger","prevTrigger","indicatorGroup","indicator","autoplayTrigger","progressText"),lN=Sl.build();var c3=Sl.extendWith("progressText","autoplayIndicator");var Bl=D("checkbox").parts("root","label","control","indicator"),uN=Bl.build();var h3=Bl.extendWith("group");var ca=D("clipboard").parts("root","control","trigger","indicator","input","label"),VN=ca.build();var ha=D("collapsible").parts("root","trigger","content","indicator"),kN=ha.build();var kl=D("color-picker",["root","label","control","trigger","positioner","content","area","areaThumb","valueText","areaBackground","channelSlider","channelSliderLabel","channelSliderTrack","channelSliderThumb","channelSliderValueText","channelInput","transparencyGrid","swatchGroup","swatchTrigger","swatchIndicator","swatch","eyeDropperTrigger","formatTrigger","formatSelect"]),IN=kl.build();var d3=kl.extendWith("view");var Ol=D("combobox").parts("root","clearTrigger","content","control","input","item","itemGroup","itemGroupLabel","itemIndicator","itemText","label","list","positioner","trigger"),jN=Ol.build();var s3=Ol.extendWith("empty");var Al=D("date-picker").parts("clearTrigger","content","control","input","label","monthSelect","nextTrigger","positioner","presetTrigger","prevTrigger","rangeText","root","table","tableBody","tableCell","tableCellTrigger","tableHead","tableHeader","tableRow","trigger","view","viewControl","viewTrigger","yearSelect"),tD=Al.build();var v3=Al.extendWith("view","valueText");var Rr=D("dialog").parts("trigger","backdrop","positioner","content","title","description","closeTrigger"),cD=Rr.build();var da=D("editable").parts("root","area","label","preview","input","editTrigger","submitTrigger","cancelTrigger","control"),mD=da.build();var _l=D("field").parts("root","errorText","helperText","input","label","select","textarea","requiredIndicator"),M2=_l.build();var El=D("fieldset").parts("root","errorText","helperText","legend"),LD=El.build();var sa=D("file-upload").parts("root","dropzone","item","itemDeleteTrigger","itemGroup","itemName","itemPreview","itemPreviewImage","itemSizeText","label","trigger","clearTrigger"),BD=sa.build();var va=D("floating-panel").parts("trigger","positioner","content","header","body","title","resizeTrigger","dragTrigger","stageTrigger","closeTrigger","control"),PD=va.build();var pa=D("hoverCard").parts("arrow","arrowTip","trigger","positioner","content"),$D=pa.build();var Tl=D("listbox").parts("label","input","item","itemText","itemIndicator","itemGroup","itemGroupLabel","content","root","valueText"),JD=Tl.build();var p3=Tl.extendWith("empty");var ua=D("marquee").parts("root","viewport","content","edge","item"),oF=ua.build();var ga=D("menu").parts("arrow","arrowTip","content","contextTrigger","indicator","item","itemGroup","itemGroupLabel","itemIndicator","itemText","positioner","separator","trigger","triggerItem"),gF=ga.build();var ma=D("numberInput").parts("root","label","input","control","valueText","incrementTrigger","decrementTrigger","scrubber"),wF=ma.build();var fa=D("pinInput").parts("root","label","input","control"),OF=fa.build();var za=D("popover").parts("arrow","arrowTip","anchor","trigger","indicator","positioner","content","title","description","closeTrigger"),NF=za.build();var ar=D("progress").parts("root","label","track","range","valueText","view","circle","circleTrack","circleRange"),KF=ar.build();var Ma=D("qr-code").parts("root","frame","pattern","overlay","downloadTrigger"),eW=Ma.build();var ir=D("radio-group").parts("root","label","item","itemText","itemControl","indicator"),hW=ir.build();var xa=D("rating-group").parts("root","label","item","control"),fW=xa.build();var Ha=D("scroll-area").parts("root","viewport","content","scrollbar","thumb","corner"),yW=Ha.build();var Rl=ir.rename("segment-group"),_W=Rl.build();var Va=D("select").parts("label","positioner","trigger","indicator","clearTrigger","item","itemText","itemIndicator","itemGroup","itemGroupLabel","list","content","root","control","valueText"),RW=Va.build();var wa=D("slider").parts("root","label","thumb","valueText","track","range","control","markerGroup","marker","draggingIndicator"),GW=wa.build();var ba=D("splitter").parts("root","panel","resizeTrigger","resizeTriggerIndicator"),ZW=ba.build();var ya=D("switch").parts("root","label","control","thumb"),lU=ya.build();var La=D("tagsInput").parts("root","label","control","input","clearTrigger","item","itemPreview","itemInput","itemText","itemDeleteTrigger"),uU=La.build();var yp=t=>{if(!t)return;let e=Vp(t),r=oi(t),a=Hp(t),i=()=>{requestAnimationFrame(()=>{t.style.height="auto";let h;e.boxSizing==="content-box"?h=t.scrollHeight-(parseFloat(e.paddingTop)+parseFloat(e.paddingBottom)):h=t.scrollHeight+parseFloat(e.borderTopWidth)+parseFloat(e.borderBottomWidth),e.maxHeight!=="none"&&h>parseFloat(e.maxHeight)?(e.overflowY==="hidden"&&(t.style.overflowY="scroll"),h=parseFloat(e.maxHeight)):e.overflowY!=="hidden"&&(t.style.overflowY="hidden"),t.style.height=`${h}px`})};t.addEventListener("input",i),t.form?.addEventListener("reset",i);let n=Object.getPrototypeOf(t),l=Object.getOwnPropertyDescriptor(n,"value");l&&Object.defineProperty(t,"value",{...l,set(h){let d=l.get?.call(this);l.set?.call(this,h),i(),d!==h&&queueMicrotask(()=>{t.dispatchEvent(new r.InputEvent("input",{bubbles:!0}))})}});let o=new r.ResizeObserver(()=>{requestAnimationFrame(()=>i())});o.observe(t);let c=new r.MutationObserver(()=>i());return c.observe(t,{attributes:!0,attributeFilter:["rows","placeholder"]}),a.fonts?.addEventListener("loadingdone",i),()=>{t.removeEventListener("input",i),t.form?.removeEventListener("reset",i),a.fonts?.removeEventListener("loadingdone",i),o.disconnect(),c.disconnect()}};var Ca=D("tooltip").parts("trigger","arrow","arrowTip","positioner","content"),bU=Ca.build();var Sa=D("tree-view").parts("branch","branchContent","branchControl","branchIndentGuide","branchIndicator","branchText","branchTrigger","item","itemIndicator","itemText","label","nodeCheckbox","nodeRenameInput","root","tree"),AU=Sa.build();var[DU,Lp]=aa({name:"FieldsetContext",hookName:"useFieldsetContext",providerName:"<FieldsetProvider />",strict:!1});var Pl=P(c1(),1),Cp=typeof window<"u"?Pl.useLayoutEffect:Pl.useEffect;var[Ba,Vt]=aa({name:"FieldContext",hookName:"useFieldContext",providerName:"<FieldProvider />",strict:!1});var Sp=t=>t.children(Vt());var Bp=P(c1(),1);var kp=P(n1(),1),u3=(0,Bp.forwardRef)((t,e)=>{let r=Vt(),a=tt(r.getErrorTextProps(),t);return r?.invalid?(0,kp.jsx)(Ht.span,{...a,ref:e}):null});u3.displayName="FieldErrorText";var Op=P(c1(),1);var Ap=P(n1(),1),g3=(0,Op.forwardRef)((t,e)=>{let r=tt(Vt()?.getHelperTextProps(),t);return(0,Ap.jsx)(Ht.span,{...r,ref:e})});g3.displayName="FieldHelperText";var _p=P(c1(),1);var Ep=P(n1(),1),m3=(0,_p.forwardRef)((t,e)=>{let r=tt(Vt()?.getInputProps(),t);return(0,Ep.jsx)(Ht.input,{...r,ref:e})});m3.displayName="FieldInput";var Tp=P(c1(),1),Rp=P(n1(),1),f3=t=>{let{value:e,children:r}=t,a=Vt();return(0,Rp.jsx)(Ba,{value:(0,Tp.useMemo)(()=>{if(!a)throw new Error("Field.Item must be used within Field.Root");let i=`field::${a.ids.control}::item::${e}`,n=`${i}::label`,l=()=>({...a.getInputProps(),id:i});return{...a,ids:{...a.ids,control:i,label:n},getLabelProps:()=>({...a.getLabelProps(),id:n,htmlFor:i}),getInputProps:()=>({...l(),...M2.input.attrs}),getSelectProps:()=>({...l(),...M2.select.attrs}),getTextareaProps:()=>({...l(),...M2.textarea.attrs})}},[a,e]),children:r})};f3.displayName="FieldItem";var Pp=P(c1(),1);var Ip=P(n1(),1),z3=(0,Pp.forwardRef)((t,e)=>{let r=tt(Vt()?.getLabelProps(),t);return(0,Ip.jsx)(Ht.label,{...r,ref:e})});z3.displayName="FieldLabel";var Np=P(c1(),1),Dp=P(n1(),1);var M3=(0,Np.forwardRef)(({fallback:t,...e},r)=>{let a=Vt();if(!a.required)return t;let i=tt(a.getRequiredIndicatorProps(),e);return(0,Dp.jsx)(Ht.span,{...i,ref:r,children:e.children??"*"})});M3.displayName="FieldRequiredIndicator";var wt=P(c1(),1);var Fp=(t={})=>{let e=Lp(),r=zp(),{ids:a,target:i,disabled:n=!!e?.disabled,invalid:l=!1,readOnly:o=!1,required:c=!1}=t,[h,d]=(0,wt.useState)(!1),[s,v]=(0,wt.useState)(!1),p=(0,wt.useId)(),g=t.id??p,f=(0,wt.useRef)(null),V=a?.control??`field::${g}`,u=a?.errorText??`field::${g}::error-text`,m=a?.helperText??`field::${g}::helper-text`,z=a?.label??`field::${g}::label`;Cp(()=>{let j=f.current;if(!j)return;let B=()=>{let F=r.getRootNode();d(!!F.getElementById(u)),v(!!F.getElementById(m))};B();let R=new(r.getWindow()).MutationObserver(B);return R.observe(j,{childList:!0,subtree:!0}),()=>R.disconnect()},[r,u,m]);let y=(0,wt.useMemo)(()=>{let j=[];return h&&l&&j.push(u),s&&j.push(m),j.join(" ")||void 0},[l,u,m,h,s]),b=(0,wt.useMemo)(()=>()=>({...M2.root.attrs,id:V,ref:f,role:"group","data-disabled":z2(n),"data-invalid":z2(l),"data-readonly":z2(o)}),[n,l,o,V]),x=i?`field::${g}::item::${i}`:void 0,S=(0,wt.useMemo)(()=>()=>({...M2.label.attrs,id:z,"data-disabled":z2(n),"data-invalid":z2(l),"data-readonly":z2(o),"data-required":z2(c),htmlFor:x??g}),[n,l,o,c,g,z,x]),C=(0,wt.useMemo)(()=>()=>({"aria-describedby":y,"aria-invalid":i3(l),"data-invalid":z2(l),"data-required":z2(c),"data-readonly":z2(o),id:g,required:c,disabled:n,readOnly:o}),[y,l,c,o,g,n]),O=(0,wt.useMemo)(()=>()=>({...C(),...M2.input.attrs}),[C]),w=(0,wt.useMemo)(()=>()=>({...C(),...M2.textarea.attrs}),[C]),Y=(0,wt.useMemo)(()=>()=>({...C(),...M2.select.attrs}),[C]),W=(0,wt.useMemo)(()=>()=>({id:m,...M2.helperText.attrs,"data-disabled":z2(n)}),[n,m]),E=(0,wt.useMemo)(()=>()=>({id:u,...M2.errorText.attrs,"aria-live":"polite"}),[u]),G=(0,wt.useMemo)(()=>()=>({"aria-hidden":!0,...M2.requiredIndicator.attrs}),[]);return{ariaDescribedby:y,ids:{root:V,control:g,label:z,errorText:u,helperText:m},refs:{rootRef:f},disabled:n,invalid:l,readOnly:o,required:c,getLabelProps:S,getRootProps:b,getInputProps:O,getTextareaProps:w,getSelectProps:Y,getHelperTextProps:W,getErrorTextProps:E,getRequiredIndicatorProps:G}};var Wp=P(c1(),1);var x3=P(n1(),1),WL=Cl(),H3=(0,Wp.forwardRef)((t,e)=>{let[r,a]=WL(t,["id","ids","disabled","invalid","readOnly","required","target"]),i=Fp(r),n=tt(i.getRootProps(),a);return(0,x3.jsx)(Ba,{value:i,children:(0,x3.jsx)(Ht.div,{...n,ref:ia(e,i.refs.rootRef)})})});H3.displayName="FieldRoot";var Up=P(c1(),1);var V3=P(n1(),1),UL=Cl(),w3=(0,Up.forwardRef)((t,e)=>{let[{value:r},a]=UL(t,["value"]),i=tt(r.getRootProps(),a);return(0,V3.jsx)(Ba,{value:r,children:(0,V3.jsx)(Ht.div,{...i,ref:e})})});w3.displayName="FieldRootProvider";var Gp=P(c1(),1);var $p=P(n1(),1),b3=(0,Gp.forwardRef)((t,e)=>{let r=tt(Vt()?.getSelectProps(),t);return(0,$p.jsx)(Ht.select,{...r,ref:e})});b3.displayName="FieldSelect";var ka=P(c1(),1);var jp=P(n1(),1);var y3=(0,ka.forwardRef)((t,e)=>{let{autoresize:r,...a}=t,i=(0,ka.useRef)(null),n=tt(Vt()?.getTextareaProps(),{style:{resize:r?"none":void 0}},a);return(0,ka.useEffect)(()=>{if(r)return yp(i.current)},[r]),(0,jp.jsx)(Ht.textarea,{...n,ref:ia(e,i)})});y3.displayName="FieldTextarea";var L3=bp({Context:()=>Sp,ErrorText:()=>u3,HelperText:()=>g3,Input:()=>m3,Item:()=>f3,Label:()=>z3,RequiredIndicator:()=>M3,Root:()=>H3,RootProvider:()=>w3,Select:()=>b3,Textarea:()=>y3});function Il(t,e=[]){let r=Object.assign({},t);for(let a of e)a in r&&delete r[a];return r}var Kp=(t,e)=>{if(!t||typeof t!="string")return{invalid:!0,value:t};let[r,a]=t.split("/");if(!r||!a||r==="currentBg")return{invalid:!0,value:r};let i=e(`colors.${r}`),n=e.raw(`opacity.${a}`)?.value;if(!n&&isNaN(Number(a)))return{invalid:!0,value:r};let l=n?Number(n)*100+"%":`${a}%`,o=i??r;return{invalid:!1,color:o,value:`color-mix(in srgb, ${o} ${l}, transparent)`}},B1=t=>(e,r)=>{let a=r.utils.colorMix(e);if(a.invalid)return{[t]:e};let i="--mix-"+t;return{[i]:a.value,[t]:`var(${i}, ${a.color})`}};function Nl(t){if(t===null||typeof t!="object")return t;if(Array.isArray(t))return t.map(r=>Nl(r));let e=Object.create(Object.getPrototypeOf(t));for(let r of Object.keys(t))e[r]=Nl(t[r]);return e}function C3(t,e){if(e==null)return t;for(let r of Object.keys(e))if(!(e[r]===void 0||r==="__proto__"))if(!$1(t[r])&&$1(e[r]))Object.assign(t,{[r]:e[r]});else if(t[r]&&$1(e[r]))C3(t[r],e[r]);else if(Array.isArray(e[r])&&Array.isArray(t[r])){let a=0;for(;a<e[r].length;a++)$1(t[r][a])&&$1(e[r][a])?C3(t[r][a],e[r][a]):t[r][a]=e[r][a]}else Object.assign(t,{[r]:e[r]});return t}function O2(t,...e){for(let r of e)C3(t,r);return t}var S3=t=>t!=null;function Pt(t,e,r={}){let{stop:a,getKey:i}=r;function n(l,o=[]){if($1(l)||Array.isArray(l)){let c={};for(let[h,d]of Object.entries(l)){let s=i?.(h,d)??h,v=[...o,s];if(a?.(l,v))return e(l,o);let p=n(d,v);S3(p)&&(c[s]=p)}return c}return e(l,o)}return n(t)}function Dl(t,e){return Array.isArray(t)?t.map(r=>S3(r)?e(r):r):$1(t)?Pt(t,r=>e(r)):S3(t)?e(t):t}var Fl=["value","type","description"],GL=t=>t&&typeof t=="object"&&!Array.isArray(t),Wl=(...t)=>{let e=O2({},...t.map(Nl));return e.theme?.tokens&&Pt(e.theme.tokens,r=>{let n=Object.keys(r).filter(o=>!Fl.includes(o)).length>0,l=Fl.some(o=>r[o]!=null);return n&&l&&(r.DEFAULT||(r.DEFAULT={}),Fl.forEach(o=>{var c;r[o]!=null&&((c=r.DEFAULT)[o]||(c[o]=r[o]),delete r[o])})),r},{stop(r){return GL(r)&&Fl.some(a=>r[a]!=null)}}),e};var B3=t=>t,Z=t=>t,A=t=>t,k3=t=>t,O3=t=>t,x2=t=>t,A3=t=>t,_3=t=>t,E3=t=>t;function qp(){let t=e=>e;return new Proxy(t,{get(){return t}})}var g1=qp(),Pr=qp(),ci=t=>t;var $L=/[^a-zA-Z0-9_\u0081-\uffff-]/g;function jL(t){return`${t}`.replace($L,e=>`\\${e}`)}var KL=/[A-Z]/g;function qL(t){return t.replace(KL,e=>`-${e.toLowerCase()}`)}function Ul(t,e={}){let{fallback:r="",prefix:a=""}=e,i=qL(["-",a,jL(t)].filter(Boolean).join("-"));return{var:i,ref:`var(${i}${r?`, ${r}`:""})`}}var YL=t=>/^var\(--.+\)$/.test(t),bt=(t,e)=>e!=null?`${t}(${e})`:e,Ir=t=>{if(YL(t)||t==null)return t;let e=typeof t=="string"&&!t.endsWith("deg");return typeof t=="number"||e?`${t}deg`:t},Yp=t=>({values:["outside","inside","mixed","none"],transform(e,{token:r}){let a=r("colors.colorPalette.focusRing");return{inside:{"--focus-ring-color":a,[t]:{outlineOffset:"0px",outlineWidth:"var(--focus-ring-width, 1px)",outlineColor:"var(--focus-ring-color)",outlineStyle:"var(--focus-ring-style, solid)",borderColor:"var(--focus-ring-color)"}},outside:{"--focus-ring-color":a,[t]:{outlineWidth:"var(--focus-ring-width, 2px)",outlineOffset:"var(--focus-ring-offset, 2px)",outlineStyle:"var(--focus-ring-style, solid)",outlineColor:"var(--focus-ring-color)"}},mixed:{"--focus-ring-color":a,[t]:{outlineWidth:"var(--focus-ring-width, 3px)",outlineStyle:"var(--focus-ring-style, solid)",outlineColor:"color-mix(in srgb, var(--focus-ring-color), transparent 60%)",borderColor:"var(--focus-ring-color)"}},none:{"--focus-ring-color":a,[t]:{outline:"none"}}}[e]??{}}}),QL=B1("borderColor"),Ve=t=>({transition:t,transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"150ms"}),XL=B3({hover:["@media (hover: hover)","&:is(:hover, [data-hover]):not(:disabled, [data-disabled])"],active:"&:is(:active, [data-active]):not(:disabled, [data-disabled], [data-state=open])",focus:"&:is(:focus, [data-focus])",focusWithin:"&:is(:focus-within, [data-focus-within])",focusVisible:"&:is(:focus-visible, [data-focus-visible])",disabled:"&:is(:disabled, [disabled], [data-disabled], [aria-disabled=true])",visited:"&:visited",target:"&:target",readOnly:"&:is([data-readonly], [aria-readonly=true], [readonly])",readWrite:"&:read-write",empty:"&:is(:empty, [data-empty])",checked:"&:is(:checked, [data-checked], [aria-checked=true], [data-state=checked])",enabled:"&:enabled",expanded:"&:is([aria-expanded=true], [data-expanded], [data-state=expanded])",highlighted:"&[data-highlighted]",complete:"&[data-complete]",incomplete:"&[data-incomplete]",dragging:"&[data-dragging]",before:"&::before",after:"&::after",firstLetter:"&::first-letter",firstLine:"&::first-line",marker:"&::marker",selection:"&::selection",file:"&::file-selector-button",backdrop:"&::backdrop",first:"&:first-of-type",last:"&:last-of-type",notFirst:"&:not(:first-of-type)",notLast:"&:not(:last-of-type)",only:"&:only-child",even:"&:nth-of-type(even)",odd:"&:nth-of-type(odd)",peerFocus:".peer:is(:focus, [data-focus]) ~ &",peerHover:".peer:is(:hover, [data-hover]):not(:disabled, [data-disabled]) ~ &",peerActive:".peer:is(:active, [data-active]):not(:disabled, [data-disabled]) ~ &",peerFocusWithin:".peer:focus-within ~ &",peerFocusVisible:".peer:is(:focus-visible, [data-focus-visible]) ~ &",peerDisabled:".peer:is(:disabled, [disabled], [data-disabled]) ~ &",peerChecked:".peer:is(:checked, [data-checked], [aria-checked=true], [data-state=checked]) ~ &",peerInvalid:".peer:is(:invalid, [data-invalid], [aria-invalid=true]) ~ &",peerExpanded:".peer:is([aria-expanded=true], [data-expanded], [data-state=expanded]) ~ &",peerPlaceholderShown:".peer:placeholder-shown ~ &",groupFocus:".group:is(:focus, [data-focus]) &",groupHover:".group:is(:hover, [data-hover]):not(:disabled, [data-disabled]) &",groupActive:".group:is(:active, [data-active]):not(:disabled, [data-disabled]) &",groupFocusWithin:".group:focus-within &",groupFocusVisible:".group:is(:focus-visible, [data-focus-visible]) &",groupDisabled:".group:is(:disabled, [disabled], [data-disabled]) &",groupChecked:".group:is(:checked, [data-checked], [aria-checked=true], [data-state=checked]) &",groupExpanded:".group:is([aria-expanded=true], [data-expanded], [data-state=expanded]) &",groupInvalid:".group:invalid &",indeterminate:"&:is(:indeterminate, [data-indeterminate], [aria-checked=mixed], [data-state=indeterminate])",required:"&:is([data-required], [aria-required=true])",valid:"&:is([data-valid], [data-state=valid])",invalid:"&:is([data-invalid], [aria-invalid=true], [data-state=invalid])",autofill:"&:autofill",inRange:"&:is(:in-range, [data-in-range])",outOfRange:"&:is(:out-of-range, [data-outside-range])",placeholder:"&::placeholder, &[data-placeholder]",placeholderShown:"&:is(:placeholder-shown, [data-placeholder-shown])",pressed:"&:is([aria-pressed=true], [data-pressed])",selected:"&:is([aria-selected=true], [data-selected])",grabbed:"&:is([aria-grabbed=true], [data-grabbed])",underValue:"&[data-state=under-value]",overValue:"&[data-state=over-value]",atValue:"&[data-state=at-value]",default:"&:default",optional:"&:optional",open:"&:is([open], [data-open], [data-state=open])",closed:"&:is([closed], [data-closed], [data-state=closed])",fullscreen:"&:is(:fullscreen, [data-fullscreen])",loading:"&:is([data-loading], [aria-busy=true])",hidden:"&:is([hidden], [data-hidden])",current:"&[data-current]",currentPage:"&[aria-current=page]",currentStep:"&[aria-current=step]",today:"&[data-today]",unavailable:"&[data-unavailable]",rangeStart:"&[data-range-start]",rangeEnd:"&[data-range-end]",now:"&[data-now]",topmost:"&[data-topmost]",motionReduce:"@media (prefers-reduced-motion: reduce)",motionSafe:"@media (prefers-reduced-motion: no-preference)",print:"@media print",landscape:"@media (orientation: landscape)",portrait:"@media (orientation: portrait)",dark:".dark &, .dark .chakra-theme:not(.light) &",light:":root &, .light &",osDark:"@media (prefers-color-scheme: dark)",osLight:"@media (prefers-color-scheme: light)",highContrast:"@media (forced-colors: active)",lessContrast:"@media (prefers-contrast: less)",moreContrast:"@media (prefers-contrast: more)",ltr:"[dir=ltr] &",rtl:"[dir=rtl] &",scrollbar:"&::-webkit-scrollbar",scrollbarThumb:"&::-webkit-scrollbar-thumb",scrollbarTrack:"&::-webkit-scrollbar-track",horizontal:"&[data-orientation=horizontal]",vertical:"&[data-orientation=vertical]",icon:"& :where(svg)",starting:"@starting-style"}),Oa=Ul("bg-currentcolor"),Qp=t=>t===Oa.ref||t==="currentBg",O1=t=>({...t("colors"),currentBg:Oa}),Xp=ci({conditions:XL,utilities:{background:{values:O1,shorthand:["bg"],transform(t,e){if(Qp(e.raw))return{background:Oa.ref};let r=B1("background")(t,e);return{...r,[Oa.var]:r?.background}}},backgroundColor:{values:O1,shorthand:["bgColor"],transform(t,e){if(Qp(e.raw))return{backgroundColor:Oa.ref};let r=B1("backgroundColor")(t,e);return{...r,[Oa.var]:r?.backgroundColor}}},backgroundSize:{shorthand:["bgSize"]},backgroundPosition:{shorthand:["bgPos"]},backgroundRepeat:{shorthand:["bgRepeat"]},backgroundAttachment:{shorthand:["bgAttachment"]},backgroundClip:{shorthand:["bgClip"],values:["text"],transform(t){return t==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:t}}},backgroundGradient:{shorthand:["bgGradient"],values(t){return{...t("gradients"),"to-t":"linear-gradient(to top, var(--gradient))","to-tr":"linear-gradient(to top right, var(--gradient))","to-r":"linear-gradient(to right, var(--gradient))","to-br":"linear-gradient(to bottom right, var(--gradient))","to-b":"linear-gradient(to bottom, var(--gradient))","to-bl":"linear-gradient(to bottom left, var(--gradient))","to-l":"linear-gradient(to left, var(--gradient))","to-tl":"linear-gradient(to top left, var(--gradient))"}},transform(t){return{"--gradient-stops":"var(--gradient-from), var(--gradient-to)","--gradient":"var(--gradient-via-stops, var(--gradient-stops))",backgroundImage:t}}},gradientFrom:{values:O1,transform:B1("--gradient-from")},gradientTo:{values:O1,transform:B1("--gradient-to")},gradientVia:{values:O1,transform(t,e){return{...B1("--gradient-via")(t,e),"--gradient-via-stops":"var(--gradient-from), var(--gradient-via), var(--gradient-to)"}}},backgroundImage:{values(t){return{...t("gradients"),...t("assets")}},shorthand:["bgImg","bgImage"]},border:{values:"borders"},borderTop:{values:"borders"},borderLeft:{values:"borders"},borderBlockStart:{values:"borders"},borderRight:{values:"borders"},borderBottom:{values:"borders"},borderBlockEnd:{values:"borders"},borderInlineStart:{values:"borders",shorthand:["borderStart"]},borderInlineEnd:{values:"borders",shorthand:["borderEnd"]},borderInline:{values:"borders",shorthand:["borderX"]},borderBlock:{values:"borders",shorthand:["borderY"]},borderColor:{values:O1,transform:B1("borderColor")},borderTopColor:{values:O1,transform:B1("borderTopColor")},borderBlockStartColor:{values:O1,transform:B1("borderBlockStartColor")},borderBottomColor:{values:O1,transform:B1("borderBottomColor")},borderBlockEndColor:{values:O1,transform:B1("borderBlockEndColor")},borderLeftColor:{values:O1,transform:B1("borderLeftColor")},borderInlineStartColor:{values:O1,shorthand:["borderStartColor"],transform:B1("borderInlineStartColor")},borderRightColor:{values:O1,transform:B1("borderRightColor")},borderInlineEndColor:{values:O1,shorthand:["borderEndColor"],transform:B1("borderInlineEndColor")},borderStyle:{values:"borderStyles"},borderTopStyle:{values:"borderStyles"},borderBlockStartStyle:{values:"borderStyles"},borderBottomStyle:{values:"borderStyles"},borderBlockEndStyle:{values:"borderStyles"},borderInlineStartStyle:{values:"borderStyles",shorthand:["borderStartStyle"]},borderInlineEndStyle:{values:"borderStyles",shorthand:["borderEndStyle"]},borderLeftStyle:{values:"borderStyles"},borderRightStyle:{values:"borderStyles"},borderRadius:{values:"radii",shorthand:["rounded"]},borderTopLeftRadius:{values:"radii",shorthand:["roundedTopLeft"]},borderStartStartRadius:{values:"radii",shorthand:["roundedStartStart","borderTopStartRadius"]},borderEndStartRadius:{values:"radii",shorthand:["roundedEndStart","borderBottomStartRadius"]},borderTopRightRadius:{values:"radii",shorthand:["roundedTopRight"]},borderStartEndRadius:{values:"radii",shorthand:["roundedStartEnd","borderTopEndRadius"]},borderEndEndRadius:{values:"radii",shorthand:["roundedEndEnd","borderBottomEndRadius"]},borderBottomLeftRadius:{values:"radii",shorthand:["roundedBottomLeft"]},borderBottomRightRadius:{values:"radii",shorthand:["roundedBottomRight"]},borderInlineStartRadius:{values:"radii",property:"borderRadius",shorthand:["roundedStart","borderStartRadius"],transform:t=>({borderStartStartRadius:t,borderEndStartRadius:t})},borderInlineEndRadius:{values:"radii",property:"borderRadius",shorthand:["roundedEnd","borderEndRadius"],transform:t=>({borderStartEndRadius:t,borderEndEndRadius:t})},borderTopRadius:{values:"radii",property:"borderRadius",shorthand:["roundedTop"],transform:t=>({borderTopLeftRadius:t,borderTopRightRadius:t})},borderBottomRadius:{values:"radii",property:"borderRadius",shorthand:["roundedBottom"],transform:t=>({borderBottomLeftRadius:t,borderBottomRightRadius:t})},borderLeftRadius:{values:"radii",property:"borderRadius",shorthand:["roundedLeft"],transform:t=>({borderTopLeftRadius:t,borderBottomLeftRadius:t})},borderRightRadius:{values:"radii",property:"borderRadius",shorthand:["roundedRight"],transform:t=>({borderTopRightRadius:t,borderBottomRightRadius:t})},borderWidth:{values:"borderWidths"},borderBlockStartWidth:{values:"borderWidths"},borderTopWidth:{values:"borderWidths"},borderBottomWidth:{values:"borderWidths"},borderBlockEndWidth:{values:"borderWidths"},borderRightWidth:{values:"borderWidths"},borderInlineWidth:{values:"borderWidths",shorthand:["borderXWidth"]},borderInlineStartWidth:{values:"borderWidths",shorthand:["borderStartWidth"]},borderInlineEndWidth:{values:"borderWidths",shorthand:["borderEndWidth"]},borderLeftWidth:{values:"borderWidths"},borderBlockWidth:{values:"borderWidths",shorthand:["borderYWidth"]},color:{values:O1,transform:B1("color")},fill:{values:O1,transform:B1("fill")},stroke:{values:O1,transform:B1("stroke")},accentColor:{values:O1,transform:B1("accentColor")},divideX:{values:{type:"string"},transform(t){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{borderInlineStartWidth:t,borderInlineEndWidth:"0px"}}}},divideY:{values:{type:"string"},transform(t){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{borderTopWidth:t,borderBottomWidth:"0px"}}}},divideColor:{values:O1,transform(t,e){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":QL(t,e)}}},divideStyle:{property:"borderStyle",transform(t){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{borderStyle:t}}}},boxShadow:{values:"shadows",shorthand:["shadow"]},boxShadowColor:{values:O1,transform:B1("--shadow-color"),shorthand:["shadowColor"]},mixBlendMode:{shorthand:["blendMode"]},backgroundBlendMode:{shorthand:["bgBlendMode"]},opacity:{values:"opacity"},filter:{transform(t){return t!=="auto"?{filter:t}:{filter:"var(--blur) var(--brightness) var(--contrast) var(--grayscale) var(--hue-rotate) var(--invert) var(--saturate) var(--sepia) var(--drop-shadow)"}}},blur:{values:"blurs",transform:t=>({"--blur":bt("blur",t)})},brightness:{transform:t=>({"--brightness":bt("brightness",t)})},contrast:{transform:t=>({"--contrast":bt("contrast",t)})},grayscale:{transform:t=>({"--grayscale":bt("grayscale",t)})},hueRotate:{transform:t=>({"--hue-rotate":bt("hue-rotate",Ir(t))})},invert:{transform:t=>({"--invert":bt("invert",t)})},saturate:{transform:t=>({"--saturate":bt("saturate",t)})},sepia:{transform:t=>({"--sepia":bt("sepia",t)})},dropShadow:{transform:t=>({"--drop-shadow":bt("drop-shadow",t)})},backdropFilter:{transform(t){return t!=="auto"?{backdropFilter:t}:{backdropFilter:"var(--backdrop-blur) var(--backdrop-brightness) var(--backdrop-contrast) var(--backdrop-grayscale) var(--backdrop-hue-rotate) var(--backdrop-invert) var(--backdrop-opacity) var(--backdrop-saturate) var(--backdrop-sepia)"}}},backdropBlur:{values:"blurs",transform:t=>({"--backdrop-blur":bt("blur",t)})},backdropBrightness:{transform:t=>({"--backdrop-brightness":bt("brightness",t)})},backdropContrast:{transform:t=>({"--backdrop-contrast":bt("contrast",t)})},backdropGrayscale:{transform:t=>({"--backdrop-grayscale":bt("grayscale",t)})},backdropHueRotate:{transform:t=>({"--backdrop-hue-rotate":bt("hue-rotate",Ir(t))})},backdropInvert:{transform:t=>({"--backdrop-invert":bt("invert",t)})},backdropOpacity:{transform:t=>({"--backdrop-opacity":bt("opacity",t)})},backdropSaturate:{transform:t=>({"--backdrop-saturate":bt("saturate",t)})},backdropSepia:{transform:t=>({"--backdrop-sepia":bt("sepia",t)})},flexBasis:{values:"sizes"},gap:{values:"spacing"},rowGap:{values:"spacing",shorthand:["gapY"]},columnGap:{values:"spacing",shorthand:["gapX"]},flexDirection:{shorthand:["flexDir"]},gridGap:{values:"spacing"},gridColumnGap:{values:"spacing"},gridRowGap:{values:"spacing"},outlineColor:{values:O1,transform:B1("outlineColor")},focusRing:Yp("&:is(:focus, [data-focus])"),focusVisibleRing:Yp("&:is(:focus-visible, [data-focus-visible])"),focusRingColor:{values:O1,transform:B1("--focus-ring-color")},focusRingOffset:{values:"spacing",transform:t=>({"--focus-ring-offset":t})},focusRingWidth:{values:"borderWidths",property:"outlineWidth",transform:t=>({"--focus-ring-width":t})},focusRingStyle:{values:"borderStyles",property:"outlineStyle",transform:t=>({"--focus-ring-style":t})},aspectRatio:{values:"aspectRatios"},width:{values:"sizes",shorthand:["w"]},inlineSize:{values:"sizes"},height:{values:"sizes",shorthand:["h"]},blockSize:{values:"sizes"},boxSize:{values:"sizes",property:"width",transform:t=>({width:t,height:t})},minWidth:{values:"sizes",shorthand:["minW"]},minInlineSize:{values:"sizes"},minHeight:{values:"sizes",shorthand:["minH"]},minBlockSize:{values:"sizes"},maxWidth:{values:"sizes",shorthand:["maxW"]},maxInlineSize:{values:"sizes"},maxHeight:{values:"sizes",shorthand:["maxH"]},maxBlockSize:{values:"sizes"},hideFrom:{values:"breakpoints",transform:(t,{raw:e,token:r})=>({[r.raw(`breakpoints.${e}`)?`@breakpoint ${e}`:`@media screen and (min-width: ${t})`]:{display:"none"}})},hideBelow:{values:"breakpoints",transform(t,{raw:e,token:r}){return{[r.raw(`breakpoints.${e}`)?`@breakpoint ${e}Down`:`@media screen and (max-width: ${t})`]:{display:"none"}}}},overscrollBehavior:{shorthand:["overscroll"]},overscrollBehaviorX:{shorthand:["overscrollX"]},overscrollBehaviorY:{shorthand:["overscrollY"]},scrollbar:{values:["visible","hidden"],transform(t){switch(t){case"visible":return{msOverflowStyle:"auto",scrollbarWidth:"auto","&::-webkit-scrollbar":{display:"block"}};case"hidden":return{msOverflowStyle:"none",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}};default:return{}}}},scrollbarColor:{values:O1,transform:B1("scrollbarColor")},scrollbarGutter:{values:"spacing"},scrollbarWidth:{values:"sizes"},scrollMargin:{values:"spacing"},scrollMarginTop:{values:"spacing"},scrollMarginBottom:{values:"spacing"},scrollMarginLeft:{values:"spacing"},scrollMarginRight:{values:"spacing"},scrollMarginX:{values:"spacing",transform:t=>({scrollMarginLeft:t,scrollMarginRight:t})},scrollMarginY:{values:"spacing",transform:t=>({scrollMarginTop:t,scrollMarginBottom:t})},scrollPadding:{values:"spacing"},scrollPaddingTop:{values:"spacing"},scrollPaddingBottom:{values:"spacing"},scrollPaddingLeft:{values:"spacing"},scrollPaddingRight:{values:"spacing"},scrollPaddingInline:{values:"spacing",shorthand:["scrollPaddingX"]},scrollPaddingBlock:{values:"spacing",shorthand:["scrollPaddingY"]},scrollSnapType:{values:{none:"none",x:"x var(--scroll-snap-strictness)",y:"y var(--scroll-snap-strictness)",both:"both var(--scroll-snap-strictness)"}},scrollSnapStrictness:{values:["mandatory","proximity"],transform:t=>({"--scroll-snap-strictness":t})},scrollSnapMargin:{values:"spacing"},scrollSnapMarginTop:{values:"spacing"},scrollSnapMarginBottom:{values:"spacing"},scrollSnapMarginLeft:{values:"spacing"},scrollSnapMarginRight:{values:"spacing"},listStylePosition:{shorthand:["listStylePos"]},listStyleImage:{values:"assets",shorthand:["listStyleImg"]},position:{shorthand:["pos"]},zIndex:{values:"zIndex"},inset:{values:"spacing"},insetInline:{values:"spacing",shorthand:["insetX"]},insetBlock:{values:"spacing",shorthand:["insetY"]},top:{values:"spacing"},insetBlockStart:{values:"spacing"},bottom:{values:"spacing"},insetBlockEnd:{values:"spacing"},left:{values:"spacing"},right:{values:"spacing"},insetInlineStart:{values:"spacing",shorthand:["insetStart"]},insetInlineEnd:{values:"spacing",shorthand:["insetEnd"]},ring:{transform(t){return{"--ring-offset-shadow":"var(--ring-inset) 0 0 0 var(--ring-offset-width) var(--ring-offset-color)","--ring-shadow":"var(--ring-inset) 0 0 0 calc(var(--ring-width) + var(--ring-offset-width)) var(--ring-color)","--ring-width":t,boxShadow:"var(--ring-offset-shadow), var(--ring-shadow), var(--shadow, 0 0 #0000)"}}},ringColor:{values:O1,transform:B1("--ring-color")},ringOffset:{transform:t=>({"--ring-offset-width":t})},ringOffsetColor:{values:O1,transform:B1("--ring-offset-color")},ringInset:{transform:t=>({"--ring-inset":t})},margin:{values:"spacing",shorthand:["m"]},marginTop:{values:"spacing",shorthand:["mt"]},marginBlockStart:{values:"spacing"},marginRight:{values:"spacing",shorthand:["mr"]},marginBottom:{values:"spacing",shorthand:["mb"]},marginBlockEnd:{values:"spacing"},marginLeft:{values:"spacing",shorthand:["ml"]},marginInlineStart:{values:"spacing",shorthand:["ms","marginStart"]},marginInlineEnd:{values:"spacing",shorthand:["me","marginEnd"]},marginInline:{values:"spacing",shorthand:["mx","marginX"]},marginBlock:{values:"spacing",shorthand:["my","marginY"]},padding:{values:"spacing",shorthand:["p"]},paddingTop:{values:"spacing",shorthand:["pt"]},paddingRight:{values:"spacing",shorthand:["pr"]},paddingBottom:{values:"spacing",shorthand:["pb"]},paddingBlockStart:{values:"spacing"},paddingBlockEnd:{values:"spacing"},paddingLeft:{values:"spacing",shorthand:["pl"]},paddingInlineStart:{values:"spacing",shorthand:["ps","paddingStart"]},paddingInlineEnd:{values:"spacing",shorthand:["pe","paddingEnd"]},paddingInline:{values:"spacing",shorthand:["px","paddingX"]},paddingBlock:{values:"spacing",shorthand:["py","paddingY"]},textDecoration:{shorthand:["textDecor"]},textDecorationColor:{values:O1,transform:B1("textDecorationColor")},textShadow:{values:"shadows"},transform:{transform:t=>{let e=t;return t==="auto"&&(e="translateX(var(--translate-x, 0)) translateY(var(--translate-y, 0)) rotate(var(--rotate, 0)) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1)) skewX(var(--skew-x, 0)) skewY(var(--skew-y, 0))"),t==="auto-gpu"&&(e="translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) rotate(var(--rotate, 0)) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1)) skewX(var(--skew-x, 0)) skewY(var(--skew-y, 0))"),{transform:e}}},skewX:{transform:t=>({"--skew-x":Ir(t)})},skewY:{transform:t=>({"--skew-y":Ir(t)})},scaleX:{transform:t=>({"--scale-x":t})},scaleY:{transform:t=>({"--scale-y":t})},scale:{transform(t){return t!=="auto"?{scale:t}:{scale:"var(--scale-x, 1) var(--scale-y, 1)"}}},spaceXReverse:{values:{type:"boolean"},transform(t){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-x-reverse":t?"1":void 0}}}},spaceX:{property:"marginInlineStart",values:"spacing",transform:t=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-x-reverse":"0",marginInlineStart:`calc(${t} * calc(1 - var(--space-x-reverse)))`,marginInlineEnd:`calc(${t} * var(--space-x-reverse))`}})},spaceYReverse:{values:{type:"boolean"},transform(t){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-y-reverse":t?"1":void 0}}}},spaceY:{property:"marginTop",values:"spacing",transform:t=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-y-reverse":"0",marginTop:`calc(${t} * calc(1 - var(--space-y-reverse)))`,marginBottom:`calc(${t} * var(--space-y-reverse))`}})},rotate:{transform(t){return t!=="auto"?{rotate:Ir(t)}:{rotate:"var(--rotate-x, 0) var(--rotate-y, 0) var(--rotate-z, 0)"}}},rotateX:{transform(t){return{"--rotate-x":Ir(t)}}},rotateY:{transform(t){return{"--rotate-y":Ir(t)}}},translate:{transform(t){return t!=="auto"?{translate:t}:{translate:"var(--translate-x) var(--translate-y)"}}},translateX:{values:"spacing",transform:t=>({"--translate-x":t})},translateY:{values:"spacing",transform:t=>({"--translate-y":t})},transition:{values:["all","common","colors","opacity","position","backgrounds","size","shadow","transform"],transform(t){switch(t){case"all":return Ve("all");case"position":return Ve("left, right, top, bottom, inset-inline, inset-block");case"colors":return Ve("color, background-color, border-color, text-decoration-color, fill, stroke");case"opacity":return Ve("opacity");case"shadow":return Ve("box-shadow");case"transform":return Ve("transform");case"size":return Ve("width, height");case"backgrounds":return Ve("background, background-color, background-image, background-position");case"common":return Ve("color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter");default:return{transition:t}}}},transitionDuration:{values:"durations"},transitionProperty:{values:{common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, translate, transform",colors:"background-color, border-color, color, fill, stroke",size:"width, height",position:"left, right, top, bottom, inset-inline, inset-block",background:"background, background-color, background-image, background-position"}},transitionTimingFunction:{values:"easings"},animation:{values:"animations"},animationDuration:{values:"durations"},animationDelay:{values:"durations"},animationTimingFunction:{values:"easings"},fontFamily:{values:"fonts"},fontSize:{values:"fontSizes"},fontWeight:{values:"fontWeights"},lineHeight:{values:"lineHeights"},letterSpacing:{values:"letterSpacings"},textIndent:{values:"spacing"},truncate:{values:{type:"boolean"},transform(t){return t===!0?{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}:{}}},lineClamp:{transform(t){return t==="none"?{WebkitLineClamp:"unset"}:{overflow:"hidden",display:"-webkit-box",WebkitLineClamp:t,WebkitBoxOrient:"vertical",textWrap:"wrap"}}},borderSpacing:{values:t=>({...t("spacing"),auto:"var(--border-spacing-x, 0) var(--border-spacing-y, 0)"})},borderSpacingX:{values:"spacing",transform(t){return{"--border-spacing-x":t}}},borderSpacingY:{values:"spacing",transform(t){return{"--border-spacing-y":t}}},srOnly:{values:{type:"boolean"},transform(t){return ZL[t]||{}}},debug:{values:{type:"boolean"},transform(t){return t?{outline:"1px solid blue !important","& > *":{outline:"1px solid red !important"}}:{}}},caretColor:{values:O1,transform:B1("caretColor")},cursor:{values:"cursor"}}}),ZL={true:{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"},false:{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",clip:"auto",whiteSpace:"normal"}};var JL="",tC=JL.split(","),eC="WebkitAppearance,WebkitBorderBefore,WebkitBorderBeforeColor,WebkitBorderBeforeStyle,WebkitBorderBeforeWidth,WebkitBoxReflect,WebkitLineClamp,WebkitMask,WebkitMaskAttachment,WebkitMaskClip,WebkitMaskComposite,WebkitMaskImage,WebkitMaskOrigin,WebkitMaskPosition,WebkitMaskPositionX,WebkitMaskPositionY,WebkitMaskRepeat,WebkitMaskRepeatX,WebkitMaskRepeatY,WebkitMaskSize,WebkitOverflowScrolling,WebkitTapHighlightColor,WebkitTextFillColor,WebkitTextStroke,WebkitTextStrokeColor,WebkitTextStrokeWidth,WebkitTouchCallout,WebkitUserModify,WebkitUserSelect,accentColor,alignContent,alignItems,alignSelf,alignTracks,all,anchorName,anchorScope,animation,animationComposition,animationDelay,animationDirection,animationDuration,animationFillMode,animationIterationCount,animationName,animationPlayState,animationRange,animationRangeEnd,animationRangeStart,animationTimeline,animationTimingFunction,appearance,aspectRatio,backdropFilter,backfaceVisibility,background,backgroundAttachment,backgroundBlendMode,backgroundClip,backgroundColor,backgroundImage,backgroundOrigin,backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundRepeat,backgroundSize,blockSize,border,borderBlock,borderBlockColor,borderBlockEnd,borderBlockEndColor,borderBlockEndStyle,borderBlockEndWidth,borderBlockStart,borderBlockStartColor,borderBlockStartStyle,borderBlockStartWidth,borderBlockStyle,borderBlockWidth,borderBottom,borderBottomColor,borderBottomLeftRadius,borderBottomRightRadius,borderBottomStyle,borderBottomWidth,borderCollapse,borderColor,borderEndEndRadius,borderEndStartRadius,borderImage,borderImageOutset,borderImageRepeat,borderImageSlice,borderImageSource,borderImageWidth,borderInline,borderInlineColor,borderInlineEnd,borderInlineEndColor,borderInlineEndStyle,borderInlineEndWidth,borderInlineStart,borderInlineStartColor,borderInlineStartStyle,borderInlineStartWidth,borderInlineStyle,borderInlineWidth,borderLeft,borderLeftColor,borderLeftStyle,borderLeftWidth,borderRadius,borderRight,borderRightColor,borderRightStyle,borderRightWidth,borderSpacing,borderStartEndRadius,borderStartStartRadius,borderStyle,borderTop,borderTopColor,borderTopLeftRadius,borderTopRightRadius,borderTopStyle,borderTopWidth,borderWidth,bottom,boxAlign,boxDecorationBreak,boxDirection,boxFlex,boxFlexGroup,boxLines,boxOrdinalGroup,boxOrient,boxPack,boxShadow,boxSizing,breakAfter,breakBefore,breakInside,captionSide,caret,caretColor,caretShape,clear,clip,clipPath,clipRule,color,colorInterpolationFilters,colorScheme,columnCount,columnFill,columnGap,columnRule,columnRuleColor,columnRuleStyle,columnRuleWidth,columnSpan,columnWidth,columns,contain,containIntrinsicBlockSize,containIntrinsicHeight,containIntrinsicInlineSize,containIntrinsicSize,containIntrinsicWidth,container,containerName,containerType,content,contentVisibility,cornerShape,counterIncrement,counterReset,counterSet,cursor,cx,cy,d,direction,display,dominantBaseline,emptyCells,fieldSizing,fill,fillOpacity,fillRule,filter,flex,flexBasis,flexDirection,flexFlow,flexGrow,flexShrink,flexWrap,float,floodColor,floodOpacity,font,fontFamily,fontFeatureSettings,fontKerning,fontLanguageOverride,fontOpticalSizing,fontPalette,fontSize,fontSizeAdjust,fontSmooth,fontStretch,fontStyle,fontSynthesis,fontSynthesisPosition,fontSynthesisSmallCaps,fontSynthesisStyle,fontSynthesisWeight,fontVariant,fontVariantAlternates,fontVariantCaps,fontVariantEastAsian,fontVariantEmoji,fontVariantLigatures,fontVariantNumeric,fontVariantPosition,fontVariationSettings,fontWeight,forcedColorAdjust,gap,grid,gridArea,gridAutoColumns,gridAutoFlow,gridAutoRows,gridColumn,gridColumnEnd,gridColumnGap,gridColumnStart,gridGap,gridRow,gridRowEnd,gridRowGap,gridRowStart,gridTemplate,gridTemplateAreas,gridTemplateColumns,gridTemplateRows,hangingPunctuation,height,hyphenateCharacter,hyphenateLimitChars,hyphens,imageOrientation,imageRendering,imageResolution,imeMode,initialLetter,initialLetterAlign,inlineSize,inset,insetBlock,insetBlockEnd,insetBlockStart,insetInline,insetInlineEnd,insetInlineStart,interpolateSize,isolation,justifyContent,justifyItems,justifySelf,justifyTracks,left,letterSpacing,lightingColor,lineBreak,lineClamp,lineHeight,lineHeightStep,listStyle,listStyleImage,listStylePosition,listStyleType,margin,marginBlock,marginBlockEnd,marginBlockStart,marginBottom,marginInline,marginInlineEnd,marginInlineStart,marginLeft,marginRight,marginTop,marginTrim,marker,markerEnd,markerMid,markerStart,mask,maskBorder,maskBorderMode,maskBorderOutset,maskBorderRepeat,maskBorderSlice,maskBorderSource,maskBorderWidth,maskClip,maskComposite,maskImage,maskMode,maskOrigin,maskPosition,maskRepeat,maskSize,maskType,masonryAutoFlow,mathDepth,mathShift,mathStyle,maxBlockSize,maxHeight,maxInlineSize,maxLines,maxWidth,minBlockSize,minHeight,minInlineSize,minWidth,mixBlendMode,objectFit,objectPosition,offset,offsetAnchor,offsetDistance,offsetPath,offsetPosition,offsetRotate,opacity,order,orphans,outline,outlineColor,outlineOffset,outlineStyle,outlineWidth,overflow,overflowAnchor,overflowBlock,overflowClipBox,overflowClipMargin,overflowInline,overflowWrap,overflowX,overflowY,overlay,overscrollBehavior,overscrollBehaviorBlock,overscrollBehaviorInline,overscrollBehaviorX,overscrollBehaviorY,padding,paddingBlock,paddingBlockEnd,paddingBlockStart,paddingBottom,paddingInline,paddingInlineEnd,paddingInlineStart,paddingLeft,paddingRight,paddingTop,page,pageBreakAfter,pageBreakBefore,pageBreakInside,paintOrder,perspective,perspectiveOrigin,placeContent,placeItems,placeSelf,pointerEvents,position,positionAnchor,positionArea,positionTry,positionTryFallbacks,positionTryOrder,positionVisibility,printColorAdjust,quotes,r,resize,right,rotate,rowGap,rubyAlign,rubyMerge,rubyPosition,rx,ry,scale,scrollBehavior,scrollMargin,scrollMarginBlock,scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginBottom,scrollMarginInline,scrollMarginInlineEnd,scrollMarginInlineStart,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollPadding,scrollPaddingBlock,scrollPaddingBlockEnd,scrollPaddingBlockStart,scrollPaddingBottom,scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollSnapAlign,scrollSnapCoordinate,scrollSnapDestination,scrollSnapPointsX,scrollSnapPointsY,scrollSnapStop,scrollSnapType,scrollSnapTypeX,scrollSnapTypeY,scrollTimeline,scrollTimelineAxis,scrollTimelineName,scrollbarColor,scrollbarGutter,scrollbarWidth,shapeImageThreshold,shapeMargin,shapeOutside,shapeRendering,stopColor,stopOpacity,stroke,strokeDasharray,strokeDashoffset,strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,strokeWidth,tabSize,tableLayout,textAlign,textAlignLast,textAnchor,textBox,textBoxEdge,textBoxTrim,textCombineUpright,textDecoration,textDecorationColor,textDecorationLine,textDecorationSkip,textDecorationSkipInk,textDecorationStyle,textDecorationThickness,textEmphasis,textEmphasisColor,textEmphasisPosition,textEmphasisStyle,textIndent,textJustify,textOrientation,textOverflow,textRendering,textShadow,textSizeAdjust,textSpacingTrim,textTransform,textUnderlineOffset,textUnderlinePosition,textWrap,textWrapMode,textWrapStyle,timelineScope,top,touchAction,transform,transformBox,transformOrigin,transformStyle,transition,transitionBehavior,transitionDelay,transitionDuration,transitionProperty,transitionTimingFunction,translate,unicodeBidi,userSelect,vectorEffect,verticalAlign,viewTimeline,viewTimelineAxis,viewTimelineInset,viewTimelineName,viewTransitionName,visibility,whiteSpace,whiteSpaceCollapse,widows,width,willChange,wordBreak,wordSpacing,wordWrap,writingMode,x,y,zIndex,zoom,alignmentBaseline,baselineShift,colorInterpolation,colorRendering,glyphOrientationVertical",rC=eC.split(",").concat(tC),aC=new Map(rC.map(t=>[t,!0]));function iC(t){let e=Object.create(null);return r=>(e[r]===void 0&&(e[r]=t(r)),e[r])}var nC=/&|@/,Zp=iC(t=>aC.has(t)||t.startsWith("--")||nC.test(t));function vt(t,e){let r={};for(let a in t){let i=e(a,t[a]);r[i[0]]=i[1]}return r}function T3(t,e){let r={};return Pt(t,(a,i)=>{a&&(r[i.join(".")]=a.value)},{stop:e}),r}var lC=Object.defineProperty,oC=(t,e,r)=>e in t?lC(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Jp=(t,e,r)=>oC(t,typeof e!="symbol"?e+"":e,r);function Gl(t){if(t===null)return"null";if(t===void 0)return"undefined";let e=typeof t;return e==="string"?`s:${t}`:e==="number"?`n:${t}`:e==="boolean"?`b:${t}`:e==="function"?`f:${t.name||"anonymous"}`:Array.isArray(t)?`a:[${t.map(Gl).join(",")}]`:e==="object"?`o:{${Object.keys(t).sort().map(a=>`${a}:${Gl(t[a])}`).join(",")}}`:String(t)}var R3=class{constructor(e=500){Jp(this,"cache",new Map),Jp(this,"maxSize"),this.maxSize=e}get(e){let r=this.cache.get(e);return r!==void 0&&(this.cache.delete(e),this.cache.set(e,r)),r}set(e,r){if(this.cache.has(e))this.cache.delete(e);else if(this.cache.size>=this.maxSize){let a=this.cache.keys().next().value;a!==void 0&&this.cache.delete(a)}this.cache.set(e,r)}clear(){this.cache.clear()}},A1=t=>{let e=new R3;function r(...a){let i=a.length===1?Gl(a[0]):a.map(Gl).join("|"),n=e.get(i);return n===void 0&&(n=t.apply(this,a),e.set(i,n)),n}return r};function tu(t=""){let e=new RegExp(String.raw`-?\d+(?:\.\d+|\d*)`),r=new RegExp("px|em|rem");return t.match(new RegExp(`${e.source}(${r.source})`))?.[1]}function $l(t=""){if(typeof t=="number")return`${t}px`;let e=tu(t);if(!e||e==="px")return t;if(e==="em"||e==="rem")return`${parseFloat(t)*16}px`}function P3(t=""){let e=tu(t);if(!e||e==="rem")return t;if(e==="em")return`${parseFloat(t)}rem`;if(e==="px")return`${parseFloat(t)/16}rem`}var cC=t=>t.charAt(0).toUpperCase()+t.slice(1);function eu(t){let e=hC(t),r=Object.fromEntries(e);function a(v){return r[v]}function i(v){return Aa(a(v))}function n(){let v=Object.keys(r),p=dC(v),g=v.flatMap(f=>{let V=a(f),u=[`${f}Down`,Aa({max:jl(V.min)})],m=[f,Aa({min:V.min})],z=[`${f}Only`,i(f)];return[m,z,u]}).filter(([,f])=>f!=="").concat(p.map(([f,V])=>{let u=a(f),m=a(V);return[`${f}To${cC(V)}`,Aa({min:u.min,max:jl(m.min)})]}));return Object.fromEntries(g)}function l(){let v=n();return Object.fromEntries(Object.entries(v))}let o=l(),c=v=>o[v];function h(){return ta(["base",...Object.keys(r)])}function d(v){return Aa({min:a(v).min})}function s(v){return Aa({max:jl(a(v).min)})}return{values:Object.values(r),only:i,keys:h,conditions:o,getCondition:c,up:d,down:s}}function jl(t){let e=parseFloat($l(t)??"")-.04;return P3(`${e}px`)}function hC(t){return Object.entries(t).sort(([,r],[,a])=>parseInt(r,10)<parseInt(a,10)?-1:1).map(([r,a],i,n)=>{let l=null;return i<=n.length-1&&(l=n[i+1]?.[1]),l!=null&&(l=jl(l)),[r,{name:r,min:P3(a),max:l}]})}function dC(t){let e=[];return t.forEach((r,a)=>{let i=a;i++;let n=t[i];for(;n;)e.push([r,n]),i++,n=t[i]}),e}function Aa({min:t,max:e}){return t==null&&e==null?"":["@media screen",t&&`(min-width: ${t})`,e&&`(max-width: ${e})`].filter(Boolean).join(" and ")}var sC=/^@|&|&$/,ru=t=>{let{breakpoints:e,conditions:r={}}=t,a=vt(r,(d,s)=>[`_${d}`,s]),i=Object.assign({},a,e.conditions);function n(){return Object.keys(i)}function l(d){return n().includes(d)||sC.test(d)||d.startsWith("_")}let o=A1(d=>d.filter(s=>s!=="base").sort((s,v)=>{let p=l(s),g=l(v);return p&&!g?1:!p&&g?-1:0}));function c(d){return d.startsWith("@breakpoint")?e.getCondition(d.replace("@breakpoint ","")):d}function h(d){return Reflect.get(i,d)||d}return{keys:n,sort:o,has:l,resolve:h,breakpoints:e.keys(),expandAtRule:c}};var H1=Object.freeze(Object.create(null)),au=Object.freeze([]);function Nr(){return Object.create(null)}var du=t=>({minMax:new RegExp(`(!?\\(\\s*min(-device-)?-${t})(.|
|
|
12
|
+
)+\\(\\s*max(-device)?-${t}`,"i"),min:new RegExp(`\\(\\s*min(-device)?-${t}`,"i"),maxMin:new RegExp(`(!?\\(\\s*max(-device)?-${t})(.|
|
|
13
|
+
)+\\(\\s*min(-device)?-${t}`,"i"),max:new RegExp(`\\(\\s*max(-device)?-${t}`,"i")}),vC=du("width"),pC=du("height"),su=t=>({isMin:hu(t.minMax,t.maxMin,t.min),isMax:hu(t.maxMin,t.minMax,t.max)}),{isMin:I3,isMax:iu}=su(vC),{isMin:N3,isMax:nu}=su(pC),lu=/print/i,ou=/^print$/i,uC=/(-?\d*\.?\d+)(ch|em|ex|px|rem)/,gC=/(\d)/,hi=Number.MAX_VALUE,mC={ch:8.8984375,em:16,rem:16,ex:8.296875,px:1};function cu(t){let e=uC.exec(t)||(I3(t)||N3(t)?gC.exec(t):null);if(!e)return hi;if(e[0]==="0")return 0;let r=parseFloat(e[1]),a=e[2];return r*(mC[a]||1)}function hu(t,e,r){return a=>t.test(a)||!e.test(a)&&r.test(a)}function fC(t,e){let r=lu.test(t),a=ou.test(t),i=lu.test(e),n=ou.test(e);return r&&i?!a&&n?1:a&&!n?-1:t.localeCompare(e):r?1:i?-1:null}var vu=A1((t,e)=>{let r=fC(t,e);if(r!==null)return r;let a=I3(t)||N3(t),i=iu(t)||nu(t),n=I3(e)||N3(e),l=iu(e)||nu(e);if(a&&l)return-1;if(i&&n)return 1;let o=cu(t),c=cu(e);return o===hi&&c===hi?t.localeCompare(e):o===hi?1:c===hi?-1:o!==c?o>c?i?-1:1:i?1:-1:t.localeCompare(e)});function pu(t){return t.sort(([e],[r])=>vu(e,r))}function D3(t){let e=[],r=[],a={};for(let[l,o]of Object.entries(t))l.startsWith("@media")?e.push([l,o]):l.startsWith("@container")?r.push([l,o]):$1(o)?a[l]=D3(o):a[l]=o;let i=pu(e),n=pu(r);return{...a,...Object.fromEntries(i),...Object.fromEntries(n)}}var uu=/\s*!(important)?/i,zC=A1(t=>xt(t)?uu.test(t):!1),MC=A1(t=>xt(t)?t.replace(uu,"").trim():t);function Kl(t){let{transform:e,conditions:r,normalize:a}=t,i=VC(t);return A1(function(...l){let o=i(...l),c=a(o),h=Nr();return Pt(c,(d,s)=>{if(d==null)return;let[v,...p]=r.sort(s).map(r.resolve),g=zC(d);g&&(d=MC(d));let f=e(v,d)??H1;f=Pt(f,V=>xt(V)&&g?`${V} !important`:V,{getKey:V=>r.expandAtRule(V)}),xC(h,p.flat(),f)}),D3(h)})}function xC(t,e,r){let a=t;for(let i of e)i&&(a[i]||(a[i]=Nr()),a=a[i]);O2(a,r)}function HC(...t){return t.filter(e=>{if(!$1(e))return!1;let r=te(e);return Object.keys(r).length>0})}function VC(t){function e(r){let a=HC(...r);return a.length===1?a:a.map(i=>t.normalize(i))}return A1(function(...a){return O2({},...e(a))})}var F3=t=>({base:H1,variants:H1,defaultVariants:H1,compoundVariants:[],...t});function mu(t){let{css:e,conditions:r,normalize:a,layers:i}=t;function n(o={}){let c=F3(o),{base:h,defaultVariants:d,compoundVariants:s}=c,v=vt(c.variants,(z,y)=>[z,vt(y,(b,x)=>[b,a(x)])]),p=Kl({conditions:r,normalize:a,transform(z,y){return v[z]?.[y]}}),g=A1(function(y={}){let b=a({...d,...te(y)}),x={...a(h)};O2(x,p(b));let S=l(s,b);return i.wrap("recipes",e(x,S))}),f=Object.keys(v),V=z=>{let y=Il(z,["recipe"]),[b,x]=ee(y,f),S=f.includes("colorPalette"),C=f.includes("orientation");return S||(b.colorPalette=z.colorPalette||d.colorPalette),C&&(x.orientation=z.orientation),[b,x]},u=vt(v,(z,y)=>[z,Object.keys(y)]),m=A1(function(y){return e(g(y))});return Object.assign(m,{className:o.className,__cva__:!0,variantMap:u,variantKeys:f,raw:g,config:o,splitVariantProps:V,merge(z){return n(wC(this,z))}})}function l(o,c){let h=H1;return o.forEach(d=>{Object.entries(d).every(([v,p])=>v==="css"?!0:(Array.isArray(p)?p:[p]).some(f=>c[v]===f))&&(h=e(h,d.css))}),h}return n}var gu=t=>(t?.__cva__?t.config:t)??H1;function wC(t,e){let r=F3(gu(t)),a=F3(gu(e)),i=ta(Object.keys(r.variants),Object.keys(a.variants)),n=O2({},r.base,a.base),l=Object.fromEntries(i.map(d=>[d,O2({},r.variants[d],a.variants[d])])),o=O2({},r.defaultVariants,a.defaultVariants),c=[...r.compoundVariants,...a.compoundVariants];return{className:Kt(r.className,a.className),base:n,variants:l,defaultVariants:o,compoundVariants:c}}var bC={reset:"reset",base:"base",tokens:"tokens",recipes:"recipes"},fu={reset:0,base:1,tokens:2,recipes:3};function zu(t){let e=t.layers??bC,a=Object.values(e).sort((i,n)=>fu[i]-fu[n]);return{names:a,atRule:`@layer ${a.join(", ")};`,wrap(i,n){return t.disableLayers?n:{[`@layer ${e[i]}`]:n}}}}function Mu(t){let{utility:e,normalize:r}=t,{hasShorthand:a,resolveShorthand:i}=e;return function(n){return Pt(n,r,{stop:l=>Array.isArray(l),getKey:a?i:void 0})}}function xu(t){let{preflight:e}=t;if(!e)return{};let{scope:r="",level:a="parent"}=$1(e)?e:{},i="";r&&a==="parent"?i=`${r} `:r&&a==="element"&&(i=`&${r}`);let n={"*":{margin:"0px",padding:"0px",font:"inherit",wordWrap:"break-word",WebkitTapHighlightColor:"transparent"},"*, *::before, *::after, *::backdrop":{boxSizing:"border-box",borderWidth:"0px",borderStyle:"solid",borderColor:"var(--global-color-border, currentColor)"},hr:{height:"0px",color:"inherit",borderTopWidth:"1px"},body:{minHeight:"100dvh",position:"relative"},img:{borderStyle:"none"},"img, svg, video, canvas, audio, iframe, embed, object":{display:"block",verticalAlign:"middle"},iframe:{border:"none"},"img, video":{maxWidth:"100%",height:"auto"},"p, h1, h2, h3, h4, h5, h6":{overflowWrap:"break-word"},"ol, ul":{listStyle:"none"},"code, kbd, pre, samp":{fontSize:"1em"},"button, [type='button'], [type='reset'], [type='submit']":{WebkitAppearance:"button",backgroundColor:"transparent",backgroundImage:"none"},"button, input, optgroup, select, textarea":{color:"inherit"},"button, select":{textTransform:"none"},table:{textIndent:"0px",borderColor:"inherit",borderCollapse:"collapse"},"*::placeholder":{opacity:"unset",color:"#9ca3af",userSelect:"none"},textarea:{resize:"vertical"},summary:{display:"list-item"},small:{fontSize:"80%"},"sub, sup":{fontSize:"75%",lineHeight:0,position:"relative",verticalAlign:"baseline"},sub:{bottom:"-0.25em"},sup:{top:"-0.5em"},dialog:{padding:"0px"},a:{color:"inherit",textDecoration:"inherit"},"abbr:where([title])":{textDecoration:"underline dotted"},"b, strong":{fontWeight:"bolder"},"code, kbd, samp, pre":{fontSize:"1em","--font-mono-fallback":"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New'",fontFamily:"var(--global-font-mono, var(--font-mono-fallback))"},'input[type="text"], input[type="email"], input[type="search"], input[type="password"]':{WebkitAppearance:"none",MozAppearance:"none"},"input[type='search']":{WebkitAppearance:"textfield",outlineOffset:"-2px"},"::-webkit-search-decoration, ::-webkit-search-cancel-button":{WebkitAppearance:"none"},"::-webkit-file-upload-button":{WebkitAppearance:"button",font:"inherit"},'input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button':{height:"auto"},"input[type='number']":{MozAppearance:"textfield"},":-moz-ui-invalid":{boxShadow:"none"},":-moz-focusring":{outline:"auto"},"[hidden]:where(:not([hidden='until-found']))":{display:"none !important"}},l={[r||"html"]:{lineHeight:1.5,"--font-fallback":"ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",WebkitTextSizeAdjust:"100%",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",textRendering:"optimizeLegibility",touchAction:"manipulation",MozTabSize:"4",tabSize:"4",fontFamily:"var(--global-font-body, var(--font-fallback))"}};if(a==="element"){let o=Object.entries(n).reduce((c,[h,d])=>(c[h]={[i]:d},c),{});Object.assign(l,o)}else i?l[i]=n:Object.assign(l,n);return l}function Hu(t){let{conditions:e,isValidProperty:r}=t,a=A1((i,n)=>r(i)?!n.split(",").every(l=>l==="base"||e.has(l)):!0);return function(n){return Pt(n,l=>l,{stop:l=>Array.isArray(l),getKey:(l,o)=>!$1(o)||e.has(l)?l:a(l,Object.keys(o).join(","))?LC(l).map(c=>{let h=c.startsWith("&")?c.slice(1):c;return yC(h)?`${h} &`:`&${h}`}).join(", "):l})}}function yC(t){let e=t.toLowerCase();return e.startsWith(":host-context")||e.startsWith(":host")||e.startsWith("::slotted")}function LC(t){let e=[],r=0,a="",i=!1;for(let n=0;n<t.length;n++){let l=t[n];if(l==="\\"&&!i){i=!0,a+=l;continue}if(i){i=!1,a+=l;continue}l==="("?r++:l===")"&&r--,l===","&&r===0?(e.push(a.trim()),a=""):a+=l}return a&&e.push(a.trim()),e}var CC=(t=H1)=>{let e=i=>({base:t.base?.[i]??H1,variants:Nr(),defaultVariants:t.defaultVariants??H1,compoundVariants:t.compoundVariants?SC(t.compoundVariants,i):au}),a=(t.slots??[]).map(i=>[i,e(i)]);for(let[i,n]of Object.entries(t.variants??{}))for(let[l,o]of Object.entries(n))a.forEach(([c,h])=>{var d;(d=h.variants)[i]??(d[i]={}),h.variants[i][l]=o[c]??H1});return Object.fromEntries(a)},SC=(t,e)=>t.filter(r=>r.css[e]).map(r=>({...r,css:r.css[e]}));function Vu(t){let{cva:e}=t;return function(a=H1){let i=Object.entries(CC(a)).map(([s,v])=>[s,e(v)]),n=A1(function(v){let p=i.map(([g,f])=>[g,f(v)]);return Object.fromEntries(p)}),l=a.variants??H1,o=Object.keys(l);function c(s){let v=Il(s,["recipe"]),[p,g]=ee(v,o),f=o.includes("colorPalette"),V=o.includes("orientation");return f||(p.colorPalette=s.colorPalette||a.defaultVariants?.colorPalette),V&&(g.orientation=s.orientation),[p,g]}let h=vt(l,(s,v)=>[s,Object.keys(v)]),d={};return a.className&&(d=Object.fromEntries(a.slots.map(s=>[s,`${a.className}__${s}`]))),Object.assign(n,{variantMap:h,variantKeys:o,splitVariantProps:c,classNameMap:d})}}var wu=()=>t=>Array.from(new Set(t));var BC=/([\0-\x1f\x7f]|^-?\d)|^-$|^-|[^\x80-\uFFFF\w-]/g,kC=function(t,e){return e?t==="\0"?"\uFFFD":t==="-"&&t.length===1?"\\-":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16):"\\"+t},ql=t=>(t+"").replace(BC,kC);var W3=(t,e)=>{let r="",a=0,i="char",n="",l="",o=[];for(;a<t.length;){let c=t[a];if(c==="{"){let d=t.indexOf("}",a);if(d===-1)break;let s=t.slice(a+1,d),v=e(s);r+=v??s,a=d+1;continue}if(i==="token"&&c===","){t[a]===""&&a++,i="fallback",o.push(i);let d=e(n);d?.endsWith(")")&&(r+=d.slice(0,-1)),n="",l="";continue}if(i==="fallback"&&l+c===", var("){let v=OC(t.slice(a+1))+a+1,p=t.slice(a+1,v);if(v===-1)break;r+=", var("+p+")",a=v+1,i=o.pop()??i,l="";continue}if(i==="token"||i==="fallback"){if(a++,c===")"){i=o.pop()??i??"char",l+=c;let d=n&&(e(n)??ql(n));if(l){if(l=l.slice(1).trim(),!l.startsWith("token(")&&l.endsWith(")")&&(l=l.slice(0,-1)),l.includes("token(")){let v=W3(l,e);v&&(l=v.slice(0,-1))}else if(l){let v=e(l);v&&(l=v)}}let s=r.at(-1);l?s?.trim()?r+=d.slice(0,-1)+(", "+l+")"):r+=l:r+=d||")",n="",l="",i="char";continue}i==="token"&&(n+=c),i==="fallback"&&(l+=c);continue}let h=t.indexOf("token(",a);if(h!==-1){let d=h+6;r+=t.slice(a,h),a=d,i="token",o.push(i);continue}r+=c,a++}return r},OC=t=>{let e=0,r=["("];for(;e<t.length;){let a=t[e];if(a==="(")r.push(a);else if(a===")"&&(r.pop(),r.length===0))return e;e++}return e};function Yl(t){let e={};return t.forEach((r,a)=>{r instanceof Map?e[a]=Object.fromEntries(r):e[a]=r}),e}var bu=/({([^}]*)})/g,AC=/[{}]/g,yu=/\w+\.\w+/,Ql=t=>{if(!xt(t))return[];let e=t.match(bu);return e?e.map(r=>r.replace(AC,"").trim()):[]},Lu=t=>bu.test(t);function U3(t){if(!t.extensions?.references)return t.extensions?.cssVar?.ref??t.value;let e=t.extensions.references??{},r=t.value,a=Object.keys(e);for(let i=0;i<a.length;i++){let n=a[i],l=e[n];if(l.extensions.conditions)continue;let o=U3(l);r=r.replace(`{${n}}`,o)}return t.value=r,delete t.extensions.references,t.value}function G3(t,e){if(e==null||!Array.isArray(e))return e;switch(t){case"easings":return`cubic-bezier(${e.join(", ")})`;case"animations":case"fonts":case"gradients":case"shadows":return e.join(", ");default:return e}}function Cu(t,e){let r={};for(let a in e)r[a]=G3(t,e[a]);return r}var _C=/calc/g;function Au(t){return $1(t)&&t.reference?t.reference:String(t)}var Xl=(t,...e)=>e.map(Au).join(` ${t} `).replace(_C,""),Su=(...t)=>`calc(${Xl("+",...t)})`,Bu=(...t)=>`calc(${Xl("-",...t)})`,$3=(...t)=>`calc(${Xl("*",...t)})`,ku=(...t)=>`calc(${Xl("/",...t)})`,Ou=t=>{let e=Au(t);return e!=null&&!Number.isNaN(parseFloat(e))?String(e).startsWith("-")?String(e).slice(1):`-${e}`:$3(e,-1)},Dr=Object.assign(t=>({add:(...e)=>Dr(Su(t,...e)),subtract:(...e)=>Dr(Bu(t,...e)),multiply:(...e)=>Dr($3(t,...e)),divide:(...e)=>Dr(ku(t,...e)),negate:()=>Dr(Ou(t)),toString:()=>t.toString()}),{add:Su,subtract:Bu,multiply:$3,divide:ku,negate:Ou});var EC={enforce:"pre",transform(t){let{prefix:e,allTokens:r,formatCssVar:a,formatTokenName:i,registerToken:n}=t;r.filter(({extensions:o})=>o.category==="spacing").forEach(o=>{let c=o.path.slice(),h=a(c,e);if(xt(o.value)&&o.value==="0rem")return;let d=[...o.path],s=d[d.length-1];s!=null&&(d[d.length-1]=`-${s}`);let v={...o,value:Dr.negate(h.ref),name:i(d),path:d,extensions:{...o.extensions,negative:!0,prop:`-${o.extensions.prop}`,originalPath:c}};n(v)})}},TC=new Set(["spacing","sizes","borderWidths","fontSizes","radii"]),RC={enforce:"post",transform(t){t.allTokens.filter(r=>TC.has(r.extensions.category)&&!r.extensions.negative).forEach(r=>{Object.assign(r.extensions,{pixelValue:$l(r.value)})})}},PC={enforce:"post",transform(t){let{allTokens:e,registerToken:r,formatTokenName:a}=t,i=e.filter(({extensions:o})=>o.category==="colors"),n=new Map,l=new Map;i.forEach(o=>{let{colorPalette:c}=o.extensions;c&&(c.keys.forEach(h=>{n.set(a(h),h)}),c.roots.forEach(h=>{let d=a(h),s=l.get(d)||[];if(s.push(o),l.set(d,s),o.extensions.default&&h.length===1){let v=c.keys[0]?.filter(Boolean);if(!v.length)return;let p=h.concat(v);n.set(a(p),[])}}))}),n.forEach(o=>{let c=["colors","colorPalette",...o].filter(Boolean),h=a(c),d=a(c.slice(1));r({name:h,value:h,originalValue:h,path:c,extensions:{condition:"base",originalPath:c,category:"colors",prop:d,virtual:!0}},"pre")})}},IC={enforce:"post",transform(t){let e=[],r=[];t.allTokens.forEach(a=>{a.value===""?e.push(a):r.push(a)}),t.allTokens.splice(0,t.allTokens.length,...r),e.forEach(a=>{if(t.tokenMap.get(a.name)!==a)return;let i=t.allTokens.find(n=>n.name===a.name);if(!i){t.tokenMap.delete(a.name);return}a.extensions.conditions&&!i.extensions.conditions&&(i.extensions.conditions=a.extensions.conditions),t.tokenMap.set(a.name,i)})}},_u=[EC,PC,RC,IC];var NC={type:"extensions",enforce:"pre",name:"tokens/css-var",transform(t,e){let{prefix:r,formatCssVar:a}=e,{negative:i,originalPath:n}=t.extensions,l=i?n:t.path;return{cssVar:a(l.filter(Boolean),r)}}},DC={enforce:"post",type:"value",name:"tokens/conditionals",transform(t,e){let{prefix:r,formatCssVar:a,getByName:i}=e,n=Ql(t.value);return n.length&&n.forEach(l=>{if(!i(l))return;let o=a(l.split("."),r);t.value=t.value.replaceAll(`{${l}}`,o.ref)}),t.value}},FC={type:"extensions",enforce:"pre",name:"tokens/colors/colorPalette",match(t){return t.extensions.category==="colors"&&!t.extensions.virtual},transform(t,e){let r=t.path.slice();if(r.pop(),r.shift(),r.length===0){let o=[...t.path];o.shift(),r=o}if(r.length===0)return{};let a=r.reduce((o,c,h,d)=>{let s=d.slice(0,h+1);return o.push(s),o},[]),i=r[0],n=e.formatTokenName(r),l=t.path.slice(t.path.indexOf(i)+1).reduce((o,c,h,d)=>(o.push(d.slice(h)),o),[]);return l.length===0&&l.push([""]),{colorPalette:{value:n,roots:a,keys:l}}}},Eu=[NC,DC,FC];var Tu=t=>$1(t)&&Object.prototype.hasOwnProperty.call(t,"value");function WC(t){return t?{breakpoints:Dl(t,e=>({value:e})),sizes:vt(t,(e,r)=>[`breakpoint-${e}`,{value:r}])}:{breakpoints:{},sizes:{}}}function Pu(t){let{prefix:e="",tokens:r={},semanticTokens:a={},breakpoints:i={}}=t,n=_=>_.join("."),l=(_,T)=>Ul(_.join("-"),{prefix:T}),o=[],c=new Map,h=new Map,d=new Map,s=new Map,v=new Map,p=new Map,g=new Map,f=new Map,V=[];function u(_,T){o.push(_),(_.extensions.condition==="base"||!c.has(_.name))&&c.set(_.name,_),T&&f.forEach(r1=>{r1.enforce===T&&H(r1,_)})}let m=WC(i),z=te({...r,breakpoints:m.breakpoints,sizes:{...r.sizes,...m.sizes}});function y(){Pt(z,(_,T)=>{let r1=T.includes("DEFAULT");T=Ru(T);let o1=T[0],z1=n(T),L1=xt(_)?{value:_}:_,ht=G3(o1,L1.value),_1={value:ht,originalValue:ht,name:z1,path:T,extensions:{condition:"base",originalPath:T,category:o1,prop:n(T.slice(1))}};r1&&(_1.extensions.default=!0),u(_1)},{stop:Tu}),Pt(a,(_,T)=>{let r1=T.includes("DEFAULT");T=Iu(Ru(T));let o1=T[0],z1=n(T),L1=xt(_.value)||Array.isArray(_.value)?{value:{base:_.value}}:_,ht=Cu(o1,L1.value),_1={value:ht.base??"",originalValue:ht.base??"",name:z1,path:T,extensions:{originalPath:T,category:o1,conditions:ht,condition:"base",prop:n(T.slice(1))}};r1&&(_1.extensions.default=!0),u(_1)},{stop:Tu})}function b(_){return c.get(_)}function x(_){let{condition:T}=_.extensions;T&&(h.has(T)||h.set(T,new Set),h.get(T).add(_))}function S(_){let{category:T,prop:r1,condition:o1,conditions:z1}=_.extensions;if(!T)return;g.has(T)||g.set(T,new Map);let L1=g.get(T),ht=L1.get(r1);if(o1==null||o1==="base"){L1.set(r1,_);return}z1&&!ht&&L1.set(r1,_)}function C(_){let{condition:T,negative:r1,virtual:o1,cssVar:z1}=_.extensions;r1||o1||!T||!z1||_.value===""||(d.has(T)||d.set(T,new Map),d.get(T).set(z1.var,_.value))}function O(_){let{category:T,prop:r1,cssVar:o1,negative:z1}=_.extensions;if(!T)return;p.has(T)||p.set(T,new Map);let L1=z1?_.extensions.conditions?_.originalValue:_.value:o1.ref;p.get(T).set(r1,L1),v.set([T,r1].join("."),L1)}function w(_){let{colorPalette:T,virtual:r1,default:o1}=_.extensions;!T||r1||T.roots.forEach(z1=>{let L1=n(z1);s.has(L1)||s.set(L1,new Map);let ht=GC([..._.path],[...z1]),_1=n(ht),M1=b(_1);if(!M1||!M1.extensions.cssVar)return;let{var:o2}=M1.extensions.cssVar;if(s.get(L1).set(o2,_.extensions.cssVar.ref),o1&&z1.length===1){let a1=n(["colors","colorPalette"]),j2=b(a1);if(!j2)return;let j1=n(_.path),b1=b(j1);if(!b1)return;let ce=T.keys[0]?.filter(Boolean);if(!ce.length)return;let c2=n(z1.concat(ce));s.has(c2)||s.set(c2,new Map),s.get(c2).set(j2.extensions.cssVar.var,b1.extensions.cssVar.ref)}})}let Y={};function W(){o.forEach(_=>{x(_),S(_),C(_),O(_),w(_)}),Y=Yl(p)}let E=(_,T)=>{if(!_||typeof _!="string")return{invalid:!0,value:_};let[r1,o1]=_.split("/");if(!r1||!o1)return{invalid:!0,value:r1};let z1=T(r1),L1=b(`opacity.${o1}`)?.value;if(!L1&&isNaN(Number(o1)))return{invalid:!0,value:r1};let ht=L1?Number(L1)*100+"%":`${o1}%`,_1=z1??r1;return{invalid:!1,color:_1,value:`color-mix(in srgb, ${_1} ${ht}, transparent)`}},G=A1((_,T)=>v.get(_)??T),j=A1(_=>Y[_]||null),B=A1(_=>W3(_,T=>{if(!T)return;if(T.includes("/")){let o1=E(T,z1=>G(z1));if(o1.invalid)throw new Error("Invalid color mix at "+T+": "+o1.value);return o1.value}let r1=G(T);return r1||(yu.test(T)?ql(T):T)})),R={prefix:e,allTokens:o,tokenMap:c,registerToken:u,getByName:b,formatTokenName:n,formatCssVar:l,flatMap:v,cssVarMap:d,categoryMap:g,colorPaletteMap:s,getVar:G,getCategoryValues:j,expandReferenceInValue:B};function F(..._){_.forEach(T=>{f.set(T.name,T)})}function J(..._){V.push(..._)}function H(_,T){if(T.extensions.references||J0(_.match)&&!_.match(T))return;let o1=(z1=>_.transform(z1,R))(T);switch(!0){case _.type==="extensions":Object.assign(T.extensions,o1);break;case _.type==="value":T.value=o1;break;default:T[_.type]=o1;break}}function h1(_){V.forEach(T=>{T.enforce===_&&T.transform(R)})}function p1(_){f.forEach(T=>{T.enforce===_&&o.forEach(r1=>{H(T,r1)})})}function M(){o.slice().forEach(_=>{let T=UC(_);!T||T.length===0||T.forEach(r1=>{u(r1)})})}function t1(_){let T=Ql(_),r1=[];for(let o1=0;o1<T.length;o1++){let z1=b(T[o1]);z1&&r1.push(z1)}return r1}function d1(){o.forEach(_=>{if(!Lu(_.value))return;let T=t1(_.value);_.extensions.references=T.reduce((r1,o1)=>(r1[o1.name]=o1,r1),{})})}function F1(){o.forEach(_=>{U3(_)})}function gt(){h1("pre"),p1("pre"),M(),d1(),F1(),h1("post"),p1("post"),W()}return y(),F(...Eu),J(..._u),gt(),R}function Ru(t){return t[0]==="DEFAULT"?t:t.filter(e=>e!=="DEFAULT")}function Iu(t){return t.filter(e=>e!=="base")}function UC(t){if(!t.extensions.conditions)return;let{conditions:e}=t.extensions,r=[];return Pt(e,(a,i)=>{let n=Iu(i);if(!n.length)return;let l={...t,value:a,extensions:{...t.extensions,condition:n.join(":")}};r.push(l)}),r}function GC(t,e){let r=t.findIndex((a,i)=>e.every((n,l)=>t[i+l]===n));return r===-1||(t.splice(r,e.length),t.splice(r,0,"colorPalette")),t}var rK=wu()(["aspectRatios","zIndex","opacity","colors","fonts","fontSizes","fontWeights","lineHeights","letterSpacings","sizes","shadows","spacing","radii","cursor","borders","borderWidths","borderStyles","durations","easings","animations","blurs","gradients","breakpoints","assets"]);function $C(t){return vt(t,(e,r)=>[e,r])}function Nu(t){let e=$C(t.config),r=t.tokens,a=new Map,i=new Map;function n(C,O){e[C]=O,l(C,O)}let l=(C,O)=>{let w=f(O);w&&(i.set(C,w),s(C,O))},o=()=>{for(let[C,O]of Object.entries(e))O&&l(C,O)},c=()=>{for(let[C,O]of Object.entries(e)){let{shorthand:w}=O??{};if(!w)continue;(Array.isArray(w)?w:[w]).forEach(W=>a.set(W,C))}},h=()=>{let C=Yl(r.colorPaletteMap);n("colorPalette",{values:Object.keys(C),transform:A1(O=>C[O])})},d=new Map,s=(C,O)=>{if(!O)return;let w=f(O,W=>`type:Tokens["${W}"]`);if(typeof w=="object"&&w.type){d.set(C,new Set([`type:${w.type}`]));return}if(w){let W=new Set(Object.keys(w));d.set(C,W)}let Y=d.get(C)??new Set;O.property&&d.set(C,Y.add(`CssProperties["${O.property}"]`))},v=()=>{for(let[C,O]of Object.entries(e))O&&s(C,O)},p=(C,O)=>{let w=d.get(C)??new Set;d.set(C,new Set([...w,...O]))},g=()=>{let C=new Map;for(let[O,w]of d.entries()){if(w.size===0){C.set(O,["string"]);continue}let Y=Array.from(w).map(W=>W.startsWith("CssProperties")?W:W.startsWith("type:")?W.replace("type:",""):JSON.stringify(W));C.set(O,Y)}return C},f=(C,O)=>{let{values:w}=C,Y=W=>{let E=O?.(W);return E?{[E]:E}:void 0};if(xt(w))return Y?.(w)??r.getCategoryValues(w)??H1;if(Array.isArray(w)){let W={};for(let E=0;E<w.length;E++)W[w[E]]=w[E];return W}return J0(w)?w(O?Y:r.getCategoryValues):w},V=A1((C,O)=>({[C]:C.startsWith("--")?r.getVar(O,O):O})),u=Object.assign(r.getVar,{raw:C=>r.getByName(C)}),m=A1((C,O)=>{let w=b(C);xt(O)&&!O.includes("_EMO_")&&(O=r.expandReferenceInValue(O));let Y=e[w];if(!Y)return V(w,O);let W=i.get(w)?.[O];if(!Y.transform)return V(C,W??O);let E=G=>Kp(G,u);return Y.transform(W??O,{raw:O,token:u,utils:{colorMix:E}})});function z(){c(),h(),o(),v()}z();let y=a.size>0,b=A1(C=>a.get(C)??C);return{keys:()=>[...Array.from(a.keys()),...Object.keys(e)],hasShorthand:y,transform:m,shorthands:a,resolveShorthand:b,register:n,getTypes:g,addPropertyType:p}}function di(...t){let e=Wl(...t),{theme:r={},utilities:a={},globalCss:i={},cssVarsRoot:n=":where(:root, :host)",cssVarsPrefix:l="chakra",preflight:o}=e,c=zu(e),h=Pu({breakpoints:r.breakpoints,tokens:r.tokens,semanticTokens:r.semanticTokens,prefix:l}),d=eu(r.breakpoints??H1),s=ru({conditions:e.conditions??H1,breakpoints:d}),v=Nu({config:a,tokens:h});function p(){let{textStyles:M,layerStyles:t1,animationStyles:d1}=r,F1=te({textStyle:M,layerStyle:t1,animationStyle:d1});for(let[gt,_]of Object.entries(F1)){let T=T3(_??H1,Wu);v.register(gt,{values:Object.keys(T),transform(r1){return z(T[r1])}})}}p(),v.addPropertyType("animationName",Object.keys(r.keyframes??H1));let g=new Set(["css",...v.keys(),...s.keys()]),f=A1(M=>g.has(M)||Zp(M)),V=M=>{if(Array.isArray(M)){let t1=Nr();for(let d1=0;d1<M.length;d1++){let F1=M[d1];if(F1!=null){let gt=s.breakpoints[d1];t1[gt]=F1}}return t1}return M},u=Mu({utility:v,normalize:V}),m=Hu({conditions:s,isValidProperty:f}),z=Kl({transform:v.transform,conditions:s,normalize:u}),y=mu({css:z,conditions:s,normalize:u,layers:c}),b=Vu({cva:y});function x(){let M={};for(let[t1,d1]of h.cssVarMap.entries()){let F1=Object.fromEntries(d1);if(Object.keys(F1).length===0)continue;let gt=t1==="base"?n:s.resolve(t1),_=gt.startsWith("@"),T=z(m({[gt]:_?{[n]:F1}:F1}));O2(M,T)}return c.wrap("tokens",M)}function S(){let M=vt(r.keyframes??H1,(d1,F1)=>[`@keyframes ${d1}`,F1]),t1=Object.assign({},M,z(m(i)));return c.wrap("base",t1)}function C(M){return ee(M,f)}function O(){let M=xu({preflight:o});return c.wrap("reset",M)}let w=jC(h),Y=(M,t1)=>w.get(M)?.value||t1;Y.var=(M,t1)=>w.get(M)?.variable||t1;function W(M,t1){return r.recipes?.[M]??t1}function E(M,t1){return r.slotRecipes?.[M]??t1}let G=new Map,j=new Map;function B(M,t1){let d1=G.get(M);return d1||(d1=y(W(M,t1??H1)),G.set(M,d1)),d1}function R(M,t1){let d1=j.get(M);return d1||(d1=b(E(M,t1??H1)),j.set(M,d1)),d1}function F(M){return Object.hasOwnProperty.call(r.recipes??H1,M)}function J(M){return Object.hasOwnProperty.call(r.slotRecipes??H1,M)}function H(M){return F(M)||J(M)}let h1=[O(),S(),x()],p1={layerStyles:j3(r.layerStyles??H1),textStyles:j3(r.textStyles??H1),animationStyles:j3(r.animationStyles??H1),tokens:Du(h,Object.keys(r.tokens??H1),(M,t1)=>!M.extensions.conditions&&!t1.includes("colorPalette")),semanticTokens:Du(h,Object.keys(r.semanticTokens??H1),M=>!!M.extensions.conditions),keyframes:Fu(r.keyframes??H1),breakpoints:Fu(r.breakpoints??H1)};return{$$chakra:!0,_config:e,_global:h1,breakpoints:d,tokens:h,conditions:s,utility:v,token:Y,properties:g,layers:c,isValidProperty:f,splitCssProps:C,normalizeValue:V,getTokenCss:x,getGlobalCss:S,getPreflightCss:O,css:z,cva:y,sva:b,getRecipe:W,getSlotRecipe:E,getRecipeFn:B,getSlotRecipeFn:R,hasRecipe:H,isRecipe:F,isSlotRecipe:J,query:p1}}function jC(t){let e=new Map,r=new Set(t.allTokens.map(a=>a.name));for(let a of r){let i=t.getByName(a);if(!i?.extensions.cssVar)continue;let{cssVar:n,virtual:l,conditions:o}=i.extensions,h=!!o||l?n.ref:i.value;e.set(a,{value:h,variable:n.ref})}return e}var Wu=t=>$1(t)&&"value"in t,j3=t=>({list(){return Object.keys(T3(t,Wu))},search(e){return this.list().filter(r=>r.includes(e))}}),Du=(t,e,r)=>({categoryKeys:e,list(a){let i=t.categoryMap.get(a),n=i?[...i.entries()]:[],l=[];for(let o=0;o<n.length;o++){let[c,h]=n[o];r(h,c)&&l.push(c)}return l},search(a,i){return this.list(a).filter(n=>n.includes(i))}}),Fu=t=>({list(){return Object.keys(t)},search(e){return this.list().filter(r=>r.includes(e))}});var Uu={sm:"480px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"};var K3="var(--chakra-empty, )",Gu=O3({"*":{fontFeatureSettings:'"cv11"',"--ring-inset":K3,"--ring-offset-width":"0px","--ring-offset-color":"#fff","--ring-color":"rgba(66, 153, 225, 0.6)","--ring-offset-shadow":"0 0 #0000","--ring-shadow":"0 0 #0000",...Object.fromEntries(["brightness","contrast","grayscale","hue-rotate","invert","saturate","sepia","drop-shadow"].map(t=>[`--${t}`,K3])),...Object.fromEntries(["blur","brightness","contrast","grayscale","hue-rotate","invert","opacity","saturate","sepia"].map(t=>[`--backdrop-${t}`,K3])),"--global-font-mono":"fonts.mono","--global-font-body":"fonts.body","--global-color-border":"colors.border"},html:{color:"fg",bg:"bg",lineHeight:"1.5",colorPalette:"gray"},"*::placeholder, *[data-placeholder]":{color:"fg.muted/80"},"*::selection":{bg:"colorPalette.emphasized/80"}});var $u=E3({"fill.muted":{value:{background:"colorPalette.muted",color:"colorPalette.fg"}},"fill.subtle":{value:{background:"colorPalette.subtle",color:"colorPalette.fg"}},"fill.surface":{value:{background:"colorPalette.subtle",color:"colorPalette.fg",boxShadow:"0 0 0px 1px var(--shadow-color)",boxShadowColor:"colorPalette.muted"}},"fill.solid":{value:{background:"colorPalette.solid",color:"colorPalette.contrast"}},"outline.subtle":{value:{color:"colorPalette.fg",boxShadow:"inset 0 0 0px 1px var(--shadow-color)",boxShadowColor:"colorPalette.subtle"}},"outline.solid":{value:{borderWidth:"1px",borderColor:"colorPalette.solid",color:"colorPalette.fg"}},"indicator.bottom":{value:{position:"relative","--indicator-color-fallback":"colors.colorPalette.solid",_before:{content:'""',position:"absolute",bottom:"var(--indicator-offset-y, 0)",insetInline:"var(--indicator-offset-x, 0)",height:"var(--indicator-thickness, 2px)",background:"var(--indicator-color, var(--indicator-color-fallback))"}}},"indicator.top":{value:{position:"relative","--indicator-color-fallback":"colors.colorPalette.solid",_before:{content:'""',position:"absolute",top:"var(--indicator-offset-y, 0)",insetInline:"var(--indicator-offset-x, 0)",height:"var(--indicator-thickness, 2px)",background:"var(--indicator-color, var(--indicator-color-fallback))"}}},"indicator.start":{value:{position:"relative","--indicator-color-fallback":"colors.colorPalette.solid",_before:{content:'""',position:"absolute",insetInlineStart:"var(--indicator-offset-x, 0)",insetBlock:"var(--indicator-offset-y, 0)",width:"var(--indicator-thickness, 2px)",background:"var(--indicator-color, var(--indicator-color-fallback))"}}},"indicator.end":{value:{position:"relative","--indicator-color-fallback":"colors.colorPalette.solid",_before:{content:'""',position:"absolute",insetInlineEnd:"var(--indicator-offset-x, 0)",insetBlock:"var(--indicator-offset-y, 0)",width:"var(--indicator-thickness, 2px)",background:"var(--indicator-color, var(--indicator-color-fallback))"}}},disabled:{value:{opacity:"0.5",cursor:"not-allowed"}},none:{value:{}}});var ju=_3({"slide-fade-in":{value:{transformOrigin:"var(--transform-origin)","&[data-placement^=top]":{animationName:"slide-from-bottom, fade-in"},"&[data-placement^=bottom]":{animationName:"slide-from-top, fade-in"},"&[data-placement^=left]":{animationName:"slide-from-right, fade-in"},"&[data-placement^=right]":{animationName:"slide-from-left, fade-in"}}},"slide-fade-out":{value:{transformOrigin:"var(--transform-origin)","&[data-placement^=top]":{animationName:"slide-to-bottom, fade-out"},"&[data-placement^=bottom]":{animationName:"slide-to-top, fade-out"},"&[data-placement^=left]":{animationName:"slide-to-right, fade-out"},"&[data-placement^=right]":{animationName:"slide-to-left, fade-out"}}},"scale-fade-in":{value:{transformOrigin:"var(--transform-origin)",animationName:"scale-in, fade-in"}},"scale-fade-out":{value:{transformOrigin:"var(--transform-origin)",animationName:"scale-out, fade-out"}}});var _a=Z({className:"chakra-badge",base:{display:"inline-flex",alignItems:"center",borderRadius:"l2",gap:"1",fontWeight:"medium",fontVariantNumeric:"tabular-nums",whiteSpace:"nowrap",userSelect:"none"},variants:{variant:{solid:{bg:"colorPalette.solid",color:"colorPalette.contrast"},subtle:{bg:"colorPalette.subtle",color:"colorPalette.fg"},outline:{color:"colorPalette.fg","--outline-shadow-legacy":"colors.colorPalette.muted","--outline-shadow":"colors.colorPalette.border",shadow:"inset 0 0 0px 1px var(--shadow-color)",shadowColor:"var(--outline-shadow, var(--outline-shadow-legacy))"},surface:{bg:"colorPalette.subtle",color:"colorPalette.fg",shadow:"inset 0 0 0px 1px var(--shadow-color)",shadowColor:"colorPalette.muted"},plain:{color:"colorPalette.fg"}},size:{xs:{textStyle:"2xs",px:"1",minH:"4"},sm:{textStyle:"xs",px:"1.5",minH:"5"},md:{textStyle:"sm",px:"2",minH:"6"},lg:{textStyle:"sm",px:"2.5",minH:"7"}}},defaultVariants:{variant:"subtle",size:"sm"}});var Ku=Z({className:"chakra-button",base:{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",borderRadius:"l2",whiteSpace:"nowrap",verticalAlign:"middle",borderWidth:"1px",borderColor:"transparent",cursor:"button",flexShrink:"0",outline:"0",lineHeight:"1.2",isolation:"isolate",fontWeight:"medium",transitionProperty:"common",transitionDuration:"moderate",focusVisibleRing:"outside",_disabled:{layerStyle:"disabled"},_icon:{flexShrink:"0"}},variants:{size:{"2xs":{h:"6",minW:"6",textStyle:"xs",px:"2",gap:"1",_icon:{width:"3.5",height:"3.5"}},xs:{h:"8",minW:"8",textStyle:"xs",px:"2.5",gap:"1",_icon:{width:"4",height:"4"}},sm:{h:"9",minW:"9",px:"3.5",textStyle:"sm",gap:"2",_icon:{width:"4",height:"4"}},md:{h:"10",minW:"10",textStyle:"sm",px:"4",gap:"2",_icon:{width:"5",height:"5"}},lg:{h:"11",minW:"11",textStyle:"md",px:"5",gap:"3",_icon:{width:"5",height:"5"}},xl:{h:"12",minW:"12",textStyle:"md",px:"5",gap:"2.5",_icon:{width:"5",height:"5"}},"2xl":{h:"16",minW:"16",textStyle:"lg",px:"7",gap:"3",_icon:{width:"6",height:"6"}}},variant:{solid:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"transparent",_hover:{bg:"colorPalette.solid/90"},_expanded:{bg:"colorPalette.solid/90"}},subtle:{bg:"colorPalette.subtle",color:"colorPalette.fg",borderColor:"transparent",_hover:{bg:"colorPalette.muted"},_expanded:{bg:"colorPalette.muted"}},surface:{bg:"colorPalette.subtle",color:"colorPalette.fg",shadow:"0 0 0px 1px var(--shadow-color)",shadowColor:"colorPalette.muted",_hover:{bg:"colorPalette.muted"},_expanded:{bg:"colorPalette.muted"}},outline:{borderWidth:"1px","--outline-color-legacy":"colors.colorPalette.muted","--outline-color":"colors.colorPalette.border",borderColor:"var(--outline-color, var(--outline-color-legacy))",color:"colorPalette.fg",_hover:{bg:"colorPalette.subtle"},_expanded:{bg:"colorPalette.subtle"}},ghost:{bg:"transparent",color:"colorPalette.fg",_hover:{bg:"colorPalette.subtle"},_expanded:{bg:"colorPalette.subtle"}},plain:{color:"colorPalette.fg"}}},defaultVariants:{size:"md",variant:"solid"}});var lt=Z({className:"chakra-checkmark",base:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:"0",color:"white",borderWidth:"1px",borderColor:"transparent",borderRadius:"l1",cursor:"checkbox",focusVisibleRing:"outside",_icon:{boxSize:"full"},_invalid:{colorPalette:"red",borderColor:"border.error"},_disabled:{opacity:"0.5",cursor:"disabled"}},variants:{size:{xs:{boxSize:"3"},sm:{boxSize:"4"},md:{boxSize:"5",p:"0.5"},lg:{boxSize:"6",p:"0.5"}},variant:{solid:{borderColor:"border.emphasized","&:is([data-state=checked], [data-state=indeterminate])":{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"colorPalette.solid"}},outline:{borderColor:"border","&:is([data-state=checked], [data-state=indeterminate])":{color:"colorPalette.fg",borderColor:"colorPalette.solid"}},subtle:{bg:"colorPalette.muted",borderColor:"colorPalette.muted","&:is([data-state=checked], [data-state=indeterminate])":{color:"colorPalette.fg"}},plain:{"&:is([data-state=checked], [data-state=indeterminate])":{color:"colorPalette.fg"}},inverted:{borderColor:"border",color:"colorPalette.fg","&:is([data-state=checked], [data-state=indeterminate])":{borderColor:"colorPalette.solid"}}},filled:{true:{bg:"bg"}}},defaultVariants:{variant:"solid",size:"md"}});var{variants:KC,defaultVariants:qC}=_a,qu=Z({className:"chakra-code",base:{fontFamily:"mono",alignItems:"center",display:"inline-flex",borderRadius:"l2"},variants:KC,defaultVariants:qC});var Zl=Z({className:"color-swatch",base:{boxSize:"var(--swatch-size)",shadow:"inset 0 0 0 1px rgba(0, 0, 0, 0.1)","--checker-size":"8px","--checker-bg":"colors.bg","--checker-fg":"colors.bg.emphasized",background:"linear-gradient(var(--color), var(--color)), repeating-conic-gradient(var(--checker-fg) 0%, var(--checker-fg) 25%, var(--checker-bg) 0%, var(--checker-bg) 50%) 0% 50% / var(--checker-size) var(--checker-size) !important",display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:"0"},variants:{size:{"2xs":{"--swatch-size":"sizes.3.5"},xs:{"--swatch-size":"sizes.4"},sm:{"--swatch-size":"sizes.4.5"},md:{"--swatch-size":"sizes.5"},lg:{"--swatch-size":"sizes.6"},xl:{"--swatch-size":"sizes.7"},"2xl":{"--swatch-size":"sizes.8"},inherit:{"--swatch-size":"inherit"},full:{"--swatch-size":"100%"}},shape:{square:{borderRadius:"none"},circle:{borderRadius:"full"},rounded:{borderRadius:"l1"}}},defaultVariants:{size:"md",shape:"rounded"}});var Yu=Z({className:"chakra-container",base:{position:"relative",maxWidth:"8xl",w:"100%",mx:"auto",px:{base:"4",md:"6",lg:"8"}},variants:{centerContent:{true:{display:"flex",flexDirection:"column",alignItems:"center"}},fluid:{true:{maxWidth:"full"}}}});var Qu=Z({className:"chakra-heading",base:{fontFamily:"heading",fontWeight:"semibold"},variants:{size:{xs:{textStyle:"xs"},sm:{textStyle:"sm"},md:{textStyle:"md"},lg:{textStyle:"lg"},xl:{textStyle:"xl"},"2xl":{textStyle:"2xl"},"3xl":{textStyle:"3xl"},"4xl":{textStyle:"4xl"},"5xl":{textStyle:"5xl"},"6xl":{textStyle:"6xl"},"7xl":{textStyle:"7xl"}}},defaultVariants:{size:"xl"}});var Xu=Z({className:"chakra-icon",base:{display:"inline-block",lineHeight:"1em",flexShrink:"0",color:"currentcolor",verticalAlign:"middle"},variants:{size:{inherit:{},xs:{boxSize:"3"},sm:{boxSize:"4"},md:{boxSize:"5"},lg:{boxSize:"6"},xl:{boxSize:"7"},"2xl":{boxSize:"8"}}},defaultVariants:{size:"inherit"}});var N1=Z({className:"chakra-input",base:{width:"100%",minWidth:"0",outline:"0",position:"relative",appearance:"none",textAlign:"start",borderRadius:"l2",_disabled:{layerStyle:"disabled"},height:"var(--input-height)",minW:"var(--input-height)","--focus-color":"colors.colorPalette.focusRing","--error-color":"colors.border.error",_invalid:{focusRingColor:"var(--error-color)",borderColor:"var(--error-color)"}},variants:{size:{"2xs":{textStyle:"xs",px:"2","--input-height":"sizes.7"},xs:{textStyle:"xs",px:"2","--input-height":"sizes.8"},sm:{textStyle:"sm",px:"2.5","--input-height":"sizes.9"},md:{textStyle:"sm",px:"3","--input-height":"sizes.10"},lg:{textStyle:"md",px:"4","--input-height":"sizes.11"},xl:{textStyle:"md",px:"4.5","--input-height":"sizes.12"},"2xl":{textStyle:"lg",px:"5","--input-height":"sizes.16"}},variant:{outline:{bg:"transparent",borderWidth:"1px",borderColor:"border",focusVisibleRing:"inside",focusRingColor:"var(--focus-color)"},subtle:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted",focusVisibleRing:"inside",focusRingColor:"var(--focus-color)"},flushed:{bg:"transparent",borderBottomWidth:"1px",borderBottomColor:"border",borderRadius:"0",px:"0",_focusVisible:{borderColor:"var(--focus-color)",boxShadow:"0px 1px 0px 0px var(--focus-color)",_invalid:{borderColor:"var(--error-color)",boxShadow:"0px 1px 0px 0px var(--error-color)"}}}}},defaultVariants:{size:"md",variant:"outline"}});var Zu=Z({className:"chakra-input-addon",base:{flex:"0 0 auto",width:"auto",display:"flex",alignItems:"center",whiteSpace:"nowrap",alignSelf:"stretch",borderRadius:"l2"},variants:{size:N1.variants.size,variant:{outline:{borderWidth:"1px",borderColor:"border",bg:"bg.muted"},subtle:{borderWidth:"1px",borderColor:"transparent",bg:"bg.emphasized"},flushed:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}},defaultVariants:{size:"md",variant:"outline"}});var Ju=Z({className:"chakra-kbd",base:{display:"inline-flex",alignItems:"center",fontWeight:"medium",fontFamily:"mono",flexShrink:"0",whiteSpace:"nowrap",wordSpacing:"-0.5em",userSelect:"none",px:"1",borderRadius:"l2"},variants:{variant:{raised:{bg:"colorPalette.subtle",color:"colorPalette.fg",borderWidth:"1px",borderBottomWidth:"2px",borderColor:"colorPalette.muted"},outline:{borderWidth:"1px",color:"colorPalette.fg"},subtle:{bg:"colorPalette.muted",color:"colorPalette.fg"},plain:{color:"colorPalette.fg"}},size:{sm:{textStyle:"xs",height:"4.5"},md:{textStyle:"sm",height:"5"},lg:{textStyle:"md",height:"6"}}},defaultVariants:{size:"md",variant:"raised"}});var tg=Z({className:"chakra-link",base:{display:"inline-flex",alignItems:"center",outline:"none",gap:"1.5",cursor:"pointer",borderRadius:"l1",focusVisibleRing:"outside"},variants:{variant:{underline:{color:"colorPalette.fg",textDecoration:"underline",textUnderlineOffset:"3px",textDecorationColor:"currentColor/20"},plain:{color:"colorPalette.fg",_hover:{textDecoration:"underline",textUnderlineOffset:"3px",textDecorationColor:"currentColor/20"}}}},defaultVariants:{variant:"plain"}});var eg=Z({className:"chakra-mark",base:{bg:"transparent",color:"inherit",whiteSpace:"nowrap"},variants:{variant:{subtle:{bg:"colorPalette.subtle",color:"inherit"},solid:{bg:"colorPalette.solid",color:"colorPalette.contrast"},text:{fontWeight:"medium"},plain:{}}}});var ot=Z({className:"chakra-radiomark",base:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,verticalAlign:"top",color:"white",borderWidth:"1px",borderColor:"transparent",borderRadius:"full",cursor:"radio",_focusVisible:{outline:"2px solid",outlineColor:"colorPalette.focusRing",outlineOffset:"2px"},_invalid:{colorPalette:"red",borderColor:"red.500"},_disabled:{opacity:"0.5",cursor:"disabled"},"& .dot":{height:"100%",width:"100%",borderRadius:"full",bg:"currentColor",scale:"0.4"}},variants:{variant:{solid:{borderWidth:"1px",borderColor:"border.emphasized",_checked:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"colorPalette.solid"}},subtle:{borderWidth:"1px",bg:"colorPalette.muted",borderColor:"colorPalette.muted",color:"transparent",_checked:{color:"colorPalette.fg"}},outline:{borderWidth:"1px",borderColor:"inherit",_checked:{color:"colorPalette.fg",borderColor:"colorPalette.solid"},"& .dot":{scale:"0.6"}},inverted:{bg:"bg",borderWidth:"1px",borderColor:"inherit",_checked:{color:"colorPalette.solid",borderColor:"currentcolor"}}},size:{xs:{boxSize:"3"},sm:{boxSize:"4"},md:{boxSize:"5"},lg:{boxSize:"6"}},filled:{true:{bg:"bg"}}},defaultVariants:{variant:"solid",size:"md"}});var rg=Z({className:"chakra-separator",base:{display:"block",borderColor:"border"},variants:{variant:{solid:{borderStyle:"solid"},dashed:{borderStyle:"dashed"},dotted:{borderStyle:"dotted"}},orientation:{vertical:{borderInlineStartWidth:"var(--separator-thickness)"},horizontal:{borderTopWidth:"var(--separator-thickness)"}},size:{xs:{"--separator-thickness":"0.5px"},sm:{"--separator-thickness":"1px"},md:{"--separator-thickness":"2px"},lg:{"--separator-thickness":"3px"}}},defaultVariants:{size:"sm",variant:"solid",orientation:"horizontal"}});var ag=Z({className:"chakra-skeleton",base:{},variants:{loading:{true:{borderRadius:"l2",boxShadow:"none",backgroundClip:"padding-box",cursor:"default",color:"transparent",pointerEvents:"none",userSelect:"none",flexShrink:"0","&::before, &::after, *":{visibility:"hidden"}},false:{background:"unset",animation:"fade-in var(--fade-duration, 0.1s) ease-out !important"}},variant:{pulse:{background:"bg.emphasized",animation:"pulse",animationDuration:"var(--duration, 1.2s)"},shine:{"--animate-from":"200%","--animate-to":"-200%","--start-color":"colors.bg.muted","--end-color":"colors.bg.emphasized",backgroundImage:"linear-gradient(270deg,var(--start-color),var(--end-color),var(--end-color),var(--start-color))",backgroundSize:"400% 100%",animation:"bg-position var(--duration, 5s) ease-in-out infinite"},none:{animation:"none"}}},defaultVariants:{variant:"pulse",loading:!0}});var ig=Z({className:"chakra-skip-nav",base:{display:"inline-flex",bg:"bg.panel",padding:"2.5",borderRadius:"l2",fontWeight:"semibold",focusVisibleRing:"outside",textStyle:"sm",userSelect:"none",border:"0",height:"1px",width:"1px",margin:"-1px",outline:"0",overflow:"hidden",position:"absolute",clip:"rect(0 0 0 0)",_focusVisible:{clip:"auto",width:"auto",height:"auto",position:"fixed",top:"6",insetStart:"6"}}});var ng=Z({className:"chakra-spinner",base:{display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderWidth:"2px",borderRadius:"full",width:"var(--spinner-size)",height:"var(--spinner-size)",animation:"spin",animationDuration:"slowest","--spinner-track-color":"transparent",borderBottomColor:"var(--spinner-track-color)",borderInlineStartColor:"var(--spinner-track-color)"},variants:{size:{inherit:{"--spinner-size":"1em"},xs:{"--spinner-size":"sizes.3"},sm:{"--spinner-size":"sizes.4"},md:{"--spinner-size":"sizes.5"},lg:{"--spinner-size":"sizes.8"},xl:{"--spinner-size":"sizes.10"}}},defaultVariants:{size:"md"}});var lg=Z({className:"chakra-textarea",base:{width:"100%",minWidth:"0",outline:"0",position:"relative",appearance:"none",textAlign:"start",borderRadius:"l2",_disabled:{layerStyle:"disabled"},"--focus-color":"colors.colorPalette.focusRing","--error-color":"colors.border.error",_invalid:{focusRingColor:"var(--error-color)",borderColor:"var(--error-color)"}},variants:{size:{xs:{textStyle:"xs",px:"2",py:"1.5",scrollPaddingBottom:"1.5"},sm:{textStyle:"sm",px:"2.5",py:"2",scrollPaddingBottom:"2"},md:{textStyle:"sm",px:"3",py:"2",scrollPaddingBottom:"2"},lg:{textStyle:"md",px:"4",py:"3",scrollPaddingBottom:"3"},xl:{textStyle:"md",px:"4.5",py:"3.5",scrollPaddingBottom:"3.5"}},variant:{outline:{bg:"transparent",borderWidth:"1px",borderColor:"border",focusVisibleRing:"inside"},subtle:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted",focusVisibleRing:"inside"},flushed:{bg:"transparent",borderBottomWidth:"1px",borderBottomColor:"border",borderRadius:"0",px:"0",_focusVisible:{borderColor:"var(--focus-color)",boxShadow:"0px 1px 0px 0px var(--focus-color)"}}}},defaultVariants:{size:"md",variant:"outline"}});var og={badge:_a,button:Ku,code:qu,container:Yu,heading:Qu,input:N1,inputAddon:Zu,kbd:Ju,link:tg,mark:eg,separator:rg,skeleton:ag,skipNavLink:ig,spinner:ng,textarea:lg,icon:Xu,checkmark:lt,radiomark:ot,colorSwatch:Zl};var cg=Pr.colors({bg:{DEFAULT:{value:{_light:"{colors.white}",_dark:"{colors.black}"}},subtle:{value:{_light:"{colors.gray.50}",_dark:"{colors.gray.950}"}},muted:{value:{_light:"{colors.gray.100}",_dark:"{colors.gray.900}"}},emphasized:{value:{_light:"{colors.gray.200}",_dark:"{colors.gray.800}"}},inverted:{value:{_light:"{colors.black}",_dark:"{colors.white}"}},panel:{value:{_light:"{colors.white}",_dark:"{colors.gray.950}"}},error:{value:{_light:"{colors.red.50}",_dark:"{colors.red.950}"}},warning:{value:{_light:"{colors.orange.50}",_dark:"{colors.orange.950}"}},success:{value:{_light:"{colors.green.50}",_dark:"{colors.green.950}"}},info:{value:{_light:"{colors.blue.50}",_dark:"{colors.blue.950}"}}},fg:{DEFAULT:{value:{_light:"{colors.black}",_dark:"{colors.gray.50}"}},muted:{value:{_light:"{colors.gray.600}",_dark:"{colors.gray.400}"}},subtle:{value:{_light:"{colors.gray.400}",_dark:"{colors.gray.500}"}},inverted:{value:{_light:"{colors.gray.50}",_dark:"{colors.black}"}},error:{value:{_light:"{colors.red.500}",_dark:"{colors.red.400}"}},warning:{value:{_light:"{colors.orange.600}",_dark:"{colors.orange.300}"}},success:{value:{_light:"{colors.green.600}",_dark:"{colors.green.300}"}},info:{value:{_light:"{colors.blue.600}",_dark:"{colors.blue.300}"}}},border:{DEFAULT:{value:{_light:"{colors.gray.200}",_dark:"{colors.gray.800}"}},muted:{value:{_light:"{colors.gray.100}",_dark:"{colors.gray.900}"}},subtle:{value:{_light:"{colors.gray.50}",_dark:"{colors.gray.950}"}},emphasized:{value:{_light:"{colors.gray.300}",_dark:"{colors.gray.700}"}},inverted:{value:{_light:"{colors.gray.800}",_dark:"{colors.gray.200}"}},error:{value:{_light:"{colors.red.500}",_dark:"{colors.red.400}"}},warning:{value:{_light:"{colors.orange.500}",_dark:"{colors.orange.400}"}},success:{value:{_light:"{colors.green.500}",_dark:"{colors.green.400}"}},info:{value:{_light:"{colors.blue.500}",_dark:"{colors.blue.400}"}}},gray:{contrast:{value:{_light:"{colors.white}",_dark:"{colors.black}"}},fg:{value:{_light:"{colors.gray.800}",_dark:"{colors.gray.200}"}},subtle:{value:{_light:"{colors.gray.100}",_dark:"{colors.gray.900}"}},muted:{value:{_light:"{colors.gray.200}",_dark:"{colors.gray.800}"}},emphasized:{value:{_light:"{colors.gray.300}",_dark:"{colors.gray.700}"}},solid:{value:{_light:"{colors.gray.900}",_dark:"{colors.white}"}},focusRing:{value:{_light:"{colors.gray.400}",_dark:"{colors.gray.400}"}},border:{value:{_light:"{colors.gray.200}",_dark:"{colors.gray.800}"}}},red:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.red.700}",_dark:"{colors.red.300}"}},subtle:{value:{_light:"{colors.red.100}",_dark:"{colors.red.900}"}},muted:{value:{_light:"{colors.red.200}",_dark:"{colors.red.800}"}},emphasized:{value:{_light:"{colors.red.300}",_dark:"{colors.red.700}"}},solid:{value:{_light:"{colors.red.600}",_dark:"{colors.red.600}"}},focusRing:{value:{_light:"{colors.red.500}",_dark:"{colors.red.500}"}},border:{value:{_light:"{colors.red.500}",_dark:"{colors.red.400}"}}},orange:{contrast:{value:{_light:"white",_dark:"black"}},fg:{value:{_light:"{colors.orange.700}",_dark:"{colors.orange.300}"}},subtle:{value:{_light:"{colors.orange.100}",_dark:"{colors.orange.900}"}},muted:{value:{_light:"{colors.orange.200}",_dark:"{colors.orange.800}"}},emphasized:{value:{_light:"{colors.orange.300}",_dark:"{colors.orange.700}"}},solid:{value:{_light:"{colors.orange.600}",_dark:"{colors.orange.500}"}},focusRing:{value:{_light:"{colors.orange.500}",_dark:"{colors.orange.500}"}},border:{value:{_light:"{colors.orange.500}",_dark:"{colors.orange.400}"}}},green:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.green.700}",_dark:"{colors.green.300}"}},subtle:{value:{_light:"{colors.green.100}",_dark:"{colors.green.900}"}},muted:{value:{_light:"{colors.green.200}",_dark:"{colors.green.800}"}},emphasized:{value:{_light:"{colors.green.300}",_dark:"{colors.green.700}"}},solid:{value:{_light:"{colors.green.600}",_dark:"{colors.green.600}"}},focusRing:{value:{_light:"{colors.green.500}",_dark:"{colors.green.500}"}},border:{value:{_light:"{colors.green.500}",_dark:"{colors.green.400}"}}},blue:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.blue.700}",_dark:"{colors.blue.300}"}},subtle:{value:{_light:"{colors.blue.100}",_dark:"{colors.blue.900}"}},muted:{value:{_light:"{colors.blue.200}",_dark:"{colors.blue.800}"}},emphasized:{value:{_light:"{colors.blue.300}",_dark:"{colors.blue.700}"}},solid:{value:{_light:"{colors.blue.600}",_dark:"{colors.blue.600}"}},focusRing:{value:{_light:"{colors.blue.500}",_dark:"{colors.blue.500}"}},border:{value:{_light:"{colors.blue.500}",_dark:"{colors.blue.400}"}}},yellow:{contrast:{value:{_light:"black",_dark:"black"}},fg:{value:{_light:"{colors.yellow.800}",_dark:"{colors.yellow.300}"}},subtle:{value:{_light:"{colors.yellow.100}",_dark:"{colors.yellow.900}"}},muted:{value:{_light:"{colors.yellow.200}",_dark:"{colors.yellow.800}"}},emphasized:{value:{_light:"{colors.yellow.300}",_dark:"{colors.yellow.700}"}},solid:{value:{_light:"{colors.yellow.300}",_dark:"{colors.yellow.300}"}},focusRing:{value:{_light:"{colors.yellow.500}",_dark:"{colors.yellow.500}"}},border:{value:{_light:"{colors.yellow.500}",_dark:"{colors.yellow.500}"}}},teal:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.teal.700}",_dark:"{colors.teal.300}"}},subtle:{value:{_light:"{colors.teal.100}",_dark:"{colors.teal.900}"}},muted:{value:{_light:"{colors.teal.200}",_dark:"{colors.teal.800}"}},emphasized:{value:{_light:"{colors.teal.300}",_dark:"{colors.teal.700}"}},solid:{value:{_light:"{colors.teal.600}",_dark:"{colors.teal.600}"}},focusRing:{value:{_light:"{colors.teal.500}",_dark:"{colors.teal.500}"}},border:{value:{_light:"{colors.teal.500}",_dark:"{colors.teal.400}"}}},purple:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.purple.700}",_dark:"{colors.purple.300}"}},subtle:{value:{_light:"{colors.purple.100}",_dark:"{colors.purple.900}"}},muted:{value:{_light:"{colors.purple.200}",_dark:"{colors.purple.800}"}},emphasized:{value:{_light:"{colors.purple.300}",_dark:"{colors.purple.700}"}},solid:{value:{_light:"{colors.purple.600}",_dark:"{colors.purple.600}"}},focusRing:{value:{_light:"{colors.purple.500}",_dark:"{colors.purple.500}"}},border:{value:{_light:"{colors.purple.500}",_dark:"{colors.purple.400}"}}},pink:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.pink.700}",_dark:"{colors.pink.300}"}},subtle:{value:{_light:"{colors.pink.100}",_dark:"{colors.pink.900}"}},muted:{value:{_light:"{colors.pink.200}",_dark:"{colors.pink.800}"}},emphasized:{value:{_light:"{colors.pink.300}",_dark:"{colors.pink.700}"}},solid:{value:{_light:"{colors.pink.600}",_dark:"{colors.pink.600}"}},focusRing:{value:{_light:"{colors.pink.500}",_dark:"{colors.pink.500}"}},border:{value:{_light:"{colors.pink.500}",_dark:"{colors.pink.400}"}}},cyan:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.cyan.700}",_dark:"{colors.cyan.300}"}},subtle:{value:{_light:"{colors.cyan.100}",_dark:"{colors.cyan.900}"}},muted:{value:{_light:"{colors.cyan.200}",_dark:"{colors.cyan.800}"}},emphasized:{value:{_light:"{colors.cyan.300}",_dark:"{colors.cyan.700}"}},solid:{value:{_light:"{colors.cyan.600}",_dark:"{colors.cyan.600}"}},focusRing:{value:{_light:"{colors.cyan.500}",_dark:"{colors.cyan.500}"}},border:{value:{_light:"{colors.cyan.500}",_dark:"{colors.cyan.400}"}}}});var hg=Pr.radii({l1:{value:"{radii.xs}"},l2:{value:"{radii.sm}"},l3:{value:"{radii.md}"}});var dg=Pr.shadows({xs:{value:{_light:"0px 1px 2px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/20}",_dark:"0px 1px 1px {black/64}, 0px 0px 1px inset {colors.gray.300/20}"}},sm:{value:{_light:"0px 2px 4px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 2px 4px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},md:{value:{_light:"0px 4px 8px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 4px 8px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},lg:{value:{_light:"0px 8px 16px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 8px 16px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},xl:{value:{_light:"0px 16px 24px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 16px 24px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},"2xl":{value:{_light:"0px 24px 40px {colors.gray.900/16}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 24px 40px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},inner:{value:{_light:"inset 0 2px 4px 0 {black/5}",_dark:"inset 0 2px 4px 0 black"}},inset:{value:{_light:"inset 0 0 0 1px {black/5}",_dark:"inset 0 0 0 1px {colors.gray.300/5}"}}});var sg=la.extendWith("itemBody"),vg=D("action-bar").parts("positioner","content","separator","selectionTrigger","closeTrigger"),pg=D("alert").parts("title","description","root","indicator","content"),ug=D("breadcrumb").parts("link","currentLink","item","list","root","ellipsis","separator"),gg=D("blockquote").parts("root","icon","content","caption"),mg=D("card").parts("root","header","body","footer","title","description"),fg=D("checkbox-card",["root","control","label","description","addon","indicator","content"]),zg=D("data-list").parts("root","item","itemLabel","itemValue"),Mg=v3.extendWith("indicatorGroup"),xg=Rr.extendWith("header","body","footer","backdrop"),Hg=Rr.extendWith("header","body","footer","backdrop"),Vg=da.extendWith("textarea"),wg=D("empty-state",["root","content","indicator","title","description"]),bg=_l.extendWith("requiredIndicator"),yg=El.extendWith("content"),Lg=sa.extendWith("itemContent","dropzoneContent","fileText"),Cg=D("list").parts("root","item","indicator"),Sg=ga.extendWith("itemCommand"),Bg=D("select").parts("root","field","indicator"),kg=za.extendWith("header","body","footer"),q3=ir.extendWith("itemAddon","itemIndicator"),Og=q3.extendWith("itemContent","itemDescription"),Ag=xa.extendWith("itemIndicator"),_g=Va.extendWith("indicatorGroup"),Eg=s3.extendWith("indicatorGroup","empty"),Tg=wa.extendWith("markerIndicator","markerLabel"),Rg=D("stat").parts("root","label","helpText","valueText","valueUnit","indicator"),Pg=D("status").parts("root","indicator"),Ig=D("steps",["root","list","item","trigger","indicator","separator","content","title","description","nextTrigger","prevTrigger","progress"]),Ng=ya.extendWith("indicator"),Dg=D("table").parts("root","header","body","row","columnHeader","cell","footer","caption"),Fg=D("toast").parts("root","title","description","indicator","closeTrigger","actionTrigger"),Wg=D("tabs").parts("root","trigger","list","content","contentGroup","indicator"),Ug=D("tag").parts("root","label","closeTrigger","startElement","endElement"),Gg=D("timeline").parts("root","item","content","separator","indicator","connector","title","description"),$g=d3.extendWith("channelText"),jg=D("code-block",["root","content","title","header","footer","control","overlay","code","codeText","copyTrigger","copyIndicator","collapseTrigger","collapseIndicator","collapseText"]),Kg=ba.extendWith("resizeTriggerSeparator","resizeTriggerIndicator"),CQ=ca.extendWith("valueText"),qg=p3;var Yg=A({className:"chakra-accordion",slots:sg.keys(),base:{root:{width:"full","--accordion-radius":"radii.l2"},item:{overflowAnchor:"none"},itemTrigger:{display:"flex",alignItems:"center",textAlign:"start",width:"full",outline:"0",gap:"3",fontWeight:"medium",borderRadius:"var(--accordion-radius)",_focusVisible:{outline:"2px solid",outlineColor:"colorPalette.focusRing"},_disabled:{layerStyle:"disabled"}},itemBody:{pt:"var(--accordion-padding-y)",pb:"calc(var(--accordion-padding-y) * 2)"},itemContent:{overflow:"hidden",borderRadius:"var(--accordion-radius)",_open:{animationName:"expand-height, fade-in",animationDuration:"moderate"},_closed:{animationName:"collapse-height, fade-out",animationDuration:"moderate"}},itemIndicator:{transition:"rotate 0.2s",transformOrigin:"center",color:"fg.subtle",_open:{rotate:"180deg"},_icon:{width:"1.2em",height:"1.2em"}}},variants:{variant:{outline:{item:{borderBottomWidth:"1px"}},subtle:{itemTrigger:{px:"var(--accordion-padding-x)"},itemContent:{px:"var(--accordion-padding-x)"},item:{borderRadius:"var(--accordion-radius)",_open:{bg:"colorPalette.subtle"}}},enclosed:{root:{borderWidth:"1px",borderRadius:"var(--accordion-radius)",divideY:"1px",overflow:"hidden"},itemTrigger:{px:"var(--accordion-padding-x)"},itemContent:{px:"var(--accordion-padding-x)"},item:{_open:{bg:"bg.subtle"}}},plain:{}},size:{sm:{root:{"--accordion-padding-x":"spacing.3","--accordion-padding-y":"spacing.2"},itemTrigger:{textStyle:"sm",py:"var(--accordion-padding-y)"}},md:{root:{"--accordion-padding-x":"spacing.4","--accordion-padding-y":"spacing.2"},itemTrigger:{textStyle:"md",py:"var(--accordion-padding-y)"}},lg:{root:{"--accordion-padding-x":"spacing.4.5","--accordion-padding-y":"spacing.2.5"},itemTrigger:{textStyle:"lg",py:"var(--accordion-padding-y)"}}}},defaultVariants:{size:"md",variant:"outline"}});var Qg=A({className:"chakra-action-bar",slots:vg.keys(),base:{positioner:{position:"fixed",display:"flex",pointerEvents:"none",insetInline:"0","--action-bar-offset":"spacing.4"},content:{bg:"bg.panel",shadow:"md",display:"flex",alignItems:"center",gap:"3",borderRadius:"l3",py:"2.5",px:"3",pointerEvents:"auto",translate:"calc(-1 * var(--scrollbar-width) / 2) 0px",_open:{animationName:"slide-from-bottom, fade-in",animationDuration:"moderate"},_closed:{animationName:"slide-to-bottom, fade-out",animationDuration:"faster"}},separator:{width:"1px",height:"5",bg:"border"},selectionTrigger:{display:"inline-flex",alignItems:"center",gap:"2",alignSelf:"stretch",textStyle:"sm",px:"4",py:"1",borderRadius:"l2",borderWidth:"1px",borderStyle:"dashed"}},variants:{placement:{bottom:{positioner:{bottom:"calc(env(safe-area-inset-bottom) + var(--action-bar-offset))",justifyContent:"center"}},"bottom-start":{positioner:{bottom:"calc(env(safe-area-inset-bottom) + var(--action-bar-offset))",justifyContent:"flex-start",ps:"var(--action-bar-offset)"}},"bottom-end":{positioner:{bottom:"calc(env(safe-area-inset-bottom) + var(--action-bar-offset))",justifyContent:"flex-end",pe:"var(--action-bar-offset)"}}}},defaultVariants:{placement:"bottom"}});var Xg=A({slots:pg.keys(),className:"chakra-alert",base:{root:{width:"full",display:"flex",alignItems:"flex-start",position:"relative",borderRadius:"l3"},title:{fontWeight:"medium"},description:{display:"inline"},indicator:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:"0",width:"1em",height:"1em",_icon:{boxSize:"full"}},content:{display:"flex",flex:"1",gap:"1"}},variants:{status:{info:{root:{colorPalette:"blue"}},warning:{root:{colorPalette:"orange"}},success:{root:{colorPalette:"green"}},error:{root:{colorPalette:"red"}},neutral:{root:{colorPalette:"gray"}}},inline:{true:{content:{display:"inline-flex",flexDirection:"row",alignItems:"center"}},false:{content:{display:"flex",flexDirection:"column"}}},variant:{subtle:{root:{bg:"colorPalette.subtle",color:"colorPalette.fg"}},surface:{root:{bg:"colorPalette.subtle",color:"colorPalette.fg",shadow:"inset 0 0 0px 1px var(--shadow-color)",shadowColor:"colorPalette.muted"},indicator:{color:"colorPalette.fg"}},outline:{root:{color:"colorPalette.fg",shadow:"inset 0 0 0px 1px var(--shadow-color)","--outline-shadow-legacy":"colors.colorPalette.muted","--outline-shadow":"colors.colorPalette.border",shadowColor:"var(--outline-shadow, var(--outline-shadow-legacy))"},indicator:{color:"colorPalette.fg"}},solid:{root:{bg:"colorPalette.solid",color:"colorPalette.contrast"},indicator:{color:"colorPalette.contrast"}}},size:{sm:{root:{gap:"2",px:"3",py:"3",textStyle:"xs"},indicator:{textStyle:"lg"}},md:{root:{gap:"3",px:"4",py:"4",textStyle:"sm"},indicator:{textStyle:"xl"}},lg:{root:{gap:"3",px:"4",py:"4",textStyle:"md"},indicator:{textStyle:"2xl"}}}},defaultVariants:{status:"info",variant:"subtle",size:"md",inline:!1}});var Zg=A({slots:oa.keys(),className:"chakra-avatar",base:{root:{display:"inline-flex",alignItems:"center",justifyContent:"center",fontWeight:"medium",position:"relative",verticalAlign:"top",flexShrink:"0",userSelect:"none",width:"var(--avatar-size)",height:"var(--avatar-size)",fontSize:"var(--avatar-font-size)",borderRadius:"var(--avatar-radius)","&[data-group-item]":{borderWidth:"2px",borderColor:"bg"}},image:{width:"100%",height:"100%",objectFit:"cover",borderRadius:"var(--avatar-radius)"},fallback:{lineHeight:"1",textTransform:"uppercase",fontWeight:"medium",fontSize:"var(--avatar-font-size)",borderRadius:"var(--avatar-radius)"}},variants:{size:{full:{root:{"--avatar-size":"100%","--avatar-font-size":"100%"}},"2xs":{root:{"--avatar-font-size":"fontSizes.2xs","--avatar-size":"sizes.6"}},xs:{root:{"--avatar-font-size":"fontSizes.xs","--avatar-size":"sizes.8"}},sm:{root:{"--avatar-font-size":"fontSizes.sm","--avatar-size":"sizes.9"}},md:{root:{"--avatar-font-size":"fontSizes.md","--avatar-size":"sizes.10"}},lg:{root:{"--avatar-font-size":"fontSizes.md","--avatar-size":"sizes.11"}},xl:{root:{"--avatar-font-size":"fontSizes.lg","--avatar-size":"sizes.12"}},"2xl":{root:{"--avatar-font-size":"fontSizes.xl","--avatar-size":"sizes.16"}}},variant:{solid:{root:{bg:"colorPalette.solid",color:"colorPalette.contrast"}},subtle:{root:{bg:"colorPalette.muted",color:"colorPalette.fg"}},outline:{root:{color:"colorPalette.fg",borderWidth:"1px","--outline-shadow-legacy":"colors.colorPalette.muted","--outline-shadow":"colors.colorPalette.border",borderColor:"var(--outline-shadow, var(--outline-shadow-legacy))"}}},shape:{square:{},rounded:{root:{"--avatar-radius":"radii.l3"}},full:{root:{"--avatar-radius":"radii.full"}}},borderless:{true:{root:{"&[data-group-item]":{borderWidth:"0px"}}}}},defaultVariants:{size:"md",shape:"full",variant:"subtle"}});var Jg=A({className:"chakra-blockquote",slots:gg.keys(),base:{root:{position:"relative",display:"flex",flexDirection:"column",gap:"2"},caption:{textStyle:"sm",color:"fg.muted"},icon:{boxSize:"5"}},variants:{justify:{start:{root:{alignItems:"flex-start",textAlign:"start"}},center:{root:{alignItems:"center",textAlign:"center"}},end:{root:{alignItems:"flex-end",textAlign:"end"}}},variant:{subtle:{root:{paddingX:"5",borderStartWidth:"4px",borderStartColor:"colorPalette.muted"},icon:{color:"colorPalette.fg"}},solid:{root:{paddingX:"5",borderStartWidth:"4px",borderStartColor:"colorPalette.solid"},icon:{color:"colorPalette.solid"}},plain:{root:{paddingX:"5"},icon:{color:"colorPalette.solid"}}}},defaultVariants:{variant:"subtle",justify:"start"}});var tm=A({className:"chakra-breadcrumb",slots:ug.keys(),base:{list:{display:"flex",alignItems:"center",wordBreak:"break-word",color:"fg.muted",listStyle:"none"},link:{outline:"0",textDecoration:"none",borderRadius:"l1",focusRing:"outside",display:"inline-flex",alignItems:"center",gap:"2"},item:{display:"inline-flex",alignItems:"center"},separator:{color:"fg.muted",opacity:"0.8",_icon:{boxSize:"1em"},_rtl:{rotate:"180deg"}},ellipsis:{display:"inline-flex",alignItems:"center",justifyContent:"center",_icon:{boxSize:"1em"}}},variants:{variant:{underline:{link:{color:"colorPalette.fg",textDecoration:"underline",textUnderlineOffset:"0.2em",textDecorationColor:"colorPalette.muted"},currentLink:{color:"colorPalette.fg"}},plain:{link:{color:"fg.muted",_hover:{color:"fg"}},currentLink:{color:"fg"}}},size:{sm:{list:{gap:"1",textStyle:"xs"}},md:{list:{gap:"1.5",textStyle:"sm"}},lg:{list:{gap:"2",textStyle:"md"}}}},defaultVariants:{variant:"plain",size:"md"}});var em=A({className:"chakra-card",slots:mg.keys(),base:{root:{display:"flex",flexDirection:"column",position:"relative",minWidth:"0",wordWrap:"break-word",borderRadius:"l3",color:"fg",textAlign:"start"},title:{fontWeight:"semibold"},description:{color:"fg.muted",fontSize:"sm"},header:{paddingInline:"var(--card-padding)",paddingTop:"var(--card-padding)",display:"flex",flexDirection:"column",gap:"1.5"},body:{padding:"var(--card-padding)",flex:"1",display:"flex",flexDirection:"column"},footer:{display:"flex",alignItems:"center",gap:"2",paddingInline:"var(--card-padding)",paddingBottom:"var(--card-padding)"}},variants:{size:{sm:{root:{"--card-padding":"spacing.4"},title:{textStyle:"md"}},md:{root:{"--card-padding":"spacing.6"},title:{textStyle:"lg"}},lg:{root:{"--card-padding":"spacing.7"},title:{textStyle:"xl"}}},variant:{elevated:{root:{bg:"bg.panel",boxShadow:"md"}},outline:{root:{bg:"bg.panel",borderWidth:"1px",borderColor:"border"}},subtle:{root:{bg:"bg.muted"}}}},defaultVariants:{variant:"outline",size:"md"}});var rm=A({className:"carousel",slots:c3.keys(),base:{root:{position:"relative",display:"flex",gap:"2",_horizontal:{flexDirection:"column"},_vertical:{flexDirection:"row"}},item:{_horizontal:{width:"100%"},_vertical:{height:"100%"}},control:{display:"flex",alignItems:"center",_horizontal:{flexDirection:"row",width:"100%"},_vertical:{flexDirection:"column",height:"100%"}},indicatorGroup:{display:"flex",justifyContent:"center",gap:"3",_horizontal:{flexDirection:"row"},_vertical:{flexDirection:"column"}},indicator:{width:"2.5",height:"2.5",borderRadius:"full",bg:"colorPalette.subtle",cursor:"button",_current:{bg:"colorPalette.solid"}}},defaultVariants:{}});var am=A({slots:h3.keys(),className:"chakra-checkbox",base:{root:{display:"inline-flex",gap:"2",alignItems:"center",verticalAlign:"top",position:"relative"},control:lt.base,label:{fontWeight:"medium",userSelect:"none",_disabled:{opacity:"0.5"}}},variants:{size:{xs:{root:{gap:"1.5"},label:{textStyle:"xs"},control:lt.variants?.size?.xs},sm:{root:{gap:"2"},label:{textStyle:"sm"},control:lt.variants?.size?.sm},md:{root:{gap:"2.5"},label:{textStyle:"sm"},control:lt.variants?.size?.md},lg:{root:{gap:"3"},label:{textStyle:"md"},control:lt.variants?.size?.lg}},variant:{outline:{control:lt.variants?.variant?.outline},solid:{control:lt.variants?.variant?.solid},subtle:{control:lt.variants?.variant?.subtle}}},defaultVariants:{variant:"solid",size:"md"}});var im=A({slots:fg.keys(),className:"chakra-checkbox-card",base:{root:{display:"flex",flexDirection:"column",userSelect:"none",position:"relative",borderRadius:"l2",flex:"1",focusVisibleRing:"outside",_disabled:{opacity:"0.8"},_invalid:{outline:"2px solid",outlineColor:"border.error"}},control:{display:"inline-flex",flex:"1",position:"relative",borderRadius:"inherit",justifyContent:"var(--checkbox-card-justify)",alignItems:"var(--checkbox-card-align)"},label:{fontWeight:"medium",display:"flex",alignItems:"center",gap:"2",flex:"1",_disabled:{opacity:"0.5"}},description:{opacity:"0.64",textStyle:"sm",_disabled:{opacity:"0.5"}},addon:{_disabled:{opacity:"0.5"}},indicator:lt.base,content:{display:"flex",flexDirection:"column",flex:"1",gap:"1",justifyContent:"var(--checkbox-card-justify)",alignItems:"var(--checkbox-card-align)"}},variants:{size:{sm:{root:{textStyle:"sm"},control:{padding:"3",gap:"1.5"},addon:{px:"3",py:"1.5",borderTopWidth:"1px"},indicator:lt.variants?.size.sm},md:{root:{textStyle:"sm"},control:{padding:"4",gap:"2.5"},addon:{px:"4",py:"2",borderTopWidth:"1px"},indicator:lt.variants?.size.md},lg:{root:{textStyle:"md"},control:{padding:"4",gap:"3.5"},addon:{px:"4",py:"2",borderTopWidth:"1px"},indicator:lt.variants?.size.lg}},variant:{surface:{root:{borderWidth:"1px",borderColor:"border",_checked:{bg:"colorPalette.subtle",color:"colorPalette.fg",borderColor:"colorPalette.muted"},_disabled:{bg:"bg.muted"}},indicator:lt.variants?.variant.solid},subtle:{root:{bg:"bg.muted"},control:{_checked:{bg:"colorPalette.muted",color:"colorPalette.fg"}},indicator:lt.variants?.variant.plain},outline:{root:{borderWidth:"1px",borderColor:"border",_checked:{boxShadow:"inset 0 0 0 1px var(--shadow-color)",boxShadowColor:"colorPalette.solid",borderColor:"colorPalette.solid"}},indicator:lt.variants?.variant.solid},solid:{root:{borderWidth:"1px",_checked:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"colorPalette.solid"}},indicator:lt.variants?.variant.inverted}},justify:{start:{root:{"--checkbox-card-justify":"flex-start"}},end:{root:{"--checkbox-card-justify":"flex-end"}},center:{root:{"--checkbox-card-justify":"center"}}},align:{start:{root:{"--checkbox-card-align":"flex-start"},content:{textAlign:"start"}},end:{root:{"--checkbox-card-align":"flex-end"},content:{textAlign:"end"}},center:{root:{"--checkbox-card-align":"center"},content:{textAlign:"center"}}},orientation:{vertical:{control:{flexDirection:"column"}},horizontal:{control:{flexDirection:"row"}}}},defaultVariants:{size:"md",variant:"outline",align:"start",orientation:"horizontal"}});var nm=A({slots:jg.keys(),className:"code-block",base:{root:{colorPalette:"gray",rounded:"var(--code-block-radius)",overflow:"hidden",bg:"bg",color:"fg",borderWidth:"1px","--code-block-max-height":"320px","--code-block-bg":"colors.bg","--code-block-fg":"colors.fg","--code-block-obscured-opacity":"0.5","--code-block-obscured-blur":"1px","--code-block-line-number-width":"sizes.3","--code-block-line-number-margin":"spacing.4","--code-block-highlight-bg":"{colors.teal.focusRing/20}","--code-block-highlight-border":"colors.teal.focusRing","--code-block-highlight-added-bg":"{colors.green.focusRing/20}","--code-block-highlight-added-border":"colors.green.focusRing","--code-block-highlight-removed-bg":"{colors.red.focusRing/20}","--code-block-highlight-removed-border":"colors.red.focusRing"},header:{display:"flex",alignItems:"center",gap:"2",position:"relative",px:"var(--code-block-padding)",minH:"var(--code-block-header-height)",mb:"calc(var(--code-block-padding) / 2 * -1)"},title:{display:"inline-flex",alignItems:"center",gap:"1.5",flex:"1",color:"fg.muted"},control:{gap:"1.5",display:"inline-flex",alignItems:"center"},footer:{display:"flex",alignItems:"center",justifyContent:"center",gap:"2",px:"var(--code-block-padding)",minH:"var(--code-block-header-height)"},content:{position:"relative",colorScheme:"dark",borderBottomRadius:"var(--code-block-radius)",maxHeight:"var(--code-block-max-height)","& ::selection":{bg:"blue.500/40"},_expanded:{maxHeight:"unset"}},overlay:{"--bg":"{colors.black/50}",display:"flex",alignItems:"flex-end",justifyContent:"center",padding:"4",bgImage:"linear-gradient(0deg,var(--bg) 25%,transparent 100%)",color:"white",minH:"5rem",pos:"absolute",bottom:"0",insetInline:"0",zIndex:"1",fontWeight:"medium",_expanded:{display:"none"}},code:{fontFamily:"mono",lineHeight:"tall",whiteSpace:"pre",counterReset:"line 0",overflowX:"auto",overflowY:"hidden"},codeText:{px:"var(--code-block-padding)",py:"var(--code-block-padding)",position:"relative",display:"block",width:"100%","&[data-has-focused]":{"& [data-line]:not([data-focused])":{transitionProperty:"opacity, filter",transitionDuration:"moderate",transitionTimingFunction:"ease-in-out",opacity:"var(--code-block-obscured-opacity)",filter:"blur(var(--code-block-obscured-blur))"},"&:hover":{"--code-block-obscured-opacity":"1","--code-block-obscured-blur":"0px"}},"&[data-has-line-numbers][data-plaintext]":{paddingInlineStart:"calc(var(--code-block-line-number-width) + var(--code-block-line-number-margin) + var(--code-block-padding))"},"& [data-line]":{position:"relative",paddingInlineEnd:"var(--code-block-padding)","--highlight-bg":"var(--code-block-highlight-bg)","--highlight-border":"var(--code-block-highlight-border)","&[data-highlight], &[data-diff]":{display:"inline-block",width:"full","&:after":{content:"''",display:"block",position:"absolute",top:"0",insetStart:"calc(var(--code-block-padding) * -1)",insetEnd:"0px",width:"calc(100% + var(--code-block-padding) * 2)",height:"100%",bg:"var(--highlight-bg)",borderStartWidth:"2px",borderStartColor:"var(--highlight-border)"}},"&[data-diff='added']":{"--highlight-bg":"var(--code-block-highlight-added-bg)","--highlight-border":"var(--code-block-highlight-added-border)"},"&[data-diff='removed']":{"--highlight-bg":"var(--code-block-highlight-removed-bg)","--highlight-border":"var(--code-block-highlight-removed-border)"}},"&[data-word-wrap]":{"&[data-plaintext], & [data-line]":{whiteSpace:"pre-wrap",wordBreak:"break-all"}},"&[data-has-line-numbers]":{"--content":"counter(line)","& [data-line]:before":{content:"var(--content)",counterIncrement:"line",width:"var(--code-block-line-number-width)",marginRight:"var(--code-block-line-number-margin)",display:"inline-block",textAlign:"end",userSelect:"none",whiteSpace:"nowrap",opacity:.4},"& [data-diff='added']:before":{content:"'+'"},"& [data-diff='removed']:before":{content:"'-'"}}}},variants:{size:{sm:{root:{"--code-block-padding":"spacing.4","--code-block-radius":"radii.md","--code-block-header-height":"sizes.8"},title:{textStyle:"xs"},code:{fontSize:"xs"}},md:{root:{"--code-block-padding":"spacing.4","--code-block-radius":"radii.lg","--code-block-header-height":"sizes.10"},title:{textStyle:"xs"},code:{fontSize:"sm"}},lg:{root:{"--code-block-padding":"spacing.5","--code-block-radius":"radii.xl","--code-block-header-height":"sizes.12"},title:{textStyle:"sm"},code:{fontSize:"sm"}}}},defaultVariants:{size:"md"}});var lm=A({slots:ha.keys(),className:"chakra-collapsible",base:{content:{overflow:"hidden",_open:{animationName:"expand-height, fade-in",animationDuration:"moderate","&[data-has-collapsed-size]":{animationName:"expand-height"}},_closed:{animationName:"collapse-height, fade-out",animationDuration:"moderate","&[data-has-collapsed-size]":{animationName:"collapse-height"}}}}});var om=A({className:"colorPicker",slots:$g.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5"},label:{color:"fg",fontWeight:"medium",textStyle:"sm",_disabled:{opacity:"0.5"}},valueText:{textAlign:"start"},control:{display:"flex",alignItems:"center",flexDirection:"row",gap:"2",position:"relative"},swatchTrigger:{display:"flex",alignItems:"center",justifyContent:"center"},trigger:{display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"row",flexShrink:"0",gap:"2",textStyle:"sm",minH:"var(--input-height)",minW:"var(--input-height)",px:"1",rounded:"l2",_disabled:{opacity:"0.5"},"--focus-color":"colors.colorPalette.focusRing","&:focus-visible":{borderColor:"var(--focus-color)",outline:"1px solid var(--focus-color)"},"&[data-fit-content]":{"--input-height":"unset",px:"0",border:"0"}},content:{display:"flex",flexDirection:"column",bg:"bg.panel",borderRadius:"l3",boxShadow:"lg",width:"64",p:"4",gap:"3","--color-picker-z-index":"zIndex.popover",zIndex:"calc(var(--color-picker-z-index) + var(--layer-index, 0))",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"faster"}},area:{height:"180px",borderRadius:"l2",overflow:"hidden"},areaThumb:{borderRadius:"full",height:"var(--thumb-size)",width:"var(--thumb-size)",borderWidth:"2px",borderColor:"white",shadow:"sm",focusVisibleRing:"mixed",focusRingColor:"white"},areaBackground:{height:"full"},channelSlider:{borderRadius:"l2",flex:"1"},channelSliderTrack:{height:"var(--slider-height)",borderRadius:"inherit",boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"},channelText:{textStyle:"xs",color:"fg.muted",fontWeight:"medium",textTransform:"capitalize"},swatchGroup:{display:"flex",flexDirection:"row",flexWrap:"wrap",gap:"2"},swatch:{...Zl.base,borderRadius:"l1"},swatchIndicator:{color:"white",rounded:"full"},channelSliderThumb:{borderRadius:"full",height:"var(--thumb-size)",width:"var(--thumb-size)",borderWidth:"2px",borderColor:"white",shadow:"sm",transform:"translate(-50%, -50%)",focusVisibleRing:"outside",focusRingOffset:"1px"},channelInput:{...N1.base,"&::-webkit-inner-spin-button, &::-webkit-outer-spin-button":{WebkitAppearance:"none",margin:0}},formatSelect:{textStyle:"xs",textTransform:"uppercase",borderWidth:"1px",minH:"6",focusRing:"inside",rounded:"l2"},transparencyGrid:{borderRadius:"l2"},view:{display:"flex",flexDirection:"column",gap:"2"}},variants:{size:{"2xs":{channelInput:N1.variants?.size?.["2xs"],swatch:{"--swatch-size":"sizes.4.5"},trigger:{"--input-height":"sizes.7"},area:{"--thumb-size":"sizes.3"},channelSlider:{"--slider-height":"sizes.3","--thumb-size":"sizes.3"}},xs:{channelInput:N1.variants?.size?.xs,swatch:{"--swatch-size":"sizes.5"},trigger:{"--input-height":"sizes.8"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},sm:{channelInput:N1.variants?.size?.sm,swatch:{"--swatch-size":"sizes.6"},trigger:{"--input-height":"sizes.9"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},md:{channelInput:N1.variants?.size?.md,swatch:{"--swatch-size":"sizes.7"},trigger:{"--input-height":"sizes.10"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},lg:{channelInput:N1.variants?.size?.lg,swatch:{"--swatch-size":"sizes.7"},trigger:{"--input-height":"sizes.11"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},xl:{channelInput:N1.variants?.size?.xl,swatch:{"--swatch-size":"sizes.8"},trigger:{"--input-height":"sizes.12"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},"2xl":{channelInput:N1.variants?.size?.["2xl"],swatch:{"--swatch-size":"sizes.10"},trigger:{"--input-height":"sizes.16"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}}},variant:{outline:{channelInput:N1.variants?.variant?.outline,trigger:{borderWidth:"1px"}},subtle:{channelInput:N1.variants?.variant?.subtle,trigger:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted"}}}},defaultVariants:{size:"md",variant:"outline"}});var cm=A({className:"chakra-combobox",slots:Eg.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5",width:"full"},label:{fontWeight:"medium",userSelect:"none",textStyle:"sm",_disabled:{layerStyle:"disabled"}},control:{pos:"relative","--padding-factor":"1","--combobox-input-padding-end":"var(--combobox-input-padding-x)","&:has([data-part=trigger]), &:has([data-part=clear-trigger])":{"--combobox-input-padding-end":"calc(var(--combobox-input-height) * var(--padding-factor))"},"&:has([data-part=trigger]):has([data-part=clear-trigger]:not([hidden]))":{"--padding-factor":"1.5"}},input:{display:"flex",alignItems:"center",justifyContent:"space-between",background:"bg.panel",width:"full",minH:"var(--combobox-input-height)",ps:"var(--combobox-input-padding-x)",pe:"var(--combobox-input-padding-end)","--input-height":"var(--combobox-input-height)",borderRadius:"l2",outline:0,userSelect:"none",textAlign:"start",_placeholderShown:{color:"fg.muted"},_disabled:{layerStyle:"disabled"},"--focus-color":"colors.colorPalette.focusRing","--error-color":"colors.border.error",_invalid:{focusRingColor:"var(--error-color)",borderColor:"var(--error-color)"}},trigger:{display:"inline-flex",alignItems:"center",justifyContent:"center","--input-height":"var(--combobox-input-height)"},clearTrigger:{color:"fg.muted",pointerEvents:"auto",focusVisibleRing:"inside",focusRingWidth:"2px",rounded:"l1"},indicatorGroup:{display:"flex",alignItems:"center",justifyContent:"center",gap:"1",pos:"absolute",insetEnd:"0",top:"0",bottom:"0",px:"var(--combobox-input-padding-x)",_icon:{boxSize:"var(--combobox-indicator-size)"},"[data-disabled] &":{opacity:.5}},content:{background:"bg.panel",display:"flex",flexDirection:"column","--combobox-z-index":"zIndex.popover",zIndex:"calc(var(--combobox-z-index) + var(--layer-index, 0))",borderRadius:"l2",outline:0,maxH:"96",overflowY:"auto",boxShadow:"md",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"0s"},"&[data-empty]:not(:has([data-scope=combobox][data-part=empty]))":{opacity:0}},item:{position:"relative",userSelect:"none",display:"flex",alignItems:"center",gap:"2",py:"var(--combobox-item-padding-y)",px:"var(--combobox-item-padding-x)",cursor:"option",justifyContent:"space-between",flex:"1",textAlign:"start",borderRadius:"l1",_highlighted:{bg:"bg.emphasized/60"},_disabled:{pointerEvents:"none",opacity:"0.5"},_icon:{boxSize:"var(--combobox-indicator-size)"}},empty:{py:"var(--combobox-item-padding-y)",px:"var(--combobox-item-padding-x)"},itemText:{flex:"1"},itemGroup:{pb:"var(--combobox-item-padding-y)",_last:{pb:"0"}},itemGroupLabel:{fontWeight:"medium",py:"var(--combobox-item-padding-y)",px:"var(--combobox-item-padding-x)"}},variants:{variant:{outline:{input:{bg:"transparent",borderWidth:"1px",borderColor:"border",focusVisibleRing:"inside"}},subtle:{input:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted",focusVisibleRing:"inside"}},flushed:{input:{bg:"transparent",borderBottomWidth:"1px",borderBottomColor:"border",borderRadius:"0",px:"0",_focusVisible:{borderColor:"var(--focus-color)",boxShadow:"0px 1px 0px 0px var(--focus-color)"}},indicatorGroup:{px:"0"}}},size:{xs:{root:{"--combobox-input-height":"sizes.8","--combobox-input-padding-x":"spacing.2","--combobox-indicator-size":"sizes.3.5"},input:{textStyle:"xs"},content:{"--combobox-item-padding-x":"spacing.1.5","--combobox-item-padding-y":"spacing.1","--combobox-indicator-size":"sizes.3.5",p:"1",textStyle:"xs"},trigger:{textStyle:"xs",gap:"1"}},sm:{root:{"--combobox-input-height":"sizes.9","--combobox-input-padding-x":"spacing.2.5","--combobox-indicator-size":"sizes.4"},input:{textStyle:"sm"},content:{"--combobox-item-padding-x":"spacing.2","--combobox-item-padding-y":"spacing.1.5","--combobox-indicator-size":"sizes.4",p:"1",textStyle:"sm"},trigger:{textStyle:"sm",gap:"1"}},md:{root:{"--combobox-input-height":"sizes.10","--combobox-input-padding-x":"spacing.3","--combobox-indicator-size":"sizes.4"},input:{textStyle:"sm"},content:{"--combobox-item-padding-x":"spacing.2","--combobox-item-padding-y":"spacing.1.5","--combobox-indicator-size":"sizes.4",p:"1",textStyle:"sm"},itemIndicator:{display:"flex",alignItems:"center",justifyContent:"center"},trigger:{textStyle:"sm",gap:"2"}},lg:{root:{"--combobox-input-height":"sizes.12","--combobox-input-padding-x":"spacing.4","--combobox-indicator-size":"sizes.5"},input:{textStyle:"md"},content:{"--combobox-item-padding-y":"spacing.2","--combobox-item-padding-x":"spacing.3","--combobox-indicator-size":"sizes.5",p:"1.5",textStyle:"md"},trigger:{textStyle:"md",py:"3",gap:"2"}}}},defaultVariants:{size:"md",variant:"outline"}});var hm=A({slots:zg.keys(),className:"chakra-data-list",base:{itemLabel:{display:"flex",alignItems:"center",gap:"1"},itemValue:{display:"flex",minWidth:"0",flex:"1"}},variants:{orientation:{horizontal:{root:{display:"flex",flexDirection:"column"},item:{display:"inline-flex",alignItems:"center",gap:"4"},itemLabel:{minWidth:"120px"}},vertical:{root:{display:"flex",flexDirection:"column"},item:{display:"flex",flexDirection:"column",gap:"1"}}},size:{sm:{root:{gap:"3"},item:{textStyle:"xs"}},md:{root:{gap:"4"},item:{textStyle:"sm"}},lg:{root:{gap:"5"},item:{textStyle:"md"}}},variant:{subtle:{itemLabel:{color:"fg.muted"}},bold:{itemLabel:{fontWeight:"medium"},itemValue:{color:"fg.muted"}}}},defaultVariants:{size:"md",orientation:"vertical",variant:"subtle"}});var dm=x2({display:"inline-flex",alignItems:"center",justifyContent:"center",boxSize:"var(--datepicker-nav-trigger-size)",borderRadius:"l2",color:"fg",focusVisibleRing:"inside",focusRingWidth:"2px",_hover:{bg:"colorPalette.subtle"},_focusVisible:{boxShadow:"0 0 0 2px var(--colors-color-palette-focus-ring)"},_disabled:{opacity:.5},_icon:{boxSize:"4"}}),YC=`url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")`,sm=x2({height:"var(--datepicker-select-height)",ps:"2",pe:"8",textStyle:"sm",borderWidth:"1px",borderRadius:"l2",outline:"none",focusVisibleRing:"inside",appearance:"none",fieldSizing:"content",backgroundImage:YC,backgroundRepeat:"no-repeat",backgroundPosition:"right 0.375rem center",backgroundSize:"1.25em"}),vm=A({className:"date-picker",slots:Mg.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5",width:"full","--datepicker-indicators-offset":"sizes.3",_disabled:{opacity:.5}},label:{textStyle:"sm",fontWeight:"medium"},indicatorGroup:{position:"absolute",insetEnd:"var(--datepicker-indicators-offset)",top:"50%",transform:"translateY(-50%)",display:"flex",alignItems:"center",justifyContent:"center",gap:"1"},control:{display:"flex",alignItems:"center",gap:"2",width:"full",position:"relative"},input:{flex:"1",minWidth:"0",height:"var(--datepicker-input-height)","--input-height":"var(--datepicker-input-height)",px:"var(--datepicker-input-px)",textStyle:"sm",bg:"transparent",borderRadius:"l2",outline:"0",appearance:"none",color:"fg","--focus-color":"colors.colorPalette.focusRing","--error-color":"colors.border.error",_invalid:{focusRingColor:"var(--error-color)",borderColor:"var(--error-color)"}},trigger:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"6",height:"6",borderRadius:"l1",color:"fg.muted",outline:"none",_hover:{color:"fg"},focusVisibleRing:"inside",focusRingWidth:"2px",_icon:{boxSize:"4"}},content:{display:"flex",flexDirection:"column",gap:"3",p:"3",minW:"18rem",bg:"bg.panel",borderRadius:"l2",boxShadow:"lg",color:"fg","--date-picker-z-index":"zIndex.popover",zIndex:"calc(var(--date-picker-z-index) + var(--layer-index, 0))",outline:"none",_open:{animationStyle:"scale-fade-in",animationDuration:"fast"},_closed:{animationStyle:"scale-fade-out",animationDuration:"faster"}},view:{display:"flex",flexDirection:"column",gap:"3"},viewControl:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:"2",height:"var(--datepicker-nav-trigger-size)"},viewTrigger:{display:"inline-flex",flex:"1",alignItems:"center",justifyContent:"center",gap:"1",py:"1.5",px:"2",textStyle:"sm",fontWeight:"semibold",borderRadius:"l2",focusVisibleRing:"inside",focusRingWidth:"2px",_hover:{bg:"colorPalette.subtle"}},prevTrigger:dm,nextTrigger:dm,rangeText:{textStyle:"sm",fontWeight:"semibold"},table:{borderCollapse:"separate",borderSpacing:"0"},tableHeader:{width:"var(--table-cell-size)",py:"2",textStyle:"xs",fontWeight:"medium",color:"fg.muted",textAlign:"center",textTransform:"uppercase","&[data-type='week-number']":{color:"fg.subtle"}},tableCell:{py:"0.5","&[data-type='week-number']":{color:"fg.subtle"}},tableCellTrigger:{display:"inline-flex",alignItems:"center",justifyContent:"center",minWidth:"var(--table-cell-size)",minHeight:"var(--table-cell-size)",textStyle:"sm",borderRadius:"l2",focusVisibleRing:"inside",focusRingWidth:"2px",focusRingOffset:"0px",cursor:"default",position:"relative",_hover:{bg:"colorPalette.subtle"},"[data-view=month] &, [data-view=year] &":{width:"calc(var(--table-cell-size) * 1.75)"},_today:{color:"colorPalette.fg",fontWeight:"semibold",textDecoration:"underline",textUnderlineOffset:"3px",textDecorationThickness:"2px"},"&[data-selected]":{bg:"colorPalette.solid",color:"colorPalette.contrast",_hover:{bg:"colorPalette.solid"}},"&[data-in-range]":{bg:"colorPalette.subtle",color:"colorPalette.fg",borderRadius:"0",_hover:{bg:"colorPalette.subtle"}},"&[data-in-range][data-selected]":{bg:"colorPalette.solid",color:"colorPalette.contrast",borderRadius:"0",_hover:{bg:"colorPalette.solid"},"&[data-range-start][data-range-end]":{borderRadius:"l2"},"&[data-range-start]:not([data-range-end])":{borderStartRadius:"l2",borderEndRadius:"0"},"&[data-range-end]:not([data-range-start])":{borderEndRadius:"l2",borderStartRadius:"0"}},_disabled:{opacity:.4}},monthSelect:sm,yearSelect:sm,clearTrigger:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"6",height:"6",flexShrink:0,textStyle:"xs",borderRadius:"l2",color:"fg.muted",_hover:{color:"fg"},focusVisibleRing:"inside",_icon:{width:"4",height:"4"}}},variants:{size:{xs:{root:{"--datepicker-input-height":"sizes.8","--datepicker-input-px":"sizes.2","--datepicker-indicators-offset":"sizes.2"},view:{"--table-cell-size":"sizes.8","--datepicker-nav-trigger-size":"sizes.7","--datepicker-select-height":"sizes.8"}},sm:{root:{"--datepicker-input-height":"sizes.9","--datepicker-input-px":"sizes.2.5","--datepicker-indicators-offset":"sizes.2.5"},view:{"--table-cell-size":"sizes.9","--datepicker-nav-trigger-size":"sizes.8","--datepicker-select-height":"sizes.9"}},md:{root:{"--datepicker-input-height":"sizes.10","--datepicker-input-px":"sizes.3"},view:{"--table-cell-size":"sizes.10","--datepicker-nav-trigger-size":"sizes.8","--datepicker-select-height":"sizes.10"}},lg:{root:{"--datepicker-input-height":"sizes.11","--datepicker-input-px":"sizes.4"},view:{"--table-cell-size":"sizes.10","--datepicker-nav-trigger-size":"sizes.9","--datepicker-select-height":"sizes.10"}},xl:{root:{"--datepicker-input-height":"sizes.12","--datepicker-input-px":"sizes.4.5"},view:{"--table-cell-size":"sizes.10","--datepicker-nav-trigger-size":"sizes.9","--datepicker-select-height":"sizes.10"}}},hideOutsideDays:{true:{tableCellTrigger:{"&[data-outside-range]":{visibility:"hidden"}}}},variant:{outline:{input:{bg:"transparent",borderWidth:"1px",borderColor:"border",focusVisibleRing:"inside",focusRingColor:"var(--focus-color)"}},subtle:{input:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted",focusVisibleRing:"inside",focusRingColor:"var(--focus-color)"}},flushed:{input:{bg:"transparent",borderBottomWidth:"1px",borderBottomColor:"border",borderRadius:"0",px:"0",_focusVisible:{borderColor:"var(--focus-color)",boxShadow:"0px 1px 0px 0px var(--focus-color)",_invalid:{borderColor:"var(--error-color)",boxShadow:"0px 1px 0px 0px var(--error-color)"}}},indicatorGroup:{insetEnd:"0"}}}},defaultVariants:{size:"md",variant:"outline"}});var pm=A({slots:xg.keys(),className:"chakra-dialog",base:{backdrop:{bg:"blackAlpha.500",pos:"fixed",left:0,top:0,w:"100dvw",h:"100dvh","--dialog-z-index":"zIndex.popover",zIndex:"calc(var(--dialog-z-index) + var(--layer-index, 0) - 1)",_open:{animationName:"fade-in",animationDuration:"slow"},_closed:{animationName:"fade-out",animationDuration:"moderate"}},positioner:{display:"flex",width:"100dvw",height:"100dvh",position:"fixed",left:0,top:0,"--dialog-z-index":"zIndex.popover",zIndex:"calc(var(--dialog-z-index) + var(--layer-index, 0))",justifyContent:"center",overscrollBehaviorY:"none"},content:{display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,borderRadius:"l3",textStyle:"sm",my:"var(--dialog-margin, var(--dialog-base-margin))","--dialog-z-index":"zIndex.popover",zIndex:"calc(var(--dialog-z-index) + var(--layer-index, 0))",bg:"bg.panel",boxShadow:"lg",_open:{animationDuration:"moderate"},_closed:{animationDuration:"faster"}},header:{display:"flex",gap:"2",flex:0,px:"6",pt:"6",pb:"4"},body:{flex:"1",px:"6",pt:"2",pb:"6"},footer:{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"3",px:"6",pt:"2",pb:"4"},title:{textStyle:"lg",fontWeight:"semibold"},description:{color:"fg.muted"},closeTrigger:{pos:"absolute",top:"2",insetEnd:"2"}},variants:{placement:{center:{positioner:{alignItems:"center"},content:{"--dialog-base-margin":"auto",mx:"auto"}},top:{positioner:{alignItems:"flex-start"},content:{"--dialog-base-margin":"spacing.16",mx:"auto"}},bottom:{positioner:{alignItems:"flex-end"},content:{"--dialog-base-margin":"spacing.16",mx:"auto"}}},scrollBehavior:{inside:{positioner:{overflow:"hidden"},content:{maxH:"calc(100% - 7.5rem)"},body:{overflow:"auto"}},outside:{positioner:{overflow:"auto",pointerEvents:"auto"}}},size:{xs:{content:{maxW:"sm"}},sm:{content:{maxW:"md"}},md:{content:{maxW:"lg"}},lg:{content:{maxW:"2xl"}},xl:{content:{maxW:"4xl"}},cover:{positioner:{padding:"10"},content:{width:"100%",height:"100%","--dialog-margin":"0"}},full:{content:{maxW:"100dvw",minH:"100dvh","--dialog-margin":"0",borderRadius:"0"}}},motionPreset:{scale:{content:{_open:{animationName:"scale-in, fade-in"},_closed:{animationName:"scale-out, fade-out"}}},"slide-in-bottom":{content:{_open:{animationName:"slide-from-bottom, fade-in"},_closed:{animationName:"slide-to-bottom, fade-out"}}},"slide-in-top":{content:{_open:{animationName:"slide-from-top, fade-in"},_closed:{animationName:"slide-to-top, fade-out"}}},"slide-in-left":{content:{_open:{animationName:"slide-from-left, fade-in"},_closed:{animationName:"slide-to-left, fade-out"}}},"slide-in-right":{content:{_open:{animationName:"slide-from-right, fade-in"},_closed:{animationName:"slide-to-right, fade-out"}}},none:{}}},defaultVariants:{size:"md",scrollBehavior:"outside",placement:"top",motionPreset:"scale"}});var um=A({slots:Hg.keys(),className:"chakra-drawer",base:{backdrop:{bg:"blackAlpha.500",pos:"fixed",insetInlineStart:0,top:0,w:"100vw",h:"100dvh","--drawer-z-index":"zIndex.popover",zIndex:"calc(var(--drawer-z-index) + var(--layer-index, 0) - 1)",_open:{animationName:"fade-in",animationDuration:"slow"},_closed:{animationName:"fade-out",animationDuration:"moderate"}},positioner:{display:"flex",width:"100vw",height:"100dvh",position:"fixed",insetInlineStart:0,top:0,"--drawer-z-index":"zIndex.popover",zIndex:"calc(var(--drawer-z-index) + var(--layer-index, 0))",overscrollBehaviorY:"none"},content:{display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,"--drawer-z-index":"zIndex.popover",zIndex:"calc(var(--drawer-z-index) + var(--layer-index, 0))",textStyle:"sm",maxH:"100dvh",color:"inherit",bg:"bg.panel",boxShadow:"lg",_open:{animationDuration:"slowest",animationTimingFunction:"ease-in-smooth"},_closed:{animationDuration:"slower",animationTimingFunction:"ease-in-smooth"}},header:{display:"flex",alignItems:"center",gap:"2",flex:0,px:"6",pt:"6",pb:"4"},body:{px:"6",py:"2",flex:"1",overflow:"auto"},footer:{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"3",px:"6",pt:"2",pb:"4"},title:{flex:"1",textStyle:"lg",fontWeight:"semibold"},description:{color:"fg.muted"},closeTrigger:{pos:"absolute",top:"3",insetEnd:"2"}},variants:{size:{xs:{content:{maxW:"xs"}},sm:{content:{maxW:"md"}},md:{content:{maxW:"lg"}},lg:{content:{maxW:"2xl"}},xl:{content:{maxW:"4xl"}},full:{content:{maxW:"100vw",h:"100dvh"}}},placement:{start:{positioner:{justifyContent:"flex-start",alignItems:"stretch"},content:{_open:{animationName:{base:"slide-from-left-full, fade-in",_rtl:"slide-from-right-full, fade-in"}},_closed:{animationName:{base:"slide-to-left-full, fade-out",_rtl:"slide-to-right-full, fade-out"}}}},end:{positioner:{justifyContent:"flex-end",alignItems:"stretch"},content:{_open:{animationName:{base:"slide-from-right-full, fade-in",_rtl:"slide-from-left-full, fade-in"}},_closed:{animationName:{base:"slide-to-right-full, fade-out",_rtl:"slide-to-left-full, fade-out"}}}},top:{positioner:{justifyContent:"stretch",alignItems:"flex-start"},content:{maxW:"100%",_open:{animationName:"slide-from-top-full, fade-in"},_closed:{animationName:"slide-to-top-full, fade-out"}}},bottom:{positioner:{justifyContent:"stretch",alignItems:"flex-end"},content:{maxW:"100%",_open:{animationName:"slide-from-bottom-full, fade-in"},_closed:{animationName:"slide-to-bottom-full, fade-out"}}}},contained:{true:{positioner:{padding:"4"},content:{borderRadius:"l3"}}}},defaultVariants:{size:"xs",placement:"end"}});var gm=x2({fontSize:"inherit",fontWeight:"inherit",textAlign:"inherit",bg:"transparent",borderRadius:"l2"}),mm=A({slots:Vg.keys(),className:"chakra-editable",base:{root:{display:"inline-flex",alignItems:"center",position:"relative",gap:"1.5",width:"full"},preview:{...gm,py:"1",px:"1",display:"inline-flex",alignItems:"center",transitionProperty:"common",transitionDuration:"moderate",cursor:"text",_hover:{bg:"bg.muted"},_disabled:{userSelect:"none"}},input:{...gm,outline:"0",py:"1",px:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",focusVisibleRing:"inside",focusRingWidth:"2px",_placeholder:{opacity:.6}},control:{display:"inline-flex",alignItems:"center",gap:"1.5"}},variants:{size:{sm:{root:{textStyle:"sm"},preview:{minH:"8"},input:{minH:"8"}},md:{root:{textStyle:"sm"},preview:{minH:"9"},input:{minH:"9"}},lg:{root:{textStyle:"md"},preview:{minH:"10"},input:{minH:"10"}}}},defaultVariants:{size:"md"}});var fm=A({slots:wg.keys(),className:"chakra-empty-state",base:{root:{width:"full"},content:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},indicator:{display:"flex",alignItems:"center",justifyContent:"center",color:"fg.subtle",_icon:{boxSize:"1em"}},title:{fontWeight:"semibold"},description:{textStyle:"sm",color:"fg.muted"}},variants:{size:{sm:{root:{px:"4",py:"6"},title:{textStyle:"md"},content:{gap:"4"},indicator:{textStyle:"2xl"}},md:{root:{px:"8",py:"12"},title:{textStyle:"lg"},content:{gap:"6"},indicator:{textStyle:"4xl"}},lg:{root:{px:"12",py:"16"},title:{textStyle:"xl"},content:{gap:"8"},indicator:{textStyle:"6xl"}}}},defaultVariants:{size:"md"}});var zm=A({className:"chakra-field",slots:bg.keys(),base:{requiredIndicator:{color:"fg.error",lineHeight:"1"},root:{display:"flex",width:"100%",position:"relative",gap:"1.5"},label:{display:"flex",alignItems:"center",textAlign:"start",textStyle:"sm",fontWeight:"medium",gap:"1",userSelect:"none",_disabled:{opacity:"0.5"}},errorText:{display:"inline-flex",alignItems:"center",fontWeight:"medium",gap:"1",color:"fg.error",textStyle:"xs"},helperText:{color:"fg.muted",textStyle:"xs"}},variants:{orientation:{vertical:{root:{flexDirection:"column",alignItems:"flex-start"}},horizontal:{root:{flexDirection:"row",alignItems:"center",justifyContent:"space-between"},label:{flex:"0 0 var(--field-label-width, 80px)"}}}},defaultVariants:{orientation:"vertical"}});var Mm=A({className:"fieldset",slots:yg.keys(),base:{root:{display:"flex",flexDirection:"column",width:"full"},content:{display:"flex",flexDirection:"column",width:"full"},legend:{color:"fg",fontWeight:"medium",_disabled:{opacity:"0.5"}},helperText:{color:"fg.muted",textStyle:"sm"},errorText:{display:"inline-flex",alignItems:"center",color:"fg.error",gap:"2",fontWeight:"medium",textStyle:"sm"}},variants:{size:{sm:{root:{spaceY:"2"},content:{gap:"1.5"},legend:{textStyle:"sm"}},md:{root:{spaceY:"4"},content:{gap:"4"},legend:{textStyle:"sm"}},lg:{root:{spaceY:"6"},content:{gap:"4"},legend:{textStyle:"md"}}}},defaultVariants:{size:"md"}});var xm=A({className:"chakra-file-upload",slots:Lg.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"4",width:"100%",alignItems:"flex-start"},label:{fontWeight:"medium",textStyle:"sm"},dropzone:{background:"bg",borderRadius:"l3",borderWidth:"2px",borderStyle:"dashed",display:"flex",alignItems:"center",flexDirection:"column",gap:"4",justifyContent:"center",minHeight:"2xs",px:"3",py:"2",transition:"backgrounds",focusVisibleRing:"outside",_hover:{bg:"bg.subtle"},_dragging:{bg:"colorPalette.subtle",borderStyle:"solid",borderColor:"colorPalette.solid"}},dropzoneContent:{display:"flex",flexDirection:"column",alignItems:"center",textAlign:"center",gap:"1",textStyle:"sm"},item:{pos:"relative",textStyle:"sm",animationName:"fade-in",animationDuration:"moderate",background:"bg",borderRadius:"l2",borderWidth:"1px",width:"100%",display:"flex",alignItems:"center",gap:"3",p:"4"},itemGroup:{width:"100%",display:"flex",flexDirection:"column",gap:"3",_empty:{display:"none"}},itemName:{color:"fg",fontWeight:"medium",lineClamp:"1"},itemContent:{display:"flex",flexDirection:"column",gap:"0.5",flex:"1"},itemSizeText:{color:"fg.muted",textStyle:"xs"},itemDeleteTrigger:{display:"flex",alignItems:"center",justifyContent:"center",alignSelf:"flex-start",boxSize:"5",p:"2px",color:"fg.muted",cursor:"button"},itemPreview:{color:"fg.muted",_icon:{boxSize:"4.5"}}},defaultVariants:{}});var Hm=A({slots:va.keys(),className:"chakra-floating-panel",base:{positioner:{"--floating-panel-z-index":"zIndex.popover",zIndex:"calc(var(--floating-panel-z-index) + var(--layer-index, 0))","&:has([data-topmost])":{"--layer-index":"100"},"&:has([data-behind])":{"--layer-index":"-100"}},content:{display:"flex",flexDirection:"column",bg:"bg.panel",borderRadius:"l2",boxShadow:"lg",overflow:"hidden",outline:0,position:"relative",_open:{animationName:"scale-in, fade-in",animationDuration:"moderate"}},dragTrigger:{flex:"1",display:"flex",alignItems:"center",gap:"2",minW:"0"},header:{display:"flex",alignItems:"center",gap:"2",px:"3",py:"2",borderBottomWidth:"1px",bg:"bg.subtle",flex:"none"},title:{fontWeight:"semibold",textStyle:"sm",flex:"1",truncate:!0},body:{flex:"1",overflow:"auto",p:"3",textStyle:"sm"},resizeTrigger:{zIndex:"1","--size":"sizes.2.5",'&[data-axis="n"], &[data-axis="s"]':{h:"var(--size)"},'&[data-axis="e"], &[data-axis="w"]':{w:"var(--size)"},'&[data-axis]:is([data-axis="ne"], [data-axis="nw"], [data-axis="se"], [data-axis="sw"])':{w:"var(--size)",h:"var(--size)"}}}});var Vm=A({className:"chakra-hover-card",slots:pa.keys(),base:{content:{position:"relative",display:"flex",flexDirection:"column",textStyle:"sm","--hovercard-bg":"colors.bg.panel",bg:"var(--hovercard-bg)",boxShadow:"lg",maxWidth:"80",borderRadius:"l3","--hover-card-z-index":"zIndex.popover",zIndex:"calc(var(--hover-card-z-index) + var(--layer-index, 0))",transformOrigin:"var(--transform-origin)",outline:"0",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"faster"}},arrow:{"--arrow-size":"sizes.3","--arrow-background":"var(--hovercard-bg)"},arrowTip:{borderTopWidth:"0.5px",borderLeftWidth:"0.5px"}},variants:{size:{xs:{content:{padding:"3"}},sm:{content:{padding:"4"}},md:{content:{padding:"5"}},lg:{content:{padding:"6"}}}},defaultVariants:{size:"md"}});var wm=A({className:"chakra-list",slots:Cg.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"var(--list-gap)","& :where(ul, ol)":{marginTop:"var(--list-gap)"}},item:{whiteSpace:"normal",display:"list-item"},indicator:{marginEnd:"2",minHeight:"1lh",flexShrink:0,display:"inline-block",verticalAlign:"middle"}},variants:{variant:{marker:{root:{listStyle:"revert"},item:{_marker:{color:"fg.subtle"}}},plain:{item:{alignItems:"flex-start",display:"inline-flex"}}},align:{center:{item:{alignItems:"center"}},start:{item:{alignItems:"flex-start"}},end:{item:{alignItems:"flex-end"}}}},defaultVariants:{variant:"marker"}});var bm=A({className:"chakra-listbox",slots:qg.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5",width:"full"},content:{display:"flex",maxH:"96",p:"1",gap:"1",textStyle:"sm",outline:"none",scrollPadding:"1",_horizontal:{flexDirection:"row",overflowX:"auto"},_vertical:{flexDirection:"column",overflowY:"auto"},"--listbox-item-padding-x":"spacing.2","--listbox-item-padding-y":"spacing.1.5"},item:{position:"relative",userSelect:"none",display:"flex",alignItems:"center",gap:"2",cursor:"pointer",justifyContent:"space-between",flex:"1",textAlign:"start",borderRadius:"l1",py:"var(--listbox-item-padding-y)",px:"var(--listbox-item-padding-x)",_highlighted:{outline:"2px solid",outlineColor:"border.emphasized"},_disabled:{pointerEvents:"none",opacity:"0.5"}},empty:{py:"var(--listbox-item-padding-y)",px:"var(--listbox-item-padding-x)"},itemText:{flex:"1"},itemGroup:{mt:"1.5",_first:{mt:"0"}},itemGroupLabel:{py:"1.5",px:"2",fontWeight:"medium"},label:{fontWeight:"medium",userSelect:"none",textStyle:"sm",_disabled:{layerStyle:"disabled"}},valueText:{lineClamp:"1",maxW:"80%"},itemIndicator:{display:"flex",alignItems:"center",justifyContent:"center",_icon:{boxSize:"4"}}},variants:{variant:{subtle:{content:{bg:"bg.panel",borderWidth:"1px",borderRadius:"l2"},item:{_hover:{bg:"bg.emphasized/60"},_selected:{bg:"bg.muted"}}},solid:{content:{bg:"bg.panel",borderWidth:"1px",borderRadius:"l2"},item:{_selected:{bg:"colorPalette.solid",color:"colorPalette.contrast"}}},plain:{}}},defaultVariants:{variant:"subtle"}});var ym=A({className:"chakra-marquee",slots:ua.keys(),base:{root:{position:"relative",width:"100%","--marquee-edge-color":"colors.bg","--marquee-edge-size":"20%","&[data-paused]":{animationPlayState:"paused !important","& *":{animationPlayState:"paused !important"}}},viewport:{overflow:"hidden",display:"flex",width:"100%",height:"100%"},content:{display:"flex",minWidth:"max-content",animationTimingFunction:"linear",animationFillMode:"forwards",animationDuration:"var(--marquee-duration)",animationDelay:"var(--marquee-delay)",animationIterationCount:"var(--marquee-loop-count)",_motionReduce:{animation:"none !important"},"&[data-side='start'], &[data-side='end']":{animationName:"marqueeX"},"&[data-side='top'], &[data-side='bottom']":{animationName:"marqueeY"},"&[data-reverse]":{animationDirection:"reverse"},"&[data-orientation='horizontal']":{flexDirection:"row"},"&[data-orientation='vertical']":{flexDirection:"column"}},edge:{position:"absolute",zIndex:"1",pointerEvents:"none","&[data-side='start']":{width:"var(--marquee-edge-size)",insetY:"0",insetInlineStart:"0",background:"linear-gradient(to right, var(--marquee-edge-color, white), transparent)",_rtl:{background:"linear-gradient(to left, var(--marquee-edge-color, white), transparent)"}},"&[data-side='end']":{width:"var(--marquee-edge-size)",insetY:"0",insetInlineEnd:"0",background:"linear-gradient(to left, var(--marquee-edge-color, white), transparent)",_rtl:{background:"linear-gradient(to right, var(--marquee-edge-color, white), transparent)"}},"&[data-side='top']":{height:"var(--marquee-edge-size)",insetX:"0",top:"0",background:"linear-gradient(to bottom, var(--marquee-edge-color, white), transparent)"},"&[data-side='bottom']":{height:"var(--marquee-edge-size)",insetX:"0",bottom:"0",background:"linear-gradient(to top, var(--marquee-edge-color, white), transparent)"}}}});var Lm=A({className:"chakra-menu",slots:Sg.keys(),base:{content:{outline:0,"--menu-bg":"colors.bg.panel",bg:"var(--menu-bg)",boxShadow:"lg",color:"fg",maxHeight:"var(--available-height)","--menu-z-index":"zIndex.popover",zIndex:"calc(var(--menu-z-index) + var(--layer-index, 0))",borderRadius:"l2",overflow:"hidden",overflowY:"auto",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"faster"}},item:{textDecoration:"none",color:"fg",userSelect:"none",borderRadius:"l1",width:"100%",display:"flex",cursor:"menuitem",alignItems:"center",textAlign:"start",position:"relative",flex:"0 0 auto",outline:0,_disabled:{layerStyle:"disabled"},"&[data-type]":{ps:"8"}},itemText:{flex:"1"},itemIndicator:{position:"absolute",insetStart:"2",transform:"translateY(-50%)",top:"50%"},itemGroupLabel:{px:"2",py:"1.5",fontWeight:"semibold",textStyle:"sm"},indicator:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:"0"},itemCommand:{opacity:"0.6",textStyle:"xs",ms:"auto",ps:"4",letterSpacing:"widest",fontFamily:"inherit"},separator:{height:"1px",bg:"bg.muted",my:"1",mx:"-1"},arrow:{"--arrow-size":"sizes.3","--arrow-background":"var(--menu-bg)"},arrowTip:{borderTopWidth:"1px",borderLeftWidth:"1px"}},variants:{variant:{subtle:{item:{_highlighted:{bg:"bg.emphasized/60"}}},solid:{item:{_highlighted:{bg:"colorPalette.solid",color:"colorPalette.contrast"}}}},size:{sm:{content:{minW:"8rem",padding:"1",scrollPadding:"1"},item:{gap:"1",textStyle:"xs",py:"1",px:"1.5"}},md:{content:{minW:"8rem",padding:"1.5",scrollPadding:"1.5"},item:{gap:"2",textStyle:"sm",py:"1.5",px:"2"}}}},defaultVariants:{size:"md",variant:"subtle"}});var Fr=A({className:"chakra-select",slots:_g.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5",width:"full"},trigger:{display:"flex",alignItems:"center",justifyContent:"space-between",width:"full",minH:"var(--select-trigger-height)","--input-height":"var(--select-trigger-height)",px:"var(--select-trigger-padding-x)",borderRadius:"l2",userSelect:"none",textAlign:"start",focusVisibleRing:"inside",_placeholderShown:{color:"fg.muted/80"},_disabled:{layerStyle:"disabled"},_invalid:{borderColor:"border.error"}},indicatorGroup:{display:"flex",alignItems:"center",gap:"1",pos:"absolute",insetEnd:"0",top:"0",bottom:"0",px:"var(--select-trigger-padding-x)",pointerEvents:"none"},indicator:{display:"flex",alignItems:"center",justifyContent:"center",color:{base:"fg.muted",_disabled:"fg.subtle",_invalid:"fg.error"}},content:{background:"bg.panel",display:"flex",flexDirection:"column","--select-z-index":"zIndex.popover",zIndex:"calc(var(--select-z-index) + var(--layer-index, 0))",borderRadius:"l2",outline:0,maxH:"96",overflowY:"auto",boxShadow:"md",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"fastest"}},item:{position:"relative",userSelect:"none",display:"flex",alignItems:"center",gap:"2",cursor:"option",justifyContent:"space-between",flex:"1",textAlign:"start",borderRadius:"l1",_highlighted:{bg:"bg.emphasized/60"},_disabled:{pointerEvents:"none",opacity:"0.5"},_icon:{width:"4",height:"4"}},control:{pos:"relative"},itemText:{flex:"1"},itemGroup:{_first:{mt:"0"}},itemGroupLabel:{py:"1",fontWeight:"medium"},label:{fontWeight:"medium",userSelect:"none",textStyle:"sm",_disabled:{layerStyle:"disabled"}},valueText:{lineClamp:"1",maxW:"80%"},clearTrigger:{color:"fg.muted",pointerEvents:"auto",focusVisibleRing:"inside",focusRingWidth:"2px",rounded:"l1"}},variants:{variant:{outline:{trigger:{bg:"transparent",borderWidth:"1px",borderColor:"border",_expanded:{borderColor:"border.emphasized"}}},subtle:{trigger:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted"}},ghost:{trigger:{bg:"transparent",_expanded:{bg:"bg.muted"}}}},size:{xs:{root:{"--select-trigger-height":"sizes.8","--select-trigger-padding-x":"spacing.2"},content:{p:"1",gap:"1",textStyle:"xs"},trigger:{textStyle:"xs",gap:"1"},item:{py:"1",px:"2"},itemGroupLabel:{py:"1",px:"2"},indicator:{_icon:{width:"3.5",height:"3.5"}}},sm:{root:{"--select-trigger-height":"sizes.9","--select-trigger-padding-x":"spacing.2.5"},content:{p:"1",textStyle:"sm"},trigger:{textStyle:"sm",gap:"1"},indicator:{_icon:{width:"4",height:"4"}},item:{py:"1",px:"1.5"},itemGroup:{mt:"1"},itemGroupLabel:{py:"1",px:"1.5"}},md:{root:{"--select-trigger-height":"sizes.10","--select-trigger-padding-x":"spacing.3"},content:{p:"1",textStyle:"sm"},itemGroup:{mt:"1.5"},item:{py:"1.5",px:"2"},itemIndicator:{display:"flex",alignItems:"center",justifyContent:"center"},itemGroupLabel:{py:"1.5",px:"2"},trigger:{textStyle:"sm",gap:"2"},indicator:{_icon:{width:"4",height:"4"}}},lg:{root:{"--select-trigger-height":"sizes.12","--select-trigger-padding-x":"spacing.4"},content:{p:"1.5",textStyle:"md"},itemGroup:{mt:"2"},item:{py:"2",px:"3"},itemGroupLabel:{py:"2",px:"3"},trigger:{textStyle:"md",py:"3",gap:"2"},indicator:{_icon:{width:"5",height:"5"}}}}},defaultVariants:{size:"md",variant:"outline"}});var Cm=A({className:"chakra-native-select",slots:Bg.keys(),base:{root:{height:"fit-content",display:"flex",width:"100%",position:"relative"},field:{width:"100%",minWidth:"0",outline:"0",appearance:"none",borderRadius:"l2","--error-color":"colors.border.error","--input-height":"var(--select-field-height)",height:"var(--select-field-height)",_disabled:{layerStyle:"disabled"},_invalid:{focusRingColor:"var(--error-color)",borderColor:"var(--error-color)"},focusVisibleRing:"inside",lineHeight:"normal","& > option, & > optgroup":{bg:"bg"}},indicator:{position:"absolute",display:"inline-flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",top:"50%",transform:"translateY(-50%)",height:"100%",color:"fg.muted",_disabled:{opacity:"0.5"},_invalid:{color:"fg.error"},_icon:{width:"1em",height:"1em"}}},variants:{variant:{outline:{field:Fr.variants?.variant.outline.trigger},subtle:{field:Fr.variants?.variant.subtle.trigger},plain:{field:{bg:"transparent",color:"fg",focusRingWidth:"2px"}},ghost:{field:Fr.variants?.variant.ghost.trigger}},size:{xs:{root:{"--select-field-height":"sizes.8"},field:{textStyle:"xs",ps:"2",pe:"6"},indicator:{textStyle:"sm",insetEnd:"1.5"}},sm:{root:{"--select-field-height":"sizes.9"},field:{textStyle:"sm",ps:"2.5",pe:"8"},indicator:{textStyle:"md",insetEnd:"2"}},md:{root:{"--select-field-height":"sizes.10"},field:{textStyle:"sm",ps:"3",pe:"8"},indicator:{textStyle:"lg",insetEnd:"2"}},lg:{root:{"--select-field-height":"sizes.11"},field:{textStyle:"md",ps:"4",pe:"8"},indicator:{textStyle:"xl",insetEnd:"3"}},xl:{root:{"--select-field-height":"sizes.12"},field:{textStyle:"md",ps:"4.5",pe:"10"},indicator:{textStyle:"xl",insetEnd:"3"}}}},defaultVariants:Fr.defaultVariants});var Sm=x2({display:"flex",justifyContent:"center",alignItems:"center",flex:"1",userSelect:"none",cursor:"button",lineHeight:"1",color:"fg.muted","--stepper-base-radius":"radii.l1","--stepper-radius":"calc(var(--stepper-base-radius) + 1px)",_icon:{boxSize:"1em"},_disabled:{opacity:"0.5"},_hover:{bg:"bg.muted"},_active:{bg:"bg.emphasized"}}),Bm=A({className:"chakra-number-input",slots:ma.keys(),base:{root:{position:"relative",zIndex:"0",isolation:"isolate"},input:{...N1.base,verticalAlign:"top",pe:"calc(var(--stepper-width) + 0.5rem)"},control:{display:"flex",flexDirection:"column",position:"absolute",top:"0",insetEnd:"0px",margin:"1px",width:"var(--stepper-width)",height:"calc(100% - 2px)",zIndex:"1",borderStartWidth:"1px",divideY:"1px"},incrementTrigger:{...Sm,borderTopEndRadius:"var(--stepper-radius)"},decrementTrigger:{...Sm,borderBottomEndRadius:"var(--stepper-radius)"},valueText:{fontWeight:"medium",fontFeatureSettings:"pnum",fontVariantNumeric:"proportional-nums"}},variants:{size:{xs:{input:N1.variants.size.xs,control:{fontSize:"2xs","--stepper-width":"sizes.4"}},sm:{input:N1.variants.size.sm,control:{fontSize:"xs","--stepper-width":"sizes.5"}},md:{input:N1.variants.size.md,control:{fontSize:"sm","--stepper-width":"sizes.6"}},lg:{input:N1.variants.size.lg,control:{fontSize:"sm","--stepper-width":"sizes.6"}}},variant:vt(N1.variants.variant,(t,e)=>[t,{input:e}])},defaultVariants:{size:"md",variant:"outline"}});var{variants:km,defaultVariants:QC}=N1,Om=A({className:"chakra-pin-input",slots:fa.keys(),base:{input:{...N1.base,textAlign:"center",width:"var(--input-height)"},control:{display:"inline-flex",gap:"2",isolation:"isolate"}},variants:{size:vt(km.size,(t,e)=>[t,{input:{...e,px:"1"}}]),variant:vt(km.variant,(t,e)=>[t,{input:e}]),attached:{true:{control:{gap:"0",spaceX:"-1px"},input:{_notFirst:{borderStartRadius:"0"},_notLast:{borderEndRadius:"0"},_focusVisible:{zIndex:"1"}}}}},defaultVariants:QC});var Am=A({className:"chakra-popover",slots:kg.keys(),base:{content:{position:"relative",display:"flex",flexDirection:"column",textStyle:"sm","--popover-bg":"colors.bg.panel",bg:"var(--popover-bg)",boxShadow:"lg","--popover-size":"sizes.xs","--popover-mobile-size":"calc(100dvw - 1rem)",width:{base:"min(var(--popover-mobile-size), var(--popover-size))",sm:"var(--popover-size)"},borderRadius:"l3","--popover-z-index":"zIndex.popover",zIndex:"calc(var(--popover-z-index) + var(--layer-index, 0))",outline:"0",transformOrigin:"var(--transform-origin)",maxHeight:"var(--available-height)",_open:{animationStyle:"scale-fade-in",animationDuration:"fast"},_closed:{animationStyle:"scale-fade-out",animationDuration:"faster"}},header:{paddingInline:"var(--popover-padding)",paddingTop:"var(--popover-padding)"},body:{padding:"var(--popover-padding)",flex:"1"},footer:{display:"flex",alignItems:"center",paddingInline:"var(--popover-padding)",paddingBottom:"var(--popover-padding)"},arrow:{"--arrow-size":"sizes.3","--arrow-background":"var(--popover-bg)"},arrowTip:{borderTopWidth:"1px",borderLeftWidth:"1px"}},variants:{size:{xs:{content:{"--popover-padding":"spacing.3"}},sm:{content:{"--popover-padding":"spacing.4"}},md:{content:{"--popover-padding":"spacing.5"}},lg:{content:{"--popover-padding":"spacing.6"}}}},defaultVariants:{size:"md"}});var _m=A({slots:ar.keys(),className:"chakra-progress",base:{root:{textStyle:"sm",position:"relative"},track:{overflow:"hidden",position:"relative"},range:{display:"flex",alignItems:"center",justifyContent:"center",transitionProperty:"width, height",transitionDuration:"slow",height:"100%",bgColor:"var(--track-color)",_indeterminate:{"--animate-from-x":"-40%","--animate-to-x":"100%",position:"absolute",willChange:"left",minWidth:"50%",animation:"position 1s ease infinite normal none running",backgroundImage:"linear-gradient(to right, transparent 0%, var(--track-color) 50%, transparent 100%)"}},label:{display:"inline-flex",fontWeight:"medium",alignItems:"center",gap:"1"},valueText:{textStyle:"xs",lineHeight:"1",fontWeight:"medium"}},variants:{variant:{outline:{track:{shadow:"inset",bgColor:"bg.muted"},range:{bgColor:"colorPalette.solid"}},subtle:{track:{bgColor:"colorPalette.muted"},range:{bgColor:"colorPalette.solid/72"}}},shape:{square:{},rounded:{track:{borderRadius:"l1"}},full:{track:{borderRadius:"full"}}},striped:{true:{range:{backgroundImage:"linear-gradient(45deg, var(--stripe-color) 25%, transparent 25%, transparent 50%, var(--stripe-color) 50%, var(--stripe-color) 75%, transparent 75%, transparent)",backgroundSize:"var(--stripe-size) var(--stripe-size)","--stripe-size":"1rem","--stripe-color":{_light:"rgba(255, 255, 255, 0.3)",_dark:"rgba(0, 0, 0, 0.3)"}}}},animated:{true:{range:{"--animate-from":"var(--stripe-size)",animation:"bg-position 1s linear infinite"}}},size:{xs:{track:{h:"1.5"}},sm:{track:{h:"2"}},md:{track:{h:"2.5"}},lg:{track:{h:"3"}},xl:{track:{h:"4"}}}},defaultVariants:{variant:"outline",size:"md",shape:"rounded"}});var Em=A({className:"chakra-progress-circle",slots:ar.keys(),base:{root:{display:"inline-flex",textStyle:"sm",position:"relative"},circle:{_indeterminate:{animation:"spin 2s linear infinite"}},circleTrack:{"--track-color":"colors.colorPalette.muted",stroke:"var(--track-color)"},circleRange:{stroke:"colorPalette.solid",transitionProperty:"stroke-dashoffset, stroke-dasharray",transitionDuration:"0.6s",_indeterminate:{animation:"circular-progress 1.5s linear infinite"}},label:{display:"inline-flex"},valueText:{lineHeight:"1",fontWeight:"medium",letterSpacing:"tight",fontVariantNumeric:"tabular-nums"}},variants:{size:{xs:{circle:{"--size":"24px","--thickness":"4px"},valueText:{textStyle:"2xs"}},sm:{circle:{"--size":"32px","--thickness":"5px"},valueText:{textStyle:"2xs"}},md:{circle:{"--size":"40px","--thickness":"6px"},valueText:{textStyle:"xs"}},lg:{circle:{"--size":"48px","--thickness":"7px"},valueText:{textStyle:"sm"}},xl:{circle:{"--size":"64px","--thickness":"8px"},valueText:{textStyle:"sm"}}}},defaultVariants:{size:"md"}});var Tm=A({slots:Ma.keys(),className:"chakra-qr-code",base:{root:{position:"relative",width:"fit-content","--qr-code-overlay-size":"calc(var(--qr-code-size) / 3)"},frame:{width:"var(--qr-code-size)",height:"var(--qr-code-size)",fill:"currentColor"},overlay:{display:"flex",alignItems:"center",justifyContent:"center",width:"var(--qr-code-overlay-size)",height:"var(--qr-code-overlay-size)",padding:"1",bg:"bg",rounded:"l1"}},variants:{size:{"2xs":{root:{"--qr-code-size":"40px"}},xs:{root:{"--qr-code-size":"64px"}},sm:{root:{"--qr-code-size":"80px"}},md:{root:{"--qr-code-size":"120px"}},lg:{root:{"--qr-code-size":"160px"}},xl:{root:{"--qr-code-size":"200px"}},"2xl":{root:{"--qr-code-size":"240px"}},full:{root:{"--qr-code-size":"100%"}}}},defaultVariants:{size:"md"}});var Rm=A({className:"chakra-radio-card",slots:Og.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5",isolation:"isolate"},item:{flex:"1",display:"flex",flexDirection:"column",userSelect:"none",position:"relative",borderRadius:"l2",_focus:{bg:"colorPalette.muted/20"},_disabled:{opacity:"0.5"},_checked:{zIndex:"1"}},label:{display:"inline-flex",fontWeight:"medium",textStyle:"sm",_disabled:{opacity:"0.5"}},itemText:{fontWeight:"medium",flex:"1"},itemDescription:{opacity:"0.64",textStyle:"sm"},itemControl:{display:"inline-flex",flex:"1",pos:"relative",rounded:"inherit",justifyContent:"var(--radio-card-justify)",alignItems:"var(--radio-card-align)",_disabled:{bg:"bg.muted"}},itemIndicator:ot.base,itemAddon:{roundedBottom:"inherit",_disabled:{color:"fg.muted"}},itemContent:{display:"flex",flexDirection:"column",flex:"1",gap:"1",justifyContent:"var(--radio-card-justify)",alignItems:"var(--radio-card-align)"}},variants:{size:{sm:{item:{textStyle:"sm"},itemControl:{padding:"3",gap:"1.5"},itemAddon:{px:"3",py:"1.5",borderTopWidth:"1px"},itemIndicator:ot.variants?.size.sm},md:{item:{textStyle:"sm"},itemControl:{padding:"4",gap:"2.5"},itemAddon:{px:"4",py:"2",borderTopWidth:"1px"},itemIndicator:ot.variants?.size.md},lg:{item:{textStyle:"md"},itemControl:{padding:"4",gap:"3.5"},itemAddon:{px:"4",py:"2",borderTopWidth:"1px"},itemIndicator:ot.variants?.size.lg}},variant:{surface:{item:{borderWidth:"1px",_checked:{bg:"colorPalette.subtle",color:"colorPalette.fg",borderColor:"colorPalette.muted"}},itemIndicator:ot.variants?.variant.solid},subtle:{item:{bg:"bg.muted"},itemControl:{_checked:{bg:"colorPalette.muted",color:"colorPalette.fg"}},itemIndicator:ot.variants?.variant.outline},outline:{item:{borderWidth:"1px",_checked:{boxShadow:"inset 0 0 0 1px var(--shadow-color)",boxShadowColor:"colorPalette.solid",borderColor:"colorPalette.solid"}},itemIndicator:ot.variants?.variant.solid},solid:{item:{borderWidth:"1px",_checked:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"colorPalette.solid"}},itemControl:{_disabled:{bg:"unset"}},itemIndicator:ot.variants?.variant.inverted}},justify:{start:{item:{"--radio-card-justify":"flex-start"}},end:{item:{"--radio-card-justify":"flex-end"}},center:{item:{"--radio-card-justify":"center"}}},align:{start:{item:{"--radio-card-align":"flex-start"},itemControl:{textAlign:"start"}},end:{item:{"--radio-card-align":"flex-end"},itemControl:{textAlign:"end"}},center:{item:{"--radio-card-align":"center"},itemControl:{textAlign:"center"}}},orientation:{vertical:{itemControl:{flexDirection:"column"}},horizontal:{itemControl:{flexDirection:"row"}}}},defaultVariants:{size:"md",variant:"outline",align:"start",orientation:"horizontal"}});var Pm=A({className:"chakra-radio-group",slots:q3.keys(),base:{item:{display:"inline-flex",alignItems:"center",position:"relative",fontWeight:"medium",_disabled:{cursor:"disabled"}},itemControl:ot.base,label:{userSelect:"none",textStyle:"sm",_disabled:{opacity:"0.5"}}},variants:{variant:{outline:{itemControl:ot.variants?.variant?.outline},subtle:{itemControl:ot.variants?.variant?.subtle},solid:{itemControl:ot.variants?.variant?.solid}},size:{xs:{item:{textStyle:"xs",gap:"1.5"},itemControl:ot.variants?.size?.xs},sm:{item:{textStyle:"sm",gap:"2"},itemControl:ot.variants?.size?.sm},md:{item:{textStyle:"sm",gap:"2.5"},itemControl:ot.variants?.size?.md},lg:{item:{textStyle:"md",gap:"3"},itemControl:ot.variants?.size?.lg}}},defaultVariants:{size:"md",variant:"solid"}});var Im=A({className:"chakra-rating-group",slots:Ag.keys(),base:{root:{display:"inline-flex"},control:{display:"inline-flex",alignItems:"center"},item:{display:"inline-flex",alignItems:"center",justifyContent:"center",userSelect:"none"},itemIndicator:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"1em",height:"1em",position:"relative","--clip-path":{base:"inset(0 50% 0 0)",_rtl:"inset(0 0 0 50%)"},_icon:{stroke:"currentColor",width:"100%",height:"100%",display:"inline-block",flexShrink:0,position:"absolute",left:0,top:0},"& [data-bg]":{color:"bg.emphasized"},"& [data-fg]":{color:"transparent"},"&[data-highlighted]:not([data-half])":{"& [data-fg]":{color:"colorPalette.solid"}},"&[data-half]":{"& [data-fg]":{color:"colorPalette.solid",clipPath:"var(--clip-path)"}}}},variants:{size:{xs:{item:{textStyle:"sm"}},sm:{item:{textStyle:"md"}},md:{item:{textStyle:"xl"}},lg:{item:{textStyle:"2xl"}}}},defaultVariants:{size:"md"}});var Nm=A({className:"chakra-scroll-area",slots:Ha.keys(),base:{root:{display:"flex",flexDirection:"column",width:"100%",height:"100%",position:"relative",overflow:"hidden","--scrollbar-margin":"2px","--scrollbar-click-area":"calc(var(--scrollbar-size) + calc(var(--scrollbar-margin) * 2))"},viewport:{display:"flex",flexDirection:"column",height:"100%",width:"100%",borderRadius:"inherit",WebkitOverflowScrolling:"touch",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},content:{minWidth:"100%"},scrollbar:{display:"flex",userSelect:"none",touchAction:"none",borderRadius:"full",colorPalette:"gray",transition:"opacity 150ms 300ms",position:"relative",margin:"var(--scrollbar-margin)","&:not([data-overflow-x], [data-overflow-y])":{display:"none"},bg:"{colors.colorPalette.solid/10}","--thumb-bg":"{colors.colorPalette.solid/25}","&:is(:hover, :active)":{"--thumb-bg":"{colors.colorPalette.solid/50}"},_before:{content:'""',position:"absolute"},_vertical:{width:"var(--scrollbar-size)",flexDirection:"column","&::before":{width:"var(--scrollbar-click-area)",height:"100%",insetInlineStart:"calc(var(--scrollbar-margin) * -1)"}},_horizontal:{height:"var(--scrollbar-size)",flexDirection:"row","&::before":{height:"var(--scrollbar-click-area)",width:"100%",top:"calc(var(--scrollbar-margin) * -1)"}}},thumb:{borderRadius:"inherit",bg:"var(--thumb-bg)",transition:"backgrounds",_vertical:{width:"full"},_horizontal:{height:"full"}},corner:{bg:"bg.muted",margin:"var(--scrollbar-margin)",opacity:0,transition:"opacity 150ms 300ms","&[data-hover]":{transitionDelay:"0ms",opacity:1}}},variants:{variant:{hover:{scrollbar:{opacity:"0","&[data-hover], &[data-scrolling]":{opacity:"1",transitionDuration:"faster",transitionDelay:"0ms"}}},always:{scrollbar:{opacity:"1"}}},size:{xs:{root:{"--scrollbar-size":"sizes.1"}},sm:{root:{"--scrollbar-size":"sizes.1.5"}},md:{root:{"--scrollbar-size":"sizes.2"}},lg:{root:{"--scrollbar-size":"sizes.3"}}}},defaultVariants:{size:"md",variant:"hover"}});var Dm=A({className:"chakra-segment-group",slots:Rl.keys(),base:{root:{"--segment-radius":"radii.l2","--segment-indicator-bg":{_light:"colors.bg",_dark:"colors.bg.emphasized"},"--segment-indicator-shadow":"shadows.sm",borderRadius:"var(--segment-radius)",display:"inline-flex",boxShadow:"inset",minW:"max-content",textAlign:"center",position:"relative",isolation:"isolate",bg:"bg.muted",_vertical:{flexDirection:"column"}},item:{display:"flex",alignItems:"center",justifyContent:"center",userSelect:"none",fontSize:"sm",position:"relative",color:"fg",borderRadius:"var(--segment-radius)",_disabled:{opacity:"0.5"},"&:has(input:focus-visible)":{focusRing:"outside"},_before:{content:'""',position:"absolute",bg:"border",transition:"opacity 0.2s"},_horizontal:{_before:{insetInlineStart:0,insetBlock:"1.5",width:"1px"}},_vertical:{_before:{insetBlockStart:0,insetInline:"1.5",height:"1px"}},"& + &[data-state=checked], &[data-state=checked] + &, &:first-of-type":{_before:{opacity:"0"}},"&[data-state=checked][data-ssr]":{shadow:"sm",bg:"bg",borderRadius:"var(--segment-radius)"}},indicator:{shadow:"var(--segment-indicator-shadow)",pos:"absolute",bg:"var(--segment-indicator-bg)",width:"var(--width)",height:"var(--height)",top:"var(--top)",left:"var(--left)",zIndex:-1,borderRadius:"var(--segment-radius)"}},variants:{size:{xs:{item:{textStyle:"xs",px:"3",gap:"1",height:"6"}},sm:{item:{textStyle:"sm",px:"4",gap:"2",height:"8"}},md:{item:{textStyle:"sm",px:"4",gap:"2",height:"10"}},lg:{item:{textStyle:"md",px:"4.5",gap:"3",height:"11"}}}},defaultVariants:{size:"md"}});var Fm=A({className:"chakra-slider",slots:Tg.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1",textStyle:"sm",position:"relative",isolation:"isolate",touchAction:"none"},label:{fontWeight:"medium",textStyle:"sm"},control:{display:"inline-flex",alignItems:"center",position:"relative"},track:{overflow:"hidden",borderRadius:"full",flex:"1"},range:{width:"inherit",height:"inherit",_disabled:{bg:"border.emphasized!"}},markerGroup:{position:"absolute!",zIndex:"1"},marker:{"--marker-bg":{base:"white",_underValue:"colors.bg"},display:"flex",alignItems:"center",gap:"calc(var(--slider-thumb-size) / 2)",color:"fg.muted",textStyle:"xs"},markerIndicator:{width:"var(--slider-marker-size)",height:"var(--slider-marker-size)",borderRadius:"full",bg:"var(--marker-bg)"},thumb:{width:"var(--slider-thumb-size)",height:"var(--slider-thumb-size)",display:"flex",alignItems:"center",justifyContent:"center",outline:0,zIndex:"2",borderRadius:"full",transition:"shadow",_focusVisible:{ring:"3px",ringColor:"colorPalette.focusRing/50"}}},variants:{size:{sm:{root:{"--slider-thumb-size":"sizes.4","--slider-track-size":"sizes.1.5","--slider-marker-center":"6px","--slider-marker-size":"sizes.1","--slider-marker-inset":"3px"}},md:{root:{"--slider-thumb-size":"sizes.5","--slider-track-size":"sizes.2","--slider-marker-center":"8px","--slider-marker-size":"sizes.1","--slider-marker-inset":"4px"}},lg:{root:{"--slider-thumb-size":"sizes.6","--slider-track-size":"sizes.2.5","--slider-marker-center":"9px","--slider-marker-size":"sizes.1.5","--slider-marker-inset":"5px"}}},variant:{outline:{track:{shadow:"inset",bg:"bg.emphasized/72"},range:{bg:"colorPalette.solid"},thumb:{borderWidth:"2px",borderColor:"colorPalette.solid",bg:"bg",_disabled:{bg:"border.emphasized",borderColor:"border.emphasized"}}},solid:{track:{bg:"colorPalette.subtle",_disabled:{bg:"bg.muted"}},range:{bg:"colorPalette.solid"},thumb:{bg:"colorPalette.solid",_disabled:{bg:"border.emphasized"}}}},orientation:{vertical:{root:{display:"inline-flex"},control:{flexDirection:"column",height:"100%",minWidth:"var(--slider-thumb-size)","&:has(.chakra-slider__markerLabel)":{marginEnd:"4"}},track:{width:"var(--slider-track-size)"},thumb:{left:"50%",translate:"-50% 0"},markerGroup:{insetStart:"var(--slider-marker-center)",insetBlock:"var(--slider-marker-inset)"},marker:{flexDirection:"row"}},horizontal:{control:{flexDirection:"row",width:"100%",minHeight:"var(--slider-thumb-size)","&:has(.chakra-slider__markerLabel)":{marginBottom:"4"}},track:{height:"var(--slider-track-size)"},thumb:{top:"50%",translate:"0 -50%"},markerGroup:{top:"var(--slider-marker-center)",insetInline:"var(--slider-marker-inset)"},marker:{flexDirection:"column"}}}},defaultVariants:{size:"md",variant:"outline",orientation:"horizontal"}});var Wm=A({slots:Kg.keys(),className:"splitter",base:{resizeTrigger:{"--splitter-border-color":"colors.border","--splitter-thumb-color":"colors.bg","--splitter-thumb-size":"sizes.2","--splitter-thumb-inset":"calc(var(--splitter-thumb-size) * -0.5)","--splitter-border-size":"1px","--splitter-handle-size":"sizes.6",outline:"0",display:"grid",placeItems:"center",position:"relative",_focus:{"--splitter-border-color":"colors.border.emphasized","--splitter-thumb-color":"colors.colorPalette.subtle"},_dragging:{"--splitter-thumb-color":"colors.colorPalette.focusRing"},_horizontal:{minWidth:"var(--splitter-thumb-size)",marginInline:"var(--splitter-thumb-inset)"},_vertical:{minHeight:"var(--splitter-thumb-size)",marginBlock:"var(--splitter-thumb-inset)"}},resizeTriggerSeparator:{position:"absolute",bg:"var(--splitter-border-color)","[data-part='resize-trigger'][data-orientation=horizontal] &":{insetInlineEnd:"calc(var(--splitter-thumb-size) * 0.5)",insetBlock:"0",insetInlineStart:"auto",w:"var(--splitter-border-size)"},"[data-part='resize-trigger'][data-orientation=vertical] &":{insetBlockEnd:"calc(var(--splitter-thumb-size) * 0.5)",insetInline:"0",insetBlockStart:"auto",h:"var(--splitter-border-size)"}},resizeTriggerIndicator:{position:"relative",rounded:"full",bg:"var(--splitter-thumb-color)",shadow:"xs",borderWidth:"1px",zIndex:"1","[data-part='resize-trigger'][data-orientation=horizontal] &":{w:"full",h:"var(--splitter-handle-size)"},"[data-part='resize-trigger'][data-orientation=vertical] &":{w:"var(--splitter-handle-size)",h:"full"},"[data-part='resize-trigger'][data-focus]:focus-visible &":{outlineWidth:"2px",outlineColor:"colorPalette.focusRing",outlineStyle:"solid"},"[data-part='resize-trigger'][data-disabled] &":{visibility:"hidden"}}}});var Um=A({className:"chakra-stat",slots:Rg.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1",position:"relative",flex:"1"},label:{display:"inline-flex",gap:"1.5",alignItems:"center",color:"fg.muted",textStyle:"sm"},helpText:{color:"fg.muted",textStyle:"xs"},valueUnit:{color:"fg.muted",textStyle:"xs",fontWeight:"initial",letterSpacing:"initial"},valueText:{verticalAlign:"baseline",fontWeight:"semibold",letterSpacing:"tight",fontFeatureSettings:"pnum",fontVariantNumeric:"proportional-nums",display:"inline-flex",gap:"1"},indicator:{display:"inline-flex",alignItems:"center",justifyContent:"center",marginEnd:1,"& :where(svg)":{w:"1em",h:"1em"},"&[data-type=up]":{color:"fg.success"},"&[data-type=down]":{color:"fg.error"}}},variants:{size:{sm:{valueText:{textStyle:"xl"}},md:{valueText:{textStyle:"2xl"}},lg:{valueText:{textStyle:"3xl"}}}},defaultVariants:{size:"md"}});var Gm=A({className:"chakra-status",slots:Pg.keys(),base:{root:{display:"inline-flex",alignItems:"center",gap:"2"},indicator:{width:"0.64em",height:"0.64em",flexShrink:0,borderRadius:"full",forcedColorAdjust:"none",bg:"colorPalette.solid"}},variants:{size:{sm:{root:{textStyle:"xs"}},md:{root:{textStyle:"sm"}},lg:{root:{textStyle:"md"}}}},defaultVariants:{size:"md"}});var $m=A({className:"chakra-steps",slots:Ig.keys(),base:{root:{display:"flex",width:"full"},list:{display:"flex",justifyContent:"space-between","--steps-gutter":"spacing.3","--steps-thickness":"2px"},title:{fontWeight:"medium",color:"fg"},description:{color:"fg.muted"},separator:{bg:"border",flex:"1"},indicator:{display:"flex",justifyContent:"center",alignItems:"center",flexShrink:"0",borderRadius:"full",fontWeight:"medium",width:"var(--steps-size)",height:"var(--steps-size)",_icon:{flexShrink:"0",width:"var(--steps-icon-size)",height:"var(--steps-icon-size)"}},item:{position:"relative",display:"flex",gap:"3",flex:"1 0 0","&:last-of-type":{flex:"initial","& [data-part=separator]":{display:"none"}}},trigger:{display:"flex",alignItems:"center",gap:"3",textAlign:"start",focusVisibleRing:"outside",borderRadius:"l2"},content:{focusVisibleRing:"outside"}},variants:{orientation:{vertical:{root:{flexDirection:"row",height:"100%"},list:{flexDirection:"column",alignItems:"flex-start"},separator:{position:"absolute",width:"var(--steps-thickness)",height:"100%",maxHeight:"calc(100% - var(--steps-size) - var(--steps-gutter) * 2)",top:"calc(var(--steps-size) + var(--steps-gutter))",insetStart:"calc(var(--steps-size) / 2 - 1px)"},item:{alignItems:"flex-start"}},horizontal:{root:{flexDirection:"column",width:"100%"},list:{flexDirection:"row",alignItems:"center"},separator:{width:"100%",height:"var(--steps-thickness)",marginX:"var(--steps-gutter)"},item:{alignItems:"center"}}},variant:{solid:{indicator:{_incomplete:{borderWidth:"var(--steps-thickness)"},_current:{bg:"colorPalette.muted",borderWidth:"var(--steps-thickness)",borderColor:"colorPalette.solid",color:"colorPalette.fg"},_complete:{bg:"colorPalette.solid",borderColor:"colorPalette.solid",color:"colorPalette.contrast"}},separator:{_complete:{bg:"colorPalette.solid"}}},subtle:{indicator:{_incomplete:{bg:"bg.muted"},_current:{bg:"colorPalette.muted",color:"colorPalette.fg"},_complete:{bg:"colorPalette.emphasized",color:"colorPalette.fg"}},separator:{_complete:{bg:"colorPalette.emphasized"}}}},size:{xs:{root:{gap:"2.5"},list:{"--steps-size":"sizes.6","--steps-icon-size":"sizes.3.5",textStyle:"xs"},title:{textStyle:"sm"}},sm:{root:{gap:"3"},list:{"--steps-size":"sizes.8","--steps-icon-size":"sizes.4",textStyle:"xs"},title:{textStyle:"sm"}},md:{root:{gap:"4"},list:{"--steps-size":"sizes.10","--steps-icon-size":"sizes.4",textStyle:"sm"},title:{textStyle:"sm"}},lg:{root:{gap:"6"},list:{"--steps-size":"sizes.11","--steps-icon-size":"sizes.5",textStyle:"md"},title:{textStyle:"md"}}}},defaultVariants:{size:"md",variant:"solid",orientation:"horizontal"}});var jm=A({slots:Ng.keys(),className:"chakra-switch",base:{root:{display:"inline-flex",gap:"2.5",alignItems:"center",position:"relative",verticalAlign:"middle","--switch-diff":"calc(var(--switch-width) - var(--switch-height))","--switch-x":{base:"var(--switch-diff)",_rtl:"calc(var(--switch-diff) * -1)"}},label:{lineHeight:"1",userSelect:"none",fontSize:"sm",fontWeight:"medium",_disabled:{opacity:"0.5"}},indicator:{position:"absolute",height:"var(--switch-height)",width:"var(--switch-height)",fontSize:"var(--switch-indicator-font-size)",fontWeight:"medium",flexShrink:0,userSelect:"none",display:"grid",placeContent:"center",transition:"inset-inline-start 0.12s ease",insetInlineStart:"calc(var(--switch-x) - 2px)",_checked:{insetInlineStart:"2px"}},control:{display:"inline-flex",gap:"0.5rem",flexShrink:0,justifyContent:"flex-start",cursor:"switch",borderRadius:"full",position:"relative",width:"var(--switch-width)",height:"var(--switch-height)",transition:"backgrounds",_disabled:{opacity:"0.5",cursor:"not-allowed"},_invalid:{outline:"2px solid",outlineColor:"border.error",outlineOffset:"2px"}},thumb:{display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,transitionProperty:"translate",transitionDuration:"fast",borderRadius:"inherit",_checked:{translate:"var(--switch-x) 0"}}},variants:{variant:{solid:{control:{borderRadius:"full",bg:"bg.emphasized",focusVisibleRing:"outside",_checked:{bg:"colorPalette.solid"}},thumb:{bg:"white",width:"var(--switch-height)",height:"var(--switch-height)",scale:"0.8",boxShadow:"sm",_checked:{bg:"colorPalette.contrast"}}},raised:{control:{borderRadius:"full",height:"calc(var(--switch-height) / 2)",bg:"bg.muted",boxShadow:"inset",_checked:{bg:"colorPalette.solid/60"}},thumb:{width:"var(--switch-height)",height:"var(--switch-height)",position:"relative",top:"calc(var(--switch-height) * -0.25)",bg:"white",boxShadow:"xs",focusVisibleRing:"outside",_checked:{bg:"colorPalette.solid"}}}},size:{xs:{root:{"--switch-width":"sizes.6","--switch-height":"sizes.3","--switch-indicator-font-size":"fontSizes.xs"}},sm:{root:{"--switch-width":"sizes.8","--switch-height":"sizes.4","--switch-indicator-font-size":"fontSizes.xs"}},md:{root:{"--switch-width":"sizes.10","--switch-height":"sizes.5","--switch-indicator-font-size":"fontSizes.sm"}},lg:{root:{"--switch-width":"sizes.12","--switch-height":"sizes.6","--switch-indicator-font-size":"fontSizes.md"}}}},defaultVariants:{variant:"solid",size:"md"}});var Km=A({className:"chakra-table",slots:Dg.keys(),base:{root:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full",textAlign:"start",verticalAlign:"top"},row:{_selected:{bg:"colorPalette.subtle"}},cell:{textAlign:"start",alignItems:"center"},columnHeader:{fontWeight:"medium",textAlign:"start",color:"fg"},caption:{fontWeight:"medium",textStyle:"xs"},footer:{fontWeight:"medium"}},variants:{interactive:{true:{body:{"& tr":{_hover:{bg:"colorPalette.subtle"}}}}},stickyHeader:{true:{header:{"& :where(tr)":{top:"var(--table-sticky-offset, 0)",position:"sticky",zIndex:1}}}},striped:{true:{row:{"&:nth-of-type(odd) td":{bg:"bg.muted"}}}},showColumnBorder:{true:{columnHeader:{"&:not(:last-of-type)":{borderInlineEndWidth:"1px"}},cell:{"&:not(:last-of-type)":{borderInlineEndWidth:"1px"}}}},variant:{line:{columnHeader:{borderBottomWidth:"1px"},cell:{borderBottomWidth:"1px"},row:{bg:"bg"}},outline:{root:{boxShadow:"0 0 0 1px {colors.border}"},columnHeader:{borderBottomWidth:"1px"},header:{bg:"bg.muted"},row:{"&:not(:last-of-type)":{borderBottomWidth:"1px"}},footer:{borderTopWidth:"1px"}}},size:{sm:{root:{textStyle:"sm"},columnHeader:{px:"2",py:"2"},cell:{px:"2",py:"2"}},md:{root:{textStyle:"sm"},columnHeader:{px:"3",py:"3"},cell:{px:"3",py:"3"}},lg:{root:{textStyle:"md"},columnHeader:{px:"4",py:"3"},cell:{px:"4",py:"3"}}}},defaultVariants:{variant:"line",size:"md"}});var qm=A({slots:Wg.keys(),className:"chakra-tabs",base:{root:{"--tabs-trigger-radius":"radii.l2","--tabs-indicator-shadow":"shadows.xs","--tabs-indicator-bg":"colors.bg",position:"relative",_horizontal:{display:"block"},_vertical:{display:"flex"}},list:{display:"inline-flex",position:"relative",isolation:"isolate",minH:"var(--tabs-height)",_horizontal:{flexDirection:"row"},_vertical:{flexDirection:"column"}},trigger:{outline:"0",minW:"var(--tabs-height)",height:"var(--tabs-height)",display:"flex",alignItems:"center",fontWeight:"medium",position:"relative",cursor:"button",gap:"2",_focusVisible:{zIndex:1,outline:"2px solid",outlineColor:"colorPalette.focusRing"},_disabled:{cursor:"not-allowed",opacity:.5}},content:{focusVisibleRing:"inside",_horizontal:{width:"100%",pt:"var(--tabs-content-padding)"},_vertical:{height:"100%",ps:"var(--tabs-content-padding)"}},indicator:{width:"var(--width)",height:"var(--height)",borderRadius:"var(--tabs-trigger-radius)",bg:"var(--tabs-indicator-bg)",shadow:"var(--tabs-indicator-shadow)",zIndex:-1}},variants:{fitted:{true:{list:{display:"flex"},trigger:{flex:1,textAlign:"center",justifyContent:"center"}}},justify:{start:{list:{justifyContent:"flex-start"}},center:{list:{justifyContent:"center"}},end:{list:{justifyContent:"flex-end"}}},size:{sm:{root:{"--tabs-height":"sizes.9","--tabs-content-padding":"spacing.3"},trigger:{py:"1",px:"3",textStyle:"sm"}},md:{root:{"--tabs-height":"sizes.10","--tabs-content-padding":"spacing.4"},trigger:{py:"2",px:"4",textStyle:"sm"}},lg:{root:{"--tabs-height":"sizes.11","--tabs-content-padding":"spacing.4.5"},trigger:{py:"2",px:"4.5",textStyle:"md"}}},variant:{line:{list:{display:"flex",borderColor:"border",_horizontal:{borderBottomWidth:"1px"},_vertical:{borderEndWidth:"1px"}},trigger:{color:"fg.muted",_disabled:{_active:{bg:"initial"}},_selected:{color:"fg",_horizontal:{layerStyle:"indicator.bottom","--indicator-offset-y":"-1px","--indicator-color":"colors.colorPalette.solid"},_vertical:{layerStyle:"indicator.end","--indicator-offset-x":"-1px"}}}},subtle:{trigger:{borderRadius:"var(--tabs-trigger-radius)",color:"fg.muted",_selected:{bg:"colorPalette.subtle",color:"colorPalette.fg"}}},enclosed:{list:{bg:"bg.muted",padding:"1",borderRadius:"l3",minH:"calc(var(--tabs-height) - 4px)"},trigger:{justifyContent:"center",color:"fg.muted",borderRadius:"var(--tabs-trigger-radius)",_selected:{bg:"bg",color:"colorPalette.fg",shadow:"xs"}}},outline:{list:{"--line-thickness":"1px","--line-offset":"calc(var(--line-thickness) * -1)",borderColor:"border",display:"flex",_horizontal:{_before:{content:'""',position:"absolute",bottom:"0px",width:"100%",borderBottomWidth:"var(--line-thickness)",borderBottomColor:"border"}},_vertical:{_before:{content:'""',position:"absolute",insetInline:"var(--line-offset)",height:"calc(100% - calc(var(--line-thickness) * 2))",borderEndWidth:"var(--line-thickness)",borderEndColor:"border"}}},trigger:{color:"fg.muted",borderWidth:"1px",borderColor:"transparent",_selected:{bg:"currentBg",color:"colorPalette.fg"},_horizontal:{borderTopRadius:"var(--tabs-trigger-radius)",marginBottom:"var(--line-offset)",marginEnd:{_notLast:"var(--line-offset)"},_selected:{borderColor:"border",borderBottomColor:"transparent"}},_vertical:{borderStartRadius:"var(--tabs-trigger-radius)",marginEnd:"var(--line-offset)",marginBottom:{_notLast:"var(--line-offset)"},_selected:{borderColor:"border",borderEndColor:"transparent"}}}},plain:{trigger:{color:"fg.muted",_selected:{color:"colorPalette.fg"},borderRadius:"var(--tabs-trigger-radius)","&[data-selected][data-ssr]":{bg:"var(--tabs-indicator-bg)",shadow:"var(--tabs-indicator-shadow)",borderRadius:"var(--tabs-trigger-radius)"}}}}},defaultVariants:{size:"md",variant:"line"}});var Jl=_a.variants?.variant,Ym=A({slots:Ug.keys(),className:"chakra-tag",base:{root:{display:"inline-flex",alignItems:"center",verticalAlign:"top",maxWidth:"100%",userSelect:"none",borderRadius:"l2",focusVisibleRing:"outside"},label:{lineClamp:"1"},closeTrigger:{display:"flex",alignItems:"center",justifyContent:"center",outline:"0",borderRadius:"l1",color:"currentColor",focusVisibleRing:"inside",focusRingWidth:"2px"},startElement:{flexShrink:0,boxSize:"var(--tag-element-size)",ms:"var(--tag-element-offset)","&:has([data-scope=avatar])":{boxSize:"var(--tag-avatar-size)",ms:"calc(var(--tag-element-offset) * 1.5)"},_icon:{boxSize:"100%"}},endElement:{flexShrink:0,boxSize:"var(--tag-element-size)",me:"var(--tag-element-offset)",_icon:{boxSize:"100%"},"&:has(button)":{ms:"calc(var(--tag-element-offset) * -1)"}}},variants:{size:{sm:{root:{px:"1.5",minH:"4.5",gap:"1","--tag-avatar-size":"spacing.3","--tag-element-size":"spacing.3","--tag-element-offset":"-2px"},label:{textStyle:"xs"}},md:{root:{px:"1.5",minH:"5",gap:"1","--tag-avatar-size":"spacing.3.5","--tag-element-size":"spacing.3.5","--tag-element-offset":"-2px"},label:{textStyle:"xs"}},lg:{root:{px:"2",minH:"6",gap:"1.5","--tag-avatar-size":"spacing.4.5","--tag-element-size":"spacing.4","--tag-element-offset":"-3px"},label:{textStyle:"sm"}},xl:{root:{px:"2.5",minH:"8",gap:"1.5","--tag-avatar-size":"spacing.6","--tag-element-size":"spacing.4.5","--tag-element-offset":"-4px"},label:{textStyle:"sm"}}},variant:{subtle:{root:Jl?.subtle},solid:{root:Jl?.solid},outline:{root:Jl?.outline},surface:{root:Jl?.surface}}},defaultVariants:{size:"md",variant:"surface"}});var Qm=A({slots:La.keys(),className:"tags-input",base:{root:{display:"flex",flexDirection:"column",gap:"1.5",width:"full"},label:{fontWeight:"medium",textStyle:"sm",_disabled:{opacity:"0.5"}},control:{"--focus-color":"colors.colorPalette.focusRing","--error-color":"colors.border.error",minH:"var(--tags-input-height)","--input-height":"var(--tags-input-height)",px:"var(--tags-input-px)",py:"var(--tags-input-py)",gap:"var(--tags-input-gap)",display:"flex",flexWrap:"wrap",alignItems:"center",borderRadius:"l2",pos:"relative",transitionProperty:"border-color, box-shadow",transitionDuration:"normal",_disabled:{opacity:"0.5"},_invalid:{borderColor:"var(--error-color)"}},input:{flex:"1",minWidth:"20",outline:"none",bg:"transparent",color:"fg",px:"calc(var(--tags-input-item-px) / 1.25)",height:"var(--tags-input-item-height)",_readOnly:{display:"none"}},item:{maxWidth:"100%",minWidth:"0"},itemText:{lineClamp:"1",minWidth:"0"},itemInput:{outline:"none",bg:"transparent",minWidth:"2ch",color:"inherit",px:"var(--tags-input-item-px)",height:"var(--tags-input-item-height)"},itemPreview:{height:"var(--tags-input-item-height)",userSelect:"none",display:"inline-flex",alignItems:"center",gap:"1",rounded:"l1",px:"var(--tags-input-item-px)",maxWidth:"100%"},itemDeleteTrigger:{display:"flex",alignItems:"center",justifyContent:"center",flexShrink:"0",boxSize:"calc(var(--tags-input-item-height) / 1.5)",cursor:{base:"button",_disabled:"initial"},me:"-1",opacity:"0.4",_hover:{opacity:"1"},"[data-highlighted] &":{opacity:"1"},_icon:{boxSize:"80%"}},clearTrigger:{display:"flex",alignItems:"center",justifyContent:"center",boxSize:"calc(var(--tags-input-item-height) / 1.5)",cursor:{base:"button",_disabled:"initial"},color:"fg.muted",focusVisibleRing:"inside",focusRingWidth:"2px",rounded:"l1",_icon:{boxSize:"5"}}},variants:{size:{xs:{root:{"--tags-input-height":"sizes.8","--tags-input-px":"spacing.1.5","--tags-input-py":"spacing.1","--tags-input-gap":"spacing.1","--tags-input-item-height":"sizes.6","--tags-input-item-px":"spacing.2",textStyle:"xs"}},sm:{root:{"--tags-input-height":"sizes.9","--tags-input-px":"spacing.1.5","--tags-input-py":"spacing.1","--tags-input-gap":"spacing.1","--tags-input-item-height":"sizes.6","--tags-input-item-px":"spacing.2",textStyle:"sm"}},md:{root:{"--tags-input-height":"sizes.10","--tags-input-px":"spacing.1.5","--tags-input-py":"spacing.1","--tags-input-gap":"spacing.1","--tags-input-item-height":"sizes.7","--tags-input-item-px":"spacing.2",textStyle:"sm"}},lg:{root:{"--tags-input-height":"sizes.11","--tags-input-px":"spacing.1.5","--tags-input-py":"spacing.1","--tags-input-gap":"spacing.1","--tags-input-item-height":"sizes.8","--tags-input-item-px":"spacing.2",textStyle:"md"}}},variant:{outline:{control:{borderWidth:"1px",bg:"bg",_focus:{outlineWidth:"1px",outlineStyle:"solid",outlineColor:"var(--focus-color)",borderColor:"var(--focus-color)",_invalid:{outlineColor:"var(--error-color)",borderColor:"var(--error-color)"}}},itemPreview:{bg:"colorPalette.subtle",_highlighted:{bg:"colorPalette.muted"}}},subtle:{control:{bg:"bg.muted",borderWidth:"1px",borderColor:"transparent",_focus:{outlineWidth:"1px",outlineStyle:"solid",outlineColor:"var(--focus-color)",borderColor:"var(--focus-color)",_invalid:{outlineColor:"var(--error-color)",borderColor:"var(--error-color)"}}},itemPreview:{bg:"bg",borderWidth:"1px",_highlighted:{bg:"colorPalette.subtle",borderColor:"colorPalette.emphasized"}}},flushed:{control:{borderRadius:"0",px:"0",bg:"transparent",borderBottomWidth:"1px",borderBottomColor:"border",_focus:{borderColor:"var(--focus-color)",boxShadow:"0px 1px 0px 0px var(--focus-color)"}},itemPreview:{bg:"colorPalette.subtle",_highlighted:{bg:"colorPalette.muted"}}}}},defaultVariants:{size:"md",variant:"outline"}});var Xm=A({slots:Gg.keys(),className:"chakra-timeline",base:{root:{display:"flex",flexDirection:"column",width:"full","--timeline-thickness":"1px","--timeline-gutter":"4px"},item:{"--timeline-content-gap":"spacing.6",display:"flex",position:"relative",alignItems:"flex-start",flexShrink:0,gap:"4",_last:{"--timeline-content-gap":"0"}},separator:{display:"var(--timeline-separator-display)",position:"absolute",borderStartWidth:"var(--timeline-thickness)",ms:"calc(-1 * var(--timeline-thickness) / 2)",insetInlineStart:"calc(var(--timeline-indicator-size) / 2)",insetBlock:"0",borderColor:"border"},indicator:{outline:"2px solid {colors.bg}",position:"relative",flexShrink:"0",boxSize:"var(--timeline-indicator-size)",fontSize:"var(--timeline-font-size)",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"full",fontWeight:"medium"},connector:{alignSelf:"stretch",position:"relative"},content:{pb:"var(--timeline-content-gap)",display:"flex",flexDirection:"column",width:"full",gap:"2"},title:{display:"flex",fontWeight:"medium",flexWrap:"wrap",gap:"1.5",alignItems:"center",mt:"var(--timeline-margin)"},description:{color:"fg.muted",textStyle:"xs"}},variants:{variant:{subtle:{indicator:{bg:"colorPalette.muted"}},solid:{indicator:{bg:"colorPalette.solid",color:"colorPalette.contrast"}},outline:{indicator:{bg:"currentBg",borderWidth:"1px",borderColor:"colorPalette.muted"}},plain:{}},showLastSeparator:{true:{item:{_last:{"--timeline-separator-display":"initial"}}},false:{item:{_last:{"--timeline-separator-display":"none"}}}},size:{sm:{root:{"--timeline-indicator-size":"sizes.4","--timeline-font-size":"fontSizes.2xs"},title:{textStyle:"xs"}},md:{root:{"--timeline-indicator-size":"sizes.5","--timeline-font-size":"fontSizes.xs"},title:{textStyle:"sm"}},lg:{root:{"--timeline-indicator-size":"sizes.6","--timeline-font-size":"fontSizes.xs"},title:{mt:"0.5",textStyle:"sm"}},xl:{root:{"--timeline-indicator-size":"sizes.8","--timeline-font-size":"fontSizes.sm"},title:{mt:"1.5",textStyle:"sm"}}}},defaultVariants:{size:"md",variant:"solid",showLastSeparator:!1}});var Zm=A({slots:Fg.keys(),className:"chakra-toast",base:{root:{width:"full",display:"flex",alignItems:"flex-start",position:"relative",gap:"3",py:"4",ps:"4",pe:"6",borderRadius:"l2",translate:"var(--x) var(--y)",scale:"var(--scale)",zIndex:"var(--z-index)",height:"var(--height)",opacity:"var(--opacity)",willChange:"translate, opacity, scale",transition:"translate 400ms, scale 400ms, opacity 400ms, height 400ms, box-shadow 200ms",transitionTimingFunction:"cubic-bezier(0.21, 1.02, 0.73, 1)",_closed:{transition:"translate 400ms, scale 400ms, opacity 200ms",transitionTimingFunction:"cubic-bezier(0.06, 0.71, 0.55, 1)"},bg:"bg.panel",color:"fg",boxShadow:"xl","--toast-trigger-bg":"colors.bg.muted","&[data-type=warning]":{bg:"orange.solid",color:"orange.contrast","--toast-trigger-bg":"{white/10}","--toast-border-color":"{white/40}"},"&[data-type=success]":{bg:"green.solid",color:"green.contrast","--toast-trigger-bg":"{white/10}","--toast-border-color":"{white/40}"},"&[data-type=error]":{bg:"red.solid",color:"red.contrast","--toast-trigger-bg":"{white/10}","--toast-border-color":"{white/40}"}},title:{fontWeight:"medium",textStyle:"sm",marginEnd:"2"},description:{display:"inline",textStyle:"sm",opacity:"0.8"},indicator:{flexShrink:"0",boxSize:"5"},actionTrigger:{textStyle:"sm",fontWeight:"medium",height:"8",px:"3",borderRadius:"l2",alignSelf:"center",borderWidth:"1px",borderColor:"var(--toast-border-color, inherit)",transition:"background 200ms",_hover:{bg:"var(--toast-trigger-bg)"}},closeTrigger:{position:"absolute",top:"1",insetEnd:"1",padding:"1",display:"inline-flex",alignItems:"center",justifyContent:"center",color:"{currentColor/60}",borderRadius:"l2",textStyle:"md",transition:"background 200ms",_icon:{boxSize:"1em"}}}});var Jm=A({slots:Ca.keys(),className:"chakra-tooltip",base:{content:{"--tooltip-bg":"colors.bg.inverted",bg:"var(--tooltip-bg)",color:"fg.inverted",px:"2.5",py:"1",borderRadius:"l2",fontWeight:"medium",textStyle:"xs",boxShadow:"md",maxW:"xs",zIndex:"tooltip",transformOrigin:"var(--transform-origin)",_open:{animationStyle:"scale-fade-in",animationDuration:"fast"},_closed:{animationStyle:"scale-fade-out",animationDuration:"fast"}},arrow:{"--arrow-size":"sizes.2","--arrow-background":"var(--tooltip-bg)"},arrowTip:{borderTopWidth:"1px",borderLeftWidth:"1px",borderColor:"var(--tooltip-bg)"}}});var tf=x2({display:"flex",alignItems:"center",gap:"var(--tree-item-gap)",rounded:"l2",userSelect:"none",position:"relative","--tree-depth":"calc(var(--depth) - 1)","--tree-indentation-offset":"calc(var(--tree-indentation) * var(--tree-depth))","--tree-icon-offset":"calc(var(--tree-icon-size) * var(--tree-depth) * 0.5)","--tree-offset":"calc(var(--tree-padding-inline) + var(--tree-indentation-offset) + var(--tree-icon-offset))",ps:"var(--tree-offset)",pe:"var(--tree-padding-inline)",py:"var(--tree-padding-block)",focusVisibleRing:"inside",focusRingColor:"border.emphasized",focusRingWidth:"2px","&:hover, &:focus-visible":{bg:"bg.muted"},_disabled:{layerStyle:"disabled"}}),ef=x2({flex:"1"}),rf=x2({_selected:{bg:"colorPalette.subtle",color:"colorPalette.fg"}}),af=x2({_selected:{layerStyle:"fill.solid"}}),nf=A({slots:Sa.keys(),className:"chakra-tree-view",base:{root:{width:"full",display:"flex",flexDirection:"column",gap:"2"},tree:{display:"flex",flexDirection:"column","--tree-item-gap":"spacing.2",_icon:{boxSize:"var(--tree-icon-size)"}},label:{fontWeight:"medium",textStyle:"sm"},branch:{position:"relative"},branchContent:{position:"relative"},branchIndentGuide:{height:"100%",width:"1px",bg:"border",position:"absolute","--tree-depth":"calc(var(--depth) - 1)","--tree-indentation-offset":"calc(var(--tree-indentation) * var(--tree-depth))","--tree-offset":"calc(var(--tree-padding-inline) + var(--tree-indentation-offset))","--tree-icon-offset":"calc(var(--tree-icon-size) * 0.5 * var(--depth))",insetInlineStart:"calc(var(--tree-offset) + var(--tree-icon-offset))",zIndex:"1"},branchIndicator:{color:"fg.muted",transformOrigin:"center",transitionDuration:"normal",transitionProperty:"transform",transitionTimingFunction:"default",_open:{transform:"rotate(90deg)"}},branchTrigger:{display:"inline-flex",alignItems:"center",justifyContent:"center"},branchControl:tf,item:tf,itemText:ef,branchText:ef,nodeCheckbox:{display:"inline-flex"}},variants:{size:{md:{tree:{textStyle:"sm","--tree-indentation":"spacing.4","--tree-padding-inline":"spacing.3","--tree-padding-block":"spacing.1.5","--tree-icon-size":"spacing.4"}},sm:{tree:{textStyle:"sm","--tree-indentation":"spacing.4","--tree-padding-inline":"spacing.3","--tree-padding-block":"spacing.1","--tree-icon-size":"spacing.3"}},xs:{tree:{textStyle:"xs","--tree-indentation":"spacing.4","--tree-padding-inline":"spacing.2","--tree-padding-block":"spacing.1","--tree-icon-size":"spacing.3"}}},variant:{subtle:{branchControl:rf,item:rf},solid:{branchControl:af,item:af}},animateContent:{true:{branchContent:{_open:{animationName:"expand-height, fade-in",animationDuration:"moderate"},_closed:{animationName:"collapse-height, fade-out",animationDuration:"moderate"}}}}},defaultVariants:{size:"md",variant:"subtle"}});var lf={accordion:Yg,actionBar:Qg,alert:Xg,avatar:Zg,blockquote:Jg,breadcrumb:tm,card:em,carousel:rm,checkbox:am,checkboxCard:im,codeBlock:nm,collapsible:lm,dataList:hm,datePicker:vm,dialog:pm,drawer:um,editable:mm,emptyState:fm,field:zm,fieldset:Mm,fileUpload:xm,hoverCard:Vm,list:wm,listbox:bm,menu:Lm,nativeSelect:Cm,numberInput:Bm,pinInput:Om,popover:Am,progress:_m,progressCircle:Em,radioCard:Rm,radioGroup:Pm,ratingGroup:Im,scrollArea:Nm,segmentGroup:Dm,select:Fr,combobox:cm,slider:Fm,splitter:Wm,stat:Um,steps:$m,switch:jm,table:Km,tabs:qm,tag:Ym,tagsInput:Qm,toast:Zm,tooltip:Jm,status:Gm,timeline:Xm,colorPicker:om,qrCode:Tm,treeView:nf,marquee:ym,floatingPanel:Hm};var of=A3({"2xs":{value:{fontSize:"2xs",lineHeight:"0.75rem"}},xs:{value:{fontSize:"xs",lineHeight:"1rem"}},sm:{value:{fontSize:"sm",lineHeight:"1.25rem"}},md:{value:{fontSize:"md",lineHeight:"1.5rem"}},lg:{value:{fontSize:"lg",lineHeight:"1.75rem"}},xl:{value:{fontSize:"xl",lineHeight:"1.875rem"}},"2xl":{value:{fontSize:"2xl",lineHeight:"2rem"}},"3xl":{value:{fontSize:"3xl",lineHeight:"2.375rem"}},"4xl":{value:{fontSize:"4xl",lineHeight:"2.75rem",letterSpacing:"-0.025em"}},"5xl":{value:{fontSize:"5xl",lineHeight:"3.75rem",letterSpacing:"-0.025em"}},"6xl":{value:{fontSize:"6xl",lineHeight:"4.5rem",letterSpacing:"-0.025em"}},"7xl":{value:{fontSize:"7xl",lineHeight:"5.75rem",letterSpacing:"-0.025em"}},none:{value:{}},label:{value:{fontSize:"sm",lineHeight:"1.25rem",fontWeight:"medium"}}});var cf=g1.animations({spin:{value:"spin 1s linear infinite"},ping:{value:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite"},pulse:{value:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite"},bounce:{value:"bounce 1s infinite"}});var hf=g1.aspectRatios({square:{value:"1 / 1"},landscape:{value:"4 / 3"},portrait:{value:"3 / 4"},wide:{value:"16 / 9"},ultrawide:{value:"18 / 5"},golden:{value:"1.618 / 1"}});var df=g1.blurs({none:{value:" "},sm:{value:"4px"},md:{value:"8px"},lg:{value:"12px"},xl:{value:"16px"},"2xl":{value:"24px"},"3xl":{value:"40px"},"4xl":{value:"64px"}});var sf=g1.borders({xs:{value:"0.5px solid"},sm:{value:"1px solid"},md:{value:"2px solid"},lg:{value:"4px solid"},xl:{value:"8px solid"}});var vf=g1.colors({transparent:{value:"transparent"},current:{value:"currentColor"},black:{value:"#09090B"},white:{value:"#FFFFFF"},whiteAlpha:{50:{value:"rgba(255, 255, 255, 0.04)"},100:{value:"rgba(255, 255, 255, 0.06)"},200:{value:"rgba(255, 255, 255, 0.08)"},300:{value:"rgba(255, 255, 255, 0.16)"},400:{value:"rgba(255, 255, 255, 0.24)"},500:{value:"rgba(255, 255, 255, 0.36)"},600:{value:"rgba(255, 255, 255, 0.48)"},700:{value:"rgba(255, 255, 255, 0.64)"},800:{value:"rgba(255, 255, 255, 0.80)"},900:{value:"rgba(255, 255, 255, 0.92)"},950:{value:"rgba(255, 255, 255, 0.95)"}},blackAlpha:{50:{value:"rgba(0, 0, 0, 0.04)"},100:{value:"rgba(0, 0, 0, 0.06)"},200:{value:"rgba(0, 0, 0, 0.08)"},300:{value:"rgba(0, 0, 0, 0.16)"},400:{value:"rgba(0, 0, 0, 0.24)"},500:{value:"rgba(0, 0, 0, 0.36)"},600:{value:"rgba(0, 0, 0, 0.48)"},700:{value:"rgba(0, 0, 0, 0.64)"},800:{value:"rgba(0, 0, 0, 0.80)"},900:{value:"rgba(0, 0, 0, 0.92)"},950:{value:"rgba(0, 0, 0, 0.95)"}},gray:{50:{value:"#fafafa"},100:{value:"#f4f4f5"},200:{value:"#e4e4e7"},300:{value:"#d4d4d8"},400:{value:"#a1a1aa"},500:{value:"#71717a"},600:{value:"#52525b"},700:{value:"#3f3f46"},800:{value:"#27272a"},900:{value:"#18181b"},950:{value:"#111111"}},red:{50:{value:"#fef2f2"},100:{value:"#fee2e2"},200:{value:"#fecaca"},300:{value:"#fca5a5"},400:{value:"#f87171"},500:{value:"#ef4444"},600:{value:"#dc2626"},700:{value:"#991919"},800:{value:"#511111"},900:{value:"#300c0c"},950:{value:"#1f0808"}},orange:{50:{value:"#fff7ed"},100:{value:"#ffedd5"},200:{value:"#fed7aa"},300:{value:"#fdba74"},400:{value:"#fb923c"},500:{value:"#f97316"},600:{value:"#ea580c"},700:{value:"#92310a"},800:{value:"#6c2710"},900:{value:"#3b1106"},950:{value:"#220a04"}},yellow:{50:{value:"#fefce8"},100:{value:"#fef9c3"},200:{value:"#fef08a"},300:{value:"#fde047"},400:{value:"#facc15"},500:{value:"#eab308"},600:{value:"#ca8a04"},700:{value:"#845209"},800:{value:"#713f12"},900:{value:"#422006"},950:{value:"#281304"}},green:{50:{value:"#f0fdf4"},100:{value:"#dcfce7"},200:{value:"#bbf7d0"},300:{value:"#86efac"},400:{value:"#4ade80"},500:{value:"#22c55e"},600:{value:"#16a34a"},700:{value:"#116932"},800:{value:"#124a28"},900:{value:"#042713"},950:{value:"#03190c"}},teal:{50:{value:"#f0fdfa"},100:{value:"#ccfbf1"},200:{value:"#99f6e4"},300:{value:"#5eead4"},400:{value:"#2dd4bf"},500:{value:"#14b8a6"},600:{value:"#0d9488"},700:{value:"#0c5d56"},800:{value:"#114240"},900:{value:"#032726"},950:{value:"#021716"}},blue:{50:{value:"#eff6ff"},100:{value:"#dbeafe"},200:{value:"#bfdbfe"},300:{value:"#a3cfff"},400:{value:"#60a5fa"},500:{value:"#3b82f6"},600:{value:"#2563eb"},700:{value:"#173da6"},800:{value:"#1a3478"},900:{value:"#14204a"},950:{value:"#0c142e"}},cyan:{50:{value:"#ecfeff"},100:{value:"#cffafe"},200:{value:"#a5f3fc"},300:{value:"#67e8f9"},400:{value:"#22d3ee"},500:{value:"#06b6d4"},600:{value:"#0891b2"},700:{value:"#0c5c72"},800:{value:"#134152"},900:{value:"#072a38"},950:{value:"#051b24"}},purple:{50:{value:"#faf5ff"},100:{value:"#f3e8ff"},200:{value:"#e9d5ff"},300:{value:"#d8b4fe"},400:{value:"#c084fc"},500:{value:"#a855f7"},600:{value:"#9333ea"},700:{value:"#641ba3"},800:{value:"#4a1772"},900:{value:"#2f0553"},950:{value:"#1a032e"}},pink:{50:{value:"#fdf2f8"},100:{value:"#fce7f3"},200:{value:"#fbcfe8"},300:{value:"#f9a8d4"},400:{value:"#f472b6"},500:{value:"#ec4899"},600:{value:"#db2777"},700:{value:"#a41752"},800:{value:"#6d0e34"},900:{value:"#45061f"},950:{value:"#2c0514"}}});var pf=g1.cursor({button:{value:"pointer"},checkbox:{value:"default"},disabled:{value:"not-allowed"},menuitem:{value:"default"},option:{value:"default"},radio:{value:"default"},slider:{value:"default"},switch:{value:"pointer"}});var uf=g1.durations({fastest:{value:"50ms"},faster:{value:"100ms"},fast:{value:"150ms"},moderate:{value:"200ms"},slow:{value:"300ms"},slower:{value:"400ms"},slowest:{value:"500ms"}});var gf=g1.easings({"ease-in":{value:"cubic-bezier(0.42, 0, 1, 1)"},"ease-out":{value:"cubic-bezier(0, 0, 0.58, 1)"},"ease-in-out":{value:"cubic-bezier(0.42, 0, 0.58, 1)"},"ease-in-smooth":{value:"cubic-bezier(0.32, 0.72, 0, 1)"}});var mf=g1.fontSizes({"2xs":{value:"0.625rem"},xs:{value:"0.75rem"},sm:{value:"0.875rem"},md:{value:"1rem"},lg:{value:"1.125rem"},xl:{value:"1.25rem"},"2xl":{value:"1.5rem"},"3xl":{value:"1.875rem"},"4xl":{value:"2.25rem"},"5xl":{value:"3rem"},"6xl":{value:"3.75rem"},"7xl":{value:"4.5rem"},"8xl":{value:"6rem"},"9xl":{value:"8rem"}});var ff=g1.fontWeights({thin:{value:"100"},extralight:{value:"200"},light:{value:"300"},normal:{value:"400"},medium:{value:"500"},semibold:{value:"600"},bold:{value:"700"},extrabold:{value:"800"},black:{value:"900"}});var zf='-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',Mf=g1.fonts({heading:{value:`Inter, ${zf}`},body:{value:`Inter, ${zf}`},mono:{value:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'}});var xf=k3({spin:{"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}},pulse:{"50%":{opacity:"0.5"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}},"bg-position":{from:{backgroundPosition:"var(--animate-from, 1rem) 0"},to:{backgroundPosition:"var(--animate-to, 0) 0"}},position:{from:{insetInlineStart:"var(--animate-from-x)",insetBlockStart:"var(--animate-from-y)"},to:{insetInlineStart:"var(--animate-to-x)",insetBlockStart:"var(--animate-to-y)"}},"circular-progress":{"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100%"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260%"}},"expand-height":{from:{height:"var(--collapsed-height, 0)"},to:{height:"var(--height)"}},"collapse-height":{from:{height:"var(--height)"},to:{height:"var(--collapsed-height, 0)"}},"expand-width":{from:{width:"var(--collapsed-width, 0)"},to:{width:"var(--width)"}},"collapse-width":{from:{width:"var(--width)"},to:{width:"var(--collapsed-width, 0)"}},"fade-in":{from:{opacity:0},to:{opacity:1}},"fade-out":{from:{opacity:1},to:{opacity:0}},"slide-from-left-full":{from:{translate:"-100% 0"},to:{translate:"0 0"}},"slide-from-right-full":{from:{translate:"100% 0"},to:{translate:"0 0"}},"slide-from-top-full":{from:{translate:"0 -100%"},to:{translate:"0 0"}},"slide-from-bottom-full":{from:{translate:"0 100%"},to:{translate:"0 0"}},"slide-to-left-full":{from:{translate:"0 0"},to:{translate:"-100% 0"}},"slide-to-right-full":{from:{translate:"0 0"},to:{translate:"100% 0"}},"slide-to-top-full":{from:{translate:"0 0"},to:{translate:"0 -100%"}},"slide-to-bottom-full":{from:{translate:"0 0"},to:{translate:"0 100%"}},"slide-from-top":{"0%":{translate:"0 calc(var(--slide-from-top-distance, 0.5rem) * -1)"},to:{translate:"0"}},"slide-from-bottom":{"0%":{translate:"0 var(--slide-from-bottom-distance, 0.5rem)"},to:{translate:"0"}},"slide-from-left":{"0%":{translate:"calc(var(--slide-from-left-distance, 0.5rem) * -1) 0"},to:{translate:"0"}},"slide-from-right":{"0%":{translate:"var(--slide-from-right-distance, 0.5rem) 0"},to:{translate:"0"}},"slide-to-top":{"0%":{translate:"0"},to:{translate:"0 calc(var(--slide-to-top-distance, 0.5rem) * -1)"}},"slide-to-bottom":{"0%":{translate:"0"},to:{translate:"0 var(--slide-to-bottom-distance, 0.5rem)"}},"slide-to-left":{"0%":{translate:"0"},to:{translate:"calc(var(--slide-to-left-distance, 0.5rem) * -1) 0"}},"slide-to-right":{"0%":{translate:"0"},to:{translate:"var(--slide-to-right-distance, 0.5rem) 0"}},"scale-in":{from:{scale:"0.95"},to:{scale:"1"}},"scale-out":{from:{scale:"1"},to:{scale:"0.95"}},marqueeX:{from:{transform:"translateX(0%)"},to:{transform:"translateX(var(--marquee-translate))"}},marqueeY:{from:{transform:"translateY(0%)"},to:{transform:"translateY(var(--marquee-translate))"}}});var Hf=g1.letterSpacings({tighter:{value:"-0.05em"},tight:{value:"-0.025em"},wide:{value:"0.025em"},wider:{value:"0.05em"},widest:{value:"0.1em"}});var Vf=g1.lineHeights({shorter:{value:1.25},short:{value:1.375},moderate:{value:1.5},tall:{value:1.625},taller:{value:2}});var wf=g1.radii({none:{value:"0"},"2xs":{value:"0.0625rem"},xs:{value:"0.125rem"},sm:{value:"0.25rem"},md:{value:"0.375rem"},lg:{value:"0.5rem"},xl:{value:"0.75rem"},"2xl":{value:"1rem"},"3xl":{value:"1.5rem"},"4xl":{value:"2rem"},full:{value:"9999px"}});var to=g1.spacing({.5:{value:"0.125rem"},1:{value:"0.25rem"},1.5:{value:"0.375rem"},2:{value:"0.5rem"},2.5:{value:"0.625rem"},3:{value:"0.75rem"},3.5:{value:"0.875rem"},4:{value:"1rem"},4.5:{value:"1.125rem"},5:{value:"1.25rem"},6:{value:"1.5rem"},7:{value:"1.75rem"},8:{value:"2rem"},9:{value:"2.25rem"},10:{value:"2.5rem"},11:{value:"2.75rem"},12:{value:"3rem"},14:{value:"3.5rem"},16:{value:"4rem"},20:{value:"5rem"},24:{value:"6rem"},28:{value:"7rem"},32:{value:"8rem"},36:{value:"9rem"},40:{value:"10rem"},44:{value:"11rem"},48:{value:"12rem"},52:{value:"13rem"},56:{value:"14rem"},60:{value:"15rem"},64:{value:"16rem"},72:{value:"18rem"},80:{value:"20rem"},96:{value:"24rem"}});var XC=g1.sizes({"3xs":{value:"14rem"},"2xs":{value:"16rem"},xs:{value:"20rem"},sm:{value:"24rem"},md:{value:"28rem"},lg:{value:"32rem"},xl:{value:"36rem"},"2xl":{value:"42rem"},"3xl":{value:"48rem"},"4xl":{value:"56rem"},"5xl":{value:"64rem"},"6xl":{value:"72rem"},"7xl":{value:"80rem"},"8xl":{value:"90rem"}}),ZC=g1.sizes({max:{value:"max-content"},min:{value:"min-content"},fit:{value:"fit-content"},prose:{value:"60ch"},full:{value:"100%"},dvh:{value:"100dvh"},svh:{value:"100svh"},lvh:{value:"100lvh"},dvw:{value:"100dvw"},svw:{value:"100svw"},lvw:{value:"100lvw"},vw:{value:"100vw"},vh:{value:"100vh"}}),JC=g1.sizes({"1/2":{value:"50%"},"1/3":{value:"33.333333%"},"2/3":{value:"66.666667%"},"1/4":{value:"25%"},"3/4":{value:"75%"},"1/5":{value:"20%"},"2/5":{value:"40%"},"3/5":{value:"60%"},"4/5":{value:"80%"},"1/6":{value:"16.666667%"},"2/6":{value:"33.333333%"},"3/6":{value:"50%"},"4/6":{value:"66.666667%"},"5/6":{value:"83.333333%"},"1/12":{value:"8.333333%"},"2/12":{value:"16.666667%"},"3/12":{value:"25%"},"4/12":{value:"33.333333%"},"5/12":{value:"41.666667%"},"6/12":{value:"50%"},"7/12":{value:"58.333333%"},"8/12":{value:"66.666667%"},"9/12":{value:"75%"},"10/12":{value:"83.333333%"},"11/12":{value:"91.666667%"}}),bf=g1.sizes({...XC,...to,...JC,...ZC});var yf=g1.zIndex({hide:{value:-1},base:{value:0},docked:{value:10},dropdown:{value:1e3},sticky:{value:1100},banner:{value:1200},overlay:{value:1300},modal:{value:1400},popover:{value:1500},skipNav:{value:1600},toast:{value:1700},tooltip:{value:1800},max:{value:2147483647}});var tS={aspectRatios:hf,animations:cf,blurs:df,borders:sf,colors:vf,durations:uf,easings:gf,fonts:Mf,fontSizes:mf,fontWeights:ff,letterSpacings:Hf,lineHeights:Vf,radii:wf,spacing:to,sizes:bf,zIndex:yf,cursor:pf},eS={colors:cg,shadows:dg,radii:hg},rS="chakra",aS=":where(html, .chakra-theme)",Lf=ci({preflight:!0,cssVarsPrefix:rS,cssVarsRoot:aS,globalCss:Gu,theme:{breakpoints:Uu,keyframes:xf,tokens:tS,semanticTokens:eS,recipes:og,slotRecipes:lf,textStyles:of,layerStyles:$u,animationStyles:ju}});var Ea=Wl(Xp,Lf),iS=di(Ea);var nr=P(n1(),1),lr=P(c1(),1);var Cf=P(c1(),1);function Sf(t){let{key:e,recipe:r}=t,a=He();return(0,Cf.useMemo)(()=>r?a.sva(r):e!=null?a.getSlotRecipeFn(e):a.sva({slots:[]}),[e,r,a])}var Bf=t=>{let{key:e,recipe:r}=t,a=ra(e||r.className||"Component"),[i,n]=er({name:`${a}StylesContext`,errorMessage:`use${a}Styles returned is 'undefined'. Seems you forgot to wrap the components in "<${a}.Root />" `}),[l,o]=er({name:`${a}ClassNameContext`,errorMessage:`use${a}ClassNames returned is 'undefined'. Seems you forgot to wrap the components in "<${a}.Root />" `,strict:!1}),[c,h]=er({strict:!1,name:`${a}PropsContext`,providerName:`${a}PropsContext`,defaultValue:{}});function d(g){let{unstyled:f,...V}=g,u=Sf({key:e,recipe:V.recipe||r}),[m,z]=(0,lr.useMemo)(()=>u.splitVariantProps(V),[V,u]);return{styles:(0,lr.useMemo)(()=>f?sp:u(m),[f,m,u]),classNames:u.classNameMap,props:z}}function s(g,f={}){let{defaultProps:V,displayName:u}=f,m=ea(g),z=hp(a,m),y=b=>{let x=h(),S=(0,lr.useMemo)(()=>Tr(V,x,b),[x,b]),{styles:C,classNames:O,props:w}=d(S);return(0,nr.jsx)(i,{value:C,children:(0,nr.jsx)(l,{value:O,children:(0,nr.jsx)(g,{...w})})})};return y.displayName=u??z??m,y}return{StylesProvider:i,ClassNamesProvider:l,PropsProvider:c,usePropsContext:h,useRecipeResult:d,withProvider:(g,f,V)=>{let{defaultProps:u,displayName:m,wrapElement:z,...y}=V??{},b=a3(a,String(f)),x=e2(g,{},y),S=(0,lr.forwardRef)((C,O)=>{let w=h(),Y=(0,lr.useMemo)(()=>Tr(u??{},w,C),[w,C]),{styles:W,props:E,classNames:G}=d(Y),j=G[f],B=(0,nr.jsx)(i,{value:W,children:(0,nr.jsx)(l,{value:G,children:(0,nr.jsx)(x,{ref:O,...E,css:[W[f],Y.css],className:Kt(Y.className,j)})})});return z?.(B,Y)??B});return S.displayName=m??b??ea(g),S},withContext:(g,f,V)=>{let{displayName:u,...m}=V??{},z=f!=null&&f!==""?a3(a,String(f)):a,y=e2(g,{},m),b=(0,lr.forwardRef)((x,S)=>{let{unstyled:C,...O}=x,w=n(),W=o()?.[f];return(0,nr.jsx)(y,{...O,css:[!C&&f?w[f]:void 0,x.css],ref:S,className:Kt(x.className,W)})});return b.displayName=u??z??ea(g),b},withRootProvider:s,useStyles:n,useClassNames:o}};var eo=P(n1(),1),r2=P(c1(),1);function kf(t){let{gap:e,direction:r}=t,a={column:{marginY:e,marginX:0,borderInlineStartWidth:0,borderTopWidth:"1px"},"column-reverse":{marginY:e,marginX:0,borderInlineStartWidth:0,borderTopWidth:"1px"},row:{marginX:e,marginY:0,borderInlineStartWidth:"1px",borderTopWidth:0},"row-reverse":{marginX:e,marginY:0,borderInlineStartWidth:"1px",borderTopWidth:0}};return{"&":Dl(r,i=>a[i])}}function nS(t){return r2.Children.toArray(t).filter(e=>(0,r2.isValidElement)(e))}var si=(0,r2.forwardRef)(function(e,r){let{direction:a="column",align:i,justify:n,gap:l="0.5rem",wrap:o,children:c,separator:h,className:d,...s}=e,v=(0,r2.useMemo)(()=>kf({gap:l,direction:a}),[l,a]),p=(0,r2.useMemo)(()=>(0,r2.isValidElement)(h)?nS(c).map((g,f,V)=>{let u=typeof g.key<"u"?g.key:f,m=h,z=(0,r2.cloneElement)(m,{css:[v,m.props.css]});return(0,eo.jsxs)(r2.Fragment,{children:[g,f===V.length-1?null:z]},u)}):c,[c,h,v]);return(0,eo.jsx)(e2.div,{ref:r,display:"flex",alignItems:i,justifyContent:n,flexDirection:a,flexWrap:o,gap:h?void 0:l,className:Kt("chakra-stack",d),...s,children:p})});si.displayName="Stack";var or={};H5(or,{Content:()=>_f,Description:()=>Rf,Indicator:()=>Ef,PropsProvider:()=>Af,Root:()=>Of,Title:()=>Tf});var{withProvider:lS,withContext:ro,useStyles:_21,PropsProvider:oS}=Bf({key:"emptyState"}),Of=lS("div","root"),Af=oS,_f=ro("div","content"),Ef=ro("div","indicator"),Tf=ro("h3","title"),Rf=ro("p","description");var Pf=P(n1(),1),If=P(c1(),1);var a2=(0,If.forwardRef)(function(e,r){let{direction:a,align:i,justify:n,wrap:l,basis:o,grow:c,shrink:h,inline:d,...s}=e;return(0,Pf.jsx)(e2.div,{ref:r,...s,css:{display:d?"inline-flex":"flex",flexDirection:a,alignItems:i,justifyContent:n,flexWrap:l,flexBasis:o,flexGrow:c,flexShrink:h,...e.css}})});a2.displayName="Flex";var Nf=P(n1(),1),Df=P(c1(),1);var ct=(0,Df.forwardRef)(function(e,r){return(0,Nf.jsx)(si,{align:"center",...e,direction:"row",ref:r})});ct.displayName="HStack";var{withContext:cS,PropsProvider:W21}=rr({key:"input"}),Y3=cS(L3.Input);var{withContext:hS,PropsProvider:$21}=rr({key:"link"}),Q3=hS("a");var Ff=P(n1(),1),Wf=P(c1(),1);var yt=(0,Wf.forwardRef)(function(e,r){return(0,Ff.jsx)(si,{align:"center",...e,direction:"column",ref:r})});yt.displayName="VStack";var Ta=P(c1(),1);var X3=P(c1(),1),Z3={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},J3=X3.default.createContext&&X3.default.createContext(Z3);var dS=["attr","size","title"];function sS(t,e){if(t==null)return{};var r,a,i=vS(t,e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);for(a=0;a<n.length;a++)r=n[a],e.indexOf(r)===-1&&{}.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function vS(t,e){if(t==null)return{};var r={};for(var a in t)if({}.hasOwnProperty.call(t,a)){if(e.indexOf(a)!==-1)continue;r[a]=t[a]}return r}function ao(){return ao=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var a in r)({}).hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},ao.apply(null,arguments)}function Uf(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,a)}return r}function io(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Uf(Object(r),!0).forEach(function(a){pS(t,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Uf(Object(r)).forEach(function(a){Object.defineProperty(t,a,Object.getOwnPropertyDescriptor(r,a))})}return t}function pS(t,e,r){return(e=uS(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function uS(t){var e=gS(t,"string");return typeof e=="symbol"?e:e+""}function gS(t,e){if(typeof t!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var a=r.call(t,e||"default");if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Gf(t){return t&&t.map((e,r)=>Ta.default.createElement(e.tag,io({key:r},e.attr),Gf(e.child)))}function $f(t){return e=>Ta.default.createElement(mS,ao({attr:io({},t.attr)},e),Gf(t.child))}function mS(t){var e=r=>{var{attr:a,size:i,title:n}=t,l=sS(t,dS),o=i||r.size||"1em",c;return r.className&&(c=r.className),t.className&&(c=(c?c+" ":"")+t.className),Ta.default.createElement("svg",ao({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,a,l,{className:c,style:io(io({color:t.color||r.color},r.style),t.style),height:o,width:o,xmlns:"http://www.w3.org/2000/svg"}),n&&Ta.default.createElement("title",null,n),t.children)};return J3!==void 0?Ta.default.createElement(J3.Consumer,null,r=>e(r)):e(Z3)}function jf(t){return $f({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7V7h2v10zm4-5h-2V7h2v5zm4 3h-2V7h2v8z"},child:[]}]})(t)}var no=P(c1(),1);function lo(t,e){let[r,a]=(0,no.useState)({data:null,refusal:null,loading:t!==null});return(0,no.useEffect)(()=>{if(t===null)return;let i=!1;return a({data:null,refusal:null,loading:!0}),(async()=>{try{let n=await e();i||a({data:n,refusal:null,loading:!1})}catch(n){i||a({data:null,refusal:n instanceof Error?n.message:String(n),loading:!1})}})(),()=>{i=!0}},[t]),r}var qf="/api/v1/board";async function Kf(t,e){let r=await fetch(`${e}/items?limit=100&offset=${t}`),a=await r.json().catch(()=>null);if(!r.ok)throw new Error(a?.error??`the board could not be reached (${r.status})`);return{items:a?.items??[],total:a?.total??0,hasMore:a?.hasMore??!1}}async function Yf(t=qf){let e=await Kf(0,t);if(!e.hasMore||e.items.length===0)return e;let r=e.items.length,a=Math.min(Math.ceil(e.total/r),40),i=await Promise.all(Array.from({length:a-1},(o,c)=>Kf(r*(c+1),t))),n=new Map;for(let o of[e,...i])for(let c of o.items)n.set(c.id,c);let l=i[i.length-1]??e;return{items:[...n.values()],total:e.total,hasMore:l.hasMore}}async function Qf(t,e=qf){let r=await fetch(`${e}/items/${encodeURIComponent(t)}`),a=await r.json().catch(()=>null);if(!r.ok||!a?.item)throw new Error(a?.error??`the brief could not be read (${r.status})`);return{item:a.item,brief:a.brief??null}}function oo(){return lo("board",()=>Yf())}function td(t){return lo(t,()=>Qf(t))}var et=P(n1(),1),MS="248px";function xS({item:t,active:e,onNavigate:r}){return(0,et.jsx)(v1,{as:"button",onClick:r,w:{base:"auto",md:"full"},flexShrink:0,textAlign:"left",px:2,py:1.5,h:8,borderRadius:"md",bg:e?"bg.subtle":"transparent",color:e?"fg":"fg.muted",cursor:"pointer",flex:"none",transition:"background 150ms, color 150ms",_hover:{bg:"bg.subtle",color:"fg"},children:(0,et.jsxs)(ct,{gap:3,justify:"start",children:[(0,et.jsx)(v1,{w:"18px",h:"18px",flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center",color:e?"primary.fg":"inherit",children:t.icon}),(0,et.jsx)(u1,{fontSize:"sm",fontWeight:e?"medium":"normal",flex:{base:"none",md:1},truncate:!0,children:t.label}),t.badge!==void 0&&(0,et.jsx)(u1,{fontSize:"xs",fontFamily:"mono",color:"fg.subtle",children:t.badge})]})})}function vi({brand:t,nav:e,active:r,onNavigate:a,title:i,subtitle:n,actions:l,footer:o,aside:c,children:h}){let d=e.map(s=>(0,et.jsx)(xS,{item:s,active:s.key===r,onNavigate:()=>a(s.key)},s.key));return(0,et.jsxs)(a2,{direction:{base:"column",md:"row"},h:"100dvh",w:"full",bg:"bg",overflow:"hidden",children:[(0,et.jsxs)(yt,{align:"stretch",gap:2,w:{base:"full",md:MS},flex:"none",p:2,borderRightWidth:{base:0,md:"1px"},borderBottomWidth:{base:"1px",md:0},borderColor:"border.subtle",bg:"bg.panel",children:[(0,et.jsx)(ct,{h:12,px:2,flex:"none",children:t}),(0,et.jsx)(a2,{direction:{base:"row",md:"column"},gap:.5,overflowX:{base:"auto",md:"visible"},flex:{base:"none",md:1},minH:0,children:d}),o&&(0,et.jsx)(v1,{flex:"none",children:o})]}),(0,et.jsxs)(a2,{direction:"column",flex:1,minW:0,minH:0,children:[(i||l)&&(0,et.jsxs)(ct,{justify:"space-between",gap:3,px:4,py:4,flex:"none",borderBottomWidth:"1px",borderColor:"border.subtle",children:[(0,et.jsxs)(yt,{align:"stretch",gap:.5,minW:0,children:[i&&(0,et.jsx)(u1,{fontSize:"md",fontWeight:"semibold",color:"fg",truncate:!0,children:i}),n&&(0,et.jsx)(u1,{fontSize:"xs",color:"fg.subtle",truncate:!0,children:n})]}),l&&(0,et.jsx)(ct,{gap:2,children:l})]}),(0,et.jsxs)(a2,{flex:1,minH:0,minW:0,children:[(0,et.jsx)(a2,{direction:"column",flex:1,minW:0,minH:0,children:h}),c]})]})]})}var tz=P(n1(),1);var ez=P(n1(),1);var rz=P(n1(),1);function cr({color:t,hollow:e=!1,size:r=2}){return(0,rz.jsx)(v1,{flex:"none",w:r,h:r,borderRadius:"full",bg:e?"transparent":t,borderWidth:e?"1.5px":void 0,borderColor:e?t:void 0})}var Wr=P(n1(),1);function Ur({label:t,count:e,color:r,pressed:a,dimmed:i,onPress:n}){return(0,Wr.jsx)(v1,{as:"button",onClick:n,"aria-pressed":a,cursor:n?"pointer":"default",borderRadius:"full",borderWidth:"1px",borderColor:a?"primary.solid":"border.subtle",bg:a?"bg.emphasized":"bg.subtle",opacity:i&&!a?.45:1,px:2,py:.5,transition:"opacity 120ms, border-color 120ms, background 120ms",_hover:n?{bg:"bg.emphasized"}:void 0,children:(0,Wr.jsxs)(ct,{gap:1.5,children:[r&&(0,Wr.jsx)(cr,{color:r}),(0,Wr.jsx)(u1,{fontSize:"xs",fontWeight:"semibold",color:"fg",lineHeight:"1",children:e}),(0,Wr.jsx)(u1,{fontSize:"xs",color:"fg.muted",lineHeight:"1",children:t})]})})}var rd=P(n1(),1);function pi({segments:t}){let e=t.filter(a=>a.count>0),r=e.reduce((a,i)=>a+i.count,0);return r===0?null:(0,rd.jsx)(a2,{h:"1.5",w:"full",borderRadius:"full",overflow:"hidden",bg:"bg.subtle",gap:"1px",children:e.map(a=>(0,rd.jsx)(v1,{bg:a.color,flexBasis:`${a.count/r*100}%`,title:`${a.count} ${a.label}`},a.label))})}var az=P(c1(),1),Gr=P(n1(),1);function hr({icon:t,title:e,description:r,variant:a="default"}){let i=a==="card";return(0,Gr.jsx)(or.Root,{py:12,...i?{borderWidth:"1px",borderColor:"border.subtle",rounded:"2xl",h:"full",display:"flex",alignItems:"center",justifyContent:"center"}:{},children:(0,Gr.jsxs)(or.Content,{children:[t&&(0,Gr.jsx)(or.Indicator,{children:(0,az.createElement)(t,{size:24})}),(0,Gr.jsx)(or.Title,{children:e}),r&&(0,Gr.jsx)(or.Description,{children:r})]})})}var iz=P(n1(),1);function Ra({value:t,onChange:e,placeholder:r}){return(0,iz.jsx)(Y3,{type:"search",placeholder:r??"Filter what is on screen\u2026",value:t,onChange:a=>e(a.target.value),rounded:"2xl",h:"8",bg:"bg.subtle",borderWidth:"0"})}var Z9=P(c1(),1);function nz(t,e){let r=e||{};return(t[t.length-1]===""?[...t,""]:t).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}var HS=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,VS=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,wS={};function ho(t,e){return((e||wS).jsx?VS:HS).test(t)}var bS=/[ \t\n\f\r]/g;function ad(t){return typeof t=="object"?t.type==="text"?lz(t.value):!1:lz(t)}function lz(t){return t.replace(bS,"")===""}var we=class{constructor(e,r,a){this.normal=r,this.property=e,a&&(this.space=a)}};we.prototype.normal={};we.prototype.property={};we.prototype.space=void 0;function id(t,e){let r={},a={};for(let i of t)Object.assign(r,i.property),Object.assign(a,i.normal);return new we(r,a,e)}function ui(t){return t.toLowerCase()}var Lt=class{constructor(e,r){this.attribute=r,this.property=e}};Lt.prototype.attribute="";Lt.prototype.booleanish=!1;Lt.prototype.boolean=!1;Lt.prototype.commaOrSpaceSeparated=!1;Lt.prototype.commaSeparated=!1;Lt.prototype.defined=!1;Lt.prototype.mustUseProperty=!1;Lt.prototype.number=!1;Lt.prototype.overloadedBoolean=!1;Lt.prototype.property="";Lt.prototype.spaceSeparated=!1;Lt.prototype.space=void 0;var gi={};H5(gi,{boolean:()=>l1,booleanish:()=>q1,commaOrSpaceSeparated:()=>i2,commaSeparated:()=>be,number:()=>I,overloadedBoolean:()=>so,spaceSeparated:()=>y1});var yS=0,l1=$r(),q1=$r(),so=$r(),I=$r(),y1=$r(),be=$r(),i2=$r();function $r(){return 2**++yS}var nd=Object.keys(gi),jr=class extends Lt{constructor(e,r,a,i){let n=-1;if(super(e,r),oz(this,"space",i),typeof a=="number")for(;++n<nd.length;){let l=nd[n];oz(this,nd[n],(a&gi[l])===gi[l])}}};jr.prototype.defined=!0;function oz(t,e,r){r&&(t[e]=r)}function A2(t){let e={},r={};for(let[a,i]of Object.entries(t.properties)){let n=new jr(a,t.transform(t.attributes||{},a),i,t.space);t.mustUseProperty&&t.mustUseProperty.includes(a)&&(n.mustUseProperty=!0),e[a]=n,r[ui(a)]=a,r[ui(n.attribute)]=a}return new we(e,r,t.space)}var ld=A2({properties:{ariaActiveDescendant:null,ariaAtomic:q1,ariaAutoComplete:null,ariaBusy:q1,ariaChecked:q1,ariaColCount:I,ariaColIndex:I,ariaColSpan:I,ariaControls:y1,ariaCurrent:null,ariaDescribedBy:y1,ariaDetails:null,ariaDisabled:q1,ariaDropEffect:y1,ariaErrorMessage:null,ariaExpanded:q1,ariaFlowTo:y1,ariaGrabbed:q1,ariaHasPopup:null,ariaHidden:q1,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:y1,ariaLevel:I,ariaLive:null,ariaModal:q1,ariaMultiLine:q1,ariaMultiSelectable:q1,ariaOrientation:null,ariaOwns:y1,ariaPlaceholder:null,ariaPosInSet:I,ariaPressed:q1,ariaReadOnly:q1,ariaRelevant:null,ariaRequired:q1,ariaRoleDescription:y1,ariaRowCount:I,ariaRowIndex:I,ariaRowSpan:I,ariaSelected:q1,ariaSetSize:I,ariaSort:null,ariaValueMax:I,ariaValueMin:I,ariaValueNow:I,ariaValueText:null,role:null},transform(t,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()}});function vo(t,e){return e in t?t[e]:e}function po(t,e){return vo(t,e.toLowerCase())}var cz=A2({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:be,acceptCharset:y1,accessKey:y1,action:null,allow:null,allowFullScreen:l1,allowPaymentRequest:l1,allowUserMedia:l1,alpha:l1,alt:null,as:null,async:l1,autoCapitalize:null,autoComplete:y1,autoFocus:l1,autoPlay:l1,blocking:y1,capture:null,charSet:null,checked:l1,cite:null,className:y1,closedBy:null,colorSpace:null,cols:I,colSpan:I,command:null,commandFor:null,content:null,contentEditable:q1,controls:l1,controlsList:y1,coords:I|be,crossOrigin:null,data:null,dateTime:null,decoding:null,default:l1,defer:l1,dir:null,dirName:null,disabled:l1,download:so,draggable:q1,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:l1,formTarget:null,headers:y1,height:I,hidden:so,high:I,href:null,hrefLang:null,htmlFor:y1,httpEquiv:y1,id:null,imageSizes:null,imageSrcSet:null,inert:l1,inputMode:null,integrity:null,is:null,isMap:l1,itemId:null,itemProp:y1,itemRef:y1,itemScope:l1,itemType:y1,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:l1,low:I,manifest:null,max:null,maxLength:I,media:null,method:null,min:null,minLength:I,multiple:l1,muted:l1,name:null,nonce:null,noModule:l1,noValidate:l1,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:l1,optimum:I,pattern:null,ping:y1,placeholder:null,playsInline:l1,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:l1,referrerPolicy:null,rel:y1,required:l1,reversed:l1,rows:I,rowSpan:I,sandbox:y1,scope:null,scoped:l1,seamless:l1,selected:l1,shadowRootClonable:l1,shadowRootCustomElementRegistry:l1,shadowRootDelegatesFocus:l1,shadowRootMode:null,shadowRootSerializable:l1,shape:null,size:I,sizes:null,slot:null,span:I,spellCheck:q1,src:null,srcDoc:null,srcLang:null,srcSet:null,start:I,step:null,style:null,tabIndex:I,target:null,title:null,translate:null,type:null,typeMustMatch:l1,useMap:null,value:q1,width:I,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:y1,axis:null,background:null,bgColor:null,border:I,borderColor:null,bottomMargin:I,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:l1,declare:l1,event:null,face:null,frame:null,frameBorder:null,hSpace:I,leftMargin:I,link:null,longDesc:null,lowSrc:null,marginHeight:I,marginWidth:I,noResize:l1,noHref:l1,noShade:l1,noWrap:l1,object:null,profile:null,prompt:null,rev:null,rightMargin:I,rules:null,scheme:null,scrolling:q1,standby:null,summary:null,text:null,topMargin:I,valueType:null,version:null,vAlign:null,vLink:null,vSpace:I,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:l1,disablePictureInPicture:l1,disableRemotePlayback:l1,exportParts:be,part:y1,prefix:null,property:null,results:I,security:null,unselectable:null},space:"html",transform:po});var hz=A2({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:i2,accentHeight:I,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:I,amplitude:I,arabicForm:null,ascent:I,attributeName:null,attributeType:null,azimuth:I,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:I,by:null,calcMode:null,capHeight:I,className:y1,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:I,diffuseConstant:I,direction:null,display:null,dur:null,divisor:I,dominantBaseline:null,download:l1,dx:null,dy:null,edgeMode:null,editable:null,elevation:I,enableBackground:null,end:null,event:null,exponent:I,externalResourcesRequired:null,fill:null,fillOpacity:I,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:be,g2:be,glyphName:be,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:I,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:I,horizOriginX:I,horizOriginY:I,id:null,ideographic:I,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:I,k:I,k1:I,k2:I,k3:I,k4:I,kernelMatrix:i2,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:I,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:I,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:I,overlineThickness:I,paintOrder:null,panose1:null,path:null,pathLength:I,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:y1,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:I,pointsAtY:I,pointsAtZ:I,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:i2,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:i2,rev:i2,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:i2,requiredFeatures:i2,requiredFonts:i2,requiredFormats:i2,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:I,specularExponent:I,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:I,strikethroughThickness:I,string:null,stroke:null,strokeDashArray:i2,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:I,strokeOpacity:I,strokeWidth:null,style:null,surfaceScale:I,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:i2,tabIndex:I,tableValues:null,target:null,targetX:I,targetY:I,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:i2,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:I,underlineThickness:I,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:I,values:null,vAlphabetic:I,vMathematical:I,vectorEffect:null,vHanging:I,vIdeographic:I,version:null,vertAdvY:I,vertOriginX:I,vertOriginY:I,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:I,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:vo});var od=A2({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(t,e){return"xlink:"+e.slice(5).toLowerCase()}});var cd=A2({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:po});var hd=A2({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(t,e){return"xml:"+e.slice(3).toLowerCase()}});var dd={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var LS=/[A-Z]/g,dz=/-[a-z]/g,CS=/^data[-\w.:]+$/i;function sd(t,e){let r=ui(e),a=e,i=Lt;if(r in t.normal)return t.property[t.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&CS.test(e)){if(e.charAt(4)==="-"){let n=e.slice(5).replace(dz,BS);a="data"+n.charAt(0).toUpperCase()+n.slice(1)}else{let n=e.slice(4);if(!dz.test(n)){let l=n.replace(LS,SS);l.charAt(0)!=="-"&&(l="-"+l),e="data"+l}}i=jr}return new i(a,e)}function SS(t){return"-"+t.toLowerCase()}function BS(t){return t.charAt(1).toUpperCase()}var sz=id([ld,cz,od,cd,hd],"html"),uo=id([ld,hz,od,cd,hd],"svg");function vz(t){return t.join(" ").trim()}var Cz=P(wz(),1);var mo=bz("end"),Pa=bz("start");function bz(t){return e;function e(r){let a=r&&r.position&&r.position[t]||{};if(typeof a.line=="number"&&a.line>0&&typeof a.column=="number"&&a.column>0)return{line:a.line,column:a.column,offset:typeof a.offset=="number"&&a.offset>-1?a.offset:void 0}}}function ud(t){let e=Pa(t),r=mo(t);if(e&&r)return{start:e,end:r}}function dr(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?yz(t.position):"start"in t||"end"in t?yz(t):"line"in t||"column"in t?gd(t):""}function gd(t){return Lz(t&&t.line)+":"+Lz(t&&t.column)}function yz(t){return gd(t&&t.start)+"-"+gd(t&&t.end)}function Lz(t){return t&&typeof t=="number"?t:1}var rt=class extends Error{constructor(e,r,a){super(),typeof r=="string"&&(a=r,r=void 0);let i="",n={},l=!1;if(r&&("line"in r&&"column"in r?n={place:r}:"start"in r&&"end"in r?n={place:r}:"type"in r?n={ancestors:[r],place:r.position}:n={...r}),typeof e=="string"?i=e:!n.cause&&e&&(l=!0,i=e.message,n.cause=e),!n.ruleId&&!n.source&&typeof a=="string"){let c=a.indexOf(":");c===-1?n.ruleId=a:(n.source=a.slice(0,c),n.ruleId=a.slice(c+1))}if(!n.place&&n.ancestors&&n.ancestors){let c=n.ancestors[n.ancestors.length-1];c&&(n.place=c.position)}let o=n.place&&"start"in n.place?n.place.start:n.place;this.ancestors=n.ancestors||void 0,this.cause=n.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=o?o.line:void 0,this.name=dr(n.place)||"1:1",this.place=n.place||void 0,this.reason=this.message,this.ruleId=n.ruleId||void 0,this.source=n.source||void 0,this.stack=l&&n.cause&&typeof n.cause.stack=="string"?n.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}};rt.prototype.file="";rt.prototype.name="";rt.prototype.reason="";rt.prototype.message="";rt.prototype.stack="";rt.prototype.column=void 0;rt.prototype.line=void 0;rt.prototype.ancestors=void 0;rt.prototype.cause=void 0;rt.prototype.fatal=void 0;rt.prototype.place=void 0;rt.prototype.ruleId=void 0;rt.prototype.source=void 0;var md={}.hasOwnProperty,eB=new Map,rB=/[A-Z]/g,aB=new Set(["table","tbody","thead","tfoot","tr"]),iB=new Set(["td","th"]),Sz="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function fd(t,e){if(!e||e.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");let r=e.filePath||void 0,a;if(e.development){if(typeof e.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");a=vB(r,e.jsxDEV)}else{if(typeof e.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof e.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");a=sB(r,e.jsx,e.jsxs)}let i={Fragment:e.Fragment,ancestors:[],components:e.components||{},create:a,elementAttributeNameCase:e.elementAttributeNameCase||"react",evaluater:e.createEvaluater?e.createEvaluater():void 0,filePath:r,ignoreInvalidStyle:e.ignoreInvalidStyle||!1,passKeys:e.passKeys!==!1,passNode:e.passNode||!1,schema:e.space==="svg"?uo:sz,stylePropertyNameCase:e.stylePropertyNameCase||"dom",tableCellAlignToStyle:e.tableCellAlignToStyle!==!1},n=Bz(i,t,void 0);return n&&typeof n!="string"?n:i.create(t,i.Fragment,{children:n||void 0},void 0)}function Bz(t,e,r){if(e.type==="element")return nB(t,e,r);if(e.type==="mdxFlowExpression"||e.type==="mdxTextExpression")return lB(t,e);if(e.type==="mdxJsxFlowElement"||e.type==="mdxJsxTextElement")return cB(t,e,r);if(e.type==="mdxjsEsm")return oB(t,e);if(e.type==="root")return hB(t,e,r);if(e.type==="text")return dB(t,e)}function nB(t,e,r){let a=t.schema,i=a;e.tagName.toLowerCase()==="svg"&&a.space==="html"&&(i=uo,t.schema=i),t.ancestors.push(e);let n=Oz(t,e.tagName,!1),l=pB(t,e),o=Md(t,e);return aB.has(e.tagName)&&(o=o.filter(function(c){return typeof c=="string"?!ad(c):!0})),kz(t,l,n,e),zd(l,o),t.ancestors.pop(),t.schema=a,t.create(e,n,l,r)}function lB(t,e){if(e.data&&e.data.estree&&t.evaluater){let a=e.data.estree.body[0];return a.type,t.evaluater.evaluateExpression(a.expression)}fi(t,e.position)}function oB(t,e){if(e.data&&e.data.estree&&t.evaluater)return t.evaluater.evaluateProgram(e.data.estree);fi(t,e.position)}function cB(t,e,r){let a=t.schema,i=a;e.name==="svg"&&a.space==="html"&&(i=uo,t.schema=i),t.ancestors.push(e);let n=e.name===null?t.Fragment:Oz(t,e.name,!0),l=uB(t,e),o=Md(t,e);return kz(t,l,n,e),zd(l,o),t.ancestors.pop(),t.schema=a,t.create(e,n,l,r)}function hB(t,e,r){let a={};return zd(a,Md(t,e)),t.create(e,t.Fragment,a,r)}function dB(t,e){return e.value}function kz(t,e,r,a){typeof r!="string"&&r!==t.Fragment&&t.passNode&&(e.node=a)}function zd(t,e){if(e.length>0){let r=e.length>1?e:e[0];r&&(t.children=r)}}function sB(t,e,r){return a;function a(i,n,l,o){let h=Array.isArray(l.children)?r:e;return o?h(n,l,o):h(n,l)}}function vB(t,e){return r;function r(a,i,n,l){let o=Array.isArray(n.children),c=Pa(a);return e(i,n,l,o,{columnNumber:c?c.column-1:void 0,fileName:t,lineNumber:c?c.line:void 0},void 0)}}function pB(t,e){let r={},a,i;for(i in e.properties)if(i!=="children"&&md.call(e.properties,i)){let n=gB(t,i,e.properties[i]);if(n){let[l,o]=n;t.tableCellAlignToStyle&&l==="align"&&typeof o=="string"&&iB.has(e.tagName)?a=o:r[l]=o}}if(a){let n=r.style||(r.style={});n[t.stylePropertyNameCase==="css"?"text-align":"textAlign"]=a}return r}function uB(t,e){let r={};for(let a of e.attributes)if(a.type==="mdxJsxExpressionAttribute")if(a.data&&a.data.estree&&t.evaluater){let n=a.data.estree.body[0];n.type;let l=n.expression;l.type;let o=l.properties[0];o.type,Object.assign(r,t.evaluater.evaluateExpression(o.argument))}else fi(t,e.position);else{let i=a.name,n;if(a.value&&typeof a.value=="object")if(a.value.data&&a.value.data.estree&&t.evaluater){let o=a.value.data.estree.body[0];o.type,n=t.evaluater.evaluateExpression(o.expression)}else fi(t,e.position);else n=a.value===null?!0:a.value;r[i]=n}return r}function Md(t,e){let r=[],a=-1,i=t.passKeys?new Map:eB;for(;++a<e.children.length;){let n=e.children[a],l;if(t.passKeys){let c=n.type==="element"?n.tagName:n.type==="mdxJsxFlowElement"||n.type==="mdxJsxTextElement"?n.name:void 0;if(c){let h=i.get(c)||0;l=c+"-"+h,i.set(c,h+1)}}let o=Bz(t,n,l);o!==void 0&&r.push(o)}return r}function gB(t,e,r){let a=sd(t.schema,e);if(!(r==null||typeof r=="number"&&Number.isNaN(r))){if(Array.isArray(r)&&(r=a.commaSeparated?nz(r):vz(r)),a.property==="style"){let i=typeof r=="object"?r:mB(t,String(r));return t.stylePropertyNameCase==="css"&&(i=fB(i)),["style",i]}return[t.elementAttributeNameCase==="react"&&a.space?dd[a.property]||a.property:a.attribute,r]}}function mB(t,e){try{return(0,Cz.default)(e,{reactCompat:!0})}catch(r){if(t.ignoreInvalidStyle)return{};let a=r,i=new rt("Cannot parse `style` attribute",{ancestors:t.ancestors,cause:a,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw i.file=t.filePath||void 0,i.url=Sz+"#cannot-parse-style-attribute",i}}function Oz(t,e,r){let a;if(!r)a={type:"Literal",value:e};else if(e.includes(".")){let i=e.split("."),n=-1,l;for(;++n<i.length;){let o=ho(i[n])?{type:"Identifier",name:i[n]}:{type:"Literal",value:i[n]};l=l?{type:"MemberExpression",object:l,property:o,computed:!!(n&&o.type==="Literal"),optional:!1}:o}a=l}else a=ho(e)&&!/^[a-z]/.test(e)?{type:"Identifier",name:e}:{type:"Literal",value:e};if(a.type==="Literal"){let i=a.value;return md.call(t.components,i)?t.components[i]:i}if(t.evaluater)return t.evaluater.evaluateExpression(a);fi(t)}function fi(t,e){let r=new rt("Cannot handle MDX estrees without `createEvaluater`",{ancestors:t.ancestors,place:e,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw r.file=t.filePath||void 0,r.url=Sz+"#cannot-handle-mdx-estrees-without-createevaluater",r}function fB(t){let e={},r;for(r in t)md.call(t,r)&&(e[zB(r)]=t[r]);return e}function zB(t){let e=t.replace(rB,MB);return e.slice(0,3)==="ms-"&&(e="-"+e),e}function MB(t){return"-"+t.toLowerCase()}var zi={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 Fa=P(n1(),1),ix=P(c1(),1);var xB={};function qr(t,e){let r=e||xB,a=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,i=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return _z(t,a,i)}function _z(t,e,r){if(HB(t)){if("value"in t)return t.type==="html"&&!r?"":t.value;if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return Az(t.children,e,r)}return Array.isArray(t)?Az(t,e,r):""}function Az(t,e,r){let a=[],i=-1;for(;++i<t.length;)a[i]=_z(t[i],e,r);return a.join("")}function HB(t){return!!(t&&typeof t=="object")}var Ez=document.createElement("i");function Ia(t){let e="&"+t+";";Ez.innerHTML=e;let r=Ez.textContent;return r.charCodeAt(r.length-1)===59&&t!=="semi"||r===e?!1:r}function at(t,e,r,a){let i=t.length,n=0,l;if(e<0?e=-e>i?0:i+e:e=e>i?i:e,r=r>0?r:0,a.length<1e4)l=Array.from(a),l.unshift(e,r),t.splice(...l);else for(r&&t.splice(e,r);n<a.length;)l=a.slice(n,n+1e4),l.unshift(e,0),t.splice(...l),n+=1e4,e+=1e4}function qt(t,e){return t.length>0?(at(t,t.length,0,e),t):e}var Tz={}.hasOwnProperty;function fo(t){let e={},r=-1;for(;++r<t.length;)VB(e,t[r]);return e}function VB(t,e){let r;for(r in e){let i=(Tz.call(t,r)?t[r]:void 0)||(t[r]={}),n=e[r],l;if(n)for(l in n){Tz.call(i,l)||(i[l]=[]);let o=n[l];wB(i[l],Array.isArray(o)?o:o?[o]:[])}}}function wB(t,e){let r=-1,a=[];for(;++r<e.length;)(e[r].add==="after"?t:a).push(e[r]);at(t,0,0,a)}function zo(t,e){let r=Number.parseInt(t,e);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"\uFFFD":String.fromCodePoint(r)}function It(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var pt=sr(/[A-Za-z]/),Y1=sr(/[\dA-Za-z]/),Rz=sr(/[#-'*+\--9=?A-Z^-~]/);function Yr(t){return t!==null&&(t<32||t===127)}var Mi=sr(/\d/),Pz=sr(/[\dA-Fa-f]/),Iz=sr(/[!-/:-@[-`{-~]/);function K(t){return t!==null&&t<-2}function m1(t){return t!==null&&(t<0||t===32)}function i1(t){return t===-2||t===-1||t===32}var Qr=sr(/\p{P}|\p{S}/u),ae=sr(/\s/);function sr(t){return e;function e(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}function _2(t){let e=[],r=-1,a=0,i=0;for(;++r<t.length;){let n=t.charCodeAt(r),l="";if(n===37&&Y1(t.charCodeAt(r+1))&&Y1(t.charCodeAt(r+2)))i=2;else if(n<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(n))||(l=String.fromCharCode(n));else if(n>55295&&n<57344){let o=t.charCodeAt(r+1);n<56320&&o>56319&&o<57344?(l=String.fromCharCode(n,o),i=1):l="\uFFFD"}else l=String.fromCharCode(n);l&&(e.push(t.slice(a,r),encodeURIComponent(l)),a=r+i+1,l=""),i&&(r+=i,i=0)}return e.join("")+t.slice(a)}function e1(t,e,r,a){let i=a?a-1:Number.POSITIVE_INFINITY,n=0;return l;function l(c){return i1(c)?(t.enter(r),o(c)):e(c)}function o(c){return i1(c)&&n++<i?(t.consume(c),o):(t.exit(r),e(c))}}var Nz={tokenize:bB};function bB(t){let e=t.attempt(this.parser.constructs.contentInitial,a,i),r;return e;function a(o){if(o===null){t.consume(o);return}return t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),e1(t,e,"linePrefix")}function i(o){return t.enter("paragraph"),n(o)}function n(o){let c=t.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=c),r=c,l(o)}function l(o){if(o===null){t.exit("chunkText"),t.exit("paragraph"),t.consume(o);return}return K(o)?(t.consume(o),t.exit("chunkText"),n):(t.consume(o),l)}}var Fz={tokenize:yB},Dz={tokenize:LB};function yB(t){let e=this,r=[],a=0,i,n,l;return o;function o(z){if(a<r.length){let y=r[a];return e.containerState=y[1],t.attempt(y[0].continuation,c,h)(z)}return h(z)}function c(z){if(a++,e.containerState._closeFlow){e.containerState._closeFlow=void 0,i&&m();let y=e.events.length,b=y,x;for(;b--;)if(e.events[b][0]==="exit"&&e.events[b][1].type==="chunkFlow"){x=e.events[b][1].end;break}u(a);let S=y;for(;S<e.events.length;)e.events[S][1].end={...x},S++;return at(e.events,b+1,0,e.events.slice(y)),e.events.length=S,h(z)}return o(z)}function h(z){if(a===r.length){if(!i)return v(z);if(i.currentConstruct&&i.currentConstruct.concrete)return g(z);e.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return e.containerState={},t.check(Dz,d,s)(z)}function d(z){return i&&m(),u(a),v(z)}function s(z){return e.parser.lazy[e.now().line]=a!==r.length,l=e.now().offset,g(z)}function v(z){return e.containerState={},t.attempt(Dz,p,g)(z)}function p(z){return a++,r.push([e.currentConstruct,e.containerState]),v(z)}function g(z){if(z===null){i&&m(),u(0),t.consume(z);return}return i=i||e.parser.flow(e.now()),t.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:n}),f(z)}function f(z){if(z===null){V(t.exit("chunkFlow"),!0),u(0),t.consume(z);return}return K(z)?(t.consume(z),V(t.exit("chunkFlow")),a=0,e.interrupt=void 0,o):(t.consume(z),f)}function V(z,y){let b=e.sliceStream(z);if(y&&b.push(null),z.previous=n,n&&(n.next=z),n=z,i.defineSkip(z.start),i.write(b),e.parser.lazy[z.start.line]){let x=i.events.length;for(;x--;)if(i.events[x][1].start.offset<l&&(!i.events[x][1].end||i.events[x][1].end.offset>l))return;let S=e.events.length,C=S,O,w;for(;C--;)if(e.events[C][0]==="exit"&&e.events[C][1].type==="chunkFlow"){if(O){w=e.events[C][1].end;break}O=!0}for(u(a),x=S;x<e.events.length;)e.events[x][1].end={...w},x++;at(e.events,C+1,0,e.events.slice(S)),e.events.length=x}}function u(z){let y=r.length;for(;y-- >z;){let b=r[y];e.containerState=b[1],b[0].exit.call(e,t)}r.length=z}function m(){i.write([null]),n=void 0,i=void 0,e.containerState._closeFlow=void 0}}function LB(t,e,r){return e1(t,t.attempt(this.parser.constructs.document,e,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function ye(t){if(t===null||m1(t)||ae(t))return 1;if(Qr(t))return 2}function vr(t,e,r){let a=[],i=-1;for(;++i<t.length;){let n=t[i].resolveAll;n&&!a.includes(n)&&(e=n(e,r),a.push(n))}return e}var xi={name:"attention",resolveAll:CB,tokenize:SB};function CB(t,e){let r=-1,a,i,n,l,o,c,h,d;for(;++r<t.length;)if(t[r][0]==="enter"&&t[r][1].type==="attentionSequence"&&t[r][1]._close){for(a=r;a--;)if(t[a][0]==="exit"&&t[a][1].type==="attentionSequence"&&t[a][1]._open&&e.sliceSerialize(t[a][1]).charCodeAt(0)===e.sliceSerialize(t[r][1]).charCodeAt(0)){if((t[a][1]._close||t[r][1]._open)&&(t[r][1].end.offset-t[r][1].start.offset)%3&&!((t[a][1].end.offset-t[a][1].start.offset+t[r][1].end.offset-t[r][1].start.offset)%3))continue;c=t[a][1].end.offset-t[a][1].start.offset>1&&t[r][1].end.offset-t[r][1].start.offset>1?2:1;let s={...t[a][1].end},v={...t[r][1].start};Wz(s,-c),Wz(v,c),l={type:c>1?"strongSequence":"emphasisSequence",start:s,end:{...t[a][1].end}},o={type:c>1?"strongSequence":"emphasisSequence",start:{...t[r][1].start},end:v},n={type:c>1?"strongText":"emphasisText",start:{...t[a][1].end},end:{...t[r][1].start}},i={type:c>1?"strong":"emphasis",start:{...l.start},end:{...o.end}},t[a][1].end={...l.start},t[r][1].start={...o.end},h=[],t[a][1].end.offset-t[a][1].start.offset&&(h=qt(h,[["enter",t[a][1],e],["exit",t[a][1],e]])),h=qt(h,[["enter",i,e],["enter",l,e],["exit",l,e],["enter",n,e]]),h=qt(h,vr(e.parser.constructs.insideSpan.null,t.slice(a+1,r),e)),h=qt(h,[["exit",n,e],["enter",o,e],["exit",o,e],["exit",i,e]]),t[r][1].end.offset-t[r][1].start.offset?(d=2,h=qt(h,[["enter",t[r][1],e],["exit",t[r][1],e]])):d=0,at(t,a-1,r-a+3,h),r=a+h.length-d-2;break}}for(r=-1;++r<t.length;)t[r][1].type==="attentionSequence"&&(t[r][1].type="data");return t}function SB(t,e){let r=this.parser.constructs.attentionMarkers.null,a=this.previous,i=ye(a),n;return l;function l(c){return n=c,t.enter("attentionSequence"),o(c)}function o(c){if(c===n)return t.consume(c),o;let h=t.exit("attentionSequence"),d=ye(c),s=!d||d===2&&i||r.includes(c),v=!i||i===2&&d||r.includes(a);return h._open=!!(n===42?s:s&&(i||!v)),h._close=!!(n===42?v:v&&(d||!s)),e(c)}}function Wz(t,e){t.column+=e,t.offset+=e,t._bufferIndex+=e}var xd={name:"autolink",tokenize:BB};function BB(t,e,r){let a=0;return i;function i(p){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(p),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),n}function n(p){return pt(p)?(t.consume(p),l):p===64?r(p):h(p)}function l(p){return p===43||p===45||p===46||Y1(p)?(a=1,o(p)):h(p)}function o(p){return p===58?(t.consume(p),a=0,c):(p===43||p===45||p===46||Y1(p))&&a++<32?(t.consume(p),o):(a=0,h(p))}function c(p){return p===62?(t.exit("autolinkProtocol"),t.enter("autolinkMarker"),t.consume(p),t.exit("autolinkMarker"),t.exit("autolink"),e):p===null||p===32||p===60||Yr(p)?r(p):(t.consume(p),c)}function h(p){return p===64?(t.consume(p),d):Rz(p)?(t.consume(p),h):r(p)}function d(p){return Y1(p)?s(p):r(p)}function s(p){return p===46?(t.consume(p),a=0,d):p===62?(t.exit("autolinkProtocol").type="autolinkEmail",t.enter("autolinkMarker"),t.consume(p),t.exit("autolinkMarker"),t.exit("autolink"),e):v(p)}function v(p){if((p===45||Y1(p))&&a++<63){let g=p===45?v:s;return t.consume(p),g}return r(p)}}var ie={partial:!0,tokenize:kB};function kB(t,e,r){return a;function a(n){return i1(n)?e1(t,i,"linePrefix")(n):i(n)}function i(n){return n===null||K(n)?e(n):r(n)}}var Mo={continuation:{tokenize:AB},exit:_B,name:"blockQuote",tokenize:OB};function OB(t,e,r){let a=this;return i;function i(l){if(l===62){let o=a.containerState;return o.open||(t.enter("blockQuote",{_container:!0}),o.open=!0),t.enter("blockQuotePrefix"),t.enter("blockQuoteMarker"),t.consume(l),t.exit("blockQuoteMarker"),n}return r(l)}function n(l){return i1(l)?(t.enter("blockQuotePrefixWhitespace"),t.consume(l),t.exit("blockQuotePrefixWhitespace"),t.exit("blockQuotePrefix"),e):(t.exit("blockQuotePrefix"),e(l))}}function AB(t,e,r){let a=this;return i;function i(l){return i1(l)?e1(t,n,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l):n(l)}function n(l){return t.attempt(Mo,e,r)(l)}}function _B(t){t.exit("blockQuote")}var xo={name:"characterEscape",tokenize:EB};function EB(t,e,r){return a;function a(n){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(n),t.exit("escapeMarker"),i}function i(n){return Iz(n)?(t.enter("characterEscapeValue"),t.consume(n),t.exit("characterEscapeValue"),t.exit("characterEscape"),e):r(n)}}var Ho={name:"characterReference",tokenize:TB};function TB(t,e,r){let a=this,i=0,n,l;return o;function o(s){return t.enter("characterReference"),t.enter("characterReferenceMarker"),t.consume(s),t.exit("characterReferenceMarker"),c}function c(s){return s===35?(t.enter("characterReferenceMarkerNumeric"),t.consume(s),t.exit("characterReferenceMarkerNumeric"),h):(t.enter("characterReferenceValue"),n=31,l=Y1,d(s))}function h(s){return s===88||s===120?(t.enter("characterReferenceMarkerHexadecimal"),t.consume(s),t.exit("characterReferenceMarkerHexadecimal"),t.enter("characterReferenceValue"),n=6,l=Pz,d):(t.enter("characterReferenceValue"),n=7,l=Mi,d(s))}function d(s){if(s===59&&i){let v=t.exit("characterReferenceValue");return l===Y1&&!Ia(a.sliceSerialize(v))?r(s):(t.enter("characterReferenceMarker"),t.consume(s),t.exit("characterReferenceMarker"),t.exit("characterReference"),e)}return l(s)&&i++<n?(t.consume(s),d):r(s)}}var Uz={partial:!0,tokenize:PB},Vo={concrete:!0,name:"codeFenced",tokenize:RB};function RB(t,e,r){let a=this,i={partial:!0,tokenize:b},n=0,l=0,o;return c;function c(x){return h(x)}function h(x){let S=a.events[a.events.length-1];return n=S&&S[1].type==="linePrefix"?S[2].sliceSerialize(S[1],!0).length:0,o=x,t.enter("codeFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),d(x)}function d(x){return x===o?(l++,t.consume(x),d):l<3?r(x):(t.exit("codeFencedFenceSequence"),i1(x)?e1(t,s,"whitespace")(x):s(x))}function s(x){return x===null||K(x)?(t.exit("codeFencedFence"),a.interrupt?e(x):t.check(Uz,f,y)(x)):(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),v(x))}function v(x){return x===null||K(x)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),s(x)):i1(x)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),e1(t,p,"whitespace")(x)):x===96&&x===o?r(x):(t.consume(x),v)}function p(x){return x===null||K(x)?s(x):(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),g(x))}function g(x){return x===null||K(x)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),s(x)):x===96&&x===o?r(x):(t.consume(x),g)}function f(x){return t.attempt(i,y,V)(x)}function V(x){return t.enter("lineEnding"),t.consume(x),t.exit("lineEnding"),u}function u(x){return n>0&&i1(x)?e1(t,m,"linePrefix",n+1)(x):m(x)}function m(x){return x===null||K(x)?t.check(Uz,f,y)(x):(t.enter("codeFlowValue"),z(x))}function z(x){return x===null||K(x)?(t.exit("codeFlowValue"),m(x)):(t.consume(x),z)}function y(x){return t.exit("codeFenced"),e(x)}function b(x,S,C){let O=0;return w;function w(j){return x.enter("lineEnding"),x.consume(j),x.exit("lineEnding"),Y}function Y(j){return x.enter("codeFencedFence"),i1(j)?e1(x,W,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(j):W(j)}function W(j){return j===o?(x.enter("codeFencedFenceSequence"),E(j)):C(j)}function E(j){return j===o?(O++,x.consume(j),E):O>=l?(x.exit("codeFencedFenceSequence"),i1(j)?e1(x,G,"whitespace")(j):G(j)):C(j)}function G(j){return j===null||K(j)?(x.exit("codeFencedFence"),S(j)):C(j)}}}function PB(t,e,r){let a=this;return i;function i(l){return l===null?r(l):(t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),n)}function n(l){return a.parser.lazy[a.now().line]?r(l):e(l)}}var Hi={name:"codeIndented",tokenize:NB},IB={partial:!0,tokenize:DB};function NB(t,e,r){let a=this;return i;function i(h){return t.enter("codeIndented"),e1(t,n,"linePrefix",5)(h)}function n(h){let d=a.events[a.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?l(h):r(h)}function l(h){return h===null?c(h):K(h)?t.attempt(IB,l,c)(h):(t.enter("codeFlowValue"),o(h))}function o(h){return h===null||K(h)?(t.exit("codeFlowValue"),l(h)):(t.consume(h),o)}function c(h){return t.exit("codeIndented"),e(h)}}function DB(t,e,r){let a=this;return i;function i(l){return a.parser.lazy[a.now().line]?r(l):K(l)?(t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),i):e1(t,n,"linePrefix",5)(l)}function n(l){let o=a.events[a.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?e(l):K(l)?i(l):r(l)}}var Hd={name:"codeText",previous:WB,resolve:FB,tokenize:UB};function FB(t){let e=t.length-4,r=3,a,i;if((t[r][1].type==="lineEnding"||t[r][1].type==="space")&&(t[e][1].type==="lineEnding"||t[e][1].type==="space")){for(a=r;++a<e;)if(t[a][1].type==="codeTextData"){t[r][1].type="codeTextPadding",t[e][1].type="codeTextPadding",r+=2,e-=2;break}}for(a=r-1,e++;++a<=e;)i===void 0?a!==e&&t[a][1].type!=="lineEnding"&&(i=a):(a===e||t[a][1].type==="lineEnding")&&(t[i][1].type="codeTextData",a!==i+2&&(t[i][1].end=t[a-1][1].end,t.splice(i+2,a-i-2),e-=a-i-2,a=i+2),i=void 0);return t}function WB(t){return t!==96||this.events[this.events.length-1][1].type==="characterEscape"}function UB(t,e,r){let a=this,i=0,n,l;return o;function o(v){return t.enter("codeText"),t.enter("codeTextSequence"),c(v)}function c(v){return v===96?(t.consume(v),i++,c):(t.exit("codeTextSequence"),h(v))}function h(v){return v===null?r(v):v===32?(t.enter("space"),t.consume(v),t.exit("space"),h):v===96?(l=t.enter("codeTextSequence"),n=0,s(v)):K(v)?(t.enter("lineEnding"),t.consume(v),t.exit("lineEnding"),h):(t.enter("codeTextData"),d(v))}function d(v){return v===null||v===32||v===96||K(v)?(t.exit("codeTextData"),h(v)):(t.consume(v),d)}function s(v){return v===96?(t.consume(v),n++,s):n===i?(t.exit("codeTextSequence"),t.exit("codeText"),e(v)):(l.type="codeTextData",d(v))}}var wo=class{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,r){let a=r??Number.POSITIVE_INFINITY;return a<this.left.length?this.left.slice(e,a):e>this.left.length?this.right.slice(this.right.length-a+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-a+this.left.length).reverse())}splice(e,r,a){let i=r||0;this.setCursor(Math.trunc(e));let n=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return a&&Vi(this.left,a),n.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),Vi(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),Vi(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&this.right.length===0||e<0&&this.left.length===0))if(e<this.left.length){let r=this.left.splice(e,Number.POSITIVE_INFINITY);Vi(this.right,r.reverse())}else{let r=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);Vi(this.left,r.reverse())}}};function Vi(t,e){let r=0;if(e.length<1e4)t.push(...e);else for(;r<e.length;)t.push(...e.slice(r,r+1e4)),r+=1e4}function bo(t){let e={},r=-1,a,i,n,l,o,c,h,d=new wo(t);for(;++r<d.length;){for(;r in e;)r=e[r];if(a=d.get(r),r&&a[1].type==="chunkFlow"&&d.get(r-1)[1].type==="listItemPrefix"&&(c=a[1]._tokenizer.events,n=0,n<c.length&&c[n][1].type==="lineEndingBlank"&&(n+=2),n<c.length&&c[n][1].type==="content"))for(;++n<c.length&&c[n][1].type!=="content";)c[n][1].type==="chunkText"&&(c[n][1]._isInFirstContentOfListItem=!0,n++);if(a[0]==="enter")a[1].contentType&&(Object.assign(e,GB(d,r)),r=e[r],h=!0);else if(a[1]._container){for(n=r,i=void 0;n--;)if(l=d.get(n),l[1].type==="lineEnding"||l[1].type==="lineEndingBlank")l[0]==="enter"&&(i&&(d.get(i)[1].type="lineEndingBlank"),l[1].type="lineEnding",i=n);else if(!(l[1].type==="linePrefix"||l[1].type==="listItemIndent"))break;i&&(a[1].end={...d.get(i)[1].start},o=d.slice(i,r),o.unshift(a),d.splice(i,r-i+1,o))}}return at(t,0,Number.POSITIVE_INFINITY,d.slice(0)),!h}function GB(t,e){let r=t.get(e)[1],a=t.get(e)[2],i=e-1,n=[],l=r._tokenizer;l||(l=a.parser[r.contentType](r.start),r._contentTypeTextTrailing&&(l._contentTypeTextTrailing=!0));let o=l.events,c=[],h={},d,s,v=-1,p=r,g=0,f=0,V=[f];for(;p;){for(;t.get(++i)[1]!==p;);n.push(i),p._tokenizer||(d=a.sliceStream(p),p.next||d.push(null),s&&l.defineSkip(p.start),p._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(d),p._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),s=p,p=p.next}for(p=r;++v<o.length;)o[v][0]==="exit"&&o[v-1][0]==="enter"&&o[v][1].type===o[v-1][1].type&&o[v][1].start.line!==o[v][1].end.line&&(f=v+1,V.push(f),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(l.events=[],p?(p._tokenizer=void 0,p.previous=void 0):V.pop(),v=V.length;v--;){let u=o.slice(V[v],V[v+1]),m=n.pop();c.push([m,m+u.length-1]),t.splice(m,2,u)}for(c.reverse(),v=-1;++v<c.length;)h[g+c[v][0]]=g+c[v][1],g+=c[v][1]-c[v][0]-1;return h}var Vd={resolve:jB,tokenize:KB},$B={partial:!0,tokenize:qB};function jB(t){return bo(t),t}function KB(t,e){let r;return a;function a(o){return t.enter("content"),r=t.enter("chunkContent",{contentType:"content"}),i(o)}function i(o){return o===null?n(o):K(o)?t.check($B,l,n)(o):(t.consume(o),i)}function n(o){return t.exit("chunkContent"),t.exit("content"),e(o)}function l(o){return t.consume(o),t.exit("chunkContent"),r.next=t.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,i}}function qB(t,e,r){let a=this;return i;function i(l){return t.exit("chunkContent"),t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),e1(t,n,"linePrefix")}function n(l){if(l===null||K(l))return r(l);let o=a.events[a.events.length-1];return!a.parser.constructs.disable.null.includes("codeIndented")&&o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?e(l):t.interrupt(a.parser.constructs.flow,r,e)(l)}}function yo(t,e,r,a,i,n,l,o,c){let h=c||Number.POSITIVE_INFINITY,d=0;return s;function s(u){return u===60?(t.enter(a),t.enter(i),t.enter(n),t.consume(u),t.exit(n),v):u===null||u===32||u===41||Yr(u)?r(u):(t.enter(a),t.enter(l),t.enter(o),t.enter("chunkString",{contentType:"string"}),f(u))}function v(u){return u===62?(t.enter(n),t.consume(u),t.exit(n),t.exit(i),t.exit(a),e):(t.enter(o),t.enter("chunkString",{contentType:"string"}),p(u))}function p(u){return u===62?(t.exit("chunkString"),t.exit(o),v(u)):u===null||u===60||K(u)?r(u):(t.consume(u),u===92?g:p)}function g(u){return u===60||u===62||u===92?(t.consume(u),p):p(u)}function f(u){return!d&&(u===null||u===41||m1(u))?(t.exit("chunkString"),t.exit(o),t.exit(l),t.exit(a),e(u)):d<h&&u===40?(t.consume(u),d++,f):u===41?(t.consume(u),d--,f):u===null||u===32||u===40||Yr(u)?r(u):(t.consume(u),u===92?V:f)}function V(u){return u===40||u===41||u===92?(t.consume(u),f):f(u)}}function Lo(t,e,r,a,i,n){let l=this,o=0,c;return h;function h(p){return t.enter(a),t.enter(i),t.consume(p),t.exit(i),t.enter(n),d}function d(p){return o>999||p===null||p===91||p===93&&!c||p===94&&!o&&"_hiddenFootnoteSupport"in l.parser.constructs?r(p):p===93?(t.exit(n),t.enter(i),t.consume(p),t.exit(i),t.exit(a),e):K(p)?(t.enter("lineEnding"),t.consume(p),t.exit("lineEnding"),d):(t.enter("chunkString",{contentType:"string"}),s(p))}function s(p){return p===null||p===91||p===93||K(p)||o++>999?(t.exit("chunkString"),d(p)):(t.consume(p),c||(c=!i1(p)),p===92?v:s)}function v(p){return p===91||p===92||p===93?(t.consume(p),o++,s):s(p)}}function Co(t,e,r,a,i,n){let l;return o;function o(v){return v===34||v===39||v===40?(t.enter(a),t.enter(i),t.consume(v),t.exit(i),l=v===40?41:v,c):r(v)}function c(v){return v===l?(t.enter(i),t.consume(v),t.exit(i),t.exit(a),e):(t.enter(n),h(v))}function h(v){return v===l?(t.exit(n),c(l)):v===null?r(v):K(v)?(t.enter("lineEnding"),t.consume(v),t.exit("lineEnding"),e1(t,h,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),d(v))}function d(v){return v===l||v===null||K(v)?(t.exit("chunkString"),h(v)):(t.consume(v),v===92?s:d)}function s(v){return v===l||v===92?(t.consume(v),d):d(v)}}function Xr(t,e){let r;return a;function a(i){return K(i)?(t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),r=!0,a):i1(i)?e1(t,a,r?"linePrefix":"lineSuffix")(i):e(i)}}var wd={name:"definition",tokenize:QB},YB={partial:!0,tokenize:XB};function QB(t,e,r){let a=this,i;return n;function n(p){return t.enter("definition"),l(p)}function l(p){return Lo.call(a,t,o,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function o(p){return i=It(a.sliceSerialize(a.events[a.events.length-1][1]).slice(1,-1)),p===58?(t.enter("definitionMarker"),t.consume(p),t.exit("definitionMarker"),c):r(p)}function c(p){return m1(p)?Xr(t,h)(p):h(p)}function h(p){return yo(t,d,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function d(p){return t.attempt(YB,s,s)(p)}function s(p){return i1(p)?e1(t,v,"whitespace")(p):v(p)}function v(p){return p===null||K(p)?(t.exit("definition"),a.parser.defined.push(i),e(p)):r(p)}}function XB(t,e,r){return a;function a(o){return m1(o)?Xr(t,i)(o):r(o)}function i(o){return Co(t,n,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function n(o){return i1(o)?e1(t,l,"whitespace")(o):l(o)}function l(o){return o===null||K(o)?e(o):r(o)}}var bd={name:"hardBreakEscape",tokenize:ZB};function ZB(t,e,r){return a;function a(n){return t.enter("hardBreakEscape"),t.consume(n),i}function i(n){return K(n)?(t.exit("hardBreakEscape"),e(n)):r(n)}}var yd={name:"headingAtx",resolve:JB,tokenize:tk};function JB(t,e){let r=t.length-2,a=3,i,n;return t[a][1].type==="whitespace"&&(a+=2),r-2>a&&t[r][1].type==="whitespace"&&(r-=2),t[r][1].type==="atxHeadingSequence"&&(a===r-1||r-4>a&&t[r-2][1].type==="whitespace")&&(r-=a+1===r?2:4),r>a&&(i={type:"atxHeadingText",start:t[a][1].start,end:t[r][1].end},n={type:"chunkText",start:t[a][1].start,end:t[r][1].end,contentType:"text"},at(t,a,r-a+1,[["enter",i,e],["enter",n,e],["exit",n,e],["exit",i,e]])),t}function tk(t,e,r){let a=0;return i;function i(d){return t.enter("atxHeading"),n(d)}function n(d){return t.enter("atxHeadingSequence"),l(d)}function l(d){return d===35&&a++<6?(t.consume(d),l):d===null||m1(d)?(t.exit("atxHeadingSequence"),o(d)):r(d)}function o(d){return d===35?(t.enter("atxHeadingSequence"),c(d)):d===null||K(d)?(t.exit("atxHeading"),e(d)):i1(d)?e1(t,o,"whitespace")(d):(t.enter("atxHeadingText"),h(d))}function c(d){return d===35?(t.consume(d),c):(t.exit("atxHeadingSequence"),o(d))}function h(d){return d===null||d===35||m1(d)?(t.exit("atxHeadingText"),o(d)):(t.consume(d),h)}}var Gz=["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"],Ld=["pre","script","style","textarea"];var Cd={concrete:!0,name:"htmlFlow",resolveTo:ak,tokenize:ik},ek={partial:!0,tokenize:lk},rk={partial:!0,tokenize:nk};function ak(t){let e=t.length;for(;e--&&!(t[e][0]==="enter"&&t[e][1].type==="htmlFlow"););return e>1&&t[e-2][1].type==="linePrefix"&&(t[e][1].start=t[e-2][1].start,t[e+1][1].start=t[e-2][1].start,t.splice(e-2,2)),t}function ik(t,e,r){let a=this,i,n,l,o,c;return h;function h(M){return d(M)}function d(M){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(M),s}function s(M){return M===33?(t.consume(M),v):M===47?(t.consume(M),n=!0,f):M===63?(t.consume(M),i=3,a.interrupt?e:H):pt(M)?(t.consume(M),l=String.fromCharCode(M),V):r(M)}function v(M){return M===45?(t.consume(M),i=2,p):M===91?(t.consume(M),i=5,o=0,g):pt(M)?(t.consume(M),i=4,a.interrupt?e:H):r(M)}function p(M){return M===45?(t.consume(M),a.interrupt?e:H):r(M)}function g(M){let t1="CDATA[";return M===t1.charCodeAt(o++)?(t.consume(M),o===t1.length?a.interrupt?e:W:g):r(M)}function f(M){return pt(M)?(t.consume(M),l=String.fromCharCode(M),V):r(M)}function V(M){if(M===null||M===47||M===62||m1(M)){let t1=M===47,d1=l.toLowerCase();return!t1&&!n&&Ld.includes(d1)?(i=1,a.interrupt?e(M):W(M)):Gz.includes(l.toLowerCase())?(i=6,t1?(t.consume(M),u):a.interrupt?e(M):W(M)):(i=7,a.interrupt&&!a.parser.lazy[a.now().line]?r(M):n?m(M):z(M))}return M===45||Y1(M)?(t.consume(M),l+=String.fromCharCode(M),V):r(M)}function u(M){return M===62?(t.consume(M),a.interrupt?e:W):r(M)}function m(M){return i1(M)?(t.consume(M),m):w(M)}function z(M){return M===47?(t.consume(M),w):M===58||M===95||pt(M)?(t.consume(M),y):i1(M)?(t.consume(M),z):w(M)}function y(M){return M===45||M===46||M===58||M===95||Y1(M)?(t.consume(M),y):b(M)}function b(M){return M===61?(t.consume(M),x):i1(M)?(t.consume(M),b):z(M)}function x(M){return M===null||M===60||M===61||M===62||M===96?r(M):M===34||M===39?(t.consume(M),c=M,S):i1(M)?(t.consume(M),x):C(M)}function S(M){return M===c?(t.consume(M),c=null,O):M===null||K(M)?r(M):(t.consume(M),S)}function C(M){return M===null||M===34||M===39||M===47||M===60||M===61||M===62||M===96||m1(M)?b(M):(t.consume(M),C)}function O(M){return M===47||M===62||i1(M)?z(M):r(M)}function w(M){return M===62?(t.consume(M),Y):r(M)}function Y(M){return M===null||K(M)?W(M):i1(M)?(t.consume(M),Y):r(M)}function W(M){return M===45&&i===2?(t.consume(M),B):M===60&&i===1?(t.consume(M),R):M===62&&i===4?(t.consume(M),h1):M===63&&i===3?(t.consume(M),H):M===93&&i===5?(t.consume(M),J):K(M)&&(i===6||i===7)?(t.exit("htmlFlowData"),t.check(ek,p1,E)(M)):M===null||K(M)?(t.exit("htmlFlowData"),E(M)):(t.consume(M),W)}function E(M){return t.check(rk,G,p1)(M)}function G(M){return t.enter("lineEnding"),t.consume(M),t.exit("lineEnding"),j}function j(M){return M===null||K(M)?E(M):(t.enter("htmlFlowData"),W(M))}function B(M){return M===45?(t.consume(M),H):W(M)}function R(M){return M===47?(t.consume(M),l="",F):W(M)}function F(M){if(M===62){let t1=l.toLowerCase();return Ld.includes(t1)?(t.consume(M),h1):W(M)}return pt(M)&&l.length<8?(t.consume(M),l+=String.fromCharCode(M),F):W(M)}function J(M){return M===93?(t.consume(M),H):W(M)}function H(M){return M===62?(t.consume(M),h1):M===45&&i===2?(t.consume(M),H):W(M)}function h1(M){return M===null||K(M)?(t.exit("htmlFlowData"),p1(M)):(t.consume(M),h1)}function p1(M){return t.exit("htmlFlow"),e(M)}}function nk(t,e,r){let a=this;return i;function i(l){return K(l)?(t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),n):r(l)}function n(l){return a.parser.lazy[a.now().line]?r(l):e(l)}}function lk(t,e,r){return a;function a(i){return t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),t.attempt(ie,e,r)}}var Sd={name:"htmlText",tokenize:ok};function ok(t,e,r){let a=this,i,n,l;return o;function o(H){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(H),c}function c(H){return H===33?(t.consume(H),h):H===47?(t.consume(H),b):H===63?(t.consume(H),z):pt(H)?(t.consume(H),C):r(H)}function h(H){return H===45?(t.consume(H),d):H===91?(t.consume(H),n=0,g):pt(H)?(t.consume(H),m):r(H)}function d(H){return H===45?(t.consume(H),p):r(H)}function s(H){return H===null?r(H):H===45?(t.consume(H),v):K(H)?(l=s,R(H)):(t.consume(H),s)}function v(H){return H===45?(t.consume(H),p):s(H)}function p(H){return H===62?B(H):H===45?v(H):s(H)}function g(H){let h1="CDATA[";return H===h1.charCodeAt(n++)?(t.consume(H),n===h1.length?f:g):r(H)}function f(H){return H===null?r(H):H===93?(t.consume(H),V):K(H)?(l=f,R(H)):(t.consume(H),f)}function V(H){return H===93?(t.consume(H),u):f(H)}function u(H){return H===62?B(H):H===93?(t.consume(H),u):f(H)}function m(H){return H===null||H===62?B(H):K(H)?(l=m,R(H)):(t.consume(H),m)}function z(H){return H===null?r(H):H===63?(t.consume(H),y):K(H)?(l=z,R(H)):(t.consume(H),z)}function y(H){return H===62?B(H):z(H)}function b(H){return pt(H)?(t.consume(H),x):r(H)}function x(H){return H===45||Y1(H)?(t.consume(H),x):S(H)}function S(H){return K(H)?(l=S,R(H)):i1(H)?(t.consume(H),S):B(H)}function C(H){return H===45||Y1(H)?(t.consume(H),C):H===47||H===62||m1(H)?O(H):r(H)}function O(H){return H===47?(t.consume(H),B):H===58||H===95||pt(H)?(t.consume(H),w):K(H)?(l=O,R(H)):i1(H)?(t.consume(H),O):B(H)}function w(H){return H===45||H===46||H===58||H===95||Y1(H)?(t.consume(H),w):Y(H)}function Y(H){return H===61?(t.consume(H),W):K(H)?(l=Y,R(H)):i1(H)?(t.consume(H),Y):O(H)}function W(H){return H===null||H===60||H===61||H===62||H===96?r(H):H===34||H===39?(t.consume(H),i=H,E):K(H)?(l=W,R(H)):i1(H)?(t.consume(H),W):(t.consume(H),G)}function E(H){return H===i?(t.consume(H),i=void 0,j):H===null?r(H):K(H)?(l=E,R(H)):(t.consume(H),E)}function G(H){return H===null||H===34||H===39||H===60||H===61||H===96?r(H):H===47||H===62||m1(H)?O(H):(t.consume(H),G)}function j(H){return H===47||H===62||m1(H)?O(H):r(H)}function B(H){return H===62?(t.consume(H),t.exit("htmlTextData"),t.exit("htmlText"),e):r(H)}function R(H){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(H),t.exit("lineEnding"),F}function F(H){return i1(H)?e1(t,J,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(H):J(H)}function J(H){return t.enter("htmlTextData"),l(H)}}var Zr={name:"labelEnd",resolveAll:sk,resolveTo:vk,tokenize:pk},ck={tokenize:uk},hk={tokenize:gk},dk={tokenize:mk};function sk(t){let e=-1,r=[];for(;++e<t.length;){let a=t[e][1];if(r.push(t[e]),a.type==="labelImage"||a.type==="labelLink"||a.type==="labelEnd"){let i=a.type==="labelImage"?4:2;a.type="data",e+=i}}return t.length!==r.length&&at(t,0,t.length,r),t}function vk(t,e){let r=t.length,a=0,i,n,l,o;for(;r--;)if(i=t[r][1],n){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;t[r][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(l){if(t[r][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(n=r,i.type!=="labelLink")){a=2;break}}else i.type==="labelEnd"&&(l=r);let c={type:t[n][1].type==="labelLink"?"link":"image",start:{...t[n][1].start},end:{...t[t.length-1][1].end}},h={type:"label",start:{...t[n][1].start},end:{...t[l][1].end}},d={type:"labelText",start:{...t[n+a+2][1].end},end:{...t[l-2][1].start}};return o=[["enter",c,e],["enter",h,e]],o=qt(o,t.slice(n+1,n+a+3)),o=qt(o,[["enter",d,e]]),o=qt(o,vr(e.parser.constructs.insideSpan.null,t.slice(n+a+4,l-3),e)),o=qt(o,[["exit",d,e],t[l-2],t[l-1],["exit",h,e]]),o=qt(o,t.slice(l+1)),o=qt(o,[["exit",c,e]]),at(t,n,t.length,o),t}function pk(t,e,r){let a=this,i=a.events.length,n,l;for(;i--;)if((a.events[i][1].type==="labelImage"||a.events[i][1].type==="labelLink")&&!a.events[i][1]._balanced){n=a.events[i][1];break}return o;function o(v){return n?n._inactive?s(v):(l=a.parser.defined.includes(It(a.sliceSerialize({start:n.end,end:a.now()}))),t.enter("labelEnd"),t.enter("labelMarker"),t.consume(v),t.exit("labelMarker"),t.exit("labelEnd"),c):r(v)}function c(v){return v===40?t.attempt(ck,d,l?d:s)(v):v===91?t.attempt(hk,d,l?h:s)(v):l?d(v):s(v)}function h(v){return t.attempt(dk,d,s)(v)}function d(v){return e(v)}function s(v){return n._balanced=!0,r(v)}}function uk(t,e,r){return a;function a(s){return t.enter("resource"),t.enter("resourceMarker"),t.consume(s),t.exit("resourceMarker"),i}function i(s){return m1(s)?Xr(t,n)(s):n(s)}function n(s){return s===41?d(s):yo(t,l,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(s)}function l(s){return m1(s)?Xr(t,c)(s):d(s)}function o(s){return r(s)}function c(s){return s===34||s===39||s===40?Co(t,h,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(s):d(s)}function h(s){return m1(s)?Xr(t,d)(s):d(s)}function d(s){return s===41?(t.enter("resourceMarker"),t.consume(s),t.exit("resourceMarker"),t.exit("resource"),e):r(s)}}function gk(t,e,r){let a=this;return i;function i(o){return Lo.call(a,t,n,l,"reference","referenceMarker","referenceString")(o)}function n(o){return a.parser.defined.includes(It(a.sliceSerialize(a.events[a.events.length-1][1]).slice(1,-1)))?e(o):r(o)}function l(o){return r(o)}}function mk(t,e,r){return a;function a(n){return t.enter("reference"),t.enter("referenceMarker"),t.consume(n),t.exit("referenceMarker"),i}function i(n){return n===93?(t.enter("referenceMarker"),t.consume(n),t.exit("referenceMarker"),t.exit("reference"),e):r(n)}}var Bd={name:"labelStartImage",resolveAll:Zr.resolveAll,tokenize:fk};function fk(t,e,r){let a=this;return i;function i(o){return t.enter("labelImage"),t.enter("labelImageMarker"),t.consume(o),t.exit("labelImageMarker"),n}function n(o){return o===91?(t.enter("labelMarker"),t.consume(o),t.exit("labelMarker"),t.exit("labelImage"),l):r(o)}function l(o){return o===94&&"_hiddenFootnoteSupport"in a.parser.constructs?r(o):e(o)}}var kd={name:"labelStartLink",resolveAll:Zr.resolveAll,tokenize:zk};function zk(t,e,r){let a=this;return i;function i(l){return t.enter("labelLink"),t.enter("labelMarker"),t.consume(l),t.exit("labelMarker"),t.exit("labelLink"),n}function n(l){return l===94&&"_hiddenFootnoteSupport"in a.parser.constructs?r(l):e(l)}}var wi={name:"lineEnding",tokenize:Mk};function Mk(t,e){return r;function r(a){return t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),e1(t,e,"linePrefix")}}var Jr={name:"thematicBreak",tokenize:xk};function xk(t,e,r){let a=0,i;return n;function n(h){return t.enter("thematicBreak"),l(h)}function l(h){return i=h,o(h)}function o(h){return h===i?(t.enter("thematicBreakSequence"),c(h)):a>=3&&(h===null||K(h))?(t.exit("thematicBreak"),e(h)):r(h)}function c(h){return h===i?(t.consume(h),a++,c):(t.exit("thematicBreakSequence"),i1(h)?e1(t,o,"whitespace")(h):o(h))}}var Nt={continuation:{tokenize:bk},exit:Lk,name:"list",tokenize:wk},Hk={partial:!0,tokenize:Ck},Vk={partial:!0,tokenize:yk};function wk(t,e,r){let a=this,i=a.events[a.events.length-1],n=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,l=0;return o;function o(p){let g=a.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(g==="listUnordered"?!a.containerState.marker||p===a.containerState.marker:Mi(p)){if(a.containerState.type||(a.containerState.type=g,t.enter(g,{_container:!0})),g==="listUnordered")return t.enter("listItemPrefix"),p===42||p===45?t.check(Jr,r,h)(p):h(p);if(!a.interrupt||p===49)return t.enter("listItemPrefix"),t.enter("listItemValue"),c(p)}return r(p)}function c(p){return Mi(p)&&++l<10?(t.consume(p),c):(!a.interrupt||l<2)&&(a.containerState.marker?p===a.containerState.marker:p===41||p===46)?(t.exit("listItemValue"),h(p)):r(p)}function h(p){return t.enter("listItemMarker"),t.consume(p),t.exit("listItemMarker"),a.containerState.marker=a.containerState.marker||p,t.check(ie,a.interrupt?r:d,t.attempt(Hk,v,s))}function d(p){return a.containerState.initialBlankLine=!0,n++,v(p)}function s(p){return i1(p)?(t.enter("listItemPrefixWhitespace"),t.consume(p),t.exit("listItemPrefixWhitespace"),v):r(p)}function v(p){return a.containerState.size=n+a.sliceSerialize(t.exit("listItemPrefix"),!0).length,e(p)}}function bk(t,e,r){let a=this;return a.containerState._closeFlow=void 0,t.check(ie,i,n);function i(o){return a.containerState.furtherBlankLines=a.containerState.furtherBlankLines||a.containerState.initialBlankLine,e1(t,e,"listItemIndent",a.containerState.size+1)(o)}function n(o){return a.containerState.furtherBlankLines||!i1(o)?(a.containerState.furtherBlankLines=void 0,a.containerState.initialBlankLine=void 0,l(o)):(a.containerState.furtherBlankLines=void 0,a.containerState.initialBlankLine=void 0,t.attempt(Vk,e,l)(o))}function l(o){return a.containerState._closeFlow=!0,a.interrupt=void 0,e1(t,t.attempt(Nt,e,r),"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function yk(t,e,r){let a=this;return e1(t,i,"listItemIndent",a.containerState.size+1);function i(n){let l=a.events[a.events.length-1];return l&&l[1].type==="listItemIndent"&&l[2].sliceSerialize(l[1],!0).length===a.containerState.size?e(n):r(n)}}function Lk(t){t.exit(this.containerState.type)}function Ck(t,e,r){let a=this;return e1(t,i,"listItemPrefixWhitespace",a.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(n){let l=a.events[a.events.length-1];return!i1(n)&&l&&l[1].type==="listItemPrefixWhitespace"?e(n):r(n)}}var So={name:"setextUnderline",resolveTo:Sk,tokenize:Bk};function Sk(t,e){let r=t.length,a,i,n;for(;r--;)if(t[r][0]==="enter"){if(t[r][1].type==="content"){a=r;break}t[r][1].type==="paragraph"&&(i=r)}else t[r][1].type==="content"&&t.splice(r,1),!n&&t[r][1].type==="definition"&&(n=r);let l={type:"setextHeading",start:{...t[a][1].start},end:{...t[t.length-1][1].end}};return t[i][1].type="setextHeadingText",n?(t.splice(i,0,["enter",l,e]),t.splice(n+1,0,["exit",t[a][1],e]),t[a][1].end={...t[n][1].end}):t[a][1]=l,t.push(["exit",l,e]),t}function Bk(t,e,r){let a=this,i;return n;function n(h){let d=a.events.length,s;for(;d--;)if(a.events[d][1].type!=="lineEnding"&&a.events[d][1].type!=="linePrefix"&&a.events[d][1].type!=="content"){s=a.events[d][1].type==="paragraph";break}return!a.parser.lazy[a.now().line]&&(a.interrupt||s)?(t.enter("setextHeadingLine"),i=h,l(h)):r(h)}function l(h){return t.enter("setextHeadingLineSequence"),o(h)}function o(h){return h===i?(t.consume(h),o):(t.exit("setextHeadingLineSequence"),i1(h)?e1(t,c,"lineSuffix")(h):c(h))}function c(h){return h===null||K(h)?(t.exit("setextHeadingLine"),e(h)):r(h)}}var $z={tokenize:kk};function kk(t){let e=this,r=t.attempt(ie,a,t.attempt(this.parser.constructs.flowInitial,i,e1(t,t.attempt(this.parser.constructs.flow,i,t.attempt(Vd,i)),"linePrefix")));return r;function a(n){if(n===null){t.consume(n);return}return t.enter("lineEndingBlank"),t.consume(n),t.exit("lineEndingBlank"),e.currentConstruct=void 0,r}function i(n){if(n===null){t.consume(n);return}return t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),e.currentConstruct=void 0,r}}var jz={resolveAll:Qz()},Kz=Yz("string"),qz=Yz("text");function Yz(t){return{resolveAll:Qz(t==="text"?Ok:void 0),tokenize:e};function e(r){let a=this,i=this.parser.constructs[t],n=r.attempt(i,l,o);return l;function l(d){return h(d)?n(d):o(d)}function o(d){if(d===null){r.consume(d);return}return r.enter("data"),r.consume(d),c}function c(d){return h(d)?(r.exit("data"),n(d)):(r.consume(d),c)}function h(d){if(d===null)return!0;let s=i[d],v=-1;if(s)for(;++v<s.length;){let p=s[v];if(!p.previous||p.previous.call(a,a.previous))return!0}return!1}}}function Qz(t){return e;function e(r,a){let i=-1,n;for(;++i<=r.length;)n===void 0?r[i]&&r[i][1].type==="data"&&(n=i,i++):(!r[i]||r[i][1].type!=="data")&&(i!==n+2&&(r[n][1].end=r[i-1][1].end,r.splice(n+2,i-n-2),i=n+2),n=void 0);return t?t(r,a):r}}function Ok(t,e){let r=0;for(;++r<=t.length;)if((r===t.length||t[r][1].type==="lineEnding")&&t[r-1][1].type==="data"){let a=t[r-1][1],i=e.sliceStream(a),n=i.length,l=-1,o=0,c;for(;n--;){let h=i[n];if(typeof h=="string"){for(l=h.length;h.charCodeAt(l-1)===32;)o++,l--;if(l)break;l=-1}else if(h===-2)c=!0,o++;else if(h!==-1){n++;break}}if(e._contentTypeTextTrailing&&r===t.length&&(o=0),o){let h={type:r===t.length||c||o<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:n?l:a.start._bufferIndex+l,_index:a.start._index+n,line:a.end.line,column:a.end.column-o,offset:a.end.offset-o},end:{...a.end}};a.end={...h.start},a.start.offset===a.end.offset?Object.assign(a,h):(t.splice(r,0,["enter",h,e],["exit",h,e]),r+=2)}r++}return t}var Od={};H5(Od,{attentionMarkers:()=>Nk,contentInitial:()=>_k,disable:()=>Dk,document:()=>Ak,flow:()=>Tk,flowInitial:()=>Ek,insideSpan:()=>Ik,string:()=>Rk,text:()=>Pk});var Ak={42:Nt,43:Nt,45:Nt,48:Nt,49:Nt,50:Nt,51:Nt,52:Nt,53:Nt,54:Nt,55:Nt,56:Nt,57:Nt,62:Mo},_k={91:wd},Ek={[-2]:Hi,[-1]:Hi,32:Hi},Tk={35:yd,42:Jr,45:[So,Jr],60:Cd,61:So,95:Jr,96:Vo,126:Vo},Rk={38:Ho,92:xo},Pk={[-5]:wi,[-4]:wi,[-3]:wi,33:Bd,38:Ho,42:xi,60:[xd,Sd],91:kd,92:[bd,xo],93:Zr,95:xi,96:Hd},Ik={null:[xi,jz]},Nk={null:[42,95]},Dk={null:[]};function Xz(t,e,r){let a={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0},i={},n=[],l=[],o=[],c=!0,h={attempt:O(S),check:O(C),consume:y,enter:b,exit:x,interrupt:O(C,{interrupt:!0})},d={code:null,containerState:{},defineSkip:u,events:[],now:V,parser:t,previous:null,sliceSerialize:g,sliceStream:f,write:p},s=e.tokenize.call(d,h),v;return e.resolveAll&&n.push(e),d;function p(E){return l=qt(l,E),m(),l[l.length-1]!==null?[]:(w(e,0),d.events=vr(n,d.events,d),d.events)}function g(E,G){return Wk(f(E),G)}function f(E){return Fk(l,E)}function V(){let{_bufferIndex:E,_index:G,line:j,column:B,offset:R}=a;return{_bufferIndex:E,_index:G,line:j,column:B,offset:R}}function u(E){i[E.line]=E.column,W()}function m(){let E;for(;a._index<l.length;){let G=l[a._index];if(typeof G=="string")for(E=a._index,a._bufferIndex<0&&(a._bufferIndex=0);a._index===E&&a._bufferIndex<G.length;)z(G.charCodeAt(a._bufferIndex));else z(G)}}function z(E){c=void 0,v=E,s=s(E)}function y(E){K(E)?(a.line++,a.column=1,a.offset+=E===-3?2:1,W()):E!==-1&&(a.column++,a.offset++),a._bufferIndex<0?a._index++:(a._bufferIndex++,a._bufferIndex===l[a._index].length&&(a._bufferIndex=-1,a._index++)),d.previous=E,c=!0}function b(E,G){let j=G||{};return j.type=E,j.start=V(),d.events.push(["enter",j,d]),o.push(j),j}function x(E){let G=o.pop();return G.end=V(),d.events.push(["exit",G,d]),G}function S(E,G){w(E,G.from)}function C(E,G){G.restore()}function O(E,G){return j;function j(B,R,F){let J,H,h1,p1;return Array.isArray(B)?t1(B):"tokenize"in B?t1([B]):M(B);function M(_){return T;function T(r1){let o1=r1!==null&&_[r1],z1=r1!==null&&_.null,L1=[...Array.isArray(o1)?o1:o1?[o1]:[],...Array.isArray(z1)?z1:z1?[z1]:[]];return t1(L1)(r1)}}function t1(_){return J=_,H=0,_.length===0?F:d1(_[H])}function d1(_){return T;function T(r1){return p1=Y(),h1=_,_.partial||(d.currentConstruct=_),_.name&&d.parser.constructs.disable.null.includes(_.name)?gt(r1):_.tokenize.call(G?Object.assign(Object.create(d),G):d,h,F1,gt)(r1)}}function F1(_){return c=!0,E(h1,p1),R}function gt(_){return c=!0,p1.restore(),++H<J.length?d1(J[H]):F}}}function w(E,G){E.resolveAll&&!n.includes(E)&&n.push(E),E.resolve&&at(d.events,G,d.events.length-G,E.resolve(d.events.slice(G),d)),E.resolveTo&&(d.events=E.resolveTo(d.events,d))}function Y(){let E=V(),G=d.previous,j=d.currentConstruct,B=d.events.length,R=Array.from(o);return{from:B,restore:F};function F(){a=E,d.previous=G,d.currentConstruct=j,d.events.length=B,o=R,W()}}function W(){a.line in i&&a.column<2&&(a.column=i[a.line],a.offset+=i[a.line]-1)}}function Fk(t,e){let r=e.start._index,a=e.start._bufferIndex,i=e.end._index,n=e.end._bufferIndex,l;if(r===i)l=[t[r].slice(a,n)];else{if(l=t.slice(r,i),a>-1){let o=l[0];typeof o=="string"?l[0]=o.slice(a):l.shift()}n>0&&l.push(t[i].slice(0,n))}return l}function Wk(t,e){let r=-1,a=[],i;for(;++r<t.length;){let n=t[r],l;if(typeof n=="string")l=n;else switch(n){case-5:{l="\r";break}case-4:{l=`
|
|
14
|
+
`;break}case-3:{l=`\r
|
|
15
|
+
`;break}case-2:{l=e?" ":" ";break}case-1:{if(!e&&i)continue;l=" ";break}default:l=String.fromCharCode(n)}i=n===-2,a.push(l)}return a.join("")}function Ad(t){let a={constructs:fo([Od,...(t||{}).extensions||[]]),content:i(Nz),defined:[],document:i(Fz),flow:i($z),lazy:{},string:i(Kz),text:i(qz)};return a;function i(n){return l;function l(o){return Xz(a,n,o)}}}function _d(t){for(;!bo(t););return t}var Zz=/[\0\t\n\r]/g;function Ed(){let t=1,e="",r=!0,a;return i;function i(n,l,o){let c=[],h,d,s,v,p;for(n=e+(typeof n=="string"?n.toString():new TextDecoder(l||void 0).decode(n)),s=0,e="",r&&(n.charCodeAt(0)===65279&&s++,r=void 0);s<n.length;){if(Zz.lastIndex=s,h=Zz.exec(n),v=h&&h.index!==void 0?h.index:n.length,p=n.charCodeAt(v),!h){e=n.slice(s);break}if(p===10&&s===v&&a)c.push(-3),a=void 0;else switch(a&&(c.push(-5),a=void 0),s<v&&(c.push(n.slice(s,v)),t+=v-s),p){case 0:{c.push(65533),t++;break}case 9:{for(d=Math.ceil(t/4)*4,c.push(-2);t++<d;)c.push(-1);break}case 10:{c.push(-4),t=1;break}default:a=!0,t=1}s=v+1}return o&&(a&&c.push(-5),e&&c.push(e),c.push(null)),c}}var Uk=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Jz(t){return t.replace(Uk,Gk)}function Gk(t,e,r){if(e)return e;if(r.charCodeAt(0)===35){let i=r.charCodeAt(1),n=i===120||i===88;return zo(r.slice(n?2:1),n?16:10)}return Ia(r)||t}var eM={}.hasOwnProperty;function Td(t,e,r){return e&&typeof e=="object"&&(r=e,e=void 0),$k(r)(_d(Ad(r).document().write(Ed()(t,e,!0))))}function $k(t){let e={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:n(j2),autolinkProtocol:O,autolinkEmail:O,atxHeading:n(_1),blockQuote:n(r1),characterEscape:O,characterReference:O,codeFenced:n(o1),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:n(o1,l),codeText:n(z1,l),codeTextData:O,data:O,codeFlowValue:O,definition:n(L1),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:n(ht),hardBreakEscape:n(M1),hardBreakTrailing:n(M1),htmlFlow:n(o2,l),htmlFlowData:O,htmlText:n(o2,l),htmlTextData:O,image:n(a1),label:l,link:n(j2),listItem:n(b1),listItemValue:v,listOrdered:n(j1,s),listUnordered:n(j1),paragraph:n(ce),reference:M,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:n(_1),strong:n(c2),thematicBreak:n(e4)},exit:{atxHeading:c(),atxHeadingSequence:b,autolink:c(),autolinkEmail:T,autolinkProtocol:_,blockQuote:c(),characterEscapeValue:w,characterReferenceMarkerHexadecimal:d1,characterReferenceMarkerNumeric:d1,characterReferenceValue:F1,characterReference:gt,codeFenced:c(V),codeFencedFence:f,codeFencedFenceInfo:p,codeFencedFenceMeta:g,codeFlowValue:w,codeIndented:c(u),codeText:c(j),codeTextData:w,data:w,definition:c(),definitionDestinationString:y,definitionLabelString:m,definitionTitleString:z,emphasis:c(),hardBreakEscape:c(W),hardBreakTrailing:c(W),htmlFlow:c(E),htmlFlowData:w,htmlText:c(G),htmlTextData:w,image:c(R),label:J,labelText:F,lineEnding:Y,link:c(B),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:t1,resourceDestinationString:H,resourceTitleString:h1,resource:p1,setextHeading:c(C),setextHeadingLineSequence:S,setextHeadingText:x,strong:c(),thematicBreak:c()}};rM(e,(t||{}).mdastExtensions||[]);let r={};return a;function a(L){let k={type:"root",children:[]},U={stack:[k],tokenStack:[],config:e,enter:o,exit:h,buffer:l,resume:d,data:r},X=[],s1=-1;for(;++s1<L.length;)if(L[s1][1].type==="listOrdered"||L[s1][1].type==="listUnordered")if(L[s1][0]==="enter")X.push(s1);else{let X1=X.pop();s1=i(L,X1,s1)}for(s1=-1;++s1<L.length;){let X1=e[L[s1][0]];eM.call(X1,L[s1][1].type)&&X1[L[s1][1].type].call(Object.assign({sliceSerialize:L[s1][2].sliceSerialize},U),L[s1][1])}if(U.tokenStack.length>0){let X1=U.tokenStack[U.tokenStack.length-1];(X1[1]||tM).call(U,void 0,X1[0])}for(k.position={start:pr(L.length>0?L[0][1].start:{line:1,column:1,offset:0}),end:pr(L.length>0?L[L.length-2][1].end:{line:1,column:1,offset:0})},s1=-1;++s1<e.transforms.length;)k=e.transforms[s1](k)||k;return k}function i(L,k,U){let X=k-1,s1=-1,X1=!1,he,T2,r4,a4;for(;++X<=U;){let h2=L[X];switch(h2[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{h2[0]==="enter"?s1++:s1--,a4=void 0;break}case"lineEndingBlank":{h2[0]==="enter"&&(he&&!a4&&!s1&&!r4&&(r4=X),a4=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:a4=void 0}if(!s1&&h2[0]==="enter"&&h2[1].type==="listItemPrefix"||s1===-1&&h2[0]==="exit"&&(h2[1].type==="listUnordered"||h2[1].type==="listOrdered")){if(he){let o0=X;for(T2=void 0;o0--;){let de=L[o0];if(de[1].type==="lineEnding"||de[1].type==="lineEndingBlank"){if(de[0]==="exit")continue;T2&&(L[T2][1].type="lineEndingBlank",X1=!0),de[1].type="lineEnding",T2=o0}else if(!(de[1].type==="linePrefix"||de[1].type==="blockQuotePrefix"||de[1].type==="blockQuotePrefixWhitespace"||de[1].type==="blockQuoteMarker"||de[1].type==="listItemIndent"))break}r4&&(!T2||r4<T2)&&(he._spread=!0),he.end=Object.assign({},T2?L[T2][1].start:h2[1].end),L.splice(T2||X,0,["exit",he,h2[2]]),X++,U++}if(h2[1].type==="listItemPrefix"){let o0={type:"listItem",_spread:!1,start:Object.assign({},h2[1].start),end:void 0};he=o0,L.splice(X,0,["enter",o0,h2[2]]),X++,U++,r4=void 0,a4=!0}}}return L[k][1]._spread=X1,U}function n(L,k){return U;function U(X){o.call(this,L(X),X),k&&k.call(this,X)}}function l(){this.stack.push({type:"fragment",children:[]})}function o(L,k,U){this.stack[this.stack.length-1].children.push(L),this.stack.push(L),this.tokenStack.push([k,U||void 0]),L.position={start:pr(k.start),end:void 0}}function c(L){return k;function k(U){L&&L.call(this,U),h.call(this,U)}}function h(L,k){let U=this.stack.pop(),X=this.tokenStack.pop();if(X)X[0].type!==L.type&&(k?k.call(this,L,X[0]):(X[1]||tM).call(this,L,X[0]));else throw new Error("Cannot close `"+L.type+"` ("+dr({start:L.start,end:L.end})+"): it\u2019s not open");U.position.end=pr(L.end)}function d(){return qr(this.stack.pop())}function s(){this.data.expectingFirstListItemValue=!0}function v(L){if(this.data.expectingFirstListItemValue){let k=this.stack[this.stack.length-2];k.start=Number.parseInt(this.sliceSerialize(L),10),this.data.expectingFirstListItemValue=void 0}}function p(){let L=this.resume(),k=this.stack[this.stack.length-1];k.lang=L}function g(){let L=this.resume(),k=this.stack[this.stack.length-1];k.meta=L}function f(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function V(){let L=this.resume(),k=this.stack[this.stack.length-1];k.value=L.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function u(){let L=this.resume(),k=this.stack[this.stack.length-1];k.value=L.replace(/(\r?\n|\r)$/g,"")}function m(L){let k=this.resume(),U=this.stack[this.stack.length-1];U.label=k,U.identifier=It(this.sliceSerialize(L)).toLowerCase()}function z(){let L=this.resume(),k=this.stack[this.stack.length-1];k.title=L}function y(){let L=this.resume(),k=this.stack[this.stack.length-1];k.url=L}function b(L){let k=this.stack[this.stack.length-1];if(!k.depth){let U=this.sliceSerialize(L).length;k.depth=U}}function x(){this.data.setextHeadingSlurpLineEnding=!0}function S(L){let k=this.stack[this.stack.length-1];k.depth=this.sliceSerialize(L).codePointAt(0)===61?1:2}function C(){this.data.setextHeadingSlurpLineEnding=void 0}function O(L){let U=this.stack[this.stack.length-1].children,X=U[U.length-1];(!X||X.type!=="text")&&(X=t4(),X.position={start:pr(L.start),end:void 0},U.push(X)),this.stack.push(X)}function w(L){let k=this.stack.pop();k.value+=this.sliceSerialize(L),k.position.end=pr(L.end)}function Y(L){let k=this.stack[this.stack.length-1];if(this.data.atHardBreak){let U=k.children[k.children.length-1];U.position.end=pr(L.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&e.canContainEols.includes(k.type)&&(O.call(this,L),w.call(this,L))}function W(){this.data.atHardBreak=!0}function E(){let L=this.resume(),k=this.stack[this.stack.length-1];k.value=L}function G(){let L=this.resume(),k=this.stack[this.stack.length-1];k.value=L}function j(){let L=this.resume(),k=this.stack[this.stack.length-1];k.value=L}function B(){let L=this.stack[this.stack.length-1];if(this.data.inReference){let k=this.data.referenceType||"shortcut";L.type+="Reference",L.referenceType=k,delete L.url,delete L.title}else delete L.identifier,delete L.label;this.data.referenceType=void 0}function R(){let L=this.stack[this.stack.length-1];if(this.data.inReference){let k=this.data.referenceType||"shortcut";L.type+="Reference",L.referenceType=k,delete L.url,delete L.title}else delete L.identifier,delete L.label;this.data.referenceType=void 0}function F(L){let k=this.sliceSerialize(L),U=this.stack[this.stack.length-2];U.label=Jz(k),U.identifier=It(k).toLowerCase()}function J(){let L=this.stack[this.stack.length-1],k=this.resume(),U=this.stack[this.stack.length-1];if(this.data.inReference=!0,U.type==="link"){let X=L.children;U.children=X}else U.alt=k}function H(){let L=this.resume(),k=this.stack[this.stack.length-1];k.url=L}function h1(){let L=this.resume(),k=this.stack[this.stack.length-1];k.title=L}function p1(){this.data.inReference=void 0}function M(){this.data.referenceType="collapsed"}function t1(L){let k=this.resume(),U=this.stack[this.stack.length-1];U.label=k,U.identifier=It(this.sliceSerialize(L)).toLowerCase(),this.data.referenceType="full"}function d1(L){this.data.characterReferenceType=L.type}function F1(L){let k=this.sliceSerialize(L),U=this.data.characterReferenceType,X;U?(X=zo(k,U==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):X=Ia(k);let s1=this.stack[this.stack.length-1];s1.value+=X}function gt(L){let k=this.stack.pop();k.position.end=pr(L.end)}function _(L){w.call(this,L);let k=this.stack[this.stack.length-1];k.url=this.sliceSerialize(L)}function T(L){w.call(this,L);let k=this.stack[this.stack.length-1];k.url="mailto:"+this.sliceSerialize(L)}function r1(){return{type:"blockquote",children:[]}}function o1(){return{type:"code",lang:null,meta:null,value:""}}function z1(){return{type:"inlineCode",value:""}}function L1(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function ht(){return{type:"emphasis",children:[]}}function _1(){return{type:"heading",depth:0,children:[]}}function M1(){return{type:"break"}}function o2(){return{type:"html",value:""}}function a1(){return{type:"image",title:null,url:"",alt:null}}function j2(){return{type:"link",title:null,url:"",children:[]}}function j1(L){return{type:"list",ordered:L.type==="listOrdered",start:null,spread:L._spread,children:[]}}function b1(L){return{type:"listItem",spread:L._spread,checked:null,children:[]}}function ce(){return{type:"paragraph",children:[]}}function c2(){return{type:"strong",children:[]}}function t4(){return{type:"text",value:""}}function e4(){return{type:"thematicBreak"}}}function pr(t){return{line:t.line,column:t.column,offset:t.offset}}function rM(t,e){let r=-1;for(;++r<e.length;){let a=e[r];Array.isArray(a)?rM(t,a):jk(t,a)}}function jk(t,e){let r;for(r in e)if(eM.call(e,r))switch(r){case"canContainEols":{let a=e[r];a&&t[r].push(...a);break}case"transforms":{let a=e[r];a&&t[r].push(...a);break}case"enter":case"exit":{let a=e[r];a&&Object.assign(t[r],a);break}}}function tM(t,e){throw t?new Error("Cannot close `"+t.type+"` ("+dr({start:t.start,end:t.end})+"): a different token (`"+e.type+"`, "+dr({start:e.start,end:e.end})+") is open"):new Error("Cannot close document, a token (`"+e.type+"`, "+dr({start:e.start,end:e.end})+") is still open")}function Bo(t){let e=this;e.parser=r;function r(a){return Td(a,{...e.data("settings"),...t,extensions:e.data("micromarkExtensions")||[],mdastExtensions:e.data("fromMarkdownExtensions")||[]})}}function aM(t,e){let r={type:"element",tagName:"blockquote",properties:{},children:t.wrap(t.all(e),!0)};return t.patch(e,r),t.applyData(e,r)}function iM(t,e){let r={type:"element",tagName:"br",properties:{},children:[]};return t.patch(e,r),[t.applyData(e,r),{type:"text",value:`
|
|
16
|
+
`}]}function nM(t,e){let r=e.value?e.value+`
|
|
17
|
+
`:"",a={},i=e.lang?e.lang.split(/\s+/):[];i.length>0&&(a.className=["language-"+i[0]]);let n={type:"element",tagName:"code",properties:a,children:[{type:"text",value:r}]};return e.meta&&(n.data={meta:e.meta}),t.patch(e,n),n=t.applyData(e,n),n={type:"element",tagName:"pre",properties:{},children:[n]},t.patch(e,n),n}function lM(t,e){let r={type:"element",tagName:"del",properties:{},children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}function oM(t,e){let r={type:"element",tagName:"em",properties:{},children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}function cM(t,e){let r=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",a=String(e.identifier).toUpperCase(),i=_2(a.toLowerCase()),n=t.footnoteOrder.indexOf(a),l,o=t.footnoteCounts.get(a);o===void 0?(o=0,t.footnoteOrder.push(a),l=t.footnoteOrder.length):l=n+1,o+=1,t.footnoteCounts.set(a,o);let c={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+i,id:r+"fnref-"+i+(o>1?"-"+o:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(l)}]};t.patch(e,c);let h={type:"element",tagName:"sup",properties:{},children:[c]};return t.patch(e,h),t.applyData(e,h)}function hM(t,e){let r={type:"element",tagName:"h"+e.depth,properties:{},children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}function dM(t,e){if(t.options.allowDangerousHtml){let r={type:"raw",value:e.value};return t.patch(e,r),t.applyData(e,r)}}function ko(t,e){let r=e.referenceType,a="]";if(r==="collapsed"?a+="[]":r==="full"&&(a+="["+(e.label||e.identifier)+"]"),e.type==="imageReference")return[{type:"text",value:"!["+e.alt+a}];let i=t.all(e),n=i[0];n&&n.type==="text"?n.value="["+n.value:i.unshift({type:"text",value:"["});let l=i[i.length-1];return l&&l.type==="text"?l.value+=a:i.push({type:"text",value:a}),i}function sM(t,e){let r=String(e.identifier).toUpperCase(),a=t.definitionById.get(r);if(!a)return ko(t,e);let i={src:_2(a.url||""),alt:e.alt};a.title!==null&&a.title!==void 0&&(i.title=a.title);let n={type:"element",tagName:"img",properties:i,children:[]};return t.patch(e,n),t.applyData(e,n)}function vM(t,e){let r={src:_2(e.url)};e.alt!==null&&e.alt!==void 0&&(r.alt=e.alt),e.title!==null&&e.title!==void 0&&(r.title=e.title);let a={type:"element",tagName:"img",properties:r,children:[]};return t.patch(e,a),t.applyData(e,a)}function pM(t,e){let r={type:"text",value:e.value.replace(/\r?\n|\r/g," ")};t.patch(e,r);let a={type:"element",tagName:"code",properties:{},children:[r]};return t.patch(e,a),t.applyData(e,a)}function uM(t,e){let r=String(e.identifier).toUpperCase(),a=t.definitionById.get(r);if(!a)return ko(t,e);let i={href:_2(a.url||"")};a.title!==null&&a.title!==void 0&&(i.title=a.title);let n={type:"element",tagName:"a",properties:i,children:t.all(e)};return t.patch(e,n),t.applyData(e,n)}function gM(t,e){let r={href:_2(e.url)};e.title!==null&&e.title!==void 0&&(r.title=e.title);let a={type:"element",tagName:"a",properties:r,children:t.all(e)};return t.patch(e,a),t.applyData(e,a)}function mM(t,e,r){let a=t.all(e),i=r?Kk(r):fM(e),n={},l=[];if(typeof e.checked=="boolean"){let d=a[0],s;d&&d.type==="element"&&d.tagName==="p"?s=d:(s={type:"element",tagName:"p",properties:{},children:[]},a.unshift(s)),s.children.length>0&&s.children.unshift({type:"text",value:" "}),s.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:e.checked,disabled:!0},children:[]}),n.className=["task-list-item"]}let o=-1;for(;++o<a.length;){let d=a[o];(i||o!==0||d.type!=="element"||d.tagName!=="p")&&l.push({type:"text",value:`
|
|
18
|
+
`}),d.type==="element"&&d.tagName==="p"&&!i?l.push(...d.children):l.push(d)}let c=a[a.length-1];c&&(i||c.type!=="element"||c.tagName!=="p")&&l.push({type:"text",value:`
|
|
19
|
+
`});let h={type:"element",tagName:"li",properties:n,children:l};return t.patch(e,h),t.applyData(e,h)}function Kk(t){let e=!1;if(t.type==="list"){e=t.spread||!1;let r=t.children,a=-1;for(;!e&&++a<r.length;)e=fM(r[a])}return e}function fM(t){let e=t.spread;return e??t.children.length>1}function zM(t,e){let r={},a=t.all(e),i=-1;for(typeof e.start=="number"&&e.start!==1&&(r.start=e.start);++i<a.length;){let l=a[i];if(l.type==="element"&&l.tagName==="li"&&l.properties&&Array.isArray(l.properties.className)&&l.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}let n={type:"element",tagName:e.ordered?"ol":"ul",properties:r,children:t.wrap(a,!0)};return t.patch(e,n),t.applyData(e,n)}function MM(t,e){let r={type:"element",tagName:"p",properties:{},children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}function xM(t,e){let r={type:"root",children:t.wrap(t.all(e))};return t.patch(e,r),t.applyData(e,r)}function HM(t,e){let r={type:"element",tagName:"strong",properties:{},children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}function VM(t,e){let r=t.all(e),a=r.shift(),i=[];if(a){let l={type:"element",tagName:"thead",properties:{},children:t.wrap([a],!0)};t.patch(e.children[0],l),i.push(l)}if(r.length>0){let l={type:"element",tagName:"tbody",properties:{},children:t.wrap(r,!0)},o=Pa(e.children[1]),c=mo(e.children[e.children.length-1]);o&&c&&(l.position={start:o,end:c}),i.push(l)}let n={type:"element",tagName:"table",properties:{},children:t.wrap(i,!0)};return t.patch(e,n),t.applyData(e,n)}function wM(t,e,r){let a=r?r.children:void 0,n=(a?a.indexOf(e):1)===0?"th":"td",l=r&&r.type==="table"?r.align:void 0,o=l?l.length:e.children.length,c=-1,h=[];for(;++c<o;){let s=e.children[c],v={},p=l?l[c]:void 0;p&&(v.align=p);let g={type:"element",tagName:n,properties:v,children:[]};s&&(g.children=t.all(s),t.patch(s,g),g=t.applyData(s,g)),h.push(g)}let d={type:"element",tagName:"tr",properties:{},children:t.wrap(h,!0)};return t.patch(e,d),t.applyData(e,d)}function bM(t,e){let r={type:"element",tagName:"td",properties:{},children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}function LM(t){let e=String(t),r=/\r?\n|\r/g,a=r.exec(e),i=0,n=[];for(;a;)n.push(yM(e.slice(i,a.index),i>0,!0),a[0]),i=a.index+a[0].length,a=r.exec(e);return n.push(yM(e.slice(i),i>0,!1)),n.join("")}function yM(t,e,r){let a=0,i=t.length;if(e){let n=t.codePointAt(a);for(;n===9||n===32;)a++,n=t.codePointAt(a)}if(r){let n=t.codePointAt(i-1);for(;n===9||n===32;)i--,n=t.codePointAt(i-1)}return i>a?t.slice(a,i):""}function CM(t,e){let r={type:"text",value:LM(String(e.value))};return t.patch(e,r),t.applyData(e,r)}function SM(t,e){let r={type:"element",tagName:"hr",properties:{},children:[]};return t.patch(e,r),t.applyData(e,r)}var BM={blockquote:aM,break:iM,code:nM,delete:lM,emphasis:oM,footnoteReference:cM,heading:hM,html:dM,imageReference:sM,image:vM,inlineCode:pM,linkReference:uM,link:gM,listItem:mM,list:zM,paragraph:MM,root:xM,strong:HM,table:VM,tableCell:bM,tableRow:wM,text:CM,thematicBreak:SM,toml:Oo,yaml:Oo,definition:Oo,footnoteDefinition:Oo};function Oo(){}var TM=typeof self=="object"?self:globalThis,kM=(t,e)=>{switch(t){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw new TypeError("unable to deserialize "+t)}return new TM[t](e)},Xk=(t,e)=>{let r=(i,n)=>(t.set(n,i),i),a=i=>{if(t.has(i))return t.get(i);let[n,l]=e[i];switch(n){case 0:case-1:return r(l,i);case 1:{let o=r([],i);for(let c of l)o.push(a(c));return o}case 2:{let o=r({},i);for(let[c,h]of l)o[a(c)]=a(h);return o}case 3:return r(new Date(l),i);case 4:{let{source:o,flags:c}=l;return r(new RegExp(o,c),i)}case 5:{let o=r(new Map,i);for(let[c,h]of l)o.set(a(c),a(h));return o}case 6:{let o=r(new Set,i);for(let c of l)o.add(a(c));return o}case 7:{let{name:o,message:c}=l;return r(typeof TM[o]=="function"?kM(o,c):new Error(c),i)}case 8:return r(BigInt(l),i);case"BigInt":return r(Object(BigInt(l)),i);case"ArrayBuffer":return r(new Uint8Array(l).buffer,l);case"DataView":{let{buffer:o}=new Uint8Array(l);return r(new DataView(o),l)}}return r(kM(n,l),i)};return a},Id=t=>Xk(new Map,t)(0);var t0="",{toString:Zk}={},{keys:Jk}=Object,bi=t=>{let e=typeof t;if(e!=="object"||!t)return[0,e];let r=Zk.call(t).slice(8,-1);switch(r){case"Array":return[1,t0];case"Object":return[2,t0];case"Date":return[3,t0];case"RegExp":return[4,t0];case"Map":return[5,t0];case"Set":return[6,t0];case"DataView":return[1,r]}return r.includes("Array")?[1,r]:t instanceof Error?[7,t.name||"Error"]:[2,r]},_o=([t,e])=>t===0&&(e==="function"||e==="symbol"),tO=(t,e,r,a)=>{let i=(l,o)=>{let c=a.push(l)-1;return r.set(o,c),c},n=l=>{if(r.has(l))return r.get(l);let[o,c]=bi(l);switch(o){case 0:{let d=l;switch(c){case"bigint":o=8,d=l.toString();break;case"function":case"symbol":if(t)throw new TypeError("unable to serialize "+c);d=null;break;case"undefined":return i([-1],l)}return i([o,d],l)}case 1:{if(c){let v=l;return c==="DataView"?v=new Uint8Array(l.buffer):c==="ArrayBuffer"&&(v=new Uint8Array(l)),i([c,[...v]],l)}let d=[],s=i([o,d],l);for(let v of l)d.push(n(v));return s}case 2:{if(c)switch(c){case"BigInt":return i([c,l.toString()],l);case"Boolean":case"Number":case"String":return i([c,l.valueOf()],l)}if(e&&"toJSON"in l)return n(l.toJSON());let d=[],s=i([o,d],l);for(let v of Jk(l))(t||!_o(bi(l[v])))&&d.push([n(v),n(l[v])]);return s}case 3:return i([o,isNaN(l.getTime())?t0:l.toISOString()],l);case 4:{let{source:d,flags:s}=l;return i([o,{source:d,flags:s}],l)}case 5:{let d=[],s=i([o,d],l);for(let[v,p]of l)(t||!(_o(bi(v))||_o(bi(p))))&&d.push([n(v),n(p)]);return s}case 6:{let d=[],s=i([o,d],l);for(let v of l)(t||!_o(bi(v)))&&d.push(n(v));return s}}let{message:h}=l;return i([o,{name:c,message:h}],l)};return n},Nd=(t,{json:e,lossy:r}={})=>{let a=[];return tO(!(e||r),!!e,new Map,a)(t),a};var Na=typeof structuredClone=="function"?(t,e)=>e&&("json"in e||"lossy"in e)?Id(Nd(t,e)):structuredClone(t):(t,e)=>Id(Nd(t,e));function eO(t,e){let r=[{type:"text",value:"\u21A9"}];return e>1&&r.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(e)}]}),r}function rO(t,e){return"Back to reference "+(t+1)+(e>1?"-"+e:"")}function RM(t){let e=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",r=t.options.footnoteBackContent||eO,a=t.options.footnoteBackLabel||rO,i=t.options.footnoteLabel||"Footnotes",n=t.options.footnoteLabelTagName||"h2",l=t.options.footnoteLabelProperties||{className:["sr-only"]},o=[],c=-1;for(;++c<t.footnoteOrder.length;){let h=t.footnoteById.get(t.footnoteOrder[c]);if(!h)continue;let d=t.all(h),s=String(h.identifier).toUpperCase(),v=_2(s.toLowerCase()),p=0,g=[],f=t.footnoteCounts.get(s);for(;f!==void 0&&++p<=f;){g.length>0&&g.push({type:"text",value:" "});let m=typeof r=="string"?r:r(c,p);typeof m=="string"&&(m={type:"text",value:m}),g.push({type:"element",tagName:"a",properties:{href:"#"+e+"fnref-"+v+(p>1?"-"+p:""),dataFootnoteBackref:"",ariaLabel:typeof a=="string"?a:a(c,p),className:["data-footnote-backref"]},children:Array.isArray(m)?m:[m]})}let V=d[d.length-1];if(V&&V.type==="element"&&V.tagName==="p"){let m=V.children[V.children.length-1];m&&m.type==="text"?m.value+=" ":V.children.push({type:"text",value:" "}),V.children.push(...g)}else d.push(...g);let u={type:"element",tagName:"li",properties:{id:e+"fn-"+v},children:t.wrap(d,!0)};t.patch(h,u),o.push(u)}if(o.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:n,properties:{...Na(l),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:`
|
|
20
|
+
`},{type:"element",tagName:"ol",properties:{},children:t.wrap(o,!0)},{type:"text",value:`
|
|
21
|
+
`}]}}var ne=(function(t){if(t==null)return lO;if(typeof t=="function")return Eo(t);if(typeof t=="object")return Array.isArray(t)?aO(t):iO(t);if(typeof t=="string")return nO(t);throw new Error("Expected function, string, or object as test")});function aO(t){let e=[],r=-1;for(;++r<t.length;)e[r]=ne(t[r]);return Eo(a);function a(...i){let n=-1;for(;++n<e.length;)if(e[n].apply(this,i))return!0;return!1}}function iO(t){let e=t;return Eo(r);function r(a){let i=a,n;for(n in t)if(i[n]!==e[n])return!1;return!0}}function nO(t){return Eo(e);function e(r){return r&&r.type===t}}function Eo(t){return e;function e(r,a,i){return!!(oO(r)&&t.call(this,r,typeof a=="number"?a:void 0,i||void 0))}}function lO(){return!0}function oO(t){return t!==null&&typeof t=="object"&&"type"in t}var PM=[],To=!0,e0=!1,Ro="skip";function yi(t,e,r,a){let i;typeof e=="function"&&typeof r!="function"?(a=r,r=e):i=e;let n=ne(i),l=a?-1:1;o(t,void 0,[])();function o(c,h,d){let s=c&&typeof c=="object"?c:{};if(typeof s.type=="string"){let p=typeof s.tagName=="string"?s.tagName:typeof s.name=="string"?s.name:void 0;Object.defineProperty(v,"name",{value:"node ("+(c.type+(p?"<"+p+">":""))+")"})}return v;function v(){let p=PM,g,f,V;if((!e||n(c,h,d[d.length-1]||void 0))&&(p=cO(r(c,d)),p[0]===e0))return p;if("children"in c&&c.children){let u=c;if(u.children&&p[0]!==Ro)for(f=(a?u.children.length:-1)+l,V=d.concat(u);f>-1&&f<u.children.length;){let m=u.children[f];if(g=o(m,f,V)(),g[0]===e0)return g;f=typeof g[1]=="number"?g[1]:f+l}}return p}}}function cO(t){return Array.isArray(t)?t:typeof t=="number"?[To,t]:t==null?PM:[t]}function Le(t,e,r,a){let i,n,l;typeof e=="function"&&typeof r!="function"?(n=void 0,l=e,i=r):(n=e,l=r,i=a),yi(t,n,o,i);function o(c,h){let d=h[h.length-1],s=d?d.children.indexOf(c):void 0;return l(c,s,d)}}var Dd={}.hasOwnProperty,hO={};function NM(t,e){let r=e||hO,a=new Map,i=new Map,n=new Map,l={...BM,...r.handlers},o={all:h,applyData:sO,definitionById:a,footnoteById:i,footnoteCounts:n,footnoteOrder:[],handlers:l,one:c,options:r,patch:dO,wrap:pO};return Le(t,function(d){if(d.type==="definition"||d.type==="footnoteDefinition"){let s=d.type==="definition"?a:i,v=String(d.identifier).toUpperCase();s.has(v)||s.set(v,d)}}),o;function c(d,s){let v=d.type,p=o.handlers[v];if(Dd.call(o.handlers,v)&&p)return p(o,d,s);if(o.options.passThrough&&o.options.passThrough.includes(v)){if("children"in d){let{children:f,...V}=d,u=Na(V);return u.children=o.all(d),u}return Na(d)}return(o.options.unknownHandler||vO)(o,d,s)}function h(d){let s=[];if("children"in d){let v=d.children,p=-1;for(;++p<v.length;){let g=o.one(v[p],d);if(g){if(p&&v[p-1].type==="break"&&(!Array.isArray(g)&&g.type==="text"&&(g.value=IM(g.value)),!Array.isArray(g)&&g.type==="element")){let f=g.children[0];f&&f.type==="text"&&(f.value=IM(f.value))}Array.isArray(g)?s.push(...g):s.push(g)}}}return s}}function dO(t,e){t.position&&(e.position=ud(t))}function sO(t,e){let r=e;if(t&&t.data){let a=t.data.hName,i=t.data.hChildren,n=t.data.hProperties;if(typeof a=="string")if(r.type==="element")r.tagName=a;else{let l="children"in r?r.children:[r];r={type:"element",tagName:a,properties:{},children:l}}r.type==="element"&&n&&Object.assign(r.properties,Na(n)),"children"in r&&r.children&&i!==null&&i!==void 0&&(r.children=i)}return r}function vO(t,e){let r=e.data||{},a="value"in e&&!(Dd.call(r,"hProperties")||Dd.call(r,"hChildren"))?{type:"text",value:e.value}:{type:"element",tagName:"div",properties:{},children:t.all(e)};return t.patch(e,a),t.applyData(e,a)}function pO(t,e){let r=[],a=-1;for(e&&r.push({type:"text",value:`
|
|
22
|
+
`});++a<t.length;)a&&r.push({type:"text",value:`
|
|
23
|
+
`}),r.push(t[a]);return e&&t.length>0&&r.push({type:"text",value:`
|
|
24
|
+
`}),r}function IM(t){let e=0,r=t.charCodeAt(e);for(;r===9||r===32;)e++,r=t.charCodeAt(e);return t.slice(e)}function Po(t,e){let r=NM(t,e),a=r.one(t,void 0),i=RM(r),n=Array.isArray(a)?{type:"root",children:a}:a||{type:"root",children:[]};return i&&("children"in n,n.children.push({type:"text",value:`
|
|
25
|
+
`},i)),n}function Io(t,e){return t&&"run"in t?async function(r,a){let i=Po(r,{file:a,...e});await t.run(i,a)}:function(r,a){return Po(r,{file:a,...t||e})}}function Fd(t){if(t)throw t}var Fo=P(qM(),1);function Li(t){if(typeof t!="object"||t===null)return!1;let e=Object.getPrototypeOf(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function Wd(){let t=[],e={run:r,use:a};return e;function r(...i){let n=-1,l=i.pop();if(typeof l!="function")throw new TypeError("Expected function as last argument, not "+l);o(null,...i);function o(c,...h){let d=t[++n],s=-1;if(c){l(c);return}for(;++s<i.length;)(h[s]===null||h[s]===void 0)&&(h[s]=i[s]);i=h,d?YM(d,o)(...h):l(null,...h)}}function a(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return t.push(i),e}}function YM(t,e){let r;return a;function a(...l){let o=t.length>l.length,c;o&&l.push(i);try{c=t.apply(this,l)}catch(h){let d=h;if(o&&r)throw d;return i(d)}o||(c&&c.then&&typeof c.then=="function"?c.then(n,i):c instanceof Error?i(c):n(c))}function i(l,...o){r||(r=!0,e(l,...o))}function n(l){i(null,l)}}var G2={basename:uO,dirname:gO,extname:mO,join:fO,sep:"/"};function uO(t,e){if(e!==void 0&&typeof e!="string")throw new TypeError('"ext" argument must be a string');Ci(t);let r=0,a=-1,i=t.length,n;if(e===void 0||e.length===0||e.length>t.length){for(;i--;)if(t.codePointAt(i)===47){if(n){r=i+1;break}}else a<0&&(n=!0,a=i+1);return a<0?"":t.slice(r,a)}if(e===t)return"";let l=-1,o=e.length-1;for(;i--;)if(t.codePointAt(i)===47){if(n){r=i+1;break}}else l<0&&(n=!0,l=i+1),o>-1&&(t.codePointAt(i)===e.codePointAt(o--)?o<0&&(a=i):(o=-1,a=l));return r===a?a=l:a<0&&(a=t.length),t.slice(r,a)}function gO(t){if(Ci(t),t.length===0)return".";let e=-1,r=t.length,a;for(;--r;)if(t.codePointAt(r)===47){if(a){e=r;break}}else a||(a=!0);return e<0?t.codePointAt(0)===47?"/":".":e===1&&t.codePointAt(0)===47?"//":t.slice(0,e)}function mO(t){Ci(t);let e=t.length,r=-1,a=0,i=-1,n=0,l;for(;e--;){let o=t.codePointAt(e);if(o===47){if(l){a=e+1;break}continue}r<0&&(l=!0,r=e+1),o===46?i<0?i=e:n!==1&&(n=1):i>-1&&(n=-1)}return i<0||r<0||n===0||n===1&&i===r-1&&i===a+1?"":t.slice(i,r)}function fO(...t){let e=-1,r;for(;++e<t.length;)Ci(t[e]),t[e]&&(r=r===void 0?t[e]:r+"/"+t[e]);return r===void 0?".":zO(r)}function zO(t){Ci(t);let e=t.codePointAt(0)===47,r=MO(t,!e);return r.length===0&&!e&&(r="."),r.length>0&&t.codePointAt(t.length-1)===47&&(r+="/"),e?"/"+r:r}function MO(t,e){let r="",a=0,i=-1,n=0,l=-1,o,c;for(;++l<=t.length;){if(l<t.length)o=t.codePointAt(l);else{if(o===47)break;o=47}if(o===47){if(!(i===l-1||n===1))if(i!==l-1&&n===2){if(r.length<2||a!==2||r.codePointAt(r.length-1)!==46||r.codePointAt(r.length-2)!==46){if(r.length>2){if(c=r.lastIndexOf("/"),c!==r.length-1){c<0?(r="",a=0):(r=r.slice(0,c),a=r.length-1-r.lastIndexOf("/")),i=l,n=0;continue}}else if(r.length>0){r="",a=0,i=l,n=0;continue}}e&&(r=r.length>0?r+"/..":"..",a=2)}else r.length>0?r+="/"+t.slice(i+1,l):r=t.slice(i+1,l),a=l-i-1;i=l,n=0}else o===46&&n>-1?n++:n=-1}return r}function Ci(t){if(typeof t!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}var QM={cwd:xO};function xO(){return"/"}function Da(t){return!!(t!==null&&typeof t=="object"&&"href"in t&&t.href&&"protocol"in t&&t.protocol&&t.auth===void 0)}function XM(t){if(typeof t=="string")t=new URL(t);else if(!Da(t)){let e=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+t+"`");throw e.code="ERR_INVALID_ARG_TYPE",e}if(t.protocol!=="file:"){let e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return HO(t)}function HO(t){if(t.hostname!==""){let a=new TypeError('File URL host must be "localhost" or empty on darwin');throw a.code="ERR_INVALID_FILE_URL_HOST",a}let e=t.pathname,r=-1;for(;++r<e.length;)if(e.codePointAt(r)===37&&e.codePointAt(r+1)===50){let a=e.codePointAt(r+2);if(a===70||a===102){let i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(e)}var Ud=["history","path","basename","stem","extname","dirname"],r0=class{constructor(e){let r;e?Da(e)?r={path:e}:typeof e=="string"||VO(e)?r={value:e}:r=e:r={},this.cwd="cwd"in r?"":QM.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let a=-1;for(;++a<Ud.length;){let n=Ud[a];n in r&&r[n]!==void 0&&r[n]!==null&&(this[n]=n==="history"?[...r[n]]:r[n])}let i;for(i in r)Ud.includes(i)||(this[i]=r[i])}get basename(){return typeof this.path=="string"?G2.basename(this.path):void 0}set basename(e){$d(e,"basename"),Gd(e,"basename"),this.path=G2.join(this.dirname||"",e)}get dirname(){return typeof this.path=="string"?G2.dirname(this.path):void 0}set dirname(e){ZM(this.basename,"dirname"),this.path=G2.join(e||"",this.basename)}get extname(){return typeof this.path=="string"?G2.extname(this.path):void 0}set extname(e){if(Gd(e,"extname"),ZM(this.dirname,"extname"),e){if(e.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=G2.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){Da(e)&&(e=XM(e)),$d(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return typeof this.path=="string"?G2.basename(this.path,this.extname):void 0}set stem(e){$d(e,"stem"),Gd(e,"stem"),this.path=G2.join(this.dirname||"",e+(this.extname||""))}fail(e,r,a){let i=this.message(e,r,a);throw i.fatal=!0,i}info(e,r,a){let i=this.message(e,r,a);return i.fatal=void 0,i}message(e,r,a){let i=new rt(e,r,a);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(e){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(e||void 0).decode(this.value)}};function Gd(t,e){if(t&&t.includes(G2.sep))throw new Error("`"+e+"` cannot be a path: did not expect `"+G2.sep+"`")}function $d(t,e){if(!t)throw new Error("`"+e+"` cannot be empty")}function ZM(t,e){if(!t)throw new Error("Setting `"+e+"` requires `path` to be set too")}function VO(t){return!!(t&&typeof t=="object"&&"byteLength"in t&&"byteOffset"in t)}var JM=(function(t){let a=this.constructor.prototype,i=a[t],n=function(){return i.apply(n,arguments)};return Object.setPrototypeOf(n,a),n});var wO={}.hasOwnProperty,Yd=class t extends JM{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=Wd()}copy(){let e=new t,r=-1;for(;++r<this.attachers.length;){let a=this.attachers[r];e.use(...a)}return e.data((0,Fo.default)(!0,{},this.namespace)),e}data(e,r){return typeof e=="string"?arguments.length===2?(qd("data",this.frozen),this.namespace[e]=r,this):wO.call(this.namespace,e)&&this.namespace[e]||void 0:e?(qd("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;let e=this;for(;++this.freezeIndex<this.attachers.length;){let[r,...a]=this.attachers[this.freezeIndex];if(a[0]===!1)continue;a[0]===!0&&(a[0]=void 0);let i=r.call(e,...a);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(e){this.freeze();let r=Do(e),a=this.parser||this.Parser;return jd("parse",a),a(String(r),r)}process(e,r){let a=this;return this.freeze(),jd("process",this.parser||this.Parser),Kd("process",this.compiler||this.Compiler),r?i(void 0,r):new Promise(i);function i(n,l){let o=Do(e),c=a.parse(o);a.run(c,o,function(d,s,v){if(d||!s||!v)return h(d);let p=s,g=a.stringify(p,v);yO(g)?v.value=g:v.result=g,h(d,v)});function h(d,s){d||!s?l(d):n?n(s):r(void 0,s)}}}processSync(e){let r=!1,a;return this.freeze(),jd("processSync",this.parser||this.Parser),Kd("processSync",this.compiler||this.Compiler),this.process(e,i),ex("processSync","process",r),a;function i(n,l){r=!0,Fd(n),a=l}}run(e,r,a){tx(e),this.freeze();let i=this.transformers;return!a&&typeof r=="function"&&(a=r,r=void 0),a?n(void 0,a):new Promise(n);function n(l,o){let c=Do(r);i.run(e,c,h);function h(d,s,v){let p=s||e;d?o(d):l?l(p):a(void 0,p,v)}}}runSync(e,r){let a=!1,i;return this.run(e,r,n),ex("runSync","run",a),i;function n(l,o){Fd(l),i=o,a=!0}}stringify(e,r){this.freeze();let a=Do(r),i=this.compiler||this.Compiler;return Kd("stringify",i),tx(e),i(e,a)}use(e,...r){let a=this.attachers,i=this.namespace;if(qd("use",this.frozen),e!=null)if(typeof e=="function")c(e,r);else if(typeof e=="object")Array.isArray(e)?o(e):l(e);else throw new TypeError("Expected usable value, not `"+e+"`");return this;function n(h){if(typeof h=="function")c(h,[]);else if(typeof h=="object")if(Array.isArray(h)){let[d,...s]=h;c(d,s)}else l(h);else throw new TypeError("Expected usable value, not `"+h+"`")}function l(h){if(!("plugins"in h)&&!("settings"in h))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");o(h.plugins),h.settings&&(i.settings=(0,Fo.default)(!0,i.settings,h.settings))}function o(h){let d=-1;if(h!=null)if(Array.isArray(h))for(;++d<h.length;){let s=h[d];n(s)}else throw new TypeError("Expected a list of plugins, not `"+h+"`")}function c(h,d){let s=-1,v=-1;for(;++s<a.length;)if(a[s][0]===h){v=s;break}if(v===-1)a.push([h,...d]);else if(d.length>0){let[p,...g]=d,f=a[v][1];Li(f)&&Li(p)&&(p=(0,Fo.default)(!0,f,p)),a[v]=[h,p,...g]}}}},Qd=new Yd().freeze();function jd(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `parser`")}function Kd(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `compiler`")}function qd(t,e){if(e)throw new Error("Cannot call `"+t+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function tx(t){if(!Li(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function ex(t,e,r){if(!r)throw new Error("`"+t+"` finished async. Use `"+e+"` instead")}function Do(t){return bO(t)?t:new r0(t)}function bO(t){return!!(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function yO(t){return typeof t=="string"||LO(t)}function LO(t){return!!(t&&typeof t=="object"&&"byteLength"in t&&"byteOffset"in t)}var CO="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",rx=[],ax={allowDangerousHtml:!0},SO=/^(https?|ircs?|mailto|xmpp)$/i,BO=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function Xd(t){let e=kO(t),r=OO(t);return AO(e.runSync(e.parse(r),r),t)}function kO(t){let e=t.rehypePlugins||rx,r=t.remarkPlugins||rx,a=t.remarkRehypeOptions?{...t.remarkRehypeOptions,...ax}:ax;return Qd().use(Bo).use(r).use(Io,a).use(e)}function OO(t){let e=t.children||"",r=new r0;return typeof e=="string"?r.value=e:(""+e,void 0),r}function AO(t,e){let r=e.allowedElements,a=e.allowElement,i=e.components,n=e.disallowedElements,l=e.skipHtml,o=e.unwrapDisallowed,c=e.urlTransform||nx;for(let d of BO)Object.hasOwn(e,d.from)&&(""+d.from+(d.to?"use `"+d.to+"` instead":"remove it")+CO+d.id,void 0);return r&&n&&void 0,Le(t,h),fd(t,{Fragment:Fa.Fragment,components:i,ignoreInvalidStyle:!0,jsx:Fa.jsx,jsxs:Fa.jsxs,passKeys:!0,passNode:!0});function h(d,s,v){if(d.type==="raw"&&v&&typeof s=="number")return l?v.children.splice(s,1):v.children[s]={type:"text",value:d.value},s;if(d.type==="element"){let p;for(p in zi)if(Object.hasOwn(zi,p)&&Object.hasOwn(d.properties,p)){let g=d.properties[p],f=zi[p];(f===null||f.includes(d.tagName))&&(d.properties[p]=c(String(g||""),p,d))}}if(d.type==="element"){let p=r?!r.includes(d.tagName):n?n.includes(d.tagName):!1;if(!p&&a&&typeof s=="number"&&(p=!a(d,s,v)),p&&v&&typeof s=="number")return o&&d.children?v.children.splice(s,1,...d.children):v.children.splice(s,1),s}}}function nx(t){let e=t.indexOf(":"),r=t.indexOf("?"),a=t.indexOf("#"),i=t.indexOf("/");return e===-1||i!==-1&&e>i||r!==-1&&e>r||a!==-1&&e>a||SO.test(t.slice(0,e))?t:""}var Wo=(function(t,e,r){let a=ne(r);if(!t||!t.type||!t.children)throw new Error("Expected parent node");if(typeof e=="number"){if(e<0||e===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(e=t.children.indexOf(e),e<0)throw new Error("Expected child node or index");for(;++e<t.children.length;)if(a(t.children[e],e,t))return t.children[e]});var Ce=(function(t){if(t==null)return TO;if(typeof t=="string")return EO(t);if(typeof t=="object")return _O(t);if(typeof t=="function")return Zd(t);throw new Error("Expected function, string, or array as `test`")});function _O(t){let e=[],r=-1;for(;++r<t.length;)e[r]=Ce(t[r]);return Zd(a);function a(...i){let n=-1;for(;++n<e.length;)if(e[n].apply(this,i))return!0;return!1}}function EO(t){return Zd(e);function e(r){return r.tagName===t}}function Zd(t){return e;function e(r,a,i){return!!(RO(r)&&t.call(this,r,typeof a=="number"?a:void 0,i||void 0))}}function TO(t){return!!(t&&typeof t=="object"&&"type"in t&&t.type==="element"&&"tagName"in t&&typeof t.tagName=="string")}function RO(t){return t!==null&&typeof t=="object"&&"type"in t&&"tagName"in t}var lx=/\n/g,ox=/[\t ]+/g,Jd=Ce("br"),cx=Ce(UO),PO=Ce("p"),hx=Ce("tr"),IO=Ce(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",WO,GO]),dx=Ce(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","li","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function t9(t,e){let r=e||{},a="children"in t?t.children:[],i=dx(t),n=px(t,{whitespace:r.whitespace||"normal",breakBefore:!1,breakAfter:!1}),l=[];(t.type==="text"||t.type==="comment")&&l.push(...vx(t,{whitespace:n,breakBefore:!0,breakAfter:!0}));let o=-1;for(;++o<a.length;)l.push(...sx(a[o],t,{whitespace:n,breakBefore:o?void 0:i,breakAfter:o<a.length-1?Jd(a[o+1]):i}));let c=[],h;for(o=-1;++o<l.length;){let d=l[o];typeof d=="number"?h!==void 0&&d>h&&(h=d):d&&(h!==void 0&&h>-1&&c.push(`
|
|
26
|
+
`.repeat(h)||" "),h=-1,c.push(d))}return c.join("")}function sx(t,e,r){return t.type==="element"?NO(t,e,r):t.type==="text"?r.whitespace==="normal"?vx(t,r):DO(t):[]}function NO(t,e,r){let a=px(t,r),i=t.children||[],n=-1,l=[];if(IO(t))return l;let o,c;for(Jd(t)||hx(t)&&Wo(e,t,hx)?c=`
|
|
27
|
+
`:PO(t)?(o=2,c=2):dx(t)&&(o=1,c=1);++n<i.length;)l=l.concat(sx(i[n],t,{whitespace:a,breakBefore:n?void 0:o,breakAfter:n<i.length-1?Jd(i[n+1]):c}));return cx(t)&&Wo(e,t,cx)&&l.push(" "),o&&l.unshift(o),c&&l.push(c),l}function vx(t,e){let r=String(t.value),a=[],i=[],n=0;for(;n<=r.length;){lx.lastIndex=n;let c=lx.exec(r),h=c&&"index"in c?c.index:r.length;a.push(FO(r.slice(n,h).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),n===0?e.breakBefore:!0,h===r.length?e.breakAfter:!0)),n=h+1}let l=-1,o;for(;++l<a.length;)a[l].charCodeAt(a[l].length-1)===8203||l<a.length-1&&a[l+1].charCodeAt(0)===8203?(i.push(a[l]),o=void 0):a[l]?(typeof o=="number"&&i.push(o),i.push(a[l]),o=0):(l===0||l===a.length-1)&&i.push(0);return i}function DO(t){return[String(t.value)]}function FO(t,e,r){let a=[],i=0,n;for(;i<t.length;){ox.lastIndex=i;let l=ox.exec(t);n=l?l.index:t.length,!i&&!n&&l&&!e&&a.push(""),i!==n&&a.push(t.slice(i,n)),i=l?n+l[0].length:n}return i!==n&&!r&&a.push(""),a.join(" ")}function px(t,e){if(t.type==="element"){let r=t.properties||{};switch(t.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return r.wrap?"pre-wrap":"pre";case"td":case"th":return r.noWrap?"nowrap":e.whitespace;case"textarea":return"pre-wrap";default:}}return e.whitespace}function WO(t){return!!(t.properties||{}).hidden}function UO(t){return t.tagName==="td"||t.tagName==="th"}function GO(t){return t.tagName==="dialog"&&!(t.properties||{}).open}function $O(t){let e=t.regex,r=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),a="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",l="(?!struct)("+a+"|"+e.optional(i)+"[a-zA-Z_]\\w*"+e.optional("<[^<>]+>")+")",o={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},h={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},t.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},d={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},s={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(h,{className:"string"}),{className:"string",begin:/<.*?>/},r,t.C_BLOCK_COMMENT_MODE]},v={className:"title",begin:e.optional(i)+t.IDENT_RE,relevance:0},p=e.optional(i)+t.IDENT_RE+"\\s*\\(",g=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],f=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],V=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","flat_map","flat_set","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],u=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],y={type:f,keyword:g,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:V},b={className:"function.dispatch",relevance:0,keywords:{_hint:u},begin:e.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,t.IDENT_RE,e.lookahead(/(<[^<>]+>|)\s*\(/))},x=[b,s,o,r,t.C_BLOCK_COMMENT_MODE,d,h],S={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:y,contains:x.concat([{begin:/\(/,end:/\)/,keywords:y,contains:x.concat(["self"]),relevance:0}]),relevance:0},C={className:"function",begin:"("+l+"[\\*&\\s]+)+"+p,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:y,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:a,keywords:y,relevance:0},{begin:p,returnBegin:!0,contains:[v],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[h,d]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:y,relevance:0,contains:[r,t.C_BLOCK_COMMENT_MODE,h,d,o,{begin:/\(/,end:/\)/,keywords:y,relevance:0,contains:["self",r,t.C_BLOCK_COMMENT_MODE,h,d,o]}]},o,r,t.C_BLOCK_COMMENT_MODE,s]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:y,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(S,C,b,x,[s,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)",end:">",keywords:y,contains:["self",o]},{begin:t.IDENT_RE+"::",keywords:y},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function ux(t){let e={type:["boolean","byte","word","String"],built_in:["KeyboardController","MouseController","SoftwareSerial","EthernetServer","EthernetClient","LiquidCrystal","RobotControl","GSMVoiceCall","EthernetUDP","EsploraTFT","HttpClient","RobotMotor","WiFiClient","GSMScanner","FileSystem","Scheduler","GSMServer","YunClient","YunServer","IPAddress","GSMClient","GSMModem","Keyboard","Ethernet","Console","GSMBand","Esplora","Stepper","Process","WiFiUDP","GSM_SMS","Mailbox","USBHost","Firmata","PImage","Client","Server","GSMPIN","FileIO","Bridge","Serial","EEPROM","Stream","Mouse","Audio","Servo","File","Task","GPRS","WiFi","Wire","TFT","GSM","SPI","SD"],_hints:["setup","loop","runShellCommandAsynchronously","analogWriteResolution","retrieveCallingNumber","printFirmwareVersion","analogReadResolution","sendDigitalPortPair","noListenOnLocalhost","readJoystickButton","setFirmwareVersion","readJoystickSwitch","scrollDisplayRight","getVoiceCallStatus","scrollDisplayLeft","writeMicroseconds","delayMicroseconds","beginTransmission","getSignalStrength","runAsynchronously","getAsynchronously","listenOnLocalhost","getCurrentCarrier","readAccelerometer","messageAvailable","sendDigitalPorts","lineFollowConfig","countryNameWrite","runShellCommand","readStringUntil","rewindDirectory","readTemperature","setClockDivider","readLightSensor","endTransmission","analogReference","detachInterrupt","countryNameRead","attachInterrupt","encryptionType","readBytesUntil","robotNameWrite","readMicrophone","robotNameRead","cityNameWrite","userNameWrite","readJoystickY","readJoystickX","mouseReleased","openNextFile","scanNetworks","noInterrupts","digitalWrite","beginSpeaker","mousePressed","isActionDone","mouseDragged","displayLogos","noAutoscroll","addParameter","remoteNumber","getModifiers","keyboardRead","userNameRead","waitContinue","processInput","parseCommand","printVersion","readNetworks","writeMessage","blinkVersion","cityNameRead","readMessage","setDataMode","parsePacket","isListening","setBitOrder","beginPacket","isDirectory","motorsWrite","drawCompass","digitalRead","clearScreen","serialEvent","rightToLeft","setTextSize","leftToRight","requestFrom","keyReleased","compassRead","analogWrite","interrupts","WiFiServer","disconnect","playMelody","parseFloat","autoscroll","getPINUsed","setPINUsed","setTimeout","sendAnalog","readSlider","analogRead","beginWrite","createChar","motorsStop","keyPressed","tempoWrite","readButton","subnetMask","debugPrint","macAddress","writeGreen","randomSeed","attachGPRS","readString","sendString","remotePort","releaseAll","mouseMoved","background","getXChange","getYChange","answerCall","getResult","voiceCall","endPacket","constrain","getSocket","writeJSON","getButton","available","connected","findUntil","readBytes","exitValue","readGreen","writeBlue","startLoop","IPAddress","isPressed","sendSysex","pauseMode","gatewayIP","setCursor","getOemKey","tuneWrite","noDisplay","loadImage","switchPIN","onRequest","onReceive","changePIN","playFile","noBuffer","parseInt","overflow","checkPIN","knobRead","beginTFT","bitClear","updateIR","bitWrite","position","writeRGB","highByte","writeRed","setSpeed","readBlue","noStroke","remoteIP","transfer","shutdown","hangCall","beginSMS","endWrite","attached","maintain","noCursor","checkReg","checkPUK","shiftOut","isValid","shiftIn","pulseIn","connect","println","localIP","pinMode","getIMEI","display","noBlink","process","getBand","running","beginSD","drawBMP","lowByte","setBand","release","bitRead","prepare","pointTo","readRed","setMode","noFill","remove","listen","stroke","detach","attach","noTone","exists","buffer","height","bitSet","circle","config","cursor","random","IRread","setDNS","endSMS","getKey","micros","millis","begin","print","write","ready","flush","width","isPIN","blink","clear","press","mkdir","rmdir","close","point","yield","image","BSSID","click","delay","read","text","move","peek","beep","rect","line","open","seek","fill","size","turn","stop","home","find","step","tone","sqrt","RSSI","SSID","end","bit","tan","cos","sin","pow","map","abs","max","min","get","run","put"],literal:["DIGITAL_MESSAGE","FIRMATA_STRING","ANALOG_MESSAGE","REPORT_DIGITAL","REPORT_ANALOG","INPUT_PULLUP","SET_PIN_MODE","INTERNAL2V56","SYSTEM_RESET","LED_BUILTIN","INTERNAL1V1","SYSEX_START","INTERNAL","EXTERNAL","DEFAULT","OUTPUT","INPUT","HIGH","LOW"]},r=$O(t),a=r.keywords;return a.type=[...a.type,...e.type],a.literal=[...a.literal,...e.literal],a.built_in=[...a.built_in,...e.built_in],a._hints=e._hints,r.name="Arduino",r.aliases=["ino"],r.supersetOf="cpp",r}function gx(t){let e=t.regex,r={},a={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[r]}]};Object.assign(r,{className:"variable",variants:[{begin:e.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},a]});let i={className:"subst",begin:/\$\(/,end:/\)/,contains:[t.BACKSLASH_ESCAPE]},n=t.inherit(t.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:"comment"}}),l={begin:/<<-?\s*(?=\w+)/,starts:{contains:[t.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},o={className:"string",begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,r,i]};i.contains.push(o);let c={match:/\\"/},h={className:"string",begin:/'/,end:/'/},d={match:/\\'/},s={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},t.NUMBER_MODE,r]},v=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],p=t.SHEBANG({binary:`(${v.join("|")})`,relevance:10}),g={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[t.inherit(t.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},f=["if","then","else","elif","fi","time","for","while","until","in","do","done","case","esac","coproc","function","select"],V=["true","false"],u={match:/(\/[a-z._-]+)+/},m=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],z=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","sudo","type","typeset","ulimit","unalias"],y=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],b=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:f,literal:V,built_in:[...m,...z,"set","shopt",...y,...b]},contains:[p,t.SHEBANG(),g,s,n,l,u,o,c,h,d,r]}}function mx(t){let e=t.regex,r=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),a="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",l="("+a+"|"+e.optional(i)+"[a-zA-Z_]\\w*"+e.optional("<[^<>]+>")+")",o={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},h={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},t.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},d={className:"number",variants:[{match:/\b(0b[01']+)/},{match:/(-?)\b([\d']+(\.[\d']*)?|\.[\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)/},{match:/(-?)\b(0[xX][a-fA-F0-9]+(?:'[a-fA-F0-9]+)*(?:\.[a-fA-F0-9]*(?:'[a-fA-F0-9]*)*)?(?:[pP][-+]?[0-9]+)?(l|L)?(u|U)?)/},{match:/(-?)\b\d+(?:'\d+)*(?:\.\d*(?:'\d*)*)?(?:[eE][-+]?\d+)?/}],relevance:0},s={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef elifdef elifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(h,{className:"string"}),{className:"string",begin:/<.*?>/},r,t.C_BLOCK_COMMENT_MODE]},v={className:"title",begin:e.optional(i)+t.IDENT_RE,relevance:0},p=e.optional(i)+t.IDENT_RE+"\\s*\\(",V={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","typeof","typeof_unqual","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_BitInt","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal96","_Decimal128","_Decimal64x","_Decimal128x","_Float16","_Float32","_Float64","_Float128","_Float32x","_Float64x","_Float128x","const","static","constexpr","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},u=[s,o,r,t.C_BLOCK_COMMENT_MODE,d,h],m={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:V,contains:u.concat([{begin:/\(/,end:/\)/,keywords:V,contains:u.concat(["self"]),relevance:0}]),relevance:0},z={begin:"("+l+"[\\*&\\s]+)+"+p,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:V,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:a,keywords:V,relevance:0},{begin:p,returnBegin:!0,contains:[t.inherit(v,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:V,relevance:0,contains:[r,t.C_BLOCK_COMMENT_MODE,h,d,o,{begin:/\(/,end:/\)/,keywords:V,relevance:0,contains:["self",r,t.C_BLOCK_COMMENT_MODE,h,d,o]}]},o,r,t.C_BLOCK_COMMENT_MODE,s]};return{name:"C",aliases:["h"],keywords:V,disableAutodetect:!0,illegal:"</",contains:[].concat(m,z,u,[s,{begin:t.IDENT_RE+"::",keywords:V},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},t.TITLE_MODE]}]),exports:{preprocessor:s,strings:h,keywords:V}}}function fx(t){let e=t.regex,r=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),a="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",l="(?!struct)("+a+"|"+e.optional(i)+"[a-zA-Z_]\\w*"+e.optional("<[^<>]+>")+")",o={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},h={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},t.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},d={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},s={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(h,{className:"string"}),{className:"string",begin:/<.*?>/},r,t.C_BLOCK_COMMENT_MODE]},v={className:"title",begin:e.optional(i)+t.IDENT_RE,relevance:0},p=e.optional(i)+t.IDENT_RE+"\\s*\\(",g=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],f=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],V=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","flat_map","flat_set","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],u=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],y={type:f,keyword:g,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:V},b={className:"function.dispatch",relevance:0,keywords:{_hint:u},begin:e.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,t.IDENT_RE,e.lookahead(/(<[^<>]+>|)\s*\(/))},x=[b,s,o,r,t.C_BLOCK_COMMENT_MODE,d,h],S={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:y,contains:x.concat([{begin:/\(/,end:/\)/,keywords:y,contains:x.concat(["self"]),relevance:0}]),relevance:0},C={className:"function",begin:"("+l+"[\\*&\\s]+)+"+p,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:y,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:a,keywords:y,relevance:0},{begin:p,returnBegin:!0,contains:[v],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[h,d]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:y,relevance:0,contains:[r,t.C_BLOCK_COMMENT_MODE,h,d,o,{begin:/\(/,end:/\)/,keywords:y,relevance:0,contains:["self",r,t.C_BLOCK_COMMENT_MODE,h,d,o]}]},o,r,t.C_BLOCK_COMMENT_MODE,s]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:y,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(S,C,b,x,[s,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)",end:">",keywords:y,contains:["self",o]},{begin:t.IDENT_RE+"::",keywords:y},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function zx(t){let e=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],r=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],a=["default","false","null","true"],i=["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],n=["add","alias","and","ascending","args","async","await","by","descending","dynamic","equals","file","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","record","remove","required","scoped","select","set","unmanaged","value|0","var","when","where","with","yield"],l={keyword:i.concat(n),built_in:e,literal:a},o=t.inherit(t.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),c={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},h={className:"string",begin:/"""("*)(?!")(.|\n)*?"""\1/,relevance:1},d={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},s=t.inherit(d,{illegal:/\n/}),v={className:"subst",begin:/\{/,end:/\}/,keywords:l},p=t.inherit(v,{illegal:/\n/}),g={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},t.BACKSLASH_ESCAPE,p]},f={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},v]},V=t.inherit(f,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},p]});v.contains=[f,g,d,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,c,t.C_BLOCK_COMMENT_MODE],p.contains=[V,g,s,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,c,t.inherit(t.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];let u={variants:[h,f,g,d,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},m={begin:"<",end:">",contains:[{beginKeywords:"in out"},o]},z=t.IDENT_RE+"(<"+t.IDENT_RE+"(\\s*,\\s*"+t.IDENT_RE+")*>)?(\\[\\])?",y={begin:"@"+t.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:l,illegal:/::/,contains:[t.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"<!--|-->"},{begin:"</?",end:">"}]}]}),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},u,c,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},o,m,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[o,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[o,m,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+z+"\\s+)+"+t.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:l,contains:[{beginKeywords:r.join(" "),relevance:0},{begin:t.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[t.TITLE_MODE,m],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:l,relevance:0,contains:[u,c,t.C_BLOCK_COMMENT_MODE]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},y]}}var jO=t=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:t.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:t.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),KO=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],qO=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],YO=[...KO,...qO],QO=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),XO=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),ZO=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),JO=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function Mx(t){let e=t.regex,r=jO(t),a={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},i="and or not only",n=/@-?\w[\w]*(-\w+)*/,l="[a-zA-Z-][a-zA-Z0-9_-]*",o=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[r.BLOCK_COMMENT,a,r.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+l,relevance:0},r.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+XO.join("|")+")"},{begin:":(:)?("+ZO.join("|")+")"}]},r.CSS_VARIABLE,{className:"attribute",begin:"\\b("+JO.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[r.BLOCK_COMMENT,r.HEXCOLOR,r.IMPORTANT,r.CSS_NUMBER_MODE,...o,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...o,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},r.FUNCTION_DISPATCH]},{begin:e.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:n},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:i,attribute:QO.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...o,r.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+YO.join("|")+")\\b"}]}}function xx(t){let e=t.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:e.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:e.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}function Hx(t){let n={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:n,illegal:"</",contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"string",variants:[t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{match:/-?\b0[xX]\.[a-fA-F0-9](_?[a-fA-F0-9])*[pP][+-]?\d(_?\d)*i?/,relevance:0},{match:/-?\b0[xX](_?[a-fA-F0-9])+((\.([a-fA-F0-9](_?[a-fA-F0-9])*)?)?[pP][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b0[oO](_?[0-7])*i?/,relevance:0},{match:/-?\.\d(_?\d)*([eE][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b\d(_?\d)*(\.(\d(_?\d)*)?)?([eE][+-]?\d(_?\d)*)?i?/,relevance:0}]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[t.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:n,illegal:/["']/}]}]}}function Vx(t){let e=t.regex,r=/[_A-Za-z][_0-9A-Za-z]*/;return{name:"GraphQL",aliases:["gql"],case_insensitive:!0,disableAutodetect:!1,keywords:{keyword:["query","mutation","subscription","type","input","schema","directive","interface","union","scalar","fragment","enum","on"],literal:["true","false","null"]},contains:[t.HASH_COMMENT_MODE,t.QUOTE_STRING_MODE,t.NUMBER_MODE,{scope:"punctuation",match:/[.]{3}/,relevance:0},{scope:"punctuation",begin:/[\!\(\)\:\=\[\]\{\|\}]{1}/,relevance:0},{scope:"variable",begin:/\$/,end:/\W/,excludeEnd:!0,relevance:0},{scope:"meta",match:/@\w+/,excludeEnd:!0},{scope:"symbol",begin:e.concat(r,e.lookahead(/\s*:/)),relevance:0}],illegal:[/[;<']/,/BEGIN/]}}function wx(t){let e=t.regex,r={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:t.NUMBER_RE}]},a=t.COMMENT();a.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];let i={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},n={className:"literal",begin:/\bon|off|true|false|yes|no\b/},l={className:"string",contains:[t.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},o={begin:/\[/,end:/\]/,contains:[a,n,i,l,r,"self"],relevance:0},c=/[A-Za-z0-9_-]+/,h=/"(\\"|[^"])*"/,d=/'[^']*'/,s=e.either(c,h,d),v=e.concat(s,"(\\s*\\.\\s*",s,")*",e.lookahead(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[a,{className:"section",begin:/\[+/,end:/\]+/},{begin:v,className:"attr",starts:{end:/$/,contains:[a,o,n,i,l,r]}}]}}var Wa="[0-9](_*[0-9])*",Uo=`\\.(${Wa})`,Go="[0-9a-fA-F](_*[0-9a-fA-F])*",bx={className:"number",variants:[{begin:`(\\b(${Wa})((${Uo})|\\.)?|(${Uo}))[eE][+-]?(${Wa})[fFdD]?\\b`},{begin:`\\b(${Wa})((${Uo})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${Uo})[fFdD]?\\b`},{begin:`\\b(${Wa})[fFdD]\\b`},{begin:`\\b0[xX]((${Go})\\.?|(${Go})?\\.(${Go}))[pP][+-]?(${Wa})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${Go})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function yx(t,e,r){return r===-1?"":t.replace(e,a=>yx(t,e,r-1))}function Lx(t){let e=t.regex,r="[\xC0-\u02B8a-zA-Z_$][\xC0-\u02B8a-zA-Z_$0-9]*",a=r+yx("(?:<"+r+"~~~(?:\\s*,\\s*"+r+"~~~)*>)?",/~~~/g,2),c={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits","goto","when"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},h={className:"meta",begin:"@"+r,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},d={className:"params",begin:/\(/,end:/\)/,keywords:c,relevance:0,contains:[t.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:c,illegal:/<\/|#/,contains:[t.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[t.BACKSLASH_ESCAPE]},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,r],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[e.concat(/(?!else)/,r),/\s+/,r,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,r],className:{1:"keyword",3:"title.class"},contains:[d,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+a+"\\s+)",t.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:c,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:c,relevance:0,contains:[h,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,bx,t.C_BLOCK_COMMENT_MODE]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},bx,h]}}var Cx="[A-Za-z$_][0-9A-Za-z$_]*",tA=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],eA=["true","false","null","undefined","NaN","Infinity"],Sx=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],Bx=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],kx=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],rA=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],aA=[].concat(kx,Sx,Bx);function Ox(t){let e=t.regex,r=(F,{after:J})=>{let H="</"+F[0].slice(1);return F.input.indexOf(H,J)!==-1},a=Cx,i={begin:"<>",end:"</>"},n=/<[A-Za-z0-9\\._:-]+\s*\/>/,l={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(F,J)=>{let H=F[0].length+F.index,h1=F.input[H];if(h1==="<"||h1===","){J.ignoreMatch();return}h1===">"&&(r(F,{after:H})||J.ignoreMatch());let p1,M=F.input.substring(H);if(p1=M.match(/^\s*=/)){J.ignoreMatch();return}if((p1=M.match(/^\s+extends\s+/))&&p1.index===0){J.ignoreMatch();return}}},o={$pattern:Cx,keyword:tA,literal:eA,built_in:aA,"variable.language":rA},c="[0-9](_?[0-9])*",h=`\\.(${c})`,d="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",s={className:"number",variants:[{begin:`(\\b(${d})((${h})|\\.)?|(${h}))[eE][+-]?(${c})\\b`},{begin:`\\b(${d})\\b((${h})\\b|\\.)?|(${h})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},v={className:"subst",begin:"\\$\\{",end:"\\}",keywords:o,contains:[]},p={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,v],subLanguage:"xml"}},g={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,v],subLanguage:"css"}},f={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,v],subLanguage:"graphql"}},V={className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,v]},m={className:"comment",variants:[t.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:a+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE]},z=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,p,g,f,V,{match:/\$\d+/},s];v.contains=z.concat({begin:/\{/,end:/\}/,keywords:o,contains:["self"].concat(z)});let y=[].concat(m,v.contains),b=y.concat([{begin:/(\s*)\(/,end:/\)/,keywords:o,contains:["self"].concat(y)}]),x={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:b},S={variants:[{match:[/class/,/\s+/,a,/\s+/,/extends/,/\s+/,e.concat(a,"(",e.concat(/\./,a),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,a],scope:{1:"keyword",3:"title.class"}}]},C={relevance:0,match:e.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...Sx,...Bx]}},O={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},w={variants:[{match:[/function/,/\s+/,a,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[x],illegal:/%/},Y={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function W(F){return e.concat("(?!",F.join("|"),")")}let E={match:e.concat(/\b/,W([...kx,"super","import"].map(F=>`${F}\\s*\\(`)),a,e.lookahead(/\s*\(/)),className:"title.function",relevance:0},G={begin:e.concat(/\./,e.lookahead(e.concat(a,/(?![0-9A-Za-z$_(])/))),end:a,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},j={match:[/get|set/,/\s+/,a,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},x]},B="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+t.UNDERSCORE_IDENT_RE+")\\s*=>",R={match:[/const|var|let/,/\s+/,a,/\s*/,/=\s*/,/(async\s*)?/,e.lookahead(B)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[x]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:o,exports:{PARAMS_CONTAINS:b,CLASS_REFERENCE:C},illegal:/#(?![$_A-z])/,contains:[t.SHEBANG({label:"shebang",binary:"node",relevance:5}),O,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,p,g,f,V,m,{match:/\$\d+/},s,C,{scope:"attr",match:a+e.lookahead(":"),relevance:0},R,{begin:"("+t.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[m,t.REGEXP_MODE,{className:"function",begin:B,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:b}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:n},{begin:l.begin,"on:begin":l.isTrulyOpeningTag,end:l.end}],subLanguage:"xml",contains:[{begin:l.begin,end:l.end,skip:!0,contains:["self"]}]}]},w,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+t.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[x,t.inherit(t.TITLE_MODE,{begin:a,className:"title.function"})]},{match:/\.\.\./,relevance:0},G,{match:"\\$"+a,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[x]},E,Y,S,j,{match:/\$[(.]/}]}}function Ax(t){let e={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},r={match:/[{}[\],:]/,className:"punctuation",relevance:0},a=["true","false","null"],i={scope:"literal",beginKeywords:a.join(" ")};return{name:"JSON",aliases:["jsonc"],keywords:{literal:a},contains:[e,r,t.QUOTE_STRING_MODE,i,t.C_NUMBER_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}var Ua="[0-9](_*[0-9])*",$o=`\\.(${Ua})`,jo="[0-9a-fA-F](_*[0-9a-fA-F])*",iA={className:"number",variants:[{begin:`(\\b(${Ua})((${$o})|\\.)?|(${$o}))[eE][+-]?(${Ua})[fFdD]?\\b`},{begin:`\\b(${Ua})((${$o})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${$o})[fFdD]?\\b`},{begin:`\\b(${Ua})[fFdD]\\b`},{begin:`\\b0[xX]((${jo})\\.?|(${jo})?\\.(${jo}))[pP][+-]?(${Ua})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${jo})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function _x(t){let e={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},r={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},a={className:"symbol",begin:t.UNDERSCORE_IDENT_RE+"@"},i={className:"subst",begin:/\$\{/,end:/\}/,contains:[t.C_NUMBER_MODE]},n={className:"variable",begin:"\\$"+t.UNDERSCORE_IDENT_RE},l={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[n,i]},{begin:"'",end:"'",illegal:/\n/,contains:[t.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[t.BACKSLASH_ESCAPE,n,i]}]};i.contains.push(l);let o={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+t.UNDERSCORE_IDENT_RE+")?"},c={className:"meta",begin:"@"+t.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[t.inherit(l,{className:"string"}),"self"]}]},h=iA,d=t.COMMENT("/\\*","\\*/",{contains:[t.C_BLOCK_COMMENT_MODE]}),s={variants:[{className:"type",begin:t.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},v=s;return v.variants[1].contains=[s],s.variants[1].contains=[v],{name:"Kotlin",aliases:["kt","kts"],keywords:e,contains:[t.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),t.C_LINE_COMMENT_MODE,d,r,a,o,c,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:e,relevance:5,contains:[{begin:t.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[t.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:e,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[s,t.C_LINE_COMMENT_MODE,d],relevance:0},t.C_LINE_COMMENT_MODE,d,o,c,l,t.C_NUMBER_MODE]},d]},{begin:[/class|interface|trait/,/\s+/,t.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},t.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},o,c]},l,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:`
|
|
28
|
+
`},h]}}var nA=t=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:t.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:t.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),lA=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],oA=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],cA=[...lA,...oA],hA=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),Ex=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),Tx=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),dA=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse(),sA=Ex.concat(Tx).sort().reverse();function Rx(t){let e=nA(t),r=sA,a="and or not only",i="[\\w-]+",n="("+i+"|@\\{"+i+"\\})",l=[],o=[],c=function(z){return{className:"string",begin:"~?"+z+".*?"+z}},h=function(z,y,b){return{className:z,begin:y,relevance:b}},d={$pattern:/[a-z-]+/,keyword:a,attribute:hA.join(" ")},s={begin:"\\(",end:"\\)",contains:o,keywords:d,relevance:0};o.push(t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,c("'"),c('"'),e.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},e.HEXCOLOR,s,h("variable","@@?"+i,10),h("variable","@\\{"+i+"\\}"),h("built_in","~?`[^`]*?`"),{className:"attribute",begin:i+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},e.IMPORTANT,{beginKeywords:"and not"},e.FUNCTION_DISPATCH);let v=o.concat({begin:/\{/,end:/\}/,contains:l}),p={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(o)},g={begin:n+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},e.CSS_VARIABLE,{className:"attribute",begin:"\\b("+dA.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:o}}]},f={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:d,returnEnd:!0,contains:o,relevance:0}},V={className:"variable",variants:[{begin:"@"+i+"\\s*:",relevance:15},{begin:"@"+i}],starts:{end:"[;}]",returnEnd:!0,contains:v}},u={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:n,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,p,h("keyword","all\\b"),h("variable","@\\{"+i+"\\}"),{begin:"\\b("+cA.join("|")+")\\b",className:"selector-tag"},e.CSS_NUMBER_MODE,h("selector-tag",n,0),h("selector-id","#"+n),h("selector-class","\\."+n,0),h("selector-tag","&",0),e.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+Ex.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+Tx.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:v},{begin:"!important"},e.FUNCTION_DISPATCH]},m={begin:i+`:(:)?(${r.join("|")})`,returnBegin:!0,contains:[u]};return l.push(t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,f,V,m,g,u,p,e.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:l}}function Px(t){let e="\\[=*\\[",r="\\]=*\\]",a={begin:e,end:r,contains:["self"]},i=[t.COMMENT("--(?!"+e+")","$"),t.COMMENT("--"+e,r,{contains:[a],relevance:10})];return{name:"Lua",aliases:["pluto"],keywords:{$pattern:t.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:i.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[t.inherit(t.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:i}].concat(i)},t.C_NUMBER_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{className:"string",begin:e,end:r,contains:[a],relevance:5}])}}function Ix(t){let e={className:"variable",variants:[{begin:"\\$\\("+t.UNDERSCORE_IDENT_RE+"\\)",contains:[t.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},r={className:"string",begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,e]},a={className:"variable",begin:/\$\([\w-]+\s/,end:/\)/,keywords:{built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"},contains:[e,r]},i={begin:"^"+t.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"},n={className:"meta",begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:".PHONY"}},l={className:"section",begin:/^[^\s]+:/,end:/$/,contains:[e]};return{name:"Makefile",aliases:["mk","mak","make"],keywords:{$pattern:/[\w-]+/,keyword:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath"},contains:[t.HASH_COMMENT_MODE,e,r,a,i,n,l]}}function Nx(t){let e=t.regex,r={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},a={begin:"^[-\\*]{3,}",end:"$"},i={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},n={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},l={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},o=/[A-Za-z][A-Za-z0-9+.-]*/,c={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:e.concat(/\[.+?\]\(/,o,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},h={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},d={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},s=t.inherit(h,{contains:[]}),v=t.inherit(d,{contains:[]});h.contains.push(v),d.contains.push(s);let p=[r,c];return[h,d,s,v].forEach(u=>{u.contains=u.contains.concat(p)}),p=p.concat(h,d),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:p},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:p}]}]},r,n,h,d,{className:"quote",begin:"^>\\s+",contains:p,end:"$"},i,a,c,l,{scope:"literal",match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}}function Dx(t){let e={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},r=/[a-zA-Z@][a-zA-Z0-9_]*/,o={"variable.language":["this","super"],$pattern:r,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},c={$pattern:r,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:o,illegal:"</",contains:[e,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.C_NUMBER_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,{className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]}]},{className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(t.QUOTE_STRING_MODE,{className:"string"}),{className:"string",begin:/<.*?>/,end:/$/,illegal:"\\n"},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+c.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:c,contains:[t.UNDERSCORE_TITLE_MODE]},{begin:"\\."+t.UNDERSCORE_IDENT_RE,relevance:0}]}}function Fx(t){let e=t.regex,r=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","class","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","field","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","method","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],a=/[dualxmsipngr]{0,12}/,i={$pattern:/[\w.]+/,keyword:r.join(" ")},n={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:i},l={begin:/->\{/,end:/\}/},o={scope:"attr",match:/\s+:\s*\w+(\s*\(.*?\))?/},c={scope:"variable",variants:[{begin:/\$\d/},{begin:e.concat(/[$%@](?!")(\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@](?!")[^\s\w{=]|\$=/,relevance:0}],contains:[o]},h={className:"number",variants:[{match:/0?\.[0-9][0-9_]+\b/},{match:/\bv?(0|[1-9][0-9_]*(\.[0-9_]+)?|[1-9][0-9_]*)\b/},{match:/\b0[0-7][0-7_]*\b/},{match:/\b0x[0-9a-fA-F][0-9a-fA-F_]*\b/},{match:/\b0b[0-1][0-1_]*\b/}],relevance:0},d=[t.BACKSLASH_ESCAPE,n,c],s=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],v=(f,V,u="\\1")=>{let m=u==="\\1"?u:e.concat(u,V);return e.concat(e.concat("(?:",f,")"),V,/(?:\\.|[^\\\/])*?/,m,/(?:\\.|[^\\\/])*?/,u,a)},p=(f,V,u)=>e.concat(e.concat("(?:",f,")"),V,/(?:\\.|[^\\\/])*?/,u,a),g=[c,t.HASH_COMMENT_MODE,t.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),l,{className:"string",contains:d,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[t.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},h,{begin:"(\\/\\/|"+t.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[t.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:v("s|tr|y",e.either(...s,{capture:!0}))},{begin:v("s|tr|y","\\(","\\)")},{begin:v("s|tr|y","\\[","\\]")},{begin:v("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:p("(?:m|qr)?",/\//,/\//)},{begin:p("m|qr",e.either(...s,{capture:!0}),/\1/)},{begin:p("m|qr",/\(/,/\)/)},{begin:p("m|qr",/\[/,/\]/)},{begin:p("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub method",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[t.TITLE_MODE,o]},{className:"class",beginKeywords:"class",end:"[;{]",excludeEnd:!0,relevance:5,contains:[t.TITLE_MODE,o,h]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return n.contains=g,l.contains=g,{name:"Perl",aliases:["pl","pm"],keywords:i,contains:g}}function Wx(t){let e=t.regex,r=/(?![A-Za-z0-9])(?![$])/,a=e.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,r),i=e.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,r),n=e.concat(/[A-Z]+/,r),l={scope:"variable",match:"\\$+"+a},o={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},c={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},h=t.inherit(t.APOS_STRING_MODE,{illegal:null}),d=t.inherit(t.QUOTE_STRING_MODE,{illegal:null,contains:t.QUOTE_STRING_MODE.contains.concat(c)}),s={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:t.QUOTE_STRING_MODE.contains.concat(c),"on:begin":(G,j)=>{j.data._beginMatch=G[1]||G[2]},"on:end":(G,j)=>{j.data._beginMatch!==G[1]&&j.ignoreMatch()}},v=t.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),p=`[
|
|
29
|
+
]`,g={scope:"string",variants:[d,h,s,v]},f={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},V=["false","null","true"],u=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],m=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],y={keyword:u,literal:(G=>{let j=[];return G.forEach(B=>{j.push(B),B.toLowerCase()===B?j.push(B.toUpperCase()):j.push(B.toLowerCase())}),j})(V),built_in:m},b=G=>G.map(j=>j.replace(/\|\d+$/,"")),x={variants:[{match:[/new/,e.concat(p,"+"),e.concat("(?!",b(m).join("\\b|"),"\\b)"),i],scope:{1:"keyword",4:"title.class"}}]},S=e.concat(a,"\\b(?!\\()"),C={variants:[{match:[e.concat(/::/,e.lookahead(/(?!class\b)/)),S],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[i,e.concat(/::/,e.lookahead(/(?!class\b)/)),S],scope:{1:"title.class",3:"variable.constant"}},{match:[i,e.concat("::",e.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[i,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},O={scope:"attr",match:e.concat(a,e.lookahead(":"),e.lookahead(/(?!::)/))},w={relevance:0,begin:/\(/,end:/\)/,keywords:y,contains:[O,l,C,t.C_BLOCK_COMMENT_MODE,g,f,x]},Y={relevance:0,match:[/\b/,e.concat("(?!fn\\b|function\\b|",b(u).join("\\b|"),"|",b(m).join("\\b|"),"\\b)"),a,e.concat(p,"*"),e.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[w]};w.contains.push(Y);let W=[O,C,t.C_BLOCK_COMMENT_MODE,g,f,x],E={begin:e.concat(/#\[\s*\\?/,e.either(i,n)),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:V,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:V,keyword:["new","array"]},contains:["self",...W]},...W,{scope:"meta",variants:[{match:i},{match:n}]}]};return{case_insensitive:!1,keywords:y,contains:[E,t.HASH_COMMENT_MODE,t.COMMENT("//","$"),t.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:t.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},o,{scope:"variable.language",match:/\$this\b/},l,Y,C,{match:[/const/,/\s/,a],scope:{1:"keyword",3:"variable.constant"}},x,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},t.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:y,contains:["self",E,l,C,t.C_BLOCK_COMMENT_MODE,g,f]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},t.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[t.inherit(t.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},t.UNDERSCORE_TITLE_MODE]},g,f]}}function Ux(t){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},t.inherit(t.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}function Gx(t){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}function $x(t){let e=t.regex,r=/[\p{XID_Start}_]\p{XID_Continue}*/u,a=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],o={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:a,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},c={className:"meta",begin:/^(>>>|\.\.\.) /},h={className:"subst",begin:/\{/,end:/\}/,keywords:o,illegal:/#/},d={begin:/\{\{/,relevance:0},s={className:"string",contains:[t.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[t.BACKSLASH_ESCAPE,c],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[t.BACKSLASH_ESCAPE,c],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[t.BACKSLASH_ESCAPE,c,d,h]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[t.BACKSLASH_ESCAPE,c,d,h]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[t.BACKSLASH_ESCAPE,d,h]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,d,h]},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},v="[0-9](_?[0-9])*",p=`(\\b(${v}))?\\.(${v})|\\b(${v})\\.`,g=`\\b|${a.join("|")}`,f={className:"number",relevance:0,variants:[{begin:`(\\b(${v})|(${p}))[eE][+-]?(${v})[jJ]?(?=${g})`},{begin:`(${p})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${g})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${g})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${g})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${g})`},{begin:`\\b(${v})[jJ](?=${g})`}]},V={className:"comment",begin:e.lookahead(/# type:/),end:/$/,keywords:o,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},u={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:["self",c,f,s,t.HASH_COMMENT_MODE]}]};return h.contains=[s,f,c],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:o,illegal:/(<\/|\?)|=>/,contains:[c,f,{scope:"variable.language",match:/\bself\b/},{beginKeywords:"if",relevance:0},{match:/\bor\b/,scope:"keyword"},s,V,t.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,r],scope:{1:"keyword",3:"title.function"},contains:[u]},{variants:[{match:[/\bclass/,/\s+/,r,/\s*/,/\(\s*/,r,/\s*\)/]},{match:[/\bclass/,/\s+/,r]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[f,u,s]}]}}function jx(t){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}function Kx(t){let e=t.regex,r=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,a=e.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),i=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,n=e.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:r,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[t.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:e.lookahead(e.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:r},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),t.HASH_COMMENT_MODE,{scope:"string",contains:[t.BACKSLASH_ESCAPE],variants:[t.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),t.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),t.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),t.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),t.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),t.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[i,a]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,a]},{scope:{1:"punctuation",2:"number"},match:[n,a]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,a]}]},{scope:{3:"operator"},match:[r,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:i},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:n},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}function qx(t){let e=t.regex,r="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",a=e.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),i=e.concat(a,/(::\w+)*/),l={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield",...["include","extend","prepend","public","private","protected","raise","throw"]],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},o={className:"doctag",begin:"@[A-Za-z]+"},c={begin:"#<",end:">"},h=[t.COMMENT("#","$",{contains:[o]}),t.COMMENT("^=begin","^=end",{contains:[o],relevance:10}),t.COMMENT("^__END__",t.MATCH_NOTHING_RE)],d={className:"subst",begin:/#\{/,end:/\}/,keywords:l},s={className:"string",contains:[t.BACKSLASH_ESCAPE,d],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:e.concat(/<<[-~]?'?/,e.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[t.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[t.BACKSLASH_ESCAPE,d]})]}]},v="[1-9](_?[0-9])*|0",p="[0-9](_?[0-9])*",g={className:"number",relevance:0,variants:[{begin:`\\b(${v})(\\.(${p}))?([eE][+-]?(${p})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},f={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:l}]},x=[s,{variants:[{match:[/class\s+/,i,/\s+<\s+/,i]},{match:[/\b(class|module)\s+/,i]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:l},{match:[/(include|extend)\s+/,i],scope:{2:"title.class"},keywords:l},{relevance:0,match:[i,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:a,scope:"title.class"},{match:[/def/,/\s+/,r],scope:{1:"keyword",3:"title.function"},contains:[f]},{begin:t.IDENT_RE+"::"},{className:"symbol",begin:t.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[s,{begin:r}],relevance:0},g,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|(?!=)/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:l},{begin:"("+t.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[t.BACKSLASH_ESCAPE,d],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(c,h),relevance:0}].concat(c,h);d.contains=x,f.contains=x;let w=[{begin:/^\s*=>/,starts:{end:"$",contains:x}},{className:"meta.prompt",begin:"^("+"[>?]>"+"|"+"[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]"+"|"+"(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>"+")(?=[ ])",starts:{end:"$",keywords:l,contains:x}}];return h.unshift(c),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:l,illegal:/\/\*/,contains:[t.SHEBANG({binary:"ruby"})].concat(w).concat(h).concat(x)}}function Yx(t){let e=t.regex,r=/(r#)?/,a=e.concat(r,t.UNDERSCORE_IDENT_RE),i=e.concat(r,t.IDENT_RE),n={className:"title.function.invoke",relevance:0,begin:e.concat(/\b/,/(?!let|for|while|if|else|match\b)/,i,e.lookahead(/\s*\(/))},l="([ui](8|16|32|64|128|size)|f(32|64))?",o=["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","union","unsafe","unsized","use","virtual","where","while","yield"],c=["true","false","Some","None","Ok","Err"],h=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","eprintln!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],d=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:t.IDENT_RE+"!?",type:d,keyword:o,literal:c,built_in:h},illegal:"</",contains:[t.C_LINE_COMMENT_MODE,t.COMMENT("/\\*","\\*/",{contains:["self"]}),t.inherit(t.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{className:"symbol",begin:/'[a-zA-Z_][a-zA-Z0-9_]*(?!')/},{scope:"string",variants:[{begin:/b?r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'/,end:/'/,contains:[{scope:"char.escape",match:/\\('|\w|x\w{2}|u\w{4}|U\w{8})/}]}]},{className:"number",variants:[{begin:"\\b0b([01_]+)"+l},{begin:"\\b0o([0-7_]+)"+l},{begin:"\\b0x([A-Fa-f0-9_]+)"+l},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+l}],relevance:0},{begin:[/fn/,/\s+/,a],className:{1:"keyword",3:"title.function"}},{className:"meta",begin:"#!?\\[",end:"\\]",contains:[{className:"string",begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE]}]},{begin:[/let/,/\s+/,/(?:mut\s+)?/,a],className:{1:"keyword",3:"keyword",4:"variable"}},{begin:[/for/,/\s+/,a,/\s+/,/in/],className:{1:"keyword",3:"variable",5:"keyword"}},{begin:[/type/,/\s+/,a],className:{1:"keyword",3:"title.class"}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,a],className:{1:"keyword",3:"title.class"}},{begin:t.IDENT_RE+"::",keywords:{keyword:"Self",built_in:h,type:d}},{className:"punctuation",begin:"->"},n]}}var vA=t=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:t.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:t.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),pA=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],uA=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],gA=[...pA,...uA],mA=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),fA=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),zA=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),MA=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function Qx(t){let e=vA(t),r=zA,a=fA,i="@[a-z-]+",n="and or not only",o={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,e.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},e.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+gA.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+a.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+r.join("|")+")"},o,{begin:/\(/,end:/\)/,contains:[e.CSS_NUMBER_MODE]},e.CSS_VARIABLE,{className:"attribute",begin:"\\b("+MA.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[e.BLOCK_COMMENT,o,e.HEXCOLOR,e.CSS_NUMBER_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,e.IMPORTANT,e.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:i,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:n,attribute:mA.join(" ")},contains:[{begin:i,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},o,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,e.HEXCOLOR,e.CSS_NUMBER_MODE]},e.FUNCTION_DISPATCH]}}function Xx(t){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}function Zx(t){let e=t.regex,r=t.COMMENT("--","$"),a={scope:"string",variants:[{begin:/'/,end:/'/,contains:[{match:/''/}]}]},i={begin:/"/,end:/"/,contains:[{match:/""/}]},n=["true","false","unknown"],l=["double precision","large object","with timezone","without timezone"],o=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],c=["add","asc","collation","desc","final","first","last","view"],h=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],d=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],s=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],v=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],p=d,g=[...h,...c].filter(b=>!d.includes(b)),f={scope:"variable",match:/@[a-z0-9][a-z0-9_]*/},V={scope:"operator",match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},u={match:e.concat(/\b/,e.either(...p),/\s*\(/),relevance:0,keywords:{built_in:p}};function m(b){return e.concat(/\b/,e.either(...b.map(x=>x.replace(/\s+/,"\\s+"))),/\b/)}let z={scope:"keyword",match:m(v),relevance:0};function y(b,{exceptions:x,when:S}={}){let C=S;return x=x||[],b.map(O=>O.match(/\|\d+$/)||x.includes(O)?O:C(O)?`${O}|0`:O)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:y(g,{when:b=>b.length<3}),literal:n,type:o,built_in:s},contains:[{scope:"type",match:m(l)},z,u,f,a,i,t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE,r,V]}}function rH(t){return t?typeof t=="string"?t:t.source:null}function Si(t){return k1("(?=",t,")")}function k1(...t){return t.map(r=>rH(r)).join("")}function xA(t){let e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function Yt(...t){return"("+(xA(t).capture?"":"?:")+t.map(a=>rH(a)).join("|")+")"}var a9=t=>k1(/\b/,t,/\w$/.test(t)?/\b/:/\B/),HA=["Protocol","Type"].map(a9),Jx=["init","self"].map(a9),VA=["Any","Self"],e9=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","package","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],tH=["false","nil","true"],wA=["assignment","associativity","higherThan","left","lowerThan","none","right"],bA=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],eH=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],aH=Yt(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),iH=Yt(aH,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),r9=k1(aH,iH,"*"),nH=Yt(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),qo=Yt(nH,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),le=k1(nH,qo,"*"),Ko=k1(/[A-Z]/,qo,"*"),yA=["attached","autoclosure",k1(/convention\(/,Yt("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",k1(/objc\(/,le,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],LA=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function lH(t){let e={match:/\s+/,relevance:0},r=t.COMMENT("/\\*","\\*/",{contains:["self"]}),a=[t.C_LINE_COMMENT_MODE,r],i={match:[/\./,Yt(...HA,...Jx)],className:{2:"keyword"}},n={match:k1(/\./,Yt(...e9)),relevance:0},l=e9.filter(M1=>typeof M1=="string").concat(["_|0"]),o=e9.filter(M1=>typeof M1!="string").concat(VA).map(a9),c={variants:[{className:"keyword",match:Yt(...o,...Jx)}]},h={$pattern:Yt(/\b\w+/,/#\w+/),keyword:l.concat(bA),literal:tH},d=[i,n,c],s={match:k1(/\./,Yt(...eH)),relevance:0},v={className:"built_in",match:k1(/\b/,Yt(...eH),/(?=\()/)},p=[s,v],g={match:/->/,relevance:0},f={className:"operator",relevance:0,variants:[{match:r9},{match:`\\.(\\.|${iH})+`}]},V=[g,f],u="([0-9]_*)+",m="([0-9a-fA-F]_*)+",z={className:"number",relevance:0,variants:[{match:`\\b(${u})(\\.(${u}))?([eE][+-]?(${u}))?\\b`},{match:`\\b0x(${m})(\\.(${m}))?([pP][+-]?(${u}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},y=(M1="")=>({className:"subst",variants:[{match:k1(/\\/,M1,/[0\\tnr"']/)},{match:k1(/\\/,M1,/u\{[0-9a-fA-F]{1,8}\}/)}]}),b=(M1="")=>({className:"subst",match:k1(/\\/,M1,/[\t ]*(?:[\r\n]|\r\n)/)}),x=(M1="")=>({className:"subst",label:"interpol",begin:k1(/\\/,M1,/\(/),end:/\)/}),S=(M1="")=>({begin:k1(M1,/"""/),end:k1(/"""/,M1),contains:[y(M1),b(M1),x(M1)]}),C=(M1="")=>({begin:k1(M1,/"/),end:k1(/"/,M1),contains:[y(M1),x(M1)]}),O={className:"string",variants:[S(),S("#"),S("##"),S("###"),C(),C("#"),C("##"),C("###")]},w=[t.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[t.BACKSLASH_ESCAPE]}],Y={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:w},W=M1=>{let o2=k1(M1,/\//),a1=k1(/\//,M1);return{begin:o2,end:a1,contains:[...w,{scope:"comment",begin:`#(?!.*${a1})`,end:/$/}]}},E={scope:"regexp",variants:[W("###"),W("##"),W("#"),Y]},G={match:k1(/`/,le,/`/)},j={className:"variable",match:/\$\d+/},B={className:"variable",match:`\\$${qo}+`},R=[G,j,B],F={match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:LA,contains:[...V,z,O]}]}},J={scope:"keyword",match:k1(/@/,Yt(...yA),Si(Yt(/\(/,/\s+/)))},H={scope:"meta",match:k1(/@/,le)},h1=[F,J,H],p1={match:Si(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:k1(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,qo,"+")},{className:"type",match:Ko,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:k1(/\s+&\s+/,Si(Ko)),relevance:0}]},M={begin:/</,end:/>/,keywords:h,contains:[...a,...d,...h1,g,p1]};p1.contains.push(M);let t1={match:k1(le,/\s*:/),keywords:"_|0",relevance:0},d1={begin:/\(/,end:/\)/,relevance:0,keywords:h,contains:["self",t1,...a,E,...d,...p,...V,z,O,...R,...h1,p1]},F1={begin:/</,end:/>/,keywords:"repeat each",contains:[...a,p1]},gt={begin:Yt(Si(k1(le,/\s*:/)),Si(k1(le,/\s+/,le,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:le}]},_={begin:/\(/,end:/\)/,keywords:h,contains:[gt,...a,...d,...V,z,O,...h1,p1,d1],endsParent:!0,illegal:/["']/},T={match:[/(func|macro)/,/\s+/,Yt(G.match,le,r9)],className:{1:"keyword",3:"title.function"},contains:[F1,_,e],illegal:[/\[/,/%/]},r1={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[F1,_,e],illegal:/\[|%/},o1={match:[/operator/,/\s+/,r9],className:{1:"keyword",3:"title"}},z1={begin:[/precedencegroup/,/\s+/,Ko],className:{1:"keyword",3:"title"},contains:[p1],keywords:[...wA,...tH],end:/}/},L1={match:[/class\b/,/\s+/,/func\b/,/\s+/,/\b[A-Za-z_][A-Za-z0-9_]*\b/],scope:{1:"keyword",3:"keyword",5:"title.function"}},ht={match:[/class\b/,/\s+/,/var\b/],scope:{1:"keyword",3:"keyword"}},_1={begin:[/(struct|protocol|class|extension|enum|actor)/,/\s+/,le,/\s*/],beginScope:{1:"keyword",3:"title.class"},keywords:h,contains:[F1,...d,{begin:/:/,end:/\{/,keywords:h,contains:[{scope:"title.class.inherited",match:Ko},...d],relevance:0}]};for(let M1 of O.variants){let o2=M1.contains.find(j2=>j2.label==="interpol");o2.keywords=h;let a1=[...d,...p,...V,z,O,...R];o2.contains=[...a1,{begin:/\(/,end:/\)/,contains:["self",...a1]}]}return{name:"Swift",keywords:h,contains:[...a,T,r1,L1,ht,_1,o1,z1,{beginKeywords:"import",end:/$/,contains:[...a],relevance:0},E,...d,...p,...V,z,O,...R,...h1,p1,d1]}}var Yo="[A-Za-z$_][0-9A-Za-z$_]*",oH=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],cH=["true","false","null","undefined","NaN","Infinity"],hH=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],dH=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],sH=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],vH=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],pH=[].concat(sH,hH,dH);function CA(t){let e=t.regex,r=(F,{after:J})=>{let H="</"+F[0].slice(1);return F.input.indexOf(H,J)!==-1},a=Yo,i={begin:"<>",end:"</>"},n=/<[A-Za-z0-9\\._:-]+\s*\/>/,l={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(F,J)=>{let H=F[0].length+F.index,h1=F.input[H];if(h1==="<"||h1===","){J.ignoreMatch();return}h1===">"&&(r(F,{after:H})||J.ignoreMatch());let p1,M=F.input.substring(H);if(p1=M.match(/^\s*=/)){J.ignoreMatch();return}if((p1=M.match(/^\s+extends\s+/))&&p1.index===0){J.ignoreMatch();return}}},o={$pattern:Yo,keyword:oH,literal:cH,built_in:pH,"variable.language":vH},c="[0-9](_?[0-9])*",h=`\\.(${c})`,d="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",s={className:"number",variants:[{begin:`(\\b(${d})((${h})|\\.)?|(${h}))[eE][+-]?(${c})\\b`},{begin:`\\b(${d})\\b((${h})\\b|\\.)?|(${h})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},v={className:"subst",begin:"\\$\\{",end:"\\}",keywords:o,contains:[]},p={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,v],subLanguage:"xml"}},g={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,v],subLanguage:"css"}},f={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,v],subLanguage:"graphql"}},V={className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,v]},m={className:"comment",variants:[t.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:a+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE]},z=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,p,g,f,V,{match:/\$\d+/},s];v.contains=z.concat({begin:/\{/,end:/\}/,keywords:o,contains:["self"].concat(z)});let y=[].concat(m,v.contains),b=y.concat([{begin:/(\s*)\(/,end:/\)/,keywords:o,contains:["self"].concat(y)}]),x={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:b},S={variants:[{match:[/class/,/\s+/,a,/\s+/,/extends/,/\s+/,e.concat(a,"(",e.concat(/\./,a),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,a],scope:{1:"keyword",3:"title.class"}}]},C={relevance:0,match:e.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...hH,...dH]}},O={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},w={variants:[{match:[/function/,/\s+/,a,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[x],illegal:/%/},Y={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function W(F){return e.concat("(?!",F.join("|"),")")}let E={match:e.concat(/\b/,W([...sH,"super","import"].map(F=>`${F}\\s*\\(`)),a,e.lookahead(/\s*\(/)),className:"title.function",relevance:0},G={begin:e.concat(/\./,e.lookahead(e.concat(a,/(?![0-9A-Za-z$_(])/))),end:a,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},j={match:[/get|set/,/\s+/,a,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},x]},B="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+t.UNDERSCORE_IDENT_RE+")\\s*=>",R={match:[/const|var|let/,/\s+/,a,/\s*/,/=\s*/,/(async\s*)?/,e.lookahead(B)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[x]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:o,exports:{PARAMS_CONTAINS:b,CLASS_REFERENCE:C},illegal:/#(?![$_A-z])/,contains:[t.SHEBANG({label:"shebang",binary:"node",relevance:5}),O,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,p,g,f,V,m,{match:/\$\d+/},s,C,{scope:"attr",match:a+e.lookahead(":"),relevance:0},R,{begin:"("+t.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[m,t.REGEXP_MODE,{className:"function",begin:B,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:b}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:n},{begin:l.begin,"on:begin":l.isTrulyOpeningTag,end:l.end}],subLanguage:"xml",contains:[{begin:l.begin,end:l.end,skip:!0,contains:["self"]}]}]},w,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+t.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[x,t.inherit(t.TITLE_MODE,{begin:a,className:"title.function"})]},{match:/\.\.\./,relevance:0},G,{match:"\\$"+a,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[x]},E,Y,S,j,{match:/\$[(.]/}]}}function uH(t){let e=t.regex,r=CA(t),a=Yo,i=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],n={begin:[/namespace/,/\s+/,t.IDENT_RE],beginScope:{1:"keyword",3:"title.class"}},l={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:i},contains:[r.exports.CLASS_REFERENCE]},o={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},c=["type","interface","public","private","protected","implements","declare","abstract","readonly","enum","override","satisfies"],h={$pattern:Yo,keyword:oH.concat(c),literal:cH,built_in:pH.concat(i),"variable.language":vH},d={className:"meta",begin:"@"+a},s=(f,V,u)=>{let m=f.contains.findIndex(z=>z.label===V);if(m===-1)throw new Error("can not find mode to replace");f.contains.splice(m,1,u)};Object.assign(r.keywords,h),r.exports.PARAMS_CONTAINS.push(d);let v=r.contains.find(f=>f.scope==="attr"),p=Object.assign({},v,{match:e.concat(a,e.lookahead(/\s*\?:/))});r.exports.PARAMS_CONTAINS.push([r.exports.CLASS_REFERENCE,v,p]),r.contains=r.contains.concat([d,n,l,p]),s(r,"shebang",t.SHEBANG()),s(r,"use_strict",o);let g=r.contains.find(f=>f.label==="func.def");return g.relevance=0,Object.assign(r,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),r}function gH(t){let e=t.regex,r={className:"string",begin:/"(""|[^/n])"C\b/},a={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},i=/\d{1,2}\/\d{1,2}\/\d{4}/,n=/\d{4}-\d{1,2}-\d{1,2}/,l=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,o=/\d{1,2}(:\d{1,2}){1,2}/,c={className:"literal",variants:[{begin:e.concat(/# */,e.either(n,i),/ *#/)},{begin:e.concat(/# */,o,/ *#/)},{begin:e.concat(/# */,l,/ *#/)},{begin:e.concat(/# */,e.either(n,i),/ +/,e.either(l,o),/ *#/)}]},h={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},d={className:"label",begin:/^\w+:/},s=t.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),v=t.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[r,a,c,h,d,s,v,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[v]}]}}function mH(t){t.regex;let e=t.COMMENT(/\(;/,/;\)/);e.contains.push("self");let r=t.COMMENT(/;;/,/$/),a=["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"],i={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},n={className:"variable",begin:/\$[\w_]+/},l={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},o={className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/},c={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},h={className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/};return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:a},contains:[r,e,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},n,l,i,t.QUOTE_STRING_MODE,c,h,o]}}function fH(t){let e=t.regex,r=e.concat(/[\p{L}_]/u,e.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),a=/[\p{L}0-9._:-]+/u,i={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},n={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},l=t.inherit(n,{begin:/\(/,end:/\)/}),o=t.inherit(t.APOS_STRING_MODE,{className:"string"}),c=t.inherit(t.QUOTE_STRING_MODE,{className:"string"}),h={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:a,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[i]},{begin:/'/,end:/'/,contains:[i]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[n,c,o,l,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[n,l,c,o]}]}]},t.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},i,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[c]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[h],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[h],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:e.concat(/</,e.lookahead(e.concat(r,e.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:r,relevance:0,starts:h}]},{className:"tag",begin:e.concat(/<\//,e.lookahead(e.concat(r,/>/))),contains:[{className:"name",begin:r,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}function zH(t){let e="true false yes no null",r="[\\w#;/?:@&=+$,.~*'()[\\]]+",a={className:"attr",variants:[{begin:/[\w*@][\w*@ :()\./-]*:(?=[ \t]|$)/},{begin:/"[\w*@][\w*@ :()\./-]*":(?=[ \t]|$)/},{begin:/'[\w*@][\w*@ :()\./-]*':(?=[ \t]|$)/}]},i={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},n={className:"string",relevance:0,begin:/'/,end:/'/,contains:[{match:/''/,scope:"char.escape",relevance:0}]},l={className:"string",relevance:0,variants:[{begin:/"/,end:/"/},{begin:/\S+/}],contains:[t.BACKSLASH_ESCAPE,i]},o=t.inherit(l,{variants:[{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),v={className:"number",begin:"\\b"+"[0-9]{4}(-[0-9][0-9]){0,2}"+"([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?"+"(\\.[0-9]*)?"+"([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?"+"\\b"},p={end:",",endsWithParent:!0,excludeEnd:!0,keywords:e,relevance:0},g={begin:/\{/,end:/\}/,contains:[p],illegal:"\\n",relevance:0},f={begin:"\\[",end:"\\]",contains:[p],illegal:"\\n",relevance:0},V=[a,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+r},{className:"type",begin:"!<"+r+">"},{className:"type",begin:"!"+r},{className:"type",begin:"!!"+r},{className:"meta",begin:"&"+t.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+t.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},t.HASH_COMMENT_MODE,{beginKeywords:e,keywords:{literal:e}},v,{className:"number",begin:t.C_NUMBER_RE+"\\b",relevance:0},g,f,n,l],u=[...V];return u.pop(),u.push(o),p.contains=u,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:V}}var i9={arduino:ux,bash:gx,c:mx,cpp:fx,csharp:zx,css:Mx,diff:xx,go:Hx,graphql:Vx,ini:wx,java:Lx,javascript:Ox,json:Ax,kotlin:_x,less:Rx,lua:Px,makefile:Ix,markdown:Nx,objectivec:Dx,perl:Fx,php:Wx,"php-template":Ux,plaintext:Gx,python:$x,"python-repl":jx,r:Kx,ruby:qx,rust:Yx,scss:Qx,shell:Xx,sql:Zx,swift:lH,typescript:uH,vbnet:gH,wasm:mH,xml:fH,yaml:zH};var NH=P(IH(),1);var DH=NH.default;var FH={},f_="hljs-";function u9(t){let e=DH.newInstance();return t&&n(t),{highlight:r,highlightAuto:a,listLanguages:i,register:n,registerAlias:l,registered:o};function r(c,h,d){let s=d||FH,v=typeof s.prefix=="string"?s.prefix:f_;if(!e.getLanguage(c))throw new Error("Unknown language: `"+c+"` is not registered");e.configure({__emitter:p9,classPrefix:v});let p=e.highlight(h,{ignoreIllegals:!0,language:c});if(p.errorRaised)throw new Error("Could not highlight with `Highlight.js`",{cause:p.errorRaised});let g=p._emitter.root,f=g.data;return f.language=p.language,f.relevance=p.relevance,g}function a(c,h){let s=(h||FH).subset||i(),v=-1,p=0,g;for(;++v<s.length;){let f=s[v];if(!e.getLanguage(f))continue;let V=r(f,c,h);V.data&&V.data.relevance!==void 0&&V.data.relevance>p&&(p=V.data.relevance,g=V)}return g||{type:"root",children:[],data:{language:void 0,relevance:p}}}function i(){return e.listLanguages()}function n(c,h){if(typeof c=="string")e.registerLanguage(c,h);else{let d;for(d in c)Object.hasOwn(c,d)&&e.registerLanguage(d,c[d])}}function l(c,h){if(typeof c=="string")e.registerAliases(typeof h=="string"?h:[...h],{languageName:c});else{let d;for(d in c)if(Object.hasOwn(c,d)){let s=c[d];e.registerAliases(typeof s=="string"?s:[...s],{languageName:d})}}}function o(c){return!!e.getLanguage(c)}}var p9=class{constructor(e){this.options=e,this.root={type:"root",children:[],data:{language:void 0,relevance:0}},this.stack=[this.root]}addText(e){if(e==="")return;let r=this.stack[this.stack.length-1],a=r.children[r.children.length-1];a&&a.type==="text"?a.value+=e:r.children.push({type:"text",value:e})}startScope(e){this.openNode(String(e))}endScope(){this.closeNode()}__addSublanguage(e,r){let a=this.stack[this.stack.length-1],i=e.root.children;r?a.children.push({type:"element",tagName:"span",properties:{className:[r]},children:i}):a.children.push(...i)}openNode(e){let r=this,a=e.split(".").map(function(l,o){return o?l+"_".repeat(o):r.options.classPrefix+l}),i=this.stack[this.stack.length-1],n={type:"element",tagName:"span",properties:{className:a},children:[]};i.children.push(n),this.stack.push(n)}closeNode(){this.stack.pop()}finalize(){}toHTML(){return""}};var z_={};function t5(t){let e=t||z_,r=e.aliases,a=e.detect||!1,i=e.languages||i9,n=e.plainText,l=e.prefix,o=e.subset,c="hljs",h=u9(i);if(r&&h.registerAlias(r),l){let d=l.indexOf("-");c=d===-1?l:l.slice(0,d)}return function(d,s){Le(d,"element",function(v,p,g){if(v.tagName!=="code"||!g||g.type!=="element"||g.tagName!=="pre")return;let f=M_(v);if(f===!1||!f&&!a||f&&n&&n.includes(f))return;Array.isArray(v.properties.className)||(v.properties.className=[]),v.properties.className.includes(c)||v.properties.className.unshift(c);let V=t9(v,{whitespace:"pre"}),u;try{u=f?h.highlight(f,V,{prefix:l}):h.highlightAuto(V,{prefix:l,subset:o})}catch(m){let z=m;if(f&&/Unknown language/.test(z.message)){s.message("Cannot highlight as `"+f+"`, it\u2019s not registered",{ancestors:[g,v],cause:z,place:v.position,ruleId:"missing-language",source:"rehype-highlight"});return}throw z}!f&&u.data&&u.data.language&&v.properties.className.push("language-"+u.data.language),u.children.length>0&&(v.children=u.children)})}}function M_(t){let e=t.properties.className,r=-1;if(!Array.isArray(e))return;let a;for(;++r<e.length;){let i=String(e[r]);if(i==="no-highlight"||i==="nohighlight")return!1;!a&&i.slice(0,5)==="lang-"&&(a=i.slice(5)),!a&&i.slice(0,9)==="language-"&&(a=i.slice(9))}return a}function g9(t,e){let r=String(t);if(typeof e!="string")throw new TypeError("Expected character");let a=0,i=r.indexOf(e);for(;i!==-1;)a++,i=r.indexOf(e,i+e.length);return a}function m9(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function f9(t,e,r){let i=ne((r||{}).ignore||[]),n=x_(e),l=-1;for(;++l<n.length;)yi(t,"text",o);function o(h,d){let s=-1,v;for(;++s<d.length;){let p=d[s],g=v?v.children:void 0;if(i(p,g?g.indexOf(p):void 0,v))return;v=p}if(v)return c(h,d)}function c(h,d){let s=d[d.length-1],v=n[l][0],p=n[l][1],g=0,V=s.children.indexOf(h),u=!1,m=[];v.lastIndex=0;let z=v.exec(h.value);for(;z;){let y=z.index,b={index:z.index,input:z.input,stack:[...d,h]},x=p(...z,b);if(typeof x=="string"&&(x=x.length>0?{type:"text",value:x}:void 0),x===!1?v.lastIndex=y+1:(g!==y&&m.push({type:"text",value:h.value.slice(g,y)}),Array.isArray(x)?m.push(...x):x&&m.push(x),g=y+z[0].length,u=!0),!v.global)break;z=v.exec(h.value)}return u?(g<h.value.length&&m.push({type:"text",value:h.value.slice(g)}),s.children.splice(V,1,...m)):m=[h],V+m.length}}function x_(t){let e=[];if(!Array.isArray(t))throw new TypeError("Expected find and replace tuple or list of tuples");let r=!t[0]||Array.isArray(t[0])?t:[t],a=-1;for(;++a<r.length;){let i=r[a];e.push([H_(i[0]),V_(i[1])])}return e}function H_(t){return typeof t=="string"?new RegExp(m9(t),"g"):t}function V_(t){return typeof t=="function"?t:function(){return t}}var z9="phrasing",M9=["autolink","link","image","label"];function H9(){return{transforms:[S_],enter:{literalAutolink:w_,literalAutolinkEmail:x9,literalAutolinkHttp:x9,literalAutolinkWww:x9},exit:{literalAutolink:C_,literalAutolinkEmail:L_,literalAutolinkHttp:b_,literalAutolinkWww:y_}}}function V9(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:z9,notInConstruct:M9},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:z9,notInConstruct:M9},{character:":",before:"[ps]",after:"\\/",inConstruct:z9,notInConstruct:M9}]}}function w_(t){this.enter({type:"link",title:null,url:"",children:[]},t)}function x9(t){this.config.enter.autolinkProtocol.call(this,t)}function b_(t){this.config.exit.autolinkProtocol.call(this,t)}function y_(t){this.config.exit.data.call(this,t);let e=this.stack[this.stack.length-1];e.type,e.url="http://"+this.sliceSerialize(t)}function L_(t){this.config.exit.autolinkEmail.call(this,t)}function C_(t){this.exit(t)}function S_(t){f9(t,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,B_],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,k_]],{ignore:["link","linkReference"]})}function B_(t,e,r,a,i){let n="";if(!WH(i)||(/^w/i.test(e)&&(r=e+r,e="",n="http://"),!O_(r)))return!1;let l=A_(r+a);if(!l[0])return!1;let o={type:"link",title:null,url:n+e+l[0],children:[{type:"text",value:e+l[0]}]};return l[1]?[o,{type:"text",value:l[1]}]:o}function k_(t,e,r,a){return!WH(a,!0)||/[-\d_]$/.test(r)?!1:{type:"link",title:null,url:"mailto:"+e+"@"+r,children:[{type:"text",value:e+"@"+r}]}}function O_(t){let e=t.split(".");return!(e.length<2||e[e.length-1]&&(/_/.test(e[e.length-1])||!/[a-zA-Z\d]/.test(e[e.length-1]))||e[e.length-2]&&(/_/.test(e[e.length-2])||!/[a-zA-Z\d]/.test(e[e.length-2])))}function A_(t){let e=/[!"&'),.:;<>?\]}]+$/.exec(t);if(!e)return[t,void 0];t=t.slice(0,e.index);let r=e[0],a=r.indexOf(")"),i=g9(t,"("),n=g9(t,")");for(;a!==-1&&i>n;)t+=r.slice(0,a+1),r=r.slice(a+1),a=r.indexOf(")"),n++;return[t,r]}function WH(t,e){let r=t.input.charCodeAt(t.index-1);return(t.index===0||ae(r)||Qr(r))&&(!e||r!==47)}UH.peek=F_;function __(){this.buffer()}function E_(t){this.enter({type:"footnoteReference",identifier:"",label:""},t)}function T_(){this.buffer()}function R_(t){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},t)}function P_(t){let e=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=It(this.sliceSerialize(t)).toLowerCase(),r.label=e}function I_(t){this.exit(t)}function N_(t){let e=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=It(this.sliceSerialize(t)).toLowerCase(),r.label=e}function D_(t){this.exit(t)}function F_(){return"["}function UH(t,e,r,a){let i=r.createTracker(a),n=i.move("[^"),l=r.enter("footnoteReference"),o=r.enter("reference");return n+=i.move(r.safe(r.associationId(t),{after:"]",before:n})),o(),l(),n+=i.move("]"),n}function w9(){return{enter:{gfmFootnoteCallString:__,gfmFootnoteCall:E_,gfmFootnoteDefinitionLabelString:T_,gfmFootnoteDefinition:R_},exit:{gfmFootnoteCallString:P_,gfmFootnoteCall:I_,gfmFootnoteDefinitionLabelString:N_,gfmFootnoteDefinition:D_}}}function b9(t){let e=!1;return t&&t.firstLineBlank&&(e=!0),{handlers:{footnoteDefinition:r,footnoteReference:UH},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function r(a,i,n,l){let o=n.createTracker(l),c=o.move("[^"),h=n.enter("footnoteDefinition"),d=n.enter("label");return c+=o.move(n.safe(n.associationId(a),{before:c,after:"]"})),d(),c+=o.move("]:"),a.children&&a.children.length>0&&(o.shift(4),c+=o.move((e?`
|
|
30
|
+
`:" ")+n.indentLines(n.containerFlow(a,o.current()),e?GH:W_))),h(),c}}function W_(t,e,r){return e===0?t:GH(t,e,r)}function GH(t,e,r){return(r?"":" ")+t}var U_=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];$H.peek=j_;function y9(){return{canContainEols:["delete"],enter:{strikethrough:G_},exit:{strikethrough:$_}}}function L9(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:U_}],handlers:{delete:$H}}}function G_(t){this.enter({type:"delete",children:[]},t)}function $_(t){this.exit(t)}function $H(t,e,r,a){let i=r.createTracker(a),n=r.enter("strikethrough"),l=i.move("~~");return l+=r.containerPhrasing(t,{...i.current(),before:l,after:"~"}),l+=i.move("~~"),n(),l}function j_(){return"~"}function K_(t){return t.length}function KH(t,e){let r=e||{},a=(r.align||[]).concat(),i=r.stringLength||K_,n=[],l=[],o=[],c=[],h=0,d=-1;for(;++d<t.length;){let f=[],V=[],u=-1;for(t[d].length>h&&(h=t[d].length);++u<t[d].length;){let m=q_(t[d][u]);if(r.alignDelimiters!==!1){let z=i(m);V[u]=z,(c[u]===void 0||z>c[u])&&(c[u]=z)}f.push(m)}l[d]=f,o[d]=V}let s=-1;if(typeof a=="object"&&"length"in a)for(;++s<h;)n[s]=jH(a[s]);else{let f=jH(a);for(;++s<h;)n[s]=f}s=-1;let v=[],p=[];for(;++s<h;){let f=n[s],V="",u="";f===99?(V=":",u=":"):f===108?V=":":f===114&&(u=":");let m=r.alignDelimiters===!1?1:Math.max(1,c[s]-V.length-u.length),z=V+"-".repeat(m)+u;r.alignDelimiters!==!1&&(m=V.length+m+u.length,m>c[s]&&(c[s]=m),p[s]=m),v[s]=z}l.splice(1,0,v),o.splice(1,0,p),d=-1;let g=[];for(;++d<l.length;){let f=l[d],V=o[d];s=-1;let u=[];for(;++s<h;){let m=f[s]||"",z="",y="";if(r.alignDelimiters!==!1){let b=c[s]-(V[s]||0),x=n[s];x===114?z=" ".repeat(b):x===99?b%2?(z=" ".repeat(b/2+.5),y=" ".repeat(b/2-.5)):(z=" ".repeat(b/2),y=z):y=" ".repeat(b)}r.delimiterStart!==!1&&!s&&u.push("|"),r.padding!==!1&&!(r.alignDelimiters===!1&&m==="")&&(r.delimiterStart!==!1||s)&&u.push(" "),r.alignDelimiters!==!1&&u.push(z),u.push(m),r.alignDelimiters!==!1&&u.push(y),r.padding!==!1&&u.push(" "),(r.delimiterEnd!==!1||s!==h-1)&&u.push("|")}g.push(r.delimiterEnd===!1?u.join("").replace(/ +$/,""):u.join(""))}return g.join(`
|
|
31
|
+
`)}function q_(t){return t==null?"":String(t)}function jH(t){let e=typeof t=="string"?t.codePointAt(0):0;return e===67||e===99?99:e===76||e===108?108:e===82||e===114?114:0}function qH(t,e,r,a){let i=r.enter("blockquote"),n=r.createTracker(a);n.move("> "),n.shift(2);let l=r.indentLines(r.containerFlow(t,n.current()),Y_);return i(),l}function Y_(t,e,r){return">"+(r?"":" ")+t}function QH(t,e){return YH(t,e.inConstruct,!0)&&!YH(t,e.notInConstruct,!1)}function YH(t,e,r){if(typeof e=="string"&&(e=[e]),!e||e.length===0)return r;let a=-1;for(;++a<e.length;)if(t.includes(e[a]))return!0;return!1}function C9(t,e,r,a){let i=-1;for(;++i<r.unsafe.length;)if(r.unsafe[i].character===`
|
|
32
|
+
`&&QH(r.stack,r.unsafe[i]))return/[ \t]/.test(a.before)?"":" ";return`\\
|
|
33
|
+
`}function XH(t,e){let r=String(t),a=r.indexOf(e),i=a,n=0,l=0;if(typeof e!="string")throw new TypeError("Expected substring");for(;a!==-1;)a===i?++n>l&&(l=n):n=1,i=a+e.length,a=r.indexOf(e,i);return l}function ZH(t,e){return!!(e.options.fences===!1&&t.value&&!t.lang&&/[^ \r\n]/.test(t.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(t.value))}function JH(t){let e=t.options.fence||"`";if(e!=="`"&&e!=="~")throw new Error("Cannot serialize code with `"+e+"` for `options.fence`, expected `` ` `` or `~`");return e}function tV(t,e,r,a){let i=JH(r),n=t.value||"",l=i==="`"?"GraveAccent":"Tilde";if(ZH(t,r)){let s=r.enter("codeIndented"),v=r.indentLines(n,Q_);return s(),v}let o=r.createTracker(a),c=i.repeat(Math.max(XH(n,i)+1,3)),h=r.enter("codeFenced"),d=o.move(c);if(t.lang){let s=r.enter(`codeFencedLang${l}`);d+=o.move(r.safe(t.lang,{before:d,after:" ",encode:["`"],...o.current()})),s()}if(t.lang&&t.meta){let s=r.enter(`codeFencedMeta${l}`);d+=o.move(" "),d+=o.move(r.safe(t.meta,{before:d,after:`
|
|
34
|
+
`,encode:["`"],...o.current()})),s()}return d+=o.move(`
|
|
35
|
+
`),n&&(d+=o.move(n+`
|
|
36
|
+
`)),d+=o.move(c),h(),d}function Q_(t,e,r){return(r?"":" ")+t}function ja(t){let e=t.options.quote||'"';if(e!=='"'&&e!=="'")throw new Error("Cannot serialize title with `"+e+"` for `options.quote`, expected `\"`, or `'`");return e}function eV(t,e,r,a){let i=ja(r),n=i==='"'?"Quote":"Apostrophe",l=r.enter("definition"),o=r.enter("label"),c=r.createTracker(a),h=c.move("[");return h+=c.move(r.safe(r.associationId(t),{before:h,after:"]",...c.current()})),h+=c.move("]: "),o(),!t.url||/[\0- \u007F]/.test(t.url)?(o=r.enter("destinationLiteral"),h+=c.move("<"),h+=c.move(r.safe(t.url,{before:h,after:">",...c.current()})),h+=c.move(">")):(o=r.enter("destinationRaw"),h+=c.move(r.safe(t.url,{before:h,after:t.title?" ":`
|
|
37
|
+
`,...c.current()}))),o(),t.title&&(o=r.enter(`title${n}`),h+=c.move(" "+i),h+=c.move(r.safe(t.title,{before:h,after:i,...c.current()})),h+=c.move(i),o()),l(),h}function rV(t){let e=t.options.emphasis||"*";if(e!=="*"&&e!=="_")throw new Error("Cannot serialize emphasis with `"+e+"` for `options.emphasis`, expected `*`, or `_`");return e}function gr(t){return"&#x"+t.toString(16).toUpperCase()+";"}function Ka(t,e,r){let a=ye(t),i=ye(e);return a===void 0?i===void 0?r==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:a===1?i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}S9.peek=X_;function S9(t,e,r,a){let i=rV(r),n=r.enter("emphasis"),l=r.createTracker(a),o=l.move(i),c=l.move(r.containerPhrasing(t,{after:i,before:o,...l.current()})),h=c.charCodeAt(0),d=Ka(a.before.charCodeAt(a.before.length-1),h,i);d.inside&&(c=gr(h)+c.slice(1));let s=c.charCodeAt(c.length-1),v=Ka(a.after.charCodeAt(0),s,i);v.inside&&(c=c.slice(0,-1)+gr(s));let p=l.move(i);return n(),r.attentionEncodeSurroundingInfo={after:v.outside,before:d.outside},o+c+p}function X_(t,e,r){return r.options.emphasis||"*"}function aV(t,e){let r=!1;return Le(t,function(a){if("value"in a&&/\r?\n|\r/.test(a.value)||a.type==="break")return r=!0,e0}),!!((!t.depth||t.depth<3)&&qr(t)&&(e.options.setext||r))}function iV(t,e,r,a){let i=Math.max(Math.min(6,t.depth||1),1),n=r.createTracker(a);if(aV(t,r)){let d=r.enter("headingSetext"),s=r.enter("phrasing"),v=r.containerPhrasing(t,{...n.current(),before:`
|
|
38
|
+
`,after:`
|
|
39
|
+
`});return s(),d(),v+`
|
|
40
|
+
`+(i===1?"=":"-").repeat(v.length-(Math.max(v.lastIndexOf("\r"),v.lastIndexOf(`
|
|
41
|
+
`))+1))}let l="#".repeat(i),o=r.enter("headingAtx"),c=r.enter("phrasing");n.move(l+" ");let h=r.containerPhrasing(t,{before:"# ",after:`
|
|
42
|
+
`,...n.current()});return/^[\t ]/.test(h)&&(h=gr(h.charCodeAt(0))+h.slice(1)),h=h?l+" "+h:l,r.options.closeAtx&&(h+=" "+l),c(),o(),h}B9.peek=Z_;function B9(t){return t.value||""}function Z_(){return"<"}k9.peek=J_;function k9(t,e,r,a){let i=ja(r),n=i==='"'?"Quote":"Apostrophe",l=r.enter("image"),o=r.enter("label"),c=r.createTracker(a),h=c.move("![");return h+=c.move(r.safe(t.alt,{before:h,after:"]",...c.current()})),h+=c.move("]("),o(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(o=r.enter("destinationLiteral"),h+=c.move("<"),h+=c.move(r.safe(t.url,{before:h,after:">",...c.current()})),h+=c.move(">")):(o=r.enter("destinationRaw"),h+=c.move(r.safe(t.url,{before:h,after:t.title?" ":")",...c.current()}))),o(),t.title&&(o=r.enter(`title${n}`),h+=c.move(" "+i),h+=c.move(r.safe(t.title,{before:h,after:i,...c.current()})),h+=c.move(i),o()),h+=c.move(")"),l(),h}function J_(){return"!"}O9.peek=tE;function O9(t,e,r,a){let i=t.referenceType,n=r.enter("imageReference"),l=r.enter("label"),o=r.createTracker(a),c=o.move("!["),h=r.safe(t.alt,{before:c,after:"]",...o.current()});c+=o.move(h+"]["),l();let d=r.stack;r.stack=[],l=r.enter("reference");let s=r.safe(r.associationId(t),{before:c,after:"]",...o.current()});return l(),r.stack=d,n(),i==="full"||!h||h!==s?c+=o.move(s+"]"):i==="shortcut"?c=c.slice(0,-1):c+=o.move("]"),c}function tE(){return"!"}A9.peek=eE;function A9(t,e,r){let a=t.value||"",i="`",n=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(a);)i+="`";for(/[^ \r\n]/.test(a)&&(/^[ \r\n]/.test(a)&&/[ \r\n]$/.test(a)||/^`|`$/.test(a))&&(a=" "+a+" ");++n<r.unsafe.length;){let l=r.unsafe[n],o=r.compilePattern(l),c;if(l.atBreak)for(;c=o.exec(a);){let h=c.index;a.charCodeAt(h)===10&&a.charCodeAt(h-1)===13&&h--,a=a.slice(0,h)+" "+a.slice(c.index+1)}}return i+a+i}function eE(){return"`"}function _9(t,e){let r=qr(t);return!!(!e.options.resourceLink&&t.url&&!t.title&&t.children&&t.children.length===1&&t.children[0].type==="text"&&(r===t.url||"mailto:"+r===t.url)&&/^[a-z][a-z+.-]+:/i.test(t.url)&&!/[\0- <>\u007F]/.test(t.url))}E9.peek=rE;function E9(t,e,r,a){let i=ja(r),n=i==='"'?"Quote":"Apostrophe",l=r.createTracker(a),o,c;if(_9(t,r)){let d=r.stack;r.stack=[],o=r.enter("autolink");let s=l.move("<");return s+=l.move(r.containerPhrasing(t,{before:s,after:">",...l.current()})),s+=l.move(">"),o(),r.stack=d,s}o=r.enter("link"),c=r.enter("label");let h=l.move("[");return h+=l.move(r.containerPhrasing(t,{before:h,after:"](",...l.current()})),h+=l.move("]("),c(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(c=r.enter("destinationLiteral"),h+=l.move("<"),h+=l.move(r.safe(t.url,{before:h,after:">",...l.current()})),h+=l.move(">")):(c=r.enter("destinationRaw"),h+=l.move(r.safe(t.url,{before:h,after:t.title?" ":")",...l.current()}))),c(),t.title&&(c=r.enter(`title${n}`),h+=l.move(" "+i),h+=l.move(r.safe(t.title,{before:h,after:i,...l.current()})),h+=l.move(i),c()),h+=l.move(")"),o(),h}function rE(t,e,r){return _9(t,r)?"<":"["}T9.peek=aE;function T9(t,e,r,a){let i=t.referenceType,n=r.enter("linkReference"),l=r.enter("label"),o=r.createTracker(a),c=o.move("["),h=r.containerPhrasing(t,{before:c,after:"]",...o.current()});c+=o.move(h+"]["),l();let d=r.stack;r.stack=[],l=r.enter("reference");let s=r.safe(r.associationId(t),{before:c,after:"]",...o.current()});return l(),r.stack=d,n(),i==="full"||!h||h!==s?c+=o.move(s+"]"):i==="shortcut"?c=c.slice(0,-1):c+=o.move("]"),c}function aE(){return"["}function qa(t){let e=t.options.bullet||"*";if(e!=="*"&&e!=="+"&&e!=="-")throw new Error("Cannot serialize items with `"+e+"` for `options.bullet`, expected `*`, `+`, or `-`");return e}function nV(t){let e=qa(t),r=t.options.bulletOther;if(!r)return e==="*"?"-":"*";if(r!=="*"&&r!=="+"&&r!=="-")throw new Error("Cannot serialize items with `"+r+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(r===e)throw new Error("Expected `bullet` (`"+e+"`) and `bulletOther` (`"+r+"`) to be different");return r}function lV(t){let e=t.options.bulletOrdered||".";if(e!=="."&&e!==")")throw new Error("Cannot serialize items with `"+e+"` for `options.bulletOrdered`, expected `.` or `)`");return e}function e5(t){let e=t.options.rule||"*";if(e!=="*"&&e!=="-"&&e!=="_")throw new Error("Cannot serialize rules with `"+e+"` for `options.rule`, expected `*`, `-`, or `_`");return e}function oV(t,e,r,a){let i=r.enter("list"),n=r.bulletCurrent,l=t.ordered?lV(r):qa(r),o=t.ordered?l==="."?")":".":nV(r),c=e&&r.bulletLastUsed?l===r.bulletLastUsed:!1;if(!t.ordered){let d=t.children?t.children[0]:void 0;if((l==="*"||l==="-")&&d&&(!d.children||!d.children[0])&&r.stack[r.stack.length-1]==="list"&&r.stack[r.stack.length-2]==="listItem"&&r.stack[r.stack.length-3]==="list"&&r.stack[r.stack.length-4]==="listItem"&&r.indexStack[r.indexStack.length-1]===0&&r.indexStack[r.indexStack.length-2]===0&&r.indexStack[r.indexStack.length-3]===0&&(c=!0),e5(r)===l&&d){let s=-1;for(;++s<t.children.length;){let v=t.children[s];if(v&&v.type==="listItem"&&v.children&&v.children[0]&&v.children[0].type==="thematicBreak"){c=!0;break}}}}c&&(l=o),r.bulletCurrent=l;let h=r.containerFlow(t,a);return r.bulletLastUsed=l,r.bulletCurrent=n,i(),h}function cV(t){let e=t.options.listItemIndent||"one";if(e!=="tab"&&e!=="one"&&e!=="mixed")throw new Error("Cannot serialize items with `"+e+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return e}function hV(t,e,r,a){let i=cV(r),n=r.bulletCurrent||qa(r);e&&e.type==="list"&&e.ordered&&(n=(typeof e.start=="number"&&e.start>-1?e.start:1)+(r.options.incrementListMarker===!1?0:e.children.indexOf(t))+n);let l=n.length+1;(i==="tab"||i==="mixed"&&(e&&e.type==="list"&&e.spread||t.spread))&&(l=Math.ceil(l/4)*4);let o=r.createTracker(a);o.move(n+" ".repeat(l-n.length)),o.shift(l);let c=r.enter("listItem"),h=r.indentLines(r.containerFlow(t,o.current()),d);return c(),h;function d(s,v,p){return v?(p?"":" ".repeat(l))+s:(p?n:n+" ".repeat(l-n.length))+s}}function dV(t,e,r,a){let i=r.enter("paragraph"),n=r.enter("phrasing"),l=r.containerPhrasing(t,a);return n(),i(),l}var R9=ne(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function sV(t,e,r,a){return(t.children.some(function(l){return R9(l)})?r.containerPhrasing:r.containerFlow).call(r,t,a)}function vV(t){let e=t.options.strong||"*";if(e!=="*"&&e!=="_")throw new Error("Cannot serialize strong with `"+e+"` for `options.strong`, expected `*`, or `_`");return e}P9.peek=iE;function P9(t,e,r,a){let i=vV(r),n=r.enter("strong"),l=r.createTracker(a),o=l.move(i+i),c=l.move(r.containerPhrasing(t,{after:i,before:o,...l.current()})),h=c.charCodeAt(0),d=Ka(a.before.charCodeAt(a.before.length-1),h,i);d.inside&&(c=gr(h)+c.slice(1));let s=c.charCodeAt(c.length-1),v=Ka(a.after.charCodeAt(0),s,i);v.inside&&(c=c.slice(0,-1)+gr(s));let p=l.move(i+i);return n(),r.attentionEncodeSurroundingInfo={after:v.outside,before:d.outside},o+c+p}function iE(t,e,r){return r.options.strong||"*"}function pV(t,e,r,a){return r.safe(t.value,a)}function uV(t){let e=t.options.ruleRepetition||3;if(e<3)throw new Error("Cannot serialize rules with repetition `"+e+"` for `options.ruleRepetition`, expected `3` or more");return e}function gV(t,e,r){let a=(e5(r)+(r.options.ruleSpaces?" ":"")).repeat(uV(r));return r.options.ruleSpaces?a.slice(0,-1):a}var Oi={blockquote:qH,break:C9,code:tV,definition:eV,emphasis:S9,hardBreak:C9,heading:iV,html:B9,image:k9,imageReference:O9,inlineCode:A9,link:E9,linkReference:T9,list:oV,listItem:hV,paragraph:dV,root:sV,strong:P9,text:pV,thematicBreak:gV};function N9(){return{enter:{table:nE,tableData:mV,tableHeader:mV,tableRow:oE},exit:{codeText:cE,table:lE,tableData:I9,tableHeader:I9,tableRow:I9}}}function nE(t){let e=t._align;this.enter({type:"table",align:e.map(function(r){return r==="none"?null:r}),children:[]},t),this.data.inTable=!0}function lE(t){this.exit(t),this.data.inTable=void 0}function oE(t){this.enter({type:"tableRow",children:[]},t)}function I9(t){this.exit(t)}function mV(t){this.enter({type:"tableCell",children:[]},t)}function cE(t){let e=this.resume();this.data.inTable&&(e=e.replace(/\\([\\|])/g,hE));let r=this.stack[this.stack.length-1];r.type,r.value=e,this.exit(t)}function hE(t,e){return e==="|"?e:t}function D9(t){let e=t||{},r=e.tableCellPadding,a=e.tablePipeAlign,i=e.stringLength,n=r?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
|
|
43
|
+
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:v,table:l,tableCell:c,tableRow:o}};function l(p,g,f,V){return h(d(p,f,V),p.align)}function o(p,g,f,V){let u=s(p,f,V),m=h([u]);return m.slice(0,m.indexOf(`
|
|
44
|
+
`))}function c(p,g,f,V){let u=f.enter("tableCell"),m=f.enter("phrasing"),z=f.containerPhrasing(p,{...V,before:n,after:n});return m(),u(),z}function h(p,g){return KH(p,{align:g,alignDelimiters:a,padding:r,stringLength:i})}function d(p,g,f){let V=p.children,u=-1,m=[],z=g.enter("table");for(;++u<V.length;)m[u]=s(V[u],g,f);return z(),m}function s(p,g,f){let V=p.children,u=-1,m=[],z=g.enter("tableRow");for(;++u<V.length;)m[u]=c(V[u],p,g,f);return z(),m}function v(p,g,f){let V=Oi.inlineCode(p,g,f);return f.stack.includes("tableCell")&&(V=V.replace(/\|/g,"\\$&")),V}}function F9(){return{exit:{taskListCheckValueChecked:fV,taskListCheckValueUnchecked:fV,paragraph:dE}}}function W9(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:sE}}}function fV(t){let e=this.stack[this.stack.length-2];e.type,e.checked=t.type==="taskListCheckValueChecked"}function dE(t){let e=this.stack[this.stack.length-2];if(e&&e.type==="listItem"&&typeof e.checked=="boolean"){let r=this.stack[this.stack.length-1];r.type;let a=r.children[0];if(a&&a.type==="text"){let i=e.children,n=-1,l;for(;++n<i.length;){let o=i[n];if(o.type==="paragraph"){l=o;break}}l===r&&(a.value=a.value.slice(1),a.value.length===0?r.children.shift():r.position&&a.position&&typeof a.position.start.offset=="number"&&(a.position.start.column++,a.position.start.offset++,r.position.start=Object.assign({},a.position.start)))}}this.exit(t)}function sE(t,e,r,a){let i=t.children[0],n=typeof t.checked=="boolean"&&i&&i.type==="paragraph",l="["+(t.checked?"x":" ")+"] ",o=r.createTracker(a);n&&o.move(l);let c=Oi.listItem(t,e,r,{...a,...o.current()});return n&&(c=c.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,h)),c;function h(d){return d+l}}function U9(){return[H9(),w9(),y9(),N9(),F9()]}function G9(t){return{extensions:[V9(),b9(t),L9(),D9(t),W9()]}}var vE={tokenize:fE,partial:!0},zV={tokenize:zE,partial:!0},MV={tokenize:ME,partial:!0},xV={tokenize:xE,partial:!0},pE={tokenize:HE,partial:!0},HV={name:"wwwAutolink",tokenize:gE,previous:wV},VV={name:"protocolAutolink",tokenize:mE,previous:bV},Se={name:"emailAutolink",tokenize:uE,previous:yV},oe={};function j9(){return{text:oe}}var n0=48;for(;n0<123;)oe[n0]=Se,n0++,n0===58?n0=65:n0===91&&(n0=97);oe[43]=Se;oe[45]=Se;oe[46]=Se;oe[95]=Se;oe[72]=[Se,VV];oe[104]=[Se,VV];oe[87]=[Se,HV];oe[119]=[Se,HV];function uE(t,e,r){let a=this,i,n;return l;function l(s){return!$9(s)||!yV.call(a,a.previous)||K9(a.events)?r(s):(t.enter("literalAutolink"),t.enter("literalAutolinkEmail"),o(s))}function o(s){return $9(s)?(t.consume(s),o):s===64?(t.consume(s),c):r(s)}function c(s){return s===46?t.check(pE,d,h)(s):s===45||s===95||Y1(s)?(n=!0,t.consume(s),c):d(s)}function h(s){return t.consume(s),i=!0,c}function d(s){return n&&i&&pt(a.previous)?(t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),e(s)):r(s)}}function gE(t,e,r){let a=this;return i;function i(l){return l!==87&&l!==119||!wV.call(a,a.previous)||K9(a.events)?r(l):(t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check(vE,t.attempt(zV,t.attempt(MV,n),r),r)(l))}function n(l){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),e(l)}}function mE(t,e,r){let a=this,i="",n=!1;return l;function l(s){return(s===72||s===104)&&bV.call(a,a.previous)&&!K9(a.events)?(t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),i+=String.fromCodePoint(s),t.consume(s),o):r(s)}function o(s){if(pt(s)&&i.length<5)return i+=String.fromCodePoint(s),t.consume(s),o;if(s===58){let v=i.toLowerCase();if(v==="http"||v==="https")return t.consume(s),c}return r(s)}function c(s){return s===47?(t.consume(s),n?h:(n=!0,c)):r(s)}function h(s){return s===null||Yr(s)||m1(s)||ae(s)||Qr(s)?r(s):t.attempt(zV,t.attempt(MV,d),r)(s)}function d(s){return t.exit("literalAutolinkHttp"),t.exit("literalAutolink"),e(s)}}function fE(t,e,r){let a=0;return i;function i(l){return(l===87||l===119)&&a<3?(a++,t.consume(l),i):l===46&&a===3?(t.consume(l),n):r(l)}function n(l){return l===null?r(l):e(l)}}function zE(t,e,r){let a,i,n;return l;function l(h){return h===46||h===95?t.check(xV,c,o)(h):h===null||m1(h)||ae(h)||h!==45&&Qr(h)?c(h):(n=!0,t.consume(h),l)}function o(h){return h===95?a=!0:(i=a,a=void 0),t.consume(h),l}function c(h){return i||a||!n?r(h):e(h)}}function ME(t,e){let r=0,a=0;return i;function i(l){return l===40?(r++,t.consume(l),i):l===41&&a<r?n(l):l===33||l===34||l===38||l===39||l===41||l===42||l===44||l===46||l===58||l===59||l===60||l===63||l===93||l===95||l===126?t.check(xV,e,n)(l):l===null||m1(l)||ae(l)?e(l):(t.consume(l),i)}function n(l){return l===41&&a++,t.consume(l),i}}function xE(t,e,r){return a;function a(o){return o===33||o===34||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===63||o===95||o===126?(t.consume(o),a):o===38?(t.consume(o),n):o===93?(t.consume(o),i):o===60||o===null||m1(o)||ae(o)?e(o):r(o)}function i(o){return o===null||o===40||o===91||m1(o)||ae(o)?e(o):a(o)}function n(o){return pt(o)?l(o):r(o)}function l(o){return o===59?(t.consume(o),a):pt(o)?(t.consume(o),l):r(o)}}function HE(t,e,r){return a;function a(n){return t.consume(n),i}function i(n){return Y1(n)?r(n):e(n)}}function wV(t){return t===null||t===40||t===42||t===95||t===91||t===93||t===126||m1(t)}function bV(t){return!pt(t)}function yV(t){return!(t===47||$9(t))}function $9(t){return t===43||t===45||t===46||t===95||Y1(t)}function K9(t){let e=t.length,r=!1;for(;e--;){let a=t[e][1];if((a.type==="labelLink"||a.type==="labelImage")&&!a._balanced){r=!0;break}if(a._gfmAutolinkLiteralWalkedInto){r=!1;break}}return t.length>0&&!r&&(t[t.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}var VE={tokenize:BE,partial:!0};function q9(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:LE,continuation:{tokenize:CE},exit:SE}},text:{91:{name:"gfmFootnoteCall",tokenize:yE},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:wE,resolveTo:bE}}}}function wE(t,e,r){let a=this,i=a.events.length,n=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),l;for(;i--;){let c=a.events[i][1];if(c.type==="labelImage"){l=c;break}if(c.type==="gfmFootnoteCall"||c.type==="labelLink"||c.type==="label"||c.type==="image"||c.type==="link")break}return o;function o(c){if(!l||!l._balanced)return r(c);let h=It(a.sliceSerialize({start:l.end,end:a.now()}));return h.codePointAt(0)!==94||!n.includes(h.slice(1))?r(c):(t.enter("gfmFootnoteCallLabelMarker"),t.consume(c),t.exit("gfmFootnoteCallLabelMarker"),e(c))}}function bE(t,e){let r=t.length,a;for(;r--;)if(t[r][1].type==="labelImage"&&t[r][0]==="enter"){a=t[r][1];break}t[r+1][1].type="data",t[r+3][1].type="gfmFootnoteCallLabelMarker";let i={type:"gfmFootnoteCall",start:Object.assign({},t[r+3][1].start),end:Object.assign({},t[t.length-1][1].end)},n={type:"gfmFootnoteCallMarker",start:Object.assign({},t[r+3][1].end),end:Object.assign({},t[r+3][1].end)};n.end.column++,n.end.offset++,n.end._bufferIndex++;let l={type:"gfmFootnoteCallString",start:Object.assign({},n.end),end:Object.assign({},t[t.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},l.start),end:Object.assign({},l.end)},c=[t[r+1],t[r+2],["enter",i,e],t[r+3],t[r+4],["enter",n,e],["exit",n,e],["enter",l,e],["enter",o,e],["exit",o,e],["exit",l,e],t[t.length-2],t[t.length-1],["exit",i,e]];return t.splice(r,t.length-r+1,...c),t}function yE(t,e,r){let a=this,i=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),n=0,l;return o;function o(s){return t.enter("gfmFootnoteCall"),t.enter("gfmFootnoteCallLabelMarker"),t.consume(s),t.exit("gfmFootnoteCallLabelMarker"),c}function c(s){return s!==94?r(s):(t.enter("gfmFootnoteCallMarker"),t.consume(s),t.exit("gfmFootnoteCallMarker"),t.enter("gfmFootnoteCallString"),t.enter("chunkString").contentType="string",h)}function h(s){if(n>999||s===93&&!l||s===null||s===91||m1(s))return r(s);if(s===93){t.exit("chunkString");let v=t.exit("gfmFootnoteCallString");return i.includes(It(a.sliceSerialize(v)))?(t.enter("gfmFootnoteCallLabelMarker"),t.consume(s),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),e):r(s)}return m1(s)||(l=!0),n++,t.consume(s),s===92?d:h}function d(s){return s===91||s===92||s===93?(t.consume(s),n++,h):h(s)}}function LE(t,e,r){let a=this,i=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),n,l=0,o;return c;function c(g){return t.enter("gfmFootnoteDefinition")._container=!0,t.enter("gfmFootnoteDefinitionLabel"),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(g),t.exit("gfmFootnoteDefinitionLabelMarker"),h}function h(g){return g===94?(t.enter("gfmFootnoteDefinitionMarker"),t.consume(g),t.exit("gfmFootnoteDefinitionMarker"),t.enter("gfmFootnoteDefinitionLabelString"),t.enter("chunkString").contentType="string",d):r(g)}function d(g){if(l>999||g===93&&!o||g===null||g===91||m1(g))return r(g);if(g===93){t.exit("chunkString");let f=t.exit("gfmFootnoteDefinitionLabelString");return n=It(a.sliceSerialize(f)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(g),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),v}return m1(g)||(o=!0),l++,t.consume(g),g===92?s:d}function s(g){return g===91||g===92||g===93?(t.consume(g),l++,d):d(g)}function v(g){return g===58?(t.enter("definitionMarker"),t.consume(g),t.exit("definitionMarker"),i.includes(n)||i.push(n),e1(t,p,"gfmFootnoteDefinitionWhitespace")):r(g)}function p(g){return e(g)}}function CE(t,e,r){return t.check(ie,e,t.attempt(VE,e,r))}function SE(t){t.exit("gfmFootnoteDefinition")}function BE(t,e,r){let a=this;return e1(t,i,"gfmFootnoteDefinitionIndent",5);function i(n){let l=a.events[a.events.length-1];return l&&l[1].type==="gfmFootnoteDefinitionIndent"&&l[2].sliceSerialize(l[1],!0).length===4?e(n):r(n)}}function Y9(t){let r=(t||{}).singleTilde,a={name:"strikethrough",tokenize:n,resolveAll:i};return r==null&&(r=!0),{text:{126:a},insideSpan:{null:[a]},attentionMarkers:{null:[126]}};function i(l,o){let c=-1;for(;++c<l.length;)if(l[c][0]==="enter"&&l[c][1].type==="strikethroughSequenceTemporary"&&l[c][1]._close){let h=c;for(;h--;)if(l[h][0]==="exit"&&l[h][1].type==="strikethroughSequenceTemporary"&&l[h][1]._open&&l[c][1].end.offset-l[c][1].start.offset===l[h][1].end.offset-l[h][1].start.offset){l[c][1].type="strikethroughSequence",l[h][1].type="strikethroughSequence";let d={type:"strikethrough",start:Object.assign({},l[h][1].start),end:Object.assign({},l[c][1].end)},s={type:"strikethroughText",start:Object.assign({},l[h][1].end),end:Object.assign({},l[c][1].start)},v=[["enter",d,o],["enter",l[h][1],o],["exit",l[h][1],o],["enter",s,o]],p=o.parser.constructs.insideSpan.null;p&&at(v,v.length,0,vr(p,l.slice(h+1,c),o)),at(v,v.length,0,[["exit",s,o],["enter",l[c][1],o],["exit",l[c][1],o],["exit",d,o]]),at(l,h-1,c-h+3,v),c=h+v.length-2;break}}for(c=-1;++c<l.length;)l[c][1].type==="strikethroughSequenceTemporary"&&(l[c][1].type="data");return l}function n(l,o,c){let h=this.previous,d=this.events,s=0;return v;function v(g){return h===126&&d[d.length-1][1].type!=="characterEscape"?c(g):(l.enter("strikethroughSequenceTemporary"),p(g))}function p(g){let f=ye(h);if(g===126)return s>1?c(g):(l.consume(g),s++,p);if(s<2&&!r)return c(g);let V=l.exit("strikethroughSequenceTemporary"),u=ye(g);return V._open=!u||u===2&&!!f,V._close=!f||f===2&&!!u,o(g)}}}var r5=class{constructor(){this.map=[]}add(e,r,a){kE(this,e,r,a)}consume(e){if(this.map.sort(function(n,l){return n[0]-l[0]}),this.map.length===0)return;let r=this.map.length,a=[];for(;r>0;)r-=1,a.push(e.slice(this.map[r][0]+this.map[r][1]),this.map[r][2]),e.length=this.map[r][0];a.push(e.slice()),e.length=0;let i=a.pop();for(;i;){for(let n of i)e.push(n);i=a.pop()}this.map.length=0}};function kE(t,e,r,a){let i=0;if(!(r===0&&a.length===0)){for(;i<t.map.length;){if(t.map[i][0]===e){t.map[i][1]+=r,t.map[i][2].push(...a);return}i+=1}t.map.push([e,r,a])}}function LV(t,e){let r=!1,a=[];for(;e<t.length;){let i=t[e];if(r){if(i[0]==="enter")i[1].type==="tableContent"&&a.push(t[e+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(t[e-1][1].type==="tableDelimiterMarker"){let n=a.length-1;a[n]=a[n]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(r=!0);e+=1}return a}function Q9(){return{flow:{null:{name:"table",tokenize:OE,resolveAll:AE}}}}function OE(t,e,r){let a=this,i=0,n=0,l;return o;function o(w){let Y=a.events.length-1;for(;Y>-1;){let G=a.events[Y][1].type;if(G==="lineEnding"||G==="linePrefix")Y--;else break}let W=Y>-1?a.events[Y][1].type:null,E=W==="tableHead"||W==="tableRow"?x:c;return E===x&&a.parser.lazy[a.now().line]?r(w):E(w)}function c(w){return t.enter("tableHead"),t.enter("tableRow"),h(w)}function h(w){return w===124||(l=!0,n+=1),d(w)}function d(w){return w===null?r(w):K(w)?n>1?(n=0,a.interrupt=!0,t.exit("tableRow"),t.enter("lineEnding"),t.consume(w),t.exit("lineEnding"),p):r(w):i1(w)?e1(t,d,"whitespace")(w):(n+=1,l&&(l=!1,i+=1),w===124?(t.enter("tableCellDivider"),t.consume(w),t.exit("tableCellDivider"),l=!0,d):(t.enter("data"),s(w)))}function s(w){return w===null||w===124||m1(w)?(t.exit("data"),d(w)):(t.consume(w),w===92?v:s)}function v(w){return w===92||w===124?(t.consume(w),s):s(w)}function p(w){return a.interrupt=!1,a.parser.lazy[a.now().line]?r(w):(t.enter("tableDelimiterRow"),l=!1,i1(w)?e1(t,g,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(w):g(w))}function g(w){return w===45||w===58?V(w):w===124?(l=!0,t.enter("tableCellDivider"),t.consume(w),t.exit("tableCellDivider"),f):b(w)}function f(w){return i1(w)?e1(t,V,"whitespace")(w):V(w)}function V(w){return w===58?(n+=1,l=!0,t.enter("tableDelimiterMarker"),t.consume(w),t.exit("tableDelimiterMarker"),u):w===45?(n+=1,u(w)):w===null||K(w)?y(w):b(w)}function u(w){return w===45?(t.enter("tableDelimiterFiller"),m(w)):b(w)}function m(w){return w===45?(t.consume(w),m):w===58?(l=!0,t.exit("tableDelimiterFiller"),t.enter("tableDelimiterMarker"),t.consume(w),t.exit("tableDelimiterMarker"),z):(t.exit("tableDelimiterFiller"),z(w))}function z(w){return i1(w)?e1(t,y,"whitespace")(w):y(w)}function y(w){return w===124?g(w):w===null||K(w)?!l||i!==n?b(w):(t.exit("tableDelimiterRow"),t.exit("tableHead"),e(w)):b(w)}function b(w){return r(w)}function x(w){return t.enter("tableRow"),S(w)}function S(w){return w===124?(t.enter("tableCellDivider"),t.consume(w),t.exit("tableCellDivider"),S):w===null||K(w)?(t.exit("tableRow"),e(w)):i1(w)?e1(t,S,"whitespace")(w):(t.enter("data"),C(w))}function C(w){return w===null||w===124||m1(w)?(t.exit("data"),S(w)):(t.consume(w),w===92?O:C)}function O(w){return w===92||w===124?(t.consume(w),C):C(w)}}function AE(t,e){let r=-1,a=!0,i=0,n=[0,0,0,0],l=[0,0,0,0],o=!1,c=0,h,d,s,v=new r5;for(;++r<t.length;){let p=t[r],g=p[1];p[0]==="enter"?g.type==="tableHead"?(o=!1,c!==0&&(CV(v,e,c,h,d),d=void 0,c=0),h={type:"table",start:Object.assign({},g.start),end:Object.assign({},g.end)},v.add(r,0,[["enter",h,e]])):g.type==="tableRow"||g.type==="tableDelimiterRow"?(a=!0,s=void 0,n=[0,0,0,0],l=[0,r+1,0,0],o&&(o=!1,d={type:"tableBody",start:Object.assign({},g.start),end:Object.assign({},g.end)},v.add(r,0,[["enter",d,e]])),i=g.type==="tableDelimiterRow"?2:d?3:1):i&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")?(a=!1,l[2]===0&&(n[1]!==0&&(l[0]=l[1],s=a5(v,e,n,i,void 0,s),n=[0,0,0,0]),l[2]=r)):g.type==="tableCellDivider"&&(a?a=!1:(n[1]!==0&&(l[0]=l[1],s=a5(v,e,n,i,void 0,s)),n=l,l=[n[1],r,0,0])):g.type==="tableHead"?(o=!0,c=r):g.type==="tableRow"||g.type==="tableDelimiterRow"?(c=r,n[1]!==0?(l[0]=l[1],s=a5(v,e,n,i,r,s)):l[1]!==0&&(s=a5(v,e,l,i,r,s)),i=0):i&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")&&(l[3]=r)}for(c!==0&&CV(v,e,c,h,d),v.consume(e.events),r=-1;++r<e.events.length;){let p=e.events[r];p[0]==="enter"&&p[1].type==="table"&&(p[1]._align=LV(e.events,r))}return t}function a5(t,e,r,a,i,n){let l=a===1?"tableHeader":a===2?"tableDelimiter":"tableData",o="tableContent";r[0]!==0&&(n.end=Object.assign({},Ya(e.events,r[0])),t.add(r[0],0,[["exit",n,e]]));let c=Ya(e.events,r[1]);if(n={type:l,start:Object.assign({},c),end:Object.assign({},c)},t.add(r[1],0,[["enter",n,e]]),r[2]!==0){let h=Ya(e.events,r[2]),d=Ya(e.events,r[3]),s={type:o,start:Object.assign({},h),end:Object.assign({},d)};if(t.add(r[2],0,[["enter",s,e]]),a!==2){let v=e.events[r[2]],p=e.events[r[3]];if(v[1].end=Object.assign({},p[1].end),v[1].type="chunkText",v[1].contentType="text",r[3]>r[2]+1){let g=r[2]+1,f=r[3]-r[2]-1;t.add(g,f,[])}}t.add(r[3]+1,0,[["exit",s,e]])}return i!==void 0&&(n.end=Object.assign({},Ya(e.events,i)),t.add(i,0,[["exit",n,e]]),n=void 0),n}function CV(t,e,r,a,i){let n=[],l=Ya(e.events,r);i&&(i.end=Object.assign({},l),n.push(["exit",i,e])),a.end=Object.assign({},l),n.push(["exit",a,e]),t.add(r+1,0,n)}function Ya(t,e){let r=t[e],a=r[0]==="enter"?"start":"end";return r[1][a]}var _E={name:"tasklistCheck",tokenize:EE};function X9(){return{text:{91:_E}}}function EE(t,e,r){let a=this;return i;function i(c){return a.previous!==null||!a._gfmTasklistFirstContentOfListItem?r(c):(t.enter("taskListCheck"),t.enter("taskListCheckMarker"),t.consume(c),t.exit("taskListCheckMarker"),n)}function n(c){return m1(c)?(t.enter("taskListCheckValueUnchecked"),t.consume(c),t.exit("taskListCheckValueUnchecked"),l):c===88||c===120?(t.enter("taskListCheckValueChecked"),t.consume(c),t.exit("taskListCheckValueChecked"),l):r(c)}function l(c){return c===93?(t.enter("taskListCheckMarker"),t.consume(c),t.exit("taskListCheckMarker"),t.exit("taskListCheck"),o):r(c)}function o(c){return K(c)?e(c):i1(c)?t.check({tokenize:TE},e,r)(c):r(c)}}function TE(t,e,r){return e1(t,a,"whitespace");function a(i){return i===null?r(i):e(i)}}function SV(t){return fo([j9(),q9(),Y9(t),Q9(),X9()])}var RE={};function i5(t){let e=this,r=t||RE,a=e.data(),i=a.micromarkExtensions||(a.micromarkExtensions=[]),n=a.fromMarkdownExtensions||(a.fromMarkdownExtensions=[]),l=a.toMarkdownExtensions||(a.toMarkdownExtensions=[]);i.push(SV(r)),n.push(U9()),l.push(G9(r))}var R1=P(n1(),1),PE=e2("img"),BV={"& .hljs-comment, & .hljs-quote":{color:"fg.subtle",fontStyle:"italic"},"& .hljs-keyword, & .hljs-selector-tag, & .hljs-literal, & .hljs-type, & .hljs-built_in":{color:"info.fg"},"& .hljs-string, & .hljs-addition, & .hljs-attr, & .hljs-attribute":{color:"positive.fg"},"& .hljs-number, & .hljs-variable, & .hljs-template-variable, & .hljs-regexp":{color:"warning.fg"},"& .hljs-title, & .hljs-section, & .hljs-name, & .hljs-selector-id, & .hljs-selector-class":{color:"primary.fg"},"& .hljs-meta, & .hljs-symbol, & .hljs-bullet, & .hljs-link":{color:"secondary.fg"},"& .hljs-deletion":{color:"negative.fg"},"& .hljs-strong":{fontWeight:"bold"},"& .hljs-emphasis":{fontStyle:"italic"}};function IE({children:t}){return(0,R1.jsx)(v1,{as:"pre",bg:"bg.subtle",borderWidth:"1px",borderColor:"border.subtle",borderRadius:"md",p:3,my:3,overflowX:"auto",fontSize:"xs",fontFamily:"mono",lineHeight:"tall",children:t})}function NE(t){return!!(t&&(t.includes("hljs")||t.includes("language-")))}var DE={h1:({children:t})=>(0,R1.jsx)(v1,{as:"h1",fontSize:"2xl",fontWeight:"bold",color:"fg",letterSpacing:"tight",mt:5,mb:2,children:t}),h2:({children:t})=>(0,R1.jsx)(v1,{as:"h2",fontSize:"xl",fontWeight:"bold",color:"fg",mt:5,mb:2,children:t}),h3:({children:t})=>(0,R1.jsx)(v1,{as:"h3",fontSize:"lg",fontWeight:"semibold",color:"fg",mt:4,mb:1.5,children:t}),h4:({children:t})=>(0,R1.jsx)(v1,{as:"h4",fontSize:"md",fontWeight:"semibold",color:"fg",mt:3,mb:1,children:t}),h5:({children:t})=>(0,R1.jsx)(v1,{as:"h5",fontSize:"sm",fontWeight:"semibold",color:"fg.muted",mt:3,mb:1,children:t}),h6:({children:t})=>(0,R1.jsx)(v1,{as:"h6",fontSize:"sm",fontWeight:"semibold",color:"fg.muted",mt:3,mb:1,children:t}),p:({children:t})=>(0,R1.jsx)(v1,{as:"p",fontSize:"sm",color:"fg",lineHeight:"tall",children:t}),a:({children:t,href:e})=>{let r=!!(e&&/^[a-z]+:\/\//i.test(e));return(0,R1.jsx)(Q3,{href:e,color:"primary.fg",textDecoration:"underline",...r?{target:"_blank",rel:"noopener noreferrer"}:{},children:t})},ul:({children:t})=>(0,R1.jsx)(v1,{as:"ul",pl:6,fontSize:"sm",color:"fg",lineHeight:"tall",css:{listStyleType:"disc"},children:t}),ol:({children:t})=>(0,R1.jsx)(v1,{as:"ol",pl:6,fontSize:"sm",color:"fg",lineHeight:"tall",css:{listStyleType:"decimal"},children:t}),li:({children:t})=>(0,R1.jsx)(v1,{as:"li",mb:1,css:{display:"list-item"},children:t}),strong:({children:t})=>(0,R1.jsx)(v1,{as:"strong",fontWeight:"bold",color:"fg",children:t}),em:({children:t})=>(0,R1.jsx)(v1,{as:"em",fontStyle:"italic",children:t}),hr:()=>(0,R1.jsx)(v1,{as:"hr",borderTopWidth:"1px",borderColor:"border.subtle",my:4}),blockquote:({children:t})=>(0,R1.jsx)(v1,{as:"blockquote",borderLeftWidth:"3px",borderColor:"border.emphasized",pl:4,py:1,my:3,color:"fg.muted",fontStyle:"italic",children:t}),pre:IE,code:({className:t,children:e})=>NE(t)?(0,R1.jsx)(v1,{as:"code",className:t,fontFamily:"mono",css:{background:"transparent",padding:0,color:"inherit"},children:e}):(0,R1.jsx)(v1,{as:"code",fontFamily:"mono",fontSize:"0.85em",bg:"bg.subtle",borderWidth:"1px",borderColor:"border.subtle",borderRadius:"sm",px:1.5,py:.5,color:"fg",children:e}),table:({children:t})=>(0,R1.jsx)(v1,{overflowX:"auto",my:3,children:(0,R1.jsx)(v1,{as:"table",fontSize:"sm",color:"fg",w:"full",css:{borderCollapse:"collapse"},children:t})}),th:({children:t})=>(0,R1.jsx)(v1,{as:"th",textAlign:"start",fontWeight:"semibold",px:3,py:2,bg:"bg.subtle",borderBottomWidth:"2px",borderColor:"border.muted",children:t}),td:({children:t})=>(0,R1.jsx)(v1,{as:"td",px:3,py:2,borderBottomWidth:"1px",borderColor:"border.subtle",children:t}),img:({src:t,alt:e})=>(0,R1.jsx)(PE,{src:typeof t=="string"?t:void 0,alt:e,maxW:"full",borderRadius:"sm"})};function Ai({content:t,css:e,...r}){let a=(0,Z9.useMemo)(()=>[i5],[]),i=(0,Z9.useMemo)(()=>[t5],[]);return(0,R1.jsx)(v1,{display:"flex",flexDirection:"column",gap:2,w:"full",minW:0,css:e?[BV,e].flat():BV,...r,children:(0,R1.jsx)(Xd,{remarkPlugins:a,rehypePlugins:i,components:DE,children:t})})}var kV=P(c1(),1);var OV=P(n1(),1);var AV=P(n1(),1);var _V=P(c1(),1);var EV=P(n1(),1);var FE=P(c1(),1);var TV=P(n1(),1);var mr=P(c1(),1);var $=P(n1(),1),Qa=[{status:"blocked",label:"blocked",color:"negative.solid"},{status:"in-progress",label:"in progress",color:"primary.solid"},{status:"queue",label:"queued",color:"fg.muted"},{status:"complete",label:"done",color:"positive.solid"}],FV=new Map(Qa.map(t=>[t.status,t.color])),RV=new Map(Qa.map((t,e)=>[t.status,e]));function PV(t){let e=new Map;for(let r of t)e.set(r.status,(e.get(r.status)??0)+1);return e}function WE(t,e){let r=(RV.get(t.status)??9)-(RV.get(e.status)??9);return r!==0?r:t.title.localeCompare(e.title)}function IV(t,e){let r=new Map;for(let a of t){let i=r.get(e(a));i?i.push(a):r.set(e(a),[a])}return r}function UE(t){return[...IV(t,e=>e.version)].map(([e,r])=>({version:e,items:r,counts:PV(r),goals:[...IV(r,a=>a.epic)].map(([a,i])=>({epic:a,items:i,counts:PV(i)})).sort((a,i)=>{let n=o=>(o.counts.get("in-progress")??0)>0,l=o=>o.items.length-(o.counts.get("complete")??0);return n(a)!==n(i)?n(a)?-1:1:l(a)>0!=l(i)>0?l(a)>0?-1:1:a.epic.localeCompare(i.epic)})})).sort((e,r)=>{let a=i=>(i.counts.get("in-progress")??0)>0;return a(e)!==a(r)?a(e)?-1:1:r.version.localeCompare(e.version)})}function NV(t){return t.replace(/\[([^\]]*)\]\([^)]*\)/g,"$1").replace(/[`*_]/g,"").trim().toLowerCase()}function GE(t,e){let r=t.split(`
|
|
45
|
+
`),a=0;if(r[0]?.trim()==="---"){let n=r.findIndex((l,o)=>o>0&&l.trim()==="---");n>0&&(a=n+1)}for(;a<r.length&&!r[a]?.trim();)a++;let i=r[a];return i?.startsWith("# ")&&NV(i.slice(2))===NV(e)&&a++,r.slice(a).join(`
|
|
46
|
+
`).trim()}function DV(t,e){let r=new Set(t);return r.has(e)?r.delete(e):r.add(e),r}function WV(t){let e=t[t.length-1];return e?{by:e.by,quiet:e.quiet}:null}function $E({item:t,selected:e,onSelect:r}){let a=WV(t.holders),i=FV.get(t.status)??"fg.muted";return(0,$.jsx)(v1,{as:"button",onClick:r,w:"full",textAlign:"left",px:2.5,py:2,borderRadius:"lg",borderWidth:"1px",borderColor:e?"primary.solid":"transparent",bg:e?"bg.emphasized":"transparent",cursor:"pointer",transition:"background 120ms, border-color 120ms",_hover:{bg:e?"bg.emphasized":"bg.subtle"},children:(0,$.jsxs)(ct,{align:"start",gap:2,children:[(0,$.jsx)(v1,{pt:1.5,children:(0,$.jsx)(cr,{color:i,hollow:t.status==="queue"})}),(0,$.jsxs)(yt,{align:"stretch",gap:.5,flex:1,minW:0,children:[(0,$.jsx)(u1,{fontSize:"sm",color:"fg",lineClamp:2,children:t.title}),(a||t.status==="blocked")&&(0,$.jsxs)(ct,{gap:2,wrap:"wrap",children:[a&&(0,$.jsxs)(u1,{fontSize:"xs",color:a.quiet?"fg.subtle":"fg.muted",children:[a.by,a.quiet?" \xB7 idle":""]}),t.status==="blocked"&&(0,$.jsx)(u1,{fontSize:"xs",color:"negative.fg",children:"blocked"})]})]})]})})}function jE({goal:t,open:e,onToggle:r,selectedId:a,onSelect:i,matches:n}){let l=t.items.filter(n).sort(WE),o=t.counts.get("complete")??0,c=(t.counts.get("in-progress")??0)>0;return l.length===0?null:(0,$.jsxs)(yt,{align:"stretch",gap:.5,children:[(0,$.jsx)(v1,{as:"button",onClick:r,textAlign:"left",cursor:"pointer",px:2.5,py:1,borderRadius:"md",_hover:{bg:"bg.subtle"},children:(0,$.jsxs)(ct,{justify:"space-between",gap:2,children:[(0,$.jsxs)(ct,{gap:1.5,minW:0,children:[(0,$.jsx)(u1,{fontSize:"xs",color:"fg.subtle",w:3,flex:"none",children:e?"\u25BE":"\u25B8"}),(0,$.jsx)(u1,{fontSize:"xs",fontWeight:"medium",color:c?"fg":"fg.muted",truncate:!0,children:t.epic})]}),(0,$.jsxs)(u1,{fontSize:"xs",color:"fg.subtle",flex:"none",children:[o," of ",t.items.length]})]})}),e&&(0,$.jsx)(yt,{align:"stretch",gap:.5,pl:3,children:l.map(h=>(0,$.jsx)($E,{item:h,selected:h.id===a,onSelect:()=>i(h)},h.id))})]})}function KE({release:t,open:e,onToggle:r,statusFilter:a,onStatus:i,isGoalOpen:n,onGoal:l,selectedId:o,onSelect:c,matches:h}){let d=Qa.filter(v=>(t.counts.get(v.status)??0)>0),s=t.goals.filter(v=>v.items.some(h));return(0,$.jsxs)(yt,{align:"stretch",gap:2,children:[(0,$.jsx)(v1,{as:"button",onClick:r,textAlign:"left",cursor:"pointer",px:1,_hover:{opacity:.8},children:(0,$.jsxs)(ct,{justify:"space-between",gap:2,children:[(0,$.jsx)(u1,{fontSize:"sm",fontWeight:"semibold",color:"fg",truncate:!0,children:t.version}),(0,$.jsxs)(u1,{fontSize:"xs",color:"fg.subtle",children:[t.counts.get("complete")??0," of ",t.items.length]})]})}),(0,$.jsx)(v1,{px:1,children:(0,$.jsx)(pi,{segments:Qa.map(v=>({label:v.label,count:t.counts.get(v.status)??0,color:v.color}))})}),(0,$.jsx)(ct,{gap:1.5,wrap:"wrap",px:1,children:d.map(v=>(0,$.jsx)(Ur,{label:v.label,count:t.counts.get(v.status)??0,color:v.color,pressed:a===v.status,dimmed:a!==null,onPress:()=>i(v.status)},v.status))}),e&&(0,$.jsx)(yt,{align:"stretch",gap:1,children:s.length===0?(0,$.jsx)(u1,{fontSize:"xs",color:"fg.subtle",px:2.5,py:1,children:"Nothing here matches."}):s.map(v=>(0,$.jsx)(jE,{goal:v,open:n(v),onToggle:()=>l(v.epic),selectedId:o,onSelect:c,matches:h},v.epic))})]})}function qE({item:t,onOpen:e}){let r=WV(t.holders),a=FV.get(t.status)??"fg.muted",i=Qa.find(n=>n.status===t.status)?.label??t.status;return(0,$.jsxs)(yt,{align:"stretch",gap:5,p:6,children:[(0,$.jsxs)(yt,{align:"stretch",gap:2,children:[(0,$.jsxs)(ct,{gap:2,children:[(0,$.jsx)(cr,{color:a,size:2.5}),(0,$.jsxs)(u1,{fontSize:"xs",color:"fg.muted",children:[i," \xB7 ",t.priority," \xB7 ",t.version]})]}),(0,$.jsx)(o3,{size:"lg",color:"fg",children:t.title}),(0,$.jsx)(u1,{fontSize:"xs",color:"fg.subtle",fontFamily:"mono",children:t.id})]}),r&&(0,$.jsx)(n5,{label:"On it",children:(0,$.jsxs)(u1,{fontSize:"sm",color:"fg",children:[r.by,r.quiet&&(0,$.jsxs)(u1,{as:"span",color:"fg.subtle",children:[" ","\u2014 no commits in over eight hours"]})]})}),t.dependsOn.length>0&&(0,$.jsx)(n5,{label:"Waiting on",children:(0,$.jsx)(yt,{align:"stretch",gap:1,children:t.dependsOn.map(n=>(0,$.jsx)(u1,{fontSize:"sm",color:"primary.fg",fontFamily:"mono",cursor:"pointer",onClick:()=>e(n),_hover:{textDecoration:"underline"},children:n},n))})}),t.owner&&(0,$.jsx)(n5,{label:"Serves",children:(0,$.jsxs)(u1,{fontSize:"sm",color:"fg",children:[t.owner,t.covers.length>0&&(0,$.jsxs)(u1,{as:"span",color:"fg.muted",children:[" ","\u2014 ",t.covers.join(", ")]})]})}),t.code.length>0&&(0,$.jsx)(n5,{label:"Touches",children:(0,$.jsx)(u1,{fontSize:"sm",color:"fg",children:t.code.join(" \xB7 ")})}),(0,$.jsx)(v1,{borderTopWidth:"1px",borderColor:"border.subtle",pt:5,children:(0,$.jsx)(YE,{item:t})})]})}function YE({item:t}){let{data:e,refusal:r,loading:a}=td(t.id),i=e?.brief?GE(e.brief,t.title):"";return(0,$.jsxs)(yt,{align:"stretch",gap:3,children:[a&&(0,$.jsx)(u1,{fontSize:"sm",color:"fg.subtle",children:"Reading the brief\u2026"}),r&&(0,$.jsx)(u1,{fontSize:"sm",color:"negative.fg",children:r}),e&&!e.brief&&(0,$.jsx)(u1,{fontSize:"sm",color:"fg.muted",children:"This item has a brief at the path below, and its text could not be read from here."}),e?.brief&&!i&&(0,$.jsx)(u1,{fontSize:"sm",color:"fg.muted",children:"This brief has nothing in it yet."}),i&&(0,$.jsx)(Ai,{content:i}),(0,$.jsx)(u1,{fontSize:"xs",color:"fg.subtle",fontFamily:"mono",children:t.path})]})}function n5({label:t,children:e}){return(0,$.jsxs)(yt,{align:"stretch",gap:1,children:[(0,$.jsx)(u1,{fontSize:"xs",color:"fg.subtle",textTransform:"uppercase",letterSpacing:"wider",children:t}),e]})}function l5({onOpen:t}){let{data:e,refusal:r,loading:a}=oo(),[i,n]=(0,mr.useState)(""),[l,o]=(0,mr.useState)(null),[c,h]=(0,mr.useState)(null),[d,s]=(0,mr.useState)(new Set),[v,p]=(0,mr.useState)(new Set),g=(0,mr.useMemo)(()=>UE(e?.items??[]),[e]),f=g.find(b=>(b.counts.get("in-progress")??0)>0)?.version,V=l!==null||i!=="",u=b=>{if(V)return!0;let x=b===f;return d.has(b)?!x:x},m=b=>{if(V)return!0;let x=(b.counts.get("in-progress")??0)>0;return v.has(b.epic)?!x:x},z=b=>{if(l&&b.status!==l)return!1;if(!i)return!0;let x=i.toLowerCase();return b.title.toLowerCase().includes(x)||b.id.toLowerCase().includes(x)},y=new Map;for(let b of e?.items??[])y.set(b.status,(y.get(b.status)??0)+1);return r?(0,$.jsx)(hr,{variant:"card",title:"The board could not be reached",description:r}):!a&&(e?.items.length??0)===0?(0,$.jsx)(hr,{variant:"card",title:"Nothing on the board",description:"This workspace has recorded no work. That is a board with nothing on it, not a board that could not be read."}):(0,$.jsxs)(a2,{direction:{base:"column",md:"row"},flex:1,minH:0,w:"full",children:[(0,$.jsxs)(a2,{direction:"column",w:{base:"full",md:"360px"},flex:"none",minH:0,borderRightWidth:{base:0,md:"1px"},borderBottomWidth:{base:"1px",md:0},borderColor:"border.subtle",children:[(0,$.jsxs)(yt,{align:"stretch",gap:2,p:3,borderBottomWidth:"1px",borderColor:"border.subtle",children:[(0,$.jsx)(Ra,{value:i,onChange:n,placeholder:"Filter work\u2026"}),(0,$.jsxs)(ct,{gap:1.5,wrap:"wrap",children:[(0,$.jsx)(Ur,{label:"all",count:e?.items.length??0,pressed:l===null,onPress:()=>o(null)}),Qa.filter(b=>(y.get(b.status)??0)>0).map(b=>(0,$.jsx)(Ur,{label:b.label,count:y.get(b.status)??0,color:b.color,pressed:l===b.status,dimmed:l!==null,onPress:()=>o(l===b.status?null:b.status)},b.status))]})]}),(0,$.jsx)(v1,{flex:1,minH:0,overflowY:"auto",p:3,children:a?(0,$.jsx)(u1,{fontSize:"sm",color:"fg.subtle",px:1,children:"Reading the board\u2026"}):(0,$.jsx)(yt,{align:"stretch",gap:5,children:g.map(b=>(0,$.jsx)(KE,{release:b,open:u(b.version),onToggle:()=>s(x=>DV(x,b.version)),isGoalOpen:m,onGoal:x=>p(S=>DV(S,x)),statusFilter:l,onStatus:x=>o(l===x?null:x),selectedId:c?.id??null,onSelect:h,matches:z},b.version))})})]}),(0,$.jsx)(v1,{flex:1,minW:0,minH:0,overflowY:"auto",children:c?(0,$.jsx)(qE,{item:c,onOpen:t},c.id):(0,$.jsx)(a2,{align:"center",justify:"center",h:"full",p:6,children:(0,$.jsx)(u1,{fontSize:"sm",color:"fg.subtle",children:"Select something to read it."})})})]})}var rs={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};for(let t in rs)Object.freeze(rs[t]);var E2=Object.freeze(rs);var UV=Object.create(null);for(let t in E2)Object.hasOwn(E2,t)&&(UV[E2[t]]=t);var n2={to:{},get:{}};n2.get=function(t){let e=t.slice(0,3).toLowerCase(),r,a;switch(e){case"hsl":{r=n2.get.hsl(t),a="hsl";break}case"hwb":{r=n2.get.hwb(t),a="hwb";break}default:{r=n2.get.rgb(t),a="rgb";break}}return r?{model:a,value:r}:null};n2.get.rgb=function(t){if(!t)return null;let e=/^#([a-f\d]{3,4})$/i,r=/^#([a-f\d]{6})([a-f\d]{2})?$/i,a=/^rgba?\(\s*([+-]?(?:\d*\.)?\d+(?:e\d+)?)(?=[\s,])\s*(?:,\s*)?([+-]?(?:\d*\.)?\d+(?:e\d+)?)(?=[\s,])\s*(?:,\s*)?([+-]?(?:\d*\.)?\d+(?:e\d+)?)\s*(?:[\s,|/]\s*([+-]?(?:\d*\.)?\d+(?:e\d+)?)(%?)\s*)?\)$/i,i=/^rgba?\(\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[\s,|/]\s*([+-]?[\d.]+)(%?)\s*)?\)$/i,n=/^(\w+)$/,l=[0,0,0,1],o,c,h;if(o=t.match(r)){for(h=o[2],o=o[1],c=0;c<3;c++){let d=c*2;l[c]=Number.parseInt(o.slice(d,d+2),16)}h&&(l[3]=Number.parseInt(h,16)/255)}else if(o=t.match(e)){for(o=o[1],h=o[3],c=0;c<3;c++)l[c]=Number.parseInt(o[c]+o[c],16);h&&(l[3]=Number.parseInt(h+h,16)/255)}else if(o=t.match(a)){for(c=0;c<3;c++)l[c]=Number.parseFloat(o[c+1]);o[4]&&(l[3]=o[5]?Number.parseFloat(o[4])*.01:Number.parseFloat(o[4]))}else if(o=t.match(i)){for(c=0;c<3;c++)l[c]=Math.round(Number.parseFloat(o[c+1])*2.55);o[4]&&(l[3]=o[5]?Number.parseFloat(o[4])*.01:Number.parseFloat(o[4]))}else return(o=t.toLowerCase().match(n))?o[1]==="transparent"?[0,0,0,0]:Object.hasOwn(E2,o[1])?(l=E2[o[1]].slice(),l[3]=1,l):null:null;for(c=0;c<3;c++)l[c]=fr(l[c],0,255);return l[3]=fr(l[3],0,1),l};n2.get.hsl=function(t){if(!t)return null;let e=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[,|/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:e[+-]?\d+)?)\s*)?\)$/i,r=t.match(e);if(r){let a=Number.parseFloat(r[4]),i=(Number.parseFloat(r[1])%360+360)%360,n=fr(Number.parseFloat(r[2]),0,100),l=fr(Number.parseFloat(r[3]),0,100),o=fr(Number.isNaN(a)?1:a,0,1);return[i,n,l,o]}return null};n2.get.hwb=function(t){if(!t)return null;let e=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*[\s,]\s*([+-]?[\d.]+)%\s*[\s,]\s*([+-]?[\d.]+)%\s*(?:[\s,]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:e[+-]?\d+)?)\s*)?\)$/i,r=t.match(e);if(r){let a=Number.parseFloat(r[4]),i=(Number.parseFloat(r[1])%360+360)%360,n=fr(Number.parseFloat(r[2]),0,100),l=fr(Number.parseFloat(r[3]),0,100),o=fr(Number.isNaN(a)?1:a,0,1);return[i,n,l,o]}return null};n2.to.hex=function(...t){return"#"+o5(t[0])+o5(t[1])+o5(t[2])+(t[3]<1?o5(Math.round(t[3]*255)):"")};n2.to.rgb=function(...t){return t.length<4||t[3]===1?"rgb("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+")":"rgba("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+", "+t[3]+")"};n2.to.rgb.percent=function(...t){let e=Math.round(t[0]/255*100),r=Math.round(t[1]/255*100),a=Math.round(t[2]/255*100);return t.length<4||t[3]===1?"rgb("+e+"%, "+r+"%, "+a+"%)":"rgba("+e+"%, "+r+"%, "+a+"%, "+t[3]+")"};n2.to.hsl=function(...t){return t.length<4||t[3]===1?"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)":"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+t[3]+")"};n2.to.hwb=function(...t){let e="";return t.length>=4&&t[3]!==1&&(e=", "+t[3]),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+e+")"};n2.to.keyword=function(...t){return UV[t.slice(0,3)]};function fr(t,e,r){return Math.min(Math.max(e,t),r)}function o5(t){let e=Math.round(t).toString(16).toUpperCase();return e.length<2?"0"+e:e}var l0=n2;var GV={};for(let t of Object.keys(E2))GV[E2[t]]=t;var q={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},oklab:{channels:3,labels:["okl","oka","okb"]},lch:{channels:3,labels:"lch"},oklch:{channels:3,labels:["okl","okc","okh"]},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}},ke=q,Be=(6/29)**3;function Xa(t){let e=t>.0031308?1.055*t**.4166666666666667-.055:t*12.92;return Math.min(Math.max(0,e),1)}function Za(t){return t>.04045?((t+.055)/1.055)**2.4:t/12.92}for(let t of Object.keys(q)){if(!("channels"in q[t]))throw new Error("missing channels property: "+t);if(!("labels"in q[t]))throw new Error("missing channel labels property: "+t);if(q[t].labels.length!==q[t].channels)throw new Error("channel and label counts mismatch: "+t);let{channels:e,labels:r}=q[t];delete q[t].channels,delete q[t].labels,Object.defineProperty(q[t],"channels",{value:e}),Object.defineProperty(q[t],"labels",{value:r})}q.rgb.hsl=function(t){let e=t[0]/255,r=t[1]/255,a=t[2]/255,i=Math.min(e,r,a),n=Math.max(e,r,a),l=n-i,o,c;switch(n){case i:{o=0;break}case e:{o=(r-a)/l;break}case r:{o=2+(a-e)/l;break}case a:{o=4+(e-r)/l;break}}o=Math.min(o*60,360),o<0&&(o+=360);let h=(i+n)/2;return n===i?c=0:h<=.5?c=l/(n+i):c=l/(2-n-i),[o,c*100,h*100]};q.rgb.hsv=function(t){let e,r,a,i,n,l=t[0]/255,o=t[1]/255,c=t[2]/255,h=Math.max(l,o,c),d=h-Math.min(l,o,c),s=function(v){return(h-v)/6/d+1/2};if(d===0)i=0,n=0;else{switch(n=d/h,e=s(l),r=s(o),a=s(c),h){case l:{i=a-r;break}case o:{i=1/3+e-a;break}case c:{i=2/3+r-e;break}}i<0?i+=1:i>1&&(i-=1)}return[i*360,n*100,h*100]};q.rgb.hwb=function(t){let e=t[0],r=t[1],a=t[2],i=q.rgb.hsl(t)[0],n=1/255*Math.min(e,Math.min(r,a));return a=1-1/255*Math.max(e,Math.max(r,a)),[i,n*100,a*100]};q.rgb.oklab=function(t){let e=Za(t[0]/255),r=Za(t[1]/255),a=Za(t[2]/255),i=Math.cbrt(.4122214708*e+.5363325363*r+.0514459929*a),n=Math.cbrt(.2119034982*e+.6806995451*r+.1073969566*a),l=Math.cbrt(.0883024619*e+.2817188376*r+.6299787005*a),o=.2104542553*i+.793617785*n-.0040720468*l,c=1.9779984951*i-2.428592205*n+.4505937099*l,h=.0259040371*i+.7827717662*n-.808675766*l;return[o*100,c*100,h*100]};q.rgb.cmyk=function(t){let e=t[0]/255,r=t[1]/255,a=t[2]/255,i=Math.min(1-e,1-r,1-a),n=(1-e-i)/(1-i)||0,l=(1-r-i)/(1-i)||0,o=(1-a-i)/(1-i)||0;return[n*100,l*100,o*100,i*100]};function eT(t,e){return(t[0]-e[0])**2+(t[1]-e[1])**2+(t[2]-e[2])**2}q.rgb.keyword=function(t){let e=GV[t];if(e)return e;let r=Number.POSITIVE_INFINITY,a;for(let i of Object.keys(E2)){let n=E2[i],l=eT(t,n);l<r&&(r=l,a=i)}return a};q.keyword.rgb=function(t){return[...E2[t]]};q.rgb.xyz=function(t){let e=Za(t[0]/255),r=Za(t[1]/255),a=Za(t[2]/255),i=e*.4124564+r*.3575761+a*.1804375,n=e*.2126729+r*.7151522+a*.072175,l=e*.0193339+r*.119192+a*.9503041;return[i*100,n*100,l*100]};q.rgb.lab=function(t){let e=q.rgb.xyz(t),r=e[0],a=e[1],i=e[2];r/=95.047,a/=100,i/=108.883,r=r>Be?r**(1/3):7.787*r+16/116,a=a>Be?a**(1/3):7.787*a+16/116,i=i>Be?i**(1/3):7.787*i+16/116;let n=116*a-16,l=500*(r-a),o=200*(a-i);return[n,l,o]};q.hsl.rgb=function(t){let e=t[0]/360,r=t[1]/100,a=t[2]/100,i,n;if(r===0)return n=a*255,[n,n,n];let l=a<.5?a*(1+r):a+r-a*r,o=2*a-l,c=[0,0,0];for(let h=0;h<3;h++)i=e+1/3*-(h-1),i<0&&i++,i>1&&i--,6*i<1?n=o+(l-o)*6*i:2*i<1?n=l:3*i<2?n=o+(l-o)*(2/3-i)*6:n=o,c[h]=n*255;return c};q.hsl.hsv=function(t){let e=t[0],r=t[1]/100,a=t[2]/100,i=r,n=Math.max(a,.01);a*=2,r*=a<=1?a:2-a,i*=n<=1?n:2-n;let l=(a+r)/2,o=a===0?2*i/(n+i):2*r/(a+r);return[e,o*100,l*100]};q.hsv.rgb=function(t){let e=t[0]/60,r=t[1]/100,a=t[2]/100,i=Math.floor(e)%6,n=e-Math.floor(e),l=255*a*(1-r),o=255*a*(1-r*n),c=255*a*(1-r*(1-n));switch(a*=255,i){case 0:return[a,c,l];case 1:return[o,a,l];case 2:return[l,a,c];case 3:return[l,o,a];case 4:return[c,l,a];case 5:return[a,l,o]}};q.hsv.hsl=function(t){let e=t[0],r=t[1]/100,a=t[2]/100,i=Math.max(a,.01),n,l;l=(2-r)*a;let o=(2-r)*i;return n=r*i,n/=o<=1?o:2-o,n=n||0,l/=2,[e,n*100,l*100]};q.hwb.rgb=function(t){let e=t[0]/360,r=t[1]/100,a=t[2]/100,i=r+a,n;i>1&&(r/=i,a/=i);let l=Math.floor(6*e),o=1-a;n=6*e-l,(l&1)!==0&&(n=1-n);let c=r+n*(o-r),h,d,s;switch(l){default:case 6:case 0:{h=o,d=c,s=r;break}case 1:{h=c,d=o,s=r;break}case 2:{h=r,d=o,s=c;break}case 3:{h=r,d=c,s=o;break}case 4:{h=c,d=r,s=o;break}case 5:{h=o,d=r,s=c;break}}return[h*255,d*255,s*255]};q.cmyk.rgb=function(t){let e=t[0]/100,r=t[1]/100,a=t[2]/100,i=t[3]/100,n=1-Math.min(1,e*(1-i)+i),l=1-Math.min(1,r*(1-i)+i),o=1-Math.min(1,a*(1-i)+i);return[n*255,l*255,o*255]};q.xyz.rgb=function(t){let e=t[0]/100,r=t[1]/100,a=t[2]/100,i,n,l;return i=e*3.2404542+r*-1.5371385+a*-.4985314,n=e*-.969266+r*1.8760108+a*.041556,l=e*.0556434+r*-.2040259+a*1.0572252,i=Xa(i),n=Xa(n),l=Xa(l),[i*255,n*255,l*255]};q.xyz.lab=function(t){let e=t[0],r=t[1],a=t[2];e/=95.047,r/=100,a/=108.883,e=e>Be?e**(1/3):7.787*e+16/116,r=r>Be?r**(1/3):7.787*r+16/116,a=a>Be?a**(1/3):7.787*a+16/116;let i=116*r-16,n=500*(e-r),l=200*(r-a);return[i,n,l]};q.xyz.oklab=function(t){let e=t[0]/100,r=t[1]/100,a=t[2]/100,i=Math.cbrt(.8189330101*e+.3618667424*r-.1288597137*a),n=Math.cbrt(.0329845436*e+.9293118715*r+.0361456387*a),l=Math.cbrt(.0482003018*e+.2643662691*r+.633851707*a),o=.2104542553*i+.793617785*n-.0040720468*l,c=1.9779984951*i-2.428592205*n+.4505937099*l,h=.0259040371*i+.7827717662*n-.808675766*l;return[o*100,c*100,h*100]};q.oklab.oklch=function(t){return q.lab.lch(t)};q.oklab.xyz=function(t){let e=t[0]/100,r=t[1]/100,a=t[2]/100,i=(.999999998*e+.396337792*r+.215803758*a)**3,n=(1.000000008*e-.105561342*r-.063854175*a)**3,l=(1.000000055*e-.089484182*r-1.291485538*a)**3,o=1.227013851*i-.55779998*n+.281256149*l,c=-.040580178*i+1.11225687*n-.071676679*l,h=-.076381285*i-.421481978*n+1.58616322*l;return[o*100,c*100,h*100]};q.oklab.rgb=function(t){let e=t[0]/100,r=t[1]/100,a=t[2]/100,i=(e+.3963377774*r+.2158037573*a)**3,n=(e-.1055613458*r-.0638541728*a)**3,l=(e-.0894841775*r-1.291485548*a)**3,o=Xa(4.0767416621*i-3.3077115913*n+.2309699292*l),c=Xa(-1.2684380046*i+2.6097574011*n-.3413193965*l),h=Xa(-.0041960863*i-.7034186147*n+1.707614701*l);return[o*255,c*255,h*255]};q.oklch.oklab=function(t){return q.lch.lab(t)};q.lab.xyz=function(t){let e=t[0],r=t[1],a=t[2],i,n,l;n=(e+16)/116,i=r/500+n,l=n-a/200;let o=n**3,c=i**3,h=l**3;return n=o>Be?o:(n-16/116)/7.787,i=c>Be?c:(i-16/116)/7.787,l=h>Be?h:(l-16/116)/7.787,i*=95.047,n*=100,l*=108.883,[i,n,l]};q.lab.lch=function(t){let e=t[0],r=t[1],a=t[2],i;i=Math.atan2(a,r)*360/2/Math.PI,i<0&&(i+=360);let l=Math.sqrt(r*r+a*a);return[e,l,i]};q.lch.lab=function(t){let e=t[0],r=t[1],i=t[2]/360*2*Math.PI,n=r*Math.cos(i),l=r*Math.sin(i);return[e,n,l]};q.rgb.ansi16=function(t,e=null){let[r,a,i]=t,n=e===null?q.rgb.hsv(t)[2]:e;if(n=Math.round(n/50),n===0)return 30;let l=30+(Math.round(i/255)<<2|Math.round(a/255)<<1|Math.round(r/255));return n===2&&(l+=60),l};q.hsv.ansi16=function(t){return q.rgb.ansi16(q.hsv.rgb(t),t[2])};q.rgb.ansi256=function(t){let e=t[0],r=t[1],a=t[2];return e>>4===r>>4&&r>>4===a>>4?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(r/255*5)+Math.round(a/255*5)};q.ansi16.rgb=function(t){t=t[0];let e=t%10;if(e===0||e===7)return t>50&&(e+=3.5),e=e/10.5*255,[e,e,e];let r=(Math.trunc(t>50)+1)*.5,a=(e&1)*r*255,i=(e>>1&1)*r*255,n=(e>>2&1)*r*255;return[a,i,n]};q.ansi256.rgb=function(t){if(t=t[0],t>=232){let n=(t-232)*10+8;return[n,n,n]}t-=16;let e,r=Math.floor(t/36)/5*255,a=Math.floor((e=t%36)/6)/5*255,i=e%6/5*255;return[r,a,i]};q.rgb.hex=function(t){let r=(((Math.round(t[0])&255)<<16)+((Math.round(t[1])&255)<<8)+(Math.round(t[2])&255)).toString(16).toUpperCase();return"000000".slice(r.length)+r};q.hex.rgb=function(t){let e=t.toString(16).match(/[a-f\d]{6}|[a-f\d]{3}/i);if(!e)return[0,0,0];let r=e[0];e[0].length===3&&(r=[...r].map(o=>o+o).join(""));let a=Number.parseInt(r,16),i=a>>16&255,n=a>>8&255,l=a&255;return[i,n,l]};q.rgb.hcg=function(t){let e=t[0]/255,r=t[1]/255,a=t[2]/255,i=Math.max(Math.max(e,r),a),n=Math.min(Math.min(e,r),a),l=i-n,o,c=l<1?n/(1-l):0;return l<=0?o=0:i===e?o=(r-a)/l%6:i===r?o=2+(a-e)/l:o=4+(e-r)/l,o/=6,o%=1,[o*360,l*100,c*100]};q.hsl.hcg=function(t){let e=t[1]/100,r=t[2]/100,a=r<.5?2*e*r:2*e*(1-r),i=0;return a<1&&(i=(r-.5*a)/(1-a)),[t[0],a*100,i*100]};q.hsv.hcg=function(t){let e=t[1]/100,r=t[2]/100,a=e*r,i=0;return a<1&&(i=(r-a)/(1-a)),[t[0],a*100,i*100]};q.hcg.rgb=function(t){let e=t[0]/360,r=t[1]/100,a=t[2]/100;if(r===0)return[a*255,a*255,a*255];let i=[0,0,0],n=e%1*6,l=n%1,o=1-l,c=0;switch(Math.floor(n)){case 0:{i[0]=1,i[1]=l,i[2]=0;break}case 1:{i[0]=o,i[1]=1,i[2]=0;break}case 2:{i[0]=0,i[1]=1,i[2]=l;break}case 3:{i[0]=0,i[1]=o,i[2]=1;break}case 4:{i[0]=l,i[1]=0,i[2]=1;break}default:i[0]=1,i[1]=0,i[2]=o}return c=(1-r)*a,[(r*i[0]+c)*255,(r*i[1]+c)*255,(r*i[2]+c)*255]};q.hcg.hsv=function(t){let e=t[1]/100,r=t[2]/100,a=e+r*(1-e),i=0;return a>0&&(i=e/a),[t[0],i*100,a*100]};q.hcg.hsl=function(t){let e=t[1]/100,a=t[2]/100*(1-e)+.5*e,i=0;return a>0&&a<.5?i=e/(2*a):a>=.5&&a<1&&(i=e/(2*(1-a))),[t[0],i*100,a*100]};q.hcg.hwb=function(t){let e=t[1]/100,r=t[2]/100,a=e+r*(1-e);return[t[0],(a-e)*100,(1-a)*100]};q.hwb.hcg=function(t){let e=t[1]/100,a=1-t[2]/100,i=a-e,n=0;return i<1&&(n=(a-i)/(1-i)),[t[0],i*100,n*100]};q.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]};q.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]};q.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]};q.gray.hsl=function(t){return[0,0,t[0]]};q.gray.hsv=q.gray.hsl;q.gray.hwb=function(t){return[0,100,t[0]]};q.gray.cmyk=function(t){return[0,0,0,t[0]]};q.gray.lab=function(t){return[t[0],0,0]};q.gray.hex=function(t){let e=Math.round(t[0]/100*255)&255,a=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".slice(a.length)+a};q.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]};function rT(){let t={},e=Object.keys(ke);for(let{length:r}=e,a=0;a<r;a++)t[e[a]]={distance:-1,parent:null};return t}function aT(t){let e=rT(),r=[t];for(e[t].distance=0;r.length>0;){let a=r.pop(),i=Object.keys(ke[a]);for(let{length:n}=i,l=0;l<n;l++){let o=i[l],c=e[o];c.distance===-1&&(c.distance=e[a].distance+1,c.parent=a,r.unshift(o))}}return e}function iT(t,e){return function(r){return e(t(r))}}function nT(t,e){let r=[e[t].parent,t],a=ke[e[t].parent][t],i=e[t].parent;for(;e[i].parent;)r.unshift(e[i].parent),a=iT(ke[e[i].parent][i],a),i=e[i].parent;return a.conversion=r,a}function lT(t){let e=aT(t),r={},a=Object.keys(e);for(let{length:i}=a,n=0;n<i;n++){let l=a[n];e[l].parent!==null&&(r[l]=nT(l,e))}return r}var $V=lT;var Ja={},oT=Object.keys(ke);function cT(t){let e=function(...r){let a=r[0];return a==null?a:(a.length>1&&(r=a),t(r))};return"conversion"in t&&(e.conversion=t.conversion),e}function hT(t){let e=function(...r){let a=r[0];if(a==null)return a;a.length>1&&(r=a);let i=t(r);if(typeof i=="object")for(let{length:n}=i,l=0;l<n;l++)i[l]=Math.round(i[l]);return i};return"conversion"in t&&(e.conversion=t.conversion),e}for(let t of oT){Ja[t]={},Object.defineProperty(Ja[t],"channels",{value:ke[t].channels}),Object.defineProperty(Ja[t],"labels",{value:ke[t].labels});let e=$V(t),r=Object.keys(e);for(let a of r){let i=e[a];Ja[t][a]=hT(i),Ja[t][a].raw=cT(i)}}var l2=Ja;var jV=["keyword","gray","hex"],as={};for(let t of Object.keys(l2))as[[...l2[t].labels].sort().join("")]=t;var is={};function Ct(t,e){if(!(this instanceof Ct))return new Ct(t,e);if(e&&e in jV&&(e=null),e&&!(e in l2))throw new Error("Unknown model: "+e);let r,a;if(t==null)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(t instanceof Ct)this.model=t.model,this.color=[...t.color],this.valpha=t.valpha;else if(typeof t=="string"){let i=l0.get(t);if(i===null)throw new Error("Unable to parse color from string: "+t);this.model=i.model,a=l2[this.model].channels,this.color=i.value.slice(0,a),this.valpha=typeof i.value[a]=="number"?i.value[a]:1}else if(t.length>0){this.model=e||"rgb",a=l2[this.model].channels;let i=Array.prototype.slice.call(t,0,a);this.color=ns(i,a),this.valpha=typeof t[a]=="number"?t[a]:1}else if(typeof t=="number")this.model="rgb",this.color=[t>>16&255,t>>8&255,t&255],this.valpha=1;else{this.valpha=1;let i=Object.keys(t);"alpha"in t&&(i.splice(i.indexOf("alpha"),1),this.valpha=typeof t.alpha=="number"?t.alpha:0);let n=i.sort().join("");if(!(n in as))throw new Error("Unable to parse color from object: "+JSON.stringify(t));this.model=as[n];let{labels:l}=l2[this.model],o=[];for(r=0;r<l.length;r++)o.push(t[l[r]]);this.color=ns(o)}if(is[this.model])for(a=l2[this.model].channels,r=0;r<a;r++){let i=is[this.model][r];i&&(this.color[r]=i(this.color[r]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}Ct.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(t){let e=this.model in l0.to?this:this.rgb();e=e.round(typeof t=="number"?t:1);let r=e.valpha===1?e.color:[...e.color,this.valpha];return l0.to[e.model](...r)},percentString(t){let e=this.rgb().round(typeof t=="number"?t:1),r=e.valpha===1?e.color:[...e.color,this.valpha];return l0.to.rgb.percent(...r)},array(){return this.valpha===1?[...this.color]:[...this.color,this.valpha]},object(){let t={},{channels:e}=l2[this.model],{labels:r}=l2[this.model];for(let a=0;a<e;a++)t[r[a]]=this.color[a];return this.valpha!==1&&(t.alpha=this.valpha),t},unitArray(){let t=this.rgb().color;return t[0]/=255,t[1]/=255,t[2]/=255,this.valpha!==1&&t.push(this.valpha),t},unitObject(){let t=this.rgb().object();return t.r/=255,t.g/=255,t.b/=255,this.valpha!==1&&(t.alpha=this.valpha),t},round(t){return t=Math.max(t||0,0),new Ct([...this.color.map(sT(t)),this.valpha],this.model)},alpha(t){return t!==void 0?new Ct([...this.color,Math.max(0,Math.min(1,t))],this.model):this.valpha},red:Q1("rgb",0,ut(255)),green:Q1("rgb",1,ut(255)),blue:Q1("rgb",2,ut(255)),hue:Q1(["hsl","hsv","hsl","hwb","hcg"],0,t=>(t%360+360)%360),saturationl:Q1("hsl",1,ut(100)),lightness:Q1("hsl",2,ut(100)),saturationv:Q1("hsv",1,ut(100)),value:Q1("hsv",2,ut(100)),chroma:Q1("hcg",1,ut(100)),gray:Q1("hcg",2,ut(100)),white:Q1("hwb",1,ut(100)),wblack:Q1("hwb",2,ut(100)),cyan:Q1("cmyk",0,ut(100)),magenta:Q1("cmyk",1,ut(100)),yellow:Q1("cmyk",2,ut(100)),black:Q1("cmyk",3,ut(100)),x:Q1("xyz",0,ut(95.047)),y:Q1("xyz",1,ut(100)),z:Q1("xyz",2,ut(108.833)),l:Q1("lab",0,ut(100)),a:Q1("lab",1),b:Q1("lab",2),keyword(t){return t!==void 0?new Ct(t):l2[this.model].keyword(this.color)},hex(t){return t!==void 0?new Ct(t):l0.to.hex(...this.rgb().round().color)},hexa(t){if(t!==void 0)return new Ct(t);let e=this.rgb().round().color,r=Math.round(this.valpha*255).toString(16).toUpperCase();return r.length===1&&(r="0"+r),l0.to.hex(...e)+r},rgbNumber(){let t=this.rgb().color;return(t[0]&255)<<16|(t[1]&255)<<8|t[2]&255},luminosity(){let t=this.rgb().color,e=[];for(let[r,a]of t.entries()){let i=a/255;e[r]=i<=.04045?i/12.92:((i+.055)/1.055)**2.4}return .2126*e[0]+.7152*e[1]+.0722*e[2]},contrast(t){let e=this.luminosity(),r=t.luminosity();return e>r?(e+.05)/(r+.05):(r+.05)/(e+.05)},level(t){let e=this.contrast(t);return e>=7?"AAA":e>=4.5?"AA":""},isDark(){let t=this.rgb().color;return(t[0]*2126+t[1]*7152+t[2]*722)/1e4<128},isLight(){return!this.isDark()},negate(){let t=this.rgb();for(let e=0;e<3;e++)t.color[e]=255-t.color[e];return t},lighten(t){let e=this.hsl();return e.color[2]+=e.color[2]*t,e},darken(t){let e=this.hsl();return e.color[2]-=e.color[2]*t,e},saturate(t){let e=this.hsl();return e.color[1]+=e.color[1]*t,e},desaturate(t){let e=this.hsl();return e.color[1]-=e.color[1]*t,e},whiten(t){let e=this.hwb();return e.color[1]+=e.color[1]*t,e},blacken(t){let e=this.hwb();return e.color[2]+=e.color[2]*t,e},grayscale(){let t=this.rgb().color,e=t[0]*.3+t[1]*.59+t[2]*.11;return Ct.rgb(e,e,e)},fade(t){return this.alpha(this.valpha-this.valpha*t)},opaquer(t){return this.alpha(this.valpha+this.valpha*t)},rotate(t){let e=this.hsl(),r=e.color[0];return r=(r+t)%360,r=r<0?360+r:r,e.color[0]=r,e},mix(t,e){if(!t||!t.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof t);let r=t.rgb(),a=this.rgb(),i=e===void 0?.5:e,n=2*i-1,l=r.alpha()-a.alpha(),o=((n*l===-1?n:(n+l)/(1+n*l))+1)/2,c=1-o;return Ct.rgb(o*r.red()+c*a.red(),o*r.green()+c*a.green(),o*r.blue()+c*a.blue(),r.alpha()*i+a.alpha()*(1-i))}};for(let t of Object.keys(l2)){if(jV.includes(t))continue;let{channels:e}=l2[t];Ct.prototype[t]=function(...r){return this.model===t?new Ct(this):r.length>0?new Ct(r,t):new Ct([...vT(l2[this.model][t].raw(this.color)),this.valpha],t)},Ct[t]=function(...r){let a=r[0];return typeof a=="number"&&(a=ns(r,e)),new Ct(a,t)}}function dT(t,e){return Number(t.toFixed(e))}function sT(t){return function(e){return dT(e,t)}}function Q1(t,e,r){t=Array.isArray(t)?t:[t];for(let a of t)(is[a]||=[])[e]=r;return t=t[0],function(a){let i;return a!==void 0?(r&&(a=r(a)),i=this[t](),i.color[e]=a,i):(i=this[t]().color[e],r&&(i=r(i)),i)}}function ut(t){return function(e){return Math.max(0,Math.min(t,e))}}function vT(t){return Array.isArray(t)?t:[t]}function ns(t,e){for(let r=0;r<e;r++)typeof t[r]!="number"&&(t[r]=0);return t}var ls=Ct;function c5(t,e){try{let r=ls(t),a=r.lightness();return{50:{value:r.lightness(Math.min(a+45,98)).hex()},100:{value:r.lightness(Math.min(a+38,95)).hex()},200:{value:r.lightness(Math.min(a+30,90)).hex()},300:{value:r.lightness(Math.min(a+20,80)).hex()},400:{value:r.lightness(Math.min(a+10,70)).hex()},500:{value:r.hex()},600:{value:r.lightness(Math.max(a-10,40)).hex()},700:{value:r.lightness(Math.max(a-20,30)).hex()},800:{value:r.lightness(Math.max(a-30,20)).hex()},900:{value:r.lightness(Math.max(a-38,12)).hex()},950:{value:r.lightness(Math.max(a-45,8)).hex()}}}catch(r){throw console.error(`Error generating color palette for ${e||t}:`,r),new Error(`Invalid color format: ${t}. Please provide a valid hex, rgb, hsl, or color name.`)}}function h5(t){try{return ls(t),!0}catch{return!1}}function pT(t,e){let{paletteName:r,contrastColor:a="white",contrastColorDark:i}=e,n=i||a,l=r==="yellow",o=t==="warning",c=l?`{colors.${r}.600}`:`{colors.${r}.500}`,h=`{colors.${r}.500}`,d=o?`{colors.${r}.950}`:l?"white":a,s=o||l?`{colors.${r}.950}`:n,v=l?`{colors.${r}.700}`:`{colors.${r}.700}`,p=l?`{colors.${r}.400}`:`{colors.${r}.400}`,g=l?`{colors.${r}.700}`:`{colors.${r}.600}`;return{solid:{value:{base:c,_dark:h},description:`${t} solid background color`},contrast:{value:{base:d,_dark:s},description:`Contrast text color on ${t} solid background`},fg:{value:{base:v,_dark:p},description:`${t} foreground/text color`},muted:{value:{base:`{colors.${r}.100}`,_dark:`{colors.${r}.900}`},description:`${t} muted background`},subtle:{value:{base:`{colors.${r}.50}`,_dark:`{colors.${r}.950}`},description:`${t} subtle background`},emphasized:{value:{base:g,_dark:`{colors.${r}.600}`},description:`${t} emphasized color`},focusRing:{value:{base:c,_dark:h},description:`${t} focus ring color`}}}var uT={primary:"purple",secondary:"teal",positive:"green",negative:"red",warning:"yellow",neutral:"gray"};function KV(t){let e={...uT,...t},r={};for(let[a,i]of Object.entries(e))r[a]=pT(a,{paletteName:i});return r}var d5={0:{value:"0px"},1:{value:"4px"},2:{value:"8px"},3:{value:"12px"},4:{value:"16px"},5:{value:"20px"},6:{value:"24px"},7:{value:"28px"},8:{value:"32px"},10:{value:"40px"},12:{value:"48px"},16:{value:"64px"},20:{value:"80px"},24:{value:"96px"},32:{value:"128px"},40:{value:"160px"},48:{value:"192px"},56:{value:"224px"},64:{value:"256px"}},s5={xs:{value:"12px"},sm:{value:"14px"},md:{value:"16px"},lg:{value:"18px"},xl:{value:"20px"},"2xl":{value:"24px"},"3xl":{value:"32px"},"4xl":{value:"36px"},"5xl":{value:"48px"},"6xl":{value:"64px"}},v5={normal:{value:400},medium:{value:500},semibold:{value:600},bold:{value:700},extrabold:{value:800}},p5={3:{value:"12px"},4:{value:"16px"},5:{value:"20px"},6:{value:"24px"},7:{value:"28px"},8:{value:"32px"},9:{value:"36px"},10:{value:"40px"},tight:{value:1.25},snug:{value:1.375},normal:{value:1.5},relaxed:{value:1.625},loose:{value:2}},$2={purple:{50:{value:"#f0eaf9"},100:{value:"#ddd2ef"},200:{value:"#beadd9"},300:{value:"#9d8acc"},400:{value:"#8b73bd"},500:{value:"#7159a3"},600:{value:"#5d4889"},700:{value:"#483a70"},800:{value:"#3d325d"},900:{value:"#322949"},950:{value:"#2c2443"}},teal:{50:{value:"#e3f3ef"},100:{value:"#c9e8e0"},200:{value:"#99d2c4"},300:{value:"#6dc0a9"},400:{value:"#5fb09c"},500:{value:"#4d9483"},600:{value:"#3e7c6c"},700:{value:"#346458"},800:{value:"#2d5650"},900:{value:"#264540"},950:{value:"#213833"}},gray:{25:{value:"#FCFCFC"},50:{value:"#FAFAFA"},100:{value:"#F5F5F5"},200:{value:"#E5E5E5"},300:{value:"#D4D4D4"},400:{value:"#A3A3A3"},500:{value:"#737373"},600:{value:"#525252"},700:{value:"#404040"},800:{value:"#262626"},850:{value:"#1A1A1A"},900:{value:"#171717"},950:{value:"#0D0D0D"}},green:{50:{value:"#e6f5ea"},100:{value:"#cce8d2"},200:{value:"#a4d4ad"},300:{value:"#7fbd8e"},400:{value:"#6cb380"},500:{value:"#59986a"},600:{value:"#498057"},700:{value:"#3c6948"},800:{value:"#335939"},900:{value:"#294a30"},950:{value:"#233c28"}},red:{50:{value:"#faddde"},100:{value:"#f4c0c0"},200:{value:"#e69191"},300:{value:"#d66c6c"},400:{value:"#c75252"},500:{value:"#ab3e3e"},600:{value:"#903131"},700:{value:"#762828"},800:{value:"#632222"},900:{value:"#511c1c"},950:{value:"#441616"}},yellow:{50:{value:"#f9f1e0"},100:{value:"#f4e3c0"},200:{value:"#ebcd92"},300:{value:"#ddb462"},400:{value:"#c79e3f"},500:{value:"#a78023"},600:{value:"#8b6a1d"},700:{value:"#715718"},800:{value:"#604a16"},900:{value:"#4f3d14"},950:{value:"#423110"}},cyan:{50:{value:"#e6f3f7"},100:{value:"#cce8ee"},200:{value:"#a3d3dc"},300:{value:"#79bccc"},400:{value:"#5da5ba"},500:{value:"#4a899c"},600:{value:"#3d7280"},700:{value:"#335d68"},800:{value:"#2c5057"},900:{value:"#244147"},950:{value:"#1d363c"}},blue:{50:{value:"#ecf1f8"},100:{value:"#d9e2ef"},200:{value:"#b9c5dc"},300:{value:"#99a7cc"},400:{value:"#8a97bd"},500:{value:"#6675a3"},600:{value:"#4e5e89"},700:{value:"#3c4870"},800:{value:"#353e5d"},900:{value:"#2c3349"},950:{value:"#2a3043"}}},u5={xs:{value:"0 1px 2px 0 rgb(0 0 0 / 0.05)"},sm:{value:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)"},md:{value:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)"},lg:{value:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)"},xl:{value:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)"},"2xl":{value:"0 25px 50px -12px rgb(0 0 0 / 0.25)"},inner:{value:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)"},none:{value:"0 0 #0000"},glass:{value:"0 8px 32px rgba(15, 10, 46, 0.15)"},elevated:{value:"0 4px 20px rgba(15, 10, 46, 0.1), 0 1px 3px rgba(15, 10, 46, 0.08)"},dramatic:{value:"0 20px 40px rgba(15, 10, 46, 0.2)"}},g5={none:{value:"0px"},sm:{value:"2px"},md:{value:"6px"},lg:{value:"8px"},xl:{value:"12px"},"2xl":{value:"16px"},"3xl":{value:"24px"},full:{value:"9999px"}},m5={hide:{value:-1},auto:{value:"auto"},base:{value:0},docked:{value:10},dropdown:{value:1e3},sticky:{value:1100},banner:{value:1200},overlay:{value:1300},modal:{value:1400},popover:{value:1500},skipLink:{value:1600},toast:{value:1700},tooltip:{value:1800}},f5={colors:{bg:{DEFAULT:{value:{base:"white",_dark:"{colors.gray.950}"},description:"Default page background"},canvas:{value:{base:"{colors.gray.100}",_dark:"#0A0A0A"},description:"Canvas background \u2014 gutter behind floating panels"},canvasDeep:{value:{base:"#EEEEEE",_dark:"#050505"},description:"Deeper canvas for maximum elevation contrast"},surface:{value:{base:"white",_dark:"{colors.gray.900}"},description:"Surface background for cards, panels"},panel:{value:{base:"white",_dark:"{colors.gray.900}"},description:"Panel background \u2014 floating sidebar + right panel"},subtle:{value:{base:"{colors.gray.100}",_dark:"{colors.gray.850}"},description:"Subtle background"},muted:{value:{base:"{colors.gray.200}",_dark:"{colors.gray.800}"},description:"Muted background"},emphasized:{value:{base:"{colors.gray.300}",_dark:"{colors.gray.700}"},description:"Emphasized background"}},fg:{DEFAULT:{value:{base:"#0A0A0A",_dark:"{colors.gray.100}"},description:"Default text color"},muted:{value:{base:"{colors.gray.700}",_dark:"{colors.gray.400}"},description:"Muted text"},subtle:{value:{base:"{colors.gray.500}",_dark:"{colors.gray.500}"},description:"Subtle text"},disabled:{value:{base:"{colors.gray.400}",_dark:"{colors.gray.600}"},description:"Disabled text"}},border:{DEFAULT:{value:{base:"{colors.gray.200}",_dark:"{colors.gray.700}"},description:"Default border"},subtle:{value:{base:"{colors.gray.200}",_dark:"{colors.gray.800}"},description:"Subtle border"},muted:{value:{base:"{colors.gray.300}",_dark:"{colors.gray.700}"},description:"Muted border"},emphasized:{value:{base:"{colors.gray.400}",_dark:"{colors.gray.600}"},description:"Emphasized border"}},positive:{solid:{value:{base:"{colors.green.500}",_dark:"{colors.green.500}"},description:"Positive solid"},contrast:{value:{base:"white",_dark:"white"},description:"Positive contrast"},fg:{value:{base:"{colors.green.700}",_dark:"{colors.green.400}"},description:"Positive foreground"},muted:{value:{base:"{colors.green.100}",_dark:"{colors.green.900}"},description:"Positive muted"},subtle:{value:{base:"{colors.green.50}",_dark:"{colors.green.950}"},description:"Positive subtle"},emphasized:{value:{base:"{colors.green.600}",_dark:"{colors.green.600}"},description:"Positive emphasized"}},negative:{solid:{value:{base:"{colors.red.500}",_dark:"{colors.red.500}"},description:"Negative solid"},contrast:{value:{base:"white",_dark:"white"},description:"Negative contrast"},fg:{value:{base:"{colors.red.700}",_dark:"{colors.red.400}"},description:"Negative foreground"},muted:{value:{base:"{colors.red.100}",_dark:"{colors.red.900}"},description:"Negative muted"},subtle:{value:{base:"{colors.red.50}",_dark:"{colors.red.950}"},description:"Negative subtle"},emphasized:{value:{base:"{colors.red.600}",_dark:"{colors.red.600}"},description:"Negative emphasized"}},warning:{solid:{value:{base:"{colors.yellow.500}",_dark:"{colors.yellow.500}"},description:"Warning solid"},contrast:{value:{base:"{colors.yellow.950}",_dark:"{colors.yellow.950}"},description:"Warning contrast"},fg:{value:{base:"{colors.yellow.700}",_dark:"{colors.yellow.400}"},description:"Warning foreground"},muted:{value:{base:"{colors.yellow.100}",_dark:"{colors.yellow.900}"},description:"Warning muted"},subtle:{value:{base:"{colors.yellow.50}",_dark:"{colors.yellow.950}"},description:"Warning subtle"},emphasized:{value:{base:"{colors.yellow.600}",_dark:"{colors.yellow.600}"},description:"Warning emphasized"}},info:{solid:{value:{base:"{colors.blue.500}",_dark:"{colors.blue.500}"},description:"Info solid"},contrast:{value:{base:"white",_dark:"white"},description:"Info contrast"},fg:{value:{base:"{colors.blue.700}",_dark:"{colors.blue.400}"},description:"Info foreground"},muted:{value:{base:"{colors.blue.100}",_dark:"{colors.blue.900}"},description:"Info muted"},subtle:{value:{base:"{colors.blue.50}",_dark:"{colors.blue.950}"},description:"Info subtle"},emphasized:{value:{base:"{colors.blue.600}",_dark:"{colors.blue.600}"},description:"Info emphasized"}}}};var os=Z({base:{display:"inline-flex",alignItems:"center",justifyContent:"center",fontWeight:"medium",rounded:"full"},variants:{variant:{solid:{bg:"colorPalette.solid",color:"colorPalette.contrast"},outline:{borderWidth:"1px",borderColor:"colorPalette.solid",color:"colorPalette.fg",bg:"transparent",_hover:{bg:"colorPalette.subtle"}},ghost:{color:"colorPalette.fg",bg:"transparent",_hover:{bg:"colorPalette.subtle"}},subtle:{bg:"colorPalette.subtle",color:"colorPalette.fg"},surface:{bg:"bg.surface",color:"fg.default",borderWidth:"1px",borderColor:"border.default"}},size:{xs:{px:"3",py:"1",fontSize:"xs",h:"7"},sm:{px:"4",py:"2",fontSize:"sm",h:"8"},md:{px:"6",py:"2",fontSize:"md",h:"10"},lg:{px:"8",py:"2",fontSize:"lg",h:"12"},xl:{px:"10",py:"3",fontSize:"xl",h:"14"}}},defaultVariants:{variant:"solid",size:"md"}});var cs=Z({base:{display:"inline-flex",alignItems:"center",fontWeight:"medium",rounded:"full",gap:"2"},variants:{variant:{solid:{bg:"colorPalette.solid",color:"colorPalette.contrast"},subtle:{bg:"colorPalette.subtle",color:"colorPalette.fg"},outline:{borderWidth:"1px",borderColor:"colorPalette.solid",color:"colorPalette.fg",bg:"transparent"},surface:{bg:"bg.muted",color:"fg.default",borderWidth:"1px",borderColor:"border.default"}},size:{xs:{px:"2",py:"0",fontSize:"xs",h:"4"},sm:{px:"3",py:"0",fontSize:"xs",h:"5"},md:{px:"3",py:"1",fontSize:"xs",h:"6"},lg:{px:"4",py:"1",fontSize:"sm",h:"7"}}},defaultVariants:{variant:"subtle",size:"md"}});var hs=Z({base:{width:"100%",rounded:"lg",borderColor:"border.default",color:"fg.default",bg:"transparent",_placeholder:{color:"fg.muted"}},variants:{variant:{outline:{borderWidth:"1px",borderColor:"border.default",bg:"bg.surface"},filled:{bg:"bg.muted",borderWidth:"0"},flushed:{borderWidth:"0",borderBottomWidth:"1px",borderRadius:"0",px:"0"},subtle:{bg:"bg.subtle",borderWidth:"0"}},size:{sm:{px:"3",py:"1.5",fontSize:"md",h:"8"},md:{px:"3.5",py:"2",fontSize:"md",h:"10"},lg:{px:"4",py:"2.5",fontSize:"md",h:"12"}}},defaultVariants:{variant:"outline",size:"md"}});var ds=Z({base:{width:"100%",rounded:"lg",borderColor:"border.default",color:"fg.default",bg:"transparent"},variants:{variant:{outline:{borderWidth:"1px",borderColor:"border.default"},filled:{bg:"bg.muted",borderWidth:"0"},flushed:{borderWidth:"0",borderBottomWidth:"1px",borderRadius:"0",px:"0"},subtle:{bg:"bg.subtle",borderWidth:"0"}},size:{sm:{px:"3",py:"1.5",fontSize:"sm",h:"8"},md:{px:"3.5",py:"2",fontSize:"sm",h:"10"},lg:{px:"4",py:"2.5",fontSize:"md",h:"12"}}},defaultVariants:{variant:"outline",size:"md"}});var ss=Z({base:{borderColor:"border.subtle"},variants:{variant:{solid:{borderStyle:"solid"},dashed:{borderStyle:"dashed"}},orientation:{horizontal:{borderBottomWidth:"1px",width:"100%"},vertical:{borderRightWidth:"1px",height:"100%"}}},defaultVariants:{variant:"solid",orientation:"horizontal"}});var vs=Z({base:{display:"flex",flexDirection:"row",alignItems:"center",gap:"4"},variants:{gap:{none:{gap:"0"},xs:{gap:"1"},sm:{gap:"2"},md:{gap:"4"},lg:{gap:"6"},xl:{gap:"8"}}},defaultVariants:{gap:"md"}});var ps=Z({base:{display:"flex",flexDirection:"column",alignItems:"stretch",gap:"4"},variants:{gap:{none:{gap:"0"},xs:{gap:"1"},sm:{gap:"2"},md:{gap:"4"},lg:{gap:"6"},xl:{gap:"8"}}},defaultVariants:{gap:"md"}});var us=Z({base:{display:"flex",gap:"4"},variants:{direction:{row:{flexDirection:"row"},column:{flexDirection:"column"},rowReverse:{flexDirection:"row-reverse"},columnReverse:{flexDirection:"column-reverse"}},gap:{none:{gap:"0"},xs:{gap:"1"},sm:{gap:"2"},md:{gap:"4"},lg:{gap:"6"},xl:{gap:"8"}},align:{start:{alignItems:"flex-start"},center:{alignItems:"center"},end:{alignItems:"flex-end"},stretch:{alignItems:"stretch"},baseline:{alignItems:"baseline"}},justify:{start:{justifyContent:"flex-start"},center:{justifyContent:"center"},end:{justifyContent:"flex-end"},between:{justifyContent:"space-between"},around:{justifyContent:"space-around"},evenly:{justifyContent:"space-evenly"}},wrap:{nowrap:{flexWrap:"nowrap"},wrap:{flexWrap:"wrap"},wrapReverse:{flexWrap:"wrap-reverse"}}},defaultVariants:{direction:"row",gap:"md"}});var gs=Z({base:{width:"100%",mx:"auto",px:"4"},variants:{size:{sm:{maxW:"640px"},md:{maxW:"768px"},lg:{maxW:"1024px"},xl:{maxW:"1280px"},"2xl":{maxW:"1536px"},full:{maxW:"100%"}},centerContent:{true:{display:"flex",flexDirection:"column",alignItems:"center"}}},defaultVariants:{size:"lg"}});var ms=Z({base:{display:"inline-flex",alignItems:"center",justifyContent:"center",rounded:"full",flexShrink:0},variants:{variant:{solid:{bg:"colorPalette.solid",color:"colorPalette.contrast"},outline:{borderWidth:"1px",borderColor:"colorPalette.solid",color:"colorPalette.fg",bg:"transparent"},ghost:{color:"colorPalette.fg",bg:"transparent",_hover:{bg:"colorPalette.subtle"}},subtle:{bg:"colorPalette.subtle",color:"colorPalette.fg"},surface:{bg:"bg.surface",color:"fg.default",borderWidth:"1px",borderColor:"border.default"}},size:{xs:{w:"7",h:"7",fontSize:"sm"},sm:{w:"8",h:"8",fontSize:"md"},md:{w:"10",h:"10",fontSize:"lg"},lg:{w:"12",h:"12",fontSize:"xl"},xl:{w:"14",h:"14",fontSize:"2xl"}}},defaultVariants:{variant:"ghost",size:"sm"}});var fs=Z({base:{color:"colorPalette.solid"},variants:{size:{xs:{boxSize:"4"},sm:{boxSize:"6"},md:{boxSize:"8"},lg:{boxSize:"12"},xl:{boxSize:"16"}}},defaultVariants:{size:"md"}});var zs=Z({base:{overflow:"hidden",transition:"height 0.2s ease-in-out"},variants:{},defaultVariants:{}});var Ms=A({slots:["root","header","body","footer","title","description"],base:{root:{display:"flex",flexDirection:"column",bg:"bg.surface",rounded:"xl",overflow:"hidden",borderWidth:0},header:{px:"6",py:"4"},body:{px:"6",py:"4",gap:"4",flex:"1"},footer:{px:"6",py:"4"},title:{fontWeight:"semibold",fontSize:"lg"},description:{color:"fg.muted",fontSize:"sm"}},variants:{variant:{subtle:{root:{bg:"bg.subtle"}},outline:{root:{borderWidth:"1px",borderColor:"border.subtle"}},elevated:{root:{shadow:"lg"}}},size:{sm:{header:{px:"4",py:"3"},body:{px:"4",py:"3"},footer:{px:"4",py:"3"}},md:{header:{px:"6",py:"4"},body:{px:"6",py:"4"},footer:{px:"6",py:"4"}},lg:{header:{px:"8",py:"5"},body:{px:"8",py:"5"},footer:{px:"8",py:"5"}}}},defaultVariants:{variant:"subtle",size:"md"}});var xs=A({slots:["root","image","fallback","group"],base:{root:{rounded:"full",overflow:"hidden",flexShrink:0,position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center"},image:{width:"100%",height:"100%",objectFit:"cover"},fallback:{bg:"colorPalette.muted",color:"colorPalette.fg",fontWeight:"medium",display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%"},group:{display:"flex",alignItems:"center",gap:"2"}},variants:{size:{xs:{root:{boxSize:"6"},fallback:{fontSize:"xs"}},sm:{root:{boxSize:"8"},fallback:{fontSize:"sm"}},md:{root:{boxSize:"10"},fallback:{fontSize:"md"}},lg:{root:{boxSize:"12"},fallback:{fontSize:"lg"}},xl:{root:{boxSize:"16"},fallback:{fontSize:"xl"}},"2xl":{root:{boxSize:"24"},fallback:{fontSize:"2xl"}}}},defaultVariants:{size:"md"}});var Hs=A({slots:["root","header","body","row","columnHeader","cell","footer"],base:{root:{width:"100%",borderCollapse:"collapse",bg:"bg.surface",color:"fg.default"},header:{bg:"bg.surface"},columnHeader:{px:"4",py:"3",textAlign:"start",fontSize:"sm",fontWeight:"semibold",color:"fg.default",borderBottomWidth:"1px",borderColor:"border.default"},cell:{px:"4",py:"3",fontSize:"sm",borderBottomWidth:"1px",borderColor:"border.subtle"},row:{_hover:{bg:"bg.subtle"}},footer:{bg:"bg.surface",fontWeight:"medium"}},variants:{variant:{simple:{},striped:{body:{"& tr:nth-of-type(odd)":{bg:"bg.subtle"}}}},size:{sm:{columnHeader:{px:"3",py:"2",fontSize:"xs"},cell:{px:"3",py:"2",fontSize:"xs"}},md:{columnHeader:{px:"4",py:"3",fontSize:"sm"},cell:{px:"4",py:"3",fontSize:"sm"}},lg:{columnHeader:{px:"6",py:"4",fontSize:"md"},cell:{px:"6",py:"4",fontSize:"md"}}}},defaultVariants:{variant:"simple",size:"md"}});var Vs=A({slots:["content","arrow"],base:{content:{bg:"bg.inverted",color:"fg.inverted",px:"2",py:"1",rounded:"md",fontSize:"xs",fontWeight:"medium",maxW:"xs",textAlign:"center",_open:{animationStyle:"fade-in",animationDuration:"fast"}},arrow:{"--arrow-size":"4px","--arrow-background":"colors.bg.inverted"}},variants:{size:{sm:{content:{px:"2",py:"1",fontSize:"xs"}},md:{content:{px:"2",py:"1",fontSize:"xs"}},lg:{content:{px:"3",py:"2",fontSize:"sm"}}}},defaultVariants:{size:"md"}});var ws=A({slots:["root","icon","title","description","action"],base:{root:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",textAlign:"center",py:"12",px:"6",gap:"4"},icon:{boxSize:"12",color:"fg.muted",mb:"2"},title:{fontSize:"lg",fontWeight:"semibold",color:"fg.default"},description:{fontSize:"sm",color:"fg.muted",maxW:"md"},action:{mt:"2"}},variants:{size:{sm:{root:{py:"8",px:"4",gap:"3"},icon:{boxSize:"8"},title:{fontSize:"md"},description:{fontSize:"xs"}},md:{root:{py:"12",px:"6",gap:"4"},icon:{boxSize:"12"},title:{fontSize:"lg"},description:{fontSize:"sm"}},lg:{root:{py:"16",px:"8",gap:"6"},icon:{boxSize:"16"},title:{fontSize:"xl"},description:{fontSize:"md"}}}},defaultVariants:{size:"md"}});function z5(t){let{colors:e}=t;if(!h5(e.primary))throw new Error(`Invalid primary color: "${e.primary}".`);if(!h5(e.secondary))throw new Error(`Invalid secondary color: "${e.secondary}".`);let r=t.includeDefaultPalettes??!0,a=c5(e.primary,"primary"),i=c5(e.secondary,"secondary"),n={},l={positive:e.positive,negative:e.negative,warning:e.warning,neutral:e.neutral||"gray"};for(let[p,g]of Object.entries(l))g&&(h5(g)?n[p]=c5(g,p):$2[g]?n[p]=$2[g]:console.warn(`Color "${g}" not found in default palettes. Skipping.`));let o={primary:a,secondary:i,...n,...r?{gray:$2.gray,green:n.positive||$2.green,red:n.negative||$2.red,yellow:n.warning||$2.yellow,cyan:$2.cyan,blue:$2.blue}:{}},c={primary:"primary",secondary:"secondary",positive:l.positive?"positive":"green",negative:l.negative?"negative":"red",warning:l.warning?"warning":"yellow",neutral:l.neutral?"neutral":"gray"},h=KV(c),d={colors:{...f5.colors,...h}},s={...u5,...t.shadows??{}},v={...Ea,conditions:{...Ea.conditions,light:".light &",dark:".dark &"},globalCss:{"*":{scrollbarWidth:"thin",scrollbarColor:"rgba(255, 255, 255, 0.2) transparent"},"*::-webkit-scrollbar":{width:"8px",height:"8px"},"*::-webkit-scrollbar-track":{background:"transparent"},"*::-webkit-scrollbar-thumb":{background:"rgba(255, 255, 255, 0.2)",borderRadius:"4px",border:"2px solid transparent",backgroundClip:"padding-box"},"*::-webkit-scrollbar-thumb:hover":{background:"rgba(255, 255, 255, 0.3)",backgroundClip:"padding-box"}},theme:{...t.keyframes?{keyframes:t.keyframes}:{},tokens:{colors:o,spacing:t.spacing||d5,fontSizes:s5,fontWeights:v5,lineHeights:p5,shadows:s,radii:g5,zIndex:m5,...t.typography?.fontFamily&&{fonts:{body:{value:t.typography.fontFamily}}},...t.typography?.headingFontFamily&&{fonts:{heading:{value:t.typography.headingFontFamily}}}},semanticTokens:d,textStyles:{"display.2xl":{fontSize:{value:"{fontSizes.6xl}"},fontWeight:{value:"{fontWeights.bold}"},lineHeight:{value:"{lineHeights.tight}"},letterSpacing:{value:"-0.025em"}},"display.xl":{fontSize:{value:"{fontSizes.5xl}"},fontWeight:{value:"{fontWeights.bold}"},lineHeight:{value:"{lineHeights.tight}"},letterSpacing:{value:"-0.025em"}},"display.lg":{fontSize:{value:"{fontSizes.4xl}"},fontWeight:{value:"{fontWeights.bold}"},lineHeight:{value:"{lineHeights.tight}"},letterSpacing:{value:"-0.025em"}},"display.md":{fontSize:{value:"{fontSizes.3xl}"},fontWeight:{value:"{fontWeights.bold}"},lineHeight:{value:"{lineHeights.tight}"},letterSpacing:{value:"-0.025em"}},"display.sm":{fontSize:{value:"{fontSizes.2xl}"},fontWeight:{value:"{fontWeights.bold}"},lineHeight:{value:"{lineHeights.tight}"},letterSpacing:{value:"-0.025em"}},"heading.2xl":{fontSize:{value:"{fontSizes.2xl}"},fontWeight:{value:"{fontWeights.semibold}"},lineHeight:{value:"{lineHeights.snug}"}},"heading.xl":{fontSize:{value:"{fontSizes.xl}"},fontWeight:{value:"{fontWeights.semibold}"},lineHeight:{value:"{lineHeights.snug}"}},"heading.lg":{fontSize:{value:"{fontSizes.lg}"},fontWeight:{value:"{fontWeights.semibold}"},lineHeight:{value:"{lineHeights.snug}"}},"heading.md":{fontSize:{value:"{fontSizes.md}"},fontWeight:{value:"{fontWeights.semibold}"},lineHeight:{value:"{lineHeights.snug}"}},"heading.sm":{fontSize:{value:"{fontSizes.sm}"},fontWeight:{value:"{fontWeights.semibold}"},lineHeight:{value:"{lineHeights.snug}"}},"body.lg":{fontSize:{value:"{fontSizes.lg}"},fontWeight:{value:"{fontWeights.normal}"},lineHeight:{value:"{lineHeights.relaxed}"}},"body.md":{fontSize:{value:"{fontSizes.md}"},fontWeight:{value:"{fontWeights.normal}"},lineHeight:{value:"{lineHeights.relaxed}"}},"body.sm":{fontSize:{value:"{fontSizes.sm}"},fontWeight:{value:"{fontWeights.normal}"},lineHeight:{value:"{lineHeights.relaxed}"}},"label.lg":{fontSize:{value:"{fontSizes.md}"},fontWeight:{value:"{fontWeights.medium}"},lineHeight:{value:"{lineHeights.normal}"}},"label.md":{fontSize:{value:"{fontSizes.sm}"},fontWeight:{value:"{fontWeights.medium}"},lineHeight:{value:"{lineHeights.normal}"}},"label.sm":{fontSize:{value:"{fontSizes.xs}"},fontWeight:{value:"{fontWeights.medium}"},lineHeight:{value:"{lineHeights.normal}"}},"caption.lg":{fontSize:{value:"{fontSizes.sm}"},fontWeight:{value:"{fontWeights.normal}"},lineHeight:{value:"{lineHeights.normal}"},color:{value:"{colors.fg.muted}"}},"caption.md":{fontSize:{value:"{fontSizes.xs}"},fontWeight:{value:"{fontWeights.normal}"},lineHeight:{value:"{lineHeights.normal}"},color:{value:"{colors.fg.muted}"}}},layerStyles:{elevated:{value:{bg:"bg.subtle",p:4,borderRadius:"2xl"}},card:{value:{bg:"bg.muted",p:3,borderRadius:"lg",transition:"background 200ms",_hover:{bg:"bg.emphasized"}}},input:{value:{bg:"bg.muted",p:3,borderRadius:"lg"}},...t.layerStyles??{}},recipes:{button:os,badge:cs,input:hs,select:ds,separator:ss,hstack:vs,vstack:ps,flex:us,container:gs,iconButton:ms,spinner:fs,collapse:zs},slotRecipes:{card:Ms,avatar:xs,table:Hs,tooltip:Vs,emptyState:ws}}};return di(Ea,v)}var M5=z5({colors:{primary:"#F59E0B",secondary:"#1DBFAE"},shadows:{glow:{value:"0 0 20px rgba(245, 158, 11, 0.3)"},"glow-sm":{value:"0 0 8px rgba(245, 158, 11, 0.15)"},"glow-lg":{value:"0 0 40px rgba(245, 158, 11, 0.2)"}},keyframes:{"jarvis-pulse":{"0%, 100%":{opacity:1},"50%":{opacity:.6}},"jarvis-attention-pulse":{"0%, 100%":{opacity:1,transform:"scale(1)"},"50%":{opacity:.45,transform:"scale(0.85)"}}}});var Oe=P(n1(),1);function mT(){let[t]=(0,YV.useState)("board");return(0,Oe.jsx)(t3,{value:M5,children:(0,Oe.jsx)(vi,{brand:(0,Oe.jsx)(u1,{fontSize:"sm",fontWeight:"bold",color:"fg",children:"Jarvis"}),nav:[{key:"board",label:"Board",icon:(0,Oe.jsx)(jf,{size:17})}],active:t,onNavigate:()=>{},title:"Board",subtitle:"What this workspace has to do",footer:(0,Oe.jsx)(ct,{px:2,py:2,children:(0,Oe.jsx)(u1,{fontSize:"xs",color:"fg.subtle",children:"read-only \xB7 this machine"})}),children:(0,Oe.jsx)(l5,{onOpen:()=>{}})})})}var qV=document.getElementById("root");qV&&(0,QV.createRoot)(qV).render((0,Oe.jsx)(mT,{}));
|
|
47
|
+
/*! Bundled license information:
|
|
48
|
+
|
|
49
|
+
react/cjs/react.production.min.js:
|
|
50
|
+
(**
|
|
51
|
+
* @license React
|
|
52
|
+
* react.production.min.js
|
|
53
|
+
*
|
|
54
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
55
|
+
*
|
|
56
|
+
* This source code is licensed under the MIT license found in the
|
|
57
|
+
* LICENSE file in the root directory of this source tree.
|
|
58
|
+
*)
|
|
59
|
+
|
|
60
|
+
scheduler/cjs/scheduler.production.min.js:
|
|
61
|
+
(**
|
|
62
|
+
* @license React
|
|
63
|
+
* scheduler.production.min.js
|
|
64
|
+
*
|
|
65
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
66
|
+
*
|
|
67
|
+
* This source code is licensed under the MIT license found in the
|
|
68
|
+
* LICENSE file in the root directory of this source tree.
|
|
69
|
+
*)
|
|
70
|
+
|
|
71
|
+
react-dom/cjs/react-dom.production.min.js:
|
|
72
|
+
(**
|
|
73
|
+
* @license React
|
|
74
|
+
* react-dom.production.min.js
|
|
75
|
+
*
|
|
76
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
77
|
+
*
|
|
78
|
+
* This source code is licensed under the MIT license found in the
|
|
79
|
+
* LICENSE file in the root directory of this source tree.
|
|
80
|
+
*)
|
|
81
|
+
|
|
82
|
+
react/cjs/react-jsx-runtime.production.min.js:
|
|
83
|
+
(**
|
|
84
|
+
* @license React
|
|
85
|
+
* react-jsx-runtime.production.min.js
|
|
86
|
+
*
|
|
87
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
88
|
+
*
|
|
89
|
+
* This source code is licensed under the MIT license found in the
|
|
90
|
+
* LICENSE file in the root directory of this source tree.
|
|
91
|
+
*)
|
|
92
|
+
|
|
93
|
+
react-is/cjs/react-is.production.min.js:
|
|
94
|
+
(** @license React v16.13.1
|
|
95
|
+
* react-is.production.min.js
|
|
96
|
+
*
|
|
97
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
98
|
+
*
|
|
99
|
+
* This source code is licensed under the MIT license found in the
|
|
100
|
+
* LICENSE file in the root directory of this source tree.
|
|
101
|
+
*)
|
|
102
|
+
*/
|