dori-pdp-widget 0.2.13 → 0.2.14

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.
@@ -1 +1 @@
1
- !function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"e0dcb8c67a9c4d2bf8ea5a10e12b5042c94b89d0"}}catch(e){}}();try{(t=(new(e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).Error).stack)&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="21ac2cf2-fc37-4fd9-85f9-b056e11a7902",e._sentryDebugIdIdentifier="sentry-dbid-21ac2cf2-fc37-4fd9-85f9-b056e11a7902")}catch(e){}var e,t;function n(e,t){for(var n=0;n<t.length;n++){const r=t[n];if("string"!=typeof r&&!Array.isArray(r))for(const t in r)if("default"!==t&&!(t in e)){const n=Object.getOwnPropertyDescriptor(r,t);n&&Object.defineProperty(e,t,n.get?n:{enumerable:!0,get:()=>r[t]})}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function o(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function a(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if("function"==typeof t){var n=function e(){var n=!1;try{n=this instanceof e}catch{}return n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})}),n}var i,l,s={exports:{}},c={};function u(){if(i)return c;i=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(t,n,r){var o=null;if(void 0!==r&&(o=""+r),void 0!==n.key&&(o=""+n.key),"key"in n)for(var a in r={},n)"key"!==a&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:e,type:t,key:o,ref:void 0!==n?n:null,props:r}}return c.Fragment=t,c.jsx=n,c.jsxs=n,c}function d(){return l||(l=1,s.exports=u()),s.exports}var f,p,h=d(),g={exports:{}},m={};function b(){if(f)return m;f=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),i=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),c=Symbol.for("react.memo"),u=Symbol.for("react.lazy"),d=Symbol.iterator,p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,g={};function b(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||p}function v(){}function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||p}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=b.prototype;var x=y.prototype=new v;x.constructor=y,h(x,b.prototype),x.isPureReactComponent=!0;var k=Array.isArray,S={H:null,A:null,T:null,S:null,V:null},w=Object.prototype.hasOwnProperty;function _(t,n,r,o,a,i){return r=i.ref,{$$typeof:e,type:t,key:n,ref:void 0!==r?r:null,props:i}}function C(t){return"object"==typeof t&&null!==t&&t.$$typeof===e}var E=/\/+/g;function P(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(n=""+e.key,r={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,function(e){return r[e]})):t.toString(36);var n,r}function z(){}function T(n,r,o,a,i){var l=typeof n;"undefined"!==l&&"boolean"!==l||(n=null);var s,c,f=!1;if(null===n)f=!0;else switch(l){case"bigint":case"string":case"number":f=!0;break;case"object":switch(n.$$typeof){case e:case t:f=!0;break;case u:return T((f=n._init)(n._payload),r,o,a,i)}}if(f)return i=i(n),f=""===a?"."+P(n,0):a,k(i)?(o="",null!=f&&(o=f.replace(E,"$&/")+"/"),T(i,r,o,"",function(e){return e})):null!=i&&(C(i)&&(s=i,c=o+(null==i.key||n&&n.key===i.key?"":(""+i.key).replace(E,"$&/")+"/")+f,i=_(s.type,c,void 0,0,0,s.props)),r.push(i)),1;f=0;var p,h=""===a?".":a+":";if(k(n))for(var g=0;g<n.length;g++)f+=T(a=n[g],r,o,l=h+P(a,g),i);else if("function"==typeof(g=null===(p=n)||"object"!=typeof p?null:"function"==typeof(p=d&&p[d]||p["@@iterator"])?p:null))for(n=g.call(n),g=0;!(a=n.next()).done;)f+=T(a=a.value,r,o,l=h+P(a,g++),i);else if("object"===l){if("function"==typeof n.then)return T(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(z,z):(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(n),r,o,a,i);throw r=String(n),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.")}return f}function R(e,t,n){if(null==e)return e;var r=[],o=0;return T(e,r,"","",function(e){return t.call(n,e,o++)}),r}function I(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)},function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var O="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e)};function A(){}return m.Children={map:R,forEach:function(e,t,n){R(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return R(e,function(){t++}),t},toArray:function(e){return R(e,function(e){return e})||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},m.Component=b,m.Fragment=n,m.Profiler=o,m.PureComponent=y,m.StrictMode=r,m.Suspense=s,m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=S,m.__COMPILER_RUNTIME={__proto__:null,c:function(e){return S.H.useMemoCache(e)}},m.cache=function(e){return function(){return e.apply(null,arguments)}},m.cloneElement=function(e,t,n){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var r=h({},e.props),o=e.key;if(null!=t)for(a in t.ref,void 0!==t.key&&(o=""+t.key),t)!w.call(t,a)||"key"===a||"__self"===a||"__source"===a||"ref"===a&&void 0===t.ref||(r[a]=t[a]);var a=arguments.length-2;if(1===a)r.children=n;else if(1<a){for(var i=Array(a),l=0;l<a;l++)i[l]=arguments[l+2];r.children=i}return _(e.type,o,void 0,0,0,r)},m.createContext=function(e){return(e={$$typeof:i,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:a,_context:e},e},m.createElement=function(e,t,n){var r,o={},a=null;if(null!=t)for(r in void 0!==t.key&&(a=""+t.key),t)w.call(t,r)&&"key"!==r&&"__self"!==r&&"__source"!==r&&(o[r]=t[r]);var i=arguments.length-2;if(1===i)o.children=n;else if(1<i){for(var l=Array(i),s=0;s<i;s++)l[s]=arguments[s+2];o.children=l}if(e&&e.defaultProps)for(r in i=e.defaultProps)void 0===o[r]&&(o[r]=i[r]);return _(e,a,void 0,0,0,o)},m.createRef=function(){return{current:null}},m.forwardRef=function(e){return{$$typeof:l,render:e}},m.isValidElement=C,m.lazy=function(e){return{$$typeof:u,_payload:{_status:-1,_result:e},_init:I}},m.memo=function(e,t){return{$$typeof:c,type:e,compare:void 0===t?null:t}},m.startTransition=function(e){var t=S.T,n={};S.T=n;try{var r=e(),o=S.S;null!==o&&o(n,r),"object"==typeof r&&null!==r&&"function"==typeof r.then&&r.then(A,O)}catch(a){O(a)}finally{S.T=t}},m.unstable_useCacheRefresh=function(){return S.H.useCacheRefresh()},m.use=function(e){return S.H.use(e)},m.useActionState=function(e,t,n){return S.H.useActionState(e,t,n)},m.useCallback=function(e,t){return S.H.useCallback(e,t)},m.useContext=function(e){return S.H.useContext(e)},m.useDebugValue=function(){},m.useDeferredValue=function(e,t){return S.H.useDeferredValue(e,t)},m.useEffect=function(e,t,n){var r=S.H;if("function"==typeof n)throw Error("useEffect CRUD overload is not enabled in this build of React.");return r.useEffect(e,t)},m.useId=function(){return S.H.useId()},m.useImperativeHandle=function(e,t,n){return S.H.useImperativeHandle(e,t,n)},m.useInsertionEffect=function(e,t){return S.H.useInsertionEffect(e,t)},m.useLayoutEffect=function(e,t){return S.H.useLayoutEffect(e,t)},m.useMemo=function(e,t){return S.H.useMemo(e,t)},m.useOptimistic=function(e,t){return S.H.useOptimistic(e,t)},m.useReducer=function(e,t,n){return S.H.useReducer(e,t,n)},m.useRef=function(e){return S.H.useRef(e)},m.useState=function(e){return S.H.useState(e)},m.useSyncExternalStore=function(e,t,n){return S.H.useSyncExternalStore(e,t,n)},m.useTransition=function(){return S.H.useTransition()},m.version="19.1.1",m}function v(){return p||(p=1,g.exports=b()),g.exports}var y=v();const x=o(y),k=n({__proto__:null,default:x},[y]);var S,w,_={exports:{}},C={},E={exports:{}},P={};function z(){return S||(S=1,function(e){function t(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,a=e[r];if(!(0<o(a,t)))break e;e[r]=t,e[n]=a,n=r}}function n(e){return 0===e.length?null:e[0]}function r(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length,i=a>>>1;r<i;){var l=2*(r+1)-1,s=e[l],c=l+1,u=e[c];if(0>o(s,n))c<a&&0>o(u,s)?(e[r]=u,e[c]=n,r=c):(e[r]=s,e[l]=n,r=l);else{if(!(c<a&&0>o(u,n)))break e;e[r]=u,e[c]=n,r=c}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if(e.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var a=performance;e.unstable_now=function(){return a.now()}}else{var i=Date,l=i.now();e.unstable_now=function(){return i.now()-l}}var s=[],c=[],u=1,d=null,f=3,p=!1,h=!1,g=!1,m=!1,b="function"==typeof setTimeout?setTimeout:null,v="function"==typeof clearTimeout?clearTimeout:null,y="undefined"!=typeof setImmediate?setImmediate:null;function x(e){for(var o=n(c);null!==o;){if(null===o.callback)r(c);else{if(!(o.startTime<=e))break;r(c),o.sortIndex=o.expirationTime,t(s,o)}o=n(c)}}function k(e){if(g=!1,x(e),!h)if(null!==n(s))h=!0,w||(w=!0,S());else{var t=n(c);null!==t&&I(k,t.startTime-e)}}var S,w=!1,_=-1,C=5,E=-1;function P(){return!(!m&&e.unstable_now()-E<C)}function z(){if(m=!1,w){var t=e.unstable_now();E=t;var o=!0;try{e:{h=!1,g&&(g=!1,v(_),_=-1),p=!0;var a=f;try{t:{for(x(t),d=n(s);null!==d&&!(d.expirationTime>t&&P());){var i=d.callback;if("function"==typeof i){d.callback=null,f=d.priorityLevel;var l=i(d.expirationTime<=t);if(t=e.unstable_now(),"function"==typeof l){d.callback=l,x(t),o=!0;break t}d===n(s)&&r(s),x(t)}else r(s);d=n(s)}if(null!==d)o=!0;else{var u=n(c);null!==u&&I(k,u.startTime-t),o=!1}}break e}finally{d=null,f=a,p=!1}o=void 0}}finally{o?S():w=!1}}}if("function"==typeof y)S=function(){y(z)};else if("undefined"!=typeof MessageChannel){var T=new MessageChannel,R=T.port2;T.port1.onmessage=z,S=function(){R.postMessage(null)}}else S=function(){b(z,0)};function I(t,n){_=b(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e||(C=0<e?Math.floor(1e3/e):5)},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_requestPaint=function(){m=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,o,a){var i=e.unstable_now();switch(a="object"==typeof a&&null!==a&&"number"==typeof(a=a.delay)&&0<a?i+a:i,r){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return r={id:u++,callback:o,priorityLevel:r,startTime:a,expirationTime:l=a+l,sortIndex:-1},a>i?(r.sortIndex=a,t(c,r),null===n(s)&&r===n(c)&&(g?(v(_),_=-1):g=!0,I(k,a-i))):(r.sortIndex=l,t(s,r),h||p||(h=!0,w||(w=!0,S()))),r},e.unstable_shouldYield=P,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}}(P)),P}function T(){return w||(w=1,E.exports=z()),E.exports}var R,I,O,A,D={exports:{}},N={};function F(){if(R)return N;R=1;var e=v();function t(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var r={d:{f:n,r:function(){throw Error(t(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},o=Symbol.for("react.portal"),a=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function i(e,t){return"font"===e?"":"string"==typeof t?"use-credentials"===t?t:"":void 0}return N.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,N.createPortal=function(e,n){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!n||1!==n.nodeType&&9!==n.nodeType&&11!==n.nodeType)throw Error(t(299));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:o,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,n,null,r)},N.flushSync=function(e){var t=a.T,n=r.p;try{if(a.T=null,r.p=2,e)return e()}finally{a.T=t,r.p=n,r.d.f()}},N.preconnect=function(e,t){"string"==typeof e&&(t=t?"string"==typeof(t=t.crossOrigin)?"use-credentials"===t?t:"":void 0:null,r.d.C(e,t))},N.prefetchDNS=function(e){"string"==typeof e&&r.d.D(e)},N.preinit=function(e,t){if("string"==typeof e&&t&&"string"==typeof t.as){var n=t.as,o=i(n,t.crossOrigin),a="string"==typeof t.integrity?t.integrity:void 0,l="string"==typeof t.fetchPriority?t.fetchPriority:void 0;"style"===n?r.d.S(e,"string"==typeof t.precedence?t.precedence:void 0,{crossOrigin:o,integrity:a,fetchPriority:l}):"script"===n&&r.d.X(e,{crossOrigin:o,integrity:a,fetchPriority:l,nonce:"string"==typeof t.nonce?t.nonce:void 0})}},N.preinitModule=function(e,t){if("string"==typeof e)if("object"==typeof t&&null!==t){if(null==t.as||"script"===t.as){var n=i(t.as,t.crossOrigin);r.d.M(e,{crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0})}}else null==t&&r.d.M(e)},N.preload=function(e,t){if("string"==typeof e&&"object"==typeof t&&null!==t&&"string"==typeof t.as){var n=t.as,o=i(n,t.crossOrigin);r.d.L(e,n,{crossOrigin:o,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0,type:"string"==typeof t.type?t.type:void 0,fetchPriority:"string"==typeof t.fetchPriority?t.fetchPriority:void 0,referrerPolicy:"string"==typeof t.referrerPolicy?t.referrerPolicy:void 0,imageSrcSet:"string"==typeof t.imageSrcSet?t.imageSrcSet:void 0,imageSizes:"string"==typeof t.imageSizes?t.imageSizes:void 0,media:"string"==typeof t.media?t.media:void 0})}},N.preloadModule=function(e,t){if("string"==typeof e)if(t){var n=i(t.as,t.crossOrigin);r.d.m(e,{as:"string"==typeof t.as&&"script"!==t.as?t.as:void 0,crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0})}else r.d.m(e)},N.requestFormReset=function(e){r.d.r(e)},N.unstable_batchedUpdates=function(e,t){return e(t)},N.useFormState=function(e,t,n){return a.H.useFormState(e,t,n)},N.useFormStatus=function(){return a.H.useHostTransitionStatus()},N.version="19.1.1",N}function j(){return I||(I=1,function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){}}(),D.exports=F()),D.exports}function M(){if(O)return C;O=1;var t=T(),n=v(),r=j();function o(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function i(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function l(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function s(e){if(i(e)!==e)throw Error(o(188))}function c(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e;for(e=e.child;null!==e;){if(null!==(t=c(e)))return t;e=e.sibling}return null}var u=Object.assign,d=Symbol.for("react.element"),f=Symbol.for("react.transitional.element"),p=Symbol.for("react.portal"),h=Symbol.for("react.fragment"),g=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),b=Symbol.for("react.provider"),y=Symbol.for("react.consumer"),x=Symbol.for("react.context"),k=Symbol.for("react.forward_ref"),S=Symbol.for("react.suspense"),w=Symbol.for("react.suspense_list"),_=Symbol.for("react.memo"),E=Symbol.for("react.lazy"),P=Symbol.for("react.activity"),z=Symbol.for("react.memo_cache_sentinel"),R=Symbol.iterator;function I(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=R&&e[R]||e["@@iterator"])?e:null}var A=Symbol.for("react.client.reference");function D(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===A?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case h:return"Fragment";case m:return"Profiler";case g:return"StrictMode";case S:return"Suspense";case w:return"SuspenseList";case P:return"Activity"}if("object"==typeof e)switch(e.$$typeof){case p:return"Portal";case x:return(e.displayName||"Context")+".Provider";case y:return(e._context.displayName||"Context")+".Consumer";case k:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case _:return null!==(t=e.displayName||null)?t:D(e.type)||"Memo";case E:t=e._payload,e=e._init;try{return D(e(t))}catch(n){}}return null}var N=Array.isArray,F=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,M=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,L={pending:!1,data:null,method:null,action:null},W=[],B=-1;function $(e){return{current:e}}function V(e){0>B||(e.current=W[B],W[B]=null,B--)}function H(e,t){B++,W[B]=e.current,e.current=t}var U=$(null),q=$(null),G=$(null),Y=$(null);function X(e,t){switch(H(G,t),H(q,e),H(U,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?ld(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)e=sd(t=ld(t),e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}V(U),H(U,e)}function K(){V(U),V(q),V(G)}function Q(e){null!==e.memoizedState&&H(Y,e);var t=U.current,n=sd(t,e.type);t!==n&&(H(q,e),H(U,n))}function J(e){q.current===e&&(V(U),V(q)),Y.current===e&&(V(Y),Qd._currentValue=L)}var Z=Object.prototype.hasOwnProperty,ee=t.unstable_scheduleCallback,te=t.unstable_cancelCallback,ne=t.unstable_shouldYield,re=t.unstable_requestPaint,oe=t.unstable_now,ae=t.unstable_getCurrentPriorityLevel,ie=t.unstable_ImmediatePriority,le=t.unstable_UserBlockingPriority,se=t.unstable_NormalPriority,ce=t.unstable_LowPriority,ue=t.unstable_IdlePriority,de=t.log,fe=t.unstable_setDisableYieldValue,pe=null,he=null;function ge(e){if("function"==typeof de&&fe(e),he&&"function"==typeof he.setStrictMode)try{he.setStrictMode(pe,e)}catch(t){}}var me=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(be(e)/ve|0)|0},be=Math.log,ve=Math.LN2,ye=256,xe=4194304;function ke(e){var t=42&e;if(0!==t)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194048&e;case 4194304:case 8388608:case 16777216:case 33554432:return 62914560&e;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Se(e,t,n){var r=e.pendingLanes;if(0===r)return 0;var o=0,a=e.suspendedLanes,i=e.pingedLanes;e=e.warmLanes;var l=134217727&r;return 0!==l?0!==(r=l&~a)?o=ke(r):0!==(i&=l)?o=ke(i):n||0!==(n=l&~e)&&(o=ke(n)):0!==(l=r&~a)?o=ke(l):0!==i?o=ke(i):n||0!==(n=r&~e)&&(o=ke(n)),0===o?0:0!==t&&t!==o&&0===(t&a)&&((a=o&-o)>=(n=t&-t)||32===a&&4194048&n)?t:o}function we(e,t){return 0===(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)}function _e(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function Ce(){var e=ye;return!(4194048&(ye<<=1))&&(ye=256),e}function Ee(){var e=xe;return!(62914560&(xe<<=1))&&(xe=4194304),e}function Pe(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ze(e,t){e.pendingLanes|=t,268435456!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Te(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-me(t);e.entangledLanes|=t,e.entanglements[r]=1073741824|e.entanglements[r]|4194090&n}function Re(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-me(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}function Ie(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Oe(e){return 2<(e&=-e)?8<e?134217727&e?32:268435456:8:2}function Ae(){var e=M.p;return 0!==e?e:void 0===(e=window.event)?32:pf(e.type)}var De=Math.random().toString(36).slice(2),Ne="__reactFiber$"+De,Fe="__reactProps$"+De,je="__reactContainer$"+De,Me="__reactEvents$"+De,Le="__reactListeners$"+De,We="__reactHandles$"+De,Be="__reactResources$"+De,$e="__reactMarker$"+De;function Ve(e){delete e[Ne],delete e[Fe],delete e[Me],delete e[Le],delete e[We]}function He(e){var t=e[Ne];if(t)return t;for(var n=e.parentNode;n;){if(t=n[je]||n[Ne]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Sd(e);null!==e;){if(n=e[Ne])return n;e=Sd(e)}return t}n=(e=n).parentNode}return null}function Ue(e){if(e=e[Ne]||e[je]){var t=e.tag;if(5===t||6===t||13===t||26===t||27===t||3===t)return e}return null}function qe(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e.stateNode;throw Error(o(33))}function Ge(e){var t=e[Be];return t||(t=e[Be]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Ye(e){e[$e]=!0}var Xe=new Set,Ke={};function Qe(e,t){Je(e,t),Je(e+"Capture",t)}function Je(e,t){for(Ke[e]=t,e=0;e<t.length;e++)Xe.add(t[e])}var Ze,et,tt=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),nt={},rt={};function ot(e,t,n){if(o=t,Z.call(rt,o)||!Z.call(nt,o)&&(tt.test(o)?rt[o]=!0:(nt[o]=!0,0)))if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":return void e.removeAttribute(t);case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return void e.removeAttribute(t)}e.setAttribute(t,""+n)}var o}function at(e,t,n){if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(t)}e.setAttribute(t,""+n)}}function it(e,t,n,r){if(null===r)e.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(n)}e.setAttributeNS(t,n,""+r)}}function lt(e){if(void 0===Ze)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Ze=t&&t[1]||"",et=-1<n.stack.indexOf("\n at")?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+Ze+e+et}var st=!1;function ct(e,t){if(!e||st)return"";st=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(o){var r=o}Reflect.construct(e,[],n)}else{try{n.call()}catch(a){r=a}e.call(n.prototype)}}else{try{throw Error()}catch(i){r=i}(n=e())&&"function"==typeof n.catch&&n.catch(function(){})}}catch(l){if(l&&r&&"string"==typeof l.stack)return[l.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var a=r.DetermineComponentFrameRoot(),i=a[0],l=a[1];if(i&&l){var s=i.split("\n"),c=l.split("\n");for(o=r=0;r<s.length&&!s[r].includes("DetermineComponentFrameRoot");)r++;for(;o<c.length&&!c[o].includes("DetermineComponentFrameRoot");)o++;if(r===s.length||o===c.length)for(r=s.length-1,o=c.length-1;1<=r&&0<=o&&s[r]!==c[o];)o--;for(;1<=r&&0<=o;r--,o--)if(s[r]!==c[o]){if(1!==r||1!==o)do{if(r--,0>--o||s[r]!==c[o]){var u="\n"+s[r].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}}while(1<=r&&0<=o);break}}}finally{st=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?lt(n):""}function ut(e){switch(e.tag){case 26:case 27:case 5:return lt(e.type);case 16:return lt("Lazy");case 13:return lt("Suspense");case 19:return lt("SuspenseList");case 0:case 15:return ct(e.type,!1);case 11:return ct(e.type.render,!1);case 1:return ct(e.type,!0);case 31:return lt("Activity");default:return""}}function dt(e){try{var t="";do{t+=ut(e),e=e.return}while(e);return t}catch(n){return"\nError generating stack: "+n.message+"\n"+n.stack}}function ft(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function pt(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function ht(e){e._valueTracker||(e._valueTracker=function(e){var t=pt(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function gt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=pt(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function mt(t){if(void 0===(t=t||("undefined"!=typeof document?document:void 0)))return null;try{return t.activeElement||t.body}catch(e){return t.body}}var bt=/[\n"\\]/g;function vt(e){return e.replace(bt,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function yt(e,t,n,r,o,a,i,l){e.name="",null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i?e.type=i:e.removeAttribute("type"),null!=t?"number"===i?(0===t&&""===e.value||e.value!=t)&&(e.value=""+ft(t)):e.value!==""+ft(t)&&(e.value=""+ft(t)):"submit"!==i&&"reset"!==i||e.removeAttribute("value"),null!=t?kt(e,i,ft(t)):null!=n?kt(e,i,ft(n)):null!=r&&e.removeAttribute("value"),null==o&&null!=a&&(e.defaultChecked=!!a),null!=o&&(e.checked=o&&"function"!=typeof o&&"symbol"!=typeof o),null!=l&&"function"!=typeof l&&"symbol"!=typeof l&&"boolean"!=typeof l?e.name=""+ft(l):e.removeAttribute("name")}function xt(e,t,n,r,o,a,i,l){if(null!=a&&"function"!=typeof a&&"symbol"!=typeof a&&"boolean"!=typeof a&&(e.type=a),null!=t||null!=n){if(("submit"===a||"reset"===a)&&null==t)return;n=null!=n?""+ft(n):"",t=null!=t?""+ft(t):n,l||t===e.value||(e.value=t),e.defaultValue=t}r="function"!=typeof(r=null!=r?r:o)&&"symbol"!=typeof r&&!!r,e.checked=l?e.checked:!!r,e.defaultChecked=!!r,null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i&&(e.name=i)}function kt(e,t,n){"number"===t&&mt(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function St(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+ft(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function wt(e,t,n){null==t||((t=""+ft(t))!==e.value&&(e.value=t),null!=n)?e.defaultValue=null!=n?""+ft(n):"":e.defaultValue!==t&&(e.defaultValue=t)}function _t(e,t,n,r){if(null==t){if(null!=r){if(null!=n)throw Error(o(92));if(N(r)){if(1<r.length)throw Error(o(93));r=r[0]}n=r}null==n&&(n=""),t=n}n=ft(t),e.defaultValue=n,(r=e.textContent)===n&&""!==r&&null!==r&&(e.value=r)}function Ct(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var Et=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Pt(e,t,n){var r=0===t.indexOf("--");null==n||"boolean"==typeof n||""===n?r?e.setProperty(t,""):"float"===t?e.cssFloat="":e[t]="":r?e.setProperty(t,n):"number"!=typeof n||0===n||Et.has(t)?"float"===t?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function zt(e,t,n){if(null!=t&&"object"!=typeof t)throw Error(o(62));if(e=e.style,null!=n){for(var r in n)!n.hasOwnProperty(r)||null!=t&&t.hasOwnProperty(r)||(0===r.indexOf("--")?e.setProperty(r,""):"float"===r?e.cssFloat="":e[r]="");for(var a in t)r=t[a],t.hasOwnProperty(a)&&n[a]!==r&&Pt(e,a,r)}else for(var i in t)t.hasOwnProperty(i)&&Pt(e,i,t[i])}function Tt(e){if(-1===e.indexOf("-"))return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Rt=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),It=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Ot(e){return It.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var At=null;function Dt(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Nt=null,Ft=null;function jt(e){var t=Ue(e);if(t&&(e=t.stateNode)){var n=e[Fe]||null;e:switch(e=t.stateNode,t.type){case"input":if(yt(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+vt(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=r[Fe]||null;if(!a)throw Error(o(90));yt(r,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(t=0;t<n.length;t++)(r=n[t]).form===e.form&&gt(r)}break e;case"textarea":wt(e,n.value,n.defaultValue);break e;case"select":null!=(t=n.value)&&St(e,!!n.multiple,t,!1)}}}var Mt=!1;function Lt(e,t,n){if(Mt)return e(t,n);Mt=!0;try{return e(t)}finally{if(Mt=!1,(null!==Nt||null!==Ft)&&(Hc(),Nt&&(t=Nt,e=Ft,Ft=Nt=null,jt(t),e)))for(t=0;t<e.length;t++)jt(e[t])}}function Wt(e,t){var n=e.stateNode;if(null===n)return null;var r=n[Fe]||null;if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(o(231,t,typeof n));return n}var Bt=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),$t=!1;if(Bt)try{var Vt={};Object.defineProperty(Vt,"passive",{get:function(){$t=!0}}),window.addEventListener("test",Vt,Vt),window.removeEventListener("test",Vt,Vt)}catch(e){$t=!1}var Ht=null,Ut=null,qt=null;function Gt(){if(qt)return qt;var e,t,n=Ut,r=n.length,o="value"in Ht?Ht.value:Ht.textContent,a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);return qt=o.slice(e,1<t?1-t:void 0)}function Yt(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function Xt(){return!0}function Kt(){return!1}function Qt(e){function t(t,n,r,o,a){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?Xt:Kt,this.isPropagationStopped=Kt,this}return u(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Xt)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Xt)},persist:function(){},isPersistent:Xt}),t}var Jt,Zt,en,tn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},nn=Qt(tn),rn=u({},tn,{view:0,detail:0}),on=Qt(rn),an=u({},rn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:bn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==en&&(en&&"mousemove"===e.type?(Jt=e.screenX-en.screenX,Zt=e.screenY-en.screenY):Zt=Jt=0,en=e),Jt)},movementY:function(e){return"movementY"in e?e.movementY:Zt}}),ln=Qt(an),sn=Qt(u({},an,{dataTransfer:0})),cn=Qt(u({},rn,{relatedTarget:0})),un=Qt(u({},tn,{animationName:0,elapsedTime:0,pseudoElement:0})),dn=Qt(u({},tn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),fn=Qt(u({},tn,{data:0})),pn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},hn={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"},gn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function mn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=gn[e])&&!!t[e]}function bn(){return mn}var vn=Qt(u({},rn,{key:function(e){if(e.key){var t=pn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Yt(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?hn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:bn,charCode:function(e){return"keypress"===e.type?Yt(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Yt(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),yn=Qt(u({},an,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),xn=Qt(u({},rn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:bn})),kn=Qt(u({},tn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Sn=Qt(u({},an,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),wn=Qt(u({},tn,{newState:0,oldState:0})),_n=[9,13,27,32],Cn=Bt&&"CompositionEvent"in window,En=null;Bt&&"documentMode"in document&&(En=document.documentMode);var Pn=Bt&&"TextEvent"in window&&!En,zn=Bt&&(!Cn||En&&8<En&&11>=En),Tn=String.fromCharCode(32),Rn=!1;function In(e,t){switch(e){case"keyup":return-1!==_n.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function On(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var An=!1,Dn={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 Nn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Dn[e.type]:"textarea"===t}function Fn(e,t,n,r){Nt?Ft?Ft.push(r):Ft=[r]:Nt=r,0<(t=Gu(t,"onChange")).length&&(n=new nn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var jn=null,Mn=null;function Ln(e){Lu(e,0)}function Wn(e){if(gt(qe(e)))return e}function Bn(e,t){if("change"===e)return t}var $n=!1;if(Bt){var Vn;if(Bt){var Hn="oninput"in document;if(!Hn){var Un=document.createElement("div");Un.setAttribute("oninput","return;"),Hn="function"==typeof Un.oninput}Vn=Hn}else Vn=!1;$n=Vn&&(!document.documentMode||9<document.documentMode)}function qn(){jn&&(jn.detachEvent("onpropertychange",Gn),Mn=jn=null)}function Gn(e){if("value"===e.propertyName&&Wn(Mn)){var t=[];Fn(t,Mn,e,Dt(e)),Lt(Ln,t)}}function Yn(e,t,n){"focusin"===e?(qn(),Mn=n,(jn=t).attachEvent("onpropertychange",Gn)):"focusout"===e&&qn()}function Xn(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Wn(Mn)}function Kn(e,t){if("click"===e)return Wn(t)}function Qn(e,t){if("input"===e||"change"===e)return Wn(t)}var Jn="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function Zn(e,t){if(Jn(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!Z.call(t,o)||!Jn(e[o],t[o]))return!1}return!0}function er(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function tr(e,t){var n,r=er(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=er(r)}}function nr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?nr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function rr(e){for(var t=mt((e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window).document);t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=mt((e=t.contentWindow).document)}return t}function or(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var ar=Bt&&"documentMode"in document&&11>=document.documentMode,ir=null,lr=null,sr=null,cr=!1;function ur(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;cr||null==ir||ir!==mt(r)||(r="selectionStart"in(r=ir)&&or(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},sr&&Zn(sr,r)||(sr=r,0<(r=Gu(lr,"onSelect")).length&&(t=new nn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=ir)))}function dr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var fr={animationend:dr("Animation","AnimationEnd"),animationiteration:dr("Animation","AnimationIteration"),animationstart:dr("Animation","AnimationStart"),transitionrun:dr("Transition","TransitionRun"),transitionstart:dr("Transition","TransitionStart"),transitioncancel:dr("Transition","TransitionCancel"),transitionend:dr("Transition","TransitionEnd")},pr={},hr={};function gr(e){if(pr[e])return pr[e];if(!fr[e])return e;var t,n=fr[e];for(t in n)if(n.hasOwnProperty(t)&&t in hr)return pr[e]=n[t];return e}Bt&&(hr=document.createElement("div").style,"AnimationEvent"in window||(delete fr.animationend.animation,delete fr.animationiteration.animation,delete fr.animationstart.animation),"TransitionEvent"in window||delete fr.transitionend.transition);var mr=gr("animationend"),br=gr("animationiteration"),vr=gr("animationstart"),yr=gr("transitionrun"),xr=gr("transitionstart"),kr=gr("transitioncancel"),Sr=gr("transitionend"),wr=new Map,_r="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Cr(e,t){wr.set(e,t),Qe(t,[e])}_r.push("scrollEnd");var Er=new WeakMap;function Pr(e,t){if("object"==typeof e&&null!==e){var n=Er.get(e);return void 0!==n?n:(t={value:e,source:t,stack:dt(t)},Er.set(e,t),t)}return{value:e,source:t,stack:dt(t)}}var zr=[],Tr=0,Rr=0;function Ir(){for(var e=Tr,t=Rr=Tr=0;t<e;){var n=zr[t];zr[t++]=null;var r=zr[t];zr[t++]=null;var o=zr[t];zr[t++]=null;var a=zr[t];if(zr[t++]=null,null!==r&&null!==o){var i=r.pending;null===i?o.next=o:(o.next=i.next,i.next=o),r.pending=o}0!==a&&Nr(n,o,a)}}function Or(e,t,n,r){zr[Tr++]=e,zr[Tr++]=t,zr[Tr++]=n,zr[Tr++]=r,Rr|=r,e.lanes|=r,null!==(e=e.alternate)&&(e.lanes|=r)}function Ar(e,t,n,r){return Or(e,t,n,r),Fr(e)}function Dr(e,t){return Or(e,null,null,t),Fr(e)}function Nr(e,t,n){e.lanes|=n;var r=e.alternate;null!==r&&(r.lanes|=n);for(var o=!1,a=e.return;null!==a;)a.childLanes|=n,null!==(r=a.alternate)&&(r.childLanes|=n),22===a.tag&&(null===(e=a.stateNode)||1&e._visibility||(o=!0)),e=a,a=a.return;return 3===e.tag?(a=e.stateNode,o&&null!==t&&(o=31-me(n),null===(r=(e=a.hiddenUpdates)[o])?e[o]=[t]:r.push(t),t.lane=536870912|n),a):null}function Fr(e){if(50<Nc)throw Nc=0,Fc=null,Error(o(185));for(var t=e.return;null!==t;)t=(e=t).return;return 3===e.tag?e.stateNode:null}var jr={};function Mr(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Lr(e,t,n,r){return new Mr(e,t,n,r)}function Wr(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Br(e,t){var n=e.alternate;return null===n?((n=Lr(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=65011712&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function $r(e,t){e.flags&=65011714;var n=e.alternate;return null===n?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Vr(e,t,n,r,a,i){var l=0;if(r=e,"function"==typeof e)Wr(e)&&(l=1);else if("string"==typeof e)l=function(e,t,n){if(1===n||null!=t.itemProp)return!1;switch(e){case"meta":case"title":return!0;case"style":if("string"!=typeof t.precedence||"string"!=typeof t.href||""===t.href)break;return!0;case"link":if("string"!=typeof t.rel||"string"!=typeof t.href||""===t.href||t.onLoad||t.onError)break;return"stylesheet"!==t.rel||(e=t.disabled,"string"==typeof t.precedence&&null==e);case"script":if(t.async&&"function"!=typeof t.async&&"symbol"!=typeof t.async&&!t.onLoad&&!t.onError&&t.src&&"string"==typeof t.src)return!0}return!1}(e,n,U.current)?26:"html"===e||"head"===e||"body"===e?27:5;else e:switch(e){case P:return(e=Lr(31,n,t,a)).elementType=P,e.lanes=i,e;case h:return Hr(n.children,a,i,t);case g:l=8,a|=24;break;case m:return(e=Lr(12,n,t,2|a)).elementType=m,e.lanes=i,e;case S:return(e=Lr(13,n,t,a)).elementType=S,e.lanes=i,e;case w:return(e=Lr(19,n,t,a)).elementType=w,e.lanes=i,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case b:case x:l=10;break e;case y:l=9;break e;case k:l=11;break e;case _:l=14;break e;case E:l=16,r=null;break e}l=29,n=Error(o(130,null===e?"null":typeof e,"")),r=null}return(t=Lr(l,n,t,a)).elementType=e,t.type=r,t.lanes=i,t}function Hr(e,t,n,r){return(e=Lr(7,e,r,t)).lanes=n,e}function Ur(e,t,n){return(e=Lr(6,e,null,t)).lanes=n,e}function qr(e,t,n){return(t=Lr(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Gr=[],Yr=0,Xr=null,Kr=0,Qr=[],Jr=0,Zr=null,eo=1,to="";function no(e,t){Gr[Yr++]=Kr,Gr[Yr++]=Xr,Xr=e,Kr=t}function ro(e,t,n){Qr[Jr++]=eo,Qr[Jr++]=to,Qr[Jr++]=Zr,Zr=e;var r=eo;e=to;var o=32-me(r)-1;r&=~(1<<o),n+=1;var a=32-me(t)+o;if(30<a){var i=o-o%5;a=(r&(1<<i)-1).toString(32),r>>=i,o-=i,eo=1<<32-me(t)+o|n<<o|r,to=a+e}else eo=1<<a|n<<o|r,to=e}function oo(e){null!==e.return&&(no(e,1),ro(e,1,0))}function ao(e){for(;e===Xr;)Xr=Gr[--Yr],Gr[Yr]=null,Kr=Gr[--Yr],Gr[Yr]=null;for(;e===Zr;)Zr=Qr[--Jr],Qr[Jr]=null,to=Qr[--Jr],Qr[Jr]=null,eo=Qr[--Jr],Qr[Jr]=null}var io=null,lo=null,so=!1,co=null,uo=!1,fo=Error(o(519));function po(e){throw yo(Pr(Error(o(418,"")),e)),fo}function ho(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[Ne]=e,t[Fe]=r,n){case"dialog":Wu("cancel",t),Wu("close",t);break;case"iframe":case"object":case"embed":Wu("load",t);break;case"video":case"audio":for(n=0;n<ju.length;n++)Wu(ju[n],t);break;case"source":Wu("error",t);break;case"img":case"image":case"link":Wu("error",t),Wu("load",t);break;case"details":Wu("toggle",t);break;case"input":Wu("invalid",t),xt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0),ht(t);break;case"select":Wu("invalid",t);break;case"textarea":Wu("invalid",t),_t(t,r.value,r.defaultValue,r.children),ht(t)}"string"!=typeof(n=r.children)&&"number"!=typeof n&&"bigint"!=typeof n||t.textContent===""+n||!0===r.suppressHydrationWarning||Zu(t.textContent,n)?(null!=r.popover&&(Wu("beforetoggle",t),Wu("toggle",t)),null!=r.onScroll&&Wu("scroll",t),null!=r.onScrollEnd&&Wu("scrollend",t),null!=r.onClick&&(t.onclick=ed),t=!0):t=!1,t||po(e)}function go(e){for(io=e.return;io;)switch(io.tag){case 5:case 13:return void(uo=!1);case 27:case 3:return void(uo=!0);default:io=io.return}}function mo(e){if(e!==io)return!1;if(!so)return go(e),so=!0,!1;var t,n=e.tag;if((t=3!==n&&27!==n)&&((t=5===n)&&(t=!("form"!==(t=e.type)&&"button"!==t)||cd(e.type,e.memoizedProps)),t=!t),t&&lo&&po(e),go(e),13===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,n=0;e;){if(8===e.nodeType)if("/$"===(t=e.data)){if(0===n){lo=xd(e.nextSibling);break e}n--}else"$"!==t&&"$!"!==t&&"$?"!==t||n++;e=e.nextSibling}lo=null}}else 27===n?(n=lo,md(e.type)?(e=kd,kd=null,lo=e):lo=n):lo=io?xd(e.stateNode.nextSibling):null;return!0}function bo(){lo=io=null,so=!1}function vo(){var e=co;return null!==e&&(null===Sc?Sc=e:Sc.push.apply(Sc,e),co=null),e}function yo(e){null===co?co=[e]:co.push(e)}var xo=$(null),ko=null,So=null;function wo(e,t,n){H(xo,t._currentValue),t._currentValue=n}function _o(e){e._currentValue=xo.current,V(xo)}function Co(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Eo(e,t,n,r){var a=e.child;for(null!==a&&(a.return=e);null!==a;){var i=a.dependencies;if(null!==i){var l=a.child;i=i.firstContext;e:for(;null!==i;){var s=i;i=a;for(var c=0;c<t.length;c++)if(s.context===t[c]){i.lanes|=n,null!==(s=i.alternate)&&(s.lanes|=n),Co(i.return,n,e),r||(l=null);break e}i=s.next}}else if(18===a.tag){if(null===(l=a.return))throw Error(o(341));l.lanes|=n,null!==(i=l.alternate)&&(i.lanes|=n),Co(l,n,e),l=null}else l=a.child;if(null!==l)l.return=a;else for(l=a;null!==l;){if(l===e){l=null;break}if(null!==(a=l.sibling)){a.return=l.return,l=a;break}l=l.return}a=l}}function Po(e,t,n,r){e=null;for(var a=t,i=!1;null!==a;){if(!i)if(524288&a.flags)i=!0;else if(262144&a.flags)break;if(10===a.tag){var l=a.alternate;if(null===l)throw Error(o(387));if(null!==(l=l.memoizedProps)){var s=a.type;Jn(a.pendingProps.value,l.value)||(null!==e?e.push(s):e=[s])}}else if(a===Y.current){if(null===(l=a.alternate))throw Error(o(387));l.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(null!==e?e.push(Qd):e=[Qd])}a=a.return}null!==e&&Eo(t,e,n,r),t.flags|=262144}function zo(e){for(e=e.firstContext;null!==e;){if(!Jn(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function To(e){ko=e,So=null,null!==(e=e.dependencies)&&(e.firstContext=null)}function Ro(e){return Oo(ko,e)}function Io(e,t){return null===ko&&To(e),Oo(e,t)}function Oo(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},null===So){if(null===e)throw Error(o(308));So=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else So=So.next=t;return n}var Ao="undefined"!=typeof AbortController?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},Do=t.unstable_scheduleCallback,No=t.unstable_NormalPriority,Fo={$$typeof:x,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function jo(){return{controller:new Ao,data:new Map,refCount:0}}function Mo(e){e.refCount--,0===e.refCount&&Do(No,function(){e.controller.abort()})}var Lo=null,Wo=0,Bo=0,$o=null;function Vo(){if(0===--Wo&&null!==Lo){null!==$o&&($o.status="fulfilled");var e=Lo;Lo=null,Bo=0,$o=null;for(var t=0;t<e.length;t++)(0,e[t])()}}var Ho=F.S;F.S=function(e,t){"object"==typeof t&&null!==t&&"function"==typeof t.then&&function(e,t){if(null===Lo){var n=Lo=[];Wo=0,Bo=Ou(),$o={status:"pending",value:void 0,then:function(e){n.push(e)}}}Wo++,t.then(Vo,Vo)}(0,t),null!==Ho&&Ho(e,t)};var Uo=$(null);function qo(){var e=Uo.current;return null!==e?e:ic.pooledCache}function Go(e,t){H(Uo,null===t?Uo.current:t.pool)}function Yo(){var e=qo();return null===e?null:{parent:Fo._currentValue,pool:e}}var Xo=Error(o(460)),Ko=Error(o(474)),Qo=Error(o(542)),Jo={then:function(){}};function Zo(e){return"fulfilled"===(e=e.status)||"rejected"===e}function ea(){}function ta(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(ea,ea),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw oa(e=t.reason),e;default:if("string"==typeof t.status)t.then(ea,ea);else{if(null!==(e=ic)&&100<e.shellSuspendCounter)throw Error(o(482));(e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw oa(e=t.reason),e}throw na=t,Xo}}var na=null;function ra(){if(null===na)throw Error(o(459));var e=na;return na=null,e}function oa(e){if(e===Xo||e===Qo)throw Error(o(483))}var aa=!1;function ia(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function la(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function sa(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function ca(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&ac){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,t=Fr(e),Nr(e,null,n),t}return Or(e,r,t,n),Fr(e)}function ua(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194048&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Re(e,n)}}function da(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var i={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};null===a?o=a=i:a=a.next=i,n=n.next}while(null!==n);null===a?o=a=t:a=a.next=t}else o=a=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var fa=!1;function pa(){if(fa&&null!==$o)throw $o}function ha(e,t,n,r){fa=!1;var o=e.updateQueue;aa=!1;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,c=s.next;s.next=null,null===i?a=c:i.next=c,i=s;var d=e.alternate;null!==d&&(l=(d=d.updateQueue).lastBaseUpdate)!==i&&(null===l?d.firstBaseUpdate=c:l.next=c,d.lastBaseUpdate=s)}if(null!==a){var f=o.baseState;for(i=0,d=c=s=null,l=a;;){var p=-536870913&l.lane,h=p!==l.lane;if(h?(sc&p)===p:(r&p)===p){0!==p&&p===Bo&&(fa=!0),null!==d&&(d=d.next={lane:0,tag:l.tag,payload:l.payload,callback:null,next:null});e:{var g=e,m=l;p=t;var b=n;switch(m.tag){case 1:if("function"==typeof(g=m.payload)){f=g.call(b,f,p);break e}f=g;break e;case 3:g.flags=-65537&g.flags|128;case 0:if(null==(p="function"==typeof(g=m.payload)?g.call(b,f,p):g))break e;f=u({},f,p);break e;case 2:aa=!0}}null!==(p=l.callback)&&(e.flags|=64,h&&(e.flags|=8192),null===(h=o.callbacks)?o.callbacks=[p]:h.push(p))}else h={lane:p,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===d?(c=d=h,s=f):d=d.next=h,i|=p;if(null===(l=l.next)){if(null===(l=o.shared.pending))break;l=(h=l).next,h.next=null,o.lastBaseUpdate=h,o.shared.pending=null}}null===d&&(s=f),o.baseState=s,o.firstBaseUpdate=c,o.lastBaseUpdate=d,null===a&&(o.shared.lanes=0),mc|=i,e.lanes=i,e.memoizedState=f}}function ga(e,t){if("function"!=typeof e)throw Error(o(191,e));e.call(t)}function ma(e,t){var n=e.callbacks;if(null!==n)for(e.callbacks=null,e=0;e<n.length;e++)ga(n[e],t)}var ba=$(null),va=$(0);function ya(e,t){H(va,e=hc),H(ba,t),hc=e|t.baseLanes}function xa(){H(va,hc),H(ba,ba.current)}function ka(){hc=va.current,V(ba),V(va)}var Sa=0,wa=null,_a=null,Ca=null,Ea=!1,Pa=!1,za=!1,Ta=0,Ra=0,Ia=null,Oa=0;function Aa(){throw Error(o(321))}function Da(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Jn(e[n],t[n]))return!1;return!0}function Na(e,t,n,r,o,a){return Sa=a,wa=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,F.H=null===e||null===e.memoizedState?Xi:Ki,za=!1,a=n(r,o),za=!1,Pa&&(a=ja(t,n,r,o)),Fa(e),a}function Fa(e){F.H=Yi;var t=null!==_a&&null!==_a.next;if(Sa=0,Ca=_a=wa=null,Ea=!1,Ra=0,Ia=null,t)throw Error(o(300));null===e||Rl||null!==(e=e.dependencies)&&zo(e)&&(Rl=!0)}function ja(e,t,n,r){wa=e;var a=0;do{if(Pa&&(Ia=null),Ra=0,Pa=!1,25<=a)throw Error(o(301));if(a+=1,Ca=_a=null,null!=e.updateQueue){var i=e.updateQueue;i.lastEffect=null,i.events=null,i.stores=null,null!=i.memoCache&&(i.memoCache.index=0)}F.H=Qi,i=t(n,r)}while(Pa);return i}function Ma(){var e=F.H,t=e.useState()[0];return t="function"==typeof t.then?Ha(t):t,e=e.useState()[0],(null!==_a?_a.memoizedState:null)!==e&&(wa.flags|=1024),t}function La(){var e=0!==Ta;return Ta=0,e}function Wa(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function Ba(e){if(Ea){for(e=e.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}Ea=!1}Sa=0,Ca=_a=wa=null,Pa=!1,Ra=Ta=0,Ia=null}function $a(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Ca?wa.memoizedState=Ca=e:Ca=Ca.next=e,Ca}function Va(){if(null===_a){var e=wa.alternate;e=null!==e?e.memoizedState:null}else e=_a.next;var t=null===Ca?wa.memoizedState:Ca.next;if(null!==t)Ca=t,_a=e;else{if(null===e){if(null===wa.alternate)throw Error(o(467));throw Error(o(310))}e={memoizedState:(_a=e).memoizedState,baseState:_a.baseState,baseQueue:_a.baseQueue,queue:_a.queue,next:null},null===Ca?wa.memoizedState=Ca=e:Ca=Ca.next=e}return Ca}function Ha(e){var t=Ra;return Ra+=1,null===Ia&&(Ia=[]),e=ta(Ia,e,t),t=wa,null===(null===Ca?t.memoizedState:Ca.next)&&(t=t.alternate,F.H=null===t||null===t.memoizedState?Xi:Ki),e}function Ua(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return Ha(e);if(e.$$typeof===x)return Ro(e)}throw Error(o(438,String(e)))}function qa(e){var t=null,n=wa.updateQueue;if(null!==n&&(t=n.memoCache),null==t){var r=wa.alternate;null!==r&&null!==(r=r.updateQueue)&&null!=(r=r.memoCache)&&(t={data:r.data.map(function(e){return e.slice()}),index:0})}if(null==t&&(t={data:[],index:0}),null===n&&(n={lastEffect:null,events:null,stores:null,memoCache:null},wa.updateQueue=n),n.memoCache=t,void 0===(n=t.data[t.index]))for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=z;return t.index++,n}function Ga(e,t){return"function"==typeof t?t(e):t}function Ya(e){return Xa(Va(),_a,e)}function Xa(e,t,n){var r=e.queue;if(null===r)throw Error(o(311));r.lastRenderedReducer=n;var a=e.baseQueue,i=r.pending;if(null!==i){if(null!==a){var l=a.next;a.next=i.next,i.next=l}t.baseQueue=a=i,r.pending=null}if(i=e.baseState,null===a)e.memoizedState=i;else{var s=l=null,c=null,u=t=a.next,d=!1;do{var f=-536870913&u.lane;if(f!==u.lane?(sc&f)===f:(Sa&f)===f){var p=u.revertLane;if(0===p)null!==c&&(c=c.next={lane:0,revertLane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),f===Bo&&(d=!0);else{if((Sa&p)===p){u=u.next,p===Bo&&(d=!0);continue}f={lane:0,revertLane:u.revertLane,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},null===c?(s=c=f,l=i):c=c.next=f,wa.lanes|=p,mc|=p}f=u.action,za&&n(i,f),i=u.hasEagerState?u.eagerState:n(i,f)}else p={lane:f,revertLane:u.revertLane,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},null===c?(s=c=p,l=i):c=c.next=p,wa.lanes|=f,mc|=f;u=u.next}while(null!==u&&u!==t);if(null===c?l=i:c.next=s,!Jn(i,e.memoizedState)&&(Rl=!0,d&&null!==(n=$o)))throw n;e.memoizedState=i,e.baseState=l,e.baseQueue=c,r.lastRenderedState=i}return null===a&&(r.lanes=0),[e.memoizedState,r.dispatch]}function Ka(e){var t=Va(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,i=t.memoizedState;if(null!==a){n.pending=null;var l=a=a.next;do{i=e(i,l.action),l=l.next}while(l!==a);Jn(i,t.memoizedState)||(Rl=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Qa(e,t,n){var r=wa,a=Va(),i=so;if(i){if(void 0===n)throw Error(o(407));n=n()}else n=t();var l=!Jn((_a||a).memoizedState,n);if(l&&(a.memoizedState=n,Rl=!0),a=a.queue,xi(2048,8,ei.bind(null,r,a,e),[e]),a.getSnapshot!==t||l||null!==Ca&&1&Ca.memoizedState.tag){if(r.flags|=2048,bi(9,{destroy:void 0,resource:void 0},Za.bind(null,r,a,n,t),null),null===ic)throw Error(o(349));i||124&Sa||Ja(r,t,n)}return n}function Ja(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=wa.updateQueue)?(t={lastEffect:null,events:null,stores:null,memoCache:null},wa.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Za(e,t,n,r){t.value=n,t.getSnapshot=r,ti(t)&&ni(e)}function ei(e,t,n){return n(function(){ti(t)&&ni(e)})}function ti(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Jn(e,n)}catch(r){return!0}}function ni(e){var t=Dr(e,2);null!==t&&Lc(t,0,2)}function ri(e){var t=$a();if("function"==typeof e){var n=e;if(e=n(),za){ge(!0);try{n()}finally{ge(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ga,lastRenderedState:e},t}function oi(e,t,n,r){return e.baseState=n,Xa(e,_a,"function"==typeof r?r:Ga)}function ai(e,t,n,r,a){if(Ui(e))throw Error(o(485));if(null!==(e=t.action)){var i={payload:a,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(e){i.listeners.push(e)}};null!==F.T?n(!0):i.isTransition=!1,r(i),null===(n=t.pending)?(i.next=t.pending=i,ii(t,i)):(i.next=n.next,t.pending=n.next=i)}}function ii(e,t){var n=t.action,r=t.payload,o=e.state;if(t.isTransition){var a=F.T,i={};F.T=i;try{var l=n(o,r),s=F.S;null!==s&&s(i,l),li(e,t,l)}catch(c){ci(e,t,c)}finally{F.T=a}}else try{li(e,t,a=n(o,r))}catch(u){ci(e,t,u)}}function li(e,t,n){null!==n&&"object"==typeof n&&"function"==typeof n.then?n.then(function(n){si(e,t,n)},function(n){return ci(e,t,n)}):si(e,t,n)}function si(e,t,n){t.status="fulfilled",t.value=n,ui(t),e.state=n,null!==(t=e.pending)&&((n=t.next)===t?e.pending=null:(n=n.next,t.next=n,ii(e,n)))}function ci(e,t,n){var r=e.pending;if(e.pending=null,null!==r){r=r.next;do{t.status="rejected",t.reason=n,ui(t),t=t.next}while(t!==r)}e.action=null}function ui(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function di(e,t){return t}function fi(e,t){if(so){var n=ic.formState;if(null!==n){e:{var r=wa;if(so){if(lo){t:{for(var o=lo,a=uo;8!==o.nodeType;){if(!a){o=null;break t}if(null===(o=xd(o.nextSibling))){o=null;break t}}o="F!"===(a=o.data)||"F"===a?o:null}if(o){lo=xd(o.nextSibling),r="F!"===o.data;break e}}po(r)}r=!1}r&&(t=n[0])}}return(n=$a()).memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:di,lastRenderedState:t},n.queue=r,n=$i.bind(null,wa,r),r.dispatch=n,r=ri(!1),a=Hi.bind(null,wa,!1,r.queue),o={state:t,dispatch:null,action:e,pending:null},(r=$a()).queue=o,n=ai.bind(null,wa,o,a,n),o.dispatch=n,r.memoizedState=e,[t,n,!1]}function pi(e){return hi(Va(),_a,e)}function hi(e,t,n){if(t=Xa(e,t,di)[0],e=Ya(Ga)[0],"object"==typeof t&&null!==t&&"function"==typeof t.then)try{var r=Ha(t)}catch(i){if(i===Xo)throw Qo;throw i}else r=t;var o=(t=Va()).queue,a=o.dispatch;return n!==t.memoizedState&&(wa.flags|=2048,bi(9,{destroy:void 0,resource:void 0},gi.bind(null,o,n),null)),[r,a,e]}function gi(e,t){e.action=t}function mi(e){var t=Va(),n=_a;if(null!==n)return hi(t,n,e);Va(),t=t.memoizedState;var r=(n=Va()).queue.dispatch;return n.memoizedState=e,[t,r,!1]}function bi(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},null===(t=wa.updateQueue)&&(t={lastEffect:null,events:null,stores:null,memoCache:null},wa.updateQueue=t),null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function vi(){return Va().memoizedState}function yi(e,t,n,r){var o=$a();r=void 0===r?null:r,wa.flags|=e,o.memoizedState=bi(1|t,{destroy:void 0,resource:void 0},n,r)}function xi(e,t,n,r){var o=Va();r=void 0===r?null:r;var a=o.memoizedState.inst;null!==_a&&null!==r&&Da(r,_a.memoizedState.deps)?o.memoizedState=bi(t,a,n,r):(wa.flags|=e,o.memoizedState=bi(1|t,a,n,r))}function ki(e,t){yi(8390656,8,e,t)}function Si(e,t){xi(2048,8,e,t)}function wi(e,t){return xi(4,2,e,t)}function _i(e,t){return xi(4,4,e,t)}function Ci(e,t){if("function"==typeof t){e=e();var n=t(e);return function(){"function"==typeof n?n():t(null)}}if(null!=t)return e=e(),t.current=e,function(){t.current=null}}function Ei(e,t,n){n=null!=n?n.concat([e]):null,xi(4,4,Ci.bind(null,t,e),n)}function Pi(){}function zi(e,t){var n=Va();t=void 0===t?null:t;var r=n.memoizedState;return null!==t&&Da(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ti(e,t){var n=Va();t=void 0===t?null:t;var r=n.memoizedState;if(null!==t&&Da(t,r[1]))return r[0];if(r=e(),za){ge(!0);try{e()}finally{ge(!1)}}return n.memoizedState=[r,t],r}function Ri(e,t,n){return void 0===n||1073741824&Sa?e.memoizedState=t:(e.memoizedState=n,e=Mc(),wa.lanes|=e,mc|=e,n)}function Ii(e,t,n,r){return Jn(n,t)?n:null!==ba.current?(e=Ri(e,n,r),Jn(e,t)||(Rl=!0),e):42&Sa?(e=Mc(),wa.lanes|=e,mc|=e,t):(Rl=!0,e.memoizedState=n)}function Oi(e,t,n,r,o){var a=M.p;M.p=0!==a&&8>a?a:8;var i,l,s,c=F.T,u={};F.T=u,Hi(e,!1,t,n);try{var d=o(),f=F.S;null!==f&&f(u,d),null!==d&&"object"==typeof d&&"function"==typeof d.then?Vi(e,t,(i=r,l=[],s={status:"pending",value:null,reason:null,then:function(e){l.push(e)}},d.then(function(){s.status="fulfilled",s.value=i;for(var e=0;e<l.length;e++)(0,l[e])(i)},function(e){for(s.status="rejected",s.reason=e,e=0;e<l.length;e++)(0,l[e])(void 0)}),s),jc()):Vi(e,t,r,jc())}catch(p){Vi(e,t,{then:function(){},status:"rejected",reason:p},jc())}finally{M.p=a,F.T=c}}function Ai(){}function Di(e,t,n,r){if(5!==e.tag)throw Error(o(476));var a=Ni(e).queue;Oi(e,a,t,L,null===n?Ai:function(){return Fi(e),n(r)})}function Ni(e){var t=e.memoizedState;if(null!==t)return t;var n={};return(t={memoizedState:L,baseState:L,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ga,lastRenderedState:L},next:null}).next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ga,lastRenderedState:n},next:null},e.memoizedState=t,null!==(e=e.alternate)&&(e.memoizedState=t),t}function Fi(e){Vi(e,Ni(e).next.queue,{},jc())}function ji(){return Ro(Qd)}function Mi(){return Va().memoizedState}function Li(){return Va().memoizedState}function Wi(e){for(var t=e.return;null!==t;){switch(t.tag){case 24:case 3:var n=jc(),r=ca(t,e=sa(n),n);return null!==r&&(Lc(r,0,n),ua(r,t,n)),t={cache:jo()},void(e.payload=t)}t=t.return}}function Bi(e,t,n){var r=jc();n={lane:r,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null},Ui(e)?qi(t,n):null!==(n=Ar(e,t,n,r))&&(Lc(n,0,r),Gi(n,t,r))}function $i(e,t,n){Vi(e,t,n,jc())}function Vi(e,t,n,r){var o={lane:r,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ui(e))qi(t,o);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=a(i,n);if(o.hasEagerState=!0,o.eagerState=l,Jn(l,i))return Or(e,t,o,0),null===ic&&Ir(),!1}catch(s){}if(null!==(n=Ar(e,t,o,r)))return Lc(n,0,r),Gi(n,t,r),!0}return!1}function Hi(e,t,n,r){if(r={lane:2,revertLane:Ou(),action:r,hasEagerState:!1,eagerState:null,next:null},Ui(e)){if(t)throw Error(o(479))}else null!==(t=Ar(e,n,r,2))&&Lc(t,0,2)}function Ui(e){var t=e.alternate;return e===wa||null!==t&&t===wa}function qi(e,t){Pa=Ea=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Gi(e,t,n){if(4194048&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Re(e,n)}}var Yi={readContext:Ro,use:Ua,useCallback:Aa,useContext:Aa,useEffect:Aa,useImperativeHandle:Aa,useLayoutEffect:Aa,useInsertionEffect:Aa,useMemo:Aa,useReducer:Aa,useRef:Aa,useState:Aa,useDebugValue:Aa,useDeferredValue:Aa,useTransition:Aa,useSyncExternalStore:Aa,useId:Aa,useHostTransitionStatus:Aa,useFormState:Aa,useActionState:Aa,useOptimistic:Aa,useMemoCache:Aa,useCacheRefresh:Aa},Xi={readContext:Ro,use:Ua,useCallback:function(e,t){return $a().memoizedState=[e,void 0===t?null:t],e},useContext:Ro,useEffect:ki,useImperativeHandle:function(e,t,n){n=null!=n?n.concat([e]):null,yi(4194308,4,Ci.bind(null,t,e),n)},useLayoutEffect:function(e,t){return yi(4194308,4,e,t)},useInsertionEffect:function(e,t){yi(4,2,e,t)},useMemo:function(e,t){var n=$a();t=void 0===t?null:t;var r=e();if(za){ge(!0);try{e()}finally{ge(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=$a();if(void 0!==n){var o=n(t);if(za){ge(!0);try{n(t)}finally{ge(!1)}}}else o=t;return r.memoizedState=r.baseState=o,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:o},r.queue=e,e=e.dispatch=Bi.bind(null,wa,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},$a().memoizedState=e},useState:function(e){var t=(e=ri(e)).queue,n=$i.bind(null,wa,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Pi,useDeferredValue:function(e,t){return Ri($a(),e,t)},useTransition:function(){var e=ri(!1);return e=Oi.bind(null,wa,e.queue,!0,!1),$a().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=wa,a=$a();if(so){if(void 0===n)throw Error(o(407));n=n()}else{if(n=t(),null===ic)throw Error(o(349));124&sc||Ja(r,t,n)}a.memoizedState=n;var i={value:n,getSnapshot:t};return a.queue=i,ki(ei.bind(null,r,i,e),[e]),r.flags|=2048,bi(9,{destroy:void 0,resource:void 0},Za.bind(null,r,i,n,t),null),n},useId:function(){var e=$a(),t=ic.identifierPrefix;if(so){var n=to;t="«"+t+"R"+(n=(eo&~(1<<32-me(eo)-1)).toString(32)+n),0<(n=Ta++)&&(t+="H"+n.toString(32)),t+="»"}else t="«"+t+"r"+(n=Oa++).toString(32)+"»";return e.memoizedState=t},useHostTransitionStatus:ji,useFormState:fi,useActionState:fi,useOptimistic:function(e){var t=$a();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Hi.bind(null,wa,!0,n),n.dispatch=t,[e,t]},useMemoCache:qa,useCacheRefresh:function(){return $a().memoizedState=Wi.bind(null,wa)}},Ki={readContext:Ro,use:Ua,useCallback:zi,useContext:Ro,useEffect:Si,useImperativeHandle:Ei,useInsertionEffect:wi,useLayoutEffect:_i,useMemo:Ti,useReducer:Ya,useRef:vi,useState:function(){return Ya(Ga)},useDebugValue:Pi,useDeferredValue:function(e,t){return Ii(Va(),_a.memoizedState,e,t)},useTransition:function(){var e=Ya(Ga)[0],t=Va().memoizedState;return["boolean"==typeof e?e:Ha(e),t]},useSyncExternalStore:Qa,useId:Mi,useHostTransitionStatus:ji,useFormState:pi,useActionState:pi,useOptimistic:function(e,t){return oi(Va(),0,e,t)},useMemoCache:qa,useCacheRefresh:Li},Qi={readContext:Ro,use:Ua,useCallback:zi,useContext:Ro,useEffect:Si,useImperativeHandle:Ei,useInsertionEffect:wi,useLayoutEffect:_i,useMemo:Ti,useReducer:Ka,useRef:vi,useState:function(){return Ka(Ga)},useDebugValue:Pi,useDeferredValue:function(e,t){var n=Va();return null===_a?Ri(n,e,t):Ii(n,_a.memoizedState,e,t)},useTransition:function(){var e=Ka(Ga)[0],t=Va().memoizedState;return["boolean"==typeof e?e:Ha(e),t]},useSyncExternalStore:Qa,useId:Mi,useHostTransitionStatus:ji,useFormState:mi,useActionState:mi,useOptimistic:function(e,t){var n=Va();return null!==_a?oi(n,0,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:qa,useCacheRefresh:Li},Ji=null,Zi=0;function el(e){var t=Zi;return Zi+=1,null===Ji&&(Ji=[]),ta(Ji,e,t)}function tl(e,t){t=t.props.ref,e.ref=void 0!==t?t:null}function nl(e,t){if(t.$$typeof===d)throw Error(o(525));throw e=Object.prototype.toString.call(t),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function rl(e){return(0,e._init)(e._payload)}function ol(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;null!==e;)null!==e.key?t.set(e.key,e):t.set(e.index,e),e=e.sibling;return t}function a(e,t){return(e=Br(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=67108866,n):r:(t.flags|=67108866,n):(t.flags|=1048576,n)}function l(t){return e&&null===t.alternate&&(t.flags|=67108866),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=Ur(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function c(e,t,n,r){var o=n.type;return o===h?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===E&&rl(o)===t.type)?(tl(t=a(t,n.props),n),t.return=e,t):(tl(t=Vr(n.type,n.key,n.props,null,e.mode,r),n),t.return=e,t)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=qr(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=Hr(n,e.mode,r,o)).return=e,t):((t=a(t,n)).return=e,t)}function g(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t||"bigint"==typeof t)return(t=Ur(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case f:return tl(n=Vr(t.type,t.key,t.props,null,e.mode,n),t),n.return=e,n;case p:return(t=qr(t,e.mode,n)).return=e,t;case E:return g(e,t=(0,t._init)(t._payload),n)}if(N(t)||I(t))return(t=Hr(t,e.mode,n,null)).return=e,t;if("function"==typeof t.then)return g(e,el(t),n);if(t.$$typeof===x)return g(e,Io(e,t),n);nl(e,t)}return null}function m(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n||"bigint"==typeof n)return null!==o?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case f:return n.key===o?c(e,t,n,r):null;case p:return n.key===o?u(e,t,n,r):null;case E:return m(e,t,n=(o=n._init)(n._payload),r)}if(N(n)||I(n))return null!==o?null:d(e,t,n,r,null);if("function"==typeof n.then)return m(e,t,el(n),r);if(n.$$typeof===x)return m(e,t,Io(e,n),r);nl(e,n)}return null}function b(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r||"bigint"==typeof r)return s(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case f:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case p:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case E:return b(e,t,n,r=(0,r._init)(r._payload),o)}if(N(r)||I(r))return d(t,e=e.get(n)||null,r,o,null);if("function"==typeof r.then)return b(e,t,n,el(r),o);if(r.$$typeof===x)return b(e,t,n,Io(t,r),o);nl(t,r)}return null}function v(s,c,u,d){if("object"==typeof u&&null!==u&&u.type===h&&null===u.key&&(u=u.props.children),"object"==typeof u&&null!==u){switch(u.$$typeof){case f:e:{for(var y=u.key;null!==c;){if(c.key===y){if((y=u.type)===h){if(7===c.tag){n(s,c.sibling),(d=a(c,u.props.children)).return=s,s=d;break e}}else if(c.elementType===y||"object"==typeof y&&null!==y&&y.$$typeof===E&&rl(y)===c.type){n(s,c.sibling),tl(d=a(c,u.props),u),d.return=s,s=d;break e}n(s,c);break}t(s,c),c=c.sibling}u.type===h?((d=Hr(u.props.children,s.mode,d,u.key)).return=s,s=d):(tl(d=Vr(u.type,u.key,u.props,null,s.mode,d),u),d.return=s,s=d)}return l(s);case p:e:{for(y=u.key;null!==c;){if(c.key===y){if(4===c.tag&&c.stateNode.containerInfo===u.containerInfo&&c.stateNode.implementation===u.implementation){n(s,c.sibling),(d=a(c,u.children||[])).return=s,s=d;break e}n(s,c);break}t(s,c),c=c.sibling}(d=qr(u,s.mode,d)).return=s,s=d}return l(s);case E:return v(s,c,u=(y=u._init)(u._payload),d)}if(N(u))return function(o,a,l,s){for(var c=null,u=null,d=a,f=a=0,p=null;null!==d&&f<l.length;f++){d.index>f?(p=d,d=null):p=d.sibling;var h=m(o,d,l[f],s);if(null===h){null===d&&(d=p);break}e&&d&&null===h.alternate&&t(o,d),a=i(h,a,f),null===u?c=h:u.sibling=h,u=h,d=p}if(f===l.length)return n(o,d),so&&no(o,f),c;if(null===d){for(;f<l.length;f++)null!==(d=g(o,l[f],s))&&(a=i(d,a,f),null===u?c=d:u.sibling=d,u=d);return so&&no(o,f),c}for(d=r(d);f<l.length;f++)null!==(p=b(d,o,f,l[f],s))&&(e&&null!==p.alternate&&d.delete(null===p.key?f:p.key),a=i(p,a,f),null===u?c=p:u.sibling=p,u=p);return e&&d.forEach(function(e){return t(o,e)}),so&&no(o,f),c}(s,c,u,d);if(I(u)){if("function"!=typeof(y=I(u)))throw Error(o(150));return function(a,l,s,c){if(null==s)throw Error(o(151));for(var u=null,d=null,f=l,p=l=0,h=null,v=s.next();null!==f&&!v.done;p++,v=s.next()){f.index>p?(h=f,f=null):h=f.sibling;var y=m(a,f,v.value,c);if(null===y){null===f&&(f=h);break}e&&f&&null===y.alternate&&t(a,f),l=i(y,l,p),null===d?u=y:d.sibling=y,d=y,f=h}if(v.done)return n(a,f),so&&no(a,p),u;if(null===f){for(;!v.done;p++,v=s.next())null!==(v=g(a,v.value,c))&&(l=i(v,l,p),null===d?u=v:d.sibling=v,d=v);return so&&no(a,p),u}for(f=r(f);!v.done;p++,v=s.next())null!==(v=b(f,a,p,v.value,c))&&(e&&null!==v.alternate&&f.delete(null===v.key?p:v.key),l=i(v,l,p),null===d?u=v:d.sibling=v,d=v);return e&&f.forEach(function(e){return t(a,e)}),so&&no(a,p),u}(s,c,u=y.call(u),d)}if("function"==typeof u.then)return v(s,c,el(u),d);if(u.$$typeof===x)return v(s,c,Io(s,u),d);nl(s,u)}return"string"==typeof u&&""!==u||"number"==typeof u||"bigint"==typeof u?(u=""+u,null!==c&&6===c.tag?(n(s,c.sibling),(d=a(c,u)).return=s,s=d):(n(s,c),(d=Ur(u,s.mode,d)).return=s,s=d),l(s)):n(s,c)}return function(e,t,n,r){try{Zi=0;var o=v(e,t,n,r);return Ji=null,o}catch(i){if(i===Xo||i===Qo)throw i;var a=Lr(29,i,null,e.mode);return a.lanes=r,a.return=e,a}}}var al=ol(!0),il=ol(!1),ll=$(null),sl=null;function cl(e){var t=e.alternate;H(pl,1&pl.current),H(ll,e),null===sl&&(null===t||null!==ba.current||null!==t.memoizedState)&&(sl=e)}function ul(e){if(22===e.tag){if(H(pl,pl.current),H(ll,e),null===sl){var t=e.alternate;null!==t&&null!==t.memoizedState&&(sl=e)}}else dl()}function dl(){H(pl,pl.current),H(ll,ll.current)}function fl(e){V(ll),sl===e&&(sl=null),V(pl)}var pl=$(0);function hl(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||yd(n)))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function gl(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:u({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var ml={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=jc(),o=sa(r);o.payload=t,null!=n&&(o.callback=n),null!==(t=ca(e,o,r))&&(Lc(t,0,r),ua(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=jc(),o=sa(r);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=ca(e,o,r))&&(Lc(t,0,r),ua(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=jc(),r=sa(n);r.tag=2,null!=t&&(r.callback=t),null!==(t=ca(e,r,n))&&(Lc(t,0,n),ua(t,e,n))}};function bl(e,t,n,r,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!(t.prototype&&t.prototype.isPureReactComponent&&Zn(n,r)&&Zn(o,a))}function vl(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&ml.enqueueReplaceState(t,t.state,null)}function yl(e,t){var n=t;if("ref"in t)for(var r in n={},t)"ref"!==r&&(n[r]=t[r]);if(e=e.defaultProps)for(var o in n===t&&(n=u({},n)),e)void 0===n[o]&&(n[o]=e[o]);return n}var xl="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e)};function kl(e){xl(e)}function Sl(e){}function wl(e){xl(e)}function _l(e,t){try{(0,e.onUncaughtError)(t.value,{componentStack:t.stack})}catch(n){setTimeout(function(){throw n})}}function Cl(e,t,n){try{(0,e.onCaughtError)(n.value,{componentStack:n.stack,errorBoundary:1===t.tag?t.stateNode:null})}catch(r){setTimeout(function(){throw r})}}function El(e,t,n){return(n=sa(n)).tag=3,n.payload={element:null},n.callback=function(){_l(e,t)},n}function Pl(e){return(e=sa(e)).tag=3,e}function zl(e,t,n,r){var o=n.type.getDerivedStateFromError;if("function"==typeof o){var a=r.value;e.payload=function(){return o(a)},e.callback=function(){Cl(t,n,r)}}var i=n.stateNode;null!==i&&"function"==typeof i.componentDidCatch&&(e.callback=function(){Cl(t,n,r),"function"!=typeof o&&(null===Pc?Pc=new Set([this]):Pc.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:null!==e?e:""})})}var Tl=Error(o(461)),Rl=!1;function Il(e,t,n,r){t.child=null===e?il(t,null,n,r):al(t,e.child,n,r)}function Ol(e,t,n,r,o){n=n.render;var a=t.ref;if("ref"in r){var i={};for(var l in r)"ref"!==l&&(i[l]=r[l])}else i=r;return To(t),r=Na(e,t,n,i,a,o),l=La(),null===e||Rl?(so&&l&&oo(t),t.flags|=1,Il(e,t,r,o),t.child):(Wa(e,t,o),Jl(e,t,o))}function Al(e,t,n,r,o){if(null===e){var a=n.type;return"function"!=typeof a||Wr(a)||void 0!==a.defaultProps||null!==n.compare?((e=Vr(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Dl(e,t,a,r,o))}if(a=e.child,!Zl(e,o)){var i=a.memoizedProps;if((n=null!==(n=n.compare)?n:Zn)(i,r)&&e.ref===t.ref)return Jl(e,t,o)}return t.flags|=1,(e=Br(a,r)).ref=t.ref,e.return=t,t.child=e}function Dl(e,t,n,r,o){if(null!==e){var a=e.memoizedProps;if(Zn(a,r)&&e.ref===t.ref){if(Rl=!1,t.pendingProps=r=a,!Zl(e,o))return t.lanes=e.lanes,Jl(e,t,o);131072&e.flags&&(Rl=!0)}}return Ml(e,t,n,r,o)}function Nl(e,t,n){var r=t.pendingProps,o=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode){if(128&t.flags){if(r=null!==a?a.baseLanes|n:n,null!==e){for(o=t.child=e.child,a=0;null!==o;)a=a|o.lanes|o.childLanes,o=o.sibling;t.childLanes=a&~r}else t.childLanes=0,t.child=null;return Fl(e,t,r,n)}if(!(536870912&n))return t.lanes=t.childLanes=536870912,Fl(e,t,null!==a?a.baseLanes|n:n,n);t.memoizedState={baseLanes:0,cachePool:null},null!==e&&Go(0,null!==a?a.cachePool:null),null!==a?ya(t,a):xa(),ul(t)}else null!==a?(Go(0,a.cachePool),ya(t,a),dl(),t.memoizedState=null):(null!==e&&Go(0,null),xa(),dl());return Il(e,t,o,n),t.child}function Fl(e,t,n,r){var o=qo();return o=null===o?null:{parent:Fo._currentValue,pool:o},t.memoizedState={baseLanes:n,cachePool:o},null!==e&&Go(0,null),xa(),ul(t),null!==e&&Po(e,t,r,!0),null}function jl(e,t){var n=t.ref;if(null===n)null!==e&&null!==e.ref&&(t.flags|=4194816);else{if("function"!=typeof n&&"object"!=typeof n)throw Error(o(284));null!==e&&e.ref===n||(t.flags|=4194816)}}function Ml(e,t,n,r,o){return To(t),n=Na(e,t,n,r,void 0,o),r=La(),null===e||Rl?(so&&r&&oo(t),t.flags|=1,Il(e,t,n,o),t.child):(Wa(e,t,o),Jl(e,t,o))}function Ll(e,t,n,r,o,a){return To(t),t.updateQueue=null,n=ja(t,r,n,o),Fa(e),r=La(),null===e||Rl?(so&&r&&oo(t),t.flags|=1,Il(e,t,n,a),t.child):(Wa(e,t,a),Jl(e,t,a))}function Wl(e,t,n,r,o){if(To(t),null===t.stateNode){var a=jr,i=n.contextType;"object"==typeof i&&null!==i&&(a=Ro(i)),a=new n(r,a),t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,a.updater=ml,t.stateNode=a,a._reactInternals=t,(a=t.stateNode).props=r,a.state=t.memoizedState,a.refs={},ia(t),i=n.contextType,a.context="object"==typeof i&&null!==i?Ro(i):jr,a.state=t.memoizedState,"function"==typeof(i=n.getDerivedStateFromProps)&&(gl(t,n,i,r),a.state=t.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(i=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),i!==a.state&&ml.enqueueReplaceState(a,a.state,null),ha(t,r,a,o),pa(),a.state=t.memoizedState),"function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!0}else if(null===e){a=t.stateNode;var l=t.memoizedProps,s=yl(n,l);a.props=s;var c=a.context,u=n.contextType;i=jr,"object"==typeof u&&null!==u&&(i=Ro(u));var d=n.getDerivedStateFromProps;u="function"==typeof d||"function"==typeof a.getSnapshotBeforeUpdate,l=t.pendingProps!==l,u||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l||c!==i)&&vl(t,a,r,i),aa=!1;var f=t.memoizedState;a.state=f,ha(t,r,a,o),pa(),c=t.memoizedState,l||f!==c||aa?("function"==typeof d&&(gl(t,n,d,r),c=t.memoizedState),(s=aa||bl(t,n,s,r,f,c,i))?(u||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),a.props=r,a.state=c,a.context=i,r=s):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,la(e,t),u=yl(n,i=t.memoizedProps),a.props=u,d=t.pendingProps,f=a.context,c=n.contextType,s=jr,"object"==typeof c&&null!==c&&(s=Ro(c)),(c="function"==typeof(l=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(i!==d||f!==s)&&vl(t,a,r,s),aa=!1,f=t.memoizedState,a.state=f,ha(t,r,a,o),pa();var p=t.memoizedState;i!==d||f!==p||aa||null!==e&&null!==e.dependencies&&zo(e.dependencies)?("function"==typeof l&&(gl(t,n,l,r),p=t.memoizedState),(u=aa||bl(t,n,u,r,f,p,s)||null!==e&&null!==e.dependencies&&zo(e.dependencies))?(c||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,p,s),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,p,s)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=s,r=u):("function"!=typeof a.componentDidUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,jl(e,t),r=!!(128&t.flags),a||r?(a=t.stateNode,n=r&&"function"!=typeof n.getDerivedStateFromError?null:a.render(),t.flags|=1,null!==e&&r?(t.child=al(t,e.child,null,o),t.child=al(t,null,n,o)):Il(e,t,n,o),t.memoizedState=a.state,e=t.child):e=Jl(e,t,o),e}function Bl(e,t,n,r){return bo(),t.flags|=256,Il(e,t,n,r),t.child}var $l={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Vl(e){return{baseLanes:e,cachePool:Yo()}}function Hl(e,t,n){return e=null!==e?e.childLanes&~n:0,t&&(e|=yc),e}function Ul(e,t,n){var r,a=t.pendingProps,i=!1,l=!!(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&!!(2&pl.current)),r&&(i=!0,t.flags&=-129),r=!!(32&t.flags),t.flags&=-33,null===e){if(so){if(i?cl(t):dl(),so){var s,c=lo;if(s=c){e:{for(s=c,c=uo;8!==s.nodeType;){if(!c){c=null;break e}if(null===(s=xd(s.nextSibling))){c=null;break e}}c=s}null!==c?(t.memoizedState={dehydrated:c,treeContext:null!==Zr?{id:eo,overflow:to}:null,retryLane:536870912,hydrationErrors:null},(s=Lr(18,null,null,0)).stateNode=c,s.return=t,t.child=s,io=t,lo=null,s=!0):s=!1}s||po(t)}if(null!==(c=t.memoizedState)&&null!==(c=c.dehydrated))return yd(c)?t.lanes=32:t.lanes=536870912,null;fl(t)}return c=a.children,a=a.fallback,i?(dl(),c=Gl({mode:"hidden",children:c},i=t.mode),a=Hr(a,i,n,null),c.return=t,a.return=t,c.sibling=a,t.child=c,(i=t.child).memoizedState=Vl(n),i.childLanes=Hl(e,r,n),t.memoizedState=$l,a):(cl(t),ql(t,c))}if(null!==(s=e.memoizedState)&&null!==(c=s.dehydrated)){if(l)256&t.flags?(cl(t),t.flags&=-257,t=Yl(e,t,n)):null!==t.memoizedState?(dl(),t.child=e.child,t.flags|=128,t=null):(dl(),i=a.fallback,c=t.mode,a=Gl({mode:"visible",children:a.children},c),(i=Hr(i,c,n,null)).flags|=2,a.return=t,i.return=t,a.sibling=i,t.child=a,al(t,e.child,null,n),(a=t.child).memoizedState=Vl(n),a.childLanes=Hl(e,r,n),t.memoizedState=$l,t=i);else if(cl(t),yd(c)){if(r=c.nextSibling&&c.nextSibling.dataset)var u=r.dgst;r=u,(a=Error(o(419))).stack="",a.digest=r,yo({value:a,source:null,stack:null}),t=Yl(e,t,n)}else if(Rl||Po(e,t,n,!1),r=0!==(n&e.childLanes),Rl||r){if(null!==(r=ic)&&0!==(a=0!==((a=42&(a=n&-n)?1:Ie(a))&(r.suspendedLanes|n))?0:a)&&a!==s.retryLane)throw s.retryLane=a,Dr(e,a),Lc(r,0,a),Tl;"$?"===c.data||Kc(),t=Yl(e,t,n)}else"$?"===c.data?(t.flags|=192,t.child=e.child,t=null):(e=s.treeContext,lo=xd(c.nextSibling),io=t,so=!0,co=null,uo=!1,null!==e&&(Qr[Jr++]=eo,Qr[Jr++]=to,Qr[Jr++]=Zr,eo=e.id,to=e.overflow,Zr=t),(t=ql(t,a.children)).flags|=4096);return t}return i?(dl(),i=a.fallback,c=t.mode,u=(s=e.child).sibling,(a=Br(s,{mode:"hidden",children:a.children})).subtreeFlags=65011712&s.subtreeFlags,null!==u?i=Br(u,i):(i=Hr(i,c,n,null)).flags|=2,i.return=t,a.return=t,a.sibling=i,t.child=a,a=i,i=t.child,null===(c=e.child.memoizedState)?c=Vl(n):(null!==(s=c.cachePool)?(u=Fo._currentValue,s=s.parent!==u?{parent:u,pool:u}:s):s=Yo(),c={baseLanes:c.baseLanes|n,cachePool:s}),i.memoizedState=c,i.childLanes=Hl(e,r,n),t.memoizedState=$l,a):(cl(t),e=(n=e.child).sibling,(n=Br(n,{mode:"visible",children:a.children})).return=t,n.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n)}function ql(e,t){return(t=Gl({mode:"visible",children:t},e.mode)).return=e,e.child=t}function Gl(e,t){return(e=Lr(22,e,null,t)).lanes=0,e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function Yl(e,t,n){return al(t,e.child,null,n),(e=ql(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Xl(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Co(e.return,t,n)}function Kl(e,t,n,r,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o)}function Ql(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;if(Il(e,t,r.children,n),2&(r=pl.current))r=1&r|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Xl(e,n,t);else if(19===e.tag)Xl(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}switch(H(pl,r),o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===hl(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Kl(t,!1,o,n,a);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===hl(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Kl(t,!0,n,null,a);break;case"together":Kl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Jl(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),mc|=t.lanes,0===(n&t.childLanes)){if(null===e)return null;if(Po(e,t,n,!1),0===(n&t.childLanes))return null}if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Br(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Br(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Zl(e,t){return 0!==(e.lanes&t)||!(null===(e=e.dependencies)||!zo(e))}function es(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps)Rl=!0;else{if(!(Zl(e,n)||128&t.flags))return Rl=!1,function(e,t,n){switch(t.tag){case 3:X(t,t.stateNode.containerInfo),wo(0,Fo,e.memoizedState.cache),bo();break;case 27:case 5:Q(t);break;case 4:X(t,t.stateNode.containerInfo);break;case 10:wo(0,t.type,t.memoizedProps.value);break;case 13:var r=t.memoizedState;if(null!==r)return null!==r.dehydrated?(cl(t),t.flags|=128,null):0!==(n&t.child.childLanes)?Ul(e,t,n):(cl(t),null!==(e=Jl(e,t,n))?e.sibling:null);cl(t);break;case 19:var o=!!(128&e.flags);if((r=0!==(n&t.childLanes))||(Po(e,t,n,!1),r=0!==(n&t.childLanes)),o){if(r)return Ql(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),H(pl,pl.current),r)break;return null;case 22:case 23:return t.lanes=0,Nl(e,t,n);case 24:wo(0,Fo,e.memoizedState.cache)}return Jl(e,t,n)}(e,t,n);Rl=!!(131072&e.flags)}else Rl=!1,so&&1048576&t.flags&&ro(t,Kr,t.index);switch(t.lanes=0,t.tag){case 16:e:{e=t.pendingProps;var r=t.elementType,a=r._init;if(r=a(r._payload),t.type=r,"function"!=typeof r){if(null!=r){if((a=r.$$typeof)===k){t.tag=11,t=Ol(null,t,r,e,n);break e}if(a===_){t.tag=14,t=Al(null,t,r,e,n);break e}}throw t=D(r)||r,Error(o(306,t,""))}Wr(r)?(e=yl(r,e),t.tag=1,t=Wl(null,t,r,e,n)):(t.tag=0,t=Ml(null,t,r,e,n))}return t;case 0:return Ml(e,t,t.type,t.pendingProps,n);case 1:return Wl(e,t,r=t.type,a=yl(r,t.pendingProps),n);case 3:e:{if(X(t,t.stateNode.containerInfo),null===e)throw Error(o(387));r=t.pendingProps;var i=t.memoizedState;a=i.element,la(e,t),ha(t,r,null,n);var l=t.memoizedState;if(r=l.cache,wo(0,Fo,r),r!==i.cache&&Eo(t,[Fo],n,!0),pa(),r=l.element,i.isDehydrated){if(i={element:r,isDehydrated:!1,cache:l.cache},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=Bl(e,t,r,n);break e}if(r!==a){yo(a=Pr(Error(o(424)),t)),t=Bl(e,t,r,n);break e}for(e=9===(e=t.stateNode.containerInfo).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e,lo=xd(e.firstChild),io=t,so=!0,co=null,uo=!0,n=il(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(bo(),r===a){t=Jl(e,t,n);break e}Il(e,t,r,n)}t=t.child}return t;case 26:return jl(e,t),null===e?(n=Id(t.type,null,t.pendingProps,null))?t.memoizedState=n:so||(n=t.type,e=t.pendingProps,(r=id(G.current).createElement(n))[Ne]=t,r[Fe]=e,rd(r,n,e),Ye(r),t.stateNode=r):t.memoizedState=Id(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Q(t),null===e&&so&&(r=t.stateNode=wd(t.type,t.pendingProps,G.current),io=t,uo=!0,a=lo,md(t.type)?(kd=a,lo=xd(r.firstChild)):lo=a),Il(e,t,t.pendingProps.children,n),jl(e,t),null===e&&(t.flags|=4194304),t.child;case 5:return null===e&&so&&((a=r=lo)&&(null!==(r=function(e,t,n,r){for(;1===e.nodeType;){var o=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&("INPUT"!==e.nodeName||"hidden"!==e.type))break}else if(r){if(!e[$e])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if("stylesheet"===(a=e.getAttribute("rel"))&&e.hasAttribute("data-precedence"))break;if(a!==o.rel||e.getAttribute("href")!==(null==o.href||""===o.href?null:o.href)||e.getAttribute("crossorigin")!==(null==o.crossOrigin?null:o.crossOrigin)||e.getAttribute("title")!==(null==o.title?null:o.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(((a=e.getAttribute("src"))!==(null==o.src?null:o.src)||e.getAttribute("type")!==(null==o.type?null:o.type)||e.getAttribute("crossorigin")!==(null==o.crossOrigin?null:o.crossOrigin))&&a&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else{if("input"!==t||"hidden"!==e.type)return e;var a=null==o.name?null:""+o.name;if("hidden"===o.type&&e.getAttribute("name")===a)return e}if(null===(e=xd(e.nextSibling)))break}return null}(r,t.type,t.pendingProps,uo))?(t.stateNode=r,io=t,lo=xd(r.firstChild),uo=!1,a=!0):a=!1),a||po(t)),Q(t),a=t.type,i=t.pendingProps,l=null!==e?e.memoizedProps:null,r=i.children,cd(a,i)?r=null:null!==l&&cd(a,l)&&(t.flags|=32),null!==t.memoizedState&&(a=Na(e,t,Ma,null,null,n),Qd._currentValue=a),jl(e,t),Il(e,t,r,n),t.child;case 6:return null===e&&so&&((e=n=lo)&&(null!==(n=function(e,t,n){if(""===t)return null;for(;3!==e.nodeType;){if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!n)return null;if(null===(e=xd(e.nextSibling)))return null}return e}(n,t.pendingProps,uo))?(t.stateNode=n,io=t,lo=null,e=!0):e=!1),e||po(t)),null;case 13:return Ul(e,t,n);case 4:return X(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=al(t,null,r,n):Il(e,t,r,n),t.child;case 11:return Ol(e,t,t.type,t.pendingProps,n);case 7:return Il(e,t,t.pendingProps,n),t.child;case 8:case 12:return Il(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,wo(0,t.type,r.value),Il(e,t,r.children,n),t.child;case 9:return a=t.type._context,r=t.pendingProps.children,To(t),r=r(a=Ro(a)),t.flags|=1,Il(e,t,r,n),t.child;case 14:return Al(e,t,t.type,t.pendingProps,n);case 15:return Dl(e,t,t.type,t.pendingProps,n);case 19:return Ql(e,t,n);case 31:return r=t.pendingProps,n=t.mode,r={mode:r.mode,children:r.children},null===e?((n=Gl(r,n)).ref=t.ref,t.child=n,n.return=t,t=n):((n=Br(e.child,r)).ref=t.ref,t.child=n,n.return=t,t=n),t;case 22:return Nl(e,t,n);case 24:return To(t),r=Ro(Fo),null===e?(null===(a=qo())&&(a=ic,i=jo(),a.pooledCache=i,i.refCount++,null!==i&&(a.pooledCacheLanes|=n),a=i),t.memoizedState={parent:r,cache:a},ia(t),wo(0,Fo,a)):(0!==(e.lanes&n)&&(la(e,t),ha(t,null,null,n),pa()),a=e.memoizedState,i=t.memoizedState,a.parent!==r?(a={parent:r,cache:r},t.memoizedState=a,0===t.lanes&&(t.memoizedState=t.updateQueue.baseState=a),wo(0,Fo,r)):(r=i.cache,wo(0,Fo,r),r!==a.cache&&Eo(t,[Fo],n,!0))),Il(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(o(156,t.tag))}function ts(e){e.flags|=4}function ns(e,t){if("stylesheet"!==t.type||4&t.state.loading)e.flags&=-16777217;else if(e.flags|=16777216,!Hd(t)){if(null!==(t=ll.current)&&((4194048&sc)===sc?null!==sl:(62914560&sc)!==sc&&!(536870912&sc)||t!==sl))throw na=Jo,Ko;e.flags|=8192}}function rs(e,t){null!==t&&(e.flags|=4),16384&e.flags&&(t=22!==e.tag?Ee():536870912,e.lanes|=t,xc|=t)}function os(e,t){if(!so)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function as(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=65011712&o.subtreeFlags,r|=65011712&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function is(e,t,n){var r=t.pendingProps;switch(ao(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:case 1:return as(t),null;case 3:return n=t.stateNode,r=null,null!==e&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),_o(Fo),K(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||(mo(t)?ts(t):null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,vo())),as(t),null;case 26:return n=t.memoizedState,null===e?(ts(t),null!==n?(as(t),ns(t,n)):(as(t),t.flags&=-16777217)):n?n!==e.memoizedState?(ts(t),as(t),ns(t,n)):(as(t),t.flags&=-16777217):(e.memoizedProps!==r&&ts(t),as(t),t.flags&=-16777217),null;case 27:J(t),n=G.current;var a=t.type;if(null!==e&&null!=t.stateNode)e.memoizedProps!==r&&ts(t);else{if(!r){if(null===t.stateNode)throw Error(o(166));return as(t),null}e=U.current,mo(t)?ho(t):(e=wd(a,r,n),t.stateNode=e,ts(t))}return as(t),null;case 5:if(J(t),n=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&ts(t);else{if(!r){if(null===t.stateNode)throw Error(o(166));return as(t),null}if(e=U.current,mo(t))ho(t);else{switch(a=id(G.current),e){case 1:e=a.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:e=a.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":e=a.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":e=a.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":(e=a.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e="string"==typeof r.is?a.createElement("select",{is:r.is}):a.createElement("select"),r.multiple?e.multiple=!0:r.size&&(e.size=r.size);break;default:e="string"==typeof r.is?a.createElement(n,{is:r.is}):a.createElement(n)}}e[Ne]=t,e[Fe]=r;e:for(a=t.child;null!==a;){if(5===a.tag||6===a.tag)e.appendChild(a.stateNode);else if(4!==a.tag&&27!==a.tag&&null!==a.child){a.child.return=a,a=a.child;continue}if(a===t)break e;for(;null===a.sibling;){if(null===a.return||a.return===t)break e;a=a.return}a.sibling.return=a.return,a=a.sibling}t.stateNode=e;e:switch(rd(e,n,r),n){case"button":case"input":case"select":case"textarea":e=!!r.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&ts(t)}}return as(t),t.flags&=-16777217,null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==r&&ts(t);else{if("string"!=typeof r&&null===t.stateNode)throw Error(o(166));if(e=G.current,mo(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,null!==(a=io))switch(a.tag){case 27:case 5:r=a.memoizedProps}e[Ne]=t,(e=!!(e.nodeValue===n||null!==r&&!0===r.suppressHydrationWarning||Zu(e.nodeValue,n)))||po(t)}else(e=id(e).createTextNode(r))[Ne]=t,t.stateNode=e}return as(t),null;case 13:if(r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(a=mo(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(o(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(o(317));a[Ne]=t}else bo(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;as(t),a=!1}else a=vo(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return 256&t.flags?(fl(t),t):(fl(t),null)}if(fl(t),128&t.flags)return t.lanes=n,t;if(n=null!==r,e=null!==e&&null!==e.memoizedState,n){a=null,null!==(r=t.child).alternate&&null!==r.alternate.memoizedState&&null!==r.alternate.memoizedState.cachePool&&(a=r.alternate.memoizedState.cachePool.pool);var i=null;null!==r.memoizedState&&null!==r.memoizedState.cachePool&&(i=r.memoizedState.cachePool.pool),i!==a&&(r.flags|=2048)}return n!==e&&n&&(t.child.flags|=8192),rs(t,t.updateQueue),as(t),null;case 4:return K(),null===e&&Vu(t.stateNode.containerInfo),as(t),null;case 10:return _o(t.type),as(t),null;case 19:if(V(pl),null===(a=t.memoizedState))return as(t),null;if(r=!!(128&t.flags),null===(i=a.rendering))if(r)os(a,!1);else{if(0!==gc||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(i=hl(e))){for(t.flags|=128,os(a,!1),e=i.updateQueue,t.updateQueue=e,rs(t,e),t.subtreeFlags=0,e=n,n=t.child;null!==n;)$r(n,e),n=n.sibling;return H(pl,1&pl.current|2),t.child}e=e.sibling}null!==a.tail&&oe()>Cc&&(t.flags|=128,r=!0,os(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=hl(i))){if(t.flags|=128,r=!0,e=e.updateQueue,t.updateQueue=e,rs(t,e),os(a,!0),null===a.tail&&"hidden"===a.tailMode&&!i.alternate&&!so)return as(t),null}else 2*oe()-a.renderingStartTime>Cc&&536870912!==n&&(t.flags|=128,r=!0,os(a,!1),t.lanes=4194304);a.isBackwards?(i.sibling=t.child,t.child=i):(null!==(e=a.last)?e.sibling=i:t.child=i,a.last=i)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=oe(),t.sibling=null,e=pl.current,H(pl,r?1&e|2:1&e),t):(as(t),null);case 22:case 23:return fl(t),ka(),r=null!==t.memoizedState,null!==e?null!==e.memoizedState!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?!!(536870912&n)&&!(128&t.flags)&&(as(t),6&t.subtreeFlags&&(t.flags|=8192)):as(t),null!==(n=t.updateQueue)&&rs(t,n.retryQueue),n=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),r=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),null!==e&&V(Uo),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),_o(Fo),as(t),null;case 25:case 30:return null}throw Error(o(156,t.tag))}function ls(e,t){switch(ao(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return _o(Fo),K(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return J(t),null;case 13:if(fl(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(o(340));bo()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return V(pl),null;case 4:return K(),null;case 10:return _o(t.type),null;case 22:case 23:return fl(t),ka(),null!==e&&V(Uo),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 24:return _o(Fo),null;default:return null}}function ss(e,t){switch(ao(t),t.tag){case 3:_o(Fo),K();break;case 26:case 27:case 5:J(t);break;case 4:K();break;case 13:fl(t);break;case 19:V(pl);break;case 10:_o(t.type);break;case 22:case 23:fl(t),ka(),null!==e&&V(Uo);break;case 24:_o(Fo)}}function cs(e,t){try{var n=t.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var o=r.next;n=o;do{if((n.tag&e)===e){r=void 0;var a=n.create,i=n.inst;r=a(),i.destroy=r}n=n.next}while(n!==o)}}catch(l){pu(t,t.return,l)}}function us(e,t,n){try{var r=t.updateQueue,o=null!==r?r.lastEffect:null;if(null!==o){var a=o.next;r=a;do{if((r.tag&e)===e){var i=r.inst,l=i.destroy;if(void 0!==l){i.destroy=void 0,o=t;var s=n,c=l;try{c()}catch(u){pu(o,s,u)}}}r=r.next}while(r!==a)}}catch(u){pu(t,t.return,u)}}function ds(e){var t=e.updateQueue;if(null!==t){var n=e.stateNode;try{ma(t,n)}catch(r){pu(e,e.return,r)}}}function fs(e,t,n){n.props=yl(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(r){pu(e,t,r)}}function ps(e,t){try{var n=e.ref;if(null!==n){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;default:r=e.stateNode}"function"==typeof n?e.refCleanup=n(r):n.current=r}}catch(o){pu(e,t,o)}}function hs(e,t){var n=e.ref,r=e.refCleanup;if(null!==n)if("function"==typeof r)try{r()}catch(o){pu(e,t,o)}finally{e.refCleanup=null,null!=(e=e.alternate)&&(e.refCleanup=null)}else if("function"==typeof n)try{n(null)}catch(a){pu(e,t,a)}else n.current=null}function gs(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&r.focus();break e;case"img":n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(o){pu(e,e.return,o)}}function ms(e,t,n){try{var r=e.stateNode;!function(e,t,n,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var a=null,i=null,l=null,s=null,c=null,u=null,d=null;for(h in n){var f=n[h];if(n.hasOwnProperty(h)&&null!=f)switch(h){case"checked":case"value":break;case"defaultValue":c=f;default:r.hasOwnProperty(h)||td(e,t,h,null,r,f)}}for(var p in r){var h=r[p];if(f=n[p],r.hasOwnProperty(p)&&(null!=h||null!=f))switch(p){case"type":i=h;break;case"name":a=h;break;case"checked":u=h;break;case"defaultChecked":d=h;break;case"value":l=h;break;case"defaultValue":s=h;break;case"children":case"dangerouslySetInnerHTML":if(null!=h)throw Error(o(137,t));break;default:h!==f&&td(e,t,p,h,r,f)}}return void yt(e,l,s,c,u,d,i,a);case"select":for(i in h=l=s=p=null,n)if(c=n[i],n.hasOwnProperty(i)&&null!=c)switch(i){case"value":break;case"multiple":h=c;default:r.hasOwnProperty(i)||td(e,t,i,null,r,c)}for(a in r)if(i=r[a],c=n[a],r.hasOwnProperty(a)&&(null!=i||null!=c))switch(a){case"value":p=i;break;case"defaultValue":s=i;break;case"multiple":l=i;default:i!==c&&td(e,t,a,i,r,c)}return t=s,n=l,r=h,void(null!=p?St(e,!!n,p,!1):!!r!=!!n&&(null!=t?St(e,!!n,t,!0):St(e,!!n,n?[]:"",!1)));case"textarea":for(s in h=p=null,n)if(a=n[s],n.hasOwnProperty(s)&&null!=a&&!r.hasOwnProperty(s))switch(s){case"value":case"children":break;default:td(e,t,s,null,r,a)}for(l in r)if(a=r[l],i=n[l],r.hasOwnProperty(l)&&(null!=a||null!=i))switch(l){case"value":p=a;break;case"defaultValue":h=a;break;case"children":break;case"dangerouslySetInnerHTML":if(null!=a)throw Error(o(91));break;default:a!==i&&td(e,t,l,a,r,i)}return void wt(e,p,h);case"option":for(var g in n)p=n[g],n.hasOwnProperty(g)&&null!=p&&!r.hasOwnProperty(g)&&("selected"===g?e.selected=!1:td(e,t,g,null,r,p));for(c in r)p=r[c],h=n[c],!r.hasOwnProperty(c)||p===h||null==p&&null==h||("selected"===c?e.selected=p&&"function"!=typeof p&&"symbol"!=typeof p:td(e,t,c,p,r,h));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var m in n)p=n[m],n.hasOwnProperty(m)&&null!=p&&!r.hasOwnProperty(m)&&td(e,t,m,null,r,p);for(u in r)if(p=r[u],h=n[u],r.hasOwnProperty(u)&&p!==h&&(null!=p||null!=h))switch(u){case"children":case"dangerouslySetInnerHTML":if(null!=p)throw Error(o(137,t));break;default:td(e,t,u,p,r,h)}return;default:if(Tt(t)){for(var b in n)p=n[b],n.hasOwnProperty(b)&&void 0!==p&&!r.hasOwnProperty(b)&&nd(e,t,b,void 0,r,p);for(d in r)p=r[d],h=n[d],!r.hasOwnProperty(d)||p===h||void 0===p&&void 0===h||nd(e,t,d,p,r,h);return}}for(var v in n)p=n[v],n.hasOwnProperty(v)&&null!=p&&!r.hasOwnProperty(v)&&td(e,t,v,null,r,p);for(f in r)p=r[f],h=n[f],!r.hasOwnProperty(f)||p===h||null==p&&null==h||td(e,t,f,p,r,h)}(r,e.type,n,t),r[Fe]=t}catch(a){pu(e,e.return,a)}}function bs(e){return 5===e.tag||3===e.tag||26===e.tag||27===e.tag&&md(e.type)||4===e.tag}function vs(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||bs(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(27===e.tag&&md(e.type))continue e;if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ys(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?(9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).insertBefore(e,t):((t=9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=ed));else if(4!==r&&(27===r&&md(e.type)&&(n=e.stateNode,t=null),null!==(e=e.child)))for(ys(e,t,n),e=e.sibling;null!==e;)ys(e,t,n),e=e.sibling}function xs(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&(27===r&&md(e.type)&&(n=e.stateNode),null!==(e=e.child)))for(xs(e,t,n),e=e.sibling;null!==e;)xs(e,t,n),e=e.sibling}function ks(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,o=t.attributes;o.length;)t.removeAttributeNode(o[0]);rd(t,r,n),t[Ne]=e,t[Fe]=n}catch(a){pu(e,e.return,a)}}var Ss=!1,ws=!1,_s=!1,Cs="function"==typeof WeakSet?WeakSet:Set,Es=null;function Ps(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:Ws(e,n),4&r&&cs(5,n);break;case 1:if(Ws(e,n),4&r)if(e=n.stateNode,null===t)try{e.componentDidMount()}catch(i){pu(n,n.return,i)}else{var o=yl(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(o,t,e.__reactInternalSnapshotBeforeUpdate)}catch(l){pu(n,n.return,l)}}64&r&&ds(n),512&r&&ps(n,n.return);break;case 3:if(Ws(e,n),64&r&&null!==(e=n.updateQueue)){if(t=null,null!==n.child)switch(n.child.tag){case 27:case 5:case 1:t=n.child.stateNode}try{ma(e,t)}catch(i){pu(n,n.return,i)}}break;case 27:null===t&&4&r&&ks(n);case 26:case 5:Ws(e,n),null===t&&4&r&&gs(n),512&r&&ps(n,n.return);break;case 12:Ws(e,n);break;case 13:Ws(e,n),4&r&&As(e,n),64&r&&null!==(e=n.memoizedState)&&null!==(e=e.dehydrated)&&function(e,t){var n=e.ownerDocument;if("$?"!==e.data||"complete"===n.readyState)t();else{var r=function(){t(),n.removeEventListener("DOMContentLoaded",r)};n.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}(e,n=bu.bind(null,n));break;case 22:if(!(r=null!==n.memoizedState||Ss)){t=null!==t&&null!==t.memoizedState||ws,o=Ss;var a=ws;Ss=r,(ws=t)&&!a?$s(e,n,!!(8772&n.subtreeFlags)):Ws(e,n),Ss=o,ws=a}break;case 30:break;default:Ws(e,n)}}function zs(e){var t=e.alternate;null!==t&&(e.alternate=null,zs(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&Ve(t),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Ts=null,Rs=!1;function Is(e,t,n){for(n=n.child;null!==n;)Os(e,t,n),n=n.sibling}function Os(e,t,n){if(he&&"function"==typeof he.onCommitFiberUnmount)try{he.onCommitFiberUnmount(pe,n)}catch(a){}switch(n.tag){case 26:ws||hs(n,t),Is(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode).parentNode.removeChild(n);break;case 27:ws||hs(n,t);var r=Ts,o=Rs;md(n.type)&&(Ts=n.stateNode,Rs=!1),Is(e,t,n),_d(n.stateNode),Ts=r,Rs=o;break;case 5:ws||hs(n,t);case 6:if(r=Ts,o=Rs,Ts=null,Is(e,t,n),Rs=o,null!==(Ts=r))if(Rs)try{(9===Ts.nodeType?Ts.body:"HTML"===Ts.nodeName?Ts.ownerDocument.body:Ts).removeChild(n.stateNode)}catch(i){pu(n,t,i)}else try{Ts.removeChild(n.stateNode)}catch(i){pu(n,t,i)}break;case 18:null!==Ts&&(Rs?(bd(9===(e=Ts).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e,n.stateNode),If(e)):bd(Ts,n.stateNode));break;case 4:r=Ts,o=Rs,Ts=n.stateNode.containerInfo,Rs=!0,Is(e,t,n),Ts=r,Rs=o;break;case 0:case 11:case 14:case 15:ws||us(2,n,t),ws||us(4,n,t),Is(e,t,n);break;case 1:ws||(hs(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount&&fs(n,t,r)),Is(e,t,n);break;case 21:Is(e,t,n);break;case 22:ws=(r=ws)||null!==n.memoizedState,Is(e,t,n),ws=r;break;default:Is(e,t,n)}}function As(e,t){if(null===t.memoizedState&&null!==(e=t.alternate)&&null!==(e=e.memoizedState)&&null!==(e=e.dehydrated))try{If(e)}catch(n){pu(t,t.return,n)}}function Ds(e,t){var n=function(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return null===t&&(t=e.stateNode=new Cs),t;case 22:return null===(t=(e=e.stateNode)._retryCache)&&(t=e._retryCache=new Cs),t;default:throw Error(o(435,e.tag))}}(e);t.forEach(function(t){var r=vu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}function Ns(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var a=n[r],i=e,l=t,s=l;e:for(;null!==s;){switch(s.tag){case 27:if(md(s.type)){Ts=s.stateNode,Rs=!1;break e}break;case 5:Ts=s.stateNode,Rs=!1;break e;case 3:case 4:Ts=s.stateNode.containerInfo,Rs=!0;break e}s=s.return}if(null===Ts)throw Error(o(160));Os(i,l,a),Ts=null,Rs=!1,null!==(i=a.alternate)&&(i.return=null),a.return=null}if(13878&t.subtreeFlags)for(t=t.child;null!==t;)js(t,e),t=t.sibling}var Fs=null;function js(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Ns(t,e),Ms(e),4&r&&(us(3,e,e.return),cs(3,e),us(5,e,e.return));break;case 1:Ns(t,e),Ms(e),512&r&&(ws||null===n||hs(n,n.return)),64&r&&Ss&&null!==(e=e.updateQueue)&&null!==(r=e.callbacks)&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=null===n?r:n.concat(r));break;case 26:var a=Fs;if(Ns(t,e),Ms(e),512&r&&(ws||null===n||hs(n,n.return)),4&r){var i=null!==n?n.memoizedState:null;if(r=e.memoizedState,null===n)if(null===r)if(null===e.stateNode){e:{r=e.type,n=e.memoizedProps,a=a.ownerDocument||a;t:switch(r){case"title":(!(i=a.getElementsByTagName("title")[0])||i[$e]||i[Ne]||"http://www.w3.org/2000/svg"===i.namespaceURI||i.hasAttribute("itemprop"))&&(i=a.createElement(r),a.head.insertBefore(i,a.querySelector("head > title"))),rd(i,r,n),i[Ne]=e,Ye(i),r=i;break e;case"link":var l=$d("link","href",a).get(r+(n.href||""));if(l)for(var s=0;s<l.length;s++)if((i=l[s]).getAttribute("href")===(null==n.href||""===n.href?null:n.href)&&i.getAttribute("rel")===(null==n.rel?null:n.rel)&&i.getAttribute("title")===(null==n.title?null:n.title)&&i.getAttribute("crossorigin")===(null==n.crossOrigin?null:n.crossOrigin)){l.splice(s,1);break t}rd(i=a.createElement(r),r,n),a.head.appendChild(i);break;case"meta":if(l=$d("meta","content",a).get(r+(n.content||"")))for(s=0;s<l.length;s++)if((i=l[s]).getAttribute("content")===(null==n.content?null:""+n.content)&&i.getAttribute("name")===(null==n.name?null:n.name)&&i.getAttribute("property")===(null==n.property?null:n.property)&&i.getAttribute("http-equiv")===(null==n.httpEquiv?null:n.httpEquiv)&&i.getAttribute("charset")===(null==n.charSet?null:n.charSet)){l.splice(s,1);break t}rd(i=a.createElement(r),r,n),a.head.appendChild(i);break;default:throw Error(o(468,r))}i[Ne]=e,Ye(i),r=i}e.stateNode=r}else Vd(a,e.type,e.stateNode);else e.stateNode=jd(a,r,e.memoizedProps);else i!==r?(null===i?null!==n.stateNode&&(n=n.stateNode).parentNode.removeChild(n):i.count--,null===r?Vd(a,e.type,e.stateNode):jd(a,r,e.memoizedProps)):null===r&&null!==e.stateNode&&ms(e,e.memoizedProps,n.memoizedProps)}break;case 27:Ns(t,e),Ms(e),512&r&&(ws||null===n||hs(n,n.return)),null!==n&&4&r&&ms(e,e.memoizedProps,n.memoizedProps);break;case 5:if(Ns(t,e),Ms(e),512&r&&(ws||null===n||hs(n,n.return)),32&e.flags){a=e.stateNode;try{Ct(a,"")}catch(h){pu(e,e.return,h)}}4&r&&null!=e.stateNode&&ms(e,a=e.memoizedProps,null!==n?n.memoizedProps:a),1024&r&&(_s=!0);break;case 6:if(Ns(t,e),Ms(e),4&r){if(null===e.stateNode)throw Error(o(162));r=e.memoizedProps,n=e.stateNode;try{n.nodeValue=r}catch(h){pu(e,e.return,h)}}break;case 3:if(Bd=null,a=Fs,Fs=Pd(t.containerInfo),Ns(t,e),Fs=a,Ms(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{If(t.containerInfo)}catch(h){pu(e,e.return,h)}_s&&(_s=!1,Ls(e));break;case 4:r=Fs,Fs=Pd(e.stateNode.containerInfo),Ns(t,e),Ms(e),Fs=r;break;case 12:default:Ns(t,e),Ms(e);break;case 13:Ns(t,e),Ms(e),8192&e.child.flags&&null!==e.memoizedState!=(null!==n&&null!==n.memoizedState)&&(_c=oe()),4&r&&null!==(r=e.updateQueue)&&(e.updateQueue=null,Ds(e,r));break;case 22:a=null!==e.memoizedState;var c=null!==n&&null!==n.memoizedState,u=Ss,d=ws;if(Ss=u||a,ws=d||c,Ns(t,e),ws=d,Ss=u,Ms(e),8192&r)e:for(t=e.stateNode,t._visibility=a?-2&t._visibility:1|t._visibility,a&&(null===n||c||Ss||ws||Bs(e)),n=null,t=e;;){if(5===t.tag||26===t.tag){if(null===n){c=n=t;try{if(i=c.stateNode,a)"function"==typeof(l=i.style).setProperty?l.setProperty("display","none","important"):l.display="none";else{s=c.stateNode;var f=c.memoizedProps.style,p=null!=f&&f.hasOwnProperty("display")?f.display:null;s.style.display=null==p||"boolean"==typeof p?"":(""+p).trim()}}catch(h){pu(c,c.return,h)}}}else if(6===t.tag){if(null===n){c=t;try{c.stateNode.nodeValue=a?"":c.memoizedProps}catch(h){pu(c,c.return,h)}}}else if((22!==t.tag&&23!==t.tag||null===t.memoizedState||t===e)&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;null===t.sibling;){if(null===t.return||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}4&r&&null!==(r=e.updateQueue)&&null!==(n=r.retryQueue)&&(r.retryQueue=null,Ds(e,n));break;case 19:Ns(t,e),Ms(e),4&r&&null!==(r=e.updateQueue)&&(e.updateQueue=null,Ds(e,r));case 30:case 21:}}function Ms(e){var t=e.flags;if(2&t){try{for(var n,r=e.return;null!==r;){if(bs(r)){n=r;break}r=r.return}if(null==n)throw Error(o(160));switch(n.tag){case 27:var a=n.stateNode;xs(e,vs(e),a);break;case 5:var i=n.stateNode;32&n.flags&&(Ct(i,""),n.flags&=-33),xs(e,vs(e),i);break;case 3:case 4:var l=n.stateNode.containerInfo;ys(e,vs(e),l);break;default:throw Error(o(161))}}catch(s){pu(e,e.return,s)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function Ls(e){if(1024&e.subtreeFlags)for(e=e.child;null!==e;){var t=e;Ls(t),5===t.tag&&1024&t.flags&&t.stateNode.reset(),e=e.sibling}}function Ws(e,t){if(8772&t.subtreeFlags)for(t=t.child;null!==t;)Ps(e,t.alternate,t),t=t.sibling}function Bs(e){for(e=e.child;null!==e;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:us(4,t,t.return),Bs(t);break;case 1:hs(t,t.return);var n=t.stateNode;"function"==typeof n.componentWillUnmount&&fs(t,t.return,n),Bs(t);break;case 27:_d(t.stateNode);case 26:case 5:hs(t,t.return),Bs(t);break;case 22:null===t.memoizedState&&Bs(t);break;default:Bs(t)}e=e.sibling}}function $s(e,t,n){for(n=n&&!!(8772&t.subtreeFlags),t=t.child;null!==t;){var r=t.alternate,o=e,a=t,i=a.flags;switch(a.tag){case 0:case 11:case 15:$s(o,a,n),cs(4,a);break;case 1:if($s(o,a,n),"function"==typeof(o=(r=a).stateNode).componentDidMount)try{o.componentDidMount()}catch(c){pu(r,r.return,c)}if(null!==(o=(r=a).updateQueue)){var l=r.stateNode;try{var s=o.shared.hiddenCallbacks;if(null!==s)for(o.shared.hiddenCallbacks=null,o=0;o<s.length;o++)ga(s[o],l)}catch(c){pu(r,r.return,c)}}n&&64&i&&ds(a),ps(a,a.return);break;case 27:ks(a);case 26:case 5:$s(o,a,n),n&&null===r&&4&i&&gs(a),ps(a,a.return);break;case 12:$s(o,a,n);break;case 13:$s(o,a,n),n&&4&i&&As(o,a);break;case 22:null===a.memoizedState&&$s(o,a,n),ps(a,a.return);break;case 30:break;default:$s(o,a,n)}t=t.sibling}}function Vs(e,t){var n=null;null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),e=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(e=t.memoizedState.cachePool.pool),e!==n&&(null!=e&&e.refCount++,null!=n&&Mo(n))}function Hs(e,t){e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&Mo(e))}function Us(e,t,n,r){if(10256&t.subtreeFlags)for(t=t.child;null!==t;)qs(e,t,n,r),t=t.sibling}function qs(e,t,n,r){var o=t.flags;switch(t.tag){case 0:case 11:case 15:Us(e,t,n,r),2048&o&&cs(9,t);break;case 1:case 13:default:Us(e,t,n,r);break;case 3:Us(e,t,n,r),2048&o&&(e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&Mo(e)));break;case 12:if(2048&o){Us(e,t,n,r),e=t.stateNode;try{var a=t.memoizedProps,i=a.id,l=a.onPostCommit;"function"==typeof l&&l(i,null===t.alternate?"mount":"update",e.passiveEffectDuration,-0)}catch(s){pu(t,t.return,s)}}else Us(e,t,n,r);break;case 23:break;case 22:a=t.stateNode,i=t.alternate,null!==t.memoizedState?2&a._visibility?Us(e,t,n,r):Ys(e,t):2&a._visibility?Us(e,t,n,r):(a._visibility|=2,Gs(e,t,n,r,!!(10256&t.subtreeFlags))),2048&o&&Vs(i,t);break;case 24:Us(e,t,n,r),2048&o&&Hs(t.alternate,t)}}function Gs(e,t,n,r,o){for(o=o&&!!(10256&t.subtreeFlags),t=t.child;null!==t;){var a=e,i=t,l=n,s=r,c=i.flags;switch(i.tag){case 0:case 11:case 15:Gs(a,i,l,s,o),cs(8,i);break;case 23:break;case 22:var u=i.stateNode;null!==i.memoizedState?2&u._visibility?Gs(a,i,l,s,o):Ys(a,i):(u._visibility|=2,Gs(a,i,l,s,o)),o&&2048&c&&Vs(i.alternate,i);break;case 24:Gs(a,i,l,s,o),o&&2048&c&&Hs(i.alternate,i);break;default:Gs(a,i,l,s,o)}t=t.sibling}}function Ys(e,t){if(10256&t.subtreeFlags)for(t=t.child;null!==t;){var n=e,r=t,o=r.flags;switch(r.tag){case 22:Ys(n,r),2048&o&&Vs(r.alternate,r);break;case 24:Ys(n,r),2048&o&&Hs(r.alternate,r);break;default:Ys(n,r)}t=t.sibling}}var Xs=8192;function Ks(e){if(e.subtreeFlags&Xs)for(e=e.child;null!==e;)Qs(e),e=e.sibling}function Qs(e){switch(e.tag){case 26:Ks(e),e.flags&Xs&&null!==e.memoizedState&&function(e,t,n){if(null===Ud)throw Error(o(475));var r=Ud;if(!("stylesheet"!==t.type||"string"==typeof n.media&&!1===matchMedia(n.media).matches||4&t.state.loading)){if(null===t.instance){var a=Od(n.href),i=e.querySelector(Ad(a));if(i)return null!==(e=i._p)&&"object"==typeof e&&"function"==typeof e.then&&(r.count++,r=Gd.bind(r),e.then(r,r)),t.state.loading|=4,t.instance=i,void Ye(i);i=e.ownerDocument||e,n=Dd(n),(a=Cd.get(a))&&Ld(n,a),Ye(i=i.createElement("link"));var l=i;l._p=new Promise(function(e,t){l.onload=e,l.onerror=t}),rd(i,"link",n),t.instance=i}null===r.stylesheets&&(r.stylesheets=new Map),r.stylesheets.set(t,e),(e=t.state.preload)&&!(3&t.state.loading)&&(r.count++,t=Gd.bind(r),e.addEventListener("load",t),e.addEventListener("error",t))}}(Fs,e.memoizedState,e.memoizedProps);break;case 5:default:Ks(e);break;case 3:case 4:var t=Fs;Fs=Pd(e.stateNode.containerInfo),Ks(e),Fs=t;break;case 22:null===e.memoizedState&&(null!==(t=e.alternate)&&null!==t.memoizedState?(t=Xs,Xs=16777216,Ks(e),Xs=t):Ks(e))}}function Js(e){var t=e.alternate;if(null!==t&&null!==(e=t.child)){t.child=null;do{t=e.sibling,e.sibling=null,e=t}while(null!==e)}}function Zs(e){var t=e.deletions;if(16&e.flags){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];Es=r,nc(r,e)}Js(e)}if(10256&e.subtreeFlags)for(e=e.child;null!==e;)ec(e),e=e.sibling}function ec(e){switch(e.tag){case 0:case 11:case 15:Zs(e),2048&e.flags&&us(9,e,e.return);break;case 3:case 12:default:Zs(e);break;case 22:var t=e.stateNode;null!==e.memoizedState&&2&t._visibility&&(null===e.return||13!==e.return.tag)?(t._visibility&=-3,tc(e)):Zs(e)}}function tc(e){var t=e.deletions;if(16&e.flags){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];Es=r,nc(r,e)}Js(e)}for(e=e.child;null!==e;){switch((t=e).tag){case 0:case 11:case 15:us(8,t,t.return),tc(t);break;case 22:2&(n=t.stateNode)._visibility&&(n._visibility&=-3,tc(t));break;default:tc(t)}e=e.sibling}}function nc(e,t){for(;null!==Es;){var n=Es;switch(n.tag){case 0:case 11:case 15:us(8,n,t);break;case 23:case 22:if(null!==n.memoizedState&&null!==n.memoizedState.cachePool){var r=n.memoizedState.cachePool.pool;null!=r&&r.refCount++}break;case 24:Mo(n.memoizedState.cache)}if(null!==(r=n.child))r.return=n,Es=r;else e:for(n=e;null!==Es;){var o=(r=Es).sibling,a=r.return;if(zs(r),r===n){Es=null;break e}if(null!==o){o.return=a,Es=o;break e}Es=a}}}var rc={getCacheForType:function(e){var t=Ro(Fo),n=t.data.get(e);return void 0===n&&(n=e(),t.data.set(e,n)),n}},oc="function"==typeof WeakMap?WeakMap:Map,ac=0,ic=null,lc=null,sc=0,cc=0,uc=null,dc=!1,fc=!1,pc=!1,hc=0,gc=0,mc=0,bc=0,vc=0,yc=0,xc=0,kc=null,Sc=null,wc=!1,_c=0,Cc=1/0,Ec=null,Pc=null,zc=0,Tc=null,Rc=null,Ic=0,Oc=0,Ac=null,Dc=null,Nc=0,Fc=null;function jc(){return 2&ac&&0!==sc?sc&-sc:null!==F.T?0!==Bo?Bo:Ou():Ae()}function Mc(){0===yc&&(yc=536870912&sc&&!so?536870912:Ce());var e=ll.current;return null!==e&&(e.flags|=32),yc}function Lc(e,t,n){(e!==ic||2!==cc&&9!==cc)&&null===e.cancelPendingCommit||(qc(e,0),Vc(e,sc,yc,!1)),ze(e,n),2&ac&&e===ic||(e===ic&&(!(2&ac)&&(bc|=n),4===gc&&Vc(e,sc,yc,!1)),Cu(e))}function Wc(e,t,n){if(6&ac)throw Error(o(327));for(var r=!n&&!(124&t)&&0===(t&e.expiredLanes)||we(e,t),a=r?function(e,t){var n=ac;ac|=2;var r=Yc(),a=Xc();ic!==e||sc!==t?(Ec=null,Cc=oe()+500,qc(e,t)):fc=we(e,t);e:for(;;)try{if(0!==cc&&null!==lc){t=lc;var i=uc;t:switch(cc){case 1:cc=0,uc=null,nu(e,t,i,1);break;case 2:case 9:if(Zo(i)){cc=0,uc=null,tu(t);break}t=function(){2!==cc&&9!==cc||ic!==e||(cc=7),Cu(e)},i.then(t,t);break e;case 3:cc=7;break e;case 4:cc=5;break e;case 7:Zo(i)?(cc=0,uc=null,tu(t)):(cc=0,uc=null,nu(e,t,i,7));break;case 5:var l=null;switch(lc.tag){case 26:l=lc.memoizedState;case 5:case 27:var s=lc;if(!l||Hd(l)){cc=0,uc=null;var c=s.sibling;if(null!==c)lc=c;else{var u=s.return;null!==u?(lc=u,ru(u)):lc=null}break t}}cc=0,uc=null,nu(e,t,i,5);break;case 6:cc=0,uc=null,nu(e,t,i,6);break;case 8:Uc(),gc=6;break e;default:throw Error(o(462))}}Zc();break}catch(d){Gc(e,d)}return So=ko=null,F.H=r,F.A=a,ac=n,null!==lc?0:(ic=null,sc=0,Ir(),gc)}(e,t):Qc(e,t,!0),i=r;;){if(0===a){fc&&!r&&Vc(e,t,0,!1);break}if(n=e.current.alternate,!i||$c(n)){if(2===a){if(i=t,e.errorRecoveryDisabledLanes&i)var l=0;else l=0!=(l=-536870913&e.pendingLanes)?l:536870912&l?536870912:0;if(0!==l){t=l;e:{var s=e;a=kc;var c=s.current.memoizedState.isDehydrated;if(c&&(qc(s,l).flags|=256),2!==(l=Qc(s,l,!1))){if(pc&&!c){s.errorRecoveryDisabledLanes|=i,bc|=i,a=4;break e}i=Sc,Sc=a,null!==i&&(null===Sc?Sc=i:Sc.push.apply(Sc,i))}a=l}if(i=!1,2!==a)continue}}if(1===a){qc(e,0),Vc(e,t,0,!0);break}e:{switch(r=e,i=a){case 0:case 1:throw Error(o(345));case 4:if((4194048&t)!==t)break;case 6:Vc(r,t,yc,!dc);break e;case 2:Sc=null;break;case 3:case 5:break;default:throw Error(o(329))}if((62914560&t)===t&&10<(a=_c+300-oe())){if(Vc(r,t,yc,!dc),0!==Se(r,0,!0))break e;r.timeoutHandle=dd(Bc.bind(null,r,n,Sc,Ec,wc,t,yc,bc,xc,dc,i,2,-0,0),a)}else Bc(r,n,Sc,Ec,wc,t,yc,bc,xc,dc,i,0,-0,0)}break}a=Qc(e,t,!1),i=!1}Cu(e)}function Bc(e,t,n,r,a,i,l,s,c,u,d,f,p,h){if(e.timeoutHandle=-1,(8192&(f=t.subtreeFlags)||!(16785408&~f))&&(Ud={stylesheets:null,count:0,unsuspend:qd},Qs(t),null!==(f=function(){if(null===Ud)throw Error(o(475));var e=Ud;return e.stylesheets&&0===e.count&&Xd(e,e.stylesheets),0<e.count?function(t){var n=setTimeout(function(){if(e.stylesheets&&Xd(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(n)}}:null}())))return e.cancelPendingCommit=f(au.bind(null,e,t,i,n,r,a,l,s,c,d,1,p,h)),void Vc(e,i,l,!u);au(e,t,i,n,r,a,l,s,c)}function $c(e){for(var t=e;;){var n=t.tag;if((0===n||11===n||15===n)&&16384&t.flags&&null!==(n=t.updateQueue)&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],a=o.getSnapshot;o=o.value;try{if(!Jn(a(),o))return!1}catch(i){return!1}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Vc(e,t,n,r){t&=~vc,t&=~bc,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var o=t;0<o;){var a=31-me(o),i=1<<a;r[a]=-1,o&=~i}0!==n&&Te(e,n,t)}function Hc(){return!!(6&ac)||(Eu(0),!1)}function Uc(){if(null!==lc){if(0===cc)var e=lc.return;else So=ko=null,Ba(e=lc),Ji=null,Zi=0,e=lc;for(;null!==e;)ss(e.alternate,e),e=e.return;lc=null}}function qc(e,t){var n=e.timeoutHandle;-1!==n&&(e.timeoutHandle=-1,fd(n)),null!==(n=e.cancelPendingCommit)&&(e.cancelPendingCommit=null,n()),Uc(),ic=e,lc=n=Br(e.current,null),sc=t,cc=0,uc=null,dc=!1,fc=we(e,t),pc=!1,xc=yc=vc=bc=mc=gc=0,Sc=kc=null,wc=!1,8&t&&(t|=32&t);var r=e.entangledLanes;if(0!==r)for(e=e.entanglements,r&=t;0<r;){var o=31-me(r),a=1<<o;t|=e[o],r&=~a}return hc=t,Ir(),n}function Gc(e,t){wa=null,F.H=Yi,t===Xo||t===Qo?(t=ra(),cc=3):t===Ko?(t=ra(),cc=4):cc=t===Tl?8:null!==t&&"object"==typeof t&&"function"==typeof t.then?6:1,uc=t,null===lc&&(gc=1,_l(e,Pr(t,e.current)))}function Yc(){var e=F.H;return F.H=Yi,null===e?Yi:e}function Xc(){var e=F.A;return F.A=rc,e}function Kc(){gc=4,dc||(4194048&sc)!==sc&&null!==ll.current||(fc=!0),!(134217727&mc)&&!(134217727&bc)||null===ic||Vc(ic,sc,yc,!1)}function Qc(e,t,n){var r=ac;ac|=2;var o=Yc(),a=Xc();ic===e&&sc===t||(Ec=null,qc(e,t)),t=!1;var i=gc;e:for(;;)try{if(0!==cc&&null!==lc){var l=lc,s=uc;switch(cc){case 8:Uc(),i=6;break e;case 3:case 2:case 9:case 6:null===ll.current&&(t=!0);var c=cc;if(cc=0,uc=null,nu(e,l,s,c),n&&fc){i=0;break e}break;default:c=cc,cc=0,uc=null,nu(e,l,s,c)}}Jc(),i=gc;break}catch(u){Gc(e,u)}return t&&e.shellSuspendCounter++,So=ko=null,ac=r,F.H=o,F.A=a,null===lc&&(ic=null,sc=0,Ir()),i}function Jc(){for(;null!==lc;)eu(lc)}function Zc(){for(;null!==lc&&!ne();)eu(lc)}function eu(e){var t=es(e.alternate,e,hc);e.memoizedProps=e.pendingProps,null===t?ru(e):lc=t}function tu(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=Ll(n,t,t.pendingProps,t.type,void 0,sc);break;case 11:t=Ll(n,t,t.pendingProps,t.type.render,t.ref,sc);break;case 5:Ba(t);default:ss(n,t),t=es(n,t=lc=$r(t,hc),hc)}e.memoizedProps=e.pendingProps,null===t?ru(e):lc=t}function nu(e,t,n,r){So=ko=null,Ba(t),Ji=null,Zi=0;var a=t.return;try{if(function(e,t,n,r,a){if(n.flags|=32768,null!==r&&"object"==typeof r&&"function"==typeof r.then){if(null!==(t=n.alternate)&&Po(t,n,a,!0),null!==(n=ll.current)){switch(n.tag){case 13:return null===sl?Kc():null===n.alternate&&0===gc&&(gc=3),n.flags&=-257,n.flags|=65536,n.lanes=a,r===Jo?n.flags|=16384:(null===(t=n.updateQueue)?n.updateQueue=new Set([r]):t.add(r),hu(e,r,a)),!1;case 22:return n.flags|=65536,r===Jo?n.flags|=16384:(null===(t=n.updateQueue)?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):null===(n=t.retryQueue)?t.retryQueue=new Set([r]):n.add(r),hu(e,r,a)),!1}throw Error(o(435,n.tag))}return hu(e,r,a),Kc(),!1}if(so)return null!==(t=ll.current)?(!(65536&t.flags)&&(t.flags|=256),t.flags|=65536,t.lanes=a,r!==fo&&yo(Pr(e=Error(o(422),{cause:r}),n))):(r!==fo&&yo(Pr(t=Error(o(423),{cause:r}),n)),(e=e.current.alternate).flags|=65536,a&=-a,e.lanes|=a,r=Pr(r,n),da(e,a=El(e.stateNode,r,a)),4!==gc&&(gc=2)),!1;var i=Error(o(520),{cause:r});if(i=Pr(i,n),null===kc?kc=[i]:kc.push(i),4!==gc&&(gc=2),null===t)return!0;r=Pr(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=a&-a,n.lanes|=e,da(n,e=El(n.stateNode,r,e)),!1;case 1:if(t=n.type,i=n.stateNode,!(128&n.flags||"function"!=typeof t.getDerivedStateFromError&&(null===i||"function"!=typeof i.componentDidCatch||null!==Pc&&Pc.has(i))))return n.flags|=65536,a&=-a,n.lanes|=a,zl(a=Pl(a),e,n,r),da(n,a),!1}n=n.return}while(null!==n);return!1}(e,a,t,n,sc))return gc=1,_l(e,Pr(n,e.current)),void(lc=null)}catch(i){if(null!==a)throw lc=a,i;return gc=1,_l(e,Pr(n,e.current)),void(lc=null)}32768&t.flags?(so||1===r?e=!0:fc||536870912&sc?e=!1:(dc=e=!0,(2===r||9===r||3===r||6===r)&&null!==(r=ll.current)&&13===r.tag&&(r.flags|=16384)),ou(t,e)):ru(t)}function ru(e){var t=e;do{if(32768&t.flags)return void ou(t,dc);e=t.return;var n=is(t.alternate,t,hc);if(null!==n)return void(lc=n);if(null!==(t=t.sibling))return void(lc=t);lc=t=e}while(null!==t);0===gc&&(gc=5)}function ou(e,t){do{var n=ls(e.alternate,e);if(null!==n)return n.flags&=32767,void(lc=n);if(null!==(n=e.return)&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&null!==(e=e.sibling))return void(lc=e);lc=e=n}while(null!==e);gc=6,lc=null}function au(e,t,n,r,a,i,l,s,c){e.cancelPendingCommit=null;do{uu()}while(0!==zc);if(6&ac)throw Error(o(327));if(null!==t){if(t===e.current)throw Error(o(177));if(i=t.lanes|t.childLanes,function(e,t,n,r,o,a){var i=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var l=e.entanglements,s=e.expirationTimes,c=e.hiddenUpdates;for(n=i&~n;0<n;){var u=31-me(n),d=1<<u;l[u]=0,s[u]=-1;var f=c[u];if(null!==f)for(c[u]=null,u=0;u<f.length;u++){var p=f[u];null!==p&&(p.lane&=-536870913)}n&=~d}0!==r&&Te(e,r,0),0!==a&&0===o&&0!==e.tag&&(e.suspendedLanes|=a&~(i&~t))}(e,n,i|=Rr,l,s,c),e===ic&&(lc=ic=null,sc=0),Rc=t,Tc=e,Ic=n,Oc=i,Ac=a,Dc=r,10256&t.subtreeFlags||10256&t.flags?(e.callbackNode=null,e.callbackPriority=0,ee(se,function(){return du(),null})):(e.callbackNode=null,e.callbackPriority=0),r=!!(13878&t.flags),13878&t.subtreeFlags||r){r=F.T,F.T=null,a=M.p,M.p=2,l=ac,ac|=4;try{!function(e,t){if(e=e.containerInfo,od=af,or(e=rr(e))){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var a=r.anchorOffset,i=r.focusNode;r=r.focusOffset;var l=0,s=-1,c=-1,u=0,d=0,f=e,p=null;e:for(;;){for(var h;f!==n||0!==a&&3!==f.nodeType||(s=l+a),f!==i||0!==r&&3!==f.nodeType||(c=l+r),3===f.nodeType&&(l+=f.nodeValue.length),null!==(h=f.firstChild);)p=f,f=h;for(;;){if(f===e)break e;if(p===n&&++u===a&&(s=l),p===i&&++d===r&&(c=l),null!==(h=f.nextSibling))break;p=(f=p).parentNode}f=h}n=-1===s||-1===c?null:{start:s,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(ad={focusedElem:e,selectionRange:n},af=!1,Es=t;null!==Es;)if(e=(t=Es).child,1024&t.subtreeFlags&&null!==e)e.return=t,Es=e;else for(;null!==Es;){switch(i=(t=Es).alternate,e=t.flags,t.tag){case 0:case 11:case 15:case 5:case 26:case 27:case 6:case 4:case 17:break;case 1:if(1024&e&&null!==i){e=void 0,n=t,a=i.memoizedProps,i=i.memoizedState,r=n.stateNode;try{var g=yl(n.type,a);e=r.getSnapshotBeforeUpdate(g,i),r.__reactInternalSnapshotBeforeUpdate=e}catch(m){pu(n,n.return,m)}}break;case 3:if(1024&e)if(9===(n=(e=t.stateNode.containerInfo).nodeType))vd(e);else if(1===n)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":vd(e);break;default:e.textContent=""}break;default:if(1024&e)throw Error(o(163))}if(null!==(e=t.sibling)){e.return=t.return,Es=e;break}Es=t.return}}(e,t)}finally{ac=l,M.p=a,F.T=r}}zc=1,iu(),lu(),su()}}function iu(){if(1===zc){zc=0;var e=Tc,t=Rc,n=!!(13878&t.flags);if(13878&t.subtreeFlags||n){n=F.T,F.T=null;var r=M.p;M.p=2;var o=ac;ac|=4;try{js(t,e);var a=ad,i=rr(e.containerInfo),l=a.focusedElem,s=a.selectionRange;if(i!==l&&l&&l.ownerDocument&&nr(l.ownerDocument.documentElement,l)){if(null!==s&&or(l)){var c=s.start,u=s.end;if(void 0===u&&(u=c),"selectionStart"in l)l.selectionStart=c,l.selectionEnd=Math.min(u,l.value.length);else{var d=l.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),h=l.textContent.length,g=Math.min(s.start,h),m=void 0===s.end?g:Math.min(s.end,h);!p.extend&&g>m&&(i=m,m=g,g=i);var b=tr(l,g),v=tr(l,m);if(b&&v&&(1!==p.rangeCount||p.anchorNode!==b.node||p.anchorOffset!==b.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(b.node,b.offset),p.removeAllRanges(),g>m?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=l;p=p.parentNode;)1===p.nodeType&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for("function"==typeof l.focus&&l.focus(),l=0;l<d.length;l++){var x=d[l];x.element.scrollLeft=x.left,x.element.scrollTop=x.top}}af=!!od,ad=od=null}finally{ac=o,M.p=r,F.T=n}}e.current=t,zc=2}}function lu(){if(2===zc){zc=0;var e=Tc,t=Rc,n=!!(8772&t.flags);if(8772&t.subtreeFlags||n){n=F.T,F.T=null;var r=M.p;M.p=2;var o=ac;ac|=4;try{Ps(e,t.alternate,t)}finally{ac=o,M.p=r,F.T=n}}zc=3}}function su(){if(4===zc||3===zc){zc=0,re();var e=Tc,t=Rc,n=Ic,r=Dc;10256&t.subtreeFlags||10256&t.flags?zc=5:(zc=0,Rc=Tc=null,cu(e,e.pendingLanes));var o=e.pendingLanes;if(0===o&&(Pc=null),Oe(n),t=t.stateNode,he&&"function"==typeof he.onCommitFiberRoot)try{he.onCommitFiberRoot(pe,t,void 0,!(128&~t.current.flags))}catch(s){}if(null!==r){t=F.T,o=M.p,M.p=2,F.T=null;try{for(var a=e.onRecoverableError,i=0;i<r.length;i++){var l=r[i];a(l.value,{componentStack:l.stack})}}finally{F.T=t,M.p=o}}3&Ic&&uu(),Cu(e),o=e.pendingLanes,4194090&n&&42&o?e===Fc?Nc++:(Nc=0,Fc=e):Nc=0,Eu(0)}}function cu(e,t){0===(e.pooledCacheLanes&=t)&&null!=(t=e.pooledCache)&&(e.pooledCache=null,Mo(t))}function uu(e){return iu(),lu(),su(),du()}function du(){if(5!==zc)return!1;var e=Tc,t=Oc;Oc=0;var n=Oe(Ic),r=F.T,a=M.p;try{M.p=32>n?32:n,F.T=null,n=Ac,Ac=null;var i=Tc,l=Ic;if(zc=0,Rc=Tc=null,Ic=0,6&ac)throw Error(o(331));var s=ac;if(ac|=4,ec(i.current),qs(i,i.current,l,n),ac=s,Eu(0),he&&"function"==typeof he.onPostCommitFiberRoot)try{he.onPostCommitFiberRoot(pe,i)}catch(c){}return!0}finally{M.p=a,F.T=r,cu(e,t)}}function fu(e,t,n){t=Pr(n,t),null!==(e=ca(e,t=El(e.stateNode,t,2),2))&&(ze(e,2),Cu(e))}function pu(e,t,n){if(3===e.tag)fu(e,e,n);else for(;null!==t;){if(3===t.tag){fu(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Pc||!Pc.has(r))){e=Pr(n,e),null!==(r=ca(t,n=Pl(2),2))&&(zl(n,r,t,e),ze(r,2),Cu(r));break}}t=t.return}}function hu(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new oc;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(pc=!0,o.add(n),e=gu.bind(null,e,t,n),t.then(e,e))}function gu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,ic===e&&(sc&n)===n&&(4===gc||3===gc&&(62914560&sc)===sc&&300>oe()-_c?!(2&ac)&&qc(e,0):vc|=n,xc===sc&&(xc=0)),Cu(e)}function mu(e,t){0===t&&(t=Ee()),null!==(e=Dr(e,t))&&(ze(e,t),Cu(e))}function bu(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),mu(e,n)}function vu(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(o(314))}null!==r&&r.delete(t),mu(e,n)}var yu=null,xu=null,ku=!1,Su=!1,wu=!1,_u=0;function Cu(e){e!==xu&&null===e.next&&(null===xu?yu=xu=e:xu=xu.next=e),Su=!0,ku||(ku=!0,hd(function(){6&ac?ee(ie,Pu):zu()}))}function Eu(e,t){if(!wu&&Su){wu=!0;do{for(var n=!1,r=yu;null!==r;){if(0!==e){var o=r.pendingLanes;if(0===o)var a=0;else{var i=r.suspendedLanes,l=r.pingedLanes;a=(1<<31-me(42|e)+1)-1,a=201326741&(a&=o&~(i&~l))?201326741&a|1:a?2|a:0}0!==a&&(n=!0,Iu(r,a))}else a=sc,!(3&(a=Se(r,r===ic?a:0,null!==r.cancelPendingCommit||-1!==r.timeoutHandle)))||we(r,a)||(n=!0,Iu(r,a));r=r.next}}while(n);wu=!1}}function Pu(){zu()}function zu(){Su=ku=!1;var e,t=0;0!==_u&&(((e=window.event)&&"popstate"===e.type?e!==ud&&(ud=e,!0):(ud=null,!1))&&(t=_u),_u=0);for(var n=oe(),r=null,o=yu;null!==o;){var a=o.next,i=Tu(o,n);0===i?(o.next=null,null===r?yu=a:r.next=a,null===a&&(xu=r)):(r=o,(0!==t||3&i)&&(Su=!0)),o=a}Eu(t)}function Tu(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,a=-62914561&e.pendingLanes;0<a;){var i=31-me(a),l=1<<i,s=o[i];-1===s?0!==(l&n)&&0===(l&r)||(o[i]=_e(l,t)):s<=t&&(e.expiredLanes|=l),a&=~l}if(n=sc,n=Se(e,e===(t=ic)?n:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle),r=e.callbackNode,0===n||e===t&&(2===cc||9===cc)||null!==e.cancelPendingCommit)return null!==r&&null!==r&&te(r),e.callbackNode=null,e.callbackPriority=0;if(!(3&n)||we(e,n)){if((t=n&-n)===e.callbackPriority)return t;switch(null!==r&&te(r),Oe(n)){case 2:case 8:n=le;break;case 32:default:n=se;break;case 268435456:n=ue}return r=Ru.bind(null,e),n=ee(n,r),e.callbackPriority=t,e.callbackNode=n,t}return null!==r&&null!==r&&te(r),e.callbackPriority=2,e.callbackNode=null,2}function Ru(e,t){if(0!==zc&&5!==zc)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(uu()&&e.callbackNode!==n)return null;var r=sc;return 0===(r=Se(e,e===ic?r:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle))?null:(Wc(e,r,t),Tu(e,oe()),null!=e.callbackNode&&e.callbackNode===n?Ru.bind(null,e):null)}function Iu(e,t){if(uu())return null;Wc(e,t,!0)}function Ou(){return 0===_u&&(_u=Ce()),_u}function Au(e){return null==e||"symbol"==typeof e||"boolean"==typeof e?null:"function"==typeof e?e:Ot(""+e)}function Du(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}for(var Nu=0;Nu<_r.length;Nu++){var Fu=_r[Nu];Cr(Fu.toLowerCase(),"on"+(Fu[0].toUpperCase()+Fu.slice(1)))}Cr(mr,"onAnimationEnd"),Cr(br,"onAnimationIteration"),Cr(vr,"onAnimationStart"),Cr("dblclick","onDoubleClick"),Cr("focusin","onFocus"),Cr("focusout","onBlur"),Cr(yr,"onTransitionRun"),Cr(xr,"onTransitionStart"),Cr(kr,"onTransitionCancel"),Cr(Sr,"onTransitionEnd"),Je("onMouseEnter",["mouseout","mouseover"]),Je("onMouseLeave",["mouseout","mouseover"]),Je("onPointerEnter",["pointerout","pointerover"]),Je("onPointerLeave",["pointerout","pointerover"]),Qe("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Qe("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Qe("onBeforeInput",["compositionend","keypress","textInput","paste"]),Qe("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Qe("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Qe("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ju="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(" "),Mu=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ju));function Lu(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],s=l.instance,c=l.currentTarget;if(l=l.listener,s!==a&&o.isPropagationStopped())break e;a=l,o.currentTarget=c;try{a(o)}catch(u){xl(u)}o.currentTarget=null,a=s}else for(i=0;i<r.length;i++){if(s=(l=r[i]).instance,c=l.currentTarget,l=l.listener,s!==a&&o.isPropagationStopped())break e;a=l,o.currentTarget=c;try{a(o)}catch(u){xl(u)}o.currentTarget=null,a=s}}}}function Wu(e,t){var n=t[Me];void 0===n&&(n=t[Me]=new Set);var r=e+"__bubble";n.has(r)||(Hu(t,e,2,!1),n.add(r))}function Bu(e,t,n){var r=0;t&&(r|=4),Hu(n,e,r,t)}var $u="_reactListening"+Math.random().toString(36).slice(2);function Vu(e){if(!e[$u]){e[$u]=!0,Xe.forEach(function(t){"selectionchange"!==t&&(Mu.has(t)||Bu(t,!1,e),Bu(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[$u]||(t[$u]=!0,Bu("selectionchange",!1,t))}}function Hu(e,t,n,r){switch(pf(t)){case 2:var o=lf;break;case 8:o=sf;break;default:o=cf}n=o.bind(null,t,n,e),o=void 0,!$t||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Uu(e,t,n,r,o){var a=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var l=r.tag;if(3===l||4===l){var s=r.stateNode.containerInfo;if(s===o)break;if(4===l)for(l=r.return;null!==l;){var c=l.tag;if((3===c||4===c)&&l.stateNode.containerInfo===o)return;l=l.return}for(;null!==s;){if(null===(l=He(s)))return;if(5===(c=l.tag)||6===c||26===c||27===c){r=a=l;continue e}s=s.parentNode}}r=r.return}Lt(function(){var r=a,o=Dt(n),l=[];e:{var s=wr.get(e);if(void 0!==s){var c=nn,u=e;switch(e){case"keypress":if(0===Yt(n))break e;case"keydown":case"keyup":c=vn;break;case"focusin":u="focus",c=cn;break;case"focusout":u="blur",c=cn;break;case"beforeblur":case"afterblur":c=cn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":c=ln;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":c=sn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":c=xn;break;case mr:case br:case vr:c=un;break;case Sr:c=kn;break;case"scroll":case"scrollend":c=on;break;case"wheel":c=Sn;break;case"copy":case"cut":case"paste":c=dn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":c=yn;break;case"toggle":case"beforetoggle":c=wn}var d=!!(4&t),f=!d&&("scroll"===e||"scrollend"===e),p=d?null!==s?s+"Capture":null:s;d=[];for(var h,g=r;null!==g;){var m=g;if(h=m.stateNode,5!==(m=m.tag)&&26!==m&&27!==m||null===h||null===p||null!=(m=Wt(g,p))&&d.push(qu(g,m,h)),f)break;g=g.return}0<d.length&&(s=new c(s,u,null,n,o),l.push({event:s,listeners:d}))}}if(!(7&t)){if(c="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===At||!(u=n.relatedTarget||n.fromElement)||!He(u)&&!u[je])&&(c||s)&&(s=o.window===o?o:(s=o.ownerDocument)?s.defaultView||s.parentWindow:window,c?(c=r,null!==(u=(u=n.relatedTarget||n.toElement)?He(u):null)&&(f=i(u),d=u.tag,u!==f||5!==d&&27!==d&&6!==d)&&(u=null)):(c=null,u=r),c!==u)){if(d=ln,m="onMouseLeave",p="onMouseEnter",g="mouse","pointerout"!==e&&"pointerover"!==e||(d=yn,m="onPointerLeave",p="onPointerEnter",g="pointer"),f=null==c?s:qe(c),h=null==u?s:qe(u),(s=new d(m,g+"leave",c,n,o)).target=f,s.relatedTarget=h,m=null,He(o)===r&&((d=new d(p,g+"enter",u,n,o)).target=h,d.relatedTarget=f,m=d),f=m,c&&u)e:{for(p=u,g=0,h=d=c;h;h=Yu(h))g++;for(h=0,m=p;m;m=Yu(m))h++;for(;0<g-h;)d=Yu(d),g--;for(;0<h-g;)p=Yu(p),h--;for(;g--;){if(d===p||null!==p&&d===p.alternate)break e;d=Yu(d),p=Yu(p)}d=null}else d=null;null!==c&&Xu(l,s,c,d,!1),null!==u&&null!==f&&Xu(l,f,u,d,!0)}if("select"===(c=(s=r?qe(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===c&&"file"===s.type)var b=Bn;else if(Nn(s))if($n)b=Qn;else{b=Xn;var v=Yn}else!(c=s.nodeName)||"input"!==c.toLowerCase()||"checkbox"!==s.type&&"radio"!==s.type?r&&Tt(r.elementType)&&(b=Bn):b=Kn;switch(b&&(b=b(e,r))?Fn(l,b,n,o):(v&&v(e,s,r),"focusout"===e&&r&&"number"===s.type&&null!=r.memoizedProps.value&&kt(s,"number",s.value)),v=r?qe(r):window,e){case"focusin":(Nn(v)||"true"===v.contentEditable)&&(ir=v,lr=r,sr=null);break;case"focusout":sr=lr=ir=null;break;case"mousedown":cr=!0;break;case"contextmenu":case"mouseup":case"dragend":cr=!1,ur(l,n,o);break;case"selectionchange":if(ar)break;case"keydown":case"keyup":ur(l,n,o)}var y;if(Cn)e:{switch(e){case"compositionstart":var x="onCompositionStart";break e;case"compositionend":x="onCompositionEnd";break e;case"compositionupdate":x="onCompositionUpdate";break e}x=void 0}else An?In(e,n)&&(x="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(x="onCompositionStart");x&&(zn&&"ko"!==n.locale&&(An||"onCompositionStart"!==x?"onCompositionEnd"===x&&An&&(y=Gt()):(Ut="value"in(Ht=o)?Ht.value:Ht.textContent,An=!0)),0<(v=Gu(r,x)).length&&(x=new fn(x,e,null,n,o),l.push({event:x,listeners:v}),(y||null!==(y=On(n)))&&(x.data=y))),(y=Pn?function(e,t){switch(e){case"compositionend":return On(t);case"keypress":return 32!==t.which?null:(Rn=!0,Tn);case"textInput":return(e=t.data)===Tn&&Rn?null:e;default:return null}}(e,n):function(e,t){if(An)return"compositionend"===e||!Cn&&In(e,t)?(e=Gt(),qt=Ut=Ht=null,An=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return zn&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(x=Gu(r,"onBeforeInput")).length&&(v=new fn("onBeforeInput","beforeinput",null,n,o),l.push({event:v,listeners:x}),v.data=y),function(e,t,n,r,o){if("submit"===t&&n&&n.stateNode===o){var a=Au((o[Fe]||null).action),i=r.submitter;i&&null!==(t=(t=i[Fe]||null)?Au(t.formAction):i.getAttribute("formAction"))&&(a=t,i=null);var l=new nn("action","action",null,r,o);e.push({event:l,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(0!==_u){var e=i?Du(o,i):new FormData(o);Di(n,{pending:!0,data:e,method:o.method,action:a},null,e)}}else"function"==typeof a&&(l.preventDefault(),e=i?Du(o,i):new FormData(o),Di(n,{pending:!0,data:e,method:o.method,action:a},a,e))},currentTarget:o}]})}}(l,e,r,n,o)}Lu(l,t)})}function qu(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Gu(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,a=o.stateNode;if(5!==(o=o.tag)&&26!==o&&27!==o||null===a||(null!=(o=Wt(e,n))&&r.unshift(qu(e,o,a)),null!=(o=Wt(e,t))&&r.push(qu(e,o,a))),3===e.tag)return r;e=e.return}return[]}function Yu(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag&&27!==e.tag);return e||null}function Xu(e,t,n,r,o){for(var a=t._reactName,i=[];null!==n&&n!==r;){var l=n,s=l.alternate,c=l.stateNode;if(l=l.tag,null!==s&&s===r)break;5!==l&&26!==l&&27!==l||null===c||(s=c,o?null!=(c=Wt(n,a))&&i.unshift(qu(n,c,s)):o||null!=(c=Wt(n,a))&&i.push(qu(n,c,s))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var Ku=/\r\n?/g,Qu=/\u0000|\uFFFD/g;function Ju(e){return("string"==typeof e?e:""+e).replace(Ku,"\n").replace(Qu,"")}function Zu(e,t){return t=Ju(t),Ju(e)===t}function ed(){}function td(e,t,n,r,a,i){switch(n){case"children":"string"==typeof r?"body"===t||"textarea"===t&&""===r||Ct(e,r):("number"==typeof r||"bigint"==typeof r)&&"body"!==t&&Ct(e,""+r);break;case"className":at(e,"class",r);break;case"tabIndex":at(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":at(e,n,r);break;case"style":zt(e,r,i);break;case"data":if("object"!==t){at(e,"data",r);break}case"src":case"href":if(""===r&&("a"!==t||"href"!==n)){e.removeAttribute(n);break}if(null==r||"function"==typeof r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}r=Ot(""+r),e.setAttribute(n,r);break;case"action":case"formAction":if("function"==typeof r){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}if("function"==typeof i&&("formAction"===n?("input"!==t&&td(e,t,"name",a.name,a,null),td(e,t,"formEncType",a.formEncType,a,null),td(e,t,"formMethod",a.formMethod,a,null),td(e,t,"formTarget",a.formTarget,a,null)):(td(e,t,"encType",a.encType,a,null),td(e,t,"method",a.method,a,null),td(e,t,"target",a.target,a,null))),null==r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}r=Ot(""+r),e.setAttribute(n,r);break;case"onClick":null!=r&&(e.onclick=ed);break;case"onScroll":null!=r&&Wu("scroll",e);break;case"onScrollEnd":null!=r&&Wu("scrollend",e);break;case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(o(61));if(null!=(n=r.__html)){if(null!=a.children)throw Error(o(60));e.innerHTML=n}}break;case"multiple":e.multiple=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"muted":e.muted=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":case"autoFocus":break;case"xlinkHref":if(null==r||"function"==typeof r||"boolean"==typeof r||"symbol"==typeof r){e.removeAttribute("xlink:href");break}n=Ot(""+r),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":null!=r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,""+r):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":!0===r?e.setAttribute(n,""):!1!==r&&null!=r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,r):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":null!=r&&"function"!=typeof r&&"symbol"!=typeof r&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case"rowSpan":case"start":null==r||"function"==typeof r||"symbol"==typeof r||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case"popover":Wu("beforetoggle",e),Wu("toggle",e),ot(e,"popover",r);break;case"xlinkActuate":it(e,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":it(e,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":it(e,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":it(e,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":it(e,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":it(e,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":it(e,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":it(e,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":it(e,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":ot(e,"is",r);break;case"innerText":case"textContent":break;default:(!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1])&&ot(e,n=Rt.get(n)||n,r)}}function nd(e,t,n,r,a,i){switch(n){case"style":zt(e,r,i);break;case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(o(61));if(null!=(n=r.__html)){if(null!=a.children)throw Error(o(60));e.innerHTML=n}}break;case"children":"string"==typeof r?Ct(e,r):("number"==typeof r||"bigint"==typeof r)&&Ct(e,""+r);break;case"onScroll":null!=r&&Wu("scroll",e);break;case"onScrollEnd":null!=r&&Wu("scrollend",e);break;case"onClick":null!=r&&(e.onclick=ed);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":case"innerText":case"textContent":break;default:Ke.hasOwnProperty(n)||("o"!==n[0]||"n"!==n[1]||(a=n.endsWith("Capture"),t=n.slice(2,a?n.length-7:void 0),"function"==typeof(i=null!=(i=e[Fe]||null)?i[n]:null)&&e.removeEventListener(t,i,a),"function"!=typeof r)?n in e?e[n]=r:!0===r?e.setAttribute(n,""):ot(e,n,r):("function"!=typeof i&&null!==i&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,a)))}}function rd(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Wu("error",e),Wu("load",e);var r,a=!1,i=!1;for(r in n)if(n.hasOwnProperty(r)){var l=n[r];if(null!=l)switch(r){case"src":a=!0;break;case"srcSet":i=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:td(e,t,r,l,n,null)}}return i&&td(e,t,"srcSet",n.srcSet,n,null),void(a&&td(e,t,"src",n.src,n,null));case"input":Wu("invalid",e);var s=r=l=i=null,c=null,u=null;for(a in n)if(n.hasOwnProperty(a)){var d=n[a];if(null!=d)switch(a){case"name":i=d;break;case"type":l=d;break;case"checked":c=d;break;case"defaultChecked":u=d;break;case"value":r=d;break;case"defaultValue":s=d;break;case"children":case"dangerouslySetInnerHTML":if(null!=d)throw Error(o(137,t));break;default:td(e,t,a,d,n,null)}}return xt(e,r,s,c,u,l,i,!1),void ht(e);case"select":for(i in Wu("invalid",e),a=l=r=null,n)if(n.hasOwnProperty(i)&&null!=(s=n[i]))switch(i){case"value":r=s;break;case"defaultValue":l=s;break;case"multiple":a=s;default:td(e,t,i,s,n,null)}return t=r,n=l,e.multiple=!!a,void(null!=t?St(e,!!a,t,!1):null!=n&&St(e,!!a,n,!0));case"textarea":for(l in Wu("invalid",e),r=i=a=null,n)if(n.hasOwnProperty(l)&&null!=(s=n[l]))switch(l){case"value":a=s;break;case"defaultValue":i=s;break;case"children":r=s;break;case"dangerouslySetInnerHTML":if(null!=s)throw Error(o(91));break;default:td(e,t,l,s,n,null)}return _t(e,a,i,r),void ht(e);case"option":for(c in n)n.hasOwnProperty(c)&&null!=(a=n[c])&&("selected"===c?e.selected=a&&"function"!=typeof a&&"symbol"!=typeof a:td(e,t,c,a,n,null));return;case"dialog":Wu("beforetoggle",e),Wu("toggle",e),Wu("cancel",e),Wu("close",e);break;case"iframe":case"object":Wu("load",e);break;case"video":case"audio":for(a=0;a<ju.length;a++)Wu(ju[a],e);break;case"image":Wu("error",e),Wu("load",e);break;case"details":Wu("toggle",e);break;case"embed":case"source":case"link":Wu("error",e),Wu("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(u in n)if(n.hasOwnProperty(u)&&null!=(a=n[u]))switch(u){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:td(e,t,u,a,n,null)}return;default:if(Tt(t)){for(d in n)n.hasOwnProperty(d)&&void 0!==(a=n[d])&&nd(e,t,d,a,n,void 0);return}}for(s in n)n.hasOwnProperty(s)&&null!=(a=n[s])&&td(e,t,s,a,n,null)}var od=null,ad=null;function id(e){return 9===e.nodeType?e:e.ownerDocument}function ld(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function sd(e,t){if(0===e)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return 1===e&&"foreignObject"===t?0:e}function cd(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"bigint"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ud=null,dd="function"==typeof setTimeout?setTimeout:void 0,fd="function"==typeof clearTimeout?clearTimeout:void 0,pd="function"==typeof Promise?Promise:void 0,hd="function"==typeof queueMicrotask?queueMicrotask:void 0!==pd?function(e){return pd.resolve(null).then(e).catch(gd)}:dd;function gd(e){setTimeout(function(){throw e})}function md(e){return"head"===e}function bd(e,t){var n=t,r=0,o=0;do{var a=n.nextSibling;if(e.removeChild(n),a&&8===a.nodeType)if("/$"===(n=a.data)){if(0<r&&8>r){n=r;var i=e.ownerDocument;if(1&n&&_d(i.documentElement),2&n&&_d(i.body),4&n)for(_d(n=i.head),i=n.firstChild;i;){var l=i.nextSibling,s=i.nodeName;i[$e]||"SCRIPT"===s||"STYLE"===s||"LINK"===s&&"stylesheet"===i.rel.toLowerCase()||n.removeChild(i),i=l}}if(0===o)return e.removeChild(a),void If(t);o--}else"$"===n||"$?"===n||"$!"===n?o++:r=n.charCodeAt(0)-48;else r=0;n=a}while(n);If(t)}function vd(e){var t=e.firstChild;for(t&&10===t.nodeType&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":vd(n),Ve(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===n.rel.toLowerCase())continue}e.removeChild(n)}}function yd(e){return"$!"===e.data||"$?"===e.data&&"complete"===e.ownerDocument.readyState}function xd(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t||"F!"===t||"F"===t)break;if("/$"===t)return null}}return e}var kd=null;function Sd(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}function wd(e,t,n){switch(t=id(n),e){case"html":if(!(e=t.documentElement))throw Error(o(452));return e;case"head":if(!(e=t.head))throw Error(o(453));return e;case"body":if(!(e=t.body))throw Error(o(454));return e;default:throw Error(o(451))}}function _d(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Ve(e)}var Cd=new Map,Ed=new Set;function Pd(e){return"function"==typeof e.getRootNode?e.getRootNode():9===e.nodeType?e:e.ownerDocument}var zd=M.d;M.d={f:function(){var e=zd.f(),t=Hc();return e||t},r:function(e){var t=Ue(e);null!==t&&5===t.tag&&"form"===t.type?Fi(t):zd.r(e)},D:function(e){zd.D(e),Rd("dns-prefetch",e,null)},C:function(e,t){zd.C(e,t),Rd("preconnect",e,t)},L:function(e,t,n){zd.L(e,t,n);var r=Td;if(r&&e&&t){var o='link[rel="preload"][as="'+vt(t)+'"]';"image"===t&&n&&n.imageSrcSet?(o+='[imagesrcset="'+vt(n.imageSrcSet)+'"]',"string"==typeof n.imageSizes&&(o+='[imagesizes="'+vt(n.imageSizes)+'"]')):o+='[href="'+vt(e)+'"]';var a=o;switch(t){case"style":a=Od(e);break;case"script":a=Nd(e)}Cd.has(a)||(e=u({rel:"preload",href:"image"===t&&n&&n.imageSrcSet?void 0:e,as:t},n),Cd.set(a,e),null!==r.querySelector(o)||"style"===t&&r.querySelector(Ad(a))||"script"===t&&r.querySelector(Fd(a))||(rd(t=r.createElement("link"),"link",e),Ye(t),r.head.appendChild(t)))}},m:function(e,t){zd.m(e,t);var n=Td;if(n&&e){var r=t&&"string"==typeof t.as?t.as:"script",o='link[rel="modulepreload"][as="'+vt(r)+'"][href="'+vt(e)+'"]',a=o;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":a=Nd(e)}if(!Cd.has(a)&&(e=u({rel:"modulepreload",href:e},t),Cd.set(a,e),null===n.querySelector(o))){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Fd(a)))return}rd(r=n.createElement("link"),"link",e),Ye(r),n.head.appendChild(r)}}},X:function(e,t){zd.X(e,t);var n=Td;if(n&&e){var r=Ge(n).hoistableScripts,o=Nd(e),a=r.get(o);a||((a=n.querySelector(Fd(o)))||(e=u({src:e,async:!0},t),(t=Cd.get(o))&&Wd(e,t),Ye(a=n.createElement("script")),rd(a,"link",e),n.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},r.set(o,a))}},S:function(e,t,n){zd.S(e,t,n);var r=Td;if(r&&e){var o=Ge(r).hoistableStyles,a=Od(e);t=t||"default";var i=o.get(a);if(!i){var l={loading:0,preload:null};if(i=r.querySelector(Ad(a)))l.loading=5;else{e=u({rel:"stylesheet",href:e,"data-precedence":t},n),(n=Cd.get(a))&&Ld(e,n);var s=i=r.createElement("link");Ye(s),rd(s,"link",e),s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),s.addEventListener("load",function(){l.loading|=1}),s.addEventListener("error",function(){l.loading|=2}),l.loading|=4,Md(i,t,r)}i={type:"stylesheet",instance:i,count:1,state:l},o.set(a,i)}}},M:function(e,t){zd.M(e,t);var n=Td;if(n&&e){var r=Ge(n).hoistableScripts,o=Nd(e),a=r.get(o);a||((a=n.querySelector(Fd(o)))||(e=u({src:e,async:!0,type:"module"},t),(t=Cd.get(o))&&Wd(e,t),Ye(a=n.createElement("script")),rd(a,"link",e),n.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},r.set(o,a))}}};var Td="undefined"==typeof document?null:document;function Rd(e,t,n){var r=Td;if(r&&"string"==typeof t&&t){var o=vt(t);o='link[rel="'+e+'"][href="'+o+'"]',"string"==typeof n&&(o+='[crossorigin="'+n+'"]'),Ed.has(o)||(Ed.add(o),e={rel:e,crossOrigin:n,href:t},null===r.querySelector(o)&&(rd(t=r.createElement("link"),"link",e),Ye(t),r.head.appendChild(t)))}}function Id(e,t,n,r){var a,i,l,s,c=(c=G.current)?Pd(c):null;if(!c)throw Error(o(446));switch(e){case"meta":case"title":return null;case"style":return"string"==typeof n.precedence&&"string"==typeof n.href?(t=Od(n.href),(r=(n=Ge(c).hoistableStyles).get(t))||(r={type:"style",instance:null,count:0,state:null},n.set(t,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===n.rel&&"string"==typeof n.href&&"string"==typeof n.precedence){e=Od(n.href);var u=Ge(c).hoistableStyles,d=u.get(e);if(d||(c=c.ownerDocument||c,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(e,d),(u=c.querySelector(Ad(e)))&&!u._p&&(d.instance=u,d.state.loading=5),Cd.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Cd.set(e,n),u||(a=c,i=e,l=n,s=d.state,a.querySelector('link[rel="preload"][as="style"]['+i+"]")?s.loading=1:(i=a.createElement("link"),s.preload=i,i.addEventListener("load",function(){return s.loading|=1}),i.addEventListener("error",function(){return s.loading|=2}),rd(i,"link",l),Ye(i),a.head.appendChild(i))))),t&&null===r)throw Error(o(528,""));return d}if(t&&null!==r)throw Error(o(529,""));return null;case"script":return t=n.async,"string"==typeof(n=n.src)&&t&&"function"!=typeof t&&"symbol"!=typeof t?(t=Nd(n),(r=(n=Ge(c).hoistableScripts).get(t))||(r={type:"script",instance:null,count:0,state:null},n.set(t,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,e))}}function Od(e){return'href="'+vt(e)+'"'}function Ad(e){return'link[rel="stylesheet"]['+e+"]"}function Dd(e){return u({},e,{"data-precedence":e.precedence,precedence:null})}function Nd(e){return'[src="'+vt(e)+'"]'}function Fd(e){return"script[async]"+e}function jd(e,t,n){if(t.count++,null===t.instance)switch(t.type){case"style":var r=e.querySelector('style[data-href~="'+vt(n.href)+'"]');if(r)return t.instance=r,Ye(r),r;var a=u({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return Ye(r=(e.ownerDocument||e).createElement("style")),rd(r,"style",a),Md(r,n.precedence,e),t.instance=r;case"stylesheet":a=Od(n.href);var i=e.querySelector(Ad(a));if(i)return t.state.loading|=4,t.instance=i,Ye(i),i;r=Dd(n),(a=Cd.get(a))&&Ld(r,a),Ye(i=(e.ownerDocument||e).createElement("link"));var l=i;return l._p=new Promise(function(e,t){l.onload=e,l.onerror=t}),rd(i,"link",r),t.state.loading|=4,Md(i,n.precedence,e),t.instance=i;case"script":return i=Nd(n.src),(a=e.querySelector(Fd(i)))?(t.instance=a,Ye(a),a):(r=n,(a=Cd.get(i))&&Wd(r=u({},n),a),Ye(a=(e=e.ownerDocument||e).createElement("script")),rd(a,"link",r),e.head.appendChild(a),t.instance=a);case"void":return null;default:throw Error(o(443,t.type))}else"stylesheet"===t.type&&!(4&t.state.loading)&&(r=t.instance,t.state.loading|=4,Md(r,n.precedence,e));return t.instance}function Md(e,t,n){for(var r=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=r.length?r[r.length-1]:null,a=o,i=0;i<r.length;i++){var l=r[i];if(l.dataset.precedence===t)a=l;else if(a!==o)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=9===n.nodeType?n.head:n).insertBefore(e,t.firstChild)}function Ld(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.title&&(e.title=t.title)}function Wd(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.integrity&&(e.integrity=t.integrity)}var Bd=null;function $d(e,t,n){if(null===Bd){var r=new Map,o=Bd=new Map;o.set(n,r)}else(r=(o=Bd).get(n))||(r=new Map,o.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),o=0;o<n.length;o++){var a=n[o];if(!(a[$e]||a[Ne]||"link"===e&&"stylesheet"===a.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==a.namespaceURI){var i=a.getAttribute(t)||"";i=e+i;var l=r.get(i);l?l.push(a):r.set(i,[a])}}return r}function Vd(e,t,n){(e=e.ownerDocument||e).head.insertBefore(n,"title"===t?e.querySelector("head > title"):null)}function Hd(e){return!!("stylesheet"!==e.type||3&e.state.loading)}var Ud=null;function qd(){}function Gd(){if(this.count--,0===this.count)if(this.stylesheets)Xd(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}var Yd=null;function Xd(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,Yd=new Map,t.forEach(Kd,e),Yd=null,Gd.call(e))}function Kd(e,t){if(!(4&t.state.loading)){var n=Yd.get(e);if(n)var r=n.get(null);else{n=new Map,Yd.set(e,n);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),a=0;a<o.length;a++){var i=o[a];"LINK"!==i.nodeName&&"not all"===i.getAttribute("media")||(n.set(i.dataset.precedence,i),r=i)}r&&n.set(null,r)}i=(o=t.instance).getAttribute("data-precedence"),(a=n.get(i)||r)===r&&n.set(null,o),n.set(i,o),this.count++,r=Gd.bind(this),o.addEventListener("load",r),o.addEventListener("error",r),a?a.parentNode.insertBefore(o,a.nextSibling):(e=9===e.nodeType?e.head:e).insertBefore(o,e.firstChild),t.state.loading|=4}}var Qd={$$typeof:x,Provider:null,Consumer:null,_currentValue:L,_currentValue2:L,_threadCount:0};function Jd(e,t,n,r,o,a,i,l){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Pe(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Pe(0),this.hiddenUpdates=Pe(null),this.identifierPrefix=r,this.onUncaughtError=o,this.onCaughtError=a,this.onRecoverableError=i,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=l,this.incompleteTransitions=new Map}function Zd(e,t,n,r,o,a,i,l,s,c,u,d){return e=new Jd(e,t,n,i,l,s,c,d),t=1,!0===a&&(t|=24),a=Lr(3,null,null,t),e.current=a,a.stateNode=e,(t=jo()).refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},ia(a),e}function ef(e){return e?e=jr:jr}function tf(e,t,n,r,o,a){o=ef(o),null===r.context?r.context=o:r.pendingContext=o,(r=sa(t)).payload={element:n},null!==(a=void 0===a?null:a)&&(r.callback=a),null!==(n=ca(e,r,t))&&(Lc(n,0,t),ua(n,e,t))}function nf(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function rf(e,t){nf(e,t),(e=e.alternate)&&nf(e,t)}function of(e){if(13===e.tag){var t=Dr(e,67108864);null!==t&&Lc(t,0,67108864),rf(e,67108864)}}var af=!0;function lf(e,t,n,r){var o=F.T;F.T=null;var a=M.p;try{M.p=2,cf(e,t,n,r)}finally{M.p=a,F.T=o}}function sf(e,t,n,r){var o=F.T;F.T=null;var a=M.p;try{M.p=8,cf(e,t,n,r)}finally{M.p=a,F.T=o}}function cf(e,t,n,r){if(af){var o=uf(r);if(null===o)Uu(e,t,r,df,n),Sf(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return gf=wf(gf,e,t,n,r,o),!0;case"dragenter":return mf=wf(mf,e,t,n,r,o),!0;case"mouseover":return bf=wf(bf,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return vf.set(a,wf(vf.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return a=o.pointerId,yf.set(a,wf(yf.get(a)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(Sf(e,r),4&t&&-1<kf.indexOf(e)){for(;null!==o;){var a=Ue(o);if(null!==a)switch(a.tag){case 3:if((a=a.stateNode).current.memoizedState.isDehydrated){var i=ke(a.pendingLanes);if(0!==i){var l=a;for(l.pendingLanes|=2,l.entangledLanes|=2;i;){var s=1<<31-me(i);l.entanglements[1]|=s,i&=~s}Cu(a),!(6&ac)&&(Cc=oe()+500,Eu(0))}}break;case 13:null!==(l=Dr(a,2))&&Lc(l,0,2),Hc(),rf(a,2)}if(null===(a=uf(r))&&Uu(e,t,r,df,n),a===o)break;o=a}null!==o&&r.stopPropagation()}else Uu(e,t,r,null,n)}}function uf(e){return ff(e=Dt(e))}var df=null;function ff(e){if(df=null,null!==(e=He(e))){var t=i(e);if(null===t)e=null;else{var n=t.tag;if(13===n){if(null!==(e=l(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return df=e,null}function pf(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(ae()){case ie:return 2;case le:return 8;case se:case ce:return 32;case ue:return 268435456;default:return 32}default:return 32}}var hf=!1,gf=null,mf=null,bf=null,vf=new Map,yf=new Map,xf=[],kf="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Sf(e,t){switch(e){case"focusin":case"focusout":gf=null;break;case"dragenter":case"dragleave":mf=null;break;case"mouseover":case"mouseout":bf=null;break;case"pointerover":case"pointerout":vf.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":yf.delete(t.pointerId)}}function wf(e,t,n,r,o,a){return null===e||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[o]},null!==t&&null!==(t=Ue(t))&&of(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function _f(e){var t=He(e.target);if(null!==t){var n=i(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=l(n)))return e.blockedOn=t,void function(e){var t=M.p;try{return M.p=e,function(){if(13===n.tag){var e=jc();e=Ie(e);var t=Dr(n,e);null!==t&&Lc(t,0,e),rf(n,e)}}()}finally{M.p=t}}(e.priority)}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Cf(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=uf(e.nativeEvent);if(null!==n)return null!==(t=Ue(n))&&of(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);At=r,n.target.dispatchEvent(r),At=null,t.shift()}return!0}function Ef(e,t,n){Cf(e)&&n.delete(t)}function Pf(){hf=!1,null!==gf&&Cf(gf)&&(gf=null),null!==mf&&Cf(mf)&&(mf=null),null!==bf&&Cf(bf)&&(bf=null),vf.forEach(Ef),yf.forEach(Ef)}function zf(e,n){e.blockedOn===n&&(e.blockedOn=null,hf||(hf=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Pf)))}var Tf=null;function Rf(e){Tf!==e&&(Tf=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){Tf===e&&(Tf=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],o=e[t+2];if("function"!=typeof r){if(null===ff(r||n))continue;break}var a=Ue(n);null!==a&&(e.splice(t,3),t-=3,Di(a,{pending:!0,data:o,method:n.method,action:r},r,o))}}))}function If(e){function t(t){return zf(t,e)}null!==gf&&zf(gf,e),null!==mf&&zf(mf,e),null!==bf&&zf(bf,e),vf.forEach(t),yf.forEach(t);for(var n=0;n<xf.length;n++){var r=xf[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<xf.length&&null===(n=xf[0]).blockedOn;)_f(n),null===n.blockedOn&&xf.shift();if(null!=(n=(e.ownerDocument||e).$$reactFormReplay))for(r=0;r<n.length;r+=3){var o=n[r],a=n[r+1],i=o[Fe]||null;if("function"==typeof a)i||Rf(n);else if(i){var l=null;if(a&&a.hasAttribute("formAction")){if(o=a,i=a[Fe]||null)l=i.formAction;else if(null!==ff(o))continue}else l=i.action;"function"==typeof l?n[r+1]=l:(n.splice(r,3),r-=3),Rf(n)}}}function Of(e){this._internalRoot=e}function Af(e){this._internalRoot=e}Af.prototype.render=Of.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(o(409));tf(t.current,jc(),e,t,null,null)},Af.prototype.unmount=Of.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;tf(e.current,2,null,e,null,null),Hc(),t[je]=null}},Af.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ae();e={blockedOn:null,target:e,priority:t};for(var n=0;n<xf.length&&0!==t&&t<xf[n].priority;n++);xf.splice(n,0,e),0===n&&_f(e)}};var Df=n.version;if("19.1.1"!==Df)throw Error(o(527,Df,"19.1.1"));M.findDOMNode=function(e){var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(o(188));throw e=Object.keys(e).join(","),Error(o(268,e))}return e=function(e){var t=e.alternate;if(!t){if(null===(t=i(e)))throw Error(o(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var l=a.alternate;if(null===l){if(null!==(r=a.return)){n=r;continue}break}if(a.child===l.child){for(l=a.child;l;){if(l===n)return s(a),e;if(l===r)return s(a),t;l=l.sibling}throw Error(o(188))}if(n.return!==r.return)n=a,r=l;else{for(var c=!1,u=a.child;u;){if(u===n){c=!0,n=a,r=l;break}if(u===r){c=!0,r=a,n=l;break}u=u.sibling}if(!c){for(u=l.child;u;){if(u===n){c=!0,n=l,r=a;break}if(u===r){c=!0,r=l,n=a;break}u=u.sibling}if(!c)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(3!==n.tag)throw Error(o(188));return n.stateNode.current===n?e:t}(t),null===(e=null!==e?c(e):null)?null:e.stateNode};var Nf={bundleType:0,version:"19.1.1",rendererPackageName:"react-dom",currentDispatcherRef:F,reconcilerVersion:"19.1.1"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var Ff=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ff.isDisabled&&Ff.supportsFiber)try{pe=Ff.inject(Nf),he=Ff}catch(jf){}}return C.createRoot=function(e,t){if(!a(e))throw Error(o(299));var n=!1,r="",i=kl,l=Sl,s=wl;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onUncaughtError&&(i=t.onUncaughtError),void 0!==t.onCaughtError&&(l=t.onCaughtError),void 0!==t.onRecoverableError&&(s=t.onRecoverableError),void 0!==t.unstable_transitionCallbacks&&t.unstable_transitionCallbacks),t=Zd(e,1,!1,null,0,n,r,i,l,s,0,null),e[je]=t.current,Vu(e),new Of(t)},C.hydrateRoot=function(e,t,n){if(!a(e))throw Error(o(299));var r=!1,i="",l=kl,s=Sl,c=wl,u=null;return null!=n&&(!0===n.unstable_strictMode&&(r=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onUncaughtError&&(l=n.onUncaughtError),void 0!==n.onCaughtError&&(s=n.onCaughtError),void 0!==n.onRecoverableError&&(c=n.onRecoverableError),void 0!==n.unstable_transitionCallbacks&&n.unstable_transitionCallbacks,void 0!==n.formState&&(u=n.formState)),(t=Zd(e,1,!0,t,0,r,i,l,s,c,0,u)).context=ef(null),n=t.current,(i=sa(r=Ie(r=jc()))).callback=null,ca(n,i,r),n=r,t.current.lanes=n,ze(t,n),Cu(t),e[je]=t.current,Vu(e),new Af(t)},C.version="19.1.1",C}function L(){return A||(A=1,function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){}}(),_.exports=M()),_.exports}const W=o(L());function B(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var $=/^((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)-.*))$/,V=B(function(e){return $.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}),H=function(){function t(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var n=t.prototype;return n.hydrate=function(e){e.forEach(this._insertTag)},n.insert=function(t){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var n=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(n);try{r.insertRule(t,r.cssRules.length)}catch(e){}}else n.appendChild(document.createTextNode(t));this.ctr++},n.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},t}(),U="-ms-",q="-moz-",G="-webkit-",Y="comm",X="rule",K="decl",Q="@keyframes",J=Math.abs,Z=String.fromCharCode,ee=Object.assign;function te(e){return e.trim()}function ne(e,t,n){return e.replace(t,n)}function re(e,t){return e.indexOf(t)}function oe(e,t){return 0|e.charCodeAt(t)}function ae(e,t,n){return e.slice(t,n)}function ie(e){return e.length}function le(e){return e.length}function se(e,t){return t.push(e),e}var ce=1,ue=1,de=0,fe=0,pe=0,he="";function ge(e,t,n,r,o,a,i){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:ce,column:ue,length:i,return:""}}function me(e,t){return ee(ge("",null,null,"",null,null,0),e,{length:-e.length},t)}function be(){return pe=fe>0?oe(he,--fe):0,ue--,10===pe&&(ue=1,ce--),pe}function ve(){return pe=fe<de?oe(he,fe++):0,ue++,10===pe&&(ue=1,ce++),pe}function ye(){return oe(he,fe)}function xe(){return fe}function ke(e,t){return ae(he,e,t)}function Se(e){switch(e){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 we(e){return ce=ue=1,de=ie(he=e),fe=0,[]}function _e(e){return he="",e}function Ce(e){return te(ke(fe-1,ze(91===e?e+2:40===e?e+1:e)))}function Ee(e){for(;(pe=ye())&&pe<33;)ve();return Se(e)>2||Se(pe)>3?"":" "}function Pe(e,t){for(;--t&&ve()&&!(pe<48||pe>102||pe>57&&pe<65||pe>70&&pe<97););return ke(e,xe()+(t<6&&32==ye()&&32==ve()))}function ze(e){for(;ve();)switch(pe){case e:return fe;case 34:case 39:34!==e&&39!==e&&ze(pe);break;case 40:41===e&&ze(e);break;case 92:ve()}return fe}function Te(e,t){for(;ve()&&e+pe!==57&&(e+pe!==84||47!==ye()););return"/*"+ke(t,fe-1)+"*"+Z(47===e?e:ve())}function Re(e){for(;!Se(ye());)ve();return ke(e,fe)}function Ie(e){return _e(Oe("",null,null,null,[""],e=we(e),0,[0],e))}function Oe(e,t,n,r,o,a,i,l,s){for(var c=0,u=0,d=i,f=0,p=0,h=0,g=1,m=1,b=1,v=0,y="",x=o,k=a,S=r,w=y;m;)switch(h=v,v=ve()){case 40:if(108!=h&&58==oe(w,d-1)){-1!=re(w+=ne(Ce(v),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:w+=Ce(v);break;case 9:case 10:case 13:case 32:w+=Ee(h);break;case 92:w+=Pe(xe()-1,7);continue;case 47:switch(ye()){case 42:case 47:se(De(Te(ve(),xe()),t,n),s);break;default:w+="/"}break;case 123*g:l[c++]=ie(w)*b;case 125*g:case 59:case 0:switch(v){case 0:case 125:m=0;case 59+u:-1==b&&(w=ne(w,/\f/g,"")),p>0&&ie(w)-d&&se(p>32?Ne(w+";",r,n,d-1):Ne(ne(w," ","")+";",r,n,d-2),s);break;case 59:w+=";";default:if(se(S=Ae(w,t,n,c,u,o,l,y,x=[],k=[],d),a),123===v)if(0===u)Oe(w,t,S,S,x,a,d,l,k);else switch(99===f&&110===oe(w,3)?100:f){case 100:case 108:case 109:case 115:Oe(e,S,S,r&&se(Ae(e,S,S,0,0,o,l,y,o,x=[],d),k),o,k,d,l,r?x:k);break;default:Oe(w,S,S,S,[""],k,0,l,k)}}c=u=p=0,g=b=1,y=w="",d=i;break;case 58:d=1+ie(w),p=h;default:if(g<1)if(123==v)--g;else if(125==v&&0==g++&&125==be())continue;switch(w+=Z(v),v*g){case 38:b=u>0?1:(w+="\f",-1);break;case 44:l[c++]=(ie(w)-1)*b,b=1;break;case 64:45===ye()&&(w+=Ce(ve())),f=ye(),u=d=ie(y=w+=Re(xe())),v++;break;case 45:45===h&&2==ie(w)&&(g=0)}}return a}function Ae(e,t,n,r,o,a,i,l,s,c,u){for(var d=o-1,f=0===o?a:[""],p=le(f),h=0,g=0,m=0;h<r;++h)for(var b=0,v=ae(e,d+1,d=J(g=i[h])),y=e;b<p;++b)(y=te(g>0?f[b]+" "+v:ne(v,/&\f/g,f[b])))&&(s[m++]=y);return ge(e,t,n,0===o?X:l,s,c,u)}function De(e,t,n){return ge(e,t,n,Y,Z(pe),ae(e,2,-2),0)}function Ne(e,t,n,r){return ge(e,t,n,K,ae(e,0,r),ae(e,r+1,-1),r)}function Fe(e,t){for(var n="",r=le(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function je(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case K:return e.return=e.return||e.value;case Y:return"";case Q:return e.return=e.value+"{"+Fe(e.children,r)+"}";case X:e.value=e.props.join(",")}return ie(n=Fe(e.children,r))?e.return=e.value+"{"+n+"}":""}var Me=function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}},Le=function(e,t,n){for(var r=0,o=0;r=o,o=ye(),38===r&&12===o&&(t[n]=1),!Se(o);)ve();return ke(e,fe)},We=new WeakMap,Be=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||We.get(n))&&!r){We.set(e,!0);for(var o=[],a=function(e,t){return _e(function(e,t){var n=-1,r=44;do{switch(Se(r)){case 0:38===r&&12===ye()&&(t[n]=1),e[n]+=Le(fe-1,t,n);break;case 2:e[n]+=Ce(r);break;case 4:if(44===r){e[++n]=58===ye()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Z(r)}}while(r=ve());return e}(we(e),t))}(t,o),i=n.props,l=0,s=0;l<a.length;l++)for(var c=0;c<i.length;c++,s++)e.props[s]=o[l]?a[l].replace(/&\f/g,i[c]):i[c]+" "+a[l]}}},$e=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Ve(e,t){switch(function(e,t){return 45^oe(e,0)?(((t<<2^oe(e,0))<<2^oe(e,1))<<2^oe(e,2))<<2^oe(e,3):0}(e,t)){case 5103:return G+"print-"+e+e;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 G+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return G+e+q+e+U+e+e;case 6828:case 4268:return G+e+U+e+e;case 6165:return G+e+U+"flex-"+e+e;case 5187:return G+e+ne(e,/(\w+).+(:[^]+)/,G+"box-$1$2"+U+"flex-$1$2")+e;case 5443:return G+e+U+"flex-item-"+ne(e,/flex-|-self/,"")+e;case 4675:return G+e+U+"flex-line-pack"+ne(e,/align-content|flex-|-self/,"")+e;case 5548:return G+e+U+ne(e,"shrink","negative")+e;case 5292:return G+e+U+ne(e,"basis","preferred-size")+e;case 6060:return G+"box-"+ne(e,"-grow","")+G+e+U+ne(e,"grow","positive")+e;case 4554:return G+ne(e,/([^-])(transform)/g,"$1"+G+"$2")+e;case 6187:return ne(ne(ne(e,/(zoom-|grab)/,G+"$1"),/(image-set)/,G+"$1"),e,"")+e;case 5495:case 3959:return ne(e,/(image-set\([^]*)/,G+"$1$`$1");case 4968:return ne(ne(e,/(.+:)(flex-)?(.*)/,G+"box-pack:$3"+U+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+G+e+e;case 4095:case 3583:case 4068:case 2532:return ne(e,/(.+)-inline(.+)/,G+"$1$2")+e;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(ie(e)-1-t>6)switch(oe(e,t+1)){case 109:if(45!==oe(e,t+4))break;case 102:return ne(e,/(.+:)(.+)-([^]+)/,"$1"+G+"$2-$3$1"+q+(108==oe(e,t+3)?"$3":"$2-$3"))+e;case 115:return~re(e,"stretch")?Ve(ne(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==oe(e,t+1))break;case 6444:switch(oe(e,ie(e)-3-(~re(e,"!important")&&10))){case 107:return ne(e,":",":"+G)+e;case 101:return ne(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+G+(45===oe(e,14)?"inline-":"")+"box$3$1"+G+"$2$3$1"+U+"$2box$3")+e}break;case 5936:switch(oe(e,t+11)){case 114:return G+e+U+ne(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return G+e+U+ne(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return G+e+U+ne(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return G+e+U+e+e}return e}var He=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case K:e.return=Ve(e.value,e.length);break;case Q:return Fe([me(e,{value:ne(e.value,"@","@"+G)})],r);case X:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,function(t){switch(function(e){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return Fe([me(e,{props:[ne(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return Fe([me(e,{props:[ne(t,/:(plac\w+)/,":"+G+"input-$1")]}),me(e,{props:[ne(t,/:(plac\w+)/,":-moz-$1")]}),me(e,{props:[ne(t,/:(plac\w+)/,U+"input-$1")]})],r)}return""})}}],Ue=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var r,o,a=e.stylisPlugins||He,i={},l=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)i[t[n]]=!0;l.push(e)});var s,c,u,d,f=[je,(d=function(e){s.insert(e)},function(e){e.root||(e=e.return)&&d(e)})],p=(c=[Be,$e].concat(a,f),u=le(c),function(e,t,n,r){for(var o="",a=0;a<u;a++)o+=c[a](e,t,n,r)||"";return o});o=function(e,t,n,r){s=n,Fe(Ie(e?e+"{"+t.styles+"}":t.styles),p),r&&(h.inserted[t.name]=!0)};var h={key:t,sheet:new H({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:o};return h.sheet.hydrate(l),h};const qe=Object.freeze(Object.defineProperty({__proto__:null,default:Ue},Symbol.toStringTag,{value:"Module"}));function Ge(){return Ge=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ge.apply(null,arguments)}var Ye,Xe,Ke,Qe,Je={exports:{}},Ze={};function et(){if(Ye)return Ze;Ye=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,m=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var f=e.$$typeof;switch(f){case t:switch(e=e.type){case s:case c:case r:case a:case o:case d:return e;default:switch(e=e&&e.$$typeof){case l:case u:case h:case p:case i:return e;default:return f}}case n:return f}}}function x(e){return y(e)===c}return Ze.AsyncMode=s,Ze.ConcurrentMode=c,Ze.ContextConsumer=l,Ze.ContextProvider=i,Ze.Element=t,Ze.ForwardRef=u,Ze.Fragment=r,Ze.Lazy=h,Ze.Memo=p,Ze.Portal=n,Ze.Profiler=a,Ze.StrictMode=o,Ze.Suspense=d,Ze.isAsyncMode=function(e){return x(e)||y(e)===s},Ze.isConcurrentMode=x,Ze.isContextConsumer=function(e){return y(e)===l},Ze.isContextProvider=function(e){return y(e)===i},Ze.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Ze.isForwardRef=function(e){return y(e)===u},Ze.isFragment=function(e){return y(e)===r},Ze.isLazy=function(e){return y(e)===h},Ze.isMemo=function(e){return y(e)===p},Ze.isPortal=function(e){return y(e)===n},Ze.isProfiler=function(e){return y(e)===a},Ze.isStrictMode=function(e){return y(e)===o},Ze.isSuspense=function(e){return y(e)===d},Ze.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===a||e===o||e===d||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===p||e.$$typeof===i||e.$$typeof===l||e.$$typeof===u||e.$$typeof===m||e.$$typeof===b||e.$$typeof===v||e.$$typeof===g)},Ze.typeOf=y,Ze}function tt(){return Xe||(Xe=1,Je.exports=et()),Je.exports}function nt(){if(Qe)return Ke;Qe=1;var t=tt(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function i(e){return t.isMemo(e)?o:a[e.$$typeof]||n}a[t.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[t.Memo]=o;var l=Object.defineProperty,s=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,u=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,f=Object.prototype;return Ke=function t(n,o,a){if("string"!=typeof o){if(f){var p=d(o);p&&p!==f&&t(n,p,a)}var h=s(o);c&&(h=h.concat(c(o)));for(var g=i(n),m=i(o),b=0;b<h.length;++b){var v=h[b];if(!(r[v]||a&&a[v]||m&&m[v]||g&&g[v])){var y=u(o,v);try{l(n,v,y)}catch(e){}}}}return n}}const rt=o(nt());function ot(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")}),r}var at=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},it=function(e,t,n){at(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}},lt={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},st=/[A-Z]|^ms/g,ct=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ut=function(e){return 45===e.charCodeAt(1)},dt=function(e){return null!=e&&"boolean"!=typeof e},ft=B(function(e){return ut(e)?e:e.replace(st,"-$&").toLowerCase()}),pt=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(ct,function(e,t,n){return gt={name:t,styles:n,next:gt},t})}return 1===lt[e]||ut(e)||"number"!=typeof t||0===t?t:t+"px"};function ht(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return gt={name:o.name,styles:o.styles,next:gt},o.name;var a=n;if(void 0!==a.styles){var i=a.next;if(void 0!==i)for(;void 0!==i;)gt={name:i.name,styles:i.styles,next:gt},i=i.next;return a.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=ht(e,t,n[o])+";";else for(var a in n){var i=n[a];if("object"!=typeof i){var l=i;null!=t&&void 0!==t[l]?r+=a+"{"+t[l]+"}":dt(l)&&(r+=ft(a)+":"+pt(a,l)+";")}else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var s=ht(e,t,i);switch(a){case"animation":case"animationName":r+=ft(a)+":"+s+";";break;default:r+=a+"{"+s+"}"}}else for(var c=0;c<i.length;c++)dt(i[c])&&(r+=ft(a)+":"+pt(a,i[c])+";")}return r}(e,t,n);case"function":if(void 0!==e){var l=gt,s=n(e);return gt=l,ht(e,t,s)}}var c=n;if(null==t)return c;var u=t[c];return void 0!==u?u:c}var gt,mt=/label:\s*([^\s;{]+)\s*(;|$)/g;function bt(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";gt=void 0;var a=e[0];null==a||void 0===a.raw?(r=!1,o+=ht(n,t,a)):o+=a[0];for(var i=1;i<e.length;i++)o+=ht(n,t,e[i]),r&&(o+=a[i]);mt.lastIndex=0;for(var l,s="";null!==(l=mt.exec(o));)s+="-"+l[1];var c=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+s;return{name:c,styles:o,next:gt}}var vt,yt,xt=!!k.useInsertionEffect&&k.useInsertionEffect,kt=xt||function(e){return e()},St=xt||y.useLayoutEffect,wt=y.createContext("undefined"!=typeof HTMLElement?Ue({key:"css"}):null),_t=wt.Provider,Ct=function(e){return y.forwardRef(function(t,n){var r=y.useContext(wt);return e(t,r,n)})},Et=y.createContext({}),Pt=Me(function(e){return Me(function(t){return function(e,t){return"function"==typeof t?t(e):Ge({},e,t)}(e,t)})}),zt={}.hasOwnProperty,Tt="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Rt=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return at(t,n,r),kt(function(){return it(t,n,r)}),null},It=Ct(function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var o=e[Tt],a=[r],i="";"string"==typeof e.className?i=ot(t.registered,a,e.className):null!=e.className&&(i=e.className+" ");var l=bt(a,void 0,y.useContext(Et));i+=t.key+"-"+l.name;var s={};for(var c in e)zt.call(e,c)&&"css"!==c&&c!==Tt&&(s[c]=e[c]);return s.className=i,n&&(s.ref=n),y.createElement(y.Fragment,null,y.createElement(Rt,{cache:t,serialized:l,isStringTag:"string"==typeof o}),y.createElement(o,s))}),Ot=It,At=function(e,t){var n=arguments;if(null==t||!zt.call(t,"css"))return y.createElement.apply(void 0,n);var r=n.length,o=new Array(r);o[0]=Ot,o[1]=function(e,t){var n={};for(var r in t)zt.call(t,r)&&(n[r]=t[r]);return n[Tt]=e,n}(e,t);for(var a=2;a<r;a++)o[a]=n[a];return y.createElement.apply(null,o)};vt=At||(At={}),yt||(yt=vt.JSX||(vt.JSX={}));var Dt=Ct(function(e,t){var n=bt([e.styles],void 0,y.useContext(Et)),r=y.useRef();return St(function(){var e=t.key+"-global",o=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,i=document.querySelector('style[data-emotion="'+e+" "+n.name+'"]');return t.sheet.tags.length&&(o.before=t.sheet.tags[0]),null!==i&&(a=!0,i.setAttribute("data-emotion",e),o.hydrate([i])),r.current=[o,a],function(){o.flush()}},[t]),St(function(){var e=r.current,o=e[0];if(e[1])e[1]=!1;else{if(void 0!==n.next&&it(t,n.next,!0),o.tags.length){var a=o.tags[o.tags.length-1].nextElementSibling;o.before=a,o.flush()}t.insert("",n,o,!1)}},[t,n.name]),null});function Nt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return bt(t)}var Ft=function e(t){for(var n=t.length,r=0,o="";r<n;r++){var a=t[r];if(null!=a){var i=void 0;switch(typeof a){case"boolean":break;case"object":if(Array.isArray(a))i=e(a);else for(var l in i="",a)a[l]&&l&&(i&&(i+=" "),i+=l);break;default:i=a}i&&(o&&(o+=" "),o+=i)}}return o},jt=function(e){var t=e.cache,n=e.serializedArr;return kt(function(){for(var e=0;e<n.length;e++)it(t,n[e],!1)}),null},Mt=Ct(function(e,t){var n=[],r=function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];var a=bt(r,t.registered);return n.push(a),at(t,a,!1),t.key+"-"+a.name},o={css:r,cx:function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return function(e,t,n){var r=[],o=ot(e,r,n);return r.length<2?n:o+t(r)}(t.registered,r,Ft(n))},theme:y.useContext(Et)},a=e.children(o);return y.createElement(y.Fragment,null,y.createElement(jt,{cache:t,serializedArr:n}),a)});const Lt=Object.freeze(Object.defineProperty({__proto__:null,CacheProvider:_t,ClassNames:Mt,Global:Dt,ThemeContext:Et,ThemeProvider:function(e){var t=y.useContext(Et);return e.theme!==t&&(t=Pt(t)(e.theme)),y.createElement(Et.Provider,{value:t},e.children)},__unsafe_useEmotionCache:function(){return y.useContext(wt)},get createElement(){return At},css:Nt,get jsx(){return At},keyframes:function(){var e=Nt.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},useTheme:function(){return y.useContext(Et)},withEmotionCache:Ct,withTheme:function(e){var t=e.displayName||e.name||"Component",n=y.forwardRef(function(t,n){var r=y.useContext(Et);return y.createElement(e,Ge({theme:r,ref:n},t))});return n.displayName="WithTheme("+t+")",rt(n,e)}},Symbol.toStringTag,{value:"Module"}));function Wt(...e){return function(...t){e.forEach(e=>e?.(...t))}}const Bt=(...e)=>e.map(e=>e?.trim?.()).filter(Boolean).join(" "),$t=/^on[A-Z]/;function Vt(...e){let t={};for(let n of e){for(let e in t)$t.test(e)&&"function"==typeof t[e]&&"function"==typeof n[e]?t[e]=Wt(t[e],n[e]):t[e]="className"!==e&&"class"!==e?"style"!==e?void 0!==n[e]?n[e]:t[e]:Object.assign({},t[e]??{},n[e]??{}):Bt(t[e],n[e]);for(let e in n)void 0===t[e]&&(t[e]=n[e])}return t}function Ht(e){const t=Object.assign({},e);for(let n in t)void 0===t[n]&&delete t[n];return t}const Ut=(...e)=>e.filter(Boolean).map(e=>e.trim()).join(" "),qt=e=>null!=e&&"object"==typeof e&&!Array.isArray(e),Gt=e=>"string"==typeof e,Yt=e=>"function"==typeof e,Xt=(...e)=>{const t=e.reduce((e,t)=>(null!=t&&t.forEach(t=>e.add(t)),e),new Set([]));return Array.from(t)};function Kt(e={}){const{name:t,strict:n=!0,hookName:r="useContext",providerName:o="Provider",errorMessage:a,defaultValue:i}=e,l=y.createContext(i);return l.displayName=t,[l.Provider,function e(){const t=y.useContext(l);if(!t&&n){const t=new Error(a??`${r} returned \`undefined\`. Seems you forgot to wrap component within ${o}`);throw t.name="ContextError",Error.captureStackTrace?.(t,e),t}return t},l]}const[Qt,Jt]=Kt({name:"ChakraContext",strict:!0,providerName:"<ChakraProvider />"});function Zt(e){const{value:t,children:n}=e;return h.jsxs(Qt,{value:t,children:[!t._config.disableLayers&&h.jsx(Dt,{styles:t.layers.atRule}),h.jsx(Dt,{styles:t._global}),n]})}const en=(e,t)=>((e,t)=>{const n={},r={},o=Object.keys(e);for(const a of o)t(a)?r[a]=e[a]:n[a]=e[a];return[r,n]})(e,Yt(t)?t:e=>t.includes(e)),tn=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function nn(e){return"string"==typeof e&&tn.has(e)}var rn;const on=(rn=V).default||rn,an=e=>"theme"!==e;let ln="undefined"!=typeof document;const sn=({cache:e,serialized:t,isStringTag:n})=>{at(e,t,n);const r=kt(()=>it(e,t,n));if(!ln&&void 0!==r){let n=t.name,o=t.next;for(;void 0!==o;)n=Ut(n,o.name),o=o.next;return h.jsx("style",{"data-emotion":Ut(e.key,n),dangerouslySetInnerHTML:{__html:r},nonce:e.sheet.nonce})}return null},cn={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"]},un=((e,t={},n={})=>{if(r=cn,o=e,Object.prototype.hasOwnProperty.call(r,o)){n.forwardProps||(n.forwardProps=[]);const t=cn[e];n.forwardProps=Xt([...n.forwardProps,...t])}var r,o;const a=e.__emotion_real===e,i=a&&e.__emotion_base||e;let l,s;void 0!==n&&(l=n.label,s=n.target);let c=[];const u=Ct((r,o,l)=>{const{cva:u,isValidProperty:d}=Jt(),f=t.__cva__?t:u(t),p=pn(e.__emotion_cva,f);var g;!n.shouldForwardProp&&n.forwardProps&&(n.shouldForwardProp=(g=n.forwardProps,(e,t)=>!!g.includes(e)||!t?.includes(e)&&!d(e)));const m=((e,t,n)=>{let r;if(t){const n=t.shouldForwardProp;r=e.__emotion_forwardProp&&n?t=>e.__emotion_forwardProp(t)&&n(t):n}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r})(e,n,a)||((t,n)=>{const r="string"==typeof e&&e.charCodeAt(0)>96?on:an,o=!n?.includes(t)&&!d(t);return r(t)&&o}),b=y.useMemo(()=>Object.assign({},n.defaultProps,Ht(r)),[r]),{props:v,styles:x}=function(e,t,n){const{css:r,isValidProperty:o}=Jt(),{children:a,...i}=e,l=y.useMemo(()=>{const[e,r]=en(i,e=>n(e,t.variantKeys)),[a,l]=en(r,t.variantKeys),[s,c]=en(l,o);return{forwardedProps:e,variantProps:a,styleProps:s,elementProps:c}},[t.variantKeys,n,i,o]),{css:s,...c}=l.styleProps,u=y.useMemo(()=>{const e={...l.variantProps};return t.variantKeys.includes("colorPalette")||(e.colorPalette=i.colorPalette),t.variantKeys.includes("orientation")||(e.orientation=i.orientation),t(e)},[t,l.variantProps,i.colorPalette,i.orientation]);return{styles:y.useMemo(()=>{return r(u,...(e=s,(Array.isArray(e)?e:[e]).filter(Boolean).flat()),c);var e},[r,u,s,c]),props:{...l.forwardedProps,...l.elementProps,children:a}}}(b,p,m);let k="",S=[x],w=v;if(null==v.theme){w={};for(let e in v)w[e]=v[e];w.theme=y.useContext(Et)}"string"==typeof v.className?k=ot(o.registered,S,v.className):null!=v.className&&(k=Ut(k,v.className));const _=bt(c.concat(S),o.registered,w);_.styles&&(k=Ut(k,`${o.key}-${_.name}`)),void 0!==s&&(k=Ut(k,s));const C=!m("as");let E=C&&v.as||i,P={};for(let e in v)if(!C||"as"!==e){if(nn(e)){P[e.replace("html","").toLowerCase()]=v[e];continue}m(e)&&(P[e]=v[e])}let z=k.trim();z?P.className=z:Reflect.deleteProperty(P,"className"),P.ref=l;const T=n.forwardAsChild||n.forwardProps?.includes("asChild");if(v.asChild&&!T){const e=y.isValidElement(v.children)?y.Children.only(v.children):y.Children.toArray(v.children).find(y.isValidElement);if(!e)throw new Error("[chakra-ui > factory] No valid child found");E=e.type,P.children=null,Reflect.deleteProperty(P,"asChild"),P=Vt(P,e.props),P.ref=function(...e){return t=>{e.forEach(e=>{!function(e,t){if(null!=e)if("function"!=typeof e)try{e.current=t}catch(n){throw new Error(`Cannot assign value '${t}' to ref '${e}'`)}else e(t)}(e,t)})}}(l,function(e){const t=y.version;return Gt(t)?t.startsWith("18.")?e?.ref:e?.props?.ref:e?.ref}(e))}return P.as&&T?(P.as=void 0,h.jsxs(y.Fragment,{children:[h.jsx(sn,{cache:o,serialized:_,isStringTag:"string"==typeof E}),h.jsx(E,{asChild:!0,...P,children:h.jsx(v.as,{children:P.children})})]})):h.jsxs(y.Fragment,{children:[h.jsx(sn,{cache:o,serialized:_,isStringTag:"string"==typeof E}),h.jsx(E,{...P})]})});return u.displayName=void 0!==l?l:`chakra(${"string"==typeof i?i:i.displayName||i.name||"Component"})`,u.__emotion_real=u,u.__emotion_base=i,u.__emotion_forwardProp=n.shouldForwardProp,u.__emotion_cva=t,Object.defineProperty(u,"toString",{value:()=>`.${s}`}),u}).bind(),dn=new Map,fn=new Proxy(un,{apply:(e,t,n)=>un(...n),get:(e,t)=>(dn.has(t)||dn.set(t,un(t)),dn.get(t))}),pn=(e,t)=>e&&!t?e:!e&&t?t:e.merge(t),hn=fn("div");hn.displayName="Box";const gn="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,mn=globalThis,bn="10.5.0";function vn(){return yn(mn),mn}function yn(e){const t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||bn,t[bn]=t[bn]||{}}function xn(e,t,n=mn){const r=n.__SENTRY__=n.__SENTRY__||{},o=r[bn]=r[bn]||{};return o[e]||(o[e]=t())}const kn=["debug","info","warn","error","log","assert","trace"],Sn={};function wn(e){if(!("console"in mn))return e();const t=mn.console,n={},r=Object.keys(Sn);r.forEach(e=>{const r=Sn[e];n[e]=t[e],t[e]=r});try{return e()}finally{r.forEach(e=>{t[e]=n[e]})}}function _n(){return En().enabled}function Cn(e,...t){gn&&_n()&&wn(()=>{mn.console[e](`Sentry Logger [${e}]:`,...t)})}function En(){return gn?xn("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const Pn=function(...e){Cn("log",...e)},zn=function(...e){Cn("warn",...e)},Tn=function(...e){Cn("error",...e)},Rn="?",In=/\(error: (.*)\)/,On=/captureMessage|captureException/;function An(e){return e[e.length-1]||{}}const Dn="<anonymous>";function Nn(e){try{return e&&"function"==typeof e&&e.name||Dn}catch{return Dn}}function Fn(e){const t=e.exception;if(t){const e=[];try{return t.values.forEach(t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)}),e}catch{return}}}const jn={},Mn={};function Ln(e,t){jn[e]=jn[e]||[],jn[e].push(t)}function Wn(t,n){if(!Mn[t]){Mn[t]=!0;try{n()}catch(e){gn&&Tn(`Error while instrumenting ${t}`,e)}}}function Bn(t,n){const r=t&&jn[t];if(r)for(const o of r)try{o(n)}catch(e){gn&&Tn(`Error while triggering instrumentation handler.\nType: ${t}\nName: ${Nn(o)}\nError:`,e)}}let $n=null;function Vn(){$n=mn.onerror,mn.onerror=function(e,t,n,r,o){return Bn("error",{column:r,error:o,line:n,msg:e,url:t}),!!$n&&$n.apply(this,arguments)},mn.onerror.__SENTRY_INSTRUMENTED__=!0}let Hn=null;function Un(){Hn=mn.onunhandledrejection,mn.onunhandledrejection=function(e){return Bn("unhandledrejection",e),!Hn||Hn.apply(this,arguments)},mn.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const qn=Object.prototype.toString;function Gn(e){switch(qn.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return rr(e,Error)}}function Yn(e,t){return qn.call(e)===`[object ${t}]`}function Xn(e){return Yn(e,"ErrorEvent")}function Kn(e){return Yn(e,"DOMError")}function Qn(e){return Yn(e,"String")}function Jn(e){return"object"==typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function Zn(e){return null===e||Jn(e)||"object"!=typeof e&&"function"!=typeof e}function er(e){return Yn(e,"Object")}function tr(e){return"undefined"!=typeof Event&&rr(e,Event)}function nr(e){return Boolean(e?.then&&"function"==typeof e.then)}function rr(e,t){try{return e instanceof t}catch{return!1}}function or(e){return!("object"!=typeof e||null===e||!e.__isVue&&!e._isVue)}const ar=mn;function ir(e,t={}){if(!e)return"<unknown>";try{let n=e;const r=5,o=[];let a=0,i=0;const l=" > ",s=l.length;let c;const u=Array.isArray(t)?t:t.keyAttrs,d=!Array.isArray(t)&&t.maxStringLength||80;for(;n&&a++<r&&(c=lr(n,u),!("html"===c||a>1&&i+o.length*s+c.length>=d));)o.push(c),i+=c.length,n=n.parentNode;return o.reverse().join(l)}catch{return"<unknown>"}}function lr(e,t){const n=e,r=[];if(!n?.tagName)return"";if(ar.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}r.push(n.tagName.toLowerCase());const o=t?.length?t.filter(e=>n.getAttribute(e)).map(e=>[e,n.getAttribute(e)]):null;if(o?.length)o.forEach(e=>{r.push(`[${e[0]}="${e[1]}"]`)});else{n.id&&r.push(`#${n.id}`);const e=n.className;if(e&&Qn(e)){const t=e.split(/\s+/);for(const e of t)r.push(`.${e}`)}}const a=["aria-label","type","name","title","alt"];for(const i of a){const e=n.getAttribute(i);e&&r.push(`[${i}="${e}"]`)}return r.join("")}function sr(){try{return ar.document.location.href}catch{return""}}function cr(e,t=0){return"string"!=typeof e||0===t||e.length<=t?e:`${e.slice(0,t)}...`}function ur(e,t){if(!Array.isArray(e))return"";const n=[];for(let r=0;r<e.length;r++){const t=e[r];try{or(t)?n.push("[VueViewModel]"):n.push(String(t))}catch{n.push("[value cannot be serialized]")}}return n.join(t)}function dr(e,t,n=!1){return!!Qn(e)&&(Yn(t,"RegExp")?t.test(e):!!Qn(t)&&(n?e===t:e.includes(t)))}function fr(e,t=[],n=!1){return t.some(t=>dr(e,t,n))}function pr(e,t,n){if(!(t in e))return;const r=e[t];if("function"!=typeof r)return;const o=n(r);"function"==typeof o&&gr(o,r);try{e[t]=o}catch{gn&&Pn(`Failed to replace method "${t}" in object`,e)}}function hr(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{gn&&Pn(`Failed to add non-enumerable property "${t}" to object`,e)}}function gr(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,hr(e,"__sentry_original__",t)}catch{}}function mr(e){return e.__sentry_original__}function br(e){if(Gn(e))return{message:e.message,name:e.name,stack:e.stack,...yr(e)};if(tr(e)){const t={type:e.type,target:vr(e.target),currentTarget:vr(e.currentTarget),...yr(e)};return"undefined"!=typeof CustomEvent&&rr(e,CustomEvent)&&(t.detail=e.detail),t}return e}function vr(e){try{return"undefined"!=typeof Element&&rr(e,Element)?ir(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function yr(e){if("object"==typeof e&&null!==e){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}return{}}function xr(e=function(){const e=mn;return e.crypto||e.msCrypto}()){let t=()=>16*Math.random();try{if(e?.randomUUID)return e.randomUUID().replace(/-/g,"");e?.getRandomValues&&(t=()=>{const t=new Uint8Array(1);return e.getRandomValues(t),t[0]})}catch{}return"10000000100040008000100000000000".replace(/[018]/g,e=>(e^(15&t())>>e/4).toString(16))}function kr(e){return e.exception?.values?.[0]}function Sr(e){const{message:t,event_id:n}=e;if(t)return t;const r=kr(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function wr(e,t,n){const r=e.exception=e.exception||{},o=r.values=r.values||[],a=o[0]=o[0]||{};a.value||(a.value=t||""),a.type||(a.type="Error")}function _r(e,t){const n=kr(e);if(!n)return;const r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...t},t&&"data"in t){const e={...r?.data,...t.data};n.mechanism.data=e}}function Cr(e){if(function(e){try{return e.__sentry_captured__}catch{}}(e))return!0;try{hr(e,"__sentry_captured__",!0)}catch{}return!1}function Er(){return Date.now()/1e3}let Pr;function zr(){return(Pr??(Pr=function(){const{performance:e}=mn;if(!e?.now||!e.timeOrigin)return Er;const t=e.timeOrigin;return()=>(t+e.now())/1e3}()))()}function Tr(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||zr(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:xr()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{const t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}function Rr(e,t,n=2){if(!t||"object"!=typeof t||n<=0)return t;if(e&&0===Object.keys(t).length)return e;const r={...e};for(const o in t)Object.prototype.hasOwnProperty.call(t,o)&&(r[o]=Rr(r[o],t[o],n-1));return r}function Ir(){return xr()}function Or(){return xr().substring(16)}const Ar="_sentrySpan";function Dr(e,t){t?hr(e,Ar,t):delete e[Ar]}function Nr(e){return e[Ar]}class Fr{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:Ir(),sampleRand:Math.random()}}clone(){const e=new Fr;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._extra={...this._extra},e._contexts={...this._contexts},this._contexts.flags&&(e._contexts.flags={values:[...this._contexts.flags.values]}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,Dr(e,Nr(this)),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&Tr(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;const t="function"==typeof e?e(this):e,n=t instanceof Fr?t.getScopeData():er(t)?e:void 0,{tags:r,extra:o,user:a,contexts:i,level:l,fingerprint:s=[],propagationContext:c}=n||{};return this._tags={...this._tags,...r},this._extra={...this._extra,...o},this._contexts={...this._contexts,...i},a&&Object.keys(a).length&&(this._user=a),l&&(this._level=l),s.length&&(this._fingerprint=s),c&&(this._propagationContext=c),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,Dr(this,void 0),this._attachments=[],this.setPropagationContext({traceId:Ir(),sampleRand:Math.random()}),this._notifyScopeListeners(),this}addBreadcrumb(e,t){const n="number"==typeof t?t:100;if(n<=0)return this;const r={timestamp:Er(),...e,message:e.message?cr(e.message,2048):e.message};return this._breadcrumbs.push(r),this._breadcrumbs.length>n&&(this._breadcrumbs=this._breadcrumbs.slice(-n),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:Nr(this)}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=Rr(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){const n=t?.event_id||xr();if(!this._client)return gn&&zn("No client configured on scope - will not capture exception!"),n;const r=new Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:r,...t,event_id:n},this),n}captureMessage(e,t,n){const r=n?.event_id||xr();if(!this._client)return gn&&zn("No client configured on scope - will not capture message!"),r;const o=new Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:o,...n,event_id:r},this),r}captureEvent(e,t){const n=t?.event_id||xr();return this._client?(this._client.captureEvent(e,{...t,event_id:n},this),n):(gn&&zn("No client configured on scope - will not capture event!"),n)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),this._notifyingListeners=!1)}}class jr{constructor(e,t){let n,r;n=e||new Fr,r=t||new Fr,this._stack=[{scope:n}],this._isolationScope=r}withScope(t){const n=this._pushScope();let r;try{r=t(n)}catch(e){throw this._popScope(),e}return nr(r)?r.then(e=>(this._popScope(),e),e=>{throw this._popScope(),e}):(this._popScope(),r)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return!(this._stack.length<=1||!this._stack.pop())}}function Mr(){const e=yn(vn());return e.stack=e.stack||new jr(xn("defaultCurrentScope",()=>new Fr),xn("defaultIsolationScope",()=>new Fr))}function Lr(e){return Mr().withScope(e)}function Wr(e,t){const n=Mr();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function Br(e){return Mr().withScope(()=>e(Mr().getIsolationScope()))}function $r(e){const t=yn(e);return t.acs?t.acs:{withIsolationScope:Br,withScope:Lr,withSetScope:Wr,withSetIsolationScope:(e,t)=>Br(t),getCurrentScope:()=>Mr().getScope(),getIsolationScope:()=>Mr().getIsolationScope()}}function Vr(){return $r(vn()).getCurrentScope()}function Hr(){return $r(vn()).getIsolationScope()}function Ur(){return Vr().getClient()}function qr(e){const t=e.getPropagationContext(),{traceId:n,parentSpanId:r,propagationSpanId:o}=t,a={trace_id:n,span_id:o||Or()};return r&&(a.parent_span_id=r),a}const Gr="sentry.profile_id",Yr="sentry.exclusive_time";function Xr(e){return{scope:e._sentryScope,isolationScope:e._sentryIsolationScope}}const Kr=/^sentry-/;function Qr(e){return e.split(",").map(e=>e.split("=").map(e=>{try{return decodeURIComponent(e.trim())}catch{return}})).reduce((e,[t,n])=>(t&&n&&(e[t]=n),e),{})}const Jr=/^o(\d+)\./,Zr=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function eo(e,t=!1){const{host:n,path:r,pass:o,port:a,projectId:i,protocol:l,publicKey:s}=e;return`${l}://${s}${t&&o?`:${o}`:""}@${n}${a?`:${a}`:""}/${r?`${r}/`:r}${i}`}function to(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function no(e){const t=e.getOptions(),{host:n}=e.getDsn()||{};let r;return t.orgId?r=String(t.orgId):n&&(r=function(e){const t=e.match(Jr);return t?.[1]}(n)),r}let ro=!1;function oo(e){const{spanId:t,traceId:n,isRemote:r}=e.spanContext(),o=r?t:so(e).parent_span_id,a=Xr(e).scope;return{parent_span_id:o,span_id:r?a?.getPropagationContext().propagationSpanId||Or():t,trace_id:n}}function ao(e){return e&&e.length>0?e.map(({context:{spanId:e,traceId:t,traceFlags:n,...r},attributes:o})=>({span_id:e,trace_id:t,sampled:1===n,attributes:o,...r})):void 0}function io(e){return"number"==typeof e?lo(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?lo(e.getTime()):zr()}function lo(e){return e>9999999999?e/1e3:e}function so(e){if(function(e){return"function"==typeof e.getSpanJSON}(e))return e.getSpanJSON();const{spanId:t,traceId:n}=e.spanContext();if(function(e){const t=e;return!!(t.attributes&&t.startTime&&t.name&&t.endTime&&t.status)}(e)){const{attributes:r,startTime:o,name:a,endTime:i,status:l,links:s}=e;return{span_id:t,trace_id:n,data:r,description:a,parent_span_id:"parentSpanId"in e?e.parentSpanId:"parentSpanContext"in e?e.parentSpanContext?.spanId:void 0,start_timestamp:io(o),timestamp:io(i)||void 0,status:co(l),op:r["sentry.op"],origin:r["sentry.origin"],links:ao(s)}}return{span_id:t,trace_id:n,start_timestamp:0,data:{}}}function co(e){if(e&&0!==e.code)return 1===e.code?"ok":e.message||"unknown_error"}function uo(e){return e._sentryRootSpan||e}function fo(){ro||(wn(()=>{}),ro=!0)}const po="production";function ho(e,t){const n=t.getOptions(),{publicKey:r}=t.getDsn()||{},o={environment:n.environment||po,release:n.release,public_key:r,trace_id:e,org_id:no(t)};return t.emit("createDsc",o),o}function go(e){const t=Ur();if(!t)return{};const n=uo(e),r=so(n),o=r.data,a=n.spanContext().traceState,i=a?.get("sentry.sample_rate")??o["sentry.sample_rate"]??o["sentry.previous_trace_sample_rate"];function l(e){return"number"!=typeof i&&"string"!=typeof i||(e.sample_rate=`${i}`),e}const s=n._frozenDsc;if(s)return l(s);const c=a?.get("sentry.dsc"),u=c&&function(e){const t=function(e){if(e&&(Qn(e)||Array.isArray(e)))return Array.isArray(e)?e.reduce((e,t)=>{const n=Qr(t);return Object.entries(n).forEach(([t,n])=>{e[t]=n}),e},{}):Qr(e)}(e);if(!t)return;const n=Object.entries(t).reduce((e,[t,n])=>(t.match(Kr)&&(e[t.slice(7)]=n),e),{});return Object.keys(n).length>0?n:void 0}(c);if(u)return l(u);const d=ho(e.spanContext().traceId,t),f=o["sentry.source"],p=r.description;return"url"!==f&&p&&(d.transaction=p),function(){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;const e=Ur()?.getOptions();return!(!e||null==e.tracesSampleRate&&!e.tracesSampler)}()&&(d.sampled=String(function(e){const{traceFlags:t}=e.spanContext();return 1===t}(n)),d.sample_rand=a?.get("sentry.sample_rand")??Xr(n).scope?.getPropagationContext().sampleRand.toString()),l(d),t.emit("createDsc",d,n),d}function mo(e,t=100,n=1/0){try{return vo("",e,t,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function bo(e,t=3,n=102400){const r=mo(e,t);return o=r,function(e){return~-encodeURI(e).split(/%..|./).length}(JSON.stringify(o))>n?bo(e,t-1,n):r;var o}function vo(e,t,n=1/0,r=1/0,o=function(){const e=new WeakSet;return[function(t){return!!e.has(t)||(e.add(t),!1)},function(t){e.delete(t)}]}()){const[a,i]=o;if(null==t||["boolean","string"].includes(typeof t)||"number"==typeof t&&Number.isFinite(t))return t;const l=function(e,t){try{if("domain"===e&&t&&"object"==typeof t&&t._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if("undefined"!=typeof global&&t===global)return"[Global]";if("undefined"!=typeof window&&t===window)return"[Window]";if("undefined"!=typeof document&&t===document)return"[Document]";if(or(t))return"[VueViewModel]";if(er(n=t)&&"nativeEvent"in n&&"preventDefault"in n&&"stopPropagation"in n)return"[SyntheticEvent]";if("number"==typeof t&&!Number.isFinite(t))return`[${t}]`;if("function"==typeof t)return`[Function: ${Nn(t)}]`;if("symbol"==typeof t)return`[${String(t)}]`;if("bigint"==typeof t)return`[BigInt: ${String(t)}]`;const r=function(e){const t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:"null prototype"}(t);return/^HTML(\w*)Element$/.test(r)?`[HTMLElement: ${r}]`:`[object ${r}]`}catch(r){return`**non-serializable** (${r})`}var n}(e,t);if(!l.startsWith("[object "))return l;if(t.__sentry_skip_normalization__)return t;const s="number"==typeof t.__sentry_override_normalization_depth__?t.__sentry_override_normalization_depth__:n;if(0===s)return l.replace("object ","");if(a(t))return"[Circular ~]";const c=t;if(c&&"function"==typeof c.toJSON)try{return vo("",c.toJSON(),s-1,r,o)}catch{}const u=Array.isArray(t)?[]:{};let d=0;const f=br(t);for(const p in f){if(!Object.prototype.hasOwnProperty.call(f,p))continue;if(d>=r){u[p]="[MaxProperties ~]";break}const e=f[p];u[p]=vo(p,e,s-1,r,o),d++}return i(t),u}function yo(e,t=[]){return[e,t]}function xo(e,t){const[n,r]=e;return[n,[...r,t]]}function ko(e,t){const n=e[1];for(const r of n)if(t(r,r[0].type))return!0;return!1}function So(e){const t=yn(mn);return t.encodePolyfill?t.encodePolyfill(e):(new TextEncoder).encode(e)}function wo(e){const[t,n]=e;let r=JSON.stringify(t);function o(e){"string"==typeof r?r="string"==typeof e?r+e:[So(r),e]:r.push("string"==typeof e?So(e):e)}for(const a of n){const[e,t]=a;if(o(`\n${JSON.stringify(e)}\n`),"string"==typeof t||t instanceof Uint8Array)o(t);else{let e;try{e=JSON.stringify(t)}catch{e=JSON.stringify(mo(t))}o(e)}}return"string"==typeof r?r:function(e){const t=e.reduce((e,t)=>e+t.length,0),n=new Uint8Array(t);let r=0;for(const o of e)n.set(o,r),r+=o.length;return n}(r)}function _o(e){const t="string"==typeof e.data?So(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}const Co={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",raw_security:"security",log:"log_item"};function Eo(e){return Co[e]}function Po(e){if(!e?.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function zo(e,t){if(!t?.length||!e.description)return!1;for(const n of t){if(Ro(n)){if(dr(e.description,n))return!0;continue}if(!n.name&&!n.op)continue;const t=!n.name||dr(e.description,n.name),r=!n.op||e.op&&dr(e.op,n.op);if(t&&r)return!0}return!1}function To(e,t){const n=t.parent_span_id,r=t.span_id;if(n)for(const o of e)o.parent_span_id===r&&(o.parent_span_id=n)}function Ro(e){return"string"==typeof e||e instanceof RegExp}function Io(e){return new Ao(t=>{t(e)})}function Oo(e){return new Ao((t,n)=>{n(e)})}class Ao{constructor(e){this._state=0,this._handlers=[],this._runExecutor(e)}then(t,n){return new Ao((r,o)=>{this._handlers.push([!1,n=>{if(t)try{r(t(n))}catch(e){o(e)}else r(n)},t=>{if(n)try{r(n(t))}catch(e){o(e)}else o(t)}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(e){return new Ao((t,n)=>{let r,o;return this.then(t=>{o=!1,r=t,e&&e()},t=>{o=!0,r=t,e&&e()}).then(()=>{o?n(r):t(r)})})}_executeHandlers(){if(0===this._state)return;const e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||(1===this._state&&e[1](this._value),2===this._state&&e[2](this._value),e[0]=!0)})}_runExecutor(t){const n=(e,t)=>{0===this._state&&(nr(t)?t.then(r,o):(this._state=e,this._value=t,this._executeHandlers()))},r=e=>{n(1,e)},o=e=>{n(2,e)};try{t(r,o)}catch(e){o(e)}}}function Do(e,t,n,r=0){return new Ao((o,a)=>{const i=e[r];if(null===t||"function"!=typeof i)o(t);else{const l=i({...t},n);gn&&i.id&&null===l&&Pn(`Event processor "${i.id}" dropped event`),nr(l)?l.then(t=>Do(e,t,n,r+1).then(o)).then(null,a):Do(e,l,n,r+1).then(o).then(null,a)}})}function No(e,t){const{extra:n,tags:r,user:o,contexts:a,level:i,sdkProcessingMetadata:l,breadcrumbs:s,fingerprint:c,eventProcessors:u,attachments:d,propagationContext:f,transactionName:p,span:h}=t;Fo(e,"extra",n),Fo(e,"tags",r),Fo(e,"user",o),Fo(e,"contexts",a),e.sdkProcessingMetadata=Rr(e.sdkProcessingMetadata,l,2),i&&(e.level=i),p&&(e.transactionName=p),h&&(e.span=h),s.length&&(e.breadcrumbs=[...e.breadcrumbs,...s]),c.length&&(e.fingerprint=[...e.fingerprint,...c]),u.length&&(e.eventProcessors=[...e.eventProcessors,...u]),d.length&&(e.attachments=[...e.attachments,...d]),e.propagationContext={...e.propagationContext,...f}}function Fo(e,t,n){e[t]=Rr(e[t],n,1)}let jo,Mo,Lo;function Wo(e,t,n,r,o,a){const{normalizeDepth:i=3,normalizeMaxBreadth:l=1e3}=e,s={...t,event_id:t.event_id||n.event_id||xr(),timestamp:t.timestamp||Er()},c=n.integrations||e.integrations.map(e=>e.name);!function(e,t){const{environment:n,release:r,dist:o,maxValueLength:a=250}=t;e.environment=e.environment||n||po,!e.release&&r&&(e.release=r),!e.dist&&o&&(e.dist=o);const i=e.request;i?.url&&(i.url=cr(i.url,a))}(s,e),function(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}(s,c),o&&o.emit("applyFrameMetadata",t),void 0===t.type&&function(e,t){const n=function(e){const t=mn._sentryDebugIds;if(!t)return{};const n=Object.keys(t);return Lo&&n.length===Mo||(Mo=n.length,Lo=n.reduce((n,r)=>{jo||(jo={});const o=jo[r];if(o)n[o[0]]=o[1];else{const o=e(r);for(let e=o.length-1;e>=0;e--){const a=o[e],i=a?.filename,l=t[r];if(i&&l){n[i]=l,jo[r]=[i,l];break}}}return n},{})),Lo}(t);e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.filename&&(e.debug_id=n[e.filename])})})}(s,e.stackParser);const u=function(e,t){if(!t)return e;const n=e?e.clone():new Fr;return n.update(t),n}(r,n.captureContext);n.mechanism&&_r(s,n.mechanism);const d=o?o.getEventProcessors():[],f=xn("globalScope",()=>new Fr).getScopeData();a&&No(f,a.getScopeData()),u&&No(f,u.getScopeData());const p=[...n.attachments||[],...f.attachments];return p.length&&(n.attachments=p),function(e,t){const{fingerprint:n,span:r,breadcrumbs:o,sdkProcessingMetadata:a}=t;!function(e,t){const{extra:n,tags:r,user:o,contexts:a,level:i,transactionName:l}=t;Object.keys(n).length&&(e.extra={...n,...e.extra}),Object.keys(r).length&&(e.tags={...r,...e.tags}),Object.keys(o).length&&(e.user={...o,...e.user}),Object.keys(a).length&&(e.contexts={...a,...e.contexts}),i&&(e.level=i),l&&"transaction"!==e.type&&(e.transaction=l)}(e,t),r&&function(e,t){e.contexts={trace:oo(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:go(t),...e.sdkProcessingMetadata};const n=so(uo(t)).description;n&&!e.transaction&&"transaction"===e.type&&(e.transaction=n)}(e,r),function(e,t){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint.length||delete e.fingerprint}(e,n),function(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}(e,o),function(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}(e,a)}(s,f),Do([...d,...f.eventProcessors],s,n).then(e=>(e&&function(e){const t={};if(e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)})}),0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const n=e.debug_meta.images;Object.entries(t).forEach(([e,t])=>{n.push({type:"sourcemap",code_file:e,debug_id:t})})}(e),"number"==typeof i&&i>0?function(e,t,n){if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:mo(e.data,t,n)}}))},...e.user&&{user:mo(e.user,t,n)},...e.contexts&&{contexts:mo(e.contexts,t,n)},...e.extra&&{extra:mo(e.extra,t,n)}};return e.contexts?.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=mo(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(e=>({...e,...e.data&&{data:mo(e.data,t,n)}}))),e.contexts?.flags&&r.contexts&&(r.contexts.flags=mo(e.contexts.flags,3,n)),r}(e,i,l):e))}function Bo(e,t){return Vr().captureEvent(e,t)}function $o(e){const t=Hr(),n=Vr(),{userAgent:r}=mn.navigator||{},o=function(e){const t=zr(),n={sid:xr(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(e){return{sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"==typeof e.did||"string"==typeof e.did?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}}}(n)};return e&&Tr(n,e),n}({user:n.getUser()||t.getUser(),...r&&{userAgent:r},...e}),a=t.getSession();return"ok"===a?.status&&Tr(a,{status:"exited"}),Vo(),t.setSession(o),o}function Vo(){const e=Hr(),t=Vr().getSession()||e.getSession();t&&function(e){let t={};"ok"===e.status&&(t={status:"exited"}),Tr(e,t)}(t),Ho(),e.setSession()}function Ho(){const e=Hr(),t=Ur(),n=e.getSession();n&&t&&t.captureSession(n)}function Uo(e=!1){e?Vo():Ho()}const qo=[];function Go(e,t){for(const n of t)n?.afterAllSetup&&n.afterAllSetup(e)}function Yo(e,t,n){if(n[t.name])gn&&Pn(`Integration skipped because it was already installed: ${t.name}`);else{if(n[t.name]=t,-1===qo.indexOf(t.name)&&"function"==typeof t.setupOnce&&(t.setupOnce(),qo.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),"function"==typeof t.preprocessEvent){const n=t.preprocessEvent.bind(t);e.on("preprocessEvent",(t,r)=>n(t,r,e))}if("function"==typeof t.processEvent){const n=t.processEvent.bind(t),r=Object.assign((t,r)=>n(t,r,e),{id:t.name});e.addEventProcessor(r)}gn&&Pn(`Integration installed: ${t.name}`)}}function Xo(e){const t=[];e.message&&t.push(e.message);try{const n=e.exception.values[e.exception.values.length-1];n?.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`))}catch{}return t}const Ko="Not capturing exception because it's already been captured.",Qo="Discarded session because of missing or non-string release",Jo=Symbol.for("SentryInternalError"),Zo=Symbol.for("SentryDoNotSendEventError");function ea(e){return{message:e,[Jo]:!0}}function ta(e){return{message:e,[Zo]:!0}}function na(e){return!!e&&"object"==typeof e&&Jo in e}function ra(e){return!!e&&"object"==typeof e&&Zo in e}class oa{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=function(e){const t="string"==typeof e?function(e){const t=Zr.exec(e);if(!t)return void wn(()=>{});const[n,r,o="",a="",i="",l=""]=t.slice(1);let s="",c=l;const u=c.split("/");if(u.length>1&&(s=u.slice(0,-1).join("/"),c=u.pop()),c){const e=c.match(/^\d+/);e&&(c=e[0])}return to({host:a,pass:o,path:s,projectId:c,port:i,protocol:n,publicKey:r})}(e):to(e);if(t&&function(e){if(!gn)return!0;const{port:t,projectId:n,protocol:r}=e;return!(["protocol","publicKey","host","projectId"].find(t=>!e[t]&&(Tn(`Invalid Sentry Dsn: ${t} missing`),!0))||(n.match(/^\d+$/)?function(e){return"http"===e||"https"===e}(r)?t&&isNaN(parseInt(t,10))&&(Tn(`Invalid Sentry Dsn: Invalid port ${t}`),1):(Tn(`Invalid Sentry Dsn: Invalid protocol ${r}`),1):(Tn(`Invalid Sentry Dsn: Invalid projectId ${n}`),1)))}(t))return t}(e.dsn):gn&&zn("No DSN provided, client will not send events."),this._dsn){const o=(t=this._dsn,n=e.tunnel,r=e._metadata?e._metadata.sdk:void 0,n||`${function(e){return`${function(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}(e)}${e.projectId}/envelope/`}(t)}?${function(e,t){const n={sentry_version:"7"};return e.publicKey&&(n.sentry_key=e.publicKey),t&&(n.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(n).toString()}(t,r)}`);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:o})}var t,n,r}captureException(e,t,n){const r=xr();if(Cr(e))return gn&&Pn(Ko),r;const o={event_id:r,...t};return this._process(this.eventFromException(e,o).then(e=>this._captureEvent(e,o,n))),o.event_id}captureMessage(e,t,n,r){const o={event_id:xr(),...n},a=Jn(e)?e:String(e),i=Zn(e)?this.eventFromMessage(a,t,o):this.eventFromException(e,o);return this._process(i.then(e=>this._captureEvent(e,o,r))),o.event_id}captureEvent(e,t,n){const r=xr();if(t?.originalException&&Cr(t.originalException))return gn&&Pn(Ko),r;const o={event_id:r,...t},a=e.sdkProcessingMetadata||{},i=a.capturedSpanScope,l=a.capturedSpanIsolationScope;return this._process(this._captureEvent(e,o,i||n,l)),o.event_id}captureSession(e){this.sendSession(e),Tr(e,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){const t=this._transport;return t?(this.emit("flush"),this._isClientDoneProcessing(e).then(n=>t.flush(e).then(e=>n&&e))):Io(!0)}close(e){return this.flush(e).then(e=>(this.getOptions().enabled=!1,this.emit("close"),e))}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(({name:e})=>e.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}addIntegration(e){const t=this._integrations[e.name];Yo(this,e,this._integrations),t||Go(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let n=function(e,t,n,r){const o=Po(n),a=e.type&&"replay_event"!==e.type?e.type:"event";!function(e,t){if(!t)return e;const n=e.sdk||{};e.sdk={...n,name:n.name||t.name,version:n.version||t.version,integrations:[...e.sdk?.integrations||[],...t.integrations||[]],packages:[...e.sdk?.packages||[],...t.packages||[]],settings:e.sdk?.settings||t.settings?{...e.sdk?.settings,...t.settings}:void 0}}(e,n?.sdk);const i=function(e,t,n,r){const o=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:(new Date).toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:eo(r)},...o&&{trace:o}}}(e,o,r,t);return delete e.sdkProcessingMetadata,yo(i,[[{type:a},e]])}(e,this._dsn,this._options._metadata,this._options.tunnel);for(const o of t.attachments||[])n=xo(n,_o(o));const r=this.sendEnvelope(n);r&&r.then(t=>this.emit("afterSendEvent",e,t),null)}sendSession(e){const{release:t,environment:n=po}=this._options;if("aggregates"in e){const r=e.attrs||{};if(!r.release&&!t)return void(gn&&zn(Qo));r.release=r.release||t,r.environment=r.environment||n,e.attrs=r}else{if(!e.release&&!t)return void(gn&&zn(Qo));e.release=e.release||t,e.environment=e.environment||n}this.emit("beforeSendSession",e);const r=function(e,t,n,r){const o=Po(n);return yo({sent_at:(new Date).toISOString(),...o&&{sdk:o},...!!r&&t&&{dsn:eo(t)}},["aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()]])}(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(r)}recordDroppedEvent(e,t,n=1){if(this._options.sendClientReports){const r=`${e}:${t}`;gn&&Pn(`Recording outcome: "${r}"${n>1?` (${n} times)`:""}`),this._outcomes[r]=(this._outcomes[r]||0)+n}}on(e,t){const n=this._hooks[e]=this._hooks[e]||[];return n.push(t),()=>{const e=n.indexOf(t);e>-1&&n.splice(e,1)}}emit(e,...t){const n=this._hooks[e];n&&n.forEach(e=>e(...t))}sendEnvelope(e){return this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport?this._transport.send(e).then(null,e=>(gn&&Tn("Error while sending envelope:",e),e)):(gn&&Tn("Transport disabled"),Io({}))}_setupIntegrations(){const{integrations:e}=this._options;this._integrations=function(e,t){const n={};return t.forEach(t=>{t&&Yo(e,t,n)}),n}(this,e),Go(this,e)}_updateSessionFromEvent(e,t){let n="fatal"===t.level,r=!1;const o=t.exception?.values;if(o){r=!0;for(const e of o){const t=e.mechanism;if(!1===t?.handled){n=!0;break}}}const a="ok"===e.status;(a&&0===e.errors||a&&n)&&(Tr(e,{...n&&{status:"crashed"},errors:e.errors||Number(r||n)}),this.captureSession(e))}_isClientDoneProcessing(e){return new Ao(t=>{let n=0;const r=setInterval(()=>{0==this._numProcessing?(clearInterval(r),t(!0)):(n+=1,e&&n>=e&&(clearInterval(r),t(!1)))},1)})}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n,r){const o=this.getOptions(),a=Object.keys(this._integrations);return!t.integrations&&a?.length&&(t.integrations=a),this.emit("preprocessEvent",e,t),e.type||r.setLastEventId(e.event_id||t.event_id),Wo(o,e,t,n,this,r).then(e=>{if(null===e)return e;this.emit("postprocessEvent",e,t),e.contexts={trace:qr(n),...e.contexts};const r=function(e,t){const n=t.getPropagationContext();return n.dsc||ho(n.traceId,e)}(this,n);return e.sdkProcessingMetadata={dynamicSamplingContext:r,...e.sdkProcessingMetadata},e})}_captureEvent(e,t={},n=Vr(),r=Hr()){return gn&&aa(e)&&Pn(`Captured error event \`${Xo(e)[0]||"<unknown>"}\``),this._processEvent(e,t,n,r).then(e=>e.event_id,e=>{gn&&(ra(e)?Pn(e.message):na(e)?zn(e.message):zn(e))})}_processEvent(e,t,n,r){const o=this.getOptions(),{sampleRate:a}=o,i=ia(e),l=aa(e),s=e.type||"error",c=`before send for type \`${s}\``,u=void 0===a?void 0:function(e){if("boolean"==typeof e)return Number(e);const t="string"==typeof e?parseFloat(e):e;return"number"!=typeof t||isNaN(t)||t<0||t>1?void 0:t}(a);if(l&&"number"==typeof u&&Math.random()>u)return this.recordDroppedEvent("sample_rate","error"),Oo(ta(`Discarding event because it's not included in the random sample (sampling rate = ${a})`));const d="replay_event"===s?"replay":s;return this._prepareEvent(e,t,n,r).then(e=>{if(null===e)throw this.recordDroppedEvent("event_processor",d),ta("An event processor returned `null`, will not send event.");if(t.data&&!0===t.data.__sentry__)return e;const n=function(e,t,n,r){const{beforeSend:o,beforeSendTransaction:a,beforeSendSpan:i,ignoreSpans:l}=t;let s=n;if(aa(s)&&o)return o(s,r);if(ia(s)){if(i||l){const t=function(e){const{trace_id:t,parent_span_id:n,span_id:r,status:o,origin:a,data:i,op:l}=e.contexts?.trace??{};return{data:i??{},description:e.transaction,op:l,parent_span_id:n,span_id:r??"",start_timestamp:e.start_timestamp??0,status:o,timestamp:e.timestamp,trace_id:t??"",origin:a,profile_id:i?.[Gr],exclusive_time:i?.[Yr],measurements:e.measurements,is_segment:!0}}(s);if(l?.length&&zo(t,l))return null;if(i){const e=i(t);e?s=Rr(n,{type:"transaction",timestamp:(c=e).timestamp,start_timestamp:c.start_timestamp,transaction:c.description,contexts:{trace:{trace_id:c.trace_id,span_id:c.span_id,parent_span_id:c.parent_span_id,op:c.op,status:c.status,origin:c.origin,data:{...c.data,...c.profile_id&&{[Gr]:c.profile_id},...c.exclusive_time&&{[Yr]:c.exclusive_time}}}},measurements:c.measurements}):fo()}if(s.spans){const t=[],n=s.spans;for(const e of n)if(l?.length&&zo(e,l))To(n,e);else if(i){const n=i(e);n?t.push(n):(fo(),t.push(e))}else t.push(e);const r=s.spans.length-t.length;r&&e.recordDroppedEvent("before_send","span",r),s.spans=t}}if(a){if(s.spans){const e=s.spans.length;s.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return a(s,r)}}var c;return s}(this,o,e,t);return function(e,t){const n=`${t} must return \`null\` or a valid event.`;if(nr(e))return e.then(e=>{if(!er(e)&&null!==e)throw ea(n);return e},e=>{throw ea(`${t} rejected with ${e}`)});if(!er(e)&&null!==e)throw ea(n);return e}(n,c)}).then(o=>{if(null===o){if(this.recordDroppedEvent("before_send",d),i){const t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw ta(`${c} returned \`null\`, will not send event.`)}const a=n.getSession()||r.getSession();if(l&&a&&this._updateSessionFromEvent(a,o),i){const e=(o.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(o.spans?o.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}const s=o.transaction_info;if(i&&s&&o.transaction!==e.transaction){const e="custom";o.transaction_info={...s,source:e}}return this.sendEvent(o,t),o}).then(null,e=>{if(ra(e)||na(e))throw e;throw this.captureException(e,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:e}),ea(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${e}`)})}_process(e){this._numProcessing++,e.then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e))}_clearOutcomes(){const e=this._outcomes;return this._outcomes={},Object.entries(e).map(([e,t])=>{const[n,r]=e.split(":");return{reason:n,category:r,quantity:t}})}_flushOutcomes(){gn&&Pn("Flushing outcomes...");const e=this._clearOutcomes();if(0===e.length)return void(gn&&Pn("No outcomes to send"));if(!this._dsn)return void(gn&&Pn("No dsn provided, will not send outcomes"));gn&&Pn("Sending outcomes:",e);const t=(n=e,yo((r=this._options.tunnel&&eo(this._dsn))?{dsn:r}:{},[[{type:"client_report"},{timestamp:Er(),discarded_events:n}]]));var n,r;this.sendEnvelope(t)}}function aa(e){return void 0===e.type}function ia(e){return"transaction"===e.type}function la(e,t){const n=function(e){return sa().get(e)}(e)??[];if(0===n.length)return;const r=e.getOptions(),o=function(e,t,n,r){const o={};return t?.sdk&&(o.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(o.dsn=eo(r)),yo(o,[(a=e,[{type:"log",item_count:a.length,content_type:"application/vnd.sentry.items.log+json"},{items:a}])]);var a}(n,r._metadata,r.tunnel,e.getDsn());sa().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(o)}function sa(){return xn("clientToLogBufferMap",()=>new WeakMap)}const ca=Symbol.for("SentryBufferFullError");function ua(e,t,n=function(e){const t=[];function n(e){return t.splice(t.indexOf(e),1)[0]||Promise.resolve(void 0)}return{$:t,add:function(r){if(!(void 0===e||t.length<e))return Oo(ca);const o=r();return-1===t.indexOf(o)&&t.push(o),o.then(()=>n(o)).then(null,()=>n(o).then(null,()=>{})),o},drain:function(e){return new Ao((n,r)=>{let o=t.length;if(!o)return n(!0);const a=setTimeout(()=>{e&&e>0&&n(!1)},e);t.forEach(e=>{Io(e).then(()=>{--o||(clearTimeout(a),n(!0))},r)})})}}}(e.bufferSize||64)){let r={};return{send:function(o){const a=[];if(ko(o,(t,n)=>{const o=Eo(n);!function(e,t,n=Date.now()){return function(e,t){return e[t]||e.all||0}(e,t)>n}(r,o)?a.push(t):e.recordDroppedEvent("ratelimit_backoff",o)}),0===a.length)return Io({});const i=yo(o[0],a),l=t=>{ko(i,(n,r)=>{e.recordDroppedEvent(t,Eo(r))})};return n.add(()=>t({body:wo(i)}).then(e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&gn&&zn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=function(e,{statusCode:t,headers:n},r=Date.now()){const o={...e},a=n?.["x-sentry-rate-limits"],i=n?.["retry-after"];if(a)for(const l of a.trim().split(",")){const[e,t,,,n]=l.split(":",5),a=parseInt(e,10),i=1e3*(isNaN(a)?60:a);if(t)for(const l of t.split(";"))"metric_bucket"===l&&n&&!n.split(";").includes("custom")||(o[l]=r+i);else o.all=r+i}else i?o.all=r+function(e,t=Date.now()){const n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;const r=Date.parse(`${e}`);return isNaN(r)?6e4:r-t}(i,r):429===t&&(o.all=r+6e4);return o}(r,e),e),e=>{throw l("network_error"),gn&&Tn("Encountered error running transport request:",e),e})).then(e=>e,e=>{if(e===ca)return gn&&Tn("Skipped sending event because buffer is full."),l("queue_overflow"),Io({});throw e})},flush:e=>n.drain(e)}}function da(e){"aggregates"in e?void 0===e.attrs?.ip_address&&(e.attrs={...e.attrs,ip_address:"{{auto}}"}):void 0===e.ipAddress&&(e.ipAddress="{{auto}}")}const fa=100;function pa(e,t){const n=Ur(),r=Hr();if(!n)return;const{beforeBreadcrumb:o=null,maxBreadcrumbs:a=fa}=n.getOptions();if(a<=0)return;const i={timestamp:Er(),...e},l=o?wn(()=>o(i,t)):i;null!==l&&(n.emit&&n.emit("beforeAddBreadcrumb",l,t),r.addBreadcrumb(l,a))}let ha;const ga=new WeakMap,ma=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,'can\'t redefine non-configurable property "solana"',"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/,/^Java exception was raised during method invocation$/],ba=(e={})=>{let t;return{name:"EventFilters",setup(n){const r=n.getOptions();t=va(e,r)},processEvent(n,r,o){if(!t){const n=o.getOptions();t=va(e,n)}return function(e,t){if(e.type){if("transaction"===e.type&&function(e,t){if(!t?.length)return!1;const n=e.transaction;return!!n&&fr(n,t)}(e,t.ignoreTransactions))return gn&&zn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${Sr(e)}`),!0}else{if(function(e,t){return!!t?.length&&Xo(e).some(e=>fr(e,t))}(e,t.ignoreErrors))return gn&&zn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${Sr(e)}`),!0;if(function(e){return!!e.exception?.values?.length&&(!e.message&&!e.exception.values.some(e=>e.stacktrace||e.type&&"Error"!==e.type||e.value))}(e))return gn&&zn(`Event dropped due to not having an error message, error type or stacktrace.\nEvent: ${Sr(e)}`),!0;if(function(e,t){if(!t?.length)return!1;const n=ya(e);return!!n&&fr(n,t)}(e,t.denyUrls))return gn&&zn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${Sr(e)}.\nUrl: ${ya(e)}`),!0;if(!function(e,t){if(!t?.length)return!0;const n=ya(e);return!n||fr(n,t)}(e,t.allowUrls))return gn&&zn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${Sr(e)}.\nUrl: ${ya(e)}`),!0}return!1}(n,t)?null:n}}};function va(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:ma],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function ya(e){try{const t=[...e.exception?.values??[]].reverse().find(e=>void 0===e.mechanism?.parent_id&&e.stacktrace?.frames?.length),n=t?.stacktrace?.frames;return n?function(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(n):null}catch{return gn&&Tn(`Cannot extract url for event ${Sr(e)}`),null}}function xa(e,t,n,r,o,a){if(!o.exception?.values||!a||!rr(a.originalException,Error))return;const i=o.exception.values.length>0?o.exception.values[o.exception.values.length-1]:void 0;i&&(o.exception.values=ka(e,t,r,a.originalException,n,o.exception.values,i,0))}function ka(e,t,n,r,o,a,i,l){if(a.length>=n+1)return a;let s=[...a];if(rr(r[o],Error)){Sa(i,l);const a=e(t,r[o]),c=s.length;wa(a,o,c,l),s=ka(e,t,n,r[o],o,[a,...s],a,c)}return Array.isArray(r.errors)&&r.errors.forEach((r,a)=>{if(rr(r,Error)){Sa(i,l);const c=e(t,r),u=s.length;wa(c,`errors[${a}]`,u,l),s=ka(e,t,n,r,o,[c,...s],c,u)}}),s}function Sa(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,..."AggregateError"===e.type&&{is_exception_group:!0},exception_id:t}}function wa(e,t,n,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}function _a(){"console"in mn&&kn.forEach(function(e){e in mn.console&&pr(mn.console,e,function(t){return Sn[e]=t,function(...t){Bn("console",{args:t,level:e});const n=Sn[e];n?.apply(mn.console,t)}})})}function Ca(e,t){let n=Fn(e),r=Fn(t);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(let o=0;o<r.length;o++){const e=r[o],t=n[o];if(e.filename!==t.filename||e.lineno!==t.lineno||e.colno!==t.colno||e.function!==t.function)return!1}return!0}function Ea(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return!(n.join("")!==r.join(""))}catch{return!1}}function Pa(e){return e.exception?.values?.[0]}function za(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}function Ta(e){return void 0===e?void 0:e>=400&&e<500?"warning":e>=500?"error":void 0}const Ra=mn;function Ia(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function Oa(e,t){const n="fetch";Ln(n,e),Wn(n,()=>function(e,t=!1){t&&!function(){if("string"==typeof EdgeRuntime)return!0;if(!function(){if(!("fetch"in Ra))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch{return!1}}())return!1;if(Ia(Ra.fetch))return!0;let e=!1;const t=Ra.document;if(t&&"function"==typeof t.createElement)try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow?.fetch&&(e=Ia(n.contentWindow.fetch)),t.head.removeChild(n)}catch(n){gn&&zn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return e}()||pr(mn,"fetch",function(e){return function(...t){const n=new Error,{method:r,url:o}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){const[t,n]=e;return{url:Da(t),method:Aa(n,"method")?String(n.method).toUpperCase():"GET"}}const t=e[0];return{url:Da(t),method:Aa(t,"method")?String(t.method).toUpperCase():"GET"}}(t),a={args:t,fetchData:{method:r,url:o},startTimestamp:1e3*zr(),virtualError:n,headers:Na(t)};return Bn("fetch",{...a}),e.apply(mn,t).then(async e=>(Bn("fetch",{...a,endTimestamp:1e3*zr(),response:e}),e),e=>{if(Bn("fetch",{...a,endTimestamp:1e3*zr(),error:e}),Gn(e)&&void 0===e.stack&&(e.stack=n.stack,hr(e,"framesToPop",1)),e instanceof TypeError&&("Failed to fetch"===e.message||"Load failed"===e.message||"NetworkError when attempting to fetch resource."===e.message))try{const t=new URL(a.fetchData.url);e.message=`${e.message} (${t.host})`}catch{}throw e})}})}(0,t))}function Aa(e,t){return!!e&&"object"==typeof e&&!!e[t]}function Da(e){return"string"==typeof e?e:e?Aa(e,"url")?e.url:e.toString?e.toString():"":""}function Na(e){const[t,n]=e;try{if("object"==typeof n&&null!==n&&"headers"in n&&n.headers)return new Headers(n.headers);if("undefined"!=typeof Request&&rr(t,Request))return new Headers(t.headers)}catch{}}const Fa=mn;let ja=0;function Ma(){return ja>0}function La(e,t={}){if("function"!=typeof e)return e;try{const t=e.__sentry_wrapped__;if(t)return"function"==typeof t?t:e;if(mr(e))return e}catch{return e}const n=function(...n){try{const r=n.map(e=>La(e,t));return e.apply(this,r)}catch(r){throw ja++,setTimeout(()=>{ja--}),function(...e){const t=$r(vn());if(2===e.length){const[n,r]=e;return n?t.withSetScope(n,r):t.withScope(r)}t.withScope(e[0])}(e=>{var o;e.addEventProcessor(e=>(t.mechanism&&(wr(e,void 0),_r(e,t.mechanism)),e.extra={...e.extra,arguments:n},e)),o=r,Vr().captureException(o,void 0)}),r}};try{for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t])}catch{}gr(n,e),hr(e,"__sentry_wrapped__",n);try{Object.getOwnPropertyDescriptor(n,"name").configurable&&Object.defineProperty(n,"name",{get:()=>e.name})}catch{}return n}function Wa(e,t){const n=$a(e,t),r={type:Ua(t),value:qa(t)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function Ba(e,t){return{exception:{values:[Wa(e,t)]}}}function $a(e,t){const n=t.stacktrace||t.stack||"",r=function(e){return e&&Va.test(e.message)?1:0}(t),o=function(e){return"number"==typeof e.framesToPop?e.framesToPop:0}(t);try{return e(n,r,o)}catch{}return[]}const Va=/Minified React error #\d+;/i;function Ha(e){return"undefined"!=typeof WebAssembly&&void 0!==WebAssembly.Exception&&e instanceof WebAssembly.Exception}function Ua(e){const t=e?.name;return!t&&Ha(e)?e.message&&Array.isArray(e.message)&&2==e.message.length?e.message[0]:"WebAssembly.Exception":t}function qa(e){const t=e?.message;return Ha(e)?Array.isArray(e.message)&&2==e.message.length?e.message[1]:"wasm exception":t?t.error&&"string"==typeof t.error.message?t.error.message:t:"No error message"}function Ga(e,t,n,r,o){let a;if(Xn(t)&&t.error)return Ba(e,t.error);if(Kn(t)||Yn(t,"DOMException")){const o=t;if("stack"in t)a=Ba(e,t);else{const t=o.name||(Kn(o)?"DOMError":"DOMException"),i=o.message?`${t}: ${o.message}`:t;a=Ya(e,i,n,r),wr(a,i)}return"code"in o&&(a.tags={...a.tags,"DOMException.code":`${o.code}`}),a}return Gn(t)?Ba(e,t):er(t)||tr(t)?(a=function(e,t,n,r){const o=Ur(),a=o?.getOptions().normalizeDepth,i=function(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const n=e[t];if(n instanceof Error)return n}}(t),l={__serialized__:bo(t,a)};if(i)return{exception:{values:[Wa(e,i)]},extra:l};const s={exception:{values:[{type:tr(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:Xa(t,{isUnhandledRejection:r})}]},extra:l};if(n){const t=$a(e,n);t.length&&(s.exception.values[0].stacktrace={frames:t})}return s}(e,t,n,o),_r(a,{synthetic:!0}),a):(a=Ya(e,t,n,r),wr(a,`${t}`),_r(a,{synthetic:!0}),a)}function Ya(e,t,n,r){const o={};if(r&&n){const r=$a(e,n);r.length&&(o.exception={values:[{value:t,stacktrace:{frames:r}}]}),_r(o,{synthetic:!0})}if(Jn(t)){const{__sentry_template_string__:e,__sentry_template_values__:n}=t;return o.logentry={message:e,params:n},o}return o.message=t,o}function Xa(e,{isUnhandledRejection:t}){const n=function(e,t=40){const n=Object.keys(br(e));n.sort();const r=n[0];if(!r)return"[object has no keys]";if(r.length>=t)return cr(r,t);for(let o=n.length;o>0;o--){const e=n.slice(0,o).join(", ");if(!(e.length>t))return o===n.length?e:cr(e,t)}return""}(e),r=t?"promise rejection":"exception";return Xn(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:tr(e)?`Event \`${function(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}const Ka="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,Qa=mn;let Ja,Za,ei,ti;function ni(){if(!Qa.document)return;const e=Bn.bind(null,"dom"),t=ri(e,!0);Qa.document.addEventListener("click",t,!1),Qa.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(t=>{const n=Qa,r=n[t]?.prototype;r?.hasOwnProperty?.("addEventListener")&&(pr(r,"addEventListener",function(t){return function(n,r,o){if("click"===n||"keypress"==n)try{const r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},a=r[n]=r[n]||{refCount:0};if(!a.handler){const r=ri(e);a.handler=r,t.call(this,n,r,o)}a.refCount++}catch{}return t.call(this,n,r,o)}}),pr(r,"removeEventListener",function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{const n=this.__sentry_instrumentation_handlers__||{},o=n[t];o&&(o.refCount--,o.refCount<=0&&(e.call(this,t,o.handler,r),o.handler=void 0,delete n[t]),0===Object.keys(n).length&&delete this.__sentry_instrumentation_handlers__)}catch{}return e.call(this,t,n,r)}}))})}function ri(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const r=function(e){try{return e.target}catch{return null}}(n);if(function(e,t){return"keypress"===e&&(!t?.tagName||"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName&&!t.isContentEditable)}(n.type,r))return;hr(n,"_sentryCaptured",!0),r&&!r._sentryId&&hr(r,"_sentryId",xr());const o="keypress"===n.type?"input":n.type;(function(e){if(e.type!==Za)return!1;try{if(!e.target||e.target._sentryId!==ei)return!1}catch{}return!0})(n)||(e({event:n,name:o,global:t}),Za=n.type,ei=r?r._sentryId:void 0),clearTimeout(Ja),Ja=Qa.setTimeout(()=>{ei=void 0,Za=void 0},1e3)}}function oi(e){const t="history";Ln(t,e),Wn(t,ai)}function ai(){function e(e){return function(...t){const n=t.length>2?t[2]:void 0;if(n){const r=ti,o=function(e){try{return new URL(e,Qa.location.origin).toString()}catch{return e}}(String(n));if(ti=o,r===o)return e.apply(this,t);Bn("history",{from:r,to:o})}return e.apply(this,t)}}Qa.addEventListener("popstate",()=>{const e=Qa.location.href,t=ti;ti=e,t!==e&&Bn("history",{from:t,to:e})}),"history"in Ra&&Ra.history&&(pr(Qa.history,"pushState",e),pr(Qa.history,"replaceState",e))}const ii={};function li(e){ii[e]=void 0}const si="__sentry_xhr_v3__";function ci(){if(!Qa.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,n){const r=new Error,o=1e3*zr(),a=Qn(n[0])?n[0].toUpperCase():void 0,i=function(e){if(Qn(e))return e;try{return e.toString()}catch{}}(n[1]);if(!a||!i)return e.apply(t,n);t[si]={method:a,url:i,request_headers:{}},"POST"===a&&i.match(/sentry_key/)&&(t.__sentry_own_request__=!0);const l=()=>{const e=t[si];if(e&&4===t.readyState){try{e.status_code=t.status}catch{}Bn("xhr",{endTimestamp:1e3*zr(),startTimestamp:o,xhr:t,virtualError:r})}};return"onreadystatechange"in t&&"function"==typeof t.onreadystatechange?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply:(e,t,n)=>(l(),e.apply(t,n))}):t.addEventListener("readystatechange",l),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,n){const[r,o]=n,a=t[si];return a&&Qn(r)&&Qn(o)&&(a.request_headers[r.toLowerCase()]=o),e.apply(t,n)}}),e.apply(t,n)}}),e.send=new Proxy(e.send,{apply(e,t,n){const r=t[si];return r?(void 0!==n[0]&&(r.body=n[0]),Bn("xhr",{startTimestamp:1e3*zr(),xhr:t}),e.apply(t,n)):e.apply(t,n)}})}function ui(e,t,n,r){const o={filename:e,function:"<anonymous>"===t?Rn:t,in_app:!0};return void 0!==n&&(o.lineno=n),void 0!==r&&(o.colno=r),o}const di=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,fi=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,pi=/\((\S*)(?::(\d+))(?::(\d+))\)/,hi=/at (.+?) ?\(data:(.+?),/,gi=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,mi=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,bi=function(...e){const t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,n=0,r=0)=>{const o=[],a=e.split("\n");for(let i=n;i<a.length;i++){let e=a[i];e.length>1024&&(e=e.slice(0,1024));const n=In.test(e)?e.replace(In,"$1"):e;if(!n.match(/\S*Error: /)){for(const e of t){const t=e(n);if(t){o.push(t);break}}if(o.length>=50+r)break}}return function(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(An(t).function||"")&&t.pop(),t.reverse(),On.test(An(t).function||"")&&(t.pop(),On.test(An(t).function||"")&&t.pop()),t.slice(0,50).map(e=>({...e,filename:e.filename||An(t).filename,function:e.function||Rn}))}(o.slice(r))}}([30,e=>{const t=e.match(hi);if(t)return{filename:`<data:${t[2]}>`,function:t[1]};const n=di.exec(e);if(n){const[,e,t,r]=n;return ui(e,Rn,+t,+r)}const r=fi.exec(e);if(r){if(r[2]&&0===r[2].indexOf("eval")){const e=pi.exec(r[2]);e&&(r[2]=e[1],r[3]=e[2],r[4]=e[3])}const[e,t]=vi(r[1]||Rn,r[2]);return ui(t,e,r[3]?+r[3]:void 0,r[4]?+r[4]:void 0)}}],[50,e=>{const t=gi.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const e=mi.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],n=t[1]||Rn;return[n,e]=vi(n,e),ui(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}]),vi=(e,t)=>{const n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:Rn,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},yi="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,xi=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"];function ki(e){return function(...t){const n=t[0];return t[0]=La(n,{mechanism:{data:{function:Nn(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function Si(e){return function(t){return e.apply(this,[La(t,{mechanism:{data:{function:"requestAnimationFrame",handler:Nn(e)},handled:!1,type:"instrument"}})])}}function wi(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in n&&"function"==typeof n[e]&&pr(n,e,function(t){const n={mechanism:{data:{function:e,handler:Nn(t)},handled:!1,type:"instrument"}},r=mr(t);return r&&(n.mechanism.data.handler=Nn(r)),La(t,n)})}),e.apply(this,t)}}function _i(e){yi&&Pn(`Global Handler attached: ${e}`)}function Ci(){const e=Ur();return e?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const Ei=[((e={})=>({...ba(e),name:"InboundFilters"}))(),{name:"FunctionToString",setupOnce(){ha=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=mr(this),n=ga.has(Ur())&&void 0!==t?t:this;return ha.apply(n,e)}}catch{}},setup(e){ga.set(e,!0)}},((e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&pr(Fa,"setTimeout",ki),t.setInterval&&pr(Fa,"setInterval",ki),t.requestAnimationFrame&&pr(Fa,"requestAnimationFrame",Si),t.XMLHttpRequest&&"XMLHttpRequest"in Fa&&pr(XMLHttpRequest.prototype,"send",wi);const e=t.eventTarget;e&&(Array.isArray(e)?e:xi).forEach(e=>function(e,t){const n=Fa,r=n[e]?.prototype;r?.hasOwnProperty?.("addEventListener")&&(pr(r,"addEventListener",function(n){return function(r,o,a){try{"function"==typeof o.handleEvent&&(o.handleEvent=La(o.handleEvent,{mechanism:{data:{function:"handleEvent",handler:Nn(o),target:e},handled:!1,type:"instrument"}}))}catch{}return t.unregisterOriginalCallbacks&&function(e,t,n){e&&"object"==typeof e&&"removeEventListener"in e&&"function"==typeof e.removeEventListener&&e.removeEventListener(t,n)}(this,r,o),n.apply(this,[r,La(o,{mechanism:{data:{function:"addEventListener",handler:Nn(o),target:e},handled:!1,type:"instrument"}}),a])}}),pr(r,"removeEventListener",function(e){return function(t,n,r){try{const o=n.__sentry_wrapped__;o&&e.call(this,t,o,r)}catch{}return e.call(this,t,n,r)}}))}(e,t))}}})(),((e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){var n;t.console&&function(e){const t="console";Ln(t,e),Wn(t,_a)}(function(e){return function(t){if(Ur()!==e)return;const n={category:"console",data:{arguments:t.args,logger:"console"},level:(r=t.level,"warn"===r?"warning":["fatal","error","warning","log","info","debug"].includes(r)?r:"log"),message:ur(t.args," ")};var r;if("assert"===t.level){if(!1!==t.args[0])return;n.message=`Assertion failed: ${ur(t.args.slice(1)," ")||"console.assert"}`,n.data.arguments=t.args.slice(1)}pa(n,{input:t.args,level:t.level})}}(e)),t.dom&&(n=function(e,t){return function(n){if(Ur()!==e)return;let r,o,a="object"==typeof t?t.serializeAttribute:void 0,i="object"==typeof t&&"number"==typeof t.maxStringLength?t.maxStringLength:void 0;i&&i>1024&&(yi&&zn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${i} was configured. Sentry will use 1024 instead.`),i=1024),"string"==typeof a&&(a=[a]);try{const e=n.event,t=function(e){return!!e&&!!e.target}(e)?e.target:e;r=ir(t,{keyAttrs:a,maxStringLength:i}),o=function(e){if(!ar.HTMLElement)return null;let t=e;for(let n=0;n<5;n++){if(!t)return null;if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}(t)}catch{r="<unknown>"}if(0===r.length)return;const l={category:`ui.${n.name}`,message:r};o&&(l.data={"ui.component_name":o}),pa(l,{event:n.event,name:n.name,global:n.global})}}(e,t.dom),Ln("dom",n),Wn("dom",ni)),t.xhr&&function(e){Ln("xhr",e),Wn("xhr",ci)}(function(e){return function(t){if(Ur()!==e)return;const{startTimestamp:n,endTimestamp:r}=t,o=t.xhr[si];if(!n||!r||!o)return;const{method:a,url:i,status_code:l,body:s}=o,c={method:a,url:i,status_code:l},u={xhr:t.xhr,input:s,startTimestamp:n,endTimestamp:r},d={category:"xhr",data:c,type:"http",level:Ta(l)};e.emit("beforeOutgoingRequestBreadcrumb",d,u),pa(d,u)}}(e)),t.fetch&&Oa(function(e){return function(t){if(Ur()!==e)return;const{startTimestamp:n,endTimestamp:r}=t;if(r&&(!t.fetchData.url.match(/sentry_key/)||"POST"!==t.fetchData.method))if(t.error){const o=t.fetchData,a={data:t.error,input:t.args,startTimestamp:n,endTimestamp:r},i={category:"fetch",data:o,level:"error",type:"http"};e.emit("beforeOutgoingRequestBreadcrumb",i,a),pa(i,a)}else{const o=t.response,a={...t.fetchData,status_code:o?.status},i={input:t.args,response:o,startTimestamp:n,endTimestamp:r},l={category:"fetch",data:a,type:"http",level:Ta(a.status_code)};e.emit("beforeOutgoingRequestBreadcrumb",l,i),pa(l,i)}}}(e)),t.history&&oi(function(e){return function(t){if(Ur()!==e)return;let n=t.from,r=t.to;const o=za(Fa.location.href);let a=n?za(n):void 0;const i=za(r);a?.path||(a=o),o.protocol===i.protocol&&o.host===i.host&&(r=i.relative),o.protocol===a.protocol&&o.host===a.host&&(n=a.relative),pa({category:"navigation",data:{from:n,to:r}})}}(e)),t.sentry&&e.on("beforeSendEvent",function(e){return function(t){Ur()===e&&pa({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:Sr(t)},{event:t})}}(e))}}})(),((e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(function(e){!function(){const t="error";Ln(t,t=>{const{stackParser:n,attachStacktrace:r}=Ci();if(Ur()!==e||Ma())return;const{msg:o,url:a,line:i,column:l,error:s}=t,c=function(e,t,n,r){const o=e.exception=e.exception||{},a=o.values=o.values||[],i=a[0]=a[0]||{},l=i.stacktrace=i.stacktrace||{},s=l.frames=l.frames||[],c=r,u=n,d=function(e){if(Qn(e)&&0!==e.length){if(e.startsWith("data:")){const t=e.match(/^data:([^;]+)/);return`<data:${t?t[1]:"text/javascript"}${e.includes("base64,")?",base64":""}>`}return e.slice(0,1024)}}(t)??sr();return 0===s.length&&s.push({colno:c,filename:d,function:Rn,in_app:!0,lineno:u}),e}(Ga(n,s||o,void 0,r,!1),a,i,l);c.level="error",Bo(c,{originalException:s,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})}),Wn(t,Vn)}()}(e),_i("onerror")),t.onunhandledrejection&&(function(e){!function(){const t="unhandledrejection";Ln(t,t=>{const{stackParser:n,attachStacktrace:r}=Ci();if(Ur()!==e||Ma())return;const o=function(e){if(Zn(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return e}(t),a=Zn(o)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(o)}`}]}}:Ga(n,o,void 0,r,!0);a.level="error",Bo(a,{originalException:o,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})}),Wn(t,Un)}()}(e),_i("onunhandledrejection"))}}})(),((e={})=>{const t=e.limit||5,n=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,r,o){xa(Wa,o.getOptions().stackParser,n,t,e,r)}}})(),(()=>{let e;return{name:"Dedupe",processEvent(t){if(t.type)return t;try{if(function(e,t){return!!t&&(!!function(e,t){const n=e.message,r=t.message;return!(!n&&!r)&&(!(n&&!r||!n&&r)&&(n===r&&(!!Ea(e,t)&&!!Ca(e,t))))}(e,t)||!!function(e,t){const n=Pa(t),r=Pa(e);return!(!n||!r)&&(n.type===r.type&&n.value===r.value&&(!!Ea(e,t)&&!!Ca(e,t)))}(e,t))}(t,e))return gn&&zn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}})(),{name:"HttpContext",preprocessEvent(e){if(!Fa.navigator&&!Fa.location&&!Fa.document)return;const t=function(){const e=sr(),{referrer:t}=Fa.document||{},{userAgent:n}=Fa.navigator||{};return{url:e,headers:{...t&&{Referer:t},...n&&{"User-Agent":n}}}}(),n={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:n}}},{name:"BrowserSession",setupOnce(){void 0!==Fa.document?($o({ignoreDuration:!0}),Uo(),oi(({from:e,to:t})=>{void 0!==e&&e!==t&&($o({ignoreDuration:!0}),Uo())})):yi&&zn("Using the `browserSessionIntegration` in non-browser environments is not supported.")}}].filter(e=>!["BrowserApiErrors","Breadcrumbs","GlobalHandlers"].includes(e.name)),Pi=new class extends oa{constructor(e){const t=(n=e,{release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:Fa.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...n});var n;!function(e,t,n=[t],r="npm"){const o=e._metadata||{};o.sdk||(o.sdk={name:`sentry.javascript.${t}`,packages:n.map(e=>({name:`${r}:@sentry/${e}`,version:bn})),version:bn}),e._metadata=o}(t,"browser",["browser"],Fa.SENTRY_SDK_SOURCE||"npm"),t._metadata?.sdk&&(t._metadata.sdk.settings={infer_ip:t.sendDefaultPii?"auto":"never",...t._metadata.sdk.settings}),super(t);const{sendDefaultPii:r,sendClientReports:o,enableLogs:a}=this._options;Fa.document&&(o||a)&&Fa.document.addEventListener("visibilitychange",()=>{"hidden"===Fa.document.visibilityState&&(o&&this._flushOutcomes(),a&&la(this))}),a&&(this.on("flush",()=>{la(this)}),this.on("afterCaptureLog",()=>{this._logFlushIdleTimeout&&clearTimeout(this._logFlushIdleTimeout),this._logFlushIdleTimeout=setTimeout(()=>{la(this)},5e3)})),r&&this.on("beforeSendSession",da)}eventFromException(e,t){return function(e,t,n,r){const o=Ga(e,t,n?.syntheticException||void 0,r);return _r(o),o.level="error",n?.event_id&&(o.event_id=n.event_id),Io(o)}(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return function(e,t,n="info",r,o){const a=Ya(e,t,r?.syntheticException||void 0,o);return a.level=n,r?.event_id&&(a.event_id=r.event_id),Io(a)}(this._options.stackParser,e,t,n,this._options.attachStacktrace)}_prepareEvent(e,t,n,r){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n,r)}}({dsn:"https://ffd963e90a83743e3fed7e00476fc6d8@sentry.hamravesh.com/9104",transport:function(t,n=function(t){const n=ii[t];if(n)return n;let r=Qa[t];if(Ia(r))return ii[t]=r.bind(Qa);const o=Qa.document;if(o&&"function"==typeof o.createElement)try{const e=o.createElement("iframe");e.hidden=!0,o.head.appendChild(e);const n=e.contentWindow;n?.[t]&&(r=n[t]),o.head.removeChild(e)}catch(e){Ka&&zn(`Could not create sandbox iframe for ${t} check, bailing to window.${t}: `,e)}return r?ii[t]=r.bind(Qa):r}("fetch")){let r=0,o=0;return ua(t,function(a){const i=a.body.length;r+=i,o++;const l={body:a.body,method:"POST",referrerPolicy:"strict-origin",headers:t.headers,keepalive:r<=6e4&&o<15,...t.fetchOptions};if(!n)return li("fetch"),Oo("No fetch implementation available");try{return n(t.url,l).then(e=>(r-=i,o--,{statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")}}))}catch(e){return li("fetch"),r-=i,o--,Oo(e)}})},stackParser:bi,integrations:Ei,tracesSampleRate:.1,tracePropagationTargets:["localhost",/^https:\/\/yourserver\.io\/api/],debug:!1,environment:"production"}),zi=new Fr;zi.setClient(Pi);try{Pi.init()}catch(fx){}const Ti=(e,t)=>(...n)=>{try{return t(...n)}catch(fx){zi.captureException(fx,{captureContext:{extra:{context:e}}})}},Ri=(e,t)=>(...n)=>{try{return t(...n).catch(t=>{throw"AbortError"!==t.name&&zi.captureException(t,{captureContext:{extra:{context:e}}}),t})}catch(fx){throw"AbortError"!==fx.name&&zi.captureException(fx,{captureContext:{extra:{context:e}}}),fx}},Ii="https://standardapi.dori.tech",Oi={demoSharingData:`${Ii}/bot-sharing-data/`,streamChat:`${Ii}/stream-chat-with-assistant/`,searchProductLog:`${Ii}/search-selected-item-log`},Ai=Ri("fetchBotDataBySharingID",async(e,t)=>async function(e,t=3){let n;for(let r=0;r<t;r++)try{return await e()}catch(fx){if(n=fx,r===t-1)throw n}throw n}(async()=>{const n=Oi.demoSharingData+e+(t?`?product_id=${t}`:""),r=await fetch(n);if(200!==r.status)throw new Error(`Network response was not ok: ${r.status}`);return await r.json()},3)),Di=Ri("sendMessageToStreamAPI",async(e,t,n,r,o,a,i,l)=>{const s=t.assistant_id;let c=e;const u={assistant_id:s,thread_id:n||void 0,src:"undefined"!=typeof window?window.location.href:"",message:c,platform:"shopify_pdp",product_id:l||void 0};Object.keys(u).forEach(e=>void 0===u[e]&&delete u[e]);const d=new URLSearchParams({assistant_id:s}).toString(),f=`${Oi.streamChat}?${d}`,p=await fetch(f,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(u),signal:i?.signal});if(i?.signal.aborted)return;if(429===p.status)return void o("You have exceeded the request limit. Please wait at least 24 hours and try again.");if(402===p.status)return void o("Hello 😊 The smart assistant for this business is currently inactive because its subscription has expired. If you have any questions, please contact the business directly. We hope to be at your service again soon!");if(!p.body)throw new Error("ReadableStream not supported in this environment.");const h=p.body.getReader(),g=new TextDecoder("utf-8");let m="";for(;;){if(i?.signal.aborted)return void h.cancel();const{value:e,done:t}=await h.read();if(t)break;if(e){const t=g.decode(e,{stream:!0});m+=t;let n=m.indexOf("}{");for(;-1!==n;){const e=m.slice(0,n+1);m=m.slice(n+1),Ti("JSON parse in streaming",()=>{const t=JSON.parse(e);r(t)})(),n=m.indexOf("}{")}m.endsWith("}")&&Ti("JSON parse remaining buffer",()=>{const e=JSON.parse(m);r(e),m=""})()}}a()}),Ni=Ri("trackProductClick",async(e,t,n)=>{const r={log:{assistant_id:t.assistant_id,thread_id:n,created_at:(new Date).toISOString(),selected_item_id:e.id,tool_call_id:e.tool_call_id}};await fetch(Oi.searchProductLog,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(r)})}),Fi={create_custom_product_card:"Preparing products to show you...",create_product_card:"Preparing products to show you...",create_order:"Starting the order process...",get_product_detail:"Finding product details for you...",product_retrieval:"Searching for the best options for you...",order_notes:"Adding your notes to the order...",order_persistence:"Saving your order carefully...",payment_processing:"Processing your payment information...",retrieve_faq:"Looking for the best answer for you...",prompt_recommendation:"",similar_products:"Looking for similar products for you...",track_order:"Checking your order status...",thinking:"Thinking..."},ji=y.createContext(void 0);function Mi({children:e}){const[t,n]=y.useState(null),[r,o]=y.useState(!1),[a,i]=y.useState(null),[l,s]=y.useState(null),[c,u]=y.useState({repliedProduct:null,threadId:null,isRequestInProgress:!1}),[d,f]=y.useState([]),[p,g]=y.useState("welcome"),[m,b]=y.useState(!1),[v,x]=y.useState("starting"),k=y.useRef(null),S=y.useCallback(e=>{u(t=>({...t,repliedProduct:e}))},[]),w=y.useCallback(e=>{if(!e)return[];if(Array.isArray(e))return e;try{return JSON.parse(e)}catch(fx){return[]}},[]),_=y.useCallback(()=>{k.current&&(k.current.abort(),k.current=null),u(e=>({...e,isRequestInProgress:!1,repliedProduct:null})),b(!1),x("starting"),g("ongoing"),f(e=>e.filter(e=>"loading"!==e.type))},[]),C=y.useCallback(Ri("initializeBot",async(e,t)=>{if(!e||""===e.trim())return void i("Invalid sharing ID provided");o(!0),i(null),s(t||null);let r=!1;try{const o=await(async()=>{if(window.moriBotDataPromise)try{return await window.moriBotDataPromise}catch(fx){}else if(await new Promise(e=>setTimeout(e,50)),window.moriBotDataPromise)try{return await window.moriBotDataPromise}catch(fx){}const n=await Ai(e,t||void 0);return n.error?(i(n.error),r=!0,null):n.data?n.data:(r=!0,null)})();if(!o)return void(r||i("No bot data found"));const a={...o,sharing_id:e,suggestedReply:w(o.suggested_prompts||o.suggestedReply)};n(a),g("initial-greeting")}finally{o(!1)}}),[w]),E=y.useCallback(Ti("addWelcomeMessage",()=>{const e={id:Date.now().toString(),type:"welcome",timestamp:new Date,content:t?.wellcomeMessage||"Whatever you have in mind about your purchase, I'm here to help you!"};f(t=>[...t,e])}),[t?.wellcomeMessage]),P=y.useCallback(Ri("sendMessage",async({message:e,apiMessage:n},r)=>{if(!t||m)return;const o={id:Date.now().toString(),type:"user",content:e,timestamp:new Date,repliedProduct:r};f(e=>[...e.filter(e=>"suggestions"!==e.type),o]),k.current&&(k.current.abort(),k.current=null),g("thinking"),b(!0),x("generating"),u(e=>({...e,isRequestInProgress:!0})),k.current=new AbortController;let a={id:(Date.now()+1).toString(),type:"loading",content:"Let me check for a moment...",timestamp:new Date};f(e=>[...e,a]);let i=n||e;r&&(i=`this message is replied to product with id ${r.id}: ${e}`);let s="",d=null,p=[],h=[];try{await Di(i,t,c.threadId,e=>{Ti("streaming chunk handler",()=>{if(e.thread_id)u(t=>({...t,threadId:e.thread_id||null}));else if(e.wait)d&&s.trim()&&f(e=>e.map(e=>e.id===d?.id?{...e,content:s}:e)),d=null,s="",f(t=>{return[...t.filter(e=>"loading"!==e.type),{id:(Date.now()+Math.random()).toString(),type:"loading",content:(n=e.tool_name,n&&n in Fi?Fi[n]:"Let me check for a moment..."),timestamp:new Date}];var n});else if(e.text)if(s+=e.text,d)f(e=>e.map(e=>e.id===d?.id?{...e,content:s}:e));else{const e={id:(Date.now()+Math.random()).toString(),type:"mori",content:s,timestamp:new Date};f(t=>[...t.filter(e=>"loading"!==e.type),e]),d=e}else e.products&&e.products.length>0?(p=[...p,...e.products],f(t=>{const n=[...t.filter(e=>"loading"!==e.type)],r=n.findIndex(e=>e.id===d?.id),o={id:(Date.now()+3).toString(),type:"products",content:"Suggested products:",timestamp:new Date,products:p,tool_call_id:e.products?.[0]?.tool_call_id||""};return-1!==r?n.splice(r+1,0,o):n.push(o),n})):e.suggestions&&e.suggestions.length>0&&(h=[...h,...e.suggestions])})()},e=>{if(k.current?.signal.aborted)return k.current=null,u(e=>({...e,isRequestInProgress:!1,repliedProduct:null})),b(!1),x("starting"),g("ongoing"),void f(e=>e.filter(e=>"loading"!==e.type));f(t=>[...t.filter(e=>"loading"!==e.type),{id:(Date.now()+2).toString(),type:"mori",content:e,timestamp:new Date}]),g("ongoing")},()=>{h.length>0&&f(e=>{const t=[...e.filter(e=>"suggestions"!==e.type&&"loading"!==e.type)],n=t.findIndex(e=>e.id===d?.id),r={id:(Date.now()+4).toString(),type:"suggestions",content:"Suggestions:",timestamp:new Date,suggestions:h};return-1!==n?t.splice(n+1,0,r):t.push(r),t}),k.current=null,u(e=>({...e,isRequestInProgress:!1,repliedProduct:null})),b(!1),x("starting"),g("ongoing")},k.current,l)}catch(fx){k.current?.signal.aborted||"AbortError"===fx.name?(k.current=null,u(e=>({...e,isRequestInProgress:!1,repliedProduct:null})),b(!1),x("starting"),g("ongoing"),f(e=>e.filter(e=>"loading"!==e.type))):(f(e=>[...e.filter(e=>"loading"!==e.type),{id:(Date.now()+2).toString(),type:"mori",content:"Unfortunately, an error occurred. Please try again.",timestamp:new Date}]),g("ongoing"),u(e=>({...e,isRequestInProgress:!1,repliedProduct:null})),b(!1),x("starting"),k.current=null)}}),[t,m,c.threadId]),z=y.useCallback(()=>{k.current&&(k.current.abort(),k.current=null),n(null),f([]),g("welcome"),b(!1),x("starting"),u({repliedProduct:null,threadId:null,isRequestInProgress:!1})},[]),T={botData:t,isLoadingBot:r,botError:a,chatState:c,messages:d,currentStep:p,isInputDisabled:m,inputState:v,initializeBot:C,sendMessage:P,stopCurrentRequest:_,setCurrentStep:g,setInputState:x,addWelcomeMessage:E,setRepliedProduct:S,resetBot:z};return h.jsx(ji.Provider,{value:T,children:e})}function Li(){const e=y.useContext(ji);if(void 0===e)throw new Error("useChatContext must be used within a ChatProvider");return e}const Wi=e=>null!=e;function Bi(e,t,n={}){const{stop:r,getKey:o}=n;return function e(n,a=[]){if(qt(n)||Array.isArray(n)){const i={};for(const[l,s]of Object.entries(n)){const c=o?.(l,s)??l,u=[...a,c];if(r?.(n,u))return t(n,a);const d=e(s,u);Wi(d)&&(i[c]=d)}return i}return t(n,a)}(e)}function $i(e,t){return Array.isArray(e)?e.map(e=>Wi(e)?t(e):e):qt(e)?Bi(e,e=>t(e)):Wi(e)?t(e):e}const Vi=y.forwardRef(function(e,t){const{direction:n="column",align:r,justify:o,gap:a="0.5rem",wrap:i,children:l,separator:s,className:c,...u}=e,d=y.useMemo(()=>function(e){const{gap:t,direction:n}=e,r={column:{marginY:t,marginX:0,borderInlineStartWidth:0,borderTopWidth:"1px"},"column-reverse":{marginY:t,marginX:0,borderInlineStartWidth:0,borderTopWidth:"1px"},row:{marginX:t,marginY:0,borderInlineStartWidth:"1px",borderTopWidth:0},"row-reverse":{marginX:t,marginY:0,borderInlineStartWidth:"1px",borderTopWidth:0}};return{"&":$i(n,e=>r[e])}}({gap:a,direction:n}),[a,n]),f=y.useMemo(()=>y.isValidElement(s)?function(e){return y.Children.toArray(e).filter(e=>y.isValidElement(e))}(l).map((e,t,n)=>{const r=void 0!==e.key?e.key:t,o=s,a=y.cloneElement(o,{css:[d,o.props.css]});return h.jsxs(y.Fragment,{children:[e,t===n.length-1?null:a]},r)}):l,[l,s,d]);return h.jsx(fn.div,{ref:t,display:"flex",alignItems:r,justifyContent:o,flexDirection:n,flexWrap:i,gap:s?void 0:a,className:Ut("chakra-stack",c),...u,children:f})}),Hi=y.forwardRef(function(e,t){return h.jsx(Vi,{align:"center",...e,direction:"row",ref:t})}),Ui=y.forwardRef(function(e,t){return h.jsx(Vi,{align:"center",...e,direction:"column",ref:t})}),qi=Object.freeze({}),Gi=Object.freeze({});function Yi(e){const{key:t,recipe:n}=e,r=(o=t||n.className||"Component").charAt(0).toUpperCase()+o.slice(1);var o;const[a,i]=Kt({strict:!1,name:`${r}PropsContext`,providerName:`${r}PropsContext`});function l(e){const{unstyled:r,...o}=e,a=function(e){const{key:t,recipe:n}=e,r=Jt();return y.useMemo(()=>{const e=n||(null!=t?r.getRecipe(t):{});return r.cva(structuredClone(e))},[t,n,r])}({key:t,recipe:o.recipe||n}),[i,l]=y.useMemo(()=>a.splitVariantProps(o),[a,o]);return{styles:r?qi:a(i),className:a.className,props:l}}return{withContext:(e,t)=>{const n=fn(e,{},t),r=y.forwardRef((e,t)=>{const r=i(),o=y.useMemo(()=>Vt(r,e),[e,r]),{styles:a,className:s,props:c}=l(o);return h.jsx(n,{...c,ref:t,css:[a,o.css],className:Ut(s,o.className)})});return r.displayName=e.displayName||e.name,r},PropsProvider:a,withPropsProvider:function(){return a},usePropsContext:i,useRecipeResult:l}}const Xi=fn("span"),{withContext:Ki}=Yi({key:"spinner"}),Qi=Ki("span"),Ji=fn("div",{base:{position:"absolute",display:"flex",alignItems:"center",justifyContent:"center"},variants:{axis:{horizontal:{insetStart:"50%",translate:"-50%",_rtl:{translate:"50%"}},vertical:{top:"50%",translate:"0 -50%"},both:{insetStart:"50%",top:"50%",translate:"-50% -50%",_rtl:{translate:"50% -50%"}}}},defaultVariants:{axis:"both"}});Ji.displayName="AbsoluteCenter";const Zi=y.forwardRef(function(e,t){const{spinner:n=h.jsx(Qi,{size:"inherit",borderWidth:"0.125em",color:"inherit"}),spinnerPlacement:r="start",children:o,text:a,visible:i=!0,...l}=e;return i?a?h.jsxs(Xi,{ref:t,display:"contents",...l,children:["start"===r&&n,a,"end"===r&&n]}):n?h.jsxs(Xi,{ref:t,display:"contents",...l,children:[h.jsx(Ji,{display:"inline-flex",children:n}),h.jsx(Xi,{visibility:"hidden",display:"contents",children:o})]}):h.jsx(Xi,{ref:t,display:"contents",...l,children:o}):o}),{useRecipeResult:el,usePropsContext:tl}=Yi({key:"button"}),nl=y.forwardRef(function(e,t){const n=tl(),r=y.useMemo(()=>Vt(n,e),[n,e]),o=el(r),{loading:a,loadingText:i,children:l,spinner:s,spinnerPlacement:c,...u}=o.props;return h.jsx(fn.button,{type:"button",ref:t,...u,"data-loading":(d=a,d?"":void 0),disabled:a||u.disabled,className:Ut(o.className,r.className),css:[o.styles,r.css],children:!r.asChild&&a?h.jsx(Zi,{spinner:s,text:i,spinnerPlacement:c,children:l}):l});var d}),rl=y.forwardRef(function(e,t){return h.jsx(nl,{px:"0",py:"0",_icon:{fontSize:"1.2em"},ref:t,...e})}),ol=y.forwardRef(function(e,t){const{align:n,fit:r="cover",...o}=e;return h.jsx(fn.img,{ref:t,objectFit:r,objectPosition:n,className:Ut("chakra-image",e.className),...o})}),{withContext:al}=Yi({key:"text"}),il=al("p"),{withContext:ll}=Yi({key:"link"}),sl=ll("a"),{StylesProvider:cl,ClassNamesProvider:ul,useRecipeResult:dl,withContext:fl}=(()=>{const{key:e,recipe:t}={key:"table"},n=(r=e||t.className||"Component").charAt(0).toUpperCase()+r.slice(1);var r;const[o,a]=Kt({name:`${n}StylesContext`,errorMessage:`use${n}Styles returned is 'undefined'. Seems you forgot to wrap the components in "<${n}.Root />" `}),[i,l]=Kt({name:`${n}ClassNameContext`,errorMessage:`use${n}ClassNames returned is 'undefined'. Seems you forgot to wrap the components in "<${n}.Root />" `,strict:!1}),[s,c]=Kt({strict:!1,name:`${n}PropsContext`,providerName:`${n}PropsContext`,defaultValue:{}});function u(n){const{unstyled:r,...o}=n,a=function(e){const{key:t,recipe:n}=e,r=Jt();return y.useMemo(()=>{const e=n||(null!=t?r.getSlotRecipe(t):{});return r.sva(structuredClone(e))},[t,n,r])}({key:e,recipe:o.recipe||t}),[i,l]=y.useMemo(()=>a.splitVariantProps(o),[o,a]);return{styles:y.useMemo(()=>r?Gi:a(i),[r,i,a]),classNames:a.classNameMap,props:l}}return{StylesProvider:o,ClassNamesProvider:i,PropsProvider:s,usePropsContext:c,useRecipeResult:u,withProvider:(e,t,n)=>{const{defaultProps:r,...a}=n??{},l=fn(e,{},a),s=y.forwardRef((e,a)=>{const s=c(),d=y.useMemo(()=>Vt(r??{},s,e),[s,e]),{styles:f,props:p,classNames:g}=u(d),m=g[t],b=h.jsx(o,{value:f,children:h.jsx(i,{value:g,children:h.jsx(l,{ref:a,...p,css:[f[t],d.css],className:Ut(d.className,m)})})});return n?.wrapElement?.(b,d)??b});return s.displayName=e.displayName||e.name,s},withContext:(e,t,n)=>{const r=fn(e,{},n),o=y.forwardRef((e,n)=>{const{unstyled:o,...i}=e,s=a(),c=l(),u=c?.[t];return h.jsx(r,{...i,css:[!o&&t?s[t]:void 0,e.css],ref:n,className:Ut(e.className,u)})});return o.displayName=e.displayName||e.name,o},withRootProvider:function(e,t={}){const{defaultProps:n}=t,r=t=>{const r=c(),a=y.useMemo(()=>Vt(n,r,t),[r,t]),{styles:l,classNames:s,props:d}=u(a);return h.jsx(o,{value:l,children:h.jsx(i,{value:s,children:h.jsx(e,{...d})})})};return r.displayName=e.displayName||e.name,r},useStyles:a,useClassNames:l}})(),pl=y.forwardRef(function({native:e,...t},n){const{styles:r,props:o,classNames:a}=dl(t),i=y.useMemo(()=>e?{...r.root,"& thead":r.header,"& tbody":r.body,"& tfoot":r.footer,"& thead th":r.columnHeader,"& tr":r.row,"& td":r.cell,"& caption":r.caption}:r.root,[r,e]);return h.jsx(ul,{value:a,children:h.jsx(cl,{value:r,children:h.jsx(fn.table,{ref:n,...o,css:[i,t.css],className:Ut(a?.root,t.className)})})})}),hl=fl("tr","row");fn("div",{base:{display:"block",whiteSpace:"nowrap",WebkitOverflowScrolling:"touch",overflow:"auto",maxWidth:"100%"}});const gl=fl("thead","header");fl("tfoot","footer");const ml=fl("th","columnHeader"),bl=fl("td","cell");fl("caption","caption",{defaultProps:{captionSide:"bottom"}});const vl=fl("tbody","body");fl("colgroup"),fl("col");const yl=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,xl=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,kl={};function Sl(e,t){return(kl.jsx?xl:yl).test(e)}const wl=/[ \t\n\f\r]/g;function _l(e){return""===e.replace(wl,"")}class Cl{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function El(e,t){const n={},r={};for(const o of e)Object.assign(n,o.property),Object.assign(r,o.normal);return new Cl(n,r,t)}function Pl(e){return e.toLowerCase()}Cl.prototype.normal={},Cl.prototype.property={},Cl.prototype.space=void 0;class zl{constructor(e,t){this.attribute=t,this.property=e}}zl.prototype.attribute="",zl.prototype.booleanish=!1,zl.prototype.boolean=!1,zl.prototype.commaOrSpaceSeparated=!1,zl.prototype.commaSeparated=!1,zl.prototype.defined=!1,zl.prototype.mustUseProperty=!1,zl.prototype.number=!1,zl.prototype.overloadedBoolean=!1,zl.prototype.property="",zl.prototype.spaceSeparated=!1,zl.prototype.space=void 0;let Tl=0;const Rl=jl(),Il=jl(),Ol=jl(),Al=jl(),Dl=jl(),Nl=jl(),Fl=jl();function jl(){return 2**++Tl}const Ml=Object.freeze(Object.defineProperty({__proto__:null,boolean:Rl,booleanish:Il,commaOrSpaceSeparated:Fl,commaSeparated:Nl,number:Al,overloadedBoolean:Ol,spaceSeparated:Dl},Symbol.toStringTag,{value:"Module"})),Ll=Object.keys(Ml);class Wl extends zl{constructor(e,t,n,r){let o=-1;if(super(e,t),Bl(this,"space",r),"number"==typeof n)for(;++o<Ll.length;){const e=Ll[o];Bl(this,Ll[o],(n&Ml[e])===Ml[e])}}}function Bl(e,t,n){n&&(e[t]=n)}function $l(e){const t={},n={};for(const[r,o]of Object.entries(e.properties)){const a=new Wl(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[Pl(r)]=r,n[Pl(a.attribute)]=r}return new Cl(t,n,e.space)}Wl.prototype.defined=!0;const Vl=$l({properties:{ariaActiveDescendant:null,ariaAtomic:Il,ariaAutoComplete:null,ariaBusy:Il,ariaChecked:Il,ariaColCount:Al,ariaColIndex:Al,ariaColSpan:Al,ariaControls:Dl,ariaCurrent:null,ariaDescribedBy:Dl,ariaDetails:null,ariaDisabled:Il,ariaDropEffect:Dl,ariaErrorMessage:null,ariaExpanded:Il,ariaFlowTo:Dl,ariaGrabbed:Il,ariaHasPopup:null,ariaHidden:Il,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Dl,ariaLevel:Al,ariaLive:null,ariaModal:Il,ariaMultiLine:Il,ariaMultiSelectable:Il,ariaOrientation:null,ariaOwns:Dl,ariaPlaceholder:null,ariaPosInSet:Al,ariaPressed:Il,ariaReadOnly:Il,ariaRelevant:null,ariaRequired:Il,ariaRoleDescription:Dl,ariaRowCount:Al,ariaRowIndex:Al,ariaRowSpan:Al,ariaSelected:Il,ariaSetSize:Al,ariaSort:null,ariaValueMax:Al,ariaValueMin:Al,ariaValueNow:Al,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function Hl(e,t){return t in e?e[t]:t}function Ul(e,t){return Hl(e,t.toLowerCase())}const ql=$l({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Nl,acceptCharset:Dl,accessKey:Dl,action:null,allow:null,allowFullScreen:Rl,allowPaymentRequest:Rl,allowUserMedia:Rl,alt:null,as:null,async:Rl,autoCapitalize:null,autoComplete:Dl,autoFocus:Rl,autoPlay:Rl,blocking:Dl,capture:null,charSet:null,checked:Rl,cite:null,className:Dl,cols:Al,colSpan:null,content:null,contentEditable:Il,controls:Rl,controlsList:Dl,coords:Al|Nl,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Rl,defer:Rl,dir:null,dirName:null,disabled:Rl,download:Ol,draggable:Il,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Rl,formTarget:null,headers:Dl,height:Al,hidden:Ol,high:Al,href:null,hrefLang:null,htmlFor:Dl,httpEquiv:Dl,id:null,imageSizes:null,imageSrcSet:null,inert:Rl,inputMode:null,integrity:null,is:null,isMap:Rl,itemId:null,itemProp:Dl,itemRef:Dl,itemScope:Rl,itemType:Dl,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Rl,low:Al,manifest:null,max:null,maxLength:Al,media:null,method:null,min:null,minLength:Al,multiple:Rl,muted:Rl,name:null,nonce:null,noModule:Rl,noValidate:Rl,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:Rl,optimum:Al,pattern:null,ping:Dl,placeholder:null,playsInline:Rl,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Rl,referrerPolicy:null,rel:Dl,required:Rl,reversed:Rl,rows:Al,rowSpan:Al,sandbox:Dl,scope:null,scoped:Rl,seamless:Rl,selected:Rl,shadowRootClonable:Rl,shadowRootDelegatesFocus:Rl,shadowRootMode:null,shape:null,size:Al,sizes:null,slot:null,span:Al,spellCheck:Il,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Al,step:null,style:null,tabIndex:Al,target:null,title:null,translate:null,type:null,typeMustMatch:Rl,useMap:null,value:Il,width:Al,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Dl,axis:null,background:null,bgColor:null,border:Al,borderColor:null,bottomMargin:Al,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Rl,declare:Rl,event:null,face:null,frame:null,frameBorder:null,hSpace:Al,leftMargin:Al,link:null,longDesc:null,lowSrc:null,marginHeight:Al,marginWidth:Al,noResize:Rl,noHref:Rl,noShade:Rl,noWrap:Rl,object:null,profile:null,prompt:null,rev:null,rightMargin:Al,rules:null,scheme:null,scrolling:Il,standby:null,summary:null,text:null,topMargin:Al,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Al,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Rl,disableRemotePlayback:Rl,prefix:null,property:null,results:Al,security:null,unselectable:null},space:"html",transform:Ul}),Gl=$l({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Fl,accentHeight:Al,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Al,amplitude:Al,arabicForm:null,ascent:Al,attributeName:null,attributeType:null,azimuth:Al,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Al,by:null,calcMode:null,capHeight:Al,className:Dl,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:Al,diffuseConstant:Al,direction:null,display:null,dur:null,divisor:Al,dominantBaseline:null,download:Rl,dx:null,dy:null,edgeMode:null,editable:null,elevation:Al,enableBackground:null,end:null,event:null,exponent:Al,externalResourcesRequired:null,fill:null,fillOpacity:Al,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:Nl,g2:Nl,glyphName:Nl,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Al,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Al,horizOriginX:Al,horizOriginY:Al,id:null,ideographic:Al,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Al,k:Al,k1:Al,k2:Al,k3:Al,k4:Al,kernelMatrix:Fl,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Al,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Al,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:Al,overlineThickness:Al,paintOrder:null,panose1:null,path:null,pathLength:Al,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Dl,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Al,pointsAtY:Al,pointsAtZ:Al,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Fl,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Fl,rev:Fl,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Fl,requiredFeatures:Fl,requiredFonts:Fl,requiredFormats:Fl,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:Al,specularExponent:Al,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Al,strikethroughThickness:Al,string:null,stroke:null,strokeDashArray:Fl,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Al,strokeOpacity:Al,strokeWidth:null,style:null,surfaceScale:Al,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Fl,tabIndex:Al,tableValues:null,target:null,targetX:Al,targetY:Al,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Fl,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Al,underlineThickness:Al,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Al,values:null,vAlphabetic:Al,vMathematical:Al,vectorEffect:null,vHanging:Al,vIdeographic:Al,version:null,vertAdvY:Al,vertOriginX:Al,vertOriginY:Al,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Al,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Hl}),Yl=$l({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),Xl=$l({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Ul}),Kl=$l({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),Ql={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"},Jl=/[A-Z]/g,Zl=/-[a-z]/g,es=/^data[-\w.:]+$/i;function ts(e){return"-"+e.toLowerCase()}function ns(e){return e.charAt(1).toUpperCase()}const rs=El([Vl,ql,Yl,Xl,Kl],"html"),os=El([Vl,Gl,Yl,Xl,Kl],"svg");var as,is,ls,ss={};function cs(){if(is)return as;is=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,i=/^[;\s]*/,l=/^\s+|\s+$/g,s="";function c(e){return e?e.replace(l,s):s}return as=function(l,u){if("string"!=typeof l)throw new TypeError("First argument must be a string");if(!l)return[];u=u||{};var d=1,f=1;function p(e){var n=e.match(t);n&&(d+=n.length);var r=e.lastIndexOf("\n");f=~r?e.length-r:f+e.length}function h(){var e={line:d,column:f};return function(t){return t.position=new g(e),v(),t}}function g(e){this.start=e,this.end={line:d,column:f},this.source=u.source}function m(e){var t=new Error(u.source+":"+d+":"+f+": "+e);if(t.reason=e,t.filename=u.source,t.line=d,t.column=f,t.source=l,!u.silent)throw t}function b(e){var t=e.exec(l);if(t){var n=t[0];return p(n),l=l.slice(n.length),t}}function v(){b(n)}function y(e){var t;for(e=e||[];t=x();)!1!==t&&e.push(t);return e}function x(){var e=h();if("/"==l.charAt(0)&&"*"==l.charAt(1)){for(var t=2;s!=l.charAt(t)&&("*"!=l.charAt(t)||"/"!=l.charAt(t+1));)++t;if(t+=2,s===l.charAt(t-1))return m("End of comment missing");var n=l.slice(2,t-2);return f+=2,p(n),l=l.slice(t),f+=2,e({type:"comment",comment:n})}}function k(){var t=h(),n=b(r);if(n){if(x(),!b(o))return m("property missing ':'");var l=b(a),u=t({type:"declaration",property:c(n[0].replace(e,s)),value:l?c(l[0].replace(e,s)):s});return b(i),u}}return g.prototype.content=l,v(),function(){var e,t=[];for(y(t);e=k();)!1!==e&&(t.push(e),y(t));return t}()}}function us(){if(ls)return ss;ls=1;var e=ss&&ss.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(ss,"__esModule",{value:!0}),ss.default=function(e,n){var r=null;if(!e||"string"!=typeof e)return r;var o=(0,t.default)(e),a="function"==typeof n;return o.forEach(function(e){if("declaration"===e.type){var t=e.property,o=e.value;a?n(t,o,e):o&&((r=r||{})[t]=o)}}),r};var t=e(cs());return ss}var ds,fs,ps,hs={};function gs(){if(ds)return hs;ds=1,Object.defineProperty(hs,"__esModule",{value:!0}),hs.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,n=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,o=/^-(ms)-/,a=function(e,t){return t.toUpperCase()},i=function(e,t){return"".concat(t,"-")};return hs.camelCase=function(l,s){return void 0===s&&(s={}),function(t){return!t||n.test(t)||e.test(t)}(l)?l:(l=l.toLowerCase(),(l=s.reactCompat?l.replace(o,i):l.replace(r,i)).replace(t,a))},hs}function ms(){if(ps)return fs;ps=1;var e=fs&&fs.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},t=e(us()),n=gs();function r(e,r){var o={};return e&&"string"==typeof e?((0,t.default)(e,function(e,t){e&&t&&(o[(0,n.camelCase)(e,r)]=t)}),o):o}return r.default=r,fs=r}const bs=o(ms()),vs=xs("end"),ys=xs("start");function xs(e){return function(t){const n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function ks(e){return e&&"object"==typeof e?"position"in e||"type"in e?ws(e.position):"start"in e||"end"in e?ws(e):"line"in e||"column"in e?Ss(e):"":""}function Ss(e){return _s(e&&e.line)+":"+_s(e&&e.column)}function ws(e){return Ss(e&&e.start)+"-"+Ss(e&&e.end)}function _s(e){return e&&"number"==typeof e?e:1}class Cs extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r="",o={},a=!1;if(t&&(o="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?r=e:!o.cause&&e&&(a=!0,r=e.message,o.cause=e),!o.ruleId&&!o.source&&"string"==typeof n){const e=n.indexOf(":");-1===e?o.ruleId=n:(o.source=n.slice(0,e),o.ruleId=n.slice(e+1))}if(!o.place&&o.ancestors&&o.ancestors){const e=o.ancestors[o.ancestors.length-1];e&&(o.place=e.position)}const i=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=i?i.column:void 0,this.fatal=void 0,this.file="",this.message=r,this.line=i?i.line:void 0,this.name=ks(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=a&&o.cause&&"string"==typeof o.cause.stack?o.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Cs.prototype.file="",Cs.prototype.name="",Cs.prototype.reason="",Cs.prototype.message="",Cs.prototype.stack="",Cs.prototype.column=void 0,Cs.prototype.line=void 0,Cs.prototype.ancestors=void 0,Cs.prototype.cause=void 0,Cs.prototype.fatal=void 0,Cs.prototype.place=void 0,Cs.prototype.ruleId=void 0,Cs.prototype.source=void 0;const Es={}.hasOwnProperty,Ps=new Map,zs=/[A-Z]/g,Ts=new Set(["table","tbody","thead","tfoot","tr"]),Rs=new Set(["td","th"]),Is="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function Os(e,t,n){return"element"===t.type?function(e,t,n){const r=e.schema;let o=r;"svg"===t.tagName.toLowerCase()&&"html"===r.space&&(o=os,e.schema=o),e.ancestors.push(t);const a=js(e,t.tagName,!1),i=function(e,t){const n={};let r,o;for(o in t.properties)if("children"!==o&&Es.call(t.properties,o)){const a=Fs(e,o,t.properties[o]);if(a){const[o,i]=a;e.tableCellAlignToStyle&&"align"===o&&"string"==typeof i&&Rs.has(t.tagName)?r=i:n[o]=i}}return r&&((n.style||(n.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=r),n}(e,t);let l=Ns(e,t);return Ts.has(t.tagName)&&(l=l.filter(function(e){return"string"!=typeof e||!("object"==typeof(t=e)?"text"===t.type&&_l(t.value):_l(t));var t})),As(e,i,a,t),Ds(i,l),e.ancestors.pop(),e.schema=r,e.create(t,a,i,n)}(e,t,n):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){const n=t.data.estree.body[0];return e.evaluater.evaluateExpression(n.expression)}Ms(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?function(e,t,n){const r=e.schema;let o=r;"svg"===t.name&&"html"===r.space&&(o=os,e.schema=o),e.ancestors.push(t);const a=null===t.name?e.Fragment:js(e,t.name,!0),i=function(e,t){const n={};for(const r of t.attributes)if("mdxJsxExpressionAttribute"===r.type)if(r.data&&r.data.estree&&e.evaluater){const t=r.data.estree.body[0].expression.properties[0];Object.assign(n,e.evaluater.evaluateExpression(t.argument))}else Ms(e,t.position);else{const o=r.name;let a;if(r.value&&"object"==typeof r.value)if(r.value.data&&r.value.data.estree&&e.evaluater){const t=r.value.data.estree.body[0];a=e.evaluater.evaluateExpression(t.expression)}else Ms(e,t.position);else a=null===r.value||r.value;n[o]=a}return n}(e,t),l=Ns(e,t);return As(e,i,a,t),Ds(i,l),e.ancestors.pop(),e.schema=r,e.create(t,a,i,n)}(e,t,n):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Ms(e,t.position)}(e,t):"root"===t.type?function(e,t,n){const r={};return Ds(r,Ns(e,t)),e.create(t,e.Fragment,r,n)}(e,t,n):"text"===t.type?function(e,t){return t.value}(0,t):void 0}function As(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function Ds(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function Ns(e,t){const n=[];let r=-1;const o=e.passKeys?new Map:Ps;for(;++r<t.children.length;){const a=t.children[r];let i;if(e.passKeys){const e="element"===a.type?a.tagName:"mdxJsxFlowElement"===a.type||"mdxJsxTextElement"===a.type?a.name:void 0;if(e){const t=o.get(e)||0;i=e+"-"+t,o.set(e,t+1)}}const l=Os(e,a,i);void 0!==l&&n.push(l)}return n}function Fs(e,t,n){const r=function(e,t){const n=Pl(t);let r=t,o=zl;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&es.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(Zl,ns);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!Zl.test(e)){let n=e.replace(Jl,ts);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}o=Wl}return new o(r,t)}(e.schema,t);if(!(null==n||"number"==typeof n&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?function(e){const t={};return(""===e[e.length-1]?[...e,""]:e).join((t.padRight?" ":"")+","+(!1===t.padLeft?"":" ")).trim()}(n):n.join(" ").trim()),"style"===r.property){let t="object"==typeof n?n:function(e,t){try{return bs(t,{reactCompat:!0})}catch(fx){if(e.ignoreInvalidStyle)return{};const n=fx,r=new Cs("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw r.file=e.filePath||void 0,r.url=Is+"#cannot-parse-style-attribute",r}}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){const t={};let n;for(n in e)Es.call(e,n)&&(t[Ls(n)]=e[n]);return t}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&r.space?Ql[r.property]||r.property:r.attribute,n]}}function js(e,t,n){let r;if(n)if(t.includes(".")){const e=t.split(".");let n,o=-1;for(;++o<e.length;){const t=Sl(e[o])?{type:"Identifier",name:e[o]}:{type:"Literal",value:e[o]};n=n?{type:"MemberExpression",object:n,property:t,computed:Boolean(o&&"Literal"===t.type),optional:!1}:t}r=n}else r=Sl(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};else r={type:"Literal",value:t};if("Literal"===r.type){const t=r.value;return Es.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(r);Ms(e)}function Ms(e,t){const n=new Cs("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=Is+"#cannot-handle-mdx-estrees-without-createevaluater",n}function Ls(e){let t=e.replace(zs,Ws);return"ms-"===t.slice(0,3)&&(t="-"+t),t}function Ws(e){return"-"+e.toLowerCase()}const Bs={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"]},$s={};function Vs(e,t){return Hs(e,"boolean"!=typeof $s.includeImageAlt||$s.includeImageAlt,"boolean"!=typeof $s.includeHtml||$s.includeHtml)}function Hs(e,t,n){if(function(e){return Boolean(e&&"object"==typeof e)}(e)){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Us(e.children,t,n)}return Array.isArray(e)?Us(e,t,n):""}function Us(e,t,n){const r=[];let o=-1;for(;++o<e.length;)r[o]=Hs(e[o],t,n);return r.join("")}const qs=document.createElement("i");function Gs(e){const t="&"+e+";";qs.innerHTML=t;const n=qs.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}function Ys(e,t,n,r){const o=e.length;let a,i=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)a=Array.from(r),a.unshift(t,n),e.splice(...a);else for(n&&e.splice(t,n);i<r.length;)a=r.slice(i,i+1e4),a.unshift(t,0),e.splice(...a),i+=1e4,t+=1e4}function Xs(e,t){return e.length>0?(Ys(e,e.length,0,t),e):t}const Ks={}.hasOwnProperty;function Qs(e){const t={};let n=-1;for(;++n<e.length;)Js(t,e[n]);return t}function Js(e,t){let n;for(n in t){const r=(Ks.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];let a;if(o)for(a in o){Ks.call(r,a)||(r[a]=[]);const e=o[a];Zs(r[a],Array.isArray(e)?e:e?[e]:[])}}}function Zs(e,t){let n=-1;const r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);Ys(e,0,0,r)}function ec(e,t){const n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||!(65535&~n)||65534==(65535&n)||n>1114111?"�":String.fromCodePoint(n)}function tc(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const nc=hc(/[A-Za-z]/),rc=hc(/[\dA-Za-z]/),oc=hc(/[#-'*+\--9=?A-Z^-~]/);function ac(e){return null!==e&&(e<32||127===e)}const ic=hc(/\d/),lc=hc(/[\dA-Fa-f]/),sc=hc(/[!-/:-@[-`{-~]/);function cc(e){return null!==e&&e<-2}function uc(e){return null!==e&&(e<0||32===e)}function dc(e){return-2===e||-1===e||32===e}const fc=hc(new RegExp("\\p{P}|\\p{S}","u")),pc=hc(/\s/);function hc(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function gc(e){const t=[];let n=-1,r=0,o=0;for(;++n<e.length;){const a=e.charCodeAt(n);let i="";if(37===a&&rc(e.charCodeAt(n+1))&&rc(e.charCodeAt(n+2)))o=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(i=String.fromCharCode(a));else if(a>55295&&a<57344){const t=e.charCodeAt(n+1);a<56320&&t>56319&&t<57344?(i=String.fromCharCode(a,t),o=1):i="�"}else i=String.fromCharCode(a);i&&(t.push(e.slice(r,n),encodeURIComponent(i)),r=n+o+1,i=""),o&&(n+=o,o=0)}return t.join("")+e.slice(r)}function mc(e,t,n,r){const o=r?r-1:Number.POSITIVE_INFINITY;let a=0;return function(r){return dc(r)?(e.enter(n),i(r)):t(r)};function i(r){return dc(r)&&a++<o?(e.consume(r),i):(e.exit(n),t(r))}}const bc={tokenize:function(e){const t=e.attempt(this.parser.constructs.contentInitial,function(n){if(null!==n)return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),mc(e,t,"linePrefix");e.consume(n)},function(t){return e.enter("paragraph"),r(t)});let n;return t;function r(t){const r=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=r),n=r,o(t)}function o(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):cc(t)?(e.consume(t),e.exit("chunkText"),r):(e.consume(t),o)}}},vc={tokenize:function(e){const t=this,n=[];let r,o,a,i=0;return l;function l(r){if(i<n.length){const o=n[i];return t.containerState=o[1],e.attempt(o[0].continuation,s,c)(r)}return c(r)}function s(e){if(i++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,r&&v();const n=t.events.length;let o,a=n;for(;a--;)if("exit"===t.events[a][0]&&"chunkFlow"===t.events[a][1].type){o=t.events[a][1].end;break}b(i);let l=n;for(;l<t.events.length;)t.events[l][1].end={...o},l++;return Ys(t.events,a+1,0,t.events.slice(n)),t.events.length=l,c(e)}return l(e)}function c(o){if(i===n.length){if(!r)return f(o);if(r.currentConstruct&&r.currentConstruct.concrete)return h(o);t.interrupt=Boolean(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(yc,u,d)(o)}function u(e){return r&&v(),b(i),f(e)}function d(e){return t.parser.lazy[t.now().line]=i!==n.length,a=t.now().offset,h(e)}function f(n){return t.containerState={},e.attempt(yc,p,h)(n)}function p(e){return i++,n.push([t.currentConstruct,t.containerState]),f(e)}function h(n){return null===n?(r&&v(),b(0),void e.consume(n)):(r=r||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:r,contentType:"flow",previous:o}),g(n))}function g(n){return null===n?(m(e.exit("chunkFlow"),!0),b(0),void e.consume(n)):cc(n)?(e.consume(n),m(e.exit("chunkFlow")),i=0,t.interrupt=void 0,l):(e.consume(n),g)}function m(e,n){const l=t.sliceStream(e);if(n&&l.push(null),e.previous=o,o&&(o.next=e),o=e,r.defineSkip(e.start),r.write(l),t.parser.lazy[e.start.line]){let e=r.events.length;for(;e--;)if(r.events[e][1].start.offset<a&&(!r.events[e][1].end||r.events[e][1].end.offset>a))return;const n=t.events.length;let o,l,s=n;for(;s--;)if("exit"===t.events[s][0]&&"chunkFlow"===t.events[s][1].type){if(o){l=t.events[s][1].end;break}o=!0}for(b(i),e=n;e<t.events.length;)t.events[e][1].end={...l},e++;Ys(t.events,s+1,0,t.events.slice(n)),t.events.length=e}}function b(r){let o=n.length;for(;o-- >r;){const r=n[o];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function v(){r.write([null]),o=void 0,r=void 0,t.containerState._closeFlow=void 0}}},yc={tokenize:function(e,t,n){return mc(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};function xc(e){return null===e||uc(e)||pc(e)?1:fc(e)?2:void 0}function kc(e,t,n){const r=[];let o=-1;for(;++o<e.length;){const a=e[o].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}const Sc={name:"attention",resolveAll:function(e,t){let n,r,o,a,i,l,s,c,u=-1;for(;++u<e.length;)if("enter"===e[u][0]&&"attentionSequence"===e[u][1].type&&e[u][1]._close)for(n=u;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[u][1]).charCodeAt(0)){if((e[n][1]._close||e[u][1]._open)&&(e[u][1].end.offset-e[u][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[u][1].end.offset-e[u][1].start.offset)%3))continue;l=e[n][1].end.offset-e[n][1].start.offset>1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;const d={...e[n][1].end},f={...e[u][1].start};wc(d,-l),wc(f,l),a={type:l>1?"strongSequence":"emphasisSequence",start:d,end:{...e[n][1].end}},i={type:l>1?"strongSequence":"emphasisSequence",start:{...e[u][1].start},end:f},o={type:l>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[u][1].start}},r={type:l>1?"strong":"emphasis",start:{...a.start},end:{...i.end}},e[n][1].end={...a.start},e[u][1].start={...i.end},s=[],e[n][1].end.offset-e[n][1].start.offset&&(s=Xs(s,[["enter",e[n][1],t],["exit",e[n][1],t]])),s=Xs(s,[["enter",r,t],["enter",a,t],["exit",a,t],["enter",o,t]]),s=Xs(s,kc(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),s=Xs(s,[["exit",o,t],["enter",i,t],["exit",i,t],["exit",r,t]]),e[u][1].end.offset-e[u][1].start.offset?(c=2,s=Xs(s,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,Ys(e,n-1,u-n+3,s),u=n+s.length-c-2;break}for(u=-1;++u<e.length;)"attentionSequence"===e[u][1].type&&(e[u][1].type="data");return e},tokenize:function(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,o=xc(r);let a;return function(t){return a=t,e.enter("attentionSequence"),i(t)};function i(l){if(l===a)return e.consume(l),i;const s=e.exit("attentionSequence"),c=xc(l),u=!c||2===c&&o||n.includes(l),d=!o||2===o&&c||n.includes(r);return s._open=Boolean(42===a?u:u&&(o||!d)),s._close=Boolean(42===a?d:d&&(c||!u)),t(l)}}};function wc(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const _c={name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o};function o(t){return nc(t)?(e.consume(t),a):64===t?n(t):s(t)}function a(e){return 43===e||45===e||46===e||rc(e)?(r=1,i(e)):s(e)}function i(t){return 58===t?(e.consume(t),r=0,l):(43===t||45===t||46===t||rc(t))&&r++<32?(e.consume(t),i):(r=0,s(t))}function l(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||ac(r)?n(r):(e.consume(r),l)}function s(t){return 64===t?(e.consume(t),c):oc(t)?(e.consume(t),s):n(t)}function c(e){return rc(e)?u(e):n(e)}function u(n){return 46===n?(e.consume(n),r=0,c):62===n?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t):d(n)}function d(t){if((45===t||rc(t))&&r++<63){const n=45===t?d:u;return e.consume(t),n}return n(t)}}},Cc={partial:!0,tokenize:function(e,t,n){return function(t){return dc(t)?mc(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||cc(e)?t(e):n(e)}}},Ec={continuation:{tokenize:function(e,t,n){const r=this;return function(t){return dc(t)?mc(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):o(t)};function o(r){return e.attempt(Ec,t,n)(r)}}},exit:function(e){e.exit("blockQuote")},name:"blockQuote",tokenize:function(e,t,n){const r=this;return function(t){if(62===t){const n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),o}return n(t)};function o(n){return dc(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}},Pc={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return sc(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},zc={name:"characterReference",tokenize:function(e,t,n){const r=this;let o,a,i=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),l};function l(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),s):(e.enter("characterReferenceValue"),o=31,a=rc,c(t))}function s(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,a=lc,c):(e.enter("characterReferenceValue"),o=7,a=ic,c(t))}function c(l){if(59===l&&i){const o=e.exit("characterReferenceValue");return a!==rc||Gs(r.sliceSerialize(o))?(e.enter("characterReferenceMarker"),e.consume(l),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(l)}return a(l)&&i++<o?(e.consume(l),c):n(l)}}},Tc={partial:!0,tokenize:function(e,t,n){const r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o)};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},Rc={concrete:!0,name:"codeFenced",tokenize:function(e,t,n){const r=this,o={partial:!0,tokenize:function(e,t,n){let o=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i};function i(t){return e.enter("codeFencedFence"),dc(t)?mc(e,s,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):s(t)}function s(t){return t===a?(e.enter("codeFencedFenceSequence"),c(t)):n(t)}function c(t){return t===a?(o++,e.consume(t),c):o>=l?(e.exit("codeFencedFenceSequence"),dc(t)?mc(e,u,"whitespace")(t):u(t)):n(t)}function u(r){return null===r||cc(r)?(e.exit("codeFencedFence"),t(r)):n(r)}}};let a,i=0,l=0;return function(t){return function(t){const n=r.events[r.events.length-1];return i=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,a=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),s(t)}(t)};function s(t){return t===a?(l++,e.consume(t),s):l<3?n(t):(e.exit("codeFencedFenceSequence"),dc(t)?mc(e,c,"whitespace")(t):c(t))}function c(n){return null===n||cc(n)?(e.exit("codeFencedFence"),r.interrupt?t(n):e.check(Tc,p,v)(n)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),u(n))}function u(t){return null===t||cc(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),c(t)):dc(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),mc(e,d,"whitespace")(t)):96===t&&t===a?n(t):(e.consume(t),u)}function d(t){return null===t||cc(t)?c(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),f(t))}function f(t){return null===t||cc(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),c(t)):96===t&&t===a?n(t):(e.consume(t),f)}function p(t){return e.attempt(o,v,h)(t)}function h(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),g}function g(t){return i>0&&dc(t)?mc(e,m,"linePrefix",i+1)(t):m(t)}function m(t){return null===t||cc(t)?e.check(Tc,p,v)(t):(e.enter("codeFlowValue"),b(t))}function b(t){return null===t||cc(t)?(e.exit("codeFlowValue"),m(t)):(e.consume(t),b)}function v(n){return e.exit("codeFenced"),t(n)}}},Ic={name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("codeIndented"),mc(e,o,"linePrefix",5)(t)};function o(e){const t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?a(e):n(e)}function a(t){return null===t?l(t):cc(t)?e.attempt(Oc,a,l)(t):(e.enter("codeFlowValue"),i(t))}function i(t){return null===t||cc(t)?(e.exit("codeFlowValue"),a(t)):(e.consume(t),i)}function l(n){return e.exit("codeIndented"),t(n)}}},Oc={partial:!0,tokenize:function(e,t,n){const r=this;return o;function o(t){return r.parser.lazy[r.now().line]?n(t):cc(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o):mc(e,a,"linePrefix",5)(t)}function a(e){const a=r.events[r.events.length-1];return a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(e):cc(e)?o(e):n(e)}}},Ac={name:"codeText",previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type},resolve:function(e){let t,n,r=e.length-4,o=3;if(!("lineEnding"!==e[o][1].type&&"space"!==e[o][1].type||"lineEnding"!==e[r][1].type&&"space"!==e[r][1].type))for(t=o;++t<r;)if("codeTextData"===e[t][1].type){e[o][1].type="codeTextPadding",e[r][1].type="codeTextPadding",o+=2,r-=2;break}for(t=o-1,r++;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):t!==r&&"lineEnding"!==e[t][1].type||(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},tokenize:function(e,t,n){let r,o,a=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),i(t)};function i(t){return 96===t?(e.consume(t),a++,i):(e.exit("codeTextSequence"),l(t))}function l(t){return null===t?n(t):32===t?(e.enter("space"),e.consume(t),e.exit("space"),l):96===t?(o=e.enter("codeTextSequence"),r=0,c(t)):cc(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l):(e.enter("codeTextData"),s(t))}function s(t){return null===t||32===t||96===t||cc(t)?(e.exit("codeTextData"),l(t)):(e.consume(t),s)}function c(n){return 96===n?(e.consume(n),r++,c):r===a?(e.exit("codeTextSequence"),e.exit("codeText"),t(n)):(o.type="codeTextData",s(n))}}};class Dc{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,t){const n=null==t?Number.POSITIVE_INFINITY:t;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){const r=t||0;this.setCursor(Math.trunc(e));const o=this.right.splice(this.right.length-r,Number.POSITIVE_INFINITY);return n&&Nc(this.left,n),o.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),Nc(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),Nc(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&0===this.right.length||e<0&&0===this.left.length))if(e<this.left.length){const t=this.left.splice(e,Number.POSITIVE_INFINITY);Nc(this.right,t.reverse())}else{const t=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);Nc(this.left,t.reverse())}}}function Nc(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function Fc(e){const t={};let n,r,o,a,i,l,s,c=-1;const u=new Dc(e);for(;++c<u.length;){for(;c in t;)c=t[c];if(n=u.get(c),c&&"chunkFlow"===n[1].type&&"listItemPrefix"===u.get(c-1)[1].type&&(l=n[1]._tokenizer.events,o=0,o<l.length&&"lineEndingBlank"===l[o][1].type&&(o+=2),o<l.length&&"content"===l[o][1].type))for(;++o<l.length&&"content"!==l[o][1].type;)"chunkText"===l[o][1].type&&(l[o][1]._isInFirstContentOfListItem=!0,o++);if("enter"===n[0])n[1].contentType&&(Object.assign(t,jc(u,c)),c=t[c],s=!0);else if(n[1]._container){for(o=c,r=void 0;o--;)if(a=u.get(o),"lineEnding"===a[1].type||"lineEndingBlank"===a[1].type)"enter"===a[0]&&(r&&(u.get(r)[1].type="lineEndingBlank"),a[1].type="lineEnding",r=o);else if("linePrefix"!==a[1].type&&"listItemIndent"!==a[1].type)break;r&&(n[1].end={...u.get(r)[1].start},i=u.slice(r,c),i.unshift(n),u.splice(r,c-r+1,i))}}return Ys(e,0,Number.POSITIVE_INFINITY,u.slice(0)),!s}function jc(e,t){const n=e.get(t)[1],r=e.get(t)[2];let o=t-1;const a=[];let i=n._tokenizer;i||(i=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(i._contentTypeTextTrailing=!0));const l=i.events,s=[],c={};let u,d,f=-1,p=n,h=0,g=0;const m=[g];for(;p;){for(;e.get(++o)[1]!==p;);a.push(o),p._tokenizer||(u=r.sliceStream(p),p.next||u.push(null),d&&i.defineSkip(p.start),p._isInFirstContentOfListItem&&(i._gfmTasklistFirstContentOfListItem=!0),i.write(u),p._isInFirstContentOfListItem&&(i._gfmTasklistFirstContentOfListItem=void 0)),d=p,p=p.next}for(p=n;++f<l.length;)"exit"===l[f][0]&&"enter"===l[f-1][0]&&l[f][1].type===l[f-1][1].type&&l[f][1].start.line!==l[f][1].end.line&&(g=f+1,m.push(g),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(i.events=[],p?(p._tokenizer=void 0,p.previous=void 0):m.pop(),f=m.length;f--;){const t=l.slice(m[f],m[f+1]),n=a.pop();s.push([n,n+t.length-1]),e.splice(n,2,t)}for(s.reverse(),f=-1;++f<s.length;)c[h+s[f][0]]=h+s[f][1],h+=s[f][1]-s[f][0]-1;return c}const Mc={resolve:function(e){return Fc(e),e},tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?o(t):cc(t)?e.check(Lc,a,o)(t):(e.consume(t),r)}function o(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function a(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}},Lc={partial:!0,tokenize:function(e,t,n){const r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),mc(e,o,"linePrefix")};function o(o){if(null===o||cc(o))return n(o);const a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}}};function Wc(e,t,n,r,o,a,i,l,s){const c=s||Number.POSITIVE_INFINITY;let u=0;return function(t){return 60===t?(e.enter(r),e.enter(o),e.enter(a),e.consume(t),e.exit(a),d):null===t||32===t||41===t||ac(t)?n(t):(e.enter(r),e.enter(i),e.enter(l),e.enter("chunkString",{contentType:"string"}),h(t))};function d(n){return 62===n?(e.enter(a),e.consume(n),e.exit(a),e.exit(o),e.exit(r),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),f(n))}function f(t){return 62===t?(e.exit("chunkString"),e.exit(l),d(t)):null===t||60===t||cc(t)?n(t):(e.consume(t),92===t?p:f)}function p(t){return 60===t||62===t||92===t?(e.consume(t),f):f(t)}function h(o){return u||null!==o&&41!==o&&!uc(o)?u<c&&40===o?(e.consume(o),u++,h):41===o?(e.consume(o),u--,h):null===o||32===o||40===o||ac(o)?n(o):(e.consume(o),92===o?g:h):(e.exit("chunkString"),e.exit(l),e.exit(i),e.exit(r),t(o))}function g(t){return 40===t||41===t||92===t?(e.consume(t),h):h(t)}}function Bc(e,t,n,r,o,a){const i=this;let l,s=0;return function(t){return e.enter(r),e.enter(o),e.consume(t),e.exit(o),e.enter(a),c};function c(d){return s>999||null===d||91===d||93===d&&!l||94===d&&!s&&"_hiddenFootnoteSupport"in i.parser.constructs?n(d):93===d?(e.exit(a),e.enter(o),e.consume(d),e.exit(o),e.exit(r),t):cc(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),u(d))}function u(t){return null===t||91===t||93===t||cc(t)||s++>999?(e.exit("chunkString"),c(t)):(e.consume(t),l||(l=!dc(t)),92===t?d:u)}function d(t){return 91===t||92===t||93===t?(e.consume(t),s++,u):u(t)}}function $c(e,t,n,r,o,a){let i;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(o),e.consume(t),e.exit(o),i=40===t?41:t,l):n(t)};function l(n){return n===i?(e.enter(o),e.consume(n),e.exit(o),e.exit(r),t):(e.enter(a),s(n))}function s(t){return t===i?(e.exit(a),l(i)):null===t?n(t):cc(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),mc(e,s,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===i||null===t||cc(t)?(e.exit("chunkString"),s(t)):(e.consume(t),92===t?u:c)}function u(t){return t===i||92===t?(e.consume(t),c):c(t)}}function Vc(e,t){let n;return function r(o){return cc(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n=!0,r):dc(o)?mc(e,r,n?"linePrefix":"lineSuffix")(o):t(o)}}const Hc={name:"definition",tokenize:function(e,t,n){const r=this;let o;return function(t){return e.enter("definition"),function(t){return Bc.call(r,e,a,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}(t)};function a(t){return o=tc(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),i):n(t)}function i(t){return uc(t)?Vc(e,l)(t):l(t)}function l(t){return Wc(e,s,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function s(t){return e.attempt(Uc,c,c)(t)}function c(t){return dc(t)?mc(e,u,"whitespace")(t):u(t)}function u(a){return null===a||cc(a)?(e.exit("definition"),r.parser.defined.push(o),t(a)):n(a)}}},Uc={partial:!0,tokenize:function(e,t,n){return function(t){return uc(t)?Vc(e,r)(t):n(t)};function r(t){return $c(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function o(t){return dc(t)?mc(e,a,"whitespace")(t):a(t)}function a(e){return null===e||cc(e)?t(e):n(e)}}},qc={name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return cc(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},Gc={name:"headingAtx",resolve:function(e,t){let n,r,o=e.length-2,a=3;return"whitespace"===e[a][1].type&&(a+=2),o-2>a&&"whitespace"===e[o][1].type&&(o-=2),"atxHeadingSequence"===e[o][1].type&&(a===o-1||o-4>a&&"whitespace"===e[o-2][1].type)&&(o-=a+1===o?2:4),o>a&&(n={type:"atxHeadingText",start:e[a][1].start,end:e[o][1].end},r={type:"chunkText",start:e[a][1].start,end:e[o][1].end,contentType:"text"},Ys(e,a,o-a+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e},tokenize:function(e,t,n){let r=0;return function(t){return e.enter("atxHeading"),function(t){return e.enter("atxHeadingSequence"),o(t)}(t)};function o(t){return 35===t&&r++<6?(e.consume(t),o):null===t||uc(t)?(e.exit("atxHeadingSequence"),a(t)):n(t)}function a(n){return 35===n?(e.enter("atxHeadingSequence"),i(n)):null===n||cc(n)?(e.exit("atxHeading"),t(n)):dc(n)?mc(e,a,"whitespace")(n):(e.enter("atxHeadingText"),l(n))}function i(t){return 35===t?(e.consume(t),i):(e.exit("atxHeadingSequence"),a(t))}function l(t){return null===t||35===t||uc(t)?(e.exit("atxHeadingText"),a(t)):(e.consume(t),l)}}},Yc=["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"],Xc=["pre","script","style","textarea"],Kc={concrete:!0,name:"htmlFlow",resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},tokenize:function(e,t,n){const r=this;let o,a,i,l,s;return function(t){return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),c}(t)};function c(l){return 33===l?(e.consume(l),u):47===l?(e.consume(l),a=!0,p):63===l?(e.consume(l),o=3,r.interrupt?t:D):nc(l)?(e.consume(l),i=String.fromCharCode(l),h):n(l)}function u(a){return 45===a?(e.consume(a),o=2,d):91===a?(e.consume(a),o=5,l=0,f):nc(a)?(e.consume(a),o=4,r.interrupt?t:D):n(a)}function d(o){return 45===o?(e.consume(o),r.interrupt?t:D):n(o)}function f(o){return o==="CDATA[".charCodeAt(l++)?(e.consume(o),6===l?r.interrupt?t:E:f):n(o)}function p(t){return nc(t)?(e.consume(t),i=String.fromCharCode(t),h):n(t)}function h(l){if(null===l||47===l||62===l||uc(l)){const s=47===l,c=i.toLowerCase();return s||a||!Xc.includes(c)?Yc.includes(i.toLowerCase())?(o=6,s?(e.consume(l),g):r.interrupt?t(l):E(l)):(o=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(l):a?m(l):b(l)):(o=1,r.interrupt?t(l):E(l))}return 45===l||rc(l)?(e.consume(l),i+=String.fromCharCode(l),h):n(l)}function g(o){return 62===o?(e.consume(o),r.interrupt?t:E):n(o)}function m(t){return dc(t)?(e.consume(t),m):_(t)}function b(t){return 47===t?(e.consume(t),_):58===t||95===t||nc(t)?(e.consume(t),v):dc(t)?(e.consume(t),b):_(t)}function v(t){return 45===t||46===t||58===t||95===t||rc(t)?(e.consume(t),v):y(t)}function y(t){return 61===t?(e.consume(t),x):dc(t)?(e.consume(t),y):b(t)}function x(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),s=t,k):dc(t)?(e.consume(t),x):S(t)}function k(t){return t===s?(e.consume(t),s=null,w):null===t||cc(t)?n(t):(e.consume(t),k)}function S(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||uc(t)?y(t):(e.consume(t),S)}function w(e){return 47===e||62===e||dc(e)?b(e):n(e)}function _(t){return 62===t?(e.consume(t),C):n(t)}function C(t){return null===t||cc(t)?E(t):dc(t)?(e.consume(t),C):n(t)}function E(t){return 45===t&&2===o?(e.consume(t),R):60===t&&1===o?(e.consume(t),I):62===t&&4===o?(e.consume(t),N):63===t&&3===o?(e.consume(t),D):93===t&&5===o?(e.consume(t),A):!cc(t)||6!==o&&7!==o?null===t||cc(t)?(e.exit("htmlFlowData"),P(t)):(e.consume(t),E):(e.exit("htmlFlowData"),e.check(Qc,F,P)(t))}function P(t){return e.check(Jc,z,F)(t)}function z(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),T}function T(t){return null===t||cc(t)?P(t):(e.enter("htmlFlowData"),E(t))}function R(t){return 45===t?(e.consume(t),D):E(t)}function I(t){return 47===t?(e.consume(t),i="",O):E(t)}function O(t){if(62===t){const n=i.toLowerCase();return Xc.includes(n)?(e.consume(t),N):E(t)}return nc(t)&&i.length<8?(e.consume(t),i+=String.fromCharCode(t),O):E(t)}function A(t){return 93===t?(e.consume(t),D):E(t)}function D(t){return 62===t?(e.consume(t),N):45===t&&2===o?(e.consume(t),D):E(t)}function N(t){return null===t||cc(t)?(e.exit("htmlFlowData"),F(t)):(e.consume(t),N)}function F(n){return e.exit("htmlFlow"),t(n)}}},Qc={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(Cc,t,n)}}},Jc={partial:!0,tokenize:function(e,t,n){const r=this;return function(t){return cc(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o):n(t)};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},Zc={name:"htmlText",tokenize:function(e,t,n){const r=this;let o,a,i;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),l};function l(t){return 33===t?(e.consume(t),s):47===t?(e.consume(t),x):63===t?(e.consume(t),v):nc(t)?(e.consume(t),w):n(t)}function s(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),a=0,p):nc(t)?(e.consume(t),b):n(t)}function c(t){return 45===t?(e.consume(t),f):n(t)}function u(t){return null===t?n(t):45===t?(e.consume(t),d):cc(t)?(i=u,O(t)):(e.consume(t),u)}function d(t){return 45===t?(e.consume(t),f):u(t)}function f(e){return 62===e?I(e):45===e?d(e):u(e)}function p(t){return t==="CDATA[".charCodeAt(a++)?(e.consume(t),6===a?h:p):n(t)}function h(t){return null===t?n(t):93===t?(e.consume(t),g):cc(t)?(i=h,O(t)):(e.consume(t),h)}function g(t){return 93===t?(e.consume(t),m):h(t)}function m(t){return 62===t?I(t):93===t?(e.consume(t),m):h(t)}function b(t){return null===t||62===t?I(t):cc(t)?(i=b,O(t)):(e.consume(t),b)}function v(t){return null===t?n(t):63===t?(e.consume(t),y):cc(t)?(i=v,O(t)):(e.consume(t),v)}function y(e){return 62===e?I(e):v(e)}function x(t){return nc(t)?(e.consume(t),k):n(t)}function k(t){return 45===t||rc(t)?(e.consume(t),k):S(t)}function S(t){return cc(t)?(i=S,O(t)):dc(t)?(e.consume(t),S):I(t)}function w(t){return 45===t||rc(t)?(e.consume(t),w):47===t||62===t||uc(t)?_(t):n(t)}function _(t){return 47===t?(e.consume(t),I):58===t||95===t||nc(t)?(e.consume(t),C):cc(t)?(i=_,O(t)):dc(t)?(e.consume(t),_):I(t)}function C(t){return 45===t||46===t||58===t||95===t||rc(t)?(e.consume(t),C):E(t)}function E(t){return 61===t?(e.consume(t),P):cc(t)?(i=E,O(t)):dc(t)?(e.consume(t),E):_(t)}function P(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),o=t,z):cc(t)?(i=P,O(t)):dc(t)?(e.consume(t),P):(e.consume(t),T)}function z(t){return t===o?(e.consume(t),o=void 0,R):null===t?n(t):cc(t)?(i=z,O(t)):(e.consume(t),z)}function T(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||uc(t)?_(t):(e.consume(t),T)}function R(e){return 47===e||62===e||uc(e)?_(e):n(e)}function I(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function O(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),A}function A(t){return dc(t)?mc(e,D,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):D(t)}function D(t){return e.enter("htmlTextData"),i(t)}}},eu={name:"labelEnd",resolveAll:function(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),"labelImage"===r.type||"labelLink"===r.type||"labelEnd"===r.type){const e="labelImage"===r.type?4:2;r.type="data",t+=e}}return e.length!==n.length&&Ys(e,0,e.length,n),e},resolveTo:function(e,t){let n,r,o,a,i=e.length,l=0;for(;i--;)if(n=e[i][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[i][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(o){if("enter"===e[i][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=i,"labelLink"!==n.type)){l=2;break}}else"labelEnd"===n.type&&(o=i);const s={type:"labelLink"===e[r][1].type?"link":"image",start:{...e[r][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[r][1].start},end:{...e[o][1].end}},u={type:"labelText",start:{...e[r+l+2][1].end},end:{...e[o-2][1].start}};return a=[["enter",s,t],["enter",c,t]],a=Xs(a,e.slice(r+1,r+l+3)),a=Xs(a,[["enter",u,t]]),a=Xs(a,kc(t.parser.constructs.insideSpan.null,e.slice(r+l+4,o-3),t)),a=Xs(a,[["exit",u,t],e[o-2],e[o-1],["exit",c,t]]),a=Xs(a,e.slice(o+1)),a=Xs(a,[["exit",s,t]]),Ys(e,r,e.length,a),e},tokenize:function(e,t,n){const r=this;let o,a,i=r.events.length;for(;i--;)if(("labelImage"===r.events[i][1].type||"labelLink"===r.events[i][1].type)&&!r.events[i][1]._balanced){o=r.events[i][1];break}return function(t){return o?o._inactive?u(t):(a=r.parser.defined.includes(tc(r.sliceSerialize({start:o.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),l):n(t)};function l(t){return 40===t?e.attempt(tu,c,a?c:u)(t):91===t?e.attempt(nu,c,a?s:u)(t):a?c(t):u(t)}function s(t){return e.attempt(ru,c,u)(t)}function c(e){return t(e)}function u(e){return o._balanced=!0,n(e)}}},tu={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return uc(t)?Vc(e,o)(t):o(t)}function o(t){return 41===t?c(t):Wc(e,a,i,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function a(t){return uc(t)?Vc(e,l)(t):c(t)}function i(e){return n(e)}function l(t){return 34===t||39===t||40===t?$c(e,s,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):c(t)}function s(t){return uc(t)?Vc(e,c)(t):c(t)}function c(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},nu={tokenize:function(e,t,n){const r=this;return function(t){return Bc.call(r,e,o,a,"reference","referenceMarker","referenceString")(t)};function o(e){return r.parser.defined.includes(tc(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function a(e){return n(e)}}},ru={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}},ou={name:"labelStartImage",resolveAll:eu.resolveAll,tokenize:function(e,t,n){const r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),o};function o(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),a):n(t)}function a(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}},au={name:"labelStartLink",resolveAll:eu.resolveAll,tokenize:function(e,t,n){const r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),o};function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}},iu={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),mc(e,t,"linePrefix")}}},lu={name:"thematicBreak",tokenize:function(e,t,n){let r,o=0;return function(t){return e.enter("thematicBreak"),function(e){return r=e,a(e)}(t)};function a(a){return a===r?(e.enter("thematicBreakSequence"),i(a)):o>=3&&(null===a||cc(a))?(e.exit("thematicBreak"),t(a)):n(a)}function i(t){return t===r?(e.consume(t),o++,i):(e.exit("thematicBreakSequence"),dc(t)?mc(e,a,"whitespace")(t):a(t))}}},su={continuation:{tokenize:function(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Cc,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,mc(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!dc(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(uu,t,o)(n))});function o(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,mc(e,e.attempt(su,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,n){const r=this,o=r.events[r.events.length-1];let a=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0,i=0;return function(t){const o=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===o?!r.containerState.marker||t===r.containerState.marker:ic(t)){if(r.containerState.type||(r.containerState.type=o,e.enter(o,{_container:!0})),"listUnordered"===o)return e.enter("listItemPrefix"),42===t||45===t?e.check(lu,n,s)(t):s(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(t)}return n(t)};function l(t){return ic(t)&&++i<10?(e.consume(t),l):(!r.interrupt||i<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),s(t)):n(t)}function s(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(Cc,r.interrupt?n:c,e.attempt(cu,d,u))}function c(e){return r.containerState.initialBlankLine=!0,a++,d(e)}function u(t){return dc(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),d):n(t)}function d(n){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}},cu={partial:!0,tokenize:function(e,t,n){const r=this;return mc(e,function(e){const o=r.events[r.events.length-1];return!dc(e)&&o&&"listItemPrefixWhitespace"===o[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},uu={partial:!0,tokenize:function(e,t,n){const r=this;return mc(e,function(e){const o=r.events[r.events.length-1];return o&&"listItemIndent"===o[1].type&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)}},du={name:"setextUnderline",resolveTo:function(e,t){let n,r,o,a=e.length;for(;a--;)if("enter"===e[a][0]){if("content"===e[a][1].type){n=a;break}"paragraph"===e[a][1].type&&(r=a)}else"content"===e[a][1].type&&e.splice(a,1),o||"definition"!==e[a][1].type||(o=a);const i={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",i,t]),e.splice(o+1,0,["exit",e[n][1],t]),e[n][1].end={...e[o][1].end}):e[n][1]=i,e.push(["exit",i,t]),e},tokenize:function(e,t,n){const r=this;let o;return function(t){let i,l=r.events.length;for(;l--;)if("lineEnding"!==r.events[l][1].type&&"linePrefix"!==r.events[l][1].type&&"content"!==r.events[l][1].type){i="paragraph"===r.events[l][1].type;break}return r.parser.lazy[r.now().line]||!r.interrupt&&!i?n(t):(e.enter("setextHeadingLine"),o=t,function(t){return e.enter("setextHeadingLineSequence"),a(t)}(t))};function a(t){return t===o?(e.consume(t),a):(e.exit("setextHeadingLineSequence"),dc(t)?mc(e,i,"lineSuffix")(t):i(t))}function i(r){return null===r||cc(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}},fu={tokenize:function(e){const t=this,n=e.attempt(Cc,function(r){if(null!==r)return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n;e.consume(r)},e.attempt(this.parser.constructs.flowInitial,r,mc(e,e.attempt(this.parser.constructs.flow,r,e.attempt(Mc,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}},pu={resolveAll:bu()},hu=mu("string"),gu=mu("text");function mu(e){return{resolveAll:bu("text"===e?vu:void 0),tokenize:function(t){const n=this,r=this.parser.constructs[e],o=t.attempt(r,a,i);return a;function a(e){return s(e)?o(e):i(e)}function i(e){if(null!==e)return t.enter("data"),t.consume(e),l;t.consume(e)}function l(e){return s(e)?(t.exit("data"),o(e)):(t.consume(e),l)}function s(e){if(null===e)return!0;const t=r[e];let o=-1;if(t)for(;++o<t.length;){const e=t[o];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}}function bu(e){return function(t,n){let r,o=-1;for(;++o<=t.length;)void 0===r?t[o]&&"data"===t[o][1].type&&(r=o,o++):t[o]&&"data"===t[o][1].type||(o!==r+2&&(t[r][1].end=t[o-1][1].end,t.splice(r+2,o-r-2),o=r+2),r=void 0);return e?e(t,n):t}}function vu(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){const r=e[n-1][1],o=t.sliceStream(r);let a,i=o.length,l=-1,s=0;for(;i--;){const e=o[i];if("string"==typeof e){for(l=e.length;32===e.charCodeAt(l-1);)s++,l--;if(l)break;l=-1}else if(-2===e)a=!0,s++;else if(-1!==e){i++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(s=0),s){const o={type:n===e.length||a||s<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:i?l:r.start._bufferIndex+l,_index:r.start._index+i,line:r.end.line,column:r.end.column-s,offset:r.end.offset-s},end:{...r.end}};r.end={...o.start},r.start.offset===r.end.offset?Object.assign(r,o):(e.splice(n,0,["enter",o,t],["exit",o,t]),n+=2)}n++}return e}const yu={42:su,43:su,45:su,48:su,49:su,50:su,51:su,52:su,53:su,54:su,55:su,56:su,57:su,62:Ec},xu={91:Hc},ku={[-2]:Ic,[-1]:Ic,32:Ic},Su={35:Gc,42:lu,45:[du,lu],60:Kc,61:du,95:lu,96:Rc,126:Rc},wu={38:zc,92:Pc},_u={[-5]:iu,[-4]:iu,[-3]:iu,33:ou,38:zc,42:Sc,60:[_c,Zc],91:au,92:[qc,Pc],93:eu,95:Sc,96:Ac},Cu={null:[Sc,pu]},Eu=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:xu,disable:{null:[]},document:yu,flow:Su,flowInitial:ku,insideSpan:Cu,string:wu,text:_u},Symbol.toStringTag,{value:"Module"}));function Pu(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const o={},a=[];let i=[],l=[];const s={attempt:g(function(e,t){m(e,t.from)}),check:g(h),consume:function(e){cc(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,b()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===i[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=e},enter:function(e,t){const n=t||{};return n.type=e,n.start=f(),c.events.push(["enter",n,c]),l.push(n),n},exit:function(e){const t=l.pop();return t.end=f(),c.events.push(["exit",t,c]),t},interrupt:g(h,{interrupt:!0})},c={code:null,containerState:{},defineSkip:function(e){o[e.line]=e.column,b()},events:[],now:f,parser:e,previous:null,sliceSerialize:function(e,t){return function(e,t){let n=-1;const r=[];let o;for(;++n<e.length;){const a=e[n];let i;if("string"==typeof a)i=a;else switch(a){case-5:i="\r";break;case-4:i="\n";break;case-3:i="\r\n";break;case-2:i=t?" ":"\t";break;case-1:if(!t&&o)continue;i=" ";break;default:i=String.fromCharCode(a)}o=-2===a,r.push(i)}return r.join("")}(d(e),t)},sliceStream:d,write:function(e){return i=Xs(i,e),function(){let e;for(;r._index<i.length;){const t=i[r._index];if("string"==typeof t)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)p(t.charCodeAt(r._bufferIndex));else p(t)}}(),null!==i[i.length-1]?[]:(m(t,0),c.events=kc(a,c.events,c),c.events)}};let u=t.tokenize.call(c,s);return t.resolveAll&&a.push(t),c;function d(e){return function(e,t){const n=t.start._index,r=t.start._bufferIndex,o=t.end._index,a=t.end._bufferIndex;let i;if(n===o)i=[e[n].slice(r,a)];else{if(i=e.slice(n,o),r>-1){const e=i[0];"string"==typeof e?i[0]=e.slice(r):i.shift()}a>0&&i.push(e[o].slice(0,a))}return i}(i,e)}function f(){const{_bufferIndex:e,_index:t,line:n,column:o,offset:a}=r;return{_bufferIndex:e,_index:t,line:n,column:o,offset:a}}function p(e){u=u(e)}function h(e,t){t.restore()}function g(e,t){return function(n,o,a){let i,u,d,p;return Array.isArray(n)?g(n):"tokenize"in n?g([n]):(h=n,function(e){const t=null!==e&&h[e],n=null!==e&&h.null;return g([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(n)?n:n?[n]:[]])(e)});var h;function g(e){return i=e,u=0,0===e.length?a:m(e[u])}function m(e){return function(n){return p=function(){const e=f(),t=c.previous,n=c.currentConstruct,o=c.events.length,a=Array.from(l);return{from:o,restore:function(){r=e,c.previous=t,c.currentConstruct=n,c.events.length=o,l=a,b()}}}(),d=e,e.partial||(c.currentConstruct=e),e.name&&c.parser.constructs.disable.null.includes(e.name)?y():e.tokenize.call(t?Object.assign(Object.create(c),t):c,s,v,y)(n)}}function v(t){return e(d,p),o}function y(e){return p.restore(),++u<i.length?m(i[u]):a}}}function m(e,t){e.resolveAll&&!a.includes(e)&&a.push(e),e.resolve&&Ys(c.events,t,c.events.length-t,e.resolve(c.events.slice(t),c)),e.resolveTo&&(c.events=e.resolveTo(c.events,c))}function b(){r.line in o&&r.column<2&&(r.column=o[r.line],r.offset+=o[r.line]-1)}}const zu=/[\0\t\n\r]/g,Tu=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Ru(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return ec(n.slice(t?2:1),t?16:10)}return Gs(n)||e}const Iu={}.hasOwnProperty;function Ou(e,t,n){return"string"!=typeof t&&(n=t,t=void 0),function(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(v),autolinkProtocol:u,autolinkEmail:u,atxHeading:o(g),blockQuote:o(function(){return{type:"blockquote",children:[]}}),characterEscape:u,characterReference:u,codeFenced:o(h),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:o(h,a),codeText:o(function(){return{type:"inlineCode",value:""}},a),codeTextData:u,data:u,codeFlowValue:u,definition:o(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:o(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:o(m),hardBreakTrailing:o(m),htmlFlow:o(b,a),htmlFlowData:u,htmlText:o(b,a),htmlTextData:u,image:o(function(){return{type:"image",title:null,url:"",alt:null}}),label:a,link:o(v),listItem:o(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){this.data.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0)},listOrdered:o(y,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:o(y),paragraph:o(function(){return{type:"paragraph",children:[]}}),reference:function(){this.data.referenceType="collapsed"},referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:o(g),strong:o(function(){return{type:"strong",children:[]}}),thematicBreak:o(function(){return{type:"thematicBreak"}})},exit:{atxHeading:l(),atxHeadingSequence:function(e){const t=this.stack[this.stack.length-1];if(!t.depth){const n=this.sliceSerialize(e).length;t.depth=n}},autolink:l(),autolinkEmail:function(e){d.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){d.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:l(),characterEscapeValue:d,characterReferenceMarkerHexadecimal:p,characterReferenceMarkerNumeric:p,characterReferenceValue:function(e){const t=this.sliceSerialize(e),n=this.data.characterReferenceType;let r;n?(r=ec(t,"characterReferenceMarkerNumeric"===n?10:16),this.data.characterReferenceType=void 0):r=Gs(t);this.stack[this.stack.length-1].value+=r},characterReference:function(e){this.stack.pop().position.end=Au(e.end)},codeFenced:l(function(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){const e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){const e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:d,codeIndented:l(function(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:l(function(){const e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:d,data:d,definition:l(),definitionDestinationString:function(){const e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=tc(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){const e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:l(),hardBreakEscape:l(f),hardBreakTrailing:l(f),htmlFlow:l(function(){const e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:d,htmlText:l(function(){const e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:d,image:l(function(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),label:function(){const e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];if(this.data.inReference=!0,"link"===n.type){const t=e.children;n.children=t}else n.alt=t},labelText:function(e){const t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=function(e){return e.replace(Tu,Ru)}(t),n.identifier=tc(t).toLowerCase()},lineEnding:function(e){const n=this.stack[this.stack.length-1];if(this.data.atHardBreak)return n.children[n.children.length-1].position.end=Au(e.end),void(this.data.atHardBreak=void 0);!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(u.call(this,e),d.call(this,e))},link:l(function(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:function(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=tc(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){const e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){const e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){this.data.inReference=void 0},setextHeading:l(function(){this.data.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:l(),thematicBreak:l()}};Du(t,(e||{}).mdastExtensions||[]);const n={};return function(e){let o={type:"root",children:[]};const l={stack:[o],tokenStack:[],config:t,enter:i,exit:s,buffer:a,resume:c,data:n},u=[];let d=-1;for(;++d<e.length;)"listOrdered"!==e[d][1].type&&"listUnordered"!==e[d][1].type||("enter"===e[d][0]?u.push(d):d=r(e,u.pop(),d));for(d=-1;++d<e.length;){const n=t[e[d][0]];Iu.call(n,e[d][1].type)&&n[e[d][1].type].call(Object.assign({sliceSerialize:e[d][2].sliceSerialize},l),e[d][1])}if(l.tokenStack.length>0){const e=l.tokenStack[l.tokenStack.length-1];(e[1]||Fu).call(l,void 0,e[0])}for(o.position={start:Au(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:Au(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},d=-1;++d<t.transforms.length;)o=t.transforms[d](o)||o;return o};function r(e,t,n){let r,o,a,i,l=t-1,s=-1,c=!1;for(;++l<=n;){const t=e[l];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?s++:s--,i=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||i||s||a||(a=l),i=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:i=void 0}if(!s&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===s&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let i=l;for(o=void 0;i--;){const t=e[i];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;o&&(e[o][1].type="lineEndingBlank",c=!0),t[1].type="lineEnding",o=i}else if("linePrefix"!==t[1].type&&"blockQuotePrefix"!==t[1].type&&"blockQuotePrefixWhitespace"!==t[1].type&&"blockQuoteMarker"!==t[1].type&&"listItemIndent"!==t[1].type)break}a&&(!o||a<o)&&(r._spread=!0),r.end=Object.assign({},o?e[o][1].start:t[1].end),e.splice(o||l,0,["exit",r,t[2]]),l++,n++}if("listItemPrefix"===t[1].type){const o={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};r=o,e.splice(l,0,["enter",o,t[2]]),l++,n++,a=void 0,i=!0}}}return e[t][1]._spread=c,n}function o(e,t){return function(n){i.call(this,e(n),n),t&&t.call(this,n)}}function a(){this.stack.push({type:"fragment",children:[]})}function i(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n||void 0]),e.position={start:Au(t.start),end:void 0}}function l(e){return function(t){e&&e.call(this,t),s.call(this,t)}}function s(e,t){const n=this.stack.pop(),r=this.tokenStack.pop();if(!r)throw new Error("Cannot close `"+e.type+"` ("+ks({start:e.start,end:e.end})+"): it’s not open");r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||Fu).call(this,e,r[0])),n.position.end=Au(e.end)}function c(){return Vs(this.stack.pop())}function u(e){const t=this.stack[this.stack.length-1].children;let n=t[t.length-1];n&&"text"===n.type||(n={type:"text",value:""},n.position={start:Au(e.start),end:void 0},t.push(n)),this.stack.push(n)}function d(e){const t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=Au(e.end)}function f(){this.data.atHardBreak=!0}function p(e){this.data.characterReferenceType=e.type}function h(){return{type:"code",lang:null,meta:null,value:""}}function g(){return{type:"heading",depth:0,children:[]}}function m(){return{type:"break"}}function b(){return{type:"html",value:""}}function v(){return{type:"link",title:null,url:"",children:[]}}function y(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}}(n)(function(e){for(;!Fc(e););return e}(function(e){const t={constructs:Qs([Eu,...(e||{}).extensions||[]]),content:n(bc),defined:[],document:n(vc),flow:n(fu),lazy:{},string:n(hu),text:n(gu)};return t;function n(e){return function(n){return Pu(t,e,n)}}}(n).document().write(function(){let e,t=1,n="",r=!0;return function(o,a,i){const l=[];let s,c,u,d,f;for(o=n+("string"==typeof o?o.toString():new TextDecoder(a||void 0).decode(o)),u=0,n="",r&&(65279===o.charCodeAt(0)&&u++,r=void 0);u<o.length;){if(zu.lastIndex=u,s=zu.exec(o),d=s&&void 0!==s.index?s.index:o.length,f=o.charCodeAt(d),!s){n=o.slice(u);break}if(10===f&&u===d&&e)l.push(-3),e=void 0;else switch(e&&(l.push(-5),e=void 0),u<d&&(l.push(o.slice(u,d)),t+=d-u),f){case 0:l.push(65533),t++;break;case 9:for(c=4*Math.ceil(t/4),l.push(-2);t++<c;)l.push(-1);break;case 10:l.push(-4),t=1;break;default:e=!0,t=1}u=d+1}return i&&(e&&l.push(-5),n&&l.push(n),l.push(null)),l}}()(e,t,!0))))}function Au(e){return{line:e.line,column:e.column,offset:e.offset}}function Du(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?Du(e,r):Nu(e,r)}}function Nu(e,t){let n;for(n in t)if(Iu.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function Fu(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+ks({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+ks({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+ks({start:t.start,end:t.end})+") is still open")}function ju(e){const t=this;t.parser=function(n){return Ou(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function Mu(e,t){const n=t.referenceType;let r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];const o=e.all(t),a=o[0];a&&"text"===a.type?a.value="["+a.value:o.unshift({type:"text",value:"["});const i=o[o.length-1];return i&&"text"===i.type?i.value+=r:o.push({type:"text",value:r}),o}function Lu(e){const t=e.spread;return null==t?e.children.length>1:t}function Wu(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),o=0;const a=[];for(;r;)a.push(Bu(t.slice(o,r.index),o>0,!0),r[0]),o=r.index+r[0].length,r=n.exec(t);return a.push(Bu(t.slice(o),o>0,!1)),a.join("")}function Bu(e,t,n){let r=0,o=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(o-1);for(;9===t||32===t;)o--,t=e.codePointAt(o-1)}return o>r?e.slice(r,o):""}const $u={blockquote:function(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){const n=t.value?t.value+"\n":"",r={};t.lang&&(r.className=["language-"+t.lang]);let o={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o},delete:function(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){const n="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),o=gc(r.toLowerCase()),a=e.footnoteOrder.indexOf(r);let i,l=e.footnoteCounts.get(r);void 0===l?(l=0,e.footnoteOrder.push(r),i=e.footnoteOrder.length):i=a+1,l+=1,e.footnoteCounts.set(r,l);const s={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+o,id:n+"fnref-"+o+(l>1?"-"+l:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(i)}]};e.patch(t,s);const c={type:"element",tagName:"sup",properties:{},children:[s]};return e.patch(t,c),e.applyData(t,c)},heading:function(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Mu(e,t);const o={src:gc(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(o.title=r.title);const a={type:"element",tagName:"img",properties:o,children:[]};return e.patch(t,a),e.applyData(t,a)},image:function(e,t){const n={src:gc(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Mu(e,t);const o={href:gc(r.url||"")};null!==r.title&&void 0!==r.title&&(o.title=r.title);const a={type:"element",tagName:"a",properties:o,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)},link:function(e,t){const n={href:gc(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){const r=e.all(t),o=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=Lu(n[r])}return t}(n):Lu(t),a={},i=[];if("boolean"==typeof t.checked){const e=r[0];let n;e&&"element"===e.type&&"p"===e.tagName?n=e:(n={type:"element",tagName:"p",properties:{},children:[]},r.unshift(n)),n.children.length>0&&n.children.unshift({type:"text",value:" "}),n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let l=-1;for(;++l<r.length;){const e=r[l];(o||0!==l||"element"!==e.type||"p"!==e.tagName)&&i.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||o?i.push(e):i.push(...e.children)}const s=r[r.length-1];s&&(o||"element"!==s.type||"p"!==s.tagName)&&i.push({type:"text",value:"\n"});const c={type:"element",tagName:"li",properties:a,children:i};return e.patch(t,c),e.applyData(t,c)},list:function(e,t){const n={},r=e.all(t);let o=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++o<r.length;){const e=r[o];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const a={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,a),e.applyData(t,a)},paragraph:function(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){const n=e.all(t),r=n.shift(),o=[];if(r){const n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),o.push(n)}if(n.length>0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},a=ys(t.children[1]),i=vs(t.children[t.children.length-1]);a&&i&&(r.position={start:a,end:i}),o.push(r)}const a={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(t,a),e.applyData(t,a)},tableCell:function(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){const r=n?n.children:void 0,o=0===(r?r.indexOf(t):1)?"th":"td",a=n&&"table"===n.type?n.align:void 0,i=a?a.length:t.children.length;let l=-1;const s=[];for(;++l<i;){const n=t.children[l],r={},i=a?a[l]:void 0;i&&(r.align=i);let c={type:"element",tagName:o,properties:r,children:[]};n&&(c.children=e.all(n),e.patch(n,c),c=e.applyData(n,c)),s.push(c)}const c={type:"element",tagName:"tr",properties:{},children:e.wrap(s,!0)};return e.patch(t,c),e.applyData(t,c)},text:function(e,t){const n={type:"text",value:Wu(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:Vu,yaml:Vu,definition:Vu,footnoteDefinition:Vu};function Vu(){}const Hu="object"==typeof self?self:globalThis,Uu=e=>((e,t)=>{const n=(t,n)=>(e.set(n,t),t),r=o=>{if(e.has(o))return e.get(o);const[a,i]=t[o];switch(a){case 0:case-1:return n(i,o);case 1:{const e=n([],o);for(const t of i)e.push(r(t));return e}case 2:{const e=n({},o);for(const[t,n]of i)e[r(t)]=r(n);return e}case 3:return n(new Date(i),o);case 4:{const{source:e,flags:t}=i;return n(new RegExp(e,t),o)}case 5:{const e=n(new Map,o);for(const[t,n]of i)e.set(r(t),r(n));return e}case 6:{const e=n(new Set,o);for(const t of i)e.add(r(t));return e}case 7:{const{name:e,message:t}=i;return n(new Hu[e](t),o)}case 8:return n(BigInt(i),o);case"BigInt":return n(Object(BigInt(i)),o);case"ArrayBuffer":return n(new Uint8Array(i).buffer,i);case"DataView":{const{buffer:e}=new Uint8Array(i);return n(new DataView(e),i)}}return n(new Hu[a](i),o)};return r})(new Map,e)(0),qu="",{toString:Gu}={},{keys:Yu}=Object,Xu=e=>{const t=typeof e;if("object"!==t||!e)return[0,t];const n=Gu.call(e).slice(8,-1);switch(n){case"Array":return[1,qu];case"Object":return[2,qu];case"Date":return[3,qu];case"RegExp":return[4,qu];case"Map":return[5,qu];case"Set":return[6,qu];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},Ku=([e,t])=>0===e&&("function"===t||"symbol"===t),Qu=(e,{json:t,lossy:n}={})=>{const r=[];return((e,t,n,r)=>{const o=(e,t)=>{const o=r.push(e)-1;return n.set(t,o),o},a=r=>{if(n.has(r))return n.get(r);let[i,l]=Xu(r);switch(i){case 0:{let t=r;switch(l){case"bigint":i=8,t=r.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+l);t=null;break;case"undefined":return o([-1],r)}return o([i,t],r)}case 1:{if(l){let e=r;return"DataView"===l?e=new Uint8Array(r.buffer):"ArrayBuffer"===l&&(e=new Uint8Array(r)),o([l,[...e]],r)}const e=[],t=o([i,e],r);for(const n of r)e.push(a(n));return t}case 2:{if(l)switch(l){case"BigInt":return o([l,r.toString()],r);case"Boolean":case"Number":case"String":return o([l,r.valueOf()],r)}if(t&&"toJSON"in r)return a(r.toJSON());const n=[],s=o([i,n],r);for(const t of Yu(r))!e&&Ku(Xu(r[t]))||n.push([a(t),a(r[t])]);return s}case 3:return o([i,r.toISOString()],r);case 4:{const{source:e,flags:t}=r;return o([i,{source:e,flags:t}],r)}case 5:{const t=[],n=o([i,t],r);for(const[o,i]of r)(e||!Ku(Xu(o))&&!Ku(Xu(i)))&&t.push([a(o),a(i)]);return n}case 6:{const t=[],n=o([i,t],r);for(const o of r)!e&&Ku(Xu(o))||t.push(a(o));return n}}const{message:s}=r;return o([i,{name:l,message:s}],r)};return a})(!(t||n),!!t,new Map,r)(e),r},Ju="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?Uu(Qu(e,t)):structuredClone(e):(e,t)=>Uu(Qu(e,t));function Zu(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function ed(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}const td=function(e){if(null==e)return rd;if("function"==typeof e)return nd(e);if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=td(e[n]);return nd(function(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1})}(e):function(e){const t=e;return nd(function(n){const r=n;let o;for(o in e)if(r[o]!==t[o])return!1;return!0})}(e);if("string"==typeof e)return t=e,nd(function(e){return e&&e.type===t});var t;throw new Error("Expected function, string, or object as test")};function nd(e){return function(t,n,r){return Boolean(function(e){return null!==e&&"object"==typeof e&&"type"in e}(t)&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function rd(){return!0}const od=[],ad=!1;function id(e,t,n,r){let o;"function"==typeof t&&"function"!=typeof n?(r=n,n=t):o=t;const a=td(o),i=r?-1:1;!function e(o,l,s){const c=o&&"object"==typeof o?o:{};if("string"==typeof c.type){const e="string"==typeof c.tagName?c.tagName:"string"==typeof c.name?c.name:void 0;Object.defineProperty(u,"name",{value:"node ("+o.type+(e?"<"+e+">":"")+")"})}return u;function u(){let c,u,d,f=od;if((!t||a(o,l,s[s.length-1]||void 0))&&(f=function(e){return Array.isArray(e)?e:"number"==typeof e?[true,e]:null==e?od:[e]}(n(o,s)),f[0]===ad))return f;if("children"in o&&o.children){const t=o;if(t.children&&"skip"!==f[0])for(u=(r?t.children.length:-1)+i,d=s.concat(t);u>-1&&u<t.children.length;){const n=t.children[u];if(c=e(n,u,d)(),c[0]===ad)return c;u="number"==typeof c[1]?c[1]:u+i}}return f}}(e,void 0,[])()}function ld(e,t,n,r){let o,a,i;"function"==typeof t&&"function"!=typeof n?(a=void 0,i=t,o=n):(a=t,i=n,o=r),id(e,a,function(e,t){const n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return i(e,r,n)},o)}const sd={}.hasOwnProperty,cd={};function ud(e,t){e.position&&(t.position=function(e){const t=ys(e),n=vs(e);if(t&&n)return{start:t,end:n}}(e))}function dd(e,t){let n=t;if(e&&e.data){const t=e.data.hName,r=e.data.hChildren,o=e.data.hProperties;"string"==typeof t&&("element"===n.type?n.tagName=t:n={type:"element",tagName:t,properties:{},children:"children"in n?n.children:[n]}),"element"===n.type&&o&&Object.assign(n.properties,Ju(o)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function fd(e,t){const n=t.data||{},r=!("value"in t)||sd.call(n,"hProperties")||sd.call(n,"hChildren")?{type:"element",tagName:"div",properties:{},children:e.all(t)}:{type:"text",value:t.value};return e.patch(t,r),e.applyData(t,r)}function pd(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:"\n"});++r<e.length;)r&&n.push({type:"text",value:"\n"}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:"\n"}),n}function hd(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function gd(e,t){const n=function(e,t){const n=t||cd,r=new Map,o=new Map,a=new Map,i={...$u,...n.handlers},l={all:function(e){const t=[];if("children"in e){const n=e.children;let r=-1;for(;++r<n.length;){const o=l.one(n[r],e);if(o){if(r&&"break"===n[r-1].type&&(Array.isArray(o)||"text"!==o.type||(o.value=hd(o.value)),!Array.isArray(o)&&"element"===o.type)){const e=o.children[0];e&&"text"===e.type&&(e.value=hd(e.value))}Array.isArray(o)?t.push(...o):t.push(o)}}}return t},applyData:dd,definitionById:r,footnoteById:o,footnoteCounts:a,footnoteOrder:[],handlers:i,one:function(e,t){const n=e.type,r=l.handlers[n];if(sd.call(l.handlers,n)&&r)return r(l,e,t);if(l.options.passThrough&&l.options.passThrough.includes(n)){if("children"in e){const{children:t,...n}=e,r=Ju(n);return r.children=l.all(e),r}return Ju(e)}return(l.options.unknownHandler||fd)(l,e,t)},options:n,patch:ud,wrap:pd};return ld(e,function(e){if("definition"===e.type||"footnoteDefinition"===e.type){const t="definition"===e.type?r:o,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}}),l}(e,t),r=n.one(e,void 0),o=function(e){const t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||Zu,r=e.options.footnoteBackLabel||ed,o=e.options.footnoteLabel||"Footnotes",a=e.options.footnoteLabelTagName||"h2",i=e.options.footnoteLabelProperties||{className:["sr-only"]},l=[];let s=-1;for(;++s<e.footnoteOrder.length;){const o=e.footnoteById.get(e.footnoteOrder[s]);if(!o)continue;const a=e.all(o),i=String(o.identifier).toUpperCase(),c=gc(i.toLowerCase());let u=0;const d=[],f=e.footnoteCounts.get(i);for(;void 0!==f&&++u<=f;){d.length>0&&d.push({type:"text",value:" "});let e="string"==typeof n?n:n(s,u);"string"==typeof e&&(e={type:"text",value:e}),d.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+c+(u>1?"-"+u:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(s,u),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}const p=a[a.length-1];if(p&&"element"===p.type&&"p"===p.tagName){const e=p.children[p.children.length-1];e&&"text"===e.type?e.value+=" ":p.children.push({type:"text",value:" "}),p.children.push(...d)}else a.push(...d);const h={type:"element",tagName:"li",properties:{id:t+"fn-"+c},children:e.wrap(a,!0)};e.patch(o,h),l.push(h)}if(0!==l.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:a,properties:{...Ju(i),id:"footnote-label"},children:[{type:"text",value:o}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(l,!0)},{type:"text",value:"\n"}]}}(n),a=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return o&&a.children.push({type:"text",value:"\n"},o),a}function md(e,t){return e&&"run"in e?async function(n,r){const o=gd(n,{file:r,...t});await e.run(o,r)}:function(n,r){return gd(n,{file:r,...e||t})}}function bd(e){if(e)throw e}var vd,yd;function xd(){if(yd)return vd;yd=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,o=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===t.call(e)},a=function(n){if(!n||"[object Object]"!==t.call(n))return!1;var r,o=e.call(n,"constructor"),a=n.constructor&&n.constructor.prototype&&e.call(n.constructor.prototype,"isPrototypeOf");if(n.constructor&&!o&&!a)return!1;for(r in n);return void 0===r||e.call(n,r)},i=function(e,t){n&&"__proto__"===t.name?n(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(t,n){if("__proto__"===n){if(!e.call(t,n))return;if(r)return r(t,n).value}return t[n]};return vd=function e(){var t,n,r,s,c,u,d=arguments[0],f=1,p=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},f=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});f<p;++f)if(null!=(t=arguments[f]))for(n in t)r=l(d,n),d!==(s=l(t,n))&&(h&&s&&(a(s)||(c=o(s)))?(c?(c=!1,u=r&&o(r)?r:[]):u=r&&a(r)?r:{},i(d,{name:n,newValue:e(h,u,s)})):void 0!==s&&i(d,{name:n,newValue:s}));return d},vd}const kd=o(xd());function Sd(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}const wd=function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');zd(e);let n,r=0,o=-1,a=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;a--;)if(47===e.codePointAt(a)){if(n){r=a+1;break}}else o<0&&(n=!0,o=a+1);return o<0?"":e.slice(r,o)}if(t===e)return"";let i=-1,l=t.length-1;for(;a--;)if(47===e.codePointAt(a)){if(n){r=a+1;break}}else i<0&&(n=!0,i=a+1),l>-1&&(e.codePointAt(a)===t.codePointAt(l--)?l<0&&(o=a):(l=-1,o=i));return r===o?o=i:o<0&&(o=e.length),e.slice(r,o)},_d=function(e){if(zd(e),0===e.length)return".";let t,n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},Cd=function(e){zd(e);let t,n=e.length,r=-1,o=0,a=-1,i=0;for(;n--;){const l=e.codePointAt(n);if(47!==l)r<0&&(t=!0,r=n+1),46===l?a<0?a=n:1!==i&&(i=1):a>-1&&(i=-1);else if(t){o=n+1;break}}return a<0||r<0||0===i||1===i&&a===r-1&&a===o+1?"":e.slice(a,r)},Ed=function(...e){let t,n=-1;for(;++n<e.length;)zd(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n]);return void 0===t?".":function(e){zd(e);const t=47===e.codePointAt(0);let n=function(e,t){let n,r,o="",a=0,i=-1,l=0,s=-1;for(;++s<=e.length;){if(s<e.length)n=e.codePointAt(s);else{if(47===n)break;n=47}if(47===n){if(i===s-1||1===l);else if(i!==s-1&&2===l){if(o.length<2||2!==a||46!==o.codePointAt(o.length-1)||46!==o.codePointAt(o.length-2))if(o.length>2){if(r=o.lastIndexOf("/"),r!==o.length-1){r<0?(o="",a=0):(o=o.slice(0,r),a=o.length-1-o.lastIndexOf("/")),i=s,l=0;continue}}else if(o.length>0){o="",a=0,i=s,l=0;continue}t&&(o=o.length>0?o+"/..":"..",a=2)}else o.length>0?o+="/"+e.slice(i+1,s):o=e.slice(i+1,s),a=s-i-1;i=s,l=0}else 46===n&&l>-1?l++:l=-1}return o}(e,!t);return 0!==n.length||t||(n="."),n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/"),t?"/"+n:n}(t)},Pd="/";function zd(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Td=function(){return"/"};function Rd(e){return Boolean(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}const Id=["history","path","basename","stem","extname","dirname"];class Od{constructor(e){let t;t=e?Rd(e)?{path:e}:"string"==typeof e||function(e){return Boolean(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd="cwd"in t?"":Td(),this.data={},this.history=[],this.messages=[];let n,r=-1;for(;++r<Id.length;){const e=Id[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)Id.includes(n)||(this[n]=t[n])}get basename(){return"string"==typeof this.path?wd(this.path):void 0}set basename(e){Dd(e,"basename"),Ad(e,"basename"),this.path=Ed(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?_d(this.path):void 0}set dirname(e){Nd(this.basename,"dirname"),this.path=Ed(e||"",this.basename)}get extname(){return"string"==typeof this.path?Cd(this.path):void 0}set extname(e){if(Ad(e,"extname"),Nd(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Ed(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){Rd(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!Rd(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let n=-1;for(;++n<t.length;)if(37===t.codePointAt(n)&&50===t.codePointAt(n+1)){const e=t.codePointAt(n+2);if(70===e||102===e){const e=new TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),Dd(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?wd(this.path,this.extname):void 0}set stem(e){Dd(e,"stem"),Ad(e,"stem"),this.path=Ed(this.dirname||"",e+(this.extname||""))}fail(e,t,n){const r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){const r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){const r=new Cs(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){return void 0===this.value?"":"string"==typeof this.value?this.value:new TextDecoder(e||void 0).decode(this.value)}}function Ad(e,t){if(e&&e.includes(Pd))throw new Error("`"+t+"` cannot be a path: did not expect `"+Pd+"`")}function Dd(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function Nd(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}const Fd=function(e){const t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r},jd={}.hasOwnProperty;class Md extends Fd{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=function(){const e=[],t={run:function(...t){let n=-1;const r=t.pop();if("function"!=typeof r)throw new TypeError("Expected function as last argument, not "+r);!function o(a,...i){const l=e[++n];let s=-1;if(a)r(a);else{for(;++s<t.length;)null!==i[s]&&void 0!==i[s]||(i[s]=t[s]);t=i,l?function(e,t){let n;return function(...t){const i=e.length>t.length;let l;i&&t.push(r);try{l=e.apply(this,t)}catch(a){if(i&&n)throw a;return r(a)}i||(l&&l.then&&"function"==typeof l.then?l.then(o,r):l instanceof Error?r(l):o(l))};function r(e,...r){n||(n=!0,t(e,...r))}function o(e){r(null,e)}}(l,o)(...i):r(null,...i)}}(null,...t)},use:function(n){if("function"!=typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}()}copy(){const e=new Md;let t=-1;for(;++t<this.attachers.length;){const n=this.attachers[t];e.use(...n)}return e.data(kd(!0,{},this.namespace)),e}data(e,t){return"string"==typeof e?2===arguments.length?($d("data",this.frozen),this.namespace[e]=t,this):jd.call(this.namespace,e)&&this.namespace[e]||void 0:e?($d("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;const e=this;for(;++this.freezeIndex<this.attachers.length;){const[t,...n]=this.attachers[this.freezeIndex];if(!1===n[0])continue;!0===n[0]&&(n[0]=void 0);const r=t.call(e,...n);"function"==typeof r&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(e){this.freeze();const t=Ud(e),n=this.parser||this.Parser;return Wd("parse",n),n(String(t),t)}process(e,t){const n=this;return this.freeze(),Wd("process",this.parser||this.Parser),Bd("process",this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,o){const a=Ud(e),i=n.parse(a);function l(e,n){e||!n?o(e):r?r(n):t(void 0,n)}n.run(i,a,function(e,t,r){if(e||!t||!r)return l(e);const o=t,a=n.stringify(o,r);var i;"string"==typeof(i=a)||function(e){return Boolean(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(i)?r.value=a:r.result=a,l(e,r)})}}processSync(e){let t,n=!1;return this.freeze(),Wd("processSync",this.parser||this.Parser),Bd("processSync",this.compiler||this.Compiler),this.process(e,function(e,r){n=!0,bd(e),t=r}),Hd("processSync","process",n),t}run(e,t,n){Vd(e),this.freeze();const r=this.transformers;return n||"function"!=typeof t||(n=t,t=void 0),n?o(void 0,n):new Promise(o);function o(o,a){const i=Ud(t);r.run(e,i,function(t,r,i){const l=r||e;t?a(t):o?o(l):n(void 0,l,i)})}}runSync(e,t){let n,r=!1;return this.run(e,t,function(e,t){bd(e),n=t,r=!0}),Hd("runSync","run",r),n}stringify(e,t){this.freeze();const n=Ud(t),r=this.compiler||this.Compiler;return Bd("stringify",r),Vd(e),r(e,n)}use(e,...t){const n=this.attachers,r=this.namespace;if($d("use",this.frozen),null==e);else if("function"==typeof e)l(e,t);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");Array.isArray(e)?i(e):a(e)}return this;function o(e){if("function"==typeof e)l(e,[]);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");if(Array.isArray(e)){const[t,...n]=e;l(t,n)}else a(e)}}function a(e){if(!("plugins"in e)&&!("settings"in e))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");i(e.plugins),e.settings&&(r.settings=kd(!0,r.settings,e.settings))}function i(e){let t=-1;if(null==e);else{if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;)o(e[t])}}function l(e,t){let r=-1,o=-1;for(;++r<n.length;)if(n[r][0]===e){o=r;break}if(-1===o)n.push([e,...t]);else if(t.length>0){let[r,...a]=t;const i=n[o][1];Sd(i)&&Sd(r)&&(r=kd(!0,i,r)),n[o]=[e,r,...a]}}}}const Ld=(new Md).freeze();function Wd(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `parser`")}function Bd(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `compiler`")}function $d(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Vd(e){if(!Sd(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function Hd(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Ud(e){return function(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new Od(e)}const qd=[],Gd={allowDangerousHtml:!0},Yd=/^(https?|ircs?|mailto|xmpp)$/i,Xd=[{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 Kd(e){const t=function(e){const t=e.rehypePlugins||qd,n=e.remarkPlugins||qd,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Gd}:Gd;return Ld().use(ju).use(n).use(md,r).use(t)}(e),n=function(e){const t=e.children||"",n=new Od;return"string"==typeof t&&(n.value=t),n}(e);return function(e,t){const n=t.allowedElements,r=t.allowElement,o=t.components,a=t.disallowedElements,i=t.skipHtml,l=t.unwrapDisallowed,s=t.urlTransform||Qd;for(const c of Xd);return ld(e,function(e,t,o){if("raw"===e.type&&o&&"number"==typeof t)return i?o.children.splice(t,1):o.children[t]={type:"text",value:e.value},t;if("element"===e.type){let t;for(t in Bs)if(Object.hasOwn(Bs,t)&&Object.hasOwn(e.properties,t)){const n=e.properties[t],r=Bs[t];(null===r||r.includes(e.tagName))&&(e.properties[t]=s(String(n||""),t,e))}}if("element"===e.type){let i=n?!n.includes(e.tagName):!!a&&a.includes(e.tagName);if(!i&&r&&"number"==typeof t&&(i=!r(e,t,o)),i&&o&&"number"==typeof t)return l&&e.children?o.children.splice(t,1,...e.children):o.children.splice(t,1),t}}),function(e,t){if(!t||void 0===t.Fragment)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if("function"!=typeof t.jsxDEV)throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=function(e,t){return function(n,r,o,a){const i=Array.isArray(o.children),l=ys(n);return t(r,o,a,i,{columnNumber:l?l.column-1:void 0,fileName:e,lineNumber:l?l.line:void 0},void 0)}}(n,t.jsxDEV)}else{if("function"!=typeof t.jsx)throw new TypeError("Expected `jsx` in production options");if("function"!=typeof t.jsxs)throw new TypeError("Expected `jsxs` in production options");o=t.jsx,a=t.jsxs,r=function(e,t,n,r){const i=Array.isArray(n.children)?a:o;return r?i(t,n,r):i(t,n)}}var o,a;const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?os:rs,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},l=Os(i,e,void 0);return l&&"string"!=typeof l?l:i.create(e,i.Fragment,{children:l||void 0},void 0)}(e,{Fragment:h.Fragment,components:o,ignoreInvalidStyle:!0,jsx:h.jsx,jsxs:h.jsxs,passKeys:!0,passNode:!0})}(t.runSync(t.parse(n),n),e)}function Qd(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),o=e.indexOf("/");return-1===t||-1!==o&&t>o||-1!==n&&t>n||-1!==r&&t>r||Yd.test(e.slice(0,t))?e:""}const Jd=""+new URL("dori.ico",import.meta.url).href,Zd=({message:e,type:t="default"})=>{const n="loading"===t,{botData:r}=Li();return h.jsxs(hn,{position:"relative",width:"full",children:[h.jsx(hn,{opacity:"0",bg:"#EDEDED",borderRadius:"20px",padding:"12px",children:h.jsx(il,{fontWeight:400,fontSize:"12px",lineHeight:"18px",textAlign:"right",fontFamily:"Estedad-FD, system-ui, sans-serif",children:e})}),h.jsx(hn,{h:"42px"}),h.jsx(hn,{position:"absolute",left:0,bottom:0,children:h.jsx(ol,{src:r?.agent_image||Jd,alt:"Mori",w:"20px",h:"20px",borderRadius:"50%"})}),h.jsx(hn,{position:"absolute",left:"18px",bottom:"18px",width:"6.4px",height:"6.4px",bg:"#EDEDED",borderRadius:"100%"}),h.jsx(hn,{position:"absolute",left:"23px",bottom:"23px",width:"13px",height:"13px",bg:"#EDEDED",borderRadius:"100%"}),h.jsx(hn,{position:"absolute",left:"29px",bottom:"29px",bg:"#EDEDED",borderRadius:"20px",padding:"12px",children:n?h.jsx(il,{fontWeight:400,fontSize:"12px",lineHeight:"18px",textAlign:"right",color:"gray.500",fontFamily:"Estedad-FD, system-ui, sans-serif",children:e}):h.jsx(il,{fontWeight:400,fontSize:"12px",lineHeight:"18px",textAlign:"right",color:"black",fontFamily:"Estedad-FD, system-ui, sans-serif",children:e})})]})},ef=y.forwardRef(function(e,t){const{templateAreas:n,column:r,row:o,autoFlow:a,autoRows:i,templateRows:l,autoColumns:s,templateColumns:c,inline:u,...d}=e;return h.jsx(fn.div,{...d,ref:t,css:[{display:u?"inline-grid":"grid",gridTemplateAreas:n,gridAutoColumns:s,gridColumn:r,gridRow:o,gridAutoFlow:a,gridAutoRows:i,gridTemplateRows:l,gridTemplateColumns:c},e.css]})}),tf=y.forwardRef(function(e,t){const{columns:n,minChildWidth:r,...o}=e,a=Jt(),i=r?function(e,t){return $i(e,e=>{const n=t.tokens.getVar(`sizes.${e}`,function(e){return"number"==typeof e?`${e}px`:e}(e));return null===e?null:`repeat(auto-fit, minmax(${n}, 1fr))`})}(r,a):$i(n,e=>null===e?null:`repeat(${e}, minmax(0, 1fr))`);return h.jsx(ef,{ref:t,templateColumns:i,...o})}),{withContext:nf}=Yi({key:"badge"}),rf=nf("span"),of=""+new URL("reply.svg",import.meta.url).href,af=""+new URL("suggestion.svg",import.meta.url).href,lf=(e,t)=>{const n=e.includes("?")?"&":"?";return`${e}${n}utm_source=customer_referral&utm_medium=widget&utm_campaign=powered_by&utm_term=${t}`},sf=({product:e})=>{const{sendMessage:t,setRepliedProduct:n,botData:r,chatState:o}=Li(),{name:a,id:i,url:l}=e,s=async()=>{if(!l||!r)return;const t=(e=>{const t=e.includes("?")?"&":"?";return`${e}${t}utm_source=dori&utm_medium=dori_pdp_widget&utm_campaign=dori_product_recommendation`})(l);window.open(t,"_blank","noopener,noreferrer"),Ni(e,r,o.threadId)};return h.jsxs(Ui,{align:"stretch",gap:1,w:"full",children:[h.jsx(hn,{bg:"white",borderRadius:"14px",border:"1px solid #F0EEFE",p:1.5,w:"full",children:h.jsxs(Hi,{gap:1.5,align:"stretch",w:"full",children:[h.jsx(hn,{flexShrink:0,cursor:"pointer",onClick:s,_hover:{opacity:.9},transition:"opacity 0.2s",children:h.jsx(ol,{src:e.image,alt:e.name,w:"60px",h:"60px",objectFit:"contain",borderRadius:"md"})}),h.jsxs(Ui,{gap:.5,align:"start",justifyContent:"center",children:[h.jsx(il,{fontWeight:600,fontSize:"10px",lineHeight:"20px",textAlign:"start",color:"#1A1A1A",maxW:"100%",title:e.name,cursor:"pointer",onClick:s,_hover:{color:"#6155F5"},transition:"color 0.2s",children:e.name}),h.jsxs(Hi,{gap:.75,align:"center",children:[e.discount&&h.jsxs(h.Fragment,{children:[h.jsx(il,{fontSize:"xs",color:"gray.400",textDecoration:"line-through",children:e.originalPrice?.toLocaleString()}),h.jsxs(rf,{bg:"rgba(255, 56, 60, 0.14)",color:"#FF383C",fontSize:"xs",borderRadius:"20px",children:[e.discount,"٪"]})]}),e.price&&e.price>0&&h.jsxs(il,{fontSize:"10px",fontWeight:"700",color:"black",children:[e.price.toLocaleString()," USD"]})]})]})]})},e.id),h.jsxs(Hi,{gap:.5,w:"full",children:[h.jsx(rl,{variant:"outline",size:"xs",fontSize:"10px",lineHeight:"0px",textAlign:"right",color:"#6155F5",borderColor:"#F0EEFE",borderRadius:"3px",borderWidth:"2px",onClick:()=>{n({product:e,suggestions:["Does this product have a discount?","What features make this product special?","Does it come in other colors?"]})},"aria-label":"Reply",children:h.jsx(ol,{src:of,alt:"reply"})}),h.jsxs(nl,{variant:"outline",size:"xs",fontSize:"10px",lineHeight:"4px",textAlign:"right",color:"#6155F5",borderRadius:"3px",flex:1,fontWeight:400,onClick:()=>{t({message:`Do you have similar to ${a}`,apiMessage:`Do you have similar to ${i}`})},bgColor:"#F0EEFE",children:[h.jsx(ol,{width:4,height:4,src:af,alt:"suggestion"}),"Similar Suggestion"]})]})]})},cf=({products:e})=>h.jsx(Ui,{align:"stretch",gap:1.5,w:"full",children:h.jsx(hn,{px:.75,w:"full",children:h.jsx(tf,{dir:"ltr",minChildWidth:"240px",gapX:{base:.75,md:1.5},gapY:{base:1.5,md:3},children:e.map(e=>h.jsx(sf,{product:e},e.id))})})}),uf=({suggestions:e})=>{const{sendMessage:t}=Li();return h.jsx(Hi,{gap:1.5,wrap:"wrap",children:e.slice(0,3).map((e,n)=>h.jsx(nl,{bg:n%2==0?"white":"#F5F5F5",border:"1px solid #EDEDED",borderRadius:"20px",px:3,py:1.5,h:"auto",lineHeight:"1.5",onClick:()=>(e=>{t({message:e})})(e),_hover:{bg:"#F5F5F5",borderColor:"#6155F5"},_active:{bg:"#F0F0F0"},textAlign:"center",justifyContent:"center",children:h.jsx(il,{fontSize:"10px",fontWeight:"400",color:"#1A1A1A",textAlign:"center",wordBreak:"break-word",whiteSpace:"normal",children:e})},n))})};function df(e,t){const n=String(e);if("string"!=typeof t)throw new TypeError("Expected character");let r=0,o=n.indexOf(t);for(;-1!==o;)r++,o=n.indexOf(t,o+t.length);return r}function ff(e){return"string"==typeof e?new RegExp(function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(e),"g"):e}function pf(e){return"function"==typeof e?e:function(){return e}}const hf="phrasing",gf=["autolink","link","image","label"];function mf(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function bf(e){this.config.enter.autolinkProtocol.call(this,e)}function vf(e){this.config.exit.autolinkProtocol.call(this,e)}function yf(e){this.config.exit.data.call(this,e),this.stack[this.stack.length-1].url="http://"+this.sliceSerialize(e)}function xf(e){this.config.exit.autolinkEmail.call(this,e)}function kf(e){this.exit(e)}function Sf(e){!function(e,t,n){const r=td((n||{}).ignore||[]),o=function(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const e=n[r];t.push([ff(e[0]),pf(e[1])])}return t}(t);let a=-1;for(;++a<o.length;)id(e,"text",i);function i(e,t){let n,i=-1;for(;++i<t.length;){const e=t[i],o=n?n.children:void 0;if(r(e,o?o.indexOf(e):void 0,n))return;n=e}if(n)return function(e,t){const n=t[t.length-1],r=o[a][0],i=o[a][1];let l=0;const s=n.children.indexOf(e);let c=!1,u=[];r.lastIndex=0;let d=r.exec(e.value);for(;d;){const n=d.index,o={index:d.index,input:d.input,stack:[...t,e]};let a=i(...d,o);if("string"==typeof a&&(a=a.length>0?{type:"text",value:a}:void 0),!1===a?r.lastIndex=n+1:(l!==n&&u.push({type:"text",value:e.value.slice(l,n)}),Array.isArray(a)?u.push(...a):a&&u.push(a),l=n+d[0].length,c=!0),!r.global)break;d=r.exec(e.value)}return c?(l<e.value.length&&u.push({type:"text",value:e.value.slice(l)}),n.children.splice(s,1,...u)):u=[e],s+u.length}(e,t)}}(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,wf],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),_f]],{ignore:["link","linkReference"]})}function wf(e,t,n,r,o){let a="";if(!Cf(o))return!1;if(/^w/i.test(t)&&(n=t+n,t="",a="http://"),!function(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}(n))return!1;const i=function(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const o=df(e,"(");let a=df(e,")");for(;-1!==r&&o>a;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),a++;return[e,n]}(n+r);if(!i[0])return!1;const l={type:"link",title:null,url:a+t+i[0],children:[{type:"text",value:t+i[0]}]};return i[1]?[l,{type:"text",value:i[1]}]:l}function _f(e,t,n,r){return!(!Cf(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function Cf(e,t){const n=e.input.charCodeAt(e.index-1);return(0===e.index||pc(n)||fc(n))&&(!t||47!==n)}function Ef(){this.buffer()}function Pf(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function zf(){this.buffer()}function Tf(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function Rf(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.identifier=tc(this.sliceSerialize(e)).toLowerCase(),n.label=t}function If(e){this.exit(e)}function Of(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.identifier=tc(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Af(e){this.exit(e)}function Df(e,t,n,r){const o=n.createTracker(r);let a=o.move("[^");const i=n.enter("footnoteReference"),l=n.enter("reference");return a+=o.move(n.safe(n.associationId(e),{after:"]",before:a})),l(),i(),a+=o.move("]"),a}function Nf(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:function(e,n,r,o){const a=r.createTracker(o);let i=a.move("[^");const l=r.enter("footnoteDefinition"),s=r.enter("label");return i+=a.move(r.safe(r.associationId(e),{before:i,after:"]"})),s(),i+=a.move("]:"),e.children&&e.children.length>0&&(a.shift(4),i+=a.move((t?"\n":" ")+r.indentLines(r.containerFlow(e,a.current()),t?jf:Ff))),l(),i},footnoteReference:Df},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]}}function Ff(e,t,n){return 0===t?e:jf(e,0,n)}function jf(e,t,n){return(n?"":" ")+e}Df.peek=function(){return"["};const Mf=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function Lf(e){this.enter({type:"delete",children:[]},e)}function Wf(e){this.exit(e)}function Bf(e,t,n,r){const o=n.createTracker(r),a=n.enter("strikethrough");let i=o.move("~~");return i+=n.containerPhrasing(e,{...o.current(),before:i,after:"~"}),i+=o.move("~~"),a(),i}function $f(e){return e.length}function Vf(e){return null==e?"":String(e)}function Hf(e){const t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}function Uf(e,t,n){return">"+(n?"":" ")+e}function qf(e,t){return Gf(e,t.inConstruct,!0)&&!Gf(e,t.notInConstruct,!1)}function Gf(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function Yf(e,t,n,r){let o=-1;for(;++o<n.unsafe.length;)if("\n"===n.unsafe[o].character&&qf(n.stack,n.unsafe[o]))return/[ \t]/.test(r.before)?"":" ";return"\\\n"}function Xf(e,t,n){return(n?"":" ")+e}function Kf(e){const t=e.options.quote||'"';if('"'!==t&&"'"!==t)throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function Qf(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Jf(e,t,n){const r=xc(e),o=xc(t);return void 0===r?void 0===o?"_"===n?{inside:!0,outside:!0}:{inside:!1,outside:!1}:1===o?{inside:!0,outside:!0}:{inside:!1,outside:!0}:1===r?void 0===o?{inside:!1,outside:!1}:1===o?{inside:!0,outside:!0}:{inside:!1,outside:!1}:void 0===o?{inside:!1,outside:!1}:1===o?{inside:!0,outside:!1}:{inside:!1,outside:!1}}function Zf(e,t,n,r){const o=function(e){const t=e.options.emphasis||"*";if("*"!==t&&"_"!==t)throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}(n),a=n.enter("emphasis"),i=n.createTracker(r),l=i.move(o);let s=i.move(n.containerPhrasing(e,{after:o,before:l,...i.current()}));const c=s.charCodeAt(0),u=Jf(r.before.charCodeAt(r.before.length-1),c,o);u.inside&&(s=Qf(c)+s.slice(1));const d=s.charCodeAt(s.length-1),f=Jf(r.after.charCodeAt(0),d,o);f.inside&&(s=s.slice(0,-1)+Qf(d));const p=i.move(o);return a(),n.attentionEncodeSurroundingInfo={after:f.outside,before:u.outside},l+s+p}function ep(e){return e.value||""}function tp(e,t,n,r){const o=Kf(n),a='"'===o?"Quote":"Apostrophe",i=n.enter("image");let l=n.enter("label");const s=n.createTracker(r);let c=s.move("![");return c+=s.move(n.safe(e.alt,{before:c,after:"]",...s.current()})),c+=s.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),c+=s.move("<"),c+=s.move(n.safe(e.url,{before:c,after:">",...s.current()})),c+=s.move(">")):(l=n.enter("destinationRaw"),c+=s.move(n.safe(e.url,{before:c,after:e.title?" ":")",...s.current()}))),l(),e.title&&(l=n.enter(`title${a}`),c+=s.move(" "+o),c+=s.move(n.safe(e.title,{before:c,after:o,...s.current()})),c+=s.move(o),l()),c+=s.move(")"),i(),c}function np(e,t,n,r){const o=e.referenceType,a=n.enter("imageReference");let i=n.enter("label");const l=n.createTracker(r);let s=l.move("![");const c=n.safe(e.alt,{before:s,after:"]",...l.current()});s+=l.move(c+"]["),i();const u=n.stack;n.stack=[],i=n.enter("reference");const d=n.safe(n.associationId(e),{before:s,after:"]",...l.current()});return i(),n.stack=u,a(),"full"!==o&&c&&c===d?"shortcut"===o?s=s.slice(0,-1):s+=l.move("]"):s+=l.move(d+"]"),s}function rp(e,t,n){let r=e.value||"",o="`",a=-1;for(;new RegExp("(^|[^`])"+o+"([^`]|$)").test(r);)o+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++a<n.unsafe.length;){const e=n.unsafe[a],t=n.compilePattern(e);let o;if(e.atBreak)for(;o=t.exec(r);){let e=o.index;10===r.charCodeAt(e)&&13===r.charCodeAt(e-1)&&e--,r=r.slice(0,e)+" "+r.slice(o.index+1)}}return o+r+o}function op(e,t){const n=Vs(e);return Boolean(!t.options.resourceLink&&e.url&&!e.title&&e.children&&1===e.children.length&&"text"===e.children[0].type&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}function ap(e,t,n,r){const o=Kf(n),a='"'===o?"Quote":"Apostrophe",i=n.createTracker(r);let l,s;if(op(e,n)){const t=n.stack;n.stack=[],l=n.enter("autolink");let r=i.move("<");return r+=i.move(n.containerPhrasing(e,{before:r,after:">",...i.current()})),r+=i.move(">"),l(),n.stack=t,r}l=n.enter("link"),s=n.enter("label");let c=i.move("[");return c+=i.move(n.containerPhrasing(e,{before:c,after:"](",...i.current()})),c+=i.move("]("),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=i.move("<"),c+=i.move(n.safe(e.url,{before:c,after:">",...i.current()})),c+=i.move(">")):(s=n.enter("destinationRaw"),c+=i.move(n.safe(e.url,{before:c,after:e.title?" ":")",...i.current()}))),s(),e.title&&(s=n.enter(`title${a}`),c+=i.move(" "+o),c+=i.move(n.safe(e.title,{before:c,after:o,...i.current()})),c+=i.move(o),s()),c+=i.move(")"),l(),c}function ip(e,t,n,r){const o=e.referenceType,a=n.enter("linkReference");let i=n.enter("label");const l=n.createTracker(r);let s=l.move("[");const c=n.containerPhrasing(e,{before:s,after:"]",...l.current()});s+=l.move(c+"]["),i();const u=n.stack;n.stack=[],i=n.enter("reference");const d=n.safe(n.associationId(e),{before:s,after:"]",...l.current()});return i(),n.stack=u,a(),"full"!==o&&c&&c===d?"shortcut"===o?s=s.slice(0,-1):s+=l.move("]"):s+=l.move(d+"]"),s}function lp(e){const t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function sp(e){const t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}Bf.peek=function(){return"~"},Zf.peek=function(e,t,n){return n.options.emphasis||"*"},ep.peek=function(){return"<"},tp.peek=function(){return"!"},np.peek=function(){return"!"},rp.peek=function(){return"`"},ap.peek=function(e,t,n){return op(e,n)?"<":"["},ip.peek=function(){return"["};const cp=td(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function up(e,t,n,r){const o=function(e){const t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(n),a=n.enter("strong"),i=n.createTracker(r),l=i.move(o+o);let s=i.move(n.containerPhrasing(e,{after:o,before:l,...i.current()}));const c=s.charCodeAt(0),u=Jf(r.before.charCodeAt(r.before.length-1),c,o);u.inside&&(s=Qf(c)+s.slice(1));const d=s.charCodeAt(s.length-1),f=Jf(r.after.charCodeAt(0),d,o);f.inside&&(s=s.slice(0,-1)+Qf(d));const p=i.move(o+o);return a(),n.attentionEncodeSurroundingInfo={after:f.outside,before:u.outside},l+s+p}up.peek=function(e,t,n){return n.options.strong||"*"};const dp={blockquote:function(e,t,n,r){const o=n.enter("blockquote"),a=n.createTracker(r);a.move("> "),a.shift(2);const i=n.indentLines(n.containerFlow(e,a.current()),Uf);return o(),i},break:Yf,code:function(e,t,n,r){const o=function(e){const t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(n),a=e.value||"",i="`"===o?"GraveAccent":"Tilde";if(function(e,t){return Boolean(!1===t.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}(e,n)){const e=n.enter("codeIndented"),t=n.indentLines(a,Xf);return e(),t}const l=n.createTracker(r),s=o.repeat(Math.max(function(e,t){const n=String(e);let r=n.indexOf(t),o=r,a=0,i=0;if("string"!=typeof t)throw new TypeError("Expected substring");for(;-1!==r;)r===o?++a>i&&(i=a):a=1,o=r+t.length,r=n.indexOf(t,o);return i}(a,o)+1,3)),c=n.enter("codeFenced");let u=l.move(s);if(e.lang){const t=n.enter(`codeFencedLang${i}`);u+=l.move(n.safe(e.lang,{before:u,after:" ",encode:["`"],...l.current()})),t()}if(e.lang&&e.meta){const t=n.enter(`codeFencedMeta${i}`);u+=l.move(" "),u+=l.move(n.safe(e.meta,{before:u,after:"\n",encode:["`"],...l.current()})),t()}return u+=l.move("\n"),a&&(u+=l.move(a+"\n")),u+=l.move(s),c(),u},definition:function(e,t,n,r){const o=Kf(n),a='"'===o?"Quote":"Apostrophe",i=n.enter("definition");let l=n.enter("label");const s=n.createTracker(r);let c=s.move("[");return c+=s.move(n.safe(n.associationId(e),{before:c,after:"]",...s.current()})),c+=s.move("]: "),l(),!e.url||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),c+=s.move("<"),c+=s.move(n.safe(e.url,{before:c,after:">",...s.current()})),c+=s.move(">")):(l=n.enter("destinationRaw"),c+=s.move(n.safe(e.url,{before:c,after:e.title?" ":"\n",...s.current()}))),l(),e.title&&(l=n.enter(`title${a}`),c+=s.move(" "+o),c+=s.move(n.safe(e.title,{before:c,after:o,...s.current()})),c+=s.move(o),l()),i(),c},emphasis:Zf,hardBreak:Yf,heading:function(e,t,n,r){const o=Math.max(Math.min(6,e.depth||1),1),a=n.createTracker(r);if(function(e,t){let n=!1;return ld(e,function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return n=!0,ad}),Boolean((!e.depth||e.depth<3)&&Vs(e)&&(t.options.setext||n))}(e,n)){const t=n.enter("headingSetext"),r=n.enter("phrasing"),i=n.containerPhrasing(e,{...a.current(),before:"\n",after:"\n"});return r(),t(),i+"\n"+(1===o?"=":"-").repeat(i.length-(Math.max(i.lastIndexOf("\r"),i.lastIndexOf("\n"))+1))}const i="#".repeat(o),l=n.enter("headingAtx"),s=n.enter("phrasing");a.move(i+" ");let c=n.containerPhrasing(e,{before:"# ",after:"\n",...a.current()});return/^[\t ]/.test(c)&&(c=Qf(c.charCodeAt(0))+c.slice(1)),c=c?i+" "+c:i,n.options.closeAtx&&(c+=" "+i),s(),l(),c},html:ep,image:tp,imageReference:np,inlineCode:rp,link:ap,linkReference:ip,list:function(e,t,n,r){const o=n.enter("list"),a=n.bulletCurrent;let i=e.ordered?function(e){const t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(n):lp(n);const l=e.ordered?"."===i?")":".":function(e){const t=lp(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n);let s=!(!t||!n.bulletLastUsed)&&i===n.bulletLastUsed;if(!e.ordered){const t=e.children?e.children[0]:void 0;if("*"!==i&&"-"!==i||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(s=!0),sp(n)===i&&t){let t=-1;for(;++t<e.children.length;){const n=e.children[t];if(n&&"listItem"===n.type&&n.children&&n.children[0]&&"thematicBreak"===n.children[0].type){s=!0;break}}}}s&&(i=l),n.bulletCurrent=i;const c=n.containerFlow(e,r);return n.bulletLastUsed=i,n.bulletCurrent=a,o(),c},listItem:function(e,t,n,r){const o=function(e){const t=e.options.listItemIndent||"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(n);let a=n.bulletCurrent||lp(n);t&&"list"===t.type&&t.ordered&&(a=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+a);let i=a.length+1;("tab"===o||"mixed"===o&&(t&&"list"===t.type&&t.spread||e.spread))&&(i=4*Math.ceil(i/4));const l=n.createTracker(r);l.move(a+" ".repeat(i-a.length)),l.shift(i);const s=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,l.current()),function(e,t,n){return t?(n?"":" ".repeat(i))+e:(n?a:a+" ".repeat(i-a.length))+e});return s(),c},paragraph:function(e,t,n,r){const o=n.enter("paragraph"),a=n.enter("phrasing"),i=n.containerPhrasing(e,r);return a(),o(),i},root:function(e,t,n,r){return(e.children.some(function(e){return cp(e)})?n.containerPhrasing:n.containerFlow).call(n,e,r)},strong:up,text:function(e,t,n,r){return n.safe(e.value,r)},thematicBreak:function(e,t,n){const r=(sp(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}};function fp(e){const t=e._align;this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function pp(e){this.exit(e),this.data.inTable=void 0}function hp(e){this.enter({type:"tableRow",children:[]},e)}function gp(e){this.exit(e)}function mp(e){this.enter({type:"tableCell",children:[]},e)}function bp(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,vp)),this.stack[this.stack.length-1].value=t,this.exit(e)}function vp(e,t){return"|"===t?t:e}function yp(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,o=t.stringLength,a=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:function(e,t,n){let r=dp.inlineCode(e,t,n);return n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&")),r},table:function(e,t,n,r){return l(function(e,t,n){const r=e.children;let o=-1;const a=[],i=t.enter("table");for(;++o<r.length;)a[o]=s(r[o],t,n);return i(),a}(e,n,r),e.align)},tableCell:i,tableRow:function(e,t,n,r){const o=l([s(e,n,r)]);return o.slice(0,o.indexOf("\n"))}}};function i(e,t,n,r){const o=n.enter("tableCell"),i=n.enter("phrasing"),l=n.containerPhrasing(e,{...r,before:a,after:a});return i(),o(),l}function l(e,t){return function(e,t){const n=t||{},r=(n.align||[]).concat(),o=n.stringLength||$f,a=[],i=[],l=[],s=[];let c=0,u=-1;for(;++u<e.length;){const t=[],r=[];let a=-1;for(e[u].length>c&&(c=e[u].length);++a<e[u].length;){const i=Vf(e[u][a]);if(!1!==n.alignDelimiters){const e=o(i);r[a]=e,(void 0===s[a]||e>s[a])&&(s[a]=e)}t.push(i)}i[u]=t,l[u]=r}let d=-1;if("object"==typeof r&&"length"in r)for(;++d<c;)a[d]=Hf(r[d]);else{const e=Hf(r);for(;++d<c;)a[d]=e}d=-1;const f=[],p=[];for(;++d<c;){const e=a[d];let t="",r="";99===e?(t=":",r=":"):108===e?t=":":114===e&&(r=":");let o=!1===n.alignDelimiters?1:Math.max(1,s[d]-t.length-r.length);const i=t+"-".repeat(o)+r;!1!==n.alignDelimiters&&(o=t.length+o+r.length,o>s[d]&&(s[d]=o),p[d]=o),f[d]=i}i.splice(1,0,f),l.splice(1,0,p),u=-1;const h=[];for(;++u<i.length;){const e=i[u],t=l[u];d=-1;const r=[];for(;++d<c;){const o=e[d]||"";let i="",l="";if(!1!==n.alignDelimiters){const e=s[d]-(t[d]||0),n=a[d];114===n?i=" ".repeat(e):99===n?e%2?(i=" ".repeat(e/2+.5),l=" ".repeat(e/2-.5)):(i=" ".repeat(e/2),l=i):l=" ".repeat(e)}!1===n.delimiterStart||d||r.push("|"),!1===n.padding||!1===n.alignDelimiters&&""===o||!1===n.delimiterStart&&!d||r.push(" "),!1!==n.alignDelimiters&&r.push(i),r.push(o),!1!==n.alignDelimiters&&r.push(l),!1!==n.padding&&r.push(" "),!1===n.delimiterEnd&&d===c-1||r.push("|")}h.push(!1===n.delimiterEnd?r.join("").replace(/ +$/,""):r.join(""))}return h.join("\n")}(e,{align:t,alignDelimiters:r,padding:n,stringLength:o})}function s(e,t,n){const r=e.children;let o=-1;const a=[],l=t.enter("tableRow");for(;++o<r.length;)a[o]=i(r[o],0,t,n);return l(),a}}function xp(e){this.stack[this.stack.length-2].checked="taskListCheckValueChecked"===e.type}function kp(e){const t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){const e=this.stack[this.stack.length-1],n=e.children[0];if(n&&"text"===n.type){const r=t.children;let o,a=-1;for(;++a<r.length;){const e=r[a];if("paragraph"===e.type){o=e;break}}o===e&&(n.value=n.value.slice(1),0===n.value.length?e.children.shift():e.position&&n.position&&"number"==typeof n.position.start.offset&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function Sp(e,t,n,r){const o=e.children[0],a="boolean"==typeof e.checked&&o&&"paragraph"===o.type,i="["+(e.checked?"x":" ")+"] ",l=n.createTracker(r);a&&l.move(i);let s=dp.listItem(e,t,n,{...r,...l.current()});return a&&(s=s.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,function(e){return e+i})),s}const wp={tokenize:function(e,t,n){let r=0;return function t(a){return(87===a||119===a)&&r<3?(r++,e.consume(a),t):46===a&&3===r?(e.consume(a),o):n(a)};function o(e){return null===e?n(e):t(e)}},partial:!0},_p={tokenize:function(e,t,n){let r,o,a;return i;function i(t){return 46===t||95===t?e.check(Ep,s,l)(t):null===t||uc(t)||pc(t)||45!==t&&fc(t)?s(t):(a=!0,e.consume(t),i)}function l(t){return 95===t?r=!0:(o=r,r=void 0),e.consume(t),i}function s(e){return o||r||!a?n(e):t(e)}},partial:!0},Cp={tokenize:function(e,t){let n=0,r=0;return o;function o(i){return 40===i?(n++,e.consume(i),o):41===i&&r<n?a(i):33===i||34===i||38===i||39===i||41===i||42===i||44===i||46===i||58===i||59===i||60===i||63===i||93===i||95===i||126===i?e.check(Ep,t,a)(i):null===i||uc(i)||pc(i)?t(i):(e.consume(i),o)}function a(t){return 41===t&&r++,e.consume(t),o}},partial:!0},Ep={tokenize:function(e,t,n){return r;function r(i){return 33===i||34===i||39===i||41===i||42===i||44===i||46===i||58===i||59===i||63===i||95===i||126===i?(e.consume(i),r):38===i?(e.consume(i),a):93===i?(e.consume(i),o):60===i||null===i||uc(i)||pc(i)?t(i):n(i)}function o(e){return null===e||40===e||91===e||uc(e)||pc(e)?t(e):r(e)}function a(e){return nc(e)?i(e):n(e)}function i(t){return 59===t?(e.consume(t),r):nc(t)?(e.consume(t),i):n(t)}},partial:!0},Pp={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(e){return rc(e)?n(e):t(e)}},partial:!0},zp={name:"wwwAutolink",tokenize:function(e,t,n){const r=this;return function(t){return 87!==t&&119!==t||!Ap.call(r,r.previous)||jp(r.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(wp,e.attempt(_p,e.attempt(Cp,o),n),n)(t))};function o(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:Ap},Tp={name:"protocolAutolink",tokenize:function(e,t,n){const r=this;let o="",a=!1;return function(t){return 72!==t&&104!==t||!Dp.call(r,r.previous)||jp(r.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),o+=String.fromCodePoint(t),e.consume(t),i)};function i(t){if(nc(t)&&o.length<5)return o+=String.fromCodePoint(t),e.consume(t),i;if(58===t){const n=o.toLowerCase();if("http"===n||"https"===n)return e.consume(t),l}return n(t)}function l(t){return 47===t?(e.consume(t),a?s:(a=!0,l)):n(t)}function s(t){return null===t||ac(t)||uc(t)||pc(t)||fc(t)?n(t):e.attempt(_p,e.attempt(Cp,c),n)(t)}function c(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:Dp},Rp={name:"emailAutolink",tokenize:function(e,t,n){const r=this;let o,a;return function(t){return Fp(t)&&Np.call(r,r.previous)&&!jp(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),i(t)):n(t)};function i(t){return Fp(t)?(e.consume(t),i):64===t?(e.consume(t),l):n(t)}function l(t){return 46===t?e.check(Pp,c,s)(t):45===t||95===t||rc(t)?(a=!0,e.consume(t),l):c(t)}function s(t){return e.consume(t),o=!0,l}function c(i){return a&&o&&nc(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(i)):n(i)}},previous:Np},Ip={};let Op=48;for(;Op<123;)Ip[Op]=Rp,Op++,58===Op?Op=65:91===Op&&(Op=97);function Ap(e){return null===e||40===e||42===e||95===e||91===e||93===e||126===e||uc(e)}function Dp(e){return!nc(e)}function Np(e){return!(47===e||Fp(e))}function Fp(e){return 43===e||45===e||46===e||95===e||rc(e)}function jp(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if(("labelLink"===r.type||"labelImage"===r.type)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}Ip[43]=Rp,Ip[45]=Rp,Ip[46]=Rp,Ip[95]=Rp,Ip[72]=[Rp,Tp],Ip[104]=[Rp,Tp],Ip[87]=[Rp,zp],Ip[119]=[Rp,zp];const Mp={tokenize:function(e,t,n){const r=this;return mc(e,function(e){const o=r.events[r.events.length-1];return o&&"gfmFootnoteDefinitionIndent"===o[1].type&&4===o[2].sliceSerialize(o[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function Lp(e,t,n){const r=this;let o=r.events.length;const a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i;for(;o--;){const e=r.events[o][1];if("labelImage"===e.type){i=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(o){if(!i||!i._balanced)return n(o);const l=tc(r.sliceSerialize({start:i.end,end:r.now()}));return 94===l.codePointAt(0)&&a.includes(l.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),t(o)):n(o)}}function Wp(e,t){let n=e.length;for(;n--&&("labelImage"!==e[n][1].type||"enter"!==e[n][0]););e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},e[e.length-1][1].start)},i={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},l=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",o,t],["exit",o,t],["enter",a,t],["enter",i,t],["exit",i,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...l),e}function Bp(e,t,n){const r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a,i=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),l};function l(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",s)}function s(l){if(i>999||93===l&&!a||null===l||91===l||uc(l))return n(l);if(93===l){e.exit("chunkString");const a=e.exit("gfmFootnoteCallString");return o.includes(tc(r.sliceSerialize(a)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(l)}return uc(l)||(a=!0),i++,e.consume(l),92===l?c:s}function c(t){return 91===t||92===t||93===t?(e.consume(t),i++,s):s(t)}}function $p(e,t,n){const r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a,i,l=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),s};function s(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):n(t)}function c(t){if(l>999||93===t&&!i||null===t||91===t||uc(t))return n(t);if(93===t){e.exit("chunkString");const n=e.exit("gfmFootnoteDefinitionLabelString");return a=tc(r.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),d}return uc(t)||(i=!0),l++,e.consume(t),92===t?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),l++,c):c(t)}function d(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),o.includes(a)||o.push(a),mc(e,f,"gfmFootnoteDefinitionWhitespace")):n(t)}function f(e){return t(e)}}function Vp(e,t,n){return e.check(Cc,t,e.attempt(Mp,t,n))}function Hp(e){e.exit("gfmFootnoteDefinition")}function Up(e){let t=(e||{}).singleTilde;const n={name:"strikethrough",tokenize:function(e,n,r){const o=this.previous,a=this.events;let i=0;return function(t){return 126===o&&"characterEscape"!==a[a.length-1][1].type?r(t):(e.enter("strikethroughSequenceTemporary"),l(t))};function l(a){const s=xc(o);if(126===a)return i>1?r(a):(e.consume(a),i++,l);if(i<2&&!t)return r(a);const c=e.exit("strikethroughSequenceTemporary"),u=xc(a);return c._open=!u||2===u&&Boolean(s),c._close=!s||2===s&&Boolean(u),n(a)}},resolveAll:function(e,t){let n=-1;for(;++n<e.length;)if("enter"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._close){let r=n;for(;r--;)if("exit"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset===e[r][1].end.offset-e[r][1].start.offset){e[n][1].type="strikethroughSequence",e[r][1].type="strikethroughSequence";const o={type:"strikethrough",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},a={type:"strikethroughText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},i=[["enter",o,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",a,t]],l=t.parser.constructs.insideSpan.null;l&&Ys(i,i.length,0,kc(l,e.slice(r+1,n),t)),Ys(i,i.length,0,[["exit",a,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",o,t]]),Ys(e,r-1,n-r+3,i),n=r+i.length-2;break}}for(n=-1;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data");return e}};return null==t&&(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}}}class qp{constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let o=0;if(0!==n||0!==r.length){for(;o<e.map.length;){if(e.map[o][0]===t)return e.map[o][1]+=n,void e.map[o][2].push(...r);o+=1}e.map.push([t,n,r])}}(this,e,t,n)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),0===this.map.length)return;let t=this.map.length;const n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push(e.slice()),e.length=0;let r=n.pop();for(;r;){for(const t of r)e.push(t);r=n.pop()}this.map.length=0}}function Gp(e,t){let n=!1;const r=[];for(;t<e.length;){const o=e[t];if(n){if("enter"===o[0])"tableContent"===o[1].type&&r.push("tableDelimiterMarker"===e[t+1][1].type?"left":"none");else if("tableContent"===o[1].type){if("tableDelimiterMarker"===e[t-1][1].type){const e=r.length-1;r[e]="left"===r[e]?"center":"right"}}else if("tableDelimiterRow"===o[1].type)break}else"enter"===o[0]&&"tableDelimiterRow"===o[1].type&&(n=!0);t+=1}return r}function Yp(e,t,n){const r=this;let o,a=0,i=0;return function(e){let t=r.events.length-1;for(;t>-1;){const e=r.events[t][1].type;if("lineEnding"!==e&&"linePrefix"!==e)break;t--}const o=t>-1?r.events[t][1].type:null,a="tableHead"===o||"tableRow"===o?x:l;return a===x&&r.parser.lazy[r.now().line]?n(e):a(e)};function l(t){return e.enter("tableHead"),e.enter("tableRow"),function(e){return 124===e||(o=!0,i+=1),s(e)}(t)}function s(t){return null===t?n(t):cc(t)?i>1?(i=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),d):n(t):dc(t)?mc(e,s,"whitespace")(t):(i+=1,o&&(o=!1,a+=1),124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),o=!0,s):(e.enter("data"),c(t)))}function c(t){return null===t||124===t||uc(t)?(e.exit("data"),s(t)):(e.consume(t),92===t?u:c)}function u(t){return 92===t||124===t?(e.consume(t),c):c(t)}function d(t){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(t):(e.enter("tableDelimiterRow"),o=!1,dc(t)?mc(e,f,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):f(t))}function f(t){return 45===t||58===t?h(t):124===t?(o=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),p):y(t)}function p(t){return dc(t)?mc(e,h,"whitespace")(t):h(t)}function h(t){return 58===t?(i+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),g):45===t?(i+=1,g(t)):null===t||cc(t)?v(t):y(t)}function g(t){return 45===t?(e.enter("tableDelimiterFiller"),m(t)):y(t)}function m(t){return 45===t?(e.consume(t),m):58===t?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),b):(e.exit("tableDelimiterFiller"),b(t))}function b(t){return dc(t)?mc(e,v,"whitespace")(t):v(t)}function v(n){return 124===n?f(n):(null===n||cc(n))&&o&&a===i?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(n)):y(n)}function y(e){return n(e)}function x(t){return e.enter("tableRow"),k(t)}function k(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),k):null===n||cc(n)?(e.exit("tableRow"),t(n)):dc(n)?mc(e,k,"whitespace")(n):(e.enter("data"),S(n))}function S(t){return null===t||124===t||uc(t)?(e.exit("data"),k(t)):(e.consume(t),92===t?w:S)}function w(t){return 92===t||124===t?(e.consume(t),S):S(t)}}function Xp(e,t){let n,r,o,a=-1,i=!0,l=0,s=[0,0,0,0],c=[0,0,0,0],u=!1,d=0;const f=new qp;for(;++a<e.length;){const p=e[a],h=p[1];"enter"===p[0]?"tableHead"===h.type?(u=!1,0!==d&&(Qp(f,t,d,n,r),r=void 0,d=0),n={type:"table",start:Object.assign({},h.start),end:Object.assign({},h.end)},f.add(a,0,[["enter",n,t]])):"tableRow"===h.type||"tableDelimiterRow"===h.type?(i=!0,o=void 0,s=[0,0,0,0],c=[0,a+1,0,0],u&&(u=!1,r={type:"tableBody",start:Object.assign({},h.start),end:Object.assign({},h.end)},f.add(a,0,[["enter",r,t]])),l="tableDelimiterRow"===h.type?2:r?3:1):!l||"data"!==h.type&&"tableDelimiterMarker"!==h.type&&"tableDelimiterFiller"!==h.type?"tableCellDivider"===h.type&&(i?i=!1:(0!==s[1]&&(c[0]=c[1],o=Kp(f,t,s,l,void 0,o)),s=c,c=[s[1],a,0,0])):(i=!1,0===c[2]&&(0!==s[1]&&(c[0]=c[1],o=Kp(f,t,s,l,void 0,o),s=[0,0,0,0]),c[2]=a)):"tableHead"===h.type?(u=!0,d=a):"tableRow"===h.type||"tableDelimiterRow"===h.type?(d=a,0!==s[1]?(c[0]=c[1],o=Kp(f,t,s,l,a,o)):0!==c[1]&&(o=Kp(f,t,c,l,a,o)),l=0):!l||"data"!==h.type&&"tableDelimiterMarker"!==h.type&&"tableDelimiterFiller"!==h.type||(c[3]=a)}for(0!==d&&Qp(f,t,d,n,r),f.consume(t.events),a=-1;++a<t.events.length;){const e=t.events[a];"enter"===e[0]&&"table"===e[1].type&&(e[1]._align=Gp(t.events,a))}return e}function Kp(e,t,n,r,o,a){const i=1===r?"tableHeader":2===r?"tableDelimiter":"tableData";0!==n[0]&&(a.end=Object.assign({},Jp(t.events,n[0])),e.add(n[0],0,[["exit",a,t]]));const l=Jp(t.events,n[1]);if(a={type:i,start:Object.assign({},l),end:Object.assign({},l)},e.add(n[1],0,[["enter",a,t]]),0!==n[2]){const o=Jp(t.events,n[2]),a=Jp(t.events,n[3]),i={type:"tableContent",start:Object.assign({},o),end:Object.assign({},a)};if(e.add(n[2],0,[["enter",i,t]]),2!==r){const r=t.events[n[2]],o=t.events[n[3]];if(r[1].end=Object.assign({},o[1].end),r[1].type="chunkText",r[1].contentType="text",n[3]>n[2]+1){const t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",i,t]])}return void 0!==o&&(a.end=Object.assign({},Jp(t.events,o)),e.add(o,0,[["exit",a,t]]),a=void 0),a}function Qp(e,t,n,r,o){const a=[],i=Jp(t.events,n);o&&(o.end=Object.assign({},i),a.push(["exit",o,t])),r.end=Object.assign({},i),a.push(["exit",r,t]),e.add(n+1,0,a)}function Jp(e,t){const n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}const Zp={name:"tasklistCheck",tokenize:function(e,t,n){const r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),o):n(t)};function o(t){return uc(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),a):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),a):n(t)}function a(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),i):n(t)}function i(r){return cc(r)?t(r):dc(r)?e.check({tokenize:eh},t,n)(r):n(r)}}};function eh(e,t,n){return mc(e,function(e){return null===e?n(e):t(e)},"whitespace")}const th={};function nh(e){const t=e||th,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),o=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),a=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push(function(e){return Qs([{text:Ip},{document:{91:{name:"gfmFootnoteDefinition",tokenize:$p,continuation:{tokenize:Vp},exit:Hp}},text:{91:{name:"gfmFootnoteCall",tokenize:Bp},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:Lp,resolveTo:Wp}}},Up(e),{flow:{null:{name:"table",tokenize:Yp,resolveAll:Xp}}},{text:{91:Zp}}])}(t)),o.push([{transforms:[Sf],enter:{literalAutolink:mf,literalAutolinkEmail:bf,literalAutolinkHttp:bf,literalAutolinkWww:bf},exit:{literalAutolink:kf,literalAutolinkEmail:xf,literalAutolinkHttp:vf,literalAutolinkWww:yf}},{enter:{gfmFootnoteCallString:Ef,gfmFootnoteCall:Pf,gfmFootnoteDefinitionLabelString:zf,gfmFootnoteDefinition:Tf},exit:{gfmFootnoteCallString:Rf,gfmFootnoteCall:If,gfmFootnoteDefinitionLabelString:Of,gfmFootnoteDefinition:Af}},{canContainEols:["delete"],enter:{strikethrough:Lf},exit:{strikethrough:Wf}},{enter:{table:fp,tableData:mp,tableHeader:mp,tableRow:hp},exit:{codeText:bp,table:pp,tableData:gp,tableHeader:gp,tableRow:gp}},{exit:{taskListCheckValueChecked:xp,taskListCheckValueUnchecked:xp,paragraph:kp}}]),a.push(function(e){return{extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:hf,notInConstruct:gf},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:hf,notInConstruct:gf},{character:":",before:"[ps]",after:"\\/",inConstruct:hf,notInConstruct:gf}]},Nf(e),{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Mf}],handlers:{delete:Bf}},yp(e),{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Sp}}]}}(t))}const rh=({message:e})=>"loading"===e.type?e.content&&h.jsx(Zd,{message:e.content,type:"loading"}):"user"===e.type?h.jsx(hn,{maxW:"220px",alignSelf:"flex-end",mb:1.5,children:(e.content.length>0||e.repliedProduct)&&h.jsxs(Ui,{bg:"#EBF8FF",borderRadius:"20px",px:3,py:1.5,gap:1.5,alignItems:"start",w:"full",children:[e.repliedProduct&&h.jsxs(Hi,{bg:"white",borderRadius:"10px",p:1.5,gap:1.5,w:"full",children:[h.jsx(ol,{src:e.repliedProduct.image,alt:"product",w:"32px",h:"32px"}),h.jsx(il,{fontSize:"10px",fontWeight:"400",color:"#1A1A1A",children:e.repliedProduct.name})]}),h.jsx(Kd,{components:{p:({children:e})=>h.jsx(il,{wordBreak:"break-word",fontSize:"12px",fontWeight:"500",color:"#4299E1",children:e})},children:e.content})]})}):"products"===e.type?h.jsx(hn,{maxW:"100%",alignSelf:"flex-start",mb:3,w:"full",children:h.jsx(cf,{products:e.products||[]})}):"suggestions"===e.type?h.jsx(uf,{suggestions:e.suggestions||[]}):h.jsxs(Ui,{align:"stretch",gap:1.5,children:[h.jsx(hn,{alignSelf:"flex-start",children:h.jsx(Hi,{align:"start",justifyContent:"flex-start",gap:1.5,children:h.jsx(hn,{w:"full",borderRadius:"20px",py:2,children:h.jsx(Kd,{remarkPlugins:[nh],components:{p:({children:e})=>h.jsx(il,{fontSize:"12px",fontWeight:"400",color:"black",textAlign:"left",children:e}),ol:({children:e})=>h.jsx(hn,{as:"ol",p:1.5,textAlign:"left",mb:1.5,listStyleType:"decimal",listStylePosition:"inside",children:e}),ul:({children:e})=>h.jsx(hn,{as:"ul",p:1.5,textAlign:"left",mb:1.5,listStyleType:"disc",listStylePosition:"inside",children:e}),li:({children:e})=>h.jsx(il,{as:"li",fontSize:"12px",fontWeight:"400",color:"black",textAlign:"left",display:"list-item",children:e}),img:({src:e,alt:t})=>h.jsx(ol,{src:e,alt:t||"",maxW:"100%",borderRadius:"6px",my:1.5}),a:({children:e,href:t})=>h.jsx(sl,{href:t,target:"_blank",display:"block",wordBreak:"break-word",overflowWrap:"anywhere",children:h.jsx(il,{fontSize:"12px",fontWeight:"400",color:"#6155F5",textAlign:"left",wordBreak:"break-word",overflowWrap:"anywhere",whiteSpace:"normal",children:e})}),table:({children:e})=>h.jsx(hn,{overflowX:"auto",maxW:"100%",css:{"&::-webkit-scrollbar":{height:"5px"},"&::-webkit-scrollbar-track":{background:"#f1f1f1",borderRadius:"8px"},"&::-webkit-scrollbar-thumb":{background:"#888",borderRadius:"8px"},"&::-webkit-scrollbar-thumb:hover":{background:"#555"}},children:h.jsx(pl,{size:"sm",variant:"outline",w:"full",my:1.5,striped:!0,children:e})}),thead:({children:e})=>h.jsx(gl,{children:e}),tbody:({children:e})=>h.jsx(vl,{children:e}),tr:({children:e})=>h.jsx(hl,{children:e}),th:({children:e})=>h.jsx(ml,{fontSize:"12px",fontWeight:"600",color:"black",textAlign:"left",px:1.5,lineHeight:"1.5",py:.75,textTransform:"none",letterSpacing:"normal",border:"1px solid",borderColor:"#DEDEDE",whiteSpace:"nowrap",bg:"#E0E0E0",children:e}),td:({children:e})=>h.jsx(bl,{fontSize:"12px",fontWeight:"400",color:"black",textAlign:"left",px:1.5,lineHeight:"1.5",py:.75,border:"1px solid",borderColor:"#DEDEDE",children:e})},children:e.content})})})}),e.products&&e.products.length>0&&h.jsx(cf,{products:e.products})]});function oh(e={}){const{name:t,strict:n=!0,hookName:r="useContext",providerName:o="Provider",errorMessage:a,defaultValue:i}=e,l=y.createContext(i);return l.displayName=t,[l.Provider,function e(){const t=y.useContext(l);if(!t&&n){const t=new Error(a??`${r} returned \`undefined\`. Seems you forgot to wrap component within ${o}`);throw t.name="ContextError",Error.captureStackTrace?.(t,e),t}return t},l]}const[ah,ih]=oh({name:"FieldContext",hookName:"useFieldContext",providerName:"<FieldProvider />",strict:!1});var lh=e=>"string"==typeof e;Function.prototype.toString.call(Object);var sh=(...e)=>(...t)=>{e.forEach(function(e){e?.(...t)})},ch=e=>"object"==typeof e&&null!==e,uh=e=>ch(e)&&9===e.nodeType;function dh(e){return uh(e)?e:(e=>ch(e)&&e===e.window)(e)?e.document:e?.ownerDocument??document}function fh(e){return(e=>(e=>ch(e)&&void 0!==e.nodeType)(e)&&11===e.nodeType&&"host"in e)(e)?fh(e.host):uh(e)?e.defaultView??window:(e=>ch(e)&&1===e.nodeType&&"string"==typeof e.nodeName)(e)?e.ownerDocument?.defaultView??window:window}var ph=new WeakMap,hh=(...e)=>e.map(e=>e?.trim?.()).filter(Boolean).join(" "),gh=/((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g,mh=e=>{const t={};let n;for(;n=gh.exec(e);)t[n[1]]=n[2];return t},bh=(e,t)=>{if(lh(e)){if(lh(t))return`${e};${t}`;e=mh(e)}else lh(t)&&(t=mh(t));return Object.assign({},e??{},t??{})};function vh(...e){let t={};for(let n of e){if(!n)continue;for(let r in t)r.startsWith("on")&&"function"==typeof t[r]&&"function"==typeof n[r]?t[r]=sh(n[r],t[r]):t[r]="className"!==r&&"class"!==r?"style"!==r?void 0!==n[r]?n[r]:t[r]:bh(t[r],n[r]):hh(t[r],n[r]);for(let r in n)void 0===t[r]&&(t[r]=n[r]);const e=Object.getOwnPropertySymbols(n);for(let r of e)t[r]=n[r]}return t}var yh=()=>e=>Array.from(new Set(e));function xh(...e){return t=>{const n=[];for(const r of e)if("function"==typeof r){const e=r(t);"function"==typeof e&&n.push(e)}else r&&(r.current=t);if(n.length)return()=>{for(const e of n)e()}}}const kh=e=>{const t=y.memo(y.forwardRef((t,n)=>{const{asChild:r,children:o,...a}=t;if(!r)return y.createElement(e,{...a,ref:n},o);if(!y.isValidElement(o))return null;const i=y.Children.only(o),l=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}(i);return y.cloneElement(i,{...vh(a,i.props),ref:n?xh(n,l):l})}));return t.displayName=e.displayName||e.name,t},Sh=(()=>{const e=new Map;return new Proxy(kh,{apply:(e,t,n)=>kh(n[0]),get(t,n){const r=n;return e.has(r)||e.set(r,kh(r)),e.get(r)}})})(),[wh]=oh({name:"EnvironmentContext",hookName:"useEnvironmentContext",providerName:"<EnvironmentProvider />",strict:!1,defaultValue:{getRootNode:()=>document,getDocument:()=>document,getWindow:()=>window}});var _h=(e,t=[])=>({parts:(...n)=>{if(Eh(t))return _h(e,n);throw new Error("createAnatomy().parts(...) should only be called once. Did you mean to use .extendWith(...) ?")},extendWith:(...n)=>_h(e,[...t,...n]),omit:(...n)=>_h(e,t.filter(e=>!n.includes(e))),rename:e=>_h(e,t),keys:()=>t,build:()=>[...new Set(t)].reduce((t,n)=>Object.assign(t,{[n]:{selector:[`&[data-scope="${Ch(e)}"][data-part="${Ch(n)}"]`,`& [data-scope="${Ch(e)}"][data-part="${Ch(n)}"]`].join(", "),attrs:{"data-scope":Ch(e),"data-part":Ch(n)}}}),{})}),Ch=e=>e.replace(/([A-Z])([A-Z])/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),Eh=e=>0===e.length;const Ph=_h("field").parts("root","errorText","helperText","input","label","select","textarea","requiredIndicator");Ph.build();var zh=e=>{if(!e)return;const t=function(e){return ph.has(e)||ph.set(e,fh(e).getComputedStyle(e)),ph.get(e)}(e),n=fh(e),r=dh(e),o=()=>{requestAnimationFrame(()=>{let n;e.style.height="auto",n="content-box"===t.boxSizing?e.scrollHeight-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):e.scrollHeight+parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),"none"!==t.maxHeight&&n>parseFloat(t.maxHeight)?("hidden"===t.overflowY&&(e.style.overflowY="scroll"),n=parseFloat(t.maxHeight)):"hidden"!==t.overflowY&&(e.style.overflowY="hidden"),e.style.height=`${n}px`})};e.addEventListener("input",o),e.form?.addEventListener("reset",o);const a=Object.getPrototypeOf(e),i=Object.getOwnPropertyDescriptor(a,"value");Object.defineProperty(e,"value",{...i,set(){i?.set?.apply(this,arguments),o()}});const l=new n.ResizeObserver(()=>{requestAnimationFrame(()=>o())});l.observe(e);const s=new n.MutationObserver(()=>o());return s.observe(e,{attributes:!0,attributeFilter:["rows","placeholder"]}),r.fonts?.addEventListener("loadingdone",o),()=>{e.removeEventListener("input",o),e.form?.removeEventListener("reset",o),r.fonts?.removeEventListener("loadingdone",o),l.disconnect(),s.disconnect()}};const Th=y.forwardRef((e,t)=>{const{autoresize:n,...r}=e,o=y.useRef(null),a=ih(),i=vh(a?.getTextareaProps(),{style:{resize:n?"none":void 0}},r);return y.useEffect(()=>{if(n)return zh(o.current)},[n]),h.jsx(Sh.textarea,{...i,ref:xh(t,o)})});Th.displayName="FieldTextarea";const{withContext:Rh}=Yi({key:"textarea"}),Ih=Rh(Th),Oh=({placeholder:e="Write a prompt or paste a contract address",value:t="",onChange:n,onSend:r,isMobileView:o})=>{const{chatState:{repliedProduct:a},setRepliedProduct:i}=Li(),[l,s]=y.useState(t);y.useEffect(()=>{s(u(t))},[t]);const c=e=>{(l.trim()||e)&&(r?.({message:e??l.trim()},a?.product),i?.(null),s(""))},u=e=>e.trimStart();return h.jsx(Ui,{gap:1.5,align:"stretch",bg:"transparent",position:"relative",children:h.jsx(hn,{bg:"#EDEDED",borderRadius:"20px",position:"relative",p:1.5,w:"full",h:a?o?"260px":"165px":"75px",transition:"all 0.6s cubic-bezier(0.4, 0, 0.2, 1)",overflow:"hidden",transform:"scale(1)",opacity:1,children:h.jsxs(hn,{position:"absolute",top:0,left:0,right:0,bottom:0,p:1.5,opacity:1,transform:"translateY(0) scale(1)",transition:"all 0.5s cubic-bezier(0.4, 0, 0.2, 1)",pointerEvents:"auto",children:[a&&h.jsxs(Ui,{opacity:1,p:"6px",gap:"6px",borderRadius:"10px",borderWidth:"1px",bgColor:"white",children:[h.jsxs(Hi,{justify:"space-between",align:"center",w:"full",children:[h.jsx(ol,{src:a?.product?.image,alt:"product",w:"32px",h:"32px"}),h.jsx(il,{fontSize:"10px",fontWeight:400,color:"#1A1A1A",children:a?.product?.name}),h.jsx(rl,{bg:"transparent","aria-label":"Remove product",onClick:()=>i?.(null),children:h.jsx(ol,{src:"data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.26915%205.7309C5.98798%205.44973%205.53209%205.44973%205.25092%205.7309C4.96975%206.01207%204.96975%206.46796%205.25092%206.74913L10.5018%2012L5.25092%2017.2509C4.96975%2017.5321%204.96975%2017.9879%205.25092%2018.2691C5.53209%2018.5503%205.98798%2018.5503%206.26915%2018.2691L11.52%2013.0183L16.7709%2018.2691C17.0521%2018.5503%2017.5079%2018.5503%2017.7891%2018.2691C18.0703%2017.9879%2018.0703%2017.5321%2017.7891%2017.2509L12.5383%2012L17.7891%206.74913C18.0703%206.46796%2018.0703%206.01207%2017.7891%205.7309C17.5079%205.44973%2017.0521%205.44973%2016.7709%205.7309L11.52%2010.9817L6.26915%205.7309Z'%20fill='black'%20/%3e%3c/svg%3e",alt:"arrow-left",w:"20px",h:"20px"})})]}),a?.suggestions&&a.suggestions.length>0&&h.jsxs(h.Fragment,{children:[h.jsx(hn,{display:{base:"none",md:"block"},w:"full",children:h.jsx(Hi,{w:"full",justify:"flex-start",align:"center",gap:1.5,children:a.suggestions.map(e=>h.jsx(nl,{variant:"outline",bg:"transparent",color:"#1A1A1A",fontSize:"10px",borderColor:"#EDEDED",borderRadius:"20px",fontWeight:400,onClick:()=>c(e),h:"28px",px:2.5,minW:"unset",flex:1,lineHeight:"1.5",overflow:"hidden",children:h.jsx(hn,{as:"span",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",display:"block",w:"100%",children:e})},e))})}),h.jsx(hn,{display:{base:"block",md:"none"},w:"full",children:h.jsx(Ui,{w:"full",align:"stretch",gap:"6px",children:a.suggestions.map(e=>h.jsx(nl,{variant:"outline",bg:"transparent",w:"full",color:"#1A1A1A",fontSize:"10px",borderColor:"#EDEDED",borderRadius:"20px",fontWeight:400,onClick:()=>c(e),children:e},e))})})]})]}),h.jsx(Ih,{value:l,onChange:e=>(e=>{const t=u(e);s(t),n?.(t)})(e.target.value),onKeyPress:e=>{"Enter"!==e.key||e.shiftKey||(e.preventDefault(),c())},placeholder:e,fontSize:"14px",color:"black",fontWeight:300,resize:"none",h:"100%",border:"none",bg:"transparent",lineHeight:"1.5",_focus:{boxShadow:"none",border:"none",outline:"none"},_placeholder:{color:"black"},transition:"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)"}),h.jsx(rl,{position:"absolute",bottom:"10px",right:"10px",size:"xs",borderRadius:"full",bg:"#040404",color:"white","aria-label":"Send",onClick:()=>c(),_hover:{bg:"gray.800"},disabled:!l.trim(),transition:"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)",_disabled:{bg:"#CCCCCC",cursor:"not-allowed"},transform:"scale(1)",zIndex:2,children:h.jsx("img",{src:"data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='16'%20cy='16'%20r='16'%20fill='%23040404'%20/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M14.5858%2011.0002C15.3669%2010.2191%2016.6332%2010.2191%2017.4143%2011.0002L20.3738%2013.9597C20.7643%2014.3502%2020.7643%2014.9834%2020.3738%2015.3739C19.9833%2015.7644%2019.3501%2015.7644%2018.9596%2015.3739L17%2013.4144V21.0002C17%2021.5524%2016.5523%2022.0002%2016%2022.0002C15.4478%2022.0002%2015%2021.5524%2015%2021.0002V13.4144L13.0405%2015.3739C12.65%2015.7644%2012.0168%2015.7645%2011.6263%2015.3739C11.2358%2014.9834%2011.2358%2014.3502%2011.6263%2013.9597L14.5858%2011.0002Z'%20fill='white'%20/%3e%3c/svg%3e",alt:"Send"})})]})})})},Ah=({placeholder:e="Write a prompt or paste a contract address",onStop:t})=>{const{stopCurrentRequest:n}=Li();return h.jsx(Ui,{gap:1.5,align:"stretch",bg:"transparent",position:"relative",children:h.jsx(hn,{bg:"#EDEDED",borderRadius:"28px",position:"relative",p:2.5,w:"full",h:"42px",transition:"all 0.6s cubic-bezier(0.4, 0, 0.2, 1)",overflow:"hidden",transform:"scale(1)",opacity:1,children:h.jsx(hn,{position:"absolute",top:0,left:0,right:0,bottom:0,p:2.5,opacity:1,transform:"translateY(0) scale(1)",transition:"all 0.5s cubic-bezier(0.4, 0, 0.2, 1)",pointerEvents:"auto",children:h.jsxs(Hi,{justify:"space-between",align:"center",h:"full",children:[h.jsx(il,{color:"#999999",fontSize:"14px",flex:1,transition:"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)",children:e}),h.jsx(rl,{size:"xs",borderRadius:"full",bg:"#040404",color:"white","aria-label":"Stop",onClick:()=>{n?.(),t?.()},_hover:{bg:"gray.800"},transition:"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)",transform:"scale(1)",zIndex:2,children:h.jsx("img",{src:"data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='16'%20cy='16'%20r='16'%20fill='%23040404'%20/%3e%3cpath%20d='M22%2010H10V22H22V10Z'%20fill='white'%20/%3e%3c/svg%3e",alt:"Stop"})})]})})})})},Dh=({state:e="starting",placeholder:t="Write a prompt or paste a contract address",value:n="",onChange:r,onSend:o,onStop:a})=>{const[i,l]=y.useState(!1);return y.useEffect(()=>{const e=()=>{l(window.innerWidth<=768)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),"starting"===e?h.jsx(Oh,{placeholder:t,value:n,onChange:r,onSend:o,isMobileView:i}):h.jsx(Ah,{placeholder:t,onStop:a,isMobileView:i})},Nh=()=>{const e=Li(),{botData:t}=Li(),n=y.useRef(null),r=e.messages.length>0;return y.useEffect(()=>{r&&n.current&&setTimeout(()=>{n.current?.scrollTo({top:n.current.scrollHeight,behavior:"smooth"})},100)},[e.messages,r]),h.jsxs(Ui,{flex:1,justify:"space-between",align:"stretch",gap:3,h:"full",minH:"200px",maxH:"300px",overflow:"hidden",children:[!r&&t?.suggested_prompts&&h.jsx(hn,{w:"full",flex:1,overflowY:"auto",overflowX:"hidden",css:{"&::-webkit-scrollbar":{display:"none"},scrollbarWidth:"none",msOverflowStyle:"none"},children:h.jsx(Hi,{wrap:"wrap",gap:1.5,children:t.suggested_prompts.slice(0,3).map((t,n)=>h.jsxs(nl,{variant:"outline",h:"auto",borderRadius:"20px",border:"1px solid #EDEDED",bg:"white",color:"#1A1A1A",fontSize:"12px",fontWeight:400,padding:"6px 10px 6px 10px",_hover:{bg:"#F8F8F8",borderColor:"#D0D0D0"},_active:{bg:"#F0F0F0",transform:"scale(0.98)"},lineHeight:"1.5",onClick:()=>(t=>{e.sendMessage({message:t})})(t),justifyContent:"start",maxW:"100%",children:[h.jsx(ol,{src:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8%202.66683C5.42267%202.66683%203.33333%204.75617%203.33333%207.3335H2C2%204.01979%204.68629%201.3335%208%201.3335C11.3137%201.3335%2014%204.01979%2014%207.3335C14%208.75016%2013.509%2010.0522%2012.6879%2011.0786L14.8047%2013.1954L13.8619%2014.1382L11.7451%2012.0214C10.7187%2012.8425%209.41667%2013.3335%208%2013.3335V12.0002C10.5773%2012.0002%2012.6667%209.91083%2012.6667%207.3335C12.6667%204.75617%2010.5773%202.66683%208%202.66683Z'%20fill='%23595959'%20/%3e%3cpath%20d='M5.85714%206.6665L2%2011.2498H4.57143L4.14286%2013.9998L8%209.4165H5.42857L5.85714%206.6665Z'%20fill='%23595959'%20/%3e%3c/svg%3e",alt:"AI Search",w:3.5,h:3.5}),h.jsx(hn,{as:"span",whiteSpace:"normal",wordBreak:"break-word",overflowWrap:"break-word",fontFamily:"Estedad-FD, system-ui, sans-serif",children:t})]},n))})}),r&&h.jsx(hn,{ref:n,flex:1,overflowY:"auto",overflowX:"hidden",css:{"&::-webkit-scrollbar":{display:"none"},scrollbarWidth:"none",msOverflowStyle:"none"},children:h.jsx(Ui,{gap:1.5,align:"stretch",pb:1.5,children:e.messages.map(e=>h.jsx(rh,{message:e},e.id))})}),h.jsx(hn,{flexShrink:0,bg:"transparent",borderRadius:"10px",transition:"all 0.2s ease",children:h.jsx(Dh,{state:e.inputState,placeholder:"generating"===e.inputState?"Processing...":"What's your question?",onSend:e.isInputDisabled?void 0:e.sendMessage,onStop:e.stopCurrentRequest})})]})};var Fh=_h("collapsible").parts("root","trigger","content","indicator");Fh.build(),yh()(["dir","disabled","getRootNode","id","ids","onExitComplete","onOpenChange","defaultOpen","open"]);var jh=_h("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"]);jh.build(),yh()(["closeOnSelect","dir","disabled","format","defaultFormat","getRootNode","id","ids","initialFocusEl","inline","name","positioning","onFocusOutside","onFormatChange","onInteractOutside","onOpenChange","onPointerDownOutside","onValueChange","onValueChangeEnd","defaultOpen","open","positioning","required","readOnly","value","defaultValue","invalid","openAutoFocus"]),yh()(["xChannel","yChannel"]),yh()(["channel","orientation"]),yh()(["value","disabled"]),yh()(["value","respectAlpha"]),yh()(["size"]);var Mh=_h("accordion").parts("root","item","itemTrigger","itemContent","itemIndicator");Mh.build(),yh()(["collapsible","dir","disabled","getRootNode","id","ids","multiple","onFocusChange","onValueChange","orientation","value","defaultValue"]),yh()(["value","disabled"]);var Lh=_h("avatar").parts("root","image","fallback");Lh.build(),yh()(["dir","id","ids","onStatusChange","getRootNode"]);var Wh=_h("checkbox").parts("root","label","control","indicator");Wh.build(),yh()(["defaultChecked","checked","dir","disabled","form","getRootNode","id","ids","invalid","name","onCheckedChange","readOnly","required","value"]);const Bh=Wh.extendWith("group");var $h=_h("clipboard").parts("root","control","trigger","indicator","input","label");$h.build(),yh()(["getRootNode","id","ids","value","defaultValue","timeout","onStatusChange","onValueChange"]),yh()(["copied"]);const Vh=jh.extendWith("view");var Hh=_h("combobox").parts("root","clearTrigger","content","control","input","item","itemGroup","itemGroupLabel","itemIndicator","itemText","label","list","positioner","trigger");Hh.build(),yh()(["allowCustomValue","autoFocus","closeOnSelect","collection","composite","defaultHighlightedValue","defaultInputValue","defaultOpen","defaultValue","dir","disabled","disableLayer","form","getRootNode","highlightedValue","id","ids","inputBehavior","inputValue","invalid","loopFocus","multiple","name","navigate","onFocusOutside","onHighlightChange","onInputValueChange","onInteractOutside","onOpenChange","onOpenChange","onPointerDownOutside","onSelect","onValueChange","open","openOnChange","openOnClick","openOnKeyPress","placeholder","positioning","readOnly","required","scrollToIndexFn","selectionBehavior","translations","value","alwaysSubmitOnEnter"]),yh()(["htmlFor"]),yh()(["id"]),yh()(["item","persistFocus"]);const Uh=Hh.extendWith("empty");var qh=_h("dialog").parts("trigger","backdrop","positioner","content","title","description","closeTrigger");qh.build(),yh()(["aria-label","closeOnEscape","closeOnInteractOutside","dir","finalFocusEl","getRootNode","getRootNode","id","id","ids","initialFocusEl","modal","onEscapeKeyDown","onFocusOutside","onInteractOutside","onOpenChange","onPointerDownOutside","onRequestDismiss","defaultOpen","open","persistentElements","preventScroll","restoreFocus","role","trapFocus"]);var Gh=_h("editable").parts("root","area","label","preview","input","editTrigger","submitTrigger","cancelTrigger","control");Gh.build(),yh()(["activationMode","autoResize","dir","disabled","finalFocusEl","form","getRootNode","id","ids","invalid","maxLength","name","onEditChange","onFocusOutside","onInteractOutside","onPointerDownOutside","onValueChange","onValueCommit","onValueRevert","placeholder","readOnly","required","selectOnFocus","edit","defaultEdit","submitMode","translations","defaultValue","value"]);const Yh=_h("fieldset").parts("root","errorText","helperText","legend");Yh.build();var Xh=_h("file-upload").parts("root","dropzone","item","itemDeleteTrigger","itemGroup","itemName","itemPreview","itemPreviewImage","itemSizeText","label","trigger","clearTrigger");Xh.build(),yh()(["accept","acceptedFiles","allowDrop","capture","defaultAcceptedFiles","dir","directory","disabled","getRootNode","id","ids","invalid","locale","maxFiles","maxFileSize","minFileSize","name","onFileAccept","onFileChange","onFileReject","preventDocumentDrop","required","transformFiles","translations","validate"]),yh()(["file","type"]);const Kh=e=>{const{value:t,children:n}=e,[r,o]=y.useState(),a=y.useMemo(()=>()=>{return("function"==typeof(e=t)?e():e)??r?.getRootNode()??document;var e},[t,r]),i=y.useMemo(()=>({getRootNode:a,getWindow:()=>fh(a()),getDocument:()=>dh(a())}),[a]);return h.jsxs(wh,{value:i,children:[n,!t&&h.jsx("span",{hidden:!0,ref:o})]})};var Qh=_h("hoverCard").parts("arrow","arrowTip","trigger","positioner","content");Qh.build(),yh()(["closeDelay","dir","getRootNode","id","ids","disabled","onOpenChange","defaultOpen","open","openDelay","positioning","onInteractOutside","onPointerDownOutside","onFocusOutside"]);var Jh=_h("tree-view").parts("branch","branchContent","branchControl","branchIndentGuide","branchIndicator","branchText","branchTrigger","item","itemIndicator","itemText","label","nodeCheckbox","root","tree");Jh.build(),yh()(["ids","collection","dir","expandedValue","expandOnClick","defaultFocusedValue","focusedValue","getRootNode","id","onExpandedChange","onFocusChange","onSelectionChange","checkedValue","selectedValue","selectionMode","typeahead","defaultExpandedValue","defaultSelectedValue","defaultCheckedValue","onCheckedChange","onLoadChildrenComplete","onLoadChildrenError","loadChildren"]),yh()(["node","indexPath"]);var Zh=_h("listbox").parts("label","input","item","itemText","itemIndicator","itemGroup","itemGroupLabel","content","root","valueText");Zh.build(),yh()(["collection","defaultHighlightedValue","defaultValue","dir","disabled","deselectable","disallowSelectAll","getRootNode","highlightedValue","id","ids","loopFocus","onHighlightChange","onSelect","onValueChange","orientation","scrollToIndexFn","selectionMode","selectOnHighlight","typeahead","value"]),yh()(["item","highlightOnHover"]),yh()(["id"]),yh()(["htmlFor"]);const eg=Zh.extendWith("empty");var tg=_h("menu").parts("arrow","arrowTip","content","contextTrigger","indicator","item","itemGroup","itemGroupLabel","itemIndicator","itemText","positioner","separator","trigger","triggerItem");tg.build(),yh()(["anchorPoint","aria-label","closeOnSelect","composite","defaultHighlightedValue","defaultOpen","dir","getRootNode","highlightedValue","id","ids","loopFocus","navigate","onEscapeKeyDown","onFocusOutside","onHighlightChange","onInteractOutside","onOpenChange","onPointerDownOutside","onRequestDismiss","onSelect","open","positioning","typeahead"]),yh()(["closeOnSelect","disabled","value","valueText"]),yh()(["htmlFor"]),yh()(["id"]),yh()(["checked","closeOnSelect","disabled","onCheckedChange","type","value","valueText"]);var ng=_h("numberInput").parts("root","label","input","control","valueText","incrementTrigger","decrementTrigger","scrubber");ng.build(),yh()(["allowMouseWheel","allowOverflow","clampValueOnBlur","dir","disabled","focusInputOnChange","form","formatOptions","getRootNode","id","ids","inputMode","invalid","locale","max","min","name","onFocusChange","onValueChange","onValueInvalid","pattern","required","readOnly","spinOnPress","step","translations","value","defaultValue"]);var rg=_h("pinInput").parts("root","label","input","control");rg.build(),yh()(["autoFocus","blurOnComplete","count","defaultValue","dir","disabled","form","getRootNode","id","ids","invalid","mask","name","onValueChange","onValueComplete","onValueInvalid","otp","pattern","placeholder","readOnly","required","selectOnFocus","translations","type","value"]);var og=_h("popover").parts("arrow","arrowTip","anchor","trigger","indicator","positioner","content","title","description","closeTrigger");og.build(),yh()(["autoFocus","closeOnEscape","closeOnInteractOutside","dir","getRootNode","id","ids","initialFocusEl","modal","onEscapeKeyDown","onFocusOutside","onInteractOutside","onOpenChange","onPointerDownOutside","onRequestDismiss","defaultOpen","open","persistentElements","portalled","positioning"]);var ag=_h("progress").parts("root","label","track","range","valueText","view","circle","circleTrack","circleRange");ag.build(),yh()(["dir","getRootNode","id","ids","max","min","orientation","translations","value","onValueChange","defaultValue","formatOptions","locale"]);var ig=_h("qr-code").parts("root","frame","pattern","overlay","downloadTrigger");ig.build(),yh()(["ids","defaultValue","value","id","encoding","dir","getRootNode","onValueChange","pixelSize"]);var lg=_h("radio-group").parts("root","label","item","itemText","itemControl","indicator");lg.build(),yh()(["dir","disabled","form","getRootNode","id","ids","name","onValueChange","orientation","readOnly","value","defaultValue"]),yh()(["value","disabled","invalid"]);var sg=_h("rating-group").parts("root","label","item","control");sg.build(),yh()(["allowHalf","autoFocus","count","dir","disabled","form","getRootNode","id","ids","name","onHoverChange","onValueChange","required","readOnly","translations","value","defaultValue"]),yh()(["index"]);var cg=_h("scroll-area").parts("root","viewport","content","scrollbar","thumb","corner");cg.build(),yh()(["dir","getRootNode","ids","id"]);const ug=lg.rename("segment-group");ug.build();var dg=_h("select").parts("label","positioner","trigger","indicator","clearTrigger","item","itemText","itemIndicator","itemGroup","itemGroupLabel","list","content","root","control","valueText");dg.build(),yh()(["closeOnSelect","collection","composite","defaultHighlightedValue","defaultOpen","defaultValue","deselectable","dir","disabled","form","getRootNode","highlightedValue","id","ids","invalid","loopFocus","multiple","name","onFocusOutside","onHighlightChange","onInteractOutside","onOpenChange","onPointerDownOutside","onSelect","onValueChange","open","positioning","readOnly","required","scrollToIndexFn","value"]),yh()(["item","persistFocus"]),yh()(["id"]),yh()(["htmlFor"]);var fg=_h("slider").parts("root","label","thumb","valueText","track","range","control","markerGroup","marker","draggingIndicator");fg.build(),yh()(["aria-label","aria-labelledby","dir","disabled","form","getAriaValueText","getRootNode","id","ids","invalid","max","min","minStepsBetweenThumbs","name","onFocusChange","onValueChange","onValueChangeEnd","orientation","origin","readOnly","step","thumbAlignment","thumbAlignment","thumbSize","value","defaultValue"]),yh()(["index","name"]);var pg=_h("switch").parts("root","label","control","thumb");pg.build(),yh()(["checked","defaultChecked","dir","disabled","form","getRootNode","id","ids","invalid","label","name","onCheckedChange","readOnly","required","value"]);var hg=_h("tooltip").parts("trigger","arrow","arrowTip","positioner","content");function gg(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}hg.build(),yh()(["aria-label","closeDelay","closeOnEscape","closeOnPointerDown","closeOnScroll","closeOnClick","dir","disabled","getRootNode","id","ids","interactive","onOpenChange","defaultOpen","open","openDelay","positioning"]);const mg=e=>(t,n)=>{const r=n.utils.colorMix(t);if(r.invalid)return{[e]:t};const o="--mix-"+e;return{[o]:r.value,[e]:`var(${o}, ${r.color})`}};function bg(e){if(null===e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(e=>bg(e));const t=Object.create(Object.getPrototypeOf(e));for(const n of Object.keys(e))t[n]=bg(e[n]);return t}function vg(e,t){if(null==t)return e;for(const n of Object.keys(t))if(void 0!==t[n]&&"__proto__"!==n)if(!qt(e[n])&&qt(t[n]))Object.assign(e,{[n]:t[n]});else if(e[n]&&qt(t[n]))vg(e[n],t[n]);else if(Array.isArray(t[n])&&Array.isArray(e[n])){let r=0;for(;r<t[n].length;r++)qt(e[n][r])&&qt(t[n][r])?vg(e[n][r],t[n][r]):e[n][r]=t[n][r]}else Object.assign(e,{[n]:t[n]});return e}function yg(e,...t){for(const n of t)vg(e,n);return e}const xg=["value","type","description"],kg=(...e)=>{const t=yg({},...e.map(bg));return t.theme?.tokens&&Bi(t.theme.tokens,e=>{const t=Object.keys(e).filter(e=>!xg.includes(e)).length>0,n=xg.some(t=>null!=e[t]);return t&&n&&(e.DEFAULT||(e.DEFAULT={}),xg.forEach(t=>{var n;null!=e[t]&&((n=e.DEFAULT)[t]||(n[t]=e[t]),delete e[t])})),e},{stop(e){return(t=e)&&"object"==typeof t&&!Array.isArray(t)&&Object.keys(e).some(e=>xg.includes(e)||e!==e.toLowerCase()&&e!==e.toUpperCase());var t}}),t};function Sg(){const e=e=>e;return new Proxy(e,{get:()=>e})}const wg=Sg(),_g=Sg(),Cg=/[^a-zA-Z0-9_\u0081-\uffff-]/g,Eg=/[A-Z]/g;function Pg(e,t={}){const{fallback:n="",prefix:r=""}=t,o=function(e){return e.replace(Eg,e=>`-${e.toLowerCase()}`)}(["-",r,(a=e,`${a}`.replace(Cg,e=>`\\${e}`))].filter(Boolean).join("-"));var a;return{var:o,ref:`var(${o}${n?`, ${n}`:""})`}}const zg=(e,t)=>null!=t?`${e}(${t})`:t,Tg=e=>{if((e=>/^var\(--.+\)$/.test(e))(e)||null==e)return e;const t="string"==typeof e&&!e.endsWith("deg");return"number"==typeof e||t?`${e}deg`:e},Rg=e=>({values:["outside","inside","mixed","none"],transform(t,{token:n}){const r=n("colors.colorPalette.focusRing");return{inside:{"--focus-ring-color":r,[e]:{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":r,[e]:{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":r,[e]:{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":r,[e]:{outline:"none"}}}[t]??{}}}),Ig=mg("borderColor"),Og=e=>({transition:e,transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"150ms"}),Ag=Pg("bg-currentcolor"),Dg=e=>e===Ag.ref||"currentBg"===e,Ng=e=>({...e("colors"),currentBg:Ag}),Fg={conditions:{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"},utilities:{background:{values:Ng,shorthand:["bg"],transform(e,t){if(Dg(t.raw))return{background:Ag.ref};const n=mg("background")(e,t);return{...n,[Ag.var]:n?.background}}},backgroundColor:{values:Ng,shorthand:["bgColor"],transform(e,t){if(Dg(t.raw))return{backgroundColor:Ag.ref};const n=mg("backgroundColor")(e,t);return{...n,[Ag.var]:n?.backgroundColor}}},backgroundSize:{shorthand:["bgSize"]},backgroundPosition:{shorthand:["bgPos"]},backgroundRepeat:{shorthand:["bgRepeat"]},backgroundAttachment:{shorthand:["bgAttachment"]},backgroundClip:{shorthand:["bgClip"],values:["text"],transform:e=>"text"===e?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e}},backgroundGradient:{shorthand:["bgGradient"],values:e=>({...e("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:e=>({"--gradient-stops":"var(--gradient-from), var(--gradient-to)","--gradient":"var(--gradient-via-stops, var(--gradient-stops))",backgroundImage:e})},gradientFrom:{values:Ng,transform:mg("--gradient-from")},gradientTo:{values:Ng,transform:mg("--gradient-to")},gradientVia:{values:Ng,transform:(e,t)=>({...mg("--gradient-via")(e,t),"--gradient-via-stops":"var(--gradient-from), var(--gradient-via), var(--gradient-to)"})},backgroundImage:{values:e=>({...e("gradients"),...e("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:Ng,transform:mg("borderColor")},borderTopColor:{values:Ng,transform:mg("borderTopColor")},borderBlockStartColor:{values:Ng,transform:mg("borderBlockStartColor")},borderBottomColor:{values:Ng,transform:mg("borderBottomColor")},borderBlockEndColor:{values:Ng,transform:mg("borderBlockEndColor")},borderLeftColor:{values:Ng,transform:mg("borderLeftColor")},borderInlineStartColor:{values:Ng,shorthand:["borderStartColor"],transform:mg("borderInlineStartColor")},borderRightColor:{values:Ng,transform:mg("borderRightColor")},borderInlineEndColor:{values:Ng,shorthand:["borderEndColor"],transform:mg("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:e=>({borderStartStartRadius:e,borderEndStartRadius:e})},borderInlineEndRadius:{values:"radii",property:"borderRadius",shorthand:["roundedEnd","borderEndRadius"],transform:e=>({borderStartEndRadius:e,borderEndEndRadius:e})},borderTopRadius:{values:"radii",property:"borderRadius",shorthand:["roundedTop"],transform:e=>({borderTopLeftRadius:e,borderTopRightRadius:e})},borderBottomRadius:{values:"radii",property:"borderRadius",shorthand:["roundedBottom"],transform:e=>({borderBottomLeftRadius:e,borderBottomRightRadius:e})},borderLeftRadius:{values:"radii",property:"borderRadius",shorthand:["roundedLeft"],transform:e=>({borderTopLeftRadius:e,borderBottomLeftRadius:e})},borderRightRadius:{values:"radii",property:"borderRadius",shorthand:["roundedRight"],transform:e=>({borderTopRightRadius:e,borderBottomRightRadius:e})},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:Ng,transform:mg("color")},fill:{values:Ng,transform:mg("fill")},stroke:{values:Ng,transform:mg("stroke")},accentColor:{values:Ng,transform:mg("accentColor")},divideX:{values:{type:"string"},transform:e=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{borderInlineStartWidth:e,borderInlineEndWidth:"0px"}})},divideY:{values:{type:"string"},transform:e=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{borderTopWidth:e,borderBottomWidth:"0px"}})},divideColor:{values:Ng,transform:(e,t)=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":Ig(e,t)})},divideStyle:{property:"borderStyle",transform:e=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{borderStyle:e}})},boxShadow:{values:"shadows",shorthand:["shadow"]},boxShadowColor:{values:Ng,transform:mg("--shadow-color"),shorthand:["shadowColor"]},mixBlendMode:{shorthand:["blendMode"]},backgroundBlendMode:{shorthand:["bgBlendMode"]},opacity:{values:"opacity"},filter:{transform:e=>"auto"!==e?{filter:e}:{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:e=>({"--blur":zg("blur",e)})},brightness:{transform:e=>({"--brightness":zg("brightness",e)})},contrast:{transform:e=>({"--contrast":zg("contrast",e)})},grayscale:{transform:e=>({"--grayscale":zg("grayscale",e)})},hueRotate:{transform:e=>({"--hue-rotate":zg("hue-rotate",Tg(e))})},invert:{transform:e=>({"--invert":zg("invert",e)})},saturate:{transform:e=>({"--saturate":zg("saturate",e)})},sepia:{transform:e=>({"--sepia":zg("sepia",e)})},dropShadow:{transform:e=>({"--drop-shadow":zg("drop-shadow",e)})},backdropFilter:{transform:e=>"auto"!==e?{backdropFilter:e}:{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:e=>({"--backdrop-blur":zg("blur",e)})},backdropBrightness:{transform:e=>({"--backdrop-brightness":zg("brightness",e)})},backdropContrast:{transform:e=>({"--backdrop-contrast":zg("contrast",e)})},backdropGrayscale:{transform:e=>({"--backdrop-grayscale":zg("grayscale",e)})},backdropHueRotate:{transform:e=>({"--backdrop-hue-rotate":zg("hue-rotate",Tg(e))})},backdropInvert:{transform:e=>({"--backdrop-invert":zg("invert",e)})},backdropOpacity:{transform:e=>({"--backdrop-opacity":zg("opacity",e)})},backdropSaturate:{transform:e=>({"--backdrop-saturate":zg("saturate",e)})},backdropSepia:{transform:e=>({"--backdrop-sepia":zg("sepia",e)})},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:Ng,transform:mg("outlineColor")},focusRing:Rg("&:is(:focus, [data-focus])"),focusVisibleRing:Rg("&:is(:focus-visible, [data-focus-visible])"),focusRingColor:{values:Ng,transform:mg("--focus-ring-color")},focusRingOffset:{values:"spacing",transform:e=>({"--focus-ring-offset":e})},focusRingWidth:{values:"borderWidths",property:"outlineWidth",transform:e=>({"--focus-ring-width":e})},focusRingStyle:{values:"borderStyles",property:"outlineStyle",transform:e=>({"--focus-ring-style":e})},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:e=>({width:e,height:e})},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:(e,{raw:t,token:n})=>{const r=n.raw(`breakpoints.${t}`)?`@breakpoint ${t}`:`@media screen and (min-width: ${e})`;return{[r]:{display:"none"}}}},hideBelow:{values:"breakpoints",transform(e,{raw:t,token:n}){const r=n.raw(`breakpoints.${t}`)?`@breakpoint ${t}Down`:`@media screen and (max-width: ${e})`;return{[r]:{display:"none"}}}},overscrollBehavior:{shorthand:["overscroll"]},overscrollBehaviorX:{shorthand:["overscrollX"]},overscrollBehaviorY:{shorthand:["overscrollY"]},scrollbar:{values:["visible","hidden"],transform(e){switch(e){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:Ng,transform:mg("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:e=>({scrollMarginLeft:e,scrollMarginRight:e})},scrollMarginY:{values:"spacing",transform:e=>({scrollMarginTop:e,scrollMarginBottom:e})},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:e=>({"--scroll-snap-strictness":e})},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:e=>({"--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":e,boxShadow:"var(--ring-offset-shadow), var(--ring-shadow), var(--shadow, 0 0 #0000)"})},ringColor:{values:Ng,transform:mg("--ring-color")},ringOffset:{transform:e=>({"--ring-offset-width":e})},ringOffsetColor:{values:Ng,transform:mg("--ring-offset-color")},ringInset:{transform:e=>({"--ring-inset":e})},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:Ng,transform:mg("textDecorationColor")},textShadow:{values:"shadows"},transform:{transform:e=>{let t=e;return"auto"===e&&(t="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))"),"auto-gpu"===e&&(t="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:t}}},skewX:{transform:e=>({"--skew-x":Tg(e)})},skewY:{transform:e=>({"--skew-y":Tg(e)})},scaleX:{transform:e=>({"--scale-x":e})},scaleY:{transform:e=>({"--scale-y":e})},scale:{transform:e=>"auto"!==e?{scale:e}:{scale:"var(--scale-x, 1) var(--scale-y, 1)"}},spaceXReverse:{values:{type:"boolean"},transform:e=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-x-reverse":e?"1":void 0}})},spaceX:{property:"marginInlineStart",values:"spacing",transform:e=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-x-reverse":"0",marginInlineStart:`calc(${e} * calc(1 - var(--space-x-reverse)))`,marginInlineEnd:`calc(${e} * var(--space-x-reverse))`}})},spaceYReverse:{values:{type:"boolean"},transform:e=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-y-reverse":e?"1":void 0}})},spaceY:{property:"marginTop",values:"spacing",transform:e=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-y-reverse":"0",marginTop:`calc(${e} * calc(1 - var(--space-y-reverse)))`,marginBottom:`calc(${e} * var(--space-y-reverse))`}})},rotate:{transform:e=>"auto"!==e?{rotate:Tg(e)}:{rotate:"var(--rotate-x, 0) var(--rotate-y, 0) var(--rotate-z, 0)"}},rotateX:{transform:e=>({"--rotate-x":Tg(e)})},rotateY:{transform:e=>({"--rotate-y":Tg(e)})},translate:{transform:e=>"auto"!==e?{translate:e}:{translate:"var(--translate-x) var(--translate-y)"}},translateX:{values:"spacing",transform:e=>({"--translate-x":e})},translateY:{values:"spacing",transform:e=>({"--translate-y":e})},transition:{values:["all","common","colors","opacity","position","backgrounds","size","shadow","transform"],transform(e){switch(e){case"all":return Og("all");case"position":return Og("left, right, top, bottom, inset-inline, inset-block");case"colors":return Og("color, background-color, border-color, text-decoration-color, fill, stroke");case"opacity":return Og("opacity");case"shadow":return Og("box-shadow");case"transform":return Og("transform");case"size":return Og("width, height");case"backgrounds":return Og("background, background-color, background-image, background-position");case"common":return Og("color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter");default:return{transition:e}}}},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:e=>!0===e?{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}:{}},lineClamp:{transform:e=>"none"===e?{WebkitLineClamp:"unset"}:{overflow:"hidden",display:"-webkit-box",WebkitLineClamp:e,WebkitBoxOrient:"vertical",textWrap:"wrap"}},borderSpacing:{values:e=>({...e("spacing"),auto:"var(--border-spacing-x, 0) var(--border-spacing-y, 0)"})},borderSpacingX:{values:"spacing",transform:e=>({"--border-spacing-x":e})},borderSpacingY:{values:"spacing",transform:e=>({"--border-spacing-y":e})},srOnly:{values:{type:"boolean"},transform:e=>jg[e]||{}},debug:{values:{type:"boolean"},transform:e=>e?{outline:"1px solid blue !important","& > *":{outline:"1px solid red !important"}}:{}},caretColor:{values:Ng,transform:mg("caretColor")},cursor:{values:"cursor"}}},jg={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 Mg="".split(","),Lg="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,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".split(",").concat(Mg),Wg=new Map(Lg.map(e=>[e,!0]));function Bg(e){const t=Object.create(null);return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}var $g,Vg,Hg=/&|@/,Ug=Bg(e=>Wg.has(e)||e.startsWith("--")||Hg.test(e));function qg(e,t){const n={};return Bi(e,(e,t)=>{e&&(n[t.join(".")]=e.value)},{stop:t}),n}function Gg(){if(Vg)return $g;Vg=1,$g=a,a.default=a,a.stable=c,a.stableStringify=c;var e="[...]",t="[Circular]",n=[],r=[];function o(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function a(e,t,a,i){var s;void 0===i&&(i=o()),l(e,"",0,[],void 0,0,i);try{s=0===r.length?JSON.stringify(e,t,a):JSON.stringify(e,d(t),a)}catch(u){return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;0!==n.length;){var c=n.pop();4===c.length?Object.defineProperty(c[0],c[1],c[3]):c[0][c[1]]=c[2]}}return s}function i(e,t,o,a){var i=Object.getOwnPropertyDescriptor(a,o);void 0!==i.get?i.configurable?(Object.defineProperty(a,o,{value:e}),n.push([a,o,t,i])):r.push([t,o,e]):(a[o]=e,n.push([a,o,t]))}function l(n,r,o,a,s,c,u){var d;if(c+=1,"object"==typeof n&&null!==n){for(d=0;d<a.length;d++)if(a[d]===n)return void i(t,n,r,s);if(void 0!==u.depthLimit&&c>u.depthLimit)return void i(e,n,r,s);if(void 0!==u.edgesLimit&&o+1>u.edgesLimit)return void i(e,n,r,s);if(a.push(n),Array.isArray(n))for(d=0;d<n.length;d++)l(n[d],d,d,a,n,c,u);else{var f=Object.keys(n);for(d=0;d<f.length;d++){var p=f[d];l(n[p],p,d,a,n,c,u)}}a.pop()}}function s(e,t){return e<t?-1:e>t?1:0}function c(e,t,a,i){void 0===i&&(i=o());var l,s=u(e,"",0,[],void 0,0,i)||e;try{l=0===r.length?JSON.stringify(s,t,a):JSON.stringify(s,d(t),a)}catch(f){return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;0!==n.length;){var c=n.pop();4===c.length?Object.defineProperty(c[0],c[1],c[3]):c[0][c[1]]=c[2]}}return l}function u(r,o,a,l,c,d,f){var p;if(d+=1,"object"==typeof r&&null!==r){for(p=0;p<l.length;p++)if(l[p]===r)return void i(t,r,o,c);try{if("function"==typeof r.toJSON)return}catch(b){return}if(void 0!==f.depthLimit&&d>f.depthLimit)return void i(e,r,o,c);if(void 0!==f.edgesLimit&&a+1>f.edgesLimit)return void i(e,r,o,c);if(l.push(r),Array.isArray(r))for(p=0;p<r.length;p++)u(r[p],p,p,l,r,d,f);else{var h={},g=Object.keys(r).sort(s);for(p=0;p<g.length;p++){var m=g[p];u(r[m],m,p,l,r,d,f),h[m]=r[m]}if(void 0===c)return h;n.push([c,o,r]),c[o]=h}l.pop()}}function d(e){return e=void 0!==e?e:function(e,t){return t},function(t,n){if(r.length>0)for(var o=0;o<r.length;o++){var a=r[o];if(a[1]===t&&a[0]===n){n=a[2],r.splice(o,1);break}}return e.call(this,t,n)}}return $g}const Yg=o(Gg()),Xg=e=>{const t=Object.create(null);return function(...n){const r=n.map(e=>Yg(e)).join("|");return void 0===t[r]&&(t[r]=e(...n)),t[r]}},Kg="px",Qg="em",Jg="rem";function Zg(e=""){const t=new RegExp(String.raw`-?\d+(?:\.\d+|\d*)`),n=new RegExp(`${Kg}|${Qg}|${Jg}`),r=e.match(new RegExp(`${t.source}(${n.source})`));return r?.[1]}function em(e=""){if("number"==typeof e)return`${e}px`;const t=Zg(e);return t?t===Kg?e:t===Qg||t===Jg?`${16*parseFloat(e)}${Kg}`:void 0:e}function tm(e=""){const t=Zg(e);return t?t===Jg?e:t===Qg?`${parseFloat(e)}${Jg}`:t===Kg?`${parseFloat(e)/16}${Jg}`:void 0:e}function nm(e){return tm(parseFloat(em(e)??"")-.04+"px")}function rm({min:e,max:t}){return null==e&&null==t?"":["@media screen",e&&`(min-width: ${e})`,t&&`(max-width: ${t})`].filter(Boolean).join(" and ")}const om=e=>({minMax:new RegExp(`(!?\\(\\s*min(-device-)?-${e})(.|\n)+\\(\\s*max(-device)?-${e}`,"i"),min:new RegExp(`\\(\\s*min(-device)?-${e}`,"i"),maxMin:new RegExp(`(!?\\(\\s*max(-device)?-${e})(.|\n)+\\(\\s*min(-device)?-${e}`,"i"),max:new RegExp(`\\(\\s*max(-device)?-${e}`,"i")}),am=om("width"),im=om("height"),lm=e=>({isMin:ym(e.minMax,e.maxMin,e.min),isMax:ym(e.maxMin,e.minMax,e.max)}),{isMin:sm,isMax:cm}=lm(am),{isMin:um,isMax:dm}=lm(im),fm=/print/i,pm=/^print$/i,hm=/(-?\d*\.?\d+)(ch|em|ex|px|rem)/,gm=/(\d)/,mm=Number.MAX_VALUE,bm={ch:8.8984375,em:16,rem:16,ex:8.296875,px:1};function vm(e){const t=hm.exec(e)||(sm(e)||um(e)?gm.exec(e):null);if(!t)return mm;if("0"===t[0])return 0;const n=parseFloat(t[1]),r=t[2];return n*(bm[r]||1)}function ym(e,t,n){return r=>e.test(r)||!t.test(r)&&n.test(r)}const xm=Xg((e,t)=>{const n=function(e,t){const n=fm.test(e),r=pm.test(e),o=fm.test(t),a=pm.test(t);return n&&o?!r&&a?1:r&&!a?-1:e.localeCompare(t):n?1:o?-1:null}(e,t);if(null!==n)return n;const r=sm(e)||um(e),o=cm(e)||dm(e),a=sm(t)||um(t),i=cm(t)||dm(t);if(r&&i)return-1;if(o&&a)return 1;const l=vm(e),s=vm(t);return l===mm&&s===mm?e.localeCompare(t):l===mm?1:s===mm?-1:l!==s?l>s?o?-1:1:o?1:-1:e.localeCompare(t)});function km(e){return e.sort(([e],[t])=>xm(e,t))}function Sm(e){const t=[],n=[],r={};for(const[i,l]of Object.entries(e))i.startsWith("@media")?t.push([i,l]):i.startsWith("@container")?n.push([i,l]):qt(l)?r[i]=Sm(l):r[i]=l;const o=km(t),a=km(n);return{...r,...Object.fromEntries(o),...Object.fromEntries(a)}}const wm=/\s*!(important)?/i;function _m(e){const{transform:t,conditions:n,normalize:r}=e,o=(a=e,Xg(function(...e){return yg({},...function(e){const t=function(...e){return e.filter(e=>qt(e)&&Object.keys(Ht(e)).length>0)}(...e);return 1===t.length?t:t.map(e=>a.normalize(e))}(e))}));var a;return Xg(function(...e){const a=o(...e),i=r(a),l=Object.create(null);return Bi(i,(e,r)=>{const o=!!Gt(a=e)&&wm.test(a);var a;if(null==e)return;const[i,...s]=n.sort(r).map(n.resolve);o&&(e=(e=>Gt(e)?e.replace(wm,"").trim():e)(e));let c=t(i,e)??Object.create(null);c=Bi(c,e=>Gt(e)&&o?`${e} !important`:e,{getKey:e=>n.expandAtRule(e)}),function(e,t,n){let r=e;for(const o of t)o&&(r[o]||(r[o]=Object.create(null)),r=r[o]);yg(r,n)}(l,s.flat(),c)}),Sm(l)})}const Cm=e=>({base:{},variants:{},defaultVariants:{},compoundVariants:[],...e});const Em={reset:"reset",base:"base",tokens:"tokens",recipes:"recipes"},Pm={reset:0,base:1,tokens:2,recipes:3};const zm=/([\0-\x1f\x7f]|^-?\d)|^-$|^-|[^\x80-\uFFFF\w-]/g,Tm=function(e,t){return t?"\0"===e?"�":"-"===e&&1===e.length?"\\-":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16):"\\"+e},Rm=e=>(e+"").replace(zm,Tm),Im=(e,t)=>{let n="",r=0,o="char",a="",i="";const l=[];for(;r<e.length;){const s=e[r];if("{"===s){const o=e.indexOf("}",r);if(-1===o)break;const a=e.slice(r+1,o);n+=t(a)??a,r=o+1;continue}if("token"===o&&","===s){""===e[r]&&r++,o="fallback",l.push(o);const s=t(a);s?.endsWith(")")&&(n+=s.slice(0,-1)),a="",i="";continue}if("fallback"===o&&", var("===i+s){const t=Om(e.slice(r+1))+r+1,a=e.slice(r+1,t);if(-1===t)break;n+=", var("+a+")",r=t+1,o=l.pop()??o,i="";continue}if("token"===o||"fallback"===o){if(r++,")"===s){o=l.pop()??o??"char",i+=s;const e=a?t(a)??Rm(a):a;if(i)if(i=i.slice(1).trim(),!i.startsWith("token(")&&i.endsWith(")")&&(i=i.slice(0,-1)),i.includes("token(")){const e=Im(i,t);e&&(i=e.slice(0,-1))}else if(i){const e=t(i);e&&(i=e)}const r=n.at(-1);i?r?.trim()?n+=e.slice(0,-1)+", "+i+")":n+=i:n+=e||")",a="",i="",o="char";continue}"token"===o&&(a+=s),"fallback"===o&&(i+=s);continue}const c=e.indexOf("token(",r);if(-1!==c){const t=c+6;n+=e.slice(r,c),r=t,o="token",l.push(o);continue}n+=s,r++}return n},Om=e=>{let t=0;const n=["("];for(;t<e.length;){const r=e[t];if("("===r)n.push(r);else if(")"===r&&(n.pop(),0===n.length))return t;t++}return t};function Am(e){const t={};return e.forEach((e,n)=>{e instanceof Map?t[n]=Object.fromEntries(e):t[n]=e}),t}const Dm=/({([^}]*)})/g,Nm=/[{}]/g,Fm=/\w+\.\w+/,jm=e=>{if(!Gt(e))return[];const t=e.match(Dm);return t?t.map(e=>e.replace(Nm,"")).map(e=>e.trim()):[]};function Mm(e){if(!e.extensions?.references)return e.extensions?.cssVar?.ref??e.value;const t=e.extensions.references??{};return e.value=Object.keys(t).reduce((e,n)=>{const r=t[n];if(r.extensions.conditions)return e;const o=Mm(r);return e.replace(`{${n}}`,o)},e.value),delete e.extensions.references,e.value}function Lm(e){return qt(e)&&e.reference?e.reference:String(e)}const Wm=(e,...t)=>t.map(Lm).join(` ${e} `).replace(/calc/g,""),Bm=(...e)=>`calc(${Wm("+",...e)})`,$m=(...e)=>`calc(${Wm("-",...e)})`,Vm=(...e)=>`calc(${Wm("*",...e)})`,Hm=(...e)=>`calc(${Wm("/",...e)})`,Um=e=>{const t=Lm(e);return null==t||Number.isNaN(parseFloat(t))?Vm(t,-1):String(t).startsWith("-")?String(t).slice(1):`-${t}`},qm=Object.assign(e=>({add:(...t)=>qm(Bm(e,...t)),subtract:(...t)=>qm($m(e,...t)),multiply:(...t)=>qm(Vm(e,...t)),divide:(...t)=>qm(Hm(e,...t)),negate:()=>qm(Um(e)),toString:()=>e.toString()}),{add:Bm,subtract:$m,multiply:Vm,divide:Hm,negate:Um}),Gm={enforce:"pre",transform(e){const{prefix:t,allTokens:n,formatCssVar:r,formatTokenName:o,registerToken:a}=e;n.filter(({extensions:e})=>"spacing"===e.category).forEach(e=>{const n=e.path.slice(),i=r(n,t);if(Gt(e.value)&&"0rem"===e.value)return;const l=structuredClone(e);Object.assign(l.extensions,{negative:!0,prop:`-${e.extensions.prop}`,originalPath:n}),l.value=qm.negate(i.ref);const s=l.path[l.path.length-1];null!=s&&(l.path[l.path.length-1]=`-${s}`),l.path&&(l.name=o(l.path)),a(l)})}},Ym=new Set(["spacing","sizes","borderWidths","fontSizes","radii"]),Xm={enforce:"post",transform(e){e.allTokens.filter(e=>Ym.has(e.extensions.category)&&!e.extensions.negative).forEach(e=>{Object.assign(e.extensions,{pixelValue:em(e.value)})})}},Km=[Gm,{enforce:"post",transform(e){const{allTokens:t,registerToken:n,formatTokenName:r}=e,o=t.filter(({extensions:e})=>"colors"===e.category),a=new Map,i=new Map;o.forEach(e=>{const{colorPalette:t}=e.extensions;t&&(t.keys.forEach(e=>{a.set(r(e),e)}),t.roots.forEach(n=>{const o=r(n),l=i.get(o)||[];if(l.push(e),i.set(o,l),e.extensions.default&&1===n.length){const e=t.keys[0]?.filter(Boolean);if(!e.length)return;const o=n.concat(e);a.set(r(o),[])}}))}),a.forEach(e=>{const t=["colors","colorPalette",...e].filter(Boolean),o=r(t),a=r(t.slice(1));n({name:o,value:o,originalValue:o,path:t,extensions:{condition:"base",originalPath:t,category:"colors",prop:a,virtual:!0}},"pre")})}},Xm,{enforce:"post",transform(e){e.allTokens=e.allTokens.filter(e=>""!==e.value)}}],Qm=[{type:"extensions",enforce:"pre",name:"tokens/css-var",transform(e,t){const{prefix:n,formatCssVar:r}=t,{negative:o,originalPath:a}=e.extensions;return{cssVar:r((o?a:e.path).filter(Boolean),n)}}},{enforce:"post",type:"value",name:"tokens/conditionals",transform(e,t){const{prefix:n,formatCssVar:r}=t,o=jm(e.value);return o.length?(o.forEach(t=>{const o=r(t.split("."),n);e.value=e.value.replace(`{${o.ref}}`,o)}),e.value):e.value}},{type:"extensions",enforce:"pre",name:"tokens/colors/colorPalette",match:e=>"colors"===e.extensions.category&&!e.extensions.virtual,transform(e,t){let n=e.path.slice();if(n.pop(),n.shift(),0===n.length){const t=[...e.path];t.shift(),n=t}if(0===n.length)return{};const r=n.reduce((e,t,n,r)=>{const o=r.slice(0,n+1);return e.push(o),e},[]),o=n[0],a=t.formatTokenName(n),i=e.path.slice(e.path.indexOf(o)+1).reduce((e,t,n,r)=>(e.push(r.slice(n)),e),[]);return 0===i.length&&i.push([""]),{colorPalette:{value:a,roots:r,keys:i}}}}],Jm=e=>qt(e)&&Object.prototype.hasOwnProperty.call(e,"value");function Zm(e){const{prefix:t="",tokens:n={},semanticTokens:r={},breakpoints:o={}}=e,a=e=>e.join("."),i=[],l=new Map,s=new Map,c=new Map,u=new Map,d=new Map,f=new Map,p=new Map,h=new Map,g=[];function m(e,t){i.push(e),l.set(e.name,e),t&&h.forEach(n=>{n.enforce===t&&C(n,e)})}const b=function(e){return e?{breakpoints:$i(e,e=>({value:e})),sizes:Object.fromEntries(Object.entries(e).map(([e,t])=>[`breakpoint-${e}`,{value:t}]))}:{breakpoints:{},sizes:{}}}(o),v=Ht({...n,breakpoints:b.breakpoints,sizes:{...n.sizes,...b.sizes}});function y(e){return l.get(e)}let x={};const k=Xg((e,t)=>d.get(e)??t),S=Xg(e=>x[e]||null),w=Xg(e=>Im(e,e=>{if(!e)return;if(e.includes("/")){const t=(e=>{if(!e||"string"!=typeof e)return{invalid:!0,value:e};const[t,n]=e.split("/");if(!t||!n)return{invalid:!0,value:t};const r=k(t),o=y(`opacity.${n}`)?.value;if(!o&&isNaN(Number(n)))return{invalid:!0,value:t};const a=r??t;return{invalid:!1,color:a,value:`color-mix(in srgb, ${a} ${o?100*Number(o)+"%":`${n}%`}, transparent)`}})(e);if(t.invalid)throw new Error("Invalid color mix at "+e+": "+t.value);return t.value}return k(e)||(Fm.test(e)?Rm(e):e)})),_={prefix:t,allTokens:i,tokenMap:l,registerToken:m,getByName:y,formatTokenName:a,formatCssVar:(e,t)=>Pg(e.join("-"),{prefix:t}),flatMap:d,cssVarMap:c,categoryMap:p,colorPaletteMap:u,getVar:k,getCategoryValues:S,expandReferenceInValue:w};function C(e,t){if(t.extensions.references)return;if(Yt(e.match)&&!e.match(t))return;const n=(r=t,e.transform(r,_));var r;switch(!0){case"extensions"===e.type:Object.assign(t.extensions,n);break;case"value"===e.type:t.value=n;break;default:t[e.type]=n}}function E(e){g.forEach(t=>{t.enforce===e&&t.transform(_)})}function P(e){h.forEach(t=>{t.enforce===e&&i.forEach(e=>{C(t,e)})})}return Bi(v,(e,t)=>{const n=t.includes("DEFAULT"),r=(t=eb(t))[0],o=a(t),i=Gt(e)?{value:e}:e,l={value:i.value,originalValue:i.value,name:o,path:t,extensions:{condition:"base",originalPath:t,category:r,prop:a(t.slice(1))}};n&&(l.extensions.default=!0),m(l)},{stop:Jm}),Bi(r,(e,t)=>{const n=t.includes("DEFAULT"),r=(t=tb(eb(t)))[0],o=a(t),i=Gt(e.value)?{value:{base:e.value}}:e,l={value:i.value.base||"",originalValue:i.value.base||"",name:o,path:t,extensions:{originalPath:t,category:r,conditions:i.value,condition:"base",prop:a(t.slice(1))}};n&&(l.extensions.default=!0),m(l)},{stop:Jm}),function(...e){e.forEach(e=>{h.set(e.name,e)})}(...Qm),function(...e){g.push(...e)}(...Km),E("pre"),P("pre"),i.forEach(e=>{const t=function(e){if(!e.extensions.conditions)return;const{conditions:t}=e.extensions,n=[];return Bi(t,(t,r)=>{const o=tb(r);if(!o.length)return;const a=structuredClone(e);a.value=t,a.extensions.condition=o.join(":"),n.push(a)}),n}(e);t&&0!==t.length&&t.forEach(e=>{m(e)})}),i.forEach(e=>{if(t=e.value,!Dm.test(t))return;var t;const n=function(e){return jm(e).map(e=>y(e)).filter(Boolean)}(e.value);e.extensions.references=n.reduce((e,t)=>(e[t.name]=t,e),{})}),i.forEach(e=>{Mm(e)}),E("post"),P("post"),i.forEach(e=>{!function(e){const{condition:t}=e.extensions;t&&(s.has(t)||s.set(t,new Set),s.get(t).add(e))}(e),function(e){const{category:t,prop:n}=e.extensions;t&&(p.has(t)||p.set(t,new Map),p.get(t).set(n,e))}(e),function(e){const{condition:t,negative:n,virtual:r,cssVar:o}=e.extensions;!n&&!r&&t&&o&&(c.has(t)||c.set(t,new Map),c.get(t).set(o.var,e.value))}(e),function(e){const{category:t,prop:n,cssVar:r,negative:o}=e.extensions;if(!t)return;f.has(t)||f.set(t,new Map);const a=o?e.extensions.conditions?e.originalValue:e.value:r.ref;f.get(t).set(n,a),d.set([t,n].join("."),a)}(e),function(e){const{colorPalette:t,virtual:n,default:r}=e.extensions;t&&!n&&t.roots.forEach(n=>{const o=a(n);u.has(o)||u.set(o,new Map);const i=function(e,t){const n=e.findIndex((n,r)=>t.every((t,n)=>e[r+n]===t));return-1===n||(e.splice(n,t.length),e.splice(n,0,"colorPalette")),e}([...e.path],[...n]),l=y(a(i));if(!l||!l.extensions.cssVar)return;const{var:s}=l.extensions.cssVar;if(u.get(o).set(s,e.extensions.cssVar.ref),r&&1===n.length){const r=y(a(["colors","colorPalette"]));if(!r)return;const o=y(a(e.path));if(!o)return;const i=t.keys[0]?.filter(Boolean);if(!i.length)return;const l=a(n.concat(i));u.has(l)||u.set(l,new Map),u.get(l).set(r.extensions.cssVar.var,o.extensions.cssVar.ref)}})}(e)}),x=Am(f),_}function eb(e){return"DEFAULT"===e[0]?e:e.filter(e=>"DEFAULT"!==e)}function tb(e){return e.filter(e=>"base"!==e)}var nb;nb=["aspectRatios","zIndex","opacity","colors","fonts","fontSizes","fontWeights","lineHeights","letterSpacings","sizes","shadows","spacing","radii","cursor","borders","borderWidths","borderStyles","durations","easings","animations","blurs","gradients","breakpoints","assets"],Array.from(new Set(nb));const rb={};function ob(...e){const t=kg(...e),{theme:n={},utilities:r={},globalCss:o={},cssVarsRoot:a=":where(:root, :host)",cssVarsPrefix:i="chakra",preflight:l}=t,s=function(e){const t=e.layers??Em,n=Object.values(t).sort((e,t)=>Pm[e]-Pm[t]);return{names:n,atRule:`@layer ${n.join(", ")};`,wrap(n,r){if(e.disableLayers)return r;const o=t[n];return{[`@layer ${o}`]:r}}}}(t),c=Zm({breakpoints:n.breakpoints,tokens:n.tokens,semanticTokens:n.semanticTokens,prefix:i}),u=function(e){const t=function(e){return Object.entries(e).sort(([,e],[,t])=>parseInt(e,10)<parseInt(t,10)?-1:1).map(([e,t],n,r)=>{let o=null;return n<=r.length-1&&(o=r[n+1]?.[1]),null!=o&&(o=nm(o)),[e,{name:e,min:tm(t),max:o}]})}(e),n=Object.fromEntries(t);function r(e){return n[e]}function o(e){return rm(r(e))}const a=function(){const e=function(){const e=Object.keys(n),t=function(e){const t=[];return e.forEach((n,r)=>{let o=r;o++;let a=e[o];for(;a;)t.push([n,a]),o++,a=e[o]}),t}(e),a=e.flatMap(e=>{const t=r(e),n=[`${e}Down`,rm({max:nm(t.min)})];return[[e,rm({min:t.min})],[`${e}Only`,o(e)],n]}).filter(([,e])=>""!==e).concat(t.map(([e,t])=>{const n=r(e),o=r(t);return[`${e}To${a=t,a.charAt(0).toUpperCase()+a.slice(1)}`,rm({min:n.min,max:nm(o.min)})];var a}));return Object.fromEntries(a)}();return Object.fromEntries(Object.entries(e))}();return{values:Object.values(n),only:o,keys:function(){return["base",...Object.keys(n)]},conditions:a,getCondition:e=>a[e],up:function(e){return rm({min:r(e).min})},down:function(e){return rm({max:nm(r(e).min)})}}}(n.breakpoints??rb),d=(e=>{const{breakpoints:t,conditions:n={}}=e,r=(o=n,a=(e,t)=>[`_${e}`,t],Object.fromEntries(Object.entries(o).map(([e,t])=>a(e,t))));var o,a;const i=Object.assign({},r,t.conditions);function l(){return Object.keys(i)}function s(e){return l().includes(e)||/^@|&|&$/.test(e)||e.startsWith("_")}return{keys:l,sort:function(e){return e.filter(e=>"base"!==e).sort((e,t)=>{const n=s(e),r=s(t);return n&&!r?1:!n&&r?-1:0})},has:s,resolve:function(e){return Reflect.get(i,e)||e},breakpoints:t.keys(),expandAtRule:function(e){return e.startsWith("@breakpoint")?t.getCondition(e.replace("@breakpoint ","")):e}}})({conditions:t.conditions??rb,breakpoints:u}),f=function(e){const t=(n=e.config,Object.fromEntries(Object.entries(n).map(([e,t])=>[e,t])));var n;const r=e.tokens,o=new Map,a=new Map;function i(e,n){t[e]=n,l(e,n)}const l=(e,t)=>{const n=u(t);n&&(a.set(e,n),c(e,t))},s=new Map,c=(e,t)=>{if(!t)return;const n=u(t,e=>`type:Tokens["${e}"]`);if("object"==typeof n&&n.type)return void s.set(e,new Set([`type:${n.type}`]));if(n){const t=new Set(Object.keys(n));s.set(e,t)}const r=s.get(e)??new Set;t.property&&s.set(e,r.add(`CssProperties["${t.property}"]`))},u=(e,t)=>{const{values:n}=e,o=e=>{const n=t?.(e);return n?{[n]:n}:void 0};return Gt(n)?o?.(n)??r.getCategoryValues(n)??{}:Array.isArray(n)?n.reduce((e,t)=>(e[t]=t,e),{}):Yt(n)?n(t?o:r.getCategoryValues):n},d=Xg((e,t)=>({[e]:e.startsWith("--")?r.getVar(t,t):t})),f=Object.assign(r.getVar,{raw:e=>r.getByName(e)}),p=Xg((e,n)=>{const o=g(e);Gt(n)&&!n.includes("_EMO_")&&(n=r.expandReferenceInValue(n));const i=t[o];if(!i)return d(o,n);const l=a.get(o)?.[n];return i.transform?i.transform(l??n,{raw:n,token:f,utils:{colorMix:e=>((e,t)=>{if(!e||"string"!=typeof e)return{invalid:!0,value:e};const[n,r]=e.split("/");if(!n||!r||"currentBg"===n)return{invalid:!0,value:n};const o=t(`colors.${n}`),a=t.raw(`opacity.${r}`)?.value;if(!a&&isNaN(Number(r)))return{invalid:!0,value:n};const i=o??n;return{invalid:!1,color:i,value:`color-mix(in srgb, ${i} ${a?100*Number(a)+"%":`${r}%`}, transparent)`}})(e,f)}}):d(e,l??n)});(()=>{for(const[e,n]of Object.entries(t)){const{shorthand:t}=n??{};t&&(Array.isArray(t)?t:[t]).forEach(t=>o.set(t,e))}})(),(()=>{const e=Am(r.colorPaletteMap);i("colorPalette",{values:Object.keys(e),transform:Xg(t=>e[t])})})(),(()=>{for(const[e,n]of Object.entries(t))n&&l(e,n)})(),(()=>{for(const[e,n]of Object.entries(t))n&&c(e,n)})();const h=o.size>0,g=Xg(e=>o.get(e)??e);return{keys:()=>[...Array.from(o.keys()),...Object.keys(t)],hasShorthand:h,transform:p,shorthands:o,resolveShorthand:g,register:i,getTypes:()=>{const e=new Map;for(const[t,n]of s.entries()){if(0===n.size){e.set(t,["string"]);continue}const r=Array.from(n).map(e=>e.startsWith("CssProperties")?e:e.startsWith("type:")?e.replace("type:",""):JSON.stringify(e));e.set(t,r)}return e},addPropertyType:(e,t)=>{const n=s.get(e)??new Set;s.set(e,new Set([...n,...t]))}}}({config:r,tokens:c});!function(){const{textStyles:e,layerStyles:t,animationStyles:r}=n,o=Ht({textStyle:e,layerStyle:t,animationStyle:r});for(const[n,a]of Object.entries(o)){const e=qg(a??rb,ab);f.register(n,{values:Object.keys(e),transform:t=>v(e[t])})}}(),f.addPropertyType("animationName",Object.keys(n.keyframes??rb));const p=new Set(["css",...f.keys(),...d.keys()]),h=Xg(e=>p.has(e)||Ug(e)),g=e=>Array.isArray(e)?e.reduce((e,t,n)=>{const r=d.breakpoints[n];return null!=t&&(e[r]=t),e},{}):e,m=function(e){const{utility:t,normalize:n}=e,{hasShorthand:r,resolveShorthand:o}=t;return function(e){return Bi(e,n,{stop:e=>Array.isArray(e),getKey:r?o:void 0})}}({utility:f,normalize:g}),b=function(e){const{conditions:t,isValidProperty:n}=e;return function(e){return Bi(e,e=>e,{getKey:(e,r)=>qt(r)?t.has(e)||n(e)?e:function(e){const t=[];let n=0,r="",o=!1;for(let a=0;a<e.length;a++){const i=e[a];"\\"!==i||o?o?(o=!1,r+=i):("("===i?n++:")"===i&&n--,","===i&&0===n?(t.push(r.trim()),r=""):r+=i):(o=!0,r+=i)}return r&&t.push(r.trim()),t}(e).map(e=>"&"+e).join(", "):e})}}({conditions:d,isValidProperty:h}),v=_m({transform:f.transform,conditions:d,normalize:m}),y=function(e){const{css:t,conditions:n,normalize:r,layers:o}=e;return function a(i={}){const{base:l,variants:s,defaultVariants:c,compoundVariants:u}=Cm(i),d=_m({conditions:n,normalize:r,transform:(e,t)=>s[e]?.[t]}),f=(e={})=>{const n=r({...c,...Ht(e)});let a={...l};yg(a,d(n));const i=function(e,n){let r={};return e.forEach(e=>{Object.entries(e).every(([e,t])=>"css"===e||(Array.isArray(t)?t:[t]).some(t=>n[e]===t))&&(r=t(r,e.css))}),r}(u,n);return o.wrap("recipes",t(a,i))},p=Object.keys(s),h=Object.fromEntries(Object.entries(s).map(([e,t])=>[e,Object.keys(t)]));return Object.assign(e=>t(f(e)),{className:i.className,__cva__:!0,variantMap:h,variantKeys:p,raw:f,config:i,splitVariantProps:e=>{const t=gg(e,["recipe"]),[n,r]=en(t,p);return p.includes("colorPalette")||(n.colorPalette=e.colorPalette||c.colorPalette),p.includes("orientation")&&(r.orientation=e.orientation),[n,r]},merge(t){return a(function(e){const{css:t}=e;return function(e,n){const r=Cm(n.config),o=Xt(e.variantKeys,Object.keys(n.variants)),a=t(e.base,r.base),i=Object.fromEntries(o.map(n=>[n,t(e.config.variants[n],r.variants[n])])),l=yg(e.config.defaultVariants,r.defaultVariants),s=[...e.compoundVariants,...r.compoundVariants];return{className:Ut(e.className,n.className),base:a,variants:i,defaultVariants:l,compoundVariants:s}}}(e)(this,t))}})}}({css:v,conditions:d,normalize:m,layers:s}),x=function(e){const{cva:t}=e;return function(e={}){const n=Object.entries(((e={})=>{const t=t=>{return{base:e.base?.[t]??{},variants:{},defaultVariants:e.defaultVariants??{},compoundVariants:e.compoundVariants?(n=e.compoundVariants,r=t,n.filter(e=>e.css[r]).map(e=>({...e,css:e.css[r]}))):[]};var n,r},n=(e.slots??[]).map(e=>[e,t(e)]);for(const[r,o]of Object.entries(e.variants??{}))for(const[e,t]of Object.entries(o))n.forEach(([n,o])=>{var a;(a=o.variants)[r]??(a[r]={}),o.variants[r][e]=t[n]??{}});return Object.fromEntries(n)})(e)).map(([e,n])=>[e,t(n)]),r=e.variants??{},o=Object.keys(r),a=Object.fromEntries(Object.entries(r).map(([e,t])=>[e,Object.keys(t)]));let i={};return e.className&&(i=Object.fromEntries(e.slots.map(t=>[t,`${e.className}__${t}`]))),Object.assign(function(e){const t=n.map(([t,n])=>[t,n(e)]);return Object.fromEntries(t)},{variantMap:a,variantKeys:o,splitVariantProps:function(t){const n=gg(t,["recipe"]),[r,a]=en(n,o);return o.includes("colorPalette")||(r.colorPalette=t.colorPalette||e.defaultVariants?.colorPalette),o.includes("orientation")&&(a.orientation=t.orientation),[r,a]},classNameMap:i})}}({cva:y});function k(){const e={};for(const[t,n]of c.cssVarMap.entries()){const r=Object.fromEntries(n);if(0===Object.keys(r).length)continue;const o="base"===t?a:d.resolve(t),i=o.startsWith("@");yg(e,v(b({[o]:i?{[a]:r}:r})))}return s.wrap("tokens",e)}function S(){const e=Object.fromEntries(Object.entries(n.keyframes??rb).map(([e,t])=>[`@keyframes ${e}`,t])),t=Object.assign({},e,v(b(o)));return s.wrap("base",t)}function w(){const e=function(e){const{preflight:t}=e;if(!t)return{};const{scope:n="",level:r="parent"}=qt(t)?t:{};let o="";n&&"parent"===r?o=`${n} `:n&&"element"===r&&(o=`&${n}`);const a={"*":{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"}},i={[n||"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("element"===r){const e=Object.entries(a).reduce((e,[t,n])=>(e[t]={[o]:n},e),{});Object.assign(i,e)}else o?i[o]=a:Object.assign(i,a);return i}({preflight:l});return s.wrap("reset",e)}const _=function(e){const t=new Map;return e.allTokens.forEach(e=>{const{cssVar:n,virtual:r,conditions:o}=e.extensions,a=o||r?n.ref:e.value;t.set(e.name,{value:a,variable:n.ref})}),t}(c),C=(e,t)=>_.get(e)?.value||t;function E(e){return Object.hasOwnProperty.call(n.recipes??rb,e)}function P(e){return Object.hasOwnProperty.call(n.slotRecipes??rb,e)}C.var=(e,t)=>_.get(e)?.variable||t;const z=[w(),S(),k()],T={layerStyles:ib(n.layerStyles??rb),textStyles:ib(n.textStyles??rb),animationStyles:ib(n.animationStyles??rb),tokens:lb(c,Object.keys(n.tokens??rb),(e,t)=>!e.extensions.conditions&&!t.includes("colorPalette")),semanticTokens:lb(c,Object.keys(n.semanticTokens??rb),e=>!!e.extensions.conditions),keyframes:sb(n.keyframes??rb),breakpoints:sb(n.breakpoints??rb)};return{$$chakra:!0,_config:t,_global:z,breakpoints:u,tokens:c,conditions:d,utility:f,token:C,properties:p,layers:s,isValidProperty:h,splitCssProps:function(e){return en(e,h)},normalizeValue:g,getTokenCss:k,getGlobalCss:S,getPreflightCss:w,css:v,cva:y,sva:x,getRecipe:function(e,t){return n.recipes?.[e]??t},getSlotRecipe:function(e,t){return n.slotRecipes?.[e]??t},hasRecipe:function(e){return E(e)||P(e)},isRecipe:E,isSlotRecipe:P,query:T}}const ab=e=>qt(e)&&"value"in e,ib=e=>({list:()=>Object.keys(qg(e,ab)),search(e){return this.list().filter(t=>t.includes(e))}}),lb=(e,t,n)=>({categoryKeys:t,list:t=>Array.from(e.categoryMap.get(t)?.entries()??[]).reduce((e,[t,r])=>(n(r,t)&&e.push(t),e),[]),search(e,t){return this.list(e).filter(e=>e.includes(t))}}),sb=e=>({list:()=>Object.keys(e),search(e){return this.list().filter(t=>t.includes(e))}}),cb="var(--chakra-empty,/*!*/ /*!*/)",ub={"*":{fontFeatureSettings:'"cv11"',"--ring-inset":cb,"--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(e=>[`--${e}`,cb])),...Object.fromEntries(["blur","brightness","contrast","grayscale","hue-rotate","invert","opacity","saturate","sepia"].map(e=>[`--backdrop-${e}`,cb])),"--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"}},db={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",shadow:"inset 0 0 0px 1px var(--shadow-color)",shadowColor:"colorPalette.muted"},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"}},fb={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"}},{variants:pb,defaultVariants:hb}=db,gb={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"}},mb={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"}},bb={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"}},vb={badge:db,button:{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",borderColor:"colorPalette.muted",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"}},code:{className:"chakra-code",base:{fontFamily:"mono",alignItems:"center",display:"inline-flex",borderRadius:"l2"},variants:pb,defaultVariants:hb},container:{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"}}}},heading:{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"}},input:mb,inputAddon:{className:"chakra-input-addon",base:{flex:"0 0 auto",width:"auto",display:"flex",alignItems:"center",whiteSpace:"nowrap",alignSelf:"stretch",borderRadius:"l2"},variants:{size:mb.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"}},kbd:{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"}},link:{className:"chakra-link",base:{display:"inline-flex",alignItems:"center",outline:"none",gap:"1.5",cursor:"pointer",borderRadius:"l1",focusRing:"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"}},mark:{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:{}}}},separator:{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"}},skeleton:{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}},skipNavLink:{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"}}},spinner:{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"}},textarea:{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"}},icon:{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"}},checkmark:fb,radiomark:bb,colorSwatch:gb},yb=_g.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}"}}},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}"}}},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}"}}},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}"}}},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}"}}},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}"}}},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}"}}},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}"}}},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}"}}},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}"}}}}),xb=_g.radii({l1:{value:"{radii.xs}"},l2:{value:"{radii.sm}"},l3:{value:"{radii.md}"}}),kb=_g.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}"}}}),Sb=Mh.extendWith("itemBody"),wb=_h("action-bar").parts("positioner","content","separator","selectionTrigger","closeTrigger"),_b=_h("alert").parts("title","description","root","indicator","content"),Cb=_h("breadcrumb").parts("link","currentLink","item","list","root","ellipsis","separator"),Eb=_h("blockquote").parts("root","icon","content","caption"),Pb=_h("card").parts("root","header","body","footer","title","description"),zb=_h("checkbox-card",["root","control","label","description","addon","indicator","content"]),Tb=_h("data-list").parts("root","item","itemLabel","itemValue"),Rb=qh.extendWith("header","body","footer","backdrop"),Ib=qh.extendWith("header","body","footer","backdrop"),Ob=Gh.extendWith("textarea"),Ab=_h("empty-state",["root","content","indicator","title","description"]),Db=Ph.extendWith("requiredIndicator"),Nb=Yh.extendWith("content"),Fb=Xh.extendWith("itemContent","dropzoneContent","fileText"),jb=_h("list").parts("root","item","indicator"),Mb=tg.extendWith("itemCommand"),Lb=_h("select").parts("root","field","indicator"),Wb=og.extendWith("header","body","footer"),Bb=lg.extendWith("itemAddon","itemIndicator"),$b=Bb.extendWith("itemContent","itemDescription"),Vb=sg.extendWith("itemIndicator"),Hb=dg.extendWith("indicatorGroup"),Ub=Uh.extendWith("indicatorGroup","empty"),qb=fg.extendWith("markerIndicator"),Gb=_h("stat").parts("root","label","helpText","valueText","valueUnit","indicator"),Yb=_h("status").parts("root","indicator"),Xb=_h("steps",["root","list","item","trigger","indicator","separator","content","title","description","nextTrigger","prevTrigger","progress"]),Kb=pg.extendWith("indicator"),Qb=_h("table").parts("root","header","body","row","columnHeader","cell","footer","caption"),Jb=_h("toast").parts("root","title","description","indicator","closeTrigger","actionTrigger"),Zb=_h("tabs").parts("root","trigger","list","content","contentGroup","indicator"),ev=_h("tag").parts("root","label","closeTrigger","startElement","endElement"),tv=_h("timeline").parts("root","item","content","separator","indicator","connector","title","description"),nv=Vh.extendWith("channelText"),rv=_h("code-block",["root","content","title","header","footer","control","overlay","code","codeText","copyTrigger","copyIndicator","collapseTrigger","collapseIndicator","collapseText"]);$h.extendWith("valueText");const ov=eg,av={className:"chakra-accordion",slots:Sb.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"}},iv={className:"chakra-action-bar",slots:wb.keys(),base:{positioner:{position:"fixed",display:"flex",justifyContent:"center",pointerEvents:"none",insetInline:"0",top:"unset",bottom:"calc(env(safe-area-inset-bottom) + 20px)"},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"}}},lv={slots:_b.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)",shadowColor:"colorPalette.muted"},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}},sv={slots:Lh.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",borderColor:"colorPalette.muted"}}},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"}},cv={className:"chakra-blockquote",slots:Eb.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"}},uv={className:"chakra-breadcrumb",slots:Cb.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"}},dv={className:"chakra-card",slots:Pb.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"}},fv={slots:Bh.keys(),className:"chakra-checkbox",base:{root:{display:"inline-flex",gap:"2",alignItems:"center",verticalAlign:"top",position:"relative"},control:fb.base,label:{fontWeight:"medium",userSelect:"none",_disabled:{opacity:"0.5"}}},variants:{size:{xs:{root:{gap:"1.5"},label:{textStyle:"xs"},control:fb.variants?.size?.xs},sm:{root:{gap:"2"},label:{textStyle:"sm"},control:fb.variants?.size?.sm},md:{root:{gap:"2.5"},label:{textStyle:"sm"},control:fb.variants?.size?.md},lg:{root:{gap:"3"},label:{textStyle:"md"},control:fb.variants?.size?.lg}},variant:{outline:{control:fb.variants?.variant?.outline},solid:{control:fb.variants?.variant?.solid},subtle:{control:fb.variants?.variant?.subtle}}},defaultVariants:{variant:"solid",size:"md"}},pv={slots:zb.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:fb.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:fb.variants?.size.sm},md:{root:{textStyle:"sm"},control:{padding:"4",gap:"2.5"},addon:{px:"4",py:"2",borderTopWidth:"1px"},indicator:fb.variants?.size.md},lg:{root:{textStyle:"md"},control:{padding:"4",gap:"3.5"},addon:{px:"4",py:"2",borderTopWidth:"1px"},indicator:fb.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:fb.variants?.variant.solid},subtle:{root:{bg:"bg.muted"},control:{_checked:{bg:"colorPalette.muted",color:"colorPalette.fg"}},indicator:fb.variants?.variant.plain},outline:{root:{borderWidth:"1px",borderColor:"border",_checked:{boxShadow:"0 0 0 1px var(--shadow-color)",boxShadowColor:"colorPalette.solid",borderColor:"colorPalette.solid"}},indicator:fb.variants?.variant.solid},solid:{root:{borderWidth:"1px",_checked:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"colorPalette.solid"}},indicator:fb.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"}},hv={slots:rv.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",overflowX:"auto",overflowY:"hidden",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"},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","--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",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"}},gv={slots:Fh.keys(),className:"chakra-collapsible",base:{content:{overflow:"hidden",_open:{animationName:"expand-height, fade-in",animationDuration:"moderate"},_closed:{animationName:"collapse-height, fade-out",animationDuration:"moderate"}}}},mv={className:"colorPicker",slots:nv.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",zIndex:"dropdown",_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:{...gb.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:{...mb.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:mb.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:mb.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:mb.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:mb.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:mb.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:mb.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:mb.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:mb.variants?.variant?.outline,trigger:{borderWidth:"1px"}},subtle:{channelInput:mb.variants?.variant?.subtle,trigger:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted"}}}},defaultVariants:{size:"md",variant:"outline"}},bv={className:"chakra-combobox",slots:Ub.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5",width:"full"},label:{fontWeight:"medium",userSelect:"none",textStyle:"sm",_disabled:{layerStyle:"disabled"}},input:{display:"flex",alignItems:"center",justifyContent:"space-between",background:"bg.panel",width:"full",minH:"var(--combobox-input-height)",px:"var(--combobox-input-padding-x)","--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"},control:{pos:"relative"},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",zIndex:"dropdown",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"}},vv={slots:Tb.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"}},yv={slots:Rb.keys(),className:"chakra-dialog",base:{backdrop:{bg:"blackAlpha.500",pos:"fixed",left:0,top:0,w:"100dvw",h:"100dvh",zIndex:"var(--z-index)",_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.modal",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.modal",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"}},xv={slots:Ib.keys(),className:"chakra-drawer",base:{backdrop:{bg:"blackAlpha.500",pos:"fixed",insetInlineStart:0,top:0,w:"100vw",h:"100dvh",zIndex:"overlay",_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,zIndex:"modal",overscrollBehaviorY:"none"},content:{display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,zIndex:"modal",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"}},kv={fontSize:"inherit",fontWeight:"inherit",textAlign:"inherit",bg:"transparent",borderRadius:"l2"},Sv={slots:Ob.keys(),className:"chakra-editable",base:{root:{display:"inline-flex",alignItems:"center",position:"relative",gap:"1.5",width:"full"},preview:{...kv,py:"1",px:"1",display:"inline-flex",alignItems:"center",transitionProperty:"common",transitionDuration:"moderate",cursor:"text",_hover:{bg:"bg.muted"},_disabled:{userSelect:"none"}},input:{...kv,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"}},wv={slots:Ab.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"}},_v={className:"chakra-field",slots:Db.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"}},Cv={className:"fieldset",slots:Nb.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"}},Ev={className:"chakra-file-upload",slots:Fb.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:{}},Pv={className:"chakra-hover-card",slots:Qh.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",zIndex:"popover",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",borderInlineStartWidth:"0.5px"}},variants:{size:{xs:{content:{padding:"3"}},sm:{content:{padding:"4"}},md:{content:{padding:"5"}},lg:{content:{padding:"6"}}}},defaultVariants:{size:"md"}},zv={className:"chakra-list",slots:jb.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"}},Tv={className:"chakra-listbox",slots:ov.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"}},Rv={className:"chakra-menu",slots:Mb.keys(),base:{content:{outline:0,bg:"bg.panel",boxShadow:"lg",color:"fg",maxHeight:"var(--available-height)","--menu-z-index":"zIndex.dropdown",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"}},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"}},Iv={className:"chakra-select",slots:Hb.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",zIndex:"dropdown",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"}}},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"}},Ov={className:"chakra-native-select",slots:Lb.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:Iv.variants?.variant.outline.trigger},subtle:{field:Iv.variants?.variant.subtle.trigger},plain:{field:{bg:"transparent",color:"fg",focusRingWidth:"2px"}}},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:Iv.defaultVariants};function Av(e,t){const n={};for(const r in e){const o=t(r,e[r]);n[o[0]]=o[1]}return n}const Dv={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"}},Nv={className:"chakra-number-input",slots:ng.keys(),base:{root:{position:"relative",zIndex:"0",isolation:"isolate"},input:{...mb.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:{...Dv,borderTopEndRadius:"var(--stepper-radius)"},decrementTrigger:{...Dv,borderBottomEndRadius:"var(--stepper-radius)"},valueText:{fontWeight:"medium",fontFeatureSettings:"pnum",fontVariantNumeric:"proportional-nums"}},variants:{size:{xs:{input:mb.variants.size.xs,control:{fontSize:"2xs","--stepper-width":"sizes.4"}},sm:{input:mb.variants.size.sm,control:{fontSize:"xs","--stepper-width":"sizes.5"}},md:{input:mb.variants.size.md,control:{fontSize:"sm","--stepper-width":"sizes.6"}},lg:{input:mb.variants.size.lg,control:{fontSize:"sm","--stepper-width":"sizes.6"}}},variant:Av(mb.variants.variant,(e,t)=>[e,{input:t}])},defaultVariants:{size:"md",variant:"outline"}},{variants:Fv,defaultVariants:jv}=mb,Mv={className:"chakra-pin-input",slots:rg.keys(),base:{input:{...mb.base,textAlign:"center",width:"var(--input-height)"},control:{display:"inline-flex",gap:"2",isolation:"isolate"}},variants:{size:Av(Fv.size,(e,t)=>[e,{input:{...t,px:"1"}}]),variant:Av(Fv.variant,(e,t)=>[e,{input:t}]),attached:{true:{control:{gap:"0",spaceX:"-1px"},input:{_notFirst:{borderStartRadius:"0"},_notLast:{borderEndRadius:"0"},_focusVisible:{zIndex:"1"}}}}},defaultVariants:jv},Lv={className:"chakra-popover",slots:Wb.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",borderInlineStartWidth:"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"}},Wv={slots:ag.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"}},Bv={className:"chakra-progress-circle",slots:ag.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"}},$v={slots:ig.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"}},Vv={className:"chakra-radio-card",slots:$b.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.8",borderColor:"border.disabled"},_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:bb.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:bb.variants?.size.sm},md:{item:{textStyle:"sm"},itemControl:{padding:"4",gap:"2.5"},itemAddon:{px:"4",py:"2",borderTopWidth:"1px"},itemIndicator:bb.variants?.size.md},lg:{item:{textStyle:"md"},itemControl:{padding:"4",gap:"3.5"},itemAddon:{px:"4",py:"2",borderTopWidth:"1px"},itemIndicator:bb.variants?.size.lg}},variant:{surface:{item:{borderWidth:"1px",_checked:{bg:"colorPalette.subtle",color:"colorPalette.fg",borderColor:"colorPalette.muted"}},itemIndicator:bb.variants?.variant.solid},subtle:{item:{bg:"bg.muted"},itemControl:{_checked:{bg:"colorPalette.muted",color:"colorPalette.fg"}},itemIndicator:bb.variants?.variant.outline},outline:{item:{borderWidth:"1px",_checked:{boxShadow:"0 0 0 1px var(--shadow-color)",boxShadowColor:"colorPalette.solid",borderColor:"colorPalette.solid"}},itemIndicator:bb.variants?.variant.solid},solid:{item:{borderWidth:"1px",_checked:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"colorPalette.solid"}},itemIndicator:bb.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"}},Hv={className:"chakra-radio-group",slots:Bb.keys(),base:{item:{display:"inline-flex",alignItems:"center",position:"relative",fontWeight:"medium",_disabled:{cursor:"disabled"}},itemControl:bb.base,label:{userSelect:"none",textStyle:"sm",_disabled:{opacity:"0.5"}}},variants:{variant:{outline:{itemControl:bb.variants?.variant?.outline},subtle:{itemControl:bb.variants?.variant?.subtle},solid:{itemControl:bb.variants?.variant?.solid}},size:{xs:{item:{textStyle:"xs",gap:"1.5"},itemControl:bb.variants?.size?.xs},sm:{item:{textStyle:"sm",gap:"2"},itemControl:bb.variants?.size?.sm},md:{item:{textStyle:"sm",gap:"2.5"},itemControl:bb.variants?.size?.md},lg:{item:{textStyle:"md",gap:"3"},itemControl:bb.variants?.size?.lg}}},defaultVariants:{size:"md",variant:"solid"}},Uv={className:"chakra-rating-group",slots:Vb.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"}},qv={className:"chakra-scroll-area",slots:cg.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"}},Gv={className:"chakra-segment-group",slots:ug.keys(),base:{root:{"--segment-radius":"radii.l2",borderRadius:"l2",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:"sm",pos:"absolute",bg:{_light:"bg",_dark:"bg.emphasized"},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"}},Yv={className:"chakra-slider",slots:qb.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",_focusVisible:{ring:"2px",ringColor:"colorPalette.focusRing",ringOffset:"2px",ringOffsetColor:"bg"}}},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)","&[data-has-mark-label], &:has(.chakra-slider__marker-label)":{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)","&[data-has-mark-label], &:has(.chakra-slider__marker-label)":{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"}},Xv={className:"chakra-stat",slots:Gb.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"}},Kv={className:"chakra-status",slots:Yb.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"}},Qv={className:"chakra-steps",slots:Xb.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"}},Jv={slots:Kb.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"}},Zv={className:"chakra-table",slots:Qb.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}",overflow:"hidden"},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"}},ey={slots:Zb.keys(),className:"chakra-tabs",base:{root:{"--tabs-trigger-radius":"radii.l2",position:"relative",_horizontal:{display:"block"},_vertical:{display:"flex"}},list:{display:"inline-flex",position:"relative",isolation:"isolate","--tabs-indicator-shadow":"shadows.xs","--tabs-indicator-bg":"colors.bg",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-indicator-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-indicator-radius)"}}}}},defaultVariants:{size:"md",variant:"line"}},ty=db.variants?.variant,ny={slots:ev.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:ty?.subtle},solid:{root:ty?.solid},outline:{root:ty?.outline},surface:{root:ty?.surface}}},defaultVariants:{size:"md",variant:"surface"}},ry={slots:tv.keys(),className:"chakra-timeline",base:{root:{display:"flex",flexDirection:"column",width:"full","--timeline-thickness":"1px","--timeline-gutter":"4px"},item:{display:"flex",position:"relative",alignItems:"flex-start",flexShrink:0,gap:"4",_last:{"& :where(.chakra-timeline__separator)":{display:"none"}}},separator:{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:"6",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:{}},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"}},oy={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"}},ay={flex:"1"},iy={_selected:{bg:"colorPalette.subtle",color:"colorPalette.fg"}},ly={_selected:{layerStyle:"fill.solid"}},sy={accordion:av,actionBar:iv,alert:lv,avatar:sv,blockquote:cv,breadcrumb:uv,card:dv,checkbox:fv,checkboxCard:pv,codeBlock:hv,collapsible:gv,dataList:vv,dialog:yv,drawer:xv,editable:Sv,emptyState:wv,field:_v,fieldset:Cv,fileUpload:Ev,hoverCard:Pv,list:zv,listbox:Tv,menu:Rv,nativeSelect:Ov,numberInput:Nv,pinInput:Mv,popover:Lv,progress:Wv,progressCircle:Bv,radioCard:Vv,radioGroup:Hv,ratingGroup:Uv,scrollArea:qv,segmentGroup:Gv,select:Iv,combobox:bv,slider:Yv,stat:Xv,steps:Qv,switch:Jv,table:Zv,tabs:ey,tag:ny,toast:{slots:Jb.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"}}}},tooltip:{slots:hg.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",borderInlineStartWidth:"1px",borderColor:"var(--tooltip-bg)"}}},status:Kv,timeline:ry,colorPicker:mv,qrCode:$v,treeView:{slots:Jh.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:oy,item:oy,itemText:ay,branchText:ay,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:iy,item:iy},solid:{branchControl:ly,item:ly}},animateContent:{true:{branchContent:{_open:{animationName:"expand-height, fade-in",animationDuration:"moderate"},_closed:{animationName:"collapse-height, fade-out",animationDuration:"moderate"}}}}},defaultVariants:{size:"md",variant:"subtle"}}},cy=wg.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"}}),uy=wg.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"}}),dy=wg.blurs({none:{value:" "},sm:{value:"4px"},md:{value:"8px"},lg:{value:"12px"},xl:{value:"16px"},"2xl":{value:"24px"},"3xl":{value:"40px"},"4xl":{value:"64px"}}),fy=wg.borders({xs:{value:"0.5px solid"},sm:{value:"1px solid"},md:{value:"2px solid"},lg:{value:"4px solid"},xl:{value:"8px solid"}}),py=wg.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"}}}),hy=wg.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"}}),gy=wg.durations({fastest:{value:"50ms"},faster:{value:"100ms"},fast:{value:"150ms"},moderate:{value:"200ms"},slow:{value:"300ms"},slower:{value:"400ms"},slowest:{value:"500ms"}}),my=wg.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)"}}),by=wg.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"}}),vy=wg.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"}}),yy='-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',xy=wg.fonts({heading:{value:`Inter, ${yy}`},body:{value:`Inter, ${yy}`},mono:{value:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'}}),ky=wg.letterSpacings({tighter:{value:"-0.05em"},tight:{value:"-0.025em"},wide:{value:"0.025em"},wider:{value:"0.05em"},widest:{value:"0.1em"}}),Sy=wg.lineHeights({shorter:{value:1.25},short:{value:1.375},moderate:{value:1.5},tall:{value:1.625},taller:{value:2}}),wy=wg.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"}}),_y=wg.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"}}),Cy=wg.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"}}),Ey=wg.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"}}),Py=wg.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%"}}),zy=wg.sizes({...Cy,..._y,...Py,...Ey}),Ty=wg.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}}),Ry=kg(Fg,{preflight:!0,cssVarsPrefix:"chakra",cssVarsRoot:":where(html, .chakra-theme)",globalCss:ub,theme:{breakpoints:{sm:"480px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},keyframes:{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:"0"},to:{height:"var(--height)"}},"collapse-height":{from:{height:"var(--height)"},to:{height:"0"}},"expand-width":{from:{width:"0"},to:{width:"var(--width)"}},"collapse-width":{from:{height:"var(--width)"},to:{height:"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 -0.5rem"},to:{translate:"0"}},"slide-from-bottom":{"0%":{translate:"0 0.5rem"},to:{translate:"0"}},"slide-from-left":{"0%":{translate:"-0.5rem 0"},to:{translate:"0"}},"slide-from-right":{"0%":{translate:"0.5rem 0"},to:{translate:"0"}},"slide-to-top":{"0%":{translate:"0"},to:{translate:"0 -0.5rem"}},"slide-to-bottom":{"0%":{translate:"0"},to:{translate:"0 0.5rem"}},"slide-to-left":{"0%":{translate:"0"},to:{translate:"-0.5rem 0"}},"slide-to-right":{"0%":{translate:"0"},to:{translate:"0.5rem 0"}},"scale-in":{from:{scale:"0.95"},to:{scale:"1"}},"scale-out":{from:{scale:"1"},to:{scale:"0.95"}}},tokens:{aspectRatios:uy,animations:cy,blurs:dy,borders:fy,colors:py,durations:gy,easings:my,fonts:xy,fontSizes:by,fontWeights:vy,letterSpacings:ky,lineHeights:Sy,radii:wy,spacing:_y,sizes:zy,zIndex:Ty,cursor:hy},semanticTokens:{colors:yb,shadows:kb,radii:xb},recipes:vb,slotRecipes:sy,textStyles:{"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"}}},layerStyles:{"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:{}}},animationStyles:{"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"}}}}});ob(Ry);const Iy=()=>{const{botData:e}=Li(),t=e?.white_label?.is_white_labeled??!1;return h.jsxs(Hi,{mt:1,justifyContent:"start",align:"center",alignContent:"center",wrap:"wrap",gapX:4,alignItems:"center",w:"full",children:[!t&&h.jsxs(sl,{href:lf("https://dori.style/",e?.sharing_id||""),target:"_blank",children:[h.jsxs(il,{fontSize:{base:"9px",md:"10px"},color:"#666666",textAlign:"center",lineHeight:"1.4",textWrap:"nowrap",children:["Powered by"," "]}),h.jsx(ol,{src:"https://dori.fra1.cdn.digitaloceanspaces.com/dori-16px.webp",alt:"Bot Image",h:{base:"14px",md:"16px"}})]}),h.jsx(hn,{fontSize:{base:"8px",md:"10px"},color:"#666666",bg:"transparent",border:"none",display:"flex",alignItems:"center",justifyContent:"flex-start",children:h.jsx(hn,{children:"AI can make mistakes. Check important info"})})]})},Oy=({width:e="100%",height:t="20px",borderRadius:n="8px"})=>h.jsx(hn,{width:e,height:t,borderRadius:n,style:{background:"linear-gradient(90deg, #f0f0f0 0px, #f8f8f8 40px, #f0f0f0 80px)",backgroundSize:"1000px 100%",animation:"shimmer 2s infinite linear"}}),Ay=()=>h.jsxs(hn,{style:{zIndex:9999,overflow:"hidden",willChange:"transform",pointerEvents:"auto",transform:"translateY(0)",transition:"all 0.5s ease",visibility:"visible",opacity:1},children:[h.jsx("style",{children:"\n @keyframes shimmer {\n 0% {\n background-position: -1000px 0;\n }\n 100% {\n background-position: 1000px 0;\n }\n }\n"}),h.jsxs(Ui,{p:3,h:"full",justify:"space-between",align:"stretch",gap:3,children:[h.jsxs(Hi,{gap:3,p:3,children:[h.jsx(Oy,{width:"40px",height:"40px",borderRadius:"full"}),h.jsxs(Ui,{align:"flex-start",gap:2,flex:1,children:[h.jsx(Oy,{width:"140px",height:"16px"}),h.jsx(Oy,{width:"100px",height:"12px"})]})]}),h.jsxs(Ui,{gap:4,flex:1,align:"stretch",px:3,children:[h.jsx(Hi,{justify:"flex-end",children:h.jsx(Oy,{width:"60%",height:"50px",borderRadius:"16px"})}),h.jsxs(Hi,{gap:3,overflowX:"hidden",px:1,children:[h.jsx(hn,{minW:"140px",children:h.jsxs(Ui,{align:"stretch",gap:2,children:[h.jsx(Oy,{width:"70px",height:"70px",borderRadius:"12px"}),h.jsx(Oy,{width:"100%",height:"12px"})]})}),h.jsx(hn,{minW:"140px",children:h.jsxs(Ui,{align:"stretch",gap:2,children:[h.jsx(Oy,{width:"70px",height:"70px",borderRadius:"12px"}),h.jsx(Oy,{width:"100%",height:"12px"})]})})]})]}),h.jsx(hn,{p:2,children:h.jsx(Oy,{width:"100%",height:"42px",borderRadius:"28px"})})]})]}),Dy=()=>{const{botData:e,isLoadingBot:t}=Li();return t?h.jsx(Ay,{}):e?h.jsx(hn,{style:{zIndex:9999,overflow:"hidden",willChange:"transform",pointerEvents:"auto",transform:"translateY(0)",transition:"all 0.5s ease",visibility:"visible",opacity:1},children:h.jsxs(Ui,{p:3,h:"full",justify:"flex-start",align:"stretch",children:[h.jsx(Nh,{})," ",h.jsx(hn,{transition:"all 0.5s cubic-bezier(0.4, 0, 0.2, 1)",children:h.jsx(Iy,{})})]})}):null};function Ny(){const[e,t]=y.useState(""),[n,r]=y.useState(null);return function({sharingId:e,productId:t}){const{initializeBot:n,resetBot:r}=Li(),o=y.useRef(void 0),a=y.useRef(void 0);y.useEffect(()=>{(async()=>{(o.current&&e&&o.current!==e||a.current!==t)&&r?.(),o.current=e,a.current=t,e&&await n(e,t)})()},[e,t,n,r])}({sharingId:e,productId:n}),y.useEffect(()=>{window.chatbotData?t(window.chatbotData.sharingID):Ti("useEffect sharing ID",()=>{const e=()=>{const e=document.querySelector("script#dori-react-widget");return{sharingId:e?.getAttribute("data-sharing-id")||"",productId:e?.getAttribute("data-product-id")||null}},{sharingId:n,productId:o}=e();t(n),r(o);const a=document.querySelector("script#dori-react-widget");if(!a)return;const i=new MutationObserver(n=>{for(const o of n)if("attributes"===o.type&&("data-sharing-id"===o.attributeName||"data-product-id"===o.attributeName)){const{sharingId:n,productId:o}=e();t(n),r(o)}});return i.observe(a,{attributes:!0,attributeFilter:["data-sharing-id","data-product-id"]}),()=>{i.disconnect()}})()},[]),h.jsx(hn,{fontFamily:"Estedad-FD, system-ui, Avenir, Helvetica, Arial, sans-serif",lineHeight:"1.5",fontWeight:"400",colorScheme:"light",children:h.jsx(Dy,{})})}function Fy(){return h.jsx(Ny,{})}var jy={};const My=a(Lt),Ly=a(qe);var Wy,By={},$y={};function Vy(){if(Wy)return $y;Wy=1;var e=v(),t=j();function n(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=Symbol.for("react.transitional.element"),o=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),c=Symbol.for("react.consumer"),u=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),m=Symbol.for("react.scope"),b=Symbol.for("react.activity"),y=Symbol.for("react.legacy_hidden"),x=Symbol.for("react.memo_cache_sentinel"),k=Symbol.for("react.view_transition"),S=Symbol.iterator,w=Array.isArray;function _(e,t){var n=3&e.length,r=e.length-n,o=t;for(t=0;t<r;){var a=255&e.charCodeAt(t)|(255&e.charCodeAt(++t))<<8|(255&e.charCodeAt(++t))<<16|(255&e.charCodeAt(++t))<<24;++t,o=27492+(65535&(o=5*(65535&(o=(o^=a=461845907*(65535&(a=(a=3432918353*(65535&a)+((3432918353*(a>>>16)&65535)<<16)&4294967295)<<15|a>>>17))+((461845907*(a>>>16)&65535)<<16)&4294967295)<<13|o>>>19))+((5*(o>>>16)&65535)<<16)&4294967295))+(((o>>>16)+58964&65535)<<16)}switch(a=0,n){case 3:a^=(255&e.charCodeAt(t+2))<<16;case 2:a^=(255&e.charCodeAt(t+1))<<8;case 1:o^=461845907*(65535&(a=(a=3432918353*(65535&(a^=255&e.charCodeAt(t)))+((3432918353*(a>>>16)&65535)<<16)&4294967295)<<15|a>>>17))+((461845907*(a>>>16)&65535)<<16)&4294967295}return o^=e.length,o=2246822507*(65535&(o^=o>>>16))+((2246822507*(o>>>16)&65535)<<16)&4294967295,((o=3266489909*(65535&(o^=o>>>13))+((3266489909*(o>>>16)&65535)<<16)&4294967295)^o>>>16)>>>0}var C=Object.assign,E=Object.prototype.hasOwnProperty,P=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),z={},T={};function R(e){return!!E.call(T,e)||!E.call(z,e)&&(P.test(e)?T[e]=!0:(z[e]=!0,!1))}var I=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),O=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),A=/["'&<>]/;function D(e){if("boolean"==typeof e||"number"==typeof e||"bigint"==typeof e)return""+e;e=""+e;var t=A.exec(e);if(t){var n,r="",o=0;for(n=t.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:t="&quot;";break;case 38:t="&amp;";break;case 39:t="&#x27;";break;case 60:t="&lt;";break;case 62:t="&gt;";break;default:continue}o!==n&&(r+=e.slice(o,n)),o=n+1,r+=t}e=o!==n?r+e.slice(o,n):r}return e}var N=/([A-Z])/g,F=/^ms-/,M=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function L(e){return M.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var W=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,B=t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,$={pending:!1,data:null,method:null,action:null},V=B.d;B.d={f:V.f,r:V.r,D:function(e){var t=cn||null;if(t){var n,r,o=t.resumableState,a=t.renderState;if("string"==typeof e&&e)o.dnsResources.hasOwnProperty(e)||(o.dnsResources[e]=null,(r=(o=a.headers)&&0<o.remainingCapacity)&&(n="<"+(""+e).replace(He,Ue)+">; rel=dns-prefetch",r=0<=(o.remainingCapacity-=n.length+2)),r?(a.resets.dns[e]=null,o.preconnects&&(o.preconnects+=", "),o.preconnects+=n):(se(n=[],{href:e,rel:"dns-prefetch"}),a.preconnects.add(n))),Yn(t)}else V.D(e)},C:function(e,t){var n=cn||null;if(n){var r=n.resumableState,o=n.renderState;if("string"==typeof e&&e){var a,i,l="use-credentials"===t?"credentials":"string"==typeof t?"anonymous":"default";if(!r.connectResources[l].hasOwnProperty(e))r.connectResources[l][e]=null,(i=(r=o.headers)&&0<r.remainingCapacity)&&(i="<"+(""+e).replace(He,Ue)+">; rel=preconnect","string"==typeof t&&(i+='; crossorigin="'+(""+t).replace(qe,Ge)+'"'),a=i,i=0<=(r.remainingCapacity-=a.length+2)),i?(o.resets.connect[l][e]=null,r.preconnects&&(r.preconnects+=", "),r.preconnects+=a):(se(l=[],{rel:"preconnect",href:e,crossOrigin:t}),o.preconnects.add(l));Yn(n)}}else V.C(e,t)},L:function(e,t,n){var r=cn||null;if(r){var o=r.resumableState,a=r.renderState;if(t&&e){switch(t){case"image":if(n)var i=n.imageSrcSet,l=n.imageSizes,s=n.fetchPriority;var c,u=i?i+"\n"+(l||""):e;if(o.imageResources.hasOwnProperty(u))return;o.imageResources[u]=H,(o=a.headers)&&0<o.remainingCapacity&&"string"!=typeof i&&"high"===s&&(c=Ve(e,t,n),0<=(o.remainingCapacity-=c.length+2))?(a.resets.image[u]=H,o.highImagePreloads&&(o.highImagePreloads+=", "),o.highImagePreloads+=c):(se(o=[],C({rel:"preload",href:i?void 0:e,as:t},n)),"high"===s?a.highImagePreloads.add(o):(a.bulkPreloads.add(o),a.preloads.images.set(u,o)));break;case"style":if(o.styleResources.hasOwnProperty(e))return;se(i=[],C({rel:"preload",href:e,as:t},n)),o.styleResources[e]=!n||"string"!=typeof n.crossOrigin&&"string"!=typeof n.integrity?H:[n.crossOrigin,n.integrity],a.preloads.stylesheets.set(e,i),a.bulkPreloads.add(i);break;case"script":if(o.scriptResources.hasOwnProperty(e))return;i=[],a.preloads.scripts.set(e,i),a.bulkPreloads.add(i),se(i,C({rel:"preload",href:e,as:t},n)),o.scriptResources[e]=!n||"string"!=typeof n.crossOrigin&&"string"!=typeof n.integrity?H:[n.crossOrigin,n.integrity];break;default:if(o.unknownResources.hasOwnProperty(t)){if((i=o.unknownResources[t]).hasOwnProperty(e))return}else i={},o.unknownResources[t]=i;i[e]=H,(o=a.headers)&&0<o.remainingCapacity&&"font"===t&&(u=Ve(e,t,n),0<=(o.remainingCapacity-=u.length+2))?(a.resets.font[e]=H,o.fontPreloads&&(o.fontPreloads+=", "),o.fontPreloads+=u):"font"===(se(o=[],e=C({rel:"preload",href:e,as:t},n)),t)?a.fontPreloads.add(o):a.bulkPreloads.add(o)}Yn(r)}}else V.L(e,t,n)},m:function(e,t){var n=cn||null;if(n){var r=n.resumableState,o=n.renderState;if(e){var a=t&&"string"==typeof t.as?t.as:"script";if("script"===a){if(r.moduleScriptResources.hasOwnProperty(e))return;a=[],r.moduleScriptResources[e]=!t||"string"!=typeof t.crossOrigin&&"string"!=typeof t.integrity?H:[t.crossOrigin,t.integrity],o.preloads.moduleScripts.set(e,a)}else{if(r.moduleUnknownResources.hasOwnProperty(a)){var i=r.unknownResources[a];if(i.hasOwnProperty(e))return}else i={},r.moduleUnknownResources[a]=i;a=[],i[e]=H}se(a,C({rel:"modulepreload",href:e},t)),o.bulkPreloads.add(a),Yn(n)}}else V.m(e,t)},X:function(e,t){var n=cn||null;if(n){var r=n.resumableState,o=n.renderState;if(e){var a=r.scriptResources.hasOwnProperty(e)?r.scriptResources[e]:void 0;null!==a&&(r.scriptResources[e]=null,t=C({src:e,async:!0},t),a&&(2===a.length&&$e(t,a),e=o.preloads.scripts.get(e))&&(e.length=0),e=[],o.scripts.add(e),pe(e,t),Yn(n))}}else V.X(e,t)},S:function(e,t,n){var r=cn||null;if(r){var o=r.resumableState,a=r.renderState;if(e){t=t||"default";var i=a.styles.get(t),l=o.styleResources.hasOwnProperty(e)?o.styleResources[e]:void 0;null!==l&&(o.styleResources[e]=null,i||(i={precedence:D(t),rules:[],hrefs:[],sheets:new Map},a.styles.set(t,i)),t={state:0,props:C({rel:"stylesheet",href:e,"data-precedence":t},n)},l&&(2===l.length&&$e(t.props,l),(a=a.preloads.stylesheets.get(e))&&0<a.length?a.length=0:t.state=1),i.sheets.set(e,t),Yn(r))}}else V.S(e,t,n)},M:function(e,t){var n=cn||null;if(n){var r=n.resumableState,o=n.renderState;if(e){var a=r.moduleScriptResources.hasOwnProperty(e)?r.moduleScriptResources[e]:void 0;null!==a&&(r.moduleScriptResources[e]=null,t=C({src:e,type:"module",async:!0},t),a&&(2===a.length&&$e(t,a),e=o.preloads.moduleScripts.get(e))&&(e.length=0),e=[],o.scripts.add(e),pe(e,t),Yn(n))}}else V.M(e,t)}};var H=[],U=/(<\/|<)(s)(cript)/gi;function q(e,t,n,r){return t+("s"===n?"\\u0073":"\\u0053")+r}function G(){return{htmlChunks:null,headChunks:null,bodyChunks:null,contribution:0}}function Y(e,t,n){return{insertionMode:e,selectedValue:t,tagScope:n}}function X(e,t,n){switch(t){case"noscript":return Y(2,null,1|e.tagScope);case"select":return Y(2,null!=n.value?n.value:n.defaultValue,e.tagScope);case"svg":return Y(4,null,e.tagScope);case"picture":return Y(2,null,2|e.tagScope);case"math":return Y(5,null,e.tagScope);case"foreignObject":return Y(2,null,e.tagScope);case"table":return Y(6,null,e.tagScope);case"thead":case"tbody":case"tfoot":return Y(7,null,e.tagScope);case"colgroup":return Y(9,null,e.tagScope);case"tr":return Y(8,null,e.tagScope);case"head":if(2>e.insertionMode)return Y(3,null,e.tagScope);break;case"html":if(0===e.insertionMode)return Y(1,null,e.tagScope)}return 6<=e.insertionMode||2>e.insertionMode?Y(2,null,e.tagScope):e}var K=new Map;function Q(e,t){if("object"!=typeof t)throw Error(n(62));var r,o=!0;for(r in t)if(E.call(t,r)){var a=t[r];if(null!=a&&"boolean"!=typeof a&&""!==a){if(0===r.indexOf("--")){var i=D(r);a=D((""+a).trim())}else void 0===(i=K.get(r))&&(i=D(r.replace(N,"-$1").toLowerCase().replace(F,"-ms-")),K.set(r,i)),a="number"==typeof a?0===a||I.has(r)?""+a:a+"px":D((""+a).trim());o?(o=!1,e.push(' style="',i,":",a)):e.push(";",i,":",a)}}o||e.push('"')}function J(e,t,n){n&&"function"!=typeof n&&"symbol"!=typeof n&&e.push(" ",t,'=""')}function Z(e,t,n){"function"!=typeof n&&"symbol"!=typeof n&&"boolean"!=typeof n&&e.push(" ",t,'="',D(n),'"')}var ee=D("javascript:throw new Error('React form unexpectedly submitted.')");function te(e,t){this.push('<input type="hidden"'),ne(e),Z(this,"name",t),Z(this,"value",e),this.push("/>")}function ne(e){if("string"!=typeof e)throw Error(n(480))}function re(e,t){if("function"==typeof t.$$FORM_ACTION){var n=e.nextFormID++;e=e.idPrefix+n;try{var r=t.$$FORM_ACTION(e);if(r){var o=r.data;null!=o&&o.forEach(ne)}return r}catch(a){if("object"==typeof a&&null!==a&&"function"==typeof a.then)throw a}}return null}function oe(e,t,n,r,o,a,i,l){var s=null;if("function"==typeof r){var c=re(t,r);null!==c?(l=c.name,r=c.action||"",o=c.encType,a=c.method,i=c.target,s=c.data):(e.push(" ","formAction",'="',ee,'"'),i=a=o=r=l=null,le(t,n))}return null!=l&&ae(e,"name",l),null!=r&&ae(e,"formAction",r),null!=o&&ae(e,"formEncType",o),null!=a&&ae(e,"formMethod",a),null!=i&&ae(e,"formTarget",i),s}function ae(e,t,n){switch(t){case"className":Z(e,"class",n);break;case"tabIndex":Z(e,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":Z(e,t,n);break;case"style":Q(e,n);break;case"src":case"href":if(""===n)break;case"action":case"formAction":if(null==n||"function"==typeof n||"symbol"==typeof n||"boolean"==typeof n)break;n=L(""+n),e.push(" ",t,'="',D(n),'"');break;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"autoFocus":case"multiple":case"muted":J(e,t.toLowerCase(),n);break;case"xlinkHref":if("function"==typeof n||"symbol"==typeof n||"boolean"==typeof n)break;n=L(""+n),e.push(" ","xlink:href",'="',D(n),'"');break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":"function"!=typeof n&&"symbol"!=typeof n&&e.push(" ",t,'="',D(n),'"');break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":n&&"function"!=typeof n&&"symbol"!=typeof n&&e.push(" ",t,'=""');break;case"capture":case"download":!0===n?e.push(" ",t,'=""'):!1!==n&&"function"!=typeof n&&"symbol"!=typeof n&&e.push(" ",t,'="',D(n),'"');break;case"cols":case"rows":case"size":case"span":"function"!=typeof n&&"symbol"!=typeof n&&!isNaN(n)&&1<=n&&e.push(" ",t,'="',D(n),'"');break;case"rowSpan":case"start":"function"==typeof n||"symbol"==typeof n||isNaN(n)||e.push(" ",t,'="',D(n),'"');break;case"xlinkActuate":Z(e,"xlink:actuate",n);break;case"xlinkArcrole":Z(e,"xlink:arcrole",n);break;case"xlinkRole":Z(e,"xlink:role",n);break;case"xlinkShow":Z(e,"xlink:show",n);break;case"xlinkTitle":Z(e,"xlink:title",n);break;case"xlinkType":Z(e,"xlink:type",n);break;case"xmlBase":Z(e,"xml:base",n);break;case"xmlLang":Z(e,"xml:lang",n);break;case"xmlSpace":Z(e,"xml:space",n);break;default:if((!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&R(t=O.get(t)||t)){switch(typeof n){case"function":case"symbol":return;case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return}e.push(" ",t,'="',D(n),'"')}}}function ie(e,t,r){if(null!=t){if(null!=r)throw Error(n(60));if("object"!=typeof t||!("__html"in t))throw Error(n(61));null!=(t=t.__html)&&e.push(""+t)}}function le(e,t){!(16&e.instructions)&&(e.instructions|=16,t.bootstrapChunks.unshift(t.startInlineScript,'addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'React form unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});',"<\/script>"))}function se(e,t){for(var r in e.push(ve("link")),t)if(E.call(t,r)){var o=t[r];if(null!=o)switch(r){case"children":case"dangerouslySetInnerHTML":throw Error(n(399,"link"));default:ae(e,r,o)}}return e.push("/>"),null}var ce=/(<\/|<)(s)(tyle)/gi;function ue(e,t,n,r){return t+("s"===n?"\\73 ":"\\53 ")+r}function de(e,t,r){for(var o in e.push(ve(r)),t)if(E.call(t,o)){var a=t[o];if(null!=a)switch(o){case"children":case"dangerouslySetInnerHTML":throw Error(n(399,r));default:ae(e,o,a)}}return e.push("/>"),null}function fe(e,t){e.push(ve("title"));var n,r=null,o=null;for(n in t)if(E.call(t,n)){var a=t[n];if(null!=a)switch(n){case"children":r=a;break;case"dangerouslySetInnerHTML":o=a;break;default:ae(e,n,a)}}return e.push(">"),"function"!=typeof(t=Array.isArray(r)?2>r.length?r[0]:null:r)&&"symbol"!=typeof t&&null!=t&&e.push(D(""+t)),ie(e,o,r),e.push(xe("title")),null}function pe(e,t){e.push(ve("script"));var n,r=null,o=null;for(n in t)if(E.call(t,n)){var a=t[n];if(null!=a)switch(n){case"children":r=a;break;case"dangerouslySetInnerHTML":o=a;break;default:ae(e,n,a)}}return e.push(">"),ie(e,o,r),"string"==typeof r&&e.push((""+r).replace(U,q)),e.push(xe("script")),null}function he(e,t,n){e.push(ve(n));var r,o=n=null;for(r in t)if(E.call(t,r)){var a=t[r];if(null!=a)switch(r){case"children":n=a;break;case"dangerouslySetInnerHTML":o=a;break;default:ae(e,r,a)}}return e.push(">"),ie(e,o,n),n}function ge(e,t,n){e.push(ve(n));var r,o=n=null;for(r in t)if(E.call(t,r)){var a=t[r];if(null!=a)switch(r){case"children":n=a;break;case"dangerouslySetInnerHTML":o=a;break;default:ae(e,r,a)}}return e.push(">"),ie(e,o,n),"string"==typeof n?(e.push(D(n)),null):n}var me=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,be=new Map;function ve(e){var t=be.get(e);if(void 0===t){if(!me.test(e))throw Error(n(65,e));t="<"+e,be.set(e,t)}return t}var ye=new Map;function xe(e){var t=ye.get(e);return void 0===t&&(t="</"+e+">",ye.set(e,t)),t}function ke(e,t){null===(e=e.preamble).htmlChunks&&t.htmlChunks&&(e.htmlChunks=t.htmlChunks,t.contribution|=1),null===e.headChunks&&t.headChunks&&(e.headChunks=t.headChunks,t.contribution|=4),null===e.bodyChunks&&t.bodyChunks&&(e.bodyChunks=t.bodyChunks,t.contribution|=2)}function Se(e,t){t=t.bootstrapChunks;for(var n=0;n<t.length-1;n++)e.push(t[n]);return!(n<t.length)||(n=t[n],t.length=0,e.push(n))}function we(e,t,r){if(e.push('\x3c!--$?--\x3e<template id="'),null===r)throw Error(n(395));return e.push(t.boundaryPrefix),t=r.toString(16),e.push(t),e.push('"></template>')}function _e(e,t){0!==(t=t.contribution)&&(e.push("\x3c!--"),e.push(""+t),e.push("--\x3e"))}var Ce=/[<\u2028\u2029]/g;function Ee(e){return JSON.stringify(e).replace(Ce,function(e){switch(e){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Pe=/[&><\u2028\u2029]/g;function ze(e){return JSON.stringify(e).replace(Pe,function(e){switch(e){case"&":return"\\u0026";case">":return"\\u003e";case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Te=!1,Re=!0;function Ie(e){var t=e.rules,n=e.hrefs,r=0;if(n.length){for(this.push('<style media="not all" data-precedence="'),this.push(e.precedence),this.push('" data-href="');r<n.length-1;r++)this.push(n[r]),this.push(" ");for(this.push(n[r]),this.push('">'),r=0;r<t.length;r++)this.push(t[r]);Re=this.push("</style>"),Te=!0,t.length=0,n.length=0}}function Oe(e){return 2!==e.state&&(Te=!0)}function Ae(e,t,n){return Te=!1,Re=!0,t.styles.forEach(Ie,e),t.stylesheets.forEach(Oe),Te&&(n.stylesToHoist=!0),Re}function De(e){for(var t=0;t<e.length;t++)this.push(e[t]);e.length=0}var Ne=[];function Fe(e){se(Ne,e.props);for(var t=0;t<Ne.length;t++)this.push(Ne[t]);Ne.length=0,e.state=2}function je(e){var t=0<e.sheets.size;e.sheets.forEach(Fe,this),e.sheets.clear();var n=e.rules,r=e.hrefs;if(!t||r.length){if(this.push('<style data-precedence="'),this.push(e.precedence),e=0,r.length){for(this.push('" data-href="');e<r.length-1;e++)this.push(r[e]),this.push(" ");this.push(r[e])}for(this.push('">'),e=0;e<n.length;e++)this.push(n[e]);this.push("</style>"),n.length=0,r.length=0}}function Me(e){if(0===e.state){e.state=1;var t=e.props;for(se(Ne,{rel:"preload",as:"style",href:e.props.href,crossOrigin:t.crossOrigin,fetchPriority:t.fetchPriority,integrity:t.integrity,media:t.media,hrefLang:t.hrefLang,referrerPolicy:t.referrerPolicy}),e=0;e<Ne.length;e++)this.push(Ne[e]);Ne.length=0}}function Le(e){e.sheets.forEach(Me,this),e.sheets.clear()}function We(e,t,n){var r=t.toLowerCase();switch(typeof n){case"function":case"symbol":return}switch(t){case"innerHTML":case"dangerouslySetInnerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"style":case"ref":return;case"className":r="class",t=""+n;break;case"hidden":if(!1===n)return;t="";break;case"src":case"href":t=""+(n=L(n));break;default:if(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])||!R(t))return;t=""+n}e.push(","),r=ze(r),e.push(r),e.push(","),r=ze(t),e.push(r)}function Be(){return{styles:new Set,stylesheets:new Set}}function $e(e,t){null==e.crossOrigin&&(e.crossOrigin=t[0]),null==e.integrity&&(e.integrity=t[1])}function Ve(e,t,n){for(var r in t="<"+(e=(""+e).replace(He,Ue))+'>; rel=preload; as="'+(t=(""+t).replace(qe,Ge))+'"',n)E.call(n,r)&&"string"==typeof(e=n[r])&&(t+="; "+r.toLowerCase()+'="'+(""+e).replace(qe,Ge)+'"');return t}var He=/[<>\r\n]/g;function Ue(e){switch(e){case"<":return"%3C";case">":return"%3E";case"\n":return"%0A";case"\r":return"%0D";default:throw Error("escapeLinkHrefForHeaderContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}var qe=/["';,\r\n]/g;function Ge(e){switch(e){case'"':return"%22";case"'":return"%27";case";":return"%3B";case",":return"%2C";case"\n":return"%0A";case"\r":return"%0D";default:throw Error("escapeStringForLinkHeaderQuotedParamValueContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}function Ye(e){this.styles.add(e)}function Xe(e){this.stylesheets.add(e)}function Ke(e,t,n,r){return n.generateStaticMarkup?(e.push(D(t)),!1):(""===t?e=r:(r&&e.push("\x3c!-- --\x3e"),e.push(D(t)),e=!0),e)}function Qe(e,t,n,r){t.generateStaticMarkup||n&&r&&e.push("\x3c!-- --\x3e")}var Je=Function.prototype.bind,Ze=Symbol.for("react.client.reference");function et(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===Ze?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case a:return"Fragment";case l:return"Profiler";case i:return"StrictMode";case f:return"Suspense";case p:return"SuspenseList";case b:return"Activity"}if("object"==typeof e)switch(e.$$typeof){case o:return"Portal";case u:return(e.displayName||"Context")+".Provider";case c:return(e._context.displayName||"Context")+".Consumer";case d:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case h:return null!==(t=e.displayName||null)?t:et(e.type)||"Memo";case g:t=e._payload,e=e._init;try{return et(e(t))}catch(n){}}return null}var tt={},nt=null;function rt(e,t){if(e!==t){e.context._currentValue2=e.parentValue,e=e.parent;var r=t.parent;if(null===e){if(null!==r)throw Error(n(401))}else{if(null===r)throw Error(n(401));rt(e,r)}t.context._currentValue2=t.value}}function ot(e){e.context._currentValue2=e.parentValue,null!==(e=e.parent)&&ot(e)}function at(e){var t=e.parent;null!==t&&at(t),e.context._currentValue2=e.value}function it(e,t){if(e.context._currentValue2=e.parentValue,null===(e=e.parent))throw Error(n(402));e.depth===t.depth?rt(e,t):it(e,t)}function lt(e,t){var r=t.parent;if(null===r)throw Error(n(402));e.depth===r.depth?rt(e,r):lt(e,r),t.context._currentValue2=t.value}function st(e){var t=nt;t!==e&&(null===t?at(e):null===e?ot(t):t.depth===e.depth?rt(t,e):t.depth>e.depth?it(t,e):lt(t,e),nt=e)}var ct={enqueueSetState:function(e,t){null!==(e=e._reactInternals).queue&&e.queue.push(t)},enqueueReplaceState:function(e,t){(e=e._reactInternals).replace=!0,e.queue=[t]},enqueueForceUpdate:function(){}},ut={id:1,overflow:""};function dt(e,t,n){var r=e.id;e=e.overflow;var o=32-ft(r)-1;r&=~(1<<o),n+=1;var a=32-ft(t)+o;if(30<a){var i=o-o%5;return a=(r&(1<<i)-1).toString(32),r>>=i,o-=i,{id:1<<32-ft(t)+o|n<<o|r,overflow:a+e}}return{id:1<<a|n<<o|r,overflow:e}}var ft=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(pt(e)/ht|0)|0},pt=Math.log,ht=Math.LN2,gt=Error(n(460));function mt(){}var bt=null;function vt(){if(null===bt)throw Error(n(459));var e=bt;return bt=null,e}var yt="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},xt=null,kt=null,St=null,wt=null,_t=null,Ct=null,Et=!1,Pt=!1,zt=0,Tt=0,Rt=-1,It=0,Ot=null,At=null,Dt=0;function Nt(){if(null===xt)throw Error(n(321));return xt}function Ft(){if(0<Dt)throw Error(n(312));return{memoizedState:null,queue:null,next:null}}function jt(){return null===Ct?null===_t?(Et=!1,_t=Ct=Ft()):(Et=!0,Ct=_t):null===Ct.next?(Et=!1,Ct=Ct.next=Ft()):(Et=!0,Ct=Ct.next),Ct}function Mt(){var e=Ot;return Ot=null,e}function Lt(){wt=St=kt=xt=null,Pt=!1,_t=null,Dt=0,Ct=At=null}function Wt(e,t){return"function"==typeof t?t(e):t}function Bt(e,t,n){if(xt=Nt(),Ct=jt(),Et){var r=Ct.queue;if(t=r.dispatch,null!==At&&void 0!==(n=At.get(r))){At.delete(r),r=Ct.memoizedState;do{r=e(r,n.action),n=n.next}while(null!==n);return Ct.memoizedState=r,[r,t]}return[Ct.memoizedState,t]}return e=e===Wt?"function"==typeof t?t():t:void 0!==n?n(t):t,Ct.memoizedState=e,e=(e=Ct.queue={last:null,dispatch:null}).dispatch=Vt.bind(null,xt,e),[Ct.memoizedState,e]}function $t(e,t){if(xt=Nt(),t=void 0===t?null:t,null!==(Ct=jt())){var n=Ct.memoizedState;if(null!==n&&null!==t){var r=n[1];e:if(null===r)r=!1;else{for(var o=0;o<r.length&&o<t.length;o++)if(!yt(t[o],r[o])){r=!1;break e}r=!0}if(r)return n[0]}}return e=e(),Ct.memoizedState=[e,t],e}function Vt(e,t,r){if(25<=Dt)throw Error(n(301));if(e===xt)if(Pt=!0,e={action:r,next:null},null===At&&(At=new Map),void 0===(r=At.get(t)))At.set(t,e);else{for(t=r;null!==t.next;)t=t.next;t.next=e}}function Ht(){throw Error(n(394))}function Ut(){throw Error(n(479))}function qt(e,t,n){Nt();var r=Tt++,o=St;if("function"==typeof e.$$FORM_ACTION){var a=null,i=wt;o=o.formState;var l=e.$$IS_SIGNATURE_EQUAL;if(null!==o&&"function"==typeof l){var s=o[1];l.call(e,o[2],o[3])&&s===(a=void 0!==n?"p"+n:"k"+_(JSON.stringify([i,null,r]),0))&&(Rt=r,t=o[0])}var c=e.bind(null,t);return e=function(e){c(e)},"function"==typeof c.$$FORM_ACTION&&(e.$$FORM_ACTION=function(e){e=c.$$FORM_ACTION(e),void 0!==n&&(n+="",e.action=n);var t=e.data;return t&&(null===a&&(a=void 0!==n?"p"+n:"k"+_(JSON.stringify([i,null,r]),0)),t.append("$ACTION_KEY",a)),e}),[t,e,!1]}var u=e.bind(null,t);return[t,function(e){u(e)},!1]}function Gt(e){var t=It;return It+=1,null===Ot&&(Ot=[]),function(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(mt,mt),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch("string"==typeof t.status?t.then(mt,mt):((e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}throw bt=t,gt}}(Ot,e,t)}function Yt(){throw Error(n(393))}function Xt(){}var Kt,Qt,Jt={readContext:function(e){return e._currentValue2},use:function(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return Gt(e);if(e.$$typeof===u)return e._currentValue2}throw Error(n(438,String(e)))},useContext:function(e){return Nt(),e._currentValue2},useMemo:$t,useReducer:Bt,useRef:function(e){xt=Nt();var t=(Ct=jt()).memoizedState;return null===t?(e={current:e},Ct.memoizedState=e):t},useState:function(e){return Bt(Wt,e)},useInsertionEffect:Xt,useLayoutEffect:Xt,useCallback:function(e,t){return $t(function(){return e},t)},useImperativeHandle:Xt,useEffect:Xt,useDebugValue:Xt,useDeferredValue:function(e,t){return Nt(),void 0!==t?t:e},useTransition:function(){return Nt(),[!1,Ht]},useId:function(){var e=kt.treeContext,t=e.overflow;e=((e=e.id)&~(1<<32-ft(e)-1)).toString(32)+t;var r=Zt;if(null===r)throw Error(n(404));return t=zt++,e="«"+r.idPrefix+"R"+e,0<t&&(e+="H"+t.toString(32)),e+"»"},useSyncExternalStore:function(e,t,r){if(void 0===r)throw Error(n(407));return r()},useOptimistic:function(e){return Nt(),[e,Ut]},useActionState:qt,useFormState:qt,useHostTransitionStatus:function(){return Nt(),$},useMemoCache:function(e){for(var t=Array(e),n=0;n<e;n++)t[n]=x;return t},useCacheRefresh:function(){return Yt}},Zt=null,en={getCacheForType:function(){throw Error(n(248))}};function tn(e){if(void 0===Kt)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Kt=t&&t[1]||"",Qt=-1<n.stack.indexOf("\n at")?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+Kt+e+Qt}var nn=!1;function rn(e,t){if(!e||nn)return"";nn=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(o){var r=o}Reflect.construct(e,[],n)}else{try{n.call()}catch(a){r=a}e.call(n.prototype)}}else{try{throw Error()}catch(i){r=i}(n=e())&&"function"==typeof n.catch&&n.catch(function(){})}}catch(l){if(l&&r&&"string"==typeof l.stack)return[l.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var a=r.DetermineComponentFrameRoot(),i=a[0],l=a[1];if(i&&l){var s=i.split("\n"),c=l.split("\n");for(o=r=0;r<s.length&&!s[r].includes("DetermineComponentFrameRoot");)r++;for(;o<c.length&&!c[o].includes("DetermineComponentFrameRoot");)o++;if(r===s.length||o===c.length)for(r=s.length-1,o=c.length-1;1<=r&&0<=o&&s[r]!==c[o];)o--;for(;1<=r&&0<=o;r--,o--)if(s[r]!==c[o]){if(1!==r||1!==o)do{if(r--,0>--o||s[r]!==c[o]){var u="\n"+s[r].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}}while(1<=r&&0<=o);break}}}finally{nn=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?tn(n):""}function on(e){if("string"==typeof e)return tn(e);if("function"==typeof e)return e.prototype&&e.prototype.isReactComponent?rn(e,!0):rn(e,!1);if("object"==typeof e&&null!==e){switch(e.$$typeof){case d:return rn(e.render,!1);case h:return rn(e.type,!1);case g:var t=e,n=t._payload;t=t._init;try{e=t(n)}catch(r){return tn("Lazy")}return on(e)}if("string"==typeof e.name)return n=e.env,tn(e.name+(n?" ["+n+"]":""))}switch(e){case p:return tn("SuspenseList");case f:return tn("Suspense")}return""}function an(e){if("object"==typeof e&&null!==e&&"string"==typeof e.environmentName){var t=e.environmentName;"string"==typeof(e=[e].slice(0))[0]?e.splice(0,1,"[%s] "+e[0]," "+t+" "):e.splice(0,0,"[%s] "," "+t+" "),e.unshift(console),(t=Je.apply(console.error,e))()}return null}function ln(){}function sn(e,t,n,r,o,a,i,l,s,c,u){var d=new Set;this.destination=null,this.flushScheduled=!1,this.resumableState=e,this.renderState=t,this.rootFormatContext=n,this.progressiveChunkSize=void 0===r?12800:r,this.status=10,this.fatalError=null,this.pendingRootTasks=this.allPendingTasks=this.nextSegmentId=0,this.completedPreambleSegments=this.completedRootSegment=null,this.abortableTasks=d,this.pingedTasks=[],this.clientRenderedBoundaries=[],this.completedBoundaries=[],this.partialBoundaries=[],this.trackedPostpones=null,this.onError=void 0===o?an:o,this.onPostpone=void 0===c?ln:c,this.onAllReady=void 0===a?ln:a,this.onShellReady=void 0===i?ln:i,this.onShellError=void 0===l?ln:l,this.onFatalError=void 0===s?ln:s,this.formState=void 0===u?null:u}var cn=null;function un(e,t){e.pingedTasks.push(t),1===e.pingedTasks.length&&(e.flushScheduled=null!==e.destination,Mn(e))}function dn(e,t,n,r){return{status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,completedSegments:[],byteSize:0,fallbackAbortableTasks:t,errorDigest:null,contentState:Be(),fallbackState:Be(),contentPreamble:n,fallbackPreamble:r,trackedContentKeyPath:null,trackedFallbackNode:null}}function fn(e,t,n,r,o,a,i,l,s,c,u,d,f,p,h){e.allPendingTasks++,null===o?e.pendingRootTasks++:o.pendingTasks++;var g={replay:null,node:n,childIndex:r,ping:function(){return un(e,g)},blockedBoundary:o,blockedSegment:a,blockedPreamble:i,hoistableState:l,abortSet:s,keyPath:c,formatContext:u,context:d,treeContext:f,componentStack:p,thenableState:t,isFallback:h};return s.add(g),g}function pn(e,t,n,r,o,a,i,l,s,c,u,d,f,p){e.allPendingTasks++,null===a?e.pendingRootTasks++:a.pendingTasks++,n.pendingTasks++;var h={replay:n,node:r,childIndex:o,ping:function(){return un(e,h)},blockedBoundary:a,blockedSegment:null,blockedPreamble:null,hoistableState:i,abortSet:l,keyPath:s,formatContext:c,context:u,treeContext:d,componentStack:f,thenableState:t,isFallback:p};return l.add(h),h}function hn(e,t,n,r,o,a){return{status:0,parentFlushed:!1,id:-1,index:t,chunks:[],children:[],preambleChildren:[],parentFormatContext:r,boundary:n,lastPushedText:o,textEmbedded:a}}function gn(e){var t=e.node;"object"==typeof t&&null!==t&&t.$$typeof===r&&(e.componentStack={parent:e.componentStack,type:t.type})}function mn(e){var t={};return e&&Object.defineProperty(t,"componentStack",{configurable:!0,enumerable:!0,get:function(){try{var n="",r=e;do{n+=on(r.type),r=r.parent}while(r);var o=n}catch(a){o="\nError generating stack: "+a.message+"\n"+a.stack}return Object.defineProperty(t,"componentStack",{value:o}),o}}),t}function bn(e,t,n){if(null==(t=(e=e.onError)(t,n))||"string"==typeof t)return t}function vn(e,t){var n=e.onShellError,r=e.onFatalError;n(t),r(t),null!==e.destination?(e.status=14,e.destination.destroy(t)):(e.status=13,e.fatalError=t)}function yn(e,t,n,r,o,a){var i=t.thenableState;for(t.thenableState=null,xt={},kt=t,St=e,wt=n,Tt=zt=0,Rt=-1,It=0,Ot=i,e=r(o,a);Pt;)Pt=!1,Tt=zt=0,Rt=-1,It=0,Dt+=1,Ct=null,e=r(o,a);return Lt(),e}function xn(e,t,n,r,o,a,i){var l=!1;if(0!==a&&null!==e.formState){var s=t.blockedSegment;if(null!==s){l=!0,s=s.chunks;for(var c=0;c<a;c++)c===i?s.push("\x3c!--F!--\x3e"):s.push("\x3c!--F--\x3e")}}a=t.keyPath,t.keyPath=n,o?(n=t.treeContext,t.treeContext=dt(n,1,0),Tn(e,t,r,-1),t.treeContext=n):l?Tn(e,t,r,-1):wn(e,t,r,-1),t.keyPath=a}function kn(t,r,o,v,x,S){if("function"==typeof v)if(v.prototype&&v.prototype.isReactComponent){var _=x;if("ref"in x)for(var P in _={},x)"ref"!==P&&(_[P]=x[P]);var z=v.defaultProps;if(z)for(var T in _===x&&(_=C({},_,x)),z)void 0===_[T]&&(_[T]=z[T]);x=_,_=tt,"object"==typeof(z=v.contextType)&&null!==z&&(_=z._currentValue2);var I=void 0!==(_=new v(x,_)).state?_.state:null;if(_.updater=ct,_.props=x,_.state=I,z={queue:[],replace:!1},_._reactInternals=z,S=v.contextType,_.context="object"==typeof S&&null!==S?S._currentValue2:tt,"function"==typeof(S=v.getDerivedStateFromProps)&&(I=null==(S=S(x,I))?I:C({},I,S),_.state=I),"function"!=typeof v.getDerivedStateFromProps&&"function"!=typeof _.getSnapshotBeforeUpdate&&("function"==typeof _.UNSAFE_componentWillMount||"function"==typeof _.componentWillMount))if(v=_.state,"function"==typeof _.componentWillMount&&_.componentWillMount(),"function"==typeof _.UNSAFE_componentWillMount&&_.UNSAFE_componentWillMount(),v!==_.state&&ct.enqueueReplaceState(_,_.state,null),null!==z.queue&&0<z.queue.length)if(v=z.queue,S=z.replace,z.queue=null,z.replace=!1,S&&1===v.length)_.state=v[0];else{for(z=S?v[0]:_.state,I=!0,S=S?1:0;S<v.length;S++)null!=(T="function"==typeof(T=v[S])?T.call(_,z,x,void 0):T)&&(I?(I=!1,z=C({},z,T)):C(z,T));_.state=z}else z.queue=null;if(v=_.render(),12===t.status)throw null;x=r.keyPath,r.keyPath=o,wn(t,r,v,-1),r.keyPath=x}else{if(v=yn(t,r,o,v,x,void 0),12===t.status)throw null;xn(t,r,o,v,0!==zt,Tt,Rt)}else{if("string"!=typeof v){switch(v){case y:case i:case l:case a:return v=r.keyPath,r.keyPath=o,wn(t,r,x.children,-1),void(r.keyPath=v);case b:return void("hidden"!==x.mode&&(v=r.keyPath,r.keyPath=o,wn(t,r,x.children,-1),r.keyPath=v));case p:return v=r.keyPath,r.keyPath=o,wn(t,r,x.children,-1),void(r.keyPath=v);case k:case m:throw Error(n(343));case f:e:if(null!==r.replay){v=r.keyPath,r.keyPath=o,o=x.children;try{Tn(t,r,o,-1)}finally{r.keyPath=v}}else{v=r.keyPath;var O=r.blockedBoundary;S=r.blockedPreamble;var A=r.hoistableState;T=r.blockedSegment,P=x.fallback,x=x.children;var N=new Set,F=2>r.formatContext.insertionMode?dn(0,N,{htmlChunks:null,headChunks:null,bodyChunks:null,contribution:0},{htmlChunks:null,headChunks:null,bodyChunks:null,contribution:0}):dn(0,N,null,null);null!==t.trackedPostpones&&(F.trackedContentKeyPath=o);var j=hn(0,T.chunks.length,F,r.formatContext,!1,!1);T.children.push(j),T.lastPushedText=!1;var M=hn(0,0,null,r.formatContext,!1,!1);if(M.parentFlushed=!0,null!==t.trackedPostpones){z=[(_=[o[0],"Suspense Fallback",o[2]])[1],_[2],[],null],t.trackedPostpones.workingMap.set(_,z),F.trackedFallbackNode=z,r.blockedSegment=j,r.blockedPreamble=F.fallbackPreamble,r.keyPath=_,j.status=6;try{Tn(t,r,P,-1),Qe(j.chunks,t.renderState,j.lastPushedText,j.textEmbedded),j.status=1}catch(W){throw j.status=12===t.status?3:4,W}finally{r.blockedSegment=T,r.blockedPreamble=S,r.keyPath=v}gn(r=fn(t,null,x,-1,F,M,F.contentPreamble,F.contentState,r.abortSet,o,r.formatContext,r.context,r.treeContext,r.componentStack,r.isFallback)),t.pingedTasks.push(r)}else{r.blockedBoundary=F,r.blockedPreamble=F.contentPreamble,r.hoistableState=F.contentState,r.blockedSegment=M,r.keyPath=o,M.status=6;try{if(Tn(t,r,x,-1),Qe(M.chunks,t.renderState,M.lastPushedText,M.textEmbedded),M.status=1,Fn(F,M),0===F.pendingTasks&&0===F.status){F.status=1,0===t.pendingRootTasks&&r.blockedPreamble&&Bn(t);break e}}catch(B){F.status=4,12===t.status?(M.status=3,_=t.fatalError):(M.status=4,_=B),I=bn(t,_,z=mn(r.componentStack)),F.errorDigest=I,En(t,F)}finally{r.blockedBoundary=O,r.blockedPreamble=S,r.hoistableState=A,r.blockedSegment=T,r.keyPath=v}gn(r=fn(t,null,P,-1,O,j,F.fallbackPreamble,F.fallbackState,N,[o[0],"Suspense Fallback",o[2]],r.formatContext,r.context,r.treeContext,r.componentStack,!0)),t.pingedTasks.push(r)}}return}if("object"==typeof v&&null!==v)switch(v.$$typeof){case d:if("ref"in x)for(F in _={},x)"ref"!==F&&(_[F]=x[F]);else _=x;return void xn(t,r,o,v=yn(t,r,o,v.render,_,S),0!==zt,Tt,Rt);case h:return void kn(t,r,o,v.type,x,S);case s:case u:if(z=x.children,_=r.keyPath,x=x.value,I=v._currentValue2,v._currentValue2=x,nt=v={parent:S=nt,depth:null===S?0:S.depth+1,context:v,parentValue:I,value:x},r.context=v,r.keyPath=o,wn(t,r,z,-1),null===(t=nt))throw Error(n(403));return t.context._currentValue2=t.parentValue,t=nt=t.parent,r.context=t,void(r.keyPath=_);case c:return v=(x=x.children)(v._context._currentValue2),x=r.keyPath,r.keyPath=o,wn(t,r,v,-1),void(r.keyPath=x);case g:if(v=(_=v._init)(v._payload),12===t.status)throw null;return void kn(t,r,o,v,x,S)}throw Error(n(130,null==v?v:typeof v,""))}if(null===(_=r.blockedSegment))_=x.children,z=r.formatContext,I=r.keyPath,r.formatContext=X(z,v,x),r.keyPath=o,Tn(t,r,_,-1),r.formatContext=z,r.keyPath=I;else{S=function(t,r,o,a,i,l,s,c,u,d){switch(r){case"div":case"span":case"svg":case"path":case"g":case"p":case"li":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":break;case"a":t.push(ve("a"));var f,p=null,h=null;for(f in o)if(E.call(o,f)){var g=o[f];if(null!=g)switch(f){case"children":p=g;break;case"dangerouslySetInnerHTML":h=g;break;case"href":""===g?Z(t,"href",""):ae(t,f,g);break;default:ae(t,f,g)}}if(t.push(">"),ie(t,h,p),"string"==typeof p){t.push(D(p));var m=null}else m=p;return m;case"select":t.push(ve("select"));var b,v=null,y=null;for(b in o)if(E.call(o,b)){var x=o[b];if(null!=x)switch(b){case"children":v=x;break;case"dangerouslySetInnerHTML":y=x;break;case"defaultValue":case"value":break;default:ae(t,b,x)}}return t.push(">"),ie(t,y,v),v;case"option":var k=c.selectedValue;t.push(ve("option"));var S,_=null,P=null,z=null,T=null;for(S in o)if(E.call(o,S)){var I=o[S];if(null!=I)switch(S){case"children":_=I;break;case"selected":z=I;break;case"dangerouslySetInnerHTML":T=I;break;case"value":P=I;default:ae(t,S,I)}}if(null!=k){var O=null!==P?""+P:function(t){var n="";return e.Children.forEach(t,function(e){null!=e&&(n+=e)}),n}(_);if(w(k)){for(var A=0;A<k.length;A++)if(""+k[A]===O){t.push(' selected=""');break}}else""+k===O&&t.push(' selected=""')}else z&&t.push(' selected=""');return t.push(">"),ie(t,T,_),_;case"textarea":t.push(ve("textarea"));var N,F=null,j=null,M=null;for(N in o)if(E.call(o,N)){var W=o[N];if(null!=W)switch(N){case"children":M=W;break;case"value":F=W;break;case"defaultValue":j=W;break;case"dangerouslySetInnerHTML":throw Error(n(91));default:ae(t,N,W)}}if(null===F&&null!==j&&(F=j),t.push(">"),null!=M){if(null!=F)throw Error(n(92));if(w(M)){if(1<M.length)throw Error(n(93));F=""+M[0]}F=""+M}return"string"==typeof F&&"\n"===F[0]&&t.push("\n"),null!==F&&t.push(D(""+F)),null;case"input":t.push(ve("input"));var B,$=null,V=null,U=null,q=null,G=null,Y=null,X=null,K=null,ne=null;for(B in o)if(E.call(o,B)){var me=o[B];if(null!=me)switch(B){case"children":case"dangerouslySetInnerHTML":throw Error(n(399,"input"));case"name":$=me;break;case"formAction":V=me;break;case"formEncType":U=me;break;case"formMethod":q=me;break;case"formTarget":G=me;break;case"defaultChecked":ne=me;break;case"defaultValue":X=me;break;case"checked":K=me;break;case"value":Y=me;break;default:ae(t,B,me)}}var be=oe(t,a,i,V,U,q,G,$);return null!==K?J(t,"checked",K):null!==ne&&J(t,"checked",ne),null!==Y?ae(t,"value",Y):null!==X&&ae(t,"value",X),t.push("/>"),null!=be&&be.forEach(te,t),null;case"button":t.push(ve("button"));var ye,ke=null,Se=null,we=null,_e=null,Ce=null,Ee=null,Pe=null;for(ye in o)if(E.call(o,ye)){var ze=o[ye];if(null!=ze)switch(ye){case"children":ke=ze;break;case"dangerouslySetInnerHTML":Se=ze;break;case"name":we=ze;break;case"formAction":_e=ze;break;case"formEncType":Ce=ze;break;case"formMethod":Ee=ze;break;case"formTarget":Pe=ze;break;default:ae(t,ye,ze)}}var Te=oe(t,a,i,_e,Ce,Ee,Pe,we);if(t.push(">"),null!=Te&&Te.forEach(te,t),ie(t,Se,ke),"string"==typeof ke){t.push(D(ke));var Re=null}else Re=ke;return Re;case"form":t.push(ve("form"));var Ie,Oe=null,Ae=null,De=null,Ne=null,Fe=null,je=null;for(Ie in o)if(E.call(o,Ie)){var Me=o[Ie];if(null!=Me)switch(Ie){case"children":Oe=Me;break;case"dangerouslySetInnerHTML":Ae=Me;break;case"action":De=Me;break;case"encType":Ne=Me;break;case"method":Fe=Me;break;case"target":je=Me;break;default:ae(t,Ie,Me)}}var Le=null,We=null;if("function"==typeof De){var Be=re(a,De);null!==Be?(De=Be.action||"",Ne=Be.encType,Fe=Be.method,je=Be.target,Le=Be.data,We=Be.name):(t.push(" ","action",'="',ee,'"'),je=Fe=Ne=De=null,le(a,i))}if(null!=De&&ae(t,"action",De),null!=Ne&&ae(t,"encType",Ne),null!=Fe&&ae(t,"method",Fe),null!=je&&ae(t,"target",je),t.push(">"),null!==We&&(t.push('<input type="hidden"'),Z(t,"name",We),t.push("/>"),null!=Le&&Le.forEach(te,t)),ie(t,Ae,Oe),"string"==typeof Oe){t.push(D(Oe));var He=null}else He=Oe;return He;case"menuitem":for(var Ue in t.push(ve("menuitem")),o)if(E.call(o,Ue)){var qe=o[Ue];if(null!=qe)switch(Ue){case"children":case"dangerouslySetInnerHTML":throw Error(n(400));default:ae(t,Ue,qe)}}return t.push(">"),null;case"object":t.push(ve("object"));var Ge,Ye=null,Xe=null;for(Ge in o)if(E.call(o,Ge)){var Ke=o[Ge];if(null!=Ke)switch(Ge){case"children":Ye=Ke;break;case"dangerouslySetInnerHTML":Xe=Ke;break;case"data":var Qe=L(""+Ke);if(""===Qe)break;t.push(" ","data",'="',D(Qe),'"');break;default:ae(t,Ge,Ke)}}if(t.push(">"),ie(t,Xe,Ye),"string"==typeof Ye){t.push(D(Ye));var Je=null}else Je=Ye;return Je;case"title":if(4===c.insertionMode||1&c.tagScope||null!=o.itemProp)var Ze=fe(t,o);else d?Ze=null:(fe(i.hoistableChunks,o),Ze=void 0);return Ze;case"link":var et=o.rel,tt=o.href,nt=o.precedence;if(4===c.insertionMode||1&c.tagScope||null!=o.itemProp||"string"!=typeof et||"string"!=typeof tt||""===tt){se(t,o);var rt=null}else if("stylesheet"===o.rel)if("string"!=typeof nt||null!=o.disabled||o.onLoad||o.onError)rt=se(t,o);else{var ot=i.styles.get(nt),at=a.styleResources.hasOwnProperty(tt)?a.styleResources[tt]:void 0;if(null!==at){a.styleResources[tt]=null,ot||(ot={precedence:D(nt),rules:[],hrefs:[],sheets:new Map},i.styles.set(nt,ot));var it={state:0,props:C({},o,{"data-precedence":o.precedence,precedence:null})};if(at){2===at.length&&$e(it.props,at);var lt=i.preloads.stylesheets.get(tt);lt&&0<lt.length?lt.length=0:it.state=1}ot.sheets.set(tt,it),s&&s.stylesheets.add(it)}else if(ot){var st=ot.sheets.get(tt);st&&s&&s.stylesheets.add(st)}u&&t.push("\x3c!-- --\x3e"),rt=null}else o.onLoad||o.onError?rt=se(t,o):(u&&t.push("\x3c!-- --\x3e"),rt=d?null:se(i.hoistableChunks,o));return rt;case"script":var ct=o.async;if("string"!=typeof o.src||!o.src||!ct||"function"==typeof ct||"symbol"==typeof ct||o.onLoad||o.onError||4===c.insertionMode||1&c.tagScope||null!=o.itemProp)var ut=pe(t,o);else{var dt=o.src;if("module"===o.type)var ft=a.moduleScriptResources,pt=i.preloads.moduleScripts;else ft=a.scriptResources,pt=i.preloads.scripts;var ht=ft.hasOwnProperty(dt)?ft[dt]:void 0;if(null!==ht){ft[dt]=null;var gt=o;if(ht){2===ht.length&&$e(gt=C({},o),ht);var mt=pt.get(dt);mt&&(mt.length=0)}var bt=[];i.scripts.add(bt),pe(bt,gt)}u&&t.push("\x3c!-- --\x3e"),ut=null}return ut;case"style":var vt=o.precedence,yt=o.href;if(4===c.insertionMode||1&c.tagScope||null!=o.itemProp||"string"!=typeof vt||"string"!=typeof yt||""===yt){t.push(ve("style"));var xt,kt=null,St=null;for(xt in o)if(E.call(o,xt)){var wt=o[xt];if(null!=wt)switch(xt){case"children":kt=wt;break;case"dangerouslySetInnerHTML":St=wt;break;default:ae(t,xt,wt)}}t.push(">");var _t=Array.isArray(kt)?2>kt.length?kt[0]:null:kt;"function"!=typeof _t&&"symbol"!=typeof _t&&null!=_t&&t.push((""+_t).replace(ce,ue)),ie(t,St,kt),t.push(xe("style"));var Ct=null}else{var Et=i.styles.get(vt);if(null!==(a.styleResources.hasOwnProperty(yt)?a.styleResources[yt]:void 0)){a.styleResources[yt]=null,Et?Et.hrefs.push(D(yt)):(Et={precedence:D(vt),rules:[],hrefs:[D(yt)],sheets:new Map},i.styles.set(vt,Et));var Pt,zt=Et.rules,Tt=null,Rt=null;for(Pt in o)if(E.call(o,Pt)){var It=o[Pt];if(null!=It)switch(Pt){case"children":Tt=It;break;case"dangerouslySetInnerHTML":Rt=It}}var Ot=Array.isArray(Tt)?2>Tt.length?Tt[0]:null:Tt;"function"!=typeof Ot&&"symbol"!=typeof Ot&&null!=Ot&&zt.push((""+Ot).replace(ce,ue)),ie(zt,Rt,Tt)}Et&&s&&s.styles.add(Et),u&&t.push("\x3c!-- --\x3e"),Ct=void 0}return Ct;case"meta":if(4===c.insertionMode||1&c.tagScope||null!=o.itemProp)var At=de(t,o,"meta");else u&&t.push("\x3c!-- --\x3e"),At=d?null:"string"==typeof o.charSet?de(i.charsetChunks,o,"meta"):"viewport"===o.name?de(i.viewportChunks,o,"meta"):de(i.hoistableChunks,o,"meta");return At;case"listing":case"pre":t.push(ve(r));var Dt,Nt=null,Ft=null;for(Dt in o)if(E.call(o,Dt)){var jt=o[Dt];if(null!=jt)switch(Dt){case"children":Nt=jt;break;case"dangerouslySetInnerHTML":Ft=jt;break;default:ae(t,Dt,jt)}}if(t.push(">"),null!=Ft){if(null!=Nt)throw Error(n(60));if("object"!=typeof Ft||!("__html"in Ft))throw Error(n(61));var Mt=Ft.__html;null!=Mt&&("string"==typeof Mt&&0<Mt.length&&"\n"===Mt[0]?t.push("\n",Mt):t.push(""+Mt))}return"string"==typeof Nt&&"\n"===Nt[0]&&t.push("\n"),Nt;case"img":var Lt=o.src,Wt=o.srcSet;if(!("lazy"===o.loading||!Lt&&!Wt||"string"!=typeof Lt&&null!=Lt||"string"!=typeof Wt&&null!=Wt)&&"low"!==o.fetchPriority&&0==!!(3&c.tagScope)&&("string"!=typeof Lt||":"!==Lt[4]||"d"!==Lt[0]&&"D"!==Lt[0]||"a"!==Lt[1]&&"A"!==Lt[1]||"t"!==Lt[2]&&"T"!==Lt[2]||"a"!==Lt[3]&&"A"!==Lt[3])&&("string"!=typeof Wt||":"!==Wt[4]||"d"!==Wt[0]&&"D"!==Wt[0]||"a"!==Wt[1]&&"A"!==Wt[1]||"t"!==Wt[2]&&"T"!==Wt[2]||"a"!==Wt[3]&&"A"!==Wt[3])){var Bt="string"==typeof o.sizes?o.sizes:void 0,$t=Wt?Wt+"\n"+(Bt||""):Lt,Vt=i.preloads.images,Ht=Vt.get($t);if(Ht)("high"===o.fetchPriority||10>i.highImagePreloads.size)&&(Vt.delete($t),i.highImagePreloads.add(Ht));else if(!a.imageResources.hasOwnProperty($t)){a.imageResources[$t]=H;var Ut,qt=o.crossOrigin,Gt="string"==typeof qt?"use-credentials"===qt?qt:"":void 0,Yt=i.headers;Yt&&0<Yt.remainingCapacity&&"string"!=typeof o.srcSet&&("high"===o.fetchPriority||500>Yt.highImagePreloads.length)&&(Ut=Ve(Lt,"image",{imageSrcSet:o.srcSet,imageSizes:o.sizes,crossOrigin:Gt,integrity:o.integrity,nonce:o.nonce,type:o.type,fetchPriority:o.fetchPriority,referrerPolicy:o.refererPolicy}),0<=(Yt.remainingCapacity-=Ut.length+2))?(i.resets.image[$t]=H,Yt.highImagePreloads&&(Yt.highImagePreloads+=", "),Yt.highImagePreloads+=Ut):(se(Ht=[],{rel:"preload",as:"image",href:Wt?void 0:Lt,imageSrcSet:Wt,imageSizes:Bt,crossOrigin:Gt,integrity:o.integrity,type:o.type,fetchPriority:o.fetchPriority,referrerPolicy:o.referrerPolicy}),"high"===o.fetchPriority||10>i.highImagePreloads.size?i.highImagePreloads.add(Ht):(i.bulkPreloads.add(Ht),Vt.set($t,Ht)))}}return de(t,o,"img");case"base":case"area":case"br":case"col":case"embed":case"hr":case"keygen":case"param":case"source":case"track":case"wbr":return de(t,o,r);case"head":if(2>c.insertionMode){var Xt=l||i.preamble;if(Xt.headChunks)throw Error(n(545,"`<head>`"));Xt.headChunks=[];var Kt=he(Xt.headChunks,o,"head")}else Kt=ge(t,o,"head");return Kt;case"body":if(2>c.insertionMode){var Qt=l||i.preamble;if(Qt.bodyChunks)throw Error(n(545,"`<body>`"));Qt.bodyChunks=[];var Jt=he(Qt.bodyChunks,o,"body")}else Jt=ge(t,o,"body");return Jt;case"html":if(0===c.insertionMode){var Zt=l||i.preamble;if(Zt.htmlChunks)throw Error(n(545,"`<html>`"));Zt.htmlChunks=[""];var en=he(Zt.htmlChunks,o,"html")}else en=ge(t,o,"html");return en;default:if(-1!==r.indexOf("-")){t.push(ve(r));var tn,nn=null,rn=null;for(tn in o)if(E.call(o,tn)){var on=o[tn];if(null!=on){var an=tn;switch(tn){case"children":nn=on;break;case"dangerouslySetInnerHTML":rn=on;break;case"style":Q(t,on);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"className":an="class";default:if(R(tn)&&"function"!=typeof on&&"symbol"!=typeof on&&!1!==on){if(!0===on)on="";else if("object"==typeof on)continue;t.push(" ",an,'="',D(on),'"')}}}}return t.push(">"),ie(t,rn,nn),nn}}return ge(t,o,r)}(_.chunks,v,x,t.resumableState,t.renderState,r.blockedPreamble,r.hoistableState,r.formatContext,_.lastPushedText,r.isFallback),_.lastPushedText=!1,z=r.formatContext,I=r.keyPath,r.keyPath=o,3===(r.formatContext=X(z,v,x)).insertionMode?(o=hn(0,0,null,r.formatContext,!1,!1),_.preambleChildren.push(o),gn(o=fn(t,null,S,-1,r.blockedBoundary,o,r.blockedPreamble,r.hoistableState,t.abortableTasks,r.keyPath,r.formatContext,r.context,r.treeContext,r.componentStack,r.isFallback)),t.pingedTasks.push(o)):Tn(t,r,S,-1),r.formatContext=z,r.keyPath=I;e:{switch(r=_.chunks,t=t.resumableState,v){case"title":case"style":case"script":case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break e;case"body":if(1>=z.insertionMode){t.hasBody=!0;break e}break;case"html":if(0===z.insertionMode){t.hasHtml=!0;break e}break;case"head":if(1>=z.insertionMode)break e}r.push(xe(v))}_.lastPushedText=!1}}}function Sn(e,t,n,r,o){var a=t.replay,i=t.blockedBoundary,l=hn(0,0,null,t.formatContext,!1,!1);l.id=n,l.parentFlushed=!0;try{t.replay=null,t.blockedSegment=l,Tn(e,t,r,o),l.status=1,null===i?e.completedRootSegment=l:(Fn(i,l),i.parentFlushed&&e.partialBoundaries.push(i))}finally{t.replay=a,t.blockedSegment=null}}function wn(e,t,n,r){null!==t.replay&&"number"==typeof t.replay.slots?Sn(e,t,t.replay.slots,n,r):(t.node=n,t.childIndex=r,n=t.componentStack,gn(t),_n(e,t),t.componentStack=n)}function _n(e,t){var a=t.node,i=t.childIndex;if(null!==a){if("object"==typeof a){switch(a.$$typeof){case r:var l=a.type,s=a.key,c=a.props,d=void 0!==(a=c.ref)?a:null,p=et(l),h=null==s?-1===i?0:i:s;if(s=[t.keyPath,p,h],null!==t.replay)e:{var m=t.replay;for(i=m.nodes,a=0;a<i.length;a++){var b=i[a];if(h===b[1]){if(4===b.length){if(null!==p&&p!==b[0])throw Error(n(490,b[0],p));var v=b[2];p=b[3],h=t.node,t.replay={nodes:v,slots:p,pendingTasks:1};try{if(kn(e,t,s,l,c,d),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(n(488));t.replay.pendingTasks--}catch(z){if("object"==typeof z&&null!==z&&(z===gt||"function"==typeof z.then))throw t.node===h&&(t.replay=m),z;t.replay.pendingTasks--,c=mn(t.componentStack),In(e,s=t.blockedBoundary,v,p,l=z,c=bn(e,l,c))}t.replay=m}else{if(l!==f)throw Error(n(490,"Suspense",et(l)||"Unknown"));t:{m=void 0,l=b[5],d=b[2],p=b[3],h=null===b[4]?[]:b[4][2],b=null===b[4]?null:b[4][3];var y=t.keyPath,x=t.replay,k=t.blockedBoundary,_=t.hoistableState,C=c.children,E=c.fallback,P=new Set;(c=2>t.formatContext.insertionMode?dn(0,P,G(),G()):dn(0,P,null,null)).parentFlushed=!0,c.rootSegmentID=l,t.blockedBoundary=c,t.hoistableState=c.contentState,t.keyPath=s,t.replay={nodes:d,slots:p,pendingTasks:1};try{if(Tn(e,t,C,-1),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(n(488));if(t.replay.pendingTasks--,0===c.pendingTasks&&0===c.status){c.status=1,e.completedBoundaries.push(c);break t}}catch(fx){c.status=4,m=bn(e,fx,v=mn(t.componentStack)),c.errorDigest=m,t.replay.pendingTasks--,e.clientRenderedBoundaries.push(c)}finally{t.blockedBoundary=k,t.hoistableState=_,t.replay=x,t.keyPath=y}gn(t=pn(e,null,{nodes:h,slots:b,pendingTasks:0},E,-1,k,c.fallbackState,P,[s[0],"Suspense Fallback",s[2]],t.formatContext,t.context,t.treeContext,t.componentStack,!0)),e.pingedTasks.push(t)}}i.splice(a,1);break e}}}else kn(e,t,s,l,c,d);return;case o:throw Error(n(257));case g:if(a=(v=a._init)(a._payload),12===e.status)throw null;return void wn(e,t,a,i)}if(w(a))return void Cn(e,t,a,i);if((v=null===a||"object"!=typeof a?null:"function"==typeof(v=S&&a[S]||a["@@iterator"])?v:null)&&(v=v.call(a))){if(!(a=v.next()).done){c=[];do{c.push(a.value),a=v.next()}while(!a.done);Cn(e,t,c,i)}return}if("function"==typeof a.then)return t.thenableState=null,wn(e,t,Gt(a),i);if(a.$$typeof===u)return wn(e,t,a._currentValue2,i);throw i=Object.prototype.toString.call(a),Error(n(31,"[object Object]"===i?"object with keys {"+Object.keys(a).join(", ")+"}":i))}"string"==typeof a?null!==(i=t.blockedSegment)&&(i.lastPushedText=Ke(i.chunks,a,e.renderState,i.lastPushedText)):"number"!=typeof a&&"bigint"!=typeof a||null!==(i=t.blockedSegment)&&(i.lastPushedText=Ke(i.chunks,""+a,e.renderState,i.lastPushedText))}}function Cn(e,t,r,o){var a=t.keyPath;if(-1===o||(t.keyPath=[t.keyPath,"Fragment",o],null===t.replay)){if(i=t.treeContext,l=r.length,null!==t.replay&&null!==(s=t.replay.slots)&&"object"==typeof s){for(o=0;o<l;o++)c=r[o],t.treeContext=dt(i,l,o),"number"==typeof(u=s[o])?(Sn(e,t,u,c,o),delete s[o]):Tn(e,t,c,o);return t.treeContext=i,void(t.keyPath=a)}for(s=0;s<l;s++)o=r[s],t.treeContext=dt(i,l,s),Tn(e,t,o,s);t.treeContext=i,t.keyPath=a}else{for(var i=t.replay,l=i.nodes,s=0;s<l.length;s++){var c=l[s];if(c[1]===o){o=c[2],c=c[3],t.replay={nodes:o,slots:c,pendingTasks:1};try{if(Cn(e,t,r,-1),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(n(488));t.replay.pendingTasks--}catch(d){if("object"==typeof d&&null!==d&&(d===gt||"function"==typeof d.then))throw d;t.replay.pendingTasks--,r=mn(t.componentStack);var u=t.blockedBoundary;In(e,u,o,c,d,r=bn(e,d,r))}t.replay=i,l.splice(s,1);break}}t.keyPath=a}}function En(e,t){null!==(e=e.trackedPostpones)&&null!==(t=t.trackedContentKeyPath)&&void 0!==(t=e.workingMap.get(t))&&(t.length=4,t[2]=[],t[3]=null)}function Pn(e,t,n){return pn(e,n,t.replay,t.node,t.childIndex,t.blockedBoundary,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.componentStack,t.isFallback)}function zn(e,t,n){var r=t.blockedSegment,o=hn(0,r.chunks.length,null,t.formatContext,r.lastPushedText,!0);return r.children.push(o),r.lastPushedText=!1,fn(e,n,t.node,t.childIndex,t.blockedBoundary,o,t.blockedPreamble,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.componentStack,t.isFallback)}function Tn(e,t,n,r){var o=t.formatContext,a=t.context,i=t.keyPath,l=t.treeContext,s=t.componentStack,c=t.blockedSegment;if(null===c)try{return wn(e,t,n,r)}catch(f){if(Lt(),"object"==typeof(n=f===gt?vt():f)&&null!==n){if("function"==typeof n.then)return e=Pn(e,t,r=Mt()).ping,n.then(e,e),t.formatContext=o,t.context=a,t.keyPath=i,t.treeContext=l,t.componentStack=s,void st(a);if("Maximum call stack size exceeded"===n.message)return n=Pn(e,t,n=Mt()),e.pingedTasks.push(n),t.formatContext=o,t.context=a,t.keyPath=i,t.treeContext=l,t.componentStack=s,void st(a)}}else{var u=c.children.length,d=c.chunks.length;try{return wn(e,t,n,r)}catch(p){if(Lt(),c.children.length=u,c.chunks.length=d,"object"==typeof(n=p===gt?vt():p)&&null!==n){if("function"==typeof n.then)return e=zn(e,t,r=Mt()).ping,n.then(e,e),t.formatContext=o,t.context=a,t.keyPath=i,t.treeContext=l,t.componentStack=s,void st(a);if("Maximum call stack size exceeded"===n.message)return n=zn(e,t,n=Mt()),e.pingedTasks.push(n),t.formatContext=o,t.context=a,t.keyPath=i,t.treeContext=l,t.componentStack=s,void st(a)}}}throw t.formatContext=o,t.context=a,t.keyPath=i,t.treeContext=l,st(a),n}function Rn(e){var t=e.blockedBoundary;null!==(e=e.blockedSegment)&&(e.status=3,jn(this,t,e))}function In(e,t,r,o,a,i){for(var l=0;l<r.length;l++){var s=r[l];if(4===s.length)In(e,t,s[2],s[3],a,i);else{s=s[5];var c=e,u=i,d=dn(0,new Set,null,null);d.parentFlushed=!0,d.rootSegmentID=s,d.status=4,d.errorDigest=u,d.parentFlushed&&c.clientRenderedBoundaries.push(d)}}if(r.length=0,null!==o){if(null===t)throw Error(n(487));if(4!==t.status&&(t.status=4,t.errorDigest=i,t.parentFlushed&&e.clientRenderedBoundaries.push(t)),"object"==typeof o)for(var f in o)delete o[f]}}function On(e,t,n){var r=e.blockedBoundary,o=e.blockedSegment;if(null!==o){if(6===o.status)return;o.status=3}if(o=mn(e.componentStack),null===r){if(13!==t.status&&14!==t.status){if(null===(r=e.replay))return bn(t,n,o),void vn(t,n);r.pendingTasks--,0===r.pendingTasks&&0<r.nodes.length&&(e=bn(t,n,o),In(t,null,r.nodes,r.slots,n,e)),t.pendingRootTasks--,0===t.pendingRootTasks&&Dn(t)}}else r.pendingTasks--,4!==r.status&&(r.status=4,e=bn(t,n,o),r.status=4,r.errorDigest=e,En(t,r),r.parentFlushed&&t.clientRenderedBoundaries.push(r)),r.fallbackAbortableTasks.forEach(function(e){return On(e,t,n)}),r.fallbackAbortableTasks.clear();t.allPendingTasks--,0===t.allPendingTasks&&Nn(t)}function An(e,t){try{var n=e.renderState,r=n.onHeaders;if(r){var o=n.headers;if(o){n.headers=null;var a=o.preconnects;if(o.fontPreloads&&(a&&(a+=", "),a+=o.fontPreloads),o.highImagePreloads&&(a&&(a+=", "),a+=o.highImagePreloads),!t){var i=n.styles.values(),l=i.next();e:for(;0<o.remainingCapacity&&!l.done;l=i.next())for(var s=l.value.sheets.values(),c=s.next();0<o.remainingCapacity&&!c.done;c=s.next()){var u=c.value,d=u.props,f=d.href,p=u.props,h=Ve(p.href,"style",{crossOrigin:p.crossOrigin,integrity:p.integrity,nonce:p.nonce,type:p.type,fetchPriority:p.fetchPriority,referrerPolicy:p.referrerPolicy,media:p.media});if(!(0<=(o.remainingCapacity-=h.length+2)))break e;n.resets.style[f]=H,a&&(a+=", "),a+=h,n.resets.style[f]="string"==typeof d.crossOrigin||"string"==typeof d.integrity?[d.crossOrigin,d.integrity]:H}}r(a?{Link:a}:{})}}}catch(fx){bn(e,fx,{})}}function Dn(e){null===e.trackedPostpones&&An(e,!0),null===e.trackedPostpones&&Bn(e),e.onShellError=ln,(e=e.onShellReady)()}function Nn(e){An(e,null===e.trackedPostpones||null===e.completedRootSegment||5!==e.completedRootSegment.status),Bn(e),(e=e.onAllReady)()}function Fn(e,t){if(0===t.chunks.length&&1===t.children.length&&null===t.children[0].boundary&&-1===t.children[0].id){var n=t.children[0];n.id=t.id,n.parentFlushed=!0,1===n.status&&Fn(e,n)}else e.completedSegments.push(t)}function jn(e,t,r){if(null===t){if(null!==r&&r.parentFlushed){if(null!==e.completedRootSegment)throw Error(n(389));e.completedRootSegment=r}e.pendingRootTasks--,0===e.pendingRootTasks&&Dn(e)}else t.pendingTasks--,4!==t.status&&(0===t.pendingTasks?(0===t.status&&(t.status=1),null!==r&&r.parentFlushed&&1===r.status&&Fn(t,r),t.parentFlushed&&e.completedBoundaries.push(t),1===t.status&&(t.fallbackAbortableTasks.forEach(Rn,e),t.fallbackAbortableTasks.clear(),0===e.pendingRootTasks&&null===e.trackedPostpones&&null!==t.contentPreamble&&Bn(e))):null!==r&&r.parentFlushed&&1===r.status&&(Fn(t,r),1===t.completedSegments.length&&t.parentFlushed&&e.partialBoundaries.push(t)));e.allPendingTasks--,0===e.allPendingTasks&&Nn(e)}function Mn(e){if(14!==e.status&&13!==e.status){var t=nt,r=W.H;W.H=Jt;var o=W.A;W.A=en;var a=cn;cn=e;var i=Zt;Zt=e.resumableState;try{var l,s=e.pingedTasks;for(l=0;l<s.length;l++){var c=s[l],u=e,d=c.blockedSegment;if(null===d){var f=u;if(0!==c.replay.pendingTasks){st(c.context);try{if("number"==typeof c.replay.slots?Sn(f,c,c.replay.slots,c.node,c.childIndex):_n(f,c),1===c.replay.pendingTasks&&0<c.replay.nodes.length)throw Error(n(488));c.replay.pendingTasks--,c.abortSet.delete(c),jn(f,c.blockedBoundary,null)}catch(C){Lt();var p=C===gt?vt():C;if("object"==typeof p&&null!==p&&"function"==typeof p.then){var h=c.ping;p.then(h,h),c.thenableState=Mt()}else{c.replay.pendingTasks--,c.abortSet.delete(c);var g=mn(c.componentStack);u=void 0;var m=f,b=c.blockedBoundary,v=12===f.status?f.fatalError:p;In(m,b,c.replay.nodes,c.replay.slots,v,u=bn(m,v,g)),f.pendingRootTasks--,0===f.pendingRootTasks&&Dn(f),f.allPendingTasks--,0===f.allPendingTasks&&Nn(f)}}}}else if(f=void 0,0===(m=d).status){m.status=6,st(c.context);var y=m.children.length,x=m.chunks.length;try{_n(u,c),Qe(m.chunks,u.renderState,m.lastPushedText,m.textEmbedded),c.abortSet.delete(c),m.status=1,jn(u,c.blockedBoundary,m)}catch(C){Lt(),m.children.length=y,m.chunks.length=x;var k=C===gt?vt():12===u.status?u.fatalError:C;if("object"==typeof k&&null!==k&&"function"==typeof k.then){m.status=0,c.thenableState=Mt();var S=c.ping;k.then(S,S)}else{var w=mn(c.componentStack);c.abortSet.delete(c),m.status=4;var _=c.blockedBoundary;f=bn(u,k,w),null===_?vn(u,k):(_.pendingTasks--,4!==_.status&&(_.status=4,_.errorDigest=f,En(u,_),_.parentFlushed&&u.clientRenderedBoundaries.push(_),0===u.pendingRootTasks&&null===u.trackedPostpones&&null!==_.contentPreamble&&Bn(u))),u.allPendingTasks--,0===u.allPendingTasks&&Nn(u)}}}}s.splice(0,l),null!==e.destination&&Gn(e,e.destination)}catch(fx){bn(e,fx,{}),vn(e,fx)}finally{Zt=i,W.H=r,W.A=o,r===Jt&&st(t),cn=a}}}function Ln(e,t,n){t.preambleChildren.length&&n.push(t.preambleChildren);for(var r=!1,o=0;o<t.children.length;o++)r=Wn(e,t.children[o],n)||r;return r}function Wn(e,t,r){var o=t.boundary;if(null===o)return Ln(e,t,r);var a=o.contentPreamble,i=o.fallbackPreamble;if(null===a||null===i)return!1;switch(o.status){case 1:if(ke(e.renderState,a),!(t=o.completedSegments[0]))throw Error(n(391));return Ln(e,t,r);case 5:if(null!==e.trackedPostpones)return!0;case 4:if(1===t.status)return ke(e.renderState,i),Ln(e,t,r);default:return!0}}function Bn(e){if(e.completedRootSegment&&null===e.completedPreambleSegments){var t=[],n=Wn(e,e.completedRootSegment,t),r=e.renderState.preamble;(!1===n||r.headChunks&&r.bodyChunks)&&(e.completedPreambleSegments=t)}}function $n(e,t,r,o){switch(r.parentFlushed=!0,r.status){case 0:r.id=e.nextSegmentId++;case 5:return o=r.id,r.lastPushedText=!1,r.textEmbedded=!1,e=e.renderState,t.push('<template id="'),t.push(e.placeholderPrefix),e=o.toString(16),t.push(e),t.push('"></template>');case 1:r.status=2;var a=!0,i=r.chunks,l=0;r=r.children;for(var s=0;s<r.length;s++){for(a=r[s];l<a.index;l++)t.push(i[l]);a=Vn(e,t,a,o)}for(;l<i.length-1;l++)t.push(i[l]);return l<i.length&&(a=t.push(i[l])),a;default:throw Error(n(390))}}function Vn(e,t,r,o){var a=r.boundary;if(null===a)return $n(e,t,r,o);if(a.parentFlushed=!0,4===a.status){if(!e.renderState.generateStaticMarkup){var i=a.errorDigest;t.push("\x3c!--$!--\x3e"),t.push("<template"),i&&(t.push(' data-dgst="'),i=D(i),t.push(i),t.push('"')),t.push("></template>")}return $n(e,t,r,o),e.renderState.generateStaticMarkup?t=!0:((e=a.fallbackPreamble)&&_e(t,e),t=t.push("\x3c!--/$--\x3e")),t}if(1!==a.status)return 0===a.status&&(a.rootSegmentID=e.nextSegmentId++),0<a.completedSegments.length&&e.partialBoundaries.push(a),we(t,e.renderState,a.rootSegmentID),o&&((a=a.fallbackState).styles.forEach(Ye,o),a.stylesheets.forEach(Xe,o)),$n(e,t,r,o),t.push("\x3c!--/$--\x3e");if(a.byteSize>e.progressiveChunkSize)return a.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(a),we(t,e.renderState,a.rootSegmentID),$n(e,t,r,o),t.push("\x3c!--/$--\x3e");if(o&&((r=a.contentState).styles.forEach(Ye,o),r.stylesheets.forEach(Xe,o)),e.renderState.generateStaticMarkup||t.push("\x3c!--$--\x3e"),1!==(r=a.completedSegments).length)throw Error(n(391));return Vn(e,t,r[0],o),e.renderState.generateStaticMarkup?t=!0:((e=a.contentPreamble)&&_e(t,e),t=t.push("\x3c!--/$--\x3e")),t}function Hn(e,t,r,o){return function(e,t,r,o){switch(r.insertionMode){case 0:case 1:case 3:case 2:return e.push('<div hidden id="'),e.push(t.segmentPrefix),t=o.toString(16),e.push(t),e.push('">');case 4:return e.push('<svg aria-hidden="true" style="display:none" id="'),e.push(t.segmentPrefix),t=o.toString(16),e.push(t),e.push('">');case 5:return e.push('<math aria-hidden="true" style="display:none" id="'),e.push(t.segmentPrefix),t=o.toString(16),e.push(t),e.push('">');case 6:return e.push('<table hidden id="'),e.push(t.segmentPrefix),t=o.toString(16),e.push(t),e.push('">');case 7:return e.push('<table hidden><tbody id="'),e.push(t.segmentPrefix),t=o.toString(16),e.push(t),e.push('">');case 8:return e.push('<table hidden><tr id="'),e.push(t.segmentPrefix),t=o.toString(16),e.push(t),e.push('">');case 9:return e.push('<table hidden><colgroup id="'),e.push(t.segmentPrefix),t=o.toString(16),e.push(t),e.push('">');default:throw Error(n(397))}}(t,e.renderState,r.parentFormatContext,r.id),Vn(e,t,r,o),function(e,t){switch(t.insertionMode){case 0:case 1:case 3:case 2:return e.push("</div>");case 4:return e.push("</svg>");case 5:return e.push("</math>");case 6:return e.push("</table>");case 7:return e.push("</tbody></table>");case 8:return e.push("</tr></table>");case 9:return e.push("</colgroup></table>");default:throw Error(n(397))}}(t,r.parentFormatContext)}function Un(e,t,r){for(var o=r.completedSegments,a=0;a<o.length;a++)qn(e,t,r,o[a]);o.length=0,Ae(t,r.contentState,e.renderState),o=e.resumableState,e=e.renderState,a=r.rootSegmentID,r=r.contentState;var i=e.stylesToHoist;return e.stylesToHoist=!1,t.push(e.startInlineScript),i?2&o.instructions?8&o.instructions?t.push('$RR("'):(o.instructions|=8,t.push('$RM=new Map;\n$RR=function(t,u,y){function v(n){this._p=null;n()}for(var w=$RC,p=$RM,q=new Map,r=document,g,b,h=r.querySelectorAll("link[data-precedence],style[data-precedence]"),x=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?x.push(b):("LINK"===b.tagName&&p.set(b.getAttribute("href"),b),q.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var e=y[b++];if(!e){k=!1;b=0;continue}var c=!1,m=0;var d=e[m++];if(a=p.get(d)){var f=a._p;c=!0}else{a=r.createElement("link");a.href=\nd;a.rel="stylesheet";for(a.dataset.precedence=l=e[m++];f=e[m++];)a.setAttribute(f,e[m++]);f=a._p=new Promise(function(n,z){a.onload=v.bind(a,n);a.onerror=v.bind(a,z)});p.set(d,a)}d=a.getAttribute("media");!f||d&&!matchMedia(d).matches||h.push(f);if(c)continue}else{a=x[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=q.get(l)||g;c===g&&(g=a);q.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=r.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(w.bind(null,\nt,u,""),w.bind(null,t,u,"Resource failed to load"))};$RR("')):(o.instructions|=10,t.push('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RM=new Map;\n$RR=function(t,u,y){function v(n){this._p=null;n()}for(var w=$RC,p=$RM,q=new Map,r=document,g,b,h=r.querySelectorAll("link[data-precedence],style[data-precedence]"),x=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?x.push(b):("LINK"===b.tagName&&p.set(b.getAttribute("href"),b),q.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var e=y[b++];if(!e){k=!1;b=0;continue}var c=!1,m=0;var d=e[m++];if(a=p.get(d)){var f=a._p;c=!0}else{a=r.createElement("link");a.href=\nd;a.rel="stylesheet";for(a.dataset.precedence=l=e[m++];f=e[m++];)a.setAttribute(f,e[m++]);f=a._p=new Promise(function(n,z){a.onload=v.bind(a,n);a.onerror=v.bind(a,z)});p.set(d,a)}d=a.getAttribute("media");!f||d&&!matchMedia(d).matches||h.push(f);if(c)continue}else{a=x[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=q.get(l)||g;c===g&&(g=a);q.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=r.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(w.bind(null,\nt,u,""),w.bind(null,t,u,"Resource failed to load"))};$RR("')):2&o.instructions?t.push('$RC("'):(o.instructions|=2,t.push('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RC("')),o=a.toString(16),t.push(e.boundaryPrefix),t.push(o),t.push('","'),t.push(e.segmentPrefix),t.push(o),i?(t.push('",'),function(e,t){e.push("[");var r="[";t.stylesheets.forEach(function(t){if(2!==t.state)if(3===t.state)e.push(r),t=ze(""+t.props.href),e.push(t),e.push("]"),r=",[";else{e.push(r);var o=t.props["data-precedence"],a=t.props,i=L(""+t.props.href);for(var l in i=ze(i),e.push(i),o=""+o,e.push(","),o=ze(o),e.push(o),a)if(E.call(a,l)&&null!=(o=a[l]))switch(l){case"href":case"rel":case"precedence":case"data-precedence":break;case"children":case"dangerouslySetInnerHTML":throw Error(n(399,"link"));default:We(e,l,o)}e.push("]"),r=",[",t.state=3}}),e.push("]")}(t,r)):t.push('"'),r=t.push(")<\/script>"),Se(t,e)&&r}function qn(e,t,r,o){if(2===o.status)return!0;var a=r.contentState,i=o.id;if(-1===i){if(-1===(o.id=r.rootSegmentID))throw Error(n(392));return Hn(e,t,o,a)}return i===r.rootSegmentID?Hn(e,t,o,a):(Hn(e,t,o,a),r=e.resumableState,e=e.renderState,t.push(e.startInlineScript),1&r.instructions?t.push('$RS("'):(r.instructions|=1,t.push('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),t.push(e.segmentPrefix),i=i.toString(16),t.push(i),t.push('","'),t.push(e.placeholderPrefix),t.push(i),t=t.push('")<\/script>'))}function Gn(e,t){try{if(!(0<e.pendingRootTasks)){var n,r=e.completedRootSegment;if(null!==r){if(5===r.status)return;var o=e.completedPreambleSegments;if(null===o)return;var a,i=e.renderState,l=i.preamble,s=l.htmlChunks,c=l.headChunks;if(s){for(a=0;a<s.length;a++)t.push(s[a]);if(c)for(a=0;a<c.length;a++)t.push(c[a]);else{var u=ve("head");t.push(u),t.push(">")}}else if(c)for(a=0;a<c.length;a++)t.push(c[a]);var d=i.charsetChunks;for(a=0;a<d.length;a++)t.push(d[a]);d.length=0,i.preconnects.forEach(De,t),i.preconnects.clear();var f=i.viewportChunks;for(a=0;a<f.length;a++)t.push(f[a]);f.length=0,i.fontPreloads.forEach(De,t),i.fontPreloads.clear(),i.highImagePreloads.forEach(De,t),i.highImagePreloads.clear(),i.styles.forEach(je,t);var p=i.importMapChunks;for(a=0;a<p.length;a++)t.push(p[a]);p.length=0,i.bootstrapScripts.forEach(De,t),i.scripts.forEach(De,t),i.scripts.clear(),i.bulkPreloads.forEach(De,t),i.bulkPreloads.clear();var h=i.hoistableChunks;for(a=0;a<h.length;a++)t.push(h[a]);for(i=h.length=0;i<o.length;i++){var g=o[i];for(l=0;l<g.length;l++)Vn(e,t,g[l],null)}var m=e.renderState.preamble,b=m.headChunks;if(m.htmlChunks||b){var v=xe("head");t.push(v)}var y=m.bodyChunks;if(y)for(o=0;o<y.length;o++)t.push(y[o]);Vn(e,t,r,null),e.completedRootSegment=null,Se(t,e.renderState)}var x=e.renderState;r=0;var k=x.viewportChunks;for(r=0;r<k.length;r++)t.push(k[r]);k.length=0,x.preconnects.forEach(De,t),x.preconnects.clear(),x.fontPreloads.forEach(De,t),x.fontPreloads.clear(),x.highImagePreloads.forEach(De,t),x.highImagePreloads.clear(),x.styles.forEach(Le,t),x.scripts.forEach(De,t),x.scripts.clear(),x.bulkPreloads.forEach(De,t),x.bulkPreloads.clear();var S=x.hoistableChunks;for(r=0;r<S.length;r++)t.push(S[r]);S.length=0;var w=e.clientRenderedBoundaries;for(n=0;n<w.length;n++){var _=w[n];x=t;var C=e.resumableState,E=e.renderState,P=_.rootSegmentID,z=_.errorDigest;x.push(E.startInlineScript),4&C.instructions?x.push('$RX("'):(C.instructions|=4,x.push('$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("')),x.push(E.boundaryPrefix);var T=P.toString(16);if(x.push(T),x.push('"'),z){x.push(",");var R=Ee(z||"");x.push(R)}var I=x.push(")<\/script>");if(!I)return e.destination=null,n++,void w.splice(0,n)}w.splice(0,n);var O=e.completedBoundaries;for(n=0;n<O.length;n++)if(!Un(e,t,O[n]))return e.destination=null,n++,void O.splice(0,n);O.splice(0,n);var A=e.partialBoundaries;for(n=0;n<A.length;n++){var D=A[n];e:{w=e,_=t;var N=D.completedSegments;for(I=0;I<N.length;I++)if(!qn(w,_,D,N[I])){I++,N.splice(0,I);var F=!1;break e}N.splice(0,I),F=Ae(_,D.contentState,w.renderState)}if(!F)return e.destination=null,n++,void A.splice(0,n)}A.splice(0,n);var j=e.completedBoundaries;for(n=0;n<j.length;n++)if(!Un(e,t,j[n]))return e.destination=null,n++,void j.splice(0,n);j.splice(0,n)}}finally{0===e.allPendingTasks&&0===e.pingedTasks.length&&0===e.clientRenderedBoundaries.length&&0===e.completedBoundaries.length&&(e.flushScheduled=!1,(n=e.resumableState).hasBody&&(A=xe("body"),t.push(A)),n.hasHtml&&(n=xe("html"),t.push(n)),e.status=14,t.push(null),e.destination=null)}}function Yn(e){if(!1===e.flushScheduled&&0===e.pingedTasks.length&&null!==e.destination){e.flushScheduled=!0;var t=e.destination;t?Gn(e,t):e.flushScheduled=!1}}function Xn(e,t){11!==e.status&&10!==e.status||(e.status=12);try{var r=e.abortableTasks;if(0<r.size){var o=void 0===t?Error(n(432)):"object"==typeof t&&null!==t&&"function"==typeof t.then?Error(n(530)):t;e.fatalError=o,r.forEach(function(t){return On(t,e,o)}),r.clear()}null!==e.destination&&Gn(e,e.destination)}catch(a){bn(e,a,{}),vn(e,a)}}function Kn(){}function Qn(e,t,r,o){var a,i=!1,l=null,s="",c=!1;if(e=function(e,t,n,r,o,a){return(n=hn(t=new sn(t,n,r,1/0,a,void 0,function(){c=!0},void 0,void 0,void 0,void 0),0,null,r,!1,!1)).parentFlushed=!0,gn(e=fn(t,null,e,-1,null,n,null,null,t.abortableTasks,null,r,null,ut,null,!1)),t.pingedTasks.push(e),t}(e,t={idPrefix:void 0===(a=t?t.identifierPrefix:void 0)?"":a,nextFormID:0,streamingFormat:0,bootstrapScriptContent:undefined,bootstrapScripts:undefined,bootstrapModules:undefined,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}},function(e,t){var n=e.idPrefix,r=[],o=e.bootstrapScriptContent,a=e.bootstrapScripts,i=e.bootstrapModules;void 0!==o&&r.push("<script>",(""+o).replace(U,q),"<\/script>"),o=n+"P:";var l=n+"S:";n+="B:";var s=new Set,c=new Set,u=new Set,d=new Map,f=new Set,p=new Set,h=new Set,g={images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map};if(void 0!==a)for(var m=0;m<a.length;m++){var b,v=a[m],y=void 0,x=void 0,k={rel:"preload",as:"script",fetchPriority:"low",nonce:void 0};"string"==typeof v?k.href=b=v:(k.href=b=v.src,k.integrity=x="string"==typeof v.integrity?v.integrity:void 0,k.crossOrigin=y="string"==typeof v||null==v.crossOrigin?void 0:"use-credentials"===v.crossOrigin?"use-credentials":"");var S=b;(v=e).scriptResources[S]=null,v.moduleScriptResources[S]=null,se(v=[],k),f.add(v),r.push('<script src="',D(b)),"string"==typeof x&&r.push('" integrity="',D(x)),"string"==typeof y&&r.push('" crossorigin="',D(y)),r.push('" async=""><\/script>')}if(void 0!==i)for(a=0;a<i.length;a++)y=b=void 0,x={rel:"modulepreload",fetchPriority:"low",nonce:void 0},"string"==typeof(k=i[a])?x.href=m=k:(x.href=m=k.src,x.integrity=y="string"==typeof k.integrity?k.integrity:void 0,x.crossOrigin=b="string"==typeof k||null==k.crossOrigin?void 0:"use-credentials"===k.crossOrigin?"use-credentials":""),v=m,(k=e).scriptResources[v]=null,k.moduleScriptResources[v]=null,se(k=[],x),f.add(k),r.push('<script type="module" src="',D(m)),"string"==typeof y&&r.push('" integrity="',D(y)),"string"==typeof b&&r.push('" crossorigin="',D(b)),r.push('" async=""><\/script>');return{placeholderPrefix:o,segmentPrefix:l,boundaryPrefix:n,startInlineScript:"<script>",preamble:{htmlChunks:null,headChunks:null,bodyChunks:null,contribution:0},externalRuntimeScript:null,bootstrapChunks:r,importMapChunks:[],onHeaders:void 0,headers:null,resets:{font:{},dns:{},connect:{default:{},anonymous:{},credentials:{}},image:{},style:{}},charsetChunks:[],viewportChunks:[],hoistableChunks:[],preconnects:s,fontPreloads:c,highImagePreloads:u,styles:d,bootstrapScripts:f,scripts:p,bulkPreloads:h,preloads:g,stylesToHoist:!1,generateStaticMarkup:t}}(t,r),Y(0,null,0),0,Kn),e.flushScheduled=null!==e.destination,Mn(e),10===e.status&&(e.status=11),null===e.trackedPostpones&&An(e,0===e.pendingRootTasks),Xn(e,o),function(e,t){if(13===e.status)e.status=14,t.destroy(e.fatalError);else if(14!==e.status&&null===e.destination){e.destination=t;try{Gn(e,t)}catch(fx){bn(e,fx,{}),vn(e,fx)}}}(e,{push:function(e){return null!==e&&(s+=e),!0},destroy:function(e){i=!0,l=e}}),i&&l!==o)throw l;if(!c)throw Error(n(426));return s}return $y.renderToStaticMarkup=function(e,t){return Qn(e,t,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},$y.renderToString=function(e,t){return Qn(e,t,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},$y.version="19.1.1",$y}var Hy,Uy,qy={};function Gy(){if(Hy)return qy;Hy=1;var e=v(),t=j();function n(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=Symbol.for("react.transitional.element"),o=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),c=Symbol.for("react.consumer"),u=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),m=Symbol.for("react.scope"),b=Symbol.for("react.activity"),y=Symbol.for("react.legacy_hidden"),x=Symbol.for("react.memo_cache_sentinel"),k=Symbol.for("react.view_transition"),S=Symbol.iterator,w=Array.isArray;function _(e,t){var n=3&e.length,r=e.length-n,o=t;for(t=0;t<r;){var a=255&e.charCodeAt(t)|(255&e.charCodeAt(++t))<<8|(255&e.charCodeAt(++t))<<16|(255&e.charCodeAt(++t))<<24;++t,o=27492+(65535&(o=5*(65535&(o=(o^=a=461845907*(65535&(a=(a=3432918353*(65535&a)+((3432918353*(a>>>16)&65535)<<16)&4294967295)<<15|a>>>17))+((461845907*(a>>>16)&65535)<<16)&4294967295)<<13|o>>>19))+((5*(o>>>16)&65535)<<16)&4294967295))+(((o>>>16)+58964&65535)<<16)}switch(a=0,n){case 3:a^=(255&e.charCodeAt(t+2))<<16;case 2:a^=(255&e.charCodeAt(t+1))<<8;case 1:o^=461845907*(65535&(a=(a=3432918353*(65535&(a^=255&e.charCodeAt(t)))+((3432918353*(a>>>16)&65535)<<16)&4294967295)<<15|a>>>17))+((461845907*(a>>>16)&65535)<<16)&4294967295}return o^=e.length,o=2246822507*(65535&(o^=o>>>16))+((2246822507*(o>>>16)&65535)<<16)&4294967295,((o=3266489909*(65535&(o^=o>>>13))+((3266489909*(o>>>16)&65535)<<16)&4294967295)^o>>>16)>>>0}var C=new MessageChannel,E=[];function P(e){E.push(e),C.port2.postMessage(null)}function z(e){setTimeout(function(){throw e})}C.port1.onmessage=function(){var e=E.shift();e&&e()};var T=Promise,R="function"==typeof queueMicrotask?queueMicrotask:function(e){T.resolve(null).then(e).catch(z)},I=null,O=0;function A(e,t){if(0!==t.byteLength)if(2048<t.byteLength)0<O&&(e.enqueue(new Uint8Array(I.buffer,0,O)),I=new Uint8Array(2048),O=0),e.enqueue(t);else{var n=I.length-O;n<t.byteLength&&(0===n?e.enqueue(I):(I.set(t.subarray(0,n),O),e.enqueue(I),t=t.subarray(n)),I=new Uint8Array(2048),O=0),I.set(t,O),O+=t.byteLength}}function D(e,t){return A(e,t),!0}function N(e){I&&0<O&&(e.enqueue(new Uint8Array(I.buffer,0,O)),I=null,O=0)}var F=new TextEncoder;function M(e){return F.encode(e)}function L(e){return F.encode(e)}function W(e,t){"function"==typeof e.error?e.error(t):e.close()}var B=Object.assign,$=Object.prototype.hasOwnProperty,V=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),H={},U={};function q(e){return!!$.call(U,e)||!$.call(H,e)&&(V.test(e)?U[e]=!0:(H[e]=!0,!1))}var G=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),Y=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),X=/["'&<>]/;function K(e){if("boolean"==typeof e||"number"==typeof e||"bigint"==typeof e)return""+e;e=""+e;var t=X.exec(e);if(t){var n,r="",o=0;for(n=t.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:t="&quot;";break;case 38:t="&amp;";break;case 39:t="&#x27;";break;case 60:t="&lt;";break;case 62:t="&gt;";break;default:continue}o!==n&&(r+=e.slice(o,n)),o=n+1,r+=t}e=o!==n?r+e.slice(o,n):r}return e}var Q=/([A-Z])/g,J=/^ms-/,Z=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function ee(e){return Z.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var te=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ne=t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,re={pending:!1,data:null,method:null,action:null},oe=ne.d;ne.d={f:oe.f,r:oe.r,D:function(e){var t=fo||null;if(t){var n,r,o=t.resumableState,a=t.renderState;if("string"==typeof e&&e)o.dnsResources.hasOwnProperty(e)||(o.dnsResources[e]=null,(r=(o=a.headers)&&0<o.remainingCapacity)&&(n="<"+(""+e).replace(Yn,Xn)+">; rel=dns-prefetch",r=0<=(o.remainingCapacity-=n.length+2)),r?(a.resets.dns[e]=null,o.preconnects&&(o.preconnects+=", "),o.preconnects+=n):(Je(n=[],{href:e,rel:"dns-prefetch"}),a.preconnects.add(n))),Jo(t)}else oe.D(e)},C:function(e,t){var n=fo||null;if(n){var r=n.resumableState,o=n.renderState;if("string"==typeof e&&e){var a,i,l="use-credentials"===t?"credentials":"string"==typeof t?"anonymous":"default";if(!r.connectResources[l].hasOwnProperty(e))r.connectResources[l][e]=null,(i=(r=o.headers)&&0<r.remainingCapacity)&&(i="<"+(""+e).replace(Yn,Xn)+">; rel=preconnect","string"==typeof t&&(i+='; crossorigin="'+(""+t).replace(Kn,Qn)+'"'),a=i,i=0<=(r.remainingCapacity-=a.length+2)),i?(o.resets.connect[l][e]=null,r.preconnects&&(r.preconnects+=", "),r.preconnects+=a):(Je(l=[],{rel:"preconnect",href:e,crossOrigin:t}),o.preconnects.add(l));Jo(n)}}else oe.C(e,t)},L:function(e,t,n){var r=fo||null;if(r){var o=r.resumableState,a=r.renderState;if(t&&e){switch(t){case"image":if(n)var i=n.imageSrcSet,l=n.imageSizes,s=n.fetchPriority;var c,u=i?i+"\n"+(l||""):e;if(o.imageResources.hasOwnProperty(u))return;o.imageResources[u]=ae,(o=a.headers)&&0<o.remainingCapacity&&"string"!=typeof i&&"high"===s&&(c=Gn(e,t,n),0<=(o.remainingCapacity-=c.length+2))?(a.resets.image[u]=ae,o.highImagePreloads&&(o.highImagePreloads+=", "),o.highImagePreloads+=c):(Je(o=[],B({rel:"preload",href:i?void 0:e,as:t},n)),"high"===s?a.highImagePreloads.add(o):(a.bulkPreloads.add(o),a.preloads.images.set(u,o)));break;case"style":if(o.styleResources.hasOwnProperty(e))return;Je(i=[],B({rel:"preload",href:e,as:t},n)),o.styleResources[e]=!n||"string"!=typeof n.crossOrigin&&"string"!=typeof n.integrity?ae:[n.crossOrigin,n.integrity],a.preloads.stylesheets.set(e,i),a.bulkPreloads.add(i);break;case"script":if(o.scriptResources.hasOwnProperty(e))return;i=[],a.preloads.scripts.set(e,i),a.bulkPreloads.add(i),Je(i,B({rel:"preload",href:e,as:t},n)),o.scriptResources[e]=!n||"string"!=typeof n.crossOrigin&&"string"!=typeof n.integrity?ae:[n.crossOrigin,n.integrity];break;default:if(o.unknownResources.hasOwnProperty(t)){if((i=o.unknownResources[t]).hasOwnProperty(e))return}else i={},o.unknownResources[t]=i;i[e]=ae,(o=a.headers)&&0<o.remainingCapacity&&"font"===t&&(u=Gn(e,t,n),0<=(o.remainingCapacity-=u.length+2))?(a.resets.font[e]=ae,o.fontPreloads&&(o.fontPreloads+=", "),o.fontPreloads+=u):"font"===(Je(o=[],e=B({rel:"preload",href:e,as:t},n)),t)?a.fontPreloads.add(o):a.bulkPreloads.add(o)}Jo(r)}}else oe.L(e,t,n)},m:function(e,t){var n=fo||null;if(n){var r=n.resumableState,o=n.renderState;if(e){var a=t&&"string"==typeof t.as?t.as:"script";if("script"===a){if(r.moduleScriptResources.hasOwnProperty(e))return;a=[],r.moduleScriptResources[e]=!t||"string"!=typeof t.crossOrigin&&"string"!=typeof t.integrity?ae:[t.crossOrigin,t.integrity],o.preloads.moduleScripts.set(e,a)}else{if(r.moduleUnknownResources.hasOwnProperty(a)){var i=r.unknownResources[a];if(i.hasOwnProperty(e))return}else i={},r.moduleUnknownResources[a]=i;a=[],i[e]=ae}Je(a,B({rel:"modulepreload",href:e},t)),o.bulkPreloads.add(a),Jo(n)}}else oe.m(e,t)},X:function(e,t){var n=fo||null;if(n){var r=n.resumableState,o=n.renderState;if(e){var a=r.scriptResources.hasOwnProperty(e)?r.scriptResources[e]:void 0;null!==a&&(r.scriptResources[e]=null,t=B({src:e,async:!0},t),a&&(2===a.length&&qn(t,a),e=o.preloads.scripts.get(e))&&(e.length=0),e=[],o.scripts.add(e),rt(e,t),Jo(n))}}else oe.X(e,t)},S:function(e,t,n){var r=fo||null;if(r){var o=r.resumableState,a=r.renderState;if(e){t=t||"default";var i=a.styles.get(t),l=o.styleResources.hasOwnProperty(e)?o.styleResources[e]:void 0;null!==l&&(o.styleResources[e]=null,i||(i={precedence:M(K(t)),rules:[],hrefs:[],sheets:new Map},a.styles.set(t,i)),t={state:0,props:B({rel:"stylesheet",href:e,"data-precedence":t},n)},l&&(2===l.length&&qn(t.props,l),(a=a.preloads.stylesheets.get(e))&&0<a.length?a.length=0:t.state=1),i.sheets.set(e,t),Jo(r))}}else oe.S(e,t,n)},M:function(e,t){var n=fo||null;if(n){var r=n.resumableState,o=n.renderState;if(e){var a=r.moduleScriptResources.hasOwnProperty(e)?r.moduleScriptResources[e]:void 0;null!==a&&(r.moduleScriptResources[e]=null,t=B({src:e,type:"module",async:!0},t),a&&(2===a.length&&qn(t,a),e=o.preloads.moduleScripts.get(e))&&(e.length=0),e=[],o.scripts.add(e),rt(e,t),Jo(n))}}else oe.M(e,t)}};var ae=[];L('"></template>');var ie=L("<script>"),le=L("<\/script>"),se=L('<script src="'),ce=L('<script type="module" src="'),ue=L('" nonce="'),de=L('" integrity="'),fe=L('" crossorigin="'),pe=L('" async=""><\/script>'),he=/(<\/|<)(s)(cript)/gi;function ge(e,t,n,r){return t+("s"===n?"\\u0073":"\\u0053")+r}var me=L('<script type="importmap">'),be=L("<\/script>");function ve(e,t,n,r,o,a){var i=void 0===t?ie:L('<script nonce="'+K(t)+'">'),l=e.idPrefix;n=[];var s=e.bootstrapScriptContent,c=e.bootstrapScripts,u=e.bootstrapModules;if(void 0!==s&&n.push(i,M((""+s).replace(he,ge)),le),s=[],void 0!==r&&(s.push(me),s.push(M((""+JSON.stringify(r)).replace(he,ge))),s.push(be)),r=o?{preconnects:"",fontPreloads:"",highImagePreloads:"",remainingCapacity:2+("number"==typeof a?a:2e3)}:null,o={placeholderPrefix:L(l+"P:"),segmentPrefix:L(l+"S:"),boundaryPrefix:L(l+"B:"),startInlineScript:i,preamble:{htmlChunks:null,headChunks:null,bodyChunks:null,contribution:0},externalRuntimeScript:null,bootstrapChunks:n,importMapChunks:s,onHeaders:o,headers:r,resets:{font:{},dns:{},connect:{default:{},anonymous:{},credentials:{}},image:{},style:{}},charsetChunks:[],viewportChunks:[],hoistableChunks:[],preconnects:new Set,fontPreloads:new Set,highImagePreloads:new Set,styles:new Map,bootstrapScripts:new Set,scripts:new Set,bulkPreloads:new Set,preloads:{images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map},nonce:t,hoistableState:null,stylesToHoist:!1},void 0!==c)for(r=0;r<c.length;r++){var d=c[r];l=i=void 0,s={rel:"preload",as:"script",fetchPriority:"low",nonce:t},"string"==typeof d?s.href=a=d:(s.href=a=d.src,s.integrity=l="string"==typeof d.integrity?d.integrity:void 0,s.crossOrigin=i="string"==typeof d||null==d.crossOrigin?void 0:"use-credentials"===d.crossOrigin?"use-credentials":"");var f=a;(d=e).scriptResources[f]=null,d.moduleScriptResources[f]=null,Je(d=[],s),o.bootstrapScripts.add(d),n.push(se,M(K(a))),t&&n.push(ue,M(K(t))),"string"==typeof l&&n.push(de,M(K(l))),"string"==typeof i&&n.push(fe,M(K(i))),n.push(pe)}if(void 0!==u)for(c=0;c<u.length;c++)i=a=void 0,l={rel:"modulepreload",fetchPriority:"low",nonce:t},"string"==typeof(s=u[c])?l.href=r=s:(l.href=r=s.src,l.integrity=i="string"==typeof s.integrity?s.integrity:void 0,l.crossOrigin=a="string"==typeof s||null==s.crossOrigin?void 0:"use-credentials"===s.crossOrigin?"use-credentials":""),d=r,(s=e).scriptResources[d]=null,s.moduleScriptResources[d]=null,Je(s=[],l),o.bootstrapScripts.add(s),n.push(ce,M(K(r))),t&&n.push(ue,M(K(t))),"string"==typeof i&&n.push(de,M(K(i))),"string"==typeof a&&n.push(fe,M(K(a))),n.push(pe);return o}function ye(e,t,n,r,o){return{idPrefix:void 0===e?"":e,nextFormID:0,streamingFormat:0,bootstrapScriptContent:n,bootstrapScripts:r,bootstrapModules:o,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}}}function xe(){return{htmlChunks:null,headChunks:null,bodyChunks:null,contribution:0}}function ke(e,t,n){return{insertionMode:e,selectedValue:t,tagScope:n}}function Se(e){return ke("http://www.w3.org/2000/svg"===e?4:"http://www.w3.org/1998/Math/MathML"===e?5:0,null,0)}function we(e,t,n){switch(t){case"noscript":return ke(2,null,1|e.tagScope);case"select":return ke(2,null!=n.value?n.value:n.defaultValue,e.tagScope);case"svg":return ke(4,null,e.tagScope);case"picture":return ke(2,null,2|e.tagScope);case"math":return ke(5,null,e.tagScope);case"foreignObject":return ke(2,null,e.tagScope);case"table":return ke(6,null,e.tagScope);case"thead":case"tbody":case"tfoot":return ke(7,null,e.tagScope);case"colgroup":return ke(9,null,e.tagScope);case"tr":return ke(8,null,e.tagScope);case"head":if(2>e.insertionMode)return ke(3,null,e.tagScope);break;case"html":if(0===e.insertionMode)return ke(1,null,e.tagScope)}return 6<=e.insertionMode||2>e.insertionMode?ke(2,null,e.tagScope):e}var _e=L("\x3c!-- --\x3e");function Ce(e,t,n,r){return""===t?r:(r&&e.push(_e),e.push(M(K(t))),!0)}var Ee=new Map,Pe=L(' style="'),ze=L(":"),Te=L(";");function Re(e,t){if("object"!=typeof t)throw Error(n(62));var r,o=!0;for(r in t)if($.call(t,r)){var a=t[r];if(null!=a&&"boolean"!=typeof a&&""!==a){if(0===r.indexOf("--")){var i=M(K(r));a=M(K((""+a).trim()))}else void 0===(i=Ee.get(r))&&(i=L(K(r.replace(Q,"-$1").toLowerCase().replace(J,"-ms-"))),Ee.set(r,i)),a="number"==typeof a?0===a||G.has(r)?M(""+a):M(a+"px"):M(K((""+a).trim()));o?(o=!1,e.push(Pe,i,ze,a)):e.push(Te,i,ze,a)}}o||e.push(Ae)}var Ie=L(" "),Oe=L('="'),Ae=L('"'),De=L('=""');function Ne(e,t,n){n&&"function"!=typeof n&&"symbol"!=typeof n&&e.push(Ie,M(t),De)}function Fe(e,t,n){"function"!=typeof n&&"symbol"!=typeof n&&"boolean"!=typeof n&&e.push(Ie,M(t),Oe,M(K(n)),Ae)}var je=L(K("javascript:throw new Error('React form unexpectedly submitted.')")),Me=L('<input type="hidden"');function Le(e,t){this.push(Me),We(e),Fe(this,"name",t),Fe(this,"value",e),this.push(Ue)}function We(e){if("string"!=typeof e)throw Error(n(480))}function Be(e,t){if("function"==typeof t.$$FORM_ACTION){var n=e.nextFormID++;e=e.idPrefix+n;try{var r=t.$$FORM_ACTION(e);if(r){var o=r.data;null!=o&&o.forEach(We)}return r}catch(a){if("object"==typeof a&&null!==a&&"function"==typeof a.then)throw a}}return null}function $e(e,t,n,r,o,a,i,l){var s=null;if("function"==typeof r){var c=Be(t,r);null!==c?(l=c.name,r=c.action||"",o=c.encType,a=c.method,i=c.target,s=c.data):(e.push(Ie,M("formAction"),Oe,je,Ae),i=a=o=r=l=null,Xe(t,n))}return null!=l&&Ve(e,"name",l),null!=r&&Ve(e,"formAction",r),null!=o&&Ve(e,"formEncType",o),null!=a&&Ve(e,"formMethod",a),null!=i&&Ve(e,"formTarget",i),s}function Ve(e,t,n){switch(t){case"className":Fe(e,"class",n);break;case"tabIndex":Fe(e,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":Fe(e,t,n);break;case"style":Re(e,n);break;case"src":case"href":if(""===n)break;case"action":case"formAction":if(null==n||"function"==typeof n||"symbol"==typeof n||"boolean"==typeof n)break;n=ee(""+n),e.push(Ie,M(t),Oe,M(K(n)),Ae);break;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"autoFocus":case"multiple":case"muted":Ne(e,t.toLowerCase(),n);break;case"xlinkHref":if("function"==typeof n||"symbol"==typeof n||"boolean"==typeof n)break;n=ee(""+n),e.push(Ie,M("xlink:href"),Oe,M(K(n)),Ae);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":"function"!=typeof n&&"symbol"!=typeof n&&e.push(Ie,M(t),Oe,M(K(n)),Ae);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":n&&"function"!=typeof n&&"symbol"!=typeof n&&e.push(Ie,M(t),De);break;case"capture":case"download":!0===n?e.push(Ie,M(t),De):!1!==n&&"function"!=typeof n&&"symbol"!=typeof n&&e.push(Ie,M(t),Oe,M(K(n)),Ae);break;case"cols":case"rows":case"size":case"span":"function"!=typeof n&&"symbol"!=typeof n&&!isNaN(n)&&1<=n&&e.push(Ie,M(t),Oe,M(K(n)),Ae);break;case"rowSpan":case"start":"function"==typeof n||"symbol"==typeof n||isNaN(n)||e.push(Ie,M(t),Oe,M(K(n)),Ae);break;case"xlinkActuate":Fe(e,"xlink:actuate",n);break;case"xlinkArcrole":Fe(e,"xlink:arcrole",n);break;case"xlinkRole":Fe(e,"xlink:role",n);break;case"xlinkShow":Fe(e,"xlink:show",n);break;case"xlinkTitle":Fe(e,"xlink:title",n);break;case"xlinkType":Fe(e,"xlink:type",n);break;case"xmlBase":Fe(e,"xml:base",n);break;case"xmlLang":Fe(e,"xml:lang",n);break;case"xmlSpace":Fe(e,"xml:space",n);break;default:if((!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&q(t=Y.get(t)||t)){switch(typeof n){case"function":case"symbol":return;case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return}e.push(Ie,M(t),Oe,M(K(n)),Ae)}}}var He=L(">"),Ue=L("/>");function qe(e,t,r){if(null!=t){if(null!=r)throw Error(n(60));if("object"!=typeof t||!("__html"in t))throw Error(n(61));null!=(t=t.__html)&&e.push(M(""+t))}}var Ge=L(' selected=""'),Ye=L('addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'React form unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});');function Xe(e,t){!(16&e.instructions)&&(e.instructions|=16,t.bootstrapChunks.unshift(t.startInlineScript,Ye,le))}var Ke=L("\x3c!--F!--\x3e"),Qe=L("\x3c!--F--\x3e");function Je(e,t){for(var r in e.push(ct("link")),t)if($.call(t,r)){var o=t[r];if(null!=o)switch(r){case"children":case"dangerouslySetInnerHTML":throw Error(n(399,"link"));default:Ve(e,r,o)}}return e.push(Ue),null}var Ze=/(<\/|<)(s)(tyle)/gi;function et(e,t,n,r){return t+("s"===n?"\\73 ":"\\53 ")+r}function tt(e,t,r){for(var o in e.push(ct(r)),t)if($.call(t,o)){var a=t[o];if(null!=a)switch(o){case"children":case"dangerouslySetInnerHTML":throw Error(n(399,r));default:Ve(e,o,a)}}return e.push(Ue),null}function nt(e,t){e.push(ct("title"));var n,r=null,o=null;for(n in t)if($.call(t,n)){var a=t[n];if(null!=a)switch(n){case"children":r=a;break;case"dangerouslySetInnerHTML":o=a;break;default:Ve(e,n,a)}}return e.push(He),"function"!=typeof(t=Array.isArray(r)?2>r.length?r[0]:null:r)&&"symbol"!=typeof t&&null!=t&&e.push(M(K(""+t))),qe(e,o,r),e.push(ft("title")),null}function rt(e,t){e.push(ct("script"));var n,r=null,o=null;for(n in t)if($.call(t,n)){var a=t[n];if(null!=a)switch(n){case"children":r=a;break;case"dangerouslySetInnerHTML":o=a;break;default:Ve(e,n,a)}}return e.push(He),qe(e,o,r),"string"==typeof r&&e.push(M((""+r).replace(he,ge))),e.push(ft("script")),null}function ot(e,t,n){e.push(ct(n));var r,o=n=null;for(r in t)if($.call(t,r)){var a=t[r];if(null!=a)switch(r){case"children":n=a;break;case"dangerouslySetInnerHTML":o=a;break;default:Ve(e,r,a)}}return e.push(He),qe(e,o,n),n}function at(e,t,n){e.push(ct(n));var r,o=n=null;for(r in t)if($.call(t,r)){var a=t[r];if(null!=a)switch(r){case"children":n=a;break;case"dangerouslySetInnerHTML":o=a;break;default:Ve(e,r,a)}}return e.push(He),qe(e,o,n),"string"==typeof n?(e.push(M(K(n))),null):n}var it=L("\n"),lt=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,st=new Map;function ct(e){var t=st.get(e);if(void 0===t){if(!lt.test(e))throw Error(n(65,e));t=L("<"+e),st.set(e,t)}return t}var ut=L("<!DOCTYPE html>");var dt=new Map;function ft(e){var t=dt.get(e);return void 0===t&&(t=L("</"+e+">"),dt.set(e,t)),t}function pt(e,t){null===(e=e.preamble).htmlChunks&&t.htmlChunks&&(e.htmlChunks=t.htmlChunks,t.contribution|=1),null===e.headChunks&&t.headChunks&&(e.headChunks=t.headChunks,t.contribution|=4),null===e.bodyChunks&&t.bodyChunks&&(e.bodyChunks=t.bodyChunks,t.contribution|=2)}function ht(e,t){t=t.bootstrapChunks;for(var n=0;n<t.length-1;n++)A(e,t[n]);return!(n<t.length)||(n=t[n],t.length=0,D(e,n))}var gt=L('<template id="'),mt=L('"></template>'),bt=L("\x3c!--$--\x3e"),vt=L('\x3c!--$?--\x3e<template id="'),yt=L('"></template>'),xt=L("\x3c!--$!--\x3e"),kt=L("\x3c!--/$--\x3e"),St=L("<template"),wt=L('"'),_t=L(' data-dgst="');L(' data-msg="'),L(' data-stck="'),L(' data-cstck="');var Ct=L("></template>");function Et(e,t,r){if(A(e,vt),null===r)throw Error(n(395));return A(e,t.boundaryPrefix),A(e,M(r.toString(16))),D(e,yt)}var Pt=L("\x3c!--"),zt=L("--\x3e");function Tt(e,t){0!==(t=t.contribution)&&(A(e,Pt),A(e,M(""+t)),A(e,zt))}var Rt=L('<div hidden id="'),It=L('">'),Ot=L("</div>"),At=L('<svg aria-hidden="true" style="display:none" id="'),Dt=L('">'),Nt=L("</svg>"),Ft=L('<math aria-hidden="true" style="display:none" id="'),jt=L('">'),Mt=L("</math>"),Lt=L('<table hidden id="'),Wt=L('">'),Bt=L("</table>"),$t=L('<table hidden><tbody id="'),Vt=L('">'),Ht=L("</tbody></table>"),Ut=L('<table hidden><tr id="'),qt=L('">'),Gt=L("</tr></table>"),Yt=L('<table hidden><colgroup id="'),Xt=L('">'),Kt=L("</colgroup></table>"),Qt=L('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),Jt=L('$RS("'),Zt=L('","'),en=L('")<\/script>');L('<template data-rsi="" data-sid="'),L('" data-pid="');var tn=L('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RC("'),nn=L('$RC("'),rn=L('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RM=new Map;\n$RR=function(t,u,y){function v(n){this._p=null;n()}for(var w=$RC,p=$RM,q=new Map,r=document,g,b,h=r.querySelectorAll("link[data-precedence],style[data-precedence]"),x=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?x.push(b):("LINK"===b.tagName&&p.set(b.getAttribute("href"),b),q.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var e=y[b++];if(!e){k=!1;b=0;continue}var c=!1,m=0;var d=e[m++];if(a=p.get(d)){var f=a._p;c=!0}else{a=r.createElement("link");a.href=\nd;a.rel="stylesheet";for(a.dataset.precedence=l=e[m++];f=e[m++];)a.setAttribute(f,e[m++]);f=a._p=new Promise(function(n,z){a.onload=v.bind(a,n);a.onerror=v.bind(a,z)});p.set(d,a)}d=a.getAttribute("media");!f||d&&!matchMedia(d).matches||h.push(f);if(c)continue}else{a=x[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=q.get(l)||g;c===g&&(g=a);q.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=r.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(w.bind(null,\nt,u,""),w.bind(null,t,u,"Resource failed to load"))};$RR("'),on=L('$RM=new Map;\n$RR=function(t,u,y){function v(n){this._p=null;n()}for(var w=$RC,p=$RM,q=new Map,r=document,g,b,h=r.querySelectorAll("link[data-precedence],style[data-precedence]"),x=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?x.push(b):("LINK"===b.tagName&&p.set(b.getAttribute("href"),b),q.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var e=y[b++];if(!e){k=!1;b=0;continue}var c=!1,m=0;var d=e[m++];if(a=p.get(d)){var f=a._p;c=!0}else{a=r.createElement("link");a.href=\nd;a.rel="stylesheet";for(a.dataset.precedence=l=e[m++];f=e[m++];)a.setAttribute(f,e[m++]);f=a._p=new Promise(function(n,z){a.onload=v.bind(a,n);a.onerror=v.bind(a,z)});p.set(d,a)}d=a.getAttribute("media");!f||d&&!matchMedia(d).matches||h.push(f);if(c)continue}else{a=x[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=q.get(l)||g;c===g&&(g=a);q.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=r.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(w.bind(null,\nt,u,""),w.bind(null,t,u,"Resource failed to load"))};$RR("'),an=L('$RR("'),ln=L('","'),sn=L('",'),cn=L('"'),un=L(")<\/script>");L('<template data-rci="" data-bid="'),L('<template data-rri="" data-bid="'),L('" data-sid="'),L('" data-sty="');var dn=L('$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("'),fn=L('$RX("'),pn=L('"'),hn=L(","),gn=L(")<\/script>");L('<template data-rxi="" data-bid="'),L('" data-dgst="'),L('" data-msg="'),L('" data-stck="'),L('" data-cstck="');var mn=/[<\u2028\u2029]/g;function bn(e){return JSON.stringify(e).replace(mn,function(e){switch(e){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var vn=/[&><\u2028\u2029]/g;function yn(e){return JSON.stringify(e).replace(vn,function(e){switch(e){case"&":return"\\u0026";case">":return"\\u003e";case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var xn=L('<style media="not all" data-precedence="'),kn=L('" data-href="'),Sn=L('">'),wn=L("</style>"),_n=!1,Cn=!0;function En(e){var t=e.rules,n=e.hrefs,r=0;if(n.length){for(A(this,xn),A(this,e.precedence),A(this,kn);r<n.length-1;r++)A(this,n[r]),A(this,Dn);for(A(this,n[r]),A(this,Sn),r=0;r<t.length;r++)A(this,t[r]);Cn=D(this,wn),_n=!0,t.length=0,n.length=0}}function Pn(e){return 2!==e.state&&(_n=!0)}function zn(e,t,n){return _n=!1,Cn=!0,t.styles.forEach(En,e),t.stylesheets.forEach(Pn),_n&&(n.stylesToHoist=!0),Cn}function Tn(e){for(var t=0;t<e.length;t++)A(this,e[t]);e.length=0}var Rn=[];function In(e){Je(Rn,e.props);for(var t=0;t<Rn.length;t++)A(this,Rn[t]);Rn.length=0,e.state=2}var On=L('<style data-precedence="'),An=L('" data-href="'),Dn=L(" "),Nn=L('">'),Fn=L("</style>");function jn(e){var t=0<e.sheets.size;e.sheets.forEach(In,this),e.sheets.clear();var n=e.rules,r=e.hrefs;if(!t||r.length){if(A(this,On),A(this,e.precedence),e=0,r.length){for(A(this,An);e<r.length-1;e++)A(this,r[e]),A(this,Dn);A(this,r[e])}for(A(this,Nn),e=0;e<n.length;e++)A(this,n[e]);A(this,Fn),n.length=0,r.length=0}}function Mn(e){if(0===e.state){e.state=1;var t=e.props;for(Je(Rn,{rel:"preload",as:"style",href:e.props.href,crossOrigin:t.crossOrigin,fetchPriority:t.fetchPriority,integrity:t.integrity,media:t.media,hrefLang:t.hrefLang,referrerPolicy:t.referrerPolicy}),e=0;e<Rn.length;e++)A(this,Rn[e]);Rn.length=0}}function Ln(e){e.sheets.forEach(Mn,this),e.sheets.clear()}var Wn=L("["),Bn=L(",["),$n=L(","),Vn=L("]");function Hn(e,t,n){var r=t.toLowerCase();switch(typeof n){case"function":case"symbol":return}switch(t){case"innerHTML":case"dangerouslySetInnerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"style":case"ref":return;case"className":r="class",t=""+n;break;case"hidden":if(!1===n)return;t="";break;case"src":case"href":t=""+(n=ee(n));break;default:if(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])||!q(t))return;t=""+n}A(e,$n),A(e,M(yn(r))),A(e,$n),A(e,M(yn(t)))}function Un(){return{styles:new Set,stylesheets:new Set}}function qn(e,t){null==e.crossOrigin&&(e.crossOrigin=t[0]),null==e.integrity&&(e.integrity=t[1])}function Gn(e,t,n){for(var r in t="<"+(e=(""+e).replace(Yn,Xn))+'>; rel=preload; as="'+(t=(""+t).replace(Kn,Qn))+'"',n)$.call(n,r)&&"string"==typeof(e=n[r])&&(t+="; "+r.toLowerCase()+'="'+(""+e).replace(Kn,Qn)+'"');return t}var Yn=/[<>\r\n]/g;function Xn(e){switch(e){case"<":return"%3C";case">":return"%3E";case"\n":return"%0A";case"\r":return"%0D";default:throw Error("escapeLinkHrefForHeaderContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}var Kn=/["';,\r\n]/g;function Qn(e){switch(e){case'"':return"%22";case"'":return"%27";case";":return"%3B";case",":return"%2C";case"\n":return"%0A";case"\r":return"%0D";default:throw Error("escapeStringForLinkHeaderQuotedParamValueContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}function Jn(e){this.styles.add(e)}function Zn(e){this.stylesheets.add(e)}var er=Function.prototype.bind,tr=Symbol.for("react.client.reference");function nr(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===tr?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case a:return"Fragment";case l:return"Profiler";case i:return"StrictMode";case f:return"Suspense";case p:return"SuspenseList";case b:return"Activity"}if("object"==typeof e)switch(e.$$typeof){case o:return"Portal";case u:return(e.displayName||"Context")+".Provider";case c:return(e._context.displayName||"Context")+".Consumer";case d:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case h:return null!==(t=e.displayName||null)?t:nr(e.type)||"Memo";case g:t=e._payload,e=e._init;try{return nr(e(t))}catch(n){}}return null}var rr={},or=null;function ar(e,t){if(e!==t){e.context._currentValue=e.parentValue,e=e.parent;var r=t.parent;if(null===e){if(null!==r)throw Error(n(401))}else{if(null===r)throw Error(n(401));ar(e,r)}t.context._currentValue=t.value}}function ir(e){e.context._currentValue=e.parentValue,null!==(e=e.parent)&&ir(e)}function lr(e){var t=e.parent;null!==t&&lr(t),e.context._currentValue=e.value}function sr(e,t){if(e.context._currentValue=e.parentValue,null===(e=e.parent))throw Error(n(402));e.depth===t.depth?ar(e,t):sr(e,t)}function cr(e,t){var r=t.parent;if(null===r)throw Error(n(402));e.depth===r.depth?ar(e,r):cr(e,r),t.context._currentValue=t.value}function ur(e){var t=or;t!==e&&(null===t?lr(e):null===e?ir(t):t.depth===e.depth?ar(t,e):t.depth>e.depth?sr(t,e):cr(t,e),or=e)}var dr={enqueueSetState:function(e,t){null!==(e=e._reactInternals).queue&&e.queue.push(t)},enqueueReplaceState:function(e,t){(e=e._reactInternals).replace=!0,e.queue=[t]},enqueueForceUpdate:function(){}},fr={id:1,overflow:""};function pr(e,t,n){var r=e.id;e=e.overflow;var o=32-hr(r)-1;r&=~(1<<o),n+=1;var a=32-hr(t)+o;if(30<a){var i=o-o%5;return a=(r&(1<<i)-1).toString(32),r>>=i,o-=i,{id:1<<32-hr(t)+o|n<<o|r,overflow:a+e}}return{id:1<<a|n<<o|r,overflow:e}}var hr=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(gr(e)/mr|0)|0},gr=Math.log,mr=Math.LN2,br=Error(n(460));function vr(){}var yr=null;function xr(){if(null===yr)throw Error(n(459));var e=yr;return yr=null,e}var kr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Sr=null,wr=null,_r=null,Cr=null,Er=null,Pr=null,zr=!1,Tr=!1,Rr=0,Ir=0,Or=-1,Ar=0,Dr=null,Nr=null,Fr=0;function jr(){if(null===Sr)throw Error(n(321));return Sr}function Mr(){if(0<Fr)throw Error(n(312));return{memoizedState:null,queue:null,next:null}}function Lr(){return null===Pr?null===Er?(zr=!1,Er=Pr=Mr()):(zr=!0,Pr=Er):null===Pr.next?(zr=!1,Pr=Pr.next=Mr()):(zr=!0,Pr=Pr.next),Pr}function Wr(){var e=Dr;return Dr=null,e}function Br(){Cr=_r=wr=Sr=null,Tr=!1,Er=null,Fr=0,Pr=Nr=null}function $r(e,t){return"function"==typeof t?t(e):t}function Vr(e,t,n){if(Sr=jr(),Pr=Lr(),zr){var r=Pr.queue;if(t=r.dispatch,null!==Nr&&void 0!==(n=Nr.get(r))){Nr.delete(r),r=Pr.memoizedState;do{r=e(r,n.action),n=n.next}while(null!==n);return Pr.memoizedState=r,[r,t]}return[Pr.memoizedState,t]}return e=e===$r?"function"==typeof t?t():t:void 0!==n?n(t):t,Pr.memoizedState=e,e=(e=Pr.queue={last:null,dispatch:null}).dispatch=Ur.bind(null,Sr,e),[Pr.memoizedState,e]}function Hr(e,t){if(Sr=jr(),t=void 0===t?null:t,null!==(Pr=Lr())){var n=Pr.memoizedState;if(null!==n&&null!==t){var r=n[1];e:if(null===r)r=!1;else{for(var o=0;o<r.length&&o<t.length;o++)if(!kr(t[o],r[o])){r=!1;break e}r=!0}if(r)return n[0]}}return e=e(),Pr.memoizedState=[e,t],e}function Ur(e,t,r){if(25<=Fr)throw Error(n(301));if(e===Sr)if(Tr=!0,e={action:r,next:null},null===Nr&&(Nr=new Map),void 0===(r=Nr.get(t)))Nr.set(t,e);else{for(t=r;null!==t.next;)t=t.next;t.next=e}}function qr(){throw Error(n(394))}function Gr(){throw Error(n(479))}function Yr(e,t,n){jr();var r=Ir++,o=_r;if("function"==typeof e.$$FORM_ACTION){var a=null,i=Cr;o=o.formState;var l=e.$$IS_SIGNATURE_EQUAL;if(null!==o&&"function"==typeof l){var s=o[1];l.call(e,o[2],o[3])&&s===(a=void 0!==n?"p"+n:"k"+_(JSON.stringify([i,null,r]),0))&&(Or=r,t=o[0])}var c=e.bind(null,t);return e=function(e){c(e)},"function"==typeof c.$$FORM_ACTION&&(e.$$FORM_ACTION=function(e){e=c.$$FORM_ACTION(e),void 0!==n&&(n+="",e.action=n);var t=e.data;return t&&(null===a&&(a=void 0!==n?"p"+n:"k"+_(JSON.stringify([i,null,r]),0)),t.append("$ACTION_KEY",a)),e}),[t,e,!1]}var u=e.bind(null,t);return[t,function(e){u(e)},!1]}function Xr(e){var t=Ar;return Ar+=1,null===Dr&&(Dr=[]),function(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(vr,vr),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch("string"==typeof t.status?t.then(vr,vr):((e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}throw yr=t,br}}(Dr,e,t)}function Kr(){throw Error(n(393))}function Qr(){}var Jr,Zr,eo={readContext:function(e){return e._currentValue},use:function(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return Xr(e);if(e.$$typeof===u)return e._currentValue}throw Error(n(438,String(e)))},useContext:function(e){return jr(),e._currentValue},useMemo:Hr,useReducer:Vr,useRef:function(e){Sr=jr();var t=(Pr=Lr()).memoizedState;return null===t?(e={current:e},Pr.memoizedState=e):t},useState:function(e){return Vr($r,e)},useInsertionEffect:Qr,useLayoutEffect:Qr,useCallback:function(e,t){return Hr(function(){return e},t)},useImperativeHandle:Qr,useEffect:Qr,useDebugValue:Qr,useDeferredValue:function(e,t){return jr(),void 0!==t?t:e},useTransition:function(){return jr(),[!1,qr]},useId:function(){var e=wr.treeContext,t=e.overflow;e=((e=e.id)&~(1<<32-hr(e)-1)).toString(32)+t;var r=to;if(null===r)throw Error(n(404));return t=Rr++,e="«"+r.idPrefix+"R"+e,0<t&&(e+="H"+t.toString(32)),e+"»"},useSyncExternalStore:function(e,t,r){if(void 0===r)throw Error(n(407));return r()},useOptimistic:function(e){return jr(),[e,Gr]},useActionState:Yr,useFormState:Yr,useHostTransitionStatus:function(){return jr(),re},useMemoCache:function(e){for(var t=Array(e),n=0;n<e;n++)t[n]=x;return t},useCacheRefresh:function(){return Kr}},to=null,no={getCacheForType:function(){throw Error(n(248))}};function ro(e){if(void 0===Jr)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Jr=t&&t[1]||"",Zr=-1<n.stack.indexOf("\n at")?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+Jr+e+Zr}var oo=!1;function ao(e,t){if(!e||oo)return"";oo=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(o){var r=o}Reflect.construct(e,[],n)}else{try{n.call()}catch(a){r=a}e.call(n.prototype)}}else{try{throw Error()}catch(i){r=i}(n=e())&&"function"==typeof n.catch&&n.catch(function(){})}}catch(l){if(l&&r&&"string"==typeof l.stack)return[l.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var a=r.DetermineComponentFrameRoot(),i=a[0],l=a[1];if(i&&l){var s=i.split("\n"),c=l.split("\n");for(o=r=0;r<s.length&&!s[r].includes("DetermineComponentFrameRoot");)r++;for(;o<c.length&&!c[o].includes("DetermineComponentFrameRoot");)o++;if(r===s.length||o===c.length)for(r=s.length-1,o=c.length-1;1<=r&&0<=o&&s[r]!==c[o];)o--;for(;1<=r&&0<=o;r--,o--)if(s[r]!==c[o]){if(1!==r||1!==o)do{if(r--,0>--o||s[r]!==c[o]){var u="\n"+s[r].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}}while(1<=r&&0<=o);break}}}finally{oo=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?ro(n):""}function io(e){if("string"==typeof e)return ro(e);if("function"==typeof e)return e.prototype&&e.prototype.isReactComponent?ao(e,!0):ao(e,!1);if("object"==typeof e&&null!==e){switch(e.$$typeof){case d:return ao(e.render,!1);case h:return ao(e.type,!1);case g:var t=e,n=t._payload;t=t._init;try{e=t(n)}catch(r){return ro("Lazy")}return io(e)}if("string"==typeof e.name)return n=e.env,ro(e.name+(n?" ["+n+"]":""))}switch(e){case p:return ro("SuspenseList");case f:return ro("Suspense")}return""}function lo(e){if("object"==typeof e&&null!==e&&"string"==typeof e.environmentName){var t=e.environmentName;"string"==typeof(e=[e].slice(0))[0]?e.splice(0,1,"%c%s%c "+e[0],"background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px"," "+t+" ",""):e.splice(0,0,"%c%s%c ","background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px"," "+t+" ",""),e.unshift(console),(t=er.apply(console.error,e))()}return null}function so(){}function co(e,t,n,r,o,a,i,l,s,c,u){var d=new Set;this.destination=null,this.flushScheduled=!1,this.resumableState=e,this.renderState=t,this.rootFormatContext=n,this.progressiveChunkSize=void 0===r?12800:r,this.status=10,this.fatalError=null,this.pendingRootTasks=this.allPendingTasks=this.nextSegmentId=0,this.completedPreambleSegments=this.completedRootSegment=null,this.abortableTasks=d,this.pingedTasks=[],this.clientRenderedBoundaries=[],this.completedBoundaries=[],this.partialBoundaries=[],this.trackedPostpones=null,this.onError=void 0===o?lo:o,this.onPostpone=void 0===c?so:c,this.onAllReady=void 0===a?so:a,this.onShellReady=void 0===i?so:i,this.onShellError=void 0===l?so:l,this.onFatalError=void 0===s?so:s,this.formState=void 0===u?null:u}function uo(e,t,n,r,o,a,i,l,s,c,u,d){return(n=bo(t=new co(t,n,r,o,a,i,l,s,c,u,d),0,null,r,!1,!1)).parentFlushed=!0,vo(e=go(t,null,e,-1,null,n,null,null,t.abortableTasks,null,r,null,fr,null,!1)),t.pingedTasks.push(e),t}var fo=null;function po(e,t){e.pingedTasks.push(t),1===e.pingedTasks.length&&(e.flushScheduled=null!==e.destination,null!==e.trackedPostpones||10===e.status?R(function(){return Bo(e)}):P(function(){return Bo(e)}))}function ho(e,t,n,r){return{status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,completedSegments:[],byteSize:0,fallbackAbortableTasks:t,errorDigest:null,contentState:Un(),fallbackState:Un(),contentPreamble:n,fallbackPreamble:r,trackedContentKeyPath:null,trackedFallbackNode:null}}function go(e,t,n,r,o,a,i,l,s,c,u,d,f,p,h){e.allPendingTasks++,null===o?e.pendingRootTasks++:o.pendingTasks++;var g={replay:null,node:n,childIndex:r,ping:function(){return po(e,g)},blockedBoundary:o,blockedSegment:a,blockedPreamble:i,hoistableState:l,abortSet:s,keyPath:c,formatContext:u,context:d,treeContext:f,componentStack:p,thenableState:t,isFallback:h};return s.add(g),g}function mo(e,t,n,r,o,a,i,l,s,c,u,d,f,p){e.allPendingTasks++,null===a?e.pendingRootTasks++:a.pendingTasks++,n.pendingTasks++;var h={replay:n,node:r,childIndex:o,ping:function(){return po(e,h)},blockedBoundary:a,blockedSegment:null,blockedPreamble:null,hoistableState:i,abortSet:l,keyPath:s,formatContext:c,context:u,treeContext:d,componentStack:f,thenableState:t,isFallback:p};return l.add(h),h}function bo(e,t,n,r,o,a){return{status:0,parentFlushed:!1,id:-1,index:t,chunks:[],children:[],preambleChildren:[],parentFormatContext:r,boundary:n,lastPushedText:o,textEmbedded:a}}function vo(e){var t=e.node;"object"==typeof t&&null!==t&&t.$$typeof===r&&(e.componentStack={parent:e.componentStack,type:t.type})}function yo(e){var t={};return e&&Object.defineProperty(t,"componentStack",{configurable:!0,enumerable:!0,get:function(){try{var n="",r=e;do{n+=io(r.type),r=r.parent}while(r);var o=n}catch(a){o="\nError generating stack: "+a.message+"\n"+a.stack}return Object.defineProperty(t,"componentStack",{value:o}),o}}),t}function xo(e,t,n){if(null==(t=(e=e.onError)(t,n))||"string"==typeof t)return t}function ko(e,t){var n=e.onShellError,r=e.onFatalError;n(t),r(t),null!==e.destination?(e.status=14,W(e.destination,t)):(e.status=13,e.fatalError=t)}function So(e,t,n,r,o,a){var i=t.thenableState;for(t.thenableState=null,Sr={},wr=t,_r=e,Cr=n,Ir=Rr=0,Or=-1,Ar=0,Dr=i,e=r(o,a);Tr;)Tr=!1,Ir=Rr=0,Or=-1,Ar=0,Fr+=1,Pr=null,e=r(o,a);return Br(),e}function wo(e,t,n,r,o,a,i){var l=!1;if(0!==a&&null!==e.formState){var s=t.blockedSegment;if(null!==s){l=!0,s=s.chunks;for(var c=0;c<a;c++)c===i?s.push(Ke):s.push(Qe)}}a=t.keyPath,t.keyPath=n,o?(n=t.treeContext,t.treeContext=pr(n,1,0),Oo(e,t,r,-1),t.treeContext=n):l?Oo(e,t,r,-1):Eo(e,t,r,-1),t.keyPath=a}function _o(t,r,o,v,x,S){if("function"==typeof v)if(v.prototype&&v.prototype.isReactComponent){var _=x;if("ref"in x)for(var C in _={},x)"ref"!==C&&(_[C]=x[C]);var E=v.defaultProps;if(E)for(var P in _===x&&(_=B({},_,x)),E)void 0===_[P]&&(_[P]=E[P]);x=_,_=rr,"object"==typeof(E=v.contextType)&&null!==E&&(_=E._currentValue);var z=void 0!==(_=new v(x,_)).state?_.state:null;if(_.updater=dr,_.props=x,_.state=z,E={queue:[],replace:!1},_._reactInternals=E,S=v.contextType,_.context="object"==typeof S&&null!==S?S._currentValue:rr,"function"==typeof(S=v.getDerivedStateFromProps)&&(z=null==(S=S(x,z))?z:B({},z,S),_.state=z),"function"!=typeof v.getDerivedStateFromProps&&"function"!=typeof _.getSnapshotBeforeUpdate&&("function"==typeof _.UNSAFE_componentWillMount||"function"==typeof _.componentWillMount))if(v=_.state,"function"==typeof _.componentWillMount&&_.componentWillMount(),"function"==typeof _.UNSAFE_componentWillMount&&_.UNSAFE_componentWillMount(),v!==_.state&&dr.enqueueReplaceState(_,_.state,null),null!==E.queue&&0<E.queue.length)if(v=E.queue,S=E.replace,E.queue=null,E.replace=!1,S&&1===v.length)_.state=v[0];else{for(E=S?v[0]:_.state,z=!0,S=S?1:0;S<v.length;S++)null!=(P="function"==typeof(P=v[S])?P.call(_,E,x,void 0):P)&&(z?(z=!1,E=B({},E,P)):B(E,P));_.state=E}else E.queue=null;if(v=_.render(),12===t.status)throw null;x=r.keyPath,r.keyPath=o,Eo(t,r,v,-1),r.keyPath=x}else{if(v=So(t,r,o,v,x,void 0),12===t.status)throw null;wo(t,r,o,v,0!==Rr,Ir,Or)}else{if("string"!=typeof v){switch(v){case y:case i:case l:case a:return v=r.keyPath,r.keyPath=o,Eo(t,r,x.children,-1),void(r.keyPath=v);case b:return void("hidden"!==x.mode&&(v=r.keyPath,r.keyPath=o,Eo(t,r,x.children,-1),r.keyPath=v));case p:return v=r.keyPath,r.keyPath=o,Eo(t,r,x.children,-1),void(r.keyPath=v);case k:case m:throw Error(n(343));case f:e:if(null!==r.replay){v=r.keyPath,r.keyPath=o,o=x.children;try{Oo(t,r,o,-1)}finally{r.keyPath=v}}else{v=r.keyPath;var T=r.blockedBoundary;S=r.blockedPreamble;var R=r.hoistableState;P=r.blockedSegment,C=x.fallback,x=x.children;var I=new Set,O=2>r.formatContext.insertionMode?ho(0,I,{htmlChunks:null,headChunks:null,bodyChunks:null,contribution:0},{htmlChunks:null,headChunks:null,bodyChunks:null,contribution:0}):ho(0,I,null,null);null!==t.trackedPostpones&&(O.trackedContentKeyPath=o);var A=bo(0,P.chunks.length,O,r.formatContext,!1,!1);P.children.push(A),P.lastPushedText=!1;var D=bo(0,0,null,r.formatContext,!1,!1);if(D.parentFlushed=!0,null!==t.trackedPostpones){E=[(_=[o[0],"Suspense Fallback",o[2]])[1],_[2],[],null],t.trackedPostpones.workingMap.set(_,E),O.trackedFallbackNode=E,r.blockedSegment=A,r.blockedPreamble=O.fallbackPreamble,r.keyPath=_,A.status=6;try{Oo(t,r,C,-1),A.lastPushedText&&A.textEmbedded&&A.chunks.push(_e),A.status=1}catch(N){throw A.status=12===t.status?3:4,N}finally{r.blockedSegment=P,r.blockedPreamble=S,r.keyPath=v}vo(r=go(t,null,x,-1,O,D,O.contentPreamble,O.contentState,r.abortSet,o,r.formatContext,r.context,r.treeContext,r.componentStack,r.isFallback)),t.pingedTasks.push(r)}else{r.blockedBoundary=O,r.blockedPreamble=O.contentPreamble,r.hoistableState=O.contentState,r.blockedSegment=D,r.keyPath=o,D.status=6;try{if(Oo(t,r,x,-1),D.lastPushedText&&D.textEmbedded&&D.chunks.push(_e),D.status=1,Lo(O,D),0===O.pendingTasks&&0===O.status){O.status=1,0===t.pendingRootTasks&&r.blockedPreamble&&Ho(t);break e}}catch(F){O.status=4,12===t.status?(D.status=3,_=t.fatalError):(D.status=4,_=F),z=xo(t,_,E=yo(r.componentStack)),O.errorDigest=z,To(t,O)}finally{r.blockedBoundary=T,r.blockedPreamble=S,r.hoistableState=R,r.blockedSegment=P,r.keyPath=v}vo(r=go(t,null,C,-1,T,A,O.fallbackPreamble,O.fallbackState,I,[o[0],"Suspense Fallback",o[2]],r.formatContext,r.context,r.treeContext,r.componentStack,!0)),t.pingedTasks.push(r)}}return}if("object"==typeof v&&null!==v)switch(v.$$typeof){case d:if("ref"in x)for(O in _={},x)"ref"!==O&&(_[O]=x[O]);else _=x;return void wo(t,r,o,v=So(t,r,o,v.render,_,S),0!==Rr,Ir,Or);case h:return void _o(t,r,o,v.type,x,S);case s:case u:if(E=x.children,_=r.keyPath,x=x.value,z=v._currentValue,v._currentValue=x,or=v={parent:S=or,depth:null===S?0:S.depth+1,context:v,parentValue:z,value:x},r.context=v,r.keyPath=o,Eo(t,r,E,-1),null===(t=or))throw Error(n(403));return t.context._currentValue=t.parentValue,t=or=t.parent,r.context=t,void(r.keyPath=_);case c:return v=(x=x.children)(v._context._currentValue),x=r.keyPath,r.keyPath=o,Eo(t,r,v,-1),void(r.keyPath=x);case g:if(v=(_=v._init)(v._payload),12===t.status)throw null;return void _o(t,r,o,v,x,S)}throw Error(n(130,null==v?v:typeof v,""))}if(null===(_=r.blockedSegment))_=x.children,E=r.formatContext,z=r.keyPath,r.formatContext=we(E,v,x),r.keyPath=o,Oo(t,r,_,-1),r.formatContext=E,r.keyPath=z;else{S=function(t,r,o,a,i,l,s,c,u,d){switch(r){case"div":case"span":case"svg":case"path":case"g":case"p":case"li":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":break;case"a":t.push(ct("a"));var f,p=null,h=null;for(f in o)if($.call(o,f)){var g=o[f];if(null!=g)switch(f){case"children":p=g;break;case"dangerouslySetInnerHTML":h=g;break;case"href":""===g?Fe(t,"href",""):Ve(t,f,g);break;default:Ve(t,f,g)}}if(t.push(He),qe(t,h,p),"string"==typeof p){t.push(M(K(p)));var m=null}else m=p;return m;case"select":t.push(ct("select"));var b,v=null,y=null;for(b in o)if($.call(o,b)){var x=o[b];if(null!=x)switch(b){case"children":v=x;break;case"dangerouslySetInnerHTML":y=x;break;case"defaultValue":case"value":break;default:Ve(t,b,x)}}return t.push(He),qe(t,y,v),v;case"option":var k=c.selectedValue;t.push(ct("option"));var S,_=null,C=null,E=null,P=null;for(S in o)if($.call(o,S)){var z=o[S];if(null!=z)switch(S){case"children":_=z;break;case"selected":E=z;break;case"dangerouslySetInnerHTML":P=z;break;case"value":C=z;default:Ve(t,S,z)}}if(null!=k){var T=null!==C?""+C:function(t){var n="";return e.Children.forEach(t,function(e){null!=e&&(n+=e)}),n}(_);if(w(k)){for(var R=0;R<k.length;R++)if(""+k[R]===T){t.push(Ge);break}}else""+k===T&&t.push(Ge)}else E&&t.push(Ge);return t.push(He),qe(t,P,_),_;case"textarea":t.push(ct("textarea"));var I,O=null,A=null,D=null;for(I in o)if($.call(o,I)){var N=o[I];if(null!=N)switch(I){case"children":D=N;break;case"value":O=N;break;case"defaultValue":A=N;break;case"dangerouslySetInnerHTML":throw Error(n(91));default:Ve(t,I,N)}}if(null===O&&null!==A&&(O=A),t.push(He),null!=D){if(null!=O)throw Error(n(92));if(w(D)){if(1<D.length)throw Error(n(93));O=""+D[0]}O=""+D}return"string"==typeof O&&"\n"===O[0]&&t.push(it),null!==O&&t.push(M(K(""+O))),null;case"input":t.push(ct("input"));var F,j=null,L=null,W=null,V=null,H=null,U=null,G=null,Y=null,X=null;for(F in o)if($.call(o,F)){var Q=o[F];if(null!=Q)switch(F){case"children":case"dangerouslySetInnerHTML":throw Error(n(399,"input"));case"name":j=Q;break;case"formAction":L=Q;break;case"formEncType":W=Q;break;case"formMethod":V=Q;break;case"formTarget":H=Q;break;case"defaultChecked":X=Q;break;case"defaultValue":G=Q;break;case"checked":Y=Q;break;case"value":U=Q;break;default:Ve(t,F,Q)}}var J=$e(t,a,i,L,W,V,H,j);return null!==Y?Ne(t,"checked",Y):null!==X&&Ne(t,"checked",X),null!==U?Ve(t,"value",U):null!==G&&Ve(t,"value",G),t.push(Ue),null!=J&&J.forEach(Le,t),null;case"button":t.push(ct("button"));var Z,te=null,ne=null,re=null,oe=null,ie=null,le=null,se=null;for(Z in o)if($.call(o,Z)){var ce=o[Z];if(null!=ce)switch(Z){case"children":te=ce;break;case"dangerouslySetInnerHTML":ne=ce;break;case"name":re=ce;break;case"formAction":oe=ce;break;case"formEncType":ie=ce;break;case"formMethod":le=ce;break;case"formTarget":se=ce;break;default:Ve(t,Z,ce)}}var ue=$e(t,a,i,oe,ie,le,se,re);if(t.push(He),null!=ue&&ue.forEach(Le,t),qe(t,ne,te),"string"==typeof te){t.push(M(K(te)));var de=null}else de=te;return de;case"form":t.push(ct("form"));var fe,pe=null,he=null,ge=null,me=null,be=null,ve=null;for(fe in o)if($.call(o,fe)){var ye=o[fe];if(null!=ye)switch(fe){case"children":pe=ye;break;case"dangerouslySetInnerHTML":he=ye;break;case"action":ge=ye;break;case"encType":me=ye;break;case"method":be=ye;break;case"target":ve=ye;break;default:Ve(t,fe,ye)}}var xe=null,ke=null;if("function"==typeof ge){var Se=Be(a,ge);null!==Se?(ge=Se.action||"",me=Se.encType,be=Se.method,ve=Se.target,xe=Se.data,ke=Se.name):(t.push(Ie,M("action"),Oe,je,Ae),ve=be=me=ge=null,Xe(a,i))}if(null!=ge&&Ve(t,"action",ge),null!=me&&Ve(t,"encType",me),null!=be&&Ve(t,"method",be),null!=ve&&Ve(t,"target",ve),t.push(He),null!==ke&&(t.push(Me),Fe(t,"name",ke),t.push(Ue),null!=xe&&xe.forEach(Le,t)),qe(t,he,pe),"string"==typeof pe){t.push(M(K(pe)));var we=null}else we=pe;return we;case"menuitem":for(var Ce in t.push(ct("menuitem")),o)if($.call(o,Ce)){var Ee=o[Ce];if(null!=Ee)switch(Ce){case"children":case"dangerouslySetInnerHTML":throw Error(n(400));default:Ve(t,Ce,Ee)}}return t.push(He),null;case"object":t.push(ct("object"));var Pe,ze=null,Te=null;for(Pe in o)if($.call(o,Pe)){var De=o[Pe];if(null!=De)switch(Pe){case"children":ze=De;break;case"dangerouslySetInnerHTML":Te=De;break;case"data":var We=ee(""+De);if(""===We)break;t.push(Ie,M("data"),Oe,M(K(We)),Ae);break;default:Ve(t,Pe,De)}}if(t.push(He),qe(t,Te,ze),"string"==typeof ze){t.push(M(K(ze)));var Ye=null}else Ye=ze;return Ye;case"title":if(4===c.insertionMode||1&c.tagScope||null!=o.itemProp)var Ke=nt(t,o);else d?Ke=null:(nt(i.hoistableChunks,o),Ke=void 0);return Ke;case"link":var Qe=o.rel,lt=o.href,st=o.precedence;if(4===c.insertionMode||1&c.tagScope||null!=o.itemProp||"string"!=typeof Qe||"string"!=typeof lt||""===lt){Je(t,o);var dt=null}else if("stylesheet"===o.rel)if("string"!=typeof st||null!=o.disabled||o.onLoad||o.onError)dt=Je(t,o);else{var pt=i.styles.get(st),ht=a.styleResources.hasOwnProperty(lt)?a.styleResources[lt]:void 0;if(null!==ht){a.styleResources[lt]=null,pt||(pt={precedence:M(K(st)),rules:[],hrefs:[],sheets:new Map},i.styles.set(st,pt));var gt={state:0,props:B({},o,{"data-precedence":o.precedence,precedence:null})};if(ht){2===ht.length&&qn(gt.props,ht);var mt=i.preloads.stylesheets.get(lt);mt&&0<mt.length?mt.length=0:gt.state=1}pt.sheets.set(lt,gt),s&&s.stylesheets.add(gt)}else if(pt){var bt=pt.sheets.get(lt);bt&&s&&s.stylesheets.add(bt)}u&&t.push(_e),dt=null}else o.onLoad||o.onError?dt=Je(t,o):(u&&t.push(_e),dt=d?null:Je(i.hoistableChunks,o));return dt;case"script":var vt=o.async;if("string"!=typeof o.src||!o.src||!vt||"function"==typeof vt||"symbol"==typeof vt||o.onLoad||o.onError||4===c.insertionMode||1&c.tagScope||null!=o.itemProp)var yt=rt(t,o);else{var xt=o.src;if("module"===o.type)var kt=a.moduleScriptResources,St=i.preloads.moduleScripts;else kt=a.scriptResources,St=i.preloads.scripts;var wt=kt.hasOwnProperty(xt)?kt[xt]:void 0;if(null!==wt){kt[xt]=null;var _t=o;if(wt){2===wt.length&&qn(_t=B({},o),wt);var Ct=St.get(xt);Ct&&(Ct.length=0)}var Et=[];i.scripts.add(Et),rt(Et,_t)}u&&t.push(_e),yt=null}return yt;case"style":var Pt=o.precedence,zt=o.href;if(4===c.insertionMode||1&c.tagScope||null!=o.itemProp||"string"!=typeof Pt||"string"!=typeof zt||""===zt){t.push(ct("style"));var Tt,Rt=null,It=null;for(Tt in o)if($.call(o,Tt)){var Ot=o[Tt];if(null!=Ot)switch(Tt){case"children":Rt=Ot;break;case"dangerouslySetInnerHTML":It=Ot;break;default:Ve(t,Tt,Ot)}}t.push(He);var At=Array.isArray(Rt)?2>Rt.length?Rt[0]:null:Rt;"function"!=typeof At&&"symbol"!=typeof At&&null!=At&&t.push(M((""+At).replace(Ze,et))),qe(t,It,Rt),t.push(ft("style"));var Dt=null}else{var Nt=i.styles.get(Pt);if(null!==(a.styleResources.hasOwnProperty(zt)?a.styleResources[zt]:void 0)){a.styleResources[zt]=null,Nt?Nt.hrefs.push(M(K(zt))):(Nt={precedence:M(K(Pt)),rules:[],hrefs:[M(K(zt))],sheets:new Map},i.styles.set(Pt,Nt));var Ft,jt=Nt.rules,Mt=null,Lt=null;for(Ft in o)if($.call(o,Ft)){var Wt=o[Ft];if(null!=Wt)switch(Ft){case"children":Mt=Wt;break;case"dangerouslySetInnerHTML":Lt=Wt}}var Bt=Array.isArray(Mt)?2>Mt.length?Mt[0]:null:Mt;"function"!=typeof Bt&&"symbol"!=typeof Bt&&null!=Bt&&jt.push(M((""+Bt).replace(Ze,et))),qe(jt,Lt,Mt)}Nt&&s&&s.styles.add(Nt),u&&t.push(_e),Dt=void 0}return Dt;case"meta":if(4===c.insertionMode||1&c.tagScope||null!=o.itemProp)var $t=tt(t,o,"meta");else u&&t.push(_e),$t=d?null:"string"==typeof o.charSet?tt(i.charsetChunks,o,"meta"):"viewport"===o.name?tt(i.viewportChunks,o,"meta"):tt(i.hoistableChunks,o,"meta");return $t;case"listing":case"pre":t.push(ct(r));var Vt,Ht=null,Ut=null;for(Vt in o)if($.call(o,Vt)){var qt=o[Vt];if(null!=qt)switch(Vt){case"children":Ht=qt;break;case"dangerouslySetInnerHTML":Ut=qt;break;default:Ve(t,Vt,qt)}}if(t.push(He),null!=Ut){if(null!=Ht)throw Error(n(60));if("object"!=typeof Ut||!("__html"in Ut))throw Error(n(61));var Gt=Ut.__html;null!=Gt&&("string"==typeof Gt&&0<Gt.length&&"\n"===Gt[0]?t.push(it,M(Gt)):t.push(M(""+Gt)))}return"string"==typeof Ht&&"\n"===Ht[0]&&t.push(it),Ht;case"img":var Yt=o.src,Xt=o.srcSet;if(!("lazy"===o.loading||!Yt&&!Xt||"string"!=typeof Yt&&null!=Yt||"string"!=typeof Xt&&null!=Xt)&&"low"!==o.fetchPriority&&0==!!(3&c.tagScope)&&("string"!=typeof Yt||":"!==Yt[4]||"d"!==Yt[0]&&"D"!==Yt[0]||"a"!==Yt[1]&&"A"!==Yt[1]||"t"!==Yt[2]&&"T"!==Yt[2]||"a"!==Yt[3]&&"A"!==Yt[3])&&("string"!=typeof Xt||":"!==Xt[4]||"d"!==Xt[0]&&"D"!==Xt[0]||"a"!==Xt[1]&&"A"!==Xt[1]||"t"!==Xt[2]&&"T"!==Xt[2]||"a"!==Xt[3]&&"A"!==Xt[3])){var Kt="string"==typeof o.sizes?o.sizes:void 0,Qt=Xt?Xt+"\n"+(Kt||""):Yt,Jt=i.preloads.images,Zt=Jt.get(Qt);if(Zt)("high"===o.fetchPriority||10>i.highImagePreloads.size)&&(Jt.delete(Qt),i.highImagePreloads.add(Zt));else if(!a.imageResources.hasOwnProperty(Qt)){a.imageResources[Qt]=ae;var en,tn=o.crossOrigin,nn="string"==typeof tn?"use-credentials"===tn?tn:"":void 0,rn=i.headers;rn&&0<rn.remainingCapacity&&"string"!=typeof o.srcSet&&("high"===o.fetchPriority||500>rn.highImagePreloads.length)&&(en=Gn(Yt,"image",{imageSrcSet:o.srcSet,imageSizes:o.sizes,crossOrigin:nn,integrity:o.integrity,nonce:o.nonce,type:o.type,fetchPriority:o.fetchPriority,referrerPolicy:o.refererPolicy}),0<=(rn.remainingCapacity-=en.length+2))?(i.resets.image[Qt]=ae,rn.highImagePreloads&&(rn.highImagePreloads+=", "),rn.highImagePreloads+=en):(Je(Zt=[],{rel:"preload",as:"image",href:Xt?void 0:Yt,imageSrcSet:Xt,imageSizes:Kt,crossOrigin:nn,integrity:o.integrity,type:o.type,fetchPriority:o.fetchPriority,referrerPolicy:o.referrerPolicy}),"high"===o.fetchPriority||10>i.highImagePreloads.size?i.highImagePreloads.add(Zt):(i.bulkPreloads.add(Zt),Jt.set(Qt,Zt)))}}return tt(t,o,"img");case"base":case"area":case"br":case"col":case"embed":case"hr":case"keygen":case"param":case"source":case"track":case"wbr":return tt(t,o,r);case"head":if(2>c.insertionMode){var on=l||i.preamble;if(on.headChunks)throw Error(n(545,"`<head>`"));on.headChunks=[];var an=ot(on.headChunks,o,"head")}else an=at(t,o,"head");return an;case"body":if(2>c.insertionMode){var ln=l||i.preamble;if(ln.bodyChunks)throw Error(n(545,"`<body>`"));ln.bodyChunks=[];var sn=ot(ln.bodyChunks,o,"body")}else sn=at(t,o,"body");return sn;case"html":if(0===c.insertionMode){var cn=l||i.preamble;if(cn.htmlChunks)throw Error(n(545,"`<html>`"));cn.htmlChunks=[ut];var un=ot(cn.htmlChunks,o,"html")}else un=at(t,o,"html");return un;default:if(-1!==r.indexOf("-")){t.push(ct(r));var dn,fn=null,pn=null;for(dn in o)if($.call(o,dn)){var hn=o[dn];if(null!=hn){var gn=dn;switch(dn){case"children":fn=hn;break;case"dangerouslySetInnerHTML":pn=hn;break;case"style":Re(t,hn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"className":gn="class";default:if(q(dn)&&"function"!=typeof hn&&"symbol"!=typeof hn&&!1!==hn){if(!0===hn)hn="";else if("object"==typeof hn)continue;t.push(Ie,M(gn),Oe,M(K(hn)),Ae)}}}}return t.push(He),qe(t,pn,fn),fn}}return at(t,o,r)}(_.chunks,v,x,t.resumableState,t.renderState,r.blockedPreamble,r.hoistableState,r.formatContext,_.lastPushedText,r.isFallback),_.lastPushedText=!1,E=r.formatContext,z=r.keyPath,r.keyPath=o,3===(r.formatContext=we(E,v,x)).insertionMode?(o=bo(0,0,null,r.formatContext,!1,!1),_.preambleChildren.push(o),vo(o=go(t,null,S,-1,r.blockedBoundary,o,r.blockedPreamble,r.hoistableState,t.abortableTasks,r.keyPath,r.formatContext,r.context,r.treeContext,r.componentStack,r.isFallback)),t.pingedTasks.push(o)):Oo(t,r,S,-1),r.formatContext=E,r.keyPath=z;e:{switch(r=_.chunks,t=t.resumableState,v){case"title":case"style":case"script":case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break e;case"body":if(1>=E.insertionMode){t.hasBody=!0;break e}break;case"html":if(0===E.insertionMode){t.hasHtml=!0;break e}break;case"head":if(1>=E.insertionMode)break e}r.push(ft(v))}_.lastPushedText=!1}}}function Co(e,t,n,r,o){var a=t.replay,i=t.blockedBoundary,l=bo(0,0,null,t.formatContext,!1,!1);l.id=n,l.parentFlushed=!0;try{t.replay=null,t.blockedSegment=l,Oo(e,t,r,o),l.status=1,null===i?e.completedRootSegment=l:(Lo(i,l),i.parentFlushed&&e.partialBoundaries.push(i))}finally{t.replay=a,t.blockedSegment=null}}function Eo(e,t,n,r){null!==t.replay&&"number"==typeof t.replay.slots?Co(e,t,t.replay.slots,n,r):(t.node=n,t.childIndex=r,n=t.componentStack,vo(t),Po(e,t),t.componentStack=n)}function Po(e,t){var a=t.node,i=t.childIndex;if(null!==a){if("object"==typeof a){switch(a.$$typeof){case r:var l=a.type,s=a.key,c=a.props,d=void 0!==(a=c.ref)?a:null,p=nr(l),h=null==s?-1===i?0:i:s;if(s=[t.keyPath,p,h],null!==t.replay)e:{var m=t.replay;for(i=m.nodes,a=0;a<i.length;a++){var b=i[a];if(h===b[1]){if(4===b.length){if(null!==p&&p!==b[0])throw Error(n(490,b[0],p));var v=b[2];p=b[3],h=t.node,t.replay={nodes:v,slots:p,pendingTasks:1};try{if(_o(e,t,s,l,c,d),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(n(488));t.replay.pendingTasks--}catch(z){if("object"==typeof z&&null!==z&&(z===br||"function"==typeof z.then))throw t.node===h&&(t.replay=m),z;t.replay.pendingTasks--,c=yo(t.componentStack),Do(e,s=t.blockedBoundary,v,p,l=z,c=xo(e,l,c))}t.replay=m}else{if(l!==f)throw Error(n(490,"Suspense",nr(l)||"Unknown"));t:{m=void 0,l=b[5],d=b[2],p=b[3],h=null===b[4]?[]:b[4][2],b=null===b[4]?null:b[4][3];var y=t.keyPath,x=t.replay,k=t.blockedBoundary,_=t.hoistableState,C=c.children,E=c.fallback,P=new Set;(c=2>t.formatContext.insertionMode?ho(0,P,xe(),xe()):ho(0,P,null,null)).parentFlushed=!0,c.rootSegmentID=l,t.blockedBoundary=c,t.hoistableState=c.contentState,t.keyPath=s,t.replay={nodes:d,slots:p,pendingTasks:1};try{if(Oo(e,t,C,-1),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(n(488));if(t.replay.pendingTasks--,0===c.pendingTasks&&0===c.status){c.status=1,e.completedBoundaries.push(c);break t}}catch(fx){c.status=4,m=xo(e,fx,v=yo(t.componentStack)),c.errorDigest=m,t.replay.pendingTasks--,e.clientRenderedBoundaries.push(c)}finally{t.blockedBoundary=k,t.hoistableState=_,t.replay=x,t.keyPath=y}vo(t=mo(e,null,{nodes:h,slots:b,pendingTasks:0},E,-1,k,c.fallbackState,P,[s[0],"Suspense Fallback",s[2]],t.formatContext,t.context,t.treeContext,t.componentStack,!0)),e.pingedTasks.push(t)}}i.splice(a,1);break e}}}else _o(e,t,s,l,c,d);return;case o:throw Error(n(257));case g:if(a=(v=a._init)(a._payload),12===e.status)throw null;return void Eo(e,t,a,i)}if(w(a))return void zo(e,t,a,i);if((v=null===a||"object"!=typeof a?null:"function"==typeof(v=S&&a[S]||a["@@iterator"])?v:null)&&(v=v.call(a))){if(!(a=v.next()).done){c=[];do{c.push(a.value),a=v.next()}while(!a.done);zo(e,t,c,i)}return}if("function"==typeof a.then)return t.thenableState=null,Eo(e,t,Xr(a),i);if(a.$$typeof===u)return Eo(e,t,a._currentValue,i);throw i=Object.prototype.toString.call(a),Error(n(31,"[object Object]"===i?"object with keys {"+Object.keys(a).join(", ")+"}":i))}"string"==typeof a?null!==(i=t.blockedSegment)&&(i.lastPushedText=Ce(i.chunks,a,e.renderState,i.lastPushedText)):"number"!=typeof a&&"bigint"!=typeof a||null!==(i=t.blockedSegment)&&(i.lastPushedText=Ce(i.chunks,""+a,e.renderState,i.lastPushedText))}}function zo(e,t,r,o){var a=t.keyPath;if(-1===o||(t.keyPath=[t.keyPath,"Fragment",o],null===t.replay)){if(i=t.treeContext,l=r.length,null!==t.replay&&null!==(s=t.replay.slots)&&"object"==typeof s){for(o=0;o<l;o++)c=r[o],t.treeContext=pr(i,l,o),"number"==typeof(u=s[o])?(Co(e,t,u,c,o),delete s[o]):Oo(e,t,c,o);return t.treeContext=i,void(t.keyPath=a)}for(s=0;s<l;s++)o=r[s],t.treeContext=pr(i,l,s),Oo(e,t,o,s);t.treeContext=i,t.keyPath=a}else{for(var i=t.replay,l=i.nodes,s=0;s<l.length;s++){var c=l[s];if(c[1]===o){o=c[2],c=c[3],t.replay={nodes:o,slots:c,pendingTasks:1};try{if(zo(e,t,r,-1),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(n(488));t.replay.pendingTasks--}catch(d){if("object"==typeof d&&null!==d&&(d===br||"function"==typeof d.then))throw d;t.replay.pendingTasks--,r=yo(t.componentStack);var u=t.blockedBoundary;Do(e,u,o,c,d,r=xo(e,d,r))}t.replay=i,l.splice(s,1);break}}t.keyPath=a}}function To(e,t){null!==(e=e.trackedPostpones)&&null!==(t=t.trackedContentKeyPath)&&void 0!==(t=e.workingMap.get(t))&&(t.length=4,t[2]=[],t[3]=null)}function Ro(e,t,n){return mo(e,n,t.replay,t.node,t.childIndex,t.blockedBoundary,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.componentStack,t.isFallback)}function Io(e,t,n){var r=t.blockedSegment,o=bo(0,r.chunks.length,null,t.formatContext,r.lastPushedText,!0);return r.children.push(o),r.lastPushedText=!1,go(e,n,t.node,t.childIndex,t.blockedBoundary,o,t.blockedPreamble,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.componentStack,t.isFallback)}function Oo(e,t,n,r){var o=t.formatContext,a=t.context,i=t.keyPath,l=t.treeContext,s=t.componentStack,c=t.blockedSegment;if(null===c)try{return Eo(e,t,n,r)}catch(f){if(Br(),"object"==typeof(n=f===br?xr():f)&&null!==n){if("function"==typeof n.then)return e=Ro(e,t,r=Wr()).ping,n.then(e,e),t.formatContext=o,t.context=a,t.keyPath=i,t.treeContext=l,t.componentStack=s,void ur(a);if("Maximum call stack size exceeded"===n.message)return n=Ro(e,t,n=Wr()),e.pingedTasks.push(n),t.formatContext=o,t.context=a,t.keyPath=i,t.treeContext=l,t.componentStack=s,void ur(a)}}else{var u=c.children.length,d=c.chunks.length;try{return Eo(e,t,n,r)}catch(p){if(Br(),c.children.length=u,c.chunks.length=d,"object"==typeof(n=p===br?xr():p)&&null!==n){if("function"==typeof n.then)return e=Io(e,t,r=Wr()).ping,n.then(e,e),t.formatContext=o,t.context=a,t.keyPath=i,t.treeContext=l,t.componentStack=s,void ur(a);if("Maximum call stack size exceeded"===n.message)return n=Io(e,t,n=Wr()),e.pingedTasks.push(n),t.formatContext=o,t.context=a,t.keyPath=i,t.treeContext=l,t.componentStack=s,void ur(a)}}}throw t.formatContext=o,t.context=a,t.keyPath=i,t.treeContext=l,ur(a),n}function Ao(e){var t=e.blockedBoundary;null!==(e=e.blockedSegment)&&(e.status=3,Wo(this,t,e))}function Do(e,t,r,o,a,i){for(var l=0;l<r.length;l++){var s=r[l];if(4===s.length)Do(e,t,s[2],s[3],a,i);else{s=s[5];var c=e,u=i,d=ho(0,new Set,null,null);d.parentFlushed=!0,d.rootSegmentID=s,d.status=4,d.errorDigest=u,d.parentFlushed&&c.clientRenderedBoundaries.push(d)}}if(r.length=0,null!==o){if(null===t)throw Error(n(487));if(4!==t.status&&(t.status=4,t.errorDigest=i,t.parentFlushed&&e.clientRenderedBoundaries.push(t)),"object"==typeof o)for(var f in o)delete o[f]}}function No(e,t,n){var r=e.blockedBoundary,o=e.blockedSegment;if(null!==o){if(6===o.status)return;o.status=3}if(o=yo(e.componentStack),null===r){if(13!==t.status&&14!==t.status){if(null===(r=e.replay))return xo(t,n,o),void ko(t,n);r.pendingTasks--,0===r.pendingTasks&&0<r.nodes.length&&(e=xo(t,n,o),Do(t,null,r.nodes,r.slots,n,e)),t.pendingRootTasks--,0===t.pendingRootTasks&&jo(t)}}else r.pendingTasks--,4!==r.status&&(r.status=4,e=xo(t,n,o),r.status=4,r.errorDigest=e,To(t,r),r.parentFlushed&&t.clientRenderedBoundaries.push(r)),r.fallbackAbortableTasks.forEach(function(e){return No(e,t,n)}),r.fallbackAbortableTasks.clear();t.allPendingTasks--,0===t.allPendingTasks&&Mo(t)}function Fo(e,t){try{var n=e.renderState,r=n.onHeaders;if(r){var o=n.headers;if(o){n.headers=null;var a=o.preconnects;if(o.fontPreloads&&(a&&(a+=", "),a+=o.fontPreloads),o.highImagePreloads&&(a&&(a+=", "),a+=o.highImagePreloads),!t){var i=n.styles.values(),l=i.next();e:for(;0<o.remainingCapacity&&!l.done;l=i.next())for(var s=l.value.sheets.values(),c=s.next();0<o.remainingCapacity&&!c.done;c=s.next()){var u=c.value,d=u.props,f=d.href,p=u.props,h=Gn(p.href,"style",{crossOrigin:p.crossOrigin,integrity:p.integrity,nonce:p.nonce,type:p.type,fetchPriority:p.fetchPriority,referrerPolicy:p.referrerPolicy,media:p.media});if(!(0<=(o.remainingCapacity-=h.length+2)))break e;n.resets.style[f]=ae,a&&(a+=", "),a+=h,n.resets.style[f]="string"==typeof d.crossOrigin||"string"==typeof d.integrity?[d.crossOrigin,d.integrity]:ae}}r(a?{Link:a}:{})}}}catch(fx){xo(e,fx,{})}}function jo(e){null===e.trackedPostpones&&Fo(e,!0),null===e.trackedPostpones&&Ho(e),e.onShellError=so,(e=e.onShellReady)()}function Mo(e){Fo(e,null===e.trackedPostpones||null===e.completedRootSegment||5!==e.completedRootSegment.status),Ho(e),(e=e.onAllReady)()}function Lo(e,t){if(0===t.chunks.length&&1===t.children.length&&null===t.children[0].boundary&&-1===t.children[0].id){var n=t.children[0];n.id=t.id,n.parentFlushed=!0,1===n.status&&Lo(e,n)}else e.completedSegments.push(t)}function Wo(e,t,r){if(null===t){if(null!==r&&r.parentFlushed){if(null!==e.completedRootSegment)throw Error(n(389));e.completedRootSegment=r}e.pendingRootTasks--,0===e.pendingRootTasks&&jo(e)}else t.pendingTasks--,4!==t.status&&(0===t.pendingTasks?(0===t.status&&(t.status=1),null!==r&&r.parentFlushed&&1===r.status&&Lo(t,r),t.parentFlushed&&e.completedBoundaries.push(t),1===t.status&&(t.fallbackAbortableTasks.forEach(Ao,e),t.fallbackAbortableTasks.clear(),0===e.pendingRootTasks&&null===e.trackedPostpones&&null!==t.contentPreamble&&Ho(e))):null!==r&&r.parentFlushed&&1===r.status&&(Lo(t,r),1===t.completedSegments.length&&t.parentFlushed&&e.partialBoundaries.push(t)));e.allPendingTasks--,0===e.allPendingTasks&&Mo(e)}function Bo(e){if(14!==e.status&&13!==e.status){var t=or,r=te.H;te.H=eo;var o=te.A;te.A=no;var a=fo;fo=e;var i=to;to=e.resumableState;try{var l,s=e.pingedTasks;for(l=0;l<s.length;l++){var c=s[l],u=e,d=c.blockedSegment;if(null===d){var f=u;if(0!==c.replay.pendingTasks){ur(c.context);try{if("number"==typeof c.replay.slots?Co(f,c,c.replay.slots,c.node,c.childIndex):Po(f,c),1===c.replay.pendingTasks&&0<c.replay.nodes.length)throw Error(n(488));c.replay.pendingTasks--,c.abortSet.delete(c),Wo(f,c.blockedBoundary,null)}catch(C){Br();var p=C===br?xr():C;if("object"==typeof p&&null!==p&&"function"==typeof p.then){var h=c.ping;p.then(h,h),c.thenableState=Wr()}else{c.replay.pendingTasks--,c.abortSet.delete(c);var g=yo(c.componentStack);u=void 0;var m=f,b=c.blockedBoundary,v=12===f.status?f.fatalError:p;Do(m,b,c.replay.nodes,c.replay.slots,v,u=xo(m,v,g)),f.pendingRootTasks--,0===f.pendingRootTasks&&jo(f),f.allPendingTasks--,0===f.allPendingTasks&&Mo(f)}}}}else if(f=void 0,0===(m=d).status){m.status=6,ur(c.context);var y=m.children.length,x=m.chunks.length;try{Po(u,c),m.lastPushedText&&m.textEmbedded&&m.chunks.push(_e),c.abortSet.delete(c),m.status=1,Wo(u,c.blockedBoundary,m)}catch(C){Br(),m.children.length=y,m.chunks.length=x;var k=C===br?xr():12===u.status?u.fatalError:C;if("object"==typeof k&&null!==k&&"function"==typeof k.then){m.status=0,c.thenableState=Wr();var S=c.ping;k.then(S,S)}else{var w=yo(c.componentStack);c.abortSet.delete(c),m.status=4;var _=c.blockedBoundary;f=xo(u,k,w),null===_?ko(u,k):(_.pendingTasks--,4!==_.status&&(_.status=4,_.errorDigest=f,To(u,_),_.parentFlushed&&u.clientRenderedBoundaries.push(_),0===u.pendingRootTasks&&null===u.trackedPostpones&&null!==_.contentPreamble&&Ho(u))),u.allPendingTasks--,0===u.allPendingTasks&&Mo(u)}}}}s.splice(0,l),null!==e.destination&&Ko(e,e.destination)}catch(fx){xo(e,fx,{}),ko(e,fx)}finally{to=i,te.H=r,te.A=o,r===eo&&ur(t),fo=a}}}function $o(e,t,n){t.preambleChildren.length&&n.push(t.preambleChildren);for(var r=!1,o=0;o<t.children.length;o++)r=Vo(e,t.children[o],n)||r;return r}function Vo(e,t,r){var o=t.boundary;if(null===o)return $o(e,t,r);var a=o.contentPreamble,i=o.fallbackPreamble;if(null===a||null===i)return!1;switch(o.status){case 1:if(pt(e.renderState,a),!(t=o.completedSegments[0]))throw Error(n(391));return $o(e,t,r);case 5:if(null!==e.trackedPostpones)return!0;case 4:if(1===t.status)return pt(e.renderState,i),$o(e,t,r);default:return!0}}function Ho(e){if(e.completedRootSegment&&null===e.completedPreambleSegments){var t=[],n=Vo(e,e.completedRootSegment,t),r=e.renderState.preamble;(!1===n||r.headChunks&&r.bodyChunks)&&(e.completedPreambleSegments=t)}}function Uo(e,t,r,o){switch(r.parentFlushed=!0,r.status){case 0:r.id=e.nextSegmentId++;case 5:return o=r.id,r.lastPushedText=!1,r.textEmbedded=!1,e=e.renderState,A(t,gt),A(t,e.placeholderPrefix),A(t,e=M(o.toString(16))),D(t,mt);case 1:r.status=2;var a=!0,i=r.chunks,l=0;r=r.children;for(var s=0;s<r.length;s++){for(a=r[s];l<a.index;l++)A(t,i[l]);a=qo(e,t,a,o)}for(;l<i.length-1;l++)A(t,i[l]);return l<i.length&&(a=D(t,i[l])),a;default:throw Error(n(390))}}function qo(e,t,r,o){var a=r.boundary;if(null===a)return Uo(e,t,r,o);if(a.parentFlushed=!0,4===a.status){var i=a.errorDigest;return D(t,xt),A(t,St),i&&(A(t,_t),A(t,M(K(i))),A(t,wt)),D(t,Ct),Uo(e,t,r,o),(e=a.fallbackPreamble)&&Tt(t,e),D(t,kt)}if(1!==a.status)return 0===a.status&&(a.rootSegmentID=e.nextSegmentId++),0<a.completedSegments.length&&e.partialBoundaries.push(a),Et(t,e.renderState,a.rootSegmentID),o&&((a=a.fallbackState).styles.forEach(Jn,o),a.stylesheets.forEach(Zn,o)),Uo(e,t,r,o),D(t,kt);if(a.byteSize>e.progressiveChunkSize)return a.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(a),Et(t,e.renderState,a.rootSegmentID),Uo(e,t,r,o),D(t,kt);if(o&&((r=a.contentState).styles.forEach(Jn,o),r.stylesheets.forEach(Zn,o)),D(t,bt),1!==(r=a.completedSegments).length)throw Error(n(391));return qo(e,t,r[0],o),(e=a.contentPreamble)&&Tt(t,e),D(t,kt)}function Go(e,t,r,o){return function(e,t,r,o){switch(r.insertionMode){case 0:case 1:case 3:case 2:return A(e,Rt),A(e,t.segmentPrefix),A(e,M(o.toString(16))),D(e,It);case 4:return A(e,At),A(e,t.segmentPrefix),A(e,M(o.toString(16))),D(e,Dt);case 5:return A(e,Ft),A(e,t.segmentPrefix),A(e,M(o.toString(16))),D(e,jt);case 6:return A(e,Lt),A(e,t.segmentPrefix),A(e,M(o.toString(16))),D(e,Wt);case 7:return A(e,$t),A(e,t.segmentPrefix),A(e,M(o.toString(16))),D(e,Vt);case 8:return A(e,Ut),A(e,t.segmentPrefix),A(e,M(o.toString(16))),D(e,qt);case 9:return A(e,Yt),A(e,t.segmentPrefix),A(e,M(o.toString(16))),D(e,Xt);default:throw Error(n(397))}}(t,e.renderState,r.parentFormatContext,r.id),qo(e,t,r,o),function(e,t){switch(t.insertionMode){case 0:case 1:case 3:case 2:return D(e,Ot);case 4:return D(e,Nt);case 5:return D(e,Mt);case 6:return D(e,Bt);case 7:return D(e,Ht);case 8:return D(e,Gt);case 9:return D(e,Kt);default:throw Error(n(397))}}(t,r.parentFormatContext)}function Yo(e,t,r){for(var o=r.completedSegments,a=0;a<o.length;a++)Xo(e,t,r,o[a]);o.length=0,zn(t,r.contentState,e.renderState),o=e.resumableState,e=e.renderState,a=r.rootSegmentID,r=r.contentState;var i=e.stylesToHoist;return e.stylesToHoist=!1,A(t,e.startInlineScript),i?2&o.instructions?8&o.instructions?A(t,an):(o.instructions|=8,A(t,on)):(o.instructions|=10,A(t,rn)):2&o.instructions?A(t,nn):(o.instructions|=2,A(t,tn)),o=M(a.toString(16)),A(t,e.boundaryPrefix),A(t,o),A(t,ln),A(t,e.segmentPrefix),A(t,o),i?(A(t,sn),function(e,t){A(e,Wn);var r=Wn;t.stylesheets.forEach(function(t){if(2!==t.state)if(3===t.state)A(e,r),A(e,M(yn(""+t.props.href))),A(e,Vn),r=Bn;else{A(e,r);var o=t.props["data-precedence"],a=t.props,i=ee(""+t.props.href);for(var l in A(e,M(yn(i))),o=""+o,A(e,$n),A(e,M(yn(o))),a)if($.call(a,l)&&null!=(o=a[l]))switch(l){case"href":case"rel":case"precedence":case"data-precedence":break;case"children":case"dangerouslySetInnerHTML":throw Error(n(399,"link"));default:Hn(e,l,o)}A(e,Vn),r=Bn,t.state=3}}),A(e,Vn)}(t,r)):A(t,cn),r=D(t,un),ht(t,e)&&r}function Xo(e,t,r,o){if(2===o.status)return!0;var a=r.contentState,i=o.id;if(-1===i){if(-1===(o.id=r.rootSegmentID))throw Error(n(392));return Go(e,t,o,a)}return i===r.rootSegmentID?Go(e,t,o,a):(Go(e,t,o,a),r=e.resumableState,A(t,(e=e.renderState).startInlineScript),1&r.instructions?A(t,Jt):(r.instructions|=1,A(t,Qt)),A(t,e.segmentPrefix),A(t,i=M(i.toString(16))),A(t,Zt),A(t,e.placeholderPrefix),A(t,i),t=D(t,en))}function Ko(e,t){I=new Uint8Array(2048),O=0;try{if(!(0<e.pendingRootTasks)){var n,r=e.completedRootSegment;if(null!==r){if(5===r.status)return;var o=e.completedPreambleSegments;if(null===o)return;var a,i=e.renderState,l=i.preamble,s=l.htmlChunks,c=l.headChunks;if(s){for(a=0;a<s.length;a++)A(t,s[a]);if(c)for(a=0;a<c.length;a++)A(t,c[a]);else A(t,ct("head")),A(t,He)}else if(c)for(a=0;a<c.length;a++)A(t,c[a]);var u=i.charsetChunks;for(a=0;a<u.length;a++)A(t,u[a]);u.length=0,i.preconnects.forEach(Tn,t),i.preconnects.clear();var d=i.viewportChunks;for(a=0;a<d.length;a++)A(t,d[a]);d.length=0,i.fontPreloads.forEach(Tn,t),i.fontPreloads.clear(),i.highImagePreloads.forEach(Tn,t),i.highImagePreloads.clear(),i.styles.forEach(jn,t);var f=i.importMapChunks;for(a=0;a<f.length;a++)A(t,f[a]);f.length=0,i.bootstrapScripts.forEach(Tn,t),i.scripts.forEach(Tn,t),i.scripts.clear(),i.bulkPreloads.forEach(Tn,t),i.bulkPreloads.clear();var p=i.hoistableChunks;for(a=0;a<p.length;a++)A(t,p[a]);for(i=p.length=0;i<o.length;i++){var h=o[i];for(l=0;l<h.length;l++)qo(e,t,h[l],null)}var g=e.renderState.preamble,m=g.headChunks;(g.htmlChunks||m)&&A(t,ft("head"));var b=g.bodyChunks;if(b)for(o=0;o<b.length;o++)A(t,b[o]);qo(e,t,r,null),e.completedRootSegment=null,ht(t,e.renderState)}var v=e.renderState;r=0;var y=v.viewportChunks;for(r=0;r<y.length;r++)A(t,y[r]);y.length=0,v.preconnects.forEach(Tn,t),v.preconnects.clear(),v.fontPreloads.forEach(Tn,t),v.fontPreloads.clear(),v.highImagePreloads.forEach(Tn,t),v.highImagePreloads.clear(),v.styles.forEach(Ln,t),v.scripts.forEach(Tn,t),v.scripts.clear(),v.bulkPreloads.forEach(Tn,t),v.bulkPreloads.clear();var x=v.hoistableChunks;for(r=0;r<x.length;r++)A(t,x[r]);x.length=0;var k=e.clientRenderedBoundaries;for(n=0;n<k.length;n++){var S=k[n];v=t;var w=e.resumableState,_=e.renderState,C=S.rootSegmentID,E=S.errorDigest;A(v,_.startInlineScript),4&w.instructions?A(v,fn):(w.instructions|=4,A(v,dn)),A(v,_.boundaryPrefix),A(v,M(C.toString(16))),A(v,pn),E&&(A(v,hn),A(v,M(bn(E||""))));var P=D(v,gn);if(!P)return e.destination=null,n++,void k.splice(0,n)}k.splice(0,n);var z=e.completedBoundaries;for(n=0;n<z.length;n++)if(!Yo(e,t,z[n]))return e.destination=null,n++,void z.splice(0,n);z.splice(0,n),N(t),I=new Uint8Array(2048),O=0;var T=e.partialBoundaries;for(n=0;n<T.length;n++){var R=T[n];e:{k=e,S=t;var F=R.completedSegments;for(P=0;P<F.length;P++)if(!Xo(k,S,R,F[P])){P++,F.splice(0,P);var j=!1;break e}F.splice(0,P),j=zn(S,R.contentState,k.renderState)}if(!j)return e.destination=null,n++,void T.splice(0,n)}T.splice(0,n);var L=e.completedBoundaries;for(n=0;n<L.length;n++)if(!Yo(e,t,L[n]))return e.destination=null,n++,void L.splice(0,n);L.splice(0,n)}}finally{0===e.allPendingTasks&&0===e.pingedTasks.length&&0===e.clientRenderedBoundaries.length&&0===e.completedBoundaries.length?(e.flushScheduled=!1,(n=e.resumableState).hasBody&&A(t,ft("body")),n.hasHtml&&A(t,ft("html")),N(t),e.status=14,t.close(),e.destination=null):N(t)}}function Qo(e){e.flushScheduled=null!==e.destination,R(function(){return Bo(e)}),P(function(){10===e.status&&(e.status=11),null===e.trackedPostpones&&Fo(e,0===e.pendingRootTasks)})}function Jo(e){!1===e.flushScheduled&&0===e.pingedTasks.length&&null!==e.destination&&(e.flushScheduled=!0,P(function(){var t=e.destination;t?Ko(e,t):e.flushScheduled=!1}))}function Zo(e,t){if(13===e.status)e.status=14,W(t,e.fatalError);else if(14!==e.status&&null===e.destination){e.destination=t;try{Ko(e,t)}catch(fx){xo(e,fx,{}),ko(e,fx)}}}function ea(e,t){11!==e.status&&10!==e.status||(e.status=12);try{var r=e.abortableTasks;if(0<r.size){var o=void 0===t?Error(n(432)):"object"==typeof t&&null!==t&&"function"==typeof t.then?Error(n(530)):t;e.fatalError=o,r.forEach(function(t){return No(t,e,o)}),r.clear()}null!==e.destination&&Ko(e,e.destination)}catch(a){xo(e,a,{}),ko(e,a)}}function ta(){var t=e.version;if("19.1.1"!==t)throw Error(n(527,t,"19.1.1"))}return ta(),ta(),qy.prerender=function(e,t){return new Promise(function(n,r){var o,a=t?t.onHeaders:void 0;a&&(o=function(e){a(new Headers(e))});var i=ye(t?t.identifierPrefix:void 0,t&&t.unstable_externalRuntimeSrc,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),l=function(e,t,r,o,a,i,s,c,u,d,f){return(e=uo(e,t,r,o,a,i,function(){var e={prelude:new ReadableStream({type:"bytes",pull:function(e){Zo(l,e)},cancel:function(e){l.destination=null,ea(l,e)}},{highWaterMark:0})};n(e)},void 0,void 0,d,f,void 0)).trackedPostpones={workingMap:new Map,rootNodes:[],rootSlots:null},e}(e,i,ve(i,void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.importMap:void 0,o,t?t.maxHeadersLength:void 0),Se(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,0,0,0,r,t?t.onPostpone:void 0);if(t&&t.signal){var s=t.signal;if(s.aborted)ea(l,s.reason);else{var c=function(){ea(l,s.reason),s.removeEventListener("abort",c)};s.addEventListener("abort",c)}}Qo(l)})},qy.renderToReadableStream=function(e,t){return new Promise(function(n,r){var o,a,i,l=new Promise(function(e,t){a=e,o=t}),s=t?t.onHeaders:void 0;s&&(i=function(e){s(new Headers(e))});var c=ye(t?t.identifierPrefix:void 0,t&&t.unstable_externalRuntimeSrc,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),u=uo(e,c,ve(c,t?t.nonce:void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.importMap:void 0,i,t?t.maxHeadersLength:void 0),Se(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,a,function(){var e=new ReadableStream({type:"bytes",pull:function(e){Zo(u,e)},cancel:function(e){u.destination=null,ea(u,e)}},{highWaterMark:0});e.allReady=l,n(e)},function(e){l.catch(function(){}),r(e)},o,t?t.onPostpone:void 0,t?t.formState:void 0);if(t&&t.signal){var d=t.signal;if(d.aborted)ea(u,d.reason);else{var f=function(){ea(u,d.reason),d.removeEventListener("abort",f)};d.addEventListener("abort",f)}}Qo(u)})},qy.version="19.1.1",qy}function Yy(){return Uy||(Uy=1,e=Vy(),t=Gy(),By.version=e.version,By.renderToString=e.renderToString,By.renderToStaticMarkup=e.renderToStaticMarkup,By.renderToReadableStream=t.renderToReadableStream,t.resume&&(By.resume=t.resume)),By;var e,t}var Xy,Ky,Qy,Jy,Zy,ex,tx={exports:{}};function nx(){return Ky?Xy:(Ky=1,Xy="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}function rx(){if(Jy)return Qy;Jy=1;var e=nx();function t(){}function n(){}return n.resetWarningCache=t,Qy=function(){function r(t,n,r,o,a,i){if(i!==e){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function o(){return r}r.isRequired=r;var a={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return a.PropTypes=a,a}}function ox(){return Zy||(Zy=1,tx.exports=rx()()),tx.exports}function ax(){if(ex)return jy;ex=1,Object.defineProperty(jy,"__esModule",{value:!0});var e=v(),t=My,n=Ly,o=j(),a=Yy(),i=ox();function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=l(e),c=l(n),u=l(i),d="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r?r:"undefined"!=typeof self?self:{};function f(e,t){return e(t={exports:{}},t.exports),t.exports}var p=f(function(e){var t,n,r,o,a,i,l,s,c,u,f,p,h,g,m;t=d,n=function(e,t,r){if(!s(t)||u(t)||f(t)||p(t)||l(t))return t;var o,a=0,i=0;if(c(t))for(o=[],i=t.length;a<i;a++)o.push(n(e,t[a],r));else for(var d in o={},t)Object.prototype.hasOwnProperty.call(t,d)&&(o[e(d,r)]=n(e,t[d],r));return o},r=function(e){return h(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""})).substr(0,1).toLowerCase()+e.substr(1)},o=function(e){var t=r(e);return t.substr(0,1).toUpperCase()+t.substr(1)},a=function(e,t){return(n=e,r=t,o=(r=r||{}).separator||"_",a=r.split||/(?=[A-Z])/,n.split(a).join(o)).toLowerCase();var n,r,o,a},i=Object.prototype.toString,l=function(e){return"function"==typeof e},s=function(e){return e===Object(e)},c=function(e){return"[object Array]"==i.call(e)},u=function(e){return"[object Date]"==i.call(e)},f=function(e){return"[object RegExp]"==i.call(e)},p=function(e){return"[object Boolean]"==i.call(e)},h=function(e){return(e-=0)==e},g=function(e,t){var n=t&&"process"in t?t.process:t;return"function"!=typeof n?e:function(t,r){return n(t,e,r)}},m={camelize:r,decamelize:a,pascalize:o,depascalize:a,camelizeKeys:function(e,t){return n(g(r,t),e)},decamelizeKeys:function(e,t){return n(g(a,t),e,t)},pascalizeKeys:function(e,t){return n(g(o,t),e)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}},e.exports?e.exports=m:t.humps=m}).decamelize,h=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},g=f(function(e){function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},t.apply(this,arguments)}e.exports=t}),m=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o},b=e.createContext(null);function y(e){var t=e.children,n=void 0===t?"":t,r=m(e,["children"]);return"string"!=typeof n&&(n=a.renderToString(n)),s.default.createElement("template",g({},r,{dangerouslySetInnerHTML:{__html:n}}))}function x(e){var t=e.root,n=e.children,r=void 0===n?null:n;return o.createPortal(r,t)}y.propTypes={children:u.default.oneOfType([u.default.string,u.default.node])},x.propTypes={root:u.default.object.isRequired,children:u.default.node};var k=new Map;function S(){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"core",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(e){return e.children};return new Proxy(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{get:function(r,o){var a=p(o,{separator:"-"}),i="".concat(t,"-").concat(a);return k.has(i)||k.set(i,function(t){var n=e.forwardRef(function(n,o){var a,i,l=n.mode,c=void 0===l?"open":l,u=n.delegatesFocus,d=void 0!==u&&u,f=n.styleSheets,p=void 0===f?[]:f,v=n.ssr,k=void 0!==v&&v,S=n.children,w=m(n,["mode","delegatesFocus","styleSheets","ssr","children"]),_=(a=o,i=e.useRef(a&&a.current),e.useEffect(function(){a&&(a.current=i.current)},[a]),i),C=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],o=!0,a=!1,i=void 0;try{for(var l,s=e[Symbol.iterator]();!(o=(l=s.next()).done)&&(n.push(l.value),n.length!==t);o=!0);}catch(r){a=!0,i=r}finally{try{o||null==s.return||s.return()}finally{if(a)throw i}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?h(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e.useState(null),2),E=C[0],P=C[1],z="node_".concat(c).concat(d);return e.useLayoutEffect(function(){if(_.current)try{if("function"==typeof o&&o(_.current),k){var e=_.current.shadowRoot;return void P(e)}var t=_.current.attachShadow({mode:c,delegatesFocus:d});p.length>0&&(t.adoptedStyleSheets=p),P(t)}catch(r){!function(e){var t=e.error,n=e.styleSheets,r=e.root;if("NotSupportedError"!==t.name)throw t;n.length>0&&(r.adoptedStyleSheets=n)}({error:r,styleSheets:p,root:E})}},[o,_,p]),s.default.createElement(s.default.Fragment,null,s.default.createElement(t.tag,g({key:z,ref:_},w),(E||k)&&s.default.createElement(b.Provider,{value:E},k?s.default.createElement(y,{shadowroot:c,shadowrootmode:c},t.render({root:E,ssr:k,children:S})):s.default.createElement(x,{root:E},t.render({root:E,ssr:k,children:S})))))});return n.propTypes={mode:u.default.oneOf(["open","closed"]),delegatesFocus:u.default.bool,styleSheets:u.default.arrayOf(u.default.instanceOf(globalThis.CSSStyleSheet)),ssr:u.default.bool,children:u.default.node},n}({tag:a,render:n})),k.get(i)}})}S();var w=new WeakMap,_=S({},"emotion",function(e){var n,r=e.root,o=e.children,a=w.get(r)||(n=c.default({container:r,key:"react-shadow"}),w.set(r,n),n);return s.default.createElement(t.CacheProvider,{value:a},s.default.createElement(s.default.Fragment,null,o))});return jy.default=_,jy}const ix=o(ax()),lx=":host",sx=ob(Ry,{cssVarsRoot:lx,conditions:{light:`${lx} &, .light &`},preflight:{scope:lx},globalCss:{[lx]:Ry.globalCss?.html??{}},theme:{tokens:{fonts:{heading:{value:"'Estedad-FD', system-ui, sans-serif"},body:{value:"'Estedad-FD', system-ui, sans-serif"}},fontWeights:{100:{value:"100"},200:{value:"200"},300:{value:"300"},400:{value:"400"},500:{value:"500"},600:{value:"600"},700:{value:"700"},800:{value:"800"},900:{value:"900"},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"}},spacing:{0:{value:"0px"},.5:{value:"2px"},1:{value:"4px"},1.5:{value:"6px"},2:{value:"8px"},2.5:{value:"10px"},3:{value:"12px"},3.5:{value:"14px"},4:{value:"16px"},5:{value:"20px"},6:{value:"24px"},7:{value:"28px"},8:{value:"32px"},9:{value:"36px"},10:{value:"40px"},12:{value:"48px"},14:{value:"56px"},16:{value:"64px"},20:{value:"80px"},24:{value:"96px"},28:{value:"112px"},32:{value:"128px"},36:{value:"144px"},40:{value:"160px"},44:{value:"176px"},48:{value:"192px"},52:{value:"208px"},56:{value:"224px"},60:{value:"240px"},64:{value:"256px"},72:{value:"288px"},80:{value:"320px"},96:{value:"384px"}},fontSizes:{"2xs":{value:"10px"},xs:{value:"12px"},sm:{value:"14px"},md:{value:"16px"},lg:{value:"18px"},xl:{value:"20px"},"2xl":{value:"24px"},"3xl":{value:"30px"},"4xl":{value:"36px"},"5xl":{value:"48px"},"6xl":{value:"60px"},"7xl":{value:"72px"},"8xl":{value:"96px"},"9xl":{value:"128px"}},borderWidths:{0:{value:"0px"},1:{value:"1px"},2:{value:"2px"},4:{value:"4px"},8:{value:"8px"}},radii:{none:{value:"0px"},sm:{value:"2px"},md:{value:"4px"},lg:{value:"8px"},xl:{value:"12px"},"2xl":{value:"16px"},"3xl":{value:"24px"},"4xl":{value:"32px"},full:{value:"9999px"}},lineHeights:{3:{value:"12px"},4:{value:"16px"},5:{value:"20px"},6:{value:"24px"},7:{value:"28px"},8:{value:"32px"},9:{value:"36px"},10:{value:"40px"},none:{value:"1"},tight:{value:"1.25"},snug:{value:"1.375"},normal:{value:"1.5"},relaxed:{value:"1.625"},loose:{value:"2"}},sizes:{0:{value:"0px"},.5:{value:"2px"},1:{value:"4px"},1.5:{value:"6px"},2:{value:"8px"},2.5:{value:"10px"},3:{value:"12px"},3.5:{value:"14px"},4:{value:"16px"},5:{value:"20px"},6:{value:"24px"},7:{value:"28px"},8:{value:"32px"},9:{value:"36px"},10:{value:"40px"},12:{value:"48px"},14:{value:"56px"},16:{value:"64px"},20:{value:"80px"},24:{value:"96px"},full:{value:"100%"},"3xs":{value:"224px"},"2xs":{value:"256px"},xs:{value:"320px"},sm:{value:"384px"},md:{value:"448px"},lg:{value:"512px"},xl:{value:"576px"},"2xl":{value:"672px"},"3xl":{value:"768px"},"4xl":{value:"896px"},"5xl":{value:"1024px"},"6xl":{value:"1152px"},"7xl":{value:"1280px"},"8xl":{value:"1440px"}}}}});function cx({children:e}){const[t,n]=y.useState(null),[r,o]=y.useState(null);return y.useEffect(()=>{if(!t?.shadowRoot||r)return;const e=Ue({key:"root",container:t.shadowRoot});o(e)},[t,r]),h.jsx(ix.div,{ref:n,style:{display:"block"},children:t&&r&&h.jsx(Kh,{value:()=>t.shadowRoot??document,children:h.jsx(_t,{value:r,children:h.jsx(Zt,{value:sx,children:h.jsx(Mi,{children:e})})})})})}class ux extends y.Component{constructor(e){super(e),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){zi.captureException(e)}render(){return this.state.hasError?null:this.props.children}}function dx(){const e=document.createElement("div");e.id="mori-react-widget-host";const t=document.querySelector("#dori-widget-container");t?.appendChild(e);const n=W.createRoot(e);return n.render(h.jsx(x.StrictMode,{children:h.jsx(ux,{children:h.jsx(cx,{children:h.jsx(Fy,{})})})})),()=>{n.unmount()}}export{dx as initializeDoriWidget};
1
+ !function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"e0dcb8c67a9c4d2bf8ea5a10e12b5042c94b89d0"}}catch(e){}}();try{(t=(new(e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).Error).stack)&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="46d81d02-0c86-40f7-99e9-3f4afad07d76",e._sentryDebugIdIdentifier="sentry-dbid-46d81d02-0c86-40f7-99e9-3f4afad07d76")}catch(e){}var e,t;function n(e,t){for(var n=0;n<t.length;n++){const r=t[n];if("string"!=typeof r&&!Array.isArray(r))for(const t in r)if("default"!==t&&!(t in e)){const n=Object.getOwnPropertyDescriptor(r,t);n&&Object.defineProperty(e,t,n.get?n:{enumerable:!0,get:()=>r[t]})}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function o(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function a(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if("function"==typeof t){var n=function e(){var n=!1;try{n=this instanceof e}catch{}return n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})}),n}var i,l,s={exports:{}},c={};function u(){if(i)return c;i=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(t,n,r){var o=null;if(void 0!==r&&(o=""+r),void 0!==n.key&&(o=""+n.key),"key"in n)for(var a in r={},n)"key"!==a&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:e,type:t,key:o,ref:void 0!==n?n:null,props:r}}return c.Fragment=t,c.jsx=n,c.jsxs=n,c}function d(){return l||(l=1,s.exports=u()),s.exports}var f,p,h=d(),g={exports:{}},m={};function b(){if(f)return m;f=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),i=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),c=Symbol.for("react.memo"),u=Symbol.for("react.lazy"),d=Symbol.iterator,p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,g={};function b(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||p}function v(){}function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||p}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=b.prototype;var x=y.prototype=new v;x.constructor=y,h(x,b.prototype),x.isPureReactComponent=!0;var k=Array.isArray,S={H:null,A:null,T:null,S:null,V:null},w=Object.prototype.hasOwnProperty;function _(t,n,r,o,a,i){return r=i.ref,{$$typeof:e,type:t,key:n,ref:void 0!==r?r:null,props:i}}function C(t){return"object"==typeof t&&null!==t&&t.$$typeof===e}var E=/\/+/g;function P(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(n=""+e.key,r={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,function(e){return r[e]})):t.toString(36);var n,r}function z(){}function T(n,r,o,a,i){var l=typeof n;"undefined"!==l&&"boolean"!==l||(n=null);var s,c,f=!1;if(null===n)f=!0;else switch(l){case"bigint":case"string":case"number":f=!0;break;case"object":switch(n.$$typeof){case e:case t:f=!0;break;case u:return T((f=n._init)(n._payload),r,o,a,i)}}if(f)return i=i(n),f=""===a?"."+P(n,0):a,k(i)?(o="",null!=f&&(o=f.replace(E,"$&/")+"/"),T(i,r,o,"",function(e){return e})):null!=i&&(C(i)&&(s=i,c=o+(null==i.key||n&&n.key===i.key?"":(""+i.key).replace(E,"$&/")+"/")+f,i=_(s.type,c,void 0,0,0,s.props)),r.push(i)),1;f=0;var p,h=""===a?".":a+":";if(k(n))for(var g=0;g<n.length;g++)f+=T(a=n[g],r,o,l=h+P(a,g),i);else if("function"==typeof(g=null===(p=n)||"object"!=typeof p?null:"function"==typeof(p=d&&p[d]||p["@@iterator"])?p:null))for(n=g.call(n),g=0;!(a=n.next()).done;)f+=T(a=a.value,r,o,l=h+P(a,g++),i);else if("object"===l){if("function"==typeof n.then)return T(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(z,z):(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(n),r,o,a,i);throw r=String(n),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.")}return f}function R(e,t,n){if(null==e)return e;var r=[],o=0;return T(e,r,"","",function(e){return t.call(n,e,o++)}),r}function I(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)},function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var O="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e)};function A(){}return m.Children={map:R,forEach:function(e,t,n){R(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return R(e,function(){t++}),t},toArray:function(e){return R(e,function(e){return e})||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},m.Component=b,m.Fragment=n,m.Profiler=o,m.PureComponent=y,m.StrictMode=r,m.Suspense=s,m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=S,m.__COMPILER_RUNTIME={__proto__:null,c:function(e){return S.H.useMemoCache(e)}},m.cache=function(e){return function(){return e.apply(null,arguments)}},m.cloneElement=function(e,t,n){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var r=h({},e.props),o=e.key;if(null!=t)for(a in t.ref,void 0!==t.key&&(o=""+t.key),t)!w.call(t,a)||"key"===a||"__self"===a||"__source"===a||"ref"===a&&void 0===t.ref||(r[a]=t[a]);var a=arguments.length-2;if(1===a)r.children=n;else if(1<a){for(var i=Array(a),l=0;l<a;l++)i[l]=arguments[l+2];r.children=i}return _(e.type,o,void 0,0,0,r)},m.createContext=function(e){return(e={$$typeof:i,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:a,_context:e},e},m.createElement=function(e,t,n){var r,o={},a=null;if(null!=t)for(r in void 0!==t.key&&(a=""+t.key),t)w.call(t,r)&&"key"!==r&&"__self"!==r&&"__source"!==r&&(o[r]=t[r]);var i=arguments.length-2;if(1===i)o.children=n;else if(1<i){for(var l=Array(i),s=0;s<i;s++)l[s]=arguments[s+2];o.children=l}if(e&&e.defaultProps)for(r in i=e.defaultProps)void 0===o[r]&&(o[r]=i[r]);return _(e,a,void 0,0,0,o)},m.createRef=function(){return{current:null}},m.forwardRef=function(e){return{$$typeof:l,render:e}},m.isValidElement=C,m.lazy=function(e){return{$$typeof:u,_payload:{_status:-1,_result:e},_init:I}},m.memo=function(e,t){return{$$typeof:c,type:e,compare:void 0===t?null:t}},m.startTransition=function(e){var t=S.T,n={};S.T=n;try{var r=e(),o=S.S;null!==o&&o(n,r),"object"==typeof r&&null!==r&&"function"==typeof r.then&&r.then(A,O)}catch(a){O(a)}finally{S.T=t}},m.unstable_useCacheRefresh=function(){return S.H.useCacheRefresh()},m.use=function(e){return S.H.use(e)},m.useActionState=function(e,t,n){return S.H.useActionState(e,t,n)},m.useCallback=function(e,t){return S.H.useCallback(e,t)},m.useContext=function(e){return S.H.useContext(e)},m.useDebugValue=function(){},m.useDeferredValue=function(e,t){return S.H.useDeferredValue(e,t)},m.useEffect=function(e,t,n){var r=S.H;if("function"==typeof n)throw Error("useEffect CRUD overload is not enabled in this build of React.");return r.useEffect(e,t)},m.useId=function(){return S.H.useId()},m.useImperativeHandle=function(e,t,n){return S.H.useImperativeHandle(e,t,n)},m.useInsertionEffect=function(e,t){return S.H.useInsertionEffect(e,t)},m.useLayoutEffect=function(e,t){return S.H.useLayoutEffect(e,t)},m.useMemo=function(e,t){return S.H.useMemo(e,t)},m.useOptimistic=function(e,t){return S.H.useOptimistic(e,t)},m.useReducer=function(e,t,n){return S.H.useReducer(e,t,n)},m.useRef=function(e){return S.H.useRef(e)},m.useState=function(e){return S.H.useState(e)},m.useSyncExternalStore=function(e,t,n){return S.H.useSyncExternalStore(e,t,n)},m.useTransition=function(){return S.H.useTransition()},m.version="19.1.1",m}function v(){return p||(p=1,g.exports=b()),g.exports}var y=v();const x=o(y),k=n({__proto__:null,default:x},[y]);var S,w,_={exports:{}},C={},E={exports:{}},P={};function z(){return S||(S=1,function(e){function t(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,a=e[r];if(!(0<o(a,t)))break e;e[r]=t,e[n]=a,n=r}}function n(e){return 0===e.length?null:e[0]}function r(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length,i=a>>>1;r<i;){var l=2*(r+1)-1,s=e[l],c=l+1,u=e[c];if(0>o(s,n))c<a&&0>o(u,s)?(e[r]=u,e[c]=n,r=c):(e[r]=s,e[l]=n,r=l);else{if(!(c<a&&0>o(u,n)))break e;e[r]=u,e[c]=n,r=c}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if(e.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var a=performance;e.unstable_now=function(){return a.now()}}else{var i=Date,l=i.now();e.unstable_now=function(){return i.now()-l}}var s=[],c=[],u=1,d=null,f=3,p=!1,h=!1,g=!1,m=!1,b="function"==typeof setTimeout?setTimeout:null,v="function"==typeof clearTimeout?clearTimeout:null,y="undefined"!=typeof setImmediate?setImmediate:null;function x(e){for(var o=n(c);null!==o;){if(null===o.callback)r(c);else{if(!(o.startTime<=e))break;r(c),o.sortIndex=o.expirationTime,t(s,o)}o=n(c)}}function k(e){if(g=!1,x(e),!h)if(null!==n(s))h=!0,w||(w=!0,S());else{var t=n(c);null!==t&&I(k,t.startTime-e)}}var S,w=!1,_=-1,C=5,E=-1;function P(){return!(!m&&e.unstable_now()-E<C)}function z(){if(m=!1,w){var t=e.unstable_now();E=t;var o=!0;try{e:{h=!1,g&&(g=!1,v(_),_=-1),p=!0;var a=f;try{t:{for(x(t),d=n(s);null!==d&&!(d.expirationTime>t&&P());){var i=d.callback;if("function"==typeof i){d.callback=null,f=d.priorityLevel;var l=i(d.expirationTime<=t);if(t=e.unstable_now(),"function"==typeof l){d.callback=l,x(t),o=!0;break t}d===n(s)&&r(s),x(t)}else r(s);d=n(s)}if(null!==d)o=!0;else{var u=n(c);null!==u&&I(k,u.startTime-t),o=!1}}break e}finally{d=null,f=a,p=!1}o=void 0}}finally{o?S():w=!1}}}if("function"==typeof y)S=function(){y(z)};else if("undefined"!=typeof MessageChannel){var T=new MessageChannel,R=T.port2;T.port1.onmessage=z,S=function(){R.postMessage(null)}}else S=function(){b(z,0)};function I(t,n){_=b(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e||(C=0<e?Math.floor(1e3/e):5)},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_requestPaint=function(){m=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,o,a){var i=e.unstable_now();switch(a="object"==typeof a&&null!==a&&"number"==typeof(a=a.delay)&&0<a?i+a:i,r){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return r={id:u++,callback:o,priorityLevel:r,startTime:a,expirationTime:l=a+l,sortIndex:-1},a>i?(r.sortIndex=a,t(c,r),null===n(s)&&r===n(c)&&(g?(v(_),_=-1):g=!0,I(k,a-i))):(r.sortIndex=l,t(s,r),h||p||(h=!0,w||(w=!0,S()))),r},e.unstable_shouldYield=P,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}}(P)),P}function T(){return w||(w=1,E.exports=z()),E.exports}var R,I,O,A,D={exports:{}},N={};function F(){if(R)return N;R=1;var e=v();function t(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var r={d:{f:n,r:function(){throw Error(t(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},o=Symbol.for("react.portal"),a=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function i(e,t){return"font"===e?"":"string"==typeof t?"use-credentials"===t?t:"":void 0}return N.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,N.createPortal=function(e,n){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!n||1!==n.nodeType&&9!==n.nodeType&&11!==n.nodeType)throw Error(t(299));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:o,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,n,null,r)},N.flushSync=function(e){var t=a.T,n=r.p;try{if(a.T=null,r.p=2,e)return e()}finally{a.T=t,r.p=n,r.d.f()}},N.preconnect=function(e,t){"string"==typeof e&&(t=t?"string"==typeof(t=t.crossOrigin)?"use-credentials"===t?t:"":void 0:null,r.d.C(e,t))},N.prefetchDNS=function(e){"string"==typeof e&&r.d.D(e)},N.preinit=function(e,t){if("string"==typeof e&&t&&"string"==typeof t.as){var n=t.as,o=i(n,t.crossOrigin),a="string"==typeof t.integrity?t.integrity:void 0,l="string"==typeof t.fetchPriority?t.fetchPriority:void 0;"style"===n?r.d.S(e,"string"==typeof t.precedence?t.precedence:void 0,{crossOrigin:o,integrity:a,fetchPriority:l}):"script"===n&&r.d.X(e,{crossOrigin:o,integrity:a,fetchPriority:l,nonce:"string"==typeof t.nonce?t.nonce:void 0})}},N.preinitModule=function(e,t){if("string"==typeof e)if("object"==typeof t&&null!==t){if(null==t.as||"script"===t.as){var n=i(t.as,t.crossOrigin);r.d.M(e,{crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0})}}else null==t&&r.d.M(e)},N.preload=function(e,t){if("string"==typeof e&&"object"==typeof t&&null!==t&&"string"==typeof t.as){var n=t.as,o=i(n,t.crossOrigin);r.d.L(e,n,{crossOrigin:o,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0,type:"string"==typeof t.type?t.type:void 0,fetchPriority:"string"==typeof t.fetchPriority?t.fetchPriority:void 0,referrerPolicy:"string"==typeof t.referrerPolicy?t.referrerPolicy:void 0,imageSrcSet:"string"==typeof t.imageSrcSet?t.imageSrcSet:void 0,imageSizes:"string"==typeof t.imageSizes?t.imageSizes:void 0,media:"string"==typeof t.media?t.media:void 0})}},N.preloadModule=function(e,t){if("string"==typeof e)if(t){var n=i(t.as,t.crossOrigin);r.d.m(e,{as:"string"==typeof t.as&&"script"!==t.as?t.as:void 0,crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0})}else r.d.m(e)},N.requestFormReset=function(e){r.d.r(e)},N.unstable_batchedUpdates=function(e,t){return e(t)},N.useFormState=function(e,t,n){return a.H.useFormState(e,t,n)},N.useFormStatus=function(){return a.H.useHostTransitionStatus()},N.version="19.1.1",N}function j(){return I||(I=1,function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){}}(),D.exports=F()),D.exports}function M(){if(O)return C;O=1;var t=T(),n=v(),r=j();function o(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function i(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function l(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function s(e){if(i(e)!==e)throw Error(o(188))}function c(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e;for(e=e.child;null!==e;){if(null!==(t=c(e)))return t;e=e.sibling}return null}var u=Object.assign,d=Symbol.for("react.element"),f=Symbol.for("react.transitional.element"),p=Symbol.for("react.portal"),h=Symbol.for("react.fragment"),g=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),b=Symbol.for("react.provider"),y=Symbol.for("react.consumer"),x=Symbol.for("react.context"),k=Symbol.for("react.forward_ref"),S=Symbol.for("react.suspense"),w=Symbol.for("react.suspense_list"),_=Symbol.for("react.memo"),E=Symbol.for("react.lazy"),P=Symbol.for("react.activity"),z=Symbol.for("react.memo_cache_sentinel"),R=Symbol.iterator;function I(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=R&&e[R]||e["@@iterator"])?e:null}var A=Symbol.for("react.client.reference");function D(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===A?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case h:return"Fragment";case m:return"Profiler";case g:return"StrictMode";case S:return"Suspense";case w:return"SuspenseList";case P:return"Activity"}if("object"==typeof e)switch(e.$$typeof){case p:return"Portal";case x:return(e.displayName||"Context")+".Provider";case y:return(e._context.displayName||"Context")+".Consumer";case k:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case _:return null!==(t=e.displayName||null)?t:D(e.type)||"Memo";case E:t=e._payload,e=e._init;try{return D(e(t))}catch(n){}}return null}var N=Array.isArray,F=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,M=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,L={pending:!1,data:null,method:null,action:null},W=[],B=-1;function $(e){return{current:e}}function V(e){0>B||(e.current=W[B],W[B]=null,B--)}function H(e,t){B++,W[B]=e.current,e.current=t}var U=$(null),q=$(null),G=$(null),Y=$(null);function X(e,t){switch(H(G,t),H(q,e),H(U,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?ld(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)e=sd(t=ld(t),e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}V(U),H(U,e)}function K(){V(U),V(q),V(G)}function Q(e){null!==e.memoizedState&&H(Y,e);var t=U.current,n=sd(t,e.type);t!==n&&(H(q,e),H(U,n))}function J(e){q.current===e&&(V(U),V(q)),Y.current===e&&(V(Y),Qd._currentValue=L)}var Z=Object.prototype.hasOwnProperty,ee=t.unstable_scheduleCallback,te=t.unstable_cancelCallback,ne=t.unstable_shouldYield,re=t.unstable_requestPaint,oe=t.unstable_now,ae=t.unstable_getCurrentPriorityLevel,ie=t.unstable_ImmediatePriority,le=t.unstable_UserBlockingPriority,se=t.unstable_NormalPriority,ce=t.unstable_LowPriority,ue=t.unstable_IdlePriority,de=t.log,fe=t.unstable_setDisableYieldValue,pe=null,he=null;function ge(e){if("function"==typeof de&&fe(e),he&&"function"==typeof he.setStrictMode)try{he.setStrictMode(pe,e)}catch(t){}}var me=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(be(e)/ve|0)|0},be=Math.log,ve=Math.LN2,ye=256,xe=4194304;function ke(e){var t=42&e;if(0!==t)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194048&e;case 4194304:case 8388608:case 16777216:case 33554432:return 62914560&e;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Se(e,t,n){var r=e.pendingLanes;if(0===r)return 0;var o=0,a=e.suspendedLanes,i=e.pingedLanes;e=e.warmLanes;var l=134217727&r;return 0!==l?0!==(r=l&~a)?o=ke(r):0!==(i&=l)?o=ke(i):n||0!==(n=l&~e)&&(o=ke(n)):0!==(l=r&~a)?o=ke(l):0!==i?o=ke(i):n||0!==(n=r&~e)&&(o=ke(n)),0===o?0:0!==t&&t!==o&&0===(t&a)&&((a=o&-o)>=(n=t&-t)||32===a&&4194048&n)?t:o}function we(e,t){return 0===(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)}function _e(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function Ce(){var e=ye;return!(4194048&(ye<<=1))&&(ye=256),e}function Ee(){var e=xe;return!(62914560&(xe<<=1))&&(xe=4194304),e}function Pe(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ze(e,t){e.pendingLanes|=t,268435456!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Te(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-me(t);e.entangledLanes|=t,e.entanglements[r]=1073741824|e.entanglements[r]|4194090&n}function Re(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-me(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}function Ie(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Oe(e){return 2<(e&=-e)?8<e?134217727&e?32:268435456:8:2}function Ae(){var e=M.p;return 0!==e?e:void 0===(e=window.event)?32:pf(e.type)}var De=Math.random().toString(36).slice(2),Ne="__reactFiber$"+De,Fe="__reactProps$"+De,je="__reactContainer$"+De,Me="__reactEvents$"+De,Le="__reactListeners$"+De,We="__reactHandles$"+De,Be="__reactResources$"+De,$e="__reactMarker$"+De;function Ve(e){delete e[Ne],delete e[Fe],delete e[Me],delete e[Le],delete e[We]}function He(e){var t=e[Ne];if(t)return t;for(var n=e.parentNode;n;){if(t=n[je]||n[Ne]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Sd(e);null!==e;){if(n=e[Ne])return n;e=Sd(e)}return t}n=(e=n).parentNode}return null}function Ue(e){if(e=e[Ne]||e[je]){var t=e.tag;if(5===t||6===t||13===t||26===t||27===t||3===t)return e}return null}function qe(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e.stateNode;throw Error(o(33))}function Ge(e){var t=e[Be];return t||(t=e[Be]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Ye(e){e[$e]=!0}var Xe=new Set,Ke={};function Qe(e,t){Je(e,t),Je(e+"Capture",t)}function Je(e,t){for(Ke[e]=t,e=0;e<t.length;e++)Xe.add(t[e])}var Ze,et,tt=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),nt={},rt={};function ot(e,t,n){if(o=t,Z.call(rt,o)||!Z.call(nt,o)&&(tt.test(o)?rt[o]=!0:(nt[o]=!0,0)))if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":return void e.removeAttribute(t);case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return void e.removeAttribute(t)}e.setAttribute(t,""+n)}var o}function at(e,t,n){if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(t)}e.setAttribute(t,""+n)}}function it(e,t,n,r){if(null===r)e.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(n)}e.setAttributeNS(t,n,""+r)}}function lt(e){if(void 0===Ze)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Ze=t&&t[1]||"",et=-1<n.stack.indexOf("\n at")?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+Ze+e+et}var st=!1;function ct(e,t){if(!e||st)return"";st=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(o){var r=o}Reflect.construct(e,[],n)}else{try{n.call()}catch(a){r=a}e.call(n.prototype)}}else{try{throw Error()}catch(i){r=i}(n=e())&&"function"==typeof n.catch&&n.catch(function(){})}}catch(l){if(l&&r&&"string"==typeof l.stack)return[l.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var a=r.DetermineComponentFrameRoot(),i=a[0],l=a[1];if(i&&l){var s=i.split("\n"),c=l.split("\n");for(o=r=0;r<s.length&&!s[r].includes("DetermineComponentFrameRoot");)r++;for(;o<c.length&&!c[o].includes("DetermineComponentFrameRoot");)o++;if(r===s.length||o===c.length)for(r=s.length-1,o=c.length-1;1<=r&&0<=o&&s[r]!==c[o];)o--;for(;1<=r&&0<=o;r--,o--)if(s[r]!==c[o]){if(1!==r||1!==o)do{if(r--,0>--o||s[r]!==c[o]){var u="\n"+s[r].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}}while(1<=r&&0<=o);break}}}finally{st=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?lt(n):""}function ut(e){switch(e.tag){case 26:case 27:case 5:return lt(e.type);case 16:return lt("Lazy");case 13:return lt("Suspense");case 19:return lt("SuspenseList");case 0:case 15:return ct(e.type,!1);case 11:return ct(e.type.render,!1);case 1:return ct(e.type,!0);case 31:return lt("Activity");default:return""}}function dt(e){try{var t="";do{t+=ut(e),e=e.return}while(e);return t}catch(n){return"\nError generating stack: "+n.message+"\n"+n.stack}}function ft(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function pt(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function ht(e){e._valueTracker||(e._valueTracker=function(e){var t=pt(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function gt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=pt(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function mt(t){if(void 0===(t=t||("undefined"!=typeof document?document:void 0)))return null;try{return t.activeElement||t.body}catch(e){return t.body}}var bt=/[\n"\\]/g;function vt(e){return e.replace(bt,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function yt(e,t,n,r,o,a,i,l){e.name="",null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i?e.type=i:e.removeAttribute("type"),null!=t?"number"===i?(0===t&&""===e.value||e.value!=t)&&(e.value=""+ft(t)):e.value!==""+ft(t)&&(e.value=""+ft(t)):"submit"!==i&&"reset"!==i||e.removeAttribute("value"),null!=t?kt(e,i,ft(t)):null!=n?kt(e,i,ft(n)):null!=r&&e.removeAttribute("value"),null==o&&null!=a&&(e.defaultChecked=!!a),null!=o&&(e.checked=o&&"function"!=typeof o&&"symbol"!=typeof o),null!=l&&"function"!=typeof l&&"symbol"!=typeof l&&"boolean"!=typeof l?e.name=""+ft(l):e.removeAttribute("name")}function xt(e,t,n,r,o,a,i,l){if(null!=a&&"function"!=typeof a&&"symbol"!=typeof a&&"boolean"!=typeof a&&(e.type=a),null!=t||null!=n){if(("submit"===a||"reset"===a)&&null==t)return;n=null!=n?""+ft(n):"",t=null!=t?""+ft(t):n,l||t===e.value||(e.value=t),e.defaultValue=t}r="function"!=typeof(r=null!=r?r:o)&&"symbol"!=typeof r&&!!r,e.checked=l?e.checked:!!r,e.defaultChecked=!!r,null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i&&(e.name=i)}function kt(e,t,n){"number"===t&&mt(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function St(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+ft(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function wt(e,t,n){null==t||((t=""+ft(t))!==e.value&&(e.value=t),null!=n)?e.defaultValue=null!=n?""+ft(n):"":e.defaultValue!==t&&(e.defaultValue=t)}function _t(e,t,n,r){if(null==t){if(null!=r){if(null!=n)throw Error(o(92));if(N(r)){if(1<r.length)throw Error(o(93));r=r[0]}n=r}null==n&&(n=""),t=n}n=ft(t),e.defaultValue=n,(r=e.textContent)===n&&""!==r&&null!==r&&(e.value=r)}function Ct(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var Et=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Pt(e,t,n){var r=0===t.indexOf("--");null==n||"boolean"==typeof n||""===n?r?e.setProperty(t,""):"float"===t?e.cssFloat="":e[t]="":r?e.setProperty(t,n):"number"!=typeof n||0===n||Et.has(t)?"float"===t?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function zt(e,t,n){if(null!=t&&"object"!=typeof t)throw Error(o(62));if(e=e.style,null!=n){for(var r in n)!n.hasOwnProperty(r)||null!=t&&t.hasOwnProperty(r)||(0===r.indexOf("--")?e.setProperty(r,""):"float"===r?e.cssFloat="":e[r]="");for(var a in t)r=t[a],t.hasOwnProperty(a)&&n[a]!==r&&Pt(e,a,r)}else for(var i in t)t.hasOwnProperty(i)&&Pt(e,i,t[i])}function Tt(e){if(-1===e.indexOf("-"))return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Rt=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),It=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Ot(e){return It.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var At=null;function Dt(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Nt=null,Ft=null;function jt(e){var t=Ue(e);if(t&&(e=t.stateNode)){var n=e[Fe]||null;e:switch(e=t.stateNode,t.type){case"input":if(yt(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+vt(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=r[Fe]||null;if(!a)throw Error(o(90));yt(r,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(t=0;t<n.length;t++)(r=n[t]).form===e.form&&gt(r)}break e;case"textarea":wt(e,n.value,n.defaultValue);break e;case"select":null!=(t=n.value)&&St(e,!!n.multiple,t,!1)}}}var Mt=!1;function Lt(e,t,n){if(Mt)return e(t,n);Mt=!0;try{return e(t)}finally{if(Mt=!1,(null!==Nt||null!==Ft)&&(Hc(),Nt&&(t=Nt,e=Ft,Ft=Nt=null,jt(t),e)))for(t=0;t<e.length;t++)jt(e[t])}}function Wt(e,t){var n=e.stateNode;if(null===n)return null;var r=n[Fe]||null;if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(o(231,t,typeof n));return n}var Bt=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),$t=!1;if(Bt)try{var Vt={};Object.defineProperty(Vt,"passive",{get:function(){$t=!0}}),window.addEventListener("test",Vt,Vt),window.removeEventListener("test",Vt,Vt)}catch(e){$t=!1}var Ht=null,Ut=null,qt=null;function Gt(){if(qt)return qt;var e,t,n=Ut,r=n.length,o="value"in Ht?Ht.value:Ht.textContent,a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);return qt=o.slice(e,1<t?1-t:void 0)}function Yt(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function Xt(){return!0}function Kt(){return!1}function Qt(e){function t(t,n,r,o,a){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?Xt:Kt,this.isPropagationStopped=Kt,this}return u(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Xt)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Xt)},persist:function(){},isPersistent:Xt}),t}var Jt,Zt,en,tn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},nn=Qt(tn),rn=u({},tn,{view:0,detail:0}),on=Qt(rn),an=u({},rn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:bn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==en&&(en&&"mousemove"===e.type?(Jt=e.screenX-en.screenX,Zt=e.screenY-en.screenY):Zt=Jt=0,en=e),Jt)},movementY:function(e){return"movementY"in e?e.movementY:Zt}}),ln=Qt(an),sn=Qt(u({},an,{dataTransfer:0})),cn=Qt(u({},rn,{relatedTarget:0})),un=Qt(u({},tn,{animationName:0,elapsedTime:0,pseudoElement:0})),dn=Qt(u({},tn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),fn=Qt(u({},tn,{data:0})),pn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},hn={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"},gn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function mn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=gn[e])&&!!t[e]}function bn(){return mn}var vn=Qt(u({},rn,{key:function(e){if(e.key){var t=pn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Yt(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?hn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:bn,charCode:function(e){return"keypress"===e.type?Yt(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Yt(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),yn=Qt(u({},an,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),xn=Qt(u({},rn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:bn})),kn=Qt(u({},tn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Sn=Qt(u({},an,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),wn=Qt(u({},tn,{newState:0,oldState:0})),_n=[9,13,27,32],Cn=Bt&&"CompositionEvent"in window,En=null;Bt&&"documentMode"in document&&(En=document.documentMode);var Pn=Bt&&"TextEvent"in window&&!En,zn=Bt&&(!Cn||En&&8<En&&11>=En),Tn=String.fromCharCode(32),Rn=!1;function In(e,t){switch(e){case"keyup":return-1!==_n.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function On(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var An=!1,Dn={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 Nn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Dn[e.type]:"textarea"===t}function Fn(e,t,n,r){Nt?Ft?Ft.push(r):Ft=[r]:Nt=r,0<(t=Gu(t,"onChange")).length&&(n=new nn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var jn=null,Mn=null;function Ln(e){Lu(e,0)}function Wn(e){if(gt(qe(e)))return e}function Bn(e,t){if("change"===e)return t}var $n=!1;if(Bt){var Vn;if(Bt){var Hn="oninput"in document;if(!Hn){var Un=document.createElement("div");Un.setAttribute("oninput","return;"),Hn="function"==typeof Un.oninput}Vn=Hn}else Vn=!1;$n=Vn&&(!document.documentMode||9<document.documentMode)}function qn(){jn&&(jn.detachEvent("onpropertychange",Gn),Mn=jn=null)}function Gn(e){if("value"===e.propertyName&&Wn(Mn)){var t=[];Fn(t,Mn,e,Dt(e)),Lt(Ln,t)}}function Yn(e,t,n){"focusin"===e?(qn(),Mn=n,(jn=t).attachEvent("onpropertychange",Gn)):"focusout"===e&&qn()}function Xn(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Wn(Mn)}function Kn(e,t){if("click"===e)return Wn(t)}function Qn(e,t){if("input"===e||"change"===e)return Wn(t)}var Jn="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function Zn(e,t){if(Jn(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!Z.call(t,o)||!Jn(e[o],t[o]))return!1}return!0}function er(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function tr(e,t){var n,r=er(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=er(r)}}function nr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?nr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function rr(e){for(var t=mt((e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window).document);t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=mt((e=t.contentWindow).document)}return t}function or(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var ar=Bt&&"documentMode"in document&&11>=document.documentMode,ir=null,lr=null,sr=null,cr=!1;function ur(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;cr||null==ir||ir!==mt(r)||(r="selectionStart"in(r=ir)&&or(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},sr&&Zn(sr,r)||(sr=r,0<(r=Gu(lr,"onSelect")).length&&(t=new nn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=ir)))}function dr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var fr={animationend:dr("Animation","AnimationEnd"),animationiteration:dr("Animation","AnimationIteration"),animationstart:dr("Animation","AnimationStart"),transitionrun:dr("Transition","TransitionRun"),transitionstart:dr("Transition","TransitionStart"),transitioncancel:dr("Transition","TransitionCancel"),transitionend:dr("Transition","TransitionEnd")},pr={},hr={};function gr(e){if(pr[e])return pr[e];if(!fr[e])return e;var t,n=fr[e];for(t in n)if(n.hasOwnProperty(t)&&t in hr)return pr[e]=n[t];return e}Bt&&(hr=document.createElement("div").style,"AnimationEvent"in window||(delete fr.animationend.animation,delete fr.animationiteration.animation,delete fr.animationstart.animation),"TransitionEvent"in window||delete fr.transitionend.transition);var mr=gr("animationend"),br=gr("animationiteration"),vr=gr("animationstart"),yr=gr("transitionrun"),xr=gr("transitionstart"),kr=gr("transitioncancel"),Sr=gr("transitionend"),wr=new Map,_r="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Cr(e,t){wr.set(e,t),Qe(t,[e])}_r.push("scrollEnd");var Er=new WeakMap;function Pr(e,t){if("object"==typeof e&&null!==e){var n=Er.get(e);return void 0!==n?n:(t={value:e,source:t,stack:dt(t)},Er.set(e,t),t)}return{value:e,source:t,stack:dt(t)}}var zr=[],Tr=0,Rr=0;function Ir(){for(var e=Tr,t=Rr=Tr=0;t<e;){var n=zr[t];zr[t++]=null;var r=zr[t];zr[t++]=null;var o=zr[t];zr[t++]=null;var a=zr[t];if(zr[t++]=null,null!==r&&null!==o){var i=r.pending;null===i?o.next=o:(o.next=i.next,i.next=o),r.pending=o}0!==a&&Nr(n,o,a)}}function Or(e,t,n,r){zr[Tr++]=e,zr[Tr++]=t,zr[Tr++]=n,zr[Tr++]=r,Rr|=r,e.lanes|=r,null!==(e=e.alternate)&&(e.lanes|=r)}function Ar(e,t,n,r){return Or(e,t,n,r),Fr(e)}function Dr(e,t){return Or(e,null,null,t),Fr(e)}function Nr(e,t,n){e.lanes|=n;var r=e.alternate;null!==r&&(r.lanes|=n);for(var o=!1,a=e.return;null!==a;)a.childLanes|=n,null!==(r=a.alternate)&&(r.childLanes|=n),22===a.tag&&(null===(e=a.stateNode)||1&e._visibility||(o=!0)),e=a,a=a.return;return 3===e.tag?(a=e.stateNode,o&&null!==t&&(o=31-me(n),null===(r=(e=a.hiddenUpdates)[o])?e[o]=[t]:r.push(t),t.lane=536870912|n),a):null}function Fr(e){if(50<Nc)throw Nc=0,Fc=null,Error(o(185));for(var t=e.return;null!==t;)t=(e=t).return;return 3===e.tag?e.stateNode:null}var jr={};function Mr(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Lr(e,t,n,r){return new Mr(e,t,n,r)}function Wr(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Br(e,t){var n=e.alternate;return null===n?((n=Lr(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=65011712&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function $r(e,t){e.flags&=65011714;var n=e.alternate;return null===n?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Vr(e,t,n,r,a,i){var l=0;if(r=e,"function"==typeof e)Wr(e)&&(l=1);else if("string"==typeof e)l=function(e,t,n){if(1===n||null!=t.itemProp)return!1;switch(e){case"meta":case"title":return!0;case"style":if("string"!=typeof t.precedence||"string"!=typeof t.href||""===t.href)break;return!0;case"link":if("string"!=typeof t.rel||"string"!=typeof t.href||""===t.href||t.onLoad||t.onError)break;return"stylesheet"!==t.rel||(e=t.disabled,"string"==typeof t.precedence&&null==e);case"script":if(t.async&&"function"!=typeof t.async&&"symbol"!=typeof t.async&&!t.onLoad&&!t.onError&&t.src&&"string"==typeof t.src)return!0}return!1}(e,n,U.current)?26:"html"===e||"head"===e||"body"===e?27:5;else e:switch(e){case P:return(e=Lr(31,n,t,a)).elementType=P,e.lanes=i,e;case h:return Hr(n.children,a,i,t);case g:l=8,a|=24;break;case m:return(e=Lr(12,n,t,2|a)).elementType=m,e.lanes=i,e;case S:return(e=Lr(13,n,t,a)).elementType=S,e.lanes=i,e;case w:return(e=Lr(19,n,t,a)).elementType=w,e.lanes=i,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case b:case x:l=10;break e;case y:l=9;break e;case k:l=11;break e;case _:l=14;break e;case E:l=16,r=null;break e}l=29,n=Error(o(130,null===e?"null":typeof e,"")),r=null}return(t=Lr(l,n,t,a)).elementType=e,t.type=r,t.lanes=i,t}function Hr(e,t,n,r){return(e=Lr(7,e,r,t)).lanes=n,e}function Ur(e,t,n){return(e=Lr(6,e,null,t)).lanes=n,e}function qr(e,t,n){return(t=Lr(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Gr=[],Yr=0,Xr=null,Kr=0,Qr=[],Jr=0,Zr=null,eo=1,to="";function no(e,t){Gr[Yr++]=Kr,Gr[Yr++]=Xr,Xr=e,Kr=t}function ro(e,t,n){Qr[Jr++]=eo,Qr[Jr++]=to,Qr[Jr++]=Zr,Zr=e;var r=eo;e=to;var o=32-me(r)-1;r&=~(1<<o),n+=1;var a=32-me(t)+o;if(30<a){var i=o-o%5;a=(r&(1<<i)-1).toString(32),r>>=i,o-=i,eo=1<<32-me(t)+o|n<<o|r,to=a+e}else eo=1<<a|n<<o|r,to=e}function oo(e){null!==e.return&&(no(e,1),ro(e,1,0))}function ao(e){for(;e===Xr;)Xr=Gr[--Yr],Gr[Yr]=null,Kr=Gr[--Yr],Gr[Yr]=null;for(;e===Zr;)Zr=Qr[--Jr],Qr[Jr]=null,to=Qr[--Jr],Qr[Jr]=null,eo=Qr[--Jr],Qr[Jr]=null}var io=null,lo=null,so=!1,co=null,uo=!1,fo=Error(o(519));function po(e){throw yo(Pr(Error(o(418,"")),e)),fo}function ho(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[Ne]=e,t[Fe]=r,n){case"dialog":Wu("cancel",t),Wu("close",t);break;case"iframe":case"object":case"embed":Wu("load",t);break;case"video":case"audio":for(n=0;n<ju.length;n++)Wu(ju[n],t);break;case"source":Wu("error",t);break;case"img":case"image":case"link":Wu("error",t),Wu("load",t);break;case"details":Wu("toggle",t);break;case"input":Wu("invalid",t),xt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0),ht(t);break;case"select":Wu("invalid",t);break;case"textarea":Wu("invalid",t),_t(t,r.value,r.defaultValue,r.children),ht(t)}"string"!=typeof(n=r.children)&&"number"!=typeof n&&"bigint"!=typeof n||t.textContent===""+n||!0===r.suppressHydrationWarning||Zu(t.textContent,n)?(null!=r.popover&&(Wu("beforetoggle",t),Wu("toggle",t)),null!=r.onScroll&&Wu("scroll",t),null!=r.onScrollEnd&&Wu("scrollend",t),null!=r.onClick&&(t.onclick=ed),t=!0):t=!1,t||po(e)}function go(e){for(io=e.return;io;)switch(io.tag){case 5:case 13:return void(uo=!1);case 27:case 3:return void(uo=!0);default:io=io.return}}function mo(e){if(e!==io)return!1;if(!so)return go(e),so=!0,!1;var t,n=e.tag;if((t=3!==n&&27!==n)&&((t=5===n)&&(t=!("form"!==(t=e.type)&&"button"!==t)||cd(e.type,e.memoizedProps)),t=!t),t&&lo&&po(e),go(e),13===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,n=0;e;){if(8===e.nodeType)if("/$"===(t=e.data)){if(0===n){lo=xd(e.nextSibling);break e}n--}else"$"!==t&&"$!"!==t&&"$?"!==t||n++;e=e.nextSibling}lo=null}}else 27===n?(n=lo,md(e.type)?(e=kd,kd=null,lo=e):lo=n):lo=io?xd(e.stateNode.nextSibling):null;return!0}function bo(){lo=io=null,so=!1}function vo(){var e=co;return null!==e&&(null===Sc?Sc=e:Sc.push.apply(Sc,e),co=null),e}function yo(e){null===co?co=[e]:co.push(e)}var xo=$(null),ko=null,So=null;function wo(e,t,n){H(xo,t._currentValue),t._currentValue=n}function _o(e){e._currentValue=xo.current,V(xo)}function Co(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Eo(e,t,n,r){var a=e.child;for(null!==a&&(a.return=e);null!==a;){var i=a.dependencies;if(null!==i){var l=a.child;i=i.firstContext;e:for(;null!==i;){var s=i;i=a;for(var c=0;c<t.length;c++)if(s.context===t[c]){i.lanes|=n,null!==(s=i.alternate)&&(s.lanes|=n),Co(i.return,n,e),r||(l=null);break e}i=s.next}}else if(18===a.tag){if(null===(l=a.return))throw Error(o(341));l.lanes|=n,null!==(i=l.alternate)&&(i.lanes|=n),Co(l,n,e),l=null}else l=a.child;if(null!==l)l.return=a;else for(l=a;null!==l;){if(l===e){l=null;break}if(null!==(a=l.sibling)){a.return=l.return,l=a;break}l=l.return}a=l}}function Po(e,t,n,r){e=null;for(var a=t,i=!1;null!==a;){if(!i)if(524288&a.flags)i=!0;else if(262144&a.flags)break;if(10===a.tag){var l=a.alternate;if(null===l)throw Error(o(387));if(null!==(l=l.memoizedProps)){var s=a.type;Jn(a.pendingProps.value,l.value)||(null!==e?e.push(s):e=[s])}}else if(a===Y.current){if(null===(l=a.alternate))throw Error(o(387));l.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(null!==e?e.push(Qd):e=[Qd])}a=a.return}null!==e&&Eo(t,e,n,r),t.flags|=262144}function zo(e){for(e=e.firstContext;null!==e;){if(!Jn(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function To(e){ko=e,So=null,null!==(e=e.dependencies)&&(e.firstContext=null)}function Ro(e){return Oo(ko,e)}function Io(e,t){return null===ko&&To(e),Oo(e,t)}function Oo(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},null===So){if(null===e)throw Error(o(308));So=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else So=So.next=t;return n}var Ao="undefined"!=typeof AbortController?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},Do=t.unstable_scheduleCallback,No=t.unstable_NormalPriority,Fo={$$typeof:x,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function jo(){return{controller:new Ao,data:new Map,refCount:0}}function Mo(e){e.refCount--,0===e.refCount&&Do(No,function(){e.controller.abort()})}var Lo=null,Wo=0,Bo=0,$o=null;function Vo(){if(0===--Wo&&null!==Lo){null!==$o&&($o.status="fulfilled");var e=Lo;Lo=null,Bo=0,$o=null;for(var t=0;t<e.length;t++)(0,e[t])()}}var Ho=F.S;F.S=function(e,t){"object"==typeof t&&null!==t&&"function"==typeof t.then&&function(e,t){if(null===Lo){var n=Lo=[];Wo=0,Bo=Ou(),$o={status:"pending",value:void 0,then:function(e){n.push(e)}}}Wo++,t.then(Vo,Vo)}(0,t),null!==Ho&&Ho(e,t)};var Uo=$(null);function qo(){var e=Uo.current;return null!==e?e:ic.pooledCache}function Go(e,t){H(Uo,null===t?Uo.current:t.pool)}function Yo(){var e=qo();return null===e?null:{parent:Fo._currentValue,pool:e}}var Xo=Error(o(460)),Ko=Error(o(474)),Qo=Error(o(542)),Jo={then:function(){}};function Zo(e){return"fulfilled"===(e=e.status)||"rejected"===e}function ea(){}function ta(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(ea,ea),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw oa(e=t.reason),e;default:if("string"==typeof t.status)t.then(ea,ea);else{if(null!==(e=ic)&&100<e.shellSuspendCounter)throw Error(o(482));(e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw oa(e=t.reason),e}throw na=t,Xo}}var na=null;function ra(){if(null===na)throw Error(o(459));var e=na;return na=null,e}function oa(e){if(e===Xo||e===Qo)throw Error(o(483))}var aa=!1;function ia(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function la(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function sa(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function ca(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&ac){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,t=Fr(e),Nr(e,null,n),t}return Or(e,r,t,n),Fr(e)}function ua(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194048&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Re(e,n)}}function da(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var i={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};null===a?o=a=i:a=a.next=i,n=n.next}while(null!==n);null===a?o=a=t:a=a.next=t}else o=a=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var fa=!1;function pa(){if(fa&&null!==$o)throw $o}function ha(e,t,n,r){fa=!1;var o=e.updateQueue;aa=!1;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,c=s.next;s.next=null,null===i?a=c:i.next=c,i=s;var d=e.alternate;null!==d&&(l=(d=d.updateQueue).lastBaseUpdate)!==i&&(null===l?d.firstBaseUpdate=c:l.next=c,d.lastBaseUpdate=s)}if(null!==a){var f=o.baseState;for(i=0,d=c=s=null,l=a;;){var p=-536870913&l.lane,h=p!==l.lane;if(h?(sc&p)===p:(r&p)===p){0!==p&&p===Bo&&(fa=!0),null!==d&&(d=d.next={lane:0,tag:l.tag,payload:l.payload,callback:null,next:null});e:{var g=e,m=l;p=t;var b=n;switch(m.tag){case 1:if("function"==typeof(g=m.payload)){f=g.call(b,f,p);break e}f=g;break e;case 3:g.flags=-65537&g.flags|128;case 0:if(null==(p="function"==typeof(g=m.payload)?g.call(b,f,p):g))break e;f=u({},f,p);break e;case 2:aa=!0}}null!==(p=l.callback)&&(e.flags|=64,h&&(e.flags|=8192),null===(h=o.callbacks)?o.callbacks=[p]:h.push(p))}else h={lane:p,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===d?(c=d=h,s=f):d=d.next=h,i|=p;if(null===(l=l.next)){if(null===(l=o.shared.pending))break;l=(h=l).next,h.next=null,o.lastBaseUpdate=h,o.shared.pending=null}}null===d&&(s=f),o.baseState=s,o.firstBaseUpdate=c,o.lastBaseUpdate=d,null===a&&(o.shared.lanes=0),mc|=i,e.lanes=i,e.memoizedState=f}}function ga(e,t){if("function"!=typeof e)throw Error(o(191,e));e.call(t)}function ma(e,t){var n=e.callbacks;if(null!==n)for(e.callbacks=null,e=0;e<n.length;e++)ga(n[e],t)}var ba=$(null),va=$(0);function ya(e,t){H(va,e=hc),H(ba,t),hc=e|t.baseLanes}function xa(){H(va,hc),H(ba,ba.current)}function ka(){hc=va.current,V(ba),V(va)}var Sa=0,wa=null,_a=null,Ca=null,Ea=!1,Pa=!1,za=!1,Ta=0,Ra=0,Ia=null,Oa=0;function Aa(){throw Error(o(321))}function Da(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Jn(e[n],t[n]))return!1;return!0}function Na(e,t,n,r,o,a){return Sa=a,wa=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,F.H=null===e||null===e.memoizedState?Xi:Ki,za=!1,a=n(r,o),za=!1,Pa&&(a=ja(t,n,r,o)),Fa(e),a}function Fa(e){F.H=Yi;var t=null!==_a&&null!==_a.next;if(Sa=0,Ca=_a=wa=null,Ea=!1,Ra=0,Ia=null,t)throw Error(o(300));null===e||Rl||null!==(e=e.dependencies)&&zo(e)&&(Rl=!0)}function ja(e,t,n,r){wa=e;var a=0;do{if(Pa&&(Ia=null),Ra=0,Pa=!1,25<=a)throw Error(o(301));if(a+=1,Ca=_a=null,null!=e.updateQueue){var i=e.updateQueue;i.lastEffect=null,i.events=null,i.stores=null,null!=i.memoCache&&(i.memoCache.index=0)}F.H=Qi,i=t(n,r)}while(Pa);return i}function Ma(){var e=F.H,t=e.useState()[0];return t="function"==typeof t.then?Ha(t):t,e=e.useState()[0],(null!==_a?_a.memoizedState:null)!==e&&(wa.flags|=1024),t}function La(){var e=0!==Ta;return Ta=0,e}function Wa(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function Ba(e){if(Ea){for(e=e.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}Ea=!1}Sa=0,Ca=_a=wa=null,Pa=!1,Ra=Ta=0,Ia=null}function $a(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Ca?wa.memoizedState=Ca=e:Ca=Ca.next=e,Ca}function Va(){if(null===_a){var e=wa.alternate;e=null!==e?e.memoizedState:null}else e=_a.next;var t=null===Ca?wa.memoizedState:Ca.next;if(null!==t)Ca=t,_a=e;else{if(null===e){if(null===wa.alternate)throw Error(o(467));throw Error(o(310))}e={memoizedState:(_a=e).memoizedState,baseState:_a.baseState,baseQueue:_a.baseQueue,queue:_a.queue,next:null},null===Ca?wa.memoizedState=Ca=e:Ca=Ca.next=e}return Ca}function Ha(e){var t=Ra;return Ra+=1,null===Ia&&(Ia=[]),e=ta(Ia,e,t),t=wa,null===(null===Ca?t.memoizedState:Ca.next)&&(t=t.alternate,F.H=null===t||null===t.memoizedState?Xi:Ki),e}function Ua(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return Ha(e);if(e.$$typeof===x)return Ro(e)}throw Error(o(438,String(e)))}function qa(e){var t=null,n=wa.updateQueue;if(null!==n&&(t=n.memoCache),null==t){var r=wa.alternate;null!==r&&null!==(r=r.updateQueue)&&null!=(r=r.memoCache)&&(t={data:r.data.map(function(e){return e.slice()}),index:0})}if(null==t&&(t={data:[],index:0}),null===n&&(n={lastEffect:null,events:null,stores:null,memoCache:null},wa.updateQueue=n),n.memoCache=t,void 0===(n=t.data[t.index]))for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=z;return t.index++,n}function Ga(e,t){return"function"==typeof t?t(e):t}function Ya(e){return Xa(Va(),_a,e)}function Xa(e,t,n){var r=e.queue;if(null===r)throw Error(o(311));r.lastRenderedReducer=n;var a=e.baseQueue,i=r.pending;if(null!==i){if(null!==a){var l=a.next;a.next=i.next,i.next=l}t.baseQueue=a=i,r.pending=null}if(i=e.baseState,null===a)e.memoizedState=i;else{var s=l=null,c=null,u=t=a.next,d=!1;do{var f=-536870913&u.lane;if(f!==u.lane?(sc&f)===f:(Sa&f)===f){var p=u.revertLane;if(0===p)null!==c&&(c=c.next={lane:0,revertLane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),f===Bo&&(d=!0);else{if((Sa&p)===p){u=u.next,p===Bo&&(d=!0);continue}f={lane:0,revertLane:u.revertLane,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},null===c?(s=c=f,l=i):c=c.next=f,wa.lanes|=p,mc|=p}f=u.action,za&&n(i,f),i=u.hasEagerState?u.eagerState:n(i,f)}else p={lane:f,revertLane:u.revertLane,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},null===c?(s=c=p,l=i):c=c.next=p,wa.lanes|=f,mc|=f;u=u.next}while(null!==u&&u!==t);if(null===c?l=i:c.next=s,!Jn(i,e.memoizedState)&&(Rl=!0,d&&null!==(n=$o)))throw n;e.memoizedState=i,e.baseState=l,e.baseQueue=c,r.lastRenderedState=i}return null===a&&(r.lanes=0),[e.memoizedState,r.dispatch]}function Ka(e){var t=Va(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,i=t.memoizedState;if(null!==a){n.pending=null;var l=a=a.next;do{i=e(i,l.action),l=l.next}while(l!==a);Jn(i,t.memoizedState)||(Rl=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Qa(e,t,n){var r=wa,a=Va(),i=so;if(i){if(void 0===n)throw Error(o(407));n=n()}else n=t();var l=!Jn((_a||a).memoizedState,n);if(l&&(a.memoizedState=n,Rl=!0),a=a.queue,xi(2048,8,ei.bind(null,r,a,e),[e]),a.getSnapshot!==t||l||null!==Ca&&1&Ca.memoizedState.tag){if(r.flags|=2048,bi(9,{destroy:void 0,resource:void 0},Za.bind(null,r,a,n,t),null),null===ic)throw Error(o(349));i||124&Sa||Ja(r,t,n)}return n}function Ja(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=wa.updateQueue)?(t={lastEffect:null,events:null,stores:null,memoCache:null},wa.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Za(e,t,n,r){t.value=n,t.getSnapshot=r,ti(t)&&ni(e)}function ei(e,t,n){return n(function(){ti(t)&&ni(e)})}function ti(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Jn(e,n)}catch(r){return!0}}function ni(e){var t=Dr(e,2);null!==t&&Lc(t,0,2)}function ri(e){var t=$a();if("function"==typeof e){var n=e;if(e=n(),za){ge(!0);try{n()}finally{ge(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ga,lastRenderedState:e},t}function oi(e,t,n,r){return e.baseState=n,Xa(e,_a,"function"==typeof r?r:Ga)}function ai(e,t,n,r,a){if(Ui(e))throw Error(o(485));if(null!==(e=t.action)){var i={payload:a,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(e){i.listeners.push(e)}};null!==F.T?n(!0):i.isTransition=!1,r(i),null===(n=t.pending)?(i.next=t.pending=i,ii(t,i)):(i.next=n.next,t.pending=n.next=i)}}function ii(e,t){var n=t.action,r=t.payload,o=e.state;if(t.isTransition){var a=F.T,i={};F.T=i;try{var l=n(o,r),s=F.S;null!==s&&s(i,l),li(e,t,l)}catch(c){ci(e,t,c)}finally{F.T=a}}else try{li(e,t,a=n(o,r))}catch(u){ci(e,t,u)}}function li(e,t,n){null!==n&&"object"==typeof n&&"function"==typeof n.then?n.then(function(n){si(e,t,n)},function(n){return ci(e,t,n)}):si(e,t,n)}function si(e,t,n){t.status="fulfilled",t.value=n,ui(t),e.state=n,null!==(t=e.pending)&&((n=t.next)===t?e.pending=null:(n=n.next,t.next=n,ii(e,n)))}function ci(e,t,n){var r=e.pending;if(e.pending=null,null!==r){r=r.next;do{t.status="rejected",t.reason=n,ui(t),t=t.next}while(t!==r)}e.action=null}function ui(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function di(e,t){return t}function fi(e,t){if(so){var n=ic.formState;if(null!==n){e:{var r=wa;if(so){if(lo){t:{for(var o=lo,a=uo;8!==o.nodeType;){if(!a){o=null;break t}if(null===(o=xd(o.nextSibling))){o=null;break t}}o="F!"===(a=o.data)||"F"===a?o:null}if(o){lo=xd(o.nextSibling),r="F!"===o.data;break e}}po(r)}r=!1}r&&(t=n[0])}}return(n=$a()).memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:di,lastRenderedState:t},n.queue=r,n=$i.bind(null,wa,r),r.dispatch=n,r=ri(!1),a=Hi.bind(null,wa,!1,r.queue),o={state:t,dispatch:null,action:e,pending:null},(r=$a()).queue=o,n=ai.bind(null,wa,o,a,n),o.dispatch=n,r.memoizedState=e,[t,n,!1]}function pi(e){return hi(Va(),_a,e)}function hi(e,t,n){if(t=Xa(e,t,di)[0],e=Ya(Ga)[0],"object"==typeof t&&null!==t&&"function"==typeof t.then)try{var r=Ha(t)}catch(i){if(i===Xo)throw Qo;throw i}else r=t;var o=(t=Va()).queue,a=o.dispatch;return n!==t.memoizedState&&(wa.flags|=2048,bi(9,{destroy:void 0,resource:void 0},gi.bind(null,o,n),null)),[r,a,e]}function gi(e,t){e.action=t}function mi(e){var t=Va(),n=_a;if(null!==n)return hi(t,n,e);Va(),t=t.memoizedState;var r=(n=Va()).queue.dispatch;return n.memoizedState=e,[t,r,!1]}function bi(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},null===(t=wa.updateQueue)&&(t={lastEffect:null,events:null,stores:null,memoCache:null},wa.updateQueue=t),null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function vi(){return Va().memoizedState}function yi(e,t,n,r){var o=$a();r=void 0===r?null:r,wa.flags|=e,o.memoizedState=bi(1|t,{destroy:void 0,resource:void 0},n,r)}function xi(e,t,n,r){var o=Va();r=void 0===r?null:r;var a=o.memoizedState.inst;null!==_a&&null!==r&&Da(r,_a.memoizedState.deps)?o.memoizedState=bi(t,a,n,r):(wa.flags|=e,o.memoizedState=bi(1|t,a,n,r))}function ki(e,t){yi(8390656,8,e,t)}function Si(e,t){xi(2048,8,e,t)}function wi(e,t){return xi(4,2,e,t)}function _i(e,t){return xi(4,4,e,t)}function Ci(e,t){if("function"==typeof t){e=e();var n=t(e);return function(){"function"==typeof n?n():t(null)}}if(null!=t)return e=e(),t.current=e,function(){t.current=null}}function Ei(e,t,n){n=null!=n?n.concat([e]):null,xi(4,4,Ci.bind(null,t,e),n)}function Pi(){}function zi(e,t){var n=Va();t=void 0===t?null:t;var r=n.memoizedState;return null!==t&&Da(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ti(e,t){var n=Va();t=void 0===t?null:t;var r=n.memoizedState;if(null!==t&&Da(t,r[1]))return r[0];if(r=e(),za){ge(!0);try{e()}finally{ge(!1)}}return n.memoizedState=[r,t],r}function Ri(e,t,n){return void 0===n||1073741824&Sa?e.memoizedState=t:(e.memoizedState=n,e=Mc(),wa.lanes|=e,mc|=e,n)}function Ii(e,t,n,r){return Jn(n,t)?n:null!==ba.current?(e=Ri(e,n,r),Jn(e,t)||(Rl=!0),e):42&Sa?(e=Mc(),wa.lanes|=e,mc|=e,t):(Rl=!0,e.memoizedState=n)}function Oi(e,t,n,r,o){var a=M.p;M.p=0!==a&&8>a?a:8;var i,l,s,c=F.T,u={};F.T=u,Hi(e,!1,t,n);try{var d=o(),f=F.S;null!==f&&f(u,d),null!==d&&"object"==typeof d&&"function"==typeof d.then?Vi(e,t,(i=r,l=[],s={status:"pending",value:null,reason:null,then:function(e){l.push(e)}},d.then(function(){s.status="fulfilled",s.value=i;for(var e=0;e<l.length;e++)(0,l[e])(i)},function(e){for(s.status="rejected",s.reason=e,e=0;e<l.length;e++)(0,l[e])(void 0)}),s),jc()):Vi(e,t,r,jc())}catch(p){Vi(e,t,{then:function(){},status:"rejected",reason:p},jc())}finally{M.p=a,F.T=c}}function Ai(){}function Di(e,t,n,r){if(5!==e.tag)throw Error(o(476));var a=Ni(e).queue;Oi(e,a,t,L,null===n?Ai:function(){return Fi(e),n(r)})}function Ni(e){var t=e.memoizedState;if(null!==t)return t;var n={};return(t={memoizedState:L,baseState:L,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ga,lastRenderedState:L},next:null}).next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ga,lastRenderedState:n},next:null},e.memoizedState=t,null!==(e=e.alternate)&&(e.memoizedState=t),t}function Fi(e){Vi(e,Ni(e).next.queue,{},jc())}function ji(){return Ro(Qd)}function Mi(){return Va().memoizedState}function Li(){return Va().memoizedState}function Wi(e){for(var t=e.return;null!==t;){switch(t.tag){case 24:case 3:var n=jc(),r=ca(t,e=sa(n),n);return null!==r&&(Lc(r,0,n),ua(r,t,n)),t={cache:jo()},void(e.payload=t)}t=t.return}}function Bi(e,t,n){var r=jc();n={lane:r,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null},Ui(e)?qi(t,n):null!==(n=Ar(e,t,n,r))&&(Lc(n,0,r),Gi(n,t,r))}function $i(e,t,n){Vi(e,t,n,jc())}function Vi(e,t,n,r){var o={lane:r,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ui(e))qi(t,o);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=a(i,n);if(o.hasEagerState=!0,o.eagerState=l,Jn(l,i))return Or(e,t,o,0),null===ic&&Ir(),!1}catch(s){}if(null!==(n=Ar(e,t,o,r)))return Lc(n,0,r),Gi(n,t,r),!0}return!1}function Hi(e,t,n,r){if(r={lane:2,revertLane:Ou(),action:r,hasEagerState:!1,eagerState:null,next:null},Ui(e)){if(t)throw Error(o(479))}else null!==(t=Ar(e,n,r,2))&&Lc(t,0,2)}function Ui(e){var t=e.alternate;return e===wa||null!==t&&t===wa}function qi(e,t){Pa=Ea=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Gi(e,t,n){if(4194048&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Re(e,n)}}var Yi={readContext:Ro,use:Ua,useCallback:Aa,useContext:Aa,useEffect:Aa,useImperativeHandle:Aa,useLayoutEffect:Aa,useInsertionEffect:Aa,useMemo:Aa,useReducer:Aa,useRef:Aa,useState:Aa,useDebugValue:Aa,useDeferredValue:Aa,useTransition:Aa,useSyncExternalStore:Aa,useId:Aa,useHostTransitionStatus:Aa,useFormState:Aa,useActionState:Aa,useOptimistic:Aa,useMemoCache:Aa,useCacheRefresh:Aa},Xi={readContext:Ro,use:Ua,useCallback:function(e,t){return $a().memoizedState=[e,void 0===t?null:t],e},useContext:Ro,useEffect:ki,useImperativeHandle:function(e,t,n){n=null!=n?n.concat([e]):null,yi(4194308,4,Ci.bind(null,t,e),n)},useLayoutEffect:function(e,t){return yi(4194308,4,e,t)},useInsertionEffect:function(e,t){yi(4,2,e,t)},useMemo:function(e,t){var n=$a();t=void 0===t?null:t;var r=e();if(za){ge(!0);try{e()}finally{ge(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=$a();if(void 0!==n){var o=n(t);if(za){ge(!0);try{n(t)}finally{ge(!1)}}}else o=t;return r.memoizedState=r.baseState=o,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:o},r.queue=e,e=e.dispatch=Bi.bind(null,wa,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},$a().memoizedState=e},useState:function(e){var t=(e=ri(e)).queue,n=$i.bind(null,wa,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Pi,useDeferredValue:function(e,t){return Ri($a(),e,t)},useTransition:function(){var e=ri(!1);return e=Oi.bind(null,wa,e.queue,!0,!1),$a().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=wa,a=$a();if(so){if(void 0===n)throw Error(o(407));n=n()}else{if(n=t(),null===ic)throw Error(o(349));124&sc||Ja(r,t,n)}a.memoizedState=n;var i={value:n,getSnapshot:t};return a.queue=i,ki(ei.bind(null,r,i,e),[e]),r.flags|=2048,bi(9,{destroy:void 0,resource:void 0},Za.bind(null,r,i,n,t),null),n},useId:function(){var e=$a(),t=ic.identifierPrefix;if(so){var n=to;t="«"+t+"R"+(n=(eo&~(1<<32-me(eo)-1)).toString(32)+n),0<(n=Ta++)&&(t+="H"+n.toString(32)),t+="»"}else t="«"+t+"r"+(n=Oa++).toString(32)+"»";return e.memoizedState=t},useHostTransitionStatus:ji,useFormState:fi,useActionState:fi,useOptimistic:function(e){var t=$a();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Hi.bind(null,wa,!0,n),n.dispatch=t,[e,t]},useMemoCache:qa,useCacheRefresh:function(){return $a().memoizedState=Wi.bind(null,wa)}},Ki={readContext:Ro,use:Ua,useCallback:zi,useContext:Ro,useEffect:Si,useImperativeHandle:Ei,useInsertionEffect:wi,useLayoutEffect:_i,useMemo:Ti,useReducer:Ya,useRef:vi,useState:function(){return Ya(Ga)},useDebugValue:Pi,useDeferredValue:function(e,t){return Ii(Va(),_a.memoizedState,e,t)},useTransition:function(){var e=Ya(Ga)[0],t=Va().memoizedState;return["boolean"==typeof e?e:Ha(e),t]},useSyncExternalStore:Qa,useId:Mi,useHostTransitionStatus:ji,useFormState:pi,useActionState:pi,useOptimistic:function(e,t){return oi(Va(),0,e,t)},useMemoCache:qa,useCacheRefresh:Li},Qi={readContext:Ro,use:Ua,useCallback:zi,useContext:Ro,useEffect:Si,useImperativeHandle:Ei,useInsertionEffect:wi,useLayoutEffect:_i,useMemo:Ti,useReducer:Ka,useRef:vi,useState:function(){return Ka(Ga)},useDebugValue:Pi,useDeferredValue:function(e,t){var n=Va();return null===_a?Ri(n,e,t):Ii(n,_a.memoizedState,e,t)},useTransition:function(){var e=Ka(Ga)[0],t=Va().memoizedState;return["boolean"==typeof e?e:Ha(e),t]},useSyncExternalStore:Qa,useId:Mi,useHostTransitionStatus:ji,useFormState:mi,useActionState:mi,useOptimistic:function(e,t){var n=Va();return null!==_a?oi(n,0,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:qa,useCacheRefresh:Li},Ji=null,Zi=0;function el(e){var t=Zi;return Zi+=1,null===Ji&&(Ji=[]),ta(Ji,e,t)}function tl(e,t){t=t.props.ref,e.ref=void 0!==t?t:null}function nl(e,t){if(t.$$typeof===d)throw Error(o(525));throw e=Object.prototype.toString.call(t),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function rl(e){return(0,e._init)(e._payload)}function ol(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;null!==e;)null!==e.key?t.set(e.key,e):t.set(e.index,e),e=e.sibling;return t}function a(e,t){return(e=Br(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=67108866,n):r:(t.flags|=67108866,n):(t.flags|=1048576,n)}function l(t){return e&&null===t.alternate&&(t.flags|=67108866),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=Ur(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function c(e,t,n,r){var o=n.type;return o===h?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===E&&rl(o)===t.type)?(tl(t=a(t,n.props),n),t.return=e,t):(tl(t=Vr(n.type,n.key,n.props,null,e.mode,r),n),t.return=e,t)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=qr(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=Hr(n,e.mode,r,o)).return=e,t):((t=a(t,n)).return=e,t)}function g(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t||"bigint"==typeof t)return(t=Ur(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case f:return tl(n=Vr(t.type,t.key,t.props,null,e.mode,n),t),n.return=e,n;case p:return(t=qr(t,e.mode,n)).return=e,t;case E:return g(e,t=(0,t._init)(t._payload),n)}if(N(t)||I(t))return(t=Hr(t,e.mode,n,null)).return=e,t;if("function"==typeof t.then)return g(e,el(t),n);if(t.$$typeof===x)return g(e,Io(e,t),n);nl(e,t)}return null}function m(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n||"bigint"==typeof n)return null!==o?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case f:return n.key===o?c(e,t,n,r):null;case p:return n.key===o?u(e,t,n,r):null;case E:return m(e,t,n=(o=n._init)(n._payload),r)}if(N(n)||I(n))return null!==o?null:d(e,t,n,r,null);if("function"==typeof n.then)return m(e,t,el(n),r);if(n.$$typeof===x)return m(e,t,Io(e,n),r);nl(e,n)}return null}function b(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r||"bigint"==typeof r)return s(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case f:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case p:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case E:return b(e,t,n,r=(0,r._init)(r._payload),o)}if(N(r)||I(r))return d(t,e=e.get(n)||null,r,o,null);if("function"==typeof r.then)return b(e,t,n,el(r),o);if(r.$$typeof===x)return b(e,t,n,Io(t,r),o);nl(t,r)}return null}function v(s,c,u,d){if("object"==typeof u&&null!==u&&u.type===h&&null===u.key&&(u=u.props.children),"object"==typeof u&&null!==u){switch(u.$$typeof){case f:e:{for(var y=u.key;null!==c;){if(c.key===y){if((y=u.type)===h){if(7===c.tag){n(s,c.sibling),(d=a(c,u.props.children)).return=s,s=d;break e}}else if(c.elementType===y||"object"==typeof y&&null!==y&&y.$$typeof===E&&rl(y)===c.type){n(s,c.sibling),tl(d=a(c,u.props),u),d.return=s,s=d;break e}n(s,c);break}t(s,c),c=c.sibling}u.type===h?((d=Hr(u.props.children,s.mode,d,u.key)).return=s,s=d):(tl(d=Vr(u.type,u.key,u.props,null,s.mode,d),u),d.return=s,s=d)}return l(s);case p:e:{for(y=u.key;null!==c;){if(c.key===y){if(4===c.tag&&c.stateNode.containerInfo===u.containerInfo&&c.stateNode.implementation===u.implementation){n(s,c.sibling),(d=a(c,u.children||[])).return=s,s=d;break e}n(s,c);break}t(s,c),c=c.sibling}(d=qr(u,s.mode,d)).return=s,s=d}return l(s);case E:return v(s,c,u=(y=u._init)(u._payload),d)}if(N(u))return function(o,a,l,s){for(var c=null,u=null,d=a,f=a=0,p=null;null!==d&&f<l.length;f++){d.index>f?(p=d,d=null):p=d.sibling;var h=m(o,d,l[f],s);if(null===h){null===d&&(d=p);break}e&&d&&null===h.alternate&&t(o,d),a=i(h,a,f),null===u?c=h:u.sibling=h,u=h,d=p}if(f===l.length)return n(o,d),so&&no(o,f),c;if(null===d){for(;f<l.length;f++)null!==(d=g(o,l[f],s))&&(a=i(d,a,f),null===u?c=d:u.sibling=d,u=d);return so&&no(o,f),c}for(d=r(d);f<l.length;f++)null!==(p=b(d,o,f,l[f],s))&&(e&&null!==p.alternate&&d.delete(null===p.key?f:p.key),a=i(p,a,f),null===u?c=p:u.sibling=p,u=p);return e&&d.forEach(function(e){return t(o,e)}),so&&no(o,f),c}(s,c,u,d);if(I(u)){if("function"!=typeof(y=I(u)))throw Error(o(150));return function(a,l,s,c){if(null==s)throw Error(o(151));for(var u=null,d=null,f=l,p=l=0,h=null,v=s.next();null!==f&&!v.done;p++,v=s.next()){f.index>p?(h=f,f=null):h=f.sibling;var y=m(a,f,v.value,c);if(null===y){null===f&&(f=h);break}e&&f&&null===y.alternate&&t(a,f),l=i(y,l,p),null===d?u=y:d.sibling=y,d=y,f=h}if(v.done)return n(a,f),so&&no(a,p),u;if(null===f){for(;!v.done;p++,v=s.next())null!==(v=g(a,v.value,c))&&(l=i(v,l,p),null===d?u=v:d.sibling=v,d=v);return so&&no(a,p),u}for(f=r(f);!v.done;p++,v=s.next())null!==(v=b(f,a,p,v.value,c))&&(e&&null!==v.alternate&&f.delete(null===v.key?p:v.key),l=i(v,l,p),null===d?u=v:d.sibling=v,d=v);return e&&f.forEach(function(e){return t(a,e)}),so&&no(a,p),u}(s,c,u=y.call(u),d)}if("function"==typeof u.then)return v(s,c,el(u),d);if(u.$$typeof===x)return v(s,c,Io(s,u),d);nl(s,u)}return"string"==typeof u&&""!==u||"number"==typeof u||"bigint"==typeof u?(u=""+u,null!==c&&6===c.tag?(n(s,c.sibling),(d=a(c,u)).return=s,s=d):(n(s,c),(d=Ur(u,s.mode,d)).return=s,s=d),l(s)):n(s,c)}return function(e,t,n,r){try{Zi=0;var o=v(e,t,n,r);return Ji=null,o}catch(i){if(i===Xo||i===Qo)throw i;var a=Lr(29,i,null,e.mode);return a.lanes=r,a.return=e,a}}}var al=ol(!0),il=ol(!1),ll=$(null),sl=null;function cl(e){var t=e.alternate;H(pl,1&pl.current),H(ll,e),null===sl&&(null===t||null!==ba.current||null!==t.memoizedState)&&(sl=e)}function ul(e){if(22===e.tag){if(H(pl,pl.current),H(ll,e),null===sl){var t=e.alternate;null!==t&&null!==t.memoizedState&&(sl=e)}}else dl()}function dl(){H(pl,pl.current),H(ll,ll.current)}function fl(e){V(ll),sl===e&&(sl=null),V(pl)}var pl=$(0);function hl(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||yd(n)))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function gl(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:u({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var ml={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=jc(),o=sa(r);o.payload=t,null!=n&&(o.callback=n),null!==(t=ca(e,o,r))&&(Lc(t,0,r),ua(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=jc(),o=sa(r);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=ca(e,o,r))&&(Lc(t,0,r),ua(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=jc(),r=sa(n);r.tag=2,null!=t&&(r.callback=t),null!==(t=ca(e,r,n))&&(Lc(t,0,n),ua(t,e,n))}};function bl(e,t,n,r,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!(t.prototype&&t.prototype.isPureReactComponent&&Zn(n,r)&&Zn(o,a))}function vl(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&ml.enqueueReplaceState(t,t.state,null)}function yl(e,t){var n=t;if("ref"in t)for(var r in n={},t)"ref"!==r&&(n[r]=t[r]);if(e=e.defaultProps)for(var o in n===t&&(n=u({},n)),e)void 0===n[o]&&(n[o]=e[o]);return n}var xl="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e)};function kl(e){xl(e)}function Sl(e){}function wl(e){xl(e)}function _l(e,t){try{(0,e.onUncaughtError)(t.value,{componentStack:t.stack})}catch(n){setTimeout(function(){throw n})}}function Cl(e,t,n){try{(0,e.onCaughtError)(n.value,{componentStack:n.stack,errorBoundary:1===t.tag?t.stateNode:null})}catch(r){setTimeout(function(){throw r})}}function El(e,t,n){return(n=sa(n)).tag=3,n.payload={element:null},n.callback=function(){_l(e,t)},n}function Pl(e){return(e=sa(e)).tag=3,e}function zl(e,t,n,r){var o=n.type.getDerivedStateFromError;if("function"==typeof o){var a=r.value;e.payload=function(){return o(a)},e.callback=function(){Cl(t,n,r)}}var i=n.stateNode;null!==i&&"function"==typeof i.componentDidCatch&&(e.callback=function(){Cl(t,n,r),"function"!=typeof o&&(null===Pc?Pc=new Set([this]):Pc.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:null!==e?e:""})})}var Tl=Error(o(461)),Rl=!1;function Il(e,t,n,r){t.child=null===e?il(t,null,n,r):al(t,e.child,n,r)}function Ol(e,t,n,r,o){n=n.render;var a=t.ref;if("ref"in r){var i={};for(var l in r)"ref"!==l&&(i[l]=r[l])}else i=r;return To(t),r=Na(e,t,n,i,a,o),l=La(),null===e||Rl?(so&&l&&oo(t),t.flags|=1,Il(e,t,r,o),t.child):(Wa(e,t,o),Jl(e,t,o))}function Al(e,t,n,r,o){if(null===e){var a=n.type;return"function"!=typeof a||Wr(a)||void 0!==a.defaultProps||null!==n.compare?((e=Vr(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Dl(e,t,a,r,o))}if(a=e.child,!Zl(e,o)){var i=a.memoizedProps;if((n=null!==(n=n.compare)?n:Zn)(i,r)&&e.ref===t.ref)return Jl(e,t,o)}return t.flags|=1,(e=Br(a,r)).ref=t.ref,e.return=t,t.child=e}function Dl(e,t,n,r,o){if(null!==e){var a=e.memoizedProps;if(Zn(a,r)&&e.ref===t.ref){if(Rl=!1,t.pendingProps=r=a,!Zl(e,o))return t.lanes=e.lanes,Jl(e,t,o);131072&e.flags&&(Rl=!0)}}return Ml(e,t,n,r,o)}function Nl(e,t,n){var r=t.pendingProps,o=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode){if(128&t.flags){if(r=null!==a?a.baseLanes|n:n,null!==e){for(o=t.child=e.child,a=0;null!==o;)a=a|o.lanes|o.childLanes,o=o.sibling;t.childLanes=a&~r}else t.childLanes=0,t.child=null;return Fl(e,t,r,n)}if(!(536870912&n))return t.lanes=t.childLanes=536870912,Fl(e,t,null!==a?a.baseLanes|n:n,n);t.memoizedState={baseLanes:0,cachePool:null},null!==e&&Go(0,null!==a?a.cachePool:null),null!==a?ya(t,a):xa(),ul(t)}else null!==a?(Go(0,a.cachePool),ya(t,a),dl(),t.memoizedState=null):(null!==e&&Go(0,null),xa(),dl());return Il(e,t,o,n),t.child}function Fl(e,t,n,r){var o=qo();return o=null===o?null:{parent:Fo._currentValue,pool:o},t.memoizedState={baseLanes:n,cachePool:o},null!==e&&Go(0,null),xa(),ul(t),null!==e&&Po(e,t,r,!0),null}function jl(e,t){var n=t.ref;if(null===n)null!==e&&null!==e.ref&&(t.flags|=4194816);else{if("function"!=typeof n&&"object"!=typeof n)throw Error(o(284));null!==e&&e.ref===n||(t.flags|=4194816)}}function Ml(e,t,n,r,o){return To(t),n=Na(e,t,n,r,void 0,o),r=La(),null===e||Rl?(so&&r&&oo(t),t.flags|=1,Il(e,t,n,o),t.child):(Wa(e,t,o),Jl(e,t,o))}function Ll(e,t,n,r,o,a){return To(t),t.updateQueue=null,n=ja(t,r,n,o),Fa(e),r=La(),null===e||Rl?(so&&r&&oo(t),t.flags|=1,Il(e,t,n,a),t.child):(Wa(e,t,a),Jl(e,t,a))}function Wl(e,t,n,r,o){if(To(t),null===t.stateNode){var a=jr,i=n.contextType;"object"==typeof i&&null!==i&&(a=Ro(i)),a=new n(r,a),t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,a.updater=ml,t.stateNode=a,a._reactInternals=t,(a=t.stateNode).props=r,a.state=t.memoizedState,a.refs={},ia(t),i=n.contextType,a.context="object"==typeof i&&null!==i?Ro(i):jr,a.state=t.memoizedState,"function"==typeof(i=n.getDerivedStateFromProps)&&(gl(t,n,i,r),a.state=t.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(i=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),i!==a.state&&ml.enqueueReplaceState(a,a.state,null),ha(t,r,a,o),pa(),a.state=t.memoizedState),"function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!0}else if(null===e){a=t.stateNode;var l=t.memoizedProps,s=yl(n,l);a.props=s;var c=a.context,u=n.contextType;i=jr,"object"==typeof u&&null!==u&&(i=Ro(u));var d=n.getDerivedStateFromProps;u="function"==typeof d||"function"==typeof a.getSnapshotBeforeUpdate,l=t.pendingProps!==l,u||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l||c!==i)&&vl(t,a,r,i),aa=!1;var f=t.memoizedState;a.state=f,ha(t,r,a,o),pa(),c=t.memoizedState,l||f!==c||aa?("function"==typeof d&&(gl(t,n,d,r),c=t.memoizedState),(s=aa||bl(t,n,s,r,f,c,i))?(u||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),a.props=r,a.state=c,a.context=i,r=s):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,la(e,t),u=yl(n,i=t.memoizedProps),a.props=u,d=t.pendingProps,f=a.context,c=n.contextType,s=jr,"object"==typeof c&&null!==c&&(s=Ro(c)),(c="function"==typeof(l=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(i!==d||f!==s)&&vl(t,a,r,s),aa=!1,f=t.memoizedState,a.state=f,ha(t,r,a,o),pa();var p=t.memoizedState;i!==d||f!==p||aa||null!==e&&null!==e.dependencies&&zo(e.dependencies)?("function"==typeof l&&(gl(t,n,l,r),p=t.memoizedState),(u=aa||bl(t,n,u,r,f,p,s)||null!==e&&null!==e.dependencies&&zo(e.dependencies))?(c||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,p,s),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,p,s)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=s,r=u):("function"!=typeof a.componentDidUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,jl(e,t),r=!!(128&t.flags),a||r?(a=t.stateNode,n=r&&"function"!=typeof n.getDerivedStateFromError?null:a.render(),t.flags|=1,null!==e&&r?(t.child=al(t,e.child,null,o),t.child=al(t,null,n,o)):Il(e,t,n,o),t.memoizedState=a.state,e=t.child):e=Jl(e,t,o),e}function Bl(e,t,n,r){return bo(),t.flags|=256,Il(e,t,n,r),t.child}var $l={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Vl(e){return{baseLanes:e,cachePool:Yo()}}function Hl(e,t,n){return e=null!==e?e.childLanes&~n:0,t&&(e|=yc),e}function Ul(e,t,n){var r,a=t.pendingProps,i=!1,l=!!(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&!!(2&pl.current)),r&&(i=!0,t.flags&=-129),r=!!(32&t.flags),t.flags&=-33,null===e){if(so){if(i?cl(t):dl(),so){var s,c=lo;if(s=c){e:{for(s=c,c=uo;8!==s.nodeType;){if(!c){c=null;break e}if(null===(s=xd(s.nextSibling))){c=null;break e}}c=s}null!==c?(t.memoizedState={dehydrated:c,treeContext:null!==Zr?{id:eo,overflow:to}:null,retryLane:536870912,hydrationErrors:null},(s=Lr(18,null,null,0)).stateNode=c,s.return=t,t.child=s,io=t,lo=null,s=!0):s=!1}s||po(t)}if(null!==(c=t.memoizedState)&&null!==(c=c.dehydrated))return yd(c)?t.lanes=32:t.lanes=536870912,null;fl(t)}return c=a.children,a=a.fallback,i?(dl(),c=Gl({mode:"hidden",children:c},i=t.mode),a=Hr(a,i,n,null),c.return=t,a.return=t,c.sibling=a,t.child=c,(i=t.child).memoizedState=Vl(n),i.childLanes=Hl(e,r,n),t.memoizedState=$l,a):(cl(t),ql(t,c))}if(null!==(s=e.memoizedState)&&null!==(c=s.dehydrated)){if(l)256&t.flags?(cl(t),t.flags&=-257,t=Yl(e,t,n)):null!==t.memoizedState?(dl(),t.child=e.child,t.flags|=128,t=null):(dl(),i=a.fallback,c=t.mode,a=Gl({mode:"visible",children:a.children},c),(i=Hr(i,c,n,null)).flags|=2,a.return=t,i.return=t,a.sibling=i,t.child=a,al(t,e.child,null,n),(a=t.child).memoizedState=Vl(n),a.childLanes=Hl(e,r,n),t.memoizedState=$l,t=i);else if(cl(t),yd(c)){if(r=c.nextSibling&&c.nextSibling.dataset)var u=r.dgst;r=u,(a=Error(o(419))).stack="",a.digest=r,yo({value:a,source:null,stack:null}),t=Yl(e,t,n)}else if(Rl||Po(e,t,n,!1),r=0!==(n&e.childLanes),Rl||r){if(null!==(r=ic)&&0!==(a=0!==((a=42&(a=n&-n)?1:Ie(a))&(r.suspendedLanes|n))?0:a)&&a!==s.retryLane)throw s.retryLane=a,Dr(e,a),Lc(r,0,a),Tl;"$?"===c.data||Kc(),t=Yl(e,t,n)}else"$?"===c.data?(t.flags|=192,t.child=e.child,t=null):(e=s.treeContext,lo=xd(c.nextSibling),io=t,so=!0,co=null,uo=!1,null!==e&&(Qr[Jr++]=eo,Qr[Jr++]=to,Qr[Jr++]=Zr,eo=e.id,to=e.overflow,Zr=t),(t=ql(t,a.children)).flags|=4096);return t}return i?(dl(),i=a.fallback,c=t.mode,u=(s=e.child).sibling,(a=Br(s,{mode:"hidden",children:a.children})).subtreeFlags=65011712&s.subtreeFlags,null!==u?i=Br(u,i):(i=Hr(i,c,n,null)).flags|=2,i.return=t,a.return=t,a.sibling=i,t.child=a,a=i,i=t.child,null===(c=e.child.memoizedState)?c=Vl(n):(null!==(s=c.cachePool)?(u=Fo._currentValue,s=s.parent!==u?{parent:u,pool:u}:s):s=Yo(),c={baseLanes:c.baseLanes|n,cachePool:s}),i.memoizedState=c,i.childLanes=Hl(e,r,n),t.memoizedState=$l,a):(cl(t),e=(n=e.child).sibling,(n=Br(n,{mode:"visible",children:a.children})).return=t,n.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n)}function ql(e,t){return(t=Gl({mode:"visible",children:t},e.mode)).return=e,e.child=t}function Gl(e,t){return(e=Lr(22,e,null,t)).lanes=0,e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function Yl(e,t,n){return al(t,e.child,null,n),(e=ql(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Xl(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Co(e.return,t,n)}function Kl(e,t,n,r,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o)}function Ql(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;if(Il(e,t,r.children,n),2&(r=pl.current))r=1&r|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Xl(e,n,t);else if(19===e.tag)Xl(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}switch(H(pl,r),o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===hl(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Kl(t,!1,o,n,a);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===hl(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Kl(t,!0,n,null,a);break;case"together":Kl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Jl(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),mc|=t.lanes,0===(n&t.childLanes)){if(null===e)return null;if(Po(e,t,n,!1),0===(n&t.childLanes))return null}if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Br(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Br(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Zl(e,t){return 0!==(e.lanes&t)||!(null===(e=e.dependencies)||!zo(e))}function es(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps)Rl=!0;else{if(!(Zl(e,n)||128&t.flags))return Rl=!1,function(e,t,n){switch(t.tag){case 3:X(t,t.stateNode.containerInfo),wo(0,Fo,e.memoizedState.cache),bo();break;case 27:case 5:Q(t);break;case 4:X(t,t.stateNode.containerInfo);break;case 10:wo(0,t.type,t.memoizedProps.value);break;case 13:var r=t.memoizedState;if(null!==r)return null!==r.dehydrated?(cl(t),t.flags|=128,null):0!==(n&t.child.childLanes)?Ul(e,t,n):(cl(t),null!==(e=Jl(e,t,n))?e.sibling:null);cl(t);break;case 19:var o=!!(128&e.flags);if((r=0!==(n&t.childLanes))||(Po(e,t,n,!1),r=0!==(n&t.childLanes)),o){if(r)return Ql(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),H(pl,pl.current),r)break;return null;case 22:case 23:return t.lanes=0,Nl(e,t,n);case 24:wo(0,Fo,e.memoizedState.cache)}return Jl(e,t,n)}(e,t,n);Rl=!!(131072&e.flags)}else Rl=!1,so&&1048576&t.flags&&ro(t,Kr,t.index);switch(t.lanes=0,t.tag){case 16:e:{e=t.pendingProps;var r=t.elementType,a=r._init;if(r=a(r._payload),t.type=r,"function"!=typeof r){if(null!=r){if((a=r.$$typeof)===k){t.tag=11,t=Ol(null,t,r,e,n);break e}if(a===_){t.tag=14,t=Al(null,t,r,e,n);break e}}throw t=D(r)||r,Error(o(306,t,""))}Wr(r)?(e=yl(r,e),t.tag=1,t=Wl(null,t,r,e,n)):(t.tag=0,t=Ml(null,t,r,e,n))}return t;case 0:return Ml(e,t,t.type,t.pendingProps,n);case 1:return Wl(e,t,r=t.type,a=yl(r,t.pendingProps),n);case 3:e:{if(X(t,t.stateNode.containerInfo),null===e)throw Error(o(387));r=t.pendingProps;var i=t.memoizedState;a=i.element,la(e,t),ha(t,r,null,n);var l=t.memoizedState;if(r=l.cache,wo(0,Fo,r),r!==i.cache&&Eo(t,[Fo],n,!0),pa(),r=l.element,i.isDehydrated){if(i={element:r,isDehydrated:!1,cache:l.cache},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=Bl(e,t,r,n);break e}if(r!==a){yo(a=Pr(Error(o(424)),t)),t=Bl(e,t,r,n);break e}for(e=9===(e=t.stateNode.containerInfo).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e,lo=xd(e.firstChild),io=t,so=!0,co=null,uo=!0,n=il(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(bo(),r===a){t=Jl(e,t,n);break e}Il(e,t,r,n)}t=t.child}return t;case 26:return jl(e,t),null===e?(n=Id(t.type,null,t.pendingProps,null))?t.memoizedState=n:so||(n=t.type,e=t.pendingProps,(r=id(G.current).createElement(n))[Ne]=t,r[Fe]=e,rd(r,n,e),Ye(r),t.stateNode=r):t.memoizedState=Id(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Q(t),null===e&&so&&(r=t.stateNode=wd(t.type,t.pendingProps,G.current),io=t,uo=!0,a=lo,md(t.type)?(kd=a,lo=xd(r.firstChild)):lo=a),Il(e,t,t.pendingProps.children,n),jl(e,t),null===e&&(t.flags|=4194304),t.child;case 5:return null===e&&so&&((a=r=lo)&&(null!==(r=function(e,t,n,r){for(;1===e.nodeType;){var o=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&("INPUT"!==e.nodeName||"hidden"!==e.type))break}else if(r){if(!e[$e])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if("stylesheet"===(a=e.getAttribute("rel"))&&e.hasAttribute("data-precedence"))break;if(a!==o.rel||e.getAttribute("href")!==(null==o.href||""===o.href?null:o.href)||e.getAttribute("crossorigin")!==(null==o.crossOrigin?null:o.crossOrigin)||e.getAttribute("title")!==(null==o.title?null:o.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(((a=e.getAttribute("src"))!==(null==o.src?null:o.src)||e.getAttribute("type")!==(null==o.type?null:o.type)||e.getAttribute("crossorigin")!==(null==o.crossOrigin?null:o.crossOrigin))&&a&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else{if("input"!==t||"hidden"!==e.type)return e;var a=null==o.name?null:""+o.name;if("hidden"===o.type&&e.getAttribute("name")===a)return e}if(null===(e=xd(e.nextSibling)))break}return null}(r,t.type,t.pendingProps,uo))?(t.stateNode=r,io=t,lo=xd(r.firstChild),uo=!1,a=!0):a=!1),a||po(t)),Q(t),a=t.type,i=t.pendingProps,l=null!==e?e.memoizedProps:null,r=i.children,cd(a,i)?r=null:null!==l&&cd(a,l)&&(t.flags|=32),null!==t.memoizedState&&(a=Na(e,t,Ma,null,null,n),Qd._currentValue=a),jl(e,t),Il(e,t,r,n),t.child;case 6:return null===e&&so&&((e=n=lo)&&(null!==(n=function(e,t,n){if(""===t)return null;for(;3!==e.nodeType;){if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!n)return null;if(null===(e=xd(e.nextSibling)))return null}return e}(n,t.pendingProps,uo))?(t.stateNode=n,io=t,lo=null,e=!0):e=!1),e||po(t)),null;case 13:return Ul(e,t,n);case 4:return X(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=al(t,null,r,n):Il(e,t,r,n),t.child;case 11:return Ol(e,t,t.type,t.pendingProps,n);case 7:return Il(e,t,t.pendingProps,n),t.child;case 8:case 12:return Il(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,wo(0,t.type,r.value),Il(e,t,r.children,n),t.child;case 9:return a=t.type._context,r=t.pendingProps.children,To(t),r=r(a=Ro(a)),t.flags|=1,Il(e,t,r,n),t.child;case 14:return Al(e,t,t.type,t.pendingProps,n);case 15:return Dl(e,t,t.type,t.pendingProps,n);case 19:return Ql(e,t,n);case 31:return r=t.pendingProps,n=t.mode,r={mode:r.mode,children:r.children},null===e?((n=Gl(r,n)).ref=t.ref,t.child=n,n.return=t,t=n):((n=Br(e.child,r)).ref=t.ref,t.child=n,n.return=t,t=n),t;case 22:return Nl(e,t,n);case 24:return To(t),r=Ro(Fo),null===e?(null===(a=qo())&&(a=ic,i=jo(),a.pooledCache=i,i.refCount++,null!==i&&(a.pooledCacheLanes|=n),a=i),t.memoizedState={parent:r,cache:a},ia(t),wo(0,Fo,a)):(0!==(e.lanes&n)&&(la(e,t),ha(t,null,null,n),pa()),a=e.memoizedState,i=t.memoizedState,a.parent!==r?(a={parent:r,cache:r},t.memoizedState=a,0===t.lanes&&(t.memoizedState=t.updateQueue.baseState=a),wo(0,Fo,r)):(r=i.cache,wo(0,Fo,r),r!==a.cache&&Eo(t,[Fo],n,!0))),Il(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(o(156,t.tag))}function ts(e){e.flags|=4}function ns(e,t){if("stylesheet"!==t.type||4&t.state.loading)e.flags&=-16777217;else if(e.flags|=16777216,!Hd(t)){if(null!==(t=ll.current)&&((4194048&sc)===sc?null!==sl:(62914560&sc)!==sc&&!(536870912&sc)||t!==sl))throw na=Jo,Ko;e.flags|=8192}}function rs(e,t){null!==t&&(e.flags|=4),16384&e.flags&&(t=22!==e.tag?Ee():536870912,e.lanes|=t,xc|=t)}function os(e,t){if(!so)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function as(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=65011712&o.subtreeFlags,r|=65011712&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function is(e,t,n){var r=t.pendingProps;switch(ao(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:case 1:return as(t),null;case 3:return n=t.stateNode,r=null,null!==e&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),_o(Fo),K(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||(mo(t)?ts(t):null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,vo())),as(t),null;case 26:return n=t.memoizedState,null===e?(ts(t),null!==n?(as(t),ns(t,n)):(as(t),t.flags&=-16777217)):n?n!==e.memoizedState?(ts(t),as(t),ns(t,n)):(as(t),t.flags&=-16777217):(e.memoizedProps!==r&&ts(t),as(t),t.flags&=-16777217),null;case 27:J(t),n=G.current;var a=t.type;if(null!==e&&null!=t.stateNode)e.memoizedProps!==r&&ts(t);else{if(!r){if(null===t.stateNode)throw Error(o(166));return as(t),null}e=U.current,mo(t)?ho(t):(e=wd(a,r,n),t.stateNode=e,ts(t))}return as(t),null;case 5:if(J(t),n=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&ts(t);else{if(!r){if(null===t.stateNode)throw Error(o(166));return as(t),null}if(e=U.current,mo(t))ho(t);else{switch(a=id(G.current),e){case 1:e=a.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:e=a.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":e=a.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":e=a.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":(e=a.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e="string"==typeof r.is?a.createElement("select",{is:r.is}):a.createElement("select"),r.multiple?e.multiple=!0:r.size&&(e.size=r.size);break;default:e="string"==typeof r.is?a.createElement(n,{is:r.is}):a.createElement(n)}}e[Ne]=t,e[Fe]=r;e:for(a=t.child;null!==a;){if(5===a.tag||6===a.tag)e.appendChild(a.stateNode);else if(4!==a.tag&&27!==a.tag&&null!==a.child){a.child.return=a,a=a.child;continue}if(a===t)break e;for(;null===a.sibling;){if(null===a.return||a.return===t)break e;a=a.return}a.sibling.return=a.return,a=a.sibling}t.stateNode=e;e:switch(rd(e,n,r),n){case"button":case"input":case"select":case"textarea":e=!!r.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&ts(t)}}return as(t),t.flags&=-16777217,null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==r&&ts(t);else{if("string"!=typeof r&&null===t.stateNode)throw Error(o(166));if(e=G.current,mo(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,null!==(a=io))switch(a.tag){case 27:case 5:r=a.memoizedProps}e[Ne]=t,(e=!!(e.nodeValue===n||null!==r&&!0===r.suppressHydrationWarning||Zu(e.nodeValue,n)))||po(t)}else(e=id(e).createTextNode(r))[Ne]=t,t.stateNode=e}return as(t),null;case 13:if(r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(a=mo(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(o(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(o(317));a[Ne]=t}else bo(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;as(t),a=!1}else a=vo(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return 256&t.flags?(fl(t),t):(fl(t),null)}if(fl(t),128&t.flags)return t.lanes=n,t;if(n=null!==r,e=null!==e&&null!==e.memoizedState,n){a=null,null!==(r=t.child).alternate&&null!==r.alternate.memoizedState&&null!==r.alternate.memoizedState.cachePool&&(a=r.alternate.memoizedState.cachePool.pool);var i=null;null!==r.memoizedState&&null!==r.memoizedState.cachePool&&(i=r.memoizedState.cachePool.pool),i!==a&&(r.flags|=2048)}return n!==e&&n&&(t.child.flags|=8192),rs(t,t.updateQueue),as(t),null;case 4:return K(),null===e&&Vu(t.stateNode.containerInfo),as(t),null;case 10:return _o(t.type),as(t),null;case 19:if(V(pl),null===(a=t.memoizedState))return as(t),null;if(r=!!(128&t.flags),null===(i=a.rendering))if(r)os(a,!1);else{if(0!==gc||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(i=hl(e))){for(t.flags|=128,os(a,!1),e=i.updateQueue,t.updateQueue=e,rs(t,e),t.subtreeFlags=0,e=n,n=t.child;null!==n;)$r(n,e),n=n.sibling;return H(pl,1&pl.current|2),t.child}e=e.sibling}null!==a.tail&&oe()>Cc&&(t.flags|=128,r=!0,os(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=hl(i))){if(t.flags|=128,r=!0,e=e.updateQueue,t.updateQueue=e,rs(t,e),os(a,!0),null===a.tail&&"hidden"===a.tailMode&&!i.alternate&&!so)return as(t),null}else 2*oe()-a.renderingStartTime>Cc&&536870912!==n&&(t.flags|=128,r=!0,os(a,!1),t.lanes=4194304);a.isBackwards?(i.sibling=t.child,t.child=i):(null!==(e=a.last)?e.sibling=i:t.child=i,a.last=i)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=oe(),t.sibling=null,e=pl.current,H(pl,r?1&e|2:1&e),t):(as(t),null);case 22:case 23:return fl(t),ka(),r=null!==t.memoizedState,null!==e?null!==e.memoizedState!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?!!(536870912&n)&&!(128&t.flags)&&(as(t),6&t.subtreeFlags&&(t.flags|=8192)):as(t),null!==(n=t.updateQueue)&&rs(t,n.retryQueue),n=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),r=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),null!==e&&V(Uo),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),_o(Fo),as(t),null;case 25:case 30:return null}throw Error(o(156,t.tag))}function ls(e,t){switch(ao(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return _o(Fo),K(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return J(t),null;case 13:if(fl(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(o(340));bo()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return V(pl),null;case 4:return K(),null;case 10:return _o(t.type),null;case 22:case 23:return fl(t),ka(),null!==e&&V(Uo),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 24:return _o(Fo),null;default:return null}}function ss(e,t){switch(ao(t),t.tag){case 3:_o(Fo),K();break;case 26:case 27:case 5:J(t);break;case 4:K();break;case 13:fl(t);break;case 19:V(pl);break;case 10:_o(t.type);break;case 22:case 23:fl(t),ka(),null!==e&&V(Uo);break;case 24:_o(Fo)}}function cs(e,t){try{var n=t.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var o=r.next;n=o;do{if((n.tag&e)===e){r=void 0;var a=n.create,i=n.inst;r=a(),i.destroy=r}n=n.next}while(n!==o)}}catch(l){pu(t,t.return,l)}}function us(e,t,n){try{var r=t.updateQueue,o=null!==r?r.lastEffect:null;if(null!==o){var a=o.next;r=a;do{if((r.tag&e)===e){var i=r.inst,l=i.destroy;if(void 0!==l){i.destroy=void 0,o=t;var s=n,c=l;try{c()}catch(u){pu(o,s,u)}}}r=r.next}while(r!==a)}}catch(u){pu(t,t.return,u)}}function ds(e){var t=e.updateQueue;if(null!==t){var n=e.stateNode;try{ma(t,n)}catch(r){pu(e,e.return,r)}}}function fs(e,t,n){n.props=yl(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(r){pu(e,t,r)}}function ps(e,t){try{var n=e.ref;if(null!==n){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;default:r=e.stateNode}"function"==typeof n?e.refCleanup=n(r):n.current=r}}catch(o){pu(e,t,o)}}function hs(e,t){var n=e.ref,r=e.refCleanup;if(null!==n)if("function"==typeof r)try{r()}catch(o){pu(e,t,o)}finally{e.refCleanup=null,null!=(e=e.alternate)&&(e.refCleanup=null)}else if("function"==typeof n)try{n(null)}catch(a){pu(e,t,a)}else n.current=null}function gs(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&r.focus();break e;case"img":n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(o){pu(e,e.return,o)}}function ms(e,t,n){try{var r=e.stateNode;!function(e,t,n,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var a=null,i=null,l=null,s=null,c=null,u=null,d=null;for(h in n){var f=n[h];if(n.hasOwnProperty(h)&&null!=f)switch(h){case"checked":case"value":break;case"defaultValue":c=f;default:r.hasOwnProperty(h)||td(e,t,h,null,r,f)}}for(var p in r){var h=r[p];if(f=n[p],r.hasOwnProperty(p)&&(null!=h||null!=f))switch(p){case"type":i=h;break;case"name":a=h;break;case"checked":u=h;break;case"defaultChecked":d=h;break;case"value":l=h;break;case"defaultValue":s=h;break;case"children":case"dangerouslySetInnerHTML":if(null!=h)throw Error(o(137,t));break;default:h!==f&&td(e,t,p,h,r,f)}}return void yt(e,l,s,c,u,d,i,a);case"select":for(i in h=l=s=p=null,n)if(c=n[i],n.hasOwnProperty(i)&&null!=c)switch(i){case"value":break;case"multiple":h=c;default:r.hasOwnProperty(i)||td(e,t,i,null,r,c)}for(a in r)if(i=r[a],c=n[a],r.hasOwnProperty(a)&&(null!=i||null!=c))switch(a){case"value":p=i;break;case"defaultValue":s=i;break;case"multiple":l=i;default:i!==c&&td(e,t,a,i,r,c)}return t=s,n=l,r=h,void(null!=p?St(e,!!n,p,!1):!!r!=!!n&&(null!=t?St(e,!!n,t,!0):St(e,!!n,n?[]:"",!1)));case"textarea":for(s in h=p=null,n)if(a=n[s],n.hasOwnProperty(s)&&null!=a&&!r.hasOwnProperty(s))switch(s){case"value":case"children":break;default:td(e,t,s,null,r,a)}for(l in r)if(a=r[l],i=n[l],r.hasOwnProperty(l)&&(null!=a||null!=i))switch(l){case"value":p=a;break;case"defaultValue":h=a;break;case"children":break;case"dangerouslySetInnerHTML":if(null!=a)throw Error(o(91));break;default:a!==i&&td(e,t,l,a,r,i)}return void wt(e,p,h);case"option":for(var g in n)p=n[g],n.hasOwnProperty(g)&&null!=p&&!r.hasOwnProperty(g)&&("selected"===g?e.selected=!1:td(e,t,g,null,r,p));for(c in r)p=r[c],h=n[c],!r.hasOwnProperty(c)||p===h||null==p&&null==h||("selected"===c?e.selected=p&&"function"!=typeof p&&"symbol"!=typeof p:td(e,t,c,p,r,h));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var m in n)p=n[m],n.hasOwnProperty(m)&&null!=p&&!r.hasOwnProperty(m)&&td(e,t,m,null,r,p);for(u in r)if(p=r[u],h=n[u],r.hasOwnProperty(u)&&p!==h&&(null!=p||null!=h))switch(u){case"children":case"dangerouslySetInnerHTML":if(null!=p)throw Error(o(137,t));break;default:td(e,t,u,p,r,h)}return;default:if(Tt(t)){for(var b in n)p=n[b],n.hasOwnProperty(b)&&void 0!==p&&!r.hasOwnProperty(b)&&nd(e,t,b,void 0,r,p);for(d in r)p=r[d],h=n[d],!r.hasOwnProperty(d)||p===h||void 0===p&&void 0===h||nd(e,t,d,p,r,h);return}}for(var v in n)p=n[v],n.hasOwnProperty(v)&&null!=p&&!r.hasOwnProperty(v)&&td(e,t,v,null,r,p);for(f in r)p=r[f],h=n[f],!r.hasOwnProperty(f)||p===h||null==p&&null==h||td(e,t,f,p,r,h)}(r,e.type,n,t),r[Fe]=t}catch(a){pu(e,e.return,a)}}function bs(e){return 5===e.tag||3===e.tag||26===e.tag||27===e.tag&&md(e.type)||4===e.tag}function vs(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||bs(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(27===e.tag&&md(e.type))continue e;if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ys(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?(9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).insertBefore(e,t):((t=9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=ed));else if(4!==r&&(27===r&&md(e.type)&&(n=e.stateNode,t=null),null!==(e=e.child)))for(ys(e,t,n),e=e.sibling;null!==e;)ys(e,t,n),e=e.sibling}function xs(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&(27===r&&md(e.type)&&(n=e.stateNode),null!==(e=e.child)))for(xs(e,t,n),e=e.sibling;null!==e;)xs(e,t,n),e=e.sibling}function ks(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,o=t.attributes;o.length;)t.removeAttributeNode(o[0]);rd(t,r,n),t[Ne]=e,t[Fe]=n}catch(a){pu(e,e.return,a)}}var Ss=!1,ws=!1,_s=!1,Cs="function"==typeof WeakSet?WeakSet:Set,Es=null;function Ps(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:Ws(e,n),4&r&&cs(5,n);break;case 1:if(Ws(e,n),4&r)if(e=n.stateNode,null===t)try{e.componentDidMount()}catch(i){pu(n,n.return,i)}else{var o=yl(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(o,t,e.__reactInternalSnapshotBeforeUpdate)}catch(l){pu(n,n.return,l)}}64&r&&ds(n),512&r&&ps(n,n.return);break;case 3:if(Ws(e,n),64&r&&null!==(e=n.updateQueue)){if(t=null,null!==n.child)switch(n.child.tag){case 27:case 5:case 1:t=n.child.stateNode}try{ma(e,t)}catch(i){pu(n,n.return,i)}}break;case 27:null===t&&4&r&&ks(n);case 26:case 5:Ws(e,n),null===t&&4&r&&gs(n),512&r&&ps(n,n.return);break;case 12:Ws(e,n);break;case 13:Ws(e,n),4&r&&As(e,n),64&r&&null!==(e=n.memoizedState)&&null!==(e=e.dehydrated)&&function(e,t){var n=e.ownerDocument;if("$?"!==e.data||"complete"===n.readyState)t();else{var r=function(){t(),n.removeEventListener("DOMContentLoaded",r)};n.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}(e,n=bu.bind(null,n));break;case 22:if(!(r=null!==n.memoizedState||Ss)){t=null!==t&&null!==t.memoizedState||ws,o=Ss;var a=ws;Ss=r,(ws=t)&&!a?$s(e,n,!!(8772&n.subtreeFlags)):Ws(e,n),Ss=o,ws=a}break;case 30:break;default:Ws(e,n)}}function zs(e){var t=e.alternate;null!==t&&(e.alternate=null,zs(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&Ve(t),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Ts=null,Rs=!1;function Is(e,t,n){for(n=n.child;null!==n;)Os(e,t,n),n=n.sibling}function Os(e,t,n){if(he&&"function"==typeof he.onCommitFiberUnmount)try{he.onCommitFiberUnmount(pe,n)}catch(a){}switch(n.tag){case 26:ws||hs(n,t),Is(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode).parentNode.removeChild(n);break;case 27:ws||hs(n,t);var r=Ts,o=Rs;md(n.type)&&(Ts=n.stateNode,Rs=!1),Is(e,t,n),_d(n.stateNode),Ts=r,Rs=o;break;case 5:ws||hs(n,t);case 6:if(r=Ts,o=Rs,Ts=null,Is(e,t,n),Rs=o,null!==(Ts=r))if(Rs)try{(9===Ts.nodeType?Ts.body:"HTML"===Ts.nodeName?Ts.ownerDocument.body:Ts).removeChild(n.stateNode)}catch(i){pu(n,t,i)}else try{Ts.removeChild(n.stateNode)}catch(i){pu(n,t,i)}break;case 18:null!==Ts&&(Rs?(bd(9===(e=Ts).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e,n.stateNode),If(e)):bd(Ts,n.stateNode));break;case 4:r=Ts,o=Rs,Ts=n.stateNode.containerInfo,Rs=!0,Is(e,t,n),Ts=r,Rs=o;break;case 0:case 11:case 14:case 15:ws||us(2,n,t),ws||us(4,n,t),Is(e,t,n);break;case 1:ws||(hs(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount&&fs(n,t,r)),Is(e,t,n);break;case 21:Is(e,t,n);break;case 22:ws=(r=ws)||null!==n.memoizedState,Is(e,t,n),ws=r;break;default:Is(e,t,n)}}function As(e,t){if(null===t.memoizedState&&null!==(e=t.alternate)&&null!==(e=e.memoizedState)&&null!==(e=e.dehydrated))try{If(e)}catch(n){pu(t,t.return,n)}}function Ds(e,t){var n=function(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return null===t&&(t=e.stateNode=new Cs),t;case 22:return null===(t=(e=e.stateNode)._retryCache)&&(t=e._retryCache=new Cs),t;default:throw Error(o(435,e.tag))}}(e);t.forEach(function(t){var r=vu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}function Ns(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var a=n[r],i=e,l=t,s=l;e:for(;null!==s;){switch(s.tag){case 27:if(md(s.type)){Ts=s.stateNode,Rs=!1;break e}break;case 5:Ts=s.stateNode,Rs=!1;break e;case 3:case 4:Ts=s.stateNode.containerInfo,Rs=!0;break e}s=s.return}if(null===Ts)throw Error(o(160));Os(i,l,a),Ts=null,Rs=!1,null!==(i=a.alternate)&&(i.return=null),a.return=null}if(13878&t.subtreeFlags)for(t=t.child;null!==t;)js(t,e),t=t.sibling}var Fs=null;function js(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Ns(t,e),Ms(e),4&r&&(us(3,e,e.return),cs(3,e),us(5,e,e.return));break;case 1:Ns(t,e),Ms(e),512&r&&(ws||null===n||hs(n,n.return)),64&r&&Ss&&null!==(e=e.updateQueue)&&null!==(r=e.callbacks)&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=null===n?r:n.concat(r));break;case 26:var a=Fs;if(Ns(t,e),Ms(e),512&r&&(ws||null===n||hs(n,n.return)),4&r){var i=null!==n?n.memoizedState:null;if(r=e.memoizedState,null===n)if(null===r)if(null===e.stateNode){e:{r=e.type,n=e.memoizedProps,a=a.ownerDocument||a;t:switch(r){case"title":(!(i=a.getElementsByTagName("title")[0])||i[$e]||i[Ne]||"http://www.w3.org/2000/svg"===i.namespaceURI||i.hasAttribute("itemprop"))&&(i=a.createElement(r),a.head.insertBefore(i,a.querySelector("head > title"))),rd(i,r,n),i[Ne]=e,Ye(i),r=i;break e;case"link":var l=$d("link","href",a).get(r+(n.href||""));if(l)for(var s=0;s<l.length;s++)if((i=l[s]).getAttribute("href")===(null==n.href||""===n.href?null:n.href)&&i.getAttribute("rel")===(null==n.rel?null:n.rel)&&i.getAttribute("title")===(null==n.title?null:n.title)&&i.getAttribute("crossorigin")===(null==n.crossOrigin?null:n.crossOrigin)){l.splice(s,1);break t}rd(i=a.createElement(r),r,n),a.head.appendChild(i);break;case"meta":if(l=$d("meta","content",a).get(r+(n.content||"")))for(s=0;s<l.length;s++)if((i=l[s]).getAttribute("content")===(null==n.content?null:""+n.content)&&i.getAttribute("name")===(null==n.name?null:n.name)&&i.getAttribute("property")===(null==n.property?null:n.property)&&i.getAttribute("http-equiv")===(null==n.httpEquiv?null:n.httpEquiv)&&i.getAttribute("charset")===(null==n.charSet?null:n.charSet)){l.splice(s,1);break t}rd(i=a.createElement(r),r,n),a.head.appendChild(i);break;default:throw Error(o(468,r))}i[Ne]=e,Ye(i),r=i}e.stateNode=r}else Vd(a,e.type,e.stateNode);else e.stateNode=jd(a,r,e.memoizedProps);else i!==r?(null===i?null!==n.stateNode&&(n=n.stateNode).parentNode.removeChild(n):i.count--,null===r?Vd(a,e.type,e.stateNode):jd(a,r,e.memoizedProps)):null===r&&null!==e.stateNode&&ms(e,e.memoizedProps,n.memoizedProps)}break;case 27:Ns(t,e),Ms(e),512&r&&(ws||null===n||hs(n,n.return)),null!==n&&4&r&&ms(e,e.memoizedProps,n.memoizedProps);break;case 5:if(Ns(t,e),Ms(e),512&r&&(ws||null===n||hs(n,n.return)),32&e.flags){a=e.stateNode;try{Ct(a,"")}catch(h){pu(e,e.return,h)}}4&r&&null!=e.stateNode&&ms(e,a=e.memoizedProps,null!==n?n.memoizedProps:a),1024&r&&(_s=!0);break;case 6:if(Ns(t,e),Ms(e),4&r){if(null===e.stateNode)throw Error(o(162));r=e.memoizedProps,n=e.stateNode;try{n.nodeValue=r}catch(h){pu(e,e.return,h)}}break;case 3:if(Bd=null,a=Fs,Fs=Pd(t.containerInfo),Ns(t,e),Fs=a,Ms(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{If(t.containerInfo)}catch(h){pu(e,e.return,h)}_s&&(_s=!1,Ls(e));break;case 4:r=Fs,Fs=Pd(e.stateNode.containerInfo),Ns(t,e),Ms(e),Fs=r;break;case 12:default:Ns(t,e),Ms(e);break;case 13:Ns(t,e),Ms(e),8192&e.child.flags&&null!==e.memoizedState!=(null!==n&&null!==n.memoizedState)&&(_c=oe()),4&r&&null!==(r=e.updateQueue)&&(e.updateQueue=null,Ds(e,r));break;case 22:a=null!==e.memoizedState;var c=null!==n&&null!==n.memoizedState,u=Ss,d=ws;if(Ss=u||a,ws=d||c,Ns(t,e),ws=d,Ss=u,Ms(e),8192&r)e:for(t=e.stateNode,t._visibility=a?-2&t._visibility:1|t._visibility,a&&(null===n||c||Ss||ws||Bs(e)),n=null,t=e;;){if(5===t.tag||26===t.tag){if(null===n){c=n=t;try{if(i=c.stateNode,a)"function"==typeof(l=i.style).setProperty?l.setProperty("display","none","important"):l.display="none";else{s=c.stateNode;var f=c.memoizedProps.style,p=null!=f&&f.hasOwnProperty("display")?f.display:null;s.style.display=null==p||"boolean"==typeof p?"":(""+p).trim()}}catch(h){pu(c,c.return,h)}}}else if(6===t.tag){if(null===n){c=t;try{c.stateNode.nodeValue=a?"":c.memoizedProps}catch(h){pu(c,c.return,h)}}}else if((22!==t.tag&&23!==t.tag||null===t.memoizedState||t===e)&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;null===t.sibling;){if(null===t.return||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}4&r&&null!==(r=e.updateQueue)&&null!==(n=r.retryQueue)&&(r.retryQueue=null,Ds(e,n));break;case 19:Ns(t,e),Ms(e),4&r&&null!==(r=e.updateQueue)&&(e.updateQueue=null,Ds(e,r));case 30:case 21:}}function Ms(e){var t=e.flags;if(2&t){try{for(var n,r=e.return;null!==r;){if(bs(r)){n=r;break}r=r.return}if(null==n)throw Error(o(160));switch(n.tag){case 27:var a=n.stateNode;xs(e,vs(e),a);break;case 5:var i=n.stateNode;32&n.flags&&(Ct(i,""),n.flags&=-33),xs(e,vs(e),i);break;case 3:case 4:var l=n.stateNode.containerInfo;ys(e,vs(e),l);break;default:throw Error(o(161))}}catch(s){pu(e,e.return,s)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function Ls(e){if(1024&e.subtreeFlags)for(e=e.child;null!==e;){var t=e;Ls(t),5===t.tag&&1024&t.flags&&t.stateNode.reset(),e=e.sibling}}function Ws(e,t){if(8772&t.subtreeFlags)for(t=t.child;null!==t;)Ps(e,t.alternate,t),t=t.sibling}function Bs(e){for(e=e.child;null!==e;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:us(4,t,t.return),Bs(t);break;case 1:hs(t,t.return);var n=t.stateNode;"function"==typeof n.componentWillUnmount&&fs(t,t.return,n),Bs(t);break;case 27:_d(t.stateNode);case 26:case 5:hs(t,t.return),Bs(t);break;case 22:null===t.memoizedState&&Bs(t);break;default:Bs(t)}e=e.sibling}}function $s(e,t,n){for(n=n&&!!(8772&t.subtreeFlags),t=t.child;null!==t;){var r=t.alternate,o=e,a=t,i=a.flags;switch(a.tag){case 0:case 11:case 15:$s(o,a,n),cs(4,a);break;case 1:if($s(o,a,n),"function"==typeof(o=(r=a).stateNode).componentDidMount)try{o.componentDidMount()}catch(c){pu(r,r.return,c)}if(null!==(o=(r=a).updateQueue)){var l=r.stateNode;try{var s=o.shared.hiddenCallbacks;if(null!==s)for(o.shared.hiddenCallbacks=null,o=0;o<s.length;o++)ga(s[o],l)}catch(c){pu(r,r.return,c)}}n&&64&i&&ds(a),ps(a,a.return);break;case 27:ks(a);case 26:case 5:$s(o,a,n),n&&null===r&&4&i&&gs(a),ps(a,a.return);break;case 12:$s(o,a,n);break;case 13:$s(o,a,n),n&&4&i&&As(o,a);break;case 22:null===a.memoizedState&&$s(o,a,n),ps(a,a.return);break;case 30:break;default:$s(o,a,n)}t=t.sibling}}function Vs(e,t){var n=null;null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),e=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(e=t.memoizedState.cachePool.pool),e!==n&&(null!=e&&e.refCount++,null!=n&&Mo(n))}function Hs(e,t){e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&Mo(e))}function Us(e,t,n,r){if(10256&t.subtreeFlags)for(t=t.child;null!==t;)qs(e,t,n,r),t=t.sibling}function qs(e,t,n,r){var o=t.flags;switch(t.tag){case 0:case 11:case 15:Us(e,t,n,r),2048&o&&cs(9,t);break;case 1:case 13:default:Us(e,t,n,r);break;case 3:Us(e,t,n,r),2048&o&&(e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&Mo(e)));break;case 12:if(2048&o){Us(e,t,n,r),e=t.stateNode;try{var a=t.memoizedProps,i=a.id,l=a.onPostCommit;"function"==typeof l&&l(i,null===t.alternate?"mount":"update",e.passiveEffectDuration,-0)}catch(s){pu(t,t.return,s)}}else Us(e,t,n,r);break;case 23:break;case 22:a=t.stateNode,i=t.alternate,null!==t.memoizedState?2&a._visibility?Us(e,t,n,r):Ys(e,t):2&a._visibility?Us(e,t,n,r):(a._visibility|=2,Gs(e,t,n,r,!!(10256&t.subtreeFlags))),2048&o&&Vs(i,t);break;case 24:Us(e,t,n,r),2048&o&&Hs(t.alternate,t)}}function Gs(e,t,n,r,o){for(o=o&&!!(10256&t.subtreeFlags),t=t.child;null!==t;){var a=e,i=t,l=n,s=r,c=i.flags;switch(i.tag){case 0:case 11:case 15:Gs(a,i,l,s,o),cs(8,i);break;case 23:break;case 22:var u=i.stateNode;null!==i.memoizedState?2&u._visibility?Gs(a,i,l,s,o):Ys(a,i):(u._visibility|=2,Gs(a,i,l,s,o)),o&&2048&c&&Vs(i.alternate,i);break;case 24:Gs(a,i,l,s,o),o&&2048&c&&Hs(i.alternate,i);break;default:Gs(a,i,l,s,o)}t=t.sibling}}function Ys(e,t){if(10256&t.subtreeFlags)for(t=t.child;null!==t;){var n=e,r=t,o=r.flags;switch(r.tag){case 22:Ys(n,r),2048&o&&Vs(r.alternate,r);break;case 24:Ys(n,r),2048&o&&Hs(r.alternate,r);break;default:Ys(n,r)}t=t.sibling}}var Xs=8192;function Ks(e){if(e.subtreeFlags&Xs)for(e=e.child;null!==e;)Qs(e),e=e.sibling}function Qs(e){switch(e.tag){case 26:Ks(e),e.flags&Xs&&null!==e.memoizedState&&function(e,t,n){if(null===Ud)throw Error(o(475));var r=Ud;if(!("stylesheet"!==t.type||"string"==typeof n.media&&!1===matchMedia(n.media).matches||4&t.state.loading)){if(null===t.instance){var a=Od(n.href),i=e.querySelector(Ad(a));if(i)return null!==(e=i._p)&&"object"==typeof e&&"function"==typeof e.then&&(r.count++,r=Gd.bind(r),e.then(r,r)),t.state.loading|=4,t.instance=i,void Ye(i);i=e.ownerDocument||e,n=Dd(n),(a=Cd.get(a))&&Ld(n,a),Ye(i=i.createElement("link"));var l=i;l._p=new Promise(function(e,t){l.onload=e,l.onerror=t}),rd(i,"link",n),t.instance=i}null===r.stylesheets&&(r.stylesheets=new Map),r.stylesheets.set(t,e),(e=t.state.preload)&&!(3&t.state.loading)&&(r.count++,t=Gd.bind(r),e.addEventListener("load",t),e.addEventListener("error",t))}}(Fs,e.memoizedState,e.memoizedProps);break;case 5:default:Ks(e);break;case 3:case 4:var t=Fs;Fs=Pd(e.stateNode.containerInfo),Ks(e),Fs=t;break;case 22:null===e.memoizedState&&(null!==(t=e.alternate)&&null!==t.memoizedState?(t=Xs,Xs=16777216,Ks(e),Xs=t):Ks(e))}}function Js(e){var t=e.alternate;if(null!==t&&null!==(e=t.child)){t.child=null;do{t=e.sibling,e.sibling=null,e=t}while(null!==e)}}function Zs(e){var t=e.deletions;if(16&e.flags){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];Es=r,nc(r,e)}Js(e)}if(10256&e.subtreeFlags)for(e=e.child;null!==e;)ec(e),e=e.sibling}function ec(e){switch(e.tag){case 0:case 11:case 15:Zs(e),2048&e.flags&&us(9,e,e.return);break;case 3:case 12:default:Zs(e);break;case 22:var t=e.stateNode;null!==e.memoizedState&&2&t._visibility&&(null===e.return||13!==e.return.tag)?(t._visibility&=-3,tc(e)):Zs(e)}}function tc(e){var t=e.deletions;if(16&e.flags){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];Es=r,nc(r,e)}Js(e)}for(e=e.child;null!==e;){switch((t=e).tag){case 0:case 11:case 15:us(8,t,t.return),tc(t);break;case 22:2&(n=t.stateNode)._visibility&&(n._visibility&=-3,tc(t));break;default:tc(t)}e=e.sibling}}function nc(e,t){for(;null!==Es;){var n=Es;switch(n.tag){case 0:case 11:case 15:us(8,n,t);break;case 23:case 22:if(null!==n.memoizedState&&null!==n.memoizedState.cachePool){var r=n.memoizedState.cachePool.pool;null!=r&&r.refCount++}break;case 24:Mo(n.memoizedState.cache)}if(null!==(r=n.child))r.return=n,Es=r;else e:for(n=e;null!==Es;){var o=(r=Es).sibling,a=r.return;if(zs(r),r===n){Es=null;break e}if(null!==o){o.return=a,Es=o;break e}Es=a}}}var rc={getCacheForType:function(e){var t=Ro(Fo),n=t.data.get(e);return void 0===n&&(n=e(),t.data.set(e,n)),n}},oc="function"==typeof WeakMap?WeakMap:Map,ac=0,ic=null,lc=null,sc=0,cc=0,uc=null,dc=!1,fc=!1,pc=!1,hc=0,gc=0,mc=0,bc=0,vc=0,yc=0,xc=0,kc=null,Sc=null,wc=!1,_c=0,Cc=1/0,Ec=null,Pc=null,zc=0,Tc=null,Rc=null,Ic=0,Oc=0,Ac=null,Dc=null,Nc=0,Fc=null;function jc(){return 2&ac&&0!==sc?sc&-sc:null!==F.T?0!==Bo?Bo:Ou():Ae()}function Mc(){0===yc&&(yc=536870912&sc&&!so?536870912:Ce());var e=ll.current;return null!==e&&(e.flags|=32),yc}function Lc(e,t,n){(e!==ic||2!==cc&&9!==cc)&&null===e.cancelPendingCommit||(qc(e,0),Vc(e,sc,yc,!1)),ze(e,n),2&ac&&e===ic||(e===ic&&(!(2&ac)&&(bc|=n),4===gc&&Vc(e,sc,yc,!1)),Cu(e))}function Wc(e,t,n){if(6&ac)throw Error(o(327));for(var r=!n&&!(124&t)&&0===(t&e.expiredLanes)||we(e,t),a=r?function(e,t){var n=ac;ac|=2;var r=Yc(),a=Xc();ic!==e||sc!==t?(Ec=null,Cc=oe()+500,qc(e,t)):fc=we(e,t);e:for(;;)try{if(0!==cc&&null!==lc){t=lc;var i=uc;t:switch(cc){case 1:cc=0,uc=null,nu(e,t,i,1);break;case 2:case 9:if(Zo(i)){cc=0,uc=null,tu(t);break}t=function(){2!==cc&&9!==cc||ic!==e||(cc=7),Cu(e)},i.then(t,t);break e;case 3:cc=7;break e;case 4:cc=5;break e;case 7:Zo(i)?(cc=0,uc=null,tu(t)):(cc=0,uc=null,nu(e,t,i,7));break;case 5:var l=null;switch(lc.tag){case 26:l=lc.memoizedState;case 5:case 27:var s=lc;if(!l||Hd(l)){cc=0,uc=null;var c=s.sibling;if(null!==c)lc=c;else{var u=s.return;null!==u?(lc=u,ru(u)):lc=null}break t}}cc=0,uc=null,nu(e,t,i,5);break;case 6:cc=0,uc=null,nu(e,t,i,6);break;case 8:Uc(),gc=6;break e;default:throw Error(o(462))}}Zc();break}catch(d){Gc(e,d)}return So=ko=null,F.H=r,F.A=a,ac=n,null!==lc?0:(ic=null,sc=0,Ir(),gc)}(e,t):Qc(e,t,!0),i=r;;){if(0===a){fc&&!r&&Vc(e,t,0,!1);break}if(n=e.current.alternate,!i||$c(n)){if(2===a){if(i=t,e.errorRecoveryDisabledLanes&i)var l=0;else l=0!=(l=-536870913&e.pendingLanes)?l:536870912&l?536870912:0;if(0!==l){t=l;e:{var s=e;a=kc;var c=s.current.memoizedState.isDehydrated;if(c&&(qc(s,l).flags|=256),2!==(l=Qc(s,l,!1))){if(pc&&!c){s.errorRecoveryDisabledLanes|=i,bc|=i,a=4;break e}i=Sc,Sc=a,null!==i&&(null===Sc?Sc=i:Sc.push.apply(Sc,i))}a=l}if(i=!1,2!==a)continue}}if(1===a){qc(e,0),Vc(e,t,0,!0);break}e:{switch(r=e,i=a){case 0:case 1:throw Error(o(345));case 4:if((4194048&t)!==t)break;case 6:Vc(r,t,yc,!dc);break e;case 2:Sc=null;break;case 3:case 5:break;default:throw Error(o(329))}if((62914560&t)===t&&10<(a=_c+300-oe())){if(Vc(r,t,yc,!dc),0!==Se(r,0,!0))break e;r.timeoutHandle=dd(Bc.bind(null,r,n,Sc,Ec,wc,t,yc,bc,xc,dc,i,2,-0,0),a)}else Bc(r,n,Sc,Ec,wc,t,yc,bc,xc,dc,i,0,-0,0)}break}a=Qc(e,t,!1),i=!1}Cu(e)}function Bc(e,t,n,r,a,i,l,s,c,u,d,f,p,h){if(e.timeoutHandle=-1,(8192&(f=t.subtreeFlags)||!(16785408&~f))&&(Ud={stylesheets:null,count:0,unsuspend:qd},Qs(t),null!==(f=function(){if(null===Ud)throw Error(o(475));var e=Ud;return e.stylesheets&&0===e.count&&Xd(e,e.stylesheets),0<e.count?function(t){var n=setTimeout(function(){if(e.stylesheets&&Xd(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(n)}}:null}())))return e.cancelPendingCommit=f(au.bind(null,e,t,i,n,r,a,l,s,c,d,1,p,h)),void Vc(e,i,l,!u);au(e,t,i,n,r,a,l,s,c)}function $c(e){for(var t=e;;){var n=t.tag;if((0===n||11===n||15===n)&&16384&t.flags&&null!==(n=t.updateQueue)&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],a=o.getSnapshot;o=o.value;try{if(!Jn(a(),o))return!1}catch(i){return!1}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Vc(e,t,n,r){t&=~vc,t&=~bc,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var o=t;0<o;){var a=31-me(o),i=1<<a;r[a]=-1,o&=~i}0!==n&&Te(e,n,t)}function Hc(){return!!(6&ac)||(Eu(0),!1)}function Uc(){if(null!==lc){if(0===cc)var e=lc.return;else So=ko=null,Ba(e=lc),Ji=null,Zi=0,e=lc;for(;null!==e;)ss(e.alternate,e),e=e.return;lc=null}}function qc(e,t){var n=e.timeoutHandle;-1!==n&&(e.timeoutHandle=-1,fd(n)),null!==(n=e.cancelPendingCommit)&&(e.cancelPendingCommit=null,n()),Uc(),ic=e,lc=n=Br(e.current,null),sc=t,cc=0,uc=null,dc=!1,fc=we(e,t),pc=!1,xc=yc=vc=bc=mc=gc=0,Sc=kc=null,wc=!1,8&t&&(t|=32&t);var r=e.entangledLanes;if(0!==r)for(e=e.entanglements,r&=t;0<r;){var o=31-me(r),a=1<<o;t|=e[o],r&=~a}return hc=t,Ir(),n}function Gc(e,t){wa=null,F.H=Yi,t===Xo||t===Qo?(t=ra(),cc=3):t===Ko?(t=ra(),cc=4):cc=t===Tl?8:null!==t&&"object"==typeof t&&"function"==typeof t.then?6:1,uc=t,null===lc&&(gc=1,_l(e,Pr(t,e.current)))}function Yc(){var e=F.H;return F.H=Yi,null===e?Yi:e}function Xc(){var e=F.A;return F.A=rc,e}function Kc(){gc=4,dc||(4194048&sc)!==sc&&null!==ll.current||(fc=!0),!(134217727&mc)&&!(134217727&bc)||null===ic||Vc(ic,sc,yc,!1)}function Qc(e,t,n){var r=ac;ac|=2;var o=Yc(),a=Xc();ic===e&&sc===t||(Ec=null,qc(e,t)),t=!1;var i=gc;e:for(;;)try{if(0!==cc&&null!==lc){var l=lc,s=uc;switch(cc){case 8:Uc(),i=6;break e;case 3:case 2:case 9:case 6:null===ll.current&&(t=!0);var c=cc;if(cc=0,uc=null,nu(e,l,s,c),n&&fc){i=0;break e}break;default:c=cc,cc=0,uc=null,nu(e,l,s,c)}}Jc(),i=gc;break}catch(u){Gc(e,u)}return t&&e.shellSuspendCounter++,So=ko=null,ac=r,F.H=o,F.A=a,null===lc&&(ic=null,sc=0,Ir()),i}function Jc(){for(;null!==lc;)eu(lc)}function Zc(){for(;null!==lc&&!ne();)eu(lc)}function eu(e){var t=es(e.alternate,e,hc);e.memoizedProps=e.pendingProps,null===t?ru(e):lc=t}function tu(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=Ll(n,t,t.pendingProps,t.type,void 0,sc);break;case 11:t=Ll(n,t,t.pendingProps,t.type.render,t.ref,sc);break;case 5:Ba(t);default:ss(n,t),t=es(n,t=lc=$r(t,hc),hc)}e.memoizedProps=e.pendingProps,null===t?ru(e):lc=t}function nu(e,t,n,r){So=ko=null,Ba(t),Ji=null,Zi=0;var a=t.return;try{if(function(e,t,n,r,a){if(n.flags|=32768,null!==r&&"object"==typeof r&&"function"==typeof r.then){if(null!==(t=n.alternate)&&Po(t,n,a,!0),null!==(n=ll.current)){switch(n.tag){case 13:return null===sl?Kc():null===n.alternate&&0===gc&&(gc=3),n.flags&=-257,n.flags|=65536,n.lanes=a,r===Jo?n.flags|=16384:(null===(t=n.updateQueue)?n.updateQueue=new Set([r]):t.add(r),hu(e,r,a)),!1;case 22:return n.flags|=65536,r===Jo?n.flags|=16384:(null===(t=n.updateQueue)?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):null===(n=t.retryQueue)?t.retryQueue=new Set([r]):n.add(r),hu(e,r,a)),!1}throw Error(o(435,n.tag))}return hu(e,r,a),Kc(),!1}if(so)return null!==(t=ll.current)?(!(65536&t.flags)&&(t.flags|=256),t.flags|=65536,t.lanes=a,r!==fo&&yo(Pr(e=Error(o(422),{cause:r}),n))):(r!==fo&&yo(Pr(t=Error(o(423),{cause:r}),n)),(e=e.current.alternate).flags|=65536,a&=-a,e.lanes|=a,r=Pr(r,n),da(e,a=El(e.stateNode,r,a)),4!==gc&&(gc=2)),!1;var i=Error(o(520),{cause:r});if(i=Pr(i,n),null===kc?kc=[i]:kc.push(i),4!==gc&&(gc=2),null===t)return!0;r=Pr(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=a&-a,n.lanes|=e,da(n,e=El(n.stateNode,r,e)),!1;case 1:if(t=n.type,i=n.stateNode,!(128&n.flags||"function"!=typeof t.getDerivedStateFromError&&(null===i||"function"!=typeof i.componentDidCatch||null!==Pc&&Pc.has(i))))return n.flags|=65536,a&=-a,n.lanes|=a,zl(a=Pl(a),e,n,r),da(n,a),!1}n=n.return}while(null!==n);return!1}(e,a,t,n,sc))return gc=1,_l(e,Pr(n,e.current)),void(lc=null)}catch(i){if(null!==a)throw lc=a,i;return gc=1,_l(e,Pr(n,e.current)),void(lc=null)}32768&t.flags?(so||1===r?e=!0:fc||536870912&sc?e=!1:(dc=e=!0,(2===r||9===r||3===r||6===r)&&null!==(r=ll.current)&&13===r.tag&&(r.flags|=16384)),ou(t,e)):ru(t)}function ru(e){var t=e;do{if(32768&t.flags)return void ou(t,dc);e=t.return;var n=is(t.alternate,t,hc);if(null!==n)return void(lc=n);if(null!==(t=t.sibling))return void(lc=t);lc=t=e}while(null!==t);0===gc&&(gc=5)}function ou(e,t){do{var n=ls(e.alternate,e);if(null!==n)return n.flags&=32767,void(lc=n);if(null!==(n=e.return)&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&null!==(e=e.sibling))return void(lc=e);lc=e=n}while(null!==e);gc=6,lc=null}function au(e,t,n,r,a,i,l,s,c){e.cancelPendingCommit=null;do{uu()}while(0!==zc);if(6&ac)throw Error(o(327));if(null!==t){if(t===e.current)throw Error(o(177));if(i=t.lanes|t.childLanes,function(e,t,n,r,o,a){var i=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var l=e.entanglements,s=e.expirationTimes,c=e.hiddenUpdates;for(n=i&~n;0<n;){var u=31-me(n),d=1<<u;l[u]=0,s[u]=-1;var f=c[u];if(null!==f)for(c[u]=null,u=0;u<f.length;u++){var p=f[u];null!==p&&(p.lane&=-536870913)}n&=~d}0!==r&&Te(e,r,0),0!==a&&0===o&&0!==e.tag&&(e.suspendedLanes|=a&~(i&~t))}(e,n,i|=Rr,l,s,c),e===ic&&(lc=ic=null,sc=0),Rc=t,Tc=e,Ic=n,Oc=i,Ac=a,Dc=r,10256&t.subtreeFlags||10256&t.flags?(e.callbackNode=null,e.callbackPriority=0,ee(se,function(){return du(),null})):(e.callbackNode=null,e.callbackPriority=0),r=!!(13878&t.flags),13878&t.subtreeFlags||r){r=F.T,F.T=null,a=M.p,M.p=2,l=ac,ac|=4;try{!function(e,t){if(e=e.containerInfo,od=af,or(e=rr(e))){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var a=r.anchorOffset,i=r.focusNode;r=r.focusOffset;var l=0,s=-1,c=-1,u=0,d=0,f=e,p=null;e:for(;;){for(var h;f!==n||0!==a&&3!==f.nodeType||(s=l+a),f!==i||0!==r&&3!==f.nodeType||(c=l+r),3===f.nodeType&&(l+=f.nodeValue.length),null!==(h=f.firstChild);)p=f,f=h;for(;;){if(f===e)break e;if(p===n&&++u===a&&(s=l),p===i&&++d===r&&(c=l),null!==(h=f.nextSibling))break;p=(f=p).parentNode}f=h}n=-1===s||-1===c?null:{start:s,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(ad={focusedElem:e,selectionRange:n},af=!1,Es=t;null!==Es;)if(e=(t=Es).child,1024&t.subtreeFlags&&null!==e)e.return=t,Es=e;else for(;null!==Es;){switch(i=(t=Es).alternate,e=t.flags,t.tag){case 0:case 11:case 15:case 5:case 26:case 27:case 6:case 4:case 17:break;case 1:if(1024&e&&null!==i){e=void 0,n=t,a=i.memoizedProps,i=i.memoizedState,r=n.stateNode;try{var g=yl(n.type,a);e=r.getSnapshotBeforeUpdate(g,i),r.__reactInternalSnapshotBeforeUpdate=e}catch(m){pu(n,n.return,m)}}break;case 3:if(1024&e)if(9===(n=(e=t.stateNode.containerInfo).nodeType))vd(e);else if(1===n)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":vd(e);break;default:e.textContent=""}break;default:if(1024&e)throw Error(o(163))}if(null!==(e=t.sibling)){e.return=t.return,Es=e;break}Es=t.return}}(e,t)}finally{ac=l,M.p=a,F.T=r}}zc=1,iu(),lu(),su()}}function iu(){if(1===zc){zc=0;var e=Tc,t=Rc,n=!!(13878&t.flags);if(13878&t.subtreeFlags||n){n=F.T,F.T=null;var r=M.p;M.p=2;var o=ac;ac|=4;try{js(t,e);var a=ad,i=rr(e.containerInfo),l=a.focusedElem,s=a.selectionRange;if(i!==l&&l&&l.ownerDocument&&nr(l.ownerDocument.documentElement,l)){if(null!==s&&or(l)){var c=s.start,u=s.end;if(void 0===u&&(u=c),"selectionStart"in l)l.selectionStart=c,l.selectionEnd=Math.min(u,l.value.length);else{var d=l.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),h=l.textContent.length,g=Math.min(s.start,h),m=void 0===s.end?g:Math.min(s.end,h);!p.extend&&g>m&&(i=m,m=g,g=i);var b=tr(l,g),v=tr(l,m);if(b&&v&&(1!==p.rangeCount||p.anchorNode!==b.node||p.anchorOffset!==b.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(b.node,b.offset),p.removeAllRanges(),g>m?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=l;p=p.parentNode;)1===p.nodeType&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for("function"==typeof l.focus&&l.focus(),l=0;l<d.length;l++){var x=d[l];x.element.scrollLeft=x.left,x.element.scrollTop=x.top}}af=!!od,ad=od=null}finally{ac=o,M.p=r,F.T=n}}e.current=t,zc=2}}function lu(){if(2===zc){zc=0;var e=Tc,t=Rc,n=!!(8772&t.flags);if(8772&t.subtreeFlags||n){n=F.T,F.T=null;var r=M.p;M.p=2;var o=ac;ac|=4;try{Ps(e,t.alternate,t)}finally{ac=o,M.p=r,F.T=n}}zc=3}}function su(){if(4===zc||3===zc){zc=0,re();var e=Tc,t=Rc,n=Ic,r=Dc;10256&t.subtreeFlags||10256&t.flags?zc=5:(zc=0,Rc=Tc=null,cu(e,e.pendingLanes));var o=e.pendingLanes;if(0===o&&(Pc=null),Oe(n),t=t.stateNode,he&&"function"==typeof he.onCommitFiberRoot)try{he.onCommitFiberRoot(pe,t,void 0,!(128&~t.current.flags))}catch(s){}if(null!==r){t=F.T,o=M.p,M.p=2,F.T=null;try{for(var a=e.onRecoverableError,i=0;i<r.length;i++){var l=r[i];a(l.value,{componentStack:l.stack})}}finally{F.T=t,M.p=o}}3&Ic&&uu(),Cu(e),o=e.pendingLanes,4194090&n&&42&o?e===Fc?Nc++:(Nc=0,Fc=e):Nc=0,Eu(0)}}function cu(e,t){0===(e.pooledCacheLanes&=t)&&null!=(t=e.pooledCache)&&(e.pooledCache=null,Mo(t))}function uu(e){return iu(),lu(),su(),du()}function du(){if(5!==zc)return!1;var e=Tc,t=Oc;Oc=0;var n=Oe(Ic),r=F.T,a=M.p;try{M.p=32>n?32:n,F.T=null,n=Ac,Ac=null;var i=Tc,l=Ic;if(zc=0,Rc=Tc=null,Ic=0,6&ac)throw Error(o(331));var s=ac;if(ac|=4,ec(i.current),qs(i,i.current,l,n),ac=s,Eu(0),he&&"function"==typeof he.onPostCommitFiberRoot)try{he.onPostCommitFiberRoot(pe,i)}catch(c){}return!0}finally{M.p=a,F.T=r,cu(e,t)}}function fu(e,t,n){t=Pr(n,t),null!==(e=ca(e,t=El(e.stateNode,t,2),2))&&(ze(e,2),Cu(e))}function pu(e,t,n){if(3===e.tag)fu(e,e,n);else for(;null!==t;){if(3===t.tag){fu(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Pc||!Pc.has(r))){e=Pr(n,e),null!==(r=ca(t,n=Pl(2),2))&&(zl(n,r,t,e),ze(r,2),Cu(r));break}}t=t.return}}function hu(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new oc;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(pc=!0,o.add(n),e=gu.bind(null,e,t,n),t.then(e,e))}function gu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,ic===e&&(sc&n)===n&&(4===gc||3===gc&&(62914560&sc)===sc&&300>oe()-_c?!(2&ac)&&qc(e,0):vc|=n,xc===sc&&(xc=0)),Cu(e)}function mu(e,t){0===t&&(t=Ee()),null!==(e=Dr(e,t))&&(ze(e,t),Cu(e))}function bu(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),mu(e,n)}function vu(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(o(314))}null!==r&&r.delete(t),mu(e,n)}var yu=null,xu=null,ku=!1,Su=!1,wu=!1,_u=0;function Cu(e){e!==xu&&null===e.next&&(null===xu?yu=xu=e:xu=xu.next=e),Su=!0,ku||(ku=!0,hd(function(){6&ac?ee(ie,Pu):zu()}))}function Eu(e,t){if(!wu&&Su){wu=!0;do{for(var n=!1,r=yu;null!==r;){if(0!==e){var o=r.pendingLanes;if(0===o)var a=0;else{var i=r.suspendedLanes,l=r.pingedLanes;a=(1<<31-me(42|e)+1)-1,a=201326741&(a&=o&~(i&~l))?201326741&a|1:a?2|a:0}0!==a&&(n=!0,Iu(r,a))}else a=sc,!(3&(a=Se(r,r===ic?a:0,null!==r.cancelPendingCommit||-1!==r.timeoutHandle)))||we(r,a)||(n=!0,Iu(r,a));r=r.next}}while(n);wu=!1}}function Pu(){zu()}function zu(){Su=ku=!1;var e,t=0;0!==_u&&(((e=window.event)&&"popstate"===e.type?e!==ud&&(ud=e,!0):(ud=null,!1))&&(t=_u),_u=0);for(var n=oe(),r=null,o=yu;null!==o;){var a=o.next,i=Tu(o,n);0===i?(o.next=null,null===r?yu=a:r.next=a,null===a&&(xu=r)):(r=o,(0!==t||3&i)&&(Su=!0)),o=a}Eu(t)}function Tu(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,a=-62914561&e.pendingLanes;0<a;){var i=31-me(a),l=1<<i,s=o[i];-1===s?0!==(l&n)&&0===(l&r)||(o[i]=_e(l,t)):s<=t&&(e.expiredLanes|=l),a&=~l}if(n=sc,n=Se(e,e===(t=ic)?n:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle),r=e.callbackNode,0===n||e===t&&(2===cc||9===cc)||null!==e.cancelPendingCommit)return null!==r&&null!==r&&te(r),e.callbackNode=null,e.callbackPriority=0;if(!(3&n)||we(e,n)){if((t=n&-n)===e.callbackPriority)return t;switch(null!==r&&te(r),Oe(n)){case 2:case 8:n=le;break;case 32:default:n=se;break;case 268435456:n=ue}return r=Ru.bind(null,e),n=ee(n,r),e.callbackPriority=t,e.callbackNode=n,t}return null!==r&&null!==r&&te(r),e.callbackPriority=2,e.callbackNode=null,2}function Ru(e,t){if(0!==zc&&5!==zc)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(uu()&&e.callbackNode!==n)return null;var r=sc;return 0===(r=Se(e,e===ic?r:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle))?null:(Wc(e,r,t),Tu(e,oe()),null!=e.callbackNode&&e.callbackNode===n?Ru.bind(null,e):null)}function Iu(e,t){if(uu())return null;Wc(e,t,!0)}function Ou(){return 0===_u&&(_u=Ce()),_u}function Au(e){return null==e||"symbol"==typeof e||"boolean"==typeof e?null:"function"==typeof e?e:Ot(""+e)}function Du(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}for(var Nu=0;Nu<_r.length;Nu++){var Fu=_r[Nu];Cr(Fu.toLowerCase(),"on"+(Fu[0].toUpperCase()+Fu.slice(1)))}Cr(mr,"onAnimationEnd"),Cr(br,"onAnimationIteration"),Cr(vr,"onAnimationStart"),Cr("dblclick","onDoubleClick"),Cr("focusin","onFocus"),Cr("focusout","onBlur"),Cr(yr,"onTransitionRun"),Cr(xr,"onTransitionStart"),Cr(kr,"onTransitionCancel"),Cr(Sr,"onTransitionEnd"),Je("onMouseEnter",["mouseout","mouseover"]),Je("onMouseLeave",["mouseout","mouseover"]),Je("onPointerEnter",["pointerout","pointerover"]),Je("onPointerLeave",["pointerout","pointerover"]),Qe("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Qe("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Qe("onBeforeInput",["compositionend","keypress","textInput","paste"]),Qe("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Qe("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Qe("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ju="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(" "),Mu=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ju));function Lu(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],s=l.instance,c=l.currentTarget;if(l=l.listener,s!==a&&o.isPropagationStopped())break e;a=l,o.currentTarget=c;try{a(o)}catch(u){xl(u)}o.currentTarget=null,a=s}else for(i=0;i<r.length;i++){if(s=(l=r[i]).instance,c=l.currentTarget,l=l.listener,s!==a&&o.isPropagationStopped())break e;a=l,o.currentTarget=c;try{a(o)}catch(u){xl(u)}o.currentTarget=null,a=s}}}}function Wu(e,t){var n=t[Me];void 0===n&&(n=t[Me]=new Set);var r=e+"__bubble";n.has(r)||(Hu(t,e,2,!1),n.add(r))}function Bu(e,t,n){var r=0;t&&(r|=4),Hu(n,e,r,t)}var $u="_reactListening"+Math.random().toString(36).slice(2);function Vu(e){if(!e[$u]){e[$u]=!0,Xe.forEach(function(t){"selectionchange"!==t&&(Mu.has(t)||Bu(t,!1,e),Bu(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[$u]||(t[$u]=!0,Bu("selectionchange",!1,t))}}function Hu(e,t,n,r){switch(pf(t)){case 2:var o=lf;break;case 8:o=sf;break;default:o=cf}n=o.bind(null,t,n,e),o=void 0,!$t||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Uu(e,t,n,r,o){var a=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var l=r.tag;if(3===l||4===l){var s=r.stateNode.containerInfo;if(s===o)break;if(4===l)for(l=r.return;null!==l;){var c=l.tag;if((3===c||4===c)&&l.stateNode.containerInfo===o)return;l=l.return}for(;null!==s;){if(null===(l=He(s)))return;if(5===(c=l.tag)||6===c||26===c||27===c){r=a=l;continue e}s=s.parentNode}}r=r.return}Lt(function(){var r=a,o=Dt(n),l=[];e:{var s=wr.get(e);if(void 0!==s){var c=nn,u=e;switch(e){case"keypress":if(0===Yt(n))break e;case"keydown":case"keyup":c=vn;break;case"focusin":u="focus",c=cn;break;case"focusout":u="blur",c=cn;break;case"beforeblur":case"afterblur":c=cn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":c=ln;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":c=sn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":c=xn;break;case mr:case br:case vr:c=un;break;case Sr:c=kn;break;case"scroll":case"scrollend":c=on;break;case"wheel":c=Sn;break;case"copy":case"cut":case"paste":c=dn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":c=yn;break;case"toggle":case"beforetoggle":c=wn}var d=!!(4&t),f=!d&&("scroll"===e||"scrollend"===e),p=d?null!==s?s+"Capture":null:s;d=[];for(var h,g=r;null!==g;){var m=g;if(h=m.stateNode,5!==(m=m.tag)&&26!==m&&27!==m||null===h||null===p||null!=(m=Wt(g,p))&&d.push(qu(g,m,h)),f)break;g=g.return}0<d.length&&(s=new c(s,u,null,n,o),l.push({event:s,listeners:d}))}}if(!(7&t)){if(c="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===At||!(u=n.relatedTarget||n.fromElement)||!He(u)&&!u[je])&&(c||s)&&(s=o.window===o?o:(s=o.ownerDocument)?s.defaultView||s.parentWindow:window,c?(c=r,null!==(u=(u=n.relatedTarget||n.toElement)?He(u):null)&&(f=i(u),d=u.tag,u!==f||5!==d&&27!==d&&6!==d)&&(u=null)):(c=null,u=r),c!==u)){if(d=ln,m="onMouseLeave",p="onMouseEnter",g="mouse","pointerout"!==e&&"pointerover"!==e||(d=yn,m="onPointerLeave",p="onPointerEnter",g="pointer"),f=null==c?s:qe(c),h=null==u?s:qe(u),(s=new d(m,g+"leave",c,n,o)).target=f,s.relatedTarget=h,m=null,He(o)===r&&((d=new d(p,g+"enter",u,n,o)).target=h,d.relatedTarget=f,m=d),f=m,c&&u)e:{for(p=u,g=0,h=d=c;h;h=Yu(h))g++;for(h=0,m=p;m;m=Yu(m))h++;for(;0<g-h;)d=Yu(d),g--;for(;0<h-g;)p=Yu(p),h--;for(;g--;){if(d===p||null!==p&&d===p.alternate)break e;d=Yu(d),p=Yu(p)}d=null}else d=null;null!==c&&Xu(l,s,c,d,!1),null!==u&&null!==f&&Xu(l,f,u,d,!0)}if("select"===(c=(s=r?qe(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===c&&"file"===s.type)var b=Bn;else if(Nn(s))if($n)b=Qn;else{b=Xn;var v=Yn}else!(c=s.nodeName)||"input"!==c.toLowerCase()||"checkbox"!==s.type&&"radio"!==s.type?r&&Tt(r.elementType)&&(b=Bn):b=Kn;switch(b&&(b=b(e,r))?Fn(l,b,n,o):(v&&v(e,s,r),"focusout"===e&&r&&"number"===s.type&&null!=r.memoizedProps.value&&kt(s,"number",s.value)),v=r?qe(r):window,e){case"focusin":(Nn(v)||"true"===v.contentEditable)&&(ir=v,lr=r,sr=null);break;case"focusout":sr=lr=ir=null;break;case"mousedown":cr=!0;break;case"contextmenu":case"mouseup":case"dragend":cr=!1,ur(l,n,o);break;case"selectionchange":if(ar)break;case"keydown":case"keyup":ur(l,n,o)}var y;if(Cn)e:{switch(e){case"compositionstart":var x="onCompositionStart";break e;case"compositionend":x="onCompositionEnd";break e;case"compositionupdate":x="onCompositionUpdate";break e}x=void 0}else An?In(e,n)&&(x="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(x="onCompositionStart");x&&(zn&&"ko"!==n.locale&&(An||"onCompositionStart"!==x?"onCompositionEnd"===x&&An&&(y=Gt()):(Ut="value"in(Ht=o)?Ht.value:Ht.textContent,An=!0)),0<(v=Gu(r,x)).length&&(x=new fn(x,e,null,n,o),l.push({event:x,listeners:v}),(y||null!==(y=On(n)))&&(x.data=y))),(y=Pn?function(e,t){switch(e){case"compositionend":return On(t);case"keypress":return 32!==t.which?null:(Rn=!0,Tn);case"textInput":return(e=t.data)===Tn&&Rn?null:e;default:return null}}(e,n):function(e,t){if(An)return"compositionend"===e||!Cn&&In(e,t)?(e=Gt(),qt=Ut=Ht=null,An=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return zn&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(x=Gu(r,"onBeforeInput")).length&&(v=new fn("onBeforeInput","beforeinput",null,n,o),l.push({event:v,listeners:x}),v.data=y),function(e,t,n,r,o){if("submit"===t&&n&&n.stateNode===o){var a=Au((o[Fe]||null).action),i=r.submitter;i&&null!==(t=(t=i[Fe]||null)?Au(t.formAction):i.getAttribute("formAction"))&&(a=t,i=null);var l=new nn("action","action",null,r,o);e.push({event:l,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(0!==_u){var e=i?Du(o,i):new FormData(o);Di(n,{pending:!0,data:e,method:o.method,action:a},null,e)}}else"function"==typeof a&&(l.preventDefault(),e=i?Du(o,i):new FormData(o),Di(n,{pending:!0,data:e,method:o.method,action:a},a,e))},currentTarget:o}]})}}(l,e,r,n,o)}Lu(l,t)})}function qu(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Gu(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,a=o.stateNode;if(5!==(o=o.tag)&&26!==o&&27!==o||null===a||(null!=(o=Wt(e,n))&&r.unshift(qu(e,o,a)),null!=(o=Wt(e,t))&&r.push(qu(e,o,a))),3===e.tag)return r;e=e.return}return[]}function Yu(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag&&27!==e.tag);return e||null}function Xu(e,t,n,r,o){for(var a=t._reactName,i=[];null!==n&&n!==r;){var l=n,s=l.alternate,c=l.stateNode;if(l=l.tag,null!==s&&s===r)break;5!==l&&26!==l&&27!==l||null===c||(s=c,o?null!=(c=Wt(n,a))&&i.unshift(qu(n,c,s)):o||null!=(c=Wt(n,a))&&i.push(qu(n,c,s))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var Ku=/\r\n?/g,Qu=/\u0000|\uFFFD/g;function Ju(e){return("string"==typeof e?e:""+e).replace(Ku,"\n").replace(Qu,"")}function Zu(e,t){return t=Ju(t),Ju(e)===t}function ed(){}function td(e,t,n,r,a,i){switch(n){case"children":"string"==typeof r?"body"===t||"textarea"===t&&""===r||Ct(e,r):("number"==typeof r||"bigint"==typeof r)&&"body"!==t&&Ct(e,""+r);break;case"className":at(e,"class",r);break;case"tabIndex":at(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":at(e,n,r);break;case"style":zt(e,r,i);break;case"data":if("object"!==t){at(e,"data",r);break}case"src":case"href":if(""===r&&("a"!==t||"href"!==n)){e.removeAttribute(n);break}if(null==r||"function"==typeof r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}r=Ot(""+r),e.setAttribute(n,r);break;case"action":case"formAction":if("function"==typeof r){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}if("function"==typeof i&&("formAction"===n?("input"!==t&&td(e,t,"name",a.name,a,null),td(e,t,"formEncType",a.formEncType,a,null),td(e,t,"formMethod",a.formMethod,a,null),td(e,t,"formTarget",a.formTarget,a,null)):(td(e,t,"encType",a.encType,a,null),td(e,t,"method",a.method,a,null),td(e,t,"target",a.target,a,null))),null==r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}r=Ot(""+r),e.setAttribute(n,r);break;case"onClick":null!=r&&(e.onclick=ed);break;case"onScroll":null!=r&&Wu("scroll",e);break;case"onScrollEnd":null!=r&&Wu("scrollend",e);break;case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(o(61));if(null!=(n=r.__html)){if(null!=a.children)throw Error(o(60));e.innerHTML=n}}break;case"multiple":e.multiple=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"muted":e.muted=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":case"autoFocus":break;case"xlinkHref":if(null==r||"function"==typeof r||"boolean"==typeof r||"symbol"==typeof r){e.removeAttribute("xlink:href");break}n=Ot(""+r),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":null!=r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,""+r):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":!0===r?e.setAttribute(n,""):!1!==r&&null!=r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,r):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":null!=r&&"function"!=typeof r&&"symbol"!=typeof r&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case"rowSpan":case"start":null==r||"function"==typeof r||"symbol"==typeof r||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case"popover":Wu("beforetoggle",e),Wu("toggle",e),ot(e,"popover",r);break;case"xlinkActuate":it(e,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":it(e,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":it(e,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":it(e,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":it(e,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":it(e,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":it(e,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":it(e,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":it(e,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":ot(e,"is",r);break;case"innerText":case"textContent":break;default:(!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1])&&ot(e,n=Rt.get(n)||n,r)}}function nd(e,t,n,r,a,i){switch(n){case"style":zt(e,r,i);break;case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(o(61));if(null!=(n=r.__html)){if(null!=a.children)throw Error(o(60));e.innerHTML=n}}break;case"children":"string"==typeof r?Ct(e,r):("number"==typeof r||"bigint"==typeof r)&&Ct(e,""+r);break;case"onScroll":null!=r&&Wu("scroll",e);break;case"onScrollEnd":null!=r&&Wu("scrollend",e);break;case"onClick":null!=r&&(e.onclick=ed);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":case"innerText":case"textContent":break;default:Ke.hasOwnProperty(n)||("o"!==n[0]||"n"!==n[1]||(a=n.endsWith("Capture"),t=n.slice(2,a?n.length-7:void 0),"function"==typeof(i=null!=(i=e[Fe]||null)?i[n]:null)&&e.removeEventListener(t,i,a),"function"!=typeof r)?n in e?e[n]=r:!0===r?e.setAttribute(n,""):ot(e,n,r):("function"!=typeof i&&null!==i&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,a)))}}function rd(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Wu("error",e),Wu("load",e);var r,a=!1,i=!1;for(r in n)if(n.hasOwnProperty(r)){var l=n[r];if(null!=l)switch(r){case"src":a=!0;break;case"srcSet":i=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:td(e,t,r,l,n,null)}}return i&&td(e,t,"srcSet",n.srcSet,n,null),void(a&&td(e,t,"src",n.src,n,null));case"input":Wu("invalid",e);var s=r=l=i=null,c=null,u=null;for(a in n)if(n.hasOwnProperty(a)){var d=n[a];if(null!=d)switch(a){case"name":i=d;break;case"type":l=d;break;case"checked":c=d;break;case"defaultChecked":u=d;break;case"value":r=d;break;case"defaultValue":s=d;break;case"children":case"dangerouslySetInnerHTML":if(null!=d)throw Error(o(137,t));break;default:td(e,t,a,d,n,null)}}return xt(e,r,s,c,u,l,i,!1),void ht(e);case"select":for(i in Wu("invalid",e),a=l=r=null,n)if(n.hasOwnProperty(i)&&null!=(s=n[i]))switch(i){case"value":r=s;break;case"defaultValue":l=s;break;case"multiple":a=s;default:td(e,t,i,s,n,null)}return t=r,n=l,e.multiple=!!a,void(null!=t?St(e,!!a,t,!1):null!=n&&St(e,!!a,n,!0));case"textarea":for(l in Wu("invalid",e),r=i=a=null,n)if(n.hasOwnProperty(l)&&null!=(s=n[l]))switch(l){case"value":a=s;break;case"defaultValue":i=s;break;case"children":r=s;break;case"dangerouslySetInnerHTML":if(null!=s)throw Error(o(91));break;default:td(e,t,l,s,n,null)}return _t(e,a,i,r),void ht(e);case"option":for(c in n)n.hasOwnProperty(c)&&null!=(a=n[c])&&("selected"===c?e.selected=a&&"function"!=typeof a&&"symbol"!=typeof a:td(e,t,c,a,n,null));return;case"dialog":Wu("beforetoggle",e),Wu("toggle",e),Wu("cancel",e),Wu("close",e);break;case"iframe":case"object":Wu("load",e);break;case"video":case"audio":for(a=0;a<ju.length;a++)Wu(ju[a],e);break;case"image":Wu("error",e),Wu("load",e);break;case"details":Wu("toggle",e);break;case"embed":case"source":case"link":Wu("error",e),Wu("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(u in n)if(n.hasOwnProperty(u)&&null!=(a=n[u]))switch(u){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:td(e,t,u,a,n,null)}return;default:if(Tt(t)){for(d in n)n.hasOwnProperty(d)&&void 0!==(a=n[d])&&nd(e,t,d,a,n,void 0);return}}for(s in n)n.hasOwnProperty(s)&&null!=(a=n[s])&&td(e,t,s,a,n,null)}var od=null,ad=null;function id(e){return 9===e.nodeType?e:e.ownerDocument}function ld(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function sd(e,t){if(0===e)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return 1===e&&"foreignObject"===t?0:e}function cd(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"bigint"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ud=null,dd="function"==typeof setTimeout?setTimeout:void 0,fd="function"==typeof clearTimeout?clearTimeout:void 0,pd="function"==typeof Promise?Promise:void 0,hd="function"==typeof queueMicrotask?queueMicrotask:void 0!==pd?function(e){return pd.resolve(null).then(e).catch(gd)}:dd;function gd(e){setTimeout(function(){throw e})}function md(e){return"head"===e}function bd(e,t){var n=t,r=0,o=0;do{var a=n.nextSibling;if(e.removeChild(n),a&&8===a.nodeType)if("/$"===(n=a.data)){if(0<r&&8>r){n=r;var i=e.ownerDocument;if(1&n&&_d(i.documentElement),2&n&&_d(i.body),4&n)for(_d(n=i.head),i=n.firstChild;i;){var l=i.nextSibling,s=i.nodeName;i[$e]||"SCRIPT"===s||"STYLE"===s||"LINK"===s&&"stylesheet"===i.rel.toLowerCase()||n.removeChild(i),i=l}}if(0===o)return e.removeChild(a),void If(t);o--}else"$"===n||"$?"===n||"$!"===n?o++:r=n.charCodeAt(0)-48;else r=0;n=a}while(n);If(t)}function vd(e){var t=e.firstChild;for(t&&10===t.nodeType&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":vd(n),Ve(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===n.rel.toLowerCase())continue}e.removeChild(n)}}function yd(e){return"$!"===e.data||"$?"===e.data&&"complete"===e.ownerDocument.readyState}function xd(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t||"F!"===t||"F"===t)break;if("/$"===t)return null}}return e}var kd=null;function Sd(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}function wd(e,t,n){switch(t=id(n),e){case"html":if(!(e=t.documentElement))throw Error(o(452));return e;case"head":if(!(e=t.head))throw Error(o(453));return e;case"body":if(!(e=t.body))throw Error(o(454));return e;default:throw Error(o(451))}}function _d(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Ve(e)}var Cd=new Map,Ed=new Set;function Pd(e){return"function"==typeof e.getRootNode?e.getRootNode():9===e.nodeType?e:e.ownerDocument}var zd=M.d;M.d={f:function(){var e=zd.f(),t=Hc();return e||t},r:function(e){var t=Ue(e);null!==t&&5===t.tag&&"form"===t.type?Fi(t):zd.r(e)},D:function(e){zd.D(e),Rd("dns-prefetch",e,null)},C:function(e,t){zd.C(e,t),Rd("preconnect",e,t)},L:function(e,t,n){zd.L(e,t,n);var r=Td;if(r&&e&&t){var o='link[rel="preload"][as="'+vt(t)+'"]';"image"===t&&n&&n.imageSrcSet?(o+='[imagesrcset="'+vt(n.imageSrcSet)+'"]',"string"==typeof n.imageSizes&&(o+='[imagesizes="'+vt(n.imageSizes)+'"]')):o+='[href="'+vt(e)+'"]';var a=o;switch(t){case"style":a=Od(e);break;case"script":a=Nd(e)}Cd.has(a)||(e=u({rel:"preload",href:"image"===t&&n&&n.imageSrcSet?void 0:e,as:t},n),Cd.set(a,e),null!==r.querySelector(o)||"style"===t&&r.querySelector(Ad(a))||"script"===t&&r.querySelector(Fd(a))||(rd(t=r.createElement("link"),"link",e),Ye(t),r.head.appendChild(t)))}},m:function(e,t){zd.m(e,t);var n=Td;if(n&&e){var r=t&&"string"==typeof t.as?t.as:"script",o='link[rel="modulepreload"][as="'+vt(r)+'"][href="'+vt(e)+'"]',a=o;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":a=Nd(e)}if(!Cd.has(a)&&(e=u({rel:"modulepreload",href:e},t),Cd.set(a,e),null===n.querySelector(o))){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Fd(a)))return}rd(r=n.createElement("link"),"link",e),Ye(r),n.head.appendChild(r)}}},X:function(e,t){zd.X(e,t);var n=Td;if(n&&e){var r=Ge(n).hoistableScripts,o=Nd(e),a=r.get(o);a||((a=n.querySelector(Fd(o)))||(e=u({src:e,async:!0},t),(t=Cd.get(o))&&Wd(e,t),Ye(a=n.createElement("script")),rd(a,"link",e),n.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},r.set(o,a))}},S:function(e,t,n){zd.S(e,t,n);var r=Td;if(r&&e){var o=Ge(r).hoistableStyles,a=Od(e);t=t||"default";var i=o.get(a);if(!i){var l={loading:0,preload:null};if(i=r.querySelector(Ad(a)))l.loading=5;else{e=u({rel:"stylesheet",href:e,"data-precedence":t},n),(n=Cd.get(a))&&Ld(e,n);var s=i=r.createElement("link");Ye(s),rd(s,"link",e),s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),s.addEventListener("load",function(){l.loading|=1}),s.addEventListener("error",function(){l.loading|=2}),l.loading|=4,Md(i,t,r)}i={type:"stylesheet",instance:i,count:1,state:l},o.set(a,i)}}},M:function(e,t){zd.M(e,t);var n=Td;if(n&&e){var r=Ge(n).hoistableScripts,o=Nd(e),a=r.get(o);a||((a=n.querySelector(Fd(o)))||(e=u({src:e,async:!0,type:"module"},t),(t=Cd.get(o))&&Wd(e,t),Ye(a=n.createElement("script")),rd(a,"link",e),n.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},r.set(o,a))}}};var Td="undefined"==typeof document?null:document;function Rd(e,t,n){var r=Td;if(r&&"string"==typeof t&&t){var o=vt(t);o='link[rel="'+e+'"][href="'+o+'"]',"string"==typeof n&&(o+='[crossorigin="'+n+'"]'),Ed.has(o)||(Ed.add(o),e={rel:e,crossOrigin:n,href:t},null===r.querySelector(o)&&(rd(t=r.createElement("link"),"link",e),Ye(t),r.head.appendChild(t)))}}function Id(e,t,n,r){var a,i,l,s,c=(c=G.current)?Pd(c):null;if(!c)throw Error(o(446));switch(e){case"meta":case"title":return null;case"style":return"string"==typeof n.precedence&&"string"==typeof n.href?(t=Od(n.href),(r=(n=Ge(c).hoistableStyles).get(t))||(r={type:"style",instance:null,count:0,state:null},n.set(t,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===n.rel&&"string"==typeof n.href&&"string"==typeof n.precedence){e=Od(n.href);var u=Ge(c).hoistableStyles,d=u.get(e);if(d||(c=c.ownerDocument||c,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(e,d),(u=c.querySelector(Ad(e)))&&!u._p&&(d.instance=u,d.state.loading=5),Cd.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Cd.set(e,n),u||(a=c,i=e,l=n,s=d.state,a.querySelector('link[rel="preload"][as="style"]['+i+"]")?s.loading=1:(i=a.createElement("link"),s.preload=i,i.addEventListener("load",function(){return s.loading|=1}),i.addEventListener("error",function(){return s.loading|=2}),rd(i,"link",l),Ye(i),a.head.appendChild(i))))),t&&null===r)throw Error(o(528,""));return d}if(t&&null!==r)throw Error(o(529,""));return null;case"script":return t=n.async,"string"==typeof(n=n.src)&&t&&"function"!=typeof t&&"symbol"!=typeof t?(t=Nd(n),(r=(n=Ge(c).hoistableScripts).get(t))||(r={type:"script",instance:null,count:0,state:null},n.set(t,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,e))}}function Od(e){return'href="'+vt(e)+'"'}function Ad(e){return'link[rel="stylesheet"]['+e+"]"}function Dd(e){return u({},e,{"data-precedence":e.precedence,precedence:null})}function Nd(e){return'[src="'+vt(e)+'"]'}function Fd(e){return"script[async]"+e}function jd(e,t,n){if(t.count++,null===t.instance)switch(t.type){case"style":var r=e.querySelector('style[data-href~="'+vt(n.href)+'"]');if(r)return t.instance=r,Ye(r),r;var a=u({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return Ye(r=(e.ownerDocument||e).createElement("style")),rd(r,"style",a),Md(r,n.precedence,e),t.instance=r;case"stylesheet":a=Od(n.href);var i=e.querySelector(Ad(a));if(i)return t.state.loading|=4,t.instance=i,Ye(i),i;r=Dd(n),(a=Cd.get(a))&&Ld(r,a),Ye(i=(e.ownerDocument||e).createElement("link"));var l=i;return l._p=new Promise(function(e,t){l.onload=e,l.onerror=t}),rd(i,"link",r),t.state.loading|=4,Md(i,n.precedence,e),t.instance=i;case"script":return i=Nd(n.src),(a=e.querySelector(Fd(i)))?(t.instance=a,Ye(a),a):(r=n,(a=Cd.get(i))&&Wd(r=u({},n),a),Ye(a=(e=e.ownerDocument||e).createElement("script")),rd(a,"link",r),e.head.appendChild(a),t.instance=a);case"void":return null;default:throw Error(o(443,t.type))}else"stylesheet"===t.type&&!(4&t.state.loading)&&(r=t.instance,t.state.loading|=4,Md(r,n.precedence,e));return t.instance}function Md(e,t,n){for(var r=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=r.length?r[r.length-1]:null,a=o,i=0;i<r.length;i++){var l=r[i];if(l.dataset.precedence===t)a=l;else if(a!==o)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=9===n.nodeType?n.head:n).insertBefore(e,t.firstChild)}function Ld(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.title&&(e.title=t.title)}function Wd(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.integrity&&(e.integrity=t.integrity)}var Bd=null;function $d(e,t,n){if(null===Bd){var r=new Map,o=Bd=new Map;o.set(n,r)}else(r=(o=Bd).get(n))||(r=new Map,o.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),o=0;o<n.length;o++){var a=n[o];if(!(a[$e]||a[Ne]||"link"===e&&"stylesheet"===a.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==a.namespaceURI){var i=a.getAttribute(t)||"";i=e+i;var l=r.get(i);l?l.push(a):r.set(i,[a])}}return r}function Vd(e,t,n){(e=e.ownerDocument||e).head.insertBefore(n,"title"===t?e.querySelector("head > title"):null)}function Hd(e){return!!("stylesheet"!==e.type||3&e.state.loading)}var Ud=null;function qd(){}function Gd(){if(this.count--,0===this.count)if(this.stylesheets)Xd(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}var Yd=null;function Xd(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,Yd=new Map,t.forEach(Kd,e),Yd=null,Gd.call(e))}function Kd(e,t){if(!(4&t.state.loading)){var n=Yd.get(e);if(n)var r=n.get(null);else{n=new Map,Yd.set(e,n);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),a=0;a<o.length;a++){var i=o[a];"LINK"!==i.nodeName&&"not all"===i.getAttribute("media")||(n.set(i.dataset.precedence,i),r=i)}r&&n.set(null,r)}i=(o=t.instance).getAttribute("data-precedence"),(a=n.get(i)||r)===r&&n.set(null,o),n.set(i,o),this.count++,r=Gd.bind(this),o.addEventListener("load",r),o.addEventListener("error",r),a?a.parentNode.insertBefore(o,a.nextSibling):(e=9===e.nodeType?e.head:e).insertBefore(o,e.firstChild),t.state.loading|=4}}var Qd={$$typeof:x,Provider:null,Consumer:null,_currentValue:L,_currentValue2:L,_threadCount:0};function Jd(e,t,n,r,o,a,i,l){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Pe(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Pe(0),this.hiddenUpdates=Pe(null),this.identifierPrefix=r,this.onUncaughtError=o,this.onCaughtError=a,this.onRecoverableError=i,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=l,this.incompleteTransitions=new Map}function Zd(e,t,n,r,o,a,i,l,s,c,u,d){return e=new Jd(e,t,n,i,l,s,c,d),t=1,!0===a&&(t|=24),a=Lr(3,null,null,t),e.current=a,a.stateNode=e,(t=jo()).refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},ia(a),e}function ef(e){return e?e=jr:jr}function tf(e,t,n,r,o,a){o=ef(o),null===r.context?r.context=o:r.pendingContext=o,(r=sa(t)).payload={element:n},null!==(a=void 0===a?null:a)&&(r.callback=a),null!==(n=ca(e,r,t))&&(Lc(n,0,t),ua(n,e,t))}function nf(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function rf(e,t){nf(e,t),(e=e.alternate)&&nf(e,t)}function of(e){if(13===e.tag){var t=Dr(e,67108864);null!==t&&Lc(t,0,67108864),rf(e,67108864)}}var af=!0;function lf(e,t,n,r){var o=F.T;F.T=null;var a=M.p;try{M.p=2,cf(e,t,n,r)}finally{M.p=a,F.T=o}}function sf(e,t,n,r){var o=F.T;F.T=null;var a=M.p;try{M.p=8,cf(e,t,n,r)}finally{M.p=a,F.T=o}}function cf(e,t,n,r){if(af){var o=uf(r);if(null===o)Uu(e,t,r,df,n),Sf(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return gf=wf(gf,e,t,n,r,o),!0;case"dragenter":return mf=wf(mf,e,t,n,r,o),!0;case"mouseover":return bf=wf(bf,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return vf.set(a,wf(vf.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return a=o.pointerId,yf.set(a,wf(yf.get(a)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(Sf(e,r),4&t&&-1<kf.indexOf(e)){for(;null!==o;){var a=Ue(o);if(null!==a)switch(a.tag){case 3:if((a=a.stateNode).current.memoizedState.isDehydrated){var i=ke(a.pendingLanes);if(0!==i){var l=a;for(l.pendingLanes|=2,l.entangledLanes|=2;i;){var s=1<<31-me(i);l.entanglements[1]|=s,i&=~s}Cu(a),!(6&ac)&&(Cc=oe()+500,Eu(0))}}break;case 13:null!==(l=Dr(a,2))&&Lc(l,0,2),Hc(),rf(a,2)}if(null===(a=uf(r))&&Uu(e,t,r,df,n),a===o)break;o=a}null!==o&&r.stopPropagation()}else Uu(e,t,r,null,n)}}function uf(e){return ff(e=Dt(e))}var df=null;function ff(e){if(df=null,null!==(e=He(e))){var t=i(e);if(null===t)e=null;else{var n=t.tag;if(13===n){if(null!==(e=l(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return df=e,null}function pf(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(ae()){case ie:return 2;case le:return 8;case se:case ce:return 32;case ue:return 268435456;default:return 32}default:return 32}}var hf=!1,gf=null,mf=null,bf=null,vf=new Map,yf=new Map,xf=[],kf="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Sf(e,t){switch(e){case"focusin":case"focusout":gf=null;break;case"dragenter":case"dragleave":mf=null;break;case"mouseover":case"mouseout":bf=null;break;case"pointerover":case"pointerout":vf.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":yf.delete(t.pointerId)}}function wf(e,t,n,r,o,a){return null===e||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[o]},null!==t&&null!==(t=Ue(t))&&of(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function _f(e){var t=He(e.target);if(null!==t){var n=i(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=l(n)))return e.blockedOn=t,void function(e){var t=M.p;try{return M.p=e,function(){if(13===n.tag){var e=jc();e=Ie(e);var t=Dr(n,e);null!==t&&Lc(t,0,e),rf(n,e)}}()}finally{M.p=t}}(e.priority)}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Cf(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=uf(e.nativeEvent);if(null!==n)return null!==(t=Ue(n))&&of(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);At=r,n.target.dispatchEvent(r),At=null,t.shift()}return!0}function Ef(e,t,n){Cf(e)&&n.delete(t)}function Pf(){hf=!1,null!==gf&&Cf(gf)&&(gf=null),null!==mf&&Cf(mf)&&(mf=null),null!==bf&&Cf(bf)&&(bf=null),vf.forEach(Ef),yf.forEach(Ef)}function zf(e,n){e.blockedOn===n&&(e.blockedOn=null,hf||(hf=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Pf)))}var Tf=null;function Rf(e){Tf!==e&&(Tf=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){Tf===e&&(Tf=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],o=e[t+2];if("function"!=typeof r){if(null===ff(r||n))continue;break}var a=Ue(n);null!==a&&(e.splice(t,3),t-=3,Di(a,{pending:!0,data:o,method:n.method,action:r},r,o))}}))}function If(e){function t(t){return zf(t,e)}null!==gf&&zf(gf,e),null!==mf&&zf(mf,e),null!==bf&&zf(bf,e),vf.forEach(t),yf.forEach(t);for(var n=0;n<xf.length;n++){var r=xf[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<xf.length&&null===(n=xf[0]).blockedOn;)_f(n),null===n.blockedOn&&xf.shift();if(null!=(n=(e.ownerDocument||e).$$reactFormReplay))for(r=0;r<n.length;r+=3){var o=n[r],a=n[r+1],i=o[Fe]||null;if("function"==typeof a)i||Rf(n);else if(i){var l=null;if(a&&a.hasAttribute("formAction")){if(o=a,i=a[Fe]||null)l=i.formAction;else if(null!==ff(o))continue}else l=i.action;"function"==typeof l?n[r+1]=l:(n.splice(r,3),r-=3),Rf(n)}}}function Of(e){this._internalRoot=e}function Af(e){this._internalRoot=e}Af.prototype.render=Of.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(o(409));tf(t.current,jc(),e,t,null,null)},Af.prototype.unmount=Of.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;tf(e.current,2,null,e,null,null),Hc(),t[je]=null}},Af.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ae();e={blockedOn:null,target:e,priority:t};for(var n=0;n<xf.length&&0!==t&&t<xf[n].priority;n++);xf.splice(n,0,e),0===n&&_f(e)}};var Df=n.version;if("19.1.1"!==Df)throw Error(o(527,Df,"19.1.1"));M.findDOMNode=function(e){var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(o(188));throw e=Object.keys(e).join(","),Error(o(268,e))}return e=function(e){var t=e.alternate;if(!t){if(null===(t=i(e)))throw Error(o(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var l=a.alternate;if(null===l){if(null!==(r=a.return)){n=r;continue}break}if(a.child===l.child){for(l=a.child;l;){if(l===n)return s(a),e;if(l===r)return s(a),t;l=l.sibling}throw Error(o(188))}if(n.return!==r.return)n=a,r=l;else{for(var c=!1,u=a.child;u;){if(u===n){c=!0,n=a,r=l;break}if(u===r){c=!0,r=a,n=l;break}u=u.sibling}if(!c){for(u=l.child;u;){if(u===n){c=!0,n=l,r=a;break}if(u===r){c=!0,r=l,n=a;break}u=u.sibling}if(!c)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(3!==n.tag)throw Error(o(188));return n.stateNode.current===n?e:t}(t),null===(e=null!==e?c(e):null)?null:e.stateNode};var Nf={bundleType:0,version:"19.1.1",rendererPackageName:"react-dom",currentDispatcherRef:F,reconcilerVersion:"19.1.1"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var Ff=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ff.isDisabled&&Ff.supportsFiber)try{pe=Ff.inject(Nf),he=Ff}catch(jf){}}return C.createRoot=function(e,t){if(!a(e))throw Error(o(299));var n=!1,r="",i=kl,l=Sl,s=wl;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onUncaughtError&&(i=t.onUncaughtError),void 0!==t.onCaughtError&&(l=t.onCaughtError),void 0!==t.onRecoverableError&&(s=t.onRecoverableError),void 0!==t.unstable_transitionCallbacks&&t.unstable_transitionCallbacks),t=Zd(e,1,!1,null,0,n,r,i,l,s,0,null),e[je]=t.current,Vu(e),new Of(t)},C.hydrateRoot=function(e,t,n){if(!a(e))throw Error(o(299));var r=!1,i="",l=kl,s=Sl,c=wl,u=null;return null!=n&&(!0===n.unstable_strictMode&&(r=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onUncaughtError&&(l=n.onUncaughtError),void 0!==n.onCaughtError&&(s=n.onCaughtError),void 0!==n.onRecoverableError&&(c=n.onRecoverableError),void 0!==n.unstable_transitionCallbacks&&n.unstable_transitionCallbacks,void 0!==n.formState&&(u=n.formState)),(t=Zd(e,1,!0,t,0,r,i,l,s,c,0,u)).context=ef(null),n=t.current,(i=sa(r=Ie(r=jc()))).callback=null,ca(n,i,r),n=r,t.current.lanes=n,ze(t,n),Cu(t),e[je]=t.current,Vu(e),new Af(t)},C.version="19.1.1",C}function L(){return A||(A=1,function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){}}(),_.exports=M()),_.exports}const W=o(L());function B(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var $=/^((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)-.*))$/,V=B(function(e){return $.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}),H=function(){function t(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var n=t.prototype;return n.hydrate=function(e){e.forEach(this._insertTag)},n.insert=function(t){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var n=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(n);try{r.insertRule(t,r.cssRules.length)}catch(e){}}else n.appendChild(document.createTextNode(t));this.ctr++},n.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},t}(),U="-ms-",q="-moz-",G="-webkit-",Y="comm",X="rule",K="decl",Q="@keyframes",J=Math.abs,Z=String.fromCharCode,ee=Object.assign;function te(e){return e.trim()}function ne(e,t,n){return e.replace(t,n)}function re(e,t){return e.indexOf(t)}function oe(e,t){return 0|e.charCodeAt(t)}function ae(e,t,n){return e.slice(t,n)}function ie(e){return e.length}function le(e){return e.length}function se(e,t){return t.push(e),e}var ce=1,ue=1,de=0,fe=0,pe=0,he="";function ge(e,t,n,r,o,a,i){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:ce,column:ue,length:i,return:""}}function me(e,t){return ee(ge("",null,null,"",null,null,0),e,{length:-e.length},t)}function be(){return pe=fe>0?oe(he,--fe):0,ue--,10===pe&&(ue=1,ce--),pe}function ve(){return pe=fe<de?oe(he,fe++):0,ue++,10===pe&&(ue=1,ce++),pe}function ye(){return oe(he,fe)}function xe(){return fe}function ke(e,t){return ae(he,e,t)}function Se(e){switch(e){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 we(e){return ce=ue=1,de=ie(he=e),fe=0,[]}function _e(e){return he="",e}function Ce(e){return te(ke(fe-1,ze(91===e?e+2:40===e?e+1:e)))}function Ee(e){for(;(pe=ye())&&pe<33;)ve();return Se(e)>2||Se(pe)>3?"":" "}function Pe(e,t){for(;--t&&ve()&&!(pe<48||pe>102||pe>57&&pe<65||pe>70&&pe<97););return ke(e,xe()+(t<6&&32==ye()&&32==ve()))}function ze(e){for(;ve();)switch(pe){case e:return fe;case 34:case 39:34!==e&&39!==e&&ze(pe);break;case 40:41===e&&ze(e);break;case 92:ve()}return fe}function Te(e,t){for(;ve()&&e+pe!==57&&(e+pe!==84||47!==ye()););return"/*"+ke(t,fe-1)+"*"+Z(47===e?e:ve())}function Re(e){for(;!Se(ye());)ve();return ke(e,fe)}function Ie(e){return _e(Oe("",null,null,null,[""],e=we(e),0,[0],e))}function Oe(e,t,n,r,o,a,i,l,s){for(var c=0,u=0,d=i,f=0,p=0,h=0,g=1,m=1,b=1,v=0,y="",x=o,k=a,S=r,w=y;m;)switch(h=v,v=ve()){case 40:if(108!=h&&58==oe(w,d-1)){-1!=re(w+=ne(Ce(v),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:w+=Ce(v);break;case 9:case 10:case 13:case 32:w+=Ee(h);break;case 92:w+=Pe(xe()-1,7);continue;case 47:switch(ye()){case 42:case 47:se(De(Te(ve(),xe()),t,n),s);break;default:w+="/"}break;case 123*g:l[c++]=ie(w)*b;case 125*g:case 59:case 0:switch(v){case 0:case 125:m=0;case 59+u:-1==b&&(w=ne(w,/\f/g,"")),p>0&&ie(w)-d&&se(p>32?Ne(w+";",r,n,d-1):Ne(ne(w," ","")+";",r,n,d-2),s);break;case 59:w+=";";default:if(se(S=Ae(w,t,n,c,u,o,l,y,x=[],k=[],d),a),123===v)if(0===u)Oe(w,t,S,S,x,a,d,l,k);else switch(99===f&&110===oe(w,3)?100:f){case 100:case 108:case 109:case 115:Oe(e,S,S,r&&se(Ae(e,S,S,0,0,o,l,y,o,x=[],d),k),o,k,d,l,r?x:k);break;default:Oe(w,S,S,S,[""],k,0,l,k)}}c=u=p=0,g=b=1,y=w="",d=i;break;case 58:d=1+ie(w),p=h;default:if(g<1)if(123==v)--g;else if(125==v&&0==g++&&125==be())continue;switch(w+=Z(v),v*g){case 38:b=u>0?1:(w+="\f",-1);break;case 44:l[c++]=(ie(w)-1)*b,b=1;break;case 64:45===ye()&&(w+=Ce(ve())),f=ye(),u=d=ie(y=w+=Re(xe())),v++;break;case 45:45===h&&2==ie(w)&&(g=0)}}return a}function Ae(e,t,n,r,o,a,i,l,s,c,u){for(var d=o-1,f=0===o?a:[""],p=le(f),h=0,g=0,m=0;h<r;++h)for(var b=0,v=ae(e,d+1,d=J(g=i[h])),y=e;b<p;++b)(y=te(g>0?f[b]+" "+v:ne(v,/&\f/g,f[b])))&&(s[m++]=y);return ge(e,t,n,0===o?X:l,s,c,u)}function De(e,t,n){return ge(e,t,n,Y,Z(pe),ae(e,2,-2),0)}function Ne(e,t,n,r){return ge(e,t,n,K,ae(e,0,r),ae(e,r+1,-1),r)}function Fe(e,t){for(var n="",r=le(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function je(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case K:return e.return=e.return||e.value;case Y:return"";case Q:return e.return=e.value+"{"+Fe(e.children,r)+"}";case X:e.value=e.props.join(",")}return ie(n=Fe(e.children,r))?e.return=e.value+"{"+n+"}":""}var Me=function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}},Le=function(e,t,n){for(var r=0,o=0;r=o,o=ye(),38===r&&12===o&&(t[n]=1),!Se(o);)ve();return ke(e,fe)},We=new WeakMap,Be=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||We.get(n))&&!r){We.set(e,!0);for(var o=[],a=function(e,t){return _e(function(e,t){var n=-1,r=44;do{switch(Se(r)){case 0:38===r&&12===ye()&&(t[n]=1),e[n]+=Le(fe-1,t,n);break;case 2:e[n]+=Ce(r);break;case 4:if(44===r){e[++n]=58===ye()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Z(r)}}while(r=ve());return e}(we(e),t))}(t,o),i=n.props,l=0,s=0;l<a.length;l++)for(var c=0;c<i.length;c++,s++)e.props[s]=o[l]?a[l].replace(/&\f/g,i[c]):i[c]+" "+a[l]}}},$e=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Ve(e,t){switch(function(e,t){return 45^oe(e,0)?(((t<<2^oe(e,0))<<2^oe(e,1))<<2^oe(e,2))<<2^oe(e,3):0}(e,t)){case 5103:return G+"print-"+e+e;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 G+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return G+e+q+e+U+e+e;case 6828:case 4268:return G+e+U+e+e;case 6165:return G+e+U+"flex-"+e+e;case 5187:return G+e+ne(e,/(\w+).+(:[^]+)/,G+"box-$1$2"+U+"flex-$1$2")+e;case 5443:return G+e+U+"flex-item-"+ne(e,/flex-|-self/,"")+e;case 4675:return G+e+U+"flex-line-pack"+ne(e,/align-content|flex-|-self/,"")+e;case 5548:return G+e+U+ne(e,"shrink","negative")+e;case 5292:return G+e+U+ne(e,"basis","preferred-size")+e;case 6060:return G+"box-"+ne(e,"-grow","")+G+e+U+ne(e,"grow","positive")+e;case 4554:return G+ne(e,/([^-])(transform)/g,"$1"+G+"$2")+e;case 6187:return ne(ne(ne(e,/(zoom-|grab)/,G+"$1"),/(image-set)/,G+"$1"),e,"")+e;case 5495:case 3959:return ne(e,/(image-set\([^]*)/,G+"$1$`$1");case 4968:return ne(ne(e,/(.+:)(flex-)?(.*)/,G+"box-pack:$3"+U+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+G+e+e;case 4095:case 3583:case 4068:case 2532:return ne(e,/(.+)-inline(.+)/,G+"$1$2")+e;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(ie(e)-1-t>6)switch(oe(e,t+1)){case 109:if(45!==oe(e,t+4))break;case 102:return ne(e,/(.+:)(.+)-([^]+)/,"$1"+G+"$2-$3$1"+q+(108==oe(e,t+3)?"$3":"$2-$3"))+e;case 115:return~re(e,"stretch")?Ve(ne(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==oe(e,t+1))break;case 6444:switch(oe(e,ie(e)-3-(~re(e,"!important")&&10))){case 107:return ne(e,":",":"+G)+e;case 101:return ne(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+G+(45===oe(e,14)?"inline-":"")+"box$3$1"+G+"$2$3$1"+U+"$2box$3")+e}break;case 5936:switch(oe(e,t+11)){case 114:return G+e+U+ne(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return G+e+U+ne(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return G+e+U+ne(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return G+e+U+e+e}return e}var He=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case K:e.return=Ve(e.value,e.length);break;case Q:return Fe([me(e,{value:ne(e.value,"@","@"+G)})],r);case X:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,function(t){switch(function(e){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return Fe([me(e,{props:[ne(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return Fe([me(e,{props:[ne(t,/:(plac\w+)/,":"+G+"input-$1")]}),me(e,{props:[ne(t,/:(plac\w+)/,":-moz-$1")]}),me(e,{props:[ne(t,/:(plac\w+)/,U+"input-$1")]})],r)}return""})}}],Ue=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var r,o,a=e.stylisPlugins||He,i={},l=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)i[t[n]]=!0;l.push(e)});var s,c,u,d,f=[je,(d=function(e){s.insert(e)},function(e){e.root||(e=e.return)&&d(e)})],p=(c=[Be,$e].concat(a,f),u=le(c),function(e,t,n,r){for(var o="",a=0;a<u;a++)o+=c[a](e,t,n,r)||"";return o});o=function(e,t,n,r){s=n,Fe(Ie(e?e+"{"+t.styles+"}":t.styles),p),r&&(h.inserted[t.name]=!0)};var h={key:t,sheet:new H({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:o};return h.sheet.hydrate(l),h};const qe=Object.freeze(Object.defineProperty({__proto__:null,default:Ue},Symbol.toStringTag,{value:"Module"}));function Ge(){return Ge=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ge.apply(null,arguments)}var Ye,Xe,Ke,Qe,Je={exports:{}},Ze={};function et(){if(Ye)return Ze;Ye=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,m=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var f=e.$$typeof;switch(f){case t:switch(e=e.type){case s:case c:case r:case a:case o:case d:return e;default:switch(e=e&&e.$$typeof){case l:case u:case h:case p:case i:return e;default:return f}}case n:return f}}}function x(e){return y(e)===c}return Ze.AsyncMode=s,Ze.ConcurrentMode=c,Ze.ContextConsumer=l,Ze.ContextProvider=i,Ze.Element=t,Ze.ForwardRef=u,Ze.Fragment=r,Ze.Lazy=h,Ze.Memo=p,Ze.Portal=n,Ze.Profiler=a,Ze.StrictMode=o,Ze.Suspense=d,Ze.isAsyncMode=function(e){return x(e)||y(e)===s},Ze.isConcurrentMode=x,Ze.isContextConsumer=function(e){return y(e)===l},Ze.isContextProvider=function(e){return y(e)===i},Ze.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Ze.isForwardRef=function(e){return y(e)===u},Ze.isFragment=function(e){return y(e)===r},Ze.isLazy=function(e){return y(e)===h},Ze.isMemo=function(e){return y(e)===p},Ze.isPortal=function(e){return y(e)===n},Ze.isProfiler=function(e){return y(e)===a},Ze.isStrictMode=function(e){return y(e)===o},Ze.isSuspense=function(e){return y(e)===d},Ze.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===a||e===o||e===d||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===p||e.$$typeof===i||e.$$typeof===l||e.$$typeof===u||e.$$typeof===m||e.$$typeof===b||e.$$typeof===v||e.$$typeof===g)},Ze.typeOf=y,Ze}function tt(){return Xe||(Xe=1,Je.exports=et()),Je.exports}function nt(){if(Qe)return Ke;Qe=1;var t=tt(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function i(e){return t.isMemo(e)?o:a[e.$$typeof]||n}a[t.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[t.Memo]=o;var l=Object.defineProperty,s=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,u=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,f=Object.prototype;return Ke=function t(n,o,a){if("string"!=typeof o){if(f){var p=d(o);p&&p!==f&&t(n,p,a)}var h=s(o);c&&(h=h.concat(c(o)));for(var g=i(n),m=i(o),b=0;b<h.length;++b){var v=h[b];if(!(r[v]||a&&a[v]||m&&m[v]||g&&g[v])){var y=u(o,v);try{l(n,v,y)}catch(e){}}}}return n}}const rt=o(nt());function ot(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")}),r}var at=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},it=function(e,t,n){at(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}},lt={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},st=/[A-Z]|^ms/g,ct=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ut=function(e){return 45===e.charCodeAt(1)},dt=function(e){return null!=e&&"boolean"!=typeof e},ft=B(function(e){return ut(e)?e:e.replace(st,"-$&").toLowerCase()}),pt=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(ct,function(e,t,n){return gt={name:t,styles:n,next:gt},t})}return 1===lt[e]||ut(e)||"number"!=typeof t||0===t?t:t+"px"};function ht(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return gt={name:o.name,styles:o.styles,next:gt},o.name;var a=n;if(void 0!==a.styles){var i=a.next;if(void 0!==i)for(;void 0!==i;)gt={name:i.name,styles:i.styles,next:gt},i=i.next;return a.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=ht(e,t,n[o])+";";else for(var a in n){var i=n[a];if("object"!=typeof i){var l=i;null!=t&&void 0!==t[l]?r+=a+"{"+t[l]+"}":dt(l)&&(r+=ft(a)+":"+pt(a,l)+";")}else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var s=ht(e,t,i);switch(a){case"animation":case"animationName":r+=ft(a)+":"+s+";";break;default:r+=a+"{"+s+"}"}}else for(var c=0;c<i.length;c++)dt(i[c])&&(r+=ft(a)+":"+pt(a,i[c])+";")}return r}(e,t,n);case"function":if(void 0!==e){var l=gt,s=n(e);return gt=l,ht(e,t,s)}}var c=n;if(null==t)return c;var u=t[c];return void 0!==u?u:c}var gt,mt=/label:\s*([^\s;{]+)\s*(;|$)/g;function bt(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";gt=void 0;var a=e[0];null==a||void 0===a.raw?(r=!1,o+=ht(n,t,a)):o+=a[0];for(var i=1;i<e.length;i++)o+=ht(n,t,e[i]),r&&(o+=a[i]);mt.lastIndex=0;for(var l,s="";null!==(l=mt.exec(o));)s+="-"+l[1];var c=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+s;return{name:c,styles:o,next:gt}}var vt,yt,xt=!!k.useInsertionEffect&&k.useInsertionEffect,kt=xt||function(e){return e()},St=xt||y.useLayoutEffect,wt=y.createContext("undefined"!=typeof HTMLElement?Ue({key:"css"}):null),_t=wt.Provider,Ct=function(e){return y.forwardRef(function(t,n){var r=y.useContext(wt);return e(t,r,n)})},Et=y.createContext({}),Pt=Me(function(e){return Me(function(t){return function(e,t){return"function"==typeof t?t(e):Ge({},e,t)}(e,t)})}),zt={}.hasOwnProperty,Tt="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Rt=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return at(t,n,r),kt(function(){return it(t,n,r)}),null},It=Ct(function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var o=e[Tt],a=[r],i="";"string"==typeof e.className?i=ot(t.registered,a,e.className):null!=e.className&&(i=e.className+" ");var l=bt(a,void 0,y.useContext(Et));i+=t.key+"-"+l.name;var s={};for(var c in e)zt.call(e,c)&&"css"!==c&&c!==Tt&&(s[c]=e[c]);return s.className=i,n&&(s.ref=n),y.createElement(y.Fragment,null,y.createElement(Rt,{cache:t,serialized:l,isStringTag:"string"==typeof o}),y.createElement(o,s))}),Ot=It,At=function(e,t){var n=arguments;if(null==t||!zt.call(t,"css"))return y.createElement.apply(void 0,n);var r=n.length,o=new Array(r);o[0]=Ot,o[1]=function(e,t){var n={};for(var r in t)zt.call(t,r)&&(n[r]=t[r]);return n[Tt]=e,n}(e,t);for(var a=2;a<r;a++)o[a]=n[a];return y.createElement.apply(null,o)};vt=At||(At={}),yt||(yt=vt.JSX||(vt.JSX={}));var Dt=Ct(function(e,t){var n=bt([e.styles],void 0,y.useContext(Et)),r=y.useRef();return St(function(){var e=t.key+"-global",o=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,i=document.querySelector('style[data-emotion="'+e+" "+n.name+'"]');return t.sheet.tags.length&&(o.before=t.sheet.tags[0]),null!==i&&(a=!0,i.setAttribute("data-emotion",e),o.hydrate([i])),r.current=[o,a],function(){o.flush()}},[t]),St(function(){var e=r.current,o=e[0];if(e[1])e[1]=!1;else{if(void 0!==n.next&&it(t,n.next,!0),o.tags.length){var a=o.tags[o.tags.length-1].nextElementSibling;o.before=a,o.flush()}t.insert("",n,o,!1)}},[t,n.name]),null});function Nt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return bt(t)}var Ft=function e(t){for(var n=t.length,r=0,o="";r<n;r++){var a=t[r];if(null!=a){var i=void 0;switch(typeof a){case"boolean":break;case"object":if(Array.isArray(a))i=e(a);else for(var l in i="",a)a[l]&&l&&(i&&(i+=" "),i+=l);break;default:i=a}i&&(o&&(o+=" "),o+=i)}}return o},jt=function(e){var t=e.cache,n=e.serializedArr;return kt(function(){for(var e=0;e<n.length;e++)it(t,n[e],!1)}),null},Mt=Ct(function(e,t){var n=[],r=function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];var a=bt(r,t.registered);return n.push(a),at(t,a,!1),t.key+"-"+a.name},o={css:r,cx:function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return function(e,t,n){var r=[],o=ot(e,r,n);return r.length<2?n:o+t(r)}(t.registered,r,Ft(n))},theme:y.useContext(Et)},a=e.children(o);return y.createElement(y.Fragment,null,y.createElement(jt,{cache:t,serializedArr:n}),a)});const Lt=Object.freeze(Object.defineProperty({__proto__:null,CacheProvider:_t,ClassNames:Mt,Global:Dt,ThemeContext:Et,ThemeProvider:function(e){var t=y.useContext(Et);return e.theme!==t&&(t=Pt(t)(e.theme)),y.createElement(Et.Provider,{value:t},e.children)},__unsafe_useEmotionCache:function(){return y.useContext(wt)},get createElement(){return At},css:Nt,get jsx(){return At},keyframes:function(){var e=Nt.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},useTheme:function(){return y.useContext(Et)},withEmotionCache:Ct,withTheme:function(e){var t=e.displayName||e.name||"Component",n=y.forwardRef(function(t,n){var r=y.useContext(Et);return y.createElement(e,Ge({theme:r,ref:n},t))});return n.displayName="WithTheme("+t+")",rt(n,e)}},Symbol.toStringTag,{value:"Module"}));function Wt(...e){return function(...t){e.forEach(e=>e?.(...t))}}const Bt=(...e)=>e.map(e=>e?.trim?.()).filter(Boolean).join(" "),$t=/^on[A-Z]/;function Vt(...e){let t={};for(let n of e){for(let e in t)$t.test(e)&&"function"==typeof t[e]&&"function"==typeof n[e]?t[e]=Wt(t[e],n[e]):t[e]="className"!==e&&"class"!==e?"style"!==e?void 0!==n[e]?n[e]:t[e]:Object.assign({},t[e]??{},n[e]??{}):Bt(t[e],n[e]);for(let e in n)void 0===t[e]&&(t[e]=n[e])}return t}function Ht(e){const t=Object.assign({},e);for(let n in t)void 0===t[n]&&delete t[n];return t}const Ut=(...e)=>e.filter(Boolean).map(e=>e.trim()).join(" "),qt=e=>null!=e&&"object"==typeof e&&!Array.isArray(e),Gt=e=>"string"==typeof e,Yt=e=>"function"==typeof e,Xt=(...e)=>{const t=e.reduce((e,t)=>(null!=t&&t.forEach(t=>e.add(t)),e),new Set([]));return Array.from(t)};function Kt(e={}){const{name:t,strict:n=!0,hookName:r="useContext",providerName:o="Provider",errorMessage:a,defaultValue:i}=e,l=y.createContext(i);return l.displayName=t,[l.Provider,function e(){const t=y.useContext(l);if(!t&&n){const t=new Error(a??`${r} returned \`undefined\`. Seems you forgot to wrap component within ${o}`);throw t.name="ContextError",Error.captureStackTrace?.(t,e),t}return t},l]}const[Qt,Jt]=Kt({name:"ChakraContext",strict:!0,providerName:"<ChakraProvider />"});function Zt(e){const{value:t,children:n}=e;return h.jsxs(Qt,{value:t,children:[!t._config.disableLayers&&h.jsx(Dt,{styles:t.layers.atRule}),h.jsx(Dt,{styles:t._global}),n]})}const en=(e,t)=>((e,t)=>{const n={},r={},o=Object.keys(e);for(const a of o)t(a)?r[a]=e[a]:n[a]=e[a];return[r,n]})(e,Yt(t)?t:e=>t.includes(e)),tn=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function nn(e){return"string"==typeof e&&tn.has(e)}var rn;const on=(rn=V).default||rn,an=e=>"theme"!==e;let ln="undefined"!=typeof document;const sn=({cache:e,serialized:t,isStringTag:n})=>{at(e,t,n);const r=kt(()=>it(e,t,n));if(!ln&&void 0!==r){let n=t.name,o=t.next;for(;void 0!==o;)n=Ut(n,o.name),o=o.next;return h.jsx("style",{"data-emotion":Ut(e.key,n),dangerouslySetInnerHTML:{__html:r},nonce:e.sheet.nonce})}return null},cn={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"]},un=((e,t={},n={})=>{if(r=cn,o=e,Object.prototype.hasOwnProperty.call(r,o)){n.forwardProps||(n.forwardProps=[]);const t=cn[e];n.forwardProps=Xt([...n.forwardProps,...t])}var r,o;const a=e.__emotion_real===e,i=a&&e.__emotion_base||e;let l,s;void 0!==n&&(l=n.label,s=n.target);let c=[];const u=Ct((r,o,l)=>{const{cva:u,isValidProperty:d}=Jt(),f=t.__cva__?t:u(t),p=pn(e.__emotion_cva,f);var g;!n.shouldForwardProp&&n.forwardProps&&(n.shouldForwardProp=(g=n.forwardProps,(e,t)=>!!g.includes(e)||!t?.includes(e)&&!d(e)));const m=((e,t,n)=>{let r;if(t){const n=t.shouldForwardProp;r=e.__emotion_forwardProp&&n?t=>e.__emotion_forwardProp(t)&&n(t):n}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r})(e,n,a)||((t,n)=>{const r="string"==typeof e&&e.charCodeAt(0)>96?on:an,o=!n?.includes(t)&&!d(t);return r(t)&&o}),b=y.useMemo(()=>Object.assign({},n.defaultProps,Ht(r)),[r]),{props:v,styles:x}=function(e,t,n){const{css:r,isValidProperty:o}=Jt(),{children:a,...i}=e,l=y.useMemo(()=>{const[e,r]=en(i,e=>n(e,t.variantKeys)),[a,l]=en(r,t.variantKeys),[s,c]=en(l,o);return{forwardedProps:e,variantProps:a,styleProps:s,elementProps:c}},[t.variantKeys,n,i,o]),{css:s,...c}=l.styleProps,u=y.useMemo(()=>{const e={...l.variantProps};return t.variantKeys.includes("colorPalette")||(e.colorPalette=i.colorPalette),t.variantKeys.includes("orientation")||(e.orientation=i.orientation),t(e)},[t,l.variantProps,i.colorPalette,i.orientation]);return{styles:y.useMemo(()=>{return r(u,...(e=s,(Array.isArray(e)?e:[e]).filter(Boolean).flat()),c);var e},[r,u,s,c]),props:{...l.forwardedProps,...l.elementProps,children:a}}}(b,p,m);let k="",S=[x],w=v;if(null==v.theme){w={};for(let e in v)w[e]=v[e];w.theme=y.useContext(Et)}"string"==typeof v.className?k=ot(o.registered,S,v.className):null!=v.className&&(k=Ut(k,v.className));const _=bt(c.concat(S),o.registered,w);_.styles&&(k=Ut(k,`${o.key}-${_.name}`)),void 0!==s&&(k=Ut(k,s));const C=!m("as");let E=C&&v.as||i,P={};for(let e in v)if(!C||"as"!==e){if(nn(e)){P[e.replace("html","").toLowerCase()]=v[e];continue}m(e)&&(P[e]=v[e])}let z=k.trim();z?P.className=z:Reflect.deleteProperty(P,"className"),P.ref=l;const T=n.forwardAsChild||n.forwardProps?.includes("asChild");if(v.asChild&&!T){const e=y.isValidElement(v.children)?y.Children.only(v.children):y.Children.toArray(v.children).find(y.isValidElement);if(!e)throw new Error("[chakra-ui > factory] No valid child found");E=e.type,P.children=null,Reflect.deleteProperty(P,"asChild"),P=Vt(P,e.props),P.ref=function(...e){return t=>{e.forEach(e=>{!function(e,t){if(null!=e)if("function"!=typeof e)try{e.current=t}catch(n){throw new Error(`Cannot assign value '${t}' to ref '${e}'`)}else e(t)}(e,t)})}}(l,function(e){const t=y.version;return Gt(t)?t.startsWith("18.")?e?.ref:e?.props?.ref:e?.ref}(e))}return P.as&&T?(P.as=void 0,h.jsxs(y.Fragment,{children:[h.jsx(sn,{cache:o,serialized:_,isStringTag:"string"==typeof E}),h.jsx(E,{asChild:!0,...P,children:h.jsx(v.as,{children:P.children})})]})):h.jsxs(y.Fragment,{children:[h.jsx(sn,{cache:o,serialized:_,isStringTag:"string"==typeof E}),h.jsx(E,{...P})]})});return u.displayName=void 0!==l?l:`chakra(${"string"==typeof i?i:i.displayName||i.name||"Component"})`,u.__emotion_real=u,u.__emotion_base=i,u.__emotion_forwardProp=n.shouldForwardProp,u.__emotion_cva=t,Object.defineProperty(u,"toString",{value:()=>`.${s}`}),u}).bind(),dn=new Map,fn=new Proxy(un,{apply:(e,t,n)=>un(...n),get:(e,t)=>(dn.has(t)||dn.set(t,un(t)),dn.get(t))}),pn=(e,t)=>e&&!t?e:!e&&t?t:e.merge(t),hn=fn("div");hn.displayName="Box";const gn="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,mn=globalThis,bn="10.5.0";function vn(){return yn(mn),mn}function yn(e){const t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||bn,t[bn]=t[bn]||{}}function xn(e,t,n=mn){const r=n.__SENTRY__=n.__SENTRY__||{},o=r[bn]=r[bn]||{};return o[e]||(o[e]=t())}const kn=["debug","info","warn","error","log","assert","trace"],Sn={};function wn(e){if(!("console"in mn))return e();const t=mn.console,n={},r=Object.keys(Sn);r.forEach(e=>{const r=Sn[e];n[e]=t[e],t[e]=r});try{return e()}finally{r.forEach(e=>{t[e]=n[e]})}}function _n(){return En().enabled}function Cn(e,...t){gn&&_n()&&wn(()=>{mn.console[e](`Sentry Logger [${e}]:`,...t)})}function En(){return gn?xn("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const Pn=function(...e){Cn("log",...e)},zn=function(...e){Cn("warn",...e)},Tn=function(...e){Cn("error",...e)},Rn="?",In=/\(error: (.*)\)/,On=/captureMessage|captureException/;function An(e){return e[e.length-1]||{}}const Dn="<anonymous>";function Nn(e){try{return e&&"function"==typeof e&&e.name||Dn}catch{return Dn}}function Fn(e){const t=e.exception;if(t){const e=[];try{return t.values.forEach(t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)}),e}catch{return}}}const jn={},Mn={};function Ln(e,t){jn[e]=jn[e]||[],jn[e].push(t)}function Wn(t,n){if(!Mn[t]){Mn[t]=!0;try{n()}catch(e){gn&&Tn(`Error while instrumenting ${t}`,e)}}}function Bn(t,n){const r=t&&jn[t];if(r)for(const o of r)try{o(n)}catch(e){gn&&Tn(`Error while triggering instrumentation handler.\nType: ${t}\nName: ${Nn(o)}\nError:`,e)}}let $n=null;function Vn(){$n=mn.onerror,mn.onerror=function(e,t,n,r,o){return Bn("error",{column:r,error:o,line:n,msg:e,url:t}),!!$n&&$n.apply(this,arguments)},mn.onerror.__SENTRY_INSTRUMENTED__=!0}let Hn=null;function Un(){Hn=mn.onunhandledrejection,mn.onunhandledrejection=function(e){return Bn("unhandledrejection",e),!Hn||Hn.apply(this,arguments)},mn.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const qn=Object.prototype.toString;function Gn(e){switch(qn.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return rr(e,Error)}}function Yn(e,t){return qn.call(e)===`[object ${t}]`}function Xn(e){return Yn(e,"ErrorEvent")}function Kn(e){return Yn(e,"DOMError")}function Qn(e){return Yn(e,"String")}function Jn(e){return"object"==typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function Zn(e){return null===e||Jn(e)||"object"!=typeof e&&"function"!=typeof e}function er(e){return Yn(e,"Object")}function tr(e){return"undefined"!=typeof Event&&rr(e,Event)}function nr(e){return Boolean(e?.then&&"function"==typeof e.then)}function rr(e,t){try{return e instanceof t}catch{return!1}}function or(e){return!("object"!=typeof e||null===e||!e.__isVue&&!e._isVue)}const ar=mn;function ir(e,t={}){if(!e)return"<unknown>";try{let n=e;const r=5,o=[];let a=0,i=0;const l=" > ",s=l.length;let c;const u=Array.isArray(t)?t:t.keyAttrs,d=!Array.isArray(t)&&t.maxStringLength||80;for(;n&&a++<r&&(c=lr(n,u),!("html"===c||a>1&&i+o.length*s+c.length>=d));)o.push(c),i+=c.length,n=n.parentNode;return o.reverse().join(l)}catch{return"<unknown>"}}function lr(e,t){const n=e,r=[];if(!n?.tagName)return"";if(ar.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}r.push(n.tagName.toLowerCase());const o=t?.length?t.filter(e=>n.getAttribute(e)).map(e=>[e,n.getAttribute(e)]):null;if(o?.length)o.forEach(e=>{r.push(`[${e[0]}="${e[1]}"]`)});else{n.id&&r.push(`#${n.id}`);const e=n.className;if(e&&Qn(e)){const t=e.split(/\s+/);for(const e of t)r.push(`.${e}`)}}const a=["aria-label","type","name","title","alt"];for(const i of a){const e=n.getAttribute(i);e&&r.push(`[${i}="${e}"]`)}return r.join("")}function sr(){try{return ar.document.location.href}catch{return""}}function cr(e,t=0){return"string"!=typeof e||0===t||e.length<=t?e:`${e.slice(0,t)}...`}function ur(e,t){if(!Array.isArray(e))return"";const n=[];for(let r=0;r<e.length;r++){const t=e[r];try{or(t)?n.push("[VueViewModel]"):n.push(String(t))}catch{n.push("[value cannot be serialized]")}}return n.join(t)}function dr(e,t,n=!1){return!!Qn(e)&&(Yn(t,"RegExp")?t.test(e):!!Qn(t)&&(n?e===t:e.includes(t)))}function fr(e,t=[],n=!1){return t.some(t=>dr(e,t,n))}function pr(e,t,n){if(!(t in e))return;const r=e[t];if("function"!=typeof r)return;const o=n(r);"function"==typeof o&&gr(o,r);try{e[t]=o}catch{gn&&Pn(`Failed to replace method "${t}" in object`,e)}}function hr(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{gn&&Pn(`Failed to add non-enumerable property "${t}" to object`,e)}}function gr(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,hr(e,"__sentry_original__",t)}catch{}}function mr(e){return e.__sentry_original__}function br(e){if(Gn(e))return{message:e.message,name:e.name,stack:e.stack,...yr(e)};if(tr(e)){const t={type:e.type,target:vr(e.target),currentTarget:vr(e.currentTarget),...yr(e)};return"undefined"!=typeof CustomEvent&&rr(e,CustomEvent)&&(t.detail=e.detail),t}return e}function vr(e){try{return"undefined"!=typeof Element&&rr(e,Element)?ir(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function yr(e){if("object"==typeof e&&null!==e){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}return{}}function xr(e=function(){const e=mn;return e.crypto||e.msCrypto}()){let t=()=>16*Math.random();try{if(e?.randomUUID)return e.randomUUID().replace(/-/g,"");e?.getRandomValues&&(t=()=>{const t=new Uint8Array(1);return e.getRandomValues(t),t[0]})}catch{}return"10000000100040008000100000000000".replace(/[018]/g,e=>(e^(15&t())>>e/4).toString(16))}function kr(e){return e.exception?.values?.[0]}function Sr(e){const{message:t,event_id:n}=e;if(t)return t;const r=kr(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function wr(e,t,n){const r=e.exception=e.exception||{},o=r.values=r.values||[],a=o[0]=o[0]||{};a.value||(a.value=t||""),a.type||(a.type="Error")}function _r(e,t){const n=kr(e);if(!n)return;const r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...t},t&&"data"in t){const e={...r?.data,...t.data};n.mechanism.data=e}}function Cr(e){if(function(e){try{return e.__sentry_captured__}catch{}}(e))return!0;try{hr(e,"__sentry_captured__",!0)}catch{}return!1}function Er(){return Date.now()/1e3}let Pr;function zr(){return(Pr??(Pr=function(){const{performance:e}=mn;if(!e?.now||!e.timeOrigin)return Er;const t=e.timeOrigin;return()=>(t+e.now())/1e3}()))()}function Tr(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||zr(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:xr()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{const t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}function Rr(e,t,n=2){if(!t||"object"!=typeof t||n<=0)return t;if(e&&0===Object.keys(t).length)return e;const r={...e};for(const o in t)Object.prototype.hasOwnProperty.call(t,o)&&(r[o]=Rr(r[o],t[o],n-1));return r}function Ir(){return xr()}function Or(){return xr().substring(16)}const Ar="_sentrySpan";function Dr(e,t){t?hr(e,Ar,t):delete e[Ar]}function Nr(e){return e[Ar]}class Fr{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:Ir(),sampleRand:Math.random()}}clone(){const e=new Fr;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._extra={...this._extra},e._contexts={...this._contexts},this._contexts.flags&&(e._contexts.flags={values:[...this._contexts.flags.values]}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,Dr(e,Nr(this)),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&Tr(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;const t="function"==typeof e?e(this):e,n=t instanceof Fr?t.getScopeData():er(t)?e:void 0,{tags:r,extra:o,user:a,contexts:i,level:l,fingerprint:s=[],propagationContext:c}=n||{};return this._tags={...this._tags,...r},this._extra={...this._extra,...o},this._contexts={...this._contexts,...i},a&&Object.keys(a).length&&(this._user=a),l&&(this._level=l),s.length&&(this._fingerprint=s),c&&(this._propagationContext=c),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,Dr(this,void 0),this._attachments=[],this.setPropagationContext({traceId:Ir(),sampleRand:Math.random()}),this._notifyScopeListeners(),this}addBreadcrumb(e,t){const n="number"==typeof t?t:100;if(n<=0)return this;const r={timestamp:Er(),...e,message:e.message?cr(e.message,2048):e.message};return this._breadcrumbs.push(r),this._breadcrumbs.length>n&&(this._breadcrumbs=this._breadcrumbs.slice(-n),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:Nr(this)}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=Rr(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){const n=t?.event_id||xr();if(!this._client)return gn&&zn("No client configured on scope - will not capture exception!"),n;const r=new Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:r,...t,event_id:n},this),n}captureMessage(e,t,n){const r=n?.event_id||xr();if(!this._client)return gn&&zn("No client configured on scope - will not capture message!"),r;const o=new Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:o,...n,event_id:r},this),r}captureEvent(e,t){const n=t?.event_id||xr();return this._client?(this._client.captureEvent(e,{...t,event_id:n},this),n):(gn&&zn("No client configured on scope - will not capture event!"),n)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),this._notifyingListeners=!1)}}class jr{constructor(e,t){let n,r;n=e||new Fr,r=t||new Fr,this._stack=[{scope:n}],this._isolationScope=r}withScope(t){const n=this._pushScope();let r;try{r=t(n)}catch(e){throw this._popScope(),e}return nr(r)?r.then(e=>(this._popScope(),e),e=>{throw this._popScope(),e}):(this._popScope(),r)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return!(this._stack.length<=1||!this._stack.pop())}}function Mr(){const e=yn(vn());return e.stack=e.stack||new jr(xn("defaultCurrentScope",()=>new Fr),xn("defaultIsolationScope",()=>new Fr))}function Lr(e){return Mr().withScope(e)}function Wr(e,t){const n=Mr();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function Br(e){return Mr().withScope(()=>e(Mr().getIsolationScope()))}function $r(e){const t=yn(e);return t.acs?t.acs:{withIsolationScope:Br,withScope:Lr,withSetScope:Wr,withSetIsolationScope:(e,t)=>Br(t),getCurrentScope:()=>Mr().getScope(),getIsolationScope:()=>Mr().getIsolationScope()}}function Vr(){return $r(vn()).getCurrentScope()}function Hr(){return $r(vn()).getIsolationScope()}function Ur(){return Vr().getClient()}function qr(e){const t=e.getPropagationContext(),{traceId:n,parentSpanId:r,propagationSpanId:o}=t,a={trace_id:n,span_id:o||Or()};return r&&(a.parent_span_id=r),a}const Gr="sentry.profile_id",Yr="sentry.exclusive_time";function Xr(e){return{scope:e._sentryScope,isolationScope:e._sentryIsolationScope}}const Kr=/^sentry-/;function Qr(e){return e.split(",").map(e=>e.split("=").map(e=>{try{return decodeURIComponent(e.trim())}catch{return}})).reduce((e,[t,n])=>(t&&n&&(e[t]=n),e),{})}const Jr=/^o(\d+)\./,Zr=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function eo(e,t=!1){const{host:n,path:r,pass:o,port:a,projectId:i,protocol:l,publicKey:s}=e;return`${l}://${s}${t&&o?`:${o}`:""}@${n}${a?`:${a}`:""}/${r?`${r}/`:r}${i}`}function to(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function no(e){const t=e.getOptions(),{host:n}=e.getDsn()||{};let r;return t.orgId?r=String(t.orgId):n&&(r=function(e){const t=e.match(Jr);return t?.[1]}(n)),r}let ro=!1;function oo(e){const{spanId:t,traceId:n,isRemote:r}=e.spanContext(),o=r?t:so(e).parent_span_id,a=Xr(e).scope;return{parent_span_id:o,span_id:r?a?.getPropagationContext().propagationSpanId||Or():t,trace_id:n}}function ao(e){return e&&e.length>0?e.map(({context:{spanId:e,traceId:t,traceFlags:n,...r},attributes:o})=>({span_id:e,trace_id:t,sampled:1===n,attributes:o,...r})):void 0}function io(e){return"number"==typeof e?lo(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?lo(e.getTime()):zr()}function lo(e){return e>9999999999?e/1e3:e}function so(e){if(function(e){return"function"==typeof e.getSpanJSON}(e))return e.getSpanJSON();const{spanId:t,traceId:n}=e.spanContext();if(function(e){const t=e;return!!(t.attributes&&t.startTime&&t.name&&t.endTime&&t.status)}(e)){const{attributes:r,startTime:o,name:a,endTime:i,status:l,links:s}=e;return{span_id:t,trace_id:n,data:r,description:a,parent_span_id:"parentSpanId"in e?e.parentSpanId:"parentSpanContext"in e?e.parentSpanContext?.spanId:void 0,start_timestamp:io(o),timestamp:io(i)||void 0,status:co(l),op:r["sentry.op"],origin:r["sentry.origin"],links:ao(s)}}return{span_id:t,trace_id:n,start_timestamp:0,data:{}}}function co(e){if(e&&0!==e.code)return 1===e.code?"ok":e.message||"unknown_error"}function uo(e){return e._sentryRootSpan||e}function fo(){ro||(wn(()=>{}),ro=!0)}const po="production";function ho(e,t){const n=t.getOptions(),{publicKey:r}=t.getDsn()||{},o={environment:n.environment||po,release:n.release,public_key:r,trace_id:e,org_id:no(t)};return t.emit("createDsc",o),o}function go(e){const t=Ur();if(!t)return{};const n=uo(e),r=so(n),o=r.data,a=n.spanContext().traceState,i=a?.get("sentry.sample_rate")??o["sentry.sample_rate"]??o["sentry.previous_trace_sample_rate"];function l(e){return"number"!=typeof i&&"string"!=typeof i||(e.sample_rate=`${i}`),e}const s=n._frozenDsc;if(s)return l(s);const c=a?.get("sentry.dsc"),u=c&&function(e){const t=function(e){if(e&&(Qn(e)||Array.isArray(e)))return Array.isArray(e)?e.reduce((e,t)=>{const n=Qr(t);return Object.entries(n).forEach(([t,n])=>{e[t]=n}),e},{}):Qr(e)}(e);if(!t)return;const n=Object.entries(t).reduce((e,[t,n])=>(t.match(Kr)&&(e[t.slice(7)]=n),e),{});return Object.keys(n).length>0?n:void 0}(c);if(u)return l(u);const d=ho(e.spanContext().traceId,t),f=o["sentry.source"],p=r.description;return"url"!==f&&p&&(d.transaction=p),function(){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;const e=Ur()?.getOptions();return!(!e||null==e.tracesSampleRate&&!e.tracesSampler)}()&&(d.sampled=String(function(e){const{traceFlags:t}=e.spanContext();return 1===t}(n)),d.sample_rand=a?.get("sentry.sample_rand")??Xr(n).scope?.getPropagationContext().sampleRand.toString()),l(d),t.emit("createDsc",d,n),d}function mo(e,t=100,n=1/0){try{return vo("",e,t,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function bo(e,t=3,n=102400){const r=mo(e,t);return o=r,function(e){return~-encodeURI(e).split(/%..|./).length}(JSON.stringify(o))>n?bo(e,t-1,n):r;var o}function vo(e,t,n=1/0,r=1/0,o=function(){const e=new WeakSet;return[function(t){return!!e.has(t)||(e.add(t),!1)},function(t){e.delete(t)}]}()){const[a,i]=o;if(null==t||["boolean","string"].includes(typeof t)||"number"==typeof t&&Number.isFinite(t))return t;const l=function(e,t){try{if("domain"===e&&t&&"object"==typeof t&&t._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if("undefined"!=typeof global&&t===global)return"[Global]";if("undefined"!=typeof window&&t===window)return"[Window]";if("undefined"!=typeof document&&t===document)return"[Document]";if(or(t))return"[VueViewModel]";if(er(n=t)&&"nativeEvent"in n&&"preventDefault"in n&&"stopPropagation"in n)return"[SyntheticEvent]";if("number"==typeof t&&!Number.isFinite(t))return`[${t}]`;if("function"==typeof t)return`[Function: ${Nn(t)}]`;if("symbol"==typeof t)return`[${String(t)}]`;if("bigint"==typeof t)return`[BigInt: ${String(t)}]`;const r=function(e){const t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:"null prototype"}(t);return/^HTML(\w*)Element$/.test(r)?`[HTMLElement: ${r}]`:`[object ${r}]`}catch(r){return`**non-serializable** (${r})`}var n}(e,t);if(!l.startsWith("[object "))return l;if(t.__sentry_skip_normalization__)return t;const s="number"==typeof t.__sentry_override_normalization_depth__?t.__sentry_override_normalization_depth__:n;if(0===s)return l.replace("object ","");if(a(t))return"[Circular ~]";const c=t;if(c&&"function"==typeof c.toJSON)try{return vo("",c.toJSON(),s-1,r,o)}catch{}const u=Array.isArray(t)?[]:{};let d=0;const f=br(t);for(const p in f){if(!Object.prototype.hasOwnProperty.call(f,p))continue;if(d>=r){u[p]="[MaxProperties ~]";break}const e=f[p];u[p]=vo(p,e,s-1,r,o),d++}return i(t),u}function yo(e,t=[]){return[e,t]}function xo(e,t){const[n,r]=e;return[n,[...r,t]]}function ko(e,t){const n=e[1];for(const r of n)if(t(r,r[0].type))return!0;return!1}function So(e){const t=yn(mn);return t.encodePolyfill?t.encodePolyfill(e):(new TextEncoder).encode(e)}function wo(e){const[t,n]=e;let r=JSON.stringify(t);function o(e){"string"==typeof r?r="string"==typeof e?r+e:[So(r),e]:r.push("string"==typeof e?So(e):e)}for(const a of n){const[e,t]=a;if(o(`\n${JSON.stringify(e)}\n`),"string"==typeof t||t instanceof Uint8Array)o(t);else{let e;try{e=JSON.stringify(t)}catch{e=JSON.stringify(mo(t))}o(e)}}return"string"==typeof r?r:function(e){const t=e.reduce((e,t)=>e+t.length,0),n=new Uint8Array(t);let r=0;for(const o of e)n.set(o,r),r+=o.length;return n}(r)}function _o(e){const t="string"==typeof e.data?So(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}const Co={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",raw_security:"security",log:"log_item"};function Eo(e){return Co[e]}function Po(e){if(!e?.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function zo(e,t){if(!t?.length||!e.description)return!1;for(const n of t){if(Ro(n)){if(dr(e.description,n))return!0;continue}if(!n.name&&!n.op)continue;const t=!n.name||dr(e.description,n.name),r=!n.op||e.op&&dr(e.op,n.op);if(t&&r)return!0}return!1}function To(e,t){const n=t.parent_span_id,r=t.span_id;if(n)for(const o of e)o.parent_span_id===r&&(o.parent_span_id=n)}function Ro(e){return"string"==typeof e||e instanceof RegExp}function Io(e){return new Ao(t=>{t(e)})}function Oo(e){return new Ao((t,n)=>{n(e)})}class Ao{constructor(e){this._state=0,this._handlers=[],this._runExecutor(e)}then(t,n){return new Ao((r,o)=>{this._handlers.push([!1,n=>{if(t)try{r(t(n))}catch(e){o(e)}else r(n)},t=>{if(n)try{r(n(t))}catch(e){o(e)}else o(t)}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(e){return new Ao((t,n)=>{let r,o;return this.then(t=>{o=!1,r=t,e&&e()},t=>{o=!0,r=t,e&&e()}).then(()=>{o?n(r):t(r)})})}_executeHandlers(){if(0===this._state)return;const e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||(1===this._state&&e[1](this._value),2===this._state&&e[2](this._value),e[0]=!0)})}_runExecutor(t){const n=(e,t)=>{0===this._state&&(nr(t)?t.then(r,o):(this._state=e,this._value=t,this._executeHandlers()))},r=e=>{n(1,e)},o=e=>{n(2,e)};try{t(r,o)}catch(e){o(e)}}}function Do(e,t,n,r=0){return new Ao((o,a)=>{const i=e[r];if(null===t||"function"!=typeof i)o(t);else{const l=i({...t},n);gn&&i.id&&null===l&&Pn(`Event processor "${i.id}" dropped event`),nr(l)?l.then(t=>Do(e,t,n,r+1).then(o)).then(null,a):Do(e,l,n,r+1).then(o).then(null,a)}})}function No(e,t){const{extra:n,tags:r,user:o,contexts:a,level:i,sdkProcessingMetadata:l,breadcrumbs:s,fingerprint:c,eventProcessors:u,attachments:d,propagationContext:f,transactionName:p,span:h}=t;Fo(e,"extra",n),Fo(e,"tags",r),Fo(e,"user",o),Fo(e,"contexts",a),e.sdkProcessingMetadata=Rr(e.sdkProcessingMetadata,l,2),i&&(e.level=i),p&&(e.transactionName=p),h&&(e.span=h),s.length&&(e.breadcrumbs=[...e.breadcrumbs,...s]),c.length&&(e.fingerprint=[...e.fingerprint,...c]),u.length&&(e.eventProcessors=[...e.eventProcessors,...u]),d.length&&(e.attachments=[...e.attachments,...d]),e.propagationContext={...e.propagationContext,...f}}function Fo(e,t,n){e[t]=Rr(e[t],n,1)}let jo,Mo,Lo;function Wo(e,t,n,r,o,a){const{normalizeDepth:i=3,normalizeMaxBreadth:l=1e3}=e,s={...t,event_id:t.event_id||n.event_id||xr(),timestamp:t.timestamp||Er()},c=n.integrations||e.integrations.map(e=>e.name);!function(e,t){const{environment:n,release:r,dist:o,maxValueLength:a=250}=t;e.environment=e.environment||n||po,!e.release&&r&&(e.release=r),!e.dist&&o&&(e.dist=o);const i=e.request;i?.url&&(i.url=cr(i.url,a))}(s,e),function(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}(s,c),o&&o.emit("applyFrameMetadata",t),void 0===t.type&&function(e,t){const n=function(e){const t=mn._sentryDebugIds;if(!t)return{};const n=Object.keys(t);return Lo&&n.length===Mo||(Mo=n.length,Lo=n.reduce((n,r)=>{jo||(jo={});const o=jo[r];if(o)n[o[0]]=o[1];else{const o=e(r);for(let e=o.length-1;e>=0;e--){const a=o[e],i=a?.filename,l=t[r];if(i&&l){n[i]=l,jo[r]=[i,l];break}}}return n},{})),Lo}(t);e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.filename&&(e.debug_id=n[e.filename])})})}(s,e.stackParser);const u=function(e,t){if(!t)return e;const n=e?e.clone():new Fr;return n.update(t),n}(r,n.captureContext);n.mechanism&&_r(s,n.mechanism);const d=o?o.getEventProcessors():[],f=xn("globalScope",()=>new Fr).getScopeData();a&&No(f,a.getScopeData()),u&&No(f,u.getScopeData());const p=[...n.attachments||[],...f.attachments];return p.length&&(n.attachments=p),function(e,t){const{fingerprint:n,span:r,breadcrumbs:o,sdkProcessingMetadata:a}=t;!function(e,t){const{extra:n,tags:r,user:o,contexts:a,level:i,transactionName:l}=t;Object.keys(n).length&&(e.extra={...n,...e.extra}),Object.keys(r).length&&(e.tags={...r,...e.tags}),Object.keys(o).length&&(e.user={...o,...e.user}),Object.keys(a).length&&(e.contexts={...a,...e.contexts}),i&&(e.level=i),l&&"transaction"!==e.type&&(e.transaction=l)}(e,t),r&&function(e,t){e.contexts={trace:oo(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:go(t),...e.sdkProcessingMetadata};const n=so(uo(t)).description;n&&!e.transaction&&"transaction"===e.type&&(e.transaction=n)}(e,r),function(e,t){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint.length||delete e.fingerprint}(e,n),function(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}(e,o),function(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}(e,a)}(s,f),Do([...d,...f.eventProcessors],s,n).then(e=>(e&&function(e){const t={};if(e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)})}),0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const n=e.debug_meta.images;Object.entries(t).forEach(([e,t])=>{n.push({type:"sourcemap",code_file:e,debug_id:t})})}(e),"number"==typeof i&&i>0?function(e,t,n){if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:mo(e.data,t,n)}}))},...e.user&&{user:mo(e.user,t,n)},...e.contexts&&{contexts:mo(e.contexts,t,n)},...e.extra&&{extra:mo(e.extra,t,n)}};return e.contexts?.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=mo(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(e=>({...e,...e.data&&{data:mo(e.data,t,n)}}))),e.contexts?.flags&&r.contexts&&(r.contexts.flags=mo(e.contexts.flags,3,n)),r}(e,i,l):e))}function Bo(e,t){return Vr().captureEvent(e,t)}function $o(e){const t=Hr(),n=Vr(),{userAgent:r}=mn.navigator||{},o=function(e){const t=zr(),n={sid:xr(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(e){return{sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"==typeof e.did||"string"==typeof e.did?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}}}(n)};return e&&Tr(n,e),n}({user:n.getUser()||t.getUser(),...r&&{userAgent:r},...e}),a=t.getSession();return"ok"===a?.status&&Tr(a,{status:"exited"}),Vo(),t.setSession(o),o}function Vo(){const e=Hr(),t=Vr().getSession()||e.getSession();t&&function(e){let t={};"ok"===e.status&&(t={status:"exited"}),Tr(e,t)}(t),Ho(),e.setSession()}function Ho(){const e=Hr(),t=Ur(),n=e.getSession();n&&t&&t.captureSession(n)}function Uo(e=!1){e?Vo():Ho()}const qo=[];function Go(e,t){for(const n of t)n?.afterAllSetup&&n.afterAllSetup(e)}function Yo(e,t,n){if(n[t.name])gn&&Pn(`Integration skipped because it was already installed: ${t.name}`);else{if(n[t.name]=t,-1===qo.indexOf(t.name)&&"function"==typeof t.setupOnce&&(t.setupOnce(),qo.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),"function"==typeof t.preprocessEvent){const n=t.preprocessEvent.bind(t);e.on("preprocessEvent",(t,r)=>n(t,r,e))}if("function"==typeof t.processEvent){const n=t.processEvent.bind(t),r=Object.assign((t,r)=>n(t,r,e),{id:t.name});e.addEventProcessor(r)}gn&&Pn(`Integration installed: ${t.name}`)}}function Xo(e){const t=[];e.message&&t.push(e.message);try{const n=e.exception.values[e.exception.values.length-1];n?.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`))}catch{}return t}const Ko="Not capturing exception because it's already been captured.",Qo="Discarded session because of missing or non-string release",Jo=Symbol.for("SentryInternalError"),Zo=Symbol.for("SentryDoNotSendEventError");function ea(e){return{message:e,[Jo]:!0}}function ta(e){return{message:e,[Zo]:!0}}function na(e){return!!e&&"object"==typeof e&&Jo in e}function ra(e){return!!e&&"object"==typeof e&&Zo in e}class oa{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=function(e){const t="string"==typeof e?function(e){const t=Zr.exec(e);if(!t)return void wn(()=>{});const[n,r,o="",a="",i="",l=""]=t.slice(1);let s="",c=l;const u=c.split("/");if(u.length>1&&(s=u.slice(0,-1).join("/"),c=u.pop()),c){const e=c.match(/^\d+/);e&&(c=e[0])}return to({host:a,pass:o,path:s,projectId:c,port:i,protocol:n,publicKey:r})}(e):to(e);if(t&&function(e){if(!gn)return!0;const{port:t,projectId:n,protocol:r}=e;return!(["protocol","publicKey","host","projectId"].find(t=>!e[t]&&(Tn(`Invalid Sentry Dsn: ${t} missing`),!0))||(n.match(/^\d+$/)?function(e){return"http"===e||"https"===e}(r)?t&&isNaN(parseInt(t,10))&&(Tn(`Invalid Sentry Dsn: Invalid port ${t}`),1):(Tn(`Invalid Sentry Dsn: Invalid protocol ${r}`),1):(Tn(`Invalid Sentry Dsn: Invalid projectId ${n}`),1)))}(t))return t}(e.dsn):gn&&zn("No DSN provided, client will not send events."),this._dsn){const o=(t=this._dsn,n=e.tunnel,r=e._metadata?e._metadata.sdk:void 0,n||`${function(e){return`${function(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}(e)}${e.projectId}/envelope/`}(t)}?${function(e,t){const n={sentry_version:"7"};return e.publicKey&&(n.sentry_key=e.publicKey),t&&(n.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(n).toString()}(t,r)}`);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:o})}var t,n,r}captureException(e,t,n){const r=xr();if(Cr(e))return gn&&Pn(Ko),r;const o={event_id:r,...t};return this._process(this.eventFromException(e,o).then(e=>this._captureEvent(e,o,n))),o.event_id}captureMessage(e,t,n,r){const o={event_id:xr(),...n},a=Jn(e)?e:String(e),i=Zn(e)?this.eventFromMessage(a,t,o):this.eventFromException(e,o);return this._process(i.then(e=>this._captureEvent(e,o,r))),o.event_id}captureEvent(e,t,n){const r=xr();if(t?.originalException&&Cr(t.originalException))return gn&&Pn(Ko),r;const o={event_id:r,...t},a=e.sdkProcessingMetadata||{},i=a.capturedSpanScope,l=a.capturedSpanIsolationScope;return this._process(this._captureEvent(e,o,i||n,l)),o.event_id}captureSession(e){this.sendSession(e),Tr(e,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){const t=this._transport;return t?(this.emit("flush"),this._isClientDoneProcessing(e).then(n=>t.flush(e).then(e=>n&&e))):Io(!0)}close(e){return this.flush(e).then(e=>(this.getOptions().enabled=!1,this.emit("close"),e))}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(({name:e})=>e.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}addIntegration(e){const t=this._integrations[e.name];Yo(this,e,this._integrations),t||Go(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let n=function(e,t,n,r){const o=Po(n),a=e.type&&"replay_event"!==e.type?e.type:"event";!function(e,t){if(!t)return e;const n=e.sdk||{};e.sdk={...n,name:n.name||t.name,version:n.version||t.version,integrations:[...e.sdk?.integrations||[],...t.integrations||[]],packages:[...e.sdk?.packages||[],...t.packages||[]],settings:e.sdk?.settings||t.settings?{...e.sdk?.settings,...t.settings}:void 0}}(e,n?.sdk);const i=function(e,t,n,r){const o=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:(new Date).toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:eo(r)},...o&&{trace:o}}}(e,o,r,t);return delete e.sdkProcessingMetadata,yo(i,[[{type:a},e]])}(e,this._dsn,this._options._metadata,this._options.tunnel);for(const o of t.attachments||[])n=xo(n,_o(o));const r=this.sendEnvelope(n);r&&r.then(t=>this.emit("afterSendEvent",e,t),null)}sendSession(e){const{release:t,environment:n=po}=this._options;if("aggregates"in e){const r=e.attrs||{};if(!r.release&&!t)return void(gn&&zn(Qo));r.release=r.release||t,r.environment=r.environment||n,e.attrs=r}else{if(!e.release&&!t)return void(gn&&zn(Qo));e.release=e.release||t,e.environment=e.environment||n}this.emit("beforeSendSession",e);const r=function(e,t,n,r){const o=Po(n);return yo({sent_at:(new Date).toISOString(),...o&&{sdk:o},...!!r&&t&&{dsn:eo(t)}},["aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()]])}(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(r)}recordDroppedEvent(e,t,n=1){if(this._options.sendClientReports){const r=`${e}:${t}`;gn&&Pn(`Recording outcome: "${r}"${n>1?` (${n} times)`:""}`),this._outcomes[r]=(this._outcomes[r]||0)+n}}on(e,t){const n=this._hooks[e]=this._hooks[e]||[];return n.push(t),()=>{const e=n.indexOf(t);e>-1&&n.splice(e,1)}}emit(e,...t){const n=this._hooks[e];n&&n.forEach(e=>e(...t))}sendEnvelope(e){return this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport?this._transport.send(e).then(null,e=>(gn&&Tn("Error while sending envelope:",e),e)):(gn&&Tn("Transport disabled"),Io({}))}_setupIntegrations(){const{integrations:e}=this._options;this._integrations=function(e,t){const n={};return t.forEach(t=>{t&&Yo(e,t,n)}),n}(this,e),Go(this,e)}_updateSessionFromEvent(e,t){let n="fatal"===t.level,r=!1;const o=t.exception?.values;if(o){r=!0;for(const e of o){const t=e.mechanism;if(!1===t?.handled){n=!0;break}}}const a="ok"===e.status;(a&&0===e.errors||a&&n)&&(Tr(e,{...n&&{status:"crashed"},errors:e.errors||Number(r||n)}),this.captureSession(e))}_isClientDoneProcessing(e){return new Ao(t=>{let n=0;const r=setInterval(()=>{0==this._numProcessing?(clearInterval(r),t(!0)):(n+=1,e&&n>=e&&(clearInterval(r),t(!1)))},1)})}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n,r){const o=this.getOptions(),a=Object.keys(this._integrations);return!t.integrations&&a?.length&&(t.integrations=a),this.emit("preprocessEvent",e,t),e.type||r.setLastEventId(e.event_id||t.event_id),Wo(o,e,t,n,this,r).then(e=>{if(null===e)return e;this.emit("postprocessEvent",e,t),e.contexts={trace:qr(n),...e.contexts};const r=function(e,t){const n=t.getPropagationContext();return n.dsc||ho(n.traceId,e)}(this,n);return e.sdkProcessingMetadata={dynamicSamplingContext:r,...e.sdkProcessingMetadata},e})}_captureEvent(e,t={},n=Vr(),r=Hr()){return gn&&aa(e)&&Pn(`Captured error event \`${Xo(e)[0]||"<unknown>"}\``),this._processEvent(e,t,n,r).then(e=>e.event_id,e=>{gn&&(ra(e)?Pn(e.message):na(e)?zn(e.message):zn(e))})}_processEvent(e,t,n,r){const o=this.getOptions(),{sampleRate:a}=o,i=ia(e),l=aa(e),s=e.type||"error",c=`before send for type \`${s}\``,u=void 0===a?void 0:function(e){if("boolean"==typeof e)return Number(e);const t="string"==typeof e?parseFloat(e):e;return"number"!=typeof t||isNaN(t)||t<0||t>1?void 0:t}(a);if(l&&"number"==typeof u&&Math.random()>u)return this.recordDroppedEvent("sample_rate","error"),Oo(ta(`Discarding event because it's not included in the random sample (sampling rate = ${a})`));const d="replay_event"===s?"replay":s;return this._prepareEvent(e,t,n,r).then(e=>{if(null===e)throw this.recordDroppedEvent("event_processor",d),ta("An event processor returned `null`, will not send event.");if(t.data&&!0===t.data.__sentry__)return e;const n=function(e,t,n,r){const{beforeSend:o,beforeSendTransaction:a,beforeSendSpan:i,ignoreSpans:l}=t;let s=n;if(aa(s)&&o)return o(s,r);if(ia(s)){if(i||l){const t=function(e){const{trace_id:t,parent_span_id:n,span_id:r,status:o,origin:a,data:i,op:l}=e.contexts?.trace??{};return{data:i??{},description:e.transaction,op:l,parent_span_id:n,span_id:r??"",start_timestamp:e.start_timestamp??0,status:o,timestamp:e.timestamp,trace_id:t??"",origin:a,profile_id:i?.[Gr],exclusive_time:i?.[Yr],measurements:e.measurements,is_segment:!0}}(s);if(l?.length&&zo(t,l))return null;if(i){const e=i(t);e?s=Rr(n,{type:"transaction",timestamp:(c=e).timestamp,start_timestamp:c.start_timestamp,transaction:c.description,contexts:{trace:{trace_id:c.trace_id,span_id:c.span_id,parent_span_id:c.parent_span_id,op:c.op,status:c.status,origin:c.origin,data:{...c.data,...c.profile_id&&{[Gr]:c.profile_id},...c.exclusive_time&&{[Yr]:c.exclusive_time}}}},measurements:c.measurements}):fo()}if(s.spans){const t=[],n=s.spans;for(const e of n)if(l?.length&&zo(e,l))To(n,e);else if(i){const n=i(e);n?t.push(n):(fo(),t.push(e))}else t.push(e);const r=s.spans.length-t.length;r&&e.recordDroppedEvent("before_send","span",r),s.spans=t}}if(a){if(s.spans){const e=s.spans.length;s.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return a(s,r)}}var c;return s}(this,o,e,t);return function(e,t){const n=`${t} must return \`null\` or a valid event.`;if(nr(e))return e.then(e=>{if(!er(e)&&null!==e)throw ea(n);return e},e=>{throw ea(`${t} rejected with ${e}`)});if(!er(e)&&null!==e)throw ea(n);return e}(n,c)}).then(o=>{if(null===o){if(this.recordDroppedEvent("before_send",d),i){const t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw ta(`${c} returned \`null\`, will not send event.`)}const a=n.getSession()||r.getSession();if(l&&a&&this._updateSessionFromEvent(a,o),i){const e=(o.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(o.spans?o.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}const s=o.transaction_info;if(i&&s&&o.transaction!==e.transaction){const e="custom";o.transaction_info={...s,source:e}}return this.sendEvent(o,t),o}).then(null,e=>{if(ra(e)||na(e))throw e;throw this.captureException(e,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:e}),ea(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${e}`)})}_process(e){this._numProcessing++,e.then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e))}_clearOutcomes(){const e=this._outcomes;return this._outcomes={},Object.entries(e).map(([e,t])=>{const[n,r]=e.split(":");return{reason:n,category:r,quantity:t}})}_flushOutcomes(){gn&&Pn("Flushing outcomes...");const e=this._clearOutcomes();if(0===e.length)return void(gn&&Pn("No outcomes to send"));if(!this._dsn)return void(gn&&Pn("No dsn provided, will not send outcomes"));gn&&Pn("Sending outcomes:",e);const t=(n=e,yo((r=this._options.tunnel&&eo(this._dsn))?{dsn:r}:{},[[{type:"client_report"},{timestamp:Er(),discarded_events:n}]]));var n,r;this.sendEnvelope(t)}}function aa(e){return void 0===e.type}function ia(e){return"transaction"===e.type}function la(e,t){const n=function(e){return sa().get(e)}(e)??[];if(0===n.length)return;const r=e.getOptions(),o=function(e,t,n,r){const o={};return t?.sdk&&(o.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(o.dsn=eo(r)),yo(o,[(a=e,[{type:"log",item_count:a.length,content_type:"application/vnd.sentry.items.log+json"},{items:a}])]);var a}(n,r._metadata,r.tunnel,e.getDsn());sa().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(o)}function sa(){return xn("clientToLogBufferMap",()=>new WeakMap)}const ca=Symbol.for("SentryBufferFullError");function ua(e,t,n=function(e){const t=[];function n(e){return t.splice(t.indexOf(e),1)[0]||Promise.resolve(void 0)}return{$:t,add:function(r){if(!(void 0===e||t.length<e))return Oo(ca);const o=r();return-1===t.indexOf(o)&&t.push(o),o.then(()=>n(o)).then(null,()=>n(o).then(null,()=>{})),o},drain:function(e){return new Ao((n,r)=>{let o=t.length;if(!o)return n(!0);const a=setTimeout(()=>{e&&e>0&&n(!1)},e);t.forEach(e=>{Io(e).then(()=>{--o||(clearTimeout(a),n(!0))},r)})})}}}(e.bufferSize||64)){let r={};return{send:function(o){const a=[];if(ko(o,(t,n)=>{const o=Eo(n);!function(e,t,n=Date.now()){return function(e,t){return e[t]||e.all||0}(e,t)>n}(r,o)?a.push(t):e.recordDroppedEvent("ratelimit_backoff",o)}),0===a.length)return Io({});const i=yo(o[0],a),l=t=>{ko(i,(n,r)=>{e.recordDroppedEvent(t,Eo(r))})};return n.add(()=>t({body:wo(i)}).then(e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&gn&&zn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=function(e,{statusCode:t,headers:n},r=Date.now()){const o={...e},a=n?.["x-sentry-rate-limits"],i=n?.["retry-after"];if(a)for(const l of a.trim().split(",")){const[e,t,,,n]=l.split(":",5),a=parseInt(e,10),i=1e3*(isNaN(a)?60:a);if(t)for(const l of t.split(";"))"metric_bucket"===l&&n&&!n.split(";").includes("custom")||(o[l]=r+i);else o.all=r+i}else i?o.all=r+function(e,t=Date.now()){const n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;const r=Date.parse(`${e}`);return isNaN(r)?6e4:r-t}(i,r):429===t&&(o.all=r+6e4);return o}(r,e),e),e=>{throw l("network_error"),gn&&Tn("Encountered error running transport request:",e),e})).then(e=>e,e=>{if(e===ca)return gn&&Tn("Skipped sending event because buffer is full."),l("queue_overflow"),Io({});throw e})},flush:e=>n.drain(e)}}function da(e){"aggregates"in e?void 0===e.attrs?.ip_address&&(e.attrs={...e.attrs,ip_address:"{{auto}}"}):void 0===e.ipAddress&&(e.ipAddress="{{auto}}")}const fa=100;function pa(e,t){const n=Ur(),r=Hr();if(!n)return;const{beforeBreadcrumb:o=null,maxBreadcrumbs:a=fa}=n.getOptions();if(a<=0)return;const i={timestamp:Er(),...e},l=o?wn(()=>o(i,t)):i;null!==l&&(n.emit&&n.emit("beforeAddBreadcrumb",l,t),r.addBreadcrumb(l,a))}let ha;const ga=new WeakMap,ma=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,'can\'t redefine non-configurable property "solana"',"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/,/^Java exception was raised during method invocation$/],ba=(e={})=>{let t;return{name:"EventFilters",setup(n){const r=n.getOptions();t=va(e,r)},processEvent(n,r,o){if(!t){const n=o.getOptions();t=va(e,n)}return function(e,t){if(e.type){if("transaction"===e.type&&function(e,t){if(!t?.length)return!1;const n=e.transaction;return!!n&&fr(n,t)}(e,t.ignoreTransactions))return gn&&zn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${Sr(e)}`),!0}else{if(function(e,t){return!!t?.length&&Xo(e).some(e=>fr(e,t))}(e,t.ignoreErrors))return gn&&zn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${Sr(e)}`),!0;if(function(e){return!!e.exception?.values?.length&&(!e.message&&!e.exception.values.some(e=>e.stacktrace||e.type&&"Error"!==e.type||e.value))}(e))return gn&&zn(`Event dropped due to not having an error message, error type or stacktrace.\nEvent: ${Sr(e)}`),!0;if(function(e,t){if(!t?.length)return!1;const n=ya(e);return!!n&&fr(n,t)}(e,t.denyUrls))return gn&&zn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${Sr(e)}.\nUrl: ${ya(e)}`),!0;if(!function(e,t){if(!t?.length)return!0;const n=ya(e);return!n||fr(n,t)}(e,t.allowUrls))return gn&&zn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${Sr(e)}.\nUrl: ${ya(e)}`),!0}return!1}(n,t)?null:n}}};function va(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:ma],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function ya(e){try{const t=[...e.exception?.values??[]].reverse().find(e=>void 0===e.mechanism?.parent_id&&e.stacktrace?.frames?.length),n=t?.stacktrace?.frames;return n?function(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(n):null}catch{return gn&&Tn(`Cannot extract url for event ${Sr(e)}`),null}}function xa(e,t,n,r,o,a){if(!o.exception?.values||!a||!rr(a.originalException,Error))return;const i=o.exception.values.length>0?o.exception.values[o.exception.values.length-1]:void 0;i&&(o.exception.values=ka(e,t,r,a.originalException,n,o.exception.values,i,0))}function ka(e,t,n,r,o,a,i,l){if(a.length>=n+1)return a;let s=[...a];if(rr(r[o],Error)){Sa(i,l);const a=e(t,r[o]),c=s.length;wa(a,o,c,l),s=ka(e,t,n,r[o],o,[a,...s],a,c)}return Array.isArray(r.errors)&&r.errors.forEach((r,a)=>{if(rr(r,Error)){Sa(i,l);const c=e(t,r),u=s.length;wa(c,`errors[${a}]`,u,l),s=ka(e,t,n,r,o,[c,...s],c,u)}}),s}function Sa(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,..."AggregateError"===e.type&&{is_exception_group:!0},exception_id:t}}function wa(e,t,n,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}function _a(){"console"in mn&&kn.forEach(function(e){e in mn.console&&pr(mn.console,e,function(t){return Sn[e]=t,function(...t){Bn("console",{args:t,level:e});const n=Sn[e];n?.apply(mn.console,t)}})})}function Ca(e,t){let n=Fn(e),r=Fn(t);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(let o=0;o<r.length;o++){const e=r[o],t=n[o];if(e.filename!==t.filename||e.lineno!==t.lineno||e.colno!==t.colno||e.function!==t.function)return!1}return!0}function Ea(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return!(n.join("")!==r.join(""))}catch{return!1}}function Pa(e){return e.exception?.values?.[0]}function za(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}function Ta(e){return void 0===e?void 0:e>=400&&e<500?"warning":e>=500?"error":void 0}const Ra=mn;function Ia(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function Oa(e,t){const n="fetch";Ln(n,e),Wn(n,()=>function(e,t=!1){t&&!function(){if("string"==typeof EdgeRuntime)return!0;if(!function(){if(!("fetch"in Ra))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch{return!1}}())return!1;if(Ia(Ra.fetch))return!0;let e=!1;const t=Ra.document;if(t&&"function"==typeof t.createElement)try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow?.fetch&&(e=Ia(n.contentWindow.fetch)),t.head.removeChild(n)}catch(n){gn&&zn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return e}()||pr(mn,"fetch",function(e){return function(...t){const n=new Error,{method:r,url:o}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){const[t,n]=e;return{url:Da(t),method:Aa(n,"method")?String(n.method).toUpperCase():"GET"}}const t=e[0];return{url:Da(t),method:Aa(t,"method")?String(t.method).toUpperCase():"GET"}}(t),a={args:t,fetchData:{method:r,url:o},startTimestamp:1e3*zr(),virtualError:n,headers:Na(t)};return Bn("fetch",{...a}),e.apply(mn,t).then(async e=>(Bn("fetch",{...a,endTimestamp:1e3*zr(),response:e}),e),e=>{if(Bn("fetch",{...a,endTimestamp:1e3*zr(),error:e}),Gn(e)&&void 0===e.stack&&(e.stack=n.stack,hr(e,"framesToPop",1)),e instanceof TypeError&&("Failed to fetch"===e.message||"Load failed"===e.message||"NetworkError when attempting to fetch resource."===e.message))try{const t=new URL(a.fetchData.url);e.message=`${e.message} (${t.host})`}catch{}throw e})}})}(0,t))}function Aa(e,t){return!!e&&"object"==typeof e&&!!e[t]}function Da(e){return"string"==typeof e?e:e?Aa(e,"url")?e.url:e.toString?e.toString():"":""}function Na(e){const[t,n]=e;try{if("object"==typeof n&&null!==n&&"headers"in n&&n.headers)return new Headers(n.headers);if("undefined"!=typeof Request&&rr(t,Request))return new Headers(t.headers)}catch{}}const Fa=mn;let ja=0;function Ma(){return ja>0}function La(e,t={}){if("function"!=typeof e)return e;try{const t=e.__sentry_wrapped__;if(t)return"function"==typeof t?t:e;if(mr(e))return e}catch{return e}const n=function(...n){try{const r=n.map(e=>La(e,t));return e.apply(this,r)}catch(r){throw ja++,setTimeout(()=>{ja--}),function(...e){const t=$r(vn());if(2===e.length){const[n,r]=e;return n?t.withSetScope(n,r):t.withScope(r)}t.withScope(e[0])}(e=>{var o;e.addEventProcessor(e=>(t.mechanism&&(wr(e,void 0),_r(e,t.mechanism)),e.extra={...e.extra,arguments:n},e)),o=r,Vr().captureException(o,void 0)}),r}};try{for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t])}catch{}gr(n,e),hr(e,"__sentry_wrapped__",n);try{Object.getOwnPropertyDescriptor(n,"name").configurable&&Object.defineProperty(n,"name",{get:()=>e.name})}catch{}return n}function Wa(e,t){const n=$a(e,t),r={type:Ua(t),value:qa(t)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function Ba(e,t){return{exception:{values:[Wa(e,t)]}}}function $a(e,t){const n=t.stacktrace||t.stack||"",r=function(e){return e&&Va.test(e.message)?1:0}(t),o=function(e){return"number"==typeof e.framesToPop?e.framesToPop:0}(t);try{return e(n,r,o)}catch{}return[]}const Va=/Minified React error #\d+;/i;function Ha(e){return"undefined"!=typeof WebAssembly&&void 0!==WebAssembly.Exception&&e instanceof WebAssembly.Exception}function Ua(e){const t=e?.name;return!t&&Ha(e)?e.message&&Array.isArray(e.message)&&2==e.message.length?e.message[0]:"WebAssembly.Exception":t}function qa(e){const t=e?.message;return Ha(e)?Array.isArray(e.message)&&2==e.message.length?e.message[1]:"wasm exception":t?t.error&&"string"==typeof t.error.message?t.error.message:t:"No error message"}function Ga(e,t,n,r,o){let a;if(Xn(t)&&t.error)return Ba(e,t.error);if(Kn(t)||Yn(t,"DOMException")){const o=t;if("stack"in t)a=Ba(e,t);else{const t=o.name||(Kn(o)?"DOMError":"DOMException"),i=o.message?`${t}: ${o.message}`:t;a=Ya(e,i,n,r),wr(a,i)}return"code"in o&&(a.tags={...a.tags,"DOMException.code":`${o.code}`}),a}return Gn(t)?Ba(e,t):er(t)||tr(t)?(a=function(e,t,n,r){const o=Ur(),a=o?.getOptions().normalizeDepth,i=function(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const n=e[t];if(n instanceof Error)return n}}(t),l={__serialized__:bo(t,a)};if(i)return{exception:{values:[Wa(e,i)]},extra:l};const s={exception:{values:[{type:tr(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:Xa(t,{isUnhandledRejection:r})}]},extra:l};if(n){const t=$a(e,n);t.length&&(s.exception.values[0].stacktrace={frames:t})}return s}(e,t,n,o),_r(a,{synthetic:!0}),a):(a=Ya(e,t,n,r),wr(a,`${t}`),_r(a,{synthetic:!0}),a)}function Ya(e,t,n,r){const o={};if(r&&n){const r=$a(e,n);r.length&&(o.exception={values:[{value:t,stacktrace:{frames:r}}]}),_r(o,{synthetic:!0})}if(Jn(t)){const{__sentry_template_string__:e,__sentry_template_values__:n}=t;return o.logentry={message:e,params:n},o}return o.message=t,o}function Xa(e,{isUnhandledRejection:t}){const n=function(e,t=40){const n=Object.keys(br(e));n.sort();const r=n[0];if(!r)return"[object has no keys]";if(r.length>=t)return cr(r,t);for(let o=n.length;o>0;o--){const e=n.slice(0,o).join(", ");if(!(e.length>t))return o===n.length?e:cr(e,t)}return""}(e),r=t?"promise rejection":"exception";return Xn(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:tr(e)?`Event \`${function(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}const Ka="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,Qa=mn;let Ja,Za,ei,ti;function ni(){if(!Qa.document)return;const e=Bn.bind(null,"dom"),t=ri(e,!0);Qa.document.addEventListener("click",t,!1),Qa.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(t=>{const n=Qa,r=n[t]?.prototype;r?.hasOwnProperty?.("addEventListener")&&(pr(r,"addEventListener",function(t){return function(n,r,o){if("click"===n||"keypress"==n)try{const r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},a=r[n]=r[n]||{refCount:0};if(!a.handler){const r=ri(e);a.handler=r,t.call(this,n,r,o)}a.refCount++}catch{}return t.call(this,n,r,o)}}),pr(r,"removeEventListener",function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{const n=this.__sentry_instrumentation_handlers__||{},o=n[t];o&&(o.refCount--,o.refCount<=0&&(e.call(this,t,o.handler,r),o.handler=void 0,delete n[t]),0===Object.keys(n).length&&delete this.__sentry_instrumentation_handlers__)}catch{}return e.call(this,t,n,r)}}))})}function ri(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const r=function(e){try{return e.target}catch{return null}}(n);if(function(e,t){return"keypress"===e&&(!t?.tagName||"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName&&!t.isContentEditable)}(n.type,r))return;hr(n,"_sentryCaptured",!0),r&&!r._sentryId&&hr(r,"_sentryId",xr());const o="keypress"===n.type?"input":n.type;(function(e){if(e.type!==Za)return!1;try{if(!e.target||e.target._sentryId!==ei)return!1}catch{}return!0})(n)||(e({event:n,name:o,global:t}),Za=n.type,ei=r?r._sentryId:void 0),clearTimeout(Ja),Ja=Qa.setTimeout(()=>{ei=void 0,Za=void 0},1e3)}}function oi(e){const t="history";Ln(t,e),Wn(t,ai)}function ai(){function e(e){return function(...t){const n=t.length>2?t[2]:void 0;if(n){const r=ti,o=function(e){try{return new URL(e,Qa.location.origin).toString()}catch{return e}}(String(n));if(ti=o,r===o)return e.apply(this,t);Bn("history",{from:r,to:o})}return e.apply(this,t)}}Qa.addEventListener("popstate",()=>{const e=Qa.location.href,t=ti;ti=e,t!==e&&Bn("history",{from:t,to:e})}),"history"in Ra&&Ra.history&&(pr(Qa.history,"pushState",e),pr(Qa.history,"replaceState",e))}const ii={};function li(e){ii[e]=void 0}const si="__sentry_xhr_v3__";function ci(){if(!Qa.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,n){const r=new Error,o=1e3*zr(),a=Qn(n[0])?n[0].toUpperCase():void 0,i=function(e){if(Qn(e))return e;try{return e.toString()}catch{}}(n[1]);if(!a||!i)return e.apply(t,n);t[si]={method:a,url:i,request_headers:{}},"POST"===a&&i.match(/sentry_key/)&&(t.__sentry_own_request__=!0);const l=()=>{const e=t[si];if(e&&4===t.readyState){try{e.status_code=t.status}catch{}Bn("xhr",{endTimestamp:1e3*zr(),startTimestamp:o,xhr:t,virtualError:r})}};return"onreadystatechange"in t&&"function"==typeof t.onreadystatechange?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply:(e,t,n)=>(l(),e.apply(t,n))}):t.addEventListener("readystatechange",l),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,n){const[r,o]=n,a=t[si];return a&&Qn(r)&&Qn(o)&&(a.request_headers[r.toLowerCase()]=o),e.apply(t,n)}}),e.apply(t,n)}}),e.send=new Proxy(e.send,{apply(e,t,n){const r=t[si];return r?(void 0!==n[0]&&(r.body=n[0]),Bn("xhr",{startTimestamp:1e3*zr(),xhr:t}),e.apply(t,n)):e.apply(t,n)}})}function ui(e,t,n,r){const o={filename:e,function:"<anonymous>"===t?Rn:t,in_app:!0};return void 0!==n&&(o.lineno=n),void 0!==r&&(o.colno=r),o}const di=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,fi=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,pi=/\((\S*)(?::(\d+))(?::(\d+))\)/,hi=/at (.+?) ?\(data:(.+?),/,gi=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,mi=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,bi=function(...e){const t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,n=0,r=0)=>{const o=[],a=e.split("\n");for(let i=n;i<a.length;i++){let e=a[i];e.length>1024&&(e=e.slice(0,1024));const n=In.test(e)?e.replace(In,"$1"):e;if(!n.match(/\S*Error: /)){for(const e of t){const t=e(n);if(t){o.push(t);break}}if(o.length>=50+r)break}}return function(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(An(t).function||"")&&t.pop(),t.reverse(),On.test(An(t).function||"")&&(t.pop(),On.test(An(t).function||"")&&t.pop()),t.slice(0,50).map(e=>({...e,filename:e.filename||An(t).filename,function:e.function||Rn}))}(o.slice(r))}}([30,e=>{const t=e.match(hi);if(t)return{filename:`<data:${t[2]}>`,function:t[1]};const n=di.exec(e);if(n){const[,e,t,r]=n;return ui(e,Rn,+t,+r)}const r=fi.exec(e);if(r){if(r[2]&&0===r[2].indexOf("eval")){const e=pi.exec(r[2]);e&&(r[2]=e[1],r[3]=e[2],r[4]=e[3])}const[e,t]=vi(r[1]||Rn,r[2]);return ui(t,e,r[3]?+r[3]:void 0,r[4]?+r[4]:void 0)}}],[50,e=>{const t=gi.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const e=mi.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],n=t[1]||Rn;return[n,e]=vi(n,e),ui(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}]),vi=(e,t)=>{const n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:Rn,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},yi="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,xi=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"];function ki(e){return function(...t){const n=t[0];return t[0]=La(n,{mechanism:{data:{function:Nn(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function Si(e){return function(t){return e.apply(this,[La(t,{mechanism:{data:{function:"requestAnimationFrame",handler:Nn(e)},handled:!1,type:"instrument"}})])}}function wi(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in n&&"function"==typeof n[e]&&pr(n,e,function(t){const n={mechanism:{data:{function:e,handler:Nn(t)},handled:!1,type:"instrument"}},r=mr(t);return r&&(n.mechanism.data.handler=Nn(r)),La(t,n)})}),e.apply(this,t)}}function _i(e){yi&&Pn(`Global Handler attached: ${e}`)}function Ci(){const e=Ur();return e?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const Ei=[((e={})=>({...ba(e),name:"InboundFilters"}))(),{name:"FunctionToString",setupOnce(){ha=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=mr(this),n=ga.has(Ur())&&void 0!==t?t:this;return ha.apply(n,e)}}catch{}},setup(e){ga.set(e,!0)}},((e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&pr(Fa,"setTimeout",ki),t.setInterval&&pr(Fa,"setInterval",ki),t.requestAnimationFrame&&pr(Fa,"requestAnimationFrame",Si),t.XMLHttpRequest&&"XMLHttpRequest"in Fa&&pr(XMLHttpRequest.prototype,"send",wi);const e=t.eventTarget;e&&(Array.isArray(e)?e:xi).forEach(e=>function(e,t){const n=Fa,r=n[e]?.prototype;r?.hasOwnProperty?.("addEventListener")&&(pr(r,"addEventListener",function(n){return function(r,o,a){try{"function"==typeof o.handleEvent&&(o.handleEvent=La(o.handleEvent,{mechanism:{data:{function:"handleEvent",handler:Nn(o),target:e},handled:!1,type:"instrument"}}))}catch{}return t.unregisterOriginalCallbacks&&function(e,t,n){e&&"object"==typeof e&&"removeEventListener"in e&&"function"==typeof e.removeEventListener&&e.removeEventListener(t,n)}(this,r,o),n.apply(this,[r,La(o,{mechanism:{data:{function:"addEventListener",handler:Nn(o),target:e},handled:!1,type:"instrument"}}),a])}}),pr(r,"removeEventListener",function(e){return function(t,n,r){try{const o=n.__sentry_wrapped__;o&&e.call(this,t,o,r)}catch{}return e.call(this,t,n,r)}}))}(e,t))}}})(),((e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){var n;t.console&&function(e){const t="console";Ln(t,e),Wn(t,_a)}(function(e){return function(t){if(Ur()!==e)return;const n={category:"console",data:{arguments:t.args,logger:"console"},level:(r=t.level,"warn"===r?"warning":["fatal","error","warning","log","info","debug"].includes(r)?r:"log"),message:ur(t.args," ")};var r;if("assert"===t.level){if(!1!==t.args[0])return;n.message=`Assertion failed: ${ur(t.args.slice(1)," ")||"console.assert"}`,n.data.arguments=t.args.slice(1)}pa(n,{input:t.args,level:t.level})}}(e)),t.dom&&(n=function(e,t){return function(n){if(Ur()!==e)return;let r,o,a="object"==typeof t?t.serializeAttribute:void 0,i="object"==typeof t&&"number"==typeof t.maxStringLength?t.maxStringLength:void 0;i&&i>1024&&(yi&&zn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${i} was configured. Sentry will use 1024 instead.`),i=1024),"string"==typeof a&&(a=[a]);try{const e=n.event,t=function(e){return!!e&&!!e.target}(e)?e.target:e;r=ir(t,{keyAttrs:a,maxStringLength:i}),o=function(e){if(!ar.HTMLElement)return null;let t=e;for(let n=0;n<5;n++){if(!t)return null;if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}(t)}catch{r="<unknown>"}if(0===r.length)return;const l={category:`ui.${n.name}`,message:r};o&&(l.data={"ui.component_name":o}),pa(l,{event:n.event,name:n.name,global:n.global})}}(e,t.dom),Ln("dom",n),Wn("dom",ni)),t.xhr&&function(e){Ln("xhr",e),Wn("xhr",ci)}(function(e){return function(t){if(Ur()!==e)return;const{startTimestamp:n,endTimestamp:r}=t,o=t.xhr[si];if(!n||!r||!o)return;const{method:a,url:i,status_code:l,body:s}=o,c={method:a,url:i,status_code:l},u={xhr:t.xhr,input:s,startTimestamp:n,endTimestamp:r},d={category:"xhr",data:c,type:"http",level:Ta(l)};e.emit("beforeOutgoingRequestBreadcrumb",d,u),pa(d,u)}}(e)),t.fetch&&Oa(function(e){return function(t){if(Ur()!==e)return;const{startTimestamp:n,endTimestamp:r}=t;if(r&&(!t.fetchData.url.match(/sentry_key/)||"POST"!==t.fetchData.method))if(t.error){const o=t.fetchData,a={data:t.error,input:t.args,startTimestamp:n,endTimestamp:r},i={category:"fetch",data:o,level:"error",type:"http"};e.emit("beforeOutgoingRequestBreadcrumb",i,a),pa(i,a)}else{const o=t.response,a={...t.fetchData,status_code:o?.status},i={input:t.args,response:o,startTimestamp:n,endTimestamp:r},l={category:"fetch",data:a,type:"http",level:Ta(a.status_code)};e.emit("beforeOutgoingRequestBreadcrumb",l,i),pa(l,i)}}}(e)),t.history&&oi(function(e){return function(t){if(Ur()!==e)return;let n=t.from,r=t.to;const o=za(Fa.location.href);let a=n?za(n):void 0;const i=za(r);a?.path||(a=o),o.protocol===i.protocol&&o.host===i.host&&(r=i.relative),o.protocol===a.protocol&&o.host===a.host&&(n=a.relative),pa({category:"navigation",data:{from:n,to:r}})}}(e)),t.sentry&&e.on("beforeSendEvent",function(e){return function(t){Ur()===e&&pa({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:Sr(t)},{event:t})}}(e))}}})(),((e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(function(e){!function(){const t="error";Ln(t,t=>{const{stackParser:n,attachStacktrace:r}=Ci();if(Ur()!==e||Ma())return;const{msg:o,url:a,line:i,column:l,error:s}=t,c=function(e,t,n,r){const o=e.exception=e.exception||{},a=o.values=o.values||[],i=a[0]=a[0]||{},l=i.stacktrace=i.stacktrace||{},s=l.frames=l.frames||[],c=r,u=n,d=function(e){if(Qn(e)&&0!==e.length){if(e.startsWith("data:")){const t=e.match(/^data:([^;]+)/);return`<data:${t?t[1]:"text/javascript"}${e.includes("base64,")?",base64":""}>`}return e.slice(0,1024)}}(t)??sr();return 0===s.length&&s.push({colno:c,filename:d,function:Rn,in_app:!0,lineno:u}),e}(Ga(n,s||o,void 0,r,!1),a,i,l);c.level="error",Bo(c,{originalException:s,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})}),Wn(t,Vn)}()}(e),_i("onerror")),t.onunhandledrejection&&(function(e){!function(){const t="unhandledrejection";Ln(t,t=>{const{stackParser:n,attachStacktrace:r}=Ci();if(Ur()!==e||Ma())return;const o=function(e){if(Zn(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return e}(t),a=Zn(o)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(o)}`}]}}:Ga(n,o,void 0,r,!0);a.level="error",Bo(a,{originalException:o,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})}),Wn(t,Un)}()}(e),_i("onunhandledrejection"))}}})(),((e={})=>{const t=e.limit||5,n=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,r,o){xa(Wa,o.getOptions().stackParser,n,t,e,r)}}})(),(()=>{let e;return{name:"Dedupe",processEvent(t){if(t.type)return t;try{if(function(e,t){return!!t&&(!!function(e,t){const n=e.message,r=t.message;return!(!n&&!r)&&(!(n&&!r||!n&&r)&&(n===r&&(!!Ea(e,t)&&!!Ca(e,t))))}(e,t)||!!function(e,t){const n=Pa(t),r=Pa(e);return!(!n||!r)&&(n.type===r.type&&n.value===r.value&&(!!Ea(e,t)&&!!Ca(e,t)))}(e,t))}(t,e))return gn&&zn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}})(),{name:"HttpContext",preprocessEvent(e){if(!Fa.navigator&&!Fa.location&&!Fa.document)return;const t=function(){const e=sr(),{referrer:t}=Fa.document||{},{userAgent:n}=Fa.navigator||{};return{url:e,headers:{...t&&{Referer:t},...n&&{"User-Agent":n}}}}(),n={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:n}}},{name:"BrowserSession",setupOnce(){void 0!==Fa.document?($o({ignoreDuration:!0}),Uo(),oi(({from:e,to:t})=>{void 0!==e&&e!==t&&($o({ignoreDuration:!0}),Uo())})):yi&&zn("Using the `browserSessionIntegration` in non-browser environments is not supported.")}}].filter(e=>!["BrowserApiErrors","Breadcrumbs","GlobalHandlers"].includes(e.name)),Pi=new class extends oa{constructor(e){const t=(n=e,{release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:Fa.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...n});var n;!function(e,t,n=[t],r="npm"){const o=e._metadata||{};o.sdk||(o.sdk={name:`sentry.javascript.${t}`,packages:n.map(e=>({name:`${r}:@sentry/${e}`,version:bn})),version:bn}),e._metadata=o}(t,"browser",["browser"],Fa.SENTRY_SDK_SOURCE||"npm"),t._metadata?.sdk&&(t._metadata.sdk.settings={infer_ip:t.sendDefaultPii?"auto":"never",...t._metadata.sdk.settings}),super(t);const{sendDefaultPii:r,sendClientReports:o,enableLogs:a}=this._options;Fa.document&&(o||a)&&Fa.document.addEventListener("visibilitychange",()=>{"hidden"===Fa.document.visibilityState&&(o&&this._flushOutcomes(),a&&la(this))}),a&&(this.on("flush",()=>{la(this)}),this.on("afterCaptureLog",()=>{this._logFlushIdleTimeout&&clearTimeout(this._logFlushIdleTimeout),this._logFlushIdleTimeout=setTimeout(()=>{la(this)},5e3)})),r&&this.on("beforeSendSession",da)}eventFromException(e,t){return function(e,t,n,r){const o=Ga(e,t,n?.syntheticException||void 0,r);return _r(o),o.level="error",n?.event_id&&(o.event_id=n.event_id),Io(o)}(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return function(e,t,n="info",r,o){const a=Ya(e,t,r?.syntheticException||void 0,o);return a.level=n,r?.event_id&&(a.event_id=r.event_id),Io(a)}(this._options.stackParser,e,t,n,this._options.attachStacktrace)}_prepareEvent(e,t,n,r){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n,r)}}({dsn:"https://ffd963e90a83743e3fed7e00476fc6d8@sentry.hamravesh.com/9104",transport:function(t,n=function(t){const n=ii[t];if(n)return n;let r=Qa[t];if(Ia(r))return ii[t]=r.bind(Qa);const o=Qa.document;if(o&&"function"==typeof o.createElement)try{const e=o.createElement("iframe");e.hidden=!0,o.head.appendChild(e);const n=e.contentWindow;n?.[t]&&(r=n[t]),o.head.removeChild(e)}catch(e){Ka&&zn(`Could not create sandbox iframe for ${t} check, bailing to window.${t}: `,e)}return r?ii[t]=r.bind(Qa):r}("fetch")){let r=0,o=0;return ua(t,function(a){const i=a.body.length;r+=i,o++;const l={body:a.body,method:"POST",referrerPolicy:"strict-origin",headers:t.headers,keepalive:r<=6e4&&o<15,...t.fetchOptions};if(!n)return li("fetch"),Oo("No fetch implementation available");try{return n(t.url,l).then(e=>(r-=i,o--,{statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")}}))}catch(e){return li("fetch"),r-=i,o--,Oo(e)}})},stackParser:bi,integrations:Ei,tracesSampleRate:.1,tracePropagationTargets:["localhost",/^https:\/\/yourserver\.io\/api/],debug:!1,environment:"production"}),zi=new Fr;zi.setClient(Pi);try{Pi.init()}catch(fx){}const Ti=(e,t)=>(...n)=>{try{return t(...n)}catch(fx){zi.captureException(fx,{captureContext:{extra:{context:e}}})}},Ri=(e,t)=>(...n)=>{try{return t(...n).catch(t=>{throw"AbortError"!==t.name&&zi.captureException(t,{captureContext:{extra:{context:e}}}),t})}catch(fx){throw"AbortError"!==fx.name&&zi.captureException(fx,{captureContext:{extra:{context:e}}}),fx}},Ii="https://standardapi.dori.tech",Oi={demoSharingData:`${Ii}/bot-sharing-data/`,streamChat:`${Ii}/stream-chat-with-assistant/`,searchProductLog:`${Ii}/search-selected-item-log`},Ai=Ri("fetchBotDataBySharingID",async(e,t)=>async function(e,t=3){let n;for(let r=0;r<t;r++)try{return await e()}catch(fx){if(n=fx,r===t-1)throw n}throw n}(async()=>{const n=Oi.demoSharingData+e+(t?`?product_id=${t}`:""),r=await fetch(n);if(200!==r.status)throw new Error(`Network response was not ok: ${r.status}`);return await r.json()},3)),Di=Ri("sendMessageToStreamAPI",async(e,t,n,r,o,a,i,l)=>{const s=t.assistant_id;let c=e;const u={assistant_id:s,thread_id:n||void 0,src:"undefined"!=typeof window?window.location.href:"",message:c,platform:"shopify_pdp",product_id:l||void 0};Object.keys(u).forEach(e=>void 0===u[e]&&delete u[e]);const d=new URLSearchParams({assistant_id:s}).toString(),f=`${Oi.streamChat}?${d}`,p=await fetch(f,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(u),signal:i?.signal});if(i?.signal.aborted)return;if(429===p.status)return void o("You have exceeded the request limit. Please wait at least 24 hours and try again.");if(402===p.status)return void o("Hello 😊 The smart assistant for this business is currently inactive because its subscription has expired. If you have any questions, please contact the business directly. We hope to be at your service again soon!");if(!p.body)throw new Error("ReadableStream not supported in this environment.");const h=p.body.getReader(),g=new TextDecoder("utf-8");let m="";for(;;){if(i?.signal.aborted)return void h.cancel();const{value:e,done:t}=await h.read();if(t)break;if(e){const t=g.decode(e,{stream:!0});m+=t;let n=m.indexOf("}{");for(;-1!==n;){const e=m.slice(0,n+1);m=m.slice(n+1),Ti("JSON parse in streaming",()=>{const t=JSON.parse(e);r(t)})(),n=m.indexOf("}{")}m.endsWith("}")&&Ti("JSON parse remaining buffer",()=>{const e=JSON.parse(m);r(e),m=""})()}}a()}),Ni=Ri("trackProductClick",async(e,t,n)=>{const r={log:{assistant_id:t.assistant_id,thread_id:n,created_at:(new Date).toISOString(),selected_item_id:e.id,tool_call_id:e.tool_call_id}};await fetch(Oi.searchProductLog,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(r)})}),Fi={create_custom_product_card:"Preparing products to show you...",create_product_card:"Preparing products to show you...",create_order:"Starting the order process...",get_product_detail:"Finding product details for you...",product_retrieval:"Searching for the best options for you...",order_notes:"Adding your notes to the order...",order_persistence:"Saving your order carefully...",payment_processing:"Processing your payment information...",retrieve_faq:"Looking for the best answer for you...",prompt_recommendation:"",similar_products:"Looking for similar products for you...",track_order:"Checking your order status...",thinking:"Thinking..."},ji=y.createContext(void 0);function Mi({children:e}){const[t,n]=y.useState(null),[r,o]=y.useState(!1),[a,i]=y.useState(null),[l,s]=y.useState(null),[c,u]=y.useState({repliedProduct:null,threadId:null,isRequestInProgress:!1}),[d,f]=y.useState([]),[p,g]=y.useState("welcome"),[m,b]=y.useState(!1),[v,x]=y.useState("starting"),k=y.useRef(null),S=y.useCallback(e=>{u(t=>({...t,repliedProduct:e}))},[]),w=y.useCallback(e=>{if(!e)return[];if(Array.isArray(e))return e;try{return JSON.parse(e)}catch(fx){return[]}},[]),_=y.useCallback(()=>{k.current&&(k.current.abort(),k.current=null),u(e=>({...e,isRequestInProgress:!1,repliedProduct:null})),b(!1),x("starting"),g("ongoing"),f(e=>e.filter(e=>"loading"!==e.type))},[]),C=y.useCallback(Ri("initializeBot",async(e,t)=>{if(!e||""===e.trim())return void i("Invalid sharing ID provided");o(!0),i(null),s(t||null);let r=!1;try{const o=await(async()=>{if(window.moriBotDataPromise)try{return await window.moriBotDataPromise}catch(fx){}else if(await new Promise(e=>setTimeout(e,50)),window.moriBotDataPromise)try{return await window.moriBotDataPromise}catch(fx){}const n=await Ai(e,t||void 0);return n.error?(i(n.error),r=!0,null):n.data?n.data:(r=!0,null)})();if(!o)return void(r||i("No bot data found"));const a={...o,sharing_id:e,suggestedReply:w(o.suggested_prompts||o.suggestedReply)};n(a),g("initial-greeting")}finally{o(!1)}}),[w]),E=y.useCallback(Ti("addWelcomeMessage",()=>{const e={id:Date.now().toString(),type:"welcome",timestamp:new Date,content:t?.wellcomeMessage||"Whatever you have in mind about your purchase, I'm here to help you!"};f(t=>[...t,e])}),[t?.wellcomeMessage]),P=y.useCallback(Ri("sendMessage",async({message:e,apiMessage:n},r)=>{if(!t||m)return;const o={id:Date.now().toString(),type:"user",content:e,timestamp:new Date,repliedProduct:r};f(e=>[...e.filter(e=>"suggestions"!==e.type),o]),k.current&&(k.current.abort(),k.current=null),g("thinking"),b(!0),x("generating"),u(e=>({...e,isRequestInProgress:!0})),k.current=new AbortController;let a={id:(Date.now()+1).toString(),type:"loading",content:"Let me check for a moment...",timestamp:new Date};f(e=>[...e,a]);let i=n||e;r&&(i=`this message is replied to product with id ${r.id}: ${e}`);let s="",d=null,p=[],h=[];try{await Di(i,t,c.threadId,e=>{Ti("streaming chunk handler",()=>{if(e.thread_id)u(t=>({...t,threadId:e.thread_id||null}));else if(e.wait)d&&s.trim()&&f(e=>e.map(e=>e.id===d?.id?{...e,content:s}:e)),d=null,s="",f(t=>{return[...t.filter(e=>"loading"!==e.type),{id:(Date.now()+Math.random()).toString(),type:"loading",content:(n=e.tool_name,n&&n in Fi?Fi[n]:"Let me check for a moment..."),timestamp:new Date}];var n});else if(e.text)if(s+=e.text,d)f(e=>e.map(e=>e.id===d?.id?{...e,content:s}:e));else{const e={id:(Date.now()+Math.random()).toString(),type:"mori",content:s,timestamp:new Date};f(t=>[...t.filter(e=>"loading"!==e.type),e]),d=e}else e.products&&e.products.length>0?(p=[...p,...e.products],f(t=>{const n=[...t.filter(e=>"loading"!==e.type)],r=n.findIndex(e=>e.id===d?.id),o={id:(Date.now()+3).toString(),type:"products",content:"Suggested products:",timestamp:new Date,products:p,tool_call_id:e.products?.[0]?.tool_call_id||""};return-1!==r?n.splice(r+1,0,o):n.push(o),n})):e.suggestions&&e.suggestions.length>0&&(h=[...h,...e.suggestions])})()},e=>{if(k.current?.signal.aborted)return k.current=null,u(e=>({...e,isRequestInProgress:!1,repliedProduct:null})),b(!1),x("starting"),g("ongoing"),void f(e=>e.filter(e=>"loading"!==e.type));f(t=>[...t.filter(e=>"loading"!==e.type),{id:(Date.now()+2).toString(),type:"mori",content:e,timestamp:new Date}]),g("ongoing")},()=>{h.length>0&&f(e=>{const t=[...e.filter(e=>"suggestions"!==e.type&&"loading"!==e.type)],n=t.findIndex(e=>e.id===d?.id),r={id:(Date.now()+4).toString(),type:"suggestions",content:"Suggestions:",timestamp:new Date,suggestions:h};return-1!==n?t.splice(n+1,0,r):t.push(r),t}),k.current=null,u(e=>({...e,isRequestInProgress:!1,repliedProduct:null})),b(!1),x("starting"),g("ongoing")},k.current,l)}catch(fx){k.current?.signal.aborted||"AbortError"===fx.name?(k.current=null,u(e=>({...e,isRequestInProgress:!1,repliedProduct:null})),b(!1),x("starting"),g("ongoing"),f(e=>e.filter(e=>"loading"!==e.type))):(f(e=>[...e.filter(e=>"loading"!==e.type),{id:(Date.now()+2).toString(),type:"mori",content:"Unfortunately, an error occurred. Please try again.",timestamp:new Date}]),g("ongoing"),u(e=>({...e,isRequestInProgress:!1,repliedProduct:null})),b(!1),x("starting"),k.current=null)}}),[t,m,c.threadId]),z=y.useCallback(()=>{k.current&&(k.current.abort(),k.current=null),n(null),f([]),g("welcome"),b(!1),x("starting"),u({repliedProduct:null,threadId:null,isRequestInProgress:!1})},[]),T={botData:t,isLoadingBot:r,botError:a,chatState:c,messages:d,currentStep:p,isInputDisabled:m,inputState:v,initializeBot:C,sendMessage:P,stopCurrentRequest:_,setCurrentStep:g,setInputState:x,addWelcomeMessage:E,setRepliedProduct:S,resetBot:z};return h.jsx(ji.Provider,{value:T,children:e})}function Li(){const e=y.useContext(ji);if(void 0===e)throw new Error("useChatContext must be used within a ChatProvider");return e}const Wi=e=>null!=e;function Bi(e,t,n={}){const{stop:r,getKey:o}=n;return function e(n,a=[]){if(qt(n)||Array.isArray(n)){const i={};for(const[l,s]of Object.entries(n)){const c=o?.(l,s)??l,u=[...a,c];if(r?.(n,u))return t(n,a);const d=e(s,u);Wi(d)&&(i[c]=d)}return i}return t(n,a)}(e)}function $i(e,t){return Array.isArray(e)?e.map(e=>Wi(e)?t(e):e):qt(e)?Bi(e,e=>t(e)):Wi(e)?t(e):e}const Vi=y.forwardRef(function(e,t){const{direction:n="column",align:r,justify:o,gap:a="0.5rem",wrap:i,children:l,separator:s,className:c,...u}=e,d=y.useMemo(()=>function(e){const{gap:t,direction:n}=e,r={column:{marginY:t,marginX:0,borderInlineStartWidth:0,borderTopWidth:"1px"},"column-reverse":{marginY:t,marginX:0,borderInlineStartWidth:0,borderTopWidth:"1px"},row:{marginX:t,marginY:0,borderInlineStartWidth:"1px",borderTopWidth:0},"row-reverse":{marginX:t,marginY:0,borderInlineStartWidth:"1px",borderTopWidth:0}};return{"&":$i(n,e=>r[e])}}({gap:a,direction:n}),[a,n]),f=y.useMemo(()=>y.isValidElement(s)?function(e){return y.Children.toArray(e).filter(e=>y.isValidElement(e))}(l).map((e,t,n)=>{const r=void 0!==e.key?e.key:t,o=s,a=y.cloneElement(o,{css:[d,o.props.css]});return h.jsxs(y.Fragment,{children:[e,t===n.length-1?null:a]},r)}):l,[l,s,d]);return h.jsx(fn.div,{ref:t,display:"flex",alignItems:r,justifyContent:o,flexDirection:n,flexWrap:i,gap:s?void 0:a,className:Ut("chakra-stack",c),...u,children:f})}),Hi=y.forwardRef(function(e,t){return h.jsx(Vi,{align:"center",...e,direction:"row",ref:t})}),Ui=y.forwardRef(function(e,t){return h.jsx(Vi,{align:"center",...e,direction:"column",ref:t})}),qi=Object.freeze({}),Gi=Object.freeze({});function Yi(e){const{key:t,recipe:n}=e,r=(o=t||n.className||"Component").charAt(0).toUpperCase()+o.slice(1);var o;const[a,i]=Kt({strict:!1,name:`${r}PropsContext`,providerName:`${r}PropsContext`});function l(e){const{unstyled:r,...o}=e,a=function(e){const{key:t,recipe:n}=e,r=Jt();return y.useMemo(()=>{const e=n||(null!=t?r.getRecipe(t):{});return r.cva(structuredClone(e))},[t,n,r])}({key:t,recipe:o.recipe||n}),[i,l]=y.useMemo(()=>a.splitVariantProps(o),[a,o]);return{styles:r?qi:a(i),className:a.className,props:l}}return{withContext:(e,t)=>{const n=fn(e,{},t),r=y.forwardRef((e,t)=>{const r=i(),o=y.useMemo(()=>Vt(r,e),[e,r]),{styles:a,className:s,props:c}=l(o);return h.jsx(n,{...c,ref:t,css:[a,o.css],className:Ut(s,o.className)})});return r.displayName=e.displayName||e.name,r},PropsProvider:a,withPropsProvider:function(){return a},usePropsContext:i,useRecipeResult:l}}const Xi=fn("span"),{withContext:Ki}=Yi({key:"spinner"}),Qi=Ki("span"),Ji=fn("div",{base:{position:"absolute",display:"flex",alignItems:"center",justifyContent:"center"},variants:{axis:{horizontal:{insetStart:"50%",translate:"-50%",_rtl:{translate:"50%"}},vertical:{top:"50%",translate:"0 -50%"},both:{insetStart:"50%",top:"50%",translate:"-50% -50%",_rtl:{translate:"50% -50%"}}}},defaultVariants:{axis:"both"}});Ji.displayName="AbsoluteCenter";const Zi=y.forwardRef(function(e,t){const{spinner:n=h.jsx(Qi,{size:"inherit",borderWidth:"0.125em",color:"inherit"}),spinnerPlacement:r="start",children:o,text:a,visible:i=!0,...l}=e;return i?a?h.jsxs(Xi,{ref:t,display:"contents",...l,children:["start"===r&&n,a,"end"===r&&n]}):n?h.jsxs(Xi,{ref:t,display:"contents",...l,children:[h.jsx(Ji,{display:"inline-flex",children:n}),h.jsx(Xi,{visibility:"hidden",display:"contents",children:o})]}):h.jsx(Xi,{ref:t,display:"contents",...l,children:o}):o}),{useRecipeResult:el,usePropsContext:tl}=Yi({key:"button"}),nl=y.forwardRef(function(e,t){const n=tl(),r=y.useMemo(()=>Vt(n,e),[n,e]),o=el(r),{loading:a,loadingText:i,children:l,spinner:s,spinnerPlacement:c,...u}=o.props;return h.jsx(fn.button,{type:"button",ref:t,...u,"data-loading":(d=a,d?"":void 0),disabled:a||u.disabled,className:Ut(o.className,r.className),css:[o.styles,r.css],children:!r.asChild&&a?h.jsx(Zi,{spinner:s,text:i,spinnerPlacement:c,children:l}):l});var d}),rl=y.forwardRef(function(e,t){return h.jsx(nl,{px:"0",py:"0",_icon:{fontSize:"1.2em"},ref:t,...e})}),ol=y.forwardRef(function(e,t){const{align:n,fit:r="cover",...o}=e;return h.jsx(fn.img,{ref:t,objectFit:r,objectPosition:n,className:Ut("chakra-image",e.className),...o})}),{withContext:al}=Yi({key:"text"}),il=al("p"),{withContext:ll}=Yi({key:"link"}),sl=ll("a"),{StylesProvider:cl,ClassNamesProvider:ul,useRecipeResult:dl,withContext:fl}=(()=>{const{key:e,recipe:t}={key:"table"},n=(r=e||t.className||"Component").charAt(0).toUpperCase()+r.slice(1);var r;const[o,a]=Kt({name:`${n}StylesContext`,errorMessage:`use${n}Styles returned is 'undefined'. Seems you forgot to wrap the components in "<${n}.Root />" `}),[i,l]=Kt({name:`${n}ClassNameContext`,errorMessage:`use${n}ClassNames returned is 'undefined'. Seems you forgot to wrap the components in "<${n}.Root />" `,strict:!1}),[s,c]=Kt({strict:!1,name:`${n}PropsContext`,providerName:`${n}PropsContext`,defaultValue:{}});function u(n){const{unstyled:r,...o}=n,a=function(e){const{key:t,recipe:n}=e,r=Jt();return y.useMemo(()=>{const e=n||(null!=t?r.getSlotRecipe(t):{});return r.sva(structuredClone(e))},[t,n,r])}({key:e,recipe:o.recipe||t}),[i,l]=y.useMemo(()=>a.splitVariantProps(o),[o,a]);return{styles:y.useMemo(()=>r?Gi:a(i),[r,i,a]),classNames:a.classNameMap,props:l}}return{StylesProvider:o,ClassNamesProvider:i,PropsProvider:s,usePropsContext:c,useRecipeResult:u,withProvider:(e,t,n)=>{const{defaultProps:r,...a}=n??{},l=fn(e,{},a),s=y.forwardRef((e,a)=>{const s=c(),d=y.useMemo(()=>Vt(r??{},s,e),[s,e]),{styles:f,props:p,classNames:g}=u(d),m=g[t],b=h.jsx(o,{value:f,children:h.jsx(i,{value:g,children:h.jsx(l,{ref:a,...p,css:[f[t],d.css],className:Ut(d.className,m)})})});return n?.wrapElement?.(b,d)??b});return s.displayName=e.displayName||e.name,s},withContext:(e,t,n)=>{const r=fn(e,{},n),o=y.forwardRef((e,n)=>{const{unstyled:o,...i}=e,s=a(),c=l(),u=c?.[t];return h.jsx(r,{...i,css:[!o&&t?s[t]:void 0,e.css],ref:n,className:Ut(e.className,u)})});return o.displayName=e.displayName||e.name,o},withRootProvider:function(e,t={}){const{defaultProps:n}=t,r=t=>{const r=c(),a=y.useMemo(()=>Vt(n,r,t),[r,t]),{styles:l,classNames:s,props:d}=u(a);return h.jsx(o,{value:l,children:h.jsx(i,{value:s,children:h.jsx(e,{...d})})})};return r.displayName=e.displayName||e.name,r},useStyles:a,useClassNames:l}})(),pl=y.forwardRef(function({native:e,...t},n){const{styles:r,props:o,classNames:a}=dl(t),i=y.useMemo(()=>e?{...r.root,"& thead":r.header,"& tbody":r.body,"& tfoot":r.footer,"& thead th":r.columnHeader,"& tr":r.row,"& td":r.cell,"& caption":r.caption}:r.root,[r,e]);return h.jsx(ul,{value:a,children:h.jsx(cl,{value:r,children:h.jsx(fn.table,{ref:n,...o,css:[i,t.css],className:Ut(a?.root,t.className)})})})}),hl=fl("tr","row");fn("div",{base:{display:"block",whiteSpace:"nowrap",WebkitOverflowScrolling:"touch",overflow:"auto",maxWidth:"100%"}});const gl=fl("thead","header");fl("tfoot","footer");const ml=fl("th","columnHeader"),bl=fl("td","cell");fl("caption","caption",{defaultProps:{captionSide:"bottom"}});const vl=fl("tbody","body");fl("colgroup"),fl("col");const yl=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,xl=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,kl={};function Sl(e,t){return(kl.jsx?xl:yl).test(e)}const wl=/[ \t\n\f\r]/g;function _l(e){return""===e.replace(wl,"")}class Cl{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function El(e,t){const n={},r={};for(const o of e)Object.assign(n,o.property),Object.assign(r,o.normal);return new Cl(n,r,t)}function Pl(e){return e.toLowerCase()}Cl.prototype.normal={},Cl.prototype.property={},Cl.prototype.space=void 0;class zl{constructor(e,t){this.attribute=t,this.property=e}}zl.prototype.attribute="",zl.prototype.booleanish=!1,zl.prototype.boolean=!1,zl.prototype.commaOrSpaceSeparated=!1,zl.prototype.commaSeparated=!1,zl.prototype.defined=!1,zl.prototype.mustUseProperty=!1,zl.prototype.number=!1,zl.prototype.overloadedBoolean=!1,zl.prototype.property="",zl.prototype.spaceSeparated=!1,zl.prototype.space=void 0;let Tl=0;const Rl=jl(),Il=jl(),Ol=jl(),Al=jl(),Dl=jl(),Nl=jl(),Fl=jl();function jl(){return 2**++Tl}const Ml=Object.freeze(Object.defineProperty({__proto__:null,boolean:Rl,booleanish:Il,commaOrSpaceSeparated:Fl,commaSeparated:Nl,number:Al,overloadedBoolean:Ol,spaceSeparated:Dl},Symbol.toStringTag,{value:"Module"})),Ll=Object.keys(Ml);class Wl extends zl{constructor(e,t,n,r){let o=-1;if(super(e,t),Bl(this,"space",r),"number"==typeof n)for(;++o<Ll.length;){const e=Ll[o];Bl(this,Ll[o],(n&Ml[e])===Ml[e])}}}function Bl(e,t,n){n&&(e[t]=n)}function $l(e){const t={},n={};for(const[r,o]of Object.entries(e.properties)){const a=new Wl(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[Pl(r)]=r,n[Pl(a.attribute)]=r}return new Cl(t,n,e.space)}Wl.prototype.defined=!0;const Vl=$l({properties:{ariaActiveDescendant:null,ariaAtomic:Il,ariaAutoComplete:null,ariaBusy:Il,ariaChecked:Il,ariaColCount:Al,ariaColIndex:Al,ariaColSpan:Al,ariaControls:Dl,ariaCurrent:null,ariaDescribedBy:Dl,ariaDetails:null,ariaDisabled:Il,ariaDropEffect:Dl,ariaErrorMessage:null,ariaExpanded:Il,ariaFlowTo:Dl,ariaGrabbed:Il,ariaHasPopup:null,ariaHidden:Il,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Dl,ariaLevel:Al,ariaLive:null,ariaModal:Il,ariaMultiLine:Il,ariaMultiSelectable:Il,ariaOrientation:null,ariaOwns:Dl,ariaPlaceholder:null,ariaPosInSet:Al,ariaPressed:Il,ariaReadOnly:Il,ariaRelevant:null,ariaRequired:Il,ariaRoleDescription:Dl,ariaRowCount:Al,ariaRowIndex:Al,ariaRowSpan:Al,ariaSelected:Il,ariaSetSize:Al,ariaSort:null,ariaValueMax:Al,ariaValueMin:Al,ariaValueNow:Al,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function Hl(e,t){return t in e?e[t]:t}function Ul(e,t){return Hl(e,t.toLowerCase())}const ql=$l({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Nl,acceptCharset:Dl,accessKey:Dl,action:null,allow:null,allowFullScreen:Rl,allowPaymentRequest:Rl,allowUserMedia:Rl,alt:null,as:null,async:Rl,autoCapitalize:null,autoComplete:Dl,autoFocus:Rl,autoPlay:Rl,blocking:Dl,capture:null,charSet:null,checked:Rl,cite:null,className:Dl,cols:Al,colSpan:null,content:null,contentEditable:Il,controls:Rl,controlsList:Dl,coords:Al|Nl,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Rl,defer:Rl,dir:null,dirName:null,disabled:Rl,download:Ol,draggable:Il,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Rl,formTarget:null,headers:Dl,height:Al,hidden:Ol,high:Al,href:null,hrefLang:null,htmlFor:Dl,httpEquiv:Dl,id:null,imageSizes:null,imageSrcSet:null,inert:Rl,inputMode:null,integrity:null,is:null,isMap:Rl,itemId:null,itemProp:Dl,itemRef:Dl,itemScope:Rl,itemType:Dl,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Rl,low:Al,manifest:null,max:null,maxLength:Al,media:null,method:null,min:null,minLength:Al,multiple:Rl,muted:Rl,name:null,nonce:null,noModule:Rl,noValidate:Rl,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:Rl,optimum:Al,pattern:null,ping:Dl,placeholder:null,playsInline:Rl,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Rl,referrerPolicy:null,rel:Dl,required:Rl,reversed:Rl,rows:Al,rowSpan:Al,sandbox:Dl,scope:null,scoped:Rl,seamless:Rl,selected:Rl,shadowRootClonable:Rl,shadowRootDelegatesFocus:Rl,shadowRootMode:null,shape:null,size:Al,sizes:null,slot:null,span:Al,spellCheck:Il,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Al,step:null,style:null,tabIndex:Al,target:null,title:null,translate:null,type:null,typeMustMatch:Rl,useMap:null,value:Il,width:Al,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Dl,axis:null,background:null,bgColor:null,border:Al,borderColor:null,bottomMargin:Al,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Rl,declare:Rl,event:null,face:null,frame:null,frameBorder:null,hSpace:Al,leftMargin:Al,link:null,longDesc:null,lowSrc:null,marginHeight:Al,marginWidth:Al,noResize:Rl,noHref:Rl,noShade:Rl,noWrap:Rl,object:null,profile:null,prompt:null,rev:null,rightMargin:Al,rules:null,scheme:null,scrolling:Il,standby:null,summary:null,text:null,topMargin:Al,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Al,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Rl,disableRemotePlayback:Rl,prefix:null,property:null,results:Al,security:null,unselectable:null},space:"html",transform:Ul}),Gl=$l({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Fl,accentHeight:Al,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Al,amplitude:Al,arabicForm:null,ascent:Al,attributeName:null,attributeType:null,azimuth:Al,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Al,by:null,calcMode:null,capHeight:Al,className:Dl,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:Al,diffuseConstant:Al,direction:null,display:null,dur:null,divisor:Al,dominantBaseline:null,download:Rl,dx:null,dy:null,edgeMode:null,editable:null,elevation:Al,enableBackground:null,end:null,event:null,exponent:Al,externalResourcesRequired:null,fill:null,fillOpacity:Al,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:Nl,g2:Nl,glyphName:Nl,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Al,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Al,horizOriginX:Al,horizOriginY:Al,id:null,ideographic:Al,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Al,k:Al,k1:Al,k2:Al,k3:Al,k4:Al,kernelMatrix:Fl,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Al,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Al,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:Al,overlineThickness:Al,paintOrder:null,panose1:null,path:null,pathLength:Al,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Dl,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Al,pointsAtY:Al,pointsAtZ:Al,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Fl,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Fl,rev:Fl,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Fl,requiredFeatures:Fl,requiredFonts:Fl,requiredFormats:Fl,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:Al,specularExponent:Al,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Al,strikethroughThickness:Al,string:null,stroke:null,strokeDashArray:Fl,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Al,strokeOpacity:Al,strokeWidth:null,style:null,surfaceScale:Al,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Fl,tabIndex:Al,tableValues:null,target:null,targetX:Al,targetY:Al,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Fl,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Al,underlineThickness:Al,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Al,values:null,vAlphabetic:Al,vMathematical:Al,vectorEffect:null,vHanging:Al,vIdeographic:Al,version:null,vertAdvY:Al,vertOriginX:Al,vertOriginY:Al,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Al,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Hl}),Yl=$l({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),Xl=$l({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Ul}),Kl=$l({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),Ql={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"},Jl=/[A-Z]/g,Zl=/-[a-z]/g,es=/^data[-\w.:]+$/i;function ts(e){return"-"+e.toLowerCase()}function ns(e){return e.charAt(1).toUpperCase()}const rs=El([Vl,ql,Yl,Xl,Kl],"html"),os=El([Vl,Gl,Yl,Xl,Kl],"svg");var as,is,ls,ss={};function cs(){if(is)return as;is=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,i=/^[;\s]*/,l=/^\s+|\s+$/g,s="";function c(e){return e?e.replace(l,s):s}return as=function(l,u){if("string"!=typeof l)throw new TypeError("First argument must be a string");if(!l)return[];u=u||{};var d=1,f=1;function p(e){var n=e.match(t);n&&(d+=n.length);var r=e.lastIndexOf("\n");f=~r?e.length-r:f+e.length}function h(){var e={line:d,column:f};return function(t){return t.position=new g(e),v(),t}}function g(e){this.start=e,this.end={line:d,column:f},this.source=u.source}function m(e){var t=new Error(u.source+":"+d+":"+f+": "+e);if(t.reason=e,t.filename=u.source,t.line=d,t.column=f,t.source=l,!u.silent)throw t}function b(e){var t=e.exec(l);if(t){var n=t[0];return p(n),l=l.slice(n.length),t}}function v(){b(n)}function y(e){var t;for(e=e||[];t=x();)!1!==t&&e.push(t);return e}function x(){var e=h();if("/"==l.charAt(0)&&"*"==l.charAt(1)){for(var t=2;s!=l.charAt(t)&&("*"!=l.charAt(t)||"/"!=l.charAt(t+1));)++t;if(t+=2,s===l.charAt(t-1))return m("End of comment missing");var n=l.slice(2,t-2);return f+=2,p(n),l=l.slice(t),f+=2,e({type:"comment",comment:n})}}function k(){var t=h(),n=b(r);if(n){if(x(),!b(o))return m("property missing ':'");var l=b(a),u=t({type:"declaration",property:c(n[0].replace(e,s)),value:l?c(l[0].replace(e,s)):s});return b(i),u}}return g.prototype.content=l,v(),function(){var e,t=[];for(y(t);e=k();)!1!==e&&(t.push(e),y(t));return t}()}}function us(){if(ls)return ss;ls=1;var e=ss&&ss.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(ss,"__esModule",{value:!0}),ss.default=function(e,n){var r=null;if(!e||"string"!=typeof e)return r;var o=(0,t.default)(e),a="function"==typeof n;return o.forEach(function(e){if("declaration"===e.type){var t=e.property,o=e.value;a?n(t,o,e):o&&((r=r||{})[t]=o)}}),r};var t=e(cs());return ss}var ds,fs,ps,hs={};function gs(){if(ds)return hs;ds=1,Object.defineProperty(hs,"__esModule",{value:!0}),hs.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,n=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,o=/^-(ms)-/,a=function(e,t){return t.toUpperCase()},i=function(e,t){return"".concat(t,"-")};return hs.camelCase=function(l,s){return void 0===s&&(s={}),function(t){return!t||n.test(t)||e.test(t)}(l)?l:(l=l.toLowerCase(),(l=s.reactCompat?l.replace(o,i):l.replace(r,i)).replace(t,a))},hs}function ms(){if(ps)return fs;ps=1;var e=fs&&fs.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},t=e(us()),n=gs();function r(e,r){var o={};return e&&"string"==typeof e?((0,t.default)(e,function(e,t){e&&t&&(o[(0,n.camelCase)(e,r)]=t)}),o):o}return r.default=r,fs=r}const bs=o(ms()),vs=xs("end"),ys=xs("start");function xs(e){return function(t){const n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function ks(e){return e&&"object"==typeof e?"position"in e||"type"in e?ws(e.position):"start"in e||"end"in e?ws(e):"line"in e||"column"in e?Ss(e):"":""}function Ss(e){return _s(e&&e.line)+":"+_s(e&&e.column)}function ws(e){return Ss(e&&e.start)+"-"+Ss(e&&e.end)}function _s(e){return e&&"number"==typeof e?e:1}class Cs extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r="",o={},a=!1;if(t&&(o="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?r=e:!o.cause&&e&&(a=!0,r=e.message,o.cause=e),!o.ruleId&&!o.source&&"string"==typeof n){const e=n.indexOf(":");-1===e?o.ruleId=n:(o.source=n.slice(0,e),o.ruleId=n.slice(e+1))}if(!o.place&&o.ancestors&&o.ancestors){const e=o.ancestors[o.ancestors.length-1];e&&(o.place=e.position)}const i=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=i?i.column:void 0,this.fatal=void 0,this.file="",this.message=r,this.line=i?i.line:void 0,this.name=ks(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=a&&o.cause&&"string"==typeof o.cause.stack?o.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Cs.prototype.file="",Cs.prototype.name="",Cs.prototype.reason="",Cs.prototype.message="",Cs.prototype.stack="",Cs.prototype.column=void 0,Cs.prototype.line=void 0,Cs.prototype.ancestors=void 0,Cs.prototype.cause=void 0,Cs.prototype.fatal=void 0,Cs.prototype.place=void 0,Cs.prototype.ruleId=void 0,Cs.prototype.source=void 0;const Es={}.hasOwnProperty,Ps=new Map,zs=/[A-Z]/g,Ts=new Set(["table","tbody","thead","tfoot","tr"]),Rs=new Set(["td","th"]),Is="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function Os(e,t,n){return"element"===t.type?function(e,t,n){const r=e.schema;let o=r;"svg"===t.tagName.toLowerCase()&&"html"===r.space&&(o=os,e.schema=o),e.ancestors.push(t);const a=js(e,t.tagName,!1),i=function(e,t){const n={};let r,o;for(o in t.properties)if("children"!==o&&Es.call(t.properties,o)){const a=Fs(e,o,t.properties[o]);if(a){const[o,i]=a;e.tableCellAlignToStyle&&"align"===o&&"string"==typeof i&&Rs.has(t.tagName)?r=i:n[o]=i}}return r&&((n.style||(n.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=r),n}(e,t);let l=Ns(e,t);return Ts.has(t.tagName)&&(l=l.filter(function(e){return"string"!=typeof e||!("object"==typeof(t=e)?"text"===t.type&&_l(t.value):_l(t));var t})),As(e,i,a,t),Ds(i,l),e.ancestors.pop(),e.schema=r,e.create(t,a,i,n)}(e,t,n):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){const n=t.data.estree.body[0];return e.evaluater.evaluateExpression(n.expression)}Ms(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?function(e,t,n){const r=e.schema;let o=r;"svg"===t.name&&"html"===r.space&&(o=os,e.schema=o),e.ancestors.push(t);const a=null===t.name?e.Fragment:js(e,t.name,!0),i=function(e,t){const n={};for(const r of t.attributes)if("mdxJsxExpressionAttribute"===r.type)if(r.data&&r.data.estree&&e.evaluater){const t=r.data.estree.body[0].expression.properties[0];Object.assign(n,e.evaluater.evaluateExpression(t.argument))}else Ms(e,t.position);else{const o=r.name;let a;if(r.value&&"object"==typeof r.value)if(r.value.data&&r.value.data.estree&&e.evaluater){const t=r.value.data.estree.body[0];a=e.evaluater.evaluateExpression(t.expression)}else Ms(e,t.position);else a=null===r.value||r.value;n[o]=a}return n}(e,t),l=Ns(e,t);return As(e,i,a,t),Ds(i,l),e.ancestors.pop(),e.schema=r,e.create(t,a,i,n)}(e,t,n):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Ms(e,t.position)}(e,t):"root"===t.type?function(e,t,n){const r={};return Ds(r,Ns(e,t)),e.create(t,e.Fragment,r,n)}(e,t,n):"text"===t.type?function(e,t){return t.value}(0,t):void 0}function As(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function Ds(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function Ns(e,t){const n=[];let r=-1;const o=e.passKeys?new Map:Ps;for(;++r<t.children.length;){const a=t.children[r];let i;if(e.passKeys){const e="element"===a.type?a.tagName:"mdxJsxFlowElement"===a.type||"mdxJsxTextElement"===a.type?a.name:void 0;if(e){const t=o.get(e)||0;i=e+"-"+t,o.set(e,t+1)}}const l=Os(e,a,i);void 0!==l&&n.push(l)}return n}function Fs(e,t,n){const r=function(e,t){const n=Pl(t);let r=t,o=zl;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&es.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(Zl,ns);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!Zl.test(e)){let n=e.replace(Jl,ts);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}o=Wl}return new o(r,t)}(e.schema,t);if(!(null==n||"number"==typeof n&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?function(e){const t={};return(""===e[e.length-1]?[...e,""]:e).join((t.padRight?" ":"")+","+(!1===t.padLeft?"":" ")).trim()}(n):n.join(" ").trim()),"style"===r.property){let t="object"==typeof n?n:function(e,t){try{return bs(t,{reactCompat:!0})}catch(fx){if(e.ignoreInvalidStyle)return{};const n=fx,r=new Cs("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw r.file=e.filePath||void 0,r.url=Is+"#cannot-parse-style-attribute",r}}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){const t={};let n;for(n in e)Es.call(e,n)&&(t[Ls(n)]=e[n]);return t}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&r.space?Ql[r.property]||r.property:r.attribute,n]}}function js(e,t,n){let r;if(n)if(t.includes(".")){const e=t.split(".");let n,o=-1;for(;++o<e.length;){const t=Sl(e[o])?{type:"Identifier",name:e[o]}:{type:"Literal",value:e[o]};n=n?{type:"MemberExpression",object:n,property:t,computed:Boolean(o&&"Literal"===t.type),optional:!1}:t}r=n}else r=Sl(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};else r={type:"Literal",value:t};if("Literal"===r.type){const t=r.value;return Es.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(r);Ms(e)}function Ms(e,t){const n=new Cs("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=Is+"#cannot-handle-mdx-estrees-without-createevaluater",n}function Ls(e){let t=e.replace(zs,Ws);return"ms-"===t.slice(0,3)&&(t="-"+t),t}function Ws(e){return"-"+e.toLowerCase()}const Bs={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"]},$s={};function Vs(e,t){return Hs(e,"boolean"!=typeof $s.includeImageAlt||$s.includeImageAlt,"boolean"!=typeof $s.includeHtml||$s.includeHtml)}function Hs(e,t,n){if(function(e){return Boolean(e&&"object"==typeof e)}(e)){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Us(e.children,t,n)}return Array.isArray(e)?Us(e,t,n):""}function Us(e,t,n){const r=[];let o=-1;for(;++o<e.length;)r[o]=Hs(e[o],t,n);return r.join("")}const qs=document.createElement("i");function Gs(e){const t="&"+e+";";qs.innerHTML=t;const n=qs.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}function Ys(e,t,n,r){const o=e.length;let a,i=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)a=Array.from(r),a.unshift(t,n),e.splice(...a);else for(n&&e.splice(t,n);i<r.length;)a=r.slice(i,i+1e4),a.unshift(t,0),e.splice(...a),i+=1e4,t+=1e4}function Xs(e,t){return e.length>0?(Ys(e,e.length,0,t),e):t}const Ks={}.hasOwnProperty;function Qs(e){const t={};let n=-1;for(;++n<e.length;)Js(t,e[n]);return t}function Js(e,t){let n;for(n in t){const r=(Ks.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];let a;if(o)for(a in o){Ks.call(r,a)||(r[a]=[]);const e=o[a];Zs(r[a],Array.isArray(e)?e:e?[e]:[])}}}function Zs(e,t){let n=-1;const r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);Ys(e,0,0,r)}function ec(e,t){const n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||!(65535&~n)||65534==(65535&n)||n>1114111?"�":String.fromCodePoint(n)}function tc(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const nc=hc(/[A-Za-z]/),rc=hc(/[\dA-Za-z]/),oc=hc(/[#-'*+\--9=?A-Z^-~]/);function ac(e){return null!==e&&(e<32||127===e)}const ic=hc(/\d/),lc=hc(/[\dA-Fa-f]/),sc=hc(/[!-/:-@[-`{-~]/);function cc(e){return null!==e&&e<-2}function uc(e){return null!==e&&(e<0||32===e)}function dc(e){return-2===e||-1===e||32===e}const fc=hc(new RegExp("\\p{P}|\\p{S}","u")),pc=hc(/\s/);function hc(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function gc(e){const t=[];let n=-1,r=0,o=0;for(;++n<e.length;){const a=e.charCodeAt(n);let i="";if(37===a&&rc(e.charCodeAt(n+1))&&rc(e.charCodeAt(n+2)))o=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(i=String.fromCharCode(a));else if(a>55295&&a<57344){const t=e.charCodeAt(n+1);a<56320&&t>56319&&t<57344?(i=String.fromCharCode(a,t),o=1):i="�"}else i=String.fromCharCode(a);i&&(t.push(e.slice(r,n),encodeURIComponent(i)),r=n+o+1,i=""),o&&(n+=o,o=0)}return t.join("")+e.slice(r)}function mc(e,t,n,r){const o=r?r-1:Number.POSITIVE_INFINITY;let a=0;return function(r){return dc(r)?(e.enter(n),i(r)):t(r)};function i(r){return dc(r)&&a++<o?(e.consume(r),i):(e.exit(n),t(r))}}const bc={tokenize:function(e){const t=e.attempt(this.parser.constructs.contentInitial,function(n){if(null!==n)return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),mc(e,t,"linePrefix");e.consume(n)},function(t){return e.enter("paragraph"),r(t)});let n;return t;function r(t){const r=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=r),n=r,o(t)}function o(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):cc(t)?(e.consume(t),e.exit("chunkText"),r):(e.consume(t),o)}}},vc={tokenize:function(e){const t=this,n=[];let r,o,a,i=0;return l;function l(r){if(i<n.length){const o=n[i];return t.containerState=o[1],e.attempt(o[0].continuation,s,c)(r)}return c(r)}function s(e){if(i++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,r&&v();const n=t.events.length;let o,a=n;for(;a--;)if("exit"===t.events[a][0]&&"chunkFlow"===t.events[a][1].type){o=t.events[a][1].end;break}b(i);let l=n;for(;l<t.events.length;)t.events[l][1].end={...o},l++;return Ys(t.events,a+1,0,t.events.slice(n)),t.events.length=l,c(e)}return l(e)}function c(o){if(i===n.length){if(!r)return f(o);if(r.currentConstruct&&r.currentConstruct.concrete)return h(o);t.interrupt=Boolean(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(yc,u,d)(o)}function u(e){return r&&v(),b(i),f(e)}function d(e){return t.parser.lazy[t.now().line]=i!==n.length,a=t.now().offset,h(e)}function f(n){return t.containerState={},e.attempt(yc,p,h)(n)}function p(e){return i++,n.push([t.currentConstruct,t.containerState]),f(e)}function h(n){return null===n?(r&&v(),b(0),void e.consume(n)):(r=r||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:r,contentType:"flow",previous:o}),g(n))}function g(n){return null===n?(m(e.exit("chunkFlow"),!0),b(0),void e.consume(n)):cc(n)?(e.consume(n),m(e.exit("chunkFlow")),i=0,t.interrupt=void 0,l):(e.consume(n),g)}function m(e,n){const l=t.sliceStream(e);if(n&&l.push(null),e.previous=o,o&&(o.next=e),o=e,r.defineSkip(e.start),r.write(l),t.parser.lazy[e.start.line]){let e=r.events.length;for(;e--;)if(r.events[e][1].start.offset<a&&(!r.events[e][1].end||r.events[e][1].end.offset>a))return;const n=t.events.length;let o,l,s=n;for(;s--;)if("exit"===t.events[s][0]&&"chunkFlow"===t.events[s][1].type){if(o){l=t.events[s][1].end;break}o=!0}for(b(i),e=n;e<t.events.length;)t.events[e][1].end={...l},e++;Ys(t.events,s+1,0,t.events.slice(n)),t.events.length=e}}function b(r){let o=n.length;for(;o-- >r;){const r=n[o];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function v(){r.write([null]),o=void 0,r=void 0,t.containerState._closeFlow=void 0}}},yc={tokenize:function(e,t,n){return mc(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};function xc(e){return null===e||uc(e)||pc(e)?1:fc(e)?2:void 0}function kc(e,t,n){const r=[];let o=-1;for(;++o<e.length;){const a=e[o].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}const Sc={name:"attention",resolveAll:function(e,t){let n,r,o,a,i,l,s,c,u=-1;for(;++u<e.length;)if("enter"===e[u][0]&&"attentionSequence"===e[u][1].type&&e[u][1]._close)for(n=u;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[u][1]).charCodeAt(0)){if((e[n][1]._close||e[u][1]._open)&&(e[u][1].end.offset-e[u][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[u][1].end.offset-e[u][1].start.offset)%3))continue;l=e[n][1].end.offset-e[n][1].start.offset>1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;const d={...e[n][1].end},f={...e[u][1].start};wc(d,-l),wc(f,l),a={type:l>1?"strongSequence":"emphasisSequence",start:d,end:{...e[n][1].end}},i={type:l>1?"strongSequence":"emphasisSequence",start:{...e[u][1].start},end:f},o={type:l>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[u][1].start}},r={type:l>1?"strong":"emphasis",start:{...a.start},end:{...i.end}},e[n][1].end={...a.start},e[u][1].start={...i.end},s=[],e[n][1].end.offset-e[n][1].start.offset&&(s=Xs(s,[["enter",e[n][1],t],["exit",e[n][1],t]])),s=Xs(s,[["enter",r,t],["enter",a,t],["exit",a,t],["enter",o,t]]),s=Xs(s,kc(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),s=Xs(s,[["exit",o,t],["enter",i,t],["exit",i,t],["exit",r,t]]),e[u][1].end.offset-e[u][1].start.offset?(c=2,s=Xs(s,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,Ys(e,n-1,u-n+3,s),u=n+s.length-c-2;break}for(u=-1;++u<e.length;)"attentionSequence"===e[u][1].type&&(e[u][1].type="data");return e},tokenize:function(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,o=xc(r);let a;return function(t){return a=t,e.enter("attentionSequence"),i(t)};function i(l){if(l===a)return e.consume(l),i;const s=e.exit("attentionSequence"),c=xc(l),u=!c||2===c&&o||n.includes(l),d=!o||2===o&&c||n.includes(r);return s._open=Boolean(42===a?u:u&&(o||!d)),s._close=Boolean(42===a?d:d&&(c||!u)),t(l)}}};function wc(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const _c={name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o};function o(t){return nc(t)?(e.consume(t),a):64===t?n(t):s(t)}function a(e){return 43===e||45===e||46===e||rc(e)?(r=1,i(e)):s(e)}function i(t){return 58===t?(e.consume(t),r=0,l):(43===t||45===t||46===t||rc(t))&&r++<32?(e.consume(t),i):(r=0,s(t))}function l(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||ac(r)?n(r):(e.consume(r),l)}function s(t){return 64===t?(e.consume(t),c):oc(t)?(e.consume(t),s):n(t)}function c(e){return rc(e)?u(e):n(e)}function u(n){return 46===n?(e.consume(n),r=0,c):62===n?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t):d(n)}function d(t){if((45===t||rc(t))&&r++<63){const n=45===t?d:u;return e.consume(t),n}return n(t)}}},Cc={partial:!0,tokenize:function(e,t,n){return function(t){return dc(t)?mc(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||cc(e)?t(e):n(e)}}},Ec={continuation:{tokenize:function(e,t,n){const r=this;return function(t){return dc(t)?mc(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):o(t)};function o(r){return e.attempt(Ec,t,n)(r)}}},exit:function(e){e.exit("blockQuote")},name:"blockQuote",tokenize:function(e,t,n){const r=this;return function(t){if(62===t){const n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),o}return n(t)};function o(n){return dc(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}},Pc={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return sc(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},zc={name:"characterReference",tokenize:function(e,t,n){const r=this;let o,a,i=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),l};function l(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),s):(e.enter("characterReferenceValue"),o=31,a=rc,c(t))}function s(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,a=lc,c):(e.enter("characterReferenceValue"),o=7,a=ic,c(t))}function c(l){if(59===l&&i){const o=e.exit("characterReferenceValue");return a!==rc||Gs(r.sliceSerialize(o))?(e.enter("characterReferenceMarker"),e.consume(l),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(l)}return a(l)&&i++<o?(e.consume(l),c):n(l)}}},Tc={partial:!0,tokenize:function(e,t,n){const r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o)};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},Rc={concrete:!0,name:"codeFenced",tokenize:function(e,t,n){const r=this,o={partial:!0,tokenize:function(e,t,n){let o=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i};function i(t){return e.enter("codeFencedFence"),dc(t)?mc(e,s,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):s(t)}function s(t){return t===a?(e.enter("codeFencedFenceSequence"),c(t)):n(t)}function c(t){return t===a?(o++,e.consume(t),c):o>=l?(e.exit("codeFencedFenceSequence"),dc(t)?mc(e,u,"whitespace")(t):u(t)):n(t)}function u(r){return null===r||cc(r)?(e.exit("codeFencedFence"),t(r)):n(r)}}};let a,i=0,l=0;return function(t){return function(t){const n=r.events[r.events.length-1];return i=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,a=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),s(t)}(t)};function s(t){return t===a?(l++,e.consume(t),s):l<3?n(t):(e.exit("codeFencedFenceSequence"),dc(t)?mc(e,c,"whitespace")(t):c(t))}function c(n){return null===n||cc(n)?(e.exit("codeFencedFence"),r.interrupt?t(n):e.check(Tc,p,v)(n)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),u(n))}function u(t){return null===t||cc(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),c(t)):dc(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),mc(e,d,"whitespace")(t)):96===t&&t===a?n(t):(e.consume(t),u)}function d(t){return null===t||cc(t)?c(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),f(t))}function f(t){return null===t||cc(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),c(t)):96===t&&t===a?n(t):(e.consume(t),f)}function p(t){return e.attempt(o,v,h)(t)}function h(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),g}function g(t){return i>0&&dc(t)?mc(e,m,"linePrefix",i+1)(t):m(t)}function m(t){return null===t||cc(t)?e.check(Tc,p,v)(t):(e.enter("codeFlowValue"),b(t))}function b(t){return null===t||cc(t)?(e.exit("codeFlowValue"),m(t)):(e.consume(t),b)}function v(n){return e.exit("codeFenced"),t(n)}}},Ic={name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("codeIndented"),mc(e,o,"linePrefix",5)(t)};function o(e){const t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?a(e):n(e)}function a(t){return null===t?l(t):cc(t)?e.attempt(Oc,a,l)(t):(e.enter("codeFlowValue"),i(t))}function i(t){return null===t||cc(t)?(e.exit("codeFlowValue"),a(t)):(e.consume(t),i)}function l(n){return e.exit("codeIndented"),t(n)}}},Oc={partial:!0,tokenize:function(e,t,n){const r=this;return o;function o(t){return r.parser.lazy[r.now().line]?n(t):cc(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o):mc(e,a,"linePrefix",5)(t)}function a(e){const a=r.events[r.events.length-1];return a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(e):cc(e)?o(e):n(e)}}},Ac={name:"codeText",previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type},resolve:function(e){let t,n,r=e.length-4,o=3;if(!("lineEnding"!==e[o][1].type&&"space"!==e[o][1].type||"lineEnding"!==e[r][1].type&&"space"!==e[r][1].type))for(t=o;++t<r;)if("codeTextData"===e[t][1].type){e[o][1].type="codeTextPadding",e[r][1].type="codeTextPadding",o+=2,r-=2;break}for(t=o-1,r++;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):t!==r&&"lineEnding"!==e[t][1].type||(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},tokenize:function(e,t,n){let r,o,a=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),i(t)};function i(t){return 96===t?(e.consume(t),a++,i):(e.exit("codeTextSequence"),l(t))}function l(t){return null===t?n(t):32===t?(e.enter("space"),e.consume(t),e.exit("space"),l):96===t?(o=e.enter("codeTextSequence"),r=0,c(t)):cc(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l):(e.enter("codeTextData"),s(t))}function s(t){return null===t||32===t||96===t||cc(t)?(e.exit("codeTextData"),l(t)):(e.consume(t),s)}function c(n){return 96===n?(e.consume(n),r++,c):r===a?(e.exit("codeTextSequence"),e.exit("codeText"),t(n)):(o.type="codeTextData",s(n))}}};class Dc{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,t){const n=null==t?Number.POSITIVE_INFINITY:t;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){const r=t||0;this.setCursor(Math.trunc(e));const o=this.right.splice(this.right.length-r,Number.POSITIVE_INFINITY);return n&&Nc(this.left,n),o.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),Nc(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),Nc(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&0===this.right.length||e<0&&0===this.left.length))if(e<this.left.length){const t=this.left.splice(e,Number.POSITIVE_INFINITY);Nc(this.right,t.reverse())}else{const t=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);Nc(this.left,t.reverse())}}}function Nc(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function Fc(e){const t={};let n,r,o,a,i,l,s,c=-1;const u=new Dc(e);for(;++c<u.length;){for(;c in t;)c=t[c];if(n=u.get(c),c&&"chunkFlow"===n[1].type&&"listItemPrefix"===u.get(c-1)[1].type&&(l=n[1]._tokenizer.events,o=0,o<l.length&&"lineEndingBlank"===l[o][1].type&&(o+=2),o<l.length&&"content"===l[o][1].type))for(;++o<l.length&&"content"!==l[o][1].type;)"chunkText"===l[o][1].type&&(l[o][1]._isInFirstContentOfListItem=!0,o++);if("enter"===n[0])n[1].contentType&&(Object.assign(t,jc(u,c)),c=t[c],s=!0);else if(n[1]._container){for(o=c,r=void 0;o--;)if(a=u.get(o),"lineEnding"===a[1].type||"lineEndingBlank"===a[1].type)"enter"===a[0]&&(r&&(u.get(r)[1].type="lineEndingBlank"),a[1].type="lineEnding",r=o);else if("linePrefix"!==a[1].type&&"listItemIndent"!==a[1].type)break;r&&(n[1].end={...u.get(r)[1].start},i=u.slice(r,c),i.unshift(n),u.splice(r,c-r+1,i))}}return Ys(e,0,Number.POSITIVE_INFINITY,u.slice(0)),!s}function jc(e,t){const n=e.get(t)[1],r=e.get(t)[2];let o=t-1;const a=[];let i=n._tokenizer;i||(i=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(i._contentTypeTextTrailing=!0));const l=i.events,s=[],c={};let u,d,f=-1,p=n,h=0,g=0;const m=[g];for(;p;){for(;e.get(++o)[1]!==p;);a.push(o),p._tokenizer||(u=r.sliceStream(p),p.next||u.push(null),d&&i.defineSkip(p.start),p._isInFirstContentOfListItem&&(i._gfmTasklistFirstContentOfListItem=!0),i.write(u),p._isInFirstContentOfListItem&&(i._gfmTasklistFirstContentOfListItem=void 0)),d=p,p=p.next}for(p=n;++f<l.length;)"exit"===l[f][0]&&"enter"===l[f-1][0]&&l[f][1].type===l[f-1][1].type&&l[f][1].start.line!==l[f][1].end.line&&(g=f+1,m.push(g),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(i.events=[],p?(p._tokenizer=void 0,p.previous=void 0):m.pop(),f=m.length;f--;){const t=l.slice(m[f],m[f+1]),n=a.pop();s.push([n,n+t.length-1]),e.splice(n,2,t)}for(s.reverse(),f=-1;++f<s.length;)c[h+s[f][0]]=h+s[f][1],h+=s[f][1]-s[f][0]-1;return c}const Mc={resolve:function(e){return Fc(e),e},tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?o(t):cc(t)?e.check(Lc,a,o)(t):(e.consume(t),r)}function o(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function a(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}},Lc={partial:!0,tokenize:function(e,t,n){const r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),mc(e,o,"linePrefix")};function o(o){if(null===o||cc(o))return n(o);const a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}}};function Wc(e,t,n,r,o,a,i,l,s){const c=s||Number.POSITIVE_INFINITY;let u=0;return function(t){return 60===t?(e.enter(r),e.enter(o),e.enter(a),e.consume(t),e.exit(a),d):null===t||32===t||41===t||ac(t)?n(t):(e.enter(r),e.enter(i),e.enter(l),e.enter("chunkString",{contentType:"string"}),h(t))};function d(n){return 62===n?(e.enter(a),e.consume(n),e.exit(a),e.exit(o),e.exit(r),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),f(n))}function f(t){return 62===t?(e.exit("chunkString"),e.exit(l),d(t)):null===t||60===t||cc(t)?n(t):(e.consume(t),92===t?p:f)}function p(t){return 60===t||62===t||92===t?(e.consume(t),f):f(t)}function h(o){return u||null!==o&&41!==o&&!uc(o)?u<c&&40===o?(e.consume(o),u++,h):41===o?(e.consume(o),u--,h):null===o||32===o||40===o||ac(o)?n(o):(e.consume(o),92===o?g:h):(e.exit("chunkString"),e.exit(l),e.exit(i),e.exit(r),t(o))}function g(t){return 40===t||41===t||92===t?(e.consume(t),h):h(t)}}function Bc(e,t,n,r,o,a){const i=this;let l,s=0;return function(t){return e.enter(r),e.enter(o),e.consume(t),e.exit(o),e.enter(a),c};function c(d){return s>999||null===d||91===d||93===d&&!l||94===d&&!s&&"_hiddenFootnoteSupport"in i.parser.constructs?n(d):93===d?(e.exit(a),e.enter(o),e.consume(d),e.exit(o),e.exit(r),t):cc(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),u(d))}function u(t){return null===t||91===t||93===t||cc(t)||s++>999?(e.exit("chunkString"),c(t)):(e.consume(t),l||(l=!dc(t)),92===t?d:u)}function d(t){return 91===t||92===t||93===t?(e.consume(t),s++,u):u(t)}}function $c(e,t,n,r,o,a){let i;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(o),e.consume(t),e.exit(o),i=40===t?41:t,l):n(t)};function l(n){return n===i?(e.enter(o),e.consume(n),e.exit(o),e.exit(r),t):(e.enter(a),s(n))}function s(t){return t===i?(e.exit(a),l(i)):null===t?n(t):cc(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),mc(e,s,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===i||null===t||cc(t)?(e.exit("chunkString"),s(t)):(e.consume(t),92===t?u:c)}function u(t){return t===i||92===t?(e.consume(t),c):c(t)}}function Vc(e,t){let n;return function r(o){return cc(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n=!0,r):dc(o)?mc(e,r,n?"linePrefix":"lineSuffix")(o):t(o)}}const Hc={name:"definition",tokenize:function(e,t,n){const r=this;let o;return function(t){return e.enter("definition"),function(t){return Bc.call(r,e,a,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}(t)};function a(t){return o=tc(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),i):n(t)}function i(t){return uc(t)?Vc(e,l)(t):l(t)}function l(t){return Wc(e,s,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function s(t){return e.attempt(Uc,c,c)(t)}function c(t){return dc(t)?mc(e,u,"whitespace")(t):u(t)}function u(a){return null===a||cc(a)?(e.exit("definition"),r.parser.defined.push(o),t(a)):n(a)}}},Uc={partial:!0,tokenize:function(e,t,n){return function(t){return uc(t)?Vc(e,r)(t):n(t)};function r(t){return $c(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function o(t){return dc(t)?mc(e,a,"whitespace")(t):a(t)}function a(e){return null===e||cc(e)?t(e):n(e)}}},qc={name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return cc(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},Gc={name:"headingAtx",resolve:function(e,t){let n,r,o=e.length-2,a=3;return"whitespace"===e[a][1].type&&(a+=2),o-2>a&&"whitespace"===e[o][1].type&&(o-=2),"atxHeadingSequence"===e[o][1].type&&(a===o-1||o-4>a&&"whitespace"===e[o-2][1].type)&&(o-=a+1===o?2:4),o>a&&(n={type:"atxHeadingText",start:e[a][1].start,end:e[o][1].end},r={type:"chunkText",start:e[a][1].start,end:e[o][1].end,contentType:"text"},Ys(e,a,o-a+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e},tokenize:function(e,t,n){let r=0;return function(t){return e.enter("atxHeading"),function(t){return e.enter("atxHeadingSequence"),o(t)}(t)};function o(t){return 35===t&&r++<6?(e.consume(t),o):null===t||uc(t)?(e.exit("atxHeadingSequence"),a(t)):n(t)}function a(n){return 35===n?(e.enter("atxHeadingSequence"),i(n)):null===n||cc(n)?(e.exit("atxHeading"),t(n)):dc(n)?mc(e,a,"whitespace")(n):(e.enter("atxHeadingText"),l(n))}function i(t){return 35===t?(e.consume(t),i):(e.exit("atxHeadingSequence"),a(t))}function l(t){return null===t||35===t||uc(t)?(e.exit("atxHeadingText"),a(t)):(e.consume(t),l)}}},Yc=["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"],Xc=["pre","script","style","textarea"],Kc={concrete:!0,name:"htmlFlow",resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},tokenize:function(e,t,n){const r=this;let o,a,i,l,s;return function(t){return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),c}(t)};function c(l){return 33===l?(e.consume(l),u):47===l?(e.consume(l),a=!0,p):63===l?(e.consume(l),o=3,r.interrupt?t:D):nc(l)?(e.consume(l),i=String.fromCharCode(l),h):n(l)}function u(a){return 45===a?(e.consume(a),o=2,d):91===a?(e.consume(a),o=5,l=0,f):nc(a)?(e.consume(a),o=4,r.interrupt?t:D):n(a)}function d(o){return 45===o?(e.consume(o),r.interrupt?t:D):n(o)}function f(o){return o==="CDATA[".charCodeAt(l++)?(e.consume(o),6===l?r.interrupt?t:E:f):n(o)}function p(t){return nc(t)?(e.consume(t),i=String.fromCharCode(t),h):n(t)}function h(l){if(null===l||47===l||62===l||uc(l)){const s=47===l,c=i.toLowerCase();return s||a||!Xc.includes(c)?Yc.includes(i.toLowerCase())?(o=6,s?(e.consume(l),g):r.interrupt?t(l):E(l)):(o=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(l):a?m(l):b(l)):(o=1,r.interrupt?t(l):E(l))}return 45===l||rc(l)?(e.consume(l),i+=String.fromCharCode(l),h):n(l)}function g(o){return 62===o?(e.consume(o),r.interrupt?t:E):n(o)}function m(t){return dc(t)?(e.consume(t),m):_(t)}function b(t){return 47===t?(e.consume(t),_):58===t||95===t||nc(t)?(e.consume(t),v):dc(t)?(e.consume(t),b):_(t)}function v(t){return 45===t||46===t||58===t||95===t||rc(t)?(e.consume(t),v):y(t)}function y(t){return 61===t?(e.consume(t),x):dc(t)?(e.consume(t),y):b(t)}function x(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),s=t,k):dc(t)?(e.consume(t),x):S(t)}function k(t){return t===s?(e.consume(t),s=null,w):null===t||cc(t)?n(t):(e.consume(t),k)}function S(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||uc(t)?y(t):(e.consume(t),S)}function w(e){return 47===e||62===e||dc(e)?b(e):n(e)}function _(t){return 62===t?(e.consume(t),C):n(t)}function C(t){return null===t||cc(t)?E(t):dc(t)?(e.consume(t),C):n(t)}function E(t){return 45===t&&2===o?(e.consume(t),R):60===t&&1===o?(e.consume(t),I):62===t&&4===o?(e.consume(t),N):63===t&&3===o?(e.consume(t),D):93===t&&5===o?(e.consume(t),A):!cc(t)||6!==o&&7!==o?null===t||cc(t)?(e.exit("htmlFlowData"),P(t)):(e.consume(t),E):(e.exit("htmlFlowData"),e.check(Qc,F,P)(t))}function P(t){return e.check(Jc,z,F)(t)}function z(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),T}function T(t){return null===t||cc(t)?P(t):(e.enter("htmlFlowData"),E(t))}function R(t){return 45===t?(e.consume(t),D):E(t)}function I(t){return 47===t?(e.consume(t),i="",O):E(t)}function O(t){if(62===t){const n=i.toLowerCase();return Xc.includes(n)?(e.consume(t),N):E(t)}return nc(t)&&i.length<8?(e.consume(t),i+=String.fromCharCode(t),O):E(t)}function A(t){return 93===t?(e.consume(t),D):E(t)}function D(t){return 62===t?(e.consume(t),N):45===t&&2===o?(e.consume(t),D):E(t)}function N(t){return null===t||cc(t)?(e.exit("htmlFlowData"),F(t)):(e.consume(t),N)}function F(n){return e.exit("htmlFlow"),t(n)}}},Qc={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(Cc,t,n)}}},Jc={partial:!0,tokenize:function(e,t,n){const r=this;return function(t){return cc(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o):n(t)};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},Zc={name:"htmlText",tokenize:function(e,t,n){const r=this;let o,a,i;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),l};function l(t){return 33===t?(e.consume(t),s):47===t?(e.consume(t),x):63===t?(e.consume(t),v):nc(t)?(e.consume(t),w):n(t)}function s(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),a=0,p):nc(t)?(e.consume(t),b):n(t)}function c(t){return 45===t?(e.consume(t),f):n(t)}function u(t){return null===t?n(t):45===t?(e.consume(t),d):cc(t)?(i=u,O(t)):(e.consume(t),u)}function d(t){return 45===t?(e.consume(t),f):u(t)}function f(e){return 62===e?I(e):45===e?d(e):u(e)}function p(t){return t==="CDATA[".charCodeAt(a++)?(e.consume(t),6===a?h:p):n(t)}function h(t){return null===t?n(t):93===t?(e.consume(t),g):cc(t)?(i=h,O(t)):(e.consume(t),h)}function g(t){return 93===t?(e.consume(t),m):h(t)}function m(t){return 62===t?I(t):93===t?(e.consume(t),m):h(t)}function b(t){return null===t||62===t?I(t):cc(t)?(i=b,O(t)):(e.consume(t),b)}function v(t){return null===t?n(t):63===t?(e.consume(t),y):cc(t)?(i=v,O(t)):(e.consume(t),v)}function y(e){return 62===e?I(e):v(e)}function x(t){return nc(t)?(e.consume(t),k):n(t)}function k(t){return 45===t||rc(t)?(e.consume(t),k):S(t)}function S(t){return cc(t)?(i=S,O(t)):dc(t)?(e.consume(t),S):I(t)}function w(t){return 45===t||rc(t)?(e.consume(t),w):47===t||62===t||uc(t)?_(t):n(t)}function _(t){return 47===t?(e.consume(t),I):58===t||95===t||nc(t)?(e.consume(t),C):cc(t)?(i=_,O(t)):dc(t)?(e.consume(t),_):I(t)}function C(t){return 45===t||46===t||58===t||95===t||rc(t)?(e.consume(t),C):E(t)}function E(t){return 61===t?(e.consume(t),P):cc(t)?(i=E,O(t)):dc(t)?(e.consume(t),E):_(t)}function P(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),o=t,z):cc(t)?(i=P,O(t)):dc(t)?(e.consume(t),P):(e.consume(t),T)}function z(t){return t===o?(e.consume(t),o=void 0,R):null===t?n(t):cc(t)?(i=z,O(t)):(e.consume(t),z)}function T(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||uc(t)?_(t):(e.consume(t),T)}function R(e){return 47===e||62===e||uc(e)?_(e):n(e)}function I(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function O(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),A}function A(t){return dc(t)?mc(e,D,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):D(t)}function D(t){return e.enter("htmlTextData"),i(t)}}},eu={name:"labelEnd",resolveAll:function(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),"labelImage"===r.type||"labelLink"===r.type||"labelEnd"===r.type){const e="labelImage"===r.type?4:2;r.type="data",t+=e}}return e.length!==n.length&&Ys(e,0,e.length,n),e},resolveTo:function(e,t){let n,r,o,a,i=e.length,l=0;for(;i--;)if(n=e[i][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[i][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(o){if("enter"===e[i][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=i,"labelLink"!==n.type)){l=2;break}}else"labelEnd"===n.type&&(o=i);const s={type:"labelLink"===e[r][1].type?"link":"image",start:{...e[r][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[r][1].start},end:{...e[o][1].end}},u={type:"labelText",start:{...e[r+l+2][1].end},end:{...e[o-2][1].start}};return a=[["enter",s,t],["enter",c,t]],a=Xs(a,e.slice(r+1,r+l+3)),a=Xs(a,[["enter",u,t]]),a=Xs(a,kc(t.parser.constructs.insideSpan.null,e.slice(r+l+4,o-3),t)),a=Xs(a,[["exit",u,t],e[o-2],e[o-1],["exit",c,t]]),a=Xs(a,e.slice(o+1)),a=Xs(a,[["exit",s,t]]),Ys(e,r,e.length,a),e},tokenize:function(e,t,n){const r=this;let o,a,i=r.events.length;for(;i--;)if(("labelImage"===r.events[i][1].type||"labelLink"===r.events[i][1].type)&&!r.events[i][1]._balanced){o=r.events[i][1];break}return function(t){return o?o._inactive?u(t):(a=r.parser.defined.includes(tc(r.sliceSerialize({start:o.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),l):n(t)};function l(t){return 40===t?e.attempt(tu,c,a?c:u)(t):91===t?e.attempt(nu,c,a?s:u)(t):a?c(t):u(t)}function s(t){return e.attempt(ru,c,u)(t)}function c(e){return t(e)}function u(e){return o._balanced=!0,n(e)}}},tu={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return uc(t)?Vc(e,o)(t):o(t)}function o(t){return 41===t?c(t):Wc(e,a,i,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function a(t){return uc(t)?Vc(e,l)(t):c(t)}function i(e){return n(e)}function l(t){return 34===t||39===t||40===t?$c(e,s,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):c(t)}function s(t){return uc(t)?Vc(e,c)(t):c(t)}function c(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},nu={tokenize:function(e,t,n){const r=this;return function(t){return Bc.call(r,e,o,a,"reference","referenceMarker","referenceString")(t)};function o(e){return r.parser.defined.includes(tc(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function a(e){return n(e)}}},ru={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}},ou={name:"labelStartImage",resolveAll:eu.resolveAll,tokenize:function(e,t,n){const r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),o};function o(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),a):n(t)}function a(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}},au={name:"labelStartLink",resolveAll:eu.resolveAll,tokenize:function(e,t,n){const r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),o};function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}},iu={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),mc(e,t,"linePrefix")}}},lu={name:"thematicBreak",tokenize:function(e,t,n){let r,o=0;return function(t){return e.enter("thematicBreak"),function(e){return r=e,a(e)}(t)};function a(a){return a===r?(e.enter("thematicBreakSequence"),i(a)):o>=3&&(null===a||cc(a))?(e.exit("thematicBreak"),t(a)):n(a)}function i(t){return t===r?(e.consume(t),o++,i):(e.exit("thematicBreakSequence"),dc(t)?mc(e,a,"whitespace")(t):a(t))}}},su={continuation:{tokenize:function(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Cc,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,mc(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!dc(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(uu,t,o)(n))});function o(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,mc(e,e.attempt(su,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,n){const r=this,o=r.events[r.events.length-1];let a=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0,i=0;return function(t){const o=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===o?!r.containerState.marker||t===r.containerState.marker:ic(t)){if(r.containerState.type||(r.containerState.type=o,e.enter(o,{_container:!0})),"listUnordered"===o)return e.enter("listItemPrefix"),42===t||45===t?e.check(lu,n,s)(t):s(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(t)}return n(t)};function l(t){return ic(t)&&++i<10?(e.consume(t),l):(!r.interrupt||i<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),s(t)):n(t)}function s(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(Cc,r.interrupt?n:c,e.attempt(cu,d,u))}function c(e){return r.containerState.initialBlankLine=!0,a++,d(e)}function u(t){return dc(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),d):n(t)}function d(n){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}},cu={partial:!0,tokenize:function(e,t,n){const r=this;return mc(e,function(e){const o=r.events[r.events.length-1];return!dc(e)&&o&&"listItemPrefixWhitespace"===o[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},uu={partial:!0,tokenize:function(e,t,n){const r=this;return mc(e,function(e){const o=r.events[r.events.length-1];return o&&"listItemIndent"===o[1].type&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)}},du={name:"setextUnderline",resolveTo:function(e,t){let n,r,o,a=e.length;for(;a--;)if("enter"===e[a][0]){if("content"===e[a][1].type){n=a;break}"paragraph"===e[a][1].type&&(r=a)}else"content"===e[a][1].type&&e.splice(a,1),o||"definition"!==e[a][1].type||(o=a);const i={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",i,t]),e.splice(o+1,0,["exit",e[n][1],t]),e[n][1].end={...e[o][1].end}):e[n][1]=i,e.push(["exit",i,t]),e},tokenize:function(e,t,n){const r=this;let o;return function(t){let i,l=r.events.length;for(;l--;)if("lineEnding"!==r.events[l][1].type&&"linePrefix"!==r.events[l][1].type&&"content"!==r.events[l][1].type){i="paragraph"===r.events[l][1].type;break}return r.parser.lazy[r.now().line]||!r.interrupt&&!i?n(t):(e.enter("setextHeadingLine"),o=t,function(t){return e.enter("setextHeadingLineSequence"),a(t)}(t))};function a(t){return t===o?(e.consume(t),a):(e.exit("setextHeadingLineSequence"),dc(t)?mc(e,i,"lineSuffix")(t):i(t))}function i(r){return null===r||cc(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}},fu={tokenize:function(e){const t=this,n=e.attempt(Cc,function(r){if(null!==r)return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n;e.consume(r)},e.attempt(this.parser.constructs.flowInitial,r,mc(e,e.attempt(this.parser.constructs.flow,r,e.attempt(Mc,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}},pu={resolveAll:bu()},hu=mu("string"),gu=mu("text");function mu(e){return{resolveAll:bu("text"===e?vu:void 0),tokenize:function(t){const n=this,r=this.parser.constructs[e],o=t.attempt(r,a,i);return a;function a(e){return s(e)?o(e):i(e)}function i(e){if(null!==e)return t.enter("data"),t.consume(e),l;t.consume(e)}function l(e){return s(e)?(t.exit("data"),o(e)):(t.consume(e),l)}function s(e){if(null===e)return!0;const t=r[e];let o=-1;if(t)for(;++o<t.length;){const e=t[o];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}}function bu(e){return function(t,n){let r,o=-1;for(;++o<=t.length;)void 0===r?t[o]&&"data"===t[o][1].type&&(r=o,o++):t[o]&&"data"===t[o][1].type||(o!==r+2&&(t[r][1].end=t[o-1][1].end,t.splice(r+2,o-r-2),o=r+2),r=void 0);return e?e(t,n):t}}function vu(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){const r=e[n-1][1],o=t.sliceStream(r);let a,i=o.length,l=-1,s=0;for(;i--;){const e=o[i];if("string"==typeof e){for(l=e.length;32===e.charCodeAt(l-1);)s++,l--;if(l)break;l=-1}else if(-2===e)a=!0,s++;else if(-1!==e){i++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(s=0),s){const o={type:n===e.length||a||s<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:i?l:r.start._bufferIndex+l,_index:r.start._index+i,line:r.end.line,column:r.end.column-s,offset:r.end.offset-s},end:{...r.end}};r.end={...o.start},r.start.offset===r.end.offset?Object.assign(r,o):(e.splice(n,0,["enter",o,t],["exit",o,t]),n+=2)}n++}return e}const yu={42:su,43:su,45:su,48:su,49:su,50:su,51:su,52:su,53:su,54:su,55:su,56:su,57:su,62:Ec},xu={91:Hc},ku={[-2]:Ic,[-1]:Ic,32:Ic},Su={35:Gc,42:lu,45:[du,lu],60:Kc,61:du,95:lu,96:Rc,126:Rc},wu={38:zc,92:Pc},_u={[-5]:iu,[-4]:iu,[-3]:iu,33:ou,38:zc,42:Sc,60:[_c,Zc],91:au,92:[qc,Pc],93:eu,95:Sc,96:Ac},Cu={null:[Sc,pu]},Eu=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:xu,disable:{null:[]},document:yu,flow:Su,flowInitial:ku,insideSpan:Cu,string:wu,text:_u},Symbol.toStringTag,{value:"Module"}));function Pu(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const o={},a=[];let i=[],l=[];const s={attempt:g(function(e,t){m(e,t.from)}),check:g(h),consume:function(e){cc(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,b()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===i[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=e},enter:function(e,t){const n=t||{};return n.type=e,n.start=f(),c.events.push(["enter",n,c]),l.push(n),n},exit:function(e){const t=l.pop();return t.end=f(),c.events.push(["exit",t,c]),t},interrupt:g(h,{interrupt:!0})},c={code:null,containerState:{},defineSkip:function(e){o[e.line]=e.column,b()},events:[],now:f,parser:e,previous:null,sliceSerialize:function(e,t){return function(e,t){let n=-1;const r=[];let o;for(;++n<e.length;){const a=e[n];let i;if("string"==typeof a)i=a;else switch(a){case-5:i="\r";break;case-4:i="\n";break;case-3:i="\r\n";break;case-2:i=t?" ":"\t";break;case-1:if(!t&&o)continue;i=" ";break;default:i=String.fromCharCode(a)}o=-2===a,r.push(i)}return r.join("")}(d(e),t)},sliceStream:d,write:function(e){return i=Xs(i,e),function(){let e;for(;r._index<i.length;){const t=i[r._index];if("string"==typeof t)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)p(t.charCodeAt(r._bufferIndex));else p(t)}}(),null!==i[i.length-1]?[]:(m(t,0),c.events=kc(a,c.events,c),c.events)}};let u=t.tokenize.call(c,s);return t.resolveAll&&a.push(t),c;function d(e){return function(e,t){const n=t.start._index,r=t.start._bufferIndex,o=t.end._index,a=t.end._bufferIndex;let i;if(n===o)i=[e[n].slice(r,a)];else{if(i=e.slice(n,o),r>-1){const e=i[0];"string"==typeof e?i[0]=e.slice(r):i.shift()}a>0&&i.push(e[o].slice(0,a))}return i}(i,e)}function f(){const{_bufferIndex:e,_index:t,line:n,column:o,offset:a}=r;return{_bufferIndex:e,_index:t,line:n,column:o,offset:a}}function p(e){u=u(e)}function h(e,t){t.restore()}function g(e,t){return function(n,o,a){let i,u,d,p;return Array.isArray(n)?g(n):"tokenize"in n?g([n]):(h=n,function(e){const t=null!==e&&h[e],n=null!==e&&h.null;return g([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(n)?n:n?[n]:[]])(e)});var h;function g(e){return i=e,u=0,0===e.length?a:m(e[u])}function m(e){return function(n){return p=function(){const e=f(),t=c.previous,n=c.currentConstruct,o=c.events.length,a=Array.from(l);return{from:o,restore:function(){r=e,c.previous=t,c.currentConstruct=n,c.events.length=o,l=a,b()}}}(),d=e,e.partial||(c.currentConstruct=e),e.name&&c.parser.constructs.disable.null.includes(e.name)?y():e.tokenize.call(t?Object.assign(Object.create(c),t):c,s,v,y)(n)}}function v(t){return e(d,p),o}function y(e){return p.restore(),++u<i.length?m(i[u]):a}}}function m(e,t){e.resolveAll&&!a.includes(e)&&a.push(e),e.resolve&&Ys(c.events,t,c.events.length-t,e.resolve(c.events.slice(t),c)),e.resolveTo&&(c.events=e.resolveTo(c.events,c))}function b(){r.line in o&&r.column<2&&(r.column=o[r.line],r.offset+=o[r.line]-1)}}const zu=/[\0\t\n\r]/g,Tu=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Ru(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return ec(n.slice(t?2:1),t?16:10)}return Gs(n)||e}const Iu={}.hasOwnProperty;function Ou(e,t,n){return"string"!=typeof t&&(n=t,t=void 0),function(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(v),autolinkProtocol:u,autolinkEmail:u,atxHeading:o(g),blockQuote:o(function(){return{type:"blockquote",children:[]}}),characterEscape:u,characterReference:u,codeFenced:o(h),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:o(h,a),codeText:o(function(){return{type:"inlineCode",value:""}},a),codeTextData:u,data:u,codeFlowValue:u,definition:o(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:o(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:o(m),hardBreakTrailing:o(m),htmlFlow:o(b,a),htmlFlowData:u,htmlText:o(b,a),htmlTextData:u,image:o(function(){return{type:"image",title:null,url:"",alt:null}}),label:a,link:o(v),listItem:o(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){this.data.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0)},listOrdered:o(y,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:o(y),paragraph:o(function(){return{type:"paragraph",children:[]}}),reference:function(){this.data.referenceType="collapsed"},referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:o(g),strong:o(function(){return{type:"strong",children:[]}}),thematicBreak:o(function(){return{type:"thematicBreak"}})},exit:{atxHeading:l(),atxHeadingSequence:function(e){const t=this.stack[this.stack.length-1];if(!t.depth){const n=this.sliceSerialize(e).length;t.depth=n}},autolink:l(),autolinkEmail:function(e){d.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){d.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:l(),characterEscapeValue:d,characterReferenceMarkerHexadecimal:p,characterReferenceMarkerNumeric:p,characterReferenceValue:function(e){const t=this.sliceSerialize(e),n=this.data.characterReferenceType;let r;n?(r=ec(t,"characterReferenceMarkerNumeric"===n?10:16),this.data.characterReferenceType=void 0):r=Gs(t);this.stack[this.stack.length-1].value+=r},characterReference:function(e){this.stack.pop().position.end=Au(e.end)},codeFenced:l(function(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){const e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){const e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:d,codeIndented:l(function(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:l(function(){const e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:d,data:d,definition:l(),definitionDestinationString:function(){const e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=tc(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){const e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:l(),hardBreakEscape:l(f),hardBreakTrailing:l(f),htmlFlow:l(function(){const e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:d,htmlText:l(function(){const e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:d,image:l(function(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),label:function(){const e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];if(this.data.inReference=!0,"link"===n.type){const t=e.children;n.children=t}else n.alt=t},labelText:function(e){const t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=function(e){return e.replace(Tu,Ru)}(t),n.identifier=tc(t).toLowerCase()},lineEnding:function(e){const n=this.stack[this.stack.length-1];if(this.data.atHardBreak)return n.children[n.children.length-1].position.end=Au(e.end),void(this.data.atHardBreak=void 0);!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(u.call(this,e),d.call(this,e))},link:l(function(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:function(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=tc(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){const e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){const e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){this.data.inReference=void 0},setextHeading:l(function(){this.data.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:l(),thematicBreak:l()}};Du(t,(e||{}).mdastExtensions||[]);const n={};return function(e){let o={type:"root",children:[]};const l={stack:[o],tokenStack:[],config:t,enter:i,exit:s,buffer:a,resume:c,data:n},u=[];let d=-1;for(;++d<e.length;)"listOrdered"!==e[d][1].type&&"listUnordered"!==e[d][1].type||("enter"===e[d][0]?u.push(d):d=r(e,u.pop(),d));for(d=-1;++d<e.length;){const n=t[e[d][0]];Iu.call(n,e[d][1].type)&&n[e[d][1].type].call(Object.assign({sliceSerialize:e[d][2].sliceSerialize},l),e[d][1])}if(l.tokenStack.length>0){const e=l.tokenStack[l.tokenStack.length-1];(e[1]||Fu).call(l,void 0,e[0])}for(o.position={start:Au(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:Au(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},d=-1;++d<t.transforms.length;)o=t.transforms[d](o)||o;return o};function r(e,t,n){let r,o,a,i,l=t-1,s=-1,c=!1;for(;++l<=n;){const t=e[l];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?s++:s--,i=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||i||s||a||(a=l),i=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:i=void 0}if(!s&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===s&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let i=l;for(o=void 0;i--;){const t=e[i];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;o&&(e[o][1].type="lineEndingBlank",c=!0),t[1].type="lineEnding",o=i}else if("linePrefix"!==t[1].type&&"blockQuotePrefix"!==t[1].type&&"blockQuotePrefixWhitespace"!==t[1].type&&"blockQuoteMarker"!==t[1].type&&"listItemIndent"!==t[1].type)break}a&&(!o||a<o)&&(r._spread=!0),r.end=Object.assign({},o?e[o][1].start:t[1].end),e.splice(o||l,0,["exit",r,t[2]]),l++,n++}if("listItemPrefix"===t[1].type){const o={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};r=o,e.splice(l,0,["enter",o,t[2]]),l++,n++,a=void 0,i=!0}}}return e[t][1]._spread=c,n}function o(e,t){return function(n){i.call(this,e(n),n),t&&t.call(this,n)}}function a(){this.stack.push({type:"fragment",children:[]})}function i(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n||void 0]),e.position={start:Au(t.start),end:void 0}}function l(e){return function(t){e&&e.call(this,t),s.call(this,t)}}function s(e,t){const n=this.stack.pop(),r=this.tokenStack.pop();if(!r)throw new Error("Cannot close `"+e.type+"` ("+ks({start:e.start,end:e.end})+"): it’s not open");r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||Fu).call(this,e,r[0])),n.position.end=Au(e.end)}function c(){return Vs(this.stack.pop())}function u(e){const t=this.stack[this.stack.length-1].children;let n=t[t.length-1];n&&"text"===n.type||(n={type:"text",value:""},n.position={start:Au(e.start),end:void 0},t.push(n)),this.stack.push(n)}function d(e){const t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=Au(e.end)}function f(){this.data.atHardBreak=!0}function p(e){this.data.characterReferenceType=e.type}function h(){return{type:"code",lang:null,meta:null,value:""}}function g(){return{type:"heading",depth:0,children:[]}}function m(){return{type:"break"}}function b(){return{type:"html",value:""}}function v(){return{type:"link",title:null,url:"",children:[]}}function y(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}}(n)(function(e){for(;!Fc(e););return e}(function(e){const t={constructs:Qs([Eu,...(e||{}).extensions||[]]),content:n(bc),defined:[],document:n(vc),flow:n(fu),lazy:{},string:n(hu),text:n(gu)};return t;function n(e){return function(n){return Pu(t,e,n)}}}(n).document().write(function(){let e,t=1,n="",r=!0;return function(o,a,i){const l=[];let s,c,u,d,f;for(o=n+("string"==typeof o?o.toString():new TextDecoder(a||void 0).decode(o)),u=0,n="",r&&(65279===o.charCodeAt(0)&&u++,r=void 0);u<o.length;){if(zu.lastIndex=u,s=zu.exec(o),d=s&&void 0!==s.index?s.index:o.length,f=o.charCodeAt(d),!s){n=o.slice(u);break}if(10===f&&u===d&&e)l.push(-3),e=void 0;else switch(e&&(l.push(-5),e=void 0),u<d&&(l.push(o.slice(u,d)),t+=d-u),f){case 0:l.push(65533),t++;break;case 9:for(c=4*Math.ceil(t/4),l.push(-2);t++<c;)l.push(-1);break;case 10:l.push(-4),t=1;break;default:e=!0,t=1}u=d+1}return i&&(e&&l.push(-5),n&&l.push(n),l.push(null)),l}}()(e,t,!0))))}function Au(e){return{line:e.line,column:e.column,offset:e.offset}}function Du(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?Du(e,r):Nu(e,r)}}function Nu(e,t){let n;for(n in t)if(Iu.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function Fu(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+ks({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+ks({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+ks({start:t.start,end:t.end})+") is still open")}function ju(e){const t=this;t.parser=function(n){return Ou(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function Mu(e,t){const n=t.referenceType;let r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];const o=e.all(t),a=o[0];a&&"text"===a.type?a.value="["+a.value:o.unshift({type:"text",value:"["});const i=o[o.length-1];return i&&"text"===i.type?i.value+=r:o.push({type:"text",value:r}),o}function Lu(e){const t=e.spread;return null==t?e.children.length>1:t}function Wu(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),o=0;const a=[];for(;r;)a.push(Bu(t.slice(o,r.index),o>0,!0),r[0]),o=r.index+r[0].length,r=n.exec(t);return a.push(Bu(t.slice(o),o>0,!1)),a.join("")}function Bu(e,t,n){let r=0,o=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(o-1);for(;9===t||32===t;)o--,t=e.codePointAt(o-1)}return o>r?e.slice(r,o):""}const $u={blockquote:function(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){const n=t.value?t.value+"\n":"",r={};t.lang&&(r.className=["language-"+t.lang]);let o={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o},delete:function(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){const n="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),o=gc(r.toLowerCase()),a=e.footnoteOrder.indexOf(r);let i,l=e.footnoteCounts.get(r);void 0===l?(l=0,e.footnoteOrder.push(r),i=e.footnoteOrder.length):i=a+1,l+=1,e.footnoteCounts.set(r,l);const s={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+o,id:n+"fnref-"+o+(l>1?"-"+l:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(i)}]};e.patch(t,s);const c={type:"element",tagName:"sup",properties:{},children:[s]};return e.patch(t,c),e.applyData(t,c)},heading:function(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Mu(e,t);const o={src:gc(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(o.title=r.title);const a={type:"element",tagName:"img",properties:o,children:[]};return e.patch(t,a),e.applyData(t,a)},image:function(e,t){const n={src:gc(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Mu(e,t);const o={href:gc(r.url||"")};null!==r.title&&void 0!==r.title&&(o.title=r.title);const a={type:"element",tagName:"a",properties:o,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)},link:function(e,t){const n={href:gc(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){const r=e.all(t),o=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=Lu(n[r])}return t}(n):Lu(t),a={},i=[];if("boolean"==typeof t.checked){const e=r[0];let n;e&&"element"===e.type&&"p"===e.tagName?n=e:(n={type:"element",tagName:"p",properties:{},children:[]},r.unshift(n)),n.children.length>0&&n.children.unshift({type:"text",value:" "}),n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let l=-1;for(;++l<r.length;){const e=r[l];(o||0!==l||"element"!==e.type||"p"!==e.tagName)&&i.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||o?i.push(e):i.push(...e.children)}const s=r[r.length-1];s&&(o||"element"!==s.type||"p"!==s.tagName)&&i.push({type:"text",value:"\n"});const c={type:"element",tagName:"li",properties:a,children:i};return e.patch(t,c),e.applyData(t,c)},list:function(e,t){const n={},r=e.all(t);let o=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++o<r.length;){const e=r[o];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const a={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,a),e.applyData(t,a)},paragraph:function(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){const n=e.all(t),r=n.shift(),o=[];if(r){const n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),o.push(n)}if(n.length>0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},a=ys(t.children[1]),i=vs(t.children[t.children.length-1]);a&&i&&(r.position={start:a,end:i}),o.push(r)}const a={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(t,a),e.applyData(t,a)},tableCell:function(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){const r=n?n.children:void 0,o=0===(r?r.indexOf(t):1)?"th":"td",a=n&&"table"===n.type?n.align:void 0,i=a?a.length:t.children.length;let l=-1;const s=[];for(;++l<i;){const n=t.children[l],r={},i=a?a[l]:void 0;i&&(r.align=i);let c={type:"element",tagName:o,properties:r,children:[]};n&&(c.children=e.all(n),e.patch(n,c),c=e.applyData(n,c)),s.push(c)}const c={type:"element",tagName:"tr",properties:{},children:e.wrap(s,!0)};return e.patch(t,c),e.applyData(t,c)},text:function(e,t){const n={type:"text",value:Wu(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:Vu,yaml:Vu,definition:Vu,footnoteDefinition:Vu};function Vu(){}const Hu="object"==typeof self?self:globalThis,Uu=e=>((e,t)=>{const n=(t,n)=>(e.set(n,t),t),r=o=>{if(e.has(o))return e.get(o);const[a,i]=t[o];switch(a){case 0:case-1:return n(i,o);case 1:{const e=n([],o);for(const t of i)e.push(r(t));return e}case 2:{const e=n({},o);for(const[t,n]of i)e[r(t)]=r(n);return e}case 3:return n(new Date(i),o);case 4:{const{source:e,flags:t}=i;return n(new RegExp(e,t),o)}case 5:{const e=n(new Map,o);for(const[t,n]of i)e.set(r(t),r(n));return e}case 6:{const e=n(new Set,o);for(const t of i)e.add(r(t));return e}case 7:{const{name:e,message:t}=i;return n(new Hu[e](t),o)}case 8:return n(BigInt(i),o);case"BigInt":return n(Object(BigInt(i)),o);case"ArrayBuffer":return n(new Uint8Array(i).buffer,i);case"DataView":{const{buffer:e}=new Uint8Array(i);return n(new DataView(e),i)}}return n(new Hu[a](i),o)};return r})(new Map,e)(0),qu="",{toString:Gu}={},{keys:Yu}=Object,Xu=e=>{const t=typeof e;if("object"!==t||!e)return[0,t];const n=Gu.call(e).slice(8,-1);switch(n){case"Array":return[1,qu];case"Object":return[2,qu];case"Date":return[3,qu];case"RegExp":return[4,qu];case"Map":return[5,qu];case"Set":return[6,qu];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},Ku=([e,t])=>0===e&&("function"===t||"symbol"===t),Qu=(e,{json:t,lossy:n}={})=>{const r=[];return((e,t,n,r)=>{const o=(e,t)=>{const o=r.push(e)-1;return n.set(t,o),o},a=r=>{if(n.has(r))return n.get(r);let[i,l]=Xu(r);switch(i){case 0:{let t=r;switch(l){case"bigint":i=8,t=r.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+l);t=null;break;case"undefined":return o([-1],r)}return o([i,t],r)}case 1:{if(l){let e=r;return"DataView"===l?e=new Uint8Array(r.buffer):"ArrayBuffer"===l&&(e=new Uint8Array(r)),o([l,[...e]],r)}const e=[],t=o([i,e],r);for(const n of r)e.push(a(n));return t}case 2:{if(l)switch(l){case"BigInt":return o([l,r.toString()],r);case"Boolean":case"Number":case"String":return o([l,r.valueOf()],r)}if(t&&"toJSON"in r)return a(r.toJSON());const n=[],s=o([i,n],r);for(const t of Yu(r))!e&&Ku(Xu(r[t]))||n.push([a(t),a(r[t])]);return s}case 3:return o([i,r.toISOString()],r);case 4:{const{source:e,flags:t}=r;return o([i,{source:e,flags:t}],r)}case 5:{const t=[],n=o([i,t],r);for(const[o,i]of r)(e||!Ku(Xu(o))&&!Ku(Xu(i)))&&t.push([a(o),a(i)]);return n}case 6:{const t=[],n=o([i,t],r);for(const o of r)!e&&Ku(Xu(o))||t.push(a(o));return n}}const{message:s}=r;return o([i,{name:l,message:s}],r)};return a})(!(t||n),!!t,new Map,r)(e),r},Ju="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?Uu(Qu(e,t)):structuredClone(e):(e,t)=>Uu(Qu(e,t));function Zu(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function ed(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}const td=function(e){if(null==e)return rd;if("function"==typeof e)return nd(e);if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=td(e[n]);return nd(function(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1})}(e):function(e){const t=e;return nd(function(n){const r=n;let o;for(o in e)if(r[o]!==t[o])return!1;return!0})}(e);if("string"==typeof e)return t=e,nd(function(e){return e&&e.type===t});var t;throw new Error("Expected function, string, or object as test")};function nd(e){return function(t,n,r){return Boolean(function(e){return null!==e&&"object"==typeof e&&"type"in e}(t)&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function rd(){return!0}const od=[],ad=!1;function id(e,t,n,r){let o;"function"==typeof t&&"function"!=typeof n?(r=n,n=t):o=t;const a=td(o),i=r?-1:1;!function e(o,l,s){const c=o&&"object"==typeof o?o:{};if("string"==typeof c.type){const e="string"==typeof c.tagName?c.tagName:"string"==typeof c.name?c.name:void 0;Object.defineProperty(u,"name",{value:"node ("+o.type+(e?"<"+e+">":"")+")"})}return u;function u(){let c,u,d,f=od;if((!t||a(o,l,s[s.length-1]||void 0))&&(f=function(e){return Array.isArray(e)?e:"number"==typeof e?[true,e]:null==e?od:[e]}(n(o,s)),f[0]===ad))return f;if("children"in o&&o.children){const t=o;if(t.children&&"skip"!==f[0])for(u=(r?t.children.length:-1)+i,d=s.concat(t);u>-1&&u<t.children.length;){const n=t.children[u];if(c=e(n,u,d)(),c[0]===ad)return c;u="number"==typeof c[1]?c[1]:u+i}}return f}}(e,void 0,[])()}function ld(e,t,n,r){let o,a,i;"function"==typeof t&&"function"!=typeof n?(a=void 0,i=t,o=n):(a=t,i=n,o=r),id(e,a,function(e,t){const n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return i(e,r,n)},o)}const sd={}.hasOwnProperty,cd={};function ud(e,t){e.position&&(t.position=function(e){const t=ys(e),n=vs(e);if(t&&n)return{start:t,end:n}}(e))}function dd(e,t){let n=t;if(e&&e.data){const t=e.data.hName,r=e.data.hChildren,o=e.data.hProperties;"string"==typeof t&&("element"===n.type?n.tagName=t:n={type:"element",tagName:t,properties:{},children:"children"in n?n.children:[n]}),"element"===n.type&&o&&Object.assign(n.properties,Ju(o)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function fd(e,t){const n=t.data||{},r=!("value"in t)||sd.call(n,"hProperties")||sd.call(n,"hChildren")?{type:"element",tagName:"div",properties:{},children:e.all(t)}:{type:"text",value:t.value};return e.patch(t,r),e.applyData(t,r)}function pd(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:"\n"});++r<e.length;)r&&n.push({type:"text",value:"\n"}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:"\n"}),n}function hd(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function gd(e,t){const n=function(e,t){const n=t||cd,r=new Map,o=new Map,a=new Map,i={...$u,...n.handlers},l={all:function(e){const t=[];if("children"in e){const n=e.children;let r=-1;for(;++r<n.length;){const o=l.one(n[r],e);if(o){if(r&&"break"===n[r-1].type&&(Array.isArray(o)||"text"!==o.type||(o.value=hd(o.value)),!Array.isArray(o)&&"element"===o.type)){const e=o.children[0];e&&"text"===e.type&&(e.value=hd(e.value))}Array.isArray(o)?t.push(...o):t.push(o)}}}return t},applyData:dd,definitionById:r,footnoteById:o,footnoteCounts:a,footnoteOrder:[],handlers:i,one:function(e,t){const n=e.type,r=l.handlers[n];if(sd.call(l.handlers,n)&&r)return r(l,e,t);if(l.options.passThrough&&l.options.passThrough.includes(n)){if("children"in e){const{children:t,...n}=e,r=Ju(n);return r.children=l.all(e),r}return Ju(e)}return(l.options.unknownHandler||fd)(l,e,t)},options:n,patch:ud,wrap:pd};return ld(e,function(e){if("definition"===e.type||"footnoteDefinition"===e.type){const t="definition"===e.type?r:o,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}}),l}(e,t),r=n.one(e,void 0),o=function(e){const t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||Zu,r=e.options.footnoteBackLabel||ed,o=e.options.footnoteLabel||"Footnotes",a=e.options.footnoteLabelTagName||"h2",i=e.options.footnoteLabelProperties||{className:["sr-only"]},l=[];let s=-1;for(;++s<e.footnoteOrder.length;){const o=e.footnoteById.get(e.footnoteOrder[s]);if(!o)continue;const a=e.all(o),i=String(o.identifier).toUpperCase(),c=gc(i.toLowerCase());let u=0;const d=[],f=e.footnoteCounts.get(i);for(;void 0!==f&&++u<=f;){d.length>0&&d.push({type:"text",value:" "});let e="string"==typeof n?n:n(s,u);"string"==typeof e&&(e={type:"text",value:e}),d.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+c+(u>1?"-"+u:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(s,u),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}const p=a[a.length-1];if(p&&"element"===p.type&&"p"===p.tagName){const e=p.children[p.children.length-1];e&&"text"===e.type?e.value+=" ":p.children.push({type:"text",value:" "}),p.children.push(...d)}else a.push(...d);const h={type:"element",tagName:"li",properties:{id:t+"fn-"+c},children:e.wrap(a,!0)};e.patch(o,h),l.push(h)}if(0!==l.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:a,properties:{...Ju(i),id:"footnote-label"},children:[{type:"text",value:o}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(l,!0)},{type:"text",value:"\n"}]}}(n),a=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return o&&a.children.push({type:"text",value:"\n"},o),a}function md(e,t){return e&&"run"in e?async function(n,r){const o=gd(n,{file:r,...t});await e.run(o,r)}:function(n,r){return gd(n,{file:r,...e||t})}}function bd(e){if(e)throw e}var vd,yd;function xd(){if(yd)return vd;yd=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,o=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===t.call(e)},a=function(n){if(!n||"[object Object]"!==t.call(n))return!1;var r,o=e.call(n,"constructor"),a=n.constructor&&n.constructor.prototype&&e.call(n.constructor.prototype,"isPrototypeOf");if(n.constructor&&!o&&!a)return!1;for(r in n);return void 0===r||e.call(n,r)},i=function(e,t){n&&"__proto__"===t.name?n(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(t,n){if("__proto__"===n){if(!e.call(t,n))return;if(r)return r(t,n).value}return t[n]};return vd=function e(){var t,n,r,s,c,u,d=arguments[0],f=1,p=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},f=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});f<p;++f)if(null!=(t=arguments[f]))for(n in t)r=l(d,n),d!==(s=l(t,n))&&(h&&s&&(a(s)||(c=o(s)))?(c?(c=!1,u=r&&o(r)?r:[]):u=r&&a(r)?r:{},i(d,{name:n,newValue:e(h,u,s)})):void 0!==s&&i(d,{name:n,newValue:s}));return d},vd}const kd=o(xd());function Sd(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}const wd=function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');zd(e);let n,r=0,o=-1,a=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;a--;)if(47===e.codePointAt(a)){if(n){r=a+1;break}}else o<0&&(n=!0,o=a+1);return o<0?"":e.slice(r,o)}if(t===e)return"";let i=-1,l=t.length-1;for(;a--;)if(47===e.codePointAt(a)){if(n){r=a+1;break}}else i<0&&(n=!0,i=a+1),l>-1&&(e.codePointAt(a)===t.codePointAt(l--)?l<0&&(o=a):(l=-1,o=i));return r===o?o=i:o<0&&(o=e.length),e.slice(r,o)},_d=function(e){if(zd(e),0===e.length)return".";let t,n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},Cd=function(e){zd(e);let t,n=e.length,r=-1,o=0,a=-1,i=0;for(;n--;){const l=e.codePointAt(n);if(47!==l)r<0&&(t=!0,r=n+1),46===l?a<0?a=n:1!==i&&(i=1):a>-1&&(i=-1);else if(t){o=n+1;break}}return a<0||r<0||0===i||1===i&&a===r-1&&a===o+1?"":e.slice(a,r)},Ed=function(...e){let t,n=-1;for(;++n<e.length;)zd(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n]);return void 0===t?".":function(e){zd(e);const t=47===e.codePointAt(0);let n=function(e,t){let n,r,o="",a=0,i=-1,l=0,s=-1;for(;++s<=e.length;){if(s<e.length)n=e.codePointAt(s);else{if(47===n)break;n=47}if(47===n){if(i===s-1||1===l);else if(i!==s-1&&2===l){if(o.length<2||2!==a||46!==o.codePointAt(o.length-1)||46!==o.codePointAt(o.length-2))if(o.length>2){if(r=o.lastIndexOf("/"),r!==o.length-1){r<0?(o="",a=0):(o=o.slice(0,r),a=o.length-1-o.lastIndexOf("/")),i=s,l=0;continue}}else if(o.length>0){o="",a=0,i=s,l=0;continue}t&&(o=o.length>0?o+"/..":"..",a=2)}else o.length>0?o+="/"+e.slice(i+1,s):o=e.slice(i+1,s),a=s-i-1;i=s,l=0}else 46===n&&l>-1?l++:l=-1}return o}(e,!t);return 0!==n.length||t||(n="."),n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/"),t?"/"+n:n}(t)},Pd="/";function zd(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Td=function(){return"/"};function Rd(e){return Boolean(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}const Id=["history","path","basename","stem","extname","dirname"];class Od{constructor(e){let t;t=e?Rd(e)?{path:e}:"string"==typeof e||function(e){return Boolean(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd="cwd"in t?"":Td(),this.data={},this.history=[],this.messages=[];let n,r=-1;for(;++r<Id.length;){const e=Id[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)Id.includes(n)||(this[n]=t[n])}get basename(){return"string"==typeof this.path?wd(this.path):void 0}set basename(e){Dd(e,"basename"),Ad(e,"basename"),this.path=Ed(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?_d(this.path):void 0}set dirname(e){Nd(this.basename,"dirname"),this.path=Ed(e||"",this.basename)}get extname(){return"string"==typeof this.path?Cd(this.path):void 0}set extname(e){if(Ad(e,"extname"),Nd(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Ed(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){Rd(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!Rd(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let n=-1;for(;++n<t.length;)if(37===t.codePointAt(n)&&50===t.codePointAt(n+1)){const e=t.codePointAt(n+2);if(70===e||102===e){const e=new TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),Dd(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?wd(this.path,this.extname):void 0}set stem(e){Dd(e,"stem"),Ad(e,"stem"),this.path=Ed(this.dirname||"",e+(this.extname||""))}fail(e,t,n){const r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){const r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){const r=new Cs(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){return void 0===this.value?"":"string"==typeof this.value?this.value:new TextDecoder(e||void 0).decode(this.value)}}function Ad(e,t){if(e&&e.includes(Pd))throw new Error("`"+t+"` cannot be a path: did not expect `"+Pd+"`")}function Dd(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function Nd(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}const Fd=function(e){const t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r},jd={}.hasOwnProperty;class Md extends Fd{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=function(){const e=[],t={run:function(...t){let n=-1;const r=t.pop();if("function"!=typeof r)throw new TypeError("Expected function as last argument, not "+r);!function o(a,...i){const l=e[++n];let s=-1;if(a)r(a);else{for(;++s<t.length;)null!==i[s]&&void 0!==i[s]||(i[s]=t[s]);t=i,l?function(e,t){let n;return function(...t){const i=e.length>t.length;let l;i&&t.push(r);try{l=e.apply(this,t)}catch(a){if(i&&n)throw a;return r(a)}i||(l&&l.then&&"function"==typeof l.then?l.then(o,r):l instanceof Error?r(l):o(l))};function r(e,...r){n||(n=!0,t(e,...r))}function o(e){r(null,e)}}(l,o)(...i):r(null,...i)}}(null,...t)},use:function(n){if("function"!=typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}()}copy(){const e=new Md;let t=-1;for(;++t<this.attachers.length;){const n=this.attachers[t];e.use(...n)}return e.data(kd(!0,{},this.namespace)),e}data(e,t){return"string"==typeof e?2===arguments.length?($d("data",this.frozen),this.namespace[e]=t,this):jd.call(this.namespace,e)&&this.namespace[e]||void 0:e?($d("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;const e=this;for(;++this.freezeIndex<this.attachers.length;){const[t,...n]=this.attachers[this.freezeIndex];if(!1===n[0])continue;!0===n[0]&&(n[0]=void 0);const r=t.call(e,...n);"function"==typeof r&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(e){this.freeze();const t=Ud(e),n=this.parser||this.Parser;return Wd("parse",n),n(String(t),t)}process(e,t){const n=this;return this.freeze(),Wd("process",this.parser||this.Parser),Bd("process",this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,o){const a=Ud(e),i=n.parse(a);function l(e,n){e||!n?o(e):r?r(n):t(void 0,n)}n.run(i,a,function(e,t,r){if(e||!t||!r)return l(e);const o=t,a=n.stringify(o,r);var i;"string"==typeof(i=a)||function(e){return Boolean(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(i)?r.value=a:r.result=a,l(e,r)})}}processSync(e){let t,n=!1;return this.freeze(),Wd("processSync",this.parser||this.Parser),Bd("processSync",this.compiler||this.Compiler),this.process(e,function(e,r){n=!0,bd(e),t=r}),Hd("processSync","process",n),t}run(e,t,n){Vd(e),this.freeze();const r=this.transformers;return n||"function"!=typeof t||(n=t,t=void 0),n?o(void 0,n):new Promise(o);function o(o,a){const i=Ud(t);r.run(e,i,function(t,r,i){const l=r||e;t?a(t):o?o(l):n(void 0,l,i)})}}runSync(e,t){let n,r=!1;return this.run(e,t,function(e,t){bd(e),n=t,r=!0}),Hd("runSync","run",r),n}stringify(e,t){this.freeze();const n=Ud(t),r=this.compiler||this.Compiler;return Bd("stringify",r),Vd(e),r(e,n)}use(e,...t){const n=this.attachers,r=this.namespace;if($d("use",this.frozen),null==e);else if("function"==typeof e)l(e,t);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");Array.isArray(e)?i(e):a(e)}return this;function o(e){if("function"==typeof e)l(e,[]);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");if(Array.isArray(e)){const[t,...n]=e;l(t,n)}else a(e)}}function a(e){if(!("plugins"in e)&&!("settings"in e))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");i(e.plugins),e.settings&&(r.settings=kd(!0,r.settings,e.settings))}function i(e){let t=-1;if(null==e);else{if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;)o(e[t])}}function l(e,t){let r=-1,o=-1;for(;++r<n.length;)if(n[r][0]===e){o=r;break}if(-1===o)n.push([e,...t]);else if(t.length>0){let[r,...a]=t;const i=n[o][1];Sd(i)&&Sd(r)&&(r=kd(!0,i,r)),n[o]=[e,r,...a]}}}}const Ld=(new Md).freeze();function Wd(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `parser`")}function Bd(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `compiler`")}function $d(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Vd(e){if(!Sd(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function Hd(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Ud(e){return function(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new Od(e)}const qd=[],Gd={allowDangerousHtml:!0},Yd=/^(https?|ircs?|mailto|xmpp)$/i,Xd=[{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 Kd(e){const t=function(e){const t=e.rehypePlugins||qd,n=e.remarkPlugins||qd,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Gd}:Gd;return Ld().use(ju).use(n).use(md,r).use(t)}(e),n=function(e){const t=e.children||"",n=new Od;return"string"==typeof t&&(n.value=t),n}(e);return function(e,t){const n=t.allowedElements,r=t.allowElement,o=t.components,a=t.disallowedElements,i=t.skipHtml,l=t.unwrapDisallowed,s=t.urlTransform||Qd;for(const c of Xd);return ld(e,function(e,t,o){if("raw"===e.type&&o&&"number"==typeof t)return i?o.children.splice(t,1):o.children[t]={type:"text",value:e.value},t;if("element"===e.type){let t;for(t in Bs)if(Object.hasOwn(Bs,t)&&Object.hasOwn(e.properties,t)){const n=e.properties[t],r=Bs[t];(null===r||r.includes(e.tagName))&&(e.properties[t]=s(String(n||""),t,e))}}if("element"===e.type){let i=n?!n.includes(e.tagName):!!a&&a.includes(e.tagName);if(!i&&r&&"number"==typeof t&&(i=!r(e,t,o)),i&&o&&"number"==typeof t)return l&&e.children?o.children.splice(t,1,...e.children):o.children.splice(t,1),t}}),function(e,t){if(!t||void 0===t.Fragment)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if("function"!=typeof t.jsxDEV)throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=function(e,t){return function(n,r,o,a){const i=Array.isArray(o.children),l=ys(n);return t(r,o,a,i,{columnNumber:l?l.column-1:void 0,fileName:e,lineNumber:l?l.line:void 0},void 0)}}(n,t.jsxDEV)}else{if("function"!=typeof t.jsx)throw new TypeError("Expected `jsx` in production options");if("function"!=typeof t.jsxs)throw new TypeError("Expected `jsxs` in production options");o=t.jsx,a=t.jsxs,r=function(e,t,n,r){const i=Array.isArray(n.children)?a:o;return r?i(t,n,r):i(t,n)}}var o,a;const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?os:rs,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},l=Os(i,e,void 0);return l&&"string"!=typeof l?l:i.create(e,i.Fragment,{children:l||void 0},void 0)}(e,{Fragment:h.Fragment,components:o,ignoreInvalidStyle:!0,jsx:h.jsx,jsxs:h.jsxs,passKeys:!0,passNode:!0})}(t.runSync(t.parse(n),n),e)}function Qd(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),o=e.indexOf("/");return-1===t||-1!==o&&t>o||-1!==n&&t>n||-1!==r&&t>r||Yd.test(e.slice(0,t))?e:""}const Jd=""+new URL("dori.ico",import.meta.url).href,Zd=({message:e,type:t="default"})=>{const n="loading"===t,{botData:r}=Li();return h.jsxs(hn,{position:"relative",width:"full",children:[h.jsx(hn,{opacity:"0",bg:"#EDEDED",borderRadius:"20px",padding:"12px",children:h.jsx(il,{fontWeight:400,fontSize:"12px",lineHeight:"18px",textAlign:"right",fontFamily:"Estedad-FD, system-ui, sans-serif",children:e})}),h.jsx(hn,{h:"42px"}),h.jsx(hn,{position:"absolute",left:0,bottom:0,children:h.jsx(ol,{src:r?.agent_image||Jd,alt:"Mori",w:"20px",h:"20px",borderRadius:"50%"})}),h.jsx(hn,{position:"absolute",left:"18px",bottom:"18px",width:"6.4px",height:"6.4px",bg:"#EDEDED",borderRadius:"100%"}),h.jsx(hn,{position:"absolute",left:"23px",bottom:"23px",width:"13px",height:"13px",bg:"#EDEDED",borderRadius:"100%"}),h.jsx(hn,{position:"absolute",left:"29px",bottom:"29px",bg:"#EDEDED",borderRadius:"20px",padding:"12px",children:n?h.jsx(il,{fontWeight:400,fontSize:"12px",lineHeight:"18px",textAlign:"right",color:"gray.500",fontFamily:"Estedad-FD, system-ui, sans-serif",children:e}):h.jsx(il,{fontWeight:400,fontSize:"12px",lineHeight:"18px",textAlign:"right",color:"black",fontFamily:"Estedad-FD, system-ui, sans-serif",children:e})})]})},ef=y.forwardRef(function(e,t){const{templateAreas:n,column:r,row:o,autoFlow:a,autoRows:i,templateRows:l,autoColumns:s,templateColumns:c,inline:u,...d}=e;return h.jsx(fn.div,{...d,ref:t,css:[{display:u?"inline-grid":"grid",gridTemplateAreas:n,gridAutoColumns:s,gridColumn:r,gridRow:o,gridAutoFlow:a,gridAutoRows:i,gridTemplateRows:l,gridTemplateColumns:c},e.css]})}),tf=y.forwardRef(function(e,t){const{columns:n,minChildWidth:r,...o}=e,a=Jt(),i=r?function(e,t){return $i(e,e=>{const n=t.tokens.getVar(`sizes.${e}`,function(e){return"number"==typeof e?`${e}px`:e}(e));return null===e?null:`repeat(auto-fit, minmax(${n}, 1fr))`})}(r,a):$i(n,e=>null===e?null:`repeat(${e}, minmax(0, 1fr))`);return h.jsx(ef,{ref:t,templateColumns:i,...o})}),{withContext:nf}=Yi({key:"badge"}),rf=nf("span"),of=""+new URL("reply.svg",import.meta.url).href,af=""+new URL("suggestion.svg",import.meta.url).href,lf=(e,t)=>{const n=e.includes("?")?"&":"?";return`${e}${n}utm_source=customer_referral&utm_medium=widget&utm_campaign=powered_by&utm_term=${t}`},sf=({product:e})=>{const{sendMessage:t,setRepliedProduct:n,botData:r,chatState:o}=Li(),{name:a,id:i,url:l}=e,s=async()=>{if(!l||!r)return;const t=(e=>{const t=e.includes("?")?"&":"?";return`${e}${t}utm_source=dori&utm_medium=dori_pdp_widget&utm_campaign=dori_product_recommendation`})(l);window.open(t,"_blank","noopener,noreferrer"),Ni(e,r,o.threadId)};return h.jsxs(Ui,{align:"stretch",gap:1,w:"full",children:[h.jsx(hn,{bg:"white",borderRadius:"14px",border:"1px solid #F0EEFE",p:1.5,w:"full",children:h.jsxs(Hi,{gap:1.5,align:"stretch",w:"full",children:[h.jsx(hn,{flexShrink:0,cursor:"pointer",onClick:s,_hover:{opacity:.9},transition:"opacity 0.2s",children:h.jsx(ol,{src:e.image,alt:e.name,w:"60px",h:"60px",objectFit:"contain",borderRadius:"md"})}),h.jsxs(Ui,{gap:.5,align:"start",justifyContent:"center",children:[h.jsx(il,{fontWeight:600,fontSize:"10px",lineHeight:"20px",textAlign:"start",color:"#1A1A1A",maxW:"100%",title:e.name,cursor:"pointer",onClick:s,_hover:{color:"#6155F5"},transition:"color 0.2s",children:e.name}),h.jsxs(Hi,{gap:.75,align:"center",children:[e.discount&&h.jsxs(h.Fragment,{children:[h.jsx(il,{fontSize:"xs",color:"gray.400",textDecoration:"line-through",children:e.originalPrice?.toLocaleString()}),h.jsxs(rf,{bg:"rgba(255, 56, 60, 0.14)",color:"#FF383C",fontSize:"xs",borderRadius:"20px",children:[e.discount,"٪"]})]}),!!e.price&&e.price>0&&h.jsxs(il,{fontSize:"10px",fontWeight:"700",color:"black",children:[e.price.toLocaleString()," USD"]})]})]})]})},e.id),h.jsxs(Hi,{gap:.5,w:"full",children:[h.jsx(rl,{variant:"outline",size:"xs",fontSize:"10px",lineHeight:"0px",textAlign:"right",color:"#6155F5",borderColor:"#F0EEFE",borderRadius:"3px",borderWidth:"2px",onClick:()=>{n({product:e,suggestions:["Does this product have a discount?","What features make this product special?","Does it come in other colors?"]})},"aria-label":"Reply",children:h.jsx(ol,{src:of,alt:"reply"})}),h.jsxs(nl,{variant:"outline",size:"xs",fontSize:"10px",lineHeight:"4px",textAlign:"right",color:"#6155F5",borderRadius:"3px",flex:1,fontWeight:400,onClick:()=>{t({message:`Do you have similar to ${a}`,apiMessage:`Do you have similar to ${i}`})},bgColor:"#F0EEFE",children:[h.jsx(ol,{width:4,height:4,src:af,alt:"suggestion"}),"Similar Suggestion"]})]})]})},cf=({products:e})=>h.jsx(Ui,{align:"stretch",gap:1.5,w:"full",children:h.jsx(hn,{px:.75,w:"full",children:h.jsx(tf,{dir:"ltr",minChildWidth:"240px",gapX:{base:.75,md:1.5},gapY:{base:1.5,md:3},children:e.map(e=>h.jsx(sf,{product:e},e.id))})})}),uf=({suggestions:e})=>{const{sendMessage:t}=Li();return h.jsx(Hi,{gap:1.5,wrap:"wrap",children:e.slice(0,3).map((e,n)=>h.jsx(nl,{bg:n%2==0?"white":"#F5F5F5",border:"1px solid #EDEDED",borderRadius:"20px",px:3,py:1.5,h:"auto",lineHeight:"1.5",onClick:()=>(e=>{t({message:e})})(e),_hover:{bg:"#F5F5F5",borderColor:"#6155F5"},_active:{bg:"#F0F0F0"},textAlign:"center",justifyContent:"center",children:h.jsx(il,{fontSize:"10px",fontWeight:"400",color:"#1A1A1A",textAlign:"center",wordBreak:"break-word",whiteSpace:"normal",children:e})},n))})};function df(e,t){const n=String(e);if("string"!=typeof t)throw new TypeError("Expected character");let r=0,o=n.indexOf(t);for(;-1!==o;)r++,o=n.indexOf(t,o+t.length);return r}function ff(e){return"string"==typeof e?new RegExp(function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(e),"g"):e}function pf(e){return"function"==typeof e?e:function(){return e}}const hf="phrasing",gf=["autolink","link","image","label"];function mf(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function bf(e){this.config.enter.autolinkProtocol.call(this,e)}function vf(e){this.config.exit.autolinkProtocol.call(this,e)}function yf(e){this.config.exit.data.call(this,e),this.stack[this.stack.length-1].url="http://"+this.sliceSerialize(e)}function xf(e){this.config.exit.autolinkEmail.call(this,e)}function kf(e){this.exit(e)}function Sf(e){!function(e,t,n){const r=td((n||{}).ignore||[]),o=function(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const e=n[r];t.push([ff(e[0]),pf(e[1])])}return t}(t);let a=-1;for(;++a<o.length;)id(e,"text",i);function i(e,t){let n,i=-1;for(;++i<t.length;){const e=t[i],o=n?n.children:void 0;if(r(e,o?o.indexOf(e):void 0,n))return;n=e}if(n)return function(e,t){const n=t[t.length-1],r=o[a][0],i=o[a][1];let l=0;const s=n.children.indexOf(e);let c=!1,u=[];r.lastIndex=0;let d=r.exec(e.value);for(;d;){const n=d.index,o={index:d.index,input:d.input,stack:[...t,e]};let a=i(...d,o);if("string"==typeof a&&(a=a.length>0?{type:"text",value:a}:void 0),!1===a?r.lastIndex=n+1:(l!==n&&u.push({type:"text",value:e.value.slice(l,n)}),Array.isArray(a)?u.push(...a):a&&u.push(a),l=n+d[0].length,c=!0),!r.global)break;d=r.exec(e.value)}return c?(l<e.value.length&&u.push({type:"text",value:e.value.slice(l)}),n.children.splice(s,1,...u)):u=[e],s+u.length}(e,t)}}(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,wf],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),_f]],{ignore:["link","linkReference"]})}function wf(e,t,n,r,o){let a="";if(!Cf(o))return!1;if(/^w/i.test(t)&&(n=t+n,t="",a="http://"),!function(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}(n))return!1;const i=function(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const o=df(e,"(");let a=df(e,")");for(;-1!==r&&o>a;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),a++;return[e,n]}(n+r);if(!i[0])return!1;const l={type:"link",title:null,url:a+t+i[0],children:[{type:"text",value:t+i[0]}]};return i[1]?[l,{type:"text",value:i[1]}]:l}function _f(e,t,n,r){return!(!Cf(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function Cf(e,t){const n=e.input.charCodeAt(e.index-1);return(0===e.index||pc(n)||fc(n))&&(!t||47!==n)}function Ef(){this.buffer()}function Pf(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function zf(){this.buffer()}function Tf(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function Rf(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.identifier=tc(this.sliceSerialize(e)).toLowerCase(),n.label=t}function If(e){this.exit(e)}function Of(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.identifier=tc(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Af(e){this.exit(e)}function Df(e,t,n,r){const o=n.createTracker(r);let a=o.move("[^");const i=n.enter("footnoteReference"),l=n.enter("reference");return a+=o.move(n.safe(n.associationId(e),{after:"]",before:a})),l(),i(),a+=o.move("]"),a}function Nf(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:function(e,n,r,o){const a=r.createTracker(o);let i=a.move("[^");const l=r.enter("footnoteDefinition"),s=r.enter("label");return i+=a.move(r.safe(r.associationId(e),{before:i,after:"]"})),s(),i+=a.move("]:"),e.children&&e.children.length>0&&(a.shift(4),i+=a.move((t?"\n":" ")+r.indentLines(r.containerFlow(e,a.current()),t?jf:Ff))),l(),i},footnoteReference:Df},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]}}function Ff(e,t,n){return 0===t?e:jf(e,0,n)}function jf(e,t,n){return(n?"":" ")+e}Df.peek=function(){return"["};const Mf=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function Lf(e){this.enter({type:"delete",children:[]},e)}function Wf(e){this.exit(e)}function Bf(e,t,n,r){const o=n.createTracker(r),a=n.enter("strikethrough");let i=o.move("~~");return i+=n.containerPhrasing(e,{...o.current(),before:i,after:"~"}),i+=o.move("~~"),a(),i}function $f(e){return e.length}function Vf(e){return null==e?"":String(e)}function Hf(e){const t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}function Uf(e,t,n){return">"+(n?"":" ")+e}function qf(e,t){return Gf(e,t.inConstruct,!0)&&!Gf(e,t.notInConstruct,!1)}function Gf(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function Yf(e,t,n,r){let o=-1;for(;++o<n.unsafe.length;)if("\n"===n.unsafe[o].character&&qf(n.stack,n.unsafe[o]))return/[ \t]/.test(r.before)?"":" ";return"\\\n"}function Xf(e,t,n){return(n?"":" ")+e}function Kf(e){const t=e.options.quote||'"';if('"'!==t&&"'"!==t)throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function Qf(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Jf(e,t,n){const r=xc(e),o=xc(t);return void 0===r?void 0===o?"_"===n?{inside:!0,outside:!0}:{inside:!1,outside:!1}:1===o?{inside:!0,outside:!0}:{inside:!1,outside:!0}:1===r?void 0===o?{inside:!1,outside:!1}:1===o?{inside:!0,outside:!0}:{inside:!1,outside:!1}:void 0===o?{inside:!1,outside:!1}:1===o?{inside:!0,outside:!1}:{inside:!1,outside:!1}}function Zf(e,t,n,r){const o=function(e){const t=e.options.emphasis||"*";if("*"!==t&&"_"!==t)throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}(n),a=n.enter("emphasis"),i=n.createTracker(r),l=i.move(o);let s=i.move(n.containerPhrasing(e,{after:o,before:l,...i.current()}));const c=s.charCodeAt(0),u=Jf(r.before.charCodeAt(r.before.length-1),c,o);u.inside&&(s=Qf(c)+s.slice(1));const d=s.charCodeAt(s.length-1),f=Jf(r.after.charCodeAt(0),d,o);f.inside&&(s=s.slice(0,-1)+Qf(d));const p=i.move(o);return a(),n.attentionEncodeSurroundingInfo={after:f.outside,before:u.outside},l+s+p}function ep(e){return e.value||""}function tp(e,t,n,r){const o=Kf(n),a='"'===o?"Quote":"Apostrophe",i=n.enter("image");let l=n.enter("label");const s=n.createTracker(r);let c=s.move("![");return c+=s.move(n.safe(e.alt,{before:c,after:"]",...s.current()})),c+=s.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),c+=s.move("<"),c+=s.move(n.safe(e.url,{before:c,after:">",...s.current()})),c+=s.move(">")):(l=n.enter("destinationRaw"),c+=s.move(n.safe(e.url,{before:c,after:e.title?" ":")",...s.current()}))),l(),e.title&&(l=n.enter(`title${a}`),c+=s.move(" "+o),c+=s.move(n.safe(e.title,{before:c,after:o,...s.current()})),c+=s.move(o),l()),c+=s.move(")"),i(),c}function np(e,t,n,r){const o=e.referenceType,a=n.enter("imageReference");let i=n.enter("label");const l=n.createTracker(r);let s=l.move("![");const c=n.safe(e.alt,{before:s,after:"]",...l.current()});s+=l.move(c+"]["),i();const u=n.stack;n.stack=[],i=n.enter("reference");const d=n.safe(n.associationId(e),{before:s,after:"]",...l.current()});return i(),n.stack=u,a(),"full"!==o&&c&&c===d?"shortcut"===o?s=s.slice(0,-1):s+=l.move("]"):s+=l.move(d+"]"),s}function rp(e,t,n){let r=e.value||"",o="`",a=-1;for(;new RegExp("(^|[^`])"+o+"([^`]|$)").test(r);)o+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++a<n.unsafe.length;){const e=n.unsafe[a],t=n.compilePattern(e);let o;if(e.atBreak)for(;o=t.exec(r);){let e=o.index;10===r.charCodeAt(e)&&13===r.charCodeAt(e-1)&&e--,r=r.slice(0,e)+" "+r.slice(o.index+1)}}return o+r+o}function op(e,t){const n=Vs(e);return Boolean(!t.options.resourceLink&&e.url&&!e.title&&e.children&&1===e.children.length&&"text"===e.children[0].type&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}function ap(e,t,n,r){const o=Kf(n),a='"'===o?"Quote":"Apostrophe",i=n.createTracker(r);let l,s;if(op(e,n)){const t=n.stack;n.stack=[],l=n.enter("autolink");let r=i.move("<");return r+=i.move(n.containerPhrasing(e,{before:r,after:">",...i.current()})),r+=i.move(">"),l(),n.stack=t,r}l=n.enter("link"),s=n.enter("label");let c=i.move("[");return c+=i.move(n.containerPhrasing(e,{before:c,after:"](",...i.current()})),c+=i.move("]("),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=i.move("<"),c+=i.move(n.safe(e.url,{before:c,after:">",...i.current()})),c+=i.move(">")):(s=n.enter("destinationRaw"),c+=i.move(n.safe(e.url,{before:c,after:e.title?" ":")",...i.current()}))),s(),e.title&&(s=n.enter(`title${a}`),c+=i.move(" "+o),c+=i.move(n.safe(e.title,{before:c,after:o,...i.current()})),c+=i.move(o),s()),c+=i.move(")"),l(),c}function ip(e,t,n,r){const o=e.referenceType,a=n.enter("linkReference");let i=n.enter("label");const l=n.createTracker(r);let s=l.move("[");const c=n.containerPhrasing(e,{before:s,after:"]",...l.current()});s+=l.move(c+"]["),i();const u=n.stack;n.stack=[],i=n.enter("reference");const d=n.safe(n.associationId(e),{before:s,after:"]",...l.current()});return i(),n.stack=u,a(),"full"!==o&&c&&c===d?"shortcut"===o?s=s.slice(0,-1):s+=l.move("]"):s+=l.move(d+"]"),s}function lp(e){const t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function sp(e){const t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}Bf.peek=function(){return"~"},Zf.peek=function(e,t,n){return n.options.emphasis||"*"},ep.peek=function(){return"<"},tp.peek=function(){return"!"},np.peek=function(){return"!"},rp.peek=function(){return"`"},ap.peek=function(e,t,n){return op(e,n)?"<":"["},ip.peek=function(){return"["};const cp=td(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function up(e,t,n,r){const o=function(e){const t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(n),a=n.enter("strong"),i=n.createTracker(r),l=i.move(o+o);let s=i.move(n.containerPhrasing(e,{after:o,before:l,...i.current()}));const c=s.charCodeAt(0),u=Jf(r.before.charCodeAt(r.before.length-1),c,o);u.inside&&(s=Qf(c)+s.slice(1));const d=s.charCodeAt(s.length-1),f=Jf(r.after.charCodeAt(0),d,o);f.inside&&(s=s.slice(0,-1)+Qf(d));const p=i.move(o+o);return a(),n.attentionEncodeSurroundingInfo={after:f.outside,before:u.outside},l+s+p}up.peek=function(e,t,n){return n.options.strong||"*"};const dp={blockquote:function(e,t,n,r){const o=n.enter("blockquote"),a=n.createTracker(r);a.move("> "),a.shift(2);const i=n.indentLines(n.containerFlow(e,a.current()),Uf);return o(),i},break:Yf,code:function(e,t,n,r){const o=function(e){const t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(n),a=e.value||"",i="`"===o?"GraveAccent":"Tilde";if(function(e,t){return Boolean(!1===t.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}(e,n)){const e=n.enter("codeIndented"),t=n.indentLines(a,Xf);return e(),t}const l=n.createTracker(r),s=o.repeat(Math.max(function(e,t){const n=String(e);let r=n.indexOf(t),o=r,a=0,i=0;if("string"!=typeof t)throw new TypeError("Expected substring");for(;-1!==r;)r===o?++a>i&&(i=a):a=1,o=r+t.length,r=n.indexOf(t,o);return i}(a,o)+1,3)),c=n.enter("codeFenced");let u=l.move(s);if(e.lang){const t=n.enter(`codeFencedLang${i}`);u+=l.move(n.safe(e.lang,{before:u,after:" ",encode:["`"],...l.current()})),t()}if(e.lang&&e.meta){const t=n.enter(`codeFencedMeta${i}`);u+=l.move(" "),u+=l.move(n.safe(e.meta,{before:u,after:"\n",encode:["`"],...l.current()})),t()}return u+=l.move("\n"),a&&(u+=l.move(a+"\n")),u+=l.move(s),c(),u},definition:function(e,t,n,r){const o=Kf(n),a='"'===o?"Quote":"Apostrophe",i=n.enter("definition");let l=n.enter("label");const s=n.createTracker(r);let c=s.move("[");return c+=s.move(n.safe(n.associationId(e),{before:c,after:"]",...s.current()})),c+=s.move("]: "),l(),!e.url||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),c+=s.move("<"),c+=s.move(n.safe(e.url,{before:c,after:">",...s.current()})),c+=s.move(">")):(l=n.enter("destinationRaw"),c+=s.move(n.safe(e.url,{before:c,after:e.title?" ":"\n",...s.current()}))),l(),e.title&&(l=n.enter(`title${a}`),c+=s.move(" "+o),c+=s.move(n.safe(e.title,{before:c,after:o,...s.current()})),c+=s.move(o),l()),i(),c},emphasis:Zf,hardBreak:Yf,heading:function(e,t,n,r){const o=Math.max(Math.min(6,e.depth||1),1),a=n.createTracker(r);if(function(e,t){let n=!1;return ld(e,function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return n=!0,ad}),Boolean((!e.depth||e.depth<3)&&Vs(e)&&(t.options.setext||n))}(e,n)){const t=n.enter("headingSetext"),r=n.enter("phrasing"),i=n.containerPhrasing(e,{...a.current(),before:"\n",after:"\n"});return r(),t(),i+"\n"+(1===o?"=":"-").repeat(i.length-(Math.max(i.lastIndexOf("\r"),i.lastIndexOf("\n"))+1))}const i="#".repeat(o),l=n.enter("headingAtx"),s=n.enter("phrasing");a.move(i+" ");let c=n.containerPhrasing(e,{before:"# ",after:"\n",...a.current()});return/^[\t ]/.test(c)&&(c=Qf(c.charCodeAt(0))+c.slice(1)),c=c?i+" "+c:i,n.options.closeAtx&&(c+=" "+i),s(),l(),c},html:ep,image:tp,imageReference:np,inlineCode:rp,link:ap,linkReference:ip,list:function(e,t,n,r){const o=n.enter("list"),a=n.bulletCurrent;let i=e.ordered?function(e){const t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(n):lp(n);const l=e.ordered?"."===i?")":".":function(e){const t=lp(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n);let s=!(!t||!n.bulletLastUsed)&&i===n.bulletLastUsed;if(!e.ordered){const t=e.children?e.children[0]:void 0;if("*"!==i&&"-"!==i||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(s=!0),sp(n)===i&&t){let t=-1;for(;++t<e.children.length;){const n=e.children[t];if(n&&"listItem"===n.type&&n.children&&n.children[0]&&"thematicBreak"===n.children[0].type){s=!0;break}}}}s&&(i=l),n.bulletCurrent=i;const c=n.containerFlow(e,r);return n.bulletLastUsed=i,n.bulletCurrent=a,o(),c},listItem:function(e,t,n,r){const o=function(e){const t=e.options.listItemIndent||"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(n);let a=n.bulletCurrent||lp(n);t&&"list"===t.type&&t.ordered&&(a=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+a);let i=a.length+1;("tab"===o||"mixed"===o&&(t&&"list"===t.type&&t.spread||e.spread))&&(i=4*Math.ceil(i/4));const l=n.createTracker(r);l.move(a+" ".repeat(i-a.length)),l.shift(i);const s=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,l.current()),function(e,t,n){return t?(n?"":" ".repeat(i))+e:(n?a:a+" ".repeat(i-a.length))+e});return s(),c},paragraph:function(e,t,n,r){const o=n.enter("paragraph"),a=n.enter("phrasing"),i=n.containerPhrasing(e,r);return a(),o(),i},root:function(e,t,n,r){return(e.children.some(function(e){return cp(e)})?n.containerPhrasing:n.containerFlow).call(n,e,r)},strong:up,text:function(e,t,n,r){return n.safe(e.value,r)},thematicBreak:function(e,t,n){const r=(sp(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}};function fp(e){const t=e._align;this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function pp(e){this.exit(e),this.data.inTable=void 0}function hp(e){this.enter({type:"tableRow",children:[]},e)}function gp(e){this.exit(e)}function mp(e){this.enter({type:"tableCell",children:[]},e)}function bp(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,vp)),this.stack[this.stack.length-1].value=t,this.exit(e)}function vp(e,t){return"|"===t?t:e}function yp(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,o=t.stringLength,a=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:function(e,t,n){let r=dp.inlineCode(e,t,n);return n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&")),r},table:function(e,t,n,r){return l(function(e,t,n){const r=e.children;let o=-1;const a=[],i=t.enter("table");for(;++o<r.length;)a[o]=s(r[o],t,n);return i(),a}(e,n,r),e.align)},tableCell:i,tableRow:function(e,t,n,r){const o=l([s(e,n,r)]);return o.slice(0,o.indexOf("\n"))}}};function i(e,t,n,r){const o=n.enter("tableCell"),i=n.enter("phrasing"),l=n.containerPhrasing(e,{...r,before:a,after:a});return i(),o(),l}function l(e,t){return function(e,t){const n=t||{},r=(n.align||[]).concat(),o=n.stringLength||$f,a=[],i=[],l=[],s=[];let c=0,u=-1;for(;++u<e.length;){const t=[],r=[];let a=-1;for(e[u].length>c&&(c=e[u].length);++a<e[u].length;){const i=Vf(e[u][a]);if(!1!==n.alignDelimiters){const e=o(i);r[a]=e,(void 0===s[a]||e>s[a])&&(s[a]=e)}t.push(i)}i[u]=t,l[u]=r}let d=-1;if("object"==typeof r&&"length"in r)for(;++d<c;)a[d]=Hf(r[d]);else{const e=Hf(r);for(;++d<c;)a[d]=e}d=-1;const f=[],p=[];for(;++d<c;){const e=a[d];let t="",r="";99===e?(t=":",r=":"):108===e?t=":":114===e&&(r=":");let o=!1===n.alignDelimiters?1:Math.max(1,s[d]-t.length-r.length);const i=t+"-".repeat(o)+r;!1!==n.alignDelimiters&&(o=t.length+o+r.length,o>s[d]&&(s[d]=o),p[d]=o),f[d]=i}i.splice(1,0,f),l.splice(1,0,p),u=-1;const h=[];for(;++u<i.length;){const e=i[u],t=l[u];d=-1;const r=[];for(;++d<c;){const o=e[d]||"";let i="",l="";if(!1!==n.alignDelimiters){const e=s[d]-(t[d]||0),n=a[d];114===n?i=" ".repeat(e):99===n?e%2?(i=" ".repeat(e/2+.5),l=" ".repeat(e/2-.5)):(i=" ".repeat(e/2),l=i):l=" ".repeat(e)}!1===n.delimiterStart||d||r.push("|"),!1===n.padding||!1===n.alignDelimiters&&""===o||!1===n.delimiterStart&&!d||r.push(" "),!1!==n.alignDelimiters&&r.push(i),r.push(o),!1!==n.alignDelimiters&&r.push(l),!1!==n.padding&&r.push(" "),!1===n.delimiterEnd&&d===c-1||r.push("|")}h.push(!1===n.delimiterEnd?r.join("").replace(/ +$/,""):r.join(""))}return h.join("\n")}(e,{align:t,alignDelimiters:r,padding:n,stringLength:o})}function s(e,t,n){const r=e.children;let o=-1;const a=[],l=t.enter("tableRow");for(;++o<r.length;)a[o]=i(r[o],0,t,n);return l(),a}}function xp(e){this.stack[this.stack.length-2].checked="taskListCheckValueChecked"===e.type}function kp(e){const t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){const e=this.stack[this.stack.length-1],n=e.children[0];if(n&&"text"===n.type){const r=t.children;let o,a=-1;for(;++a<r.length;){const e=r[a];if("paragraph"===e.type){o=e;break}}o===e&&(n.value=n.value.slice(1),0===n.value.length?e.children.shift():e.position&&n.position&&"number"==typeof n.position.start.offset&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function Sp(e,t,n,r){const o=e.children[0],a="boolean"==typeof e.checked&&o&&"paragraph"===o.type,i="["+(e.checked?"x":" ")+"] ",l=n.createTracker(r);a&&l.move(i);let s=dp.listItem(e,t,n,{...r,...l.current()});return a&&(s=s.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,function(e){return e+i})),s}const wp={tokenize:function(e,t,n){let r=0;return function t(a){return(87===a||119===a)&&r<3?(r++,e.consume(a),t):46===a&&3===r?(e.consume(a),o):n(a)};function o(e){return null===e?n(e):t(e)}},partial:!0},_p={tokenize:function(e,t,n){let r,o,a;return i;function i(t){return 46===t||95===t?e.check(Ep,s,l)(t):null===t||uc(t)||pc(t)||45!==t&&fc(t)?s(t):(a=!0,e.consume(t),i)}function l(t){return 95===t?r=!0:(o=r,r=void 0),e.consume(t),i}function s(e){return o||r||!a?n(e):t(e)}},partial:!0},Cp={tokenize:function(e,t){let n=0,r=0;return o;function o(i){return 40===i?(n++,e.consume(i),o):41===i&&r<n?a(i):33===i||34===i||38===i||39===i||41===i||42===i||44===i||46===i||58===i||59===i||60===i||63===i||93===i||95===i||126===i?e.check(Ep,t,a)(i):null===i||uc(i)||pc(i)?t(i):(e.consume(i),o)}function a(t){return 41===t&&r++,e.consume(t),o}},partial:!0},Ep={tokenize:function(e,t,n){return r;function r(i){return 33===i||34===i||39===i||41===i||42===i||44===i||46===i||58===i||59===i||63===i||95===i||126===i?(e.consume(i),r):38===i?(e.consume(i),a):93===i?(e.consume(i),o):60===i||null===i||uc(i)||pc(i)?t(i):n(i)}function o(e){return null===e||40===e||91===e||uc(e)||pc(e)?t(e):r(e)}function a(e){return nc(e)?i(e):n(e)}function i(t){return 59===t?(e.consume(t),r):nc(t)?(e.consume(t),i):n(t)}},partial:!0},Pp={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(e){return rc(e)?n(e):t(e)}},partial:!0},zp={name:"wwwAutolink",tokenize:function(e,t,n){const r=this;return function(t){return 87!==t&&119!==t||!Ap.call(r,r.previous)||jp(r.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(wp,e.attempt(_p,e.attempt(Cp,o),n),n)(t))};function o(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:Ap},Tp={name:"protocolAutolink",tokenize:function(e,t,n){const r=this;let o="",a=!1;return function(t){return 72!==t&&104!==t||!Dp.call(r,r.previous)||jp(r.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),o+=String.fromCodePoint(t),e.consume(t),i)};function i(t){if(nc(t)&&o.length<5)return o+=String.fromCodePoint(t),e.consume(t),i;if(58===t){const n=o.toLowerCase();if("http"===n||"https"===n)return e.consume(t),l}return n(t)}function l(t){return 47===t?(e.consume(t),a?s:(a=!0,l)):n(t)}function s(t){return null===t||ac(t)||uc(t)||pc(t)||fc(t)?n(t):e.attempt(_p,e.attempt(Cp,c),n)(t)}function c(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:Dp},Rp={name:"emailAutolink",tokenize:function(e,t,n){const r=this;let o,a;return function(t){return Fp(t)&&Np.call(r,r.previous)&&!jp(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),i(t)):n(t)};function i(t){return Fp(t)?(e.consume(t),i):64===t?(e.consume(t),l):n(t)}function l(t){return 46===t?e.check(Pp,c,s)(t):45===t||95===t||rc(t)?(a=!0,e.consume(t),l):c(t)}function s(t){return e.consume(t),o=!0,l}function c(i){return a&&o&&nc(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(i)):n(i)}},previous:Np},Ip={};let Op=48;for(;Op<123;)Ip[Op]=Rp,Op++,58===Op?Op=65:91===Op&&(Op=97);function Ap(e){return null===e||40===e||42===e||95===e||91===e||93===e||126===e||uc(e)}function Dp(e){return!nc(e)}function Np(e){return!(47===e||Fp(e))}function Fp(e){return 43===e||45===e||46===e||95===e||rc(e)}function jp(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if(("labelLink"===r.type||"labelImage"===r.type)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}Ip[43]=Rp,Ip[45]=Rp,Ip[46]=Rp,Ip[95]=Rp,Ip[72]=[Rp,Tp],Ip[104]=[Rp,Tp],Ip[87]=[Rp,zp],Ip[119]=[Rp,zp];const Mp={tokenize:function(e,t,n){const r=this;return mc(e,function(e){const o=r.events[r.events.length-1];return o&&"gfmFootnoteDefinitionIndent"===o[1].type&&4===o[2].sliceSerialize(o[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function Lp(e,t,n){const r=this;let o=r.events.length;const a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i;for(;o--;){const e=r.events[o][1];if("labelImage"===e.type){i=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(o){if(!i||!i._balanced)return n(o);const l=tc(r.sliceSerialize({start:i.end,end:r.now()}));return 94===l.codePointAt(0)&&a.includes(l.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),t(o)):n(o)}}function Wp(e,t){let n=e.length;for(;n--&&("labelImage"!==e[n][1].type||"enter"!==e[n][0]););e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},e[e.length-1][1].start)},i={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},l=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",o,t],["exit",o,t],["enter",a,t],["enter",i,t],["exit",i,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...l),e}function Bp(e,t,n){const r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a,i=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),l};function l(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",s)}function s(l){if(i>999||93===l&&!a||null===l||91===l||uc(l))return n(l);if(93===l){e.exit("chunkString");const a=e.exit("gfmFootnoteCallString");return o.includes(tc(r.sliceSerialize(a)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(l)}return uc(l)||(a=!0),i++,e.consume(l),92===l?c:s}function c(t){return 91===t||92===t||93===t?(e.consume(t),i++,s):s(t)}}function $p(e,t,n){const r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a,i,l=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),s};function s(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):n(t)}function c(t){if(l>999||93===t&&!i||null===t||91===t||uc(t))return n(t);if(93===t){e.exit("chunkString");const n=e.exit("gfmFootnoteDefinitionLabelString");return a=tc(r.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),d}return uc(t)||(i=!0),l++,e.consume(t),92===t?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),l++,c):c(t)}function d(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),o.includes(a)||o.push(a),mc(e,f,"gfmFootnoteDefinitionWhitespace")):n(t)}function f(e){return t(e)}}function Vp(e,t,n){return e.check(Cc,t,e.attempt(Mp,t,n))}function Hp(e){e.exit("gfmFootnoteDefinition")}function Up(e){let t=(e||{}).singleTilde;const n={name:"strikethrough",tokenize:function(e,n,r){const o=this.previous,a=this.events;let i=0;return function(t){return 126===o&&"characterEscape"!==a[a.length-1][1].type?r(t):(e.enter("strikethroughSequenceTemporary"),l(t))};function l(a){const s=xc(o);if(126===a)return i>1?r(a):(e.consume(a),i++,l);if(i<2&&!t)return r(a);const c=e.exit("strikethroughSequenceTemporary"),u=xc(a);return c._open=!u||2===u&&Boolean(s),c._close=!s||2===s&&Boolean(u),n(a)}},resolveAll:function(e,t){let n=-1;for(;++n<e.length;)if("enter"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._close){let r=n;for(;r--;)if("exit"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset===e[r][1].end.offset-e[r][1].start.offset){e[n][1].type="strikethroughSequence",e[r][1].type="strikethroughSequence";const o={type:"strikethrough",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},a={type:"strikethroughText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},i=[["enter",o,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",a,t]],l=t.parser.constructs.insideSpan.null;l&&Ys(i,i.length,0,kc(l,e.slice(r+1,n),t)),Ys(i,i.length,0,[["exit",a,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",o,t]]),Ys(e,r-1,n-r+3,i),n=r+i.length-2;break}}for(n=-1;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data");return e}};return null==t&&(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}}}class qp{constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let o=0;if(0!==n||0!==r.length){for(;o<e.map.length;){if(e.map[o][0]===t)return e.map[o][1]+=n,void e.map[o][2].push(...r);o+=1}e.map.push([t,n,r])}}(this,e,t,n)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),0===this.map.length)return;let t=this.map.length;const n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push(e.slice()),e.length=0;let r=n.pop();for(;r;){for(const t of r)e.push(t);r=n.pop()}this.map.length=0}}function Gp(e,t){let n=!1;const r=[];for(;t<e.length;){const o=e[t];if(n){if("enter"===o[0])"tableContent"===o[1].type&&r.push("tableDelimiterMarker"===e[t+1][1].type?"left":"none");else if("tableContent"===o[1].type){if("tableDelimiterMarker"===e[t-1][1].type){const e=r.length-1;r[e]="left"===r[e]?"center":"right"}}else if("tableDelimiterRow"===o[1].type)break}else"enter"===o[0]&&"tableDelimiterRow"===o[1].type&&(n=!0);t+=1}return r}function Yp(e,t,n){const r=this;let o,a=0,i=0;return function(e){let t=r.events.length-1;for(;t>-1;){const e=r.events[t][1].type;if("lineEnding"!==e&&"linePrefix"!==e)break;t--}const o=t>-1?r.events[t][1].type:null,a="tableHead"===o||"tableRow"===o?x:l;return a===x&&r.parser.lazy[r.now().line]?n(e):a(e)};function l(t){return e.enter("tableHead"),e.enter("tableRow"),function(e){return 124===e||(o=!0,i+=1),s(e)}(t)}function s(t){return null===t?n(t):cc(t)?i>1?(i=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),d):n(t):dc(t)?mc(e,s,"whitespace")(t):(i+=1,o&&(o=!1,a+=1),124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),o=!0,s):(e.enter("data"),c(t)))}function c(t){return null===t||124===t||uc(t)?(e.exit("data"),s(t)):(e.consume(t),92===t?u:c)}function u(t){return 92===t||124===t?(e.consume(t),c):c(t)}function d(t){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(t):(e.enter("tableDelimiterRow"),o=!1,dc(t)?mc(e,f,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):f(t))}function f(t){return 45===t||58===t?h(t):124===t?(o=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),p):y(t)}function p(t){return dc(t)?mc(e,h,"whitespace")(t):h(t)}function h(t){return 58===t?(i+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),g):45===t?(i+=1,g(t)):null===t||cc(t)?v(t):y(t)}function g(t){return 45===t?(e.enter("tableDelimiterFiller"),m(t)):y(t)}function m(t){return 45===t?(e.consume(t),m):58===t?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),b):(e.exit("tableDelimiterFiller"),b(t))}function b(t){return dc(t)?mc(e,v,"whitespace")(t):v(t)}function v(n){return 124===n?f(n):(null===n||cc(n))&&o&&a===i?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(n)):y(n)}function y(e){return n(e)}function x(t){return e.enter("tableRow"),k(t)}function k(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),k):null===n||cc(n)?(e.exit("tableRow"),t(n)):dc(n)?mc(e,k,"whitespace")(n):(e.enter("data"),S(n))}function S(t){return null===t||124===t||uc(t)?(e.exit("data"),k(t)):(e.consume(t),92===t?w:S)}function w(t){return 92===t||124===t?(e.consume(t),S):S(t)}}function Xp(e,t){let n,r,o,a=-1,i=!0,l=0,s=[0,0,0,0],c=[0,0,0,0],u=!1,d=0;const f=new qp;for(;++a<e.length;){const p=e[a],h=p[1];"enter"===p[0]?"tableHead"===h.type?(u=!1,0!==d&&(Qp(f,t,d,n,r),r=void 0,d=0),n={type:"table",start:Object.assign({},h.start),end:Object.assign({},h.end)},f.add(a,0,[["enter",n,t]])):"tableRow"===h.type||"tableDelimiterRow"===h.type?(i=!0,o=void 0,s=[0,0,0,0],c=[0,a+1,0,0],u&&(u=!1,r={type:"tableBody",start:Object.assign({},h.start),end:Object.assign({},h.end)},f.add(a,0,[["enter",r,t]])),l="tableDelimiterRow"===h.type?2:r?3:1):!l||"data"!==h.type&&"tableDelimiterMarker"!==h.type&&"tableDelimiterFiller"!==h.type?"tableCellDivider"===h.type&&(i?i=!1:(0!==s[1]&&(c[0]=c[1],o=Kp(f,t,s,l,void 0,o)),s=c,c=[s[1],a,0,0])):(i=!1,0===c[2]&&(0!==s[1]&&(c[0]=c[1],o=Kp(f,t,s,l,void 0,o),s=[0,0,0,0]),c[2]=a)):"tableHead"===h.type?(u=!0,d=a):"tableRow"===h.type||"tableDelimiterRow"===h.type?(d=a,0!==s[1]?(c[0]=c[1],o=Kp(f,t,s,l,a,o)):0!==c[1]&&(o=Kp(f,t,c,l,a,o)),l=0):!l||"data"!==h.type&&"tableDelimiterMarker"!==h.type&&"tableDelimiterFiller"!==h.type||(c[3]=a)}for(0!==d&&Qp(f,t,d,n,r),f.consume(t.events),a=-1;++a<t.events.length;){const e=t.events[a];"enter"===e[0]&&"table"===e[1].type&&(e[1]._align=Gp(t.events,a))}return e}function Kp(e,t,n,r,o,a){const i=1===r?"tableHeader":2===r?"tableDelimiter":"tableData";0!==n[0]&&(a.end=Object.assign({},Jp(t.events,n[0])),e.add(n[0],0,[["exit",a,t]]));const l=Jp(t.events,n[1]);if(a={type:i,start:Object.assign({},l),end:Object.assign({},l)},e.add(n[1],0,[["enter",a,t]]),0!==n[2]){const o=Jp(t.events,n[2]),a=Jp(t.events,n[3]),i={type:"tableContent",start:Object.assign({},o),end:Object.assign({},a)};if(e.add(n[2],0,[["enter",i,t]]),2!==r){const r=t.events[n[2]],o=t.events[n[3]];if(r[1].end=Object.assign({},o[1].end),r[1].type="chunkText",r[1].contentType="text",n[3]>n[2]+1){const t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",i,t]])}return void 0!==o&&(a.end=Object.assign({},Jp(t.events,o)),e.add(o,0,[["exit",a,t]]),a=void 0),a}function Qp(e,t,n,r,o){const a=[],i=Jp(t.events,n);o&&(o.end=Object.assign({},i),a.push(["exit",o,t])),r.end=Object.assign({},i),a.push(["exit",r,t]),e.add(n+1,0,a)}function Jp(e,t){const n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}const Zp={name:"tasklistCheck",tokenize:function(e,t,n){const r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),o):n(t)};function o(t){return uc(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),a):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),a):n(t)}function a(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),i):n(t)}function i(r){return cc(r)?t(r):dc(r)?e.check({tokenize:eh},t,n)(r):n(r)}}};function eh(e,t,n){return mc(e,function(e){return null===e?n(e):t(e)},"whitespace")}const th={};function nh(e){const t=e||th,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),o=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),a=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push(function(e){return Qs([{text:Ip},{document:{91:{name:"gfmFootnoteDefinition",tokenize:$p,continuation:{tokenize:Vp},exit:Hp}},text:{91:{name:"gfmFootnoteCall",tokenize:Bp},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:Lp,resolveTo:Wp}}},Up(e),{flow:{null:{name:"table",tokenize:Yp,resolveAll:Xp}}},{text:{91:Zp}}])}(t)),o.push([{transforms:[Sf],enter:{literalAutolink:mf,literalAutolinkEmail:bf,literalAutolinkHttp:bf,literalAutolinkWww:bf},exit:{literalAutolink:kf,literalAutolinkEmail:xf,literalAutolinkHttp:vf,literalAutolinkWww:yf}},{enter:{gfmFootnoteCallString:Ef,gfmFootnoteCall:Pf,gfmFootnoteDefinitionLabelString:zf,gfmFootnoteDefinition:Tf},exit:{gfmFootnoteCallString:Rf,gfmFootnoteCall:If,gfmFootnoteDefinitionLabelString:Of,gfmFootnoteDefinition:Af}},{canContainEols:["delete"],enter:{strikethrough:Lf},exit:{strikethrough:Wf}},{enter:{table:fp,tableData:mp,tableHeader:mp,tableRow:hp},exit:{codeText:bp,table:pp,tableData:gp,tableHeader:gp,tableRow:gp}},{exit:{taskListCheckValueChecked:xp,taskListCheckValueUnchecked:xp,paragraph:kp}}]),a.push(function(e){return{extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:hf,notInConstruct:gf},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:hf,notInConstruct:gf},{character:":",before:"[ps]",after:"\\/",inConstruct:hf,notInConstruct:gf}]},Nf(e),{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Mf}],handlers:{delete:Bf}},yp(e),{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Sp}}]}}(t))}const rh=({message:e})=>"loading"===e.type?e.content&&h.jsx(Zd,{message:e.content,type:"loading"}):"user"===e.type?h.jsx(hn,{maxW:"220px",alignSelf:"flex-end",mb:1.5,children:(e.content.length>0||e.repliedProduct)&&h.jsxs(Ui,{bg:"#EBF8FF",borderRadius:"20px",px:3,py:1.5,gap:1.5,alignItems:"start",w:"full",children:[e.repliedProduct&&h.jsxs(Hi,{bg:"white",borderRadius:"10px",p:1.5,gap:1.5,w:"full",children:[h.jsx(ol,{src:e.repliedProduct.image,alt:"product",w:"32px",h:"32px"}),h.jsx(il,{fontSize:"10px",fontWeight:"400",color:"#1A1A1A",children:e.repliedProduct.name})]}),h.jsx(Kd,{components:{p:({children:e})=>h.jsx(il,{wordBreak:"break-word",fontSize:"12px",fontWeight:"500",color:"#4299E1",children:e})},children:e.content})]})}):"products"===e.type?h.jsx(hn,{maxW:"100%",alignSelf:"flex-start",mb:3,w:"full",children:h.jsx(cf,{products:e.products||[]})}):"suggestions"===e.type?h.jsx(uf,{suggestions:e.suggestions||[]}):h.jsxs(Ui,{align:"stretch",gap:1.5,children:[h.jsx(hn,{alignSelf:"flex-start",children:h.jsx(Hi,{align:"start",justifyContent:"flex-start",gap:1.5,children:h.jsx(hn,{w:"full",borderRadius:"20px",py:2,children:h.jsx(Kd,{remarkPlugins:[nh],components:{p:({children:e})=>h.jsx(il,{fontSize:"12px",fontWeight:"400",color:"black",textAlign:"left",children:e}),ol:({children:e})=>h.jsx(hn,{as:"ol",p:1.5,textAlign:"left",mb:1.5,listStyleType:"decimal",listStylePosition:"inside",children:e}),ul:({children:e})=>h.jsx(hn,{as:"ul",p:1.5,textAlign:"left",mb:1.5,listStyleType:"disc",listStylePosition:"inside",children:e}),li:({children:e})=>h.jsx(il,{as:"li",fontSize:"12px",fontWeight:"400",color:"black",textAlign:"left",display:"list-item",children:e}),img:({src:e,alt:t})=>h.jsx(ol,{src:e,alt:t||"",maxW:"100%",borderRadius:"6px",my:1.5}),a:({children:e,href:t})=>h.jsx(sl,{href:t,target:"_blank",display:"block",wordBreak:"break-word",overflowWrap:"anywhere",children:h.jsx(il,{fontSize:"12px",fontWeight:"400",color:"#6155F5",textAlign:"left",wordBreak:"break-word",overflowWrap:"anywhere",whiteSpace:"normal",children:e})}),table:({children:e})=>h.jsx(hn,{overflowX:"auto",maxW:"100%",css:{"&::-webkit-scrollbar":{height:"5px"},"&::-webkit-scrollbar-track":{background:"#f1f1f1",borderRadius:"8px"},"&::-webkit-scrollbar-thumb":{background:"#888",borderRadius:"8px"},"&::-webkit-scrollbar-thumb:hover":{background:"#555"}},children:h.jsx(pl,{size:"sm",variant:"outline",w:"full",my:1.5,striped:!0,children:e})}),thead:({children:e})=>h.jsx(gl,{children:e}),tbody:({children:e})=>h.jsx(vl,{children:e}),tr:({children:e})=>h.jsx(hl,{children:e}),th:({children:e})=>h.jsx(ml,{fontSize:"12px",fontWeight:"600",color:"black",textAlign:"left",px:1.5,lineHeight:"1.5",py:.75,textTransform:"none",letterSpacing:"normal",border:"1px solid",borderColor:"#DEDEDE",whiteSpace:"nowrap",bg:"#E0E0E0",children:e}),td:({children:e})=>h.jsx(bl,{fontSize:"12px",fontWeight:"400",color:"black",textAlign:"left",px:1.5,lineHeight:"1.5",py:.75,border:"1px solid",borderColor:"#DEDEDE",children:e})},children:e.content})})})}),e.products&&e.products.length>0&&h.jsx(cf,{products:e.products})]});function oh(e={}){const{name:t,strict:n=!0,hookName:r="useContext",providerName:o="Provider",errorMessage:a,defaultValue:i}=e,l=y.createContext(i);return l.displayName=t,[l.Provider,function e(){const t=y.useContext(l);if(!t&&n){const t=new Error(a??`${r} returned \`undefined\`. Seems you forgot to wrap component within ${o}`);throw t.name="ContextError",Error.captureStackTrace?.(t,e),t}return t},l]}const[ah,ih]=oh({name:"FieldContext",hookName:"useFieldContext",providerName:"<FieldProvider />",strict:!1});var lh=e=>"string"==typeof e;Function.prototype.toString.call(Object);var sh=(...e)=>(...t)=>{e.forEach(function(e){e?.(...t)})},ch=e=>"object"==typeof e&&null!==e,uh=e=>ch(e)&&9===e.nodeType;function dh(e){return uh(e)?e:(e=>ch(e)&&e===e.window)(e)?e.document:e?.ownerDocument??document}function fh(e){return(e=>(e=>ch(e)&&void 0!==e.nodeType)(e)&&11===e.nodeType&&"host"in e)(e)?fh(e.host):uh(e)?e.defaultView??window:(e=>ch(e)&&1===e.nodeType&&"string"==typeof e.nodeName)(e)?e.ownerDocument?.defaultView??window:window}var ph=new WeakMap,hh=(...e)=>e.map(e=>e?.trim?.()).filter(Boolean).join(" "),gh=/((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g,mh=e=>{const t={};let n;for(;n=gh.exec(e);)t[n[1]]=n[2];return t},bh=(e,t)=>{if(lh(e)){if(lh(t))return`${e};${t}`;e=mh(e)}else lh(t)&&(t=mh(t));return Object.assign({},e??{},t??{})};function vh(...e){let t={};for(let n of e){if(!n)continue;for(let r in t)r.startsWith("on")&&"function"==typeof t[r]&&"function"==typeof n[r]?t[r]=sh(n[r],t[r]):t[r]="className"!==r&&"class"!==r?"style"!==r?void 0!==n[r]?n[r]:t[r]:bh(t[r],n[r]):hh(t[r],n[r]);for(let r in n)void 0===t[r]&&(t[r]=n[r]);const e=Object.getOwnPropertySymbols(n);for(let r of e)t[r]=n[r]}return t}var yh=()=>e=>Array.from(new Set(e));function xh(...e){return t=>{const n=[];for(const r of e)if("function"==typeof r){const e=r(t);"function"==typeof e&&n.push(e)}else r&&(r.current=t);if(n.length)return()=>{for(const e of n)e()}}}const kh=e=>{const t=y.memo(y.forwardRef((t,n)=>{const{asChild:r,children:o,...a}=t;if(!r)return y.createElement(e,{...a,ref:n},o);if(!y.isValidElement(o))return null;const i=y.Children.only(o),l=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}(i);return y.cloneElement(i,{...vh(a,i.props),ref:n?xh(n,l):l})}));return t.displayName=e.displayName||e.name,t},Sh=(()=>{const e=new Map;return new Proxy(kh,{apply:(e,t,n)=>kh(n[0]),get(t,n){const r=n;return e.has(r)||e.set(r,kh(r)),e.get(r)}})})(),[wh]=oh({name:"EnvironmentContext",hookName:"useEnvironmentContext",providerName:"<EnvironmentProvider />",strict:!1,defaultValue:{getRootNode:()=>document,getDocument:()=>document,getWindow:()=>window}});var _h=(e,t=[])=>({parts:(...n)=>{if(Eh(t))return _h(e,n);throw new Error("createAnatomy().parts(...) should only be called once. Did you mean to use .extendWith(...) ?")},extendWith:(...n)=>_h(e,[...t,...n]),omit:(...n)=>_h(e,t.filter(e=>!n.includes(e))),rename:e=>_h(e,t),keys:()=>t,build:()=>[...new Set(t)].reduce((t,n)=>Object.assign(t,{[n]:{selector:[`&[data-scope="${Ch(e)}"][data-part="${Ch(n)}"]`,`& [data-scope="${Ch(e)}"][data-part="${Ch(n)}"]`].join(", "),attrs:{"data-scope":Ch(e),"data-part":Ch(n)}}}),{})}),Ch=e=>e.replace(/([A-Z])([A-Z])/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),Eh=e=>0===e.length;const Ph=_h("field").parts("root","errorText","helperText","input","label","select","textarea","requiredIndicator");Ph.build();var zh=e=>{if(!e)return;const t=function(e){return ph.has(e)||ph.set(e,fh(e).getComputedStyle(e)),ph.get(e)}(e),n=fh(e),r=dh(e),o=()=>{requestAnimationFrame(()=>{let n;e.style.height="auto",n="content-box"===t.boxSizing?e.scrollHeight-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):e.scrollHeight+parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),"none"!==t.maxHeight&&n>parseFloat(t.maxHeight)?("hidden"===t.overflowY&&(e.style.overflowY="scroll"),n=parseFloat(t.maxHeight)):"hidden"!==t.overflowY&&(e.style.overflowY="hidden"),e.style.height=`${n}px`})};e.addEventListener("input",o),e.form?.addEventListener("reset",o);const a=Object.getPrototypeOf(e),i=Object.getOwnPropertyDescriptor(a,"value");Object.defineProperty(e,"value",{...i,set(){i?.set?.apply(this,arguments),o()}});const l=new n.ResizeObserver(()=>{requestAnimationFrame(()=>o())});l.observe(e);const s=new n.MutationObserver(()=>o());return s.observe(e,{attributes:!0,attributeFilter:["rows","placeholder"]}),r.fonts?.addEventListener("loadingdone",o),()=>{e.removeEventListener("input",o),e.form?.removeEventListener("reset",o),r.fonts?.removeEventListener("loadingdone",o),l.disconnect(),s.disconnect()}};const Th=y.forwardRef((e,t)=>{const{autoresize:n,...r}=e,o=y.useRef(null),a=ih(),i=vh(a?.getTextareaProps(),{style:{resize:n?"none":void 0}},r);return y.useEffect(()=>{if(n)return zh(o.current)},[n]),h.jsx(Sh.textarea,{...i,ref:xh(t,o)})});Th.displayName="FieldTextarea";const{withContext:Rh}=Yi({key:"textarea"}),Ih=Rh(Th),Oh=({placeholder:e="Write a prompt or paste a contract address",value:t="",onChange:n,onSend:r,isMobileView:o})=>{const{chatState:{repliedProduct:a},setRepliedProduct:i}=Li(),[l,s]=y.useState(t);y.useEffect(()=>{s(u(t))},[t]);const c=e=>{(l.trim()||e)&&(r?.({message:e??l.trim()},a?.product),i?.(null),s(""))},u=e=>e.trimStart();return h.jsx(Ui,{gap:1.5,align:"stretch",bg:"transparent",position:"relative",children:h.jsx(hn,{bg:"#EDEDED",borderRadius:"20px",position:"relative",p:1.5,w:"full",h:a?o?"260px":"165px":"75px",transition:"all 0.6s cubic-bezier(0.4, 0, 0.2, 1)",overflow:"hidden",transform:"scale(1)",opacity:1,children:h.jsxs(hn,{position:"absolute",top:0,left:0,right:0,bottom:0,p:1.5,opacity:1,transform:"translateY(0) scale(1)",transition:"all 0.5s cubic-bezier(0.4, 0, 0.2, 1)",pointerEvents:"auto",children:[a&&h.jsxs(Ui,{opacity:1,p:"6px",gap:"6px",borderRadius:"10px",borderWidth:"1px",bgColor:"white",children:[h.jsxs(Hi,{justify:"space-between",align:"center",w:"full",children:[h.jsx(ol,{src:a?.product?.image,alt:"product",w:"32px",h:"32px"}),h.jsx(il,{fontSize:"10px",fontWeight:400,color:"#1A1A1A",children:a?.product?.name}),h.jsx(rl,{bg:"transparent","aria-label":"Remove product",onClick:()=>i?.(null),children:h.jsx(ol,{src:"data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.26915%205.7309C5.98798%205.44973%205.53209%205.44973%205.25092%205.7309C4.96975%206.01207%204.96975%206.46796%205.25092%206.74913L10.5018%2012L5.25092%2017.2509C4.96975%2017.5321%204.96975%2017.9879%205.25092%2018.2691C5.53209%2018.5503%205.98798%2018.5503%206.26915%2018.2691L11.52%2013.0183L16.7709%2018.2691C17.0521%2018.5503%2017.5079%2018.5503%2017.7891%2018.2691C18.0703%2017.9879%2018.0703%2017.5321%2017.7891%2017.2509L12.5383%2012L17.7891%206.74913C18.0703%206.46796%2018.0703%206.01207%2017.7891%205.7309C17.5079%205.44973%2017.0521%205.44973%2016.7709%205.7309L11.52%2010.9817L6.26915%205.7309Z'%20fill='black'%20/%3e%3c/svg%3e",alt:"arrow-left",w:"20px",h:"20px"})})]}),a?.suggestions&&a.suggestions.length>0&&h.jsxs(h.Fragment,{children:[h.jsx(hn,{display:{base:"none",md:"block"},w:"full",children:h.jsx(Hi,{w:"full",justify:"flex-start",align:"center",gap:1.5,children:a.suggestions.map(e=>h.jsx(nl,{variant:"outline",bg:"transparent",color:"#1A1A1A",fontSize:"10px",borderColor:"#EDEDED",borderRadius:"20px",fontWeight:400,onClick:()=>c(e),h:"28px",px:2.5,minW:"unset",flex:1,lineHeight:"1.5",overflow:"hidden",children:h.jsx(hn,{as:"span",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",display:"block",w:"100%",children:e})},e))})}),h.jsx(hn,{display:{base:"block",md:"none"},w:"full",children:h.jsx(Ui,{w:"full",align:"stretch",gap:"6px",children:a.suggestions.map(e=>h.jsx(nl,{variant:"outline",bg:"transparent",w:"full",color:"#1A1A1A",fontSize:"10px",borderColor:"#EDEDED",borderRadius:"20px",fontWeight:400,onClick:()=>c(e),children:e},e))})})]})]}),h.jsx(Ih,{value:l,onChange:e=>(e=>{const t=u(e);s(t),n?.(t)})(e.target.value),onKeyPress:e=>{"Enter"!==e.key||e.shiftKey||(e.preventDefault(),c())},placeholder:e,fontSize:"14px",color:"black",fontWeight:300,resize:"none",h:"100%",border:"none",bg:"transparent",lineHeight:"1.5",_focus:{boxShadow:"none",border:"none",outline:"none"},_placeholder:{color:"black"},transition:"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)"}),h.jsx(rl,{position:"absolute",bottom:"10px",right:"10px",size:"xs",borderRadius:"full",bg:"#040404",color:"white","aria-label":"Send",onClick:()=>c(),_hover:{bg:"gray.800"},disabled:!l.trim(),transition:"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)",_disabled:{bg:"#CCCCCC",cursor:"not-allowed"},transform:"scale(1)",zIndex:2,children:h.jsx("img",{src:"data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='16'%20cy='16'%20r='16'%20fill='%23040404'%20/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M14.5858%2011.0002C15.3669%2010.2191%2016.6332%2010.2191%2017.4143%2011.0002L20.3738%2013.9597C20.7643%2014.3502%2020.7643%2014.9834%2020.3738%2015.3739C19.9833%2015.7644%2019.3501%2015.7644%2018.9596%2015.3739L17%2013.4144V21.0002C17%2021.5524%2016.5523%2022.0002%2016%2022.0002C15.4478%2022.0002%2015%2021.5524%2015%2021.0002V13.4144L13.0405%2015.3739C12.65%2015.7644%2012.0168%2015.7645%2011.6263%2015.3739C11.2358%2014.9834%2011.2358%2014.3502%2011.6263%2013.9597L14.5858%2011.0002Z'%20fill='white'%20/%3e%3c/svg%3e",alt:"Send"})})]})})})},Ah=({placeholder:e="Write a prompt or paste a contract address",onStop:t})=>{const{stopCurrentRequest:n}=Li();return h.jsx(Ui,{gap:1.5,align:"stretch",bg:"transparent",position:"relative",children:h.jsx(hn,{bg:"#EDEDED",borderRadius:"28px",position:"relative",p:2.5,w:"full",h:"42px",transition:"all 0.6s cubic-bezier(0.4, 0, 0.2, 1)",overflow:"hidden",transform:"scale(1)",opacity:1,children:h.jsx(hn,{position:"absolute",top:0,left:0,right:0,bottom:0,p:2.5,opacity:1,transform:"translateY(0) scale(1)",transition:"all 0.5s cubic-bezier(0.4, 0, 0.2, 1)",pointerEvents:"auto",children:h.jsxs(Hi,{justify:"space-between",align:"center",h:"full",children:[h.jsx(il,{color:"#999999",fontSize:"14px",flex:1,transition:"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)",children:e}),h.jsx(rl,{size:"xs",borderRadius:"full",bg:"#040404",color:"white","aria-label":"Stop",onClick:()=>{n?.(),t?.()},_hover:{bg:"gray.800"},transition:"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)",transform:"scale(1)",zIndex:2,children:h.jsx("img",{src:"data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='16'%20cy='16'%20r='16'%20fill='%23040404'%20/%3e%3cpath%20d='M22%2010H10V22H22V10Z'%20fill='white'%20/%3e%3c/svg%3e",alt:"Stop"})})]})})})})},Dh=({state:e="starting",placeholder:t="Write a prompt or paste a contract address",value:n="",onChange:r,onSend:o,onStop:a})=>{const[i,l]=y.useState(!1);return y.useEffect(()=>{const e=()=>{l(window.innerWidth<=768)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),"starting"===e?h.jsx(Oh,{placeholder:t,value:n,onChange:r,onSend:o,isMobileView:i}):h.jsx(Ah,{placeholder:t,onStop:a,isMobileView:i})},Nh=()=>{const e=Li(),{botData:t}=Li(),n=y.useRef(null),r=e.messages.length>0;return y.useEffect(()=>{r&&n.current&&setTimeout(()=>{n.current?.scrollTo({top:n.current.scrollHeight,behavior:"smooth"})},100)},[e.messages,r]),h.jsxs(Ui,{flex:1,justify:"space-between",align:"stretch",gap:3,h:"full",minH:"200px",maxH:"300px",overflow:"hidden",children:[!r&&t?.suggested_prompts&&h.jsx(hn,{w:"full",flex:1,overflowY:"auto",overflowX:"hidden",css:{"&::-webkit-scrollbar":{display:"none"},scrollbarWidth:"none",msOverflowStyle:"none"},children:h.jsx(Hi,{wrap:"wrap",gap:1.5,children:t.suggested_prompts.slice(0,3).map((t,n)=>h.jsxs(nl,{variant:"outline",h:"auto",borderRadius:"20px",border:"1px solid #EDEDED",bg:"white",color:"#1A1A1A",fontSize:"12px",fontWeight:400,padding:"6px 10px 6px 10px",_hover:{bg:"#F8F8F8",borderColor:"#D0D0D0"},_active:{bg:"#F0F0F0",transform:"scale(0.98)"},lineHeight:"1.5",onClick:()=>(t=>{e.sendMessage({message:t})})(t),justifyContent:"start",maxW:"100%",children:[h.jsx(ol,{src:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8%202.66683C5.42267%202.66683%203.33333%204.75617%203.33333%207.3335H2C2%204.01979%204.68629%201.3335%208%201.3335C11.3137%201.3335%2014%204.01979%2014%207.3335C14%208.75016%2013.509%2010.0522%2012.6879%2011.0786L14.8047%2013.1954L13.8619%2014.1382L11.7451%2012.0214C10.7187%2012.8425%209.41667%2013.3335%208%2013.3335V12.0002C10.5773%2012.0002%2012.6667%209.91083%2012.6667%207.3335C12.6667%204.75617%2010.5773%202.66683%208%202.66683Z'%20fill='%23595959'%20/%3e%3cpath%20d='M5.85714%206.6665L2%2011.2498H4.57143L4.14286%2013.9998L8%209.4165H5.42857L5.85714%206.6665Z'%20fill='%23595959'%20/%3e%3c/svg%3e",alt:"AI Search",w:3.5,h:3.5}),h.jsx(hn,{as:"span",whiteSpace:"normal",wordBreak:"break-word",overflowWrap:"break-word",fontFamily:"Estedad-FD, system-ui, sans-serif",children:t})]},n))})}),r&&h.jsx(hn,{ref:n,flex:1,overflowY:"auto",overflowX:"hidden",css:{"&::-webkit-scrollbar":{display:"none"},scrollbarWidth:"none",msOverflowStyle:"none"},children:h.jsx(Ui,{gap:1.5,align:"stretch",pb:1.5,children:e.messages.map(e=>h.jsx(rh,{message:e},e.id))})}),h.jsx(hn,{flexShrink:0,bg:"transparent",borderRadius:"10px",transition:"all 0.2s ease",children:h.jsx(Dh,{state:e.inputState,placeholder:"generating"===e.inputState?"Processing...":"What's your question?",onSend:e.isInputDisabled?void 0:e.sendMessage,onStop:e.stopCurrentRequest})})]})};var Fh=_h("collapsible").parts("root","trigger","content","indicator");Fh.build(),yh()(["dir","disabled","getRootNode","id","ids","onExitComplete","onOpenChange","defaultOpen","open"]);var jh=_h("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"]);jh.build(),yh()(["closeOnSelect","dir","disabled","format","defaultFormat","getRootNode","id","ids","initialFocusEl","inline","name","positioning","onFocusOutside","onFormatChange","onInteractOutside","onOpenChange","onPointerDownOutside","onValueChange","onValueChangeEnd","defaultOpen","open","positioning","required","readOnly","value","defaultValue","invalid","openAutoFocus"]),yh()(["xChannel","yChannel"]),yh()(["channel","orientation"]),yh()(["value","disabled"]),yh()(["value","respectAlpha"]),yh()(["size"]);var Mh=_h("accordion").parts("root","item","itemTrigger","itemContent","itemIndicator");Mh.build(),yh()(["collapsible","dir","disabled","getRootNode","id","ids","multiple","onFocusChange","onValueChange","orientation","value","defaultValue"]),yh()(["value","disabled"]);var Lh=_h("avatar").parts("root","image","fallback");Lh.build(),yh()(["dir","id","ids","onStatusChange","getRootNode"]);var Wh=_h("checkbox").parts("root","label","control","indicator");Wh.build(),yh()(["defaultChecked","checked","dir","disabled","form","getRootNode","id","ids","invalid","name","onCheckedChange","readOnly","required","value"]);const Bh=Wh.extendWith("group");var $h=_h("clipboard").parts("root","control","trigger","indicator","input","label");$h.build(),yh()(["getRootNode","id","ids","value","defaultValue","timeout","onStatusChange","onValueChange"]),yh()(["copied"]);const Vh=jh.extendWith("view");var Hh=_h("combobox").parts("root","clearTrigger","content","control","input","item","itemGroup","itemGroupLabel","itemIndicator","itemText","label","list","positioner","trigger");Hh.build(),yh()(["allowCustomValue","autoFocus","closeOnSelect","collection","composite","defaultHighlightedValue","defaultInputValue","defaultOpen","defaultValue","dir","disabled","disableLayer","form","getRootNode","highlightedValue","id","ids","inputBehavior","inputValue","invalid","loopFocus","multiple","name","navigate","onFocusOutside","onHighlightChange","onInputValueChange","onInteractOutside","onOpenChange","onOpenChange","onPointerDownOutside","onSelect","onValueChange","open","openOnChange","openOnClick","openOnKeyPress","placeholder","positioning","readOnly","required","scrollToIndexFn","selectionBehavior","translations","value","alwaysSubmitOnEnter"]),yh()(["htmlFor"]),yh()(["id"]),yh()(["item","persistFocus"]);const Uh=Hh.extendWith("empty");var qh=_h("dialog").parts("trigger","backdrop","positioner","content","title","description","closeTrigger");qh.build(),yh()(["aria-label","closeOnEscape","closeOnInteractOutside","dir","finalFocusEl","getRootNode","getRootNode","id","id","ids","initialFocusEl","modal","onEscapeKeyDown","onFocusOutside","onInteractOutside","onOpenChange","onPointerDownOutside","onRequestDismiss","defaultOpen","open","persistentElements","preventScroll","restoreFocus","role","trapFocus"]);var Gh=_h("editable").parts("root","area","label","preview","input","editTrigger","submitTrigger","cancelTrigger","control");Gh.build(),yh()(["activationMode","autoResize","dir","disabled","finalFocusEl","form","getRootNode","id","ids","invalid","maxLength","name","onEditChange","onFocusOutside","onInteractOutside","onPointerDownOutside","onValueChange","onValueCommit","onValueRevert","placeholder","readOnly","required","selectOnFocus","edit","defaultEdit","submitMode","translations","defaultValue","value"]);const Yh=_h("fieldset").parts("root","errorText","helperText","legend");Yh.build();var Xh=_h("file-upload").parts("root","dropzone","item","itemDeleteTrigger","itemGroup","itemName","itemPreview","itemPreviewImage","itemSizeText","label","trigger","clearTrigger");Xh.build(),yh()(["accept","acceptedFiles","allowDrop","capture","defaultAcceptedFiles","dir","directory","disabled","getRootNode","id","ids","invalid","locale","maxFiles","maxFileSize","minFileSize","name","onFileAccept","onFileChange","onFileReject","preventDocumentDrop","required","transformFiles","translations","validate"]),yh()(["file","type"]);const Kh=e=>{const{value:t,children:n}=e,[r,o]=y.useState(),a=y.useMemo(()=>()=>{return("function"==typeof(e=t)?e():e)??r?.getRootNode()??document;var e},[t,r]),i=y.useMemo(()=>({getRootNode:a,getWindow:()=>fh(a()),getDocument:()=>dh(a())}),[a]);return h.jsxs(wh,{value:i,children:[n,!t&&h.jsx("span",{hidden:!0,ref:o})]})};var Qh=_h("hoverCard").parts("arrow","arrowTip","trigger","positioner","content");Qh.build(),yh()(["closeDelay","dir","getRootNode","id","ids","disabled","onOpenChange","defaultOpen","open","openDelay","positioning","onInteractOutside","onPointerDownOutside","onFocusOutside"]);var Jh=_h("tree-view").parts("branch","branchContent","branchControl","branchIndentGuide","branchIndicator","branchText","branchTrigger","item","itemIndicator","itemText","label","nodeCheckbox","root","tree");Jh.build(),yh()(["ids","collection","dir","expandedValue","expandOnClick","defaultFocusedValue","focusedValue","getRootNode","id","onExpandedChange","onFocusChange","onSelectionChange","checkedValue","selectedValue","selectionMode","typeahead","defaultExpandedValue","defaultSelectedValue","defaultCheckedValue","onCheckedChange","onLoadChildrenComplete","onLoadChildrenError","loadChildren"]),yh()(["node","indexPath"]);var Zh=_h("listbox").parts("label","input","item","itemText","itemIndicator","itemGroup","itemGroupLabel","content","root","valueText");Zh.build(),yh()(["collection","defaultHighlightedValue","defaultValue","dir","disabled","deselectable","disallowSelectAll","getRootNode","highlightedValue","id","ids","loopFocus","onHighlightChange","onSelect","onValueChange","orientation","scrollToIndexFn","selectionMode","selectOnHighlight","typeahead","value"]),yh()(["item","highlightOnHover"]),yh()(["id"]),yh()(["htmlFor"]);const eg=Zh.extendWith("empty");var tg=_h("menu").parts("arrow","arrowTip","content","contextTrigger","indicator","item","itemGroup","itemGroupLabel","itemIndicator","itemText","positioner","separator","trigger","triggerItem");tg.build(),yh()(["anchorPoint","aria-label","closeOnSelect","composite","defaultHighlightedValue","defaultOpen","dir","getRootNode","highlightedValue","id","ids","loopFocus","navigate","onEscapeKeyDown","onFocusOutside","onHighlightChange","onInteractOutside","onOpenChange","onPointerDownOutside","onRequestDismiss","onSelect","open","positioning","typeahead"]),yh()(["closeOnSelect","disabled","value","valueText"]),yh()(["htmlFor"]),yh()(["id"]),yh()(["checked","closeOnSelect","disabled","onCheckedChange","type","value","valueText"]);var ng=_h("numberInput").parts("root","label","input","control","valueText","incrementTrigger","decrementTrigger","scrubber");ng.build(),yh()(["allowMouseWheel","allowOverflow","clampValueOnBlur","dir","disabled","focusInputOnChange","form","formatOptions","getRootNode","id","ids","inputMode","invalid","locale","max","min","name","onFocusChange","onValueChange","onValueInvalid","pattern","required","readOnly","spinOnPress","step","translations","value","defaultValue"]);var rg=_h("pinInput").parts("root","label","input","control");rg.build(),yh()(["autoFocus","blurOnComplete","count","defaultValue","dir","disabled","form","getRootNode","id","ids","invalid","mask","name","onValueChange","onValueComplete","onValueInvalid","otp","pattern","placeholder","readOnly","required","selectOnFocus","translations","type","value"]);var og=_h("popover").parts("arrow","arrowTip","anchor","trigger","indicator","positioner","content","title","description","closeTrigger");og.build(),yh()(["autoFocus","closeOnEscape","closeOnInteractOutside","dir","getRootNode","id","ids","initialFocusEl","modal","onEscapeKeyDown","onFocusOutside","onInteractOutside","onOpenChange","onPointerDownOutside","onRequestDismiss","defaultOpen","open","persistentElements","portalled","positioning"]);var ag=_h("progress").parts("root","label","track","range","valueText","view","circle","circleTrack","circleRange");ag.build(),yh()(["dir","getRootNode","id","ids","max","min","orientation","translations","value","onValueChange","defaultValue","formatOptions","locale"]);var ig=_h("qr-code").parts("root","frame","pattern","overlay","downloadTrigger");ig.build(),yh()(["ids","defaultValue","value","id","encoding","dir","getRootNode","onValueChange","pixelSize"]);var lg=_h("radio-group").parts("root","label","item","itemText","itemControl","indicator");lg.build(),yh()(["dir","disabled","form","getRootNode","id","ids","name","onValueChange","orientation","readOnly","value","defaultValue"]),yh()(["value","disabled","invalid"]);var sg=_h("rating-group").parts("root","label","item","control");sg.build(),yh()(["allowHalf","autoFocus","count","dir","disabled","form","getRootNode","id","ids","name","onHoverChange","onValueChange","required","readOnly","translations","value","defaultValue"]),yh()(["index"]);var cg=_h("scroll-area").parts("root","viewport","content","scrollbar","thumb","corner");cg.build(),yh()(["dir","getRootNode","ids","id"]);const ug=lg.rename("segment-group");ug.build();var dg=_h("select").parts("label","positioner","trigger","indicator","clearTrigger","item","itemText","itemIndicator","itemGroup","itemGroupLabel","list","content","root","control","valueText");dg.build(),yh()(["closeOnSelect","collection","composite","defaultHighlightedValue","defaultOpen","defaultValue","deselectable","dir","disabled","form","getRootNode","highlightedValue","id","ids","invalid","loopFocus","multiple","name","onFocusOutside","onHighlightChange","onInteractOutside","onOpenChange","onPointerDownOutside","onSelect","onValueChange","open","positioning","readOnly","required","scrollToIndexFn","value"]),yh()(["item","persistFocus"]),yh()(["id"]),yh()(["htmlFor"]);var fg=_h("slider").parts("root","label","thumb","valueText","track","range","control","markerGroup","marker","draggingIndicator");fg.build(),yh()(["aria-label","aria-labelledby","dir","disabled","form","getAriaValueText","getRootNode","id","ids","invalid","max","min","minStepsBetweenThumbs","name","onFocusChange","onValueChange","onValueChangeEnd","orientation","origin","readOnly","step","thumbAlignment","thumbAlignment","thumbSize","value","defaultValue"]),yh()(["index","name"]);var pg=_h("switch").parts("root","label","control","thumb");pg.build(),yh()(["checked","defaultChecked","dir","disabled","form","getRootNode","id","ids","invalid","label","name","onCheckedChange","readOnly","required","value"]);var hg=_h("tooltip").parts("trigger","arrow","arrowTip","positioner","content");function gg(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}hg.build(),yh()(["aria-label","closeDelay","closeOnEscape","closeOnPointerDown","closeOnScroll","closeOnClick","dir","disabled","getRootNode","id","ids","interactive","onOpenChange","defaultOpen","open","openDelay","positioning"]);const mg=e=>(t,n)=>{const r=n.utils.colorMix(t);if(r.invalid)return{[e]:t};const o="--mix-"+e;return{[o]:r.value,[e]:`var(${o}, ${r.color})`}};function bg(e){if(null===e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(e=>bg(e));const t=Object.create(Object.getPrototypeOf(e));for(const n of Object.keys(e))t[n]=bg(e[n]);return t}function vg(e,t){if(null==t)return e;for(const n of Object.keys(t))if(void 0!==t[n]&&"__proto__"!==n)if(!qt(e[n])&&qt(t[n]))Object.assign(e,{[n]:t[n]});else if(e[n]&&qt(t[n]))vg(e[n],t[n]);else if(Array.isArray(t[n])&&Array.isArray(e[n])){let r=0;for(;r<t[n].length;r++)qt(e[n][r])&&qt(t[n][r])?vg(e[n][r],t[n][r]):e[n][r]=t[n][r]}else Object.assign(e,{[n]:t[n]});return e}function yg(e,...t){for(const n of t)vg(e,n);return e}const xg=["value","type","description"],kg=(...e)=>{const t=yg({},...e.map(bg));return t.theme?.tokens&&Bi(t.theme.tokens,e=>{const t=Object.keys(e).filter(e=>!xg.includes(e)).length>0,n=xg.some(t=>null!=e[t]);return t&&n&&(e.DEFAULT||(e.DEFAULT={}),xg.forEach(t=>{var n;null!=e[t]&&((n=e.DEFAULT)[t]||(n[t]=e[t]),delete e[t])})),e},{stop(e){return(t=e)&&"object"==typeof t&&!Array.isArray(t)&&Object.keys(e).some(e=>xg.includes(e)||e!==e.toLowerCase()&&e!==e.toUpperCase());var t}}),t};function Sg(){const e=e=>e;return new Proxy(e,{get:()=>e})}const wg=Sg(),_g=Sg(),Cg=/[^a-zA-Z0-9_\u0081-\uffff-]/g,Eg=/[A-Z]/g;function Pg(e,t={}){const{fallback:n="",prefix:r=""}=t,o=function(e){return e.replace(Eg,e=>`-${e.toLowerCase()}`)}(["-",r,(a=e,`${a}`.replace(Cg,e=>`\\${e}`))].filter(Boolean).join("-"));var a;return{var:o,ref:`var(${o}${n?`, ${n}`:""})`}}const zg=(e,t)=>null!=t?`${e}(${t})`:t,Tg=e=>{if((e=>/^var\(--.+\)$/.test(e))(e)||null==e)return e;const t="string"==typeof e&&!e.endsWith("deg");return"number"==typeof e||t?`${e}deg`:e},Rg=e=>({values:["outside","inside","mixed","none"],transform(t,{token:n}){const r=n("colors.colorPalette.focusRing");return{inside:{"--focus-ring-color":r,[e]:{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":r,[e]:{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":r,[e]:{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":r,[e]:{outline:"none"}}}[t]??{}}}),Ig=mg("borderColor"),Og=e=>({transition:e,transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"150ms"}),Ag=Pg("bg-currentcolor"),Dg=e=>e===Ag.ref||"currentBg"===e,Ng=e=>({...e("colors"),currentBg:Ag}),Fg={conditions:{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"},utilities:{background:{values:Ng,shorthand:["bg"],transform(e,t){if(Dg(t.raw))return{background:Ag.ref};const n=mg("background")(e,t);return{...n,[Ag.var]:n?.background}}},backgroundColor:{values:Ng,shorthand:["bgColor"],transform(e,t){if(Dg(t.raw))return{backgroundColor:Ag.ref};const n=mg("backgroundColor")(e,t);return{...n,[Ag.var]:n?.backgroundColor}}},backgroundSize:{shorthand:["bgSize"]},backgroundPosition:{shorthand:["bgPos"]},backgroundRepeat:{shorthand:["bgRepeat"]},backgroundAttachment:{shorthand:["bgAttachment"]},backgroundClip:{shorthand:["bgClip"],values:["text"],transform:e=>"text"===e?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e}},backgroundGradient:{shorthand:["bgGradient"],values:e=>({...e("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:e=>({"--gradient-stops":"var(--gradient-from), var(--gradient-to)","--gradient":"var(--gradient-via-stops, var(--gradient-stops))",backgroundImage:e})},gradientFrom:{values:Ng,transform:mg("--gradient-from")},gradientTo:{values:Ng,transform:mg("--gradient-to")},gradientVia:{values:Ng,transform:(e,t)=>({...mg("--gradient-via")(e,t),"--gradient-via-stops":"var(--gradient-from), var(--gradient-via), var(--gradient-to)"})},backgroundImage:{values:e=>({...e("gradients"),...e("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:Ng,transform:mg("borderColor")},borderTopColor:{values:Ng,transform:mg("borderTopColor")},borderBlockStartColor:{values:Ng,transform:mg("borderBlockStartColor")},borderBottomColor:{values:Ng,transform:mg("borderBottomColor")},borderBlockEndColor:{values:Ng,transform:mg("borderBlockEndColor")},borderLeftColor:{values:Ng,transform:mg("borderLeftColor")},borderInlineStartColor:{values:Ng,shorthand:["borderStartColor"],transform:mg("borderInlineStartColor")},borderRightColor:{values:Ng,transform:mg("borderRightColor")},borderInlineEndColor:{values:Ng,shorthand:["borderEndColor"],transform:mg("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:e=>({borderStartStartRadius:e,borderEndStartRadius:e})},borderInlineEndRadius:{values:"radii",property:"borderRadius",shorthand:["roundedEnd","borderEndRadius"],transform:e=>({borderStartEndRadius:e,borderEndEndRadius:e})},borderTopRadius:{values:"radii",property:"borderRadius",shorthand:["roundedTop"],transform:e=>({borderTopLeftRadius:e,borderTopRightRadius:e})},borderBottomRadius:{values:"radii",property:"borderRadius",shorthand:["roundedBottom"],transform:e=>({borderBottomLeftRadius:e,borderBottomRightRadius:e})},borderLeftRadius:{values:"radii",property:"borderRadius",shorthand:["roundedLeft"],transform:e=>({borderTopLeftRadius:e,borderBottomLeftRadius:e})},borderRightRadius:{values:"radii",property:"borderRadius",shorthand:["roundedRight"],transform:e=>({borderTopRightRadius:e,borderBottomRightRadius:e})},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:Ng,transform:mg("color")},fill:{values:Ng,transform:mg("fill")},stroke:{values:Ng,transform:mg("stroke")},accentColor:{values:Ng,transform:mg("accentColor")},divideX:{values:{type:"string"},transform:e=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{borderInlineStartWidth:e,borderInlineEndWidth:"0px"}})},divideY:{values:{type:"string"},transform:e=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{borderTopWidth:e,borderBottomWidth:"0px"}})},divideColor:{values:Ng,transform:(e,t)=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":Ig(e,t)})},divideStyle:{property:"borderStyle",transform:e=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{borderStyle:e}})},boxShadow:{values:"shadows",shorthand:["shadow"]},boxShadowColor:{values:Ng,transform:mg("--shadow-color"),shorthand:["shadowColor"]},mixBlendMode:{shorthand:["blendMode"]},backgroundBlendMode:{shorthand:["bgBlendMode"]},opacity:{values:"opacity"},filter:{transform:e=>"auto"!==e?{filter:e}:{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:e=>({"--blur":zg("blur",e)})},brightness:{transform:e=>({"--brightness":zg("brightness",e)})},contrast:{transform:e=>({"--contrast":zg("contrast",e)})},grayscale:{transform:e=>({"--grayscale":zg("grayscale",e)})},hueRotate:{transform:e=>({"--hue-rotate":zg("hue-rotate",Tg(e))})},invert:{transform:e=>({"--invert":zg("invert",e)})},saturate:{transform:e=>({"--saturate":zg("saturate",e)})},sepia:{transform:e=>({"--sepia":zg("sepia",e)})},dropShadow:{transform:e=>({"--drop-shadow":zg("drop-shadow",e)})},backdropFilter:{transform:e=>"auto"!==e?{backdropFilter:e}:{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:e=>({"--backdrop-blur":zg("blur",e)})},backdropBrightness:{transform:e=>({"--backdrop-brightness":zg("brightness",e)})},backdropContrast:{transform:e=>({"--backdrop-contrast":zg("contrast",e)})},backdropGrayscale:{transform:e=>({"--backdrop-grayscale":zg("grayscale",e)})},backdropHueRotate:{transform:e=>({"--backdrop-hue-rotate":zg("hue-rotate",Tg(e))})},backdropInvert:{transform:e=>({"--backdrop-invert":zg("invert",e)})},backdropOpacity:{transform:e=>({"--backdrop-opacity":zg("opacity",e)})},backdropSaturate:{transform:e=>({"--backdrop-saturate":zg("saturate",e)})},backdropSepia:{transform:e=>({"--backdrop-sepia":zg("sepia",e)})},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:Ng,transform:mg("outlineColor")},focusRing:Rg("&:is(:focus, [data-focus])"),focusVisibleRing:Rg("&:is(:focus-visible, [data-focus-visible])"),focusRingColor:{values:Ng,transform:mg("--focus-ring-color")},focusRingOffset:{values:"spacing",transform:e=>({"--focus-ring-offset":e})},focusRingWidth:{values:"borderWidths",property:"outlineWidth",transform:e=>({"--focus-ring-width":e})},focusRingStyle:{values:"borderStyles",property:"outlineStyle",transform:e=>({"--focus-ring-style":e})},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:e=>({width:e,height:e})},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:(e,{raw:t,token:n})=>{const r=n.raw(`breakpoints.${t}`)?`@breakpoint ${t}`:`@media screen and (min-width: ${e})`;return{[r]:{display:"none"}}}},hideBelow:{values:"breakpoints",transform(e,{raw:t,token:n}){const r=n.raw(`breakpoints.${t}`)?`@breakpoint ${t}Down`:`@media screen and (max-width: ${e})`;return{[r]:{display:"none"}}}},overscrollBehavior:{shorthand:["overscroll"]},overscrollBehaviorX:{shorthand:["overscrollX"]},overscrollBehaviorY:{shorthand:["overscrollY"]},scrollbar:{values:["visible","hidden"],transform(e){switch(e){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:Ng,transform:mg("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:e=>({scrollMarginLeft:e,scrollMarginRight:e})},scrollMarginY:{values:"spacing",transform:e=>({scrollMarginTop:e,scrollMarginBottom:e})},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:e=>({"--scroll-snap-strictness":e})},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:e=>({"--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":e,boxShadow:"var(--ring-offset-shadow), var(--ring-shadow), var(--shadow, 0 0 #0000)"})},ringColor:{values:Ng,transform:mg("--ring-color")},ringOffset:{transform:e=>({"--ring-offset-width":e})},ringOffsetColor:{values:Ng,transform:mg("--ring-offset-color")},ringInset:{transform:e=>({"--ring-inset":e})},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:Ng,transform:mg("textDecorationColor")},textShadow:{values:"shadows"},transform:{transform:e=>{let t=e;return"auto"===e&&(t="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))"),"auto-gpu"===e&&(t="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:t}}},skewX:{transform:e=>({"--skew-x":Tg(e)})},skewY:{transform:e=>({"--skew-y":Tg(e)})},scaleX:{transform:e=>({"--scale-x":e})},scaleY:{transform:e=>({"--scale-y":e})},scale:{transform:e=>"auto"!==e?{scale:e}:{scale:"var(--scale-x, 1) var(--scale-y, 1)"}},spaceXReverse:{values:{type:"boolean"},transform:e=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-x-reverse":e?"1":void 0}})},spaceX:{property:"marginInlineStart",values:"spacing",transform:e=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-x-reverse":"0",marginInlineStart:`calc(${e} * calc(1 - var(--space-x-reverse)))`,marginInlineEnd:`calc(${e} * var(--space-x-reverse))`}})},spaceYReverse:{values:{type:"boolean"},transform:e=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-y-reverse":e?"1":void 0}})},spaceY:{property:"marginTop",values:"spacing",transform:e=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-y-reverse":"0",marginTop:`calc(${e} * calc(1 - var(--space-y-reverse)))`,marginBottom:`calc(${e} * var(--space-y-reverse))`}})},rotate:{transform:e=>"auto"!==e?{rotate:Tg(e)}:{rotate:"var(--rotate-x, 0) var(--rotate-y, 0) var(--rotate-z, 0)"}},rotateX:{transform:e=>({"--rotate-x":Tg(e)})},rotateY:{transform:e=>({"--rotate-y":Tg(e)})},translate:{transform:e=>"auto"!==e?{translate:e}:{translate:"var(--translate-x) var(--translate-y)"}},translateX:{values:"spacing",transform:e=>({"--translate-x":e})},translateY:{values:"spacing",transform:e=>({"--translate-y":e})},transition:{values:["all","common","colors","opacity","position","backgrounds","size","shadow","transform"],transform(e){switch(e){case"all":return Og("all");case"position":return Og("left, right, top, bottom, inset-inline, inset-block");case"colors":return Og("color, background-color, border-color, text-decoration-color, fill, stroke");case"opacity":return Og("opacity");case"shadow":return Og("box-shadow");case"transform":return Og("transform");case"size":return Og("width, height");case"backgrounds":return Og("background, background-color, background-image, background-position");case"common":return Og("color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter");default:return{transition:e}}}},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:e=>!0===e?{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}:{}},lineClamp:{transform:e=>"none"===e?{WebkitLineClamp:"unset"}:{overflow:"hidden",display:"-webkit-box",WebkitLineClamp:e,WebkitBoxOrient:"vertical",textWrap:"wrap"}},borderSpacing:{values:e=>({...e("spacing"),auto:"var(--border-spacing-x, 0) var(--border-spacing-y, 0)"})},borderSpacingX:{values:"spacing",transform:e=>({"--border-spacing-x":e})},borderSpacingY:{values:"spacing",transform:e=>({"--border-spacing-y":e})},srOnly:{values:{type:"boolean"},transform:e=>jg[e]||{}},debug:{values:{type:"boolean"},transform:e=>e?{outline:"1px solid blue !important","& > *":{outline:"1px solid red !important"}}:{}},caretColor:{values:Ng,transform:mg("caretColor")},cursor:{values:"cursor"}}},jg={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 Mg="".split(","),Lg="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,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".split(",").concat(Mg),Wg=new Map(Lg.map(e=>[e,!0]));function Bg(e){const t=Object.create(null);return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}var $g,Vg,Hg=/&|@/,Ug=Bg(e=>Wg.has(e)||e.startsWith("--")||Hg.test(e));function qg(e,t){const n={};return Bi(e,(e,t)=>{e&&(n[t.join(".")]=e.value)},{stop:t}),n}function Gg(){if(Vg)return $g;Vg=1,$g=a,a.default=a,a.stable=c,a.stableStringify=c;var e="[...]",t="[Circular]",n=[],r=[];function o(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function a(e,t,a,i){var s;void 0===i&&(i=o()),l(e,"",0,[],void 0,0,i);try{s=0===r.length?JSON.stringify(e,t,a):JSON.stringify(e,d(t),a)}catch(u){return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;0!==n.length;){var c=n.pop();4===c.length?Object.defineProperty(c[0],c[1],c[3]):c[0][c[1]]=c[2]}}return s}function i(e,t,o,a){var i=Object.getOwnPropertyDescriptor(a,o);void 0!==i.get?i.configurable?(Object.defineProperty(a,o,{value:e}),n.push([a,o,t,i])):r.push([t,o,e]):(a[o]=e,n.push([a,o,t]))}function l(n,r,o,a,s,c,u){var d;if(c+=1,"object"==typeof n&&null!==n){for(d=0;d<a.length;d++)if(a[d]===n)return void i(t,n,r,s);if(void 0!==u.depthLimit&&c>u.depthLimit)return void i(e,n,r,s);if(void 0!==u.edgesLimit&&o+1>u.edgesLimit)return void i(e,n,r,s);if(a.push(n),Array.isArray(n))for(d=0;d<n.length;d++)l(n[d],d,d,a,n,c,u);else{var f=Object.keys(n);for(d=0;d<f.length;d++){var p=f[d];l(n[p],p,d,a,n,c,u)}}a.pop()}}function s(e,t){return e<t?-1:e>t?1:0}function c(e,t,a,i){void 0===i&&(i=o());var l,s=u(e,"",0,[],void 0,0,i)||e;try{l=0===r.length?JSON.stringify(s,t,a):JSON.stringify(s,d(t),a)}catch(f){return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;0!==n.length;){var c=n.pop();4===c.length?Object.defineProperty(c[0],c[1],c[3]):c[0][c[1]]=c[2]}}return l}function u(r,o,a,l,c,d,f){var p;if(d+=1,"object"==typeof r&&null!==r){for(p=0;p<l.length;p++)if(l[p]===r)return void i(t,r,o,c);try{if("function"==typeof r.toJSON)return}catch(b){return}if(void 0!==f.depthLimit&&d>f.depthLimit)return void i(e,r,o,c);if(void 0!==f.edgesLimit&&a+1>f.edgesLimit)return void i(e,r,o,c);if(l.push(r),Array.isArray(r))for(p=0;p<r.length;p++)u(r[p],p,p,l,r,d,f);else{var h={},g=Object.keys(r).sort(s);for(p=0;p<g.length;p++){var m=g[p];u(r[m],m,p,l,r,d,f),h[m]=r[m]}if(void 0===c)return h;n.push([c,o,r]),c[o]=h}l.pop()}}function d(e){return e=void 0!==e?e:function(e,t){return t},function(t,n){if(r.length>0)for(var o=0;o<r.length;o++){var a=r[o];if(a[1]===t&&a[0]===n){n=a[2],r.splice(o,1);break}}return e.call(this,t,n)}}return $g}const Yg=o(Gg()),Xg=e=>{const t=Object.create(null);return function(...n){const r=n.map(e=>Yg(e)).join("|");return void 0===t[r]&&(t[r]=e(...n)),t[r]}},Kg="px",Qg="em",Jg="rem";function Zg(e=""){const t=new RegExp(String.raw`-?\d+(?:\.\d+|\d*)`),n=new RegExp(`${Kg}|${Qg}|${Jg}`),r=e.match(new RegExp(`${t.source}(${n.source})`));return r?.[1]}function em(e=""){if("number"==typeof e)return`${e}px`;const t=Zg(e);return t?t===Kg?e:t===Qg||t===Jg?`${16*parseFloat(e)}${Kg}`:void 0:e}function tm(e=""){const t=Zg(e);return t?t===Jg?e:t===Qg?`${parseFloat(e)}${Jg}`:t===Kg?`${parseFloat(e)/16}${Jg}`:void 0:e}function nm(e){return tm(parseFloat(em(e)??"")-.04+"px")}function rm({min:e,max:t}){return null==e&&null==t?"":["@media screen",e&&`(min-width: ${e})`,t&&`(max-width: ${t})`].filter(Boolean).join(" and ")}const om=e=>({minMax:new RegExp(`(!?\\(\\s*min(-device-)?-${e})(.|\n)+\\(\\s*max(-device)?-${e}`,"i"),min:new RegExp(`\\(\\s*min(-device)?-${e}`,"i"),maxMin:new RegExp(`(!?\\(\\s*max(-device)?-${e})(.|\n)+\\(\\s*min(-device)?-${e}`,"i"),max:new RegExp(`\\(\\s*max(-device)?-${e}`,"i")}),am=om("width"),im=om("height"),lm=e=>({isMin:ym(e.minMax,e.maxMin,e.min),isMax:ym(e.maxMin,e.minMax,e.max)}),{isMin:sm,isMax:cm}=lm(am),{isMin:um,isMax:dm}=lm(im),fm=/print/i,pm=/^print$/i,hm=/(-?\d*\.?\d+)(ch|em|ex|px|rem)/,gm=/(\d)/,mm=Number.MAX_VALUE,bm={ch:8.8984375,em:16,rem:16,ex:8.296875,px:1};function vm(e){const t=hm.exec(e)||(sm(e)||um(e)?gm.exec(e):null);if(!t)return mm;if("0"===t[0])return 0;const n=parseFloat(t[1]),r=t[2];return n*(bm[r]||1)}function ym(e,t,n){return r=>e.test(r)||!t.test(r)&&n.test(r)}const xm=Xg((e,t)=>{const n=function(e,t){const n=fm.test(e),r=pm.test(e),o=fm.test(t),a=pm.test(t);return n&&o?!r&&a?1:r&&!a?-1:e.localeCompare(t):n?1:o?-1:null}(e,t);if(null!==n)return n;const r=sm(e)||um(e),o=cm(e)||dm(e),a=sm(t)||um(t),i=cm(t)||dm(t);if(r&&i)return-1;if(o&&a)return 1;const l=vm(e),s=vm(t);return l===mm&&s===mm?e.localeCompare(t):l===mm?1:s===mm?-1:l!==s?l>s?o?-1:1:o?1:-1:e.localeCompare(t)});function km(e){return e.sort(([e],[t])=>xm(e,t))}function Sm(e){const t=[],n=[],r={};for(const[i,l]of Object.entries(e))i.startsWith("@media")?t.push([i,l]):i.startsWith("@container")?n.push([i,l]):qt(l)?r[i]=Sm(l):r[i]=l;const o=km(t),a=km(n);return{...r,...Object.fromEntries(o),...Object.fromEntries(a)}}const wm=/\s*!(important)?/i;function _m(e){const{transform:t,conditions:n,normalize:r}=e,o=(a=e,Xg(function(...e){return yg({},...function(e){const t=function(...e){return e.filter(e=>qt(e)&&Object.keys(Ht(e)).length>0)}(...e);return 1===t.length?t:t.map(e=>a.normalize(e))}(e))}));var a;return Xg(function(...e){const a=o(...e),i=r(a),l=Object.create(null);return Bi(i,(e,r)=>{const o=!!Gt(a=e)&&wm.test(a);var a;if(null==e)return;const[i,...s]=n.sort(r).map(n.resolve);o&&(e=(e=>Gt(e)?e.replace(wm,"").trim():e)(e));let c=t(i,e)??Object.create(null);c=Bi(c,e=>Gt(e)&&o?`${e} !important`:e,{getKey:e=>n.expandAtRule(e)}),function(e,t,n){let r=e;for(const o of t)o&&(r[o]||(r[o]=Object.create(null)),r=r[o]);yg(r,n)}(l,s.flat(),c)}),Sm(l)})}const Cm=e=>({base:{},variants:{},defaultVariants:{},compoundVariants:[],...e});const Em={reset:"reset",base:"base",tokens:"tokens",recipes:"recipes"},Pm={reset:0,base:1,tokens:2,recipes:3};const zm=/([\0-\x1f\x7f]|^-?\d)|^-$|^-|[^\x80-\uFFFF\w-]/g,Tm=function(e,t){return t?"\0"===e?"�":"-"===e&&1===e.length?"\\-":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16):"\\"+e},Rm=e=>(e+"").replace(zm,Tm),Im=(e,t)=>{let n="",r=0,o="char",a="",i="";const l=[];for(;r<e.length;){const s=e[r];if("{"===s){const o=e.indexOf("}",r);if(-1===o)break;const a=e.slice(r+1,o);n+=t(a)??a,r=o+1;continue}if("token"===o&&","===s){""===e[r]&&r++,o="fallback",l.push(o);const s=t(a);s?.endsWith(")")&&(n+=s.slice(0,-1)),a="",i="";continue}if("fallback"===o&&", var("===i+s){const t=Om(e.slice(r+1))+r+1,a=e.slice(r+1,t);if(-1===t)break;n+=", var("+a+")",r=t+1,o=l.pop()??o,i="";continue}if("token"===o||"fallback"===o){if(r++,")"===s){o=l.pop()??o??"char",i+=s;const e=a?t(a)??Rm(a):a;if(i)if(i=i.slice(1).trim(),!i.startsWith("token(")&&i.endsWith(")")&&(i=i.slice(0,-1)),i.includes("token(")){const e=Im(i,t);e&&(i=e.slice(0,-1))}else if(i){const e=t(i);e&&(i=e)}const r=n.at(-1);i?r?.trim()?n+=e.slice(0,-1)+", "+i+")":n+=i:n+=e||")",a="",i="",o="char";continue}"token"===o&&(a+=s),"fallback"===o&&(i+=s);continue}const c=e.indexOf("token(",r);if(-1!==c){const t=c+6;n+=e.slice(r,c),r=t,o="token",l.push(o);continue}n+=s,r++}return n},Om=e=>{let t=0;const n=["("];for(;t<e.length;){const r=e[t];if("("===r)n.push(r);else if(")"===r&&(n.pop(),0===n.length))return t;t++}return t};function Am(e){const t={};return e.forEach((e,n)=>{e instanceof Map?t[n]=Object.fromEntries(e):t[n]=e}),t}const Dm=/({([^}]*)})/g,Nm=/[{}]/g,Fm=/\w+\.\w+/,jm=e=>{if(!Gt(e))return[];const t=e.match(Dm);return t?t.map(e=>e.replace(Nm,"")).map(e=>e.trim()):[]};function Mm(e){if(!e.extensions?.references)return e.extensions?.cssVar?.ref??e.value;const t=e.extensions.references??{};return e.value=Object.keys(t).reduce((e,n)=>{const r=t[n];if(r.extensions.conditions)return e;const o=Mm(r);return e.replace(`{${n}}`,o)},e.value),delete e.extensions.references,e.value}function Lm(e){return qt(e)&&e.reference?e.reference:String(e)}const Wm=(e,...t)=>t.map(Lm).join(` ${e} `).replace(/calc/g,""),Bm=(...e)=>`calc(${Wm("+",...e)})`,$m=(...e)=>`calc(${Wm("-",...e)})`,Vm=(...e)=>`calc(${Wm("*",...e)})`,Hm=(...e)=>`calc(${Wm("/",...e)})`,Um=e=>{const t=Lm(e);return null==t||Number.isNaN(parseFloat(t))?Vm(t,-1):String(t).startsWith("-")?String(t).slice(1):`-${t}`},qm=Object.assign(e=>({add:(...t)=>qm(Bm(e,...t)),subtract:(...t)=>qm($m(e,...t)),multiply:(...t)=>qm(Vm(e,...t)),divide:(...t)=>qm(Hm(e,...t)),negate:()=>qm(Um(e)),toString:()=>e.toString()}),{add:Bm,subtract:$m,multiply:Vm,divide:Hm,negate:Um}),Gm={enforce:"pre",transform(e){const{prefix:t,allTokens:n,formatCssVar:r,formatTokenName:o,registerToken:a}=e;n.filter(({extensions:e})=>"spacing"===e.category).forEach(e=>{const n=e.path.slice(),i=r(n,t);if(Gt(e.value)&&"0rem"===e.value)return;const l=structuredClone(e);Object.assign(l.extensions,{negative:!0,prop:`-${e.extensions.prop}`,originalPath:n}),l.value=qm.negate(i.ref);const s=l.path[l.path.length-1];null!=s&&(l.path[l.path.length-1]=`-${s}`),l.path&&(l.name=o(l.path)),a(l)})}},Ym=new Set(["spacing","sizes","borderWidths","fontSizes","radii"]),Xm={enforce:"post",transform(e){e.allTokens.filter(e=>Ym.has(e.extensions.category)&&!e.extensions.negative).forEach(e=>{Object.assign(e.extensions,{pixelValue:em(e.value)})})}},Km=[Gm,{enforce:"post",transform(e){const{allTokens:t,registerToken:n,formatTokenName:r}=e,o=t.filter(({extensions:e})=>"colors"===e.category),a=new Map,i=new Map;o.forEach(e=>{const{colorPalette:t}=e.extensions;t&&(t.keys.forEach(e=>{a.set(r(e),e)}),t.roots.forEach(n=>{const o=r(n),l=i.get(o)||[];if(l.push(e),i.set(o,l),e.extensions.default&&1===n.length){const e=t.keys[0]?.filter(Boolean);if(!e.length)return;const o=n.concat(e);a.set(r(o),[])}}))}),a.forEach(e=>{const t=["colors","colorPalette",...e].filter(Boolean),o=r(t),a=r(t.slice(1));n({name:o,value:o,originalValue:o,path:t,extensions:{condition:"base",originalPath:t,category:"colors",prop:a,virtual:!0}},"pre")})}},Xm,{enforce:"post",transform(e){e.allTokens=e.allTokens.filter(e=>""!==e.value)}}],Qm=[{type:"extensions",enforce:"pre",name:"tokens/css-var",transform(e,t){const{prefix:n,formatCssVar:r}=t,{negative:o,originalPath:a}=e.extensions;return{cssVar:r((o?a:e.path).filter(Boolean),n)}}},{enforce:"post",type:"value",name:"tokens/conditionals",transform(e,t){const{prefix:n,formatCssVar:r}=t,o=jm(e.value);return o.length?(o.forEach(t=>{const o=r(t.split("."),n);e.value=e.value.replace(`{${o.ref}}`,o)}),e.value):e.value}},{type:"extensions",enforce:"pre",name:"tokens/colors/colorPalette",match:e=>"colors"===e.extensions.category&&!e.extensions.virtual,transform(e,t){let n=e.path.slice();if(n.pop(),n.shift(),0===n.length){const t=[...e.path];t.shift(),n=t}if(0===n.length)return{};const r=n.reduce((e,t,n,r)=>{const o=r.slice(0,n+1);return e.push(o),e},[]),o=n[0],a=t.formatTokenName(n),i=e.path.slice(e.path.indexOf(o)+1).reduce((e,t,n,r)=>(e.push(r.slice(n)),e),[]);return 0===i.length&&i.push([""]),{colorPalette:{value:a,roots:r,keys:i}}}}],Jm=e=>qt(e)&&Object.prototype.hasOwnProperty.call(e,"value");function Zm(e){const{prefix:t="",tokens:n={},semanticTokens:r={},breakpoints:o={}}=e,a=e=>e.join("."),i=[],l=new Map,s=new Map,c=new Map,u=new Map,d=new Map,f=new Map,p=new Map,h=new Map,g=[];function m(e,t){i.push(e),l.set(e.name,e),t&&h.forEach(n=>{n.enforce===t&&C(n,e)})}const b=function(e){return e?{breakpoints:$i(e,e=>({value:e})),sizes:Object.fromEntries(Object.entries(e).map(([e,t])=>[`breakpoint-${e}`,{value:t}]))}:{breakpoints:{},sizes:{}}}(o),v=Ht({...n,breakpoints:b.breakpoints,sizes:{...n.sizes,...b.sizes}});function y(e){return l.get(e)}let x={};const k=Xg((e,t)=>d.get(e)??t),S=Xg(e=>x[e]||null),w=Xg(e=>Im(e,e=>{if(!e)return;if(e.includes("/")){const t=(e=>{if(!e||"string"!=typeof e)return{invalid:!0,value:e};const[t,n]=e.split("/");if(!t||!n)return{invalid:!0,value:t};const r=k(t),o=y(`opacity.${n}`)?.value;if(!o&&isNaN(Number(n)))return{invalid:!0,value:t};const a=r??t;return{invalid:!1,color:a,value:`color-mix(in srgb, ${a} ${o?100*Number(o)+"%":`${n}%`}, transparent)`}})(e);if(t.invalid)throw new Error("Invalid color mix at "+e+": "+t.value);return t.value}return k(e)||(Fm.test(e)?Rm(e):e)})),_={prefix:t,allTokens:i,tokenMap:l,registerToken:m,getByName:y,formatTokenName:a,formatCssVar:(e,t)=>Pg(e.join("-"),{prefix:t}),flatMap:d,cssVarMap:c,categoryMap:p,colorPaletteMap:u,getVar:k,getCategoryValues:S,expandReferenceInValue:w};function C(e,t){if(t.extensions.references)return;if(Yt(e.match)&&!e.match(t))return;const n=(r=t,e.transform(r,_));var r;switch(!0){case"extensions"===e.type:Object.assign(t.extensions,n);break;case"value"===e.type:t.value=n;break;default:t[e.type]=n}}function E(e){g.forEach(t=>{t.enforce===e&&t.transform(_)})}function P(e){h.forEach(t=>{t.enforce===e&&i.forEach(e=>{C(t,e)})})}return Bi(v,(e,t)=>{const n=t.includes("DEFAULT"),r=(t=eb(t))[0],o=a(t),i=Gt(e)?{value:e}:e,l={value:i.value,originalValue:i.value,name:o,path:t,extensions:{condition:"base",originalPath:t,category:r,prop:a(t.slice(1))}};n&&(l.extensions.default=!0),m(l)},{stop:Jm}),Bi(r,(e,t)=>{const n=t.includes("DEFAULT"),r=(t=tb(eb(t)))[0],o=a(t),i=Gt(e.value)?{value:{base:e.value}}:e,l={value:i.value.base||"",originalValue:i.value.base||"",name:o,path:t,extensions:{originalPath:t,category:r,conditions:i.value,condition:"base",prop:a(t.slice(1))}};n&&(l.extensions.default=!0),m(l)},{stop:Jm}),function(...e){e.forEach(e=>{h.set(e.name,e)})}(...Qm),function(...e){g.push(...e)}(...Km),E("pre"),P("pre"),i.forEach(e=>{const t=function(e){if(!e.extensions.conditions)return;const{conditions:t}=e.extensions,n=[];return Bi(t,(t,r)=>{const o=tb(r);if(!o.length)return;const a=structuredClone(e);a.value=t,a.extensions.condition=o.join(":"),n.push(a)}),n}(e);t&&0!==t.length&&t.forEach(e=>{m(e)})}),i.forEach(e=>{if(t=e.value,!Dm.test(t))return;var t;const n=function(e){return jm(e).map(e=>y(e)).filter(Boolean)}(e.value);e.extensions.references=n.reduce((e,t)=>(e[t.name]=t,e),{})}),i.forEach(e=>{Mm(e)}),E("post"),P("post"),i.forEach(e=>{!function(e){const{condition:t}=e.extensions;t&&(s.has(t)||s.set(t,new Set),s.get(t).add(e))}(e),function(e){const{category:t,prop:n}=e.extensions;t&&(p.has(t)||p.set(t,new Map),p.get(t).set(n,e))}(e),function(e){const{condition:t,negative:n,virtual:r,cssVar:o}=e.extensions;!n&&!r&&t&&o&&(c.has(t)||c.set(t,new Map),c.get(t).set(o.var,e.value))}(e),function(e){const{category:t,prop:n,cssVar:r,negative:o}=e.extensions;if(!t)return;f.has(t)||f.set(t,new Map);const a=o?e.extensions.conditions?e.originalValue:e.value:r.ref;f.get(t).set(n,a),d.set([t,n].join("."),a)}(e),function(e){const{colorPalette:t,virtual:n,default:r}=e.extensions;t&&!n&&t.roots.forEach(n=>{const o=a(n);u.has(o)||u.set(o,new Map);const i=function(e,t){const n=e.findIndex((n,r)=>t.every((t,n)=>e[r+n]===t));return-1===n||(e.splice(n,t.length),e.splice(n,0,"colorPalette")),e}([...e.path],[...n]),l=y(a(i));if(!l||!l.extensions.cssVar)return;const{var:s}=l.extensions.cssVar;if(u.get(o).set(s,e.extensions.cssVar.ref),r&&1===n.length){const r=y(a(["colors","colorPalette"]));if(!r)return;const o=y(a(e.path));if(!o)return;const i=t.keys[0]?.filter(Boolean);if(!i.length)return;const l=a(n.concat(i));u.has(l)||u.set(l,new Map),u.get(l).set(r.extensions.cssVar.var,o.extensions.cssVar.ref)}})}(e)}),x=Am(f),_}function eb(e){return"DEFAULT"===e[0]?e:e.filter(e=>"DEFAULT"!==e)}function tb(e){return e.filter(e=>"base"!==e)}var nb;nb=["aspectRatios","zIndex","opacity","colors","fonts","fontSizes","fontWeights","lineHeights","letterSpacings","sizes","shadows","spacing","radii","cursor","borders","borderWidths","borderStyles","durations","easings","animations","blurs","gradients","breakpoints","assets"],Array.from(new Set(nb));const rb={};function ob(...e){const t=kg(...e),{theme:n={},utilities:r={},globalCss:o={},cssVarsRoot:a=":where(:root, :host)",cssVarsPrefix:i="chakra",preflight:l}=t,s=function(e){const t=e.layers??Em,n=Object.values(t).sort((e,t)=>Pm[e]-Pm[t]);return{names:n,atRule:`@layer ${n.join(", ")};`,wrap(n,r){if(e.disableLayers)return r;const o=t[n];return{[`@layer ${o}`]:r}}}}(t),c=Zm({breakpoints:n.breakpoints,tokens:n.tokens,semanticTokens:n.semanticTokens,prefix:i}),u=function(e){const t=function(e){return Object.entries(e).sort(([,e],[,t])=>parseInt(e,10)<parseInt(t,10)?-1:1).map(([e,t],n,r)=>{let o=null;return n<=r.length-1&&(o=r[n+1]?.[1]),null!=o&&(o=nm(o)),[e,{name:e,min:tm(t),max:o}]})}(e),n=Object.fromEntries(t);function r(e){return n[e]}function o(e){return rm(r(e))}const a=function(){const e=function(){const e=Object.keys(n),t=function(e){const t=[];return e.forEach((n,r)=>{let o=r;o++;let a=e[o];for(;a;)t.push([n,a]),o++,a=e[o]}),t}(e),a=e.flatMap(e=>{const t=r(e),n=[`${e}Down`,rm({max:nm(t.min)})];return[[e,rm({min:t.min})],[`${e}Only`,o(e)],n]}).filter(([,e])=>""!==e).concat(t.map(([e,t])=>{const n=r(e),o=r(t);return[`${e}To${a=t,a.charAt(0).toUpperCase()+a.slice(1)}`,rm({min:n.min,max:nm(o.min)})];var a}));return Object.fromEntries(a)}();return Object.fromEntries(Object.entries(e))}();return{values:Object.values(n),only:o,keys:function(){return["base",...Object.keys(n)]},conditions:a,getCondition:e=>a[e],up:function(e){return rm({min:r(e).min})},down:function(e){return rm({max:nm(r(e).min)})}}}(n.breakpoints??rb),d=(e=>{const{breakpoints:t,conditions:n={}}=e,r=(o=n,a=(e,t)=>[`_${e}`,t],Object.fromEntries(Object.entries(o).map(([e,t])=>a(e,t))));var o,a;const i=Object.assign({},r,t.conditions);function l(){return Object.keys(i)}function s(e){return l().includes(e)||/^@|&|&$/.test(e)||e.startsWith("_")}return{keys:l,sort:function(e){return e.filter(e=>"base"!==e).sort((e,t)=>{const n=s(e),r=s(t);return n&&!r?1:!n&&r?-1:0})},has:s,resolve:function(e){return Reflect.get(i,e)||e},breakpoints:t.keys(),expandAtRule:function(e){return e.startsWith("@breakpoint")?t.getCondition(e.replace("@breakpoint ","")):e}}})({conditions:t.conditions??rb,breakpoints:u}),f=function(e){const t=(n=e.config,Object.fromEntries(Object.entries(n).map(([e,t])=>[e,t])));var n;const r=e.tokens,o=new Map,a=new Map;function i(e,n){t[e]=n,l(e,n)}const l=(e,t)=>{const n=u(t);n&&(a.set(e,n),c(e,t))},s=new Map,c=(e,t)=>{if(!t)return;const n=u(t,e=>`type:Tokens["${e}"]`);if("object"==typeof n&&n.type)return void s.set(e,new Set([`type:${n.type}`]));if(n){const t=new Set(Object.keys(n));s.set(e,t)}const r=s.get(e)??new Set;t.property&&s.set(e,r.add(`CssProperties["${t.property}"]`))},u=(e,t)=>{const{values:n}=e,o=e=>{const n=t?.(e);return n?{[n]:n}:void 0};return Gt(n)?o?.(n)??r.getCategoryValues(n)??{}:Array.isArray(n)?n.reduce((e,t)=>(e[t]=t,e),{}):Yt(n)?n(t?o:r.getCategoryValues):n},d=Xg((e,t)=>({[e]:e.startsWith("--")?r.getVar(t,t):t})),f=Object.assign(r.getVar,{raw:e=>r.getByName(e)}),p=Xg((e,n)=>{const o=g(e);Gt(n)&&!n.includes("_EMO_")&&(n=r.expandReferenceInValue(n));const i=t[o];if(!i)return d(o,n);const l=a.get(o)?.[n];return i.transform?i.transform(l??n,{raw:n,token:f,utils:{colorMix:e=>((e,t)=>{if(!e||"string"!=typeof e)return{invalid:!0,value:e};const[n,r]=e.split("/");if(!n||!r||"currentBg"===n)return{invalid:!0,value:n};const o=t(`colors.${n}`),a=t.raw(`opacity.${r}`)?.value;if(!a&&isNaN(Number(r)))return{invalid:!0,value:n};const i=o??n;return{invalid:!1,color:i,value:`color-mix(in srgb, ${i} ${a?100*Number(a)+"%":`${r}%`}, transparent)`}})(e,f)}}):d(e,l??n)});(()=>{for(const[e,n]of Object.entries(t)){const{shorthand:t}=n??{};t&&(Array.isArray(t)?t:[t]).forEach(t=>o.set(t,e))}})(),(()=>{const e=Am(r.colorPaletteMap);i("colorPalette",{values:Object.keys(e),transform:Xg(t=>e[t])})})(),(()=>{for(const[e,n]of Object.entries(t))n&&l(e,n)})(),(()=>{for(const[e,n]of Object.entries(t))n&&c(e,n)})();const h=o.size>0,g=Xg(e=>o.get(e)??e);return{keys:()=>[...Array.from(o.keys()),...Object.keys(t)],hasShorthand:h,transform:p,shorthands:o,resolveShorthand:g,register:i,getTypes:()=>{const e=new Map;for(const[t,n]of s.entries()){if(0===n.size){e.set(t,["string"]);continue}const r=Array.from(n).map(e=>e.startsWith("CssProperties")?e:e.startsWith("type:")?e.replace("type:",""):JSON.stringify(e));e.set(t,r)}return e},addPropertyType:(e,t)=>{const n=s.get(e)??new Set;s.set(e,new Set([...n,...t]))}}}({config:r,tokens:c});!function(){const{textStyles:e,layerStyles:t,animationStyles:r}=n,o=Ht({textStyle:e,layerStyle:t,animationStyle:r});for(const[n,a]of Object.entries(o)){const e=qg(a??rb,ab);f.register(n,{values:Object.keys(e),transform:t=>v(e[t])})}}(),f.addPropertyType("animationName",Object.keys(n.keyframes??rb));const p=new Set(["css",...f.keys(),...d.keys()]),h=Xg(e=>p.has(e)||Ug(e)),g=e=>Array.isArray(e)?e.reduce((e,t,n)=>{const r=d.breakpoints[n];return null!=t&&(e[r]=t),e},{}):e,m=function(e){const{utility:t,normalize:n}=e,{hasShorthand:r,resolveShorthand:o}=t;return function(e){return Bi(e,n,{stop:e=>Array.isArray(e),getKey:r?o:void 0})}}({utility:f,normalize:g}),b=function(e){const{conditions:t,isValidProperty:n}=e;return function(e){return Bi(e,e=>e,{getKey:(e,r)=>qt(r)?t.has(e)||n(e)?e:function(e){const t=[];let n=0,r="",o=!1;for(let a=0;a<e.length;a++){const i=e[a];"\\"!==i||o?o?(o=!1,r+=i):("("===i?n++:")"===i&&n--,","===i&&0===n?(t.push(r.trim()),r=""):r+=i):(o=!0,r+=i)}return r&&t.push(r.trim()),t}(e).map(e=>"&"+e).join(", "):e})}}({conditions:d,isValidProperty:h}),v=_m({transform:f.transform,conditions:d,normalize:m}),y=function(e){const{css:t,conditions:n,normalize:r,layers:o}=e;return function a(i={}){const{base:l,variants:s,defaultVariants:c,compoundVariants:u}=Cm(i),d=_m({conditions:n,normalize:r,transform:(e,t)=>s[e]?.[t]}),f=(e={})=>{const n=r({...c,...Ht(e)});let a={...l};yg(a,d(n));const i=function(e,n){let r={};return e.forEach(e=>{Object.entries(e).every(([e,t])=>"css"===e||(Array.isArray(t)?t:[t]).some(t=>n[e]===t))&&(r=t(r,e.css))}),r}(u,n);return o.wrap("recipes",t(a,i))},p=Object.keys(s),h=Object.fromEntries(Object.entries(s).map(([e,t])=>[e,Object.keys(t)]));return Object.assign(e=>t(f(e)),{className:i.className,__cva__:!0,variantMap:h,variantKeys:p,raw:f,config:i,splitVariantProps:e=>{const t=gg(e,["recipe"]),[n,r]=en(t,p);return p.includes("colorPalette")||(n.colorPalette=e.colorPalette||c.colorPalette),p.includes("orientation")&&(r.orientation=e.orientation),[n,r]},merge(t){return a(function(e){const{css:t}=e;return function(e,n){const r=Cm(n.config),o=Xt(e.variantKeys,Object.keys(n.variants)),a=t(e.base,r.base),i=Object.fromEntries(o.map(n=>[n,t(e.config.variants[n],r.variants[n])])),l=yg(e.config.defaultVariants,r.defaultVariants),s=[...e.compoundVariants,...r.compoundVariants];return{className:Ut(e.className,n.className),base:a,variants:i,defaultVariants:l,compoundVariants:s}}}(e)(this,t))}})}}({css:v,conditions:d,normalize:m,layers:s}),x=function(e){const{cva:t}=e;return function(e={}){const n=Object.entries(((e={})=>{const t=t=>{return{base:e.base?.[t]??{},variants:{},defaultVariants:e.defaultVariants??{},compoundVariants:e.compoundVariants?(n=e.compoundVariants,r=t,n.filter(e=>e.css[r]).map(e=>({...e,css:e.css[r]}))):[]};var n,r},n=(e.slots??[]).map(e=>[e,t(e)]);for(const[r,o]of Object.entries(e.variants??{}))for(const[e,t]of Object.entries(o))n.forEach(([n,o])=>{var a;(a=o.variants)[r]??(a[r]={}),o.variants[r][e]=t[n]??{}});return Object.fromEntries(n)})(e)).map(([e,n])=>[e,t(n)]),r=e.variants??{},o=Object.keys(r),a=Object.fromEntries(Object.entries(r).map(([e,t])=>[e,Object.keys(t)]));let i={};return e.className&&(i=Object.fromEntries(e.slots.map(t=>[t,`${e.className}__${t}`]))),Object.assign(function(e){const t=n.map(([t,n])=>[t,n(e)]);return Object.fromEntries(t)},{variantMap:a,variantKeys:o,splitVariantProps:function(t){const n=gg(t,["recipe"]),[r,a]=en(n,o);return o.includes("colorPalette")||(r.colorPalette=t.colorPalette||e.defaultVariants?.colorPalette),o.includes("orientation")&&(a.orientation=t.orientation),[r,a]},classNameMap:i})}}({cva:y});function k(){const e={};for(const[t,n]of c.cssVarMap.entries()){const r=Object.fromEntries(n);if(0===Object.keys(r).length)continue;const o="base"===t?a:d.resolve(t),i=o.startsWith("@");yg(e,v(b({[o]:i?{[a]:r}:r})))}return s.wrap("tokens",e)}function S(){const e=Object.fromEntries(Object.entries(n.keyframes??rb).map(([e,t])=>[`@keyframes ${e}`,t])),t=Object.assign({},e,v(b(o)));return s.wrap("base",t)}function w(){const e=function(e){const{preflight:t}=e;if(!t)return{};const{scope:n="",level:r="parent"}=qt(t)?t:{};let o="";n&&"parent"===r?o=`${n} `:n&&"element"===r&&(o=`&${n}`);const a={"*":{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"}},i={[n||"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("element"===r){const e=Object.entries(a).reduce((e,[t,n])=>(e[t]={[o]:n},e),{});Object.assign(i,e)}else o?i[o]=a:Object.assign(i,a);return i}({preflight:l});return s.wrap("reset",e)}const _=function(e){const t=new Map;return e.allTokens.forEach(e=>{const{cssVar:n,virtual:r,conditions:o}=e.extensions,a=o||r?n.ref:e.value;t.set(e.name,{value:a,variable:n.ref})}),t}(c),C=(e,t)=>_.get(e)?.value||t;function E(e){return Object.hasOwnProperty.call(n.recipes??rb,e)}function P(e){return Object.hasOwnProperty.call(n.slotRecipes??rb,e)}C.var=(e,t)=>_.get(e)?.variable||t;const z=[w(),S(),k()],T={layerStyles:ib(n.layerStyles??rb),textStyles:ib(n.textStyles??rb),animationStyles:ib(n.animationStyles??rb),tokens:lb(c,Object.keys(n.tokens??rb),(e,t)=>!e.extensions.conditions&&!t.includes("colorPalette")),semanticTokens:lb(c,Object.keys(n.semanticTokens??rb),e=>!!e.extensions.conditions),keyframes:sb(n.keyframes??rb),breakpoints:sb(n.breakpoints??rb)};return{$$chakra:!0,_config:t,_global:z,breakpoints:u,tokens:c,conditions:d,utility:f,token:C,properties:p,layers:s,isValidProperty:h,splitCssProps:function(e){return en(e,h)},normalizeValue:g,getTokenCss:k,getGlobalCss:S,getPreflightCss:w,css:v,cva:y,sva:x,getRecipe:function(e,t){return n.recipes?.[e]??t},getSlotRecipe:function(e,t){return n.slotRecipes?.[e]??t},hasRecipe:function(e){return E(e)||P(e)},isRecipe:E,isSlotRecipe:P,query:T}}const ab=e=>qt(e)&&"value"in e,ib=e=>({list:()=>Object.keys(qg(e,ab)),search(e){return this.list().filter(t=>t.includes(e))}}),lb=(e,t,n)=>({categoryKeys:t,list:t=>Array.from(e.categoryMap.get(t)?.entries()??[]).reduce((e,[t,r])=>(n(r,t)&&e.push(t),e),[]),search(e,t){return this.list(e).filter(e=>e.includes(t))}}),sb=e=>({list:()=>Object.keys(e),search(e){return this.list().filter(t=>t.includes(e))}}),cb="var(--chakra-empty,/*!*/ /*!*/)",ub={"*":{fontFeatureSettings:'"cv11"',"--ring-inset":cb,"--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(e=>[`--${e}`,cb])),...Object.fromEntries(["blur","brightness","contrast","grayscale","hue-rotate","invert","opacity","saturate","sepia"].map(e=>[`--backdrop-${e}`,cb])),"--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"}},db={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",shadow:"inset 0 0 0px 1px var(--shadow-color)",shadowColor:"colorPalette.muted"},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"}},fb={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"}},{variants:pb,defaultVariants:hb}=db,gb={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"}},mb={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"}},bb={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"}},vb={badge:db,button:{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",borderColor:"colorPalette.muted",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"}},code:{className:"chakra-code",base:{fontFamily:"mono",alignItems:"center",display:"inline-flex",borderRadius:"l2"},variants:pb,defaultVariants:hb},container:{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"}}}},heading:{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"}},input:mb,inputAddon:{className:"chakra-input-addon",base:{flex:"0 0 auto",width:"auto",display:"flex",alignItems:"center",whiteSpace:"nowrap",alignSelf:"stretch",borderRadius:"l2"},variants:{size:mb.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"}},kbd:{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"}},link:{className:"chakra-link",base:{display:"inline-flex",alignItems:"center",outline:"none",gap:"1.5",cursor:"pointer",borderRadius:"l1",focusRing:"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"}},mark:{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:{}}}},separator:{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"}},skeleton:{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}},skipNavLink:{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"}}},spinner:{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"}},textarea:{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"}},icon:{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"}},checkmark:fb,radiomark:bb,colorSwatch:gb},yb=_g.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}"}}},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}"}}},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}"}}},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}"}}},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}"}}},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}"}}},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}"}}},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}"}}},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}"}}},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}"}}}}),xb=_g.radii({l1:{value:"{radii.xs}"},l2:{value:"{radii.sm}"},l3:{value:"{radii.md}"}}),kb=_g.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}"}}}),Sb=Mh.extendWith("itemBody"),wb=_h("action-bar").parts("positioner","content","separator","selectionTrigger","closeTrigger"),_b=_h("alert").parts("title","description","root","indicator","content"),Cb=_h("breadcrumb").parts("link","currentLink","item","list","root","ellipsis","separator"),Eb=_h("blockquote").parts("root","icon","content","caption"),Pb=_h("card").parts("root","header","body","footer","title","description"),zb=_h("checkbox-card",["root","control","label","description","addon","indicator","content"]),Tb=_h("data-list").parts("root","item","itemLabel","itemValue"),Rb=qh.extendWith("header","body","footer","backdrop"),Ib=qh.extendWith("header","body","footer","backdrop"),Ob=Gh.extendWith("textarea"),Ab=_h("empty-state",["root","content","indicator","title","description"]),Db=Ph.extendWith("requiredIndicator"),Nb=Yh.extendWith("content"),Fb=Xh.extendWith("itemContent","dropzoneContent","fileText"),jb=_h("list").parts("root","item","indicator"),Mb=tg.extendWith("itemCommand"),Lb=_h("select").parts("root","field","indicator"),Wb=og.extendWith("header","body","footer"),Bb=lg.extendWith("itemAddon","itemIndicator"),$b=Bb.extendWith("itemContent","itemDescription"),Vb=sg.extendWith("itemIndicator"),Hb=dg.extendWith("indicatorGroup"),Ub=Uh.extendWith("indicatorGroup","empty"),qb=fg.extendWith("markerIndicator"),Gb=_h("stat").parts("root","label","helpText","valueText","valueUnit","indicator"),Yb=_h("status").parts("root","indicator"),Xb=_h("steps",["root","list","item","trigger","indicator","separator","content","title","description","nextTrigger","prevTrigger","progress"]),Kb=pg.extendWith("indicator"),Qb=_h("table").parts("root","header","body","row","columnHeader","cell","footer","caption"),Jb=_h("toast").parts("root","title","description","indicator","closeTrigger","actionTrigger"),Zb=_h("tabs").parts("root","trigger","list","content","contentGroup","indicator"),ev=_h("tag").parts("root","label","closeTrigger","startElement","endElement"),tv=_h("timeline").parts("root","item","content","separator","indicator","connector","title","description"),nv=Vh.extendWith("channelText"),rv=_h("code-block",["root","content","title","header","footer","control","overlay","code","codeText","copyTrigger","copyIndicator","collapseTrigger","collapseIndicator","collapseText"]);$h.extendWith("valueText");const ov=eg,av={className:"chakra-accordion",slots:Sb.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"}},iv={className:"chakra-action-bar",slots:wb.keys(),base:{positioner:{position:"fixed",display:"flex",justifyContent:"center",pointerEvents:"none",insetInline:"0",top:"unset",bottom:"calc(env(safe-area-inset-bottom) + 20px)"},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"}}},lv={slots:_b.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)",shadowColor:"colorPalette.muted"},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}},sv={slots:Lh.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",borderColor:"colorPalette.muted"}}},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"}},cv={className:"chakra-blockquote",slots:Eb.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"}},uv={className:"chakra-breadcrumb",slots:Cb.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"}},dv={className:"chakra-card",slots:Pb.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"}},fv={slots:Bh.keys(),className:"chakra-checkbox",base:{root:{display:"inline-flex",gap:"2",alignItems:"center",verticalAlign:"top",position:"relative"},control:fb.base,label:{fontWeight:"medium",userSelect:"none",_disabled:{opacity:"0.5"}}},variants:{size:{xs:{root:{gap:"1.5"},label:{textStyle:"xs"},control:fb.variants?.size?.xs},sm:{root:{gap:"2"},label:{textStyle:"sm"},control:fb.variants?.size?.sm},md:{root:{gap:"2.5"},label:{textStyle:"sm"},control:fb.variants?.size?.md},lg:{root:{gap:"3"},label:{textStyle:"md"},control:fb.variants?.size?.lg}},variant:{outline:{control:fb.variants?.variant?.outline},solid:{control:fb.variants?.variant?.solid},subtle:{control:fb.variants?.variant?.subtle}}},defaultVariants:{variant:"solid",size:"md"}},pv={slots:zb.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:fb.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:fb.variants?.size.sm},md:{root:{textStyle:"sm"},control:{padding:"4",gap:"2.5"},addon:{px:"4",py:"2",borderTopWidth:"1px"},indicator:fb.variants?.size.md},lg:{root:{textStyle:"md"},control:{padding:"4",gap:"3.5"},addon:{px:"4",py:"2",borderTopWidth:"1px"},indicator:fb.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:fb.variants?.variant.solid},subtle:{root:{bg:"bg.muted"},control:{_checked:{bg:"colorPalette.muted",color:"colorPalette.fg"}},indicator:fb.variants?.variant.plain},outline:{root:{borderWidth:"1px",borderColor:"border",_checked:{boxShadow:"0 0 0 1px var(--shadow-color)",boxShadowColor:"colorPalette.solid",borderColor:"colorPalette.solid"}},indicator:fb.variants?.variant.solid},solid:{root:{borderWidth:"1px",_checked:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"colorPalette.solid"}},indicator:fb.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"}},hv={slots:rv.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",overflowX:"auto",overflowY:"hidden",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"},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","--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",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"}},gv={slots:Fh.keys(),className:"chakra-collapsible",base:{content:{overflow:"hidden",_open:{animationName:"expand-height, fade-in",animationDuration:"moderate"},_closed:{animationName:"collapse-height, fade-out",animationDuration:"moderate"}}}},mv={className:"colorPicker",slots:nv.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",zIndex:"dropdown",_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:{...gb.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:{...mb.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:mb.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:mb.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:mb.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:mb.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:mb.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:mb.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:mb.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:mb.variants?.variant?.outline,trigger:{borderWidth:"1px"}},subtle:{channelInput:mb.variants?.variant?.subtle,trigger:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted"}}}},defaultVariants:{size:"md",variant:"outline"}},bv={className:"chakra-combobox",slots:Ub.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5",width:"full"},label:{fontWeight:"medium",userSelect:"none",textStyle:"sm",_disabled:{layerStyle:"disabled"}},input:{display:"flex",alignItems:"center",justifyContent:"space-between",background:"bg.panel",width:"full",minH:"var(--combobox-input-height)",px:"var(--combobox-input-padding-x)","--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"},control:{pos:"relative"},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",zIndex:"dropdown",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"}},vv={slots:Tb.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"}},yv={slots:Rb.keys(),className:"chakra-dialog",base:{backdrop:{bg:"blackAlpha.500",pos:"fixed",left:0,top:0,w:"100dvw",h:"100dvh",zIndex:"var(--z-index)",_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.modal",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.modal",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"}},xv={slots:Ib.keys(),className:"chakra-drawer",base:{backdrop:{bg:"blackAlpha.500",pos:"fixed",insetInlineStart:0,top:0,w:"100vw",h:"100dvh",zIndex:"overlay",_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,zIndex:"modal",overscrollBehaviorY:"none"},content:{display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,zIndex:"modal",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"}},kv={fontSize:"inherit",fontWeight:"inherit",textAlign:"inherit",bg:"transparent",borderRadius:"l2"},Sv={slots:Ob.keys(),className:"chakra-editable",base:{root:{display:"inline-flex",alignItems:"center",position:"relative",gap:"1.5",width:"full"},preview:{...kv,py:"1",px:"1",display:"inline-flex",alignItems:"center",transitionProperty:"common",transitionDuration:"moderate",cursor:"text",_hover:{bg:"bg.muted"},_disabled:{userSelect:"none"}},input:{...kv,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"}},wv={slots:Ab.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"}},_v={className:"chakra-field",slots:Db.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"}},Cv={className:"fieldset",slots:Nb.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"}},Ev={className:"chakra-file-upload",slots:Fb.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:{}},Pv={className:"chakra-hover-card",slots:Qh.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",zIndex:"popover",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",borderInlineStartWidth:"0.5px"}},variants:{size:{xs:{content:{padding:"3"}},sm:{content:{padding:"4"}},md:{content:{padding:"5"}},lg:{content:{padding:"6"}}}},defaultVariants:{size:"md"}},zv={className:"chakra-list",slots:jb.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"}},Tv={className:"chakra-listbox",slots:ov.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"}},Rv={className:"chakra-menu",slots:Mb.keys(),base:{content:{outline:0,bg:"bg.panel",boxShadow:"lg",color:"fg",maxHeight:"var(--available-height)","--menu-z-index":"zIndex.dropdown",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"}},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"}},Iv={className:"chakra-select",slots:Hb.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",zIndex:"dropdown",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"}}},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"}},Ov={className:"chakra-native-select",slots:Lb.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:Iv.variants?.variant.outline.trigger},subtle:{field:Iv.variants?.variant.subtle.trigger},plain:{field:{bg:"transparent",color:"fg",focusRingWidth:"2px"}}},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:Iv.defaultVariants};function Av(e,t){const n={};for(const r in e){const o=t(r,e[r]);n[o[0]]=o[1]}return n}const Dv={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"}},Nv={className:"chakra-number-input",slots:ng.keys(),base:{root:{position:"relative",zIndex:"0",isolation:"isolate"},input:{...mb.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:{...Dv,borderTopEndRadius:"var(--stepper-radius)"},decrementTrigger:{...Dv,borderBottomEndRadius:"var(--stepper-radius)"},valueText:{fontWeight:"medium",fontFeatureSettings:"pnum",fontVariantNumeric:"proportional-nums"}},variants:{size:{xs:{input:mb.variants.size.xs,control:{fontSize:"2xs","--stepper-width":"sizes.4"}},sm:{input:mb.variants.size.sm,control:{fontSize:"xs","--stepper-width":"sizes.5"}},md:{input:mb.variants.size.md,control:{fontSize:"sm","--stepper-width":"sizes.6"}},lg:{input:mb.variants.size.lg,control:{fontSize:"sm","--stepper-width":"sizes.6"}}},variant:Av(mb.variants.variant,(e,t)=>[e,{input:t}])},defaultVariants:{size:"md",variant:"outline"}},{variants:Fv,defaultVariants:jv}=mb,Mv={className:"chakra-pin-input",slots:rg.keys(),base:{input:{...mb.base,textAlign:"center",width:"var(--input-height)"},control:{display:"inline-flex",gap:"2",isolation:"isolate"}},variants:{size:Av(Fv.size,(e,t)=>[e,{input:{...t,px:"1"}}]),variant:Av(Fv.variant,(e,t)=>[e,{input:t}]),attached:{true:{control:{gap:"0",spaceX:"-1px"},input:{_notFirst:{borderStartRadius:"0"},_notLast:{borderEndRadius:"0"},_focusVisible:{zIndex:"1"}}}}},defaultVariants:jv},Lv={className:"chakra-popover",slots:Wb.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",borderInlineStartWidth:"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"}},Wv={slots:ag.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"}},Bv={className:"chakra-progress-circle",slots:ag.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"}},$v={slots:ig.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"}},Vv={className:"chakra-radio-card",slots:$b.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.8",borderColor:"border.disabled"},_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:bb.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:bb.variants?.size.sm},md:{item:{textStyle:"sm"},itemControl:{padding:"4",gap:"2.5"},itemAddon:{px:"4",py:"2",borderTopWidth:"1px"},itemIndicator:bb.variants?.size.md},lg:{item:{textStyle:"md"},itemControl:{padding:"4",gap:"3.5"},itemAddon:{px:"4",py:"2",borderTopWidth:"1px"},itemIndicator:bb.variants?.size.lg}},variant:{surface:{item:{borderWidth:"1px",_checked:{bg:"colorPalette.subtle",color:"colorPalette.fg",borderColor:"colorPalette.muted"}},itemIndicator:bb.variants?.variant.solid},subtle:{item:{bg:"bg.muted"},itemControl:{_checked:{bg:"colorPalette.muted",color:"colorPalette.fg"}},itemIndicator:bb.variants?.variant.outline},outline:{item:{borderWidth:"1px",_checked:{boxShadow:"0 0 0 1px var(--shadow-color)",boxShadowColor:"colorPalette.solid",borderColor:"colorPalette.solid"}},itemIndicator:bb.variants?.variant.solid},solid:{item:{borderWidth:"1px",_checked:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"colorPalette.solid"}},itemIndicator:bb.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"}},Hv={className:"chakra-radio-group",slots:Bb.keys(),base:{item:{display:"inline-flex",alignItems:"center",position:"relative",fontWeight:"medium",_disabled:{cursor:"disabled"}},itemControl:bb.base,label:{userSelect:"none",textStyle:"sm",_disabled:{opacity:"0.5"}}},variants:{variant:{outline:{itemControl:bb.variants?.variant?.outline},subtle:{itemControl:bb.variants?.variant?.subtle},solid:{itemControl:bb.variants?.variant?.solid}},size:{xs:{item:{textStyle:"xs",gap:"1.5"},itemControl:bb.variants?.size?.xs},sm:{item:{textStyle:"sm",gap:"2"},itemControl:bb.variants?.size?.sm},md:{item:{textStyle:"sm",gap:"2.5"},itemControl:bb.variants?.size?.md},lg:{item:{textStyle:"md",gap:"3"},itemControl:bb.variants?.size?.lg}}},defaultVariants:{size:"md",variant:"solid"}},Uv={className:"chakra-rating-group",slots:Vb.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"}},qv={className:"chakra-scroll-area",slots:cg.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"}},Gv={className:"chakra-segment-group",slots:ug.keys(),base:{root:{"--segment-radius":"radii.l2",borderRadius:"l2",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:"sm",pos:"absolute",bg:{_light:"bg",_dark:"bg.emphasized"},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"}},Yv={className:"chakra-slider",slots:qb.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",_focusVisible:{ring:"2px",ringColor:"colorPalette.focusRing",ringOffset:"2px",ringOffsetColor:"bg"}}},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)","&[data-has-mark-label], &:has(.chakra-slider__marker-label)":{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)","&[data-has-mark-label], &:has(.chakra-slider__marker-label)":{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"}},Xv={className:"chakra-stat",slots:Gb.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"}},Kv={className:"chakra-status",slots:Yb.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"}},Qv={className:"chakra-steps",slots:Xb.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"}},Jv={slots:Kb.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"}},Zv={className:"chakra-table",slots:Qb.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}",overflow:"hidden"},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"}},ey={slots:Zb.keys(),className:"chakra-tabs",base:{root:{"--tabs-trigger-radius":"radii.l2",position:"relative",_horizontal:{display:"block"},_vertical:{display:"flex"}},list:{display:"inline-flex",position:"relative",isolation:"isolate","--tabs-indicator-shadow":"shadows.xs","--tabs-indicator-bg":"colors.bg",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-indicator-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-indicator-radius)"}}}}},defaultVariants:{size:"md",variant:"line"}},ty=db.variants?.variant,ny={slots:ev.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:ty?.subtle},solid:{root:ty?.solid},outline:{root:ty?.outline},surface:{root:ty?.surface}}},defaultVariants:{size:"md",variant:"surface"}},ry={slots:tv.keys(),className:"chakra-timeline",base:{root:{display:"flex",flexDirection:"column",width:"full","--timeline-thickness":"1px","--timeline-gutter":"4px"},item:{display:"flex",position:"relative",alignItems:"flex-start",flexShrink:0,gap:"4",_last:{"& :where(.chakra-timeline__separator)":{display:"none"}}},separator:{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:"6",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:{}},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"}},oy={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"}},ay={flex:"1"},iy={_selected:{bg:"colorPalette.subtle",color:"colorPalette.fg"}},ly={_selected:{layerStyle:"fill.solid"}},sy={accordion:av,actionBar:iv,alert:lv,avatar:sv,blockquote:cv,breadcrumb:uv,card:dv,checkbox:fv,checkboxCard:pv,codeBlock:hv,collapsible:gv,dataList:vv,dialog:yv,drawer:xv,editable:Sv,emptyState:wv,field:_v,fieldset:Cv,fileUpload:Ev,hoverCard:Pv,list:zv,listbox:Tv,menu:Rv,nativeSelect:Ov,numberInput:Nv,pinInput:Mv,popover:Lv,progress:Wv,progressCircle:Bv,radioCard:Vv,radioGroup:Hv,ratingGroup:Uv,scrollArea:qv,segmentGroup:Gv,select:Iv,combobox:bv,slider:Yv,stat:Xv,steps:Qv,switch:Jv,table:Zv,tabs:ey,tag:ny,toast:{slots:Jb.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"}}}},tooltip:{slots:hg.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",borderInlineStartWidth:"1px",borderColor:"var(--tooltip-bg)"}}},status:Kv,timeline:ry,colorPicker:mv,qrCode:$v,treeView:{slots:Jh.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:oy,item:oy,itemText:ay,branchText:ay,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:iy,item:iy},solid:{branchControl:ly,item:ly}},animateContent:{true:{branchContent:{_open:{animationName:"expand-height, fade-in",animationDuration:"moderate"},_closed:{animationName:"collapse-height, fade-out",animationDuration:"moderate"}}}}},defaultVariants:{size:"md",variant:"subtle"}}},cy=wg.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"}}),uy=wg.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"}}),dy=wg.blurs({none:{value:" "},sm:{value:"4px"},md:{value:"8px"},lg:{value:"12px"},xl:{value:"16px"},"2xl":{value:"24px"},"3xl":{value:"40px"},"4xl":{value:"64px"}}),fy=wg.borders({xs:{value:"0.5px solid"},sm:{value:"1px solid"},md:{value:"2px solid"},lg:{value:"4px solid"},xl:{value:"8px solid"}}),py=wg.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"}}}),hy=wg.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"}}),gy=wg.durations({fastest:{value:"50ms"},faster:{value:"100ms"},fast:{value:"150ms"},moderate:{value:"200ms"},slow:{value:"300ms"},slower:{value:"400ms"},slowest:{value:"500ms"}}),my=wg.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)"}}),by=wg.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"}}),vy=wg.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"}}),yy='-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',xy=wg.fonts({heading:{value:`Inter, ${yy}`},body:{value:`Inter, ${yy}`},mono:{value:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'}}),ky=wg.letterSpacings({tighter:{value:"-0.05em"},tight:{value:"-0.025em"},wide:{value:"0.025em"},wider:{value:"0.05em"},widest:{value:"0.1em"}}),Sy=wg.lineHeights({shorter:{value:1.25},short:{value:1.375},moderate:{value:1.5},tall:{value:1.625},taller:{value:2}}),wy=wg.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"}}),_y=wg.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"}}),Cy=wg.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"}}),Ey=wg.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"}}),Py=wg.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%"}}),zy=wg.sizes({...Cy,..._y,...Py,...Ey}),Ty=wg.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}}),Ry=kg(Fg,{preflight:!0,cssVarsPrefix:"chakra",cssVarsRoot:":where(html, .chakra-theme)",globalCss:ub,theme:{breakpoints:{sm:"480px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},keyframes:{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:"0"},to:{height:"var(--height)"}},"collapse-height":{from:{height:"var(--height)"},to:{height:"0"}},"expand-width":{from:{width:"0"},to:{width:"var(--width)"}},"collapse-width":{from:{height:"var(--width)"},to:{height:"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 -0.5rem"},to:{translate:"0"}},"slide-from-bottom":{"0%":{translate:"0 0.5rem"},to:{translate:"0"}},"slide-from-left":{"0%":{translate:"-0.5rem 0"},to:{translate:"0"}},"slide-from-right":{"0%":{translate:"0.5rem 0"},to:{translate:"0"}},"slide-to-top":{"0%":{translate:"0"},to:{translate:"0 -0.5rem"}},"slide-to-bottom":{"0%":{translate:"0"},to:{translate:"0 0.5rem"}},"slide-to-left":{"0%":{translate:"0"},to:{translate:"-0.5rem 0"}},"slide-to-right":{"0%":{translate:"0"},to:{translate:"0.5rem 0"}},"scale-in":{from:{scale:"0.95"},to:{scale:"1"}},"scale-out":{from:{scale:"1"},to:{scale:"0.95"}}},tokens:{aspectRatios:uy,animations:cy,blurs:dy,borders:fy,colors:py,durations:gy,easings:my,fonts:xy,fontSizes:by,fontWeights:vy,letterSpacings:ky,lineHeights:Sy,radii:wy,spacing:_y,sizes:zy,zIndex:Ty,cursor:hy},semanticTokens:{colors:yb,shadows:kb,radii:xb},recipes:vb,slotRecipes:sy,textStyles:{"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"}}},layerStyles:{"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:{}}},animationStyles:{"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"}}}}});ob(Ry);const Iy=()=>{const{botData:e}=Li(),t=e?.white_label?.is_white_labeled??!1;return h.jsxs(Hi,{mt:1,justifyContent:"start",align:"center",alignContent:"center",wrap:"wrap",gapX:4,alignItems:"center",w:"full",children:[!t&&h.jsxs(sl,{href:lf("https://dori.style/",e?.sharing_id||""),target:"_blank",children:[h.jsxs(il,{fontSize:{base:"9px",md:"10px"},color:"#666666",textAlign:"center",lineHeight:"1.4",textWrap:"nowrap",children:["Powered by"," "]}),h.jsx(ol,{src:"https://dori.fra1.cdn.digitaloceanspaces.com/dori-16px.webp",alt:"Bot Image",h:{base:"14px",md:"16px"}})]}),h.jsx(hn,{fontSize:{base:"8px",md:"10px"},color:"#666666",bg:"transparent",border:"none",display:"flex",alignItems:"center",justifyContent:"flex-start",children:h.jsx(hn,{children:"AI can make mistakes. Check important info"})})]})},Oy=({width:e="100%",height:t="20px",borderRadius:n="8px"})=>h.jsx(hn,{width:e,height:t,borderRadius:n,style:{background:"linear-gradient(90deg, #f0f0f0 0px, #f8f8f8 40px, #f0f0f0 80px)",backgroundSize:"1000px 100%",animation:"shimmer 2s infinite linear"}}),Ay=()=>h.jsxs(hn,{style:{zIndex:9999,overflow:"hidden",willChange:"transform",pointerEvents:"auto",transform:"translateY(0)",transition:"all 0.5s ease",visibility:"visible",opacity:1},children:[h.jsx("style",{children:"\n @keyframes shimmer {\n 0% {\n background-position: -1000px 0;\n }\n 100% {\n background-position: 1000px 0;\n }\n }\n"}),h.jsxs(Ui,{p:3,h:"full",justify:"space-between",align:"stretch",gap:3,children:[h.jsxs(Hi,{gap:3,p:3,children:[h.jsx(Oy,{width:"40px",height:"40px",borderRadius:"full"}),h.jsxs(Ui,{align:"flex-start",gap:2,flex:1,children:[h.jsx(Oy,{width:"140px",height:"16px"}),h.jsx(Oy,{width:"100px",height:"12px"})]})]}),h.jsxs(Ui,{gap:4,flex:1,align:"stretch",px:3,children:[h.jsx(Hi,{justify:"flex-end",children:h.jsx(Oy,{width:"60%",height:"50px",borderRadius:"16px"})}),h.jsxs(Hi,{gap:3,overflowX:"hidden",px:1,children:[h.jsx(hn,{minW:"140px",children:h.jsxs(Ui,{align:"stretch",gap:2,children:[h.jsx(Oy,{width:"70px",height:"70px",borderRadius:"12px"}),h.jsx(Oy,{width:"100%",height:"12px"})]})}),h.jsx(hn,{minW:"140px",children:h.jsxs(Ui,{align:"stretch",gap:2,children:[h.jsx(Oy,{width:"70px",height:"70px",borderRadius:"12px"}),h.jsx(Oy,{width:"100%",height:"12px"})]})})]})]}),h.jsx(hn,{p:2,children:h.jsx(Oy,{width:"100%",height:"42px",borderRadius:"28px"})})]})]}),Dy=()=>{const{botData:e,isLoadingBot:t}=Li();return t?h.jsx(Ay,{}):e?h.jsx(hn,{style:{zIndex:9999,overflow:"hidden",willChange:"transform",pointerEvents:"auto",transform:"translateY(0)",transition:"all 0.5s ease",visibility:"visible",opacity:1},children:h.jsxs(Ui,{p:3,h:"full",justify:"flex-start",align:"stretch",children:[h.jsx(Nh,{})," ",h.jsx(hn,{transition:"all 0.5s cubic-bezier(0.4, 0, 0.2, 1)",children:h.jsx(Iy,{})})]})}):null};function Ny(){const[e,t]=y.useState(""),[n,r]=y.useState(null);return function({sharingId:e,productId:t}){const{initializeBot:n,resetBot:r}=Li(),o=y.useRef(void 0),a=y.useRef(void 0);y.useEffect(()=>{(async()=>{(o.current&&e&&o.current!==e||a.current!==t)&&r?.(),o.current=e,a.current=t,e&&await n(e,t)})()},[e,t,n,r])}({sharingId:e,productId:n}),y.useEffect(()=>{window.chatbotData?t(window.chatbotData.sharingID):Ti("useEffect sharing ID",()=>{const e=()=>{const e=document.querySelector("script#dori-react-widget");return{sharingId:e?.getAttribute("data-sharing-id")||"",productId:e?.getAttribute("data-product-id")||null}},{sharingId:n,productId:o}=e();t(n),r(o);const a=document.querySelector("script#dori-react-widget");if(!a)return;const i=new MutationObserver(n=>{for(const o of n)if("attributes"===o.type&&("data-sharing-id"===o.attributeName||"data-product-id"===o.attributeName)){const{sharingId:n,productId:o}=e();t(n),r(o)}});return i.observe(a,{attributes:!0,attributeFilter:["data-sharing-id","data-product-id"]}),()=>{i.disconnect()}})()},[]),h.jsx(hn,{fontFamily:"Estedad-FD, system-ui, Avenir, Helvetica, Arial, sans-serif",lineHeight:"1.5",fontWeight:"400",colorScheme:"light",children:h.jsx(Dy,{})})}function Fy(){return h.jsx(Ny,{})}var jy={};const My=a(Lt),Ly=a(qe);var Wy,By={},$y={};function Vy(){if(Wy)return $y;Wy=1;var e=v(),t=j();function n(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=Symbol.for("react.transitional.element"),o=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),c=Symbol.for("react.consumer"),u=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),m=Symbol.for("react.scope"),b=Symbol.for("react.activity"),y=Symbol.for("react.legacy_hidden"),x=Symbol.for("react.memo_cache_sentinel"),k=Symbol.for("react.view_transition"),S=Symbol.iterator,w=Array.isArray;function _(e,t){var n=3&e.length,r=e.length-n,o=t;for(t=0;t<r;){var a=255&e.charCodeAt(t)|(255&e.charCodeAt(++t))<<8|(255&e.charCodeAt(++t))<<16|(255&e.charCodeAt(++t))<<24;++t,o=27492+(65535&(o=5*(65535&(o=(o^=a=461845907*(65535&(a=(a=3432918353*(65535&a)+((3432918353*(a>>>16)&65535)<<16)&4294967295)<<15|a>>>17))+((461845907*(a>>>16)&65535)<<16)&4294967295)<<13|o>>>19))+((5*(o>>>16)&65535)<<16)&4294967295))+(((o>>>16)+58964&65535)<<16)}switch(a=0,n){case 3:a^=(255&e.charCodeAt(t+2))<<16;case 2:a^=(255&e.charCodeAt(t+1))<<8;case 1:o^=461845907*(65535&(a=(a=3432918353*(65535&(a^=255&e.charCodeAt(t)))+((3432918353*(a>>>16)&65535)<<16)&4294967295)<<15|a>>>17))+((461845907*(a>>>16)&65535)<<16)&4294967295}return o^=e.length,o=2246822507*(65535&(o^=o>>>16))+((2246822507*(o>>>16)&65535)<<16)&4294967295,((o=3266489909*(65535&(o^=o>>>13))+((3266489909*(o>>>16)&65535)<<16)&4294967295)^o>>>16)>>>0}var C=Object.assign,E=Object.prototype.hasOwnProperty,P=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),z={},T={};function R(e){return!!E.call(T,e)||!E.call(z,e)&&(P.test(e)?T[e]=!0:(z[e]=!0,!1))}var I=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),O=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),A=/["'&<>]/;function D(e){if("boolean"==typeof e||"number"==typeof e||"bigint"==typeof e)return""+e;e=""+e;var t=A.exec(e);if(t){var n,r="",o=0;for(n=t.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:t="&quot;";break;case 38:t="&amp;";break;case 39:t="&#x27;";break;case 60:t="&lt;";break;case 62:t="&gt;";break;default:continue}o!==n&&(r+=e.slice(o,n)),o=n+1,r+=t}e=o!==n?r+e.slice(o,n):r}return e}var N=/([A-Z])/g,F=/^ms-/,M=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function L(e){return M.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var W=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,B=t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,$={pending:!1,data:null,method:null,action:null},V=B.d;B.d={f:V.f,r:V.r,D:function(e){var t=cn||null;if(t){var n,r,o=t.resumableState,a=t.renderState;if("string"==typeof e&&e)o.dnsResources.hasOwnProperty(e)||(o.dnsResources[e]=null,(r=(o=a.headers)&&0<o.remainingCapacity)&&(n="<"+(""+e).replace(He,Ue)+">; rel=dns-prefetch",r=0<=(o.remainingCapacity-=n.length+2)),r?(a.resets.dns[e]=null,o.preconnects&&(o.preconnects+=", "),o.preconnects+=n):(se(n=[],{href:e,rel:"dns-prefetch"}),a.preconnects.add(n))),Yn(t)}else V.D(e)},C:function(e,t){var n=cn||null;if(n){var r=n.resumableState,o=n.renderState;if("string"==typeof e&&e){var a,i,l="use-credentials"===t?"credentials":"string"==typeof t?"anonymous":"default";if(!r.connectResources[l].hasOwnProperty(e))r.connectResources[l][e]=null,(i=(r=o.headers)&&0<r.remainingCapacity)&&(i="<"+(""+e).replace(He,Ue)+">; rel=preconnect","string"==typeof t&&(i+='; crossorigin="'+(""+t).replace(qe,Ge)+'"'),a=i,i=0<=(r.remainingCapacity-=a.length+2)),i?(o.resets.connect[l][e]=null,r.preconnects&&(r.preconnects+=", "),r.preconnects+=a):(se(l=[],{rel:"preconnect",href:e,crossOrigin:t}),o.preconnects.add(l));Yn(n)}}else V.C(e,t)},L:function(e,t,n){var r=cn||null;if(r){var o=r.resumableState,a=r.renderState;if(t&&e){switch(t){case"image":if(n)var i=n.imageSrcSet,l=n.imageSizes,s=n.fetchPriority;var c,u=i?i+"\n"+(l||""):e;if(o.imageResources.hasOwnProperty(u))return;o.imageResources[u]=H,(o=a.headers)&&0<o.remainingCapacity&&"string"!=typeof i&&"high"===s&&(c=Ve(e,t,n),0<=(o.remainingCapacity-=c.length+2))?(a.resets.image[u]=H,o.highImagePreloads&&(o.highImagePreloads+=", "),o.highImagePreloads+=c):(se(o=[],C({rel:"preload",href:i?void 0:e,as:t},n)),"high"===s?a.highImagePreloads.add(o):(a.bulkPreloads.add(o),a.preloads.images.set(u,o)));break;case"style":if(o.styleResources.hasOwnProperty(e))return;se(i=[],C({rel:"preload",href:e,as:t},n)),o.styleResources[e]=!n||"string"!=typeof n.crossOrigin&&"string"!=typeof n.integrity?H:[n.crossOrigin,n.integrity],a.preloads.stylesheets.set(e,i),a.bulkPreloads.add(i);break;case"script":if(o.scriptResources.hasOwnProperty(e))return;i=[],a.preloads.scripts.set(e,i),a.bulkPreloads.add(i),se(i,C({rel:"preload",href:e,as:t},n)),o.scriptResources[e]=!n||"string"!=typeof n.crossOrigin&&"string"!=typeof n.integrity?H:[n.crossOrigin,n.integrity];break;default:if(o.unknownResources.hasOwnProperty(t)){if((i=o.unknownResources[t]).hasOwnProperty(e))return}else i={},o.unknownResources[t]=i;i[e]=H,(o=a.headers)&&0<o.remainingCapacity&&"font"===t&&(u=Ve(e,t,n),0<=(o.remainingCapacity-=u.length+2))?(a.resets.font[e]=H,o.fontPreloads&&(o.fontPreloads+=", "),o.fontPreloads+=u):"font"===(se(o=[],e=C({rel:"preload",href:e,as:t},n)),t)?a.fontPreloads.add(o):a.bulkPreloads.add(o)}Yn(r)}}else V.L(e,t,n)},m:function(e,t){var n=cn||null;if(n){var r=n.resumableState,o=n.renderState;if(e){var a=t&&"string"==typeof t.as?t.as:"script";if("script"===a){if(r.moduleScriptResources.hasOwnProperty(e))return;a=[],r.moduleScriptResources[e]=!t||"string"!=typeof t.crossOrigin&&"string"!=typeof t.integrity?H:[t.crossOrigin,t.integrity],o.preloads.moduleScripts.set(e,a)}else{if(r.moduleUnknownResources.hasOwnProperty(a)){var i=r.unknownResources[a];if(i.hasOwnProperty(e))return}else i={},r.moduleUnknownResources[a]=i;a=[],i[e]=H}se(a,C({rel:"modulepreload",href:e},t)),o.bulkPreloads.add(a),Yn(n)}}else V.m(e,t)},X:function(e,t){var n=cn||null;if(n){var r=n.resumableState,o=n.renderState;if(e){var a=r.scriptResources.hasOwnProperty(e)?r.scriptResources[e]:void 0;null!==a&&(r.scriptResources[e]=null,t=C({src:e,async:!0},t),a&&(2===a.length&&$e(t,a),e=o.preloads.scripts.get(e))&&(e.length=0),e=[],o.scripts.add(e),pe(e,t),Yn(n))}}else V.X(e,t)},S:function(e,t,n){var r=cn||null;if(r){var o=r.resumableState,a=r.renderState;if(e){t=t||"default";var i=a.styles.get(t),l=o.styleResources.hasOwnProperty(e)?o.styleResources[e]:void 0;null!==l&&(o.styleResources[e]=null,i||(i={precedence:D(t),rules:[],hrefs:[],sheets:new Map},a.styles.set(t,i)),t={state:0,props:C({rel:"stylesheet",href:e,"data-precedence":t},n)},l&&(2===l.length&&$e(t.props,l),(a=a.preloads.stylesheets.get(e))&&0<a.length?a.length=0:t.state=1),i.sheets.set(e,t),Yn(r))}}else V.S(e,t,n)},M:function(e,t){var n=cn||null;if(n){var r=n.resumableState,o=n.renderState;if(e){var a=r.moduleScriptResources.hasOwnProperty(e)?r.moduleScriptResources[e]:void 0;null!==a&&(r.moduleScriptResources[e]=null,t=C({src:e,type:"module",async:!0},t),a&&(2===a.length&&$e(t,a),e=o.preloads.moduleScripts.get(e))&&(e.length=0),e=[],o.scripts.add(e),pe(e,t),Yn(n))}}else V.M(e,t)}};var H=[],U=/(<\/|<)(s)(cript)/gi;function q(e,t,n,r){return t+("s"===n?"\\u0073":"\\u0053")+r}function G(){return{htmlChunks:null,headChunks:null,bodyChunks:null,contribution:0}}function Y(e,t,n){return{insertionMode:e,selectedValue:t,tagScope:n}}function X(e,t,n){switch(t){case"noscript":return Y(2,null,1|e.tagScope);case"select":return Y(2,null!=n.value?n.value:n.defaultValue,e.tagScope);case"svg":return Y(4,null,e.tagScope);case"picture":return Y(2,null,2|e.tagScope);case"math":return Y(5,null,e.tagScope);case"foreignObject":return Y(2,null,e.tagScope);case"table":return Y(6,null,e.tagScope);case"thead":case"tbody":case"tfoot":return Y(7,null,e.tagScope);case"colgroup":return Y(9,null,e.tagScope);case"tr":return Y(8,null,e.tagScope);case"head":if(2>e.insertionMode)return Y(3,null,e.tagScope);break;case"html":if(0===e.insertionMode)return Y(1,null,e.tagScope)}return 6<=e.insertionMode||2>e.insertionMode?Y(2,null,e.tagScope):e}var K=new Map;function Q(e,t){if("object"!=typeof t)throw Error(n(62));var r,o=!0;for(r in t)if(E.call(t,r)){var a=t[r];if(null!=a&&"boolean"!=typeof a&&""!==a){if(0===r.indexOf("--")){var i=D(r);a=D((""+a).trim())}else void 0===(i=K.get(r))&&(i=D(r.replace(N,"-$1").toLowerCase().replace(F,"-ms-")),K.set(r,i)),a="number"==typeof a?0===a||I.has(r)?""+a:a+"px":D((""+a).trim());o?(o=!1,e.push(' style="',i,":",a)):e.push(";",i,":",a)}}o||e.push('"')}function J(e,t,n){n&&"function"!=typeof n&&"symbol"!=typeof n&&e.push(" ",t,'=""')}function Z(e,t,n){"function"!=typeof n&&"symbol"!=typeof n&&"boolean"!=typeof n&&e.push(" ",t,'="',D(n),'"')}var ee=D("javascript:throw new Error('React form unexpectedly submitted.')");function te(e,t){this.push('<input type="hidden"'),ne(e),Z(this,"name",t),Z(this,"value",e),this.push("/>")}function ne(e){if("string"!=typeof e)throw Error(n(480))}function re(e,t){if("function"==typeof t.$$FORM_ACTION){var n=e.nextFormID++;e=e.idPrefix+n;try{var r=t.$$FORM_ACTION(e);if(r){var o=r.data;null!=o&&o.forEach(ne)}return r}catch(a){if("object"==typeof a&&null!==a&&"function"==typeof a.then)throw a}}return null}function oe(e,t,n,r,o,a,i,l){var s=null;if("function"==typeof r){var c=re(t,r);null!==c?(l=c.name,r=c.action||"",o=c.encType,a=c.method,i=c.target,s=c.data):(e.push(" ","formAction",'="',ee,'"'),i=a=o=r=l=null,le(t,n))}return null!=l&&ae(e,"name",l),null!=r&&ae(e,"formAction",r),null!=o&&ae(e,"formEncType",o),null!=a&&ae(e,"formMethod",a),null!=i&&ae(e,"formTarget",i),s}function ae(e,t,n){switch(t){case"className":Z(e,"class",n);break;case"tabIndex":Z(e,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":Z(e,t,n);break;case"style":Q(e,n);break;case"src":case"href":if(""===n)break;case"action":case"formAction":if(null==n||"function"==typeof n||"symbol"==typeof n||"boolean"==typeof n)break;n=L(""+n),e.push(" ",t,'="',D(n),'"');break;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"autoFocus":case"multiple":case"muted":J(e,t.toLowerCase(),n);break;case"xlinkHref":if("function"==typeof n||"symbol"==typeof n||"boolean"==typeof n)break;n=L(""+n),e.push(" ","xlink:href",'="',D(n),'"');break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":"function"!=typeof n&&"symbol"!=typeof n&&e.push(" ",t,'="',D(n),'"');break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":n&&"function"!=typeof n&&"symbol"!=typeof n&&e.push(" ",t,'=""');break;case"capture":case"download":!0===n?e.push(" ",t,'=""'):!1!==n&&"function"!=typeof n&&"symbol"!=typeof n&&e.push(" ",t,'="',D(n),'"');break;case"cols":case"rows":case"size":case"span":"function"!=typeof n&&"symbol"!=typeof n&&!isNaN(n)&&1<=n&&e.push(" ",t,'="',D(n),'"');break;case"rowSpan":case"start":"function"==typeof n||"symbol"==typeof n||isNaN(n)||e.push(" ",t,'="',D(n),'"');break;case"xlinkActuate":Z(e,"xlink:actuate",n);break;case"xlinkArcrole":Z(e,"xlink:arcrole",n);break;case"xlinkRole":Z(e,"xlink:role",n);break;case"xlinkShow":Z(e,"xlink:show",n);break;case"xlinkTitle":Z(e,"xlink:title",n);break;case"xlinkType":Z(e,"xlink:type",n);break;case"xmlBase":Z(e,"xml:base",n);break;case"xmlLang":Z(e,"xml:lang",n);break;case"xmlSpace":Z(e,"xml:space",n);break;default:if((!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&R(t=O.get(t)||t)){switch(typeof n){case"function":case"symbol":return;case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return}e.push(" ",t,'="',D(n),'"')}}}function ie(e,t,r){if(null!=t){if(null!=r)throw Error(n(60));if("object"!=typeof t||!("__html"in t))throw Error(n(61));null!=(t=t.__html)&&e.push(""+t)}}function le(e,t){!(16&e.instructions)&&(e.instructions|=16,t.bootstrapChunks.unshift(t.startInlineScript,'addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'React form unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});',"<\/script>"))}function se(e,t){for(var r in e.push(ve("link")),t)if(E.call(t,r)){var o=t[r];if(null!=o)switch(r){case"children":case"dangerouslySetInnerHTML":throw Error(n(399,"link"));default:ae(e,r,o)}}return e.push("/>"),null}var ce=/(<\/|<)(s)(tyle)/gi;function ue(e,t,n,r){return t+("s"===n?"\\73 ":"\\53 ")+r}function de(e,t,r){for(var o in e.push(ve(r)),t)if(E.call(t,o)){var a=t[o];if(null!=a)switch(o){case"children":case"dangerouslySetInnerHTML":throw Error(n(399,r));default:ae(e,o,a)}}return e.push("/>"),null}function fe(e,t){e.push(ve("title"));var n,r=null,o=null;for(n in t)if(E.call(t,n)){var a=t[n];if(null!=a)switch(n){case"children":r=a;break;case"dangerouslySetInnerHTML":o=a;break;default:ae(e,n,a)}}return e.push(">"),"function"!=typeof(t=Array.isArray(r)?2>r.length?r[0]:null:r)&&"symbol"!=typeof t&&null!=t&&e.push(D(""+t)),ie(e,o,r),e.push(xe("title")),null}function pe(e,t){e.push(ve("script"));var n,r=null,o=null;for(n in t)if(E.call(t,n)){var a=t[n];if(null!=a)switch(n){case"children":r=a;break;case"dangerouslySetInnerHTML":o=a;break;default:ae(e,n,a)}}return e.push(">"),ie(e,o,r),"string"==typeof r&&e.push((""+r).replace(U,q)),e.push(xe("script")),null}function he(e,t,n){e.push(ve(n));var r,o=n=null;for(r in t)if(E.call(t,r)){var a=t[r];if(null!=a)switch(r){case"children":n=a;break;case"dangerouslySetInnerHTML":o=a;break;default:ae(e,r,a)}}return e.push(">"),ie(e,o,n),n}function ge(e,t,n){e.push(ve(n));var r,o=n=null;for(r in t)if(E.call(t,r)){var a=t[r];if(null!=a)switch(r){case"children":n=a;break;case"dangerouslySetInnerHTML":o=a;break;default:ae(e,r,a)}}return e.push(">"),ie(e,o,n),"string"==typeof n?(e.push(D(n)),null):n}var me=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,be=new Map;function ve(e){var t=be.get(e);if(void 0===t){if(!me.test(e))throw Error(n(65,e));t="<"+e,be.set(e,t)}return t}var ye=new Map;function xe(e){var t=ye.get(e);return void 0===t&&(t="</"+e+">",ye.set(e,t)),t}function ke(e,t){null===(e=e.preamble).htmlChunks&&t.htmlChunks&&(e.htmlChunks=t.htmlChunks,t.contribution|=1),null===e.headChunks&&t.headChunks&&(e.headChunks=t.headChunks,t.contribution|=4),null===e.bodyChunks&&t.bodyChunks&&(e.bodyChunks=t.bodyChunks,t.contribution|=2)}function Se(e,t){t=t.bootstrapChunks;for(var n=0;n<t.length-1;n++)e.push(t[n]);return!(n<t.length)||(n=t[n],t.length=0,e.push(n))}function we(e,t,r){if(e.push('\x3c!--$?--\x3e<template id="'),null===r)throw Error(n(395));return e.push(t.boundaryPrefix),t=r.toString(16),e.push(t),e.push('"></template>')}function _e(e,t){0!==(t=t.contribution)&&(e.push("\x3c!--"),e.push(""+t),e.push("--\x3e"))}var Ce=/[<\u2028\u2029]/g;function Ee(e){return JSON.stringify(e).replace(Ce,function(e){switch(e){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Pe=/[&><\u2028\u2029]/g;function ze(e){return JSON.stringify(e).replace(Pe,function(e){switch(e){case"&":return"\\u0026";case">":return"\\u003e";case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Te=!1,Re=!0;function Ie(e){var t=e.rules,n=e.hrefs,r=0;if(n.length){for(this.push('<style media="not all" data-precedence="'),this.push(e.precedence),this.push('" data-href="');r<n.length-1;r++)this.push(n[r]),this.push(" ");for(this.push(n[r]),this.push('">'),r=0;r<t.length;r++)this.push(t[r]);Re=this.push("</style>"),Te=!0,t.length=0,n.length=0}}function Oe(e){return 2!==e.state&&(Te=!0)}function Ae(e,t,n){return Te=!1,Re=!0,t.styles.forEach(Ie,e),t.stylesheets.forEach(Oe),Te&&(n.stylesToHoist=!0),Re}function De(e){for(var t=0;t<e.length;t++)this.push(e[t]);e.length=0}var Ne=[];function Fe(e){se(Ne,e.props);for(var t=0;t<Ne.length;t++)this.push(Ne[t]);Ne.length=0,e.state=2}function je(e){var t=0<e.sheets.size;e.sheets.forEach(Fe,this),e.sheets.clear();var n=e.rules,r=e.hrefs;if(!t||r.length){if(this.push('<style data-precedence="'),this.push(e.precedence),e=0,r.length){for(this.push('" data-href="');e<r.length-1;e++)this.push(r[e]),this.push(" ");this.push(r[e])}for(this.push('">'),e=0;e<n.length;e++)this.push(n[e]);this.push("</style>"),n.length=0,r.length=0}}function Me(e){if(0===e.state){e.state=1;var t=e.props;for(se(Ne,{rel:"preload",as:"style",href:e.props.href,crossOrigin:t.crossOrigin,fetchPriority:t.fetchPriority,integrity:t.integrity,media:t.media,hrefLang:t.hrefLang,referrerPolicy:t.referrerPolicy}),e=0;e<Ne.length;e++)this.push(Ne[e]);Ne.length=0}}function Le(e){e.sheets.forEach(Me,this),e.sheets.clear()}function We(e,t,n){var r=t.toLowerCase();switch(typeof n){case"function":case"symbol":return}switch(t){case"innerHTML":case"dangerouslySetInnerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"style":case"ref":return;case"className":r="class",t=""+n;break;case"hidden":if(!1===n)return;t="";break;case"src":case"href":t=""+(n=L(n));break;default:if(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])||!R(t))return;t=""+n}e.push(","),r=ze(r),e.push(r),e.push(","),r=ze(t),e.push(r)}function Be(){return{styles:new Set,stylesheets:new Set}}function $e(e,t){null==e.crossOrigin&&(e.crossOrigin=t[0]),null==e.integrity&&(e.integrity=t[1])}function Ve(e,t,n){for(var r in t="<"+(e=(""+e).replace(He,Ue))+'>; rel=preload; as="'+(t=(""+t).replace(qe,Ge))+'"',n)E.call(n,r)&&"string"==typeof(e=n[r])&&(t+="; "+r.toLowerCase()+'="'+(""+e).replace(qe,Ge)+'"');return t}var He=/[<>\r\n]/g;function Ue(e){switch(e){case"<":return"%3C";case">":return"%3E";case"\n":return"%0A";case"\r":return"%0D";default:throw Error("escapeLinkHrefForHeaderContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}var qe=/["';,\r\n]/g;function Ge(e){switch(e){case'"':return"%22";case"'":return"%27";case";":return"%3B";case",":return"%2C";case"\n":return"%0A";case"\r":return"%0D";default:throw Error("escapeStringForLinkHeaderQuotedParamValueContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}function Ye(e){this.styles.add(e)}function Xe(e){this.stylesheets.add(e)}function Ke(e,t,n,r){return n.generateStaticMarkup?(e.push(D(t)),!1):(""===t?e=r:(r&&e.push("\x3c!-- --\x3e"),e.push(D(t)),e=!0),e)}function Qe(e,t,n,r){t.generateStaticMarkup||n&&r&&e.push("\x3c!-- --\x3e")}var Je=Function.prototype.bind,Ze=Symbol.for("react.client.reference");function et(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===Ze?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case a:return"Fragment";case l:return"Profiler";case i:return"StrictMode";case f:return"Suspense";case p:return"SuspenseList";case b:return"Activity"}if("object"==typeof e)switch(e.$$typeof){case o:return"Portal";case u:return(e.displayName||"Context")+".Provider";case c:return(e._context.displayName||"Context")+".Consumer";case d:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case h:return null!==(t=e.displayName||null)?t:et(e.type)||"Memo";case g:t=e._payload,e=e._init;try{return et(e(t))}catch(n){}}return null}var tt={},nt=null;function rt(e,t){if(e!==t){e.context._currentValue2=e.parentValue,e=e.parent;var r=t.parent;if(null===e){if(null!==r)throw Error(n(401))}else{if(null===r)throw Error(n(401));rt(e,r)}t.context._currentValue2=t.value}}function ot(e){e.context._currentValue2=e.parentValue,null!==(e=e.parent)&&ot(e)}function at(e){var t=e.parent;null!==t&&at(t),e.context._currentValue2=e.value}function it(e,t){if(e.context._currentValue2=e.parentValue,null===(e=e.parent))throw Error(n(402));e.depth===t.depth?rt(e,t):it(e,t)}function lt(e,t){var r=t.parent;if(null===r)throw Error(n(402));e.depth===r.depth?rt(e,r):lt(e,r),t.context._currentValue2=t.value}function st(e){var t=nt;t!==e&&(null===t?at(e):null===e?ot(t):t.depth===e.depth?rt(t,e):t.depth>e.depth?it(t,e):lt(t,e),nt=e)}var ct={enqueueSetState:function(e,t){null!==(e=e._reactInternals).queue&&e.queue.push(t)},enqueueReplaceState:function(e,t){(e=e._reactInternals).replace=!0,e.queue=[t]},enqueueForceUpdate:function(){}},ut={id:1,overflow:""};function dt(e,t,n){var r=e.id;e=e.overflow;var o=32-ft(r)-1;r&=~(1<<o),n+=1;var a=32-ft(t)+o;if(30<a){var i=o-o%5;return a=(r&(1<<i)-1).toString(32),r>>=i,o-=i,{id:1<<32-ft(t)+o|n<<o|r,overflow:a+e}}return{id:1<<a|n<<o|r,overflow:e}}var ft=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(pt(e)/ht|0)|0},pt=Math.log,ht=Math.LN2,gt=Error(n(460));function mt(){}var bt=null;function vt(){if(null===bt)throw Error(n(459));var e=bt;return bt=null,e}var yt="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},xt=null,kt=null,St=null,wt=null,_t=null,Ct=null,Et=!1,Pt=!1,zt=0,Tt=0,Rt=-1,It=0,Ot=null,At=null,Dt=0;function Nt(){if(null===xt)throw Error(n(321));return xt}function Ft(){if(0<Dt)throw Error(n(312));return{memoizedState:null,queue:null,next:null}}function jt(){return null===Ct?null===_t?(Et=!1,_t=Ct=Ft()):(Et=!0,Ct=_t):null===Ct.next?(Et=!1,Ct=Ct.next=Ft()):(Et=!0,Ct=Ct.next),Ct}function Mt(){var e=Ot;return Ot=null,e}function Lt(){wt=St=kt=xt=null,Pt=!1,_t=null,Dt=0,Ct=At=null}function Wt(e,t){return"function"==typeof t?t(e):t}function Bt(e,t,n){if(xt=Nt(),Ct=jt(),Et){var r=Ct.queue;if(t=r.dispatch,null!==At&&void 0!==(n=At.get(r))){At.delete(r),r=Ct.memoizedState;do{r=e(r,n.action),n=n.next}while(null!==n);return Ct.memoizedState=r,[r,t]}return[Ct.memoizedState,t]}return e=e===Wt?"function"==typeof t?t():t:void 0!==n?n(t):t,Ct.memoizedState=e,e=(e=Ct.queue={last:null,dispatch:null}).dispatch=Vt.bind(null,xt,e),[Ct.memoizedState,e]}function $t(e,t){if(xt=Nt(),t=void 0===t?null:t,null!==(Ct=jt())){var n=Ct.memoizedState;if(null!==n&&null!==t){var r=n[1];e:if(null===r)r=!1;else{for(var o=0;o<r.length&&o<t.length;o++)if(!yt(t[o],r[o])){r=!1;break e}r=!0}if(r)return n[0]}}return e=e(),Ct.memoizedState=[e,t],e}function Vt(e,t,r){if(25<=Dt)throw Error(n(301));if(e===xt)if(Pt=!0,e={action:r,next:null},null===At&&(At=new Map),void 0===(r=At.get(t)))At.set(t,e);else{for(t=r;null!==t.next;)t=t.next;t.next=e}}function Ht(){throw Error(n(394))}function Ut(){throw Error(n(479))}function qt(e,t,n){Nt();var r=Tt++,o=St;if("function"==typeof e.$$FORM_ACTION){var a=null,i=wt;o=o.formState;var l=e.$$IS_SIGNATURE_EQUAL;if(null!==o&&"function"==typeof l){var s=o[1];l.call(e,o[2],o[3])&&s===(a=void 0!==n?"p"+n:"k"+_(JSON.stringify([i,null,r]),0))&&(Rt=r,t=o[0])}var c=e.bind(null,t);return e=function(e){c(e)},"function"==typeof c.$$FORM_ACTION&&(e.$$FORM_ACTION=function(e){e=c.$$FORM_ACTION(e),void 0!==n&&(n+="",e.action=n);var t=e.data;return t&&(null===a&&(a=void 0!==n?"p"+n:"k"+_(JSON.stringify([i,null,r]),0)),t.append("$ACTION_KEY",a)),e}),[t,e,!1]}var u=e.bind(null,t);return[t,function(e){u(e)},!1]}function Gt(e){var t=It;return It+=1,null===Ot&&(Ot=[]),function(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(mt,mt),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch("string"==typeof t.status?t.then(mt,mt):((e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}throw bt=t,gt}}(Ot,e,t)}function Yt(){throw Error(n(393))}function Xt(){}var Kt,Qt,Jt={readContext:function(e){return e._currentValue2},use:function(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return Gt(e);if(e.$$typeof===u)return e._currentValue2}throw Error(n(438,String(e)))},useContext:function(e){return Nt(),e._currentValue2},useMemo:$t,useReducer:Bt,useRef:function(e){xt=Nt();var t=(Ct=jt()).memoizedState;return null===t?(e={current:e},Ct.memoizedState=e):t},useState:function(e){return Bt(Wt,e)},useInsertionEffect:Xt,useLayoutEffect:Xt,useCallback:function(e,t){return $t(function(){return e},t)},useImperativeHandle:Xt,useEffect:Xt,useDebugValue:Xt,useDeferredValue:function(e,t){return Nt(),void 0!==t?t:e},useTransition:function(){return Nt(),[!1,Ht]},useId:function(){var e=kt.treeContext,t=e.overflow;e=((e=e.id)&~(1<<32-ft(e)-1)).toString(32)+t;var r=Zt;if(null===r)throw Error(n(404));return t=zt++,e="«"+r.idPrefix+"R"+e,0<t&&(e+="H"+t.toString(32)),e+"»"},useSyncExternalStore:function(e,t,r){if(void 0===r)throw Error(n(407));return r()},useOptimistic:function(e){return Nt(),[e,Ut]},useActionState:qt,useFormState:qt,useHostTransitionStatus:function(){return Nt(),$},useMemoCache:function(e){for(var t=Array(e),n=0;n<e;n++)t[n]=x;return t},useCacheRefresh:function(){return Yt}},Zt=null,en={getCacheForType:function(){throw Error(n(248))}};function tn(e){if(void 0===Kt)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Kt=t&&t[1]||"",Qt=-1<n.stack.indexOf("\n at")?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+Kt+e+Qt}var nn=!1;function rn(e,t){if(!e||nn)return"";nn=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(o){var r=o}Reflect.construct(e,[],n)}else{try{n.call()}catch(a){r=a}e.call(n.prototype)}}else{try{throw Error()}catch(i){r=i}(n=e())&&"function"==typeof n.catch&&n.catch(function(){})}}catch(l){if(l&&r&&"string"==typeof l.stack)return[l.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var a=r.DetermineComponentFrameRoot(),i=a[0],l=a[1];if(i&&l){var s=i.split("\n"),c=l.split("\n");for(o=r=0;r<s.length&&!s[r].includes("DetermineComponentFrameRoot");)r++;for(;o<c.length&&!c[o].includes("DetermineComponentFrameRoot");)o++;if(r===s.length||o===c.length)for(r=s.length-1,o=c.length-1;1<=r&&0<=o&&s[r]!==c[o];)o--;for(;1<=r&&0<=o;r--,o--)if(s[r]!==c[o]){if(1!==r||1!==o)do{if(r--,0>--o||s[r]!==c[o]){var u="\n"+s[r].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}}while(1<=r&&0<=o);break}}}finally{nn=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?tn(n):""}function on(e){if("string"==typeof e)return tn(e);if("function"==typeof e)return e.prototype&&e.prototype.isReactComponent?rn(e,!0):rn(e,!1);if("object"==typeof e&&null!==e){switch(e.$$typeof){case d:return rn(e.render,!1);case h:return rn(e.type,!1);case g:var t=e,n=t._payload;t=t._init;try{e=t(n)}catch(r){return tn("Lazy")}return on(e)}if("string"==typeof e.name)return n=e.env,tn(e.name+(n?" ["+n+"]":""))}switch(e){case p:return tn("SuspenseList");case f:return tn("Suspense")}return""}function an(e){if("object"==typeof e&&null!==e&&"string"==typeof e.environmentName){var t=e.environmentName;"string"==typeof(e=[e].slice(0))[0]?e.splice(0,1,"[%s] "+e[0]," "+t+" "):e.splice(0,0,"[%s] "," "+t+" "),e.unshift(console),(t=Je.apply(console.error,e))()}return null}function ln(){}function sn(e,t,n,r,o,a,i,l,s,c,u){var d=new Set;this.destination=null,this.flushScheduled=!1,this.resumableState=e,this.renderState=t,this.rootFormatContext=n,this.progressiveChunkSize=void 0===r?12800:r,this.status=10,this.fatalError=null,this.pendingRootTasks=this.allPendingTasks=this.nextSegmentId=0,this.completedPreambleSegments=this.completedRootSegment=null,this.abortableTasks=d,this.pingedTasks=[],this.clientRenderedBoundaries=[],this.completedBoundaries=[],this.partialBoundaries=[],this.trackedPostpones=null,this.onError=void 0===o?an:o,this.onPostpone=void 0===c?ln:c,this.onAllReady=void 0===a?ln:a,this.onShellReady=void 0===i?ln:i,this.onShellError=void 0===l?ln:l,this.onFatalError=void 0===s?ln:s,this.formState=void 0===u?null:u}var cn=null;function un(e,t){e.pingedTasks.push(t),1===e.pingedTasks.length&&(e.flushScheduled=null!==e.destination,Mn(e))}function dn(e,t,n,r){return{status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,completedSegments:[],byteSize:0,fallbackAbortableTasks:t,errorDigest:null,contentState:Be(),fallbackState:Be(),contentPreamble:n,fallbackPreamble:r,trackedContentKeyPath:null,trackedFallbackNode:null}}function fn(e,t,n,r,o,a,i,l,s,c,u,d,f,p,h){e.allPendingTasks++,null===o?e.pendingRootTasks++:o.pendingTasks++;var g={replay:null,node:n,childIndex:r,ping:function(){return un(e,g)},blockedBoundary:o,blockedSegment:a,blockedPreamble:i,hoistableState:l,abortSet:s,keyPath:c,formatContext:u,context:d,treeContext:f,componentStack:p,thenableState:t,isFallback:h};return s.add(g),g}function pn(e,t,n,r,o,a,i,l,s,c,u,d,f,p){e.allPendingTasks++,null===a?e.pendingRootTasks++:a.pendingTasks++,n.pendingTasks++;var h={replay:n,node:r,childIndex:o,ping:function(){return un(e,h)},blockedBoundary:a,blockedSegment:null,blockedPreamble:null,hoistableState:i,abortSet:l,keyPath:s,formatContext:c,context:u,treeContext:d,componentStack:f,thenableState:t,isFallback:p};return l.add(h),h}function hn(e,t,n,r,o,a){return{status:0,parentFlushed:!1,id:-1,index:t,chunks:[],children:[],preambleChildren:[],parentFormatContext:r,boundary:n,lastPushedText:o,textEmbedded:a}}function gn(e){var t=e.node;"object"==typeof t&&null!==t&&t.$$typeof===r&&(e.componentStack={parent:e.componentStack,type:t.type})}function mn(e){var t={};return e&&Object.defineProperty(t,"componentStack",{configurable:!0,enumerable:!0,get:function(){try{var n="",r=e;do{n+=on(r.type),r=r.parent}while(r);var o=n}catch(a){o="\nError generating stack: "+a.message+"\n"+a.stack}return Object.defineProperty(t,"componentStack",{value:o}),o}}),t}function bn(e,t,n){if(null==(t=(e=e.onError)(t,n))||"string"==typeof t)return t}function vn(e,t){var n=e.onShellError,r=e.onFatalError;n(t),r(t),null!==e.destination?(e.status=14,e.destination.destroy(t)):(e.status=13,e.fatalError=t)}function yn(e,t,n,r,o,a){var i=t.thenableState;for(t.thenableState=null,xt={},kt=t,St=e,wt=n,Tt=zt=0,Rt=-1,It=0,Ot=i,e=r(o,a);Pt;)Pt=!1,Tt=zt=0,Rt=-1,It=0,Dt+=1,Ct=null,e=r(o,a);return Lt(),e}function xn(e,t,n,r,o,a,i){var l=!1;if(0!==a&&null!==e.formState){var s=t.blockedSegment;if(null!==s){l=!0,s=s.chunks;for(var c=0;c<a;c++)c===i?s.push("\x3c!--F!--\x3e"):s.push("\x3c!--F--\x3e")}}a=t.keyPath,t.keyPath=n,o?(n=t.treeContext,t.treeContext=dt(n,1,0),Tn(e,t,r,-1),t.treeContext=n):l?Tn(e,t,r,-1):wn(e,t,r,-1),t.keyPath=a}function kn(t,r,o,v,x,S){if("function"==typeof v)if(v.prototype&&v.prototype.isReactComponent){var _=x;if("ref"in x)for(var P in _={},x)"ref"!==P&&(_[P]=x[P]);var z=v.defaultProps;if(z)for(var T in _===x&&(_=C({},_,x)),z)void 0===_[T]&&(_[T]=z[T]);x=_,_=tt,"object"==typeof(z=v.contextType)&&null!==z&&(_=z._currentValue2);var I=void 0!==(_=new v(x,_)).state?_.state:null;if(_.updater=ct,_.props=x,_.state=I,z={queue:[],replace:!1},_._reactInternals=z,S=v.contextType,_.context="object"==typeof S&&null!==S?S._currentValue2:tt,"function"==typeof(S=v.getDerivedStateFromProps)&&(I=null==(S=S(x,I))?I:C({},I,S),_.state=I),"function"!=typeof v.getDerivedStateFromProps&&"function"!=typeof _.getSnapshotBeforeUpdate&&("function"==typeof _.UNSAFE_componentWillMount||"function"==typeof _.componentWillMount))if(v=_.state,"function"==typeof _.componentWillMount&&_.componentWillMount(),"function"==typeof _.UNSAFE_componentWillMount&&_.UNSAFE_componentWillMount(),v!==_.state&&ct.enqueueReplaceState(_,_.state,null),null!==z.queue&&0<z.queue.length)if(v=z.queue,S=z.replace,z.queue=null,z.replace=!1,S&&1===v.length)_.state=v[0];else{for(z=S?v[0]:_.state,I=!0,S=S?1:0;S<v.length;S++)null!=(T="function"==typeof(T=v[S])?T.call(_,z,x,void 0):T)&&(I?(I=!1,z=C({},z,T)):C(z,T));_.state=z}else z.queue=null;if(v=_.render(),12===t.status)throw null;x=r.keyPath,r.keyPath=o,wn(t,r,v,-1),r.keyPath=x}else{if(v=yn(t,r,o,v,x,void 0),12===t.status)throw null;xn(t,r,o,v,0!==zt,Tt,Rt)}else{if("string"!=typeof v){switch(v){case y:case i:case l:case a:return v=r.keyPath,r.keyPath=o,wn(t,r,x.children,-1),void(r.keyPath=v);case b:return void("hidden"!==x.mode&&(v=r.keyPath,r.keyPath=o,wn(t,r,x.children,-1),r.keyPath=v));case p:return v=r.keyPath,r.keyPath=o,wn(t,r,x.children,-1),void(r.keyPath=v);case k:case m:throw Error(n(343));case f:e:if(null!==r.replay){v=r.keyPath,r.keyPath=o,o=x.children;try{Tn(t,r,o,-1)}finally{r.keyPath=v}}else{v=r.keyPath;var O=r.blockedBoundary;S=r.blockedPreamble;var A=r.hoistableState;T=r.blockedSegment,P=x.fallback,x=x.children;var N=new Set,F=2>r.formatContext.insertionMode?dn(0,N,{htmlChunks:null,headChunks:null,bodyChunks:null,contribution:0},{htmlChunks:null,headChunks:null,bodyChunks:null,contribution:0}):dn(0,N,null,null);null!==t.trackedPostpones&&(F.trackedContentKeyPath=o);var j=hn(0,T.chunks.length,F,r.formatContext,!1,!1);T.children.push(j),T.lastPushedText=!1;var M=hn(0,0,null,r.formatContext,!1,!1);if(M.parentFlushed=!0,null!==t.trackedPostpones){z=[(_=[o[0],"Suspense Fallback",o[2]])[1],_[2],[],null],t.trackedPostpones.workingMap.set(_,z),F.trackedFallbackNode=z,r.blockedSegment=j,r.blockedPreamble=F.fallbackPreamble,r.keyPath=_,j.status=6;try{Tn(t,r,P,-1),Qe(j.chunks,t.renderState,j.lastPushedText,j.textEmbedded),j.status=1}catch(W){throw j.status=12===t.status?3:4,W}finally{r.blockedSegment=T,r.blockedPreamble=S,r.keyPath=v}gn(r=fn(t,null,x,-1,F,M,F.contentPreamble,F.contentState,r.abortSet,o,r.formatContext,r.context,r.treeContext,r.componentStack,r.isFallback)),t.pingedTasks.push(r)}else{r.blockedBoundary=F,r.blockedPreamble=F.contentPreamble,r.hoistableState=F.contentState,r.blockedSegment=M,r.keyPath=o,M.status=6;try{if(Tn(t,r,x,-1),Qe(M.chunks,t.renderState,M.lastPushedText,M.textEmbedded),M.status=1,Fn(F,M),0===F.pendingTasks&&0===F.status){F.status=1,0===t.pendingRootTasks&&r.blockedPreamble&&Bn(t);break e}}catch(B){F.status=4,12===t.status?(M.status=3,_=t.fatalError):(M.status=4,_=B),I=bn(t,_,z=mn(r.componentStack)),F.errorDigest=I,En(t,F)}finally{r.blockedBoundary=O,r.blockedPreamble=S,r.hoistableState=A,r.blockedSegment=T,r.keyPath=v}gn(r=fn(t,null,P,-1,O,j,F.fallbackPreamble,F.fallbackState,N,[o[0],"Suspense Fallback",o[2]],r.formatContext,r.context,r.treeContext,r.componentStack,!0)),t.pingedTasks.push(r)}}return}if("object"==typeof v&&null!==v)switch(v.$$typeof){case d:if("ref"in x)for(F in _={},x)"ref"!==F&&(_[F]=x[F]);else _=x;return void xn(t,r,o,v=yn(t,r,o,v.render,_,S),0!==zt,Tt,Rt);case h:return void kn(t,r,o,v.type,x,S);case s:case u:if(z=x.children,_=r.keyPath,x=x.value,I=v._currentValue2,v._currentValue2=x,nt=v={parent:S=nt,depth:null===S?0:S.depth+1,context:v,parentValue:I,value:x},r.context=v,r.keyPath=o,wn(t,r,z,-1),null===(t=nt))throw Error(n(403));return t.context._currentValue2=t.parentValue,t=nt=t.parent,r.context=t,void(r.keyPath=_);case c:return v=(x=x.children)(v._context._currentValue2),x=r.keyPath,r.keyPath=o,wn(t,r,v,-1),void(r.keyPath=x);case g:if(v=(_=v._init)(v._payload),12===t.status)throw null;return void kn(t,r,o,v,x,S)}throw Error(n(130,null==v?v:typeof v,""))}if(null===(_=r.blockedSegment))_=x.children,z=r.formatContext,I=r.keyPath,r.formatContext=X(z,v,x),r.keyPath=o,Tn(t,r,_,-1),r.formatContext=z,r.keyPath=I;else{S=function(t,r,o,a,i,l,s,c,u,d){switch(r){case"div":case"span":case"svg":case"path":case"g":case"p":case"li":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":break;case"a":t.push(ve("a"));var f,p=null,h=null;for(f in o)if(E.call(o,f)){var g=o[f];if(null!=g)switch(f){case"children":p=g;break;case"dangerouslySetInnerHTML":h=g;break;case"href":""===g?Z(t,"href",""):ae(t,f,g);break;default:ae(t,f,g)}}if(t.push(">"),ie(t,h,p),"string"==typeof p){t.push(D(p));var m=null}else m=p;return m;case"select":t.push(ve("select"));var b,v=null,y=null;for(b in o)if(E.call(o,b)){var x=o[b];if(null!=x)switch(b){case"children":v=x;break;case"dangerouslySetInnerHTML":y=x;break;case"defaultValue":case"value":break;default:ae(t,b,x)}}return t.push(">"),ie(t,y,v),v;case"option":var k=c.selectedValue;t.push(ve("option"));var S,_=null,P=null,z=null,T=null;for(S in o)if(E.call(o,S)){var I=o[S];if(null!=I)switch(S){case"children":_=I;break;case"selected":z=I;break;case"dangerouslySetInnerHTML":T=I;break;case"value":P=I;default:ae(t,S,I)}}if(null!=k){var O=null!==P?""+P:function(t){var n="";return e.Children.forEach(t,function(e){null!=e&&(n+=e)}),n}(_);if(w(k)){for(var A=0;A<k.length;A++)if(""+k[A]===O){t.push(' selected=""');break}}else""+k===O&&t.push(' selected=""')}else z&&t.push(' selected=""');return t.push(">"),ie(t,T,_),_;case"textarea":t.push(ve("textarea"));var N,F=null,j=null,M=null;for(N in o)if(E.call(o,N)){var W=o[N];if(null!=W)switch(N){case"children":M=W;break;case"value":F=W;break;case"defaultValue":j=W;break;case"dangerouslySetInnerHTML":throw Error(n(91));default:ae(t,N,W)}}if(null===F&&null!==j&&(F=j),t.push(">"),null!=M){if(null!=F)throw Error(n(92));if(w(M)){if(1<M.length)throw Error(n(93));F=""+M[0]}F=""+M}return"string"==typeof F&&"\n"===F[0]&&t.push("\n"),null!==F&&t.push(D(""+F)),null;case"input":t.push(ve("input"));var B,$=null,V=null,U=null,q=null,G=null,Y=null,X=null,K=null,ne=null;for(B in o)if(E.call(o,B)){var me=o[B];if(null!=me)switch(B){case"children":case"dangerouslySetInnerHTML":throw Error(n(399,"input"));case"name":$=me;break;case"formAction":V=me;break;case"formEncType":U=me;break;case"formMethod":q=me;break;case"formTarget":G=me;break;case"defaultChecked":ne=me;break;case"defaultValue":X=me;break;case"checked":K=me;break;case"value":Y=me;break;default:ae(t,B,me)}}var be=oe(t,a,i,V,U,q,G,$);return null!==K?J(t,"checked",K):null!==ne&&J(t,"checked",ne),null!==Y?ae(t,"value",Y):null!==X&&ae(t,"value",X),t.push("/>"),null!=be&&be.forEach(te,t),null;case"button":t.push(ve("button"));var ye,ke=null,Se=null,we=null,_e=null,Ce=null,Ee=null,Pe=null;for(ye in o)if(E.call(o,ye)){var ze=o[ye];if(null!=ze)switch(ye){case"children":ke=ze;break;case"dangerouslySetInnerHTML":Se=ze;break;case"name":we=ze;break;case"formAction":_e=ze;break;case"formEncType":Ce=ze;break;case"formMethod":Ee=ze;break;case"formTarget":Pe=ze;break;default:ae(t,ye,ze)}}var Te=oe(t,a,i,_e,Ce,Ee,Pe,we);if(t.push(">"),null!=Te&&Te.forEach(te,t),ie(t,Se,ke),"string"==typeof ke){t.push(D(ke));var Re=null}else Re=ke;return Re;case"form":t.push(ve("form"));var Ie,Oe=null,Ae=null,De=null,Ne=null,Fe=null,je=null;for(Ie in o)if(E.call(o,Ie)){var Me=o[Ie];if(null!=Me)switch(Ie){case"children":Oe=Me;break;case"dangerouslySetInnerHTML":Ae=Me;break;case"action":De=Me;break;case"encType":Ne=Me;break;case"method":Fe=Me;break;case"target":je=Me;break;default:ae(t,Ie,Me)}}var Le=null,We=null;if("function"==typeof De){var Be=re(a,De);null!==Be?(De=Be.action||"",Ne=Be.encType,Fe=Be.method,je=Be.target,Le=Be.data,We=Be.name):(t.push(" ","action",'="',ee,'"'),je=Fe=Ne=De=null,le(a,i))}if(null!=De&&ae(t,"action",De),null!=Ne&&ae(t,"encType",Ne),null!=Fe&&ae(t,"method",Fe),null!=je&&ae(t,"target",je),t.push(">"),null!==We&&(t.push('<input type="hidden"'),Z(t,"name",We),t.push("/>"),null!=Le&&Le.forEach(te,t)),ie(t,Ae,Oe),"string"==typeof Oe){t.push(D(Oe));var He=null}else He=Oe;return He;case"menuitem":for(var Ue in t.push(ve("menuitem")),o)if(E.call(o,Ue)){var qe=o[Ue];if(null!=qe)switch(Ue){case"children":case"dangerouslySetInnerHTML":throw Error(n(400));default:ae(t,Ue,qe)}}return t.push(">"),null;case"object":t.push(ve("object"));var Ge,Ye=null,Xe=null;for(Ge in o)if(E.call(o,Ge)){var Ke=o[Ge];if(null!=Ke)switch(Ge){case"children":Ye=Ke;break;case"dangerouslySetInnerHTML":Xe=Ke;break;case"data":var Qe=L(""+Ke);if(""===Qe)break;t.push(" ","data",'="',D(Qe),'"');break;default:ae(t,Ge,Ke)}}if(t.push(">"),ie(t,Xe,Ye),"string"==typeof Ye){t.push(D(Ye));var Je=null}else Je=Ye;return Je;case"title":if(4===c.insertionMode||1&c.tagScope||null!=o.itemProp)var Ze=fe(t,o);else d?Ze=null:(fe(i.hoistableChunks,o),Ze=void 0);return Ze;case"link":var et=o.rel,tt=o.href,nt=o.precedence;if(4===c.insertionMode||1&c.tagScope||null!=o.itemProp||"string"!=typeof et||"string"!=typeof tt||""===tt){se(t,o);var rt=null}else if("stylesheet"===o.rel)if("string"!=typeof nt||null!=o.disabled||o.onLoad||o.onError)rt=se(t,o);else{var ot=i.styles.get(nt),at=a.styleResources.hasOwnProperty(tt)?a.styleResources[tt]:void 0;if(null!==at){a.styleResources[tt]=null,ot||(ot={precedence:D(nt),rules:[],hrefs:[],sheets:new Map},i.styles.set(nt,ot));var it={state:0,props:C({},o,{"data-precedence":o.precedence,precedence:null})};if(at){2===at.length&&$e(it.props,at);var lt=i.preloads.stylesheets.get(tt);lt&&0<lt.length?lt.length=0:it.state=1}ot.sheets.set(tt,it),s&&s.stylesheets.add(it)}else if(ot){var st=ot.sheets.get(tt);st&&s&&s.stylesheets.add(st)}u&&t.push("\x3c!-- --\x3e"),rt=null}else o.onLoad||o.onError?rt=se(t,o):(u&&t.push("\x3c!-- --\x3e"),rt=d?null:se(i.hoistableChunks,o));return rt;case"script":var ct=o.async;if("string"!=typeof o.src||!o.src||!ct||"function"==typeof ct||"symbol"==typeof ct||o.onLoad||o.onError||4===c.insertionMode||1&c.tagScope||null!=o.itemProp)var ut=pe(t,o);else{var dt=o.src;if("module"===o.type)var ft=a.moduleScriptResources,pt=i.preloads.moduleScripts;else ft=a.scriptResources,pt=i.preloads.scripts;var ht=ft.hasOwnProperty(dt)?ft[dt]:void 0;if(null!==ht){ft[dt]=null;var gt=o;if(ht){2===ht.length&&$e(gt=C({},o),ht);var mt=pt.get(dt);mt&&(mt.length=0)}var bt=[];i.scripts.add(bt),pe(bt,gt)}u&&t.push("\x3c!-- --\x3e"),ut=null}return ut;case"style":var vt=o.precedence,yt=o.href;if(4===c.insertionMode||1&c.tagScope||null!=o.itemProp||"string"!=typeof vt||"string"!=typeof yt||""===yt){t.push(ve("style"));var xt,kt=null,St=null;for(xt in o)if(E.call(o,xt)){var wt=o[xt];if(null!=wt)switch(xt){case"children":kt=wt;break;case"dangerouslySetInnerHTML":St=wt;break;default:ae(t,xt,wt)}}t.push(">");var _t=Array.isArray(kt)?2>kt.length?kt[0]:null:kt;"function"!=typeof _t&&"symbol"!=typeof _t&&null!=_t&&t.push((""+_t).replace(ce,ue)),ie(t,St,kt),t.push(xe("style"));var Ct=null}else{var Et=i.styles.get(vt);if(null!==(a.styleResources.hasOwnProperty(yt)?a.styleResources[yt]:void 0)){a.styleResources[yt]=null,Et?Et.hrefs.push(D(yt)):(Et={precedence:D(vt),rules:[],hrefs:[D(yt)],sheets:new Map},i.styles.set(vt,Et));var Pt,zt=Et.rules,Tt=null,Rt=null;for(Pt in o)if(E.call(o,Pt)){var It=o[Pt];if(null!=It)switch(Pt){case"children":Tt=It;break;case"dangerouslySetInnerHTML":Rt=It}}var Ot=Array.isArray(Tt)?2>Tt.length?Tt[0]:null:Tt;"function"!=typeof Ot&&"symbol"!=typeof Ot&&null!=Ot&&zt.push((""+Ot).replace(ce,ue)),ie(zt,Rt,Tt)}Et&&s&&s.styles.add(Et),u&&t.push("\x3c!-- --\x3e"),Ct=void 0}return Ct;case"meta":if(4===c.insertionMode||1&c.tagScope||null!=o.itemProp)var At=de(t,o,"meta");else u&&t.push("\x3c!-- --\x3e"),At=d?null:"string"==typeof o.charSet?de(i.charsetChunks,o,"meta"):"viewport"===o.name?de(i.viewportChunks,o,"meta"):de(i.hoistableChunks,o,"meta");return At;case"listing":case"pre":t.push(ve(r));var Dt,Nt=null,Ft=null;for(Dt in o)if(E.call(o,Dt)){var jt=o[Dt];if(null!=jt)switch(Dt){case"children":Nt=jt;break;case"dangerouslySetInnerHTML":Ft=jt;break;default:ae(t,Dt,jt)}}if(t.push(">"),null!=Ft){if(null!=Nt)throw Error(n(60));if("object"!=typeof Ft||!("__html"in Ft))throw Error(n(61));var Mt=Ft.__html;null!=Mt&&("string"==typeof Mt&&0<Mt.length&&"\n"===Mt[0]?t.push("\n",Mt):t.push(""+Mt))}return"string"==typeof Nt&&"\n"===Nt[0]&&t.push("\n"),Nt;case"img":var Lt=o.src,Wt=o.srcSet;if(!("lazy"===o.loading||!Lt&&!Wt||"string"!=typeof Lt&&null!=Lt||"string"!=typeof Wt&&null!=Wt)&&"low"!==o.fetchPriority&&0==!!(3&c.tagScope)&&("string"!=typeof Lt||":"!==Lt[4]||"d"!==Lt[0]&&"D"!==Lt[0]||"a"!==Lt[1]&&"A"!==Lt[1]||"t"!==Lt[2]&&"T"!==Lt[2]||"a"!==Lt[3]&&"A"!==Lt[3])&&("string"!=typeof Wt||":"!==Wt[4]||"d"!==Wt[0]&&"D"!==Wt[0]||"a"!==Wt[1]&&"A"!==Wt[1]||"t"!==Wt[2]&&"T"!==Wt[2]||"a"!==Wt[3]&&"A"!==Wt[3])){var Bt="string"==typeof o.sizes?o.sizes:void 0,$t=Wt?Wt+"\n"+(Bt||""):Lt,Vt=i.preloads.images,Ht=Vt.get($t);if(Ht)("high"===o.fetchPriority||10>i.highImagePreloads.size)&&(Vt.delete($t),i.highImagePreloads.add(Ht));else if(!a.imageResources.hasOwnProperty($t)){a.imageResources[$t]=H;var Ut,qt=o.crossOrigin,Gt="string"==typeof qt?"use-credentials"===qt?qt:"":void 0,Yt=i.headers;Yt&&0<Yt.remainingCapacity&&"string"!=typeof o.srcSet&&("high"===o.fetchPriority||500>Yt.highImagePreloads.length)&&(Ut=Ve(Lt,"image",{imageSrcSet:o.srcSet,imageSizes:o.sizes,crossOrigin:Gt,integrity:o.integrity,nonce:o.nonce,type:o.type,fetchPriority:o.fetchPriority,referrerPolicy:o.refererPolicy}),0<=(Yt.remainingCapacity-=Ut.length+2))?(i.resets.image[$t]=H,Yt.highImagePreloads&&(Yt.highImagePreloads+=", "),Yt.highImagePreloads+=Ut):(se(Ht=[],{rel:"preload",as:"image",href:Wt?void 0:Lt,imageSrcSet:Wt,imageSizes:Bt,crossOrigin:Gt,integrity:o.integrity,type:o.type,fetchPriority:o.fetchPriority,referrerPolicy:o.referrerPolicy}),"high"===o.fetchPriority||10>i.highImagePreloads.size?i.highImagePreloads.add(Ht):(i.bulkPreloads.add(Ht),Vt.set($t,Ht)))}}return de(t,o,"img");case"base":case"area":case"br":case"col":case"embed":case"hr":case"keygen":case"param":case"source":case"track":case"wbr":return de(t,o,r);case"head":if(2>c.insertionMode){var Xt=l||i.preamble;if(Xt.headChunks)throw Error(n(545,"`<head>`"));Xt.headChunks=[];var Kt=he(Xt.headChunks,o,"head")}else Kt=ge(t,o,"head");return Kt;case"body":if(2>c.insertionMode){var Qt=l||i.preamble;if(Qt.bodyChunks)throw Error(n(545,"`<body>`"));Qt.bodyChunks=[];var Jt=he(Qt.bodyChunks,o,"body")}else Jt=ge(t,o,"body");return Jt;case"html":if(0===c.insertionMode){var Zt=l||i.preamble;if(Zt.htmlChunks)throw Error(n(545,"`<html>`"));Zt.htmlChunks=[""];var en=he(Zt.htmlChunks,o,"html")}else en=ge(t,o,"html");return en;default:if(-1!==r.indexOf("-")){t.push(ve(r));var tn,nn=null,rn=null;for(tn in o)if(E.call(o,tn)){var on=o[tn];if(null!=on){var an=tn;switch(tn){case"children":nn=on;break;case"dangerouslySetInnerHTML":rn=on;break;case"style":Q(t,on);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"className":an="class";default:if(R(tn)&&"function"!=typeof on&&"symbol"!=typeof on&&!1!==on){if(!0===on)on="";else if("object"==typeof on)continue;t.push(" ",an,'="',D(on),'"')}}}}return t.push(">"),ie(t,rn,nn),nn}}return ge(t,o,r)}(_.chunks,v,x,t.resumableState,t.renderState,r.blockedPreamble,r.hoistableState,r.formatContext,_.lastPushedText,r.isFallback),_.lastPushedText=!1,z=r.formatContext,I=r.keyPath,r.keyPath=o,3===(r.formatContext=X(z,v,x)).insertionMode?(o=hn(0,0,null,r.formatContext,!1,!1),_.preambleChildren.push(o),gn(o=fn(t,null,S,-1,r.blockedBoundary,o,r.blockedPreamble,r.hoistableState,t.abortableTasks,r.keyPath,r.formatContext,r.context,r.treeContext,r.componentStack,r.isFallback)),t.pingedTasks.push(o)):Tn(t,r,S,-1),r.formatContext=z,r.keyPath=I;e:{switch(r=_.chunks,t=t.resumableState,v){case"title":case"style":case"script":case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break e;case"body":if(1>=z.insertionMode){t.hasBody=!0;break e}break;case"html":if(0===z.insertionMode){t.hasHtml=!0;break e}break;case"head":if(1>=z.insertionMode)break e}r.push(xe(v))}_.lastPushedText=!1}}}function Sn(e,t,n,r,o){var a=t.replay,i=t.blockedBoundary,l=hn(0,0,null,t.formatContext,!1,!1);l.id=n,l.parentFlushed=!0;try{t.replay=null,t.blockedSegment=l,Tn(e,t,r,o),l.status=1,null===i?e.completedRootSegment=l:(Fn(i,l),i.parentFlushed&&e.partialBoundaries.push(i))}finally{t.replay=a,t.blockedSegment=null}}function wn(e,t,n,r){null!==t.replay&&"number"==typeof t.replay.slots?Sn(e,t,t.replay.slots,n,r):(t.node=n,t.childIndex=r,n=t.componentStack,gn(t),_n(e,t),t.componentStack=n)}function _n(e,t){var a=t.node,i=t.childIndex;if(null!==a){if("object"==typeof a){switch(a.$$typeof){case r:var l=a.type,s=a.key,c=a.props,d=void 0!==(a=c.ref)?a:null,p=et(l),h=null==s?-1===i?0:i:s;if(s=[t.keyPath,p,h],null!==t.replay)e:{var m=t.replay;for(i=m.nodes,a=0;a<i.length;a++){var b=i[a];if(h===b[1]){if(4===b.length){if(null!==p&&p!==b[0])throw Error(n(490,b[0],p));var v=b[2];p=b[3],h=t.node,t.replay={nodes:v,slots:p,pendingTasks:1};try{if(kn(e,t,s,l,c,d),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(n(488));t.replay.pendingTasks--}catch(z){if("object"==typeof z&&null!==z&&(z===gt||"function"==typeof z.then))throw t.node===h&&(t.replay=m),z;t.replay.pendingTasks--,c=mn(t.componentStack),In(e,s=t.blockedBoundary,v,p,l=z,c=bn(e,l,c))}t.replay=m}else{if(l!==f)throw Error(n(490,"Suspense",et(l)||"Unknown"));t:{m=void 0,l=b[5],d=b[2],p=b[3],h=null===b[4]?[]:b[4][2],b=null===b[4]?null:b[4][3];var y=t.keyPath,x=t.replay,k=t.blockedBoundary,_=t.hoistableState,C=c.children,E=c.fallback,P=new Set;(c=2>t.formatContext.insertionMode?dn(0,P,G(),G()):dn(0,P,null,null)).parentFlushed=!0,c.rootSegmentID=l,t.blockedBoundary=c,t.hoistableState=c.contentState,t.keyPath=s,t.replay={nodes:d,slots:p,pendingTasks:1};try{if(Tn(e,t,C,-1),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(n(488));if(t.replay.pendingTasks--,0===c.pendingTasks&&0===c.status){c.status=1,e.completedBoundaries.push(c);break t}}catch(fx){c.status=4,m=bn(e,fx,v=mn(t.componentStack)),c.errorDigest=m,t.replay.pendingTasks--,e.clientRenderedBoundaries.push(c)}finally{t.blockedBoundary=k,t.hoistableState=_,t.replay=x,t.keyPath=y}gn(t=pn(e,null,{nodes:h,slots:b,pendingTasks:0},E,-1,k,c.fallbackState,P,[s[0],"Suspense Fallback",s[2]],t.formatContext,t.context,t.treeContext,t.componentStack,!0)),e.pingedTasks.push(t)}}i.splice(a,1);break e}}}else kn(e,t,s,l,c,d);return;case o:throw Error(n(257));case g:if(a=(v=a._init)(a._payload),12===e.status)throw null;return void wn(e,t,a,i)}if(w(a))return void Cn(e,t,a,i);if((v=null===a||"object"!=typeof a?null:"function"==typeof(v=S&&a[S]||a["@@iterator"])?v:null)&&(v=v.call(a))){if(!(a=v.next()).done){c=[];do{c.push(a.value),a=v.next()}while(!a.done);Cn(e,t,c,i)}return}if("function"==typeof a.then)return t.thenableState=null,wn(e,t,Gt(a),i);if(a.$$typeof===u)return wn(e,t,a._currentValue2,i);throw i=Object.prototype.toString.call(a),Error(n(31,"[object Object]"===i?"object with keys {"+Object.keys(a).join(", ")+"}":i))}"string"==typeof a?null!==(i=t.blockedSegment)&&(i.lastPushedText=Ke(i.chunks,a,e.renderState,i.lastPushedText)):"number"!=typeof a&&"bigint"!=typeof a||null!==(i=t.blockedSegment)&&(i.lastPushedText=Ke(i.chunks,""+a,e.renderState,i.lastPushedText))}}function Cn(e,t,r,o){var a=t.keyPath;if(-1===o||(t.keyPath=[t.keyPath,"Fragment",o],null===t.replay)){if(i=t.treeContext,l=r.length,null!==t.replay&&null!==(s=t.replay.slots)&&"object"==typeof s){for(o=0;o<l;o++)c=r[o],t.treeContext=dt(i,l,o),"number"==typeof(u=s[o])?(Sn(e,t,u,c,o),delete s[o]):Tn(e,t,c,o);return t.treeContext=i,void(t.keyPath=a)}for(s=0;s<l;s++)o=r[s],t.treeContext=dt(i,l,s),Tn(e,t,o,s);t.treeContext=i,t.keyPath=a}else{for(var i=t.replay,l=i.nodes,s=0;s<l.length;s++){var c=l[s];if(c[1]===o){o=c[2],c=c[3],t.replay={nodes:o,slots:c,pendingTasks:1};try{if(Cn(e,t,r,-1),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(n(488));t.replay.pendingTasks--}catch(d){if("object"==typeof d&&null!==d&&(d===gt||"function"==typeof d.then))throw d;t.replay.pendingTasks--,r=mn(t.componentStack);var u=t.blockedBoundary;In(e,u,o,c,d,r=bn(e,d,r))}t.replay=i,l.splice(s,1);break}}t.keyPath=a}}function En(e,t){null!==(e=e.trackedPostpones)&&null!==(t=t.trackedContentKeyPath)&&void 0!==(t=e.workingMap.get(t))&&(t.length=4,t[2]=[],t[3]=null)}function Pn(e,t,n){return pn(e,n,t.replay,t.node,t.childIndex,t.blockedBoundary,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.componentStack,t.isFallback)}function zn(e,t,n){var r=t.blockedSegment,o=hn(0,r.chunks.length,null,t.formatContext,r.lastPushedText,!0);return r.children.push(o),r.lastPushedText=!1,fn(e,n,t.node,t.childIndex,t.blockedBoundary,o,t.blockedPreamble,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.componentStack,t.isFallback)}function Tn(e,t,n,r){var o=t.formatContext,a=t.context,i=t.keyPath,l=t.treeContext,s=t.componentStack,c=t.blockedSegment;if(null===c)try{return wn(e,t,n,r)}catch(f){if(Lt(),"object"==typeof(n=f===gt?vt():f)&&null!==n){if("function"==typeof n.then)return e=Pn(e,t,r=Mt()).ping,n.then(e,e),t.formatContext=o,t.context=a,t.keyPath=i,t.treeContext=l,t.componentStack=s,void st(a);if("Maximum call stack size exceeded"===n.message)return n=Pn(e,t,n=Mt()),e.pingedTasks.push(n),t.formatContext=o,t.context=a,t.keyPath=i,t.treeContext=l,t.componentStack=s,void st(a)}}else{var u=c.children.length,d=c.chunks.length;try{return wn(e,t,n,r)}catch(p){if(Lt(),c.children.length=u,c.chunks.length=d,"object"==typeof(n=p===gt?vt():p)&&null!==n){if("function"==typeof n.then)return e=zn(e,t,r=Mt()).ping,n.then(e,e),t.formatContext=o,t.context=a,t.keyPath=i,t.treeContext=l,t.componentStack=s,void st(a);if("Maximum call stack size exceeded"===n.message)return n=zn(e,t,n=Mt()),e.pingedTasks.push(n),t.formatContext=o,t.context=a,t.keyPath=i,t.treeContext=l,t.componentStack=s,void st(a)}}}throw t.formatContext=o,t.context=a,t.keyPath=i,t.treeContext=l,st(a),n}function Rn(e){var t=e.blockedBoundary;null!==(e=e.blockedSegment)&&(e.status=3,jn(this,t,e))}function In(e,t,r,o,a,i){for(var l=0;l<r.length;l++){var s=r[l];if(4===s.length)In(e,t,s[2],s[3],a,i);else{s=s[5];var c=e,u=i,d=dn(0,new Set,null,null);d.parentFlushed=!0,d.rootSegmentID=s,d.status=4,d.errorDigest=u,d.parentFlushed&&c.clientRenderedBoundaries.push(d)}}if(r.length=0,null!==o){if(null===t)throw Error(n(487));if(4!==t.status&&(t.status=4,t.errorDigest=i,t.parentFlushed&&e.clientRenderedBoundaries.push(t)),"object"==typeof o)for(var f in o)delete o[f]}}function On(e,t,n){var r=e.blockedBoundary,o=e.blockedSegment;if(null!==o){if(6===o.status)return;o.status=3}if(o=mn(e.componentStack),null===r){if(13!==t.status&&14!==t.status){if(null===(r=e.replay))return bn(t,n,o),void vn(t,n);r.pendingTasks--,0===r.pendingTasks&&0<r.nodes.length&&(e=bn(t,n,o),In(t,null,r.nodes,r.slots,n,e)),t.pendingRootTasks--,0===t.pendingRootTasks&&Dn(t)}}else r.pendingTasks--,4!==r.status&&(r.status=4,e=bn(t,n,o),r.status=4,r.errorDigest=e,En(t,r),r.parentFlushed&&t.clientRenderedBoundaries.push(r)),r.fallbackAbortableTasks.forEach(function(e){return On(e,t,n)}),r.fallbackAbortableTasks.clear();t.allPendingTasks--,0===t.allPendingTasks&&Nn(t)}function An(e,t){try{var n=e.renderState,r=n.onHeaders;if(r){var o=n.headers;if(o){n.headers=null;var a=o.preconnects;if(o.fontPreloads&&(a&&(a+=", "),a+=o.fontPreloads),o.highImagePreloads&&(a&&(a+=", "),a+=o.highImagePreloads),!t){var i=n.styles.values(),l=i.next();e:for(;0<o.remainingCapacity&&!l.done;l=i.next())for(var s=l.value.sheets.values(),c=s.next();0<o.remainingCapacity&&!c.done;c=s.next()){var u=c.value,d=u.props,f=d.href,p=u.props,h=Ve(p.href,"style",{crossOrigin:p.crossOrigin,integrity:p.integrity,nonce:p.nonce,type:p.type,fetchPriority:p.fetchPriority,referrerPolicy:p.referrerPolicy,media:p.media});if(!(0<=(o.remainingCapacity-=h.length+2)))break e;n.resets.style[f]=H,a&&(a+=", "),a+=h,n.resets.style[f]="string"==typeof d.crossOrigin||"string"==typeof d.integrity?[d.crossOrigin,d.integrity]:H}}r(a?{Link:a}:{})}}}catch(fx){bn(e,fx,{})}}function Dn(e){null===e.trackedPostpones&&An(e,!0),null===e.trackedPostpones&&Bn(e),e.onShellError=ln,(e=e.onShellReady)()}function Nn(e){An(e,null===e.trackedPostpones||null===e.completedRootSegment||5!==e.completedRootSegment.status),Bn(e),(e=e.onAllReady)()}function Fn(e,t){if(0===t.chunks.length&&1===t.children.length&&null===t.children[0].boundary&&-1===t.children[0].id){var n=t.children[0];n.id=t.id,n.parentFlushed=!0,1===n.status&&Fn(e,n)}else e.completedSegments.push(t)}function jn(e,t,r){if(null===t){if(null!==r&&r.parentFlushed){if(null!==e.completedRootSegment)throw Error(n(389));e.completedRootSegment=r}e.pendingRootTasks--,0===e.pendingRootTasks&&Dn(e)}else t.pendingTasks--,4!==t.status&&(0===t.pendingTasks?(0===t.status&&(t.status=1),null!==r&&r.parentFlushed&&1===r.status&&Fn(t,r),t.parentFlushed&&e.completedBoundaries.push(t),1===t.status&&(t.fallbackAbortableTasks.forEach(Rn,e),t.fallbackAbortableTasks.clear(),0===e.pendingRootTasks&&null===e.trackedPostpones&&null!==t.contentPreamble&&Bn(e))):null!==r&&r.parentFlushed&&1===r.status&&(Fn(t,r),1===t.completedSegments.length&&t.parentFlushed&&e.partialBoundaries.push(t)));e.allPendingTasks--,0===e.allPendingTasks&&Nn(e)}function Mn(e){if(14!==e.status&&13!==e.status){var t=nt,r=W.H;W.H=Jt;var o=W.A;W.A=en;var a=cn;cn=e;var i=Zt;Zt=e.resumableState;try{var l,s=e.pingedTasks;for(l=0;l<s.length;l++){var c=s[l],u=e,d=c.blockedSegment;if(null===d){var f=u;if(0!==c.replay.pendingTasks){st(c.context);try{if("number"==typeof c.replay.slots?Sn(f,c,c.replay.slots,c.node,c.childIndex):_n(f,c),1===c.replay.pendingTasks&&0<c.replay.nodes.length)throw Error(n(488));c.replay.pendingTasks--,c.abortSet.delete(c),jn(f,c.blockedBoundary,null)}catch(C){Lt();var p=C===gt?vt():C;if("object"==typeof p&&null!==p&&"function"==typeof p.then){var h=c.ping;p.then(h,h),c.thenableState=Mt()}else{c.replay.pendingTasks--,c.abortSet.delete(c);var g=mn(c.componentStack);u=void 0;var m=f,b=c.blockedBoundary,v=12===f.status?f.fatalError:p;In(m,b,c.replay.nodes,c.replay.slots,v,u=bn(m,v,g)),f.pendingRootTasks--,0===f.pendingRootTasks&&Dn(f),f.allPendingTasks--,0===f.allPendingTasks&&Nn(f)}}}}else if(f=void 0,0===(m=d).status){m.status=6,st(c.context);var y=m.children.length,x=m.chunks.length;try{_n(u,c),Qe(m.chunks,u.renderState,m.lastPushedText,m.textEmbedded),c.abortSet.delete(c),m.status=1,jn(u,c.blockedBoundary,m)}catch(C){Lt(),m.children.length=y,m.chunks.length=x;var k=C===gt?vt():12===u.status?u.fatalError:C;if("object"==typeof k&&null!==k&&"function"==typeof k.then){m.status=0,c.thenableState=Mt();var S=c.ping;k.then(S,S)}else{var w=mn(c.componentStack);c.abortSet.delete(c),m.status=4;var _=c.blockedBoundary;f=bn(u,k,w),null===_?vn(u,k):(_.pendingTasks--,4!==_.status&&(_.status=4,_.errorDigest=f,En(u,_),_.parentFlushed&&u.clientRenderedBoundaries.push(_),0===u.pendingRootTasks&&null===u.trackedPostpones&&null!==_.contentPreamble&&Bn(u))),u.allPendingTasks--,0===u.allPendingTasks&&Nn(u)}}}}s.splice(0,l),null!==e.destination&&Gn(e,e.destination)}catch(fx){bn(e,fx,{}),vn(e,fx)}finally{Zt=i,W.H=r,W.A=o,r===Jt&&st(t),cn=a}}}function Ln(e,t,n){t.preambleChildren.length&&n.push(t.preambleChildren);for(var r=!1,o=0;o<t.children.length;o++)r=Wn(e,t.children[o],n)||r;return r}function Wn(e,t,r){var o=t.boundary;if(null===o)return Ln(e,t,r);var a=o.contentPreamble,i=o.fallbackPreamble;if(null===a||null===i)return!1;switch(o.status){case 1:if(ke(e.renderState,a),!(t=o.completedSegments[0]))throw Error(n(391));return Ln(e,t,r);case 5:if(null!==e.trackedPostpones)return!0;case 4:if(1===t.status)return ke(e.renderState,i),Ln(e,t,r);default:return!0}}function Bn(e){if(e.completedRootSegment&&null===e.completedPreambleSegments){var t=[],n=Wn(e,e.completedRootSegment,t),r=e.renderState.preamble;(!1===n||r.headChunks&&r.bodyChunks)&&(e.completedPreambleSegments=t)}}function $n(e,t,r,o){switch(r.parentFlushed=!0,r.status){case 0:r.id=e.nextSegmentId++;case 5:return o=r.id,r.lastPushedText=!1,r.textEmbedded=!1,e=e.renderState,t.push('<template id="'),t.push(e.placeholderPrefix),e=o.toString(16),t.push(e),t.push('"></template>');case 1:r.status=2;var a=!0,i=r.chunks,l=0;r=r.children;for(var s=0;s<r.length;s++){for(a=r[s];l<a.index;l++)t.push(i[l]);a=Vn(e,t,a,o)}for(;l<i.length-1;l++)t.push(i[l]);return l<i.length&&(a=t.push(i[l])),a;default:throw Error(n(390))}}function Vn(e,t,r,o){var a=r.boundary;if(null===a)return $n(e,t,r,o);if(a.parentFlushed=!0,4===a.status){if(!e.renderState.generateStaticMarkup){var i=a.errorDigest;t.push("\x3c!--$!--\x3e"),t.push("<template"),i&&(t.push(' data-dgst="'),i=D(i),t.push(i),t.push('"')),t.push("></template>")}return $n(e,t,r,o),e.renderState.generateStaticMarkup?t=!0:((e=a.fallbackPreamble)&&_e(t,e),t=t.push("\x3c!--/$--\x3e")),t}if(1!==a.status)return 0===a.status&&(a.rootSegmentID=e.nextSegmentId++),0<a.completedSegments.length&&e.partialBoundaries.push(a),we(t,e.renderState,a.rootSegmentID),o&&((a=a.fallbackState).styles.forEach(Ye,o),a.stylesheets.forEach(Xe,o)),$n(e,t,r,o),t.push("\x3c!--/$--\x3e");if(a.byteSize>e.progressiveChunkSize)return a.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(a),we(t,e.renderState,a.rootSegmentID),$n(e,t,r,o),t.push("\x3c!--/$--\x3e");if(o&&((r=a.contentState).styles.forEach(Ye,o),r.stylesheets.forEach(Xe,o)),e.renderState.generateStaticMarkup||t.push("\x3c!--$--\x3e"),1!==(r=a.completedSegments).length)throw Error(n(391));return Vn(e,t,r[0],o),e.renderState.generateStaticMarkup?t=!0:((e=a.contentPreamble)&&_e(t,e),t=t.push("\x3c!--/$--\x3e")),t}function Hn(e,t,r,o){return function(e,t,r,o){switch(r.insertionMode){case 0:case 1:case 3:case 2:return e.push('<div hidden id="'),e.push(t.segmentPrefix),t=o.toString(16),e.push(t),e.push('">');case 4:return e.push('<svg aria-hidden="true" style="display:none" id="'),e.push(t.segmentPrefix),t=o.toString(16),e.push(t),e.push('">');case 5:return e.push('<math aria-hidden="true" style="display:none" id="'),e.push(t.segmentPrefix),t=o.toString(16),e.push(t),e.push('">');case 6:return e.push('<table hidden id="'),e.push(t.segmentPrefix),t=o.toString(16),e.push(t),e.push('">');case 7:return e.push('<table hidden><tbody id="'),e.push(t.segmentPrefix),t=o.toString(16),e.push(t),e.push('">');case 8:return e.push('<table hidden><tr id="'),e.push(t.segmentPrefix),t=o.toString(16),e.push(t),e.push('">');case 9:return e.push('<table hidden><colgroup id="'),e.push(t.segmentPrefix),t=o.toString(16),e.push(t),e.push('">');default:throw Error(n(397))}}(t,e.renderState,r.parentFormatContext,r.id),Vn(e,t,r,o),function(e,t){switch(t.insertionMode){case 0:case 1:case 3:case 2:return e.push("</div>");case 4:return e.push("</svg>");case 5:return e.push("</math>");case 6:return e.push("</table>");case 7:return e.push("</tbody></table>");case 8:return e.push("</tr></table>");case 9:return e.push("</colgroup></table>");default:throw Error(n(397))}}(t,r.parentFormatContext)}function Un(e,t,r){for(var o=r.completedSegments,a=0;a<o.length;a++)qn(e,t,r,o[a]);o.length=0,Ae(t,r.contentState,e.renderState),o=e.resumableState,e=e.renderState,a=r.rootSegmentID,r=r.contentState;var i=e.stylesToHoist;return e.stylesToHoist=!1,t.push(e.startInlineScript),i?2&o.instructions?8&o.instructions?t.push('$RR("'):(o.instructions|=8,t.push('$RM=new Map;\n$RR=function(t,u,y){function v(n){this._p=null;n()}for(var w=$RC,p=$RM,q=new Map,r=document,g,b,h=r.querySelectorAll("link[data-precedence],style[data-precedence]"),x=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?x.push(b):("LINK"===b.tagName&&p.set(b.getAttribute("href"),b),q.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var e=y[b++];if(!e){k=!1;b=0;continue}var c=!1,m=0;var d=e[m++];if(a=p.get(d)){var f=a._p;c=!0}else{a=r.createElement("link");a.href=\nd;a.rel="stylesheet";for(a.dataset.precedence=l=e[m++];f=e[m++];)a.setAttribute(f,e[m++]);f=a._p=new Promise(function(n,z){a.onload=v.bind(a,n);a.onerror=v.bind(a,z)});p.set(d,a)}d=a.getAttribute("media");!f||d&&!matchMedia(d).matches||h.push(f);if(c)continue}else{a=x[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=q.get(l)||g;c===g&&(g=a);q.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=r.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(w.bind(null,\nt,u,""),w.bind(null,t,u,"Resource failed to load"))};$RR("')):(o.instructions|=10,t.push('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RM=new Map;\n$RR=function(t,u,y){function v(n){this._p=null;n()}for(var w=$RC,p=$RM,q=new Map,r=document,g,b,h=r.querySelectorAll("link[data-precedence],style[data-precedence]"),x=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?x.push(b):("LINK"===b.tagName&&p.set(b.getAttribute("href"),b),q.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var e=y[b++];if(!e){k=!1;b=0;continue}var c=!1,m=0;var d=e[m++];if(a=p.get(d)){var f=a._p;c=!0}else{a=r.createElement("link");a.href=\nd;a.rel="stylesheet";for(a.dataset.precedence=l=e[m++];f=e[m++];)a.setAttribute(f,e[m++]);f=a._p=new Promise(function(n,z){a.onload=v.bind(a,n);a.onerror=v.bind(a,z)});p.set(d,a)}d=a.getAttribute("media");!f||d&&!matchMedia(d).matches||h.push(f);if(c)continue}else{a=x[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=q.get(l)||g;c===g&&(g=a);q.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=r.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(w.bind(null,\nt,u,""),w.bind(null,t,u,"Resource failed to load"))};$RR("')):2&o.instructions?t.push('$RC("'):(o.instructions|=2,t.push('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RC("')),o=a.toString(16),t.push(e.boundaryPrefix),t.push(o),t.push('","'),t.push(e.segmentPrefix),t.push(o),i?(t.push('",'),function(e,t){e.push("[");var r="[";t.stylesheets.forEach(function(t){if(2!==t.state)if(3===t.state)e.push(r),t=ze(""+t.props.href),e.push(t),e.push("]"),r=",[";else{e.push(r);var o=t.props["data-precedence"],a=t.props,i=L(""+t.props.href);for(var l in i=ze(i),e.push(i),o=""+o,e.push(","),o=ze(o),e.push(o),a)if(E.call(a,l)&&null!=(o=a[l]))switch(l){case"href":case"rel":case"precedence":case"data-precedence":break;case"children":case"dangerouslySetInnerHTML":throw Error(n(399,"link"));default:We(e,l,o)}e.push("]"),r=",[",t.state=3}}),e.push("]")}(t,r)):t.push('"'),r=t.push(")<\/script>"),Se(t,e)&&r}function qn(e,t,r,o){if(2===o.status)return!0;var a=r.contentState,i=o.id;if(-1===i){if(-1===(o.id=r.rootSegmentID))throw Error(n(392));return Hn(e,t,o,a)}return i===r.rootSegmentID?Hn(e,t,o,a):(Hn(e,t,o,a),r=e.resumableState,e=e.renderState,t.push(e.startInlineScript),1&r.instructions?t.push('$RS("'):(r.instructions|=1,t.push('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),t.push(e.segmentPrefix),i=i.toString(16),t.push(i),t.push('","'),t.push(e.placeholderPrefix),t.push(i),t=t.push('")<\/script>'))}function Gn(e,t){try{if(!(0<e.pendingRootTasks)){var n,r=e.completedRootSegment;if(null!==r){if(5===r.status)return;var o=e.completedPreambleSegments;if(null===o)return;var a,i=e.renderState,l=i.preamble,s=l.htmlChunks,c=l.headChunks;if(s){for(a=0;a<s.length;a++)t.push(s[a]);if(c)for(a=0;a<c.length;a++)t.push(c[a]);else{var u=ve("head");t.push(u),t.push(">")}}else if(c)for(a=0;a<c.length;a++)t.push(c[a]);var d=i.charsetChunks;for(a=0;a<d.length;a++)t.push(d[a]);d.length=0,i.preconnects.forEach(De,t),i.preconnects.clear();var f=i.viewportChunks;for(a=0;a<f.length;a++)t.push(f[a]);f.length=0,i.fontPreloads.forEach(De,t),i.fontPreloads.clear(),i.highImagePreloads.forEach(De,t),i.highImagePreloads.clear(),i.styles.forEach(je,t);var p=i.importMapChunks;for(a=0;a<p.length;a++)t.push(p[a]);p.length=0,i.bootstrapScripts.forEach(De,t),i.scripts.forEach(De,t),i.scripts.clear(),i.bulkPreloads.forEach(De,t),i.bulkPreloads.clear();var h=i.hoistableChunks;for(a=0;a<h.length;a++)t.push(h[a]);for(i=h.length=0;i<o.length;i++){var g=o[i];for(l=0;l<g.length;l++)Vn(e,t,g[l],null)}var m=e.renderState.preamble,b=m.headChunks;if(m.htmlChunks||b){var v=xe("head");t.push(v)}var y=m.bodyChunks;if(y)for(o=0;o<y.length;o++)t.push(y[o]);Vn(e,t,r,null),e.completedRootSegment=null,Se(t,e.renderState)}var x=e.renderState;r=0;var k=x.viewportChunks;for(r=0;r<k.length;r++)t.push(k[r]);k.length=0,x.preconnects.forEach(De,t),x.preconnects.clear(),x.fontPreloads.forEach(De,t),x.fontPreloads.clear(),x.highImagePreloads.forEach(De,t),x.highImagePreloads.clear(),x.styles.forEach(Le,t),x.scripts.forEach(De,t),x.scripts.clear(),x.bulkPreloads.forEach(De,t),x.bulkPreloads.clear();var S=x.hoistableChunks;for(r=0;r<S.length;r++)t.push(S[r]);S.length=0;var w=e.clientRenderedBoundaries;for(n=0;n<w.length;n++){var _=w[n];x=t;var C=e.resumableState,E=e.renderState,P=_.rootSegmentID,z=_.errorDigest;x.push(E.startInlineScript),4&C.instructions?x.push('$RX("'):(C.instructions|=4,x.push('$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("')),x.push(E.boundaryPrefix);var T=P.toString(16);if(x.push(T),x.push('"'),z){x.push(",");var R=Ee(z||"");x.push(R)}var I=x.push(")<\/script>");if(!I)return e.destination=null,n++,void w.splice(0,n)}w.splice(0,n);var O=e.completedBoundaries;for(n=0;n<O.length;n++)if(!Un(e,t,O[n]))return e.destination=null,n++,void O.splice(0,n);O.splice(0,n);var A=e.partialBoundaries;for(n=0;n<A.length;n++){var D=A[n];e:{w=e,_=t;var N=D.completedSegments;for(I=0;I<N.length;I++)if(!qn(w,_,D,N[I])){I++,N.splice(0,I);var F=!1;break e}N.splice(0,I),F=Ae(_,D.contentState,w.renderState)}if(!F)return e.destination=null,n++,void A.splice(0,n)}A.splice(0,n);var j=e.completedBoundaries;for(n=0;n<j.length;n++)if(!Un(e,t,j[n]))return e.destination=null,n++,void j.splice(0,n);j.splice(0,n)}}finally{0===e.allPendingTasks&&0===e.pingedTasks.length&&0===e.clientRenderedBoundaries.length&&0===e.completedBoundaries.length&&(e.flushScheduled=!1,(n=e.resumableState).hasBody&&(A=xe("body"),t.push(A)),n.hasHtml&&(n=xe("html"),t.push(n)),e.status=14,t.push(null),e.destination=null)}}function Yn(e){if(!1===e.flushScheduled&&0===e.pingedTasks.length&&null!==e.destination){e.flushScheduled=!0;var t=e.destination;t?Gn(e,t):e.flushScheduled=!1}}function Xn(e,t){11!==e.status&&10!==e.status||(e.status=12);try{var r=e.abortableTasks;if(0<r.size){var o=void 0===t?Error(n(432)):"object"==typeof t&&null!==t&&"function"==typeof t.then?Error(n(530)):t;e.fatalError=o,r.forEach(function(t){return On(t,e,o)}),r.clear()}null!==e.destination&&Gn(e,e.destination)}catch(a){bn(e,a,{}),vn(e,a)}}function Kn(){}function Qn(e,t,r,o){var a,i=!1,l=null,s="",c=!1;if(e=function(e,t,n,r,o,a){return(n=hn(t=new sn(t,n,r,1/0,a,void 0,function(){c=!0},void 0,void 0,void 0,void 0),0,null,r,!1,!1)).parentFlushed=!0,gn(e=fn(t,null,e,-1,null,n,null,null,t.abortableTasks,null,r,null,ut,null,!1)),t.pingedTasks.push(e),t}(e,t={idPrefix:void 0===(a=t?t.identifierPrefix:void 0)?"":a,nextFormID:0,streamingFormat:0,bootstrapScriptContent:undefined,bootstrapScripts:undefined,bootstrapModules:undefined,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}},function(e,t){var n=e.idPrefix,r=[],o=e.bootstrapScriptContent,a=e.bootstrapScripts,i=e.bootstrapModules;void 0!==o&&r.push("<script>",(""+o).replace(U,q),"<\/script>"),o=n+"P:";var l=n+"S:";n+="B:";var s=new Set,c=new Set,u=new Set,d=new Map,f=new Set,p=new Set,h=new Set,g={images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map};if(void 0!==a)for(var m=0;m<a.length;m++){var b,v=a[m],y=void 0,x=void 0,k={rel:"preload",as:"script",fetchPriority:"low",nonce:void 0};"string"==typeof v?k.href=b=v:(k.href=b=v.src,k.integrity=x="string"==typeof v.integrity?v.integrity:void 0,k.crossOrigin=y="string"==typeof v||null==v.crossOrigin?void 0:"use-credentials"===v.crossOrigin?"use-credentials":"");var S=b;(v=e).scriptResources[S]=null,v.moduleScriptResources[S]=null,se(v=[],k),f.add(v),r.push('<script src="',D(b)),"string"==typeof x&&r.push('" integrity="',D(x)),"string"==typeof y&&r.push('" crossorigin="',D(y)),r.push('" async=""><\/script>')}if(void 0!==i)for(a=0;a<i.length;a++)y=b=void 0,x={rel:"modulepreload",fetchPriority:"low",nonce:void 0},"string"==typeof(k=i[a])?x.href=m=k:(x.href=m=k.src,x.integrity=y="string"==typeof k.integrity?k.integrity:void 0,x.crossOrigin=b="string"==typeof k||null==k.crossOrigin?void 0:"use-credentials"===k.crossOrigin?"use-credentials":""),v=m,(k=e).scriptResources[v]=null,k.moduleScriptResources[v]=null,se(k=[],x),f.add(k),r.push('<script type="module" src="',D(m)),"string"==typeof y&&r.push('" integrity="',D(y)),"string"==typeof b&&r.push('" crossorigin="',D(b)),r.push('" async=""><\/script>');return{placeholderPrefix:o,segmentPrefix:l,boundaryPrefix:n,startInlineScript:"<script>",preamble:{htmlChunks:null,headChunks:null,bodyChunks:null,contribution:0},externalRuntimeScript:null,bootstrapChunks:r,importMapChunks:[],onHeaders:void 0,headers:null,resets:{font:{},dns:{},connect:{default:{},anonymous:{},credentials:{}},image:{},style:{}},charsetChunks:[],viewportChunks:[],hoistableChunks:[],preconnects:s,fontPreloads:c,highImagePreloads:u,styles:d,bootstrapScripts:f,scripts:p,bulkPreloads:h,preloads:g,stylesToHoist:!1,generateStaticMarkup:t}}(t,r),Y(0,null,0),0,Kn),e.flushScheduled=null!==e.destination,Mn(e),10===e.status&&(e.status=11),null===e.trackedPostpones&&An(e,0===e.pendingRootTasks),Xn(e,o),function(e,t){if(13===e.status)e.status=14,t.destroy(e.fatalError);else if(14!==e.status&&null===e.destination){e.destination=t;try{Gn(e,t)}catch(fx){bn(e,fx,{}),vn(e,fx)}}}(e,{push:function(e){return null!==e&&(s+=e),!0},destroy:function(e){i=!0,l=e}}),i&&l!==o)throw l;if(!c)throw Error(n(426));return s}return $y.renderToStaticMarkup=function(e,t){return Qn(e,t,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},$y.renderToString=function(e,t){return Qn(e,t,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},$y.version="19.1.1",$y}var Hy,Uy,qy={};function Gy(){if(Hy)return qy;Hy=1;var e=v(),t=j();function n(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=Symbol.for("react.transitional.element"),o=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),c=Symbol.for("react.consumer"),u=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),m=Symbol.for("react.scope"),b=Symbol.for("react.activity"),y=Symbol.for("react.legacy_hidden"),x=Symbol.for("react.memo_cache_sentinel"),k=Symbol.for("react.view_transition"),S=Symbol.iterator,w=Array.isArray;function _(e,t){var n=3&e.length,r=e.length-n,o=t;for(t=0;t<r;){var a=255&e.charCodeAt(t)|(255&e.charCodeAt(++t))<<8|(255&e.charCodeAt(++t))<<16|(255&e.charCodeAt(++t))<<24;++t,o=27492+(65535&(o=5*(65535&(o=(o^=a=461845907*(65535&(a=(a=3432918353*(65535&a)+((3432918353*(a>>>16)&65535)<<16)&4294967295)<<15|a>>>17))+((461845907*(a>>>16)&65535)<<16)&4294967295)<<13|o>>>19))+((5*(o>>>16)&65535)<<16)&4294967295))+(((o>>>16)+58964&65535)<<16)}switch(a=0,n){case 3:a^=(255&e.charCodeAt(t+2))<<16;case 2:a^=(255&e.charCodeAt(t+1))<<8;case 1:o^=461845907*(65535&(a=(a=3432918353*(65535&(a^=255&e.charCodeAt(t)))+((3432918353*(a>>>16)&65535)<<16)&4294967295)<<15|a>>>17))+((461845907*(a>>>16)&65535)<<16)&4294967295}return o^=e.length,o=2246822507*(65535&(o^=o>>>16))+((2246822507*(o>>>16)&65535)<<16)&4294967295,((o=3266489909*(65535&(o^=o>>>13))+((3266489909*(o>>>16)&65535)<<16)&4294967295)^o>>>16)>>>0}var C=new MessageChannel,E=[];function P(e){E.push(e),C.port2.postMessage(null)}function z(e){setTimeout(function(){throw e})}C.port1.onmessage=function(){var e=E.shift();e&&e()};var T=Promise,R="function"==typeof queueMicrotask?queueMicrotask:function(e){T.resolve(null).then(e).catch(z)},I=null,O=0;function A(e,t){if(0!==t.byteLength)if(2048<t.byteLength)0<O&&(e.enqueue(new Uint8Array(I.buffer,0,O)),I=new Uint8Array(2048),O=0),e.enqueue(t);else{var n=I.length-O;n<t.byteLength&&(0===n?e.enqueue(I):(I.set(t.subarray(0,n),O),e.enqueue(I),t=t.subarray(n)),I=new Uint8Array(2048),O=0),I.set(t,O),O+=t.byteLength}}function D(e,t){return A(e,t),!0}function N(e){I&&0<O&&(e.enqueue(new Uint8Array(I.buffer,0,O)),I=null,O=0)}var F=new TextEncoder;function M(e){return F.encode(e)}function L(e){return F.encode(e)}function W(e,t){"function"==typeof e.error?e.error(t):e.close()}var B=Object.assign,$=Object.prototype.hasOwnProperty,V=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),H={},U={};function q(e){return!!$.call(U,e)||!$.call(H,e)&&(V.test(e)?U[e]=!0:(H[e]=!0,!1))}var G=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),Y=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),X=/["'&<>]/;function K(e){if("boolean"==typeof e||"number"==typeof e||"bigint"==typeof e)return""+e;e=""+e;var t=X.exec(e);if(t){var n,r="",o=0;for(n=t.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:t="&quot;";break;case 38:t="&amp;";break;case 39:t="&#x27;";break;case 60:t="&lt;";break;case 62:t="&gt;";break;default:continue}o!==n&&(r+=e.slice(o,n)),o=n+1,r+=t}e=o!==n?r+e.slice(o,n):r}return e}var Q=/([A-Z])/g,J=/^ms-/,Z=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function ee(e){return Z.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var te=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ne=t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,re={pending:!1,data:null,method:null,action:null},oe=ne.d;ne.d={f:oe.f,r:oe.r,D:function(e){var t=fo||null;if(t){var n,r,o=t.resumableState,a=t.renderState;if("string"==typeof e&&e)o.dnsResources.hasOwnProperty(e)||(o.dnsResources[e]=null,(r=(o=a.headers)&&0<o.remainingCapacity)&&(n="<"+(""+e).replace(Yn,Xn)+">; rel=dns-prefetch",r=0<=(o.remainingCapacity-=n.length+2)),r?(a.resets.dns[e]=null,o.preconnects&&(o.preconnects+=", "),o.preconnects+=n):(Je(n=[],{href:e,rel:"dns-prefetch"}),a.preconnects.add(n))),Jo(t)}else oe.D(e)},C:function(e,t){var n=fo||null;if(n){var r=n.resumableState,o=n.renderState;if("string"==typeof e&&e){var a,i,l="use-credentials"===t?"credentials":"string"==typeof t?"anonymous":"default";if(!r.connectResources[l].hasOwnProperty(e))r.connectResources[l][e]=null,(i=(r=o.headers)&&0<r.remainingCapacity)&&(i="<"+(""+e).replace(Yn,Xn)+">; rel=preconnect","string"==typeof t&&(i+='; crossorigin="'+(""+t).replace(Kn,Qn)+'"'),a=i,i=0<=(r.remainingCapacity-=a.length+2)),i?(o.resets.connect[l][e]=null,r.preconnects&&(r.preconnects+=", "),r.preconnects+=a):(Je(l=[],{rel:"preconnect",href:e,crossOrigin:t}),o.preconnects.add(l));Jo(n)}}else oe.C(e,t)},L:function(e,t,n){var r=fo||null;if(r){var o=r.resumableState,a=r.renderState;if(t&&e){switch(t){case"image":if(n)var i=n.imageSrcSet,l=n.imageSizes,s=n.fetchPriority;var c,u=i?i+"\n"+(l||""):e;if(o.imageResources.hasOwnProperty(u))return;o.imageResources[u]=ae,(o=a.headers)&&0<o.remainingCapacity&&"string"!=typeof i&&"high"===s&&(c=Gn(e,t,n),0<=(o.remainingCapacity-=c.length+2))?(a.resets.image[u]=ae,o.highImagePreloads&&(o.highImagePreloads+=", "),o.highImagePreloads+=c):(Je(o=[],B({rel:"preload",href:i?void 0:e,as:t},n)),"high"===s?a.highImagePreloads.add(o):(a.bulkPreloads.add(o),a.preloads.images.set(u,o)));break;case"style":if(o.styleResources.hasOwnProperty(e))return;Je(i=[],B({rel:"preload",href:e,as:t},n)),o.styleResources[e]=!n||"string"!=typeof n.crossOrigin&&"string"!=typeof n.integrity?ae:[n.crossOrigin,n.integrity],a.preloads.stylesheets.set(e,i),a.bulkPreloads.add(i);break;case"script":if(o.scriptResources.hasOwnProperty(e))return;i=[],a.preloads.scripts.set(e,i),a.bulkPreloads.add(i),Je(i,B({rel:"preload",href:e,as:t},n)),o.scriptResources[e]=!n||"string"!=typeof n.crossOrigin&&"string"!=typeof n.integrity?ae:[n.crossOrigin,n.integrity];break;default:if(o.unknownResources.hasOwnProperty(t)){if((i=o.unknownResources[t]).hasOwnProperty(e))return}else i={},o.unknownResources[t]=i;i[e]=ae,(o=a.headers)&&0<o.remainingCapacity&&"font"===t&&(u=Gn(e,t,n),0<=(o.remainingCapacity-=u.length+2))?(a.resets.font[e]=ae,o.fontPreloads&&(o.fontPreloads+=", "),o.fontPreloads+=u):"font"===(Je(o=[],e=B({rel:"preload",href:e,as:t},n)),t)?a.fontPreloads.add(o):a.bulkPreloads.add(o)}Jo(r)}}else oe.L(e,t,n)},m:function(e,t){var n=fo||null;if(n){var r=n.resumableState,o=n.renderState;if(e){var a=t&&"string"==typeof t.as?t.as:"script";if("script"===a){if(r.moduleScriptResources.hasOwnProperty(e))return;a=[],r.moduleScriptResources[e]=!t||"string"!=typeof t.crossOrigin&&"string"!=typeof t.integrity?ae:[t.crossOrigin,t.integrity],o.preloads.moduleScripts.set(e,a)}else{if(r.moduleUnknownResources.hasOwnProperty(a)){var i=r.unknownResources[a];if(i.hasOwnProperty(e))return}else i={},r.moduleUnknownResources[a]=i;a=[],i[e]=ae}Je(a,B({rel:"modulepreload",href:e},t)),o.bulkPreloads.add(a),Jo(n)}}else oe.m(e,t)},X:function(e,t){var n=fo||null;if(n){var r=n.resumableState,o=n.renderState;if(e){var a=r.scriptResources.hasOwnProperty(e)?r.scriptResources[e]:void 0;null!==a&&(r.scriptResources[e]=null,t=B({src:e,async:!0},t),a&&(2===a.length&&qn(t,a),e=o.preloads.scripts.get(e))&&(e.length=0),e=[],o.scripts.add(e),rt(e,t),Jo(n))}}else oe.X(e,t)},S:function(e,t,n){var r=fo||null;if(r){var o=r.resumableState,a=r.renderState;if(e){t=t||"default";var i=a.styles.get(t),l=o.styleResources.hasOwnProperty(e)?o.styleResources[e]:void 0;null!==l&&(o.styleResources[e]=null,i||(i={precedence:M(K(t)),rules:[],hrefs:[],sheets:new Map},a.styles.set(t,i)),t={state:0,props:B({rel:"stylesheet",href:e,"data-precedence":t},n)},l&&(2===l.length&&qn(t.props,l),(a=a.preloads.stylesheets.get(e))&&0<a.length?a.length=0:t.state=1),i.sheets.set(e,t),Jo(r))}}else oe.S(e,t,n)},M:function(e,t){var n=fo||null;if(n){var r=n.resumableState,o=n.renderState;if(e){var a=r.moduleScriptResources.hasOwnProperty(e)?r.moduleScriptResources[e]:void 0;null!==a&&(r.moduleScriptResources[e]=null,t=B({src:e,type:"module",async:!0},t),a&&(2===a.length&&qn(t,a),e=o.preloads.moduleScripts.get(e))&&(e.length=0),e=[],o.scripts.add(e),rt(e,t),Jo(n))}}else oe.M(e,t)}};var ae=[];L('"></template>');var ie=L("<script>"),le=L("<\/script>"),se=L('<script src="'),ce=L('<script type="module" src="'),ue=L('" nonce="'),de=L('" integrity="'),fe=L('" crossorigin="'),pe=L('" async=""><\/script>'),he=/(<\/|<)(s)(cript)/gi;function ge(e,t,n,r){return t+("s"===n?"\\u0073":"\\u0053")+r}var me=L('<script type="importmap">'),be=L("<\/script>");function ve(e,t,n,r,o,a){var i=void 0===t?ie:L('<script nonce="'+K(t)+'">'),l=e.idPrefix;n=[];var s=e.bootstrapScriptContent,c=e.bootstrapScripts,u=e.bootstrapModules;if(void 0!==s&&n.push(i,M((""+s).replace(he,ge)),le),s=[],void 0!==r&&(s.push(me),s.push(M((""+JSON.stringify(r)).replace(he,ge))),s.push(be)),r=o?{preconnects:"",fontPreloads:"",highImagePreloads:"",remainingCapacity:2+("number"==typeof a?a:2e3)}:null,o={placeholderPrefix:L(l+"P:"),segmentPrefix:L(l+"S:"),boundaryPrefix:L(l+"B:"),startInlineScript:i,preamble:{htmlChunks:null,headChunks:null,bodyChunks:null,contribution:0},externalRuntimeScript:null,bootstrapChunks:n,importMapChunks:s,onHeaders:o,headers:r,resets:{font:{},dns:{},connect:{default:{},anonymous:{},credentials:{}},image:{},style:{}},charsetChunks:[],viewportChunks:[],hoistableChunks:[],preconnects:new Set,fontPreloads:new Set,highImagePreloads:new Set,styles:new Map,bootstrapScripts:new Set,scripts:new Set,bulkPreloads:new Set,preloads:{images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map},nonce:t,hoistableState:null,stylesToHoist:!1},void 0!==c)for(r=0;r<c.length;r++){var d=c[r];l=i=void 0,s={rel:"preload",as:"script",fetchPriority:"low",nonce:t},"string"==typeof d?s.href=a=d:(s.href=a=d.src,s.integrity=l="string"==typeof d.integrity?d.integrity:void 0,s.crossOrigin=i="string"==typeof d||null==d.crossOrigin?void 0:"use-credentials"===d.crossOrigin?"use-credentials":"");var f=a;(d=e).scriptResources[f]=null,d.moduleScriptResources[f]=null,Je(d=[],s),o.bootstrapScripts.add(d),n.push(se,M(K(a))),t&&n.push(ue,M(K(t))),"string"==typeof l&&n.push(de,M(K(l))),"string"==typeof i&&n.push(fe,M(K(i))),n.push(pe)}if(void 0!==u)for(c=0;c<u.length;c++)i=a=void 0,l={rel:"modulepreload",fetchPriority:"low",nonce:t},"string"==typeof(s=u[c])?l.href=r=s:(l.href=r=s.src,l.integrity=i="string"==typeof s.integrity?s.integrity:void 0,l.crossOrigin=a="string"==typeof s||null==s.crossOrigin?void 0:"use-credentials"===s.crossOrigin?"use-credentials":""),d=r,(s=e).scriptResources[d]=null,s.moduleScriptResources[d]=null,Je(s=[],l),o.bootstrapScripts.add(s),n.push(ce,M(K(r))),t&&n.push(ue,M(K(t))),"string"==typeof i&&n.push(de,M(K(i))),"string"==typeof a&&n.push(fe,M(K(a))),n.push(pe);return o}function ye(e,t,n,r,o){return{idPrefix:void 0===e?"":e,nextFormID:0,streamingFormat:0,bootstrapScriptContent:n,bootstrapScripts:r,bootstrapModules:o,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}}}function xe(){return{htmlChunks:null,headChunks:null,bodyChunks:null,contribution:0}}function ke(e,t,n){return{insertionMode:e,selectedValue:t,tagScope:n}}function Se(e){return ke("http://www.w3.org/2000/svg"===e?4:"http://www.w3.org/1998/Math/MathML"===e?5:0,null,0)}function we(e,t,n){switch(t){case"noscript":return ke(2,null,1|e.tagScope);case"select":return ke(2,null!=n.value?n.value:n.defaultValue,e.tagScope);case"svg":return ke(4,null,e.tagScope);case"picture":return ke(2,null,2|e.tagScope);case"math":return ke(5,null,e.tagScope);case"foreignObject":return ke(2,null,e.tagScope);case"table":return ke(6,null,e.tagScope);case"thead":case"tbody":case"tfoot":return ke(7,null,e.tagScope);case"colgroup":return ke(9,null,e.tagScope);case"tr":return ke(8,null,e.tagScope);case"head":if(2>e.insertionMode)return ke(3,null,e.tagScope);break;case"html":if(0===e.insertionMode)return ke(1,null,e.tagScope)}return 6<=e.insertionMode||2>e.insertionMode?ke(2,null,e.tagScope):e}var _e=L("\x3c!-- --\x3e");function Ce(e,t,n,r){return""===t?r:(r&&e.push(_e),e.push(M(K(t))),!0)}var Ee=new Map,Pe=L(' style="'),ze=L(":"),Te=L(";");function Re(e,t){if("object"!=typeof t)throw Error(n(62));var r,o=!0;for(r in t)if($.call(t,r)){var a=t[r];if(null!=a&&"boolean"!=typeof a&&""!==a){if(0===r.indexOf("--")){var i=M(K(r));a=M(K((""+a).trim()))}else void 0===(i=Ee.get(r))&&(i=L(K(r.replace(Q,"-$1").toLowerCase().replace(J,"-ms-"))),Ee.set(r,i)),a="number"==typeof a?0===a||G.has(r)?M(""+a):M(a+"px"):M(K((""+a).trim()));o?(o=!1,e.push(Pe,i,ze,a)):e.push(Te,i,ze,a)}}o||e.push(Ae)}var Ie=L(" "),Oe=L('="'),Ae=L('"'),De=L('=""');function Ne(e,t,n){n&&"function"!=typeof n&&"symbol"!=typeof n&&e.push(Ie,M(t),De)}function Fe(e,t,n){"function"!=typeof n&&"symbol"!=typeof n&&"boolean"!=typeof n&&e.push(Ie,M(t),Oe,M(K(n)),Ae)}var je=L(K("javascript:throw new Error('React form unexpectedly submitted.')")),Me=L('<input type="hidden"');function Le(e,t){this.push(Me),We(e),Fe(this,"name",t),Fe(this,"value",e),this.push(Ue)}function We(e){if("string"!=typeof e)throw Error(n(480))}function Be(e,t){if("function"==typeof t.$$FORM_ACTION){var n=e.nextFormID++;e=e.idPrefix+n;try{var r=t.$$FORM_ACTION(e);if(r){var o=r.data;null!=o&&o.forEach(We)}return r}catch(a){if("object"==typeof a&&null!==a&&"function"==typeof a.then)throw a}}return null}function $e(e,t,n,r,o,a,i,l){var s=null;if("function"==typeof r){var c=Be(t,r);null!==c?(l=c.name,r=c.action||"",o=c.encType,a=c.method,i=c.target,s=c.data):(e.push(Ie,M("formAction"),Oe,je,Ae),i=a=o=r=l=null,Xe(t,n))}return null!=l&&Ve(e,"name",l),null!=r&&Ve(e,"formAction",r),null!=o&&Ve(e,"formEncType",o),null!=a&&Ve(e,"formMethod",a),null!=i&&Ve(e,"formTarget",i),s}function Ve(e,t,n){switch(t){case"className":Fe(e,"class",n);break;case"tabIndex":Fe(e,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":Fe(e,t,n);break;case"style":Re(e,n);break;case"src":case"href":if(""===n)break;case"action":case"formAction":if(null==n||"function"==typeof n||"symbol"==typeof n||"boolean"==typeof n)break;n=ee(""+n),e.push(Ie,M(t),Oe,M(K(n)),Ae);break;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"autoFocus":case"multiple":case"muted":Ne(e,t.toLowerCase(),n);break;case"xlinkHref":if("function"==typeof n||"symbol"==typeof n||"boolean"==typeof n)break;n=ee(""+n),e.push(Ie,M("xlink:href"),Oe,M(K(n)),Ae);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":"function"!=typeof n&&"symbol"!=typeof n&&e.push(Ie,M(t),Oe,M(K(n)),Ae);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":n&&"function"!=typeof n&&"symbol"!=typeof n&&e.push(Ie,M(t),De);break;case"capture":case"download":!0===n?e.push(Ie,M(t),De):!1!==n&&"function"!=typeof n&&"symbol"!=typeof n&&e.push(Ie,M(t),Oe,M(K(n)),Ae);break;case"cols":case"rows":case"size":case"span":"function"!=typeof n&&"symbol"!=typeof n&&!isNaN(n)&&1<=n&&e.push(Ie,M(t),Oe,M(K(n)),Ae);break;case"rowSpan":case"start":"function"==typeof n||"symbol"==typeof n||isNaN(n)||e.push(Ie,M(t),Oe,M(K(n)),Ae);break;case"xlinkActuate":Fe(e,"xlink:actuate",n);break;case"xlinkArcrole":Fe(e,"xlink:arcrole",n);break;case"xlinkRole":Fe(e,"xlink:role",n);break;case"xlinkShow":Fe(e,"xlink:show",n);break;case"xlinkTitle":Fe(e,"xlink:title",n);break;case"xlinkType":Fe(e,"xlink:type",n);break;case"xmlBase":Fe(e,"xml:base",n);break;case"xmlLang":Fe(e,"xml:lang",n);break;case"xmlSpace":Fe(e,"xml:space",n);break;default:if((!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&q(t=Y.get(t)||t)){switch(typeof n){case"function":case"symbol":return;case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return}e.push(Ie,M(t),Oe,M(K(n)),Ae)}}}var He=L(">"),Ue=L("/>");function qe(e,t,r){if(null!=t){if(null!=r)throw Error(n(60));if("object"!=typeof t||!("__html"in t))throw Error(n(61));null!=(t=t.__html)&&e.push(M(""+t))}}var Ge=L(' selected=""'),Ye=L('addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'React form unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});');function Xe(e,t){!(16&e.instructions)&&(e.instructions|=16,t.bootstrapChunks.unshift(t.startInlineScript,Ye,le))}var Ke=L("\x3c!--F!--\x3e"),Qe=L("\x3c!--F--\x3e");function Je(e,t){for(var r in e.push(ct("link")),t)if($.call(t,r)){var o=t[r];if(null!=o)switch(r){case"children":case"dangerouslySetInnerHTML":throw Error(n(399,"link"));default:Ve(e,r,o)}}return e.push(Ue),null}var Ze=/(<\/|<)(s)(tyle)/gi;function et(e,t,n,r){return t+("s"===n?"\\73 ":"\\53 ")+r}function tt(e,t,r){for(var o in e.push(ct(r)),t)if($.call(t,o)){var a=t[o];if(null!=a)switch(o){case"children":case"dangerouslySetInnerHTML":throw Error(n(399,r));default:Ve(e,o,a)}}return e.push(Ue),null}function nt(e,t){e.push(ct("title"));var n,r=null,o=null;for(n in t)if($.call(t,n)){var a=t[n];if(null!=a)switch(n){case"children":r=a;break;case"dangerouslySetInnerHTML":o=a;break;default:Ve(e,n,a)}}return e.push(He),"function"!=typeof(t=Array.isArray(r)?2>r.length?r[0]:null:r)&&"symbol"!=typeof t&&null!=t&&e.push(M(K(""+t))),qe(e,o,r),e.push(ft("title")),null}function rt(e,t){e.push(ct("script"));var n,r=null,o=null;for(n in t)if($.call(t,n)){var a=t[n];if(null!=a)switch(n){case"children":r=a;break;case"dangerouslySetInnerHTML":o=a;break;default:Ve(e,n,a)}}return e.push(He),qe(e,o,r),"string"==typeof r&&e.push(M((""+r).replace(he,ge))),e.push(ft("script")),null}function ot(e,t,n){e.push(ct(n));var r,o=n=null;for(r in t)if($.call(t,r)){var a=t[r];if(null!=a)switch(r){case"children":n=a;break;case"dangerouslySetInnerHTML":o=a;break;default:Ve(e,r,a)}}return e.push(He),qe(e,o,n),n}function at(e,t,n){e.push(ct(n));var r,o=n=null;for(r in t)if($.call(t,r)){var a=t[r];if(null!=a)switch(r){case"children":n=a;break;case"dangerouslySetInnerHTML":o=a;break;default:Ve(e,r,a)}}return e.push(He),qe(e,o,n),"string"==typeof n?(e.push(M(K(n))),null):n}var it=L("\n"),lt=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,st=new Map;function ct(e){var t=st.get(e);if(void 0===t){if(!lt.test(e))throw Error(n(65,e));t=L("<"+e),st.set(e,t)}return t}var ut=L("<!DOCTYPE html>");var dt=new Map;function ft(e){var t=dt.get(e);return void 0===t&&(t=L("</"+e+">"),dt.set(e,t)),t}function pt(e,t){null===(e=e.preamble).htmlChunks&&t.htmlChunks&&(e.htmlChunks=t.htmlChunks,t.contribution|=1),null===e.headChunks&&t.headChunks&&(e.headChunks=t.headChunks,t.contribution|=4),null===e.bodyChunks&&t.bodyChunks&&(e.bodyChunks=t.bodyChunks,t.contribution|=2)}function ht(e,t){t=t.bootstrapChunks;for(var n=0;n<t.length-1;n++)A(e,t[n]);return!(n<t.length)||(n=t[n],t.length=0,D(e,n))}var gt=L('<template id="'),mt=L('"></template>'),bt=L("\x3c!--$--\x3e"),vt=L('\x3c!--$?--\x3e<template id="'),yt=L('"></template>'),xt=L("\x3c!--$!--\x3e"),kt=L("\x3c!--/$--\x3e"),St=L("<template"),wt=L('"'),_t=L(' data-dgst="');L(' data-msg="'),L(' data-stck="'),L(' data-cstck="');var Ct=L("></template>");function Et(e,t,r){if(A(e,vt),null===r)throw Error(n(395));return A(e,t.boundaryPrefix),A(e,M(r.toString(16))),D(e,yt)}var Pt=L("\x3c!--"),zt=L("--\x3e");function Tt(e,t){0!==(t=t.contribution)&&(A(e,Pt),A(e,M(""+t)),A(e,zt))}var Rt=L('<div hidden id="'),It=L('">'),Ot=L("</div>"),At=L('<svg aria-hidden="true" style="display:none" id="'),Dt=L('">'),Nt=L("</svg>"),Ft=L('<math aria-hidden="true" style="display:none" id="'),jt=L('">'),Mt=L("</math>"),Lt=L('<table hidden id="'),Wt=L('">'),Bt=L("</table>"),$t=L('<table hidden><tbody id="'),Vt=L('">'),Ht=L("</tbody></table>"),Ut=L('<table hidden><tr id="'),qt=L('">'),Gt=L("</tr></table>"),Yt=L('<table hidden><colgroup id="'),Xt=L('">'),Kt=L("</colgroup></table>"),Qt=L('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),Jt=L('$RS("'),Zt=L('","'),en=L('")<\/script>');L('<template data-rsi="" data-sid="'),L('" data-pid="');var tn=L('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RC("'),nn=L('$RC("'),rn=L('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RM=new Map;\n$RR=function(t,u,y){function v(n){this._p=null;n()}for(var w=$RC,p=$RM,q=new Map,r=document,g,b,h=r.querySelectorAll("link[data-precedence],style[data-precedence]"),x=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?x.push(b):("LINK"===b.tagName&&p.set(b.getAttribute("href"),b),q.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var e=y[b++];if(!e){k=!1;b=0;continue}var c=!1,m=0;var d=e[m++];if(a=p.get(d)){var f=a._p;c=!0}else{a=r.createElement("link");a.href=\nd;a.rel="stylesheet";for(a.dataset.precedence=l=e[m++];f=e[m++];)a.setAttribute(f,e[m++]);f=a._p=new Promise(function(n,z){a.onload=v.bind(a,n);a.onerror=v.bind(a,z)});p.set(d,a)}d=a.getAttribute("media");!f||d&&!matchMedia(d).matches||h.push(f);if(c)continue}else{a=x[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=q.get(l)||g;c===g&&(g=a);q.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=r.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(w.bind(null,\nt,u,""),w.bind(null,t,u,"Resource failed to load"))};$RR("'),on=L('$RM=new Map;\n$RR=function(t,u,y){function v(n){this._p=null;n()}for(var w=$RC,p=$RM,q=new Map,r=document,g,b,h=r.querySelectorAll("link[data-precedence],style[data-precedence]"),x=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?x.push(b):("LINK"===b.tagName&&p.set(b.getAttribute("href"),b),q.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var e=y[b++];if(!e){k=!1;b=0;continue}var c=!1,m=0;var d=e[m++];if(a=p.get(d)){var f=a._p;c=!0}else{a=r.createElement("link");a.href=\nd;a.rel="stylesheet";for(a.dataset.precedence=l=e[m++];f=e[m++];)a.setAttribute(f,e[m++]);f=a._p=new Promise(function(n,z){a.onload=v.bind(a,n);a.onerror=v.bind(a,z)});p.set(d,a)}d=a.getAttribute("media");!f||d&&!matchMedia(d).matches||h.push(f);if(c)continue}else{a=x[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=q.get(l)||g;c===g&&(g=a);q.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=r.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(w.bind(null,\nt,u,""),w.bind(null,t,u,"Resource failed to load"))};$RR("'),an=L('$RR("'),ln=L('","'),sn=L('",'),cn=L('"'),un=L(")<\/script>");L('<template data-rci="" data-bid="'),L('<template data-rri="" data-bid="'),L('" data-sid="'),L('" data-sty="');var dn=L('$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("'),fn=L('$RX("'),pn=L('"'),hn=L(","),gn=L(")<\/script>");L('<template data-rxi="" data-bid="'),L('" data-dgst="'),L('" data-msg="'),L('" data-stck="'),L('" data-cstck="');var mn=/[<\u2028\u2029]/g;function bn(e){return JSON.stringify(e).replace(mn,function(e){switch(e){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var vn=/[&><\u2028\u2029]/g;function yn(e){return JSON.stringify(e).replace(vn,function(e){switch(e){case"&":return"\\u0026";case">":return"\\u003e";case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var xn=L('<style media="not all" data-precedence="'),kn=L('" data-href="'),Sn=L('">'),wn=L("</style>"),_n=!1,Cn=!0;function En(e){var t=e.rules,n=e.hrefs,r=0;if(n.length){for(A(this,xn),A(this,e.precedence),A(this,kn);r<n.length-1;r++)A(this,n[r]),A(this,Dn);for(A(this,n[r]),A(this,Sn),r=0;r<t.length;r++)A(this,t[r]);Cn=D(this,wn),_n=!0,t.length=0,n.length=0}}function Pn(e){return 2!==e.state&&(_n=!0)}function zn(e,t,n){return _n=!1,Cn=!0,t.styles.forEach(En,e),t.stylesheets.forEach(Pn),_n&&(n.stylesToHoist=!0),Cn}function Tn(e){for(var t=0;t<e.length;t++)A(this,e[t]);e.length=0}var Rn=[];function In(e){Je(Rn,e.props);for(var t=0;t<Rn.length;t++)A(this,Rn[t]);Rn.length=0,e.state=2}var On=L('<style data-precedence="'),An=L('" data-href="'),Dn=L(" "),Nn=L('">'),Fn=L("</style>");function jn(e){var t=0<e.sheets.size;e.sheets.forEach(In,this),e.sheets.clear();var n=e.rules,r=e.hrefs;if(!t||r.length){if(A(this,On),A(this,e.precedence),e=0,r.length){for(A(this,An);e<r.length-1;e++)A(this,r[e]),A(this,Dn);A(this,r[e])}for(A(this,Nn),e=0;e<n.length;e++)A(this,n[e]);A(this,Fn),n.length=0,r.length=0}}function Mn(e){if(0===e.state){e.state=1;var t=e.props;for(Je(Rn,{rel:"preload",as:"style",href:e.props.href,crossOrigin:t.crossOrigin,fetchPriority:t.fetchPriority,integrity:t.integrity,media:t.media,hrefLang:t.hrefLang,referrerPolicy:t.referrerPolicy}),e=0;e<Rn.length;e++)A(this,Rn[e]);Rn.length=0}}function Ln(e){e.sheets.forEach(Mn,this),e.sheets.clear()}var Wn=L("["),Bn=L(",["),$n=L(","),Vn=L("]");function Hn(e,t,n){var r=t.toLowerCase();switch(typeof n){case"function":case"symbol":return}switch(t){case"innerHTML":case"dangerouslySetInnerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"style":case"ref":return;case"className":r="class",t=""+n;break;case"hidden":if(!1===n)return;t="";break;case"src":case"href":t=""+(n=ee(n));break;default:if(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])||!q(t))return;t=""+n}A(e,$n),A(e,M(yn(r))),A(e,$n),A(e,M(yn(t)))}function Un(){return{styles:new Set,stylesheets:new Set}}function qn(e,t){null==e.crossOrigin&&(e.crossOrigin=t[0]),null==e.integrity&&(e.integrity=t[1])}function Gn(e,t,n){for(var r in t="<"+(e=(""+e).replace(Yn,Xn))+'>; rel=preload; as="'+(t=(""+t).replace(Kn,Qn))+'"',n)$.call(n,r)&&"string"==typeof(e=n[r])&&(t+="; "+r.toLowerCase()+'="'+(""+e).replace(Kn,Qn)+'"');return t}var Yn=/[<>\r\n]/g;function Xn(e){switch(e){case"<":return"%3C";case">":return"%3E";case"\n":return"%0A";case"\r":return"%0D";default:throw Error("escapeLinkHrefForHeaderContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}var Kn=/["';,\r\n]/g;function Qn(e){switch(e){case'"':return"%22";case"'":return"%27";case";":return"%3B";case",":return"%2C";case"\n":return"%0A";case"\r":return"%0D";default:throw Error("escapeStringForLinkHeaderQuotedParamValueContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}function Jn(e){this.styles.add(e)}function Zn(e){this.stylesheets.add(e)}var er=Function.prototype.bind,tr=Symbol.for("react.client.reference");function nr(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===tr?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case a:return"Fragment";case l:return"Profiler";case i:return"StrictMode";case f:return"Suspense";case p:return"SuspenseList";case b:return"Activity"}if("object"==typeof e)switch(e.$$typeof){case o:return"Portal";case u:return(e.displayName||"Context")+".Provider";case c:return(e._context.displayName||"Context")+".Consumer";case d:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case h:return null!==(t=e.displayName||null)?t:nr(e.type)||"Memo";case g:t=e._payload,e=e._init;try{return nr(e(t))}catch(n){}}return null}var rr={},or=null;function ar(e,t){if(e!==t){e.context._currentValue=e.parentValue,e=e.parent;var r=t.parent;if(null===e){if(null!==r)throw Error(n(401))}else{if(null===r)throw Error(n(401));ar(e,r)}t.context._currentValue=t.value}}function ir(e){e.context._currentValue=e.parentValue,null!==(e=e.parent)&&ir(e)}function lr(e){var t=e.parent;null!==t&&lr(t),e.context._currentValue=e.value}function sr(e,t){if(e.context._currentValue=e.parentValue,null===(e=e.parent))throw Error(n(402));e.depth===t.depth?ar(e,t):sr(e,t)}function cr(e,t){var r=t.parent;if(null===r)throw Error(n(402));e.depth===r.depth?ar(e,r):cr(e,r),t.context._currentValue=t.value}function ur(e){var t=or;t!==e&&(null===t?lr(e):null===e?ir(t):t.depth===e.depth?ar(t,e):t.depth>e.depth?sr(t,e):cr(t,e),or=e)}var dr={enqueueSetState:function(e,t){null!==(e=e._reactInternals).queue&&e.queue.push(t)},enqueueReplaceState:function(e,t){(e=e._reactInternals).replace=!0,e.queue=[t]},enqueueForceUpdate:function(){}},fr={id:1,overflow:""};function pr(e,t,n){var r=e.id;e=e.overflow;var o=32-hr(r)-1;r&=~(1<<o),n+=1;var a=32-hr(t)+o;if(30<a){var i=o-o%5;return a=(r&(1<<i)-1).toString(32),r>>=i,o-=i,{id:1<<32-hr(t)+o|n<<o|r,overflow:a+e}}return{id:1<<a|n<<o|r,overflow:e}}var hr=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(gr(e)/mr|0)|0},gr=Math.log,mr=Math.LN2,br=Error(n(460));function vr(){}var yr=null;function xr(){if(null===yr)throw Error(n(459));var e=yr;return yr=null,e}var kr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Sr=null,wr=null,_r=null,Cr=null,Er=null,Pr=null,zr=!1,Tr=!1,Rr=0,Ir=0,Or=-1,Ar=0,Dr=null,Nr=null,Fr=0;function jr(){if(null===Sr)throw Error(n(321));return Sr}function Mr(){if(0<Fr)throw Error(n(312));return{memoizedState:null,queue:null,next:null}}function Lr(){return null===Pr?null===Er?(zr=!1,Er=Pr=Mr()):(zr=!0,Pr=Er):null===Pr.next?(zr=!1,Pr=Pr.next=Mr()):(zr=!0,Pr=Pr.next),Pr}function Wr(){var e=Dr;return Dr=null,e}function Br(){Cr=_r=wr=Sr=null,Tr=!1,Er=null,Fr=0,Pr=Nr=null}function $r(e,t){return"function"==typeof t?t(e):t}function Vr(e,t,n){if(Sr=jr(),Pr=Lr(),zr){var r=Pr.queue;if(t=r.dispatch,null!==Nr&&void 0!==(n=Nr.get(r))){Nr.delete(r),r=Pr.memoizedState;do{r=e(r,n.action),n=n.next}while(null!==n);return Pr.memoizedState=r,[r,t]}return[Pr.memoizedState,t]}return e=e===$r?"function"==typeof t?t():t:void 0!==n?n(t):t,Pr.memoizedState=e,e=(e=Pr.queue={last:null,dispatch:null}).dispatch=Ur.bind(null,Sr,e),[Pr.memoizedState,e]}function Hr(e,t){if(Sr=jr(),t=void 0===t?null:t,null!==(Pr=Lr())){var n=Pr.memoizedState;if(null!==n&&null!==t){var r=n[1];e:if(null===r)r=!1;else{for(var o=0;o<r.length&&o<t.length;o++)if(!kr(t[o],r[o])){r=!1;break e}r=!0}if(r)return n[0]}}return e=e(),Pr.memoizedState=[e,t],e}function Ur(e,t,r){if(25<=Fr)throw Error(n(301));if(e===Sr)if(Tr=!0,e={action:r,next:null},null===Nr&&(Nr=new Map),void 0===(r=Nr.get(t)))Nr.set(t,e);else{for(t=r;null!==t.next;)t=t.next;t.next=e}}function qr(){throw Error(n(394))}function Gr(){throw Error(n(479))}function Yr(e,t,n){jr();var r=Ir++,o=_r;if("function"==typeof e.$$FORM_ACTION){var a=null,i=Cr;o=o.formState;var l=e.$$IS_SIGNATURE_EQUAL;if(null!==o&&"function"==typeof l){var s=o[1];l.call(e,o[2],o[3])&&s===(a=void 0!==n?"p"+n:"k"+_(JSON.stringify([i,null,r]),0))&&(Or=r,t=o[0])}var c=e.bind(null,t);return e=function(e){c(e)},"function"==typeof c.$$FORM_ACTION&&(e.$$FORM_ACTION=function(e){e=c.$$FORM_ACTION(e),void 0!==n&&(n+="",e.action=n);var t=e.data;return t&&(null===a&&(a=void 0!==n?"p"+n:"k"+_(JSON.stringify([i,null,r]),0)),t.append("$ACTION_KEY",a)),e}),[t,e,!1]}var u=e.bind(null,t);return[t,function(e){u(e)},!1]}function Xr(e){var t=Ar;return Ar+=1,null===Dr&&(Dr=[]),function(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(vr,vr),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch("string"==typeof t.status?t.then(vr,vr):((e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}throw yr=t,br}}(Dr,e,t)}function Kr(){throw Error(n(393))}function Qr(){}var Jr,Zr,eo={readContext:function(e){return e._currentValue},use:function(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return Xr(e);if(e.$$typeof===u)return e._currentValue}throw Error(n(438,String(e)))},useContext:function(e){return jr(),e._currentValue},useMemo:Hr,useReducer:Vr,useRef:function(e){Sr=jr();var t=(Pr=Lr()).memoizedState;return null===t?(e={current:e},Pr.memoizedState=e):t},useState:function(e){return Vr($r,e)},useInsertionEffect:Qr,useLayoutEffect:Qr,useCallback:function(e,t){return Hr(function(){return e},t)},useImperativeHandle:Qr,useEffect:Qr,useDebugValue:Qr,useDeferredValue:function(e,t){return jr(),void 0!==t?t:e},useTransition:function(){return jr(),[!1,qr]},useId:function(){var e=wr.treeContext,t=e.overflow;e=((e=e.id)&~(1<<32-hr(e)-1)).toString(32)+t;var r=to;if(null===r)throw Error(n(404));return t=Rr++,e="«"+r.idPrefix+"R"+e,0<t&&(e+="H"+t.toString(32)),e+"»"},useSyncExternalStore:function(e,t,r){if(void 0===r)throw Error(n(407));return r()},useOptimistic:function(e){return jr(),[e,Gr]},useActionState:Yr,useFormState:Yr,useHostTransitionStatus:function(){return jr(),re},useMemoCache:function(e){for(var t=Array(e),n=0;n<e;n++)t[n]=x;return t},useCacheRefresh:function(){return Kr}},to=null,no={getCacheForType:function(){throw Error(n(248))}};function ro(e){if(void 0===Jr)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Jr=t&&t[1]||"",Zr=-1<n.stack.indexOf("\n at")?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+Jr+e+Zr}var oo=!1;function ao(e,t){if(!e||oo)return"";oo=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(o){var r=o}Reflect.construct(e,[],n)}else{try{n.call()}catch(a){r=a}e.call(n.prototype)}}else{try{throw Error()}catch(i){r=i}(n=e())&&"function"==typeof n.catch&&n.catch(function(){})}}catch(l){if(l&&r&&"string"==typeof l.stack)return[l.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var a=r.DetermineComponentFrameRoot(),i=a[0],l=a[1];if(i&&l){var s=i.split("\n"),c=l.split("\n");for(o=r=0;r<s.length&&!s[r].includes("DetermineComponentFrameRoot");)r++;for(;o<c.length&&!c[o].includes("DetermineComponentFrameRoot");)o++;if(r===s.length||o===c.length)for(r=s.length-1,o=c.length-1;1<=r&&0<=o&&s[r]!==c[o];)o--;for(;1<=r&&0<=o;r--,o--)if(s[r]!==c[o]){if(1!==r||1!==o)do{if(r--,0>--o||s[r]!==c[o]){var u="\n"+s[r].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}}while(1<=r&&0<=o);break}}}finally{oo=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?ro(n):""}function io(e){if("string"==typeof e)return ro(e);if("function"==typeof e)return e.prototype&&e.prototype.isReactComponent?ao(e,!0):ao(e,!1);if("object"==typeof e&&null!==e){switch(e.$$typeof){case d:return ao(e.render,!1);case h:return ao(e.type,!1);case g:var t=e,n=t._payload;t=t._init;try{e=t(n)}catch(r){return ro("Lazy")}return io(e)}if("string"==typeof e.name)return n=e.env,ro(e.name+(n?" ["+n+"]":""))}switch(e){case p:return ro("SuspenseList");case f:return ro("Suspense")}return""}function lo(e){if("object"==typeof e&&null!==e&&"string"==typeof e.environmentName){var t=e.environmentName;"string"==typeof(e=[e].slice(0))[0]?e.splice(0,1,"%c%s%c "+e[0],"background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px"," "+t+" ",""):e.splice(0,0,"%c%s%c ","background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px"," "+t+" ",""),e.unshift(console),(t=er.apply(console.error,e))()}return null}function so(){}function co(e,t,n,r,o,a,i,l,s,c,u){var d=new Set;this.destination=null,this.flushScheduled=!1,this.resumableState=e,this.renderState=t,this.rootFormatContext=n,this.progressiveChunkSize=void 0===r?12800:r,this.status=10,this.fatalError=null,this.pendingRootTasks=this.allPendingTasks=this.nextSegmentId=0,this.completedPreambleSegments=this.completedRootSegment=null,this.abortableTasks=d,this.pingedTasks=[],this.clientRenderedBoundaries=[],this.completedBoundaries=[],this.partialBoundaries=[],this.trackedPostpones=null,this.onError=void 0===o?lo:o,this.onPostpone=void 0===c?so:c,this.onAllReady=void 0===a?so:a,this.onShellReady=void 0===i?so:i,this.onShellError=void 0===l?so:l,this.onFatalError=void 0===s?so:s,this.formState=void 0===u?null:u}function uo(e,t,n,r,o,a,i,l,s,c,u,d){return(n=bo(t=new co(t,n,r,o,a,i,l,s,c,u,d),0,null,r,!1,!1)).parentFlushed=!0,vo(e=go(t,null,e,-1,null,n,null,null,t.abortableTasks,null,r,null,fr,null,!1)),t.pingedTasks.push(e),t}var fo=null;function po(e,t){e.pingedTasks.push(t),1===e.pingedTasks.length&&(e.flushScheduled=null!==e.destination,null!==e.trackedPostpones||10===e.status?R(function(){return Bo(e)}):P(function(){return Bo(e)}))}function ho(e,t,n,r){return{status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,completedSegments:[],byteSize:0,fallbackAbortableTasks:t,errorDigest:null,contentState:Un(),fallbackState:Un(),contentPreamble:n,fallbackPreamble:r,trackedContentKeyPath:null,trackedFallbackNode:null}}function go(e,t,n,r,o,a,i,l,s,c,u,d,f,p,h){e.allPendingTasks++,null===o?e.pendingRootTasks++:o.pendingTasks++;var g={replay:null,node:n,childIndex:r,ping:function(){return po(e,g)},blockedBoundary:o,blockedSegment:a,blockedPreamble:i,hoistableState:l,abortSet:s,keyPath:c,formatContext:u,context:d,treeContext:f,componentStack:p,thenableState:t,isFallback:h};return s.add(g),g}function mo(e,t,n,r,o,a,i,l,s,c,u,d,f,p){e.allPendingTasks++,null===a?e.pendingRootTasks++:a.pendingTasks++,n.pendingTasks++;var h={replay:n,node:r,childIndex:o,ping:function(){return po(e,h)},blockedBoundary:a,blockedSegment:null,blockedPreamble:null,hoistableState:i,abortSet:l,keyPath:s,formatContext:c,context:u,treeContext:d,componentStack:f,thenableState:t,isFallback:p};return l.add(h),h}function bo(e,t,n,r,o,a){return{status:0,parentFlushed:!1,id:-1,index:t,chunks:[],children:[],preambleChildren:[],parentFormatContext:r,boundary:n,lastPushedText:o,textEmbedded:a}}function vo(e){var t=e.node;"object"==typeof t&&null!==t&&t.$$typeof===r&&(e.componentStack={parent:e.componentStack,type:t.type})}function yo(e){var t={};return e&&Object.defineProperty(t,"componentStack",{configurable:!0,enumerable:!0,get:function(){try{var n="",r=e;do{n+=io(r.type),r=r.parent}while(r);var o=n}catch(a){o="\nError generating stack: "+a.message+"\n"+a.stack}return Object.defineProperty(t,"componentStack",{value:o}),o}}),t}function xo(e,t,n){if(null==(t=(e=e.onError)(t,n))||"string"==typeof t)return t}function ko(e,t){var n=e.onShellError,r=e.onFatalError;n(t),r(t),null!==e.destination?(e.status=14,W(e.destination,t)):(e.status=13,e.fatalError=t)}function So(e,t,n,r,o,a){var i=t.thenableState;for(t.thenableState=null,Sr={},wr=t,_r=e,Cr=n,Ir=Rr=0,Or=-1,Ar=0,Dr=i,e=r(o,a);Tr;)Tr=!1,Ir=Rr=0,Or=-1,Ar=0,Fr+=1,Pr=null,e=r(o,a);return Br(),e}function wo(e,t,n,r,o,a,i){var l=!1;if(0!==a&&null!==e.formState){var s=t.blockedSegment;if(null!==s){l=!0,s=s.chunks;for(var c=0;c<a;c++)c===i?s.push(Ke):s.push(Qe)}}a=t.keyPath,t.keyPath=n,o?(n=t.treeContext,t.treeContext=pr(n,1,0),Oo(e,t,r,-1),t.treeContext=n):l?Oo(e,t,r,-1):Eo(e,t,r,-1),t.keyPath=a}function _o(t,r,o,v,x,S){if("function"==typeof v)if(v.prototype&&v.prototype.isReactComponent){var _=x;if("ref"in x)for(var C in _={},x)"ref"!==C&&(_[C]=x[C]);var E=v.defaultProps;if(E)for(var P in _===x&&(_=B({},_,x)),E)void 0===_[P]&&(_[P]=E[P]);x=_,_=rr,"object"==typeof(E=v.contextType)&&null!==E&&(_=E._currentValue);var z=void 0!==(_=new v(x,_)).state?_.state:null;if(_.updater=dr,_.props=x,_.state=z,E={queue:[],replace:!1},_._reactInternals=E,S=v.contextType,_.context="object"==typeof S&&null!==S?S._currentValue:rr,"function"==typeof(S=v.getDerivedStateFromProps)&&(z=null==(S=S(x,z))?z:B({},z,S),_.state=z),"function"!=typeof v.getDerivedStateFromProps&&"function"!=typeof _.getSnapshotBeforeUpdate&&("function"==typeof _.UNSAFE_componentWillMount||"function"==typeof _.componentWillMount))if(v=_.state,"function"==typeof _.componentWillMount&&_.componentWillMount(),"function"==typeof _.UNSAFE_componentWillMount&&_.UNSAFE_componentWillMount(),v!==_.state&&dr.enqueueReplaceState(_,_.state,null),null!==E.queue&&0<E.queue.length)if(v=E.queue,S=E.replace,E.queue=null,E.replace=!1,S&&1===v.length)_.state=v[0];else{for(E=S?v[0]:_.state,z=!0,S=S?1:0;S<v.length;S++)null!=(P="function"==typeof(P=v[S])?P.call(_,E,x,void 0):P)&&(z?(z=!1,E=B({},E,P)):B(E,P));_.state=E}else E.queue=null;if(v=_.render(),12===t.status)throw null;x=r.keyPath,r.keyPath=o,Eo(t,r,v,-1),r.keyPath=x}else{if(v=So(t,r,o,v,x,void 0),12===t.status)throw null;wo(t,r,o,v,0!==Rr,Ir,Or)}else{if("string"!=typeof v){switch(v){case y:case i:case l:case a:return v=r.keyPath,r.keyPath=o,Eo(t,r,x.children,-1),void(r.keyPath=v);case b:return void("hidden"!==x.mode&&(v=r.keyPath,r.keyPath=o,Eo(t,r,x.children,-1),r.keyPath=v));case p:return v=r.keyPath,r.keyPath=o,Eo(t,r,x.children,-1),void(r.keyPath=v);case k:case m:throw Error(n(343));case f:e:if(null!==r.replay){v=r.keyPath,r.keyPath=o,o=x.children;try{Oo(t,r,o,-1)}finally{r.keyPath=v}}else{v=r.keyPath;var T=r.blockedBoundary;S=r.blockedPreamble;var R=r.hoistableState;P=r.blockedSegment,C=x.fallback,x=x.children;var I=new Set,O=2>r.formatContext.insertionMode?ho(0,I,{htmlChunks:null,headChunks:null,bodyChunks:null,contribution:0},{htmlChunks:null,headChunks:null,bodyChunks:null,contribution:0}):ho(0,I,null,null);null!==t.trackedPostpones&&(O.trackedContentKeyPath=o);var A=bo(0,P.chunks.length,O,r.formatContext,!1,!1);P.children.push(A),P.lastPushedText=!1;var D=bo(0,0,null,r.formatContext,!1,!1);if(D.parentFlushed=!0,null!==t.trackedPostpones){E=[(_=[o[0],"Suspense Fallback",o[2]])[1],_[2],[],null],t.trackedPostpones.workingMap.set(_,E),O.trackedFallbackNode=E,r.blockedSegment=A,r.blockedPreamble=O.fallbackPreamble,r.keyPath=_,A.status=6;try{Oo(t,r,C,-1),A.lastPushedText&&A.textEmbedded&&A.chunks.push(_e),A.status=1}catch(N){throw A.status=12===t.status?3:4,N}finally{r.blockedSegment=P,r.blockedPreamble=S,r.keyPath=v}vo(r=go(t,null,x,-1,O,D,O.contentPreamble,O.contentState,r.abortSet,o,r.formatContext,r.context,r.treeContext,r.componentStack,r.isFallback)),t.pingedTasks.push(r)}else{r.blockedBoundary=O,r.blockedPreamble=O.contentPreamble,r.hoistableState=O.contentState,r.blockedSegment=D,r.keyPath=o,D.status=6;try{if(Oo(t,r,x,-1),D.lastPushedText&&D.textEmbedded&&D.chunks.push(_e),D.status=1,Lo(O,D),0===O.pendingTasks&&0===O.status){O.status=1,0===t.pendingRootTasks&&r.blockedPreamble&&Ho(t);break e}}catch(F){O.status=4,12===t.status?(D.status=3,_=t.fatalError):(D.status=4,_=F),z=xo(t,_,E=yo(r.componentStack)),O.errorDigest=z,To(t,O)}finally{r.blockedBoundary=T,r.blockedPreamble=S,r.hoistableState=R,r.blockedSegment=P,r.keyPath=v}vo(r=go(t,null,C,-1,T,A,O.fallbackPreamble,O.fallbackState,I,[o[0],"Suspense Fallback",o[2]],r.formatContext,r.context,r.treeContext,r.componentStack,!0)),t.pingedTasks.push(r)}}return}if("object"==typeof v&&null!==v)switch(v.$$typeof){case d:if("ref"in x)for(O in _={},x)"ref"!==O&&(_[O]=x[O]);else _=x;return void wo(t,r,o,v=So(t,r,o,v.render,_,S),0!==Rr,Ir,Or);case h:return void _o(t,r,o,v.type,x,S);case s:case u:if(E=x.children,_=r.keyPath,x=x.value,z=v._currentValue,v._currentValue=x,or=v={parent:S=or,depth:null===S?0:S.depth+1,context:v,parentValue:z,value:x},r.context=v,r.keyPath=o,Eo(t,r,E,-1),null===(t=or))throw Error(n(403));return t.context._currentValue=t.parentValue,t=or=t.parent,r.context=t,void(r.keyPath=_);case c:return v=(x=x.children)(v._context._currentValue),x=r.keyPath,r.keyPath=o,Eo(t,r,v,-1),void(r.keyPath=x);case g:if(v=(_=v._init)(v._payload),12===t.status)throw null;return void _o(t,r,o,v,x,S)}throw Error(n(130,null==v?v:typeof v,""))}if(null===(_=r.blockedSegment))_=x.children,E=r.formatContext,z=r.keyPath,r.formatContext=we(E,v,x),r.keyPath=o,Oo(t,r,_,-1),r.formatContext=E,r.keyPath=z;else{S=function(t,r,o,a,i,l,s,c,u,d){switch(r){case"div":case"span":case"svg":case"path":case"g":case"p":case"li":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":break;case"a":t.push(ct("a"));var f,p=null,h=null;for(f in o)if($.call(o,f)){var g=o[f];if(null!=g)switch(f){case"children":p=g;break;case"dangerouslySetInnerHTML":h=g;break;case"href":""===g?Fe(t,"href",""):Ve(t,f,g);break;default:Ve(t,f,g)}}if(t.push(He),qe(t,h,p),"string"==typeof p){t.push(M(K(p)));var m=null}else m=p;return m;case"select":t.push(ct("select"));var b,v=null,y=null;for(b in o)if($.call(o,b)){var x=o[b];if(null!=x)switch(b){case"children":v=x;break;case"dangerouslySetInnerHTML":y=x;break;case"defaultValue":case"value":break;default:Ve(t,b,x)}}return t.push(He),qe(t,y,v),v;case"option":var k=c.selectedValue;t.push(ct("option"));var S,_=null,C=null,E=null,P=null;for(S in o)if($.call(o,S)){var z=o[S];if(null!=z)switch(S){case"children":_=z;break;case"selected":E=z;break;case"dangerouslySetInnerHTML":P=z;break;case"value":C=z;default:Ve(t,S,z)}}if(null!=k){var T=null!==C?""+C:function(t){var n="";return e.Children.forEach(t,function(e){null!=e&&(n+=e)}),n}(_);if(w(k)){for(var R=0;R<k.length;R++)if(""+k[R]===T){t.push(Ge);break}}else""+k===T&&t.push(Ge)}else E&&t.push(Ge);return t.push(He),qe(t,P,_),_;case"textarea":t.push(ct("textarea"));var I,O=null,A=null,D=null;for(I in o)if($.call(o,I)){var N=o[I];if(null!=N)switch(I){case"children":D=N;break;case"value":O=N;break;case"defaultValue":A=N;break;case"dangerouslySetInnerHTML":throw Error(n(91));default:Ve(t,I,N)}}if(null===O&&null!==A&&(O=A),t.push(He),null!=D){if(null!=O)throw Error(n(92));if(w(D)){if(1<D.length)throw Error(n(93));O=""+D[0]}O=""+D}return"string"==typeof O&&"\n"===O[0]&&t.push(it),null!==O&&t.push(M(K(""+O))),null;case"input":t.push(ct("input"));var F,j=null,L=null,W=null,V=null,H=null,U=null,G=null,Y=null,X=null;for(F in o)if($.call(o,F)){var Q=o[F];if(null!=Q)switch(F){case"children":case"dangerouslySetInnerHTML":throw Error(n(399,"input"));case"name":j=Q;break;case"formAction":L=Q;break;case"formEncType":W=Q;break;case"formMethod":V=Q;break;case"formTarget":H=Q;break;case"defaultChecked":X=Q;break;case"defaultValue":G=Q;break;case"checked":Y=Q;break;case"value":U=Q;break;default:Ve(t,F,Q)}}var J=$e(t,a,i,L,W,V,H,j);return null!==Y?Ne(t,"checked",Y):null!==X&&Ne(t,"checked",X),null!==U?Ve(t,"value",U):null!==G&&Ve(t,"value",G),t.push(Ue),null!=J&&J.forEach(Le,t),null;case"button":t.push(ct("button"));var Z,te=null,ne=null,re=null,oe=null,ie=null,le=null,se=null;for(Z in o)if($.call(o,Z)){var ce=o[Z];if(null!=ce)switch(Z){case"children":te=ce;break;case"dangerouslySetInnerHTML":ne=ce;break;case"name":re=ce;break;case"formAction":oe=ce;break;case"formEncType":ie=ce;break;case"formMethod":le=ce;break;case"formTarget":se=ce;break;default:Ve(t,Z,ce)}}var ue=$e(t,a,i,oe,ie,le,se,re);if(t.push(He),null!=ue&&ue.forEach(Le,t),qe(t,ne,te),"string"==typeof te){t.push(M(K(te)));var de=null}else de=te;return de;case"form":t.push(ct("form"));var fe,pe=null,he=null,ge=null,me=null,be=null,ve=null;for(fe in o)if($.call(o,fe)){var ye=o[fe];if(null!=ye)switch(fe){case"children":pe=ye;break;case"dangerouslySetInnerHTML":he=ye;break;case"action":ge=ye;break;case"encType":me=ye;break;case"method":be=ye;break;case"target":ve=ye;break;default:Ve(t,fe,ye)}}var xe=null,ke=null;if("function"==typeof ge){var Se=Be(a,ge);null!==Se?(ge=Se.action||"",me=Se.encType,be=Se.method,ve=Se.target,xe=Se.data,ke=Se.name):(t.push(Ie,M("action"),Oe,je,Ae),ve=be=me=ge=null,Xe(a,i))}if(null!=ge&&Ve(t,"action",ge),null!=me&&Ve(t,"encType",me),null!=be&&Ve(t,"method",be),null!=ve&&Ve(t,"target",ve),t.push(He),null!==ke&&(t.push(Me),Fe(t,"name",ke),t.push(Ue),null!=xe&&xe.forEach(Le,t)),qe(t,he,pe),"string"==typeof pe){t.push(M(K(pe)));var we=null}else we=pe;return we;case"menuitem":for(var Ce in t.push(ct("menuitem")),o)if($.call(o,Ce)){var Ee=o[Ce];if(null!=Ee)switch(Ce){case"children":case"dangerouslySetInnerHTML":throw Error(n(400));default:Ve(t,Ce,Ee)}}return t.push(He),null;case"object":t.push(ct("object"));var Pe,ze=null,Te=null;for(Pe in o)if($.call(o,Pe)){var De=o[Pe];if(null!=De)switch(Pe){case"children":ze=De;break;case"dangerouslySetInnerHTML":Te=De;break;case"data":var We=ee(""+De);if(""===We)break;t.push(Ie,M("data"),Oe,M(K(We)),Ae);break;default:Ve(t,Pe,De)}}if(t.push(He),qe(t,Te,ze),"string"==typeof ze){t.push(M(K(ze)));var Ye=null}else Ye=ze;return Ye;case"title":if(4===c.insertionMode||1&c.tagScope||null!=o.itemProp)var Ke=nt(t,o);else d?Ke=null:(nt(i.hoistableChunks,o),Ke=void 0);return Ke;case"link":var Qe=o.rel,lt=o.href,st=o.precedence;if(4===c.insertionMode||1&c.tagScope||null!=o.itemProp||"string"!=typeof Qe||"string"!=typeof lt||""===lt){Je(t,o);var dt=null}else if("stylesheet"===o.rel)if("string"!=typeof st||null!=o.disabled||o.onLoad||o.onError)dt=Je(t,o);else{var pt=i.styles.get(st),ht=a.styleResources.hasOwnProperty(lt)?a.styleResources[lt]:void 0;if(null!==ht){a.styleResources[lt]=null,pt||(pt={precedence:M(K(st)),rules:[],hrefs:[],sheets:new Map},i.styles.set(st,pt));var gt={state:0,props:B({},o,{"data-precedence":o.precedence,precedence:null})};if(ht){2===ht.length&&qn(gt.props,ht);var mt=i.preloads.stylesheets.get(lt);mt&&0<mt.length?mt.length=0:gt.state=1}pt.sheets.set(lt,gt),s&&s.stylesheets.add(gt)}else if(pt){var bt=pt.sheets.get(lt);bt&&s&&s.stylesheets.add(bt)}u&&t.push(_e),dt=null}else o.onLoad||o.onError?dt=Je(t,o):(u&&t.push(_e),dt=d?null:Je(i.hoistableChunks,o));return dt;case"script":var vt=o.async;if("string"!=typeof o.src||!o.src||!vt||"function"==typeof vt||"symbol"==typeof vt||o.onLoad||o.onError||4===c.insertionMode||1&c.tagScope||null!=o.itemProp)var yt=rt(t,o);else{var xt=o.src;if("module"===o.type)var kt=a.moduleScriptResources,St=i.preloads.moduleScripts;else kt=a.scriptResources,St=i.preloads.scripts;var wt=kt.hasOwnProperty(xt)?kt[xt]:void 0;if(null!==wt){kt[xt]=null;var _t=o;if(wt){2===wt.length&&qn(_t=B({},o),wt);var Ct=St.get(xt);Ct&&(Ct.length=0)}var Et=[];i.scripts.add(Et),rt(Et,_t)}u&&t.push(_e),yt=null}return yt;case"style":var Pt=o.precedence,zt=o.href;if(4===c.insertionMode||1&c.tagScope||null!=o.itemProp||"string"!=typeof Pt||"string"!=typeof zt||""===zt){t.push(ct("style"));var Tt,Rt=null,It=null;for(Tt in o)if($.call(o,Tt)){var Ot=o[Tt];if(null!=Ot)switch(Tt){case"children":Rt=Ot;break;case"dangerouslySetInnerHTML":It=Ot;break;default:Ve(t,Tt,Ot)}}t.push(He);var At=Array.isArray(Rt)?2>Rt.length?Rt[0]:null:Rt;"function"!=typeof At&&"symbol"!=typeof At&&null!=At&&t.push(M((""+At).replace(Ze,et))),qe(t,It,Rt),t.push(ft("style"));var Dt=null}else{var Nt=i.styles.get(Pt);if(null!==(a.styleResources.hasOwnProperty(zt)?a.styleResources[zt]:void 0)){a.styleResources[zt]=null,Nt?Nt.hrefs.push(M(K(zt))):(Nt={precedence:M(K(Pt)),rules:[],hrefs:[M(K(zt))],sheets:new Map},i.styles.set(Pt,Nt));var Ft,jt=Nt.rules,Mt=null,Lt=null;for(Ft in o)if($.call(o,Ft)){var Wt=o[Ft];if(null!=Wt)switch(Ft){case"children":Mt=Wt;break;case"dangerouslySetInnerHTML":Lt=Wt}}var Bt=Array.isArray(Mt)?2>Mt.length?Mt[0]:null:Mt;"function"!=typeof Bt&&"symbol"!=typeof Bt&&null!=Bt&&jt.push(M((""+Bt).replace(Ze,et))),qe(jt,Lt,Mt)}Nt&&s&&s.styles.add(Nt),u&&t.push(_e),Dt=void 0}return Dt;case"meta":if(4===c.insertionMode||1&c.tagScope||null!=o.itemProp)var $t=tt(t,o,"meta");else u&&t.push(_e),$t=d?null:"string"==typeof o.charSet?tt(i.charsetChunks,o,"meta"):"viewport"===o.name?tt(i.viewportChunks,o,"meta"):tt(i.hoistableChunks,o,"meta");return $t;case"listing":case"pre":t.push(ct(r));var Vt,Ht=null,Ut=null;for(Vt in o)if($.call(o,Vt)){var qt=o[Vt];if(null!=qt)switch(Vt){case"children":Ht=qt;break;case"dangerouslySetInnerHTML":Ut=qt;break;default:Ve(t,Vt,qt)}}if(t.push(He),null!=Ut){if(null!=Ht)throw Error(n(60));if("object"!=typeof Ut||!("__html"in Ut))throw Error(n(61));var Gt=Ut.__html;null!=Gt&&("string"==typeof Gt&&0<Gt.length&&"\n"===Gt[0]?t.push(it,M(Gt)):t.push(M(""+Gt)))}return"string"==typeof Ht&&"\n"===Ht[0]&&t.push(it),Ht;case"img":var Yt=o.src,Xt=o.srcSet;if(!("lazy"===o.loading||!Yt&&!Xt||"string"!=typeof Yt&&null!=Yt||"string"!=typeof Xt&&null!=Xt)&&"low"!==o.fetchPriority&&0==!!(3&c.tagScope)&&("string"!=typeof Yt||":"!==Yt[4]||"d"!==Yt[0]&&"D"!==Yt[0]||"a"!==Yt[1]&&"A"!==Yt[1]||"t"!==Yt[2]&&"T"!==Yt[2]||"a"!==Yt[3]&&"A"!==Yt[3])&&("string"!=typeof Xt||":"!==Xt[4]||"d"!==Xt[0]&&"D"!==Xt[0]||"a"!==Xt[1]&&"A"!==Xt[1]||"t"!==Xt[2]&&"T"!==Xt[2]||"a"!==Xt[3]&&"A"!==Xt[3])){var Kt="string"==typeof o.sizes?o.sizes:void 0,Qt=Xt?Xt+"\n"+(Kt||""):Yt,Jt=i.preloads.images,Zt=Jt.get(Qt);if(Zt)("high"===o.fetchPriority||10>i.highImagePreloads.size)&&(Jt.delete(Qt),i.highImagePreloads.add(Zt));else if(!a.imageResources.hasOwnProperty(Qt)){a.imageResources[Qt]=ae;var en,tn=o.crossOrigin,nn="string"==typeof tn?"use-credentials"===tn?tn:"":void 0,rn=i.headers;rn&&0<rn.remainingCapacity&&"string"!=typeof o.srcSet&&("high"===o.fetchPriority||500>rn.highImagePreloads.length)&&(en=Gn(Yt,"image",{imageSrcSet:o.srcSet,imageSizes:o.sizes,crossOrigin:nn,integrity:o.integrity,nonce:o.nonce,type:o.type,fetchPriority:o.fetchPriority,referrerPolicy:o.refererPolicy}),0<=(rn.remainingCapacity-=en.length+2))?(i.resets.image[Qt]=ae,rn.highImagePreloads&&(rn.highImagePreloads+=", "),rn.highImagePreloads+=en):(Je(Zt=[],{rel:"preload",as:"image",href:Xt?void 0:Yt,imageSrcSet:Xt,imageSizes:Kt,crossOrigin:nn,integrity:o.integrity,type:o.type,fetchPriority:o.fetchPriority,referrerPolicy:o.referrerPolicy}),"high"===o.fetchPriority||10>i.highImagePreloads.size?i.highImagePreloads.add(Zt):(i.bulkPreloads.add(Zt),Jt.set(Qt,Zt)))}}return tt(t,o,"img");case"base":case"area":case"br":case"col":case"embed":case"hr":case"keygen":case"param":case"source":case"track":case"wbr":return tt(t,o,r);case"head":if(2>c.insertionMode){var on=l||i.preamble;if(on.headChunks)throw Error(n(545,"`<head>`"));on.headChunks=[];var an=ot(on.headChunks,o,"head")}else an=at(t,o,"head");return an;case"body":if(2>c.insertionMode){var ln=l||i.preamble;if(ln.bodyChunks)throw Error(n(545,"`<body>`"));ln.bodyChunks=[];var sn=ot(ln.bodyChunks,o,"body")}else sn=at(t,o,"body");return sn;case"html":if(0===c.insertionMode){var cn=l||i.preamble;if(cn.htmlChunks)throw Error(n(545,"`<html>`"));cn.htmlChunks=[ut];var un=ot(cn.htmlChunks,o,"html")}else un=at(t,o,"html");return un;default:if(-1!==r.indexOf("-")){t.push(ct(r));var dn,fn=null,pn=null;for(dn in o)if($.call(o,dn)){var hn=o[dn];if(null!=hn){var gn=dn;switch(dn){case"children":fn=hn;break;case"dangerouslySetInnerHTML":pn=hn;break;case"style":Re(t,hn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"className":gn="class";default:if(q(dn)&&"function"!=typeof hn&&"symbol"!=typeof hn&&!1!==hn){if(!0===hn)hn="";else if("object"==typeof hn)continue;t.push(Ie,M(gn),Oe,M(K(hn)),Ae)}}}}return t.push(He),qe(t,pn,fn),fn}}return at(t,o,r)}(_.chunks,v,x,t.resumableState,t.renderState,r.blockedPreamble,r.hoistableState,r.formatContext,_.lastPushedText,r.isFallback),_.lastPushedText=!1,E=r.formatContext,z=r.keyPath,r.keyPath=o,3===(r.formatContext=we(E,v,x)).insertionMode?(o=bo(0,0,null,r.formatContext,!1,!1),_.preambleChildren.push(o),vo(o=go(t,null,S,-1,r.blockedBoundary,o,r.blockedPreamble,r.hoistableState,t.abortableTasks,r.keyPath,r.formatContext,r.context,r.treeContext,r.componentStack,r.isFallback)),t.pingedTasks.push(o)):Oo(t,r,S,-1),r.formatContext=E,r.keyPath=z;e:{switch(r=_.chunks,t=t.resumableState,v){case"title":case"style":case"script":case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break e;case"body":if(1>=E.insertionMode){t.hasBody=!0;break e}break;case"html":if(0===E.insertionMode){t.hasHtml=!0;break e}break;case"head":if(1>=E.insertionMode)break e}r.push(ft(v))}_.lastPushedText=!1}}}function Co(e,t,n,r,o){var a=t.replay,i=t.blockedBoundary,l=bo(0,0,null,t.formatContext,!1,!1);l.id=n,l.parentFlushed=!0;try{t.replay=null,t.blockedSegment=l,Oo(e,t,r,o),l.status=1,null===i?e.completedRootSegment=l:(Lo(i,l),i.parentFlushed&&e.partialBoundaries.push(i))}finally{t.replay=a,t.blockedSegment=null}}function Eo(e,t,n,r){null!==t.replay&&"number"==typeof t.replay.slots?Co(e,t,t.replay.slots,n,r):(t.node=n,t.childIndex=r,n=t.componentStack,vo(t),Po(e,t),t.componentStack=n)}function Po(e,t){var a=t.node,i=t.childIndex;if(null!==a){if("object"==typeof a){switch(a.$$typeof){case r:var l=a.type,s=a.key,c=a.props,d=void 0!==(a=c.ref)?a:null,p=nr(l),h=null==s?-1===i?0:i:s;if(s=[t.keyPath,p,h],null!==t.replay)e:{var m=t.replay;for(i=m.nodes,a=0;a<i.length;a++){var b=i[a];if(h===b[1]){if(4===b.length){if(null!==p&&p!==b[0])throw Error(n(490,b[0],p));var v=b[2];p=b[3],h=t.node,t.replay={nodes:v,slots:p,pendingTasks:1};try{if(_o(e,t,s,l,c,d),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(n(488));t.replay.pendingTasks--}catch(z){if("object"==typeof z&&null!==z&&(z===br||"function"==typeof z.then))throw t.node===h&&(t.replay=m),z;t.replay.pendingTasks--,c=yo(t.componentStack),Do(e,s=t.blockedBoundary,v,p,l=z,c=xo(e,l,c))}t.replay=m}else{if(l!==f)throw Error(n(490,"Suspense",nr(l)||"Unknown"));t:{m=void 0,l=b[5],d=b[2],p=b[3],h=null===b[4]?[]:b[4][2],b=null===b[4]?null:b[4][3];var y=t.keyPath,x=t.replay,k=t.blockedBoundary,_=t.hoistableState,C=c.children,E=c.fallback,P=new Set;(c=2>t.formatContext.insertionMode?ho(0,P,xe(),xe()):ho(0,P,null,null)).parentFlushed=!0,c.rootSegmentID=l,t.blockedBoundary=c,t.hoistableState=c.contentState,t.keyPath=s,t.replay={nodes:d,slots:p,pendingTasks:1};try{if(Oo(e,t,C,-1),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(n(488));if(t.replay.pendingTasks--,0===c.pendingTasks&&0===c.status){c.status=1,e.completedBoundaries.push(c);break t}}catch(fx){c.status=4,m=xo(e,fx,v=yo(t.componentStack)),c.errorDigest=m,t.replay.pendingTasks--,e.clientRenderedBoundaries.push(c)}finally{t.blockedBoundary=k,t.hoistableState=_,t.replay=x,t.keyPath=y}vo(t=mo(e,null,{nodes:h,slots:b,pendingTasks:0},E,-1,k,c.fallbackState,P,[s[0],"Suspense Fallback",s[2]],t.formatContext,t.context,t.treeContext,t.componentStack,!0)),e.pingedTasks.push(t)}}i.splice(a,1);break e}}}else _o(e,t,s,l,c,d);return;case o:throw Error(n(257));case g:if(a=(v=a._init)(a._payload),12===e.status)throw null;return void Eo(e,t,a,i)}if(w(a))return void zo(e,t,a,i);if((v=null===a||"object"!=typeof a?null:"function"==typeof(v=S&&a[S]||a["@@iterator"])?v:null)&&(v=v.call(a))){if(!(a=v.next()).done){c=[];do{c.push(a.value),a=v.next()}while(!a.done);zo(e,t,c,i)}return}if("function"==typeof a.then)return t.thenableState=null,Eo(e,t,Xr(a),i);if(a.$$typeof===u)return Eo(e,t,a._currentValue,i);throw i=Object.prototype.toString.call(a),Error(n(31,"[object Object]"===i?"object with keys {"+Object.keys(a).join(", ")+"}":i))}"string"==typeof a?null!==(i=t.blockedSegment)&&(i.lastPushedText=Ce(i.chunks,a,e.renderState,i.lastPushedText)):"number"!=typeof a&&"bigint"!=typeof a||null!==(i=t.blockedSegment)&&(i.lastPushedText=Ce(i.chunks,""+a,e.renderState,i.lastPushedText))}}function zo(e,t,r,o){var a=t.keyPath;if(-1===o||(t.keyPath=[t.keyPath,"Fragment",o],null===t.replay)){if(i=t.treeContext,l=r.length,null!==t.replay&&null!==(s=t.replay.slots)&&"object"==typeof s){for(o=0;o<l;o++)c=r[o],t.treeContext=pr(i,l,o),"number"==typeof(u=s[o])?(Co(e,t,u,c,o),delete s[o]):Oo(e,t,c,o);return t.treeContext=i,void(t.keyPath=a)}for(s=0;s<l;s++)o=r[s],t.treeContext=pr(i,l,s),Oo(e,t,o,s);t.treeContext=i,t.keyPath=a}else{for(var i=t.replay,l=i.nodes,s=0;s<l.length;s++){var c=l[s];if(c[1]===o){o=c[2],c=c[3],t.replay={nodes:o,slots:c,pendingTasks:1};try{if(zo(e,t,r,-1),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(n(488));t.replay.pendingTasks--}catch(d){if("object"==typeof d&&null!==d&&(d===br||"function"==typeof d.then))throw d;t.replay.pendingTasks--,r=yo(t.componentStack);var u=t.blockedBoundary;Do(e,u,o,c,d,r=xo(e,d,r))}t.replay=i,l.splice(s,1);break}}t.keyPath=a}}function To(e,t){null!==(e=e.trackedPostpones)&&null!==(t=t.trackedContentKeyPath)&&void 0!==(t=e.workingMap.get(t))&&(t.length=4,t[2]=[],t[3]=null)}function Ro(e,t,n){return mo(e,n,t.replay,t.node,t.childIndex,t.blockedBoundary,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.componentStack,t.isFallback)}function Io(e,t,n){var r=t.blockedSegment,o=bo(0,r.chunks.length,null,t.formatContext,r.lastPushedText,!0);return r.children.push(o),r.lastPushedText=!1,go(e,n,t.node,t.childIndex,t.blockedBoundary,o,t.blockedPreamble,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.componentStack,t.isFallback)}function Oo(e,t,n,r){var o=t.formatContext,a=t.context,i=t.keyPath,l=t.treeContext,s=t.componentStack,c=t.blockedSegment;if(null===c)try{return Eo(e,t,n,r)}catch(f){if(Br(),"object"==typeof(n=f===br?xr():f)&&null!==n){if("function"==typeof n.then)return e=Ro(e,t,r=Wr()).ping,n.then(e,e),t.formatContext=o,t.context=a,t.keyPath=i,t.treeContext=l,t.componentStack=s,void ur(a);if("Maximum call stack size exceeded"===n.message)return n=Ro(e,t,n=Wr()),e.pingedTasks.push(n),t.formatContext=o,t.context=a,t.keyPath=i,t.treeContext=l,t.componentStack=s,void ur(a)}}else{var u=c.children.length,d=c.chunks.length;try{return Eo(e,t,n,r)}catch(p){if(Br(),c.children.length=u,c.chunks.length=d,"object"==typeof(n=p===br?xr():p)&&null!==n){if("function"==typeof n.then)return e=Io(e,t,r=Wr()).ping,n.then(e,e),t.formatContext=o,t.context=a,t.keyPath=i,t.treeContext=l,t.componentStack=s,void ur(a);if("Maximum call stack size exceeded"===n.message)return n=Io(e,t,n=Wr()),e.pingedTasks.push(n),t.formatContext=o,t.context=a,t.keyPath=i,t.treeContext=l,t.componentStack=s,void ur(a)}}}throw t.formatContext=o,t.context=a,t.keyPath=i,t.treeContext=l,ur(a),n}function Ao(e){var t=e.blockedBoundary;null!==(e=e.blockedSegment)&&(e.status=3,Wo(this,t,e))}function Do(e,t,r,o,a,i){for(var l=0;l<r.length;l++){var s=r[l];if(4===s.length)Do(e,t,s[2],s[3],a,i);else{s=s[5];var c=e,u=i,d=ho(0,new Set,null,null);d.parentFlushed=!0,d.rootSegmentID=s,d.status=4,d.errorDigest=u,d.parentFlushed&&c.clientRenderedBoundaries.push(d)}}if(r.length=0,null!==o){if(null===t)throw Error(n(487));if(4!==t.status&&(t.status=4,t.errorDigest=i,t.parentFlushed&&e.clientRenderedBoundaries.push(t)),"object"==typeof o)for(var f in o)delete o[f]}}function No(e,t,n){var r=e.blockedBoundary,o=e.blockedSegment;if(null!==o){if(6===o.status)return;o.status=3}if(o=yo(e.componentStack),null===r){if(13!==t.status&&14!==t.status){if(null===(r=e.replay))return xo(t,n,o),void ko(t,n);r.pendingTasks--,0===r.pendingTasks&&0<r.nodes.length&&(e=xo(t,n,o),Do(t,null,r.nodes,r.slots,n,e)),t.pendingRootTasks--,0===t.pendingRootTasks&&jo(t)}}else r.pendingTasks--,4!==r.status&&(r.status=4,e=xo(t,n,o),r.status=4,r.errorDigest=e,To(t,r),r.parentFlushed&&t.clientRenderedBoundaries.push(r)),r.fallbackAbortableTasks.forEach(function(e){return No(e,t,n)}),r.fallbackAbortableTasks.clear();t.allPendingTasks--,0===t.allPendingTasks&&Mo(t)}function Fo(e,t){try{var n=e.renderState,r=n.onHeaders;if(r){var o=n.headers;if(o){n.headers=null;var a=o.preconnects;if(o.fontPreloads&&(a&&(a+=", "),a+=o.fontPreloads),o.highImagePreloads&&(a&&(a+=", "),a+=o.highImagePreloads),!t){var i=n.styles.values(),l=i.next();e:for(;0<o.remainingCapacity&&!l.done;l=i.next())for(var s=l.value.sheets.values(),c=s.next();0<o.remainingCapacity&&!c.done;c=s.next()){var u=c.value,d=u.props,f=d.href,p=u.props,h=Gn(p.href,"style",{crossOrigin:p.crossOrigin,integrity:p.integrity,nonce:p.nonce,type:p.type,fetchPriority:p.fetchPriority,referrerPolicy:p.referrerPolicy,media:p.media});if(!(0<=(o.remainingCapacity-=h.length+2)))break e;n.resets.style[f]=ae,a&&(a+=", "),a+=h,n.resets.style[f]="string"==typeof d.crossOrigin||"string"==typeof d.integrity?[d.crossOrigin,d.integrity]:ae}}r(a?{Link:a}:{})}}}catch(fx){xo(e,fx,{})}}function jo(e){null===e.trackedPostpones&&Fo(e,!0),null===e.trackedPostpones&&Ho(e),e.onShellError=so,(e=e.onShellReady)()}function Mo(e){Fo(e,null===e.trackedPostpones||null===e.completedRootSegment||5!==e.completedRootSegment.status),Ho(e),(e=e.onAllReady)()}function Lo(e,t){if(0===t.chunks.length&&1===t.children.length&&null===t.children[0].boundary&&-1===t.children[0].id){var n=t.children[0];n.id=t.id,n.parentFlushed=!0,1===n.status&&Lo(e,n)}else e.completedSegments.push(t)}function Wo(e,t,r){if(null===t){if(null!==r&&r.parentFlushed){if(null!==e.completedRootSegment)throw Error(n(389));e.completedRootSegment=r}e.pendingRootTasks--,0===e.pendingRootTasks&&jo(e)}else t.pendingTasks--,4!==t.status&&(0===t.pendingTasks?(0===t.status&&(t.status=1),null!==r&&r.parentFlushed&&1===r.status&&Lo(t,r),t.parentFlushed&&e.completedBoundaries.push(t),1===t.status&&(t.fallbackAbortableTasks.forEach(Ao,e),t.fallbackAbortableTasks.clear(),0===e.pendingRootTasks&&null===e.trackedPostpones&&null!==t.contentPreamble&&Ho(e))):null!==r&&r.parentFlushed&&1===r.status&&(Lo(t,r),1===t.completedSegments.length&&t.parentFlushed&&e.partialBoundaries.push(t)));e.allPendingTasks--,0===e.allPendingTasks&&Mo(e)}function Bo(e){if(14!==e.status&&13!==e.status){var t=or,r=te.H;te.H=eo;var o=te.A;te.A=no;var a=fo;fo=e;var i=to;to=e.resumableState;try{var l,s=e.pingedTasks;for(l=0;l<s.length;l++){var c=s[l],u=e,d=c.blockedSegment;if(null===d){var f=u;if(0!==c.replay.pendingTasks){ur(c.context);try{if("number"==typeof c.replay.slots?Co(f,c,c.replay.slots,c.node,c.childIndex):Po(f,c),1===c.replay.pendingTasks&&0<c.replay.nodes.length)throw Error(n(488));c.replay.pendingTasks--,c.abortSet.delete(c),Wo(f,c.blockedBoundary,null)}catch(C){Br();var p=C===br?xr():C;if("object"==typeof p&&null!==p&&"function"==typeof p.then){var h=c.ping;p.then(h,h),c.thenableState=Wr()}else{c.replay.pendingTasks--,c.abortSet.delete(c);var g=yo(c.componentStack);u=void 0;var m=f,b=c.blockedBoundary,v=12===f.status?f.fatalError:p;Do(m,b,c.replay.nodes,c.replay.slots,v,u=xo(m,v,g)),f.pendingRootTasks--,0===f.pendingRootTasks&&jo(f),f.allPendingTasks--,0===f.allPendingTasks&&Mo(f)}}}}else if(f=void 0,0===(m=d).status){m.status=6,ur(c.context);var y=m.children.length,x=m.chunks.length;try{Po(u,c),m.lastPushedText&&m.textEmbedded&&m.chunks.push(_e),c.abortSet.delete(c),m.status=1,Wo(u,c.blockedBoundary,m)}catch(C){Br(),m.children.length=y,m.chunks.length=x;var k=C===br?xr():12===u.status?u.fatalError:C;if("object"==typeof k&&null!==k&&"function"==typeof k.then){m.status=0,c.thenableState=Wr();var S=c.ping;k.then(S,S)}else{var w=yo(c.componentStack);c.abortSet.delete(c),m.status=4;var _=c.blockedBoundary;f=xo(u,k,w),null===_?ko(u,k):(_.pendingTasks--,4!==_.status&&(_.status=4,_.errorDigest=f,To(u,_),_.parentFlushed&&u.clientRenderedBoundaries.push(_),0===u.pendingRootTasks&&null===u.trackedPostpones&&null!==_.contentPreamble&&Ho(u))),u.allPendingTasks--,0===u.allPendingTasks&&Mo(u)}}}}s.splice(0,l),null!==e.destination&&Ko(e,e.destination)}catch(fx){xo(e,fx,{}),ko(e,fx)}finally{to=i,te.H=r,te.A=o,r===eo&&ur(t),fo=a}}}function $o(e,t,n){t.preambleChildren.length&&n.push(t.preambleChildren);for(var r=!1,o=0;o<t.children.length;o++)r=Vo(e,t.children[o],n)||r;return r}function Vo(e,t,r){var o=t.boundary;if(null===o)return $o(e,t,r);var a=o.contentPreamble,i=o.fallbackPreamble;if(null===a||null===i)return!1;switch(o.status){case 1:if(pt(e.renderState,a),!(t=o.completedSegments[0]))throw Error(n(391));return $o(e,t,r);case 5:if(null!==e.trackedPostpones)return!0;case 4:if(1===t.status)return pt(e.renderState,i),$o(e,t,r);default:return!0}}function Ho(e){if(e.completedRootSegment&&null===e.completedPreambleSegments){var t=[],n=Vo(e,e.completedRootSegment,t),r=e.renderState.preamble;(!1===n||r.headChunks&&r.bodyChunks)&&(e.completedPreambleSegments=t)}}function Uo(e,t,r,o){switch(r.parentFlushed=!0,r.status){case 0:r.id=e.nextSegmentId++;case 5:return o=r.id,r.lastPushedText=!1,r.textEmbedded=!1,e=e.renderState,A(t,gt),A(t,e.placeholderPrefix),A(t,e=M(o.toString(16))),D(t,mt);case 1:r.status=2;var a=!0,i=r.chunks,l=0;r=r.children;for(var s=0;s<r.length;s++){for(a=r[s];l<a.index;l++)A(t,i[l]);a=qo(e,t,a,o)}for(;l<i.length-1;l++)A(t,i[l]);return l<i.length&&(a=D(t,i[l])),a;default:throw Error(n(390))}}function qo(e,t,r,o){var a=r.boundary;if(null===a)return Uo(e,t,r,o);if(a.parentFlushed=!0,4===a.status){var i=a.errorDigest;return D(t,xt),A(t,St),i&&(A(t,_t),A(t,M(K(i))),A(t,wt)),D(t,Ct),Uo(e,t,r,o),(e=a.fallbackPreamble)&&Tt(t,e),D(t,kt)}if(1!==a.status)return 0===a.status&&(a.rootSegmentID=e.nextSegmentId++),0<a.completedSegments.length&&e.partialBoundaries.push(a),Et(t,e.renderState,a.rootSegmentID),o&&((a=a.fallbackState).styles.forEach(Jn,o),a.stylesheets.forEach(Zn,o)),Uo(e,t,r,o),D(t,kt);if(a.byteSize>e.progressiveChunkSize)return a.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(a),Et(t,e.renderState,a.rootSegmentID),Uo(e,t,r,o),D(t,kt);if(o&&((r=a.contentState).styles.forEach(Jn,o),r.stylesheets.forEach(Zn,o)),D(t,bt),1!==(r=a.completedSegments).length)throw Error(n(391));return qo(e,t,r[0],o),(e=a.contentPreamble)&&Tt(t,e),D(t,kt)}function Go(e,t,r,o){return function(e,t,r,o){switch(r.insertionMode){case 0:case 1:case 3:case 2:return A(e,Rt),A(e,t.segmentPrefix),A(e,M(o.toString(16))),D(e,It);case 4:return A(e,At),A(e,t.segmentPrefix),A(e,M(o.toString(16))),D(e,Dt);case 5:return A(e,Ft),A(e,t.segmentPrefix),A(e,M(o.toString(16))),D(e,jt);case 6:return A(e,Lt),A(e,t.segmentPrefix),A(e,M(o.toString(16))),D(e,Wt);case 7:return A(e,$t),A(e,t.segmentPrefix),A(e,M(o.toString(16))),D(e,Vt);case 8:return A(e,Ut),A(e,t.segmentPrefix),A(e,M(o.toString(16))),D(e,qt);case 9:return A(e,Yt),A(e,t.segmentPrefix),A(e,M(o.toString(16))),D(e,Xt);default:throw Error(n(397))}}(t,e.renderState,r.parentFormatContext,r.id),qo(e,t,r,o),function(e,t){switch(t.insertionMode){case 0:case 1:case 3:case 2:return D(e,Ot);case 4:return D(e,Nt);case 5:return D(e,Mt);case 6:return D(e,Bt);case 7:return D(e,Ht);case 8:return D(e,Gt);case 9:return D(e,Kt);default:throw Error(n(397))}}(t,r.parentFormatContext)}function Yo(e,t,r){for(var o=r.completedSegments,a=0;a<o.length;a++)Xo(e,t,r,o[a]);o.length=0,zn(t,r.contentState,e.renderState),o=e.resumableState,e=e.renderState,a=r.rootSegmentID,r=r.contentState;var i=e.stylesToHoist;return e.stylesToHoist=!1,A(t,e.startInlineScript),i?2&o.instructions?8&o.instructions?A(t,an):(o.instructions|=8,A(t,on)):(o.instructions|=10,A(t,rn)):2&o.instructions?A(t,nn):(o.instructions|=2,A(t,tn)),o=M(a.toString(16)),A(t,e.boundaryPrefix),A(t,o),A(t,ln),A(t,e.segmentPrefix),A(t,o),i?(A(t,sn),function(e,t){A(e,Wn);var r=Wn;t.stylesheets.forEach(function(t){if(2!==t.state)if(3===t.state)A(e,r),A(e,M(yn(""+t.props.href))),A(e,Vn),r=Bn;else{A(e,r);var o=t.props["data-precedence"],a=t.props,i=ee(""+t.props.href);for(var l in A(e,M(yn(i))),o=""+o,A(e,$n),A(e,M(yn(o))),a)if($.call(a,l)&&null!=(o=a[l]))switch(l){case"href":case"rel":case"precedence":case"data-precedence":break;case"children":case"dangerouslySetInnerHTML":throw Error(n(399,"link"));default:Hn(e,l,o)}A(e,Vn),r=Bn,t.state=3}}),A(e,Vn)}(t,r)):A(t,cn),r=D(t,un),ht(t,e)&&r}function Xo(e,t,r,o){if(2===o.status)return!0;var a=r.contentState,i=o.id;if(-1===i){if(-1===(o.id=r.rootSegmentID))throw Error(n(392));return Go(e,t,o,a)}return i===r.rootSegmentID?Go(e,t,o,a):(Go(e,t,o,a),r=e.resumableState,A(t,(e=e.renderState).startInlineScript),1&r.instructions?A(t,Jt):(r.instructions|=1,A(t,Qt)),A(t,e.segmentPrefix),A(t,i=M(i.toString(16))),A(t,Zt),A(t,e.placeholderPrefix),A(t,i),t=D(t,en))}function Ko(e,t){I=new Uint8Array(2048),O=0;try{if(!(0<e.pendingRootTasks)){var n,r=e.completedRootSegment;if(null!==r){if(5===r.status)return;var o=e.completedPreambleSegments;if(null===o)return;var a,i=e.renderState,l=i.preamble,s=l.htmlChunks,c=l.headChunks;if(s){for(a=0;a<s.length;a++)A(t,s[a]);if(c)for(a=0;a<c.length;a++)A(t,c[a]);else A(t,ct("head")),A(t,He)}else if(c)for(a=0;a<c.length;a++)A(t,c[a]);var u=i.charsetChunks;for(a=0;a<u.length;a++)A(t,u[a]);u.length=0,i.preconnects.forEach(Tn,t),i.preconnects.clear();var d=i.viewportChunks;for(a=0;a<d.length;a++)A(t,d[a]);d.length=0,i.fontPreloads.forEach(Tn,t),i.fontPreloads.clear(),i.highImagePreloads.forEach(Tn,t),i.highImagePreloads.clear(),i.styles.forEach(jn,t);var f=i.importMapChunks;for(a=0;a<f.length;a++)A(t,f[a]);f.length=0,i.bootstrapScripts.forEach(Tn,t),i.scripts.forEach(Tn,t),i.scripts.clear(),i.bulkPreloads.forEach(Tn,t),i.bulkPreloads.clear();var p=i.hoistableChunks;for(a=0;a<p.length;a++)A(t,p[a]);for(i=p.length=0;i<o.length;i++){var h=o[i];for(l=0;l<h.length;l++)qo(e,t,h[l],null)}var g=e.renderState.preamble,m=g.headChunks;(g.htmlChunks||m)&&A(t,ft("head"));var b=g.bodyChunks;if(b)for(o=0;o<b.length;o++)A(t,b[o]);qo(e,t,r,null),e.completedRootSegment=null,ht(t,e.renderState)}var v=e.renderState;r=0;var y=v.viewportChunks;for(r=0;r<y.length;r++)A(t,y[r]);y.length=0,v.preconnects.forEach(Tn,t),v.preconnects.clear(),v.fontPreloads.forEach(Tn,t),v.fontPreloads.clear(),v.highImagePreloads.forEach(Tn,t),v.highImagePreloads.clear(),v.styles.forEach(Ln,t),v.scripts.forEach(Tn,t),v.scripts.clear(),v.bulkPreloads.forEach(Tn,t),v.bulkPreloads.clear();var x=v.hoistableChunks;for(r=0;r<x.length;r++)A(t,x[r]);x.length=0;var k=e.clientRenderedBoundaries;for(n=0;n<k.length;n++){var S=k[n];v=t;var w=e.resumableState,_=e.renderState,C=S.rootSegmentID,E=S.errorDigest;A(v,_.startInlineScript),4&w.instructions?A(v,fn):(w.instructions|=4,A(v,dn)),A(v,_.boundaryPrefix),A(v,M(C.toString(16))),A(v,pn),E&&(A(v,hn),A(v,M(bn(E||""))));var P=D(v,gn);if(!P)return e.destination=null,n++,void k.splice(0,n)}k.splice(0,n);var z=e.completedBoundaries;for(n=0;n<z.length;n++)if(!Yo(e,t,z[n]))return e.destination=null,n++,void z.splice(0,n);z.splice(0,n),N(t),I=new Uint8Array(2048),O=0;var T=e.partialBoundaries;for(n=0;n<T.length;n++){var R=T[n];e:{k=e,S=t;var F=R.completedSegments;for(P=0;P<F.length;P++)if(!Xo(k,S,R,F[P])){P++,F.splice(0,P);var j=!1;break e}F.splice(0,P),j=zn(S,R.contentState,k.renderState)}if(!j)return e.destination=null,n++,void T.splice(0,n)}T.splice(0,n);var L=e.completedBoundaries;for(n=0;n<L.length;n++)if(!Yo(e,t,L[n]))return e.destination=null,n++,void L.splice(0,n);L.splice(0,n)}}finally{0===e.allPendingTasks&&0===e.pingedTasks.length&&0===e.clientRenderedBoundaries.length&&0===e.completedBoundaries.length?(e.flushScheduled=!1,(n=e.resumableState).hasBody&&A(t,ft("body")),n.hasHtml&&A(t,ft("html")),N(t),e.status=14,t.close(),e.destination=null):N(t)}}function Qo(e){e.flushScheduled=null!==e.destination,R(function(){return Bo(e)}),P(function(){10===e.status&&(e.status=11),null===e.trackedPostpones&&Fo(e,0===e.pendingRootTasks)})}function Jo(e){!1===e.flushScheduled&&0===e.pingedTasks.length&&null!==e.destination&&(e.flushScheduled=!0,P(function(){var t=e.destination;t?Ko(e,t):e.flushScheduled=!1}))}function Zo(e,t){if(13===e.status)e.status=14,W(t,e.fatalError);else if(14!==e.status&&null===e.destination){e.destination=t;try{Ko(e,t)}catch(fx){xo(e,fx,{}),ko(e,fx)}}}function ea(e,t){11!==e.status&&10!==e.status||(e.status=12);try{var r=e.abortableTasks;if(0<r.size){var o=void 0===t?Error(n(432)):"object"==typeof t&&null!==t&&"function"==typeof t.then?Error(n(530)):t;e.fatalError=o,r.forEach(function(t){return No(t,e,o)}),r.clear()}null!==e.destination&&Ko(e,e.destination)}catch(a){xo(e,a,{}),ko(e,a)}}function ta(){var t=e.version;if("19.1.1"!==t)throw Error(n(527,t,"19.1.1"))}return ta(),ta(),qy.prerender=function(e,t){return new Promise(function(n,r){var o,a=t?t.onHeaders:void 0;a&&(o=function(e){a(new Headers(e))});var i=ye(t?t.identifierPrefix:void 0,t&&t.unstable_externalRuntimeSrc,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),l=function(e,t,r,o,a,i,s,c,u,d,f){return(e=uo(e,t,r,o,a,i,function(){var e={prelude:new ReadableStream({type:"bytes",pull:function(e){Zo(l,e)},cancel:function(e){l.destination=null,ea(l,e)}},{highWaterMark:0})};n(e)},void 0,void 0,d,f,void 0)).trackedPostpones={workingMap:new Map,rootNodes:[],rootSlots:null},e}(e,i,ve(i,void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.importMap:void 0,o,t?t.maxHeadersLength:void 0),Se(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,0,0,0,r,t?t.onPostpone:void 0);if(t&&t.signal){var s=t.signal;if(s.aborted)ea(l,s.reason);else{var c=function(){ea(l,s.reason),s.removeEventListener("abort",c)};s.addEventListener("abort",c)}}Qo(l)})},qy.renderToReadableStream=function(e,t){return new Promise(function(n,r){var o,a,i,l=new Promise(function(e,t){a=e,o=t}),s=t?t.onHeaders:void 0;s&&(i=function(e){s(new Headers(e))});var c=ye(t?t.identifierPrefix:void 0,t&&t.unstable_externalRuntimeSrc,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),u=uo(e,c,ve(c,t?t.nonce:void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.importMap:void 0,i,t?t.maxHeadersLength:void 0),Se(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,a,function(){var e=new ReadableStream({type:"bytes",pull:function(e){Zo(u,e)},cancel:function(e){u.destination=null,ea(u,e)}},{highWaterMark:0});e.allReady=l,n(e)},function(e){l.catch(function(){}),r(e)},o,t?t.onPostpone:void 0,t?t.formState:void 0);if(t&&t.signal){var d=t.signal;if(d.aborted)ea(u,d.reason);else{var f=function(){ea(u,d.reason),d.removeEventListener("abort",f)};d.addEventListener("abort",f)}}Qo(u)})},qy.version="19.1.1",qy}function Yy(){return Uy||(Uy=1,e=Vy(),t=Gy(),By.version=e.version,By.renderToString=e.renderToString,By.renderToStaticMarkup=e.renderToStaticMarkup,By.renderToReadableStream=t.renderToReadableStream,t.resume&&(By.resume=t.resume)),By;var e,t}var Xy,Ky,Qy,Jy,Zy,ex,tx={exports:{}};function nx(){return Ky?Xy:(Ky=1,Xy="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}function rx(){if(Jy)return Qy;Jy=1;var e=nx();function t(){}function n(){}return n.resetWarningCache=t,Qy=function(){function r(t,n,r,o,a,i){if(i!==e){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function o(){return r}r.isRequired=r;var a={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return a.PropTypes=a,a}}function ox(){return Zy||(Zy=1,tx.exports=rx()()),tx.exports}function ax(){if(ex)return jy;ex=1,Object.defineProperty(jy,"__esModule",{value:!0});var e=v(),t=My,n=Ly,o=j(),a=Yy(),i=ox();function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=l(e),c=l(n),u=l(i),d="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r?r:"undefined"!=typeof self?self:{};function f(e,t){return e(t={exports:{}},t.exports),t.exports}var p=f(function(e){var t,n,r,o,a,i,l,s,c,u,f,p,h,g,m;t=d,n=function(e,t,r){if(!s(t)||u(t)||f(t)||p(t)||l(t))return t;var o,a=0,i=0;if(c(t))for(o=[],i=t.length;a<i;a++)o.push(n(e,t[a],r));else for(var d in o={},t)Object.prototype.hasOwnProperty.call(t,d)&&(o[e(d,r)]=n(e,t[d],r));return o},r=function(e){return h(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""})).substr(0,1).toLowerCase()+e.substr(1)},o=function(e){var t=r(e);return t.substr(0,1).toUpperCase()+t.substr(1)},a=function(e,t){return(n=e,r=t,o=(r=r||{}).separator||"_",a=r.split||/(?=[A-Z])/,n.split(a).join(o)).toLowerCase();var n,r,o,a},i=Object.prototype.toString,l=function(e){return"function"==typeof e},s=function(e){return e===Object(e)},c=function(e){return"[object Array]"==i.call(e)},u=function(e){return"[object Date]"==i.call(e)},f=function(e){return"[object RegExp]"==i.call(e)},p=function(e){return"[object Boolean]"==i.call(e)},h=function(e){return(e-=0)==e},g=function(e,t){var n=t&&"process"in t?t.process:t;return"function"!=typeof n?e:function(t,r){return n(t,e,r)}},m={camelize:r,decamelize:a,pascalize:o,depascalize:a,camelizeKeys:function(e,t){return n(g(r,t),e)},decamelizeKeys:function(e,t){return n(g(a,t),e,t)},pascalizeKeys:function(e,t){return n(g(o,t),e)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}},e.exports?e.exports=m:t.humps=m}).decamelize,h=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},g=f(function(e){function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},t.apply(this,arguments)}e.exports=t}),m=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o},b=e.createContext(null);function y(e){var t=e.children,n=void 0===t?"":t,r=m(e,["children"]);return"string"!=typeof n&&(n=a.renderToString(n)),s.default.createElement("template",g({},r,{dangerouslySetInnerHTML:{__html:n}}))}function x(e){var t=e.root,n=e.children,r=void 0===n?null:n;return o.createPortal(r,t)}y.propTypes={children:u.default.oneOfType([u.default.string,u.default.node])},x.propTypes={root:u.default.object.isRequired,children:u.default.node};var k=new Map;function S(){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"core",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(e){return e.children};return new Proxy(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{get:function(r,o){var a=p(o,{separator:"-"}),i="".concat(t,"-").concat(a);return k.has(i)||k.set(i,function(t){var n=e.forwardRef(function(n,o){var a,i,l=n.mode,c=void 0===l?"open":l,u=n.delegatesFocus,d=void 0!==u&&u,f=n.styleSheets,p=void 0===f?[]:f,v=n.ssr,k=void 0!==v&&v,S=n.children,w=m(n,["mode","delegatesFocus","styleSheets","ssr","children"]),_=(a=o,i=e.useRef(a&&a.current),e.useEffect(function(){a&&(a.current=i.current)},[a]),i),C=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],o=!0,a=!1,i=void 0;try{for(var l,s=e[Symbol.iterator]();!(o=(l=s.next()).done)&&(n.push(l.value),n.length!==t);o=!0);}catch(r){a=!0,i=r}finally{try{o||null==s.return||s.return()}finally{if(a)throw i}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?h(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e.useState(null),2),E=C[0],P=C[1],z="node_".concat(c).concat(d);return e.useLayoutEffect(function(){if(_.current)try{if("function"==typeof o&&o(_.current),k){var e=_.current.shadowRoot;return void P(e)}var t=_.current.attachShadow({mode:c,delegatesFocus:d});p.length>0&&(t.adoptedStyleSheets=p),P(t)}catch(r){!function(e){var t=e.error,n=e.styleSheets,r=e.root;if("NotSupportedError"!==t.name)throw t;n.length>0&&(r.adoptedStyleSheets=n)}({error:r,styleSheets:p,root:E})}},[o,_,p]),s.default.createElement(s.default.Fragment,null,s.default.createElement(t.tag,g({key:z,ref:_},w),(E||k)&&s.default.createElement(b.Provider,{value:E},k?s.default.createElement(y,{shadowroot:c,shadowrootmode:c},t.render({root:E,ssr:k,children:S})):s.default.createElement(x,{root:E},t.render({root:E,ssr:k,children:S})))))});return n.propTypes={mode:u.default.oneOf(["open","closed"]),delegatesFocus:u.default.bool,styleSheets:u.default.arrayOf(u.default.instanceOf(globalThis.CSSStyleSheet)),ssr:u.default.bool,children:u.default.node},n}({tag:a,render:n})),k.get(i)}})}S();var w=new WeakMap,_=S({},"emotion",function(e){var n,r=e.root,o=e.children,a=w.get(r)||(n=c.default({container:r,key:"react-shadow"}),w.set(r,n),n);return s.default.createElement(t.CacheProvider,{value:a},s.default.createElement(s.default.Fragment,null,o))});return jy.default=_,jy}const ix=o(ax()),lx=":host",sx=ob(Ry,{cssVarsRoot:lx,conditions:{light:`${lx} &, .light &`},preflight:{scope:lx},globalCss:{[lx]:Ry.globalCss?.html??{}},theme:{tokens:{fonts:{heading:{value:"'Estedad-FD', system-ui, sans-serif"},body:{value:"'Estedad-FD', system-ui, sans-serif"}},fontWeights:{100:{value:"100"},200:{value:"200"},300:{value:"300"},400:{value:"400"},500:{value:"500"},600:{value:"600"},700:{value:"700"},800:{value:"800"},900:{value:"900"},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"}},spacing:{0:{value:"0px"},.5:{value:"2px"},1:{value:"4px"},1.5:{value:"6px"},2:{value:"8px"},2.5:{value:"10px"},3:{value:"12px"},3.5:{value:"14px"},4:{value:"16px"},5:{value:"20px"},6:{value:"24px"},7:{value:"28px"},8:{value:"32px"},9:{value:"36px"},10:{value:"40px"},12:{value:"48px"},14:{value:"56px"},16:{value:"64px"},20:{value:"80px"},24:{value:"96px"},28:{value:"112px"},32:{value:"128px"},36:{value:"144px"},40:{value:"160px"},44:{value:"176px"},48:{value:"192px"},52:{value:"208px"},56:{value:"224px"},60:{value:"240px"},64:{value:"256px"},72:{value:"288px"},80:{value:"320px"},96:{value:"384px"}},fontSizes:{"2xs":{value:"10px"},xs:{value:"12px"},sm:{value:"14px"},md:{value:"16px"},lg:{value:"18px"},xl:{value:"20px"},"2xl":{value:"24px"},"3xl":{value:"30px"},"4xl":{value:"36px"},"5xl":{value:"48px"},"6xl":{value:"60px"},"7xl":{value:"72px"},"8xl":{value:"96px"},"9xl":{value:"128px"}},borderWidths:{0:{value:"0px"},1:{value:"1px"},2:{value:"2px"},4:{value:"4px"},8:{value:"8px"}},radii:{none:{value:"0px"},sm:{value:"2px"},md:{value:"4px"},lg:{value:"8px"},xl:{value:"12px"},"2xl":{value:"16px"},"3xl":{value:"24px"},"4xl":{value:"32px"},full:{value:"9999px"}},lineHeights:{3:{value:"12px"},4:{value:"16px"},5:{value:"20px"},6:{value:"24px"},7:{value:"28px"},8:{value:"32px"},9:{value:"36px"},10:{value:"40px"},none:{value:"1"},tight:{value:"1.25"},snug:{value:"1.375"},normal:{value:"1.5"},relaxed:{value:"1.625"},loose:{value:"2"}},sizes:{0:{value:"0px"},.5:{value:"2px"},1:{value:"4px"},1.5:{value:"6px"},2:{value:"8px"},2.5:{value:"10px"},3:{value:"12px"},3.5:{value:"14px"},4:{value:"16px"},5:{value:"20px"},6:{value:"24px"},7:{value:"28px"},8:{value:"32px"},9:{value:"36px"},10:{value:"40px"},12:{value:"48px"},14:{value:"56px"},16:{value:"64px"},20:{value:"80px"},24:{value:"96px"},full:{value:"100%"},"3xs":{value:"224px"},"2xs":{value:"256px"},xs:{value:"320px"},sm:{value:"384px"},md:{value:"448px"},lg:{value:"512px"},xl:{value:"576px"},"2xl":{value:"672px"},"3xl":{value:"768px"},"4xl":{value:"896px"},"5xl":{value:"1024px"},"6xl":{value:"1152px"},"7xl":{value:"1280px"},"8xl":{value:"1440px"}}}}});function cx({children:e}){const[t,n]=y.useState(null),[r,o]=y.useState(null);return y.useEffect(()=>{if(!t?.shadowRoot||r)return;const e=Ue({key:"root",container:t.shadowRoot});o(e)},[t,r]),h.jsx(ix.div,{ref:n,style:{display:"block"},children:t&&r&&h.jsx(Kh,{value:()=>t.shadowRoot??document,children:h.jsx(_t,{value:r,children:h.jsx(Zt,{value:sx,children:h.jsx(Mi,{children:e})})})})})}class ux extends y.Component{constructor(e){super(e),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){zi.captureException(e)}render(){return this.state.hasError?null:this.props.children}}function dx(){const e=document.createElement("div");e.id="mori-react-widget-host";const t=document.querySelector("#dori-widget-container");t?.appendChild(e);const n=W.createRoot(e);return n.render(h.jsx(x.StrictMode,{children:h.jsx(ux,{children:h.jsx(cx,{children:h.jsx(Fy,{})})})})),()=>{n.unmount()}}export{dx as initializeDoriWidget};