/* empty css              */import{p as Fv,a as Lg,i as qv,b as Gv,f as Yv,r as Zv,c as Vv,d as Xv,t as Qv}from"./chunk-FoQi8sq6.js";/* empty css              *//* empty css              *//* empty css              *//* empty css              */function Kv(l,r){for(var i=0;i<r.length;i++){const o=r[i];if(typeof o!="string"&&!Array.isArray(o)){for(const c in o)if(c!=="default"&&!(c in l)){const f=Object.getOwnPropertyDescriptor(o,c);f&&Object.defineProperty(l,c,f.get?f:{enumerable:!0,get:()=>o[c]})}}}return Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}function Tc(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}var Zs={exports:{}},wr={},Vs={exports:{}},Xs={};/**
 * @license React
 * scheduler.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var kg;function Pv(){return kg||(kg=1,function(l){function r(z,Q){var V=z.length;z.push(Q);e:for(;0<V;){var ne=V-1>>>1,O=z[ne];if(0<c(O,Q))z[ne]=Q,z[V]=O,V=ne;else break e}}function i(z){return z.length===0?null:z[0]}function o(z){if(z.length===0)return null;var Q=z[0],V=z.pop();if(V!==Q){z[0]=V;e:for(var ne=0,O=z.length,U=O>>>1;ne<U;){var I=2*(ne+1)-1,X=z[I],K=I+1,ue=z[K];if(0>c(X,V))K<O&&0>c(ue,X)?(z[ne]=ue,z[K]=V,ne=K):(z[ne]=X,z[I]=V,ne=I);else if(K<O&&0>c(ue,V))z[ne]=ue,z[K]=V,ne=K;else break e}}return Q}function c(z,Q){var V=z.sortIndex-Q.sortIndex;return V!==0?V:z.id-Q.id}if(l.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;l.unstable_now=function(){return f.now()}}else{var p=Date,m=p.now();l.unstable_now=function(){return p.now()-m}}var d=[],h=[],y=1,S=null,w=3,T=!1,v=!1,x=!1,A=!1,N=typeof setTimeout=="function"?setTimeout:null,M=typeof clearTimeout=="function"?clearTimeout:null,_=typeof setImmediate<"u"?setImmediate:null;function $(z){for(var Q=i(h);Q!==null;){if(Q.callback===null)o(h);else if(Q.startTime<=z)o(h),Q.sortIndex=Q.expirationTime,r(d,Q);else break;Q=i(h)}}function F(z){if(x=!1,$(z),!v)if(i(d)!==null)v=!0,J||(J=!0,oe());else{var Q=i(h);Q!==null&&ge(F,Q.startTime-z)}}var J=!1,W=-1,le=5,te=-1;function re(){return A?!0:!(l.unstable_now()-te<le)}function P(){if(A=!1,J){var z=l.unstable_now();te=z;var Q=!0;try{e:{v=!1,x&&(x=!1,M(W),W=-1),T=!0;var V=w;try{t:{for($(z),S=i(d);S!==null&&!(S.expirationTime>z&&re());){var ne=S.callback;if(typeof ne=="function"){S.callback=null,w=S.priorityLevel;var O=ne(S.expirationTime<=z);if(z=l.unstable_now(),typeof O=="function"){S.callback=O,$(z),Q=!0;break t}S===i(d)&&o(d),$(z)}else o(d);S=i(d)}if(S!==null)Q=!0;else{var U=i(h);U!==null&&ge(F,U.startTime-z),Q=!1}}break e}finally{S=null,w=V,T=!1}Q=void 0}}finally{Q?oe():J=!1}}}var oe;if(typeof _=="function")oe=function(){_(P)};else if(typeof MessageChannel<"u"){var ye=new MessageChannel,ce=ye.port2;ye.port1.onmessage=P,oe=function(){ce.postMessage(null)}}else oe=function(){N(P,0)};function ge(z,Q){W=N(function(){z(l.unstable_now())},Q)}l.unstable_IdlePriority=5,l.unstable_ImmediatePriority=1,l.unstable_LowPriority=4,l.unstable_NormalPriority=3,l.unstable_Profiling=null,l.unstable_UserBlockingPriority=2,l.unstable_cancelCallback=function(z){z.callback=null},l.unstable_forceFrameRate=function(z){0>z||125<z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):le=0<z?Math.floor(1e3/z):5},l.unstable_getCurrentPriorityLevel=function(){return w},l.unstable_next=function(z){switch(w){case 1:case 2:case 3:var Q=3;break;default:Q=w}var V=w;w=Q;try{return z()}finally{w=V}},l.unstable_requestPaint=function(){A=!0},l.unstable_runWithPriority=function(z,Q){switch(z){case 1:case 2:case 3:case 4:case 5:break;default:z=3}var V=w;w=z;try{return Q()}finally{w=V}},l.unstable_scheduleCallback=function(z,Q,V){var ne=l.unstable_now();switch(typeof V=="object"&&V!==null?(V=V.delay,V=typeof V=="number"&&0<V?ne+V:ne):V=ne,z){case 1:var O=-1;break;case 2:O=250;break;case 5:O=1073741823;break;case 4:O=1e4;break;default:O=5e3}return O=V+O,z={id:y++,callback:Q,priorityLevel:z,startTime:V,expirationTime:O,sortIndex:-1},V>ne?(z.sortIndex=V,r(h,z),i(d)===null&&z===i(h)&&(x?(M(W),W=-1):x=!0,ge(F,V-ne))):(z.sortIndex=O,r(d,z),v||T||(v=!0,J||(J=!0,oe()))),z},l.unstable_shouldYield=re,l.unstable_wrapCallback=function(z){var Q=w;return function(){var V=w;w=Q;try{return z.apply(this,arguments)}finally{w=V}}}}(Xs)),Xs}var jg;function Jv(){return jg||(jg=1,Vs.exports=Pv()),Vs.exports}var Qs={exports:{}},he={};/**
 * @license React
 * react.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var zg;function Iv(){if(zg)return he;zg=1;var l=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),p=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),S=Symbol.iterator;function w(O){return O===null||typeof O!="object"?null:(O=S&&O[S]||O["@@iterator"],typeof O=="function"?O:null)}var T={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,x={};function A(O,U,I){this.props=O,this.context=U,this.refs=x,this.updater=I||T}A.prototype.isReactComponent={},A.prototype.setState=function(O,U){if(typeof O!="object"&&typeof O!="function"&&O!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,O,U,"setState")},A.prototype.forceUpdate=function(O){this.updater.enqueueForceUpdate(this,O,"forceUpdate")};function N(){}N.prototype=A.prototype;function M(O,U,I){this.props=O,this.context=U,this.refs=x,this.updater=I||T}var _=M.prototype=new N;_.constructor=M,v(_,A.prototype),_.isPureReactComponent=!0;var $=Array.isArray,F={H:null,A:null,T:null,S:null,V:null},J=Object.prototype.hasOwnProperty;function W(O,U,I,X,K,ue){return I=ue.ref,{$$typeof:l,type:O,key:U,ref:I!==void 0?I:null,props:ue}}function le(O,U){return W(O.type,U,void 0,void 0,void 0,O.props)}function te(O){return typeof O=="object"&&O!==null&&O.$$typeof===l}function re(O){var U={"=":"=0",":":"=2"};return"$"+O.replace(/[=:]/g,function(I){return U[I]})}var P=/\/+/g;function oe(O,U){return typeof O=="object"&&O!==null&&O.key!=null?re(""+O.key):U.toString(36)}function ye(){}function ce(O){switch(O.status){case"fulfilled":return O.value;case"rejected":throw O.reason;default:switch(typeof O.status=="string"?O.then(ye,ye):(O.status="pending",O.then(function(U){O.status==="pending"&&(O.status="fulfilled",O.value=U)},function(U){O.status==="pending"&&(O.status="rejected",O.reason=U)})),O.status){case"fulfilled":return O.value;case"rejected":throw O.reason}}throw O}function ge(O,U,I,X,K){var ue=typeof O;(ue==="undefined"||ue==="boolean")&&(O=null);var ie=!1;if(O===null)ie=!0;else switch(ue){case"bigint":case"string":case"number":ie=!0;break;case"object":switch(O.$$typeof){case l:case r:ie=!0;break;case y:return ie=O._init,ge(ie(O._payload),U,I,X,K)}}if(ie)return K=K(O),ie=X===""?"."+oe(O,0):X,$(K)?(I="",ie!=null&&(I=ie.replace(P,"$&/")+"/"),ge(K,U,I,"",function(ke){return ke})):K!=null&&(te(K)&&(K=le(K,I+(K.key==null||O&&O.key===K.key?"":(""+K.key).replace(P,"$&/")+"/")+ie)),U.push(K)),1;ie=0;var Me=X===""?".":X+":";if($(O))for(var Te=0;Te<O.length;Te++)X=O[Te],ue=Me+oe(X,Te),ie+=ge(X,U,I,ue,K);else if(Te=w(O),typeof Te=="function")for(O=Te.call(O),Te=0;!(X=O.next()).done;)X=X.value,ue=Me+oe(X,Te++),ie+=ge(X,U,I,ue,K);else if(ue==="object"){if(typeof O.then=="function")return ge(ce(O),U,I,X,K);throw U=String(O),Error("Objects are not valid as a React child (found: "+(U==="[object Object]"?"object with keys {"+Object.keys(O).join(", ")+"}":U)+"). If you meant to render a collection of children, use an array instead.")}return ie}function z(O,U,I){if(O==null)return O;var X=[],K=0;return ge(O,X,"","",function(ue){return U.call(I,ue,K++)}),X}function Q(O){if(O._status===-1){var U=O._result;U=U(),U.then(function(I){(O._status===0||O._status===-1)&&(O._status=1,O._result=I)},function(I){(O._status===0||O._status===-1)&&(O._status=2,O._result=I)}),O._status===-1&&(O._status=0,O._result=U)}if(O._status===1)return O._result.default;throw O._result}var V=typeof reportError=="function"?reportError:function(O){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var U=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof O=="object"&&O!==null&&typeof O.message=="string"?String(O.message):String(O),error:O});if(!window.dispatchEvent(U))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",O);return}console.error(O)};function ne(){}return he.Children={map:z,forEach:function(O,U,I){z(O,function(){U.apply(this,arguments)},I)},count:function(O){var U=0;return z(O,function(){U++}),U},toArray:function(O){return z(O,function(U){return U})||[]},only:function(O){if(!te(O))throw Error("React.Children.only expected to receive a single React element child.");return O}},he.Component=A,he.Fragment=i,he.Profiler=c,he.PureComponent=M,he.StrictMode=o,he.Suspense=d,he.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=F,he.__COMPILER_RUNTIME={__proto__:null,c:function(O){return F.H.useMemoCache(O)}},he.cache=function(O){return function(){return O.apply(null,arguments)}},he.cloneElement=function(O,U,I){if(O==null)throw Error("The argument must be a React element, but you passed "+O+".");var X=v({},O.props),K=O.key,ue=void 0;if(U!=null)for(ie in U.ref!==void 0&&(ue=void 0),U.key!==void 0&&(K=""+U.key),U)!J.call(U,ie)||ie==="key"||ie==="__self"||ie==="__source"||ie==="ref"&&U.ref===void 0||(X[ie]=U[ie]);var ie=arguments.length-2;if(ie===1)X.children=I;else if(1<ie){for(var Me=Array(ie),Te=0;Te<ie;Te++)Me[Te]=arguments[Te+2];X.children=Me}return W(O.type,K,void 0,void 0,ue,X)},he.createContext=function(O){return O={$$typeof:p,_currentValue:O,_currentValue2:O,_threadCount:0,Provider:null,Consumer:null},O.Provider=O,O.Consumer={$$typeof:f,_context:O},O},he.createElement=function(O,U,I){var X,K={},ue=null;if(U!=null)for(X in U.key!==void 0&&(ue=""+U.key),U)J.call(U,X)&&X!=="key"&&X!=="__self"&&X!=="__source"&&(K[X]=U[X]);var ie=arguments.length-2;if(ie===1)K.children=I;else if(1<ie){for(var Me=Array(ie),Te=0;Te<ie;Te++)Me[Te]=arguments[Te+2];K.children=Me}if(O&&O.defaultProps)for(X in ie=O.defaultProps,ie)K[X]===void 0&&(K[X]=ie[X]);return W(O,ue,void 0,void 0,null,K)},he.createRef=function(){return{current:null}},he.forwardRef=function(O){return{$$typeof:m,render:O}},he.isValidElement=te,he.lazy=function(O){return{$$typeof:y,_payload:{_status:-1,_result:O},_init:Q}},he.memo=function(O,U){return{$$typeof:h,type:O,compare:U===void 0?null:U}},he.startTransition=function(O){var U=F.T,I={};F.T=I;try{var X=O(),K=F.S;K!==null&&K(I,X),typeof X=="object"&&X!==null&&typeof X.then=="function"&&X.then(ne,V)}catch(ue){V(ue)}finally{F.T=U}},he.unstable_useCacheRefresh=function(){return F.H.useCacheRefresh()},he.use=function(O){return F.H.use(O)},he.useActionState=function(O,U,I){return F.H.useActionState(O,U,I)},he.useCallback=function(O,U){return F.H.useCallback(O,U)},he.useContext=function(O){return F.H.useContext(O)},he.useDebugValue=function(){},he.useDeferredValue=function(O,U){return F.H.useDeferredValue(O,U)},he.useEffect=function(O,U,I){var X=F.H;if(typeof I=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return X.useEffect(O,U)},he.useId=function(){return F.H.useId()},he.useImperativeHandle=function(O,U,I){return F.H.useImperativeHandle(O,U,I)},he.useInsertionEffect=function(O,U){return F.H.useInsertionEffect(O,U)},he.useLayoutEffect=function(O,U){return F.H.useLayoutEffect(O,U)},he.useMemo=function(O,U){return F.H.useMemo(O,U)},he.useOptimistic=function(O,U){return F.H.useOptimistic(O,U)},he.useReducer=function(O,U,I){return F.H.useReducer(O,U,I)},he.useRef=function(O){return F.H.useRef(O)},he.useState=function(O){return F.H.useState(O)},he.useSyncExternalStore=function(O,U,I){return F.H.useSyncExternalStore(O,U,I)},he.useTransition=function(){return F.H.useTransition()},he.version="19.1.0",he}var Bg;function gu(){return Bg||(Bg=1,Qs.exports=Iv()),Qs.exports}var Ks={exports:{}},ot={};/**
 * @license React
 * react-dom.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Hg;function Wv(){if(Hg)return ot;Hg=1;var l=gu();function r(d){var h="https://react.dev/errors/"+d;if(1<arguments.length){h+="?args[]="+encodeURIComponent(arguments[1]);for(var y=2;y<arguments.length;y++)h+="&args[]="+encodeURIComponent(arguments[y])}return"Minified React error #"+d+"; visit "+h+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(){}var o={d:{f:i,r:function(){throw Error(r(522))},D:i,C:i,L:i,m:i,X:i,S:i,M:i},p:0,findDOMNode:null},c=Symbol.for("react.portal");function f(d,h,y){var S=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:c,key:S==null?null:""+S,children:d,containerInfo:h,implementation:y}}var p=l.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function m(d,h){if(d==="font")return"";if(typeof h=="string")return h==="use-credentials"?h:""}return ot.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,ot.createPortal=function(d,h){var y=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!h||h.nodeType!==1&&h.nodeType!==9&&h.nodeType!==11)throw Error(r(299));return f(d,h,null,y)},ot.flushSync=function(d){var h=p.T,y=o.p;try{if(p.T=null,o.p=2,d)return d()}finally{p.T=h,o.p=y,o.d.f()}},ot.preconnect=function(d,h){typeof d=="string"&&(h?(h=h.crossOrigin,h=typeof h=="string"?h==="use-credentials"?h:"":void 0):h=null,o.d.C(d,h))},ot.prefetchDNS=function(d){typeof d=="string"&&o.d.D(d)},ot.preinit=function(d,h){if(typeof d=="string"&&h&&typeof h.as=="string"){var y=h.as,S=m(y,h.crossOrigin),w=typeof h.integrity=="string"?h.integrity:void 0,T=typeof h.fetchPriority=="string"?h.fetchPriority:void 0;y==="style"?o.d.S(d,typeof h.precedence=="string"?h.precedence:void 0,{crossOrigin:S,integrity:w,fetchPriority:T}):y==="script"&&o.d.X(d,{crossOrigin:S,integrity:w,fetchPriority:T,nonce:typeof h.nonce=="string"?h.nonce:void 0})}},ot.preinitModule=function(d,h){if(typeof d=="string")if(typeof h=="object"&&h!==null){if(h.as==null||h.as==="script"){var y=m(h.as,h.crossOrigin);o.d.M(d,{crossOrigin:y,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0})}}else h==null&&o.d.M(d)},ot.preload=function(d,h){if(typeof d=="string"&&typeof h=="object"&&h!==null&&typeof h.as=="string"){var y=h.as,S=m(y,h.crossOrigin);o.d.L(d,y,{crossOrigin:S,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0,type:typeof h.type=="string"?h.type:void 0,fetchPriority:typeof h.fetchPriority=="string"?h.fetchPriority:void 0,referrerPolicy:typeof h.referrerPolicy=="string"?h.referrerPolicy:void 0,imageSrcSet:typeof h.imageSrcSet=="string"?h.imageSrcSet:void 0,imageSizes:typeof h.imageSizes=="string"?h.imageSizes:void 0,media:typeof h.media=="string"?h.media:void 0})}},ot.preloadModule=function(d,h){if(typeof d=="string")if(h){var y=m(h.as,h.crossOrigin);o.d.m(d,{as:typeof h.as=="string"&&h.as!=="script"?h.as:void 0,crossOrigin:y,integrity:typeof h.integrity=="string"?h.integrity:void 0})}else o.d.m(d)},ot.requestFormReset=function(d){o.d.r(d)},ot.unstable_batchedUpdates=function(d,h){return d(h)},ot.useFormState=function(d,h,y){return p.H.useFormState(d,h,y)},ot.useFormStatus=function(){return p.H.useHostTransitionStatus()},ot.version="19.1.0",ot}var Ug;function Lm(){if(Ug)return Ks.exports;Ug=1;function l(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(l)}catch(r){console.error(r)}}return l(),Ks.exports=Wv(),Ks.exports}/**
 * @license React
 * react-dom-client.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var $g;function eb(){if($g)return wr;$g=1;var l=Jv(),r=gu(),i=Lm();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 c(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function f(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function p(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function m(e){if(f(e)!==e)throw Error(o(188))}function d(e){var t=e.alternate;if(!t){if(t=f(e),t===null)throw Error(o(188));return t!==e?null:e}for(var n=e,a=t;;){var u=n.return;if(u===null)break;var s=u.alternate;if(s===null){if(a=u.return,a!==null){n=a;continue}break}if(u.child===s.child){for(s=u.child;s;){if(s===n)return m(u),e;if(s===a)return m(u),t;s=s.sibling}throw Error(o(188))}if(n.return!==a.return)n=u,a=s;else{for(var g=!1,b=u.child;b;){if(b===n){g=!0,n=u,a=s;break}if(b===a){g=!0,a=u,n=s;break}b=b.sibling}if(!g){for(b=s.child;b;){if(b===n){g=!0,n=s,a=u;break}if(b===a){g=!0,a=s,n=u;break}b=b.sibling}if(!g)throw Error(o(189))}}if(n.alternate!==a)throw Error(o(190))}if(n.tag!==3)throw Error(o(188));return n.stateNode.current===n?e:t}function h(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=h(e),t!==null)return t;e=e.sibling}return null}var y=Object.assign,S=Symbol.for("react.element"),w=Symbol.for("react.transitional.element"),T=Symbol.for("react.portal"),v=Symbol.for("react.fragment"),x=Symbol.for("react.strict_mode"),A=Symbol.for("react.profiler"),N=Symbol.for("react.provider"),M=Symbol.for("react.consumer"),_=Symbol.for("react.context"),$=Symbol.for("react.forward_ref"),F=Symbol.for("react.suspense"),J=Symbol.for("react.suspense_list"),W=Symbol.for("react.memo"),le=Symbol.for("react.lazy"),te=Symbol.for("react.activity"),re=Symbol.for("react.memo_cache_sentinel"),P=Symbol.iterator;function oe(e){return e===null||typeof e!="object"?null:(e=P&&e[P]||e["@@iterator"],typeof e=="function"?e:null)}var ye=Symbol.for("react.client.reference");function ce(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===ye?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case v:return"Fragment";case A:return"Profiler";case x:return"StrictMode";case F:return"Suspense";case J:return"SuspenseList";case te:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case T:return"Portal";case _:return(e.displayName||"Context")+".Provider";case M:return(e._context.displayName||"Context")+".Consumer";case $:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case W:return t=e.displayName||null,t!==null?t:ce(e.type)||"Memo";case le:t=e._payload,e=e._init;try{return ce(e(t))}catch{}}return null}var ge=Array.isArray,z=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Q=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,V={pending:!1,data:null,method:null,action:null},ne=[],O=-1;function U(e){return{current:e}}function I(e){0>O||(e.current=ne[O],ne[O]=null,O--)}function X(e,t){O++,ne[O]=e.current,e.current=t}var K=U(null),ue=U(null),ie=U(null),Me=U(null);function Te(e,t){switch(X(ie,t),X(ue,e),X(K,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?ug(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=ug(t),e=og(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}I(K),X(K,e)}function ke(){I(K),I(ue),I(ie)}function Yt(e){e.memoizedState!==null&&X(Me,e);var t=K.current,n=og(t,e.type);t!==n&&(X(ue,e),X(K,n))}function mt(e){ue.current===e&&(I(K),I(ue)),Me.current===e&&(I(Me),br._currentValue=V)}var Se=Object.prototype.hasOwnProperty,Be=l.unstable_scheduleCallback,nt=l.unstable_cancelCallback,Nu=l.unstable_shouldYield,E0=l.unstable_requestPaint,Pt=l.unstable_now,x0=l.unstable_getCurrentPriorityLevel,$c=l.unstable_ImmediatePriority,Fc=l.unstable_UserBlockingPriority,Yr=l.unstable_NormalPriority,S0=l.unstable_LowPriority,qc=l.unstable_IdlePriority,T0=l.log,w0=l.unstable_setDisableYieldValue,Ra=null,St=null;function wn(e){if(typeof T0=="function"&&w0(e),St&&typeof St.setStrictMode=="function")try{St.setStrictMode(Ra,e)}catch{}}var Tt=Math.clz32?Math.clz32:R0,A0=Math.log,O0=Math.LN2;function R0(e){return e>>>=0,e===0?32:31-(A0(e)/O0|0)|0}var Zr=256,Vr=4194304;function nl(e){var t=e&42;if(t!==0)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 e&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Xr(e,t,n){var a=e.pendingLanes;if(a===0)return 0;var u=0,s=e.suspendedLanes,g=e.pingedLanes;e=e.warmLanes;var b=a&134217727;return b!==0?(a=b&~s,a!==0?u=nl(a):(g&=b,g!==0?u=nl(g):n||(n=b&~e,n!==0&&(u=nl(n))))):(b=a&~s,b!==0?u=nl(b):g!==0?u=nl(g):n||(n=a&~e,n!==0&&(u=nl(n)))),u===0?0:t!==0&&t!==u&&(t&s)===0&&(s=u&-u,n=t&-t,s>=n||s===32&&(n&4194048)!==0)?t:u}function _a(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function _0(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;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Gc(){var e=Zr;return Zr<<=1,(Zr&4194048)===0&&(Zr=256),e}function Yc(){var e=Vr;return Vr<<=1,(Vr&62914560)===0&&(Vr=4194304),e}function Lu(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ma(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function M0(e,t,n,a,u,s){var g=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 b=e.entanglements,R=e.expirationTimes,j=e.hiddenUpdates;for(n=g&~n;0<n;){var q=31-Tt(n),Z=1<<q;b[q]=0,R[q]=-1;var B=j[q];if(B!==null)for(j[q]=null,q=0;q<B.length;q++){var H=B[q];H!==null&&(H.lane&=-536870913)}n&=~Z}a!==0&&Zc(e,a,0),s!==0&&u===0&&e.tag!==0&&(e.suspendedLanes|=s&~(g&~t))}function Zc(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-Tt(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|n&4194090}function Vc(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var a=31-Tt(n),u=1<<a;u&t|e[a]&t&&(e[a]|=t),n&=~u}}function ku(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 ju(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Xc(){var e=Q.p;return e!==0?e:(e=window.event,e===void 0?32:Rg(e.type))}function D0(e,t){var n=Q.p;try{return Q.p=e,t()}finally{Q.p=n}}var An=Math.random().toString(36).slice(2),it="__reactFiber$"+An,ht="__reactProps$"+An,Ml="__reactContainer$"+An,zu="__reactEvents$"+An,C0="__reactListeners$"+An,N0="__reactHandles$"+An,Qc="__reactResources$"+An,Da="__reactMarker$"+An;function Bu(e){delete e[it],delete e[ht],delete e[zu],delete e[C0],delete e[N0]}function Dl(e){var t=e[it];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Ml]||n[it]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=dg(e);e!==null;){if(n=e[it])return n;e=dg(e)}return t}e=n,n=e.parentNode}return null}function Cl(e){if(e=e[it]||e[Ml]){var t=e.tag;if(t===5||t===6||t===13||t===26||t===27||t===3)return e}return null}function Ca(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(o(33))}function Nl(e){var t=e[Qc];return t||(t=e[Qc]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Je(e){e[Da]=!0}var Kc=new Set,Pc={};function ll(e,t){Ll(e,t),Ll(e+"Capture",t)}function Ll(e,t){for(Pc[e]=t,e=0;e<t.length;e++)Kc.add(t[e])}var L0=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]*$"),Jc={},Ic={};function k0(e){return Se.call(Ic,e)?!0:Se.call(Jc,e)?!1:L0.test(e)?Ic[e]=!0:(Jc[e]=!0,!1)}function Qr(e,t,n){if(k0(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var a=t.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+n)}}function Kr(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+n)}}function un(e,t,n,a){if(a===null)e.removeAttribute(n);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttributeNS(t,n,""+a)}}var Hu,Wc;function kl(e){if(Hu===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Hu=t&&t[1]||"",Wc=-1<n.stack.indexOf(`
    at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
`+Hu+e+Wc}var Uu=!1;function $u(e,t){if(!e||Uu)return"";Uu=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var Z=function(){throw Error()};if(Object.defineProperty(Z.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Z,[])}catch(H){var B=H}Reflect.construct(e,[],Z)}else{try{Z.call()}catch(H){B=H}e.call(Z.prototype)}}else{try{throw Error()}catch(H){B=H}(Z=e())&&typeof Z.catch=="function"&&Z.catch(function(){})}}catch(H){if(H&&B&&typeof H.stack=="string")return[H.stack,B.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var u=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");u&&u.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var s=a.DetermineComponentFrameRoot(),g=s[0],b=s[1];if(g&&b){var R=g.split(`
`),j=b.split(`
`);for(u=a=0;a<R.length&&!R[a].includes("DetermineComponentFrameRoot");)a++;for(;u<j.length&&!j[u].includes("DetermineComponentFrameRoot");)u++;if(a===R.length||u===j.length)for(a=R.length-1,u=j.length-1;1<=a&&0<=u&&R[a]!==j[u];)u--;for(;1<=a&&0<=u;a--,u--)if(R[a]!==j[u]){if(a!==1||u!==1)do if(a--,u--,0>u||R[a]!==j[u]){var q=`
`+R[a].replace(" at new "," at ");return e.displayName&&q.includes("<anonymous>")&&(q=q.replace("<anonymous>",e.displayName)),q}while(1<=a&&0<=u);break}}}finally{Uu=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?kl(n):""}function j0(e){switch(e.tag){case 26:case 27:case 5:return kl(e.type);case 16:return kl("Lazy");case 13:return kl("Suspense");case 19:return kl("SuspenseList");case 0:case 15:return $u(e.type,!1);case 11:return $u(e.type.render,!1);case 1:return $u(e.type,!0);case 31:return kl("Activity");default:return""}}function ef(e){try{var t="";do t+=j0(e),e=e.return;while(e);return t}catch(n){return`
Error generating stack: `+n.message+`
`+n.stack}}function kt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function tf(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function z0(e){var t=tf(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),a=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var u=n.get,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return u.call(this)},set:function(g){a=""+g,s.call(this,g)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return a},setValue:function(g){a=""+g},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Pr(e){e._valueTracker||(e._valueTracker=z0(e))}function nf(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),a="";return e&&(a=tf(e)?e.checked?"true":"false":e.value),e=a,e!==n?(t.setValue(e),!0):!1}function Jr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var B0=/[\n"\\]/g;function jt(e){return e.replace(B0,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Fu(e,t,n,a,u,s,g,b){e.name="",g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"?e.type=g:e.removeAttribute("type"),t!=null?g==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+kt(t)):e.value!==""+kt(t)&&(e.value=""+kt(t)):g!=="submit"&&g!=="reset"||e.removeAttribute("value"),t!=null?qu(e,g,kt(t)):n!=null?qu(e,g,kt(n)):a!=null&&e.removeAttribute("value"),u==null&&s!=null&&(e.defaultChecked=!!s),u!=null&&(e.checked=u&&typeof u!="function"&&typeof u!="symbol"),b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?e.name=""+kt(b):e.removeAttribute("name")}function lf(e,t,n,a,u,s,g,b){if(s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"&&(e.type=s),t!=null||n!=null){if(!(s!=="submit"&&s!=="reset"||t!=null))return;n=n!=null?""+kt(n):"",t=t!=null?""+kt(t):n,b||t===e.value||(e.value=t),e.defaultValue=t}a=a??u,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=b?e.checked:!!a,e.defaultChecked=!!a,g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"&&(e.name=g)}function qu(e,t,n){t==="number"&&Jr(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function jl(e,t,n,a){if(e=e.options,t){t={};for(var u=0;u<n.length;u++)t["$"+n[u]]=!0;for(n=0;n<e.length;n++)u=t.hasOwnProperty("$"+e[n].value),e[n].selected!==u&&(e[n].selected=u),u&&a&&(e[n].defaultSelected=!0)}else{for(n=""+kt(n),t=null,u=0;u<e.length;u++){if(e[u].value===n){e[u].selected=!0,a&&(e[u].defaultSelected=!0);return}t!==null||e[u].disabled||(t=e[u])}t!==null&&(t.selected=!0)}}function af(e,t,n){if(t!=null&&(t=""+kt(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+kt(n):""}function rf(e,t,n,a){if(t==null){if(a!=null){if(n!=null)throw Error(o(92));if(ge(a)){if(1<a.length)throw Error(o(93));a=a[0]}n=a}n==null&&(n=""),t=n}n=kt(t),e.defaultValue=n,a=e.textContent,a===n&&a!==""&&a!==null&&(e.value=a)}function zl(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var H0=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 uf(e,t,n){var a=t.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?a?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":a?e.setProperty(t,n):typeof n!="number"||n===0||H0.has(t)?t==="float"?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function of(e,t,n){if(t!=null&&typeof t!="object")throw Error(o(62));if(e=e.style,n!=null){for(var a in n)!n.hasOwnProperty(a)||t!=null&&t.hasOwnProperty(a)||(a.indexOf("--")===0?e.setProperty(a,""):a==="float"?e.cssFloat="":e[a]="");for(var u in t)a=t[u],t.hasOwnProperty(u)&&n[u]!==a&&uf(e,u,a)}else for(var s in t)t.hasOwnProperty(s)&&uf(e,s,t[s])}function Gu(e){if(e.indexOf("-")===-1)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 U0=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"]]),$0=/^[\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 Ir(e){return $0.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var Yu=null;function Zu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Bl=null,Hl=null;function sf(e){var t=Cl(e);if(t&&(e=t.stateNode)){var n=e[ht]||null;e:switch(e=t.stateNode,t.type){case"input":if(Fu(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+jt(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var a=n[t];if(a!==e&&a.form===e.form){var u=a[ht]||null;if(!u)throw Error(o(90));Fu(a,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name)}}for(t=0;t<n.length;t++)a=n[t],a.form===e.form&&nf(a)}break e;case"textarea":af(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&jl(e,!!n.multiple,t,!1)}}}var Vu=!1;function cf(e,t,n){if(Vu)return e(t,n);Vu=!0;try{var a=e(t);return a}finally{if(Vu=!1,(Bl!==null||Hl!==null)&&(Bi(),Bl&&(t=Bl,e=Hl,Hl=Bl=null,sf(t),e)))for(t=0;t<e.length;t++)sf(e[t])}}function Na(e,t){var n=e.stateNode;if(n===null)return null;var a=n[ht]||null;if(a===null)return null;n=a[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":(a=!a.disabled)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(o(231,t,typeof n));return n}var on=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Xu=!1;if(on)try{var La={};Object.defineProperty(La,"passive",{get:function(){Xu=!0}}),window.addEventListener("test",La,La),window.removeEventListener("test",La,La)}catch{Xu=!1}var On=null,Qu=null,Wr=null;function ff(){if(Wr)return Wr;var e,t=Qu,n=t.length,a,u="value"in On?On.value:On.textContent,s=u.length;for(e=0;e<n&&t[e]===u[e];e++);var g=n-e;for(a=1;a<=g&&t[n-a]===u[s-a];a++);return Wr=u.slice(e,1<a?1-a:void 0)}function ei(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function ti(){return!0}function df(){return!1}function yt(e){function t(n,a,u,s,g){this._reactName=n,this._targetInst=u,this.type=a,this.nativeEvent=s,this.target=g,this.currentTarget=null;for(var b in e)e.hasOwnProperty(b)&&(n=e[b],this[b]=n?n(s):s[b]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?ti:df,this.isPropagationStopped=df,this}return y(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=ti)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=ti)},persist:function(){},isPersistent:ti}),t}var al={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ni=yt(al),ka=y({},al,{view:0,detail:0}),F0=yt(ka),Ku,Pu,ja,li=y({},ka,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Iu,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ja&&(ja&&e.type==="mousemove"?(Ku=e.screenX-ja.screenX,Pu=e.screenY-ja.screenY):Pu=Ku=0,ja=e),Ku)},movementY:function(e){return"movementY"in e?e.movementY:Pu}}),pf=yt(li),q0=y({},li,{dataTransfer:0}),G0=yt(q0),Y0=y({},ka,{relatedTarget:0}),Ju=yt(Y0),Z0=y({},al,{animationName:0,elapsedTime:0,pseudoElement:0}),V0=yt(Z0),X0=y({},al,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Q0=yt(X0),K0=y({},al,{data:0}),gf=yt(K0),P0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},J0={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"},I0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function W0(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=I0[e])?!!t[e]:!1}function Iu(){return W0}var ey=y({},ka,{key:function(e){if(e.key){var t=P0[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=ei(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?J0[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Iu,charCode:function(e){return e.type==="keypress"?ei(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ei(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),ty=yt(ey),ny=y({},li,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),mf=yt(ny),ly=y({},ka,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Iu}),ay=yt(ly),ry=y({},al,{propertyName:0,elapsedTime:0,pseudoElement:0}),iy=yt(ry),uy=y({},li,{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}),oy=yt(uy),sy=y({},al,{newState:0,oldState:0}),cy=yt(sy),fy=[9,13,27,32],Wu=on&&"CompositionEvent"in window,za=null;on&&"documentMode"in document&&(za=document.documentMode);var dy=on&&"TextEvent"in window&&!za,hf=on&&(!Wu||za&&8<za&&11>=za),yf=" ",vf=!1;function bf(e,t){switch(e){case"keyup":return fy.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ef(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ul=!1;function py(e,t){switch(e){case"compositionend":return Ef(t);case"keypress":return t.which!==32?null:(vf=!0,yf);case"textInput":return e=t.data,e===yf&&vf?null:e;default:return null}}function gy(e,t){if(Ul)return e==="compositionend"||!Wu&&bf(e,t)?(e=ff(),Wr=Qu=On=null,Ul=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return hf&&t.locale!=="ko"?null:t.data;default:return null}}var my={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 xf(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!my[e.type]:t==="textarea"}function Sf(e,t,n,a){Bl?Hl?Hl.push(a):Hl=[a]:Bl=a,t=Gi(t,"onChange"),0<t.length&&(n=new ni("onChange","change",null,n,a),e.push({event:n,listeners:t}))}var Ba=null,Ha=null;function hy(e){ng(e,0)}function ai(e){var t=Ca(e);if(nf(t))return e}function Tf(e,t){if(e==="change")return t}var wf=!1;if(on){var eo;if(on){var to="oninput"in document;if(!to){var Af=document.createElement("div");Af.setAttribute("oninput","return;"),to=typeof Af.oninput=="function"}eo=to}else eo=!1;wf=eo&&(!document.documentMode||9<document.documentMode)}function Of(){Ba&&(Ba.detachEvent("onpropertychange",Rf),Ha=Ba=null)}function Rf(e){if(e.propertyName==="value"&&ai(Ha)){var t=[];Sf(t,Ha,e,Zu(e)),cf(hy,t)}}function yy(e,t,n){e==="focusin"?(Of(),Ba=t,Ha=n,Ba.attachEvent("onpropertychange",Rf)):e==="focusout"&&Of()}function vy(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return ai(Ha)}function by(e,t){if(e==="click")return ai(t)}function Ey(e,t){if(e==="input"||e==="change")return ai(t)}function xy(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var wt=typeof Object.is=="function"?Object.is:xy;function Ua(e,t){if(wt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(a=0;a<n.length;a++){var u=n[a];if(!Se.call(t,u)||!wt(e[u],t[u]))return!1}return!0}function _f(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Mf(e,t){var n=_f(e);e=0;for(var a;n;){if(n.nodeType===3){if(a=e+n.textContent.length,e<=t&&a>=t)return{node:n,offset:t-e};e=a}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=_f(n)}}function Df(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Df(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Cf(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Jr(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Jr(e.document)}return t}function no(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var Sy=on&&"documentMode"in document&&11>=document.documentMode,$l=null,lo=null,$a=null,ao=!1;function Nf(e,t,n){var a=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ao||$l==null||$l!==Jr(a)||(a=$l,"selectionStart"in a&&no(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),$a&&Ua($a,a)||($a=a,a=Gi(lo,"onSelect"),0<a.length&&(t=new ni("onSelect","select",null,t,n),e.push({event:t,listeners:a}),t.target=$l)))}function rl(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Fl={animationend:rl("Animation","AnimationEnd"),animationiteration:rl("Animation","AnimationIteration"),animationstart:rl("Animation","AnimationStart"),transitionrun:rl("Transition","TransitionRun"),transitionstart:rl("Transition","TransitionStart"),transitioncancel:rl("Transition","TransitionCancel"),transitionend:rl("Transition","TransitionEnd")},ro={},Lf={};on&&(Lf=document.createElement("div").style,"AnimationEvent"in window||(delete Fl.animationend.animation,delete Fl.animationiteration.animation,delete Fl.animationstart.animation),"TransitionEvent"in window||delete Fl.transitionend.transition);function il(e){if(ro[e])return ro[e];if(!Fl[e])return e;var t=Fl[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Lf)return ro[e]=t[n];return e}var kf=il("animationend"),jf=il("animationiteration"),zf=il("animationstart"),Ty=il("transitionrun"),wy=il("transitionstart"),Ay=il("transitioncancel"),Bf=il("transitionend"),Hf=new Map,io="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(" ");io.push("scrollEnd");function Zt(e,t){Hf.set(e,t),ll(t,[e])}var Uf=new WeakMap;function zt(e,t){if(typeof e=="object"&&e!==null){var n=Uf.get(e);return n!==void 0?n:(t={value:e,source:t,stack:ef(t)},Uf.set(e,t),t)}return{value:e,source:t,stack:ef(t)}}var Bt=[],ql=0,uo=0;function ri(){for(var e=ql,t=uo=ql=0;t<e;){var n=Bt[t];Bt[t++]=null;var a=Bt[t];Bt[t++]=null;var u=Bt[t];Bt[t++]=null;var s=Bt[t];if(Bt[t++]=null,a!==null&&u!==null){var g=a.pending;g===null?u.next=u:(u.next=g.next,g.next=u),a.pending=u}s!==0&&$f(n,u,s)}}function ii(e,t,n,a){Bt[ql++]=e,Bt[ql++]=t,Bt[ql++]=n,Bt[ql++]=a,uo|=a,e.lanes|=a,e=e.alternate,e!==null&&(e.lanes|=a)}function oo(e,t,n,a){return ii(e,t,n,a),ui(e)}function Gl(e,t){return ii(e,null,null,t),ui(e)}function $f(e,t,n){e.lanes|=n;var a=e.alternate;a!==null&&(a.lanes|=n);for(var u=!1,s=e.return;s!==null;)s.childLanes|=n,a=s.alternate,a!==null&&(a.childLanes|=n),s.tag===22&&(e=s.stateNode,e===null||e._visibility&1||(u=!0)),e=s,s=s.return;return e.tag===3?(s=e.stateNode,u&&t!==null&&(u=31-Tt(n),e=s.hiddenUpdates,a=e[u],a===null?e[u]=[t]:a.push(t),t.lane=n|536870912),s):null}function ui(e){if(50<fr)throw fr=0,ms=null,Error(o(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Yl={};function Oy(e,t,n,a){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=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function At(e,t,n,a){return new Oy(e,t,n,a)}function so(e){return e=e.prototype,!(!e||!e.isReactComponent)}function sn(e,t){var n=e.alternate;return n===null?(n=At(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function Ff(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(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=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function oi(e,t,n,a,u,s){var g=0;if(a=e,typeof e=="function")so(e)&&(g=1);else if(typeof e=="string")g=_v(e,n,K.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case te:return e=At(31,n,t,u),e.elementType=te,e.lanes=s,e;case v:return ul(n.children,u,s,t);case x:g=8,u|=24;break;case A:return e=At(12,n,t,u|2),e.elementType=A,e.lanes=s,e;case F:return e=At(13,n,t,u),e.elementType=F,e.lanes=s,e;case J:return e=At(19,n,t,u),e.elementType=J,e.lanes=s,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case N:case _:g=10;break e;case M:g=9;break e;case $:g=11;break e;case W:g=14;break e;case le:g=16,a=null;break e}g=29,n=Error(o(130,e===null?"null":typeof e,"")),a=null}return t=At(g,n,t,u),t.elementType=e,t.type=a,t.lanes=s,t}function ul(e,t,n,a){return e=At(7,e,a,t),e.lanes=n,e}function co(e,t,n){return e=At(6,e,null,t),e.lanes=n,e}function fo(e,t,n){return t=At(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Zl=[],Vl=0,si=null,ci=0,Ht=[],Ut=0,ol=null,cn=1,fn="";function sl(e,t){Zl[Vl++]=ci,Zl[Vl++]=si,si=e,ci=t}function qf(e,t,n){Ht[Ut++]=cn,Ht[Ut++]=fn,Ht[Ut++]=ol,ol=e;var a=cn;e=fn;var u=32-Tt(a)-1;a&=~(1<<u),n+=1;var s=32-Tt(t)+u;if(30<s){var g=u-u%5;s=(a&(1<<g)-1).toString(32),a>>=g,u-=g,cn=1<<32-Tt(t)+u|n<<u|a,fn=s+e}else cn=1<<s|n<<u|a,fn=e}function po(e){e.return!==null&&(sl(e,1),qf(e,1,0))}function go(e){for(;e===si;)si=Zl[--Vl],Zl[Vl]=null,ci=Zl[--Vl],Zl[Vl]=null;for(;e===ol;)ol=Ht[--Ut],Ht[Ut]=null,fn=Ht[--Ut],Ht[Ut]=null,cn=Ht[--Ut],Ht[Ut]=null}var dt=null,$e=null,Oe=!1,cl=null,Jt=!1,mo=Error(o(519));function fl(e){var t=Error(o(418,""));throw Ga(zt(t,e)),mo}function Gf(e){var t=e.stateNode,n=e.type,a=e.memoizedProps;switch(t[it]=e,t[ht]=a,n){case"dialog":xe("cancel",t),xe("close",t);break;case"iframe":case"object":case"embed":xe("load",t);break;case"video":case"audio":for(n=0;n<pr.length;n++)xe(pr[n],t);break;case"source":xe("error",t);break;case"img":case"image":case"link":xe("error",t),xe("load",t);break;case"details":xe("toggle",t);break;case"input":xe("invalid",t),lf(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0),Pr(t);break;case"select":xe("invalid",t);break;case"textarea":xe("invalid",t),rf(t,a.value,a.defaultValue,a.children),Pr(t)}n=a.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||t.textContent===""+n||a.suppressHydrationWarning===!0||ig(t.textContent,n)?(a.popover!=null&&(xe("beforetoggle",t),xe("toggle",t)),a.onScroll!=null&&xe("scroll",t),a.onScrollEnd!=null&&xe("scrollend",t),a.onClick!=null&&(t.onclick=Yi),t=!0):t=!1,t||fl(e)}function Yf(e){for(dt=e.return;dt;)switch(dt.tag){case 5:case 13:Jt=!1;return;case 27:case 3:Jt=!0;return;default:dt=dt.return}}function Fa(e){if(e!==dt)return!1;if(!Oe)return Yf(e),Oe=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||Cs(e.type,e.memoizedProps)),n=!n),n&&$e&&fl(e),Yf(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8)if(n=e.data,n==="/$"){if(t===0){$e=Xt(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++;e=e.nextSibling}$e=null}}else t===27?(t=$e,qn(e.type)?(e=js,js=null,$e=e):$e=t):$e=dt?Xt(e.stateNode.nextSibling):null;return!0}function qa(){$e=dt=null,Oe=!1}function Zf(){var e=cl;return e!==null&&(Et===null?Et=e:Et.push.apply(Et,e),cl=null),e}function Ga(e){cl===null?cl=[e]:cl.push(e)}var ho=U(null),dl=null,dn=null;function Rn(e,t,n){X(ho,t._currentValue),t._currentValue=n}function pn(e){e._currentValue=ho.current,I(ho)}function yo(e,t,n){for(;e!==null;){var a=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),e===n)break;e=e.return}}function vo(e,t,n,a){var u=e.child;for(u!==null&&(u.return=e);u!==null;){var s=u.dependencies;if(s!==null){var g=u.child;s=s.firstContext;e:for(;s!==null;){var b=s;s=u;for(var R=0;R<t.length;R++)if(b.context===t[R]){s.lanes|=n,b=s.alternate,b!==null&&(b.lanes|=n),yo(s.return,n,e),a||(g=null);break e}s=b.next}}else if(u.tag===18){if(g=u.return,g===null)throw Error(o(341));g.lanes|=n,s=g.alternate,s!==null&&(s.lanes|=n),yo(g,n,e),g=null}else g=u.child;if(g!==null)g.return=u;else for(g=u;g!==null;){if(g===e){g=null;break}if(u=g.sibling,u!==null){u.return=g.return,g=u;break}g=g.return}u=g}}function Ya(e,t,n,a){e=null;for(var u=t,s=!1;u!==null;){if(!s){if((u.flags&524288)!==0)s=!0;else if((u.flags&262144)!==0)break}if(u.tag===10){var g=u.alternate;if(g===null)throw Error(o(387));if(g=g.memoizedProps,g!==null){var b=u.type;wt(u.pendingProps.value,g.value)||(e!==null?e.push(b):e=[b])}}else if(u===Me.current){if(g=u.alternate,g===null)throw Error(o(387));g.memoizedState.memoizedState!==u.memoizedState.memoizedState&&(e!==null?e.push(br):e=[br])}u=u.return}e!==null&&vo(t,e,n,a),t.flags|=262144}function fi(e){for(e=e.firstContext;e!==null;){if(!wt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function pl(e){dl=e,dn=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function ut(e){return Vf(dl,e)}function di(e,t){return dl===null&&pl(e),Vf(e,t)}function Vf(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},dn===null){if(e===null)throw Error(o(308));dn=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else dn=dn.next=t;return n}var Ry=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,a){e.push(a)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},_y=l.unstable_scheduleCallback,My=l.unstable_NormalPriority,Xe={$$typeof:_,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function bo(){return{controller:new Ry,data:new Map,refCount:0}}function Za(e){e.refCount--,e.refCount===0&&_y(My,function(){e.controller.abort()})}var Va=null,Eo=0,Xl=0,Ql=null;function Dy(e,t){if(Va===null){var n=Va=[];Eo=0,Xl=Ss(),Ql={status:"pending",value:void 0,then:function(a){n.push(a)}}}return Eo++,t.then(Xf,Xf),t}function Xf(){if(--Eo===0&&Va!==null){Ql!==null&&(Ql.status="fulfilled");var e=Va;Va=null,Xl=0,Ql=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Cy(e,t){var n=[],a={status:"pending",value:null,reason:null,then:function(u){n.push(u)}};return e.then(function(){a.status="fulfilled",a.value=t;for(var u=0;u<n.length;u++)(0,n[u])(t)},function(u){for(a.status="rejected",a.reason=u,u=0;u<n.length;u++)(0,n[u])(void 0)}),a}var Qf=z.S;z.S=function(e,t){typeof t=="object"&&t!==null&&typeof t.then=="function"&&Dy(e,t),Qf!==null&&Qf(e,t)};var gl=U(null);function xo(){var e=gl.current;return e!==null?e:je.pooledCache}function pi(e,t){t===null?X(gl,gl.current):X(gl,t.pool)}function Kf(){var e=xo();return e===null?null:{parent:Xe._currentValue,pool:e}}var Xa=Error(o(460)),Pf=Error(o(474)),gi=Error(o(542)),So={then:function(){}};function Jf(e){return e=e.status,e==="fulfilled"||e==="rejected"}function mi(){}function If(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(mi,mi),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,ed(e),e;default:if(typeof t.status=="string")t.then(mi,mi);else{if(e=je,e!==null&&100<e.shellSuspendCounter)throw Error(o(482));e=t,e.status="pending",e.then(function(a){if(t.status==="pending"){var u=t;u.status="fulfilled",u.value=a}},function(a){if(t.status==="pending"){var u=t;u.status="rejected",u.reason=a}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,ed(e),e}throw Qa=t,Xa}}var Qa=null;function Wf(){if(Qa===null)throw Error(o(459));var e=Qa;return Qa=null,e}function ed(e){if(e===Xa||e===gi)throw Error(o(483))}var _n=!1;function To(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function wo(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 Mn(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Dn(e,t,n){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(Re&2)!==0){var u=a.pending;return u===null?t.next=t:(t.next=u.next,u.next=t),a.pending=t,t=ui(e),$f(e,null,n),t}return ii(e,a,t,n),ui(e)}function Ka(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,Vc(e,n)}}function Ao(e,t){var n=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,n===a)){var u=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var g={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};s===null?u=s=g:s=s.next=g,n=n.next}while(n!==null);s===null?u=s=t:s=s.next=t}else u=s=t;n={baseState:a.baseState,firstBaseUpdate:u,lastBaseUpdate:s,shared:a.shared,callbacks:a.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Oo=!1;function Pa(){if(Oo){var e=Ql;if(e!==null)throw e}}function Ja(e,t,n,a){Oo=!1;var u=e.updateQueue;_n=!1;var s=u.firstBaseUpdate,g=u.lastBaseUpdate,b=u.shared.pending;if(b!==null){u.shared.pending=null;var R=b,j=R.next;R.next=null,g===null?s=j:g.next=j,g=R;var q=e.alternate;q!==null&&(q=q.updateQueue,b=q.lastBaseUpdate,b!==g&&(b===null?q.firstBaseUpdate=j:b.next=j,q.lastBaseUpdate=R))}if(s!==null){var Z=u.baseState;g=0,q=j=R=null,b=s;do{var B=b.lane&-536870913,H=B!==b.lane;if(H?(we&B)===B:(a&B)===B){B!==0&&B===Xl&&(Oo=!0),q!==null&&(q=q.next={lane:0,tag:b.tag,payload:b.payload,callback:null,next:null});e:{var me=e,de=b;B=t;var Ne=n;switch(de.tag){case 1:if(me=de.payload,typeof me=="function"){Z=me.call(Ne,Z,B);break e}Z=me;break e;case 3:me.flags=me.flags&-65537|128;case 0:if(me=de.payload,B=typeof me=="function"?me.call(Ne,Z,B):me,B==null)break e;Z=y({},Z,B);break e;case 2:_n=!0}}B=b.callback,B!==null&&(e.flags|=64,H&&(e.flags|=8192),H=u.callbacks,H===null?u.callbacks=[B]:H.push(B))}else H={lane:B,tag:b.tag,payload:b.payload,callback:b.callback,next:null},q===null?(j=q=H,R=Z):q=q.next=H,g|=B;if(b=b.next,b===null){if(b=u.shared.pending,b===null)break;H=b,b=H.next,H.next=null,u.lastBaseUpdate=H,u.shared.pending=null}}while(!0);q===null&&(R=Z),u.baseState=R,u.firstBaseUpdate=j,u.lastBaseUpdate=q,s===null&&(u.shared.lanes=0),Hn|=g,e.lanes=g,e.memoizedState=Z}}function td(e,t){if(typeof e!="function")throw Error(o(191,e));e.call(t)}function nd(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)td(n[e],t)}var Kl=U(null),hi=U(0);function ld(e,t){e=En,X(hi,e),X(Kl,t),En=e|t.baseLanes}function Ro(){X(hi,En),X(Kl,Kl.current)}function _o(){En=hi.current,I(Kl),I(hi)}var Cn=0,ve=null,De=null,Ye=null,yi=!1,Pl=!1,ml=!1,vi=0,Ia=0,Jl=null,Ny=0;function qe(){throw Error(o(321))}function Mo(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!wt(e[n],t[n]))return!1;return!0}function Do(e,t,n,a,u,s){return Cn=s,ve=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,z.H=e===null||e.memoizedState===null?$d:Fd,ml=!1,s=n(a,u),ml=!1,Pl&&(s=rd(t,n,a,u)),ad(e),s}function ad(e){z.H=wi;var t=De!==null&&De.next!==null;if(Cn=0,Ye=De=ve=null,yi=!1,Ia=0,Jl=null,t)throw Error(o(300));e===null||Ie||(e=e.dependencies,e!==null&&fi(e)&&(Ie=!0))}function rd(e,t,n,a){ve=e;var u=0;do{if(Pl&&(Jl=null),Ia=0,Pl=!1,25<=u)throw Error(o(301));if(u+=1,Ye=De=null,e.updateQueue!=null){var s=e.updateQueue;s.lastEffect=null,s.events=null,s.stores=null,s.memoCache!=null&&(s.memoCache.index=0)}z.H=Uy,s=t(n,a)}while(Pl);return s}function Ly(){var e=z.H,t=e.useState()[0];return t=typeof t.then=="function"?Wa(t):t,e=e.useState()[0],(De!==null?De.memoizedState:null)!==e&&(ve.flags|=1024),t}function Co(){var e=vi!==0;return vi=0,e}function No(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function Lo(e){if(yi){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}yi=!1}Cn=0,Ye=De=ve=null,Pl=!1,Ia=vi=0,Jl=null}function vt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ye===null?ve.memoizedState=Ye=e:Ye=Ye.next=e,Ye}function Ze(){if(De===null){var e=ve.alternate;e=e!==null?e.memoizedState:null}else e=De.next;var t=Ye===null?ve.memoizedState:Ye.next;if(t!==null)Ye=t,De=e;else{if(e===null)throw ve.alternate===null?Error(o(467)):Error(o(310));De=e,e={memoizedState:De.memoizedState,baseState:De.baseState,baseQueue:De.baseQueue,queue:De.queue,next:null},Ye===null?ve.memoizedState=Ye=e:Ye=Ye.next=e}return Ye}function ko(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Wa(e){var t=Ia;return Ia+=1,Jl===null&&(Jl=[]),e=If(Jl,e,t),t=ve,(Ye===null?t.memoizedState:Ye.next)===null&&(t=t.alternate,z.H=t===null||t.memoizedState===null?$d:Fd),e}function bi(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Wa(e);if(e.$$typeof===_)return ut(e)}throw Error(o(438,String(e)))}function jo(e){var t=null,n=ve.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var a=ve.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(u){return u.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=ko(),ve.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),a=0;a<e;a++)n[a]=re;return t.index++,n}function gn(e,t){return typeof t=="function"?t(e):t}function Ei(e){var t=Ze();return zo(t,De,e)}function zo(e,t,n){var a=e.queue;if(a===null)throw Error(o(311));a.lastRenderedReducer=n;var u=e.baseQueue,s=a.pending;if(s!==null){if(u!==null){var g=u.next;u.next=s.next,s.next=g}t.baseQueue=u=s,a.pending=null}if(s=e.baseState,u===null)e.memoizedState=s;else{t=u.next;var b=g=null,R=null,j=t,q=!1;do{var Z=j.lane&-536870913;if(Z!==j.lane?(we&Z)===Z:(Cn&Z)===Z){var B=j.revertLane;if(B===0)R!==null&&(R=R.next={lane:0,revertLane:0,action:j.action,hasEagerState:j.hasEagerState,eagerState:j.eagerState,next:null}),Z===Xl&&(q=!0);else if((Cn&B)===B){j=j.next,B===Xl&&(q=!0);continue}else Z={lane:0,revertLane:j.revertLane,action:j.action,hasEagerState:j.hasEagerState,eagerState:j.eagerState,next:null},R===null?(b=R=Z,g=s):R=R.next=Z,ve.lanes|=B,Hn|=B;Z=j.action,ml&&n(s,Z),s=j.hasEagerState?j.eagerState:n(s,Z)}else B={lane:Z,revertLane:j.revertLane,action:j.action,hasEagerState:j.hasEagerState,eagerState:j.eagerState,next:null},R===null?(b=R=B,g=s):R=R.next=B,ve.lanes|=Z,Hn|=Z;j=j.next}while(j!==null&&j!==t);if(R===null?g=s:R.next=b,!wt(s,e.memoizedState)&&(Ie=!0,q&&(n=Ql,n!==null)))throw n;e.memoizedState=s,e.baseState=g,e.baseQueue=R,a.lastRenderedState=s}return u===null&&(a.lanes=0),[e.memoizedState,a.dispatch]}function Bo(e){var t=Ze(),n=t.queue;if(n===null)throw Error(o(311));n.lastRenderedReducer=e;var a=n.dispatch,u=n.pending,s=t.memoizedState;if(u!==null){n.pending=null;var g=u=u.next;do s=e(s,g.action),g=g.next;while(g!==u);wt(s,t.memoizedState)||(Ie=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),n.lastRenderedState=s}return[s,a]}function id(e,t,n){var a=ve,u=Ze(),s=Oe;if(s){if(n===void 0)throw Error(o(407));n=n()}else n=t();var g=!wt((De||u).memoizedState,n);g&&(u.memoizedState=n,Ie=!0),u=u.queue;var b=sd.bind(null,a,u,e);if(er(2048,8,b,[e]),u.getSnapshot!==t||g||Ye!==null&&Ye.memoizedState.tag&1){if(a.flags|=2048,Il(9,xi(),od.bind(null,a,u,n,t),null),je===null)throw Error(o(349));s||(Cn&124)!==0||ud(a,t,n)}return n}function ud(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=ve.updateQueue,t===null?(t=ko(),ve.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function od(e,t,n,a){t.value=n,t.getSnapshot=a,cd(t)&&fd(e)}function sd(e,t,n){return n(function(){cd(t)&&fd(e)})}function cd(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!wt(e,n)}catch{return!0}}function fd(e){var t=Gl(e,2);t!==null&&Dt(t,e,2)}function Ho(e){var t=vt();if(typeof e=="function"){var n=e;if(e=n(),ml){wn(!0);try{n()}finally{wn(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:gn,lastRenderedState:e},t}function dd(e,t,n,a){return e.baseState=n,zo(e,De,typeof a=="function"?a:gn)}function ky(e,t,n,a,u){if(Ti(e))throw Error(o(485));if(e=t.action,e!==null){var s={payload:u,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(g){s.listeners.push(g)}};z.T!==null?n(!0):s.isTransition=!1,a(s),n=t.pending,n===null?(s.next=t.pending=s,pd(t,s)):(s.next=n.next,t.pending=n.next=s)}}function pd(e,t){var n=t.action,a=t.payload,u=e.state;if(t.isTransition){var s=z.T,g={};z.T=g;try{var b=n(u,a),R=z.S;R!==null&&R(g,b),gd(e,t,b)}catch(j){Uo(e,t,j)}finally{z.T=s}}else try{s=n(u,a),gd(e,t,s)}catch(j){Uo(e,t,j)}}function gd(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(a){md(e,t,a)},function(a){return Uo(e,t,a)}):md(e,t,n)}function md(e,t,n){t.status="fulfilled",t.value=n,hd(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,pd(e,n)))}function Uo(e,t,n){var a=e.pending;if(e.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=n,hd(t),t=t.next;while(t!==a)}e.action=null}function hd(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function yd(e,t){return t}function vd(e,t){if(Oe){var n=je.formState;if(n!==null){e:{var a=ve;if(Oe){if($e){t:{for(var u=$e,s=Jt;u.nodeType!==8;){if(!s){u=null;break t}if(u=Xt(u.nextSibling),u===null){u=null;break t}}s=u.data,u=s==="F!"||s==="F"?u:null}if(u){$e=Xt(u.nextSibling),a=u.data==="F!";break e}}fl(a)}a=!1}a&&(t=n[0])}}return n=vt(),n.memoizedState=n.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:yd,lastRenderedState:t},n.queue=a,n=Bd.bind(null,ve,a),a.dispatch=n,a=Ho(!1),s=Yo.bind(null,ve,!1,a.queue),a=vt(),u={state:t,dispatch:null,action:e,pending:null},a.queue=u,n=ky.bind(null,ve,u,s,n),u.dispatch=n,a.memoizedState=e,[t,n,!1]}function bd(e){var t=Ze();return Ed(t,De,e)}function Ed(e,t,n){if(t=zo(e,t,yd)[0],e=Ei(gn)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=Wa(t)}catch(g){throw g===Xa?gi:g}else a=t;t=Ze();var u=t.queue,s=u.dispatch;return n!==t.memoizedState&&(ve.flags|=2048,Il(9,xi(),jy.bind(null,u,n),null)),[a,s,e]}function jy(e,t){e.action=t}function xd(e){var t=Ze(),n=De;if(n!==null)return Ed(t,n,e);Ze(),t=t.memoizedState,n=Ze();var a=n.queue.dispatch;return n.memoizedState=e,[t,a,!1]}function Il(e,t,n,a){return e={tag:e,create:n,deps:a,inst:t,next:null},t=ve.updateQueue,t===null&&(t=ko(),ve.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(a=n.next,n.next=e,e.next=a,t.lastEffect=e),e}function xi(){return{destroy:void 0,resource:void 0}}function Sd(){return Ze().memoizedState}function Si(e,t,n,a){var u=vt();a=a===void 0?null:a,ve.flags|=e,u.memoizedState=Il(1|t,xi(),n,a)}function er(e,t,n,a){var u=Ze();a=a===void 0?null:a;var s=u.memoizedState.inst;De!==null&&a!==null&&Mo(a,De.memoizedState.deps)?u.memoizedState=Il(t,s,n,a):(ve.flags|=e,u.memoizedState=Il(1|t,s,n,a))}function Td(e,t){Si(8390656,8,e,t)}function wd(e,t){er(2048,8,e,t)}function Ad(e,t){return er(4,2,e,t)}function Od(e,t){return er(4,4,e,t)}function Rd(e,t){if(typeof t=="function"){e=e();var n=t(e);return function(){typeof n=="function"?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function _d(e,t,n){n=n!=null?n.concat([e]):null,er(4,4,Rd.bind(null,t,e),n)}function $o(){}function Md(e,t){var n=Ze();t=t===void 0?null:t;var a=n.memoizedState;return t!==null&&Mo(t,a[1])?a[0]:(n.memoizedState=[e,t],e)}function Dd(e,t){var n=Ze();t=t===void 0?null:t;var a=n.memoizedState;if(t!==null&&Mo(t,a[1]))return a[0];if(a=e(),ml){wn(!0);try{e()}finally{wn(!1)}}return n.memoizedState=[a,t],a}function Fo(e,t,n){return n===void 0||(Cn&1073741824)!==0?e.memoizedState=t:(e.memoizedState=n,e=Lp(),ve.lanes|=e,Hn|=e,n)}function Cd(e,t,n,a){return wt(n,t)?n:Kl.current!==null?(e=Fo(e,n,a),wt(e,t)||(Ie=!0),e):(Cn&42)===0?(Ie=!0,e.memoizedState=n):(e=Lp(),ve.lanes|=e,Hn|=e,t)}function Nd(e,t,n,a,u){var s=Q.p;Q.p=s!==0&&8>s?s:8;var g=z.T,b={};z.T=b,Yo(e,!1,t,n);try{var R=u(),j=z.S;if(j!==null&&j(b,R),R!==null&&typeof R=="object"&&typeof R.then=="function"){var q=Cy(R,a);tr(e,t,q,Mt(e))}else tr(e,t,a,Mt(e))}catch(Z){tr(e,t,{then:function(){},status:"rejected",reason:Z},Mt())}finally{Q.p=s,z.T=g}}function zy(){}function qo(e,t,n,a){if(e.tag!==5)throw Error(o(476));var u=Ld(e).queue;Nd(e,u,t,V,n===null?zy:function(){return kd(e),n(a)})}function Ld(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:V,baseState:V,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:gn,lastRenderedState:V},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:gn,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function kd(e){var t=Ld(e).next.queue;tr(e,t,{},Mt())}function Go(){return ut(br)}function jd(){return Ze().memoizedState}function zd(){return Ze().memoizedState}function By(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=Mt();e=Mn(n);var a=Dn(t,e,n);a!==null&&(Dt(a,t,n),Ka(a,t,n)),t={cache:bo()},e.payload=t;return}t=t.return}}function Hy(e,t,n){var a=Mt();n={lane:a,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null},Ti(e)?Hd(t,n):(n=oo(e,t,n,a),n!==null&&(Dt(n,e,a),Ud(n,t,a)))}function Bd(e,t,n){var a=Mt();tr(e,t,n,a)}function tr(e,t,n,a){var u={lane:a,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ti(e))Hd(t,u);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var g=t.lastRenderedState,b=s(g,n);if(u.hasEagerState=!0,u.eagerState=b,wt(b,g))return ii(e,t,u,0),je===null&&ri(),!1}catch{}finally{}if(n=oo(e,t,u,a),n!==null)return Dt(n,e,a),Ud(n,t,a),!0}return!1}function Yo(e,t,n,a){if(a={lane:2,revertLane:Ss(),action:a,hasEagerState:!1,eagerState:null,next:null},Ti(e)){if(t)throw Error(o(479))}else t=oo(e,n,a,2),t!==null&&Dt(t,e,2)}function Ti(e){var t=e.alternate;return e===ve||t!==null&&t===ve}function Hd(e,t){Pl=yi=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ud(e,t,n){if((n&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,Vc(e,n)}}var wi={readContext:ut,use:bi,useCallback:qe,useContext:qe,useEffect:qe,useImperativeHandle:qe,useLayoutEffect:qe,useInsertionEffect:qe,useMemo:qe,useReducer:qe,useRef:qe,useState:qe,useDebugValue:qe,useDeferredValue:qe,useTransition:qe,useSyncExternalStore:qe,useId:qe,useHostTransitionStatus:qe,useFormState:qe,useActionState:qe,useOptimistic:qe,useMemoCache:qe,useCacheRefresh:qe},$d={readContext:ut,use:bi,useCallback:function(e,t){return vt().memoizedState=[e,t===void 0?null:t],e},useContext:ut,useEffect:Td,useImperativeHandle:function(e,t,n){n=n!=null?n.concat([e]):null,Si(4194308,4,Rd.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Si(4194308,4,e,t)},useInsertionEffect:function(e,t){Si(4,2,e,t)},useMemo:function(e,t){var n=vt();t=t===void 0?null:t;var a=e();if(ml){wn(!0);try{e()}finally{wn(!1)}}return n.memoizedState=[a,t],a},useReducer:function(e,t,n){var a=vt();if(n!==void 0){var u=n(t);if(ml){wn(!0);try{n(t)}finally{wn(!1)}}}else u=t;return a.memoizedState=a.baseState=u,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:u},a.queue=e,e=e.dispatch=Hy.bind(null,ve,e),[a.memoizedState,e]},useRef:function(e){var t=vt();return e={current:e},t.memoizedState=e},useState:function(e){e=Ho(e);var t=e.queue,n=Bd.bind(null,ve,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:$o,useDeferredValue:function(e,t){var n=vt();return Fo(n,e,t)},useTransition:function(){var e=Ho(!1);return e=Nd.bind(null,ve,e.queue,!0,!1),vt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var a=ve,u=vt();if(Oe){if(n===void 0)throw Error(o(407));n=n()}else{if(n=t(),je===null)throw Error(o(349));(we&124)!==0||ud(a,t,n)}u.memoizedState=n;var s={value:n,getSnapshot:t};return u.queue=s,Td(sd.bind(null,a,s,e),[e]),a.flags|=2048,Il(9,xi(),od.bind(null,a,s,n,t),null),n},useId:function(){var e=vt(),t=je.identifierPrefix;if(Oe){var n=fn,a=cn;n=(a&~(1<<32-Tt(a)-1)).toString(32)+n,t="«"+t+"R"+n,n=vi++,0<n&&(t+="H"+n.toString(32)),t+="»"}else n=Ny++,t="«"+t+"r"+n.toString(32)+"»";return e.memoizedState=t},useHostTransitionStatus:Go,useFormState:vd,useActionState:vd,useOptimistic:function(e){var t=vt();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Yo.bind(null,ve,!0,n),n.dispatch=t,[e,t]},useMemoCache:jo,useCacheRefresh:function(){return vt().memoizedState=By.bind(null,ve)}},Fd={readContext:ut,use:bi,useCallback:Md,useContext:ut,useEffect:wd,useImperativeHandle:_d,useInsertionEffect:Ad,useLayoutEffect:Od,useMemo:Dd,useReducer:Ei,useRef:Sd,useState:function(){return Ei(gn)},useDebugValue:$o,useDeferredValue:function(e,t){var n=Ze();return Cd(n,De.memoizedState,e,t)},useTransition:function(){var e=Ei(gn)[0],t=Ze().memoizedState;return[typeof e=="boolean"?e:Wa(e),t]},useSyncExternalStore:id,useId:jd,useHostTransitionStatus:Go,useFormState:bd,useActionState:bd,useOptimistic:function(e,t){var n=Ze();return dd(n,De,e,t)},useMemoCache:jo,useCacheRefresh:zd},Uy={readContext:ut,use:bi,useCallback:Md,useContext:ut,useEffect:wd,useImperativeHandle:_d,useInsertionEffect:Ad,useLayoutEffect:Od,useMemo:Dd,useReducer:Bo,useRef:Sd,useState:function(){return Bo(gn)},useDebugValue:$o,useDeferredValue:function(e,t){var n=Ze();return De===null?Fo(n,e,t):Cd(n,De.memoizedState,e,t)},useTransition:function(){var e=Bo(gn)[0],t=Ze().memoizedState;return[typeof e=="boolean"?e:Wa(e),t]},useSyncExternalStore:id,useId:jd,useHostTransitionStatus:Go,useFormState:xd,useActionState:xd,useOptimistic:function(e,t){var n=Ze();return De!==null?dd(n,De,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:jo,useCacheRefresh:zd},Wl=null,nr=0;function Ai(e){var t=nr;return nr+=1,Wl===null&&(Wl=[]),If(Wl,e,t)}function lr(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Oi(e,t){throw t.$$typeof===S?Error(o(525)):(e=Object.prototype.toString.call(t),Error(o(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function qd(e){var t=e._init;return t(e._payload)}function Gd(e){function t(L,D){if(e){var k=L.deletions;k===null?(L.deletions=[D],L.flags|=16):k.push(D)}}function n(L,D){if(!e)return null;for(;D!==null;)t(L,D),D=D.sibling;return null}function a(L){for(var D=new Map;L!==null;)L.key!==null?D.set(L.key,L):D.set(L.index,L),L=L.sibling;return D}function u(L,D){return L=sn(L,D),L.index=0,L.sibling=null,L}function s(L,D,k){return L.index=k,e?(k=L.alternate,k!==null?(k=k.index,k<D?(L.flags|=67108866,D):k):(L.flags|=67108866,D)):(L.flags|=1048576,D)}function g(L){return e&&L.alternate===null&&(L.flags|=67108866),L}function b(L,D,k,G){return D===null||D.tag!==6?(D=co(k,L.mode,G),D.return=L,D):(D=u(D,k),D.return=L,D)}function R(L,D,k,G){var ae=k.type;return ae===v?q(L,D,k.props.children,G,k.key):D!==null&&(D.elementType===ae||typeof ae=="object"&&ae!==null&&ae.$$typeof===le&&qd(ae)===D.type)?(D=u(D,k.props),lr(D,k),D.return=L,D):(D=oi(k.type,k.key,k.props,null,L.mode,G),lr(D,k),D.return=L,D)}function j(L,D,k,G){return D===null||D.tag!==4||D.stateNode.containerInfo!==k.containerInfo||D.stateNode.implementation!==k.implementation?(D=fo(k,L.mode,G),D.return=L,D):(D=u(D,k.children||[]),D.return=L,D)}function q(L,D,k,G,ae){return D===null||D.tag!==7?(D=ul(k,L.mode,G,ae),D.return=L,D):(D=u(D,k),D.return=L,D)}function Z(L,D,k){if(typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint")return D=co(""+D,L.mode,k),D.return=L,D;if(typeof D=="object"&&D!==null){switch(D.$$typeof){case w:return k=oi(D.type,D.key,D.props,null,L.mode,k),lr(k,D),k.return=L,k;case T:return D=fo(D,L.mode,k),D.return=L,D;case le:var G=D._init;return D=G(D._payload),Z(L,D,k)}if(ge(D)||oe(D))return D=ul(D,L.mode,k,null),D.return=L,D;if(typeof D.then=="function")return Z(L,Ai(D),k);if(D.$$typeof===_)return Z(L,di(L,D),k);Oi(L,D)}return null}function B(L,D,k,G){var ae=D!==null?D.key:null;if(typeof k=="string"&&k!==""||typeof k=="number"||typeof k=="bigint")return ae!==null?null:b(L,D,""+k,G);if(typeof k=="object"&&k!==null){switch(k.$$typeof){case w:return k.key===ae?R(L,D,k,G):null;case T:return k.key===ae?j(L,D,k,G):null;case le:return ae=k._init,k=ae(k._payload),B(L,D,k,G)}if(ge(k)||oe(k))return ae!==null?null:q(L,D,k,G,null);if(typeof k.then=="function")return B(L,D,Ai(k),G);if(k.$$typeof===_)return B(L,D,di(L,k),G);Oi(L,k)}return null}function H(L,D,k,G,ae){if(typeof G=="string"&&G!==""||typeof G=="number"||typeof G=="bigint")return L=L.get(k)||null,b(D,L,""+G,ae);if(typeof G=="object"&&G!==null){switch(G.$$typeof){case w:return L=L.get(G.key===null?k:G.key)||null,R(D,L,G,ae);case T:return L=L.get(G.key===null?k:G.key)||null,j(D,L,G,ae);case le:var be=G._init;return G=be(G._payload),H(L,D,k,G,ae)}if(ge(G)||oe(G))return L=L.get(k)||null,q(D,L,G,ae,null);if(typeof G.then=="function")return H(L,D,k,Ai(G),ae);if(G.$$typeof===_)return H(L,D,k,di(D,G),ae);Oi(D,G)}return null}function me(L,D,k,G){for(var ae=null,be=null,se=D,pe=D=0,et=null;se!==null&&pe<k.length;pe++){se.index>pe?(et=se,se=null):et=se.sibling;var Ae=B(L,se,k[pe],G);if(Ae===null){se===null&&(se=et);break}e&&se&&Ae.alternate===null&&t(L,se),D=s(Ae,D,pe),be===null?ae=Ae:be.sibling=Ae,be=Ae,se=et}if(pe===k.length)return n(L,se),Oe&&sl(L,pe),ae;if(se===null){for(;pe<k.length;pe++)se=Z(L,k[pe],G),se!==null&&(D=s(se,D,pe),be===null?ae=se:be.sibling=se,be=se);return Oe&&sl(L,pe),ae}for(se=a(se);pe<k.length;pe++)et=H(se,L,pe,k[pe],G),et!==null&&(e&&et.alternate!==null&&se.delete(et.key===null?pe:et.key),D=s(et,D,pe),be===null?ae=et:be.sibling=et,be=et);return e&&se.forEach(function(Xn){return t(L,Xn)}),Oe&&sl(L,pe),ae}function de(L,D,k,G){if(k==null)throw Error(o(151));for(var ae=null,be=null,se=D,pe=D=0,et=null,Ae=k.next();se!==null&&!Ae.done;pe++,Ae=k.next()){se.index>pe?(et=se,se=null):et=se.sibling;var Xn=B(L,se,Ae.value,G);if(Xn===null){se===null&&(se=et);break}e&&se&&Xn.alternate===null&&t(L,se),D=s(Xn,D,pe),be===null?ae=Xn:be.sibling=Xn,be=Xn,se=et}if(Ae.done)return n(L,se),Oe&&sl(L,pe),ae;if(se===null){for(;!Ae.done;pe++,Ae=k.next())Ae=Z(L,Ae.value,G),Ae!==null&&(D=s(Ae,D,pe),be===null?ae=Ae:be.sibling=Ae,be=Ae);return Oe&&sl(L,pe),ae}for(se=a(se);!Ae.done;pe++,Ae=k.next())Ae=H(se,L,pe,Ae.value,G),Ae!==null&&(e&&Ae.alternate!==null&&se.delete(Ae.key===null?pe:Ae.key),D=s(Ae,D,pe),be===null?ae=Ae:be.sibling=Ae,be=Ae);return e&&se.forEach(function($v){return t(L,$v)}),Oe&&sl(L,pe),ae}function Ne(L,D,k,G){if(typeof k=="object"&&k!==null&&k.type===v&&k.key===null&&(k=k.props.children),typeof k=="object"&&k!==null){switch(k.$$typeof){case w:e:{for(var ae=k.key;D!==null;){if(D.key===ae){if(ae=k.type,ae===v){if(D.tag===7){n(L,D.sibling),G=u(D,k.props.children),G.return=L,L=G;break e}}else if(D.elementType===ae||typeof ae=="object"&&ae!==null&&ae.$$typeof===le&&qd(ae)===D.type){n(L,D.sibling),G=u(D,k.props),lr(G,k),G.return=L,L=G;break e}n(L,D);break}else t(L,D);D=D.sibling}k.type===v?(G=ul(k.props.children,L.mode,G,k.key),G.return=L,L=G):(G=oi(k.type,k.key,k.props,null,L.mode,G),lr(G,k),G.return=L,L=G)}return g(L);case T:e:{for(ae=k.key;D!==null;){if(D.key===ae)if(D.tag===4&&D.stateNode.containerInfo===k.containerInfo&&D.stateNode.implementation===k.implementation){n(L,D.sibling),G=u(D,k.children||[]),G.return=L,L=G;break e}else{n(L,D);break}else t(L,D);D=D.sibling}G=fo(k,L.mode,G),G.return=L,L=G}return g(L);case le:return ae=k._init,k=ae(k._payload),Ne(L,D,k,G)}if(ge(k))return me(L,D,k,G);if(oe(k)){if(ae=oe(k),typeof ae!="function")throw Error(o(150));return k=ae.call(k),de(L,D,k,G)}if(typeof k.then=="function")return Ne(L,D,Ai(k),G);if(k.$$typeof===_)return Ne(L,D,di(L,k),G);Oi(L,k)}return typeof k=="string"&&k!==""||typeof k=="number"||typeof k=="bigint"?(k=""+k,D!==null&&D.tag===6?(n(L,D.sibling),G=u(D,k),G.return=L,L=G):(n(L,D),G=co(k,L.mode,G),G.return=L,L=G),g(L)):n(L,D)}return function(L,D,k,G){try{nr=0;var ae=Ne(L,D,k,G);return Wl=null,ae}catch(se){if(se===Xa||se===gi)throw se;var be=At(29,se,null,L.mode);return be.lanes=G,be.return=L,be}finally{}}}var ea=Gd(!0),Yd=Gd(!1),$t=U(null),It=null;function Nn(e){var t=e.alternate;X(Qe,Qe.current&1),X($t,e),It===null&&(t===null||Kl.current!==null||t.memoizedState!==null)&&(It=e)}function Zd(e){if(e.tag===22){if(X(Qe,Qe.current),X($t,e),It===null){var t=e.alternate;t!==null&&t.memoizedState!==null&&(It=e)}}else Ln()}function Ln(){X(Qe,Qe.current),X($t,$t.current)}function mn(e){I($t),It===e&&(It=null),I(Qe)}var Qe=U(0);function Ri(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||ks(n)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Zo(e,t,n,a){t=e.memoizedState,n=n(a,t),n=n==null?t:y({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Vo={enqueueSetState:function(e,t,n){e=e._reactInternals;var a=Mt(),u=Mn(a);u.payload=t,n!=null&&(u.callback=n),t=Dn(e,u,a),t!==null&&(Dt(t,e,a),Ka(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var a=Mt(),u=Mn(a);u.tag=1,u.payload=t,n!=null&&(u.callback=n),t=Dn(e,u,a),t!==null&&(Dt(t,e,a),Ka(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Mt(),a=Mn(n);a.tag=2,t!=null&&(a.callback=t),t=Dn(e,a,n),t!==null&&(Dt(t,e,n),Ka(t,e,n))}};function Vd(e,t,n,a,u,s,g){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,s,g):t.prototype&&t.prototype.isPureReactComponent?!Ua(n,a)||!Ua(u,s):!0}function Xd(e,t,n,a){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,a),t.state!==e&&Vo.enqueueReplaceState(t,t.state,null)}function hl(e,t){var n=t;if("ref"in t){n={};for(var a in t)a!=="ref"&&(n[a]=t[a])}if(e=e.defaultProps){n===t&&(n=y({},n));for(var u in e)n[u]===void 0&&(n[u]=e[u])}return n}var _i=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)};function Qd(e){_i(e)}function Kd(e){console.error(e)}function Pd(e){_i(e)}function Mi(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}function Jd(e,t,n){try{var a=e.onCaughtError;a(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(u){setTimeout(function(){throw u})}}function Xo(e,t,n){return n=Mn(n),n.tag=3,n.payload={element:null},n.callback=function(){Mi(e,t)},n}function Id(e){return e=Mn(e),e.tag=3,e}function Wd(e,t,n,a){var u=n.type.getDerivedStateFromError;if(typeof u=="function"){var s=a.value;e.payload=function(){return u(s)},e.callback=function(){Jd(t,n,a)}}var g=n.stateNode;g!==null&&typeof g.componentDidCatch=="function"&&(e.callback=function(){Jd(t,n,a),typeof u!="function"&&(Un===null?Un=new Set([this]):Un.add(this));var b=a.stack;this.componentDidCatch(a.value,{componentStack:b!==null?b:""})})}function $y(e,t,n,a,u){if(n.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=n.alternate,t!==null&&Ya(t,n,u,!0),n=$t.current,n!==null){switch(n.tag){case 13:return It===null?ys():n.alternate===null&&Fe===0&&(Fe=3),n.flags&=-257,n.flags|=65536,n.lanes=u,a===So?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([a]):t.add(a),bs(e,a,u)),!1;case 22:return n.flags|=65536,a===So?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([a])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([a]):n.add(a)),bs(e,a,u)),!1}throw Error(o(435,n.tag))}return bs(e,a,u),ys(),!1}if(Oe)return t=$t.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=u,a!==mo&&(e=Error(o(422),{cause:a}),Ga(zt(e,n)))):(a!==mo&&(t=Error(o(423),{cause:a}),Ga(zt(t,n))),e=e.current.alternate,e.flags|=65536,u&=-u,e.lanes|=u,a=zt(a,n),u=Xo(e.stateNode,a,u),Ao(e,u),Fe!==4&&(Fe=2)),!1;var s=Error(o(520),{cause:a});if(s=zt(s,n),cr===null?cr=[s]:cr.push(s),Fe!==4&&(Fe=2),t===null)return!0;a=zt(a,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=u&-u,n.lanes|=e,e=Xo(n.stateNode,a,e),Ao(n,e),!1;case 1:if(t=n.type,s=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||s!==null&&typeof s.componentDidCatch=="function"&&(Un===null||!Un.has(s))))return n.flags|=65536,u&=-u,n.lanes|=u,u=Id(u),Wd(u,e,n,a),Ao(n,u),!1}n=n.return}while(n!==null);return!1}var ep=Error(o(461)),Ie=!1;function lt(e,t,n,a){t.child=e===null?Yd(t,null,n,a):ea(t,e.child,n,a)}function tp(e,t,n,a,u){n=n.render;var s=t.ref;if("ref"in a){var g={};for(var b in a)b!=="ref"&&(g[b]=a[b])}else g=a;return pl(t),a=Do(e,t,n,g,s,u),b=Co(),e!==null&&!Ie?(No(e,t,u),hn(e,t,u)):(Oe&&b&&po(t),t.flags|=1,lt(e,t,a,u),t.child)}function np(e,t,n,a,u){if(e===null){var s=n.type;return typeof s=="function"&&!so(s)&&s.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=s,lp(e,t,s,a,u)):(e=oi(n.type,null,a,t,t.mode,u),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!ts(e,u)){var g=s.memoizedProps;if(n=n.compare,n=n!==null?n:Ua,n(g,a)&&e.ref===t.ref)return hn(e,t,u)}return t.flags|=1,e=sn(s,a),e.ref=t.ref,e.return=t,t.child=e}function lp(e,t,n,a,u){if(e!==null){var s=e.memoizedProps;if(Ua(s,a)&&e.ref===t.ref)if(Ie=!1,t.pendingProps=a=s,ts(e,u))(e.flags&131072)!==0&&(Ie=!0);else return t.lanes=e.lanes,hn(e,t,u)}return Qo(e,t,n,a,u)}function ap(e,t,n){var a=t.pendingProps,u=a.children,s=e!==null?e.memoizedState:null;if(a.mode==="hidden"){if((t.flags&128)!==0){if(a=s!==null?s.baseLanes|n:n,e!==null){for(u=t.child=e.child,s=0;u!==null;)s=s|u.lanes|u.childLanes,u=u.sibling;t.childLanes=s&~a}else t.childLanes=0,t.child=null;return rp(e,t,a,n)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&pi(t,s!==null?s.cachePool:null),s!==null?ld(t,s):Ro(),Zd(t);else return t.lanes=t.childLanes=536870912,rp(e,t,s!==null?s.baseLanes|n:n,n)}else s!==null?(pi(t,s.cachePool),ld(t,s),Ln(),t.memoizedState=null):(e!==null&&pi(t,null),Ro(),Ln());return lt(e,t,u,n),t.child}function rp(e,t,n,a){var u=xo();return u=u===null?null:{parent:Xe._currentValue,pool:u},t.memoizedState={baseLanes:n,cachePool:u},e!==null&&pi(t,null),Ro(),Zd(t),e!==null&&Ya(e,t,a,!0),null}function Di(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error(o(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function Qo(e,t,n,a,u){return pl(t),n=Do(e,t,n,a,void 0,u),a=Co(),e!==null&&!Ie?(No(e,t,u),hn(e,t,u)):(Oe&&a&&po(t),t.flags|=1,lt(e,t,n,u),t.child)}function ip(e,t,n,a,u,s){return pl(t),t.updateQueue=null,n=rd(t,a,n,u),ad(e),a=Co(),e!==null&&!Ie?(No(e,t,s),hn(e,t,s)):(Oe&&a&&po(t),t.flags|=1,lt(e,t,n,s),t.child)}function up(e,t,n,a,u){if(pl(t),t.stateNode===null){var s=Yl,g=n.contextType;typeof g=="object"&&g!==null&&(s=ut(g)),s=new n(a,s),t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,s.updater=Vo,t.stateNode=s,s._reactInternals=t,s=t.stateNode,s.props=a,s.state=t.memoizedState,s.refs={},To(t),g=n.contextType,s.context=typeof g=="object"&&g!==null?ut(g):Yl,s.state=t.memoizedState,g=n.getDerivedStateFromProps,typeof g=="function"&&(Zo(t,n,g,a),s.state=t.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(g=s.state,typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),g!==s.state&&Vo.enqueueReplaceState(s,s.state,null),Ja(t,a,s,u),Pa(),s.state=t.memoizedState),typeof s.componentDidMount=="function"&&(t.flags|=4194308),a=!0}else if(e===null){s=t.stateNode;var b=t.memoizedProps,R=hl(n,b);s.props=R;var j=s.context,q=n.contextType;g=Yl,typeof q=="object"&&q!==null&&(g=ut(q));var Z=n.getDerivedStateFromProps;q=typeof Z=="function"||typeof s.getSnapshotBeforeUpdate=="function",b=t.pendingProps!==b,q||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(b||j!==g)&&Xd(t,s,a,g),_n=!1;var B=t.memoizedState;s.state=B,Ja(t,a,s,u),Pa(),j=t.memoizedState,b||B!==j||_n?(typeof Z=="function"&&(Zo(t,n,Z,a),j=t.memoizedState),(R=_n||Vd(t,n,R,a,B,j,g))?(q||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=j),s.props=a,s.state=j,s.context=g,a=R):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{s=t.stateNode,wo(e,t),g=t.memoizedProps,q=hl(n,g),s.props=q,Z=t.pendingProps,B=s.context,j=n.contextType,R=Yl,typeof j=="object"&&j!==null&&(R=ut(j)),b=n.getDerivedStateFromProps,(j=typeof b=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(g!==Z||B!==R)&&Xd(t,s,a,R),_n=!1,B=t.memoizedState,s.state=B,Ja(t,a,s,u),Pa();var H=t.memoizedState;g!==Z||B!==H||_n||e!==null&&e.dependencies!==null&&fi(e.dependencies)?(typeof b=="function"&&(Zo(t,n,b,a),H=t.memoizedState),(q=_n||Vd(t,n,q,a,B,H,R)||e!==null&&e.dependencies!==null&&fi(e.dependencies))?(j||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(a,H,R),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(a,H,R)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||g===e.memoizedProps&&B===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||g===e.memoizedProps&&B===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=H),s.props=a,s.state=H,s.context=R,a=q):(typeof s.componentDidUpdate!="function"||g===e.memoizedProps&&B===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||g===e.memoizedProps&&B===e.memoizedState||(t.flags|=1024),a=!1)}return s=a,Di(e,t),a=(t.flags&128)!==0,s||a?(s=t.stateNode,n=a&&typeof n.getDerivedStateFromError!="function"?null:s.render(),t.flags|=1,e!==null&&a?(t.child=ea(t,e.child,null,u),t.child=ea(t,null,n,u)):lt(e,t,n,u),t.memoizedState=s.state,e=t.child):e=hn(e,t,u),e}function op(e,t,n,a){return qa(),t.flags|=256,lt(e,t,n,a),t.child}var Ko={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Po(e){return{baseLanes:e,cachePool:Kf()}}function Jo(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=Ft),e}function sp(e,t,n){var a=t.pendingProps,u=!1,s=(t.flags&128)!==0,g;if((g=s)||(g=e!==null&&e.memoizedState===null?!1:(Qe.current&2)!==0),g&&(u=!0,t.flags&=-129),g=(t.flags&32)!==0,t.flags&=-33,e===null){if(Oe){if(u?Nn(t):Ln(),Oe){var b=$e,R;if(R=b){e:{for(R=b,b=Jt;R.nodeType!==8;){if(!b){b=null;break e}if(R=Xt(R.nextSibling),R===null){b=null;break e}}b=R}b!==null?(t.memoizedState={dehydrated:b,treeContext:ol!==null?{id:cn,overflow:fn}:null,retryLane:536870912,hydrationErrors:null},R=At(18,null,null,0),R.stateNode=b,R.return=t,t.child=R,dt=t,$e=null,R=!0):R=!1}R||fl(t)}if(b=t.memoizedState,b!==null&&(b=b.dehydrated,b!==null))return ks(b)?t.lanes=32:t.lanes=536870912,null;mn(t)}return b=a.children,a=a.fallback,u?(Ln(),u=t.mode,b=Ci({mode:"hidden",children:b},u),a=ul(a,u,n,null),b.return=t,a.return=t,b.sibling=a,t.child=b,u=t.child,u.memoizedState=Po(n),u.childLanes=Jo(e,g,n),t.memoizedState=Ko,a):(Nn(t),Io(t,b))}if(R=e.memoizedState,R!==null&&(b=R.dehydrated,b!==null)){if(s)t.flags&256?(Nn(t),t.flags&=-257,t=Wo(e,t,n)):t.memoizedState!==null?(Ln(),t.child=e.child,t.flags|=128,t=null):(Ln(),u=a.fallback,b=t.mode,a=Ci({mode:"visible",children:a.children},b),u=ul(u,b,n,null),u.flags|=2,a.return=t,u.return=t,a.sibling=u,t.child=a,ea(t,e.child,null,n),a=t.child,a.memoizedState=Po(n),a.childLanes=Jo(e,g,n),t.memoizedState=Ko,t=u);else if(Nn(t),ks(b)){if(g=b.nextSibling&&b.nextSibling.dataset,g)var j=g.dgst;g=j,a=Error(o(419)),a.stack="",a.digest=g,Ga({value:a,source:null,stack:null}),t=Wo(e,t,n)}else if(Ie||Ya(e,t,n,!1),g=(n&e.childLanes)!==0,Ie||g){if(g=je,g!==null&&(a=n&-n,a=(a&42)!==0?1:ku(a),a=(a&(g.suspendedLanes|n))!==0?0:a,a!==0&&a!==R.retryLane))throw R.retryLane=a,Gl(e,a),Dt(g,e,a),ep;b.data==="$?"||ys(),t=Wo(e,t,n)}else b.data==="$?"?(t.flags|=192,t.child=e.child,t=null):(e=R.treeContext,$e=Xt(b.nextSibling),dt=t,Oe=!0,cl=null,Jt=!1,e!==null&&(Ht[Ut++]=cn,Ht[Ut++]=fn,Ht[Ut++]=ol,cn=e.id,fn=e.overflow,ol=t),t=Io(t,a.children),t.flags|=4096);return t}return u?(Ln(),u=a.fallback,b=t.mode,R=e.child,j=R.sibling,a=sn(R,{mode:"hidden",children:a.children}),a.subtreeFlags=R.subtreeFlags&65011712,j!==null?u=sn(j,u):(u=ul(u,b,n,null),u.flags|=2),u.return=t,a.return=t,a.sibling=u,t.child=a,a=u,u=t.child,b=e.child.memoizedState,b===null?b=Po(n):(R=b.cachePool,R!==null?(j=Xe._currentValue,R=R.parent!==j?{parent:j,pool:j}:R):R=Kf(),b={baseLanes:b.baseLanes|n,cachePool:R}),u.memoizedState=b,u.childLanes=Jo(e,g,n),t.memoizedState=Ko,a):(Nn(t),n=e.child,e=n.sibling,n=sn(n,{mode:"visible",children:a.children}),n.return=t,n.sibling=null,e!==null&&(g=t.deletions,g===null?(t.deletions=[e],t.flags|=16):g.push(e)),t.child=n,t.memoizedState=null,n)}function Io(e,t){return t=Ci({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Ci(e,t){return e=At(22,e,null,t),e.lanes=0,e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function Wo(e,t,n){return ea(t,e.child,null,n),e=Io(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function cp(e,t,n){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),yo(e.return,t,n)}function es(e,t,n,a,u){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:n,tailMode:u}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=a,s.tail=n,s.tailMode=u)}function fp(e,t,n){var a=t.pendingProps,u=a.revealOrder,s=a.tail;if(lt(e,t,a.children,n),a=Qe.current,(a&2)!==0)a=a&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&cp(e,n,t);else if(e.tag===19)cp(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}a&=1}switch(X(Qe,a),u){case"forwards":for(n=t.child,u=null;n!==null;)e=n.alternate,e!==null&&Ri(e)===null&&(u=n),n=n.sibling;n=u,n===null?(u=t.child,t.child=null):(u=n.sibling,n.sibling=null),es(t,!1,u,n,s);break;case"backwards":for(n=null,u=t.child,t.child=null;u!==null;){if(e=u.alternate,e!==null&&Ri(e)===null){t.child=u;break}e=u.sibling,u.sibling=n,n=u,u=e}es(t,!0,n,null,s);break;case"together":es(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function hn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Hn|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(Ya(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(o(153));if(t.child!==null){for(e=t.child,n=sn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=sn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function ts(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&fi(e)))}function Fy(e,t,n){switch(t.tag){case 3:Te(t,t.stateNode.containerInfo),Rn(t,Xe,e.memoizedState.cache),qa();break;case 27:case 5:Yt(t);break;case 4:Te(t,t.stateNode.containerInfo);break;case 10:Rn(t,t.type,t.memoizedProps.value);break;case 13:var a=t.memoizedState;if(a!==null)return a.dehydrated!==null?(Nn(t),t.flags|=128,null):(n&t.child.childLanes)!==0?sp(e,t,n):(Nn(t),e=hn(e,t,n),e!==null?e.sibling:null);Nn(t);break;case 19:var u=(e.flags&128)!==0;if(a=(n&t.childLanes)!==0,a||(Ya(e,t,n,!1),a=(n&t.childLanes)!==0),u){if(a)return fp(e,t,n);t.flags|=128}if(u=t.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),X(Qe,Qe.current),a)break;return null;case 22:case 23:return t.lanes=0,ap(e,t,n);case 24:Rn(t,Xe,e.memoizedState.cache)}return hn(e,t,n)}function dp(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)Ie=!0;else{if(!ts(e,n)&&(t.flags&128)===0)return Ie=!1,Fy(e,t,n);Ie=(e.flags&131072)!==0}else Ie=!1,Oe&&(t.flags&1048576)!==0&&qf(t,ci,t.index);switch(t.lanes=0,t.tag){case 16:e:{e=t.pendingProps;var a=t.elementType,u=a._init;if(a=u(a._payload),t.type=a,typeof a=="function")so(a)?(e=hl(a,e),t.tag=1,t=up(null,t,a,e,n)):(t.tag=0,t=Qo(null,t,a,e,n));else{if(a!=null){if(u=a.$$typeof,u===$){t.tag=11,t=tp(null,t,a,e,n);break e}else if(u===W){t.tag=14,t=np(null,t,a,e,n);break e}}throw t=ce(a)||a,Error(o(306,t,""))}}return t;case 0:return Qo(e,t,t.type,t.pendingProps,n);case 1:return a=t.type,u=hl(a,t.pendingProps),up(e,t,a,u,n);case 3:e:{if(Te(t,t.stateNode.containerInfo),e===null)throw Error(o(387));a=t.pendingProps;var s=t.memoizedState;u=s.element,wo(e,t),Ja(t,a,null,n);var g=t.memoizedState;if(a=g.cache,Rn(t,Xe,a),a!==s.cache&&vo(t,[Xe],n,!0),Pa(),a=g.element,s.isDehydrated)if(s={element:a,isDehydrated:!1,cache:g.cache},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){t=op(e,t,a,n);break e}else if(a!==u){u=zt(Error(o(424)),t),Ga(u),t=op(e,t,a,n);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for($e=Xt(e.firstChild),dt=t,Oe=!0,cl=null,Jt=!0,n=Yd(t,null,a,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(qa(),a===u){t=hn(e,t,n);break e}lt(e,t,a,n)}t=t.child}return t;case 26:return Di(e,t),e===null?(n=hg(t.type,null,t.pendingProps,null))?t.memoizedState=n:Oe||(n=t.type,e=t.pendingProps,a=Zi(ie.current).createElement(n),a[it]=t,a[ht]=e,rt(a,n,e),Je(a),t.stateNode=a):t.memoizedState=hg(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Yt(t),e===null&&Oe&&(a=t.stateNode=pg(t.type,t.pendingProps,ie.current),dt=t,Jt=!0,u=$e,qn(t.type)?(js=u,$e=Xt(a.firstChild)):$e=u),lt(e,t,t.pendingProps.children,n),Di(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Oe&&((u=a=$e)&&(a=mv(a,t.type,t.pendingProps,Jt),a!==null?(t.stateNode=a,dt=t,$e=Xt(a.firstChild),Jt=!1,u=!0):u=!1),u||fl(t)),Yt(t),u=t.type,s=t.pendingProps,g=e!==null?e.memoizedProps:null,a=s.children,Cs(u,s)?a=null:g!==null&&Cs(u,g)&&(t.flags|=32),t.memoizedState!==null&&(u=Do(e,t,Ly,null,null,n),br._currentValue=u),Di(e,t),lt(e,t,a,n),t.child;case 6:return e===null&&Oe&&((e=n=$e)&&(n=hv(n,t.pendingProps,Jt),n!==null?(t.stateNode=n,dt=t,$e=null,e=!0):e=!1),e||fl(t)),null;case 13:return sp(e,t,n);case 4:return Te(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=ea(t,null,a,n):lt(e,t,a,n),t.child;case 11:return tp(e,t,t.type,t.pendingProps,n);case 7:return lt(e,t,t.pendingProps,n),t.child;case 8:return lt(e,t,t.pendingProps.children,n),t.child;case 12:return lt(e,t,t.pendingProps.children,n),t.child;case 10:return a=t.pendingProps,Rn(t,t.type,a.value),lt(e,t,a.children,n),t.child;case 9:return u=t.type._context,a=t.pendingProps.children,pl(t),u=ut(u),a=a(u),t.flags|=1,lt(e,t,a,n),t.child;case 14:return np(e,t,t.type,t.pendingProps,n);case 15:return lp(e,t,t.type,t.pendingProps,n);case 19:return fp(e,t,n);case 31:return a=t.pendingProps,n=t.mode,a={mode:a.mode,children:a.children},e===null?(n=Ci(a,n),n.ref=t.ref,t.child=n,n.return=t,t=n):(n=sn(e.child,a),n.ref=t.ref,t.child=n,n.return=t,t=n),t;case 22:return ap(e,t,n);case 24:return pl(t),a=ut(Xe),e===null?(u=xo(),u===null&&(u=je,s=bo(),u.pooledCache=s,s.refCount++,s!==null&&(u.pooledCacheLanes|=n),u=s),t.memoizedState={parent:a,cache:u},To(t),Rn(t,Xe,u)):((e.lanes&n)!==0&&(wo(e,t),Ja(t,null,null,n),Pa()),u=e.memoizedState,s=t.memoizedState,u.parent!==a?(u={parent:a,cache:a},t.memoizedState=u,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=u),Rn(t,Xe,a)):(a=s.cache,Rn(t,Xe,a),a!==u.cache&&vo(t,[Xe],n,!0))),lt(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(o(156,t.tag))}function yn(e){e.flags|=4}function pp(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!xg(t)){if(t=$t.current,t!==null&&((we&4194048)===we?It!==null:(we&62914560)!==we&&(we&536870912)===0||t!==It))throw Qa=So,Pf;e.flags|=8192}}function Ni(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Yc():536870912,e.lanes|=t,aa|=t)}function ar(e,t){if(!Oe)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var a=null;n!==null;)n.alternate!==null&&(a=n),n=n.sibling;a===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function Ue(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,a=0;if(t)for(var u=e.child;u!==null;)n|=u.lanes|u.childLanes,a|=u.subtreeFlags&65011712,a|=u.flags&65011712,u.return=e,u=u.sibling;else for(u=e.child;u!==null;)n|=u.lanes|u.childLanes,a|=u.subtreeFlags,a|=u.flags,u.return=e,u=u.sibling;return e.subtreeFlags|=a,e.childLanes=n,t}function qy(e,t,n){var a=t.pendingProps;switch(go(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ue(t),null;case 1:return Ue(t),null;case 3:return n=t.stateNode,a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),pn(Xe),ke(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Fa(t)?yn(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Zf())),Ue(t),null;case 26:return n=t.memoizedState,e===null?(yn(t),n!==null?(Ue(t),pp(t,n)):(Ue(t),t.flags&=-16777217)):n?n!==e.memoizedState?(yn(t),Ue(t),pp(t,n)):(Ue(t),t.flags&=-16777217):(e.memoizedProps!==a&&yn(t),Ue(t),t.flags&=-16777217),null;case 27:mt(t),n=ie.current;var u=t.type;if(e!==null&&t.stateNode!=null)e.memoizedProps!==a&&yn(t);else{if(!a){if(t.stateNode===null)throw Error(o(166));return Ue(t),null}e=K.current,Fa(t)?Gf(t):(e=pg(u,a,n),t.stateNode=e,yn(t))}return Ue(t),null;case 5:if(mt(t),n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&yn(t);else{if(!a){if(t.stateNode===null)throw Error(o(166));return Ue(t),null}if(e=K.current,Fa(t))Gf(t);else{switch(u=Zi(ie.current),e){case 1:e=u.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:e=u.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":e=u.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":e=u.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":e=u.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof a.is=="string"?u.createElement("select",{is:a.is}):u.createElement("select"),a.multiple?e.multiple=!0:a.size&&(e.size=a.size);break;default:e=typeof a.is=="string"?u.createElement(n,{is:a.is}):u.createElement(n)}}e[it]=t,e[ht]=a;e:for(u=t.child;u!==null;){if(u.tag===5||u.tag===6)e.appendChild(u.stateNode);else if(u.tag!==4&&u.tag!==27&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===t)break e;for(;u.sibling===null;){if(u.return===null||u.return===t)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}t.stateNode=e;e:switch(rt(e,n,a),n){case"button":case"input":case"select":case"textarea":e=!!a.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&yn(t)}}return Ue(t),t.flags&=-16777217,null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&yn(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(o(166));if(e=ie.current,Fa(t)){if(e=t.stateNode,n=t.memoizedProps,a=null,u=dt,u!==null)switch(u.tag){case 27:case 5:a=u.memoizedProps}e[it]=t,e=!!(e.nodeValue===n||a!==null&&a.suppressHydrationWarning===!0||ig(e.nodeValue,n)),e||fl(t)}else e=Zi(e).createTextNode(a),e[it]=t,t.stateNode=e}return Ue(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(u=Fa(t),a!==null&&a.dehydrated!==null){if(e===null){if(!u)throw Error(o(318));if(u=t.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(o(317));u[it]=t}else qa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ue(t),u=!1}else u=Zf(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=u),u=!0;if(!u)return t.flags&256?(mn(t),t):(mn(t),null)}if(mn(t),(t.flags&128)!==0)return t.lanes=n,t;if(n=a!==null,e=e!==null&&e.memoizedState!==null,n){a=t.child,u=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(u=a.alternate.memoizedState.cachePool.pool);var s=null;a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(s=a.memoizedState.cachePool.pool),s!==u&&(a.flags|=2048)}return n!==e&&n&&(t.child.flags|=8192),Ni(t,t.updateQueue),Ue(t),null;case 4:return ke(),e===null&&Os(t.stateNode.containerInfo),Ue(t),null;case 10:return pn(t.type),Ue(t),null;case 19:if(I(Qe),u=t.memoizedState,u===null)return Ue(t),null;if(a=(t.flags&128)!==0,s=u.rendering,s===null)if(a)ar(u,!1);else{if(Fe!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(s=Ri(e),s!==null){for(t.flags|=128,ar(u,!1),e=s.updateQueue,t.updateQueue=e,Ni(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)Ff(n,e),n=n.sibling;return X(Qe,Qe.current&1|2),t.child}e=e.sibling}u.tail!==null&&Pt()>ji&&(t.flags|=128,a=!0,ar(u,!1),t.lanes=4194304)}else{if(!a)if(e=Ri(s),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,Ni(t,e),ar(u,!0),u.tail===null&&u.tailMode==="hidden"&&!s.alternate&&!Oe)return Ue(t),null}else 2*Pt()-u.renderingStartTime>ji&&n!==536870912&&(t.flags|=128,a=!0,ar(u,!1),t.lanes=4194304);u.isBackwards?(s.sibling=t.child,t.child=s):(e=u.last,e!==null?e.sibling=s:t.child=s,u.last=s)}return u.tail!==null?(t=u.tail,u.rendering=t,u.tail=t.sibling,u.renderingStartTime=Pt(),t.sibling=null,e=Qe.current,X(Qe,a?e&1|2:e&1),t):(Ue(t),null);case 22:case 23:return mn(t),_o(),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(n&536870912)!==0&&(t.flags&128)===0&&(Ue(t),t.subtreeFlags&6&&(t.flags|=8192)):Ue(t),n=t.updateQueue,n!==null&&Ni(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==n&&(t.flags|=2048),e!==null&&I(gl),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),pn(Xe),Ue(t),null;case 25:return null;case 30:return null}throw Error(o(156,t.tag))}function Gy(e,t){switch(go(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return pn(Xe),ke(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return mt(t),null;case 13:if(mn(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(o(340));qa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return I(Qe),null;case 4:return ke(),null;case 10:return pn(t.type),null;case 22:case 23:return mn(t),_o(),e!==null&&I(gl),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return pn(Xe),null;case 25:return null;default:return null}}function gp(e,t){switch(go(t),t.tag){case 3:pn(Xe),ke();break;case 26:case 27:case 5:mt(t);break;case 4:ke();break;case 13:mn(t);break;case 19:I(Qe);break;case 10:pn(t.type);break;case 22:case 23:mn(t),_o(),e!==null&&I(gl);break;case 24:pn(Xe)}}function rr(e,t){try{var n=t.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var u=a.next;n=u;do{if((n.tag&e)===e){a=void 0;var s=n.create,g=n.inst;a=s(),g.destroy=a}n=n.next}while(n!==u)}}catch(b){Le(t,t.return,b)}}function kn(e,t,n){try{var a=t.updateQueue,u=a!==null?a.lastEffect:null;if(u!==null){var s=u.next;a=s;do{if((a.tag&e)===e){var g=a.inst,b=g.destroy;if(b!==void 0){g.destroy=void 0,u=t;var R=n,j=b;try{j()}catch(q){Le(u,R,q)}}}a=a.next}while(a!==s)}}catch(q){Le(t,t.return,q)}}function mp(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{nd(t,n)}catch(a){Le(e,e.return,a)}}}function hp(e,t,n){n.props=hl(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(a){Le(e,t,a)}}function ir(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var a=e.stateNode;break;case 30:a=e.stateNode;break;default:a=e.stateNode}typeof n=="function"?e.refCleanup=n(a):n.current=a}}catch(u){Le(e,t,u)}}function Wt(e,t){var n=e.ref,a=e.refCleanup;if(n!==null)if(typeof a=="function")try{a()}catch(u){Le(e,t,u)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(u){Le(e,t,u)}else n.current=null}function yp(e){var t=e.type,n=e.memoizedProps,a=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&a.focus();break e;case"img":n.src?a.src=n.src:n.srcSet&&(a.srcset=n.srcSet)}}catch(u){Le(e,e.return,u)}}function ns(e,t,n){try{var a=e.stateNode;cv(a,e.type,n,t),a[ht]=t}catch(u){Le(e,e.return,u)}}function vp(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&qn(e.type)||e.tag===4}function ls(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||vp(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&qn(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function as(e,t,n){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Yi));else if(a!==4&&(a===27&&qn(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(as(e,t,n),e=e.sibling;e!==null;)as(e,t,n),e=e.sibling}function Li(e,t,n){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(a!==4&&(a===27&&qn(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(Li(e,t,n),e=e.sibling;e!==null;)Li(e,t,n),e=e.sibling}function bp(e){var t=e.stateNode,n=e.memoizedProps;try{for(var a=e.type,u=t.attributes;u.length;)t.removeAttributeNode(u[0]);rt(t,a,n),t[it]=e,t[ht]=n}catch(s){Le(e,e.return,s)}}var vn=!1,Ge=!1,rs=!1,Ep=typeof WeakSet=="function"?WeakSet:Set,We=null;function Yy(e,t){if(e=e.containerInfo,Ms=Ji,e=Cf(e),no(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var a=n.getSelection&&n.getSelection();if(a&&a.rangeCount!==0){n=a.anchorNode;var u=a.anchorOffset,s=a.focusNode;a=a.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var g=0,b=-1,R=-1,j=0,q=0,Z=e,B=null;t:for(;;){for(var H;Z!==n||u!==0&&Z.nodeType!==3||(b=g+u),Z!==s||a!==0&&Z.nodeType!==3||(R=g+a),Z.nodeType===3&&(g+=Z.nodeValue.length),(H=Z.firstChild)!==null;)B=Z,Z=H;for(;;){if(Z===e)break t;if(B===n&&++j===u&&(b=g),B===s&&++q===a&&(R=g),(H=Z.nextSibling)!==null)break;Z=B,B=Z.parentNode}Z=H}n=b===-1||R===-1?null:{start:b,end:R}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ds={focusedElem:e,selectionRange:n},Ji=!1,We=t;We!==null;)if(t=We,e=t.child,(t.subtreeFlags&1024)!==0&&e!==null)e.return=t,We=e;else for(;We!==null;){switch(t=We,s=t.alternate,e=t.flags,t.tag){case 0:break;case 11:case 15:break;case 1:if((e&1024)!==0&&s!==null){e=void 0,n=t,u=s.memoizedProps,s=s.memoizedState,a=n.stateNode;try{var me=hl(n.type,u,n.elementType===n.type);e=a.getSnapshotBeforeUpdate(me,s),a.__reactInternalSnapshotBeforeUpdate=e}catch(de){Le(n,n.return,de)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)Ls(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Ls(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(o(163))}if(e=t.sibling,e!==null){e.return=t.return,We=e;break}We=t.return}}function xp(e,t,n){var a=n.flags;switch(n.tag){case 0:case 11:case 15:jn(e,n),a&4&&rr(5,n);break;case 1:if(jn(e,n),a&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(g){Le(n,n.return,g)}else{var u=hl(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(u,t,e.__reactInternalSnapshotBeforeUpdate)}catch(g){Le(n,n.return,g)}}a&64&&mp(n),a&512&&ir(n,n.return);break;case 3:if(jn(e,n),a&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{nd(e,t)}catch(g){Le(n,n.return,g)}}break;case 27:t===null&&a&4&&bp(n);case 26:case 5:jn(e,n),t===null&&a&4&&yp(n),a&512&&ir(n,n.return);break;case 12:jn(e,n);break;case 13:jn(e,n),a&4&&wp(e,n),a&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=Wy.bind(null,n),yv(e,n))));break;case 22:if(a=n.memoizedState!==null||vn,!a){t=t!==null&&t.memoizedState!==null||Ge,u=vn;var s=Ge;vn=a,(Ge=t)&&!s?zn(e,n,(n.subtreeFlags&8772)!==0):jn(e,n),vn=u,Ge=s}break;case 30:break;default:jn(e,n)}}function Sp(e){var t=e.alternate;t!==null&&(e.alternate=null,Sp(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Bu(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 He=null,bt=!1;function bn(e,t,n){for(n=n.child;n!==null;)Tp(e,t,n),n=n.sibling}function Tp(e,t,n){if(St&&typeof St.onCommitFiberUnmount=="function")try{St.onCommitFiberUnmount(Ra,n)}catch{}switch(n.tag){case 26:Ge||Wt(n,t),bn(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:Ge||Wt(n,t);var a=He,u=bt;qn(n.type)&&(He=n.stateNode,bt=!1),bn(e,t,n),mr(n.stateNode),He=a,bt=u;break;case 5:Ge||Wt(n,t);case 6:if(a=He,u=bt,He=null,bn(e,t,n),He=a,bt=u,He!==null)if(bt)try{(He.nodeType===9?He.body:He.nodeName==="HTML"?He.ownerDocument.body:He).removeChild(n.stateNode)}catch(s){Le(n,t,s)}else try{He.removeChild(n.stateNode)}catch(s){Le(n,t,s)}break;case 18:He!==null&&(bt?(e=He,fg(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),Tr(e)):fg(He,n.stateNode));break;case 4:a=He,u=bt,He=n.stateNode.containerInfo,bt=!0,bn(e,t,n),He=a,bt=u;break;case 0:case 11:case 14:case 15:Ge||kn(2,n,t),Ge||kn(4,n,t),bn(e,t,n);break;case 1:Ge||(Wt(n,t),a=n.stateNode,typeof a.componentWillUnmount=="function"&&hp(n,t,a)),bn(e,t,n);break;case 21:bn(e,t,n);break;case 22:Ge=(a=Ge)||n.memoizedState!==null,bn(e,t,n),Ge=a;break;default:bn(e,t,n)}}function wp(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Tr(e)}catch(n){Le(t,t.return,n)}}function Zy(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Ep),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Ep),t;default:throw Error(o(435,e.tag))}}function is(e,t){var n=Zy(e);t.forEach(function(a){var u=ev.bind(null,e,a);n.has(a)||(n.add(a),a.then(u,u))})}function Ot(e,t){var n=t.deletions;if(n!==null)for(var a=0;a<n.length;a++){var u=n[a],s=e,g=t,b=g;e:for(;b!==null;){switch(b.tag){case 27:if(qn(b.type)){He=b.stateNode,bt=!1;break e}break;case 5:He=b.stateNode,bt=!1;break e;case 3:case 4:He=b.stateNode.containerInfo,bt=!0;break e}b=b.return}if(He===null)throw Error(o(160));Tp(s,g,u),He=null,bt=!1,s=u.alternate,s!==null&&(s.return=null),u.return=null}if(t.subtreeFlags&13878)for(t=t.child;t!==null;)Ap(t,e),t=t.sibling}var Vt=null;function Ap(e,t){var n=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Ot(t,e),Rt(e),a&4&&(kn(3,e,e.return),rr(3,e),kn(5,e,e.return));break;case 1:Ot(t,e),Rt(e),a&512&&(Ge||n===null||Wt(n,n.return)),a&64&&vn&&(e=e.updateQueue,e!==null&&(a=e.callbacks,a!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?a:n.concat(a))));break;case 26:var u=Vt;if(Ot(t,e),Rt(e),a&512&&(Ge||n===null||Wt(n,n.return)),a&4){var s=n!==null?n.memoizedState:null;if(a=e.memoizedState,n===null)if(a===null)if(e.stateNode===null){e:{a=e.type,n=e.memoizedProps,u=u.ownerDocument||u;t:switch(a){case"title":s=u.getElementsByTagName("title")[0],(!s||s[Da]||s[it]||s.namespaceURI==="http://www.w3.org/2000/svg"||s.hasAttribute("itemprop"))&&(s=u.createElement(a),u.head.insertBefore(s,u.querySelector("head > title"))),rt(s,a,n),s[it]=e,Je(s),a=s;break e;case"link":var g=bg("link","href",u).get(a+(n.href||""));if(g){for(var b=0;b<g.length;b++)if(s=g[b],s.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&s.getAttribute("rel")===(n.rel==null?null:n.rel)&&s.getAttribute("title")===(n.title==null?null:n.title)&&s.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){g.splice(b,1);break t}}s=u.createElement(a),rt(s,a,n),u.head.appendChild(s);break;case"meta":if(g=bg("meta","content",u).get(a+(n.content||""))){for(b=0;b<g.length;b++)if(s=g[b],s.getAttribute("content")===(n.content==null?null:""+n.content)&&s.getAttribute("name")===(n.name==null?null:n.name)&&s.getAttribute("property")===(n.property==null?null:n.property)&&s.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&s.getAttribute("charset")===(n.charSet==null?null:n.charSet)){g.splice(b,1);break t}}s=u.createElement(a),rt(s,a,n),u.head.appendChild(s);break;default:throw Error(o(468,a))}s[it]=e,Je(s),a=s}e.stateNode=a}else Eg(u,e.type,e.stateNode);else e.stateNode=vg(u,a,e.memoizedProps);else s!==a?(s===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):s.count--,a===null?Eg(u,e.type,e.stateNode):vg(u,a,e.memoizedProps)):a===null&&e.stateNode!==null&&ns(e,e.memoizedProps,n.memoizedProps)}break;case 27:Ot(t,e),Rt(e),a&512&&(Ge||n===null||Wt(n,n.return)),n!==null&&a&4&&ns(e,e.memoizedProps,n.memoizedProps);break;case 5:if(Ot(t,e),Rt(e),a&512&&(Ge||n===null||Wt(n,n.return)),e.flags&32){u=e.stateNode;try{zl(u,"")}catch(H){Le(e,e.return,H)}}a&4&&e.stateNode!=null&&(u=e.memoizedProps,ns(e,u,n!==null?n.memoizedProps:u)),a&1024&&(rs=!0);break;case 6:if(Ot(t,e),Rt(e),a&4){if(e.stateNode===null)throw Error(o(162));a=e.memoizedProps,n=e.stateNode;try{n.nodeValue=a}catch(H){Le(e,e.return,H)}}break;case 3:if(Qi=null,u=Vt,Vt=Vi(t.containerInfo),Ot(t,e),Vt=u,Rt(e),a&4&&n!==null&&n.memoizedState.isDehydrated)try{Tr(t.containerInfo)}catch(H){Le(e,e.return,H)}rs&&(rs=!1,Op(e));break;case 4:a=Vt,Vt=Vi(e.stateNode.containerInfo),Ot(t,e),Rt(e),Vt=a;break;case 12:Ot(t,e),Rt(e);break;case 13:Ot(t,e),Rt(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(ds=Pt()),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,is(e,a)));break;case 22:u=e.memoizedState!==null;var R=n!==null&&n.memoizedState!==null,j=vn,q=Ge;if(vn=j||u,Ge=q||R,Ot(t,e),Ge=q,vn=j,Rt(e),a&8192)e:for(t=e.stateNode,t._visibility=u?t._visibility&-2:t._visibility|1,u&&(n===null||R||vn||Ge||yl(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){R=n=t;try{if(s=R.stateNode,u)g=s.style,typeof g.setProperty=="function"?g.setProperty("display","none","important"):g.display="none";else{b=R.stateNode;var Z=R.memoizedProps.style,B=Z!=null&&Z.hasOwnProperty("display")?Z.display:null;b.style.display=B==null||typeof B=="boolean"?"":(""+B).trim()}}catch(H){Le(R,R.return,H)}}}else if(t.tag===6){if(n===null){R=t;try{R.stateNode.nodeValue=u?"":R.memoizedProps}catch(H){Le(R,R.return,H)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}a&4&&(a=e.updateQueue,a!==null&&(n=a.retryQueue,n!==null&&(a.retryQueue=null,is(e,n))));break;case 19:Ot(t,e),Rt(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,is(e,a)));break;case 30:break;case 21:break;default:Ot(t,e),Rt(e)}}function Rt(e){var t=e.flags;if(t&2){try{for(var n,a=e.return;a!==null;){if(vp(a)){n=a;break}a=a.return}if(n==null)throw Error(o(160));switch(n.tag){case 27:var u=n.stateNode,s=ls(e);Li(e,s,u);break;case 5:var g=n.stateNode;n.flags&32&&(zl(g,""),n.flags&=-33);var b=ls(e);Li(e,b,g);break;case 3:case 4:var R=n.stateNode.containerInfo,j=ls(e);as(e,j,R);break;default:throw Error(o(161))}}catch(q){Le(e,e.return,q)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Op(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Op(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function jn(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)xp(e,t.alternate,t),t=t.sibling}function yl(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:kn(4,t,t.return),yl(t);break;case 1:Wt(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount=="function"&&hp(t,t.return,n),yl(t);break;case 27:mr(t.stateNode);case 26:case 5:Wt(t,t.return),yl(t);break;case 22:t.memoizedState===null&&yl(t);break;case 30:yl(t);break;default:yl(t)}e=e.sibling}}function zn(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var a=t.alternate,u=e,s=t,g=s.flags;switch(s.tag){case 0:case 11:case 15:zn(u,s,n),rr(4,s);break;case 1:if(zn(u,s,n),a=s,u=a.stateNode,typeof u.componentDidMount=="function")try{u.componentDidMount()}catch(j){Le(a,a.return,j)}if(a=s,u=a.updateQueue,u!==null){var b=a.stateNode;try{var R=u.shared.hiddenCallbacks;if(R!==null)for(u.shared.hiddenCallbacks=null,u=0;u<R.length;u++)td(R[u],b)}catch(j){Le(a,a.return,j)}}n&&g&64&&mp(s),ir(s,s.return);break;case 27:bp(s);case 26:case 5:zn(u,s,n),n&&a===null&&g&4&&yp(s),ir(s,s.return);break;case 12:zn(u,s,n);break;case 13:zn(u,s,n),n&&g&4&&wp(u,s);break;case 22:s.memoizedState===null&&zn(u,s,n),ir(s,s.return);break;case 30:break;default:zn(u,s,n)}t=t.sibling}}function us(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&Za(n))}function os(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Za(e))}function en(e,t,n,a){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Rp(e,t,n,a),t=t.sibling}function Rp(e,t,n,a){var u=t.flags;switch(t.tag){case 0:case 11:case 15:en(e,t,n,a),u&2048&&rr(9,t);break;case 1:en(e,t,n,a);break;case 3:en(e,t,n,a),u&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Za(e)));break;case 12:if(u&2048){en(e,t,n,a),e=t.stateNode;try{var s=t.memoizedProps,g=s.id,b=s.onPostCommit;typeof b=="function"&&b(g,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(R){Le(t,t.return,R)}}else en(e,t,n,a);break;case 13:en(e,t,n,a);break;case 23:break;case 22:s=t.stateNode,g=t.alternate,t.memoizedState!==null?s._visibility&2?en(e,t,n,a):ur(e,t):s._visibility&2?en(e,t,n,a):(s._visibility|=2,ta(e,t,n,a,(t.subtreeFlags&10256)!==0)),u&2048&&us(g,t);break;case 24:en(e,t,n,a),u&2048&&os(t.alternate,t);break;default:en(e,t,n,a)}}function ta(e,t,n,a,u){for(u=u&&(t.subtreeFlags&10256)!==0,t=t.child;t!==null;){var s=e,g=t,b=n,R=a,j=g.flags;switch(g.tag){case 0:case 11:case 15:ta(s,g,b,R,u),rr(8,g);break;case 23:break;case 22:var q=g.stateNode;g.memoizedState!==null?q._visibility&2?ta(s,g,b,R,u):ur(s,g):(q._visibility|=2,ta(s,g,b,R,u)),u&&j&2048&&us(g.alternate,g);break;case 24:ta(s,g,b,R,u),u&&j&2048&&os(g.alternate,g);break;default:ta(s,g,b,R,u)}t=t.sibling}}function ur(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,a=t,u=a.flags;switch(a.tag){case 22:ur(n,a),u&2048&&us(a.alternate,a);break;case 24:ur(n,a),u&2048&&os(a.alternate,a);break;default:ur(n,a)}t=t.sibling}}var or=8192;function na(e){if(e.subtreeFlags&or)for(e=e.child;e!==null;)_p(e),e=e.sibling}function _p(e){switch(e.tag){case 26:na(e),e.flags&or&&e.memoizedState!==null&&Dv(Vt,e.memoizedState,e.memoizedProps);break;case 5:na(e);break;case 3:case 4:var t=Vt;Vt=Vi(e.stateNode.containerInfo),na(e),Vt=t;break;case 22:e.memoizedState===null&&(t=e.alternate,t!==null&&t.memoizedState!==null?(t=or,or=16777216,na(e),or=t):na(e));break;default:na(e)}}function Mp(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function sr(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var a=t[n];We=a,Cp(a,e)}Mp(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Dp(e),e=e.sibling}function Dp(e){switch(e.tag){case 0:case 11:case 15:sr(e),e.flags&2048&&kn(9,e,e.return);break;case 3:sr(e);break;case 12:sr(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,ki(e)):sr(e);break;default:sr(e)}}function ki(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var a=t[n];We=a,Cp(a,e)}Mp(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:kn(8,t,t.return),ki(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,ki(t));break;default:ki(t)}e=e.sibling}}function Cp(e,t){for(;We!==null;){var n=We;switch(n.tag){case 0:case 11:case 15:kn(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var a=n.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:Za(n.memoizedState.cache)}if(a=n.child,a!==null)a.return=n,We=a;else e:for(n=e;We!==null;){a=We;var u=a.sibling,s=a.return;if(Sp(a),a===n){We=null;break e}if(u!==null){u.return=s,We=u;break e}We=s}}}var Vy={getCacheForType:function(e){var t=ut(Xe),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n}},Xy=typeof WeakMap=="function"?WeakMap:Map,Re=0,je=null,Ee=null,we=0,_e=0,_t=null,Bn=!1,la=!1,ss=!1,En=0,Fe=0,Hn=0,vl=0,cs=0,Ft=0,aa=0,cr=null,Et=null,fs=!1,ds=0,ji=1/0,zi=null,Un=null,at=0,$n=null,ra=null,ia=0,ps=0,gs=null,Np=null,fr=0,ms=null;function Mt(){if((Re&2)!==0&&we!==0)return we&-we;if(z.T!==null){var e=Xl;return e!==0?e:Ss()}return Xc()}function Lp(){Ft===0&&(Ft=(we&536870912)===0||Oe?Gc():536870912);var e=$t.current;return e!==null&&(e.flags|=32),Ft}function Dt(e,t,n){(e===je&&(_e===2||_e===9)||e.cancelPendingCommit!==null)&&(ua(e,0),Fn(e,we,Ft,!1)),Ma(e,n),((Re&2)===0||e!==je)&&(e===je&&((Re&2)===0&&(vl|=n),Fe===4&&Fn(e,we,Ft,!1)),tn(e))}function kp(e,t,n){if((Re&6)!==0)throw Error(o(327));var a=!n&&(t&124)===0&&(t&e.expiredLanes)===0||_a(e,t),u=a?Py(e,t):vs(e,t,!0),s=a;do{if(u===0){la&&!a&&Fn(e,t,0,!1);break}else{if(n=e.current.alternate,s&&!Qy(n)){u=vs(e,t,!1),s=!1;continue}if(u===2){if(s=t,e.errorRecoveryDisabledLanes&s)var g=0;else g=e.pendingLanes&-536870913,g=g!==0?g:g&536870912?536870912:0;if(g!==0){t=g;e:{var b=e;u=cr;var R=b.current.memoizedState.isDehydrated;if(R&&(ua(b,g).flags|=256),g=vs(b,g,!1),g!==2){if(ss&&!R){b.errorRecoveryDisabledLanes|=s,vl|=s,u=4;break e}s=Et,Et=u,s!==null&&(Et===null?Et=s:Et.push.apply(Et,s))}u=g}if(s=!1,u!==2)continue}}if(u===1){ua(e,0),Fn(e,t,0,!0);break}e:{switch(a=e,s=u,s){case 0:case 1:throw Error(o(345));case 4:if((t&4194048)!==t)break;case 6:Fn(a,t,Ft,!Bn);break e;case 2:Et=null;break;case 3:case 5:break;default:throw Error(o(329))}if((t&62914560)===t&&(u=ds+300-Pt(),10<u)){if(Fn(a,t,Ft,!Bn),Xr(a,0,!0)!==0)break e;a.timeoutHandle=sg(jp.bind(null,a,n,Et,zi,fs,t,Ft,vl,aa,Bn,s,2,-0,0),u);break e}jp(a,n,Et,zi,fs,t,Ft,vl,aa,Bn,s,0,-0,0)}}break}while(!0);tn(e)}function jp(e,t,n,a,u,s,g,b,R,j,q,Z,B,H){if(e.timeoutHandle=-1,Z=t.subtreeFlags,(Z&8192||(Z&16785408)===16785408)&&(vr={stylesheets:null,count:0,unsuspend:Mv},_p(t),Z=Cv(),Z!==null)){e.cancelPendingCommit=Z(qp.bind(null,e,t,s,n,a,u,g,b,R,q,1,B,H)),Fn(e,s,g,!j);return}qp(e,t,s,n,a,u,g,b,R)}function Qy(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var a=0;a<n.length;a++){var u=n[a],s=u.getSnapshot;u=u.value;try{if(!wt(s(),u))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Fn(e,t,n,a){t&=~cs,t&=~vl,e.suspendedLanes|=t,e.pingedLanes&=~t,a&&(e.warmLanes|=t),a=e.expirationTimes;for(var u=t;0<u;){var s=31-Tt(u),g=1<<s;a[s]=-1,u&=~g}n!==0&&Zc(e,n,t)}function Bi(){return(Re&6)===0?(dr(0),!1):!0}function hs(){if(Ee!==null){if(_e===0)var e=Ee.return;else e=Ee,dn=dl=null,Lo(e),Wl=null,nr=0,e=Ee;for(;e!==null;)gp(e.alternate,e),e=e.return;Ee=null}}function ua(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,dv(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),hs(),je=e,Ee=n=sn(e.current,null),we=t,_e=0,_t=null,Bn=!1,la=_a(e,t),ss=!1,aa=Ft=cs=vl=Hn=Fe=0,Et=cr=null,fs=!1,(t&8)!==0&&(t|=t&32);var a=e.entangledLanes;if(a!==0)for(e=e.entanglements,a&=t;0<a;){var u=31-Tt(a),s=1<<u;t|=e[u],a&=~s}return En=t,ri(),n}function zp(e,t){ve=null,z.H=wi,t===Xa||t===gi?(t=Wf(),_e=3):t===Pf?(t=Wf(),_e=4):_e=t===ep?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,_t=t,Ee===null&&(Fe=1,Mi(e,zt(t,e.current)))}function Bp(){var e=z.H;return z.H=wi,e===null?wi:e}function Hp(){var e=z.A;return z.A=Vy,e}function ys(){Fe=4,Bn||(we&4194048)!==we&&$t.current!==null||(la=!0),(Hn&134217727)===0&&(vl&134217727)===0||je===null||Fn(je,we,Ft,!1)}function vs(e,t,n){var a=Re;Re|=2;var u=Bp(),s=Hp();(je!==e||we!==t)&&(zi=null,ua(e,t)),t=!1;var g=Fe;e:do try{if(_e!==0&&Ee!==null){var b=Ee,R=_t;switch(_e){case 8:hs(),g=6;break e;case 3:case 2:case 9:case 6:$t.current===null&&(t=!0);var j=_e;if(_e=0,_t=null,oa(e,b,R,j),n&&la){g=0;break e}break;default:j=_e,_e=0,_t=null,oa(e,b,R,j)}}Ky(),g=Fe;break}catch(q){zp(e,q)}while(!0);return t&&e.shellSuspendCounter++,dn=dl=null,Re=a,z.H=u,z.A=s,Ee===null&&(je=null,we=0,ri()),g}function Ky(){for(;Ee!==null;)Up(Ee)}function Py(e,t){var n=Re;Re|=2;var a=Bp(),u=Hp();je!==e||we!==t?(zi=null,ji=Pt()+500,ua(e,t)):la=_a(e,t);e:do try{if(_e!==0&&Ee!==null){t=Ee;var s=_t;t:switch(_e){case 1:_e=0,_t=null,oa(e,t,s,1);break;case 2:case 9:if(Jf(s)){_e=0,_t=null,$p(t);break}t=function(){_e!==2&&_e!==9||je!==e||(_e=7),tn(e)},s.then(t,t);break e;case 3:_e=7;break e;case 4:_e=5;break e;case 7:Jf(s)?(_e=0,_t=null,$p(t)):(_e=0,_t=null,oa(e,t,s,7));break;case 5:var g=null;switch(Ee.tag){case 26:g=Ee.memoizedState;case 5:case 27:var b=Ee;if(!g||xg(g)){_e=0,_t=null;var R=b.sibling;if(R!==null)Ee=R;else{var j=b.return;j!==null?(Ee=j,Hi(j)):Ee=null}break t}}_e=0,_t=null,oa(e,t,s,5);break;case 6:_e=0,_t=null,oa(e,t,s,6);break;case 8:hs(),Fe=6;break e;default:throw Error(o(462))}}Jy();break}catch(q){zp(e,q)}while(!0);return dn=dl=null,z.H=a,z.A=u,Re=n,Ee!==null?0:(je=null,we=0,ri(),Fe)}function Jy(){for(;Ee!==null&&!Nu();)Up(Ee)}function Up(e){var t=dp(e.alternate,e,En);e.memoizedProps=e.pendingProps,t===null?Hi(e):Ee=t}function $p(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=ip(n,t,t.pendingProps,t.type,void 0,we);break;case 11:t=ip(n,t,t.pendingProps,t.type.render,t.ref,we);break;case 5:Lo(t);default:gp(n,t),t=Ee=Ff(t,En),t=dp(n,t,En)}e.memoizedProps=e.pendingProps,t===null?Hi(e):Ee=t}function oa(e,t,n,a){dn=dl=null,Lo(t),Wl=null,nr=0;var u=t.return;try{if($y(e,u,t,n,we)){Fe=1,Mi(e,zt(n,e.current)),Ee=null;return}}catch(s){if(u!==null)throw Ee=u,s;Fe=1,Mi(e,zt(n,e.current)),Ee=null;return}t.flags&32768?(Oe||a===1?e=!0:la||(we&536870912)!==0?e=!1:(Bn=e=!0,(a===2||a===9||a===3||a===6)&&(a=$t.current,a!==null&&a.tag===13&&(a.flags|=16384))),Fp(t,e)):Hi(t)}function Hi(e){var t=e;do{if((t.flags&32768)!==0){Fp(t,Bn);return}e=t.return;var n=qy(t.alternate,t,En);if(n!==null){Ee=n;return}if(t=t.sibling,t!==null){Ee=t;return}Ee=t=e}while(t!==null);Fe===0&&(Fe=5)}function Fp(e,t){do{var n=Gy(e.alternate,e);if(n!==null){n.flags&=32767,Ee=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){Ee=e;return}Ee=e=n}while(e!==null);Fe=6,Ee=null}function qp(e,t,n,a,u,s,g,b,R){e.cancelPendingCommit=null;do Ui();while(at!==0);if((Re&6)!==0)throw Error(o(327));if(t!==null){if(t===e.current)throw Error(o(177));if(s=t.lanes|t.childLanes,s|=uo,M0(e,n,s,g,b,R),e===je&&(Ee=je=null,we=0),ra=t,$n=e,ia=n,ps=s,gs=u,Np=a,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,tv(Yr,function(){return Xp(),null})):(e.callbackNode=null,e.callbackPriority=0),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=z.T,z.T=null,u=Q.p,Q.p=2,g=Re,Re|=4;try{Yy(e,t,n)}finally{Re=g,Q.p=u,z.T=a}}at=1,Gp(),Yp(),Zp()}}function Gp(){if(at===1){at=0;var e=$n,t=ra,n=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||n){n=z.T,z.T=null;var a=Q.p;Q.p=2;var u=Re;Re|=4;try{Ap(t,e);var s=Ds,g=Cf(e.containerInfo),b=s.focusedElem,R=s.selectionRange;if(g!==b&&b&&b.ownerDocument&&Df(b.ownerDocument.documentElement,b)){if(R!==null&&no(b)){var j=R.start,q=R.end;if(q===void 0&&(q=j),"selectionStart"in b)b.selectionStart=j,b.selectionEnd=Math.min(q,b.value.length);else{var Z=b.ownerDocument||document,B=Z&&Z.defaultView||window;if(B.getSelection){var H=B.getSelection(),me=b.textContent.length,de=Math.min(R.start,me),Ne=R.end===void 0?de:Math.min(R.end,me);!H.extend&&de>Ne&&(g=Ne,Ne=de,de=g);var L=Mf(b,de),D=Mf(b,Ne);if(L&&D&&(H.rangeCount!==1||H.anchorNode!==L.node||H.anchorOffset!==L.offset||H.focusNode!==D.node||H.focusOffset!==D.offset)){var k=Z.createRange();k.setStart(L.node,L.offset),H.removeAllRanges(),de>Ne?(H.addRange(k),H.extend(D.node,D.offset)):(k.setEnd(D.node,D.offset),H.addRange(k))}}}}for(Z=[],H=b;H=H.parentNode;)H.nodeType===1&&Z.push({element:H,left:H.scrollLeft,top:H.scrollTop});for(typeof b.focus=="function"&&b.focus(),b=0;b<Z.length;b++){var G=Z[b];G.element.scrollLeft=G.left,G.element.scrollTop=G.top}}Ji=!!Ms,Ds=Ms=null}finally{Re=u,Q.p=a,z.T=n}}e.current=t,at=2}}function Yp(){if(at===2){at=0;var e=$n,t=ra,n=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||n){n=z.T,z.T=null;var a=Q.p;Q.p=2;var u=Re;Re|=4;try{xp(e,t.alternate,t)}finally{Re=u,Q.p=a,z.T=n}}at=3}}function Zp(){if(at===4||at===3){at=0,E0();var e=$n,t=ra,n=ia,a=Np;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?at=5:(at=0,ra=$n=null,Vp(e,e.pendingLanes));var u=e.pendingLanes;if(u===0&&(Un=null),ju(n),t=t.stateNode,St&&typeof St.onCommitFiberRoot=="function")try{St.onCommitFiberRoot(Ra,t,void 0,(t.current.flags&128)===128)}catch{}if(a!==null){t=z.T,u=Q.p,Q.p=2,z.T=null;try{for(var s=e.onRecoverableError,g=0;g<a.length;g++){var b=a[g];s(b.value,{componentStack:b.stack})}}finally{z.T=t,Q.p=u}}(ia&3)!==0&&Ui(),tn(e),u=e.pendingLanes,(n&4194090)!==0&&(u&42)!==0?e===ms?fr++:(fr=0,ms=e):fr=0,dr(0)}}function Vp(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Za(t)))}function Ui(e){return Gp(),Yp(),Zp(),Xp()}function Xp(){if(at!==5)return!1;var e=$n,t=ps;ps=0;var n=ju(ia),a=z.T,u=Q.p;try{Q.p=32>n?32:n,z.T=null,n=gs,gs=null;var s=$n,g=ia;if(at=0,ra=$n=null,ia=0,(Re&6)!==0)throw Error(o(331));var b=Re;if(Re|=4,Dp(s.current),Rp(s,s.current,g,n),Re=b,dr(0,!1),St&&typeof St.onPostCommitFiberRoot=="function")try{St.onPostCommitFiberRoot(Ra,s)}catch{}return!0}finally{Q.p=u,z.T=a,Vp(e,t)}}function Qp(e,t,n){t=zt(n,t),t=Xo(e.stateNode,t,2),e=Dn(e,t,2),e!==null&&(Ma(e,2),tn(e))}function Le(e,t,n){if(e.tag===3)Qp(e,e,n);else for(;t!==null;){if(t.tag===3){Qp(t,e,n);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Un===null||!Un.has(a))){e=zt(n,e),n=Id(2),a=Dn(t,n,2),a!==null&&(Wd(n,a,t,e),Ma(a,2),tn(a));break}}t=t.return}}function bs(e,t,n){var a=e.pingCache;if(a===null){a=e.pingCache=new Xy;var u=new Set;a.set(t,u)}else u=a.get(t),u===void 0&&(u=new Set,a.set(t,u));u.has(n)||(ss=!0,u.add(n),e=Iy.bind(null,e,t,n),t.then(e,e))}function Iy(e,t,n){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,je===e&&(we&n)===n&&(Fe===4||Fe===3&&(we&62914560)===we&&300>Pt()-ds?(Re&2)===0&&ua(e,0):cs|=n,aa===we&&(aa=0)),tn(e)}function Kp(e,t){t===0&&(t=Yc()),e=Gl(e,t),e!==null&&(Ma(e,t),tn(e))}function Wy(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Kp(e,n)}function ev(e,t){var n=0;switch(e.tag){case 13:var a=e.stateNode,u=e.memoizedState;u!==null&&(n=u.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error(o(314))}a!==null&&a.delete(t),Kp(e,n)}function tv(e,t){return Be(e,t)}var $i=null,sa=null,Es=!1,Fi=!1,xs=!1,bl=0;function tn(e){e!==sa&&e.next===null&&(sa===null?$i=sa=e:sa=sa.next=e),Fi=!0,Es||(Es=!0,lv())}function dr(e,t){if(!xs&&Fi){xs=!0;do for(var n=!1,a=$i;a!==null;){if(e!==0){var u=a.pendingLanes;if(u===0)var s=0;else{var g=a.suspendedLanes,b=a.pingedLanes;s=(1<<31-Tt(42|e)+1)-1,s&=u&~(g&~b),s=s&201326741?s&201326741|1:s?s|2:0}s!==0&&(n=!0,Wp(a,s))}else s=we,s=Xr(a,a===je?s:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(s&3)===0||_a(a,s)||(n=!0,Wp(a,s));a=a.next}while(n);xs=!1}}function nv(){Pp()}function Pp(){Fi=Es=!1;var e=0;bl!==0&&(fv()&&(e=bl),bl=0);for(var t=Pt(),n=null,a=$i;a!==null;){var u=a.next,s=Jp(a,t);s===0?(a.next=null,n===null?$i=u:n.next=u,u===null&&(sa=n)):(n=a,(e!==0||(s&3)!==0)&&(Fi=!0)),a=u}dr(e)}function Jp(e,t){for(var n=e.suspendedLanes,a=e.pingedLanes,u=e.expirationTimes,s=e.pendingLanes&-62914561;0<s;){var g=31-Tt(s),b=1<<g,R=u[g];R===-1?((b&n)===0||(b&a)!==0)&&(u[g]=_0(b,t)):R<=t&&(e.expiredLanes|=b),s&=~b}if(t=je,n=we,n=Xr(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a=e.callbackNode,n===0||e===t&&(_e===2||_e===9)||e.cancelPendingCommit!==null)return a!==null&&a!==null&&nt(a),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||_a(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(a!==null&&nt(a),ju(n)){case 2:case 8:n=Fc;break;case 32:n=Yr;break;case 268435456:n=qc;break;default:n=Yr}return a=Ip.bind(null,e),n=Be(n,a),e.callbackPriority=t,e.callbackNode=n,t}return a!==null&&a!==null&&nt(a),e.callbackPriority=2,e.callbackNode=null,2}function Ip(e,t){if(at!==0&&at!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Ui()&&e.callbackNode!==n)return null;var a=we;return a=Xr(e,e===je?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a===0?null:(kp(e,a,t),Jp(e,Pt()),e.callbackNode!=null&&e.callbackNode===n?Ip.bind(null,e):null)}function Wp(e,t){if(Ui())return null;kp(e,t,!0)}function lv(){pv(function(){(Re&6)!==0?Be($c,nv):Pp()})}function Ss(){return bl===0&&(bl=Gc()),bl}function eg(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Ir(""+e)}function tg(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}function av(e,t,n,a,u){if(t==="submit"&&n&&n.stateNode===u){var s=eg((u[ht]||null).action),g=a.submitter;g&&(t=(t=g[ht]||null)?eg(t.formAction):g.getAttribute("formAction"),t!==null&&(s=t,g=null));var b=new ni("action","action",null,a,u);e.push({event:b,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(bl!==0){var R=g?tg(u,g):new FormData(u);qo(n,{pending:!0,data:R,method:u.method,action:s},null,R)}}else typeof s=="function"&&(b.preventDefault(),R=g?tg(u,g):new FormData(u),qo(n,{pending:!0,data:R,method:u.method,action:s},s,R))},currentTarget:u}]})}}for(var Ts=0;Ts<io.length;Ts++){var ws=io[Ts],rv=ws.toLowerCase(),iv=ws[0].toUpperCase()+ws.slice(1);Zt(rv,"on"+iv)}Zt(kf,"onAnimationEnd"),Zt(jf,"onAnimationIteration"),Zt(zf,"onAnimationStart"),Zt("dblclick","onDoubleClick"),Zt("focusin","onFocus"),Zt("focusout","onBlur"),Zt(Ty,"onTransitionRun"),Zt(wy,"onTransitionStart"),Zt(Ay,"onTransitionCancel"),Zt(Bf,"onTransitionEnd"),Ll("onMouseEnter",["mouseout","mouseover"]),Ll("onMouseLeave",["mouseout","mouseover"]),Ll("onPointerEnter",["pointerout","pointerover"]),Ll("onPointerLeave",["pointerout","pointerover"]),ll("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ll("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ll("onBeforeInput",["compositionend","keypress","textInput","paste"]),ll("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ll("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ll("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var pr="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(" "),uv=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(pr));function ng(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var a=e[n],u=a.event;a=a.listeners;e:{var s=void 0;if(t)for(var g=a.length-1;0<=g;g--){var b=a[g],R=b.instance,j=b.currentTarget;if(b=b.listener,R!==s&&u.isPropagationStopped())break e;s=b,u.currentTarget=j;try{s(u)}catch(q){_i(q)}u.currentTarget=null,s=R}else for(g=0;g<a.length;g++){if(b=a[g],R=b.instance,j=b.currentTarget,b=b.listener,R!==s&&u.isPropagationStopped())break e;s=b,u.currentTarget=j;try{s(u)}catch(q){_i(q)}u.currentTarget=null,s=R}}}}function xe(e,t){var n=t[zu];n===void 0&&(n=t[zu]=new Set);var a=e+"__bubble";n.has(a)||(lg(t,e,2,!1),n.add(a))}function As(e,t,n){var a=0;t&&(a|=4),lg(n,e,a,t)}var qi="_reactListening"+Math.random().toString(36).slice(2);function Os(e){if(!e[qi]){e[qi]=!0,Kc.forEach(function(n){n!=="selectionchange"&&(uv.has(n)||As(n,!1,e),As(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[qi]||(t[qi]=!0,As("selectionchange",!1,t))}}function lg(e,t,n,a){switch(Rg(t)){case 2:var u=kv;break;case 8:u=jv;break;default:u=$s}n=u.bind(null,t,n,e),u=void 0,!Xu||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(u=!0),a?u!==void 0?e.addEventListener(t,n,{capture:!0,passive:u}):e.addEventListener(t,n,!0):u!==void 0?e.addEventListener(t,n,{passive:u}):e.addEventListener(t,n,!1)}function Rs(e,t,n,a,u){var s=a;if((t&1)===0&&(t&2)===0&&a!==null)e:for(;;){if(a===null)return;var g=a.tag;if(g===3||g===4){var b=a.stateNode.containerInfo;if(b===u)break;if(g===4)for(g=a.return;g!==null;){var R=g.tag;if((R===3||R===4)&&g.stateNode.containerInfo===u)return;g=g.return}for(;b!==null;){if(g=Dl(b),g===null)return;if(R=g.tag,R===5||R===6||R===26||R===27){a=s=g;continue e}b=b.parentNode}}a=a.return}cf(function(){var j=s,q=Zu(n),Z=[];e:{var B=Hf.get(e);if(B!==void 0){var H=ni,me=e;switch(e){case"keypress":if(ei(n)===0)break e;case"keydown":case"keyup":H=ty;break;case"focusin":me="focus",H=Ju;break;case"focusout":me="blur",H=Ju;break;case"beforeblur":case"afterblur":H=Ju;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":H=pf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":H=G0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":H=ay;break;case kf:case jf:case zf:H=V0;break;case Bf:H=iy;break;case"scroll":case"scrollend":H=F0;break;case"wheel":H=oy;break;case"copy":case"cut":case"paste":H=Q0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":H=mf;break;case"toggle":case"beforetoggle":H=cy}var de=(t&4)!==0,Ne=!de&&(e==="scroll"||e==="scrollend"),L=de?B!==null?B+"Capture":null:B;de=[];for(var D=j,k;D!==null;){var G=D;if(k=G.stateNode,G=G.tag,G!==5&&G!==26&&G!==27||k===null||L===null||(G=Na(D,L),G!=null&&de.push(gr(D,G,k))),Ne)break;D=D.return}0<de.length&&(B=new H(B,me,null,n,q),Z.push({event:B,listeners:de}))}}if((t&7)===0){e:{if(B=e==="mouseover"||e==="pointerover",H=e==="mouseout"||e==="pointerout",B&&n!==Yu&&(me=n.relatedTarget||n.fromElement)&&(Dl(me)||me[Ml]))break e;if((H||B)&&(B=q.window===q?q:(B=q.ownerDocument)?B.defaultView||B.parentWindow:window,H?(me=n.relatedTarget||n.toElement,H=j,me=me?Dl(me):null,me!==null&&(Ne=f(me),de=me.tag,me!==Ne||de!==5&&de!==27&&de!==6)&&(me=null)):(H=null,me=j),H!==me)){if(de=pf,G="onMouseLeave",L="onMouseEnter",D="mouse",(e==="pointerout"||e==="pointerover")&&(de=mf,G="onPointerLeave",L="onPointerEnter",D="pointer"),Ne=H==null?B:Ca(H),k=me==null?B:Ca(me),B=new de(G,D+"leave",H,n,q),B.target=Ne,B.relatedTarget=k,G=null,Dl(q)===j&&(de=new de(L,D+"enter",me,n,q),de.target=k,de.relatedTarget=Ne,G=de),Ne=G,H&&me)t:{for(de=H,L=me,D=0,k=de;k;k=ca(k))D++;for(k=0,G=L;G;G=ca(G))k++;for(;0<D-k;)de=ca(de),D--;for(;0<k-D;)L=ca(L),k--;for(;D--;){if(de===L||L!==null&&de===L.alternate)break t;de=ca(de),L=ca(L)}de=null}else de=null;H!==null&&ag(Z,B,H,de,!1),me!==null&&Ne!==null&&ag(Z,Ne,me,de,!0)}}e:{if(B=j?Ca(j):window,H=B.nodeName&&B.nodeName.toLowerCase(),H==="select"||H==="input"&&B.type==="file")var ae=Tf;else if(xf(B))if(wf)ae=Ey;else{ae=vy;var be=yy}else H=B.nodeName,!H||H.toLowerCase()!=="input"||B.type!=="checkbox"&&B.type!=="radio"?j&&Gu(j.elementType)&&(ae=Tf):ae=by;if(ae&&(ae=ae(e,j))){Sf(Z,ae,n,q);break e}be&&be(e,B,j),e==="focusout"&&j&&B.type==="number"&&j.memoizedProps.value!=null&&qu(B,"number",B.value)}switch(be=j?Ca(j):window,e){case"focusin":(xf(be)||be.contentEditable==="true")&&($l=be,lo=j,$a=null);break;case"focusout":$a=lo=$l=null;break;case"mousedown":ao=!0;break;case"contextmenu":case"mouseup":case"dragend":ao=!1,Nf(Z,n,q);break;case"selectionchange":if(Sy)break;case"keydown":case"keyup":Nf(Z,n,q)}var se;if(Wu)e:{switch(e){case"compositionstart":var pe="onCompositionStart";break e;case"compositionend":pe="onCompositionEnd";break e;case"compositionupdate":pe="onCompositionUpdate";break e}pe=void 0}else Ul?bf(e,n)&&(pe="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(pe="onCompositionStart");pe&&(hf&&n.locale!=="ko"&&(Ul||pe!=="onCompositionStart"?pe==="onCompositionEnd"&&Ul&&(se=ff()):(On=q,Qu="value"in On?On.value:On.textContent,Ul=!0)),be=Gi(j,pe),0<be.length&&(pe=new gf(pe,e,null,n,q),Z.push({event:pe,listeners:be}),se?pe.data=se:(se=Ef(n),se!==null&&(pe.data=se)))),(se=dy?py(e,n):gy(e,n))&&(pe=Gi(j,"onBeforeInput"),0<pe.length&&(be=new gf("onBeforeInput","beforeinput",null,n,q),Z.push({event:be,listeners:pe}),be.data=se)),av(Z,e,j,n,q)}ng(Z,t)})}function gr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Gi(e,t){for(var n=t+"Capture",a=[];e!==null;){var u=e,s=u.stateNode;if(u=u.tag,u!==5&&u!==26&&u!==27||s===null||(u=Na(e,n),u!=null&&a.unshift(gr(e,u,s)),u=Na(e,t),u!=null&&a.push(gr(e,u,s))),e.tag===3)return a;e=e.return}return[]}function ca(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function ag(e,t,n,a,u){for(var s=t._reactName,g=[];n!==null&&n!==a;){var b=n,R=b.alternate,j=b.stateNode;if(b=b.tag,R!==null&&R===a)break;b!==5&&b!==26&&b!==27||j===null||(R=j,u?(j=Na(n,s),j!=null&&g.unshift(gr(n,j,R))):u||(j=Na(n,s),j!=null&&g.push(gr(n,j,R)))),n=n.return}g.length!==0&&e.push({event:t,listeners:g})}var ov=/\r\n?/g,sv=/\u0000|\uFFFD/g;function rg(e){return(typeof e=="string"?e:""+e).replace(ov,`
`).replace(sv,"")}function ig(e,t){return t=rg(t),rg(e)===t}function Yi(){}function Ce(e,t,n,a,u,s){switch(n){case"children":typeof a=="string"?t==="body"||t==="textarea"&&a===""||zl(e,a):(typeof a=="number"||typeof a=="bigint")&&t!=="body"&&zl(e,""+a);break;case"className":Kr(e,"class",a);break;case"tabIndex":Kr(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Kr(e,n,a);break;case"style":of(e,a,s);break;case"data":if(t!=="object"){Kr(e,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||n!=="href")){e.removeAttribute(n);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(n);break}a=Ir(""+a),e.setAttribute(n,a);break;case"action":case"formAction":if(typeof a=="function"){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}else typeof s=="function"&&(n==="formAction"?(t!=="input"&&Ce(e,t,"name",u.name,u,null),Ce(e,t,"formEncType",u.formEncType,u,null),Ce(e,t,"formMethod",u.formMethod,u,null),Ce(e,t,"formTarget",u.formTarget,u,null)):(Ce(e,t,"encType",u.encType,u,null),Ce(e,t,"method",u.method,u,null),Ce(e,t,"target",u.target,u,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(n);break}a=Ir(""+a),e.setAttribute(n,a);break;case"onClick":a!=null&&(e.onclick=Yi);break;case"onScroll":a!=null&&xe("scroll",e);break;case"onScrollEnd":a!=null&&xe("scrollend",e);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(o(61));if(n=a.__html,n!=null){if(u.children!=null)throw Error(o(60));e.innerHTML=n}}break;case"multiple":e.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":e.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){e.removeAttribute("xlink:href");break}n=Ir(""+a),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":a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(n,""+a):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":a&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":a===!0?e.setAttribute(n,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(n,a):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?e.setAttribute(n,a):e.removeAttribute(n);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?e.removeAttribute(n):e.setAttribute(n,a);break;case"popover":xe("beforetoggle",e),xe("toggle",e),Qr(e,"popover",a);break;case"xlinkActuate":un(e,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":un(e,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":un(e,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":un(e,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":un(e,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":un(e,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":un(e,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":un(e,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":un(e,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":Qr(e,"is",a);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=U0.get(n)||n,Qr(e,n,a))}}function _s(e,t,n,a,u,s){switch(n){case"style":of(e,a,s);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(o(61));if(n=a.__html,n!=null){if(u.children!=null)throw Error(o(60));e.innerHTML=n}}break;case"children":typeof a=="string"?zl(e,a):(typeof a=="number"||typeof a=="bigint")&&zl(e,""+a);break;case"onScroll":a!=null&&xe("scroll",e);break;case"onScrollEnd":a!=null&&xe("scrollend",e);break;case"onClick":a!=null&&(e.onclick=Yi);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Pc.hasOwnProperty(n))e:{if(n[0]==="o"&&n[1]==="n"&&(u=n.endsWith("Capture"),t=n.slice(2,u?n.length-7:void 0),s=e[ht]||null,s=s!=null?s[n]:null,typeof s=="function"&&e.removeEventListener(t,s,u),typeof a=="function")){typeof s!="function"&&s!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,a,u);break e}n in e?e[n]=a:a===!0?e.setAttribute(n,""):Qr(e,n,a)}}}function rt(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":xe("error",e),xe("load",e);var a=!1,u=!1,s;for(s in n)if(n.hasOwnProperty(s)){var g=n[s];if(g!=null)switch(s){case"src":a=!0;break;case"srcSet":u=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:Ce(e,t,s,g,n,null)}}u&&Ce(e,t,"srcSet",n.srcSet,n,null),a&&Ce(e,t,"src",n.src,n,null);return;case"input":xe("invalid",e);var b=s=g=u=null,R=null,j=null;for(a in n)if(n.hasOwnProperty(a)){var q=n[a];if(q!=null)switch(a){case"name":u=q;break;case"type":g=q;break;case"checked":R=q;break;case"defaultChecked":j=q;break;case"value":s=q;break;case"defaultValue":b=q;break;case"children":case"dangerouslySetInnerHTML":if(q!=null)throw Error(o(137,t));break;default:Ce(e,t,a,q,n,null)}}lf(e,s,b,R,j,g,u,!1),Pr(e);return;case"select":xe("invalid",e),a=g=s=null;for(u in n)if(n.hasOwnProperty(u)&&(b=n[u],b!=null))switch(u){case"value":s=b;break;case"defaultValue":g=b;break;case"multiple":a=b;default:Ce(e,t,u,b,n,null)}t=s,n=g,e.multiple=!!a,t!=null?jl(e,!!a,t,!1):n!=null&&jl(e,!!a,n,!0);return;case"textarea":xe("invalid",e),s=u=a=null;for(g in n)if(n.hasOwnProperty(g)&&(b=n[g],b!=null))switch(g){case"value":a=b;break;case"defaultValue":u=b;break;case"children":s=b;break;case"dangerouslySetInnerHTML":if(b!=null)throw Error(o(91));break;default:Ce(e,t,g,b,n,null)}rf(e,a,u,s),Pr(e);return;case"option":for(R in n)if(n.hasOwnProperty(R)&&(a=n[R],a!=null))switch(R){case"selected":e.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:Ce(e,t,R,a,n,null)}return;case"dialog":xe("beforetoggle",e),xe("toggle",e),xe("cancel",e),xe("close",e);break;case"iframe":case"object":xe("load",e);break;case"video":case"audio":for(a=0;a<pr.length;a++)xe(pr[a],e);break;case"image":xe("error",e),xe("load",e);break;case"details":xe("toggle",e);break;case"embed":case"source":case"link":xe("error",e),xe("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(j in n)if(n.hasOwnProperty(j)&&(a=n[j],a!=null))switch(j){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:Ce(e,t,j,a,n,null)}return;default:if(Gu(t)){for(q in n)n.hasOwnProperty(q)&&(a=n[q],a!==void 0&&_s(e,t,q,a,n,void 0));return}}for(b in n)n.hasOwnProperty(b)&&(a=n[b],a!=null&&Ce(e,t,b,a,n,null))}function cv(e,t,n,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var u=null,s=null,g=null,b=null,R=null,j=null,q=null;for(H in n){var Z=n[H];if(n.hasOwnProperty(H)&&Z!=null)switch(H){case"checked":break;case"value":break;case"defaultValue":R=Z;default:a.hasOwnProperty(H)||Ce(e,t,H,null,a,Z)}}for(var B in a){var H=a[B];if(Z=n[B],a.hasOwnProperty(B)&&(H!=null||Z!=null))switch(B){case"type":s=H;break;case"name":u=H;break;case"checked":j=H;break;case"defaultChecked":q=H;break;case"value":g=H;break;case"defaultValue":b=H;break;case"children":case"dangerouslySetInnerHTML":if(H!=null)throw Error(o(137,t));break;default:H!==Z&&Ce(e,t,B,H,a,Z)}}Fu(e,g,b,R,j,q,s,u);return;case"select":H=g=b=B=null;for(s in n)if(R=n[s],n.hasOwnProperty(s)&&R!=null)switch(s){case"value":break;case"multiple":H=R;default:a.hasOwnProperty(s)||Ce(e,t,s,null,a,R)}for(u in a)if(s=a[u],R=n[u],a.hasOwnProperty(u)&&(s!=null||R!=null))switch(u){case"value":B=s;break;case"defaultValue":b=s;break;case"multiple":g=s;default:s!==R&&Ce(e,t,u,s,a,R)}t=b,n=g,a=H,B!=null?jl(e,!!n,B,!1):!!a!=!!n&&(t!=null?jl(e,!!n,t,!0):jl(e,!!n,n?[]:"",!1));return;case"textarea":H=B=null;for(b in n)if(u=n[b],n.hasOwnProperty(b)&&u!=null&&!a.hasOwnProperty(b))switch(b){case"value":break;case"children":break;default:Ce(e,t,b,null,a,u)}for(g in a)if(u=a[g],s=n[g],a.hasOwnProperty(g)&&(u!=null||s!=null))switch(g){case"value":B=u;break;case"defaultValue":H=u;break;case"children":break;case"dangerouslySetInnerHTML":if(u!=null)throw Error(o(91));break;default:u!==s&&Ce(e,t,g,u,a,s)}af(e,B,H);return;case"option":for(var me in n)if(B=n[me],n.hasOwnProperty(me)&&B!=null&&!a.hasOwnProperty(me))switch(me){case"selected":e.selected=!1;break;default:Ce(e,t,me,null,a,B)}for(R in a)if(B=a[R],H=n[R],a.hasOwnProperty(R)&&B!==H&&(B!=null||H!=null))switch(R){case"selected":e.selected=B&&typeof B!="function"&&typeof B!="symbol";break;default:Ce(e,t,R,B,a,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 de in n)B=n[de],n.hasOwnProperty(de)&&B!=null&&!a.hasOwnProperty(de)&&Ce(e,t,de,null,a,B);for(j in a)if(B=a[j],H=n[j],a.hasOwnProperty(j)&&B!==H&&(B!=null||H!=null))switch(j){case"children":case"dangerouslySetInnerHTML":if(B!=null)throw Error(o(137,t));break;default:Ce(e,t,j,B,a,H)}return;default:if(Gu(t)){for(var Ne in n)B=n[Ne],n.hasOwnProperty(Ne)&&B!==void 0&&!a.hasOwnProperty(Ne)&&_s(e,t,Ne,void 0,a,B);for(q in a)B=a[q],H=n[q],!a.hasOwnProperty(q)||B===H||B===void 0&&H===void 0||_s(e,t,q,B,a,H);return}}for(var L in n)B=n[L],n.hasOwnProperty(L)&&B!=null&&!a.hasOwnProperty(L)&&Ce(e,t,L,null,a,B);for(Z in a)B=a[Z],H=n[Z],!a.hasOwnProperty(Z)||B===H||B==null&&H==null||Ce(e,t,Z,B,a,H)}var Ms=null,Ds=null;function Zi(e){return e.nodeType===9?e:e.ownerDocument}function ug(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 og(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function Cs(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Ns=null;function fv(){var e=window.event;return e&&e.type==="popstate"?e===Ns?!1:(Ns=e,!0):(Ns=null,!1)}var sg=typeof setTimeout=="function"?setTimeout:void 0,dv=typeof clearTimeout=="function"?clearTimeout:void 0,cg=typeof Promise=="function"?Promise:void 0,pv=typeof queueMicrotask=="function"?queueMicrotask:typeof cg<"u"?function(e){return cg.resolve(null).then(e).catch(gv)}:sg;function gv(e){setTimeout(function(){throw e})}function qn(e){return e==="head"}function fg(e,t){var n=t,a=0,u=0;do{var s=n.nextSibling;if(e.removeChild(n),s&&s.nodeType===8)if(n=s.data,n==="/$"){if(0<a&&8>a){n=a;var g=e.ownerDocument;if(n&1&&mr(g.documentElement),n&2&&mr(g.body),n&4)for(n=g.head,mr(n),g=n.firstChild;g;){var b=g.nextSibling,R=g.nodeName;g[Da]||R==="SCRIPT"||R==="STYLE"||R==="LINK"&&g.rel.toLowerCase()==="stylesheet"||n.removeChild(g),g=b}}if(u===0){e.removeChild(s),Tr(t);return}u--}else n==="$"||n==="$?"||n==="$!"?u++:a=n.charCodeAt(0)-48;else a=0;n=s}while(n);Tr(t)}function Ls(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":Ls(n),Bu(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function mv(e,t,n,a){for(;e.nodeType===1;){var u=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(a){if(!e[Da])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(s=e.getAttribute("rel"),s==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(s!==u.rel||e.getAttribute("href")!==(u.href==null||u.href===""?null:u.href)||e.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin)||e.getAttribute("title")!==(u.title==null?null:u.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(s=e.getAttribute("src"),(s!==(u.src==null?null:u.src)||e.getAttribute("type")!==(u.type==null?null:u.type)||e.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin))&&s&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var s=u.name==null?null:""+u.name;if(u.type==="hidden"&&e.getAttribute("name")===s)return e}else return e;if(e=Xt(e.nextSibling),e===null)break}return null}function hv(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=Xt(e.nextSibling),e===null))return null;return e}function ks(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState==="complete"}function yv(e,t){var n=e.ownerDocument;if(e.data!=="$?"||n.readyState==="complete")t();else{var a=function(){t(),n.removeEventListener("DOMContentLoaded",a)};n.addEventListener("DOMContentLoaded",a),e._reactRetry=a}}function Xt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="F!"||t==="F")break;if(t==="/$")return null}}return e}var js=null;function dg(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}function pg(e,t,n){switch(t=Zi(n),e){case"html":if(e=t.documentElement,!e)throw Error(o(452));return e;case"head":if(e=t.head,!e)throw Error(o(453));return e;case"body":if(e=t.body,!e)throw Error(o(454));return e;default:throw Error(o(451))}}function mr(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Bu(e)}var qt=new Map,gg=new Set;function Vi(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var xn=Q.d;Q.d={f:vv,r:bv,D:Ev,C:xv,L:Sv,m:Tv,X:Av,S:wv,M:Ov};function vv(){var e=xn.f(),t=Bi();return e||t}function bv(e){var t=Cl(e);t!==null&&t.tag===5&&t.type==="form"?kd(t):xn.r(e)}var fa=typeof document>"u"?null:document;function mg(e,t,n){var a=fa;if(a&&typeof t=="string"&&t){var u=jt(t);u='link[rel="'+e+'"][href="'+u+'"]',typeof n=="string"&&(u+='[crossorigin="'+n+'"]'),gg.has(u)||(gg.add(u),e={rel:e,crossOrigin:n,href:t},a.querySelector(u)===null&&(t=a.createElement("link"),rt(t,"link",e),Je(t),a.head.appendChild(t)))}}function Ev(e){xn.D(e),mg("dns-prefetch",e,null)}function xv(e,t){xn.C(e,t),mg("preconnect",e,t)}function Sv(e,t,n){xn.L(e,t,n);var a=fa;if(a&&e&&t){var u='link[rel="preload"][as="'+jt(t)+'"]';t==="image"&&n&&n.imageSrcSet?(u+='[imagesrcset="'+jt(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(u+='[imagesizes="'+jt(n.imageSizes)+'"]')):u+='[href="'+jt(e)+'"]';var s=u;switch(t){case"style":s=da(e);break;case"script":s=pa(e)}qt.has(s)||(e=y({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),qt.set(s,e),a.querySelector(u)!==null||t==="style"&&a.querySelector(hr(s))||t==="script"&&a.querySelector(yr(s))||(t=a.createElement("link"),rt(t,"link",e),Je(t),a.head.appendChild(t)))}}function Tv(e,t){xn.m(e,t);var n=fa;if(n&&e){var a=t&&typeof t.as=="string"?t.as:"script",u='link[rel="modulepreload"][as="'+jt(a)+'"][href="'+jt(e)+'"]',s=u;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":s=pa(e)}if(!qt.has(s)&&(e=y({rel:"modulepreload",href:e},t),qt.set(s,e),n.querySelector(u)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(yr(s)))return}a=n.createElement("link"),rt(a,"link",e),Je(a),n.head.appendChild(a)}}}function wv(e,t,n){xn.S(e,t,n);var a=fa;if(a&&e){var u=Nl(a).hoistableStyles,s=da(e);t=t||"default";var g=u.get(s);if(!g){var b={loading:0,preload:null};if(g=a.querySelector(hr(s)))b.loading=5;else{e=y({rel:"stylesheet",href:e,"data-precedence":t},n),(n=qt.get(s))&&zs(e,n);var R=g=a.createElement("link");Je(R),rt(R,"link",e),R._p=new Promise(function(j,q){R.onload=j,R.onerror=q}),R.addEventListener("load",function(){b.loading|=1}),R.addEventListener("error",function(){b.loading|=2}),b.loading|=4,Xi(g,t,a)}g={type:"stylesheet",instance:g,count:1,state:b},u.set(s,g)}}}function Av(e,t){xn.X(e,t);var n=fa;if(n&&e){var a=Nl(n).hoistableScripts,u=pa(e),s=a.get(u);s||(s=n.querySelector(yr(u)),s||(e=y({src:e,async:!0},t),(t=qt.get(u))&&Bs(e,t),s=n.createElement("script"),Je(s),rt(s,"link",e),n.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},a.set(u,s))}}function Ov(e,t){xn.M(e,t);var n=fa;if(n&&e){var a=Nl(n).hoistableScripts,u=pa(e),s=a.get(u);s||(s=n.querySelector(yr(u)),s||(e=y({src:e,async:!0,type:"module"},t),(t=qt.get(u))&&Bs(e,t),s=n.createElement("script"),Je(s),rt(s,"link",e),n.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},a.set(u,s))}}function hg(e,t,n,a){var u=(u=ie.current)?Vi(u):null;if(!u)throw Error(o(446));switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(t=da(n.href),n=Nl(u).hoistableStyles,a=n.get(t),a||(a={type:"style",instance:null,count:0,state:null},n.set(t,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=da(n.href);var s=Nl(u).hoistableStyles,g=s.get(e);if(g||(u=u.ownerDocument||u,g={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},s.set(e,g),(s=u.querySelector(hr(e)))&&!s._p&&(g.instance=s,g.state.loading=5),qt.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},qt.set(e,n),s||Rv(u,e,n,g.state))),t&&a===null)throw Error(o(528,""));return g}if(t&&a!==null)throw Error(o(529,""));return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=pa(n),n=Nl(u).hoistableScripts,a=n.get(t),a||(a={type:"script",instance:null,count:0,state:null},n.set(t,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,e))}}function da(e){return'href="'+jt(e)+'"'}function hr(e){return'link[rel="stylesheet"]['+e+"]"}function yg(e){return y({},e,{"data-precedence":e.precedence,precedence:null})}function Rv(e,t,n,a){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=1:(t=e.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2}),rt(t,"link",n),Je(t),e.head.appendChild(t))}function pa(e){return'[src="'+jt(e)+'"]'}function yr(e){return"script[async]"+e}function vg(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+jt(n.href)+'"]');if(a)return t.instance=a,Je(a),a;var u=y({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),Je(a),rt(a,"style",u),Xi(a,n.precedence,e),t.instance=a;case"stylesheet":u=da(n.href);var s=e.querySelector(hr(u));if(s)return t.state.loading|=4,t.instance=s,Je(s),s;a=yg(n),(u=qt.get(u))&&zs(a,u),s=(e.ownerDocument||e).createElement("link"),Je(s);var g=s;return g._p=new Promise(function(b,R){g.onload=b,g.onerror=R}),rt(s,"link",a),t.state.loading|=4,Xi(s,n.precedence,e),t.instance=s;case"script":return s=pa(n.src),(u=e.querySelector(yr(s)))?(t.instance=u,Je(u),u):(a=n,(u=qt.get(s))&&(a=y({},n),Bs(a,u)),e=e.ownerDocument||e,u=e.createElement("script"),Je(u),rt(u,"link",a),e.head.appendChild(u),t.instance=u);case"void":return null;default:throw Error(o(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,Xi(a,n.precedence,e));return t.instance}function Xi(e,t,n){for(var a=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),u=a.length?a[a.length-1]:null,s=u,g=0;g<a.length;g++){var b=a[g];if(b.dataset.precedence===t)s=b;else if(s!==u)break}s?s.parentNode.insertBefore(e,s.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function zs(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Bs(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Qi=null;function bg(e,t,n){if(Qi===null){var a=new Map,u=Qi=new Map;u.set(n,a)}else u=Qi,a=u.get(n),a||(a=new Map,u.set(n,a));if(a.has(e))return a;for(a.set(e,null),n=n.getElementsByTagName(e),u=0;u<n.length;u++){var s=n[u];if(!(s[Da]||s[it]||e==="link"&&s.getAttribute("rel")==="stylesheet")&&s.namespaceURI!=="http://www.w3.org/2000/svg"){var g=s.getAttribute(t)||"";g=e+g;var b=a.get(g);b?b.push(s):a.set(g,[s])}}return a}function Eg(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function _v(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function xg(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}var vr=null;function Mv(){}function Dv(e,t,n){if(vr===null)throw Error(o(475));var a=vr;if(t.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&(t.state.loading&4)===0){if(t.instance===null){var u=da(n.href),s=e.querySelector(hr(u));if(s){e=s._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(a.count++,a=Ki.bind(a),e.then(a,a)),t.state.loading|=4,t.instance=s,Je(s);return}s=e.ownerDocument||e,n=yg(n),(u=qt.get(u))&&zs(n,u),s=s.createElement("link"),Je(s);var g=s;g._p=new Promise(function(b,R){g.onload=b,g.onerror=R}),rt(s,"link",n),t.instance=s}a.stylesheets===null&&(a.stylesheets=new Map),a.stylesheets.set(t,e),(e=t.state.preload)&&(t.state.loading&3)===0&&(a.count++,t=Ki.bind(a),e.addEventListener("load",t),e.addEventListener("error",t))}}function Cv(){if(vr===null)throw Error(o(475));var e=vr;return e.stylesheets&&e.count===0&&Hs(e,e.stylesheets),0<e.count?function(t){var n=setTimeout(function(){if(e.stylesheets&&Hs(e,e.stylesheets),e.unsuspend){var a=e.unsuspend;e.unsuspend=null,a()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(n)}}:null}function Ki(){if(this.count--,this.count===0){if(this.stylesheets)Hs(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Pi=null;function Hs(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Pi=new Map,t.forEach(Nv,e),Pi=null,Ki.call(e))}function Nv(e,t){if(!(t.state.loading&4)){var n=Pi.get(e);if(n)var a=n.get(null);else{n=new Map,Pi.set(e,n);for(var u=e.querySelectorAll("link[data-precedence],style[data-precedence]"),s=0;s<u.length;s++){var g=u[s];(g.nodeName==="LINK"||g.getAttribute("media")!=="not all")&&(n.set(g.dataset.precedence,g),a=g)}a&&n.set(null,a)}u=t.instance,g=u.getAttribute("data-precedence"),s=n.get(g)||a,s===a&&n.set(null,u),n.set(g,u),this.count++,a=Ki.bind(this),u.addEventListener("load",a),u.addEventListener("error",a),s?s.parentNode.insertBefore(u,s.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(u,e.firstChild)),t.state.loading|=4}}var br={$$typeof:_,Provider:null,Consumer:null,_currentValue:V,_currentValue2:V,_threadCount:0};function Lv(e,t,n,a,u,s,g,b){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=Lu(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Lu(0),this.hiddenUpdates=Lu(null),this.identifierPrefix=a,this.onUncaughtError=u,this.onCaughtError=s,this.onRecoverableError=g,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=b,this.incompleteTransitions=new Map}function Sg(e,t,n,a,u,s,g,b,R,j,q,Z){return e=new Lv(e,t,n,g,b,R,j,Z),t=1,s===!0&&(t|=24),s=At(3,null,null,t),e.current=s,s.stateNode=e,t=bo(),t.refCount++,e.pooledCache=t,t.refCount++,s.memoizedState={element:a,isDehydrated:n,cache:t},To(s),e}function Tg(e){return e?(e=Yl,e):Yl}function wg(e,t,n,a,u,s){u=Tg(u),a.context===null?a.context=u:a.pendingContext=u,a=Mn(t),a.payload={element:n},s=s===void 0?null:s,s!==null&&(a.callback=s),n=Dn(e,a,t),n!==null&&(Dt(n,e,t),Ka(n,e,t))}function Ag(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Us(e,t){Ag(e,t),(e=e.alternate)&&Ag(e,t)}function Og(e){if(e.tag===13){var t=Gl(e,67108864);t!==null&&Dt(t,e,67108864),Us(e,67108864)}}var Ji=!0;function kv(e,t,n,a){var u=z.T;z.T=null;var s=Q.p;try{Q.p=2,$s(e,t,n,a)}finally{Q.p=s,z.T=u}}function jv(e,t,n,a){var u=z.T;z.T=null;var s=Q.p;try{Q.p=8,$s(e,t,n,a)}finally{Q.p=s,z.T=u}}function $s(e,t,n,a){if(Ji){var u=Fs(a);if(u===null)Rs(e,t,a,Ii,n),_g(e,a);else if(Bv(u,e,t,n,a))a.stopPropagation();else if(_g(e,a),t&4&&-1<zv.indexOf(e)){for(;u!==null;){var s=Cl(u);if(s!==null)switch(s.tag){case 3:if(s=s.stateNode,s.current.memoizedState.isDehydrated){var g=nl(s.pendingLanes);if(g!==0){var b=s;for(b.pendingLanes|=2,b.entangledLanes|=2;g;){var R=1<<31-Tt(g);b.entanglements[1]|=R,g&=~R}tn(s),(Re&6)===0&&(ji=Pt()+500,dr(0))}}break;case 13:b=Gl(s,2),b!==null&&Dt(b,s,2),Bi(),Us(s,2)}if(s=Fs(a),s===null&&Rs(e,t,a,Ii,n),s===u)break;u=s}u!==null&&a.stopPropagation()}else Rs(e,t,a,null,n)}}function Fs(e){return e=Zu(e),qs(e)}var Ii=null;function qs(e){if(Ii=null,e=Dl(e),e!==null){var t=f(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=p(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Ii=e,null}function Rg(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(x0()){case $c:return 2;case Fc:return 8;case Yr:case S0:return 32;case qc:return 268435456;default:return 32}default:return 32}}var Gs=!1,Gn=null,Yn=null,Zn=null,Er=new Map,xr=new Map,Vn=[],zv="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 _g(e,t){switch(e){case"focusin":case"focusout":Gn=null;break;case"dragenter":case"dragleave":Yn=null;break;case"mouseover":case"mouseout":Zn=null;break;case"pointerover":case"pointerout":Er.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":xr.delete(t.pointerId)}}function Sr(e,t,n,a,u,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:n,eventSystemFlags:a,nativeEvent:s,targetContainers:[u]},t!==null&&(t=Cl(t),t!==null&&Og(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,u!==null&&t.indexOf(u)===-1&&t.push(u),e)}function Bv(e,t,n,a,u){switch(t){case"focusin":return Gn=Sr(Gn,e,t,n,a,u),!0;case"dragenter":return Yn=Sr(Yn,e,t,n,a,u),!0;case"mouseover":return Zn=Sr(Zn,e,t,n,a,u),!0;case"pointerover":var s=u.pointerId;return Er.set(s,Sr(Er.get(s)||null,e,t,n,a,u)),!0;case"gotpointercapture":return s=u.pointerId,xr.set(s,Sr(xr.get(s)||null,e,t,n,a,u)),!0}return!1}function Mg(e){var t=Dl(e.target);if(t!==null){var n=f(t);if(n!==null){if(t=n.tag,t===13){if(t=p(n),t!==null){e.blockedOn=t,D0(e.priority,function(){if(n.tag===13){var a=Mt();a=ku(a);var u=Gl(n,a);u!==null&&Dt(u,n,a),Us(n,a)}});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Wi(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Fs(e.nativeEvent);if(n===null){n=e.nativeEvent;var a=new n.constructor(n.type,n);Yu=a,n.target.dispatchEvent(a),Yu=null}else return t=Cl(n),t!==null&&Og(t),e.blockedOn=n,!1;t.shift()}return!0}function Dg(e,t,n){Wi(e)&&n.delete(t)}function Hv(){Gs=!1,Gn!==null&&Wi(Gn)&&(Gn=null),Yn!==null&&Wi(Yn)&&(Yn=null),Zn!==null&&Wi(Zn)&&(Zn=null),Er.forEach(Dg),xr.forEach(Dg)}function eu(e,t){e.blockedOn===t&&(e.blockedOn=null,Gs||(Gs=!0,l.unstable_scheduleCallback(l.unstable_NormalPriority,Hv)))}var tu=null;function Cg(e){tu!==e&&(tu=e,l.unstable_scheduleCallback(l.unstable_NormalPriority,function(){tu===e&&(tu=null);for(var t=0;t<e.length;t+=3){var n=e[t],a=e[t+1],u=e[t+2];if(typeof a!="function"){if(qs(a||n)===null)continue;break}var s=Cl(n);s!==null&&(e.splice(t,3),t-=3,qo(s,{pending:!0,data:u,method:n.method,action:a},a,u))}}))}function Tr(e){function t(R){return eu(R,e)}Gn!==null&&eu(Gn,e),Yn!==null&&eu(Yn,e),Zn!==null&&eu(Zn,e),Er.forEach(t),xr.forEach(t);for(var n=0;n<Vn.length;n++){var a=Vn[n];a.blockedOn===e&&(a.blockedOn=null)}for(;0<Vn.length&&(n=Vn[0],n.blockedOn===null);)Mg(n),n.blockedOn===null&&Vn.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(a=0;a<n.length;a+=3){var u=n[a],s=n[a+1],g=u[ht]||null;if(typeof s=="function")g||Cg(n);else if(g){var b=null;if(s&&s.hasAttribute("formAction")){if(u=s,g=s[ht]||null)b=g.formAction;else if(qs(u)!==null)continue}else b=g.action;typeof b=="function"?n[a+1]=b:(n.splice(a,3),a-=3),Cg(n)}}}function Ys(e){this._internalRoot=e}nu.prototype.render=Ys.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(o(409));var n=t.current,a=Mt();wg(n,a,e,t,null,null)},nu.prototype.unmount=Ys.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;wg(e.current,2,null,e,null,null),Bi(),t[Ml]=null}};function nu(e){this._internalRoot=e}nu.prototype.unstable_scheduleHydration=function(e){if(e){var t=Xc();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Vn.length&&t!==0&&t<Vn[n].priority;n++);Vn.splice(n,0,e),n===0&&Mg(e)}};var Ng=r.version;if(Ng!=="19.1.0")throw Error(o(527,Ng,"19.1.0"));Q.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(o(188)):(e=Object.keys(e).join(","),Error(o(268,e)));return e=d(t),e=e!==null?h(e):null,e=e===null?null:e.stateNode,e};var Uv={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:z,reconcilerVersion:"19.1.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var lu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!lu.isDisabled&&lu.supportsFiber)try{Ra=lu.inject(Uv),St=lu}catch{}}return wr.createRoot=function(e,t){if(!c(e))throw Error(o(299));var n=!1,a="",u=Qd,s=Kd,g=Pd,b=null;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(u=t.onUncaughtError),t.onCaughtError!==void 0&&(s=t.onCaughtError),t.onRecoverableError!==void 0&&(g=t.onRecoverableError),t.unstable_transitionCallbacks!==void 0&&(b=t.unstable_transitionCallbacks)),t=Sg(e,1,!1,null,null,n,a,u,s,g,b,null),e[Ml]=t.current,Os(e),new Ys(t)},wr.hydrateRoot=function(e,t,n){if(!c(e))throw Error(o(299));var a=!1,u="",s=Qd,g=Kd,b=Pd,R=null,j=null;return n!=null&&(n.unstable_strictMode===!0&&(a=!0),n.identifierPrefix!==void 0&&(u=n.identifierPrefix),n.onUncaughtError!==void 0&&(s=n.onUncaughtError),n.onCaughtError!==void 0&&(g=n.onCaughtError),n.onRecoverableError!==void 0&&(b=n.onRecoverableError),n.unstable_transitionCallbacks!==void 0&&(R=n.unstable_transitionCallbacks),n.formState!==void 0&&(j=n.formState)),t=Sg(e,1,!0,t,n??null,a,u,s,g,b,R,j),t.context=Tg(null),n=t.current,a=Mt(),a=ku(a),u=Mn(a),u.callback=null,Dn(n,u,a),n=a,t.current.lanes=n,Ma(t,n),tn(t),e[Ml]=t.current,Os(e),new nu(t)},wr.version="19.1.0",wr}var Fg;function tb(){if(Fg)return Zs.exports;Fg=1;function l(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(l)}catch(r){console.error(r)}}return l(),Zs.exports=eb(),Zs.exports}var nb=tb();const qg=Tc(nb);function uu(l){return l instanceof Function||typeof l=="function"}const lb=["Head","bodyAttributes","htmlAttributes"];function ab(l,r){return l.includes(r)}function Gg(l,r){const i=r._configFromHook?.[l],o=r.config[l],c=f=>uu(f)?f(r):f;return ab(lb,l)?[...(o??[]).map(c),...i??[]]:i!==void 0?i:c(o)}var E=gu();const ee=Tc(E),sc=Kv({__proto__:null,default:ee},[E]);function rb(l,r){const i=globalThis[Yg]=globalThis[Yg]||{};return i[l]=i[l]||r}const Yg="_vike_react",km=rb("PageContextProvider.ts",{reactContext:ee.createContext(void 0)});function ib({pageContext:l,children:r}){const{reactContext:i}=km;return ee.createElement(i.Provider,{value:l},r)}function mu(){const{reactContext:l}=km;return E.useContext(l)}function ub(l){const{Page:r,config:{Loading:i}}=l;let o=r?ee.createElement(r,null):null;const c=m=>i?.layout?ee.createElement(E.Suspense,{fallback:ee.createElement(i.layout,null)},o):m;o=c(o),[...l.config.Layout||[],...l.config.Wrapper||[]].forEach(m=>{o=ee.createElement(m,null,o),o=c(o)}),o=ee.createElement(ib,{pageContext:l},o);let f,p=new Promise(m=>f=m);return o=ee.createElement(ob,{renderPromiseResolve:f},o),l.config.reactStrictMode!==!1&&(o=ee.createElement(ee.StrictMode,null,o)),{page:o,renderPromise:p}}function ob({children:l,renderPromiseResolve:r}){return E.useEffect(r),l}async function Zg(l,r){if(!l)return[];const i=l.map(c=>uu(c)?(Fv(r),c(r)):c);return await Promise.all(i)}function sb(l,r){l!==void 0&&(document.title=l||""),r!==void 0&&(document.documentElement.lang=r||"en")}function Vg(l){return Object.entries(l)}function cb(l){const r={};return(l.config.react??[]).forEach(i=>{const o=uu(i)?i(l):i;o&&Vg(o).forEach(([c,f])=>{f&&(r[c]??(r[c]={}),Vg(f).forEach(([p,m])=>{var d;if(!uu(m))(d=r[c])[p]??(d[p]=m);else{const h=r[c][p];r[c][p]=(...y)=>{h?.(...y),m(...y)}}}))})}),r}let Ar;const Q3=async l=>{l._headAlreadySet=l.isHydration,await Zg(l.config.onBeforeRenderClient,l);const{page:r,renderPromise:i}=ub(l);l.page=r;const o=document.getElementById("root"),{hydrateRootOptions:c,createRootOptions:f}=cb(l);l.isHydration&&o.innerHTML!==""?Ar=qg.hydrateRoot(o,r,c):(Ar||(Ar=qg.createRoot(o,f)),Ar.render(r)),l.root=Ar,await i,l.isHydration||(l._headAlreadySet=!0,fb(l)),await Zg(l.config.onAfterRenderClient,l)};function fb(l){const r=Gg("title",l),i=Gg("lang",l);sb(r,i)}const db=async()=>{console.log("Page transition start"),document.querySelector("body")?.classList.add("page-is-transitioning")},K3=Object.freeze(Object.defineProperty({__proto__:null,onPageTransitionStart:db},Symbol.toStringTag,{value:"Module"})),pb=async()=>{console.log("Page transition end"),document.querySelector("body")?.classList.remove("page-is-transitioning")},P3=Object.freeze(Object.defineProperty({__proto__:null,onPageTransitionEnd:pb},Symbol.toStringTag,{value:"Module"}));var Ps={exports:{}},Or={};/**
 * @license React
 * react-jsx-runtime.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Xg;function gb(){if(Xg)return Or;Xg=1;var l=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function i(o,c,f){var p=null;if(f!==void 0&&(p=""+f),c.key!==void 0&&(p=""+c.key),"key"in c){f={};for(var m in c)m!=="key"&&(f[m]=c[m])}else f=c;return c=f.ref,{$$typeof:l,type:o,key:p,ref:c!==void 0?c:null,props:f}}return Or.Fragment=r,Or.jsx=i,Or.jsxs=i,Or}var Qg;function mb(){return Qg||(Qg=1,Ps.exports=gb()),Ps.exports}var C=mb();function jm(l){var r,i,o="";if(typeof l=="string"||typeof l=="number")o+=l;else if(typeof l=="object")if(Array.isArray(l)){var c=l.length;for(r=0;r<c;r++)l[r]&&(i=jm(l[r]))&&(o&&(o+=" "),o+=i)}else for(i in l)l[i]&&(o&&(o+=" "),o+=i);return o}function ct(){for(var l,r,i=0,o="",c=arguments.length;i<c;i++)(l=arguments[i])&&(r=jm(l))&&(o&&(o+=" "),o+=r);return o}function Lr(l){const{urlPathname:r}=mu(),i=l.href==="/"?r===l.href:r.startsWith(l.href);return C.jsx("a",{...l,href:l.href,className:ct(i&&"is-active",l.className),children:l.children})}const zm=typeof document<"u"?ee.useLayoutEffect:()=>{};function hb(l){const r=E.useRef(null);return zm(()=>{r.current=l},[l]),E.useCallback((...i)=>{const o=r.current;return o?.(...i)},[])}const Wn=l=>{var r;return(r=l?.ownerDocument)!==null&&r!==void 0?r:document},Sl=l=>l&&"window"in l&&l.window===l?l:Wn(l).defaultView||window;function yb(l){return l!==null&&typeof l=="object"&&"nodeType"in l&&typeof l.nodeType=="number"}function vb(l){return yb(l)&&l.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in l}let bb=!1;function wc(){return bb}function Bm(l,r){if(!wc())return r&&l?l.contains(r):!1;if(!l||!r)return!1;let i=r;for(;i!==null;){if(i===l)return!0;i.tagName==="SLOT"&&i.assignedSlot?i=i.assignedSlot.parentNode:vb(i)?i=i.host:i=i.parentNode}return!1}const cc=(l=document)=>{var r;if(!wc())return l.activeElement;let i=l.activeElement;for(;i&&"shadowRoot"in i&&(!((r=i.shadowRoot)===null||r===void 0)&&r.activeElement);)i=i.shadowRoot.activeElement;return i};function Hm(l){return wc()&&l.target.shadowRoot&&l.composedPath?l.composedPath()[0]:l.target}function Eb(l){var r;return typeof window>"u"||window.navigator==null?!1:((r=window.navigator.userAgentData)===null||r===void 0?void 0:r.brands.some(i=>l.test(i.brand)))||l.test(window.navigator.userAgent)}function xb(l){var r;return typeof window<"u"&&window.navigator!=null?l.test(((r=window.navigator.userAgentData)===null||r===void 0?void 0:r.platform)||window.navigator.platform):!1}function Um(l){let r=null;return()=>(r==null&&(r=l()),r)}const Sb=Um(function(){return xb(/^Mac/i)}),Tb=Um(function(){return Eb(/Android/i)});function $m(){let l=E.useRef(new Map),r=E.useCallback((c,f,p,m)=>{let d=m?.once?(...h)=>{l.current.delete(p),p(...h)}:p;l.current.set(p,{type:f,eventTarget:c,fn:d,options:m}),c.addEventListener(f,d,m)},[]),i=E.useCallback((c,f,p,m)=>{var d;let h=((d=l.current.get(p))===null||d===void 0?void 0:d.fn)||p;c.removeEventListener(f,h,m),l.current.delete(p)},[]),o=E.useCallback(()=>{l.current.forEach((c,f)=>{i(c.eventTarget,c.type,f,c.options)})},[i]);return E.useEffect(()=>o,[o]),{addGlobalListener:r,removeGlobalListener:i,removeAllGlobalListeners:o}}function wb(l){return l.mozInputSource===0&&l.isTrusted?!0:Tb()&&l.pointerType?l.type==="click"&&l.buttons===1:l.detail===0&&!l.pointerType}var Nt=Lm();function Fm(l){let r=l;return r.nativeEvent=l,r.isDefaultPrevented=()=>r.defaultPrevented,r.isPropagationStopped=()=>r.cancelBubble,r.persist=()=>{},r}function Ab(l,r){Object.defineProperty(l,"target",{value:r}),Object.defineProperty(l,"currentTarget",{value:r})}function qm(l){let r=E.useRef({isFocused:!1,observer:null});zm(()=>{const o=r.current;return()=>{o.observer&&(o.observer.disconnect(),o.observer=null)}},[]);let i=hb(o=>{l?.(o)});return E.useCallback(o=>{if(o.target instanceof HTMLButtonElement||o.target instanceof HTMLInputElement||o.target instanceof HTMLTextAreaElement||o.target instanceof HTMLSelectElement){r.current.isFocused=!0;let c=o.target,f=p=>{if(r.current.isFocused=!1,c.disabled){let m=Fm(p);i(m)}r.current.observer&&(r.current.observer.disconnect(),r.current.observer=null)};c.addEventListener("focusout",f,{once:!0}),r.current.observer=new MutationObserver(()=>{if(r.current.isFocused&&c.disabled){var p;(p=r.current.observer)===null||p===void 0||p.disconnect();let m=c===document.activeElement?null:document.activeElement;c.dispatchEvent(new FocusEvent("blur",{relatedTarget:m})),c.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:m}))}}),r.current.observer.observe(c,{attributes:!0,attributeFilter:["disabled"]})}},[i])}let Ob=!1,Br=null,fc=new Set,Dr=new Map,Al=!1,dc=!1;const Rb={Tab:!0,Escape:!0};function Ac(l,r){for(let i of fc)i(l,r)}function _b(l){return!(l.metaKey||!Sb()&&l.altKey||l.ctrlKey||l.key==="Control"||l.key==="Shift"||l.key==="Meta")}function ou(l){Al=!0,_b(l)&&(Br="keyboard",Ac("keyboard",l))}function ma(l){Br="pointer",(l.type==="mousedown"||l.type==="pointerdown")&&(Al=!0,Ac("pointer",l))}function Gm(l){wb(l)&&(Al=!0,Br="virtual")}function Ym(l){l.target===window||l.target===document||Ob||!l.isTrusted||(!Al&&!dc&&(Br="virtual",Ac("virtual",l)),Al=!1,dc=!1)}function Zm(){Al=!1,dc=!0}function pc(l){if(typeof window>"u"||Dr.get(Sl(l)))return;const r=Sl(l),i=Wn(l);let o=r.HTMLElement.prototype.focus;r.HTMLElement.prototype.focus=function(){Al=!0,o.apply(this,arguments)},i.addEventListener("keydown",ou,!0),i.addEventListener("keyup",ou,!0),i.addEventListener("click",Gm,!0),r.addEventListener("focus",Ym,!0),r.addEventListener("blur",Zm,!1),typeof PointerEvent<"u"&&(i.addEventListener("pointerdown",ma,!0),i.addEventListener("pointermove",ma,!0),i.addEventListener("pointerup",ma,!0)),r.addEventListener("beforeunload",()=>{Vm(l)},{once:!0}),Dr.set(r,{focus:o})}const Vm=(l,r)=>{const i=Sl(l),o=Wn(l);r&&o.removeEventListener("DOMContentLoaded",r),Dr.has(i)&&(i.HTMLElement.prototype.focus=Dr.get(i).focus,o.removeEventListener("keydown",ou,!0),o.removeEventListener("keyup",ou,!0),o.removeEventListener("click",Gm,!0),i.removeEventListener("focus",Ym,!0),i.removeEventListener("blur",Zm,!1),typeof PointerEvent<"u"&&(o.removeEventListener("pointerdown",ma,!0),o.removeEventListener("pointermove",ma,!0),o.removeEventListener("pointerup",ma,!0)),Dr.delete(i))};function Mb(l){const r=Wn(l);let i;return r.readyState!=="loading"?pc(l):(i=()=>{pc(l)},r.addEventListener("DOMContentLoaded",i)),()=>Vm(l,i)}typeof document<"u"&&Mb();function Xm(){return Br!=="pointer"}const Db=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Cb(l,r,i){let o=Wn(i?.target);const c=typeof window<"u"?Sl(i?.target).HTMLInputElement:HTMLInputElement,f=typeof window<"u"?Sl(i?.target).HTMLTextAreaElement:HTMLTextAreaElement,p=typeof window<"u"?Sl(i?.target).HTMLElement:HTMLElement,m=typeof window<"u"?Sl(i?.target).KeyboardEvent:KeyboardEvent;return l=l||o.activeElement instanceof c&&!Db.has(o.activeElement.type)||o.activeElement instanceof f||o.activeElement instanceof p&&o.activeElement.isContentEditable,!(l&&r==="keyboard"&&i instanceof m&&!Rb[i.key])}function Nb(l,r,i){pc(),E.useEffect(()=>{let o=(c,f)=>{Cb(!!i?.isTextInput,c,f)&&l(Xm())};return fc.add(o),()=>{fc.delete(o)}},r)}function Lb(l){let{isDisabled:r,onFocus:i,onBlur:o,onFocusChange:c}=l;const f=E.useCallback(d=>{if(d.target===d.currentTarget)return o&&o(d),c&&c(!1),!0},[o,c]),p=qm(f),m=E.useCallback(d=>{const h=Wn(d.target),y=h?cc(h):cc();d.target===d.currentTarget&&y===Hm(d.nativeEvent)&&(i&&i(d),c&&c(!0),p(d))},[c,i,p]);return{focusProps:{onFocus:!r&&(i||c||o)?m:void 0,onBlur:!r&&(o||c)?f:void 0}}}function kb(l){let{isDisabled:r,onBlurWithin:i,onFocusWithin:o,onFocusWithinChange:c}=l,f=E.useRef({isFocusWithin:!1}),{addGlobalListener:p,removeAllGlobalListeners:m}=$m(),d=E.useCallback(S=>{S.currentTarget.contains(S.target)&&f.current.isFocusWithin&&!S.currentTarget.contains(S.relatedTarget)&&(f.current.isFocusWithin=!1,m(),i&&i(S),c&&c(!1))},[i,c,f,m]),h=qm(d),y=E.useCallback(S=>{if(!S.currentTarget.contains(S.target))return;const w=Wn(S.target),T=cc(w);if(!f.current.isFocusWithin&&T===Hm(S.nativeEvent)){o&&o(S),c&&c(!0),f.current.isFocusWithin=!0,h(S);let v=S.currentTarget;p(w,"focus",x=>{if(f.current.isFocusWithin&&!Bm(v,x.target)){let A=new w.defaultView.FocusEvent("blur",{relatedTarget:x.target});Ab(A,v);let N=Fm(A);d(N)}},{capture:!0})}},[o,c,h,p,d]);return r?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:y,onBlur:d}}}let gc=!1,Js=0;function jb(){gc=!0,setTimeout(()=>{gc=!1},50)}function Kg(l){l.pointerType==="touch"&&jb()}function zb(){if(!(typeof document>"u"))return typeof PointerEvent<"u"&&document.addEventListener("pointerup",Kg),Js++,()=>{Js--,!(Js>0)&&typeof PointerEvent<"u"&&document.removeEventListener("pointerup",Kg)}}function Bb(l){let{onHoverStart:r,onHoverChange:i,onHoverEnd:o,isDisabled:c}=l,[f,p]=E.useState(!1),m=E.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;E.useEffect(zb,[]);let{addGlobalListener:d,removeAllGlobalListeners:h}=$m(),{hoverProps:y,triggerHoverEnd:S}=E.useMemo(()=>{let w=(x,A)=>{if(m.pointerType=A,c||A==="touch"||m.isHovered||!x.currentTarget.contains(x.target))return;m.isHovered=!0;let N=x.currentTarget;m.target=N,d(Wn(x.target),"pointerover",M=>{m.isHovered&&m.target&&!Bm(m.target,M.target)&&T(M,M.pointerType)},{capture:!0}),r&&r({type:"hoverstart",target:N,pointerType:A}),i&&i(!0),p(!0)},T=(x,A)=>{let N=m.target;m.pointerType="",m.target=null,!(A==="touch"||!m.isHovered||!N)&&(m.isHovered=!1,h(),o&&o({type:"hoverend",target:N,pointerType:A}),i&&i(!1),p(!1))},v={};return typeof PointerEvent<"u"&&(v.onPointerEnter=x=>{gc&&x.pointerType==="mouse"||w(x,x.pointerType)},v.onPointerLeave=x=>{!c&&x.currentTarget.contains(x.target)&&T(x,x.pointerType)}),{hoverProps:v,triggerHoverEnd:T}},[r,i,o,c,m,d,h]);return E.useEffect(()=>{c&&S({currentTarget:m.target},m.pointerType)},[c]),{hoverProps:y,isHovered:f}}function Hb(l={}){let{autoFocus:r=!1,isTextInput:i,within:o}=l,c=E.useRef({isFocused:!1,isFocusVisible:r||Xm()}),[f,p]=E.useState(!1),[m,d]=E.useState(()=>c.current.isFocused&&c.current.isFocusVisible),h=E.useCallback(()=>d(c.current.isFocused&&c.current.isFocusVisible),[]),y=E.useCallback(T=>{c.current.isFocused=T,p(T),h()},[h]);Nb(T=>{c.current.isFocusVisible=T,h()},[],{isTextInput:i});let{focusProps:S}=Lb({isDisabled:o,onFocusChange:y}),{focusWithinProps:w}=kb({isDisabled:!o,onFocusWithinChange:y});return{isFocused:f,isFocusVisible:m,focusProps:o?w:S}}var Ub=Object.defineProperty,$b=(l,r,i)=>r in l?Ub(l,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):l[r]=i,Is=(l,r,i)=>($b(l,typeof r!="symbol"?r+"":r,i),i);let Fb=class{constructor(){Is(this,"current",this.detect()),Is(this,"handoffState","pending"),Is(this,"currentId",0)}set(r){this.current!==r&&(this.handoffState="pending",this.currentId=0,this.current=r)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},wl=new Fb;function Sa(l){var r,i;return wl.isServer?null:l?"ownerDocument"in l?l.ownerDocument:"current"in l?(i=(r=l.current)==null?void 0:r.ownerDocument)!=null?i:document:null:document}function hu(l){typeof queueMicrotask=="function"?queueMicrotask(l):Promise.resolve().then(l).catch(r=>setTimeout(()=>{throw r}))}function Tn(){let l=[],r={addEventListener(i,o,c,f){return i.addEventListener(o,c,f),r.add(()=>i.removeEventListener(o,c,f))},requestAnimationFrame(...i){let o=requestAnimationFrame(...i);return r.add(()=>cancelAnimationFrame(o))},nextFrame(...i){return r.requestAnimationFrame(()=>r.requestAnimationFrame(...i))},setTimeout(...i){let o=setTimeout(...i);return r.add(()=>clearTimeout(o))},microTask(...i){let o={current:!0};return hu(()=>{o.current&&i[0]()}),r.add(()=>{o.current=!1})},style(i,o,c){let f=i.style.getPropertyValue(o);return Object.assign(i.style,{[o]:c}),this.add(()=>{Object.assign(i.style,{[o]:f})})},group(i){let o=Tn();return i(o),this.add(()=>o.dispose())},add(i){return l.includes(i)||l.push(i),()=>{let o=l.indexOf(i);if(o>=0)for(let c of l.splice(o,1))c()}},dispose(){for(let i of l.splice(0))i()}};return r}function el(){let[l]=E.useState(Tn);return E.useEffect(()=>()=>l.dispose(),[l]),l}let ze=(l,r)=>{wl.isServer?E.useEffect(l,r):E.useLayoutEffect(l,r)};function tl(l){let r=E.useRef(l);return ze(()=>{r.current=l},[l]),r}let fe=function(l){let r=tl(l);return ee.useCallback((...i)=>r.current(...i),[r])};function qb(l){let r=l.width/2,i=l.height/2;return{top:l.clientY-i,right:l.clientX+r,bottom:l.clientY+i,left:l.clientX-r}}function Gb(l,r){return!(!l||!r||l.right<r.left||l.left>r.right||l.bottom<r.top||l.top>r.bottom)}function Yb({disabled:l=!1}={}){let r=E.useRef(null),[i,o]=E.useState(!1),c=el(),f=fe(()=>{r.current=null,o(!1),c.dispose()}),p=fe(m=>{if(c.dispose(),r.current===null){r.current=m.currentTarget,o(!0);{let d=Sa(m.currentTarget);c.addEventListener(d,"pointerup",f,!1),c.addEventListener(d,"pointermove",h=>{if(r.current){let y=qb(h);o(Gb(y,r.current.getBoundingClientRect()))}},!1),c.addEventListener(d,"pointercancel",f,!1)}}});return{pressed:i,pressProps:l?{}:{onPointerDown:p,onPointerUp:f,onClick:f}}}let Zb=E.createContext(void 0);function Oc(){return E.useContext(Zb)}function mc(...l){return Array.from(new Set(l.flatMap(r=>typeof r=="string"?r.split(" "):[]))).filter(Boolean).join(" ")}function xt(l,r,...i){if(l in r){let c=r[l];return typeof c=="function"?c(...i):c}let o=new Error(`Tried to handle "${l}" but there is no handler defined. Only defined handlers are: ${Object.keys(r).map(c=>`"${c}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,xt),o}var va=(l=>(l[l.None=0]="None",l[l.RenderStrategy=1]="RenderStrategy",l[l.Static=2]="Static",l))(va||{}),Pn=(l=>(l[l.Unmount=0]="Unmount",l[l.Hidden=1]="Hidden",l))(Pn||{});function tt(){let l=Xb();return E.useCallback(r=>Vb({mergeRefs:l,...r}),[l])}function Vb({ourProps:l,theirProps:r,slot:i,defaultTag:o,features:c,visible:f=!0,name:p,mergeRefs:m}){m=m??Qb;let d=Qm(r,l);if(f)return au(d,i,o,p,m);let h=c??0;if(h&2){let{static:y=!1,...S}=d;if(y)return au(S,i,o,p,m)}if(h&1){let{unmount:y=!0,...S}=d;return xt(y?0:1,{0(){return null},1(){return au({...S,hidden:!0,style:{display:"none"}},i,o,p,m)}})}return au(d,i,o,p,m)}function au(l,r={},i,o,c){let{as:f=i,children:p,refName:m="ref",...d}=Ws(l,["unmount","static"]),h=l.ref!==void 0?{[m]:l.ref}:{},y=typeof p=="function"?p(r):p;"className"in d&&d.className&&typeof d.className=="function"&&(d.className=d.className(r)),d["aria-labelledby"]&&d["aria-labelledby"]===d.id&&(d["aria-labelledby"]=void 0);let S={};if(r){let w=!1,T=[];for(let[v,x]of Object.entries(r))typeof x=="boolean"&&(w=!0),x===!0&&T.push(v.replace(/([A-Z])/g,A=>`-${A.toLowerCase()}`));if(w){S["data-headlessui-state"]=T.join(" ");for(let v of T)S[`data-${v}`]=""}}if(f===E.Fragment&&(Object.keys(Qn(d)).length>0||Object.keys(Qn(S)).length>0))if(!E.isValidElement(y)||Array.isArray(y)&&y.length>1){if(Object.keys(Qn(d)).length>0)throw new Error(['Passing props on "Fragment"!',"",`The current component <${o} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(Qn(d)).concat(Object.keys(Qn(S))).map(w=>`  - ${w}`).join(`
`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(w=>`  - ${w}`).join(`
`)].join(`
`))}else{let w=y.props,T=w?.className,v=typeof T=="function"?(...N)=>mc(T(...N),d.className):mc(T,d.className),x=v?{className:v}:{},A=Qm(y.props,Qn(Ws(d,["ref"])));for(let N in S)N in A&&delete S[N];return E.cloneElement(y,Object.assign({},A,S,h,{ref:c(Kb(y),h.ref)},x))}return E.createElement(f,Object.assign({},Ws(d,["ref"]),f!==E.Fragment&&h,f!==E.Fragment&&S),y)}function Xb(){let l=E.useRef([]),r=E.useCallback(i=>{for(let o of l.current)o!=null&&(typeof o=="function"?o(i):o.current=i)},[]);return(...i)=>{if(!i.every(o=>o==null))return l.current=i,r}}function Qb(...l){return l.every(r=>r==null)?void 0:r=>{for(let i of l)i!=null&&(typeof i=="function"?i(r):i.current=r)}}function Qm(...l){if(l.length===0)return{};if(l.length===1)return l[0];let r={},i={};for(let o of l)for(let c in o)c.startsWith("on")&&typeof o[c]=="function"?(i[c]!=null||(i[c]=[]),i[c].push(o[c])):r[c]=o[c];if(r.disabled||r["aria-disabled"])for(let o in i)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(o)&&(i[o]=[c=>{var f;return(f=c?.preventDefault)==null?void 0:f.call(c)}]);for(let o in i)Object.assign(r,{[o](c,...f){let p=i[o];for(let m of p){if((c instanceof Event||c?.nativeEvent instanceof Event)&&c.defaultPrevented)return;m(c,...f)}}});return r}function Km(...l){if(l.length===0)return{};if(l.length===1)return l[0];let r={},i={};for(let o of l)for(let c in o)c.startsWith("on")&&typeof o[c]=="function"?(i[c]!=null||(i[c]=[]),i[c].push(o[c])):r[c]=o[c];for(let o in i)Object.assign(r,{[o](...c){let f=i[o];for(let p of f)p?.(...c)}});return r}function Ve(l){var r;return Object.assign(E.forwardRef(l),{displayName:(r=l.displayName)!=null?r:l.name})}function Qn(l){let r=Object.assign({},l);for(let i in r)r[i]===void 0&&delete r[i];return r}function Ws(l,r=[]){let i=Object.assign({},l);for(let o of r)o in i&&delete i[o];return i}function Kb(l){return ee.version.split(".")[0]>="19"?l.props.ref:l.ref}function Pb(l,r,i){let[o,c]=E.useState(i),f=l!==void 0,p=E.useRef(f),m=E.useRef(!1),d=E.useRef(!1);return f&&!p.current&&!m.current?(m.current=!0,p.current=f,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")):!f&&p.current&&!d.current&&(d.current=!0,p.current=f,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")),[f?l:o,fe(h=>(f||c(h),r?.(h)))]}function Jb(l){let[r]=E.useState(l);return r}function Pm(l={},r=null,i=[]){for(let[o,c]of Object.entries(l))Im(i,Jm(r,o),c);return i}function Jm(l,r){return l?l+"["+r+"]":r}function Im(l,r,i){if(Array.isArray(i))for(let[o,c]of i.entries())Im(l,Jm(r,o.toString()),c);else i instanceof Date?l.push([r,i.toISOString()]):typeof i=="boolean"?l.push([r,i?"1":"0"]):typeof i=="string"?l.push([r,i]):typeof i=="number"?l.push([r,`${i}`]):i==null?l.push([r,""]):Pm(i,r,l)}function Ib(l){var r,i;let o=(r=l?.form)!=null?r:l.closest("form");if(o){for(let c of o.elements)if(c!==l&&(c.tagName==="INPUT"&&c.type==="submit"||c.tagName==="BUTTON"&&c.type==="submit"||c.nodeName==="INPUT"&&c.type==="image")){c.click();return}(i=o.requestSubmit)==null||i.call(o)}}let Wb="span";var ba=(l=>(l[l.None=1]="None",l[l.Focusable=2]="Focusable",l[l.Hidden=4]="Hidden",l))(ba||{});function e1(l,r){var i;let{features:o=1,...c}=l,f={ref:r,"aria-hidden":(o&2)===2?!0:(i=c["aria-hidden"])!=null?i:void 0,hidden:(o&4)===4?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(o&4)===4&&(o&2)!==2&&{display:"none"}}};return tt()({ourProps:f,theirProps:c,slot:{},defaultTag:Wb,name:"Hidden"})}let kr=Ve(e1),t1=E.createContext(null);function n1({children:l}){let r=E.useContext(t1);if(!r)return ee.createElement(ee.Fragment,null,l);let{target:i}=r;return i?Nt.createPortal(ee.createElement(ee.Fragment,null,l),i):null}function l1({data:l,form:r,disabled:i,onReset:o,overrides:c}){let[f,p]=E.useState(null),m=el();return E.useEffect(()=>{if(o&&f)return m.addEventListener(f,"reset",o)},[f,r,o]),ee.createElement(n1,null,ee.createElement(a1,{setForm:p,formId:r}),Pm(l).map(([d,h])=>ee.createElement(kr,{features:ba.Hidden,...Qn({key:d,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:r,disabled:i,name:d,value:h,...c})})))}function a1({setForm:l,formId:r}){return E.useEffect(()=>{if(r){let i=document.getElementById(r);i&&l(i)}},[l,r]),r?null:ee.createElement(kr,{features:ba.Hidden,as:"input",type:"hidden",hidden:!0,readOnly:!0,ref:i=>{if(!i)return;let o=i.closest("form");o&&l(o)}})}let r1=E.createContext(void 0);function Wm(){return E.useContext(r1)}function i1(l){let r=l.parentElement,i=null;for(;r&&!(r instanceof HTMLFieldSetElement);)r instanceof HTMLLegendElement&&(i=r),r=r.parentElement;let o=r?.getAttribute("disabled")==="";return o&&u1(i)?!1:o}function u1(l){if(!l)return!1;let r=l.previousElementSibling;for(;r!==null;){if(r instanceof HTMLLegendElement)return!1;r=r.previousElementSibling}return!0}let eh=Symbol();function o1(l,r=!0){return Object.assign(l,{[eh]:r})}function ft(...l){let r=E.useRef(l);E.useEffect(()=>{r.current=l},[l]);let i=fe(o=>{for(let c of r.current)c!=null&&(typeof c=="function"?c(o):c.current=o)});return l.every(o=>o==null||o?.[eh])?void 0:i}let yu=E.createContext(null);yu.displayName="DescriptionContext";function th(){let l=E.useContext(yu);if(l===null){let r=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(r,th),r}return l}function s1(){var l,r;return(r=(l=E.useContext(yu))==null?void 0:l.value)!=null?r:void 0}function c1(){let[l,r]=E.useState([]);return[l.length>0?l.join(" "):void 0,E.useMemo(()=>function(i){let o=fe(f=>(r(p=>[...p,f]),()=>r(p=>{let m=p.slice(),d=m.indexOf(f);return d!==-1&&m.splice(d,1),m}))),c=E.useMemo(()=>({register:o,slot:i.slot,name:i.name,props:i.props,value:i.value}),[o,i.slot,i.name,i.props,i.value]);return ee.createElement(yu.Provider,{value:c},i.children)},[r])]}let f1="p";function d1(l,r){let i=E.useId(),o=Oc(),{id:c=`headlessui-description-${i}`,...f}=l,p=th(),m=ft(r);ze(()=>p.register(c),[c,p.register]);let d=o||!1,h=E.useMemo(()=>({...p.slot,disabled:d}),[p.slot,d]),y={ref:m,...p.props,id:c};return tt()({ourProps:y,theirProps:f,slot:h,defaultTag:f1,name:p.name||"Description"})}let p1=Ve(d1),g1=Object.assign(p1,{});var Ke=(l=>(l.Space=" ",l.Enter="Enter",l.Escape="Escape",l.Backspace="Backspace",l.Delete="Delete",l.ArrowLeft="ArrowLeft",l.ArrowUp="ArrowUp",l.ArrowRight="ArrowRight",l.ArrowDown="ArrowDown",l.Home="Home",l.End="End",l.PageUp="PageUp",l.PageDown="PageDown",l.Tab="Tab",l))(Ke||{});let vu=E.createContext(null);vu.displayName="LabelContext";function nh(){let l=E.useContext(vu);if(l===null){let r=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(r,nh),r}return l}function lh(l){var r,i,o;let c=(i=(r=E.useContext(vu))==null?void 0:r.value)!=null?i:void 0;return((o=l?.length)!=null?o:0)>0?[c,...l].filter(Boolean).join(" "):c}function m1({inherit:l=!1}={}){let r=lh(),[i,o]=E.useState([]),c=l?[r,...i].filter(Boolean):i;return[c.length>0?c.join(" "):void 0,E.useMemo(()=>function(f){let p=fe(d=>(o(h=>[...h,d]),()=>o(h=>{let y=h.slice(),S=y.indexOf(d);return S!==-1&&y.splice(S,1),y}))),m=E.useMemo(()=>({register:p,slot:f.slot,name:f.name,props:f.props,value:f.value}),[p,f.slot,f.name,f.props,f.value]);return ee.createElement(vu.Provider,{value:m},f.children)},[o])]}let h1="label";function y1(l,r){var i;let o=E.useId(),c=nh(),f=Wm(),p=Oc(),{id:m=`headlessui-label-${o}`,htmlFor:d=f??((i=c.props)==null?void 0:i.htmlFor),passive:h=!1,...y}=l,S=ft(r);ze(()=>c.register(m),[m,c.register]);let w=fe(A=>{let N=A.currentTarget;if(N instanceof HTMLLabelElement&&A.preventDefault(),c.props&&"onClick"in c.props&&typeof c.props.onClick=="function"&&c.props.onClick(A),N instanceof HTMLLabelElement){let M=document.getElementById(N.htmlFor);if(M){let _=M.getAttribute("disabled");if(_==="true"||_==="")return;let $=M.getAttribute("aria-disabled");if($==="true"||$==="")return;(M instanceof HTMLInputElement&&(M.type==="radio"||M.type==="checkbox")||M.role==="radio"||M.role==="checkbox"||M.role==="switch")&&M.click(),M.focus({preventScroll:!0})}}}),T=p||!1,v=E.useMemo(()=>({...c.slot,disabled:T}),[c.slot,T]),x={ref:S,...c.props,id:m,htmlFor:d,onClick:w};return h&&("onClick"in x&&(delete x.htmlFor,delete x.onClick),"onClick"in y&&delete y.onClick),tt()({ourProps:x,theirProps:y,slot:v,defaultTag:d?h1:"div",name:c.name||"Label"})}let v1=Ve(y1),ah=Object.assign(v1,{}),b1=E.createContext(()=>{});function E1({value:l,children:r}){return ee.createElement(b1.Provider,{value:l},r)}function x1(l,r){return l!==null&&r!==null&&typeof l=="object"&&typeof r=="object"&&"id"in l&&"id"in r?l.id===r.id:l===r}function S1(l=x1){return E.useCallback((r,i)=>{if(typeof l=="string"){let o=l;return r?.[o]===i?.[o]}return l(r,i)},[l])}function T1(l){if(l===null)return{width:0,height:0};let{width:r,height:i}=l.getBoundingClientRect();return{width:r,height:i}}function w1(l,r=!1){let[i,o]=E.useReducer(()=>({}),{}),c=E.useMemo(()=>T1(l),[l,i]);return ze(()=>{if(!l)return;let f=new ResizeObserver(o);return f.observe(l),()=>{f.disconnect()}},[l]),r?{width:`${c.width}px`,height:`${c.height}px`}:c}let A1=class extends Map{constructor(r){super(),this.factory=r}get(r){let i=super.get(r);return i===void 0&&(i=this.factory(r),this.set(r,i)),i}};function rh(l,r){let i=l(),o=new Set;return{getSnapshot(){return i},subscribe(c){return o.add(c),()=>o.delete(c)},dispatch(c,...f){let p=r[c].call(i,...f);p&&(i=p,o.forEach(m=>m()))}}}function ih(l){return E.useSyncExternalStore(l.subscribe,l.getSnapshot,l.getSnapshot)}let O1=new A1(()=>rh(()=>[],{ADD(l){return this.includes(l)?this:[...this,l]},REMOVE(l){let r=this.indexOf(l);if(r===-1)return this;let i=this.slice();return i.splice(r,1),i}}));function Ta(l,r){let i=O1.get(r),o=E.useId(),c=ih(i);if(ze(()=>{if(l)return i.dispatch("ADD",o),()=>i.dispatch("REMOVE",o)},[i,l]),!l)return!1;let f=c.indexOf(o),p=c.length;return f===-1&&(f=p,p+=1),f===p-1}let hc=new Map,Cr=new Map;function Pg(l){var r;let i=(r=Cr.get(l))!=null?r:0;return Cr.set(l,i+1),i!==0?()=>Jg(l):(hc.set(l,{"aria-hidden":l.getAttribute("aria-hidden"),inert:l.inert}),l.setAttribute("aria-hidden","true"),l.inert=!0,()=>Jg(l))}function Jg(l){var r;let i=(r=Cr.get(l))!=null?r:1;if(i===1?Cr.delete(l):Cr.set(l,i-1),i!==1)return;let o=hc.get(l);o&&(o["aria-hidden"]===null?l.removeAttribute("aria-hidden"):l.setAttribute("aria-hidden",o["aria-hidden"]),l.inert=o.inert,hc.delete(l))}function uh(l,{allowed:r,disallowed:i}={}){let o=Ta(l,"inert-others");ze(()=>{var c,f;if(!o)return;let p=Tn();for(let d of(c=i?.())!=null?c:[])d&&p.add(Pg(d));let m=(f=r?.())!=null?f:[];for(let d of m){if(!d)continue;let h=Sa(d);if(!h)continue;let y=d.parentElement;for(;y&&y!==h.body;){for(let S of y.children)m.some(w=>S.contains(w))||p.add(Pg(S));y=y.parentElement}}return p.dispose},[o,r,i])}function oh(l,r,i){let o=tl(c=>{let f=c.getBoundingClientRect();f.x===0&&f.y===0&&f.width===0&&f.height===0&&i()});E.useEffect(()=>{if(!l)return;let c=r===null?null:r instanceof HTMLElement?r:r.current;if(!c)return;let f=Tn();if(typeof ResizeObserver<"u"){let p=new ResizeObserver(()=>o.current(c));p.observe(c),f.add(()=>p.disconnect())}if(typeof IntersectionObserver<"u"){let p=new IntersectionObserver(()=>o.current(c));p.observe(c),f.add(()=>p.disconnect())}return()=>f.dispose()},[r,o,l])}let su=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(l=>`${l}:not([tabindex='-1'])`).join(","),R1=["[data-autofocus]"].map(l=>`${l}:not([tabindex='-1'])`).join(",");var Qt=(l=>(l[l.First=1]="First",l[l.Previous=2]="Previous",l[l.Next=4]="Next",l[l.Last=8]="Last",l[l.WrapAround=16]="WrapAround",l[l.NoScroll=32]="NoScroll",l[l.AutoFocus=64]="AutoFocus",l))(Qt||{}),yc=(l=>(l[l.Error=0]="Error",l[l.Overflow=1]="Overflow",l[l.Success=2]="Success",l[l.Underflow=3]="Underflow",l))(yc||{}),_1=(l=>(l[l.Previous=-1]="Previous",l[l.Next=1]="Next",l))(_1||{});function sh(l=document.body){return l==null?[]:Array.from(l.querySelectorAll(su)).sort((r,i)=>Math.sign((r.tabIndex||Number.MAX_SAFE_INTEGER)-(i.tabIndex||Number.MAX_SAFE_INTEGER)))}function M1(l=document.body){return l==null?[]:Array.from(l.querySelectorAll(R1)).sort((r,i)=>Math.sign((r.tabIndex||Number.MAX_SAFE_INTEGER)-(i.tabIndex||Number.MAX_SAFE_INTEGER)))}var Rc=(l=>(l[l.Strict=0]="Strict",l[l.Loose=1]="Loose",l))(Rc||{});function ch(l,r=0){var i;return l===((i=Sa(l))==null?void 0:i.body)?!1:xt(r,{0(){return l.matches(su)},1(){let o=l;for(;o!==null;){if(o.matches(su))return!0;o=o.parentElement}return!1}})}var D1=(l=>(l[l.Keyboard=0]="Keyboard",l[l.Mouse=1]="Mouse",l))(D1||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",l=>{l.metaKey||l.altKey||l.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",l=>{l.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:l.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function Sn(l){l?.focus({preventScroll:!0})}let C1=["textarea","input"].join(",");function N1(l){var r,i;return(i=(r=l?.matches)==null?void 0:r.call(l,C1))!=null?i:!1}function fh(l,r=i=>i){return l.slice().sort((i,o)=>{let c=r(i),f=r(o);if(c===null||f===null)return 0;let p=c.compareDocumentPosition(f);return p&Node.DOCUMENT_POSITION_FOLLOWING?-1:p&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function L1(l,r){return ha(sh(),r,{relativeTo:l})}function ha(l,r,{sorted:i=!0,relativeTo:o=null,skipElements:c=[]}={}){let f=Array.isArray(l)?l.length>0?l[0].ownerDocument:document:l.ownerDocument,p=Array.isArray(l)?i?fh(l):l:r&64?M1(l):sh(l);c.length>0&&p.length>1&&(p=p.filter(T=>!c.some(v=>v!=null&&"current"in v?v?.current===T:v===T))),o=o??f.activeElement;let m=(()=>{if(r&5)return 1;if(r&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),d=(()=>{if(r&1)return 0;if(r&2)return Math.max(0,p.indexOf(o))-1;if(r&4)return Math.max(0,p.indexOf(o))+1;if(r&8)return p.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),h=r&32?{preventScroll:!0}:{},y=0,S=p.length,w;do{if(y>=S||y+S<=0)return 0;let T=d+y;if(r&16)T=(T+S)%S;else{if(T<0)return 3;if(T>=S)return 1}w=p[T],w?.focus(h),y+=m}while(w!==f.activeElement);return r&6&&N1(w)&&w.select(),2}function dh(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function k1(){return/Android/gi.test(window.navigator.userAgent)}function j1(){return dh()||k1()}function Rr(l,r,i,o){let c=tl(i);E.useEffect(()=>{if(!l)return;function f(p){c.current(p)}return document.addEventListener(r,f,o),()=>document.removeEventListener(r,f,o)},[l,r,o])}function ph(l,r,i,o){let c=tl(i);E.useEffect(()=>{if(!l)return;function f(p){c.current(p)}return window.addEventListener(r,f,o),()=>window.removeEventListener(r,f,o)},[l,r,o])}const Ig=30;function gh(l,r,i){let o=Ta(l,"outside-click"),c=tl(i),f=E.useCallback(function(d,h){if(d.defaultPrevented)return;let y=h(d);if(y===null||!y.getRootNode().contains(y)||!y.isConnected)return;let S=function w(T){return typeof T=="function"?w(T()):Array.isArray(T)||T instanceof Set?T:[T]}(r);for(let w of S)if(w!==null&&(w.contains(y)||d.composed&&d.composedPath().includes(w)))return;return!ch(y,Rc.Loose)&&y.tabIndex!==-1&&d.preventDefault(),c.current(d,y)},[c,r]),p=E.useRef(null);Rr(o,"pointerdown",d=>{var h,y;p.current=((y=(h=d.composedPath)==null?void 0:h.call(d))==null?void 0:y[0])||d.target},!0),Rr(o,"mousedown",d=>{var h,y;p.current=((y=(h=d.composedPath)==null?void 0:h.call(d))==null?void 0:y[0])||d.target},!0),Rr(o,"click",d=>{j1()||p.current&&(f(d,()=>p.current),p.current=null)},!0);let m=E.useRef({x:0,y:0});Rr(o,"touchstart",d=>{m.current.x=d.touches[0].clientX,m.current.y=d.touches[0].clientY},!0),Rr(o,"touchend",d=>{let h={x:d.changedTouches[0].clientX,y:d.changedTouches[0].clientY};if(!(Math.abs(h.x-m.current.x)>=Ig||Math.abs(h.y-m.current.y)>=Ig))return f(d,()=>d.target instanceof HTMLElement?d.target:null)},!0),ph(o,"blur",d=>f(d,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function Ea(...l){return E.useMemo(()=>Sa(...l),[...l])}function mh(l,r,i,o){let c=tl(i);E.useEffect(()=>{l=l??window;function f(p){c.current(p)}return l.addEventListener(r,f,o),()=>l.removeEventListener(r,f,o)},[l,r,o])}function z1(l,r){return E.useMemo(()=>{var i;if(l.type)return l.type;let o=(i=l.as)!=null?i:"button";if(typeof o=="string"&&o.toLowerCase()==="button"||r?.tagName==="BUTTON"&&!r.hasAttribute("type"))return"button"},[l.type,l.as,r])}function B1(){let l;return{before({doc:r}){var i;let o=r.documentElement,c=(i=r.defaultView)!=null?i:window;l=Math.max(0,c.innerWidth-o.clientWidth)},after({doc:r,d:i}){let o=r.documentElement,c=Math.max(0,o.clientWidth-o.offsetWidth),f=Math.max(0,l-c);i.style(o,"paddingRight",`${f}px`)}}}function H1(){return dh()?{before({doc:l,d:r,meta:i}){function o(c){return i.containers.flatMap(f=>f()).some(f=>f.contains(c))}r.microTask(()=>{var c;if(window.getComputedStyle(l.documentElement).scrollBehavior!=="auto"){let m=Tn();m.style(l.documentElement,"scrollBehavior","auto"),r.add(()=>r.microTask(()=>m.dispose()))}let f=(c=window.scrollY)!=null?c:window.pageYOffset,p=null;r.addEventListener(l,"click",m=>{if(m.target instanceof HTMLElement)try{let d=m.target.closest("a");if(!d)return;let{hash:h}=new URL(d.href),y=l.querySelector(h);y&&!o(y)&&(p=y)}catch{}},!0),r.addEventListener(l,"touchstart",m=>{if(m.target instanceof HTMLElement)if(o(m.target)){let d=m.target;for(;d.parentElement&&o(d.parentElement);)d=d.parentElement;r.style(d,"overscrollBehavior","contain")}else r.style(m.target,"touchAction","none")}),r.addEventListener(l,"touchmove",m=>{if(m.target instanceof HTMLElement){if(m.target.tagName==="INPUT")return;if(o(m.target)){let d=m.target;for(;d.parentElement&&d.dataset.headlessuiPortal!==""&&!(d.scrollHeight>d.clientHeight||d.scrollWidth>d.clientWidth);)d=d.parentElement;d.dataset.headlessuiPortal===""&&m.preventDefault()}else m.preventDefault()}},{passive:!1}),r.add(()=>{var m;let d=(m=window.scrollY)!=null?m:window.pageYOffset;f!==d&&window.scrollTo(0,f),p&&p.isConnected&&(p.scrollIntoView({block:"nearest"}),p=null)})})}}:{}}function U1(){return{before({doc:l,d:r}){r.style(l.documentElement,"overflow","hidden")}}}function $1(l){let r={};for(let i of l)Object.assign(r,i(r));return r}let Tl=rh(()=>new Map,{PUSH(l,r){var i;let o=(i=this.get(l))!=null?i:{doc:l,count:0,d:Tn(),meta:new Set};return o.count++,o.meta.add(r),this.set(l,o),this},POP(l,r){let i=this.get(l);return i&&(i.count--,i.meta.delete(r)),this},SCROLL_PREVENT({doc:l,d:r,meta:i}){let o={doc:l,d:r,meta:$1(i)},c=[H1(),B1(),U1()];c.forEach(({before:f})=>f?.(o)),c.forEach(({after:f})=>f?.(o))},SCROLL_ALLOW({d:l}){l.dispose()},TEARDOWN({doc:l}){this.delete(l)}});Tl.subscribe(()=>{let l=Tl.getSnapshot(),r=new Map;for(let[i]of l)r.set(i,i.documentElement.style.overflow);for(let i of l.values()){let o=r.get(i.doc)==="hidden",c=i.count!==0;(c&&!o||!c&&o)&&Tl.dispatch(i.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",i),i.count===0&&Tl.dispatch("TEARDOWN",i)}});function F1(l,r,i=()=>({containers:[]})){let o=ih(Tl),c=r?o.get(r):void 0,f=c?c.count>0:!1;return ze(()=>{if(!(!r||!l))return Tl.dispatch("PUSH",r,i),()=>Tl.dispatch("POP",r,i)},[l,r]),f}function hh(l,r,i=()=>[document.body]){let o=Ta(l,"scroll-lock");F1(o,r,c=>{var f;return{containers:[...(f=c.containers)!=null?f:[],i]}})}function Wg(l){return[l.screenX,l.screenY]}function q1(){let l=E.useRef([-1,-1]);return{wasMoved(r){let i=Wg(r);return l.current[0]===i[0]&&l.current[1]===i[1]?!1:(l.current=i,!0)},update(r){l.current=Wg(r)}}}function G1(l=0){let[r,i]=E.useState(l),o=E.useCallback(d=>i(d),[r]),c=E.useCallback(d=>i(h=>h|d),[r]),f=E.useCallback(d=>(r&d)===d,[r]),p=E.useCallback(d=>i(h=>h&~d),[i]),m=E.useCallback(d=>i(h=>h^d),[i]);return{flags:r,setFlag:o,addFlag:c,hasFlag:f,removeFlag:p,toggleFlag:m}}var Y1={},em,tm;typeof process<"u"&&typeof globalThis<"u"&&typeof Element<"u"&&((em=process==null?void 0:Y1)==null?void 0:em.NODE_ENV)==="test"&&typeof((tm=Element?.prototype)==null?void 0:tm.getAnimations)>"u"&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join(`
`)),[]});var Z1=(l=>(l[l.None=0]="None",l[l.Closed=1]="Closed",l[l.Enter=2]="Enter",l[l.Leave=4]="Leave",l))(Z1||{});function yh(l){let r={};for(let i in l)l[i]===!0&&(r[`data-${i}`]="");return r}function vh(l,r,i,o){let[c,f]=E.useState(i),{hasFlag:p,addFlag:m,removeFlag:d}=G1(l&&c?3:0),h=E.useRef(!1),y=E.useRef(!1),S=el();return ze(()=>{var w;if(l){if(i&&f(!0),!r){i&&m(3);return}return(w=o?.start)==null||w.call(o,i),V1(r,{inFlight:h,prepare(){y.current?y.current=!1:y.current=h.current,h.current=!0,!y.current&&(i?(m(3),d(4)):(m(4),d(2)))},run(){y.current?i?(d(3),m(4)):(d(4),m(3)):i?d(1):m(1)},done(){var T;y.current&&typeof r.getAnimations=="function"&&r.getAnimations().length>0||(h.current=!1,d(7),i||f(!1),(T=o?.end)==null||T.call(o,i))}})}},[l,i,r,S]),l?[c,{closed:p(1),enter:p(2),leave:p(4),transition:p(2)||p(4)}]:[i,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}function V1(l,{prepare:r,run:i,done:o,inFlight:c}){let f=Tn();return Q1(l,{prepare:r,inFlight:c}),f.nextFrame(()=>{i(),f.requestAnimationFrame(()=>{f.add(X1(l,o))})}),f.dispose}function X1(l,r){var i,o;let c=Tn();if(!l)return c.dispose;let f=!1;c.add(()=>{f=!0});let p=(o=(i=l.getAnimations)==null?void 0:i.call(l).filter(m=>m instanceof CSSTransition))!=null?o:[];return p.length===0?(r(),c.dispose):(Promise.allSettled(p.map(m=>m.finished)).then(()=>{f||r()}),c.dispose)}function Q1(l,{inFlight:r,prepare:i}){if(r!=null&&r.current){i();return}let o=l.style.transition;l.style.transition="none",i(),l.offsetHeight,l.style.transition=o}function _c(l,r){let i=E.useRef([]),o=fe(l);E.useEffect(()=>{let c=[...i.current];for(let[f,p]of r.entries())if(i.current[f]!==p){let m=o(r,c);return i.current=r,m}},[o,...r])}function bu(){return typeof window<"u"}function wa(l){return bh(l)?(l.nodeName||"").toLowerCase():"#document"}function Lt(l){var r;return(l==null||(r=l.ownerDocument)==null?void 0:r.defaultView)||window}function rn(l){var r;return(r=(bh(l)?l.ownerDocument:l.document)||window.document)==null?void 0:r.documentElement}function bh(l){return bu()?l instanceof Node||l instanceof Lt(l).Node:!1}function pt(l){return bu()?l instanceof Element||l instanceof Lt(l).Element:!1}function an(l){return bu()?l instanceof HTMLElement||l instanceof Lt(l).HTMLElement:!1}function nm(l){return!bu()||typeof ShadowRoot>"u"?!1:l instanceof ShadowRoot||l instanceof Lt(l).ShadowRoot}function Hr(l){const{overflow:r,overflowX:i,overflowY:o,display:c}=Kt(l);return/auto|scroll|overlay|hidden|clip/.test(r+o+i)&&!["inline","contents"].includes(c)}function K1(l){return["table","td","th"].includes(wa(l))}function Eu(l){return[":popover-open",":modal"].some(r=>{try{return l.matches(r)}catch{return!1}})}function Mc(l){const r=Dc(),i=pt(l)?Kt(l):l;return["transform","translate","scale","rotate","perspective"].some(o=>i[o]?i[o]!=="none":!1)||(i.containerType?i.containerType!=="normal":!1)||!r&&(i.backdropFilter?i.backdropFilter!=="none":!1)||!r&&(i.filter?i.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(o=>(i.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(i.contain||"").includes(o))}function P1(l){let r=Jn(l);for(;an(r)&&!xa(r);){if(Mc(r))return r;if(Eu(r))return null;r=Jn(r)}return null}function Dc(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function xa(l){return["html","body","#document"].includes(wa(l))}function Kt(l){return Lt(l).getComputedStyle(l)}function xu(l){return pt(l)?{scrollLeft:l.scrollLeft,scrollTop:l.scrollTop}:{scrollLeft:l.scrollX,scrollTop:l.scrollY}}function Jn(l){if(wa(l)==="html")return l;const r=l.assignedSlot||l.parentNode||nm(l)&&l.host||rn(l);return nm(r)?r.host:r}function Eh(l){const r=Jn(l);return xa(r)?l.ownerDocument?l.ownerDocument.body:l.body:an(r)&&Hr(r)?r:Eh(r)}function jr(l,r,i){var o;r===void 0&&(r=[]),i===void 0&&(i=!0);const c=Eh(l),f=c===((o=l.ownerDocument)==null?void 0:o.body),p=Lt(c);if(f){const m=vc(p);return r.concat(p,p.visualViewport||[],Hr(c)?c:[],m&&i?jr(m):[])}return r.concat(c,jr(c,[],i))}function vc(l){return l.parent&&Object.getPrototypeOf(l.parent)?l.frameElement:null}function J1(){const l=navigator.userAgentData;return l&&Array.isArray(l.brands)?l.brands.map(r=>{let{brand:i,version:o}=r;return i+"/"+o}).join(" "):navigator.userAgent}const Ol=Math.min,st=Math.max,zr=Math.round,ru=Math.floor,nn=l=>({x:l,y:l}),I1={left:"right",right:"left",bottom:"top",top:"bottom"},W1={start:"end",end:"start"};function lm(l,r,i){return st(l,Ol(r,i))}function Aa(l,r){return typeof l=="function"?l(r):l}function In(l){return l.split("-")[0]}function Ur(l){return l.split("-")[1]}function xh(l){return l==="x"?"y":"x"}function Sh(l){return l==="y"?"height":"width"}function Rl(l){return["top","bottom"].includes(In(l))?"y":"x"}function Th(l){return xh(Rl(l))}function eE(l,r,i){i===void 0&&(i=!1);const o=Ur(l),c=Th(l),f=Sh(c);let p=c==="x"?o===(i?"end":"start")?"right":"left":o==="start"?"bottom":"top";return r.reference[f]>r.floating[f]&&(p=cu(p)),[p,cu(p)]}function tE(l){const r=cu(l);return[bc(l),r,bc(r)]}function bc(l){return l.replace(/start|end/g,r=>W1[r])}function nE(l,r,i){const o=["left","right"],c=["right","left"],f=["top","bottom"],p=["bottom","top"];switch(l){case"top":case"bottom":return i?r?c:o:r?o:c;case"left":case"right":return r?f:p;default:return[]}}function lE(l,r,i,o){const c=Ur(l);let f=nE(In(l),i==="start",o);return c&&(f=f.map(p=>p+"-"+c),r&&(f=f.concat(f.map(bc)))),f}function cu(l){return l.replace(/left|right|bottom|top/g,r=>I1[r])}function aE(l){return{top:0,right:0,bottom:0,left:0,...l}}function rE(l){return typeof l!="number"?aE(l):{top:l,right:l,bottom:l,left:l}}function fu(l){const{x:r,y:i,width:o,height:c}=l;return{width:o,height:c,top:i,left:r,right:r+o,bottom:i+c,x:r,y:i}}function am(l,r,i){let{reference:o,floating:c}=l;const f=Rl(r),p=Th(r),m=Sh(p),d=In(r),h=f==="y",y=o.x+o.width/2-c.width/2,S=o.y+o.height/2-c.height/2,w=o[m]/2-c[m]/2;let T;switch(d){case"top":T={x:y,y:o.y-c.height};break;case"bottom":T={x:y,y:o.y+o.height};break;case"right":T={x:o.x+o.width,y:S};break;case"left":T={x:o.x-c.width,y:S};break;default:T={x:o.x,y:o.y}}switch(Ur(r)){case"start":T[p]-=w*(i&&h?-1:1);break;case"end":T[p]+=w*(i&&h?-1:1);break}return T}const iE=async(l,r,i)=>{const{placement:o="bottom",strategy:c="absolute",middleware:f=[],platform:p}=i,m=f.filter(Boolean),d=await(p.isRTL==null?void 0:p.isRTL(r));let h=await p.getElementRects({reference:l,floating:r,strategy:c}),{x:y,y:S}=am(h,o,d),w=o,T={},v=0;for(let x=0;x<m.length;x++){const{name:A,fn:N}=m[x],{x:M,y:_,data:$,reset:F}=await N({x:y,y:S,initialPlacement:o,placement:w,strategy:c,middlewareData:T,rects:h,platform:p,elements:{reference:l,floating:r}});y=M??y,S=_??S,T={...T,[A]:{...T[A],...$}},F&&v<=50&&(v++,typeof F=="object"&&(F.placement&&(w=F.placement),F.rects&&(h=F.rects===!0?await p.getElementRects({reference:l,floating:r,strategy:c}):F.rects),{x:y,y:S}=am(h,w,d)),x=-1)}return{x:y,y:S,placement:w,strategy:c,middlewareData:T}};async function Su(l,r){var i;r===void 0&&(r={});const{x:o,y:c,platform:f,rects:p,elements:m,strategy:d}=l,{boundary:h="clippingAncestors",rootBoundary:y="viewport",elementContext:S="floating",altBoundary:w=!1,padding:T=0}=Aa(r,l),v=rE(T),A=m[w?S==="floating"?"reference":"floating":S],N=fu(await f.getClippingRect({element:(i=await(f.isElement==null?void 0:f.isElement(A)))==null||i?A:A.contextElement||await(f.getDocumentElement==null?void 0:f.getDocumentElement(m.floating)),boundary:h,rootBoundary:y,strategy:d})),M=S==="floating"?{x:o,y:c,width:p.floating.width,height:p.floating.height}:p.reference,_=await(f.getOffsetParent==null?void 0:f.getOffsetParent(m.floating)),$=await(f.isElement==null?void 0:f.isElement(_))?await(f.getScale==null?void 0:f.getScale(_))||{x:1,y:1}:{x:1,y:1},F=fu(f.convertOffsetParentRelativeRectToViewportRelativeRect?await f.convertOffsetParentRelativeRectToViewportRelativeRect({elements:m,rect:M,offsetParent:_,strategy:d}):M);return{top:(N.top-F.top+v.top)/$.y,bottom:(F.bottom-N.bottom+v.bottom)/$.y,left:(N.left-F.left+v.left)/$.x,right:(F.right-N.right+v.right)/$.x}}const uE=function(l){return l===void 0&&(l={}),{name:"flip",options:l,async fn(r){var i,o;const{placement:c,middlewareData:f,rects:p,initialPlacement:m,platform:d,elements:h}=r,{mainAxis:y=!0,crossAxis:S=!0,fallbackPlacements:w,fallbackStrategy:T="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:x=!0,...A}=Aa(l,r);if((i=f.arrow)!=null&&i.alignmentOffset)return{};const N=In(c),M=Rl(m),_=In(m)===m,$=await(d.isRTL==null?void 0:d.isRTL(h.floating)),F=w||(_||!x?[cu(m)]:tE(m)),J=v!=="none";!w&&J&&F.push(...lE(m,x,v,$));const W=[m,...F],le=await Su(r,A),te=[];let re=((o=f.flip)==null?void 0:o.overflows)||[];if(y&&te.push(le[N]),S){const ce=eE(c,p,$);te.push(le[ce[0]],le[ce[1]])}if(re=[...re,{placement:c,overflows:te}],!te.every(ce=>ce<=0)){var P,oe;const ce=(((P=f.flip)==null?void 0:P.index)||0)+1,ge=W[ce];if(ge)return{data:{index:ce,overflows:re},reset:{placement:ge}};let z=(oe=re.filter(Q=>Q.overflows[0]<=0).sort((Q,V)=>Q.overflows[1]-V.overflows[1])[0])==null?void 0:oe.placement;if(!z)switch(T){case"bestFit":{var ye;const Q=(ye=re.filter(V=>{if(J){const ne=Rl(V.placement);return ne===M||ne==="y"}return!0}).map(V=>[V.placement,V.overflows.filter(ne=>ne>0).reduce((ne,O)=>ne+O,0)]).sort((V,ne)=>V[1]-ne[1])[0])==null?void 0:ye[0];Q&&(z=Q);break}case"initialPlacement":z=m;break}if(c!==z)return{reset:{placement:z}}}return{}}}};async function oE(l,r){const{placement:i,platform:o,elements:c}=l,f=await(o.isRTL==null?void 0:o.isRTL(c.floating)),p=In(i),m=Ur(i),d=Rl(i)==="y",h=["left","top"].includes(p)?-1:1,y=f&&d?-1:1,S=Aa(r,l);let{mainAxis:w,crossAxis:T,alignmentAxis:v}=typeof S=="number"?{mainAxis:S,crossAxis:0,alignmentAxis:null}:{mainAxis:S.mainAxis||0,crossAxis:S.crossAxis||0,alignmentAxis:S.alignmentAxis};return m&&typeof v=="number"&&(T=m==="end"?v*-1:v),d?{x:T*y,y:w*h}:{x:w*h,y:T*y}}const sE=function(l){return l===void 0&&(l=0),{name:"offset",options:l,async fn(r){var i,o;const{x:c,y:f,placement:p,middlewareData:m}=r,d=await oE(r,l);return p===((i=m.offset)==null?void 0:i.placement)&&(o=m.arrow)!=null&&o.alignmentOffset?{}:{x:c+d.x,y:f+d.y,data:{...d,placement:p}}}}},cE=function(l){return l===void 0&&(l={}),{name:"shift",options:l,async fn(r){const{x:i,y:o,placement:c}=r,{mainAxis:f=!0,crossAxis:p=!1,limiter:m={fn:A=>{let{x:N,y:M}=A;return{x:N,y:M}}},...d}=Aa(l,r),h={x:i,y:o},y=await Su(r,d),S=Rl(In(c)),w=xh(S);let T=h[w],v=h[S];if(f){const A=w==="y"?"top":"left",N=w==="y"?"bottom":"right",M=T+y[A],_=T-y[N];T=lm(M,T,_)}if(p){const A=S==="y"?"top":"left",N=S==="y"?"bottom":"right",M=v+y[A],_=v-y[N];v=lm(M,v,_)}const x=m.fn({...r,[w]:T,[S]:v});return{...x,data:{x:x.x-i,y:x.y-o,enabled:{[w]:f,[S]:p}}}}}},fE=function(l){return l===void 0&&(l={}),{name:"size",options:l,async fn(r){var i,o;const{placement:c,rects:f,platform:p,elements:m}=r,{apply:d=()=>{},...h}=Aa(l,r),y=await Su(r,h),S=In(c),w=Ur(c),T=Rl(c)==="y",{width:v,height:x}=f.floating;let A,N;S==="top"||S==="bottom"?(A=S,N=w===(await(p.isRTL==null?void 0:p.isRTL(m.floating))?"start":"end")?"left":"right"):(N=S,A=w==="end"?"top":"bottom");const M=x-y.top-y.bottom,_=v-y.left-y.right,$=Ol(x-y[A],M),F=Ol(v-y[N],_),J=!r.middlewareData.shift;let W=$,le=F;if((i=r.middlewareData.shift)!=null&&i.enabled.x&&(le=_),(o=r.middlewareData.shift)!=null&&o.enabled.y&&(W=M),J&&!w){const re=st(y.left,0),P=st(y.right,0),oe=st(y.top,0),ye=st(y.bottom,0);T?le=v-2*(re!==0||P!==0?re+P:st(y.left,y.right)):W=x-2*(oe!==0||ye!==0?oe+ye:st(y.top,y.bottom))}await d({...r,availableWidth:le,availableHeight:W});const te=await p.getDimensions(m.floating);return v!==te.width||x!==te.height?{reset:{rects:!0}}:{}}}};function wh(l){const r=Kt(l);let i=parseFloat(r.width)||0,o=parseFloat(r.height)||0;const c=an(l),f=c?l.offsetWidth:i,p=c?l.offsetHeight:o,m=zr(i)!==f||zr(o)!==p;return m&&(i=f,o=p),{width:i,height:o,$:m}}function Cc(l){return pt(l)?l:l.contextElement}function ya(l){const r=Cc(l);if(!an(r))return nn(1);const i=r.getBoundingClientRect(),{width:o,height:c,$:f}=wh(r);let p=(f?zr(i.width):i.width)/o,m=(f?zr(i.height):i.height)/c;return(!p||!Number.isFinite(p))&&(p=1),(!m||!Number.isFinite(m))&&(m=1),{x:p,y:m}}const dE=nn(0);function Ah(l){const r=Lt(l);return!Dc()||!r.visualViewport?dE:{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function pE(l,r,i){return r===void 0&&(r=!1),!i||r&&i!==Lt(l)?!1:r}function _l(l,r,i,o){r===void 0&&(r=!1),i===void 0&&(i=!1);const c=l.getBoundingClientRect(),f=Cc(l);let p=nn(1);r&&(o?pt(o)&&(p=ya(o)):p=ya(l));const m=pE(f,i,o)?Ah(f):nn(0);let d=(c.left+m.x)/p.x,h=(c.top+m.y)/p.y,y=c.width/p.x,S=c.height/p.y;if(f){const w=Lt(f),T=o&&pt(o)?Lt(o):o;let v=w,x=vc(v);for(;x&&o&&T!==v;){const A=ya(x),N=x.getBoundingClientRect(),M=Kt(x),_=N.left+(x.clientLeft+parseFloat(M.paddingLeft))*A.x,$=N.top+(x.clientTop+parseFloat(M.paddingTop))*A.y;d*=A.x,h*=A.y,y*=A.x,S*=A.y,d+=_,h+=$,v=Lt(x),x=vc(v)}}return fu({width:y,height:S,x:d,y:h})}function Nc(l,r){const i=xu(l).scrollLeft;return r?r.left+i:_l(rn(l)).left+i}function Oh(l,r,i){i===void 0&&(i=!1);const o=l.getBoundingClientRect(),c=o.left+r.scrollLeft-(i?0:Nc(l,o)),f=o.top+r.scrollTop;return{x:c,y:f}}function gE(l){let{elements:r,rect:i,offsetParent:o,strategy:c}=l;const f=c==="fixed",p=rn(o),m=r?Eu(r.floating):!1;if(o===p||m&&f)return i;let d={scrollLeft:0,scrollTop:0},h=nn(1);const y=nn(0),S=an(o);if((S||!S&&!f)&&((wa(o)!=="body"||Hr(p))&&(d=xu(o)),an(o))){const T=_l(o);h=ya(o),y.x=T.x+o.clientLeft,y.y=T.y+o.clientTop}const w=p&&!S&&!f?Oh(p,d,!0):nn(0);return{width:i.width*h.x,height:i.height*h.y,x:i.x*h.x-d.scrollLeft*h.x+y.x+w.x,y:i.y*h.y-d.scrollTop*h.y+y.y+w.y}}function mE(l){return Array.from(l.getClientRects())}function hE(l){const r=rn(l),i=xu(l),o=l.ownerDocument.body,c=st(r.scrollWidth,r.clientWidth,o.scrollWidth,o.clientWidth),f=st(r.scrollHeight,r.clientHeight,o.scrollHeight,o.clientHeight);let p=-i.scrollLeft+Nc(l);const m=-i.scrollTop;return Kt(o).direction==="rtl"&&(p+=st(r.clientWidth,o.clientWidth)-c),{width:c,height:f,x:p,y:m}}function yE(l,r){const i=Lt(l),o=rn(l),c=i.visualViewport;let f=o.clientWidth,p=o.clientHeight,m=0,d=0;if(c){f=c.width,p=c.height;const h=Dc();(!h||h&&r==="fixed")&&(m=c.offsetLeft,d=c.offsetTop)}return{width:f,height:p,x:m,y:d}}function vE(l,r){const i=_l(l,!0,r==="fixed"),o=i.top+l.clientTop,c=i.left+l.clientLeft,f=an(l)?ya(l):nn(1),p=l.clientWidth*f.x,m=l.clientHeight*f.y,d=c*f.x,h=o*f.y;return{width:p,height:m,x:d,y:h}}function rm(l,r,i){let o;if(r==="viewport")o=yE(l,i);else if(r==="document")o=hE(rn(l));else if(pt(r))o=vE(r,i);else{const c=Ah(l);o={x:r.x-c.x,y:r.y-c.y,width:r.width,height:r.height}}return fu(o)}function Rh(l,r){const i=Jn(l);return i===r||!pt(i)||xa(i)?!1:Kt(i).position==="fixed"||Rh(i,r)}function bE(l,r){const i=r.get(l);if(i)return i;let o=jr(l,[],!1).filter(m=>pt(m)&&wa(m)!=="body"),c=null;const f=Kt(l).position==="fixed";let p=f?Jn(l):l;for(;pt(p)&&!xa(p);){const m=Kt(p),d=Mc(p);!d&&m.position==="fixed"&&(c=null),(f?!d&&!c:!d&&m.position==="static"&&!!c&&["absolute","fixed"].includes(c.position)||Hr(p)&&!d&&Rh(l,p))?o=o.filter(y=>y!==p):c=m,p=Jn(p)}return r.set(l,o),o}function EE(l){let{element:r,boundary:i,rootBoundary:o,strategy:c}=l;const p=[...i==="clippingAncestors"?Eu(r)?[]:bE(r,this._c):[].concat(i),o],m=p[0],d=p.reduce((h,y)=>{const S=rm(r,y,c);return h.top=st(S.top,h.top),h.right=Ol(S.right,h.right),h.bottom=Ol(S.bottom,h.bottom),h.left=st(S.left,h.left),h},rm(r,m,c));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function xE(l){const{width:r,height:i}=wh(l);return{width:r,height:i}}function SE(l,r,i){const o=an(r),c=rn(r),f=i==="fixed",p=_l(l,!0,f,r);let m={scrollLeft:0,scrollTop:0};const d=nn(0);if(o||!o&&!f)if((wa(r)!=="body"||Hr(c))&&(m=xu(r)),o){const w=_l(r,!0,f,r);d.x=w.x+r.clientLeft,d.y=w.y+r.clientTop}else c&&(d.x=Nc(c));const h=c&&!o&&!f?Oh(c,m):nn(0),y=p.left+m.scrollLeft-d.x-h.x,S=p.top+m.scrollTop-d.y-h.y;return{x:y,y:S,width:p.width,height:p.height}}function ec(l){return Kt(l).position==="static"}function im(l,r){if(!an(l)||Kt(l).position==="fixed")return null;if(r)return r(l);let i=l.offsetParent;return rn(l)===i&&(i=i.ownerDocument.body),i}function _h(l,r){const i=Lt(l);if(Eu(l))return i;if(!an(l)){let c=Jn(l);for(;c&&!xa(c);){if(pt(c)&&!ec(c))return c;c=Jn(c)}return i}let o=im(l,r);for(;o&&K1(o)&&ec(o);)o=im(o,r);return o&&xa(o)&&ec(o)&&!Mc(o)?i:o||P1(l)||i}const TE=async function(l){const r=this.getOffsetParent||_h,i=this.getDimensions,o=await i(l.floating);return{reference:SE(l.reference,await r(l.floating),l.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function wE(l){return Kt(l).direction==="rtl"}const AE={convertOffsetParentRelativeRectToViewportRelativeRect:gE,getDocumentElement:rn,getClippingRect:EE,getOffsetParent:_h,getElementRects:TE,getClientRects:mE,getDimensions:xE,getScale:ya,isElement:pt,isRTL:wE};function Mh(l,r){return l.x===r.x&&l.y===r.y&&l.width===r.width&&l.height===r.height}function OE(l,r){let i=null,o;const c=rn(l);function f(){var m;clearTimeout(o),(m=i)==null||m.disconnect(),i=null}function p(m,d){m===void 0&&(m=!1),d===void 0&&(d=1),f();const h=l.getBoundingClientRect(),{left:y,top:S,width:w,height:T}=h;if(m||r(),!w||!T)return;const v=ru(S),x=ru(c.clientWidth-(y+w)),A=ru(c.clientHeight-(S+T)),N=ru(y),_={rootMargin:-v+"px "+-x+"px "+-A+"px "+-N+"px",threshold:st(0,Ol(1,d))||1};let $=!0;function F(J){const W=J[0].intersectionRatio;if(W!==d){if(!$)return p();W?p(!1,W):o=setTimeout(()=>{p(!1,1e-7)},1e3)}W===1&&!Mh(h,l.getBoundingClientRect())&&p(),$=!1}try{i=new IntersectionObserver(F,{..._,root:c.ownerDocument})}catch{i=new IntersectionObserver(F,_)}i.observe(l)}return p(!0),f}function RE(l,r,i,o){o===void 0&&(o={});const{ancestorScroll:c=!0,ancestorResize:f=!0,elementResize:p=typeof ResizeObserver=="function",layoutShift:m=typeof IntersectionObserver=="function",animationFrame:d=!1}=o,h=Cc(l),y=c||f?[...h?jr(h):[],...jr(r)]:[];y.forEach(N=>{c&&N.addEventListener("scroll",i,{passive:!0}),f&&N.addEventListener("resize",i)});const S=h&&m?OE(h,i):null;let w=-1,T=null;p&&(T=new ResizeObserver(N=>{let[M]=N;M&&M.target===h&&T&&(T.unobserve(r),cancelAnimationFrame(w),w=requestAnimationFrame(()=>{var _;(_=T)==null||_.observe(r)})),i()}),h&&!d&&T.observe(h),T.observe(r));let v,x=d?_l(l):null;d&&A();function A(){const N=_l(l);x&&!Mh(x,N)&&i(),x=N,v=requestAnimationFrame(A)}return i(),()=>{var N;y.forEach(M=>{c&&M.removeEventListener("scroll",i),f&&M.removeEventListener("resize",i)}),S?.(),(N=T)==null||N.disconnect(),T=null,d&&cancelAnimationFrame(v)}}const tc=Su,_E=sE,ME=cE,DE=uE,CE=fE,NE=(l,r,i)=>{const o=new Map,c={platform:AE,...i},f={...c.platform,_c:o};return iE(l,r,{...c,platform:f})};var iu=typeof document<"u"?E.useLayoutEffect:E.useEffect;function du(l,r){if(l===r)return!0;if(typeof l!=typeof r)return!1;if(typeof l=="function"&&l.toString()===r.toString())return!0;let i,o,c;if(l&&r&&typeof l=="object"){if(Array.isArray(l)){if(i=l.length,i!==r.length)return!1;for(o=i;o--!==0;)if(!du(l[o],r[o]))return!1;return!0}if(c=Object.keys(l),i=c.length,i!==Object.keys(r).length)return!1;for(o=i;o--!==0;)if(!{}.hasOwnProperty.call(r,c[o]))return!1;for(o=i;o--!==0;){const f=c[o];if(!(f==="_owner"&&l.$$typeof)&&!du(l[f],r[f]))return!1}return!0}return l!==l&&r!==r}function Dh(l){return typeof window>"u"?1:(l.ownerDocument.defaultView||window).devicePixelRatio||1}function um(l,r){const i=Dh(l);return Math.round(r*i)/i}function nc(l){const r=E.useRef(l);return iu(()=>{r.current=l}),r}function LE(l){l===void 0&&(l={});const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:c,elements:{reference:f,floating:p}={},transform:m=!0,whileElementsMounted:d,open:h}=l,[y,S]=E.useState({x:0,y:0,strategy:i,placement:r,middlewareData:{},isPositioned:!1}),[w,T]=E.useState(o);du(w,o)||T(o);const[v,x]=E.useState(null),[A,N]=E.useState(null),M=E.useCallback(V=>{V!==J.current&&(J.current=V,x(V))},[]),_=E.useCallback(V=>{V!==W.current&&(W.current=V,N(V))},[]),$=f||v,F=p||A,J=E.useRef(null),W=E.useRef(null),le=E.useRef(y),te=d!=null,re=nc(d),P=nc(c),oe=nc(h),ye=E.useCallback(()=>{if(!J.current||!W.current)return;const V={placement:r,strategy:i,middleware:w};P.current&&(V.platform=P.current),NE(J.current,W.current,V).then(ne=>{const O={...ne,isPositioned:oe.current!==!1};ce.current&&!du(le.current,O)&&(le.current=O,Nt.flushSync(()=>{S(O)}))})},[w,r,i,P,oe]);iu(()=>{h===!1&&le.current.isPositioned&&(le.current.isPositioned=!1,S(V=>({...V,isPositioned:!1})))},[h]);const ce=E.useRef(!1);iu(()=>(ce.current=!0,()=>{ce.current=!1}),[]),iu(()=>{if($&&(J.current=$),F&&(W.current=F),$&&F){if(re.current)return re.current($,F,ye);ye()}},[$,F,ye,re,te]);const ge=E.useMemo(()=>({reference:J,floating:W,setReference:M,setFloating:_}),[M,_]),z=E.useMemo(()=>({reference:$,floating:F}),[$,F]),Q=E.useMemo(()=>{const V={position:i,left:0,top:0};if(!z.floating)return V;const ne=um(z.floating,y.x),O=um(z.floating,y.y);return m?{...V,transform:"translate("+ne+"px, "+O+"px)",...Dh(z.floating)>=1.5&&{willChange:"transform"}}:{position:i,left:ne,top:O}},[i,m,z.floating,y.x,y.y]);return E.useMemo(()=>({...y,update:ye,refs:ge,elements:z,floatingStyles:Q}),[y,ye,ge,z,Q])}const Ch=(l,r)=>({..._E(l),options:[l,r]}),kE=(l,r)=>({...ME(l),options:[l,r]}),jE=(l,r)=>({...DE(l),options:[l,r]}),zE=(l,r)=>({...CE(l),options:[l,r]}),Nh={...sc},BE=Nh.useInsertionEffect,HE=BE||(l=>l());function Lh(l){const r=E.useRef(()=>{});return HE(()=>{r.current=l}),E.useCallback(function(){for(var i=arguments.length,o=new Array(i),c=0;c<i;c++)o[c]=arguments[c];return r.current==null?void 0:r.current(...o)},[])}var Ec=typeof document<"u"?E.useLayoutEffect:E.useEffect;let om=!1,UE=0;const sm=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+UE++;function $E(){const[l,r]=E.useState(()=>om?sm():void 0);return Ec(()=>{l==null&&r(sm())},[]),E.useEffect(()=>{om=!0},[]),l}const FE=Nh.useId,qE=FE||$E;function GE(){const l=new Map;return{emit(r,i){var o;(o=l.get(r))==null||o.forEach(c=>c(i))},on(r,i){l.set(r,[...l.get(r)||[],i])},off(r,i){var o;l.set(r,((o=l.get(r))==null?void 0:o.filter(c=>c!==i))||[])}}}const YE=E.createContext(null),ZE=E.createContext(null),VE=()=>{var l;return((l=E.useContext(YE))==null?void 0:l.id)||null},XE=()=>E.useContext(ZE),QE="data-floating-ui-focusable";function KE(l){const{open:r=!1,onOpenChange:i,elements:o}=l,c=qE(),f=E.useRef({}),[p]=E.useState(()=>GE()),m=VE()!=null,[d,h]=E.useState(o.reference),y=Lh((T,v,x)=>{f.current.openEvent=T?v:void 0,p.emit("openchange",{open:T,event:v,reason:x,nested:m}),i?.(T,v,x)}),S=E.useMemo(()=>({setPositionReference:h}),[]),w=E.useMemo(()=>({reference:d||o.reference||null,floating:o.floating||null,domReference:o.reference}),[d,o.reference,o.floating]);return E.useMemo(()=>({dataRef:f,open:r,onOpenChange:y,elements:w,events:p,floatingId:c,refs:S}),[r,y,w,p,c,S])}function PE(l){l===void 0&&(l={});const{nodeId:r}=l,i=KE({...l,elements:{reference:null,floating:null,...l.elements}}),o=l.rootContext||i,c=o.elements,[f,p]=E.useState(null),[m,d]=E.useState(null),y=c?.domReference||f,S=E.useRef(null),w=XE();Ec(()=>{y&&(S.current=y)},[y]);const T=LE({...l,elements:{...c,...m&&{reference:m}}}),v=E.useCallback(_=>{const $=pt(_)?{getBoundingClientRect:()=>_.getBoundingClientRect(),contextElement:_}:_;d($),T.refs.setReference($)},[T.refs]),x=E.useCallback(_=>{(pt(_)||_===null)&&(S.current=_,p(_)),(pt(T.refs.reference.current)||T.refs.reference.current===null||_!==null&&!pt(_))&&T.refs.setReference(_)},[T.refs]),A=E.useMemo(()=>({...T.refs,setReference:x,setPositionReference:v,domReference:S}),[T.refs,x,v]),N=E.useMemo(()=>({...T.elements,domReference:y}),[T.elements,y]),M=E.useMemo(()=>({...T,...o,refs:A,elements:N,nodeId:r}),[T,A,N,r,o]);return Ec(()=>{o.dataRef.current.floatingContext=M;const _=w?.nodesRef.current.find($=>$.id===r);_&&(_.context=M)}),E.useMemo(()=>({...T,context:M,refs:A,elements:N}),[T,A,N,M])}const cm="active",fm="selected";function lc(l,r,i){const o=new Map,c=i==="item";let f=l;if(c&&l){const{[cm]:p,[fm]:m,...d}=l;f=d}return{...i==="floating"&&{tabIndex:-1,[QE]:""},...f,...r.map(p=>{const m=p?p[i]:null;return typeof m=="function"?l?m(l):null:m}).concat(l).reduce((p,m)=>(m&&Object.entries(m).forEach(d=>{let[h,y]=d;if(!(c&&[cm,fm].includes(h)))if(h.indexOf("on")===0){if(o.has(h)||o.set(h,[]),typeof y=="function"){var S;(S=o.get(h))==null||S.push(y),p[h]=function(){for(var w,T=arguments.length,v=new Array(T),x=0;x<T;x++)v[x]=arguments[x];return(w=o.get(h))==null?void 0:w.map(A=>A(...v)).find(A=>A!==void 0)}}}else p[h]=y}),p),{})}}function JE(l){l===void 0&&(l=[]);const r=l.map(m=>m?.reference),i=l.map(m=>m?.floating),o=l.map(m=>m?.item),c=E.useCallback(m=>lc(m,l,"reference"),r),f=E.useCallback(m=>lc(m,l,"floating"),i),p=E.useCallback(m=>lc(m,l,"item"),o);return E.useMemo(()=>({getReferenceProps:c,getFloatingProps:f,getItemProps:p}),[c,f,p])}function dm(l,r){return{...l,rects:{...l.rects,floating:{...l.rects.floating,height:r}}}}const IE=l=>({name:"inner",options:l,async fn(r){const{listRef:i,overflowRef:o,onFallbackChange:c,offset:f=0,index:p=0,minItemsVisible:m=4,referenceOverflowThreshold:d=0,scrollRef:h,...y}=Aa(l,r),{rects:S,elements:{floating:w}}=r,T=i.current[p],v=h?.current||w,x=w.clientTop||v.clientTop,A=w.clientTop!==0,N=v.clientTop!==0,M=w===v;if(!T)return{};const _={...r,...await Ch(-T.offsetTop-w.clientTop-S.reference.height/2-T.offsetHeight/2-f).fn(r)},$=await tc(dm(_,v.scrollHeight+x+w.clientTop),y),F=await tc(_,{...y,elementContext:"reference"}),J=st(0,$.top),W=_.y+J,re=(v.scrollHeight>v.clientHeight?P=>P:zr)(st(0,v.scrollHeight+(A&&M||N?x*2:0)-J-st(0,$.bottom)));if(v.style.maxHeight=re+"px",v.scrollTop=J,c){const P=v.offsetHeight<T.offsetHeight*Ol(m,i.current.length)-1||F.top>=-d||F.bottom>=-d;Nt.flushSync(()=>c(P))}return o&&(o.current=await tc(dm({..._,y:W},v.offsetHeight+x+w.clientTop),y)),{y:W}}});function WE(l,r){const{open:i,elements:o}=l,{enabled:c=!0,overflowRef:f,scrollRef:p,onChange:m}=r,d=Lh(m),h=E.useRef(!1),y=E.useRef(null),S=E.useRef(null);E.useEffect(()=>{if(!c)return;function T(x){if(x.ctrlKey||!v||f.current==null)return;const A=x.deltaY,N=f.current.top>=-.5,M=f.current.bottom>=-.5,_=v.scrollHeight-v.clientHeight,$=A<0?-1:1,F=A<0?"max":"min";v.scrollHeight<=v.clientHeight||(!N&&A>0||!M&&A<0?(x.preventDefault(),Nt.flushSync(()=>{d(J=>J+Math[F](A,_*$))})):/firefox/i.test(J1())&&(v.scrollTop+=A))}const v=p?.current||o.floating;if(i&&v)return v.addEventListener("wheel",T),requestAnimationFrame(()=>{y.current=v.scrollTop,f.current!=null&&(S.current={...f.current})}),()=>{y.current=null,S.current=null,v.removeEventListener("wheel",T)}},[c,i,o.floating,f,p,d]);const w=E.useMemo(()=>({onKeyDown(){h.current=!0},onWheel(){h.current=!1},onPointerMove(){h.current=!1},onScroll(){const T=p?.current||o.floating;if(!(!f.current||!T||!h.current)){if(y.current!==null){const v=T.scrollTop-y.current;(f.current.bottom<-.5&&v<-1||f.current.top<-.5&&v>1)&&Nt.flushSync(()=>d(x=>x+v))}requestAnimationFrame(()=>{y.current=T.scrollTop})}}}),[o.floating,d,f,p]);return E.useMemo(()=>c?{floating:w}:{},[c,w])}let Oa=E.createContext({styles:void 0,setReference:()=>{},setFloating:()=>{},getReferenceProps:()=>({}),getFloatingProps:()=>({}),slot:{}});Oa.displayName="FloatingContext";let Lc=E.createContext(null);Lc.displayName="PlacementContext";function ex(l){return E.useMemo(()=>l?typeof l=="string"?{to:l}:l:null,[l])}function tx(){return E.useContext(Oa).setReference}function nx(){return E.useContext(Oa).getReferenceProps}function lx(){let{getFloatingProps:l,slot:r}=E.useContext(Oa);return E.useCallback((...i)=>Object.assign({},l(...i),{"data-anchor":r.anchor}),[l,r])}function ax(l=null){l===!1&&(l=null),typeof l=="string"&&(l={to:l});let r=E.useContext(Lc),i=E.useMemo(()=>l,[JSON.stringify(l,(c,f)=>{var p;return(p=f?.outerHTML)!=null?p:f})]);ze(()=>{r?.(i??null)},[r,i]);let o=E.useContext(Oa);return E.useMemo(()=>[o.setFloating,l?o.styles:{}],[o.setFloating,l,o.styles])}let pm=4;function rx({children:l,enabled:r=!0}){let[i,o]=E.useState(null),[c,f]=E.useState(0),p=E.useRef(null),[m,d]=E.useState(null);ix(m);let h=r&&i!==null&&m!==null,{to:y="bottom",gap:S=0,offset:w=0,padding:T=0,inner:v}=ux(i,m),[x,A="center"]=y.split(" ");ze(()=>{h&&f(0)},[h]);let{refs:N,floatingStyles:M,context:_}=PE({open:h,placement:x==="selection"?A==="center"?"bottom":`bottom-${A}`:A==="center"?`${x}`:`${x}-${A}`,strategy:"absolute",transform:!1,middleware:[Ch({mainAxis:x==="selection"?0:S,crossAxis:w}),kE({padding:T}),x!=="selection"&&jE({padding:T}),x==="selection"&&v?IE({...v,padding:T,overflowRef:p,offset:c,minItemsVisible:pm,referenceOverflowThreshold:T,onFallbackChange(P){var oe,ye;if(!P)return;let ce=_.elements.floating;if(!ce)return;let ge=parseFloat(getComputedStyle(ce).scrollPaddingBottom)||0,z=Math.min(pm,ce.childElementCount),Q=0,V=0;for(let ne of(ye=(oe=_.elements.floating)==null?void 0:oe.childNodes)!=null?ye:[])if(ne instanceof HTMLElement){let O=ne.offsetTop,U=O+ne.clientHeight+ge,I=ce.scrollTop,X=I+ce.clientHeight;if(O>=I&&U<=X)z--;else{V=Math.max(0,Math.min(U,X)-Math.max(O,I)),Q=ne.clientHeight;break}}z>=1&&f(ne=>{let O=Q*z-V+ge;return ne>=O?ne:O})}}):null,zE({padding:T,apply({availableWidth:P,availableHeight:oe,elements:ye}){Object.assign(ye.floating.style,{overflow:"auto",maxWidth:`${P}px`,maxHeight:`min(var(--anchor-max-height, 100vh), ${oe}px)`})}})].filter(Boolean),whileElementsMounted:RE}),[$=x,F=A]=_.placement.split("-");x==="selection"&&($="selection");let J=E.useMemo(()=>({anchor:[$,F].filter(Boolean).join(" ")}),[$,F]),W=WE(_,{overflowRef:p,onChange:f}),{getReferenceProps:le,getFloatingProps:te}=JE([W]),re=fe(P=>{d(P),N.setFloating(P)});return E.createElement(Lc.Provider,{value:o},E.createElement(Oa.Provider,{value:{setFloating:re,setReference:N.setReference,styles:M,getReferenceProps:le,getFloatingProps:te,slot:J}},l))}function ix(l){ze(()=>{if(!l)return;let r=new MutationObserver(()=>{let i=window.getComputedStyle(l).maxHeight,o=parseFloat(i);if(isNaN(o))return;let c=parseInt(i);isNaN(c)||o!==c&&(l.style.maxHeight=`${Math.ceil(o)}px`)});return r.observe(l,{attributes:!0,attributeFilter:["style"]}),()=>{r.disconnect()}},[l])}function ux(l,r){var i,o,c;let f=ac((i=l?.gap)!=null?i:"var(--anchor-gap, 0)",r),p=ac((o=l?.offset)!=null?o:"var(--anchor-offset, 0)",r),m=ac((c=l?.padding)!=null?c:"var(--anchor-padding, 0)",r);return{...l,gap:f,offset:p,padding:m}}function ac(l,r,i=void 0){let o=el(),c=fe((d,h)=>{if(d==null)return[i,null];if(typeof d=="number")return[d,null];if(typeof d=="string"){if(!h)return[i,null];let y=gm(d,h);return[y,S=>{let w=kh(d);{let T=w.map(v=>window.getComputedStyle(h).getPropertyValue(v));o.requestAnimationFrame(function v(){o.nextFrame(v);let x=!1;for(let[N,M]of w.entries()){let _=window.getComputedStyle(h).getPropertyValue(M);if(T[N]!==_){T[N]=_,x=!0;break}}if(!x)return;let A=gm(d,h);y!==A&&(S(A),y=A)})}return o.dispose}]}return[i,null]}),f=E.useMemo(()=>c(l,r)[0],[l,r]),[p=f,m]=E.useState();return ze(()=>{let[d,h]=c(l,r);if(m(d),!!h)return h(m)},[l,r]),p}function kh(l){let r=/var\((.*)\)/.exec(l);if(r){let i=r[1].indexOf(",");if(i===-1)return[r[1]];let o=r[1].slice(0,i).trim(),c=r[1].slice(i+1).trim();return c?[o,...kh(c)]:[o]}return[]}function gm(l,r){let i=document.createElement("div");r.appendChild(i),i.style.setProperty("margin-top","0px","important"),i.style.setProperty("margin-top",l,"important");let o=parseFloat(window.getComputedStyle(i).marginTop)||0;return r.removeChild(i),o}function ox(l,r){let[i,o]=E.useState(r);return!l&&i!==r&&o(r),l?i:r}let Tu=E.createContext(null);Tu.displayName="OpenClosedContext";var gt=(l=>(l[l.Open=1]="Open",l[l.Closed=2]="Closed",l[l.Closing=4]="Closing",l[l.Opening=8]="Opening",l))(gt||{});function $r(){return E.useContext(Tu)}function jh({value:l,children:r}){return ee.createElement(Tu.Provider,{value:l},r)}function sx({children:l}){return ee.createElement(Tu.Provider,{value:null},l)}function cx(l){function r(){document.readyState!=="loading"&&(l(),document.removeEventListener("DOMContentLoaded",r))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",r),r())}let Kn=[];cx(()=>{function l(r){if(!(r.target instanceof HTMLElement)||r.target===document.body||Kn[0]===r.target)return;let i=r.target;i=i.closest(su),Kn.unshift(i??r.target),Kn=Kn.filter(o=>o!=null&&o.isConnected),Kn.splice(10)}window.addEventListener("click",l,{capture:!0}),window.addEventListener("mousedown",l,{capture:!0}),window.addEventListener("focus",l,{capture:!0}),document.body.addEventListener("click",l,{capture:!0}),document.body.addEventListener("mousedown",l,{capture:!0}),document.body.addEventListener("focus",l,{capture:!0})});function fx(l){throw new Error("Unexpected object: "+l)}var Pe=(l=>(l[l.First=0]="First",l[l.Previous=1]="Previous",l[l.Next=2]="Next",l[l.Last=3]="Last",l[l.Specific=4]="Specific",l[l.Nothing=5]="Nothing",l))(Pe||{});function rc(l,r){let i=r.resolveItems();if(i.length<=0)return null;let o=r.resolveActiveIndex(),c=o??-1;switch(l.focus){case 0:{for(let f=0;f<i.length;++f)if(!r.resolveDisabled(i[f],f,i))return f;return o}case 1:{c===-1&&(c=i.length);for(let f=c-1;f>=0;--f)if(!r.resolveDisabled(i[f],f,i))return f;return o}case 2:{for(let f=c+1;f<i.length;++f)if(!r.resolveDisabled(i[f],f,i))return f;return o}case 3:{for(let f=i.length-1;f>=0;--f)if(!r.resolveDisabled(i[f],f,i))return f;return o}case 4:{for(let f=0;f<i.length;++f)if(r.resolveId(i[f],f,i)===l.id)return f;return o}case 5:return null;default:fx(l)}}function zh(l){let r=fe(l),i=E.useRef(!1);E.useEffect(()=>(i.current=!1,()=>{i.current=!0,hu(()=>{i.current&&r()})}),[r])}function dx(){let l=typeof document>"u";return"useSyncExternalStore"in sc?(r=>r.useSyncExternalStore)(sc)(()=>()=>{},()=>!1,()=>!l):!1}function Fr(){let l=dx(),[r,i]=E.useState(wl.isHandoffComplete);return r&&wl.isHandoffComplete===!1&&i(!1),E.useEffect(()=>{r!==!0&&i(!0)},[r]),E.useEffect(()=>wl.handoff(),[]),l?!1:r}let Bh=E.createContext(!1);function px(){return E.useContext(Bh)}function mm(l){return ee.createElement(Bh.Provider,{value:l.force},l.children)}function gx(l){let r=px(),i=E.useContext(Uh),[o,c]=E.useState(()=>{var f;if(!r&&i!==null)return(f=i.current)!=null?f:null;if(wl.isServer)return null;let p=l?.getElementById("headlessui-portal-root");if(p)return p;if(l===null)return null;let m=l.createElement("div");return m.setAttribute("id","headlessui-portal-root"),l.body.appendChild(m)});return E.useEffect(()=>{o!==null&&(l!=null&&l.body.contains(o)||l==null||l.body.appendChild(o))},[o,l]),E.useEffect(()=>{r||i!==null&&c(i.current)},[i,c,r]),o}let Hh=E.Fragment,mx=Ve(function(l,r){let{ownerDocument:i=null,...o}=l,c=E.useRef(null),f=ft(o1(T=>{c.current=T}),r),p=Ea(c),m=i??p,d=gx(m),[h]=E.useState(()=>{var T;return wl.isServer?null:(T=m?.createElement("div"))!=null?T:null}),y=E.useContext(xc),S=Fr();ze(()=>{!d||!h||d.contains(h)||(h.setAttribute("data-headlessui-portal",""),d.appendChild(h))},[d,h]),ze(()=>{if(h&&y)return y.register(h)},[y,h]),zh(()=>{var T;!d||!h||(h instanceof Node&&d.contains(h)&&d.removeChild(h),d.childNodes.length<=0&&((T=d.parentElement)==null||T.removeChild(d)))});let w=tt();return S?!d||!h?null:Nt.createPortal(w({ourProps:{ref:f},theirProps:o,slot:{},defaultTag:Hh,name:"Portal"}),h):null});function hx(l,r){let i=ft(r),{enabled:o=!0,ownerDocument:c,...f}=l,p=tt();return o?ee.createElement(mx,{...f,ownerDocument:c,ref:i}):p({ourProps:{ref:i},theirProps:f,slot:{},defaultTag:Hh,name:"Portal"})}let yx=E.Fragment,Uh=E.createContext(null);function vx(l,r){let{target:i,...o}=l,c={ref:ft(r)},f=tt();return ee.createElement(Uh.Provider,{value:i},f({ourProps:c,theirProps:o,defaultTag:yx,name:"Popover.Group"}))}let xc=E.createContext(null);function bx(){let l=E.useContext(xc),r=E.useRef([]),i=fe(f=>(r.current.push(f),l&&l.register(f),()=>o(f))),o=fe(f=>{let p=r.current.indexOf(f);p!==-1&&r.current.splice(p,1),l&&l.unregister(f)}),c=E.useMemo(()=>({register:i,unregister:o,portals:r}),[i,o,r]);return[r,E.useMemo(()=>function({children:f}){return ee.createElement(xc.Provider,{value:c},f)},[c])]}let Ex=Ve(hx),$h=Ve(vx),Fh=Object.assign(Ex,{Group:$h});function xx(l,r=typeof document<"u"?document.defaultView:null,i){let o=Ta(l,"escape");mh(r,"keydown",c=>{o&&(c.defaultPrevented||c.key===Ke.Escape&&i(c))})}function Sx(){var l;let[r]=E.useState(()=>typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia("(pointer: coarse)"):null),[i,o]=E.useState((l=r?.matches)!=null?l:!1);return ze(()=>{if(!r)return;function c(f){o(f.matches)}return r.addEventListener("change",c),()=>r.removeEventListener("change",c)},[r]),i}function Tx({defaultContainers:l=[],portals:r,mainTreeNode:i}={}){let o=Ea(i),c=fe(()=>{var f,p;let m=[];for(let d of l)d!==null&&(d instanceof HTMLElement?m.push(d):"current"in d&&d.current instanceof HTMLElement&&m.push(d.current));if(r!=null&&r.current)for(let d of r.current)m.push(d);for(let d of(f=o?.querySelectorAll("html > *, body > *"))!=null?f:[])d!==document.body&&d!==document.head&&d instanceof HTMLElement&&d.id!=="headlessui-portal-root"&&(i&&(d.contains(i)||d.contains((p=i?.getRootNode())==null?void 0:p.host))||m.some(h=>d.contains(h))||m.push(d));return m});return{resolveContainers:c,contains:fe(f=>c().some(p=>p.contains(f)))}}let qh=E.createContext(null);function hm({children:l,node:r}){let[i,o]=E.useState(null),c=Gh(r??i);return ee.createElement(qh.Provider,{value:c},l,c===null&&ee.createElement(kr,{features:ba.Hidden,ref:f=>{var p,m;if(f){for(let d of(m=(p=Sa(f))==null?void 0:p.querySelectorAll("html > *, body > *"))!=null?m:[])if(d!==document.body&&d!==document.head&&d instanceof HTMLElement&&d!=null&&d.contains(f)){o(d);break}}}}))}function Gh(l=null){var r;return(r=E.useContext(qh))!=null?r:l}function kc(){let l=E.useRef(!1);return ze(()=>(l.current=!0,()=>{l.current=!1}),[]),l}var _r=(l=>(l[l.Forwards=0]="Forwards",l[l.Backwards=1]="Backwards",l))(_r||{});function wx(){let l=E.useRef(0);return ph(!0,"keydown",r=>{r.key==="Tab"&&(l.current=r.shiftKey?1:0)},!0),l}function Yh(l){if(!l)return new Set;if(typeof l=="function")return new Set(l());let r=new Set;for(let i of l.current)i.current instanceof HTMLElement&&r.add(i.current);return r}let Ax="div";var El=(l=>(l[l.None=0]="None",l[l.InitialFocus=1]="InitialFocus",l[l.TabLock=2]="TabLock",l[l.FocusLock=4]="FocusLock",l[l.RestoreFocus=8]="RestoreFocus",l[l.AutoFocus=16]="AutoFocus",l))(El||{});function Ox(l,r){let i=E.useRef(null),o=ft(i,r),{initialFocus:c,initialFocusFallback:f,containers:p,features:m=15,...d}=l;Fr()||(m=0);let h=Ea(i);Dx(m,{ownerDocument:h});let y=Cx(m,{ownerDocument:h,container:i,initialFocus:c,initialFocusFallback:f});Nx(m,{ownerDocument:h,container:i,containers:p,previousActiveElement:y});let S=wx(),w=fe(M=>{let _=i.current;_&&($=>$())(()=>{xt(S.current,{[_r.Forwards]:()=>{ha(_,Qt.First,{skipElements:[M.relatedTarget,f]})},[_r.Backwards]:()=>{ha(_,Qt.Last,{skipElements:[M.relatedTarget,f]})}})})}),T=Ta(!!(m&2),"focus-trap#tab-lock"),v=el(),x=E.useRef(!1),A={ref:o,onKeyDown(M){M.key=="Tab"&&(x.current=!0,v.requestAnimationFrame(()=>{x.current=!1}))},onBlur(M){if(!(m&4))return;let _=Yh(p);i.current instanceof HTMLElement&&_.add(i.current);let $=M.relatedTarget;$ instanceof HTMLElement&&$.dataset.headlessuiFocusGuard!=="true"&&(Zh(_,$)||(x.current?ha(i.current,xt(S.current,{[_r.Forwards]:()=>Qt.Next,[_r.Backwards]:()=>Qt.Previous})|Qt.WrapAround,{relativeTo:M.target}):M.target instanceof HTMLElement&&Sn(M.target)))}},N=tt();return ee.createElement(ee.Fragment,null,T&&ee.createElement(kr,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:w,features:ba.Focusable}),N({ourProps:A,theirProps:d,defaultTag:Ax,name:"FocusTrap"}),T&&ee.createElement(kr,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:w,features:ba.Focusable}))}let Rx=Ve(Ox),_x=Object.assign(Rx,{features:El});function Mx(l=!0){let r=E.useRef(Kn.slice());return _c(([i],[o])=>{o===!0&&i===!1&&hu(()=>{r.current.splice(0)}),o===!1&&i===!0&&(r.current=Kn.slice())},[l,Kn,r]),fe(()=>{var i;return(i=r.current.find(o=>o!=null&&o.isConnected))!=null?i:null})}function Dx(l,{ownerDocument:r}){let i=!!(l&8),o=Mx(i);_c(()=>{i||r?.activeElement===r?.body&&Sn(o())},[i]),zh(()=>{i&&Sn(o())})}function Cx(l,{ownerDocument:r,container:i,initialFocus:o,initialFocusFallback:c}){let f=E.useRef(null),p=Ta(!!(l&1),"focus-trap#initial-focus"),m=kc();return _c(()=>{if(l===0)return;if(!p){c!=null&&c.current&&Sn(c.current);return}let d=i.current;d&&hu(()=>{if(!m.current)return;let h=r?.activeElement;if(o!=null&&o.current){if(o?.current===h){f.current=h;return}}else if(d.contains(h)){f.current=h;return}if(o!=null&&o.current)Sn(o.current);else{if(l&16){if(ha(d,Qt.First|Qt.AutoFocus)!==yc.Error)return}else if(ha(d,Qt.First)!==yc.Error)return;if(c!=null&&c.current&&(Sn(c.current),r?.activeElement===c.current))return;console.warn("There are no focusable elements inside the <FocusTrap />")}f.current=r?.activeElement})},[c,p,l]),f}function Nx(l,{ownerDocument:r,container:i,containers:o,previousActiveElement:c}){let f=kc(),p=!!(l&4);mh(r?.defaultView,"focus",m=>{if(!p||!f.current)return;let d=Yh(o);i.current instanceof HTMLElement&&d.add(i.current);let h=c.current;if(!h)return;let y=m.target;y&&y instanceof HTMLElement?Zh(d,y)?(c.current=y,Sn(y)):(m.preventDefault(),m.stopPropagation(),Sn(h)):Sn(c.current)},!0)}function Zh(l,r){for(let i of l)if(i.contains(r))return!0;return!1}function Vh(l){var r;return!!(l.enter||l.enterFrom||l.enterTo||l.leave||l.leaveFrom||l.leaveTo)||((r=l.as)!=null?r:Qh)!==E.Fragment||ee.Children.count(l.children)===1}let wu=E.createContext(null);wu.displayName="TransitionContext";var Lx=(l=>(l.Visible="visible",l.Hidden="hidden",l))(Lx||{});function kx(){let l=E.useContext(wu);if(l===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return l}function jx(){let l=E.useContext(Au);if(l===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return l}let Au=E.createContext(null);Au.displayName="NestingContext";function Ou(l){return"children"in l?Ou(l.children):l.current.filter(({el:r})=>r.current!==null).filter(({state:r})=>r==="visible").length>0}function Xh(l,r){let i=tl(l),o=E.useRef([]),c=kc(),f=el(),p=fe((T,v=Pn.Hidden)=>{let x=o.current.findIndex(({el:A})=>A===T);x!==-1&&(xt(v,{[Pn.Unmount](){o.current.splice(x,1)},[Pn.Hidden](){o.current[x].state="hidden"}}),f.microTask(()=>{var A;!Ou(o)&&c.current&&((A=i.current)==null||A.call(i))}))}),m=fe(T=>{let v=o.current.find(({el:x})=>x===T);return v?v.state!=="visible"&&(v.state="visible"):o.current.push({el:T,state:"visible"}),()=>p(T,Pn.Unmount)}),d=E.useRef([]),h=E.useRef(Promise.resolve()),y=E.useRef({enter:[],leave:[]}),S=fe((T,v,x)=>{d.current.splice(0),r&&(r.chains.current[v]=r.chains.current[v].filter(([A])=>A!==T)),r?.chains.current[v].push([T,new Promise(A=>{d.current.push(A)})]),r?.chains.current[v].push([T,new Promise(A=>{Promise.all(y.current[v].map(([N,M])=>M)).then(()=>A())})]),v==="enter"?h.current=h.current.then(()=>r?.wait.current).then(()=>x(v)):x(v)}),w=fe((T,v,x)=>{Promise.all(y.current[v].splice(0).map(([A,N])=>N)).then(()=>{var A;(A=d.current.shift())==null||A()}).then(()=>x(v))});return E.useMemo(()=>({children:o,register:m,unregister:p,onStart:S,onStop:w,wait:h,chains:y}),[m,p,o,S,w,y,h])}let Qh=E.Fragment,Kh=va.RenderStrategy;function zx(l,r){var i,o;let{transition:c=!0,beforeEnter:f,afterEnter:p,beforeLeave:m,afterLeave:d,enter:h,enterFrom:y,enterTo:S,entered:w,leave:T,leaveFrom:v,leaveTo:x,...A}=l,[N,M]=E.useState(null),_=E.useRef(null),$=Vh(l),F=ft(...$?[_,r,M]:r===null?[]:[r]),J=(i=A.unmount)==null||i?Pn.Unmount:Pn.Hidden,{show:W,appear:le,initial:te}=kx(),[re,P]=E.useState(W?"visible":"hidden"),oe=jx(),{register:ye,unregister:ce}=oe;ze(()=>ye(_),[ye,_]),ze(()=>{if(J===Pn.Hidden&&_.current){if(W&&re!=="visible"){P("visible");return}return xt(re,{hidden:()=>ce(_),visible:()=>ye(_)})}},[re,_,ye,ce,W,J]);let ge=Fr();ze(()=>{if($&&ge&&re==="visible"&&_.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[_,re,ge,$]);let z=te&&!le,Q=le&&W&&te,V=E.useRef(!1),ne=Xh(()=>{V.current||(P("hidden"),ce(_))},oe),O=fe(Me=>{V.current=!0;let Te=Me?"enter":"leave";ne.onStart(_,Te,ke=>{ke==="enter"?f?.():ke==="leave"&&m?.()})}),U=fe(Me=>{let Te=Me?"enter":"leave";V.current=!1,ne.onStop(_,Te,ke=>{ke==="enter"?p?.():ke==="leave"&&d?.()}),Te==="leave"&&!Ou(ne)&&(P("hidden"),ce(_))});E.useEffect(()=>{$&&c||(O(W),U(W))},[W,$,c]);let I=!(!c||!$||!ge||z),[,X]=vh(I,N,W,{start:O,end:U}),K=Qn({ref:F,className:((o=mc(A.className,Q&&h,Q&&y,X.enter&&h,X.enter&&X.closed&&y,X.enter&&!X.closed&&S,X.leave&&T,X.leave&&!X.closed&&v,X.leave&&X.closed&&x,!X.transition&&W&&w))==null?void 0:o.trim())||void 0,...yh(X)}),ue=0;re==="visible"&&(ue|=gt.Open),re==="hidden"&&(ue|=gt.Closed),X.enter&&(ue|=gt.Opening),X.leave&&(ue|=gt.Closing);let ie=tt();return ee.createElement(Au.Provider,{value:ne},ee.createElement(jh,{value:ue},ie({ourProps:K,theirProps:A,defaultTag:Qh,features:Kh,visible:re==="visible",name:"Transition.Child"})))}function Bx(l,r){let{show:i,appear:o=!1,unmount:c=!0,...f}=l,p=E.useRef(null),m=Vh(l),d=ft(...m?[p,r]:r===null?[]:[r]);Fr();let h=$r();if(i===void 0&&h!==null&&(i=(h&gt.Open)===gt.Open),i===void 0)throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[y,S]=E.useState(i?"visible":"hidden"),w=Xh(()=>{i||S("hidden")}),[T,v]=E.useState(!0),x=E.useRef([i]);ze(()=>{T!==!1&&x.current[x.current.length-1]!==i&&(x.current.push(i),v(!1))},[x,i]);let A=E.useMemo(()=>({show:i,appear:o,initial:T}),[i,o,T]);ze(()=>{i?S("visible"):!Ou(w)&&p.current!==null&&S("hidden")},[i,w]);let N={unmount:c},M=fe(()=>{var F;T&&v(!1),(F=l.beforeEnter)==null||F.call(l)}),_=fe(()=>{var F;T&&v(!1),(F=l.beforeLeave)==null||F.call(l)}),$=tt();return ee.createElement(Au.Provider,{value:w},ee.createElement(wu.Provider,{value:A},$({ourProps:{...N,as:E.Fragment,children:ee.createElement(Ph,{ref:d,...N,...f,beforeEnter:M,beforeLeave:_})},theirProps:{},defaultTag:E.Fragment,features:Kh,visible:y==="visible",name:"Transition"})))}function Hx(l,r){let i=E.useContext(wu)!==null,o=$r()!==null;return ee.createElement(ee.Fragment,null,!i&&o?ee.createElement(Sc,{ref:r,...l}):ee.createElement(Ph,{ref:r,...l}))}let Sc=Ve(Bx),Ph=Ve(zx),jc=Ve(Hx),Ux=Object.assign(Sc,{Child:jc,Root:Sc});var $x=(l=>(l[l.Open=0]="Open",l[l.Closed=1]="Closed",l))($x||{}),Fx=(l=>(l[l.SetTitleId=0]="SetTitleId",l))(Fx||{});let qx={0(l,r){return l.titleId===r.id?l:{...l,titleId:r.id}}},zc=E.createContext(null);zc.displayName="DialogContext";function Ru(l){let r=E.useContext(zc);if(r===null){let i=new Error(`<${l} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(i,Ru),i}return r}function Gx(l,r){return xt(r.type,qx,l,r)}let ym=Ve(function(l,r){let i=E.useId(),{id:o=`headlessui-dialog-${i}`,open:c,onClose:f,initialFocus:p,role:m="dialog",autoFocus:d=!0,__demoMode:h=!1,unmount:y=!1,...S}=l,w=E.useRef(!1);m=function(){return m==="dialog"||m==="alertdialog"?m:(w.current||(w.current=!0,console.warn(`Invalid role [${m}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog")}();let T=$r();c===void 0&&T!==null&&(c=(T&gt.Open)===gt.Open);let v=E.useRef(null),x=ft(v,r),A=Ea(v),N=c?0:1,[M,_]=E.useReducer(Gx,{titleId:null,descriptionId:null,panelRef:E.createRef()}),$=fe(()=>f(!1)),F=fe(U=>_({type:0,id:U})),J=Fr()?N===0:!1,[W,le]=bx(),te={get current(){var U;return(U=M.panelRef.current)!=null?U:v.current}},re=Gh(),{resolveContainers:P}=Tx({mainTreeNode:re,portals:W,defaultContainers:[te]}),oe=T!==null?(T&gt.Closing)===gt.Closing:!1;uh(h||oe?!1:J,{allowed:fe(()=>{var U,I;return[(I=(U=v.current)==null?void 0:U.closest("[data-headlessui-portal]"))!=null?I:null]}),disallowed:fe(()=>{var U;return[(U=re?.closest("body > *:not(#headlessui-portal-root)"))!=null?U:null]})}),gh(J,P,U=>{U.preventDefault(),$()}),xx(J,A?.defaultView,U=>{U.preventDefault(),U.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&typeof document.activeElement.blur=="function"&&document.activeElement.blur(),$()}),hh(h||oe?!1:J,A,P),oh(J,v,$);let[ye,ce]=c1(),ge=E.useMemo(()=>[{dialogState:N,close:$,setTitleId:F,unmount:y},M],[N,M,$,F,y]),z=E.useMemo(()=>({open:N===0}),[N]),Q={ref:x,id:o,role:m,tabIndex:-1,"aria-modal":h?void 0:N===0?!0:void 0,"aria-labelledby":M.titleId,"aria-describedby":ye,unmount:y},V=!Sx(),ne=El.None;J&&!h&&(ne|=El.RestoreFocus,ne|=El.TabLock,d&&(ne|=El.AutoFocus),V&&(ne|=El.InitialFocus));let O=tt();return ee.createElement(sx,null,ee.createElement(mm,{force:!0},ee.createElement(Fh,null,ee.createElement(zc.Provider,{value:ge},ee.createElement($h,{target:v},ee.createElement(mm,{force:!1},ee.createElement(ce,{slot:z},ee.createElement(le,null,ee.createElement(_x,{initialFocus:p,initialFocusFallback:v,containers:P,features:ne},ee.createElement(E1,{value:$},O({ourProps:Q,theirProps:S,slot:z,defaultTag:Yx,features:Zx,visible:N===0,name:"Dialog"})))))))))))}),Yx="div",Zx=va.RenderStrategy|va.Static;function Vx(l,r){let{transition:i=!1,open:o,...c}=l,f=$r(),p=l.hasOwnProperty("open")||f!==null,m=l.hasOwnProperty("onClose");if(!p&&!m)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!p)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!m)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(!f&&typeof l.open!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${l.open}`);if(typeof l.onClose!="function")throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${l.onClose}`);return(o!==void 0||i)&&!c.static?ee.createElement(hm,null,ee.createElement(Ux,{show:o,transition:i,unmount:c.unmount},ee.createElement(ym,{ref:r,...c}))):ee.createElement(hm,null,ee.createElement(ym,{ref:r,open:o,...c}))}let Xx="div";function Qx(l,r){let i=E.useId(),{id:o=`headlessui-dialog-panel-${i}`,transition:c=!1,...f}=l,[{dialogState:p,unmount:m},d]=Ru("Dialog.Panel"),h=ft(r,d.panelRef),y=E.useMemo(()=>({open:p===0}),[p]),S=fe(A=>{A.stopPropagation()}),w={ref:h,id:o,onClick:S},T=c?jc:E.Fragment,v=c?{unmount:m}:{},x=tt();return ee.createElement(T,{...v},x({ourProps:w,theirProps:f,slot:y,defaultTag:Xx,name:"Dialog.Panel"}))}let Kx="div";function Px(l,r){let{transition:i=!1,...o}=l,[{dialogState:c,unmount:f}]=Ru("Dialog.Backdrop"),p=E.useMemo(()=>({open:c===0}),[c]),m={ref:r,"aria-hidden":!0},d=i?jc:E.Fragment,h=i?{unmount:f}:{},y=tt();return ee.createElement(d,{...h},y({ourProps:m,theirProps:o,slot:p,defaultTag:Kx,name:"Dialog.Backdrop"}))}let Jx="h2";function Ix(l,r){let i=E.useId(),{id:o=`headlessui-dialog-title-${i}`,...c}=l,[{dialogState:f,setTitleId:p}]=Ru("Dialog.Title"),m=ft(r);E.useEffect(()=>(p(o),()=>p(null)),[o,p]);let d=E.useMemo(()=>({open:f===0}),[f]),h={ref:m,id:o};return tt()({ourProps:h,theirProps:c,slot:d,defaultTag:Jx,name:"Dialog.Title"})}let Wx=Ve(Vx),Bc=Ve(Qx);Ve(Px);let eS=Ve(Ix),Jh=Object.assign(Wx,{Panel:Bc,Title:eS,Description:g1});function tS(l,r){let i=E.useRef({left:0,top:0});if(ze(()=>{if(!r)return;let c=r.getBoundingClientRect();c&&(i.current=c)},[l,r]),r==null||!l||r===document.activeElement)return!1;let o=r.getBoundingClientRect();return o.top!==i.current.top||o.left!==i.current.left}let vm=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function bm(l){var r,i;let o=(r=l.innerText)!=null?r:"",c=l.cloneNode(!0);if(!(c instanceof HTMLElement))return o;let f=!1;for(let m of c.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))m.remove(),f=!0;let p=f?(i=c.innerText)!=null?i:"":o;return vm.test(p)&&(p=p.replace(vm,"")),p}function nS(l){let r=l.getAttribute("aria-label");if(typeof r=="string")return r.trim();let i=l.getAttribute("aria-labelledby");if(i){let o=i.split(" ").map(c=>{let f=document.getElementById(c);if(f){let p=f.getAttribute("aria-label");return typeof p=="string"?p.trim():bm(f).trim()}return null}).filter(Boolean);if(o.length>0)return o.join(", ")}return bm(l).trim()}function lS(l){let r=E.useRef(""),i=E.useRef("");return fe(()=>{let o=l.current;if(!o)return"";let c=o.innerText;if(r.current===c)return i.current;let f=nS(o).trim().toLowerCase();return r.current=c,i.current=f,f})}var aS=(l=>(l[l.Open=0]="Open",l[l.Closed=1]="Closed",l))(aS||{}),rS=(l=>(l[l.Single=0]="Single",l[l.Multi=1]="Multi",l))(rS||{}),iS=(l=>(l[l.Pointer=0]="Pointer",l[l.Other=1]="Other",l))(iS||{}),uS=(l=>(l[l.OpenListbox=0]="OpenListbox",l[l.CloseListbox=1]="CloseListbox",l[l.GoToOption=2]="GoToOption",l[l.Search=3]="Search",l[l.ClearSearch=4]="ClearSearch",l[l.RegisterOption=5]="RegisterOption",l[l.UnregisterOption=6]="UnregisterOption",l[l.SetButtonElement=7]="SetButtonElement",l[l.SetOptionsElement=8]="SetOptionsElement",l))(uS||{});function ic(l,r=i=>i){let i=l.activeOptionIndex!==null?l.options[l.activeOptionIndex]:null,o=fh(r(l.options.slice()),f=>f.dataRef.current.domRef.current),c=i?o.indexOf(i):null;return c===-1&&(c=null),{options:o,activeOptionIndex:c}}let oS={1(l){return l.dataRef.current.disabled||l.listboxState===1?l:{...l,activeOptionIndex:null,listboxState:1,__demoMode:!1}},0(l){if(l.dataRef.current.disabled||l.listboxState===0)return l;let r=l.activeOptionIndex,{isSelected:i}=l.dataRef.current,o=l.options.findIndex(c=>i(c.dataRef.current.value));return o!==-1&&(r=o),{...l,listboxState:0,activeOptionIndex:r,__demoMode:!1}},2(l,r){var i,o,c,f,p;if(l.dataRef.current.disabled||l.listboxState===1)return l;let m={...l,searchQuery:"",activationTrigger:(i=r.trigger)!=null?i:1,__demoMode:!1};if(r.focus===Pe.Nothing)return{...m,activeOptionIndex:null};if(r.focus===Pe.Specific)return{...m,activeOptionIndex:l.options.findIndex(y=>y.id===r.id)};if(r.focus===Pe.Previous){let y=l.activeOptionIndex;if(y!==null){let S=l.options[y].dataRef.current.domRef,w=rc(r,{resolveItems:()=>l.options,resolveActiveIndex:()=>l.activeOptionIndex,resolveId:T=>T.id,resolveDisabled:T=>T.dataRef.current.disabled});if(w!==null){let T=l.options[w].dataRef.current.domRef;if(((o=S.current)==null?void 0:o.previousElementSibling)===T.current||((c=T.current)==null?void 0:c.previousElementSibling)===null)return{...m,activeOptionIndex:w}}}}else if(r.focus===Pe.Next){let y=l.activeOptionIndex;if(y!==null){let S=l.options[y].dataRef.current.domRef,w=rc(r,{resolveItems:()=>l.options,resolveActiveIndex:()=>l.activeOptionIndex,resolveId:T=>T.id,resolveDisabled:T=>T.dataRef.current.disabled});if(w!==null){let T=l.options[w].dataRef.current.domRef;if(((f=S.current)==null?void 0:f.nextElementSibling)===T.current||((p=T.current)==null?void 0:p.nextElementSibling)===null)return{...m,activeOptionIndex:w}}}}let d=ic(l),h=rc(r,{resolveItems:()=>d.options,resolveActiveIndex:()=>d.activeOptionIndex,resolveId:y=>y.id,resolveDisabled:y=>y.dataRef.current.disabled});return{...m,...d,activeOptionIndex:h}},3:(l,r)=>{if(l.dataRef.current.disabled||l.listboxState===1)return l;let i=l.searchQuery!==""?0:1,o=l.searchQuery+r.value.toLowerCase(),c=(l.activeOptionIndex!==null?l.options.slice(l.activeOptionIndex+i).concat(l.options.slice(0,l.activeOptionIndex+i)):l.options).find(p=>{var m;return!p.dataRef.current.disabled&&((m=p.dataRef.current.textValue)==null?void 0:m.startsWith(o))}),f=c?l.options.indexOf(c):-1;return f===-1||f===l.activeOptionIndex?{...l,searchQuery:o}:{...l,searchQuery:o,activeOptionIndex:f,activationTrigger:1}},4(l){return l.dataRef.current.disabled||l.listboxState===1||l.searchQuery===""?l:{...l,searchQuery:""}},5:(l,r)=>{let i={id:r.id,dataRef:r.dataRef},o=ic(l,c=>[...c,i]);return l.activeOptionIndex===null&&l.dataRef.current.isSelected(r.dataRef.current.value)&&(o.activeOptionIndex=o.options.indexOf(i)),{...l,...o}},6:(l,r)=>{let i=ic(l,o=>{let c=o.findIndex(f=>f.id===r.id);return c!==-1&&o.splice(c,1),o});return{...l,...i,activationTrigger:1}},7:(l,r)=>l.buttonElement===r.element?l:{...l,buttonElement:r.element},8:(l,r)=>l.optionsElement===r.element?l:{...l,optionsElement:r.element}},Hc=E.createContext(null);Hc.displayName="ListboxActionsContext";function _u(l){let r=E.useContext(Hc);if(r===null){let i=new Error(`<${l} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(i,_u),i}return r}let Mu=E.createContext(null);Mu.displayName="ListboxDataContext";function qr(l){let r=E.useContext(Mu);if(r===null){let i=new Error(`<${l} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(i,qr),i}return r}function sS(l,r){return xt(r.type,oS,l,r)}let cS=E.Fragment;function fS(l,r){var i;let o=Oc(),{value:c,defaultValue:f,form:p,name:m,onChange:d,by:h,invalid:y=!1,disabled:S=o||!1,horizontal:w=!1,multiple:T=!1,__demoMode:v=!1,...x}=l;const A=w?"horizontal":"vertical";let N=ft(r),M=Jb(f),[_=T?[]:void 0,$]=Pb(c,d,M),[F,J]=E.useReducer(sS,{dataRef:E.createRef(),listboxState:v?0:1,options:[],searchQuery:"",activeOptionIndex:null,activationTrigger:1,optionsVisible:!1,buttonElement:null,optionsElement:null,__demoMode:v}),W=E.useRef({static:!1,hold:!1}),le=E.useRef(new Map),te=S1(h),re=E.useCallback(Se=>xt(P.mode,{1:()=>_.some(Be=>te(Be,Se)),0:()=>te(_,Se)}),[_]),P=E.useMemo(()=>({...F,value:_,disabled:S,invalid:y,mode:T?1:0,orientation:A,compare:te,isSelected:re,optionsPropsRef:W,listRef:le}),[_,S,y,T,F,le]);ze(()=>{F.dataRef.current=P},[P]);let oe=P.listboxState===0;gh(oe,[P.buttonElement,P.optionsElement],(Se,Be)=>{var nt;J({type:1}),ch(Be,Rc.Loose)||(Se.preventDefault(),(nt=P.buttonElement)==null||nt.focus())});let ye=E.useMemo(()=>({open:P.listboxState===0,disabled:S,invalid:y,value:_}),[P,S,_,y]),ce=fe(Se=>{let Be=P.options.find(nt=>nt.id===Se);Be&&U(Be.dataRef.current.value)}),ge=fe(()=>{if(P.activeOptionIndex!==null){let{dataRef:Se,id:Be}=P.options[P.activeOptionIndex];U(Se.current.value),J({type:2,focus:Pe.Specific,id:Be})}}),z=fe(()=>J({type:0})),Q=fe(()=>J({type:1})),V=el(),ne=fe((Se,Be,nt)=>{V.dispose(),V.microTask(()=>Se===Pe.Specific?J({type:2,focus:Pe.Specific,id:Be,trigger:nt}):J({type:2,focus:Se,trigger:nt}))}),O=fe((Se,Be)=>(J({type:5,id:Se,dataRef:Be}),()=>J({type:6,id:Se}))),U=fe(Se=>xt(P.mode,{0(){return $?.(Se)},1(){let Be=P.value.slice(),nt=Be.findIndex(Nu=>te(Nu,Se));return nt===-1?Be.push(Se):Be.splice(nt,1),$?.(Be)}})),I=fe(Se=>J({type:3,value:Se})),X=fe(()=>J({type:4})),K=fe(Se=>{J({type:7,element:Se})}),ue=fe(Se=>{J({type:8,element:Se})}),ie=E.useMemo(()=>({onChange:U,registerOption:O,goToOption:ne,closeListbox:Q,openListbox:z,selectActiveOption:ge,selectOption:ce,search:I,clearSearch:X,setButtonElement:K,setOptionsElement:ue}),[]),[Me,Te]=m1({inherit:!0}),ke={ref:N},Yt=E.useCallback(()=>{if(M!==void 0)return $?.(M)},[$,M]),mt=tt();return ee.createElement(Te,{value:Me,props:{htmlFor:(i=P.buttonElement)==null?void 0:i.id},slot:{open:P.listboxState===0,disabled:S}},ee.createElement(rx,null,ee.createElement(Hc.Provider,{value:ie},ee.createElement(Mu.Provider,{value:P},ee.createElement(jh,{value:xt(P.listboxState,{0:gt.Open,1:gt.Closed})},m!=null&&_!=null&&ee.createElement(l1,{disabled:S,data:{[m]:_},form:p,onReset:Yt}),mt({ourProps:ke,theirProps:x,slot:ye,defaultTag:cS,name:"Listbox"}))))))}let dS="button";function pS(l,r){var i;let o=qr("Listbox.Button"),c=_u("Listbox.Button"),f=E.useId(),p=Wm(),{id:m=p||`headlessui-listbox-button-${f}`,disabled:d=o.disabled||!1,autoFocus:h=!1,...y}=l,S=ft(r,tx(),c.setButtonElement),w=nx(),T=fe(P=>{switch(P.key){case Ke.Enter:Ib(P.currentTarget);break;case Ke.Space:case Ke.ArrowDown:P.preventDefault(),Nt.flushSync(()=>c.openListbox()),o.value||c.goToOption(Pe.First);break;case Ke.ArrowUp:P.preventDefault(),Nt.flushSync(()=>c.openListbox()),o.value||c.goToOption(Pe.Last);break}}),v=fe(P=>{switch(P.key){case Ke.Space:P.preventDefault();break}}),x=fe(P=>{var oe;if(i1(P.currentTarget))return P.preventDefault();o.listboxState===0?(Nt.flushSync(()=>c.closeListbox()),(oe=o.buttonElement)==null||oe.focus({preventScroll:!0})):(P.preventDefault(),c.openListbox())}),A=fe(P=>P.preventDefault()),N=lh([m]),M=s1(),{isFocusVisible:_,focusProps:$}=Hb({autoFocus:h}),{isHovered:F,hoverProps:J}=Bb({isDisabled:d}),{pressed:W,pressProps:le}=Yb({disabled:d}),te=E.useMemo(()=>({open:o.listboxState===0,active:W||o.listboxState===0,disabled:d,invalid:o.invalid,value:o.value,hover:F,focus:_,autofocus:h}),[o.listboxState,o.value,d,F,_,W,o.invalid,h]),re=Km(w(),{ref:S,id:m,type:z1(l,o.buttonElement),"aria-haspopup":"listbox","aria-controls":(i=o.optionsElement)==null?void 0:i.id,"aria-expanded":o.listboxState===0,"aria-labelledby":N,"aria-describedby":M,disabled:d||void 0,autoFocus:h,onKeyDown:T,onKeyUp:v,onKeyPress:A,onClick:x},$,J,le);return tt()({ourProps:re,theirProps:y,slot:te,defaultTag:dS,name:"Listbox.Button"})}let Ih=E.createContext(!1),gS="div",mS=va.RenderStrategy|va.Static;function hS(l,r){var i,o;let c=E.useId(),{id:f=`headlessui-listbox-options-${c}`,anchor:p,portal:m=!1,modal:d=!0,transition:h=!1,...y}=l,S=ex(p),[w,T]=E.useState(null);S&&(m=!0);let v=qr("Listbox.Options"),x=_u("Listbox.Options"),A=Ea(v.buttonElement),N=Ea(v.optionsElement),M=$r(),[_,$]=vh(h,w,M!==null?(M&gt.Open)===gt.Open:v.listboxState===0);oh(_,v.buttonElement,x.closeListbox);let F=v.__demoMode?!1:d&&v.listboxState===0;hh(F,N);let J=v.__demoMode?!1:d&&v.listboxState===0;uh(J,{allowed:E.useCallback(()=>[v.buttonElement,v.optionsElement],[v.buttonElement,v.optionsElement])});let W=v.listboxState!==0,le=tS(W,v.buttonElement)?!1:_,te=_&&v.listboxState===1,re=ox(te,v.value),P=fe(K=>v.compare(re,K)),oe=E.useMemo(()=>{var K;if(S==null||!((K=S?.to)!=null&&K.includes("selection")))return null;let ue=v.options.findIndex(ie=>P(ie.dataRef.current.value));return ue===-1&&(ue=0),ue},[S,v.options]),ye=(()=>{if(S==null)return;if(oe===null)return{...S,inner:void 0};let K=Array.from(v.listRef.current.values());return{...S,inner:{listRef:{current:K},index:oe}}})(),[ce,ge]=ax(ye),z=lx(),Q=ft(r,S?ce:null,x.setOptionsElement,T),V=el();E.useEffect(()=>{var K;let ue=v.optionsElement;ue&&v.listboxState===0&&ue!==((K=Sa(ue))==null?void 0:K.activeElement)&&ue?.focus({preventScroll:!0})},[v.listboxState,v.optionsElement]);let ne=fe(K=>{var ue,ie;switch(V.dispose(),K.key){case Ke.Space:if(v.searchQuery!=="")return K.preventDefault(),K.stopPropagation(),x.search(K.key);case Ke.Enter:if(K.preventDefault(),K.stopPropagation(),v.activeOptionIndex!==null){let{dataRef:Me}=v.options[v.activeOptionIndex];x.onChange(Me.current.value)}v.mode===0&&(Nt.flushSync(()=>x.closeListbox()),(ue=v.buttonElement)==null||ue.focus({preventScroll:!0}));break;case xt(v.orientation,{vertical:Ke.ArrowDown,horizontal:Ke.ArrowRight}):return K.preventDefault(),K.stopPropagation(),x.goToOption(Pe.Next);case xt(v.orientation,{vertical:Ke.ArrowUp,horizontal:Ke.ArrowLeft}):return K.preventDefault(),K.stopPropagation(),x.goToOption(Pe.Previous);case Ke.Home:case Ke.PageUp:return K.preventDefault(),K.stopPropagation(),x.goToOption(Pe.First);case Ke.End:case Ke.PageDown:return K.preventDefault(),K.stopPropagation(),x.goToOption(Pe.Last);case Ke.Escape:K.preventDefault(),K.stopPropagation(),Nt.flushSync(()=>x.closeListbox()),(ie=v.buttonElement)==null||ie.focus({preventScroll:!0});return;case Ke.Tab:K.preventDefault(),K.stopPropagation(),Nt.flushSync(()=>x.closeListbox()),L1(v.buttonElement,K.shiftKey?Qt.Previous:Qt.Next);break;default:K.key.length===1&&(x.search(K.key),V.setTimeout(()=>x.clearSearch(),350));break}}),O=(i=v.buttonElement)==null?void 0:i.id,U=E.useMemo(()=>({open:v.listboxState===0}),[v.listboxState]),I=Km(S?z():{},{id:f,ref:Q,"aria-activedescendant":v.activeOptionIndex===null||(o=v.options[v.activeOptionIndex])==null?void 0:o.id,"aria-multiselectable":v.mode===1?!0:void 0,"aria-labelledby":O,"aria-orientation":v.orientation,onKeyDown:ne,role:"listbox",tabIndex:v.listboxState===0?0:void 0,style:{...y.style,...ge,"--button-width":w1(v.buttonElement,!0).width},...yh($)}),X=tt();return ee.createElement(Fh,{enabled:m?l.static||_:!1,ownerDocument:A},ee.createElement(Mu.Provider,{value:v.mode===1?v:{...v,isSelected:P}},X({ourProps:I,theirProps:y,slot:U,defaultTag:gS,features:mS,visible:le,name:"Listbox.Options"})))}let yS="div";function vS(l,r){let i=E.useId(),{id:o=`headlessui-listbox-option-${i}`,disabled:c=!1,value:f,...p}=l,m=E.useContext(Ih)===!0,d=qr("Listbox.Option"),h=_u("Listbox.Option"),y=d.activeOptionIndex!==null?d.options[d.activeOptionIndex].id===o:!1,S=d.isSelected(f),w=E.useRef(null),T=lS(w),v=tl({disabled:c,value:f,domRef:w,get textValue(){return T()}}),x=ft(r,w,te=>{te?d.listRef.current.set(o,te):d.listRef.current.delete(o)});ze(()=>{if(!d.__demoMode&&d.listboxState===0&&y&&d.activationTrigger!==0)return Tn().requestAnimationFrame(()=>{var te,re;(re=(te=w.current)==null?void 0:te.scrollIntoView)==null||re.call(te,{block:"nearest"})})},[w,y,d.__demoMode,d.listboxState,d.activationTrigger,d.activeOptionIndex]),ze(()=>{if(!m)return h.registerOption(o,v)},[v,o,m]);let A=fe(te=>{var re;if(c)return te.preventDefault();h.onChange(f),d.mode===0&&(Nt.flushSync(()=>h.closeListbox()),(re=d.buttonElement)==null||re.focus({preventScroll:!0}))}),N=fe(()=>{if(c)return h.goToOption(Pe.Nothing);h.goToOption(Pe.Specific,o)}),M=q1(),_=fe(te=>{M.update(te),!c&&(y||h.goToOption(Pe.Specific,o,0))}),$=fe(te=>{M.wasMoved(te)&&(c||y||h.goToOption(Pe.Specific,o,0))}),F=fe(te=>{M.wasMoved(te)&&(c||y&&h.goToOption(Pe.Nothing))}),J=E.useMemo(()=>({active:y,focus:y,selected:S,disabled:c,selectedOption:S&&m}),[y,S,c,m]),W=m?{}:{id:o,ref:x,role:"option",tabIndex:c===!0?void 0:-1,"aria-disabled":c===!0?!0:void 0,"aria-selected":S,disabled:void 0,onClick:A,onFocus:N,onPointerEnter:_,onMouseEnter:_,onPointerMove:$,onMouseMove:$,onPointerLeave:F,onMouseLeave:F},le=tt();return!S&&m?null:le({ourProps:W,theirProps:p,slot:J,defaultTag:yS,name:"Listbox.Option"})}let bS=E.Fragment;function ES(l,r){let{options:i,placeholder:o,...c}=l,f={ref:ft(r)},p=qr("ListboxSelectedOption"),m=E.useMemo(()=>({}),[]),d=p.value===void 0||p.value===null||p.mode===1&&Array.isArray(p.value)&&p.value.length===0,h=tt();return ee.createElement(Ih.Provider,{value:!0},h({ourProps:f,theirProps:{...c,children:ee.createElement(ee.Fragment,null,o&&d?o:i)},slot:m,defaultTag:bS,name:"ListboxSelectedOption"}))}let xS=Ve(fS),Wh=Ve(pS),SS=ah,e0=Ve(hS),t0=Ve(vS),TS=Ve(ES),wS=Object.assign(xS,{Button:Wh,Label:SS,Options:e0,Option:t0,SelectedOption:TS});const n0=[{title:"React",links:[{title:"Introduction",href:"/docs/react"},{title:"Initialisation",href:"/docs/react/initialisation"},{title:"Syntaxe JSX",href:"/docs/react/jsx"},{title:"Premier composant",href:"/docs/react/premier-composant"},{title:"State et cycle de vie",href:"/docs/react/state-et-cycle-de-vie"},{title:"Hooks",href:"/docs/react/hooks"},{title:"Le hook useContext",href:"/docs/react/usecontext"},{title:"Le hook useReducer",href:"/docs/react/usereducer"}]},{title:"Merise",links:[{title:"Introduction",href:"/docs/merise"},{title:"Dictionnaire de données",href:"/docs/merise/dictionnaire-de-donnees"},{title:"Modèle Conceptuel de Données",href:"/docs/merise/modele-conceptuel-de-donnees"}]}];function l0({className:l,onLinkClick:r}){const{urlPathname:i}=mu();return C.jsx("nav",{className:ct("text-base lg:text-sm",l),children:C.jsx("ul",{role:"list",className:"space-y-9",children:n0.map(o=>C.jsxs("li",{children:[C.jsx("h2",{className:"font-display font-medium text-slate-900 dark:text-white",children:o.title}),C.jsx("ul",{role:"list",className:"mt-2 space-y-2 border-l-2 border-slate-100 lg:mt-4 lg:space-y-4 lg:border-slate-200 dark:border-slate-800",children:o.links.map(c=>C.jsx("li",{className:"relative",children:C.jsx(Lr,{href:c.href,onClick:r,className:ct("block w-full pl-3.5 before:pointer-events-none before:absolute before:top-1/2 before:-left-1 before:h-1.5 before:w-1.5 before:-translate-y-1/2 before:rounded-full",c.href===i?"font-semibold text-violet-500 before:bg-violet-500":"text-slate-500 before:hidden before:bg-slate-300 hover:text-slate-600 hover:before:block dark:text-slate-400 dark:before:bg-slate-700 dark:hover:text-slate-300"),children:c.title})},c.href))})]},o.title))})})}function AS(){return C.jsxs(C.Fragment,{children:[C.jsx("defs",{children:C.jsxs("linearGradient",{id:"l",x1:"0",y1:"0",x2:"1",y2:"0",gradientUnits:"userSpaceOnUse",gradientTransform:"matrix(12.792,-21.32,-21.32,-12.792,5.208,23.32)",children:[C.jsx("stop",{offset:"0",style:{stopColor:"rgb(43,127,255)"}}),C.jsx("stop",{offset:"1",style:{stopColor:"rgb(142,81,255)"}})]})}),C.jsx("g",{transform:"matrix(-1.76727,0,0,1.76727,49.1089,-3.53454)",children:C.jsx("path",{d:"M16.161,18.989L20.49,23.32L21.9,21.91L2.1,2.1L0.69,3.51L2.714,5.535L-4.085,11.253L-4.085,13.054L3.185,19.167L4.629,17.337L-1.61,12.165L4.397,7.219L9.588,12.412L6,16L6.01,16.01L6,16.01L6,22L18,22L18,20.83L16.161,18.989ZM14.417,17.244L16,18.83L16,20L8,20L8,16.5L10.837,13.663L14.417,17.244ZM8,4L16,4L16,7.5L13.16,10.34L14.41,11.59L18,8.01L17.99,8L18,8L18,2L6,2L6,3.17L8,5.17L8,4ZM25.294,12.164L19.071,17.34L20.542,19.164L27.788,13.075L27.788,11.274L20.597,5.22L19.158,7.075L25.294,12.164Z",style:{fill:"url(#l)"}})})]})}function a0(l){return C.jsxs("svg",{viewBox:"0 0 231 38",...l,children:[C.jsx(AS,{}),C.jsx("text",{className:"hidden lg:block fill-zinc-900 dark:fill-zinc-100",fontFamily:"Inter Variable, sans-serif",fontSize:24,fontWeight:"bold",letterSpacing:"-.02em",x:74,y:26,children:"Memento Dev"})]})}function OS(l){return C.jsx("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",fill:"none",strokeWidth:"2",strokeLinecap:"round",...l,children:C.jsx("path",{d:"M4 7h16M4 12h16M4 17h16"})})}function RS(l){return C.jsx("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",fill:"none",strokeWidth:"2",strokeLinecap:"round",...l,children:C.jsx("path",{d:"M5 5l14 14M19 5l-14 14"})})}function _S({close:l}){const{urlPathname:r}=mu();return E.useEffect(()=>{l()},[r,l]),null}function MS(){let[l,r]=E.useState(!1),i=E.useCallback(()=>r(!1),[r]);function o(c){let f=c.currentTarget;f.pathname+f.search+f.hash===window.location.pathname+window.location.search+window.location.hash&&i()}return C.jsxs(C.Fragment,{children:[C.jsx("button",{type:"button",onClick:()=>r(!0),className:"relative","aria-label":"Ouvrir le menu de navigation",children:C.jsx(OS,{className:"h-6 w-6 stroke-slate-500"})}),C.jsx(E.Suspense,{fallback:null,children:C.jsx(_S,{close:i})}),C.jsx(Jh,{open:l,onClose:()=>i(),className:"fixed inset-0 z-50 flex items-start overflow-y-auto bg-slate-900/50 pr-10 backdrop-blur-sm lg:hidden","aria-label":"Navigation",children:C.jsxs(Bc,{className:"min-h-full w-full max-w-xs bg-white px-4 pt-5 pb-12 sm:px-6 dark:bg-slate-900",children:[C.jsxs("div",{className:"flex items-center",children:[C.jsx("button",{type:"button",onClick:()=>i(),"aria-label":"Fermer le menu de navigation",children:C.jsx(RS,{className:"h-6 w-6 stroke-slate-500"})}),C.jsx(Lr,{href:"/",className:"ml-6","aria-label":"Page d'accueil",children:C.jsx(a0,{className:"h-9 w-9"})})]}),C.jsx(l0,{className:"mt-5 px-1",onLinkClick:o})]})})]})}const r0=E.createContext({theme:"light",setTheme:()=>{}});function DS(l){const[r,i]=E.useState(l.defaultTheme||"light");return E.useEffect(()=>{const o=document.documentElement;o.classList.toggle("dark",r==="dark"),o.classList.toggle("light",r==="light")},[r]),C.jsx(r0.Provider,{value:{theme:r,setTheme:i},children:l.children})}function CS(){const l=E.useContext(r0);if(!l)throw new Error("useTheme must be used within a ThemeProvider");return l}const NS=[{name:"Clair",value:"light",icon:i0},{name:"Sombre",value:"dark",icon:u0}];function i0(l){return C.jsx("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",...l,children:C.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 1a1 1 0 0 1 2 0v1a1 1 0 1 1-2 0V1Zm4 7a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm2.657-5.657a1 1 0 0 0-1.414 0l-.707.707a1 1 0 0 0 1.414 1.414l.707-.707a1 1 0 0 0 0-1.414Zm-1.415 11.313-.707-.707a1 1 0 0 1 1.415-1.415l.707.708a1 1 0 0 1-1.415 1.414ZM16 7.999a1 1 0 0 0-1-1h-1a1 1 0 1 0 0 2h1a1 1 0 0 0 1-1ZM7 14a1 1 0 1 1 2 0v1a1 1 0 1 1-2 0v-1Zm-2.536-2.464a1 1 0 0 0-1.414 0l-.707.707a1 1 0 0 0 1.414 1.414l.707-.707a1 1 0 0 0 0-1.414Zm0-8.486A1 1 0 0 1 3.05 4.464l-.707-.707a1 1 0 0 1 1.414-1.414l.707.707ZM3 8a1 1 0 0 0-1-1H1a1 1 0 0 0 0 2h1a1 1 0 0 0 1-1Z"})})}function u0(l){return C.jsx("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",...l,children:C.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.23 3.333C7.757 2.905 7.68 2 7 2a6 6 0 1 0 0 12c.68 0 .758-.905.23-1.332A5.989 5.989 0 0 1 5 8c0-1.885.87-3.568 2.23-4.668ZM12 5a1 1 0 0 1 1 1 1 1 0 0 0 1 1 1 1 0 1 1 0 2 1 1 0 0 0-1 1 1 1 0 1 1-2 0 1 1 0 0 0-1-1 1 1 0 1 1 0-2 1 1 0 0 0 1-1 1 1 0 0 1 1-1Z"})})}function LS(l){let[r,i]=E.useState(!1),{theme:o,setTheme:c}=CS();return E.useEffect(()=>{i(!0)},[]),r?C.jsxs(wS,{as:"div",value:o,onChange:c,...l,children:[C.jsx(ah,{className:"sr-only",children:"Theme"}),C.jsxs(Wh,{className:"flex h-6 w-6 items-center justify-center rounded-lg ring-1 shadow-md shadow-black/5 ring-black/5 dark:bg-slate-700 dark:ring-white/5 dark:ring-inset","aria-label":"Theme",children:[C.jsx(i0,{className:ct("h-4 w-4 dark:hidden","fill-violet-400")}),C.jsx(u0,{className:ct("hidden h-4 w-4 dark:block","fill-violet-400")})]}),C.jsx(e0,{className:"absolute top-full left-1/2 mt-3 w-36 -translate-x-1/2 space-y-1 rounded-xl bg-white p-3 text-sm font-medium ring-1 shadow-md shadow-black/5 ring-black/5 dark:bg-slate-800 dark:ring-white/5",children:NS.map(f=>C.jsx(t0,{value:f.value,className:({focus:p,selected:m})=>ct("flex cursor-pointer items-center rounded-[0.625rem] p-1 select-none",{"text-violet-500":m,"text-slate-900 dark:text-white":p&&!m,"text-slate-700 dark:text-slate-400":!p&&!m,"bg-slate-100 dark:bg-slate-900/40":p}),children:({selected:p})=>C.jsxs(C.Fragment,{children:[C.jsx("div",{className:"rounded-md bg-white p-1 ring-1 shadow-sm ring-slate-900/5 dark:bg-slate-700 dark:ring-white/5 dark:ring-inset",children:C.jsx(f.icon,{className:ct("h-4 w-4",p?"fill-violet-400 dark:fill-violet-400":"fill-slate-400")})}),C.jsx("div",{className:"ml-3",children:f.name})]})},f.value))})]}):C.jsx("div",{className:"h-6 w-6"})}function kS(l=300){const[r,i]=E.useState(""),[o,c]=E.useState("");return E.useEffect(()=>{const f=setTimeout(()=>{i(o)},l);return()=>{clearTimeout(f)}},[o]),[r,c]}var uc={exports:{}},Em;function jS(){return Em||(Em=1,function(l){l.exports=function(r){var i={};function o(c){if(i[c])return i[c].exports;var f=i[c]={exports:{},id:c,loaded:!1};return r[c].call(f.exports,f,f.exports,o),f.loaded=!0,f.exports}return o.m=r,o.c=i,o.p="",o(0)}([function(r,i,o){r.exports=o(1)},function(r,i,o){Object.defineProperty(i,"__esModule",{value:!0});function c(m){return m&&m.__esModule?m:{default:m}}var f=o(2),p=c(f);i.default=p.default,r.exports=i.default},function(r,i,o){Object.defineProperty(i,"__esModule",{value:!0});var c=Object.assign||function(w){for(var T=1;T<arguments.length;T++){var v=arguments[T];for(var x in v)Object.prototype.hasOwnProperty.call(v,x)&&(w[x]=v[x])}return w};i.default=S;function f(w){return w&&w.__esModule?w:{default:w}}function p(w,T){var v={};for(var x in w)T.indexOf(x)>=0||Object.prototype.hasOwnProperty.call(w,x)&&(v[x]=w[x]);return v}var m=o(3),d=o(4),h=o(5),y=f(h);function S(w){var T=w.activeClassName,v=T===void 0?"":T,x=w.activeIndex,A=x===void 0?-1:x,N=w.activeStyle,M=w.autoEscape,_=w.caseSensitive,$=_===void 0?!1:_,F=w.className,J=w.findChunks,W=w.highlightClassName,le=W===void 0?"":W,te=w.highlightStyle,re=te===void 0?{}:te,P=w.highlightTag,oe=P===void 0?"mark":P,ye=w.sanitize,ce=w.searchWords,ge=w.textToHighlight,z=w.unhighlightTag,Q=z===void 0?"span":z,V=w.unhighlightClassName,ne=V===void 0?"":V,O=w.unhighlightStyle,U=p(w,["activeClassName","activeIndex","activeStyle","autoEscape","caseSensitive","className","findChunks","highlightClassName","highlightStyle","highlightTag","sanitize","searchWords","textToHighlight","unhighlightTag","unhighlightClassName","unhighlightStyle"]),I=(0,m.findAll)({autoEscape:M,caseSensitive:$,findChunks:J,sanitize:ye,searchWords:ce,textToHighlight:ge}),X=oe,K=-1,ue="",ie=void 0,Me=function(Yt){var mt={};for(var Se in Yt)mt[Se.toLowerCase()]=Yt[Se];return mt},Te=(0,y.default)(Me);return(0,d.createElement)("span",c({className:F},U,{children:I.map(function(ke,Yt){var mt=ge.substr(ke.start,ke.end-ke.start);if(ke.highlight){K++;var Se=void 0;typeof le=="object"?$?Se=le[mt]:(le=Te(le),Se=le[mt.toLowerCase()]):Se=le;var Be=K===+A;ue=Se+" "+(Be?v:""),ie=Be===!0&&N!=null?Object.assign({},re,N):re;var nt={children:mt,className:ue,key:Yt,style:ie};return typeof X!="string"&&(nt.highlightIndex=K),(0,d.createElement)(X,nt)}else return(0,d.createElement)(Q,{children:mt,className:ne,key:Yt,style:O})})}))}r.exports=i.default},function(r,i){r.exports=function(o){var c={};function f(p){if(c[p])return c[p].exports;var m=c[p]={exports:{},id:p,loaded:!1};return o[p].call(m.exports,m,m.exports,f),m.loaded=!0,m.exports}return f.m=o,f.c=c,f.p="",f(0)}([function(o,c,f){o.exports=f(1)},function(o,c,f){Object.defineProperty(c,"__esModule",{value:!0});var p=f(2);Object.defineProperty(c,"combineChunks",{enumerable:!0,get:function(){return p.combineChunks}}),Object.defineProperty(c,"fillInChunks",{enumerable:!0,get:function(){return p.fillInChunks}}),Object.defineProperty(c,"findAll",{enumerable:!0,get:function(){return p.findAll}}),Object.defineProperty(c,"findChunks",{enumerable:!0,get:function(){return p.findChunks}})},function(o,c){Object.defineProperty(c,"__esModule",{value:!0}),c.findAll=function(S){var w=S.autoEscape,T=S.caseSensitive,v=T===void 0?!1:T,x=S.findChunks,A=x===void 0?p:x,N=S.sanitize,M=S.searchWords,_=S.textToHighlight;return m({chunksToHighlight:f({chunks:A({autoEscape:w,caseSensitive:v,sanitize:N,searchWords:M,textToHighlight:_})}),totalLength:_?_.length:0})};var f=c.combineChunks=function(S){var w=S.chunks;return w=w.sort(function(T,v){return T.start-v.start}).reduce(function(T,v){if(T.length===0)return[v];var x=T.pop();if(v.start<=x.end){var A=Math.max(x.end,v.end);T.push({start:x.start,end:A})}else T.push(x,v);return T},[]),w},p=function(S){var w=S.autoEscape,T=S.caseSensitive,v=S.sanitize,x=v===void 0?d:v,A=S.searchWords,N=S.textToHighlight;return N=x(N),A.filter(function(M){return M}).reduce(function(M,_){_=x(_),w&&(_=h(_));for(var $=new RegExp(_,T?"g":"gi"),F=void 0;F=$.exec(N);){var J=F.index,W=$.lastIndex;W>J&&M.push({start:J,end:W}),F.index==$.lastIndex&&$.lastIndex++}return M},[])};c.findChunks=p;var m=c.fillInChunks=function(S){var w=S.chunksToHighlight,T=S.totalLength,v=[],x=function(M,_,$){_-M>0&&v.push({start:M,end:_,highlight:$})};if(w.length===0)x(0,T,!1);else{var A=0;w.forEach(function(N){x(A,N.start,!1),x(N.start,N.end,!0),A=N.end}),x(A,T,!1)}return v};function d(y){return y}function h(y){return y.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}}])},function(r,i){r.exports=gu()},function(r,i){var o=function(p,m){return p===m};function c(f){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:o,m=void 0,d=[],h=void 0,y=!1,S=function(v,x){return p(v,d[x])},w=function(){for(var v=arguments.length,x=Array(v),A=0;A<v;A++)x[A]=arguments[A];return y&&m===this&&x.length===d.length&&x.every(S)||(y=!0,m=this,d=x,h=f.apply(this,x)),h};return w}r.exports=c}])}(uc)),uc.exports}var zS=jS();const BS=Tc(zS);function HS(l,r){const i=`URL ${l} passed to ${r}() is invalid`;return Lg(qv(l),i),l.startsWith(location.origin)&&(l=l.slice(location.origin.length)),Lg(l.startsWith("/")||Gv(l),i),l}Vv();async function US(l,r){HS(l,"navigate"),await Yv;const{keepScrollPosition:i,overwriteLastHistoryEntry:o,pageContext:c}={};await Zv({scrollTarget:{preserveScroll:i??!1},urlOriginal:l,overwriteLastHistoryEntry:o,isBackwardNavigation:!1,pageContextInitClient:c})}function o0(l,r){const i=new Error(l);return i.stack=$S(i.stack,r),i}function $S(l,r){if(!l)return l;const i=qS(l);let o=0;return i.filter(f=>f.includes(" (internal/")||f.includes(" (node:internal")?!1:o<r&&FS(f)?(o++,!1):!0).join(`
`)}function FS(l){return l.startsWith("    at ")}function qS(l){return l.split(/\r?\n/)}function GS(l,r){const i=globalThis[xm]=globalThis[xm]||{};return i[l]=i[l]||r}const xm="_telefunc",YS="0.1.87",ZS={projectVersion:YS},s0=`[telefunc@${ZS.projectVersion}]`,VS=`${s0}[Bug]`,XS=`${s0}[Wrong Usage]`,c0=2;function xl(l,r){if(l)return;throw o0([VS,"You stumbled upon a Telefunc bug. Go to https://github.com/brillout/telefunc/issues/new and copy-paste this error. A maintainer will fix the bug (usually under 24 hours).",""].join(" "),c0)}function Gt(l,r){if(l)return;const i=r.startsWith("[")?"":" ";throw o0(`${XS}${i}${r}`,c0)}GS("assert.ts",{alreadyLogged:new Set});function QS(){const l=PS();return xl(l===!KS()),l}function KS(){return!!(typeof process<"u"&&process&&process.versions&&process.versions.node)}function PS(){return typeof window<"u"}function JS(l){return typeof l=="object"&&l!==null}function Nr(l,r){Object.assign(l,r)}function IS(l){return l.charAt(0).toLowerCase()+l.slice(1)}function WS(l){return l instanceof Function||typeof l=="function"}function e2(l,r,i="unknown"){if(!(typeof l=="object"&&l!==null&&r in l))return!1;if(i==="unknown")return!0;const c=l[r];return i==="array"?Array.isArray(c):i==="string[]"?Array.isArray(c)&&c.every(f=>typeof f=="string"):i==="function"?WS(c):Array.isArray(i)?typeof c=="string"&&i.includes(c):i==="null"?c===null:i==="true"?c===!0:typeof c===i}const Sm=new Proxy({},{set:n2});function t2(){var l;return{httpHeaders:(l=Sm.httpHeaders)!==null&&l!==void 0?l:null,telefuncUrl:Sm.telefuncUrl||"/_telefunc"}}function n2(l,r,i){if(r==="telefuncUrl"){Gt(typeof i=="string","config.telefuncUrl should be a string");const o=c=>/^\d/.test(c);Gt(i.startsWith("/")||i.startsWith("http")||o(i),`config.telefuncUrl (client-side) is '${i}' but it should be one of the following: a URL pathname (such as '/_telefunc'), a URL with origin (such as 'https://example.org/_telefunc'), or an IP address (such as '192.158.1.38') — see https://telefunc.com/telefuncUrl`),l[r]=i}else r==="httpHeaders"?(Gt(typeof i=="object"&&i!==null&&Object.values(i).every(o=>typeof o=="string"),"`config.httpHeaders` should be an object of strings"),l[r]=i):Gt(!1,`Unknown config.${r}`);return!0}function l2(l){(window.__telefunc_errorListeners||[]).forEach(r=>{r(l)})}const ga="POST",a2=200,f0=403,r2=500,i2=400;async function u2(l){let r;try{r=await fetch(l.telefuncUrl,{method:ga,body:l.httpRequestBody,credentials:"same-origin",headers:{...l.httpHeaders,"Content-Type":"text/plain"}})}catch{const c=new Error("No Server Connection");throw Nr(c,{isConnectionError:!0}),c}const i=r.status;if(i===a2){const{ret:o}=await Tm(r,l);return{telefunctionReturn:o}}else if(i===f0){const{ret:o}=await Tm(r,l),c=o,f=new Error(`Aborted telefunction call ${l.telefunctionName}() (${l.telefuncFilePath}).`);throw Nr(f,{isAbort:!0,abortValue:c}),l2(f),f}else if(i===r2){const o=await r.text(),c="Internal Server Error";throw Gt(o===c,Mr({reason:"an HTTP response body that Telefunc never generates",method:ga,callContext:l})),new Error(c)}else if(i===i2){const o=await r.text();Gt(o==="Invalid Telefunc Request",Mr({reason:"an HTTP response body that Telefunc never generates",method:ga,callContext:l})),Gt(!1,"Try again. You may need to reload the page. (The client and server are/was out-of-sync.)")}else Gt(i!==404,Mr({reason:"a 404 HTTP response",method:ga,isNotInstalled:!0,callContext:l})),Gt(!1,Mr({reason:`a status code \`${i}\` which Telefunc never uses`,method:ga,callContext:l}))}async function Tm(l,r){const i=await l.text(),o=Xv(i);Gt(JS(o)&&"ret"in o,Mr({reason:"an HTTP response body that Telefunc never generates",method:ga,callContext:r})),xl(l.status!==f0||"abort"in o);const{ret:c}=o;return{ret:c}}function Mr({reason:l,callContext:r,method:i,isNotInstalled:o}){let c=["Telefunc doesn't seem to be "];return o||c.push("(properly) "),c.push("installed on your server"),l&&c.push(`: the HTTP ${i} \`${r.telefuncUrl}\` request returned `,l),c.push(", see https://telefunc.com/install"),c.join("")}function o2(l){return typeof l=="object"&&l!==null&&String(l.$$typeof)==="Symbol(react.element)"}function s2(l){return l instanceof Function||typeof l=="function"}function c2(l){return!(typeof l!="object"||l===null||Array.isArray(l))}function f2(l){const r=new WeakMap;return function(i,o){const f=[...r.get(this)??[]];if(i!==""){const p=Array.isArray(this)?parseInt(i,10):i;f.push(p)}return d2(o)&&r.set(o,f),l.call(this,i,o,f)}}function d2(l){return l===Object(l)}function p2(l,{forbidReactElements:r,space:i,valueName:o,sortObjectKeys:c,replacer:f}={}){const p=d=>JSON.stringify(d,f2(m),i);return p(l);function m(d,h,y){{const w=f?.call(this,d,h);if(w)return w.replacement}if(r&&o2(h))throw wm({value:h,valueType:"React element",path:y,rootValueName:o});if(s2(h)){const w=h.name;throw wm({value:h,valueType:"function",path:y,rootValueName:o,problematicValueName:y.length===0?w:void 0})}const S=this[d];for(const{is:w,serialize:T}of Qv.slice().reverse())if(w(S))return T(S,p);if(c&&c2(h)){const w={};Object.keys(h).sort().forEach(T=>{w[T]=h[T]}),h=w}return h}}function wm({value:l,valueType:r,path:i,rootValueName:o,problematicValueName:c}){const f=m2({path:i,rootValueName:o,problematicValueName:c}),p=`cannot serialize ${f} because it's a ${r}`,m=new Error(`[@brillout/json-serializer](https://github.com/brillout/json-serializer) ${p}.`),d=d0(i,!0),h={[g2]:!0,messageCore:p,value:l,path:i,pathString:d,subjectName:f};return Object.assign(m,h),m}const g2="_isJsonSerializerError";function m2({path:l,rootValueName:r,problematicValueName:i}){const o=d0(l,!r);let c;return o?(i?c=i+" at ":c="",c=c+(r||"")+o):c=r||i||"value",c}function d0(l,r){return l.map((o,c)=>typeof o=="number"?`[${o}]`:c===0&&r&&p0(o)?o:h2(o)).join("")}function h2(l){return typeof l=="string"&&p0(l)?`.${l}`:`[${JSON.stringify(l)}]`}function p0(l){return/^[a-z0-9\$_]+$/i.test(l)}function y2(l){const r={file:l.telefuncFilePath,name:l.telefunctionName,args:l.telefunctionArgs};xl(typeof l.telefuncFilePath=="string"),xl(typeof l.telefunctionName=="string"),xl(Array.isArray(l.telefunctionArgs));let i;try{i=p2(r,{forbidReactElements:!0})}catch(o){xl(e2(o,"message","string")),Gt(!1,[`Cannot serialize arguments for telefunction ${l.telefunctionName}() (${l.telefuncFilePath}).`,"Make sure that the arguments pass to telefunction calls are always serializable.",`Serialization error: ${IS(o.message)}`].join(" "))}return xl(i),i}async function v2(l,r,i){Gt(QS(),"The Telefunc Client is meant to be run only in the browser.");const o={};Nr(o,{telefuncFilePath:l,telefunctionName:r,telefunctionArgs:i}),Nr(o,t2());{const f=y2(o);Nr(o,{httpRequestBody:f})}const{telefunctionReturn:c}=await u2(o);return c}const g0=(...l)=>v2("/components/syntax/Search.telefunc.ts","onSearch",l);g0._key="/components/syntax/Search.telefunc.ts:onSearch";const Gr=E.createContext({query:"",close:()=>{},results:[],isLoading:!1,isOpened:!1,setQuery:()=>{},setIsOpened:()=>{},setIsLoading:()=>{},setResults:()=>{}});function m0(l){return C.jsx("svg",{"aria-hidden":"true",viewBox:"0 0 20 20",...l,children:C.jsx("path",{d:"M16.293 17.707a1 1 0 0 0 1.414-1.414l-1.414 1.414ZM9 14a5 5 0 0 1-5-5H2a7 7 0 0 0 7 7v-2ZM4 9a5 5 0 0 1 5-5V2a7 7 0 0 0-7 7h2Zm5-5a5 5 0 0 1 5 5h2a7 7 0 0 0-7-7v2Zm8.707 12.293-3.757-3.757-1.414 1.414 3.757 3.757 1.414-1.414ZM14 9a4.98 4.98 0 0 1-1.464 3.536l1.414 1.414A6.98 6.98 0 0 0 16 9h-2Zm-1.464 3.536A4.98 4.98 0 0 1 9 14v2a6.98 6.98 0 0 0 4.95-2.05l-1.414-1.414Z"})})}function b2(l){const r=E.useId();return C.jsxs("svg",{viewBox:"0 0 20 20",fill:"none","aria-hidden":"true",...l,children:[C.jsx("circle",{cx:"10",cy:"10",r:"5.5",strokeLinejoin:"round"}),C.jsx("path",{stroke:`url(#${r})`,strokeLinecap:"round",strokeLinejoin:"round",d:"M15.5 10a5.5 5.5 0 1 0-5.5 5.5"}),C.jsx("defs",{children:C.jsxs("linearGradient",{id:r,x1:"13",x2:"9.5",y1:"9",y2:"15",gradientUnits:"userSpaceOnUse",children:[C.jsx("stop",{stopColor:"currentColor"}),C.jsx("stop",{offset:"1",stopColor:"currentColor",stopOpacity:"0"})]})})]})}function E2(){const{close:l,setQuery:r,query:i,isLoading:o}=E.useContext(Gr);return C.jsxs("div",{className:"group relative flex h-12",children:[C.jsx(m0,{className:"pointer-events-none absolute top-0 left-4 h-full w-5 fill-slate-400 dark:fill-slate-500"}),C.jsx("input",{"data-autofocus":!0,className:ct("flex-auto appearance-none bg-transparent pl-12 text-slate-900 outline-hidden placeholder:text-slate-400 focus:w-full focus:flex-none sm:text-sm dark:text-white [&::-webkit-search-cancel-button]:hidden [&::-webkit-search-decoration]:hidden [&::-webkit-search-results-button]:hidden [&::-webkit-search-results-decoration]:hidden",o?"pr-11":"pr-4"),onKeyDown:c=>{c.key==="Escape"&&(document.activeElement instanceof HTMLElement&&document.activeElement.blur(),l())},value:i,onChange:c=>r(c.currentTarget.value)}),o&&C.jsx("div",{className:"absolute inset-y-0 right-3 flex items-center",children:C.jsx(b2,{className:"h-6 w-6 animate-spin stroke-slate-200 text-slate-400 dark:stroke-slate-700 dark:text-slate-500"})})]})}function Am({text:l,query:r}){return C.jsx(BS,{highlightClassName:"group-aria-selected:underline bg-transparent text-violet-600 dark:text-violet-400",searchWords:[r],autoEscape:!0,textToHighlight:l})}function x2({result:l,query:r}){const{close:i}=E.useContext(Gr),o=E.useId(),f=[n0.find(p=>p.links.find(m=>m.href===l.url.split("#")[0]))?.title,l.pageTitle].filter(p=>typeof p=="string");return C.jsxs("li",{className:"group block cursor-default rounded-lg px-3 py-2 aria-selected:bg-slate-100 dark:aria-selected:bg-slate-700/30 hover:bg-slate-100 dark:hover:bg-slate-700/30","aria-labelledby":`${o}-hierarchy ${o}-title`,role:"option",tabIndex:0,onClick:()=>{US(l.url),i()},children:[C.jsx("div",{id:`${o}-title`,"aria-hidden":"true",className:"text-sm text-slate-700 group-aria-selected:text-violet-600 dark:text-slate-300 dark:group-aria-selected:text-violet-400",children:C.jsx(Am,{text:l.title,query:r})}),f.length>0&&C.jsx("div",{id:`${o}-hierarchy`,"aria-hidden":"true",className:"mt-0.5 truncate text-xs whitespace-nowrap text-slate-500 dark:text-slate-400",children:f.map((p,m,d)=>C.jsxs(E.Fragment,{children:[C.jsx(Am,{text:p,query:r}),C.jsx("span",{className:m===d.length-1?"sr-only":"mx-2 text-slate-300 dark:text-slate-700",children:"/"})]},m))})]})}function S2(){const{results:l,query:r}=E.useContext(Gr);return l.length===0?C.jsxs("p",{className:"px-4 py-8 text-center text-sm text-slate-700 dark:text-slate-400",children:["Aucun résultat pour “",C.jsx("span",{className:"break-words text-slate-900 dark:text-white",children:r}),"”"]}):C.jsx("ul",{children:l.map(i=>C.jsx(x2,{result:i,query:r},i.url))})}function T2({className:l}){const{close:r,isOpened:i,setIsOpened:o,results:c}=E.useContext(Gr);return E.useEffect(()=>{if(i)return;function f(p){p.key==="k"&&(p.metaKey||p.ctrlKey)&&(p.preventDefault(),o(!0))}return window.addEventListener("keydown",f),()=>{window.removeEventListener("keydown",f)}},[i,o]),C.jsx(C.Fragment,{children:C.jsxs(Jh,{open:i,onClose:r,className:ct("fixed inset-0 z-50",l),children:[C.jsx("div",{className:"fixed inset-0 bg-slate-900/50 backdrop-blur-sm"}),C.jsx("div",{className:"fixed inset-0 overflow-y-auto px-4 py-4 sm:px-6 sm:py-20 md:py-32 lg:px-8 lg:py-[15vh]",children:C.jsx(Bc,{className:"mx-auto transform-gpu overflow-hidden rounded-xl bg-white shadow-xl sm:max-w-xl dark:bg-slate-800 dark:ring-1 dark:ring-slate-700",children:C.jsxs("form",{onSubmit:f=>f.preventDefault(),children:[C.jsx(E2,{}),C.jsx("div",{className:"border-t border-slate-200 bg-white px-2 py-3 empty:hidden dark:border-slate-400/10 dark:bg-slate-800",children:c.length>0&&C.jsx(S2,{})})]})})})]})})}function w2(){const[l,r]=E.useState([]),[i,o]=kS(),[c,f]=E.useState(),[p,m]=E.useState(!1),[d,h]=E.useState(!1),[y,S]=E.useState("");return E.useEffect(()=>{const w=navigator.userAgentData?.platform||navigator.platform;f(/(Mac|iPhone|iPod|iPad)/i.test(w)?"⌘":"Ctrl ")},[]),E.useEffect(()=>{o(y)},[y]),E.useEffect(()=>{if(i.length===0){m(!1),r([]);return}m(!0),g0(i,5).then(r).finally(()=>{m(!1)})},[i]),C.jsxs(Gr.Provider,{value:{query:y,close:()=>h(!1),results:l,isLoading:p,isOpened:d,setQuery:S,setIsOpened:h,setIsLoading:m,setResults:r},children:[C.jsxs("button",{type:"button",className:"group flex h-6 w-6 items-center justify-center sm:justify-start md:h-auto md:w-80 md:flex-none md:rounded-lg md:py-2.5 md:pr-3.5 md:pl-4 md:text-sm md:ring-1 md:ring-slate-200 md:hover:ring-slate-300 lg:w-96 dark:md:bg-slate-800/75 dark:md:ring-white/5 dark:md:ring-inset dark:md:hover:bg-slate-700/40 dark:md:hover:ring-slate-500",onClick:()=>h(!0),children:[C.jsx(m0,{className:"h-5 w-5 flex-none fill-slate-400 group-hover:fill-slate-500 md:group-hover:fill-slate-400 dark:fill-slate-500"}),C.jsx("span",{className:"sr-only md:not-sr-only md:ml-2 md:text-slate-500 md:dark:text-slate-400",children:"Rechercher..."}),c&&C.jsxs("kbd",{className:"ml-auto hidden font-medium text-slate-400 md:block dark:text-slate-500",children:[C.jsx("kbd",{className:"font-sans",children:c}),C.jsx("kbd",{className:"font-sans",children:"K"})]})]}),C.jsx(T2,{})]})}function A2(l){const r=E.useId();return C.jsxs("svg",{"aria-hidden":"true",viewBox:"0 0 668 1069",width:668,height:1069,fill:"none",...l,children:[C.jsx("defs",{children:C.jsx("clipPath",{id:`${r}-clip-path`,children:C.jsx("path",{fill:"#fff",transform:"rotate(-180 334 534.4)",d:"M0 0h668v1068.8H0z"})})}),C.jsxs("g",{opacity:".4",clipPath:`url(#${r}-clip-path)`,strokeWidth:4,children:[C.jsx("path",{opacity:".3",d:"M584.5 770.4v-474M484.5 770.4v-474M384.5 770.4v-474M283.5 769.4v-474M183.5 768.4v-474M83.5 767.4v-474",stroke:"#334155"}),C.jsx("path",{d:"M83.5 221.275v6.587a50.1 50.1 0 0 0 22.309 41.686l55.581 37.054a50.102 50.102 0 0 1 22.309 41.686v6.587M83.5 716.012v6.588a50.099 50.099 0 0 0 22.309 41.685l55.581 37.054a50.102 50.102 0 0 1 22.309 41.686v6.587M183.7 584.5v6.587a50.1 50.1 0 0 0 22.31 41.686l55.581 37.054a50.097 50.097 0 0 1 22.309 41.685v6.588M384.101 277.637v6.588a50.1 50.1 0 0 0 22.309 41.685l55.581 37.054a50.1 50.1 0 0 1 22.31 41.686v6.587M384.1 770.288v6.587a50.1 50.1 0 0 1-22.309 41.686l-55.581 37.054A50.099 50.099 0 0 0 283.9 897.3v6.588",stroke:"#334155"}),C.jsx("path",{d:"M384.1 770.288v6.587a50.1 50.1 0 0 1-22.309 41.686l-55.581 37.054A50.099 50.099 0 0 0 283.9 897.3v6.588M484.3 594.937v6.587a50.1 50.1 0 0 1-22.31 41.686l-55.581 37.054A50.1 50.1 0 0 0 384.1 721.95v6.587M484.3 872.575v6.587a50.1 50.1 0 0 1-22.31 41.686l-55.581 37.054a50.098 50.098 0 0 0-22.309 41.686v6.582M584.501 663.824v39.988a50.099 50.099 0 0 1-22.31 41.685l-55.581 37.054a50.102 50.102 0 0 0-22.309 41.686v6.587M283.899 945.637v6.588a50.1 50.1 0 0 1-22.309 41.685l-55.581 37.05a50.12 50.12 0 0 0-22.31 41.69v6.59M384.1 277.637c0 19.946 12.763 37.655 31.686 43.962l137.028 45.676c18.923 6.308 31.686 24.016 31.686 43.962M183.7 463.425v30.69c0 21.564 13.799 40.709 34.257 47.529l134.457 44.819c18.922 6.307 31.686 24.016 31.686 43.962M83.5 102.288c0 19.515 13.554 36.412 32.604 40.645l235.391 52.309c19.05 4.234 32.605 21.13 32.605 40.646M83.5 463.425v-58.45M183.699 542.75V396.625M283.9 1068.8V945.637M83.5 363.225v-141.95M83.5 179.524v-77.237M83.5 60.537V0M384.1 630.425V277.637M484.301 830.824V594.937M584.5 1068.8V663.825M484.301 555.275V452.988M584.5 622.075V452.988M384.1 728.537v-56.362M384.1 1068.8v-20.88M384.1 1006.17V770.287M283.9 903.888V759.85M183.699 1066.71V891.362M83.5 1068.8V716.012M83.5 674.263V505.175",stroke:"#334155"}),C.jsx("circle",{cx:"83.5",cy:"384.1",r:"10.438",transform:"rotate(-180 83.5 384.1)",fill:"#1E293B",stroke:"#334155"}),C.jsx("circle",{cx:"83.5",cy:"200.399",r:"10.438",transform:"rotate(-180 83.5 200.399)",stroke:"#334155"}),C.jsx("circle",{cx:"83.5",cy:"81.412",r:"10.438",transform:"rotate(-180 83.5 81.412)",stroke:"#334155"}),C.jsx("circle",{cx:"183.699",cy:"375.75",r:"10.438",transform:"rotate(-180 183.699 375.75)",fill:"#1E293B",stroke:"#334155"}),C.jsx("circle",{cx:"183.699",cy:"563.625",r:"10.438",transform:"rotate(-180 183.699 563.625)",fill:"#1E293B",stroke:"#334155"}),C.jsx("circle",{cx:"384.1",cy:"651.3",r:"10.438",transform:"rotate(-180 384.1 651.3)",fill:"#1E293B",stroke:"#334155"}),C.jsx("circle",{cx:"484.301",cy:"574.062",r:"10.438",transform:"rotate(-180 484.301 574.062)",fill:"#0EA5E9",fillOpacity:".42",stroke:"#0EA5E9"}),C.jsx("circle",{cx:"384.1",cy:"749.412",r:"10.438",transform:"rotate(-180 384.1 749.412)",fill:"#1E293B",stroke:"#334155"}),C.jsx("circle",{cx:"384.1",cy:"1027.05",r:"10.438",transform:"rotate(-180 384.1 1027.05)",stroke:"#334155"}),C.jsx("circle",{cx:"283.9",cy:"924.763",r:"10.438",transform:"rotate(-180 283.9 924.763)",stroke:"#334155"}),C.jsx("circle",{cx:"183.699",cy:"870.487",r:"10.438",transform:"rotate(-180 183.699 870.487)",stroke:"#334155"}),C.jsx("circle",{cx:"283.9",cy:"738.975",r:"10.438",transform:"rotate(-180 283.9 738.975)",fill:"#1E293B",stroke:"#334155"}),C.jsx("circle",{cx:"83.5",cy:"695.138",r:"10.438",transform:"rotate(-180 83.5 695.138)",fill:"#1E293B",stroke:"#334155"}),C.jsx("circle",{cx:"83.5",cy:"484.3",r:"10.438",transform:"rotate(-180 83.5 484.3)",fill:"#0EA5E9",fillOpacity:".42",stroke:"#0EA5E9"}),C.jsx("circle",{cx:"484.301",cy:"432.112",r:"10.438",transform:"rotate(-180 484.301 432.112)",fill:"#1E293B",stroke:"#334155"}),C.jsx("circle",{cx:"584.5",cy:"432.112",r:"10.438",transform:"rotate(-180 584.5 432.112)",fill:"#1E293B",stroke:"#334155"}),C.jsx("circle",{cx:"584.5",cy:"642.95",r:"10.438",transform:"rotate(-180 584.5 642.95)",fill:"#1E293B",stroke:"#334155"}),C.jsx("circle",{cx:"484.301",cy:"851.699",r:"10.438",transform:"rotate(-180 484.301 851.699)",stroke:"#334155"}),C.jsx("circle",{cx:"384.1",cy:"256.763",r:"10.438",transform:"rotate(-180 384.1 256.763)",stroke:"#334155"})]})]})}const O2="/assets/static/blur-indigo.Cbr0CUfr.png",Om="/assets/static/blur-cyan.DJww6-ho.png";function oc(l){return C.jsx("img",{...l,src:l.src,alt:l.alt,loading:"lazy"})}var R2=Object.create,Du=Object.defineProperty,_2=Object.defineProperties,M2=Object.getOwnPropertyDescriptor,D2=Object.getOwnPropertyDescriptors,h0=Object.getOwnPropertyNames,pu=Object.getOwnPropertySymbols,C2=Object.getPrototypeOf,Uc=Object.prototype.hasOwnProperty,y0=Object.prototype.propertyIsEnumerable,Rm=(l,r,i)=>r in l?Du(l,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):l[r]=i,ln=(l,r)=>{for(var i in r||(r={}))Uc.call(r,i)&&Rm(l,i,r[i]);if(pu)for(var i of pu(r))y0.call(r,i)&&Rm(l,i,r[i]);return l},Cu=(l,r)=>_2(l,D2(r)),v0=(l,r)=>{var i={};for(var o in l)Uc.call(l,o)&&r.indexOf(o)<0&&(i[o]=l[o]);if(l!=null&&pu)for(var o of pu(l))r.indexOf(o)<0&&y0.call(l,o)&&(i[o]=l[o]);return i},N2=(l,r)=>function(){return r||(0,l[h0(l)[0]])((r={exports:{}}).exports,r),r.exports},L2=(l,r)=>{for(var i in r)Du(l,i,{get:r[i],enumerable:!0})},k2=(l,r,i,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let c of h0(r))!Uc.call(l,c)&&c!==i&&Du(l,c,{get:()=>r[c],enumerable:!(o=M2(r,c))||o.enumerable});return l},j2=(l,r,i)=>(i=l!=null?R2(C2(l)):{},k2(!l||!l.__esModule?Du(i,"default",{value:l,enumerable:!0}):i,l)),z2=N2({"../../node_modules/.pnpm/prismjs@1.29.0_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(l,r){var i=function(){var o=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,c=0,f={},p={util:{encode:function v(x){return x instanceof m?new m(x.type,v(x.content),x.alias):Array.isArray(x)?x.map(v):x.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(v){return Object.prototype.toString.call(v).slice(8,-1)},objId:function(v){return v.__id||Object.defineProperty(v,"__id",{value:++c}),v.__id},clone:function v(x,A){A=A||{};var N,M;switch(p.util.type(x)){case"Object":if(M=p.util.objId(x),A[M])return A[M];N={},A[M]=N;for(var _ in x)x.hasOwnProperty(_)&&(N[_]=v(x[_],A));return N;case"Array":return M=p.util.objId(x),A[M]?A[M]:(N=[],A[M]=N,x.forEach(function($,F){N[F]=v($,A)}),N);default:return x}},getLanguage:function(v){for(;v;){var x=o.exec(v.className);if(x)return x[1].toLowerCase();v=v.parentElement}return"none"},setLanguage:function(v,x){v.className=v.className.replace(RegExp(o,"gi"),""),v.classList.add("language-"+x)},isActive:function(v,x,A){for(var N="no-"+x;v;){var M=v.classList;if(M.contains(x))return!0;if(M.contains(N))return!1;v=v.parentElement}return!!A}},languages:{plain:f,plaintext:f,text:f,txt:f,extend:function(v,x){var A=p.util.clone(p.languages[v]);for(var N in x)A[N]=x[N];return A},insertBefore:function(v,x,A,N){N=N||p.languages;var M=N[v],_={};for(var $ in M)if(M.hasOwnProperty($)){if($==x)for(var F in A)A.hasOwnProperty(F)&&(_[F]=A[F]);A.hasOwnProperty($)||(_[$]=M[$])}var J=N[v];return N[v]=_,p.languages.DFS(p.languages,function(W,le){le===J&&W!=v&&(this[W]=_)}),_},DFS:function v(x,A,N,M){M=M||{};var _=p.util.objId;for(var $ in x)if(x.hasOwnProperty($)){A.call(x,$,x[$],N||$);var F=x[$],J=p.util.type(F);J==="Object"&&!M[_(F)]?(M[_(F)]=!0,v(F,A,null,M)):J==="Array"&&!M[_(F)]&&(M[_(F)]=!0,v(F,A,$,M))}}},plugins:{},highlight:function(v,x,A){var N={code:v,grammar:x,language:A};if(p.hooks.run("before-tokenize",N),!N.grammar)throw new Error('The language "'+N.language+'" has no grammar.');return N.tokens=p.tokenize(N.code,N.grammar),p.hooks.run("after-tokenize",N),m.stringify(p.util.encode(N.tokens),N.language)},tokenize:function(v,x){var A=x.rest;if(A){for(var N in A)x[N]=A[N];delete x.rest}var M=new y;return S(M,M.head,v),h(v,M,x,M.head,0),T(M)},hooks:{all:{},add:function(v,x){var A=p.hooks.all;A[v]=A[v]||[],A[v].push(x)},run:function(v,x){var A=p.hooks.all[v];if(!(!A||!A.length))for(var N=0,M;M=A[N++];)M(x)}},Token:m};function m(v,x,A,N){this.type=v,this.content=x,this.alias=A,this.length=(N||"").length|0}m.stringify=function v(x,A){if(typeof x=="string")return x;if(Array.isArray(x)){var N="";return x.forEach(function(J){N+=v(J,A)}),N}var M={type:x.type,content:v(x.content,A),tag:"span",classes:["token",x.type],attributes:{},language:A},_=x.alias;_&&(Array.isArray(_)?Array.prototype.push.apply(M.classes,_):M.classes.push(_)),p.hooks.run("wrap",M);var $="";for(var F in M.attributes)$+=" "+F+'="'+(M.attributes[F]||"").replace(/"/g,"&quot;")+'"';return"<"+M.tag+' class="'+M.classes.join(" ")+'"'+$+">"+M.content+"</"+M.tag+">"};function d(v,x,A,N){v.lastIndex=x;var M=v.exec(A);if(M&&N&&M[1]){var _=M[1].length;M.index+=_,M[0]=M[0].slice(_)}return M}function h(v,x,A,N,M,_){for(var $ in A)if(!(!A.hasOwnProperty($)||!A[$])){var F=A[$];F=Array.isArray(F)?F:[F];for(var J=0;J<F.length;++J){if(_&&_.cause==$+","+J)return;var W=F[J],le=W.inside,te=!!W.lookbehind,re=!!W.greedy,P=W.alias;if(re&&!W.pattern.global){var oe=W.pattern.toString().match(/[imsuy]*$/)[0];W.pattern=RegExp(W.pattern.source,oe+"g")}for(var ye=W.pattern||W,ce=N.next,ge=M;ce!==x.tail&&!(_&&ge>=_.reach);ge+=ce.value.length,ce=ce.next){var z=ce.value;if(x.length>v.length)return;if(!(z instanceof m)){var Q=1,V;if(re){if(V=d(ye,ge,v,te),!V||V.index>=v.length)break;var I=V.index,ne=V.index+V[0].length,O=ge;for(O+=ce.value.length;I>=O;)ce=ce.next,O+=ce.value.length;if(O-=ce.value.length,ge=O,ce.value instanceof m)continue;for(var U=ce;U!==x.tail&&(O<ne||typeof U.value=="string");U=U.next)Q++,O+=U.value.length;Q--,z=v.slice(ge,O),V.index-=ge}else if(V=d(ye,0,z,te),!V)continue;var I=V.index,X=V[0],K=z.slice(0,I),ue=z.slice(I+X.length),ie=ge+z.length;_&&ie>_.reach&&(_.reach=ie);var Me=ce.prev;K&&(Me=S(x,Me,K),ge+=K.length),w(x,Me,Q);var Te=new m($,le?p.tokenize(X,le):X,P,X);if(ce=S(x,Me,Te),ue&&S(x,ce,ue),Q>1){var ke={cause:$+","+J,reach:ie};h(v,x,A,ce.prev,ge,ke),_&&ke.reach>_.reach&&(_.reach=ke.reach)}}}}}}function y(){var v={value:null,prev:null,next:null},x={value:null,prev:v,next:null};v.next=x,this.head=v,this.tail=x,this.length=0}function S(v,x,A){var N=x.next,M={value:A,prev:x,next:N};return x.next=M,N.prev=M,v.length++,M}function w(v,x,A){for(var N=x.next,M=0;M<A&&N!==v.tail;M++)N=N.next;x.next=N,N.prev=x,v.length-=M}function T(v){for(var x=[],A=v.head.next;A!==v.tail;)x.push(A.value),A=A.next;return x}return p}();r.exports=i,i.default=i}}),Y=j2(z2());Y.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Y.languages.markup.tag.inside["attr-value"].inside.entity=Y.languages.markup.entity,Y.languages.markup.doctype.inside["internal-subset"].inside=Y.languages.markup,Y.hooks.add("wrap",function(l){l.type==="entity"&&(l.attributes.title=l.content.replace(/&amp;/,"&"))}),Object.defineProperty(Y.languages.markup.tag,"addInlined",{value:function(l,o){var i={},i=(i["language-"+o]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Y.languages[o]},i.cdata=/^<!\[CDATA\[|\]\]>$/i,{"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:i}}),o=(i["language-"+o]={pattern:/[\s\S]+/,inside:Y.languages[o]},{});o[l]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return l}),"i"),lookbehind:!0,greedy:!0,inside:i},Y.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(Y.languages.markup.tag,"addAttribute",{value:function(l,r){Y.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+l+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[r,"language-"+r],inside:Y.languages[r]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Y.languages.html=Y.languages.markup,Y.languages.mathml=Y.languages.markup,Y.languages.svg=Y.languages.markup,Y.languages.xml=Y.languages.extend("markup",{}),Y.languages.ssml=Y.languages.xml,Y.languages.atom=Y.languages.xml,Y.languages.rss=Y.languages.xml,function(l){var r={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},i=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,o="(?:[^\\\\-]|"+i.source+")",o=RegExp(o+"-"+o),c={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};l.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:o,inside:{escape:i,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":r,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:i}},"special-escape":r,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":c}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:i,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":c}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}}}(Y),Y.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},Y.languages.javascript=Y.languages.extend("clike",{"class-name":[Y.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Y.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,Y.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Y.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Y.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Y.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Y.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Y.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Y.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Y.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),Y.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),Y.languages.markup&&(Y.languages.markup.tag.addInlined("script","javascript"),Y.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),Y.languages.js=Y.languages.javascript,Y.languages.actionscript=Y.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),Y.languages.actionscript["class-name"].alias="function",delete Y.languages.actionscript.parameter,delete Y.languages.actionscript["literal-property"],Y.languages.markup&&Y.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:Y.languages.markup}}),function(l){var r=/#(?!\{).+/,i={pattern:/#\{[^}]+\}/,alias:"variable"};l.languages.coffeescript=l.languages.extend("javascript",{comment:r,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:i}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),l.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:r,interpolation:i}}}),l.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:l.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:i}}]}),l.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete l.languages.coffeescript["template-string"],l.languages.coffee=l.languages.coffeescript}(Y),function(l){var r=l.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};Object.defineProperty(r,"addSupport",{value:function(i,o){(i=typeof i=="string"?[i]:i).forEach(function(c){var f=function(S){S.inside||(S.inside={}),S.inside.rest=o},p="doc-comment";if(m=l.languages[c]){var m,d=m[p];if((d=d||(m=l.languages.insertBefore(c,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[p])instanceof RegExp&&(d=m[p]={pattern:d}),Array.isArray(d))for(var h=0,y=d.length;h<y;h++)d[h]instanceof RegExp&&(d[h]={pattern:d[h]}),f(d[h]);else f(d)}})}}),r.addSupport(["java","javascript","php"],r)}(Y),function(l){var r=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,r=(l.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+r.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+r.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+r.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+r.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:r,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},l.languages.css.atrule.inside.rest=l.languages.css,l.languages.markup);r&&(r.tag.addInlined("style","css"),r.tag.addAttribute("style","css"))}(Y),function(l){var r=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,r=(l.languages.css.selector={pattern:l.languages.css.selector.pattern,lookbehind:!0,inside:r={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp(`\\[(?:[^[\\]"']|`+r.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[r,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},l.languages.css.atrule.inside["selector-function-argument"].inside=r,l.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}}),{pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0}),i={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};l.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:r,number:i,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,number:i})}(Y),function(l){var r=/[*&][^\s[\]{},]+/,i=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,o="(?:"+i.source+"(?:[ 	]+"+r.source+")?|"+r.source+"(?:[ 	]+"+i.source+")?)",c=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),f=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function p(m,d){d=(d||"").replace(/m/g,"")+"m";var h=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return o}).replace(/<<value>>/g,function(){return m});return RegExp(h,d)}l.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return o})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return o}).replace(/<<key>>/g,function(){return"(?:"+c+"|"+f+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:p(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:p(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:p(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:p(f),lookbehind:!0,greedy:!0},number:{pattern:p(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:i,important:r,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},l.languages.yml=l.languages.yaml}(Y),function(l){var r=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function i(h){return h=h.replace(/<inner>/g,function(){return r}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+h+")")}var o=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,c=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return o}),f=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source,p=(l.languages.markdown=l.languages.extend("markup",{}),l.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:l.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+c+f+"(?:"+c+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+c+f+")(?:"+c+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(o),inside:l.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+c+")"+f+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+c+"$"),inside:{"table-header":{pattern:RegExp(o),alias:"important",inside:l.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:i(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:i(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:i(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:i(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(h){["url","bold","italic","strike","code-snippet"].forEach(function(y){h!==y&&(l.languages.markdown[h].inside.content.inside[y]=l.languages.markdown[y])})}),l.hooks.add("after-tokenize",function(h){h.language!=="markdown"&&h.language!=="md"||function y(S){if(S&&typeof S!="string")for(var w=0,T=S.length;w<T;w++){var v,x=S[w];x.type!=="code"?y(x.content):(v=x.content[1],x=x.content[3],v&&x&&v.type==="code-language"&&x.type==="code-block"&&typeof v.content=="string"&&(v=v.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),v="language-"+(v=(/[a-z][\w-]*/i.exec(v)||[""])[0].toLowerCase()),x.alias?typeof x.alias=="string"?x.alias=[x.alias,v]:x.alias.push(v):x.alias=[v]))}}(h.tokens)}),l.hooks.add("wrap",function(h){if(h.type==="code-block"){for(var y="",S=0,w=h.classes.length;S<w;S++){var T=h.classes[S],T=/language-(.+)/.exec(T);if(T){y=T[1];break}}var v,x=l.languages[y];x?h.content=l.highlight(function(A){return A=A.replace(p,""),A=A.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(N,M){var _;return(M=M.toLowerCase())[0]==="#"?(_=M[1]==="x"?parseInt(M.slice(2),16):Number(M.slice(1)),d(_)):m[M]||N})}(h.content),x,y):y&&y!=="none"&&l.plugins.autoloader&&(v="md-"+new Date().valueOf()+"-"+Math.floor(1e16*Math.random()),h.attributes.id=v,l.plugins.autoloader.loadLanguages(y,function(){var A=document.getElementById(v);A&&(A.innerHTML=l.highlight(A.textContent,l.languages[y],y))}))}}),RegExp(l.languages.markup.tag.pattern.source,"gi")),m={amp:"&",lt:"<",gt:">",quot:'"'},d=String.fromCodePoint||String.fromCharCode;l.languages.md=l.languages.markdown}(Y),Y.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:Y.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},Y.hooks.add("after-tokenize",function(l){if(l.language==="graphql")for(var r=l.tokens.filter(function(v){return typeof v!="string"&&v.type!=="comment"&&v.type!=="scalar"}),i=0;i<r.length;){var o=r[i++];if(o.type==="keyword"&&o.content==="mutation"){var c=[];if(S(["definition-mutation","punctuation"])&&y(1).content==="("){i+=2;var f=w(/^\($/,/^\)$/);if(f===-1)continue;for(;i<f;i++){var p=y(0);p.type==="variable"&&(T(p,"variable-input"),c.push(p.content))}i=f+1}if(S(["punctuation","property-query"])&&y(0).content==="{"&&(i++,T(y(0),"property-mutation"),0<c.length)){var m=w(/^\{$/,/^\}$/);if(m!==-1)for(var d=i;d<m;d++){var h=r[d];h.type==="variable"&&0<=c.indexOf(h.content)&&T(h,"variable-input")}}}}function y(v){return r[i+v]}function S(v,x){x=x||0;for(var A=0;A<v.length;A++){var N=y(A+x);if(!N||N.type!==v[A])return}return 1}function w(v,x){for(var A=1,N=i;N<r.length;N++){var M=r[N],_=M.content;if(M.type==="punctuation"&&typeof _=="string"){if(v.test(_))A++;else if(x.test(_)&&--A===0)return N}}return-1}function T(v,x){var A=v.alias;A?Array.isArray(A)||(v.alias=A=[A]):v.alias=A=[],A.push(x)}}),Y.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(l){var r=l.languages.javascript["template-string"],i=r.pattern.source,o=r.inside.interpolation,c=o.inside["interpolation-punctuation"],f=o.pattern.source;function p(S,w){if(l.languages[S])return{pattern:RegExp("((?:"+w+")\\s*)"+i),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:S}}}}function m(S,w,T){return S={code:S,grammar:w,language:T},l.hooks.run("before-tokenize",S),S.tokens=l.tokenize(S.code,S.grammar),l.hooks.run("after-tokenize",S),S.tokens}function d(S,w,T){var A=l.tokenize(S,{interpolation:{pattern:RegExp(f),lookbehind:!0}}),v=0,x={},A=m(A.map(function(M){if(typeof M=="string")return M;for(var _,$,M=M.content;S.indexOf(($=v++,_="___"+T.toUpperCase()+"_"+$+"___"))!==-1;);return x[_]=M,_}).join(""),w,T),N=Object.keys(x);return v=0,function M(_){for(var $=0;$<_.length;$++){if(v>=N.length)return;var F,J,W,le,te,re,P,oe=_[$];typeof oe=="string"||typeof oe.content=="string"?(F=N[v],(P=(re=typeof oe=="string"?oe:oe.content).indexOf(F))!==-1&&(++v,J=re.substring(0,P),te=x[F],W=void 0,(le={})["interpolation-punctuation"]=c,(le=l.tokenize(te,le)).length===3&&((W=[1,1]).push.apply(W,m(le[1],l.languages.javascript,"javascript")),le.splice.apply(le,W)),W=new l.Token("interpolation",le,o.alias,te),le=re.substring(P+F.length),te=[],J&&te.push(J),te.push(W),le&&(M(re=[le]),te.push.apply(te,re)),typeof oe=="string"?(_.splice.apply(_,[$,1].concat(te)),$+=te.length-1):oe.content=te)):(P=oe.content,Array.isArray(P)?M(P):M([P]))}}(A),new l.Token(T,A,"language-"+T,S)}l.languages.javascript["template-string"]=[p("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),p("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),p("svg",/\bsvg/.source),p("markdown",/\b(?:markdown|md)/.source),p("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),p("sql",/\bsql/.source),r].filter(Boolean);var h={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function y(S){return typeof S=="string"?S:Array.isArray(S)?S.map(y).join(""):y(S.content)}l.hooks.add("after-tokenize",function(S){S.language in h&&function w(T){for(var v=0,x=T.length;v<x;v++){var A,N,M,_=T[v];typeof _!="string"&&(A=_.content,Array.isArray(A)?_.type==="template-string"?(_=A[1],A.length===3&&typeof _!="string"&&_.type==="embedded-code"&&(N=y(_),_=_.alias,_=Array.isArray(_)?_[0]:_,M=l.languages[_])&&(A[1]=d(N,M,_))):w(A):typeof A!="string"&&w([A]))}}(S.tokens)})}(Y),function(l){l.languages.typescript=l.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),l.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete l.languages.typescript.parameter,delete l.languages.typescript["literal-property"];var r=l.languages.extend("typescript",{});delete r["class-name"],l.languages.typescript["class-name"].inside=r,l.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:r}}}}),l.languages.ts=l.languages.typescript}(Y),function(l){var r=l.languages.javascript,i=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,o="(@(?:arg|argument|param|property)\\s+(?:"+i+"\\s+)?)";l.languages.jsdoc=l.languages.extend("javadoclike",{parameter:{pattern:RegExp(o+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),l.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(o+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:r,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,function(){return i})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+i),lookbehind:!0,inside:{string:r.string,number:r.number,boolean:r.boolean,keyword:l.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:r,alias:"language-javascript"}}}}),l.languages.javadoclike.addSupport("javascript",l.languages.jsdoc)}(Y),function(l){l.languages.flow=l.languages.extend("javascript",{}),l.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),l.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete l.languages.flow.parameter,l.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(l.languages.flow.keyword)||(l.languages.flow.keyword=[l.languages.flow.keyword]),l.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}(Y),Y.languages.n4js=Y.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),Y.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),Y.languages.n4jsd=Y.languages.n4js,function(l){function r(p,m){return RegExp(p.replace(/<ID>/g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),m)}l.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+l.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),l.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+l.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),l.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),l.languages.insertBefore("javascript","keyword",{imports:{pattern:r(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:l.languages.javascript},exports:{pattern:r(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:l.languages.javascript}}),l.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),l.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),l.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:r(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var i=["function","function-variable","method","method-variable","property-access"],o=0;o<i.length;o++){var f=i[o],c=l.languages.javascript[f],f=(c=l.util.type(c)==="RegExp"?l.languages.javascript[f]={pattern:c}:c).inside||{};(c.inside=f)["maybe-class-name"]=/^[A-Z][\s\S]*/}}(Y),function(l){var r=l.util.clone(l.languages.javascript),i=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,o=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,c=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function f(d,h){return d=d.replace(/<S>/g,function(){return i}).replace(/<BRACES>/g,function(){return o}).replace(/<SPREAD>/g,function(){return c}),RegExp(d,h)}c=f(c).source,l.languages.jsx=l.languages.extend("markup",r),l.languages.jsx.tag.pattern=f(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),l.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,l.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,l.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,l.languages.jsx.tag.inside.comment=r.comment,l.languages.insertBefore("inside","attr-name",{spread:{pattern:f(/<SPREAD>/.source),inside:l.languages.jsx}},l.languages.jsx.tag),l.languages.insertBefore("inside","special-attr",{script:{pattern:f(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:l.languages.jsx}}},l.languages.jsx.tag);function p(d){for(var h=[],y=0;y<d.length;y++){var S=d[y],w=!1;typeof S!="string"&&(S.type==="tag"&&S.content[0]&&S.content[0].type==="tag"?S.content[0].content[0].content==="</"?0<h.length&&h[h.length-1].tagName===m(S.content[0].content[1])&&h.pop():S.content[S.content.length-1].content!=="/>"&&h.push({tagName:m(S.content[0].content[1]),openedBraces:0}):0<h.length&&S.type==="punctuation"&&S.content==="{"?h[h.length-1].openedBraces++:0<h.length&&0<h[h.length-1].openedBraces&&S.type==="punctuation"&&S.content==="}"?h[h.length-1].openedBraces--:w=!0),(w||typeof S=="string")&&0<h.length&&h[h.length-1].openedBraces===0&&(w=m(S),y<d.length-1&&(typeof d[y+1]=="string"||d[y+1].type==="plain-text")&&(w+=m(d[y+1]),d.splice(y+1,1)),0<y&&(typeof d[y-1]=="string"||d[y-1].type==="plain-text")&&(w=m(d[y-1])+w,d.splice(y-1,1),y--),d[y]=new l.Token("plain-text",w,null,w)),S.content&&typeof S.content!="string"&&p(S.content)}}var m=function(d){return d?typeof d=="string"?d:typeof d.content=="string"?d.content:d.content.map(m).join(""):""};l.hooks.add("after-tokenize",function(d){d.language!=="jsx"&&d.language!=="tsx"||p(d.tokens)})}(Y),function(l){var r=l.util.clone(l.languages.typescript),r=(l.languages.tsx=l.languages.extend("jsx",r),delete l.languages.tsx.parameter,delete l.languages.tsx["literal-property"],l.languages.tsx.tag);r.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+r.pattern.source+")",r.pattern.flags),r.lookbehind=!0}(Y),Y.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ 	]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},Y.languages.swift["string-literal"].forEach(function(l){l.inside.interpolation.inside=Y.languages.swift}),function(l){l.languages.kotlin=l.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete l.languages.kotlin["class-name"];var r={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:l.languages.kotlin}};l.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:r},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:r},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete l.languages.kotlin.string,l.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),l.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),l.languages.kt=l.languages.kotlin,l.languages.kts=l.languages.kotlin}(Y),Y.languages.c=Y.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),Y.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),Y.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},Y.languages.c.string],char:Y.languages.c.char,comment:Y.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:Y.languages.c}}}}),Y.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete Y.languages.c.boolean,Y.languages.objectivec=Y.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete Y.languages.objectivec["class-name"],Y.languages.objc=Y.languages.objectivec,Y.languages.reason=Y.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),Y.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete Y.languages.reason.function,function(l){for(var r=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,i=0;i<2;i++)r=r.replace(/<self>/g,function(){return r});r=r.replace(/<self>/g,function(){return/[^\s\S]/.source}),l.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+r),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},l.languages.rust["closure-params"].inside.rest=l.languages.rust,l.languages.rust.attribute.inside.string=l.languages.rust.string}(Y),Y.languages.go=Y.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),Y.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete Y.languages.go["class-name"],function(l){var r=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,i=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return r.source});l.languages.cpp=l.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return r.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:r,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),l.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return i})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),l.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:l.languages.cpp}}}}),l.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),l.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:l.languages.extend("cpp",{})}}),l.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},l.languages.cpp["base-clause"])}(Y),Y.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},Y.languages.python["string-interpolation"].inside.interpolation.inside.rest=Y.languages.python,Y.languages.py=Y.languages.python,Y.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},Y.languages.webmanifest=Y.languages.json;var B2={};L2(B2,{dracula:()=>U2,duotoneDark:()=>F2,duotoneLight:()=>G2,github:()=>Z2,gruvboxMaterialDark:()=>E3,gruvboxMaterialLight:()=>S3,jettwaveDark:()=>d3,jettwaveLight:()=>g3,nightOwl:()=>X2,nightOwlLight:()=>K2,oceanicNext:()=>J2,okaidia:()=>W2,oneDark:()=>h3,oneLight:()=>v3,palenight:()=>t3,shadesOfPurple:()=>l3,synthwave84:()=>r3,ultramin:()=>u3,vsDark:()=>b0,vsLight:()=>c3});var H2={plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},U2=H2,$2={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},F2=$2,q2={plain:{backgroundColor:"#faf8f5",color:"#728fcb"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#b6ad9a"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#063289"}},{types:["property","function"],style:{color:"#b29762"}},{types:["tag-id","selector","atrule-id"],style:{color:"#2d2006"}},{types:["attr-name"],style:{color:"#896724"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule"],style:{color:"#728fcb"}},{types:["placeholder","variable"],style:{color:"#93abdc"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#896724"}}]},G2=q2,Y2={plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},Z2=Y2,V2={plain:{color:"#d6deeb",backgroundColor:"#011627"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(99, 119, 119)",fontStyle:"italic"}},{types:["string","url"],style:{color:"rgb(173, 219, 103)"}},{types:["variable"],style:{color:"rgb(214, 222, 235)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation"],style:{color:"rgb(199, 146, 234)"}},{types:["selector","doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(255, 203, 139)"}},{types:["tag","operator","keyword"],style:{color:"rgb(127, 219, 202)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["property"],style:{color:"rgb(128, 203, 196)"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}}]},X2=V2,Q2={plain:{color:"#403f53",backgroundColor:"#FBFBFB"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(72, 118, 214)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(152, 159, 177)",fontStyle:"italic"}},{types:["string","builtin","char","constant","url"],style:{color:"rgb(72, 118, 214)"}},{types:["variable"],style:{color:"rgb(201, 103, 101)"}},{types:["number"],style:{color:"rgb(170, 9, 130)"}},{types:["punctuation"],style:{color:"rgb(153, 76, 195)"}},{types:["function","selector","doctype"],style:{color:"rgb(153, 76, 195)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(17, 17, 17)"}},{types:["tag"],style:{color:"rgb(153, 76, 195)"}},{types:["operator","property","keyword","namespace"],style:{color:"rgb(12, 150, 155)"}},{types:["boolean"],style:{color:"rgb(188, 84, 84)"}}]},K2=Q2,Ct={char:"#D8DEE9",comment:"#999999",keyword:"#c5a5c5",primitive:"#5a9bcf",string:"#8dc891",variable:"#d7deea",boolean:"#ff8b50",tag:"#fc929e",function:"#79b6f2",className:"#FAC863"},P2={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:Ct.keyword}},{types:["attr-value"],style:{color:Ct.string}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:Ct.comment}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:Ct.primitive}},{types:["boolean"],style:{color:Ct.boolean}},{types:["tag"],style:{color:Ct.tag}},{types:["string"],style:{color:Ct.string}},{types:["punctuation"],style:{color:Ct.string}},{types:["selector","char","builtin","inserted"],style:{color:Ct.char}},{types:["function"],style:{color:Ct.function}},{types:["operator","entity","url","variable"],style:{color:Ct.variable}},{types:["keyword"],style:{color:Ct.keyword}},{types:["atrule","class-name"],style:{color:Ct.className}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},J2=P2,I2={plain:{color:"#f8f8f2",backgroundColor:"#272822"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"#f92672",fontStyle:"italic"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"#8292a2",fontStyle:"italic"}},{types:["string","url"],style:{color:"#a6e22e"}},{types:["variable"],style:{color:"#f8f8f2"}},{types:["number"],style:{color:"#ae81ff"}},{types:["builtin","char","constant","function","class-name"],style:{color:"#e6db74"}},{types:["punctuation"],style:{color:"#f8f8f2"}},{types:["selector","doctype"],style:{color:"#a6e22e",fontStyle:"italic"}},{types:["tag","operator","keyword"],style:{color:"#66d9ef"}},{types:["boolean"],style:{color:"#ae81ff"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)",opacity:.7}},{types:["tag","property"],style:{color:"#f92672"}},{types:["attr-name"],style:{color:"#a6e22e !important"}},{types:["doctype"],style:{color:"#8292a2"}},{types:["rule"],style:{color:"#e6db74"}}]},W2=I2,e3={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},t3=e3,n3={plain:{color:"#9EFEFF",backgroundColor:"#2D2A55"},styles:[{types:["changed"],style:{color:"rgb(255, 238, 128)"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)"}},{types:["comment"],style:{color:"rgb(179, 98, 255)",fontStyle:"italic"}},{types:["punctuation"],style:{color:"rgb(255, 255, 255)"}},{types:["constant"],style:{color:"rgb(255, 98, 140)"}},{types:["string","url"],style:{color:"rgb(165, 255, 144)"}},{types:["variable"],style:{color:"rgb(255, 238, 128)"}},{types:["number","boolean"],style:{color:"rgb(255, 98, 140)"}},{types:["attr-name"],style:{color:"rgb(255, 180, 84)"}},{types:["keyword","operator","property","namespace","tag","selector","doctype"],style:{color:"rgb(255, 157, 0)"}},{types:["builtin","char","constant","function","class-name"],style:{color:"rgb(250, 208, 0)"}}]},l3=n3,a3={plain:{backgroundColor:"linear-gradient(to bottom, #2a2139 75%, #34294f)",backgroundImage:"#34294f",color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#495495",fontStyle:"italic"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","number","unit","hexcode","deleted"],style:{color:"#e2777a"}},{types:["property","selector"],style:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","selector-id","function"],style:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"}},{types:["class-name","maybe-class-name","builtin"],style:{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"}},{types:["constant","symbol"],style:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"}},{types:["important","atrule","keyword","selector-class"],style:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#f87c32"}},{types:["parameter"],style:{fontStyle:"italic"}},{types:["entity","url"],style:{color:"#67cdcc"}},{types:["operator"],style:{color:"ffffffee"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},r3=a3,i3={plain:{color:"#282a2e",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(197, 200, 198)"}},{types:["string","number","builtin","variable"],style:{color:"rgb(150, 152, 150)"}},{types:["class-name","function","tag","attr-name"],style:{color:"rgb(40, 42, 46)"}}]},u3=i3,o3={plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]},b0=o3,s3={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}},{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},c3=s3,f3={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},d3=f3,p3={plain:{color:"#0f172a",backgroundColor:"#f1f5f9"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#0c4a6e"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#0f172a"}},{types:["attr-name","variable"],style:{color:"#0c4a6e"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#64748b"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#475569"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#0e7490"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},g3=p3,m3={plain:{backgroundColor:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(220, 10%, 40%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(220, 14%, 71%)"}},{types:["attr-name","class-name","maybe-class-name","boolean","constant","number","atrule"],style:{color:"hsl(29, 54%, 61%)"}},{types:["keyword"],style:{color:"hsl(286, 60%, 67%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(355, 65%, 65%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(95, 38%, 62%)"}},{types:["variable","operator","function"],style:{color:"hsl(207, 82%, 66%)"}},{types:["url"],style:{color:"hsl(187, 47%, 55%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(220, 14%, 71%)"}}]},h3=m3,y3={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value","punctuation"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(230, 8%, 24%)"}}]},v3=y3,b3={plain:{color:"#ebdbb2",backgroundColor:"#292828"},styles:[{types:["imports","class-name","maybe-class-name","constant","doctype","builtin","function"],style:{color:"#d8a657"}},{types:["property-access"],style:{color:"#7daea3"}},{types:["tag"],style:{color:"#e78a4e"}},{types:["attr-name","char","url","regex"],style:{color:"#a9b665"}},{types:["attr-value","string"],style:{color:"#89b482"}},{types:["comment","prolog","cdata","operator","inserted"],style:{color:"#a89984"}},{types:["delimiter","boolean","keyword","selector","important","atrule","property","variable","deleted"],style:{color:"#ea6962"}},{types:["entity","number","symbol"],style:{color:"#d3869b"}}]},E3=b3,x3={plain:{color:"#654735",backgroundColor:"#f9f5d7"},styles:[{types:["delimiter","boolean","keyword","selector","important","atrule","property","variable","deleted"],style:{color:"#af2528"}},{types:["imports","class-name","maybe-class-name","constant","doctype","builtin"],style:{color:"#b4730e"}},{types:["string","attr-value"],style:{color:"#477a5b"}},{types:["property-access"],style:{color:"#266b79"}},{types:["function","attr-name","char","url"],style:{color:"#72761e"}},{types:["tag"],style:{color:"#b94c07"}},{types:["comment","prolog","cdata","operator","inserted"],style:{color:"#a89984"}},{types:["entity","number","symbol"],style:{color:"#924f79"}}]},S3=x3,T3=l=>E.useCallback(r=>{var i=r,{className:o,style:c,line:f}=i,p=v0(i,["className","style","line"]);const m=Cu(ln({},p),{className:ct("token-line",o)});return typeof l=="object"&&"plain"in l&&(m.style=l.plain),typeof c=="object"&&(m.style=ln(ln({},m.style||{}),c)),m},[l]),w3=l=>{const r=E.useCallback(({types:i,empty:o})=>{if(l!=null){{if(i.length===1&&i[0]==="plain")return o!=null?{display:"inline-block"}:void 0;if(i.length===1&&o!=null)return l[i[0]]}return Object.assign(o!=null?{display:"inline-block"}:{},...i.map(c=>l[c]))}},[l]);return E.useCallback(i=>{var o=i,{token:c,className:f,style:p}=o,m=v0(o,["token","className","style"]);const d=Cu(ln({},m),{className:ct("token",...c.types,f),children:c.content,style:r(c)});return p!=null&&(d.style=ln(ln({},d.style||{}),p)),d},[r])},A3=/\r\n|\r|\n/,_m=l=>{l.length===0?l.push({types:["plain"],content:`
`,empty:!0}):l.length===1&&l[0].content===""&&(l[0].content=`
`,l[0].empty=!0)},Mm=(l,r)=>{const i=l.length;return i>0&&l[i-1]===r?l:l.concat(r)},O3=l=>{const r=[[]],i=[l],o=[0],c=[l.length];let f=0,p=0,m=[];const d=[m];for(;p>-1;){for(;(f=o[p]++)<c[p];){let h,y=r[p];const w=i[p][f];if(typeof w=="string"?(y=p>0?y:["plain"],h=w):(y=Mm(y,w.type),w.alias&&(y=Mm(y,w.alias)),h=w.content),typeof h!="string"){p++,r.push(y),i.push(h),o.push(0),c.push(h.length);continue}const T=h.split(A3),v=T.length;m.push({types:y,content:T[0]});for(let x=1;x<v;x++)_m(m),d.push(m=[]),m.push({types:y,content:T[x]})}p--,r.pop(),i.pop(),o.pop(),c.pop()}return _m(m),d},Dm=O3,R3=({prism:l,code:r,grammar:i,language:o})=>E.useMemo(()=>{if(i==null)return Dm([r]);const c={code:r,grammar:i,language:o,tokens:[]};return l.hooks.run("before-tokenize",c),c.tokens=l.tokenize(r,i),l.hooks.run("after-tokenize",c),Dm(c.tokens)},[r,i,o,l]),_3=(l,r)=>{const{plain:i}=l,o=l.styles.reduce((c,f)=>{const{languages:p,style:m}=f;return p&&!p.includes(r)||f.types.forEach(d=>{const h=ln(ln({},c[d]),m);c[d]=h}),c},{});return o.root=i,o.plain=Cu(ln({},i),{backgroundColor:void 0}),o},M3=_3,D3=({children:l,language:r,code:i,theme:o,prism:c})=>{const f=r.toLowerCase(),p=M3(o,f),m=T3(p),d=w3(p),h=c.languages[f],y=R3({prism:c,language:f,code:i,grammar:h});return l({tokens:y,className:`prism-code language-${f}`,style:p!=null?p.root:{},getLineProps:m,getTokenProps:d})},C3=l=>E.createElement(D3,Cu(ln({},l),{prism:l.prism||Y,theme:l.theme||b0,code:l.code,language:l.language}));/*! Bundled license information:

prismjs/prism.js:
  (**
   * Prism: Lightweight, robust, elegant syntax highlighting
   *
   * @license MIT <https://opensource.org/licenses/MIT>
   * @author Lea Verou <https://lea.verou.me>
   * @namespace
   * @public
   *)
*/const N3={primary:"rounded-full bg-violet-300 py-2 px-4 text-sm font-semibold text-slate-900 hover:bg-violet-200 focus:outline-hidden focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-violet-300/50 active:bg-violet-500",secondary:"rounded-full bg-slate-800 py-2 px-4 text-sm font-medium text-white hover:bg-slate-700 focus:outline-hidden focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white/50 active:text-slate-400"};function Cm({variant:l="primary",className:r,...i}){return r=ct(N3[l],"cursor-pointer",r),typeof i.href>"u"?C.jsx("button",{className:r,...i}):C.jsx(Lr,{className:r,...i})}const L3="javascript",Nm=`export default {
  role: 'developer',
  qualifications: [
    'DWWM',
    'CDA',
    'CDUI',
  ]
}`,k3=[{name:"memento-dev.config.js",isActive:!0},{name:"package.json",isActive:!1}];function j3(l){return C.jsxs("svg",{"aria-hidden":"true",viewBox:"0 0 42 10",fill:"none",...l,children:[C.jsx("circle",{cx:"5",cy:"5",r:"4.5"}),C.jsx("circle",{cx:"21",cy:"5",r:"4.5"}),C.jsx("circle",{cx:"37",cy:"5",r:"4.5"})]})}function z3(){return C.jsx("div",{className:"overflow-hidden bg-slate-900 dark:mt-[-4.75rem] dark:-mb-32 dark:pt-[4.75rem] dark:pb-32",children:C.jsx("div",{className:"py-16 sm:px-2 lg:relative lg:px-0 lg:py-20",children:C.jsxs("div",{className:"mx-auto grid max-w-2xl w-full grid-cols-1 items-center gap-x-8 gap-y-16 px-4 lg:max-w-8xl lg:grid-cols-2 lg:px-8 xl:gap-x-16 xl:px-12",children:[C.jsxs("div",{className:"relative z-10 md:text-center lg:text-left",children:[C.jsx(oc,{className:"absolute right-full bottom-full -mr-72 -mb-56 opacity-50",src:Om,alt:"",width:530,height:530}),C.jsxs("div",{className:"relative",children:[C.jsx("p",{className:"inline bg-linear-to-r from-indigo-200 via-violet-400 to-indigo-200 bg-clip-text font-display text-5xl tracking-tight text-transparent",children:"Souviens-toi que tu développeras."}),C.jsx("p",{className:"mt-3 text-2xl tracking-tight text-slate-400",children:"Découvrez des ressources essentielles pour améliorer tes compétences en développement."}),C.jsxs("div",{className:"mt-8 flex gap-4 md:justify-center lg:justify-start",children:[C.jsx(Cm,{href:"/",children:"Accédez aux ressources"}),C.jsx(Cm,{href:"/",variant:"secondary",children:"Voir sur Github"})]})]})]}),C.jsxs("div",{className:"relative lg:static xl:pl-10",children:[C.jsx("div",{className:"absolute inset-x-[-50vw] -top-32 -bottom-48 [mask-image:linear-gradient(transparent,white,white)] lg:-top-32 lg:right-0 lg:-bottom-32 lg:left-[calc(50%+14rem)] lg:[mask-image:none] dark:[mask-image:linear-gradient(transparent,white,transparent)] lg:dark:[mask-image:linear-gradient(white,white,transparent)]",children:C.jsx(A2,{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 lg:left-0 lg:translate-x-0 lg:translate-y-[-60%]"})}),C.jsxs("div",{className:"relative",children:[C.jsx(oc,{className:"absolute -top-64 -right-64",src:Om,alt:"",width:530,height:530}),C.jsx(oc,{className:"absolute -right-44 -bottom-40",src:O2,alt:"",width:567,height:567}),C.jsx("div",{className:"absolute inset-0 rounded-2xl bg-linear-to-tr from-violet-300 via-violet-300/70 to-purple-300 opacity-10 blur-lg"}),C.jsx("div",{className:"absolute inset-0 rounded-2xl bg-linear-to-tr from-violet-300 via-violet-300/70 to-purple-300 opacity-10"}),C.jsxs("div",{className:"relative rounded-2xl bg-[#0A101F]/80 ring-1 ring-white/10 backdrop-blur-sm",children:[C.jsx("div",{className:"absolute -top-px right-11 left-20 h-px bg-linear-to-r from-violet-300/0 via-violet-300/70 to-violet-300/0"}),C.jsx("div",{className:"absolute right-20 -bottom-px left-11 h-px bg-linear-to-r from-purple-400/0 via-purple-400 to-purple-400/0"}),C.jsxs("div",{className:"pt-4 pl-4",children:[C.jsx(j3,{className:"h-2.5 w-auto stroke-slate-500/30"}),C.jsx("div",{className:"mt-4 flex space-x-2 text-xs",children:k3.map(l=>C.jsx("div",{className:ct("flex h-6 rounded-full",l.isActive?"bg-linear-to-r from-violet-400/30 via-violet-400 to-violet-400/30 p-px font-medium text-violet-300":"text-slate-500"),children:C.jsx("div",{className:ct("flex items-center rounded-full px-2.5",l.isActive&&"bg-slate-800"),children:l.name})},l.name))}),C.jsxs("div",{className:"mt-6 flex items-start px-1 text-sm",children:[C.jsx("div",{"aria-hidden":"true",className:"border-r border-slate-300/5 pr-4 font-mono text-slate-600 select-none",children:Array.from({length:Nm.split(`
`).length}).map((l,r)=>C.jsxs(E.Fragment,{children:[(r+1).toString().padStart(2,"0"),C.jsx("br",{})]},r))}),C.jsx(C3,{code:Nm,language:L3,theme:{plain:{},styles:[]},children:({className:l,style:r,tokens:i,getLineProps:o,getTokenProps:c})=>C.jsx("pre",{className:ct(l,"flex overflow-x-auto pb-6"),style:r,children:C.jsx("code",{className:"px-4",children:i.map((f,p)=>C.jsx("div",{...o({line:f}),children:f.map((m,d)=>C.jsx("span",{...c({token:m})},d))},p))})})})]})]})]})]})]})]})})})}function B3(l){return C.jsx("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",...l,children:C.jsx("path",{d:"M8 0C3.58 0 0 3.58 0 8C0 11.54 2.29 14.53 5.47 15.59C5.87 15.66 6.02 15.42 6.02 15.21C6.02 15.02 6.01 14.39 6.01 13.72C4 14.09 3.48 13.23 3.32 12.78C3.23 12.55 2.84 11.84 2.5 11.65C2.22 11.5 1.82 11.13 2.49 11.12C3.12 11.11 3.57 11.7 3.72 11.94C4.44 13.15 5.59 12.81 6.05 12.6C6.12 12.08 6.33 11.73 6.56 11.53C4.78 11.33 2.92 10.64 2.92 7.58C2.92 6.71 3.23 5.99 3.74 5.43C3.66 5.23 3.38 4.41 3.82 3.31C3.82 3.31 4.49 3.1 6.02 4.13C6.66 3.95 7.34 3.86 8.02 3.86C8.7 3.86 9.38 3.95 10.02 4.13C11.55 3.09 12.22 3.31 12.22 3.31C12.66 4.41 12.38 5.23 12.3 5.43C12.81 5.99 13.12 6.7 13.12 7.58C13.12 10.65 11.25 11.33 9.47 11.53C9.76 11.78 10.01 12.26 10.01 13.01C10.01 14.08 10 14.94 10 15.21C10 15.42 10.15 15.67 10.55 15.59C13.71 14.53 16 11.53 16 8C16 3.58 12.42 0 8 0Z"})})}function H3(){let[l,r]=E.useState(!1);return E.useEffect(()=>{function i(){r(window.scrollY>0)}return i(),window.addEventListener("scroll",i,{passive:!0}),()=>{window.removeEventListener("scroll",i)}},[]),C.jsxs("header",{className:ct("sticky top-0 z-50 flex flex-none flex-wrap items-center justify-between bg-white px-4 py-5 shadow-md shadow-slate-900/5 transition duration-500 sm:px-6 lg:px-8 dark:shadow-none",l?"dark:bg-slate-900/95 dark:backdrop-blur-sm dark:[@supports(backdrop-filter:blur(0))]:bg-slate-900/75":"dark:bg-transparent"),children:[C.jsx("div",{className:"mr-6 flex lg:hidden",children:C.jsx(MS,{})}),C.jsx("div",{className:"relative flex grow basis-0 items-center",children:C.jsx(Lr,{href:"/","aria-label":"Home page",children:C.jsx(a0,{className:"h-9 w-auto lg:block"})})}),C.jsx("div",{className:"-my-5 mr-6 sm:mr-8 md:mr-0",children:C.jsx(w2,{})}),C.jsxs("div",{className:"relative flex basis-0 justify-end gap-6 sm:gap-8 md:grow",children:[C.jsx(LS,{className:"relative z-10"}),C.jsx(Lr,{href:"https://gitea.gauthierdaniels.fr/GauthierWebDev/memento-dev",className:"group","aria-label":"GitHub",children:C.jsx(B3,{className:"h-6 w-6 fill-slate-400 group-hover:fill-slate-500 dark:group-hover:fill-slate-300"})})]})]})}function W3({children:l}){const{urlPathname:r}=mu(),i=r==="/";return C.jsx(DS,{children:C.jsxs("div",{className:"flex w-full flex-col",children:[C.jsx(H3,{}),i&&C.jsx(z3,{}),C.jsxs("div",{className:"relative mx-auto w-full flex max-w-8xl flex-auto justify-center sm:px-2 lg:px-8 xl:px-12",children:[C.jsxs("div",{className:"hidden lg:relative lg:block lg:flex-none",children:[C.jsx("div",{className:"absolute inset-y-0 right-0 w-[50vw] bg-slate-50 dark:hidden"}),C.jsx("div",{className:"absolute top-16 right-0 bottom-0 hidden h-12 w-px bg-linear-to-t from-slate-800 dark:block"}),C.jsx("div",{className:"absolute top-28 right-0 bottom-0 hidden w-px bg-slate-800 dark:block"}),C.jsx("div",{className:"sticky top-[4.75rem] -ml-0.5 h-[calc(100vh-4.75rem)] w-64 overflow-x-hidden overflow-y-auto py-16 pr-8 pl-0.5 xl:w-72 xl:pr-16",children:C.jsx(l0,{})})]}),l]})]})})}const U3={title:"Memento Dev"};function $3(){return`Synthèses et ressources pour développeurs - ${U3.title}`}const e4=Object.freeze(Object.defineProperty({__proto__:null,title:$3},Symbol.toStringTag,{value:"Module"})),t4={component:F3};function F3(){return ee.createElement("div",{style:{width:"100%",height:"100%",maxHeight:"100%",background:"linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%)",borderRadius:"5px",backgroundSize:"200% 100%",animation:"1.3s vike-react-shine linear infinite",aspectRatio:"2.5/1"}})}export{Cm as B,W3 as D,C3 as H,Lr as L,ee as R,e4 as a,P3 as b,K3 as c,ct as d,CS as e,t4 as i,C as j,n0 as n,Q3 as o,E as r,B2 as t,mu as u};
